@ckeditor/ckeditor5-real-time-collaboration 47.0.0 → 47.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55b621=_0x2a36;(function(_0x386ef1,_0x597134){const _0x50e52a=_0x2a36,_0x349f44=_0x386ef1();while(!![]){try{const _0x1fc846=-parseInt(_0x50e52a(0xf3))/0x1*(-parseInt(_0x50e52a(0x10a))/0x2)+-parseInt(_0x50e52a(0xfb))/0x3+parseInt(_0x50e52a(0x102))/0x4*(-parseInt(_0x50e52a(0xee))/0x5)+parseInt(_0x50e52a(0xf8))/0x6+-parseInt(_0x50e52a(0x103))/0x7*(parseInt(_0x50e52a(0xf2))/0x8)+-parseInt(_0x50e52a(0x107))/0x9*(-parseInt(_0x50e52a(0xfd))/0xa)+parseInt(_0x50e52a(0xff))/0xb;if(_0x1fc846===_0x597134)break;else _0x349f44['push'](_0x349f44['shift']());}catch(_0x5ac614){_0x349f44['push'](_0x349f44['shift']());}}}(_0x133b,0x87d21));import{View as _0x4ed3e4}from'ckeditor5/src/ui.js';function _0x133b(){const _0x140147=['5534771pwpEON','list','querySelector','247348oFLgpg','5339159pcrwKh','Connected\x20users\x20list','presencelist:show','bindTemplate','9VackIF','setTemplate','createCollection','4RvVGtn','relatedTarget','keystrokes','set','presencelist:hide','setAttribute','element','hasPopup','items','ck-presence-list__list','.ck-balloon-panel_with-arrow','div','10MuWXXl','aria-expanded','listenTo','removeAttribute','8YXlSOc','11123HdsNRs','render','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','isExpanded','.ck-presence-list__dropdown-list','6403086fAvMQC','fire','contains','971517fyPHMJ','focus','1739830PQJcXr','change:hasPopup'];_0x133b=function(){return _0x140147;};return _0x133b();}import{KeystrokeHandler as _0x4481f8}from'ckeditor5/src/utils.js';function _0x2a36(_0x4d624d,_0x1f955d){const _0x133b1d=_0x133b();return _0x2a36=function(_0x2a3622,_0x476979){_0x2a3622=_0x2a3622-0xe9;let _0xbab37a=_0x133b1d[_0x2a3622];return _0xbab37a;},_0x2a36(_0x4d624d,_0x1f955d);}import{getTranslation as _0x3427f6}from'../../common-translations.js';export class PresenceInlineListView extends _0x4ed3e4{[_0x55b621(0xea)];[_0x55b621(0x10c)];constructor(_0x466bc2){const _0xe48d03=_0x55b621;super(_0x466bc2);const _0x2d7d62=this[_0xe48d03(0x106)];this[_0xe48d03(0xea)]=this[_0xe48d03(0x109)](),this[_0xe48d03(0x10c)]=new _0x4481f8(),this[_0xe48d03(0x10d)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0xe48d03(0x108)]({'tag':_0xe48d03(0xed),'attributes':{'aria-haspopup':_0x2d7d62['if'](_0xe48d03(0xe9)),'aria-expanded':_0x2d7d62['to'](_0xe48d03(0xf6),_0x5e1937=>this[_0xe48d03(0xe9)]&&String(_0x5e1937)),'aria-label':_0x2d7d62['to'](_0xe48d03(0xe9),_0x327763=>_0x3427f6(_0x466bc2,_0x327763?_0xe48d03(0xf5):_0xe48d03(0x104))),'role':_0xe48d03(0x100),'tabindex':_0x2d7d62['to'](_0xe48d03(0xe9),_0x120498=>!!_0x120498&&0x0),'class':['ck',_0xe48d03(0xeb)]},'children':this[_0xe48d03(0xea)],'on':{'mouseenter':_0x2d7d62['to'](()=>this[_0xe48d03(0xf9)](_0xe48d03(0x105))),'mouseleave':_0x2d7d62['to'](_0x2d1fc6=>{const _0x21360f=_0xe48d03,_0x25c581=_0x2d1fc6,_0x32a854=document[_0x21360f(0x101)](_0x21360f(0xf7)),_0x1401af=document[_0x21360f(0x101)](_0x21360f(0xec));_0x32a854?.[_0x21360f(0xfa)](_0x25c581[_0x21360f(0x10b)])||_0x1401af?.[_0x21360f(0xfa)](_0x25c581[_0x21360f(0x10b)])||this[_0x21360f(0xf9)](_0x21360f(0x10e));})}}),this['on'](_0xe48d03(0xfe),(_0x344f7a,_0x1f99d3,_0x3b51bf)=>{const _0x4136c0=_0xe48d03;this[_0x4136c0(0x110)]&&(_0x3b51bf?this[_0x4136c0(0x110)][_0x4136c0(0x10f)](_0x4136c0(0xef),String(this[_0x4136c0(0xf6)])):this[_0x4136c0(0x110)][_0x4136c0(0xf1)](_0x4136c0(0xef)));});}[_0x55b621(0xfc)](){const _0x3bd8ab=_0x55b621;this[_0x3bd8ab(0x110)][_0x3bd8ab(0xfc)]();}[_0x55b621(0xf4)](){const _0x41198d=_0x55b621;super[_0x41198d(0xf4)](),this[_0x41198d(0x10c)][_0x41198d(0xf0)](this[_0x41198d(0x110)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c694e=_0xf094;(function(_0x3df69f,_0xf3d2f8){const _0x2dec83=_0xf094,_0x56d875=_0x3df69f();while(!![]){try{const _0x2c35f4=parseInt(_0x2dec83(0xf4))/0x1+-parseInt(_0x2dec83(0xe9))/0x2+parseInt(_0x2dec83(0xed))/0x3+parseInt(_0x2dec83(0xf3))/0x4+-parseInt(_0x2dec83(0xea))/0x5+-parseInt(_0x2dec83(0xe3))/0x6+parseInt(_0x2dec83(0xf0))/0x7;if(_0x2c35f4===_0xf3d2f8)break;else _0x56d875['push'](_0x56d875['shift']());}catch(_0x16f76b){_0x56d875['push'](_0x56d875['shift']());}}}(_0x3bd7,0x6543f));function _0xf094(_0x2f84c1,_0x9ae4ba){const _0x3bd761=_0x3bd7();return _0xf094=function(_0xf0948a,_0x15e77e){_0xf0948a=_0xf0948a-0xdc;let _0x4aa978=_0x3bd761[_0xf0948a];return _0x4aa978;},_0xf094(_0x2f84c1,_0x9ae4ba);}function _0x3bd7(){const _0x1e1df0=['counterView','locale','first','1631222bMCOej','3720310XfVeNR','set','bind','245940WFOOGo','listenTo','ck-presence-list','7745108fFYeZx','div','setTemplate','2250156xmXqYk','302028ImCjjd','tooltipPosition','items','ck-presence-list--collapsed','bindTemplate','ck-rounded-corners','inlineListView','change','ck-reset','471210zVzdbL','isCollapsed','hasPopup'];_0x3bd7=function(){return _0x1e1df0;};return _0x3bd7();}import{View as _0x5882d8}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x41cf94}from'./presencecounterview.js';import{PresenceInlineListView as _0x20085e}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x5882d8{[_0x3c694e(0xe6)];[_0x3c694e(0xe0)];constructor(_0x859af9,_0x279fe0=0x6){const _0x1067a4=_0x3c694e;super(_0x859af9);const _0x39551b=this[_0x1067a4(0xde)];this[_0x1067a4(0xeb)](_0x1067a4(0xe4),!0x0),this[_0x1067a4(0xe6)]=new _0x41cf94(this[_0x1067a4(0xe7)],_0x279fe0),this[_0x1067a4(0xe0)]=new _0x20085e(_0x859af9),this[_0x1067a4(0xe0)][_0x1067a4(0xec)](_0x1067a4(0xe5))['to'](this,_0x1067a4(0xe4)),this[_0x1067a4(0xee)](this[_0x1067a4(0xe0)][_0x1067a4(0xdc)],_0x1067a4(0xe1),()=>{const _0x55867c=_0x1067a4;for(const _0x219462 of this[_0x55867c(0xe0)][_0x55867c(0xdc)])_0x219462[_0x55867c(0xf5)]='s';this[_0x55867c(0xe0)][_0x55867c(0xdc)][_0x55867c(0xe8)]&&(this[_0x55867c(0xe0)][_0x55867c(0xdc)][_0x55867c(0xe8)][_0x55867c(0xf5)]='se');}),this[_0x1067a4(0xf2)]({'tag':_0x1067a4(0xf1),'attributes':{'class':['ck',_0x1067a4(0xef),_0x1067a4(0xe2),_0x1067a4(0xdf),_0x39551b['if'](_0x1067a4(0xe4),_0x1067a4(0xdd))]},'children':[this[_0x1067a4(0xe0)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x37cb0e=_0x2ca6;(function(_0x4420b2,_0x5768fc){var _0x43f2af=_0x2ca6,_0x51f5c6=_0x4420b2();while(!![]){try{var _0x391c4b=parseInt(_0x43f2af(0xc0))/0x1+parseInt(_0x43f2af(0xc2))/0x2*(-parseInt(_0x43f2af(0xb5))/0x3)+-parseInt(_0x43f2af(0xb9))/0x4*(parseInt(_0x43f2af(0xb3))/0x5)+parseInt(_0x43f2af(0xba))/0x6+parseInt(_0x43f2af(0xbf))/0x7+parseInt(_0x43f2af(0xb4))/0x8*(parseInt(_0x43f2af(0xbd))/0x9)+-parseInt(_0x43f2af(0xb8))/0xa*(parseInt(_0x43f2af(0xb7))/0xb);if(_0x391c4b===_0x5768fc)break;else _0x51f5c6['push'](_0x51f5c6['shift']());}catch(_0x133b8e){_0x51f5c6['push'](_0x51f5c6['shift']());}}}(_0x30a1,0x7e8ee));function _0x2ca6(_0x53bf4e,_0x53f0d3){var _0x30a16c=_0x30a1();return _0x2ca6=function(_0x2ca6f8,_0x339fc5){_0x2ca6f8=_0x2ca6f8-0xb3;var _0x2b22d1=_0x30a16c[_0x2ca6f8];return _0x2b22d1;},_0x2ca6(_0x53bf4e,_0x53f0d3);}import{ContextPlugin as _0x2bfb68}from'ckeditor5/src/core.js';import{Sessions as _0x5a91cb}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x3dcbb5}from'./presencelist/presencelistui.js';export class PresenceList extends _0x2bfb68{static get[_0x37cb0e(0xbe)](){return[_0x5a91cb,_0x3dcbb5];}static get[_0x37cb0e(0xbb)](){var _0x2e36bb=_0x37cb0e;return _0x2e36bb(0xb6);}static get[_0x37cb0e(0xc1)](){return!0x0;}static get[_0x37cb0e(0xbc)](){return!0x0;}}function _0x30a1(){var _0x4196b2=['47316vZzpEG','790884rbgSPm','pluginName','isPremiumPlugin','9lUJbDr','requires','6984817FoxRcO','553099NWukGT','isOfficialPlugin','277796ipRxAc','405JoTHbf','2338128sVeVbA','6bRNhCy','PresenceList','11wEFJwV','2206830TQFPWT'];_0x30a1=function(){return _0x4196b2;};return _0x30a1();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
((()=>_0x4553b2)());[_0x4f98fb(0x8d)];static get[_0x4f98fb(0x8f)](){const _0x283263=_0x4f98fb;return[_0x519236,_0x283263(0xdb),_0x485949,_0x5598a2];}static get[_0x4f98fb(0xc8)](){const _0x1f0343=_0x4f98fb;return _0x1f0343(0xbb);}static get[_0x4f98fb(0xcb)](){return!0x0;}static get[_0x4f98fb(0xa0)](){return!0x0;}constructor(_0x11ceab){const _0xa2b3c1=_0x4f98fb;super(_0x11ceab),this[_0xa2b3c1(0x8d)]=new Map();}async[_0x4f98fb(0xce)](){const _0x1d1506=_0x4f98fb,_0x8036cf=this[_0x1d1506(0x7a)],_0x4f4923=_0x8036cf[_0x1d1506(0xd1)][_0x1d1506(0xdd)](_0x1d1506(0xdb));if(_0x8036cf[_0x1d1506(0xd1)][_0x1d1506(0xdd)](_0x519236)[_0x1d1506(0x8e)](this),_0x4f4923[_0x1d1506(0xb4)]={'addCommentThread':async({channelId:_0x332a20,threadId:_0x3f1e9e,comments:_0x39f096,resolvedAt:_0x2b22f8,resolvedBy:_0x270306,context:_0x14b577,attributes:_0x3047b8})=>{const _0x47098b=_0x1d1506,_0x55f174=await this[_0x47098b(0x84)](_0x332a20)[_0x47098b(0x90)]({'commentThreadId':_0x3f1e9e,'comments':_0x39f096[_0x47098b(0x88)](_0x19bc27=>function(_0x1370be,_0xc04893,_0x5c1255){const _0x5b7ded=_0x47098b;return{'commentThreadId':_0x5c1255,'commentId':_0x1370be[_0x5b7ded(0x85)],'userId':_0x1370be[_0x5b7ded(0x82)],'content':_0x1370be[_0x5b7ded(0xcf)],'documentId':_0xc04893,'createdAt':_0x1370be[_0x5b7ded(0xb8)],'attributes':_0x1370be[_0x5b7ded(0x9d)]||{}};}(_0x19bc27,_0x332a20,_0x3f1e9e)),'resolvedAt':_0x2b22f8,'resolvedBy':_0x270306,'context':_0x14b577,'attributes':_0x3047b8})[_0x47098b(0x99)](Y);return{'threadId':_0x55f174[_0x47098b(0x93)],'comments':_0x55f174[_0x47098b(0x87)]};},'getCommentThread':async({channelId:_0x1eb955,threadId:_0x1f9833})=>{const _0x394080=_0x1d1506,_0x487d61=await this[_0x394080(0x84)](_0x1eb955)[_0x394080(0x9c)](_0x1f9833)[_0x394080(0x99)](nt)[_0x394080(0x99)](Y);return _0x487d61?_0x487d61[_0x394080(0xac)]?null:(await this[_0x394080(0xb3)]([_0x487d61]),{'threadId':_0x487d61[_0x394080(0x93)],'comments':_0x487d61[_0x394080(0x87)][_0x394080(0x88)](st),'context':_0x487d61[_0x394080(0x7a)],'resolvedAt':_0x487d61[_0x394080(0x79)],'resolvedBy':_0x487d61[_0x394080(0x86)],'attributes':_0x487d61[_0x394080(0x9d)]||{}}):null;},'updateCommentThread':async({channelId:_0x5b9b42,threadId:_0x525516,context:_0x5dc19e,unlinkedAt:_0x3d6aab,attributes:_0xc4b15f})=>this[_0x1d1506(0x84)](_0x5b9b42)[_0x1d1506(0xdc)]({'commentThreadId':_0x525516,'context':_0x5dc19e,'attributes':_0xc4b15f,'unlinkedAt':_0x3d6aab})[_0x1d1506(0x99)](nt)[_0x1d1506(0x99)](Y),'resolveCommentThread':async({channelId:_0x1b4660,threadId:_0x29843e})=>{const _0x5151b4=_0x1d1506,_0x39a8d7=await this[_0x5151b4(0x84)](_0x1b4660)[_0x5151b4(0xcd)](_0x29843e)[_0x5151b4(0x99)](nt)[_0x5151b4(0x99)](Y);return{'threadId':_0x39a8d7[_0x5151b4(0x93)],'resolvedAt':_0x39a8d7[_0x5151b4(0x79)],'resolvedBy':_0x39a8d7[_0x5151b4(0x86)]};},'reopenCommentThread':async({channelId:_0x2096fa,threadId:_0x171da4})=>this[_0x1d1506(0x84)](_0x2096fa)[_0x1d1506(0x89)](_0x171da4)[_0x1d1506(0x99)](nt)[_0x1d1506(0x99)](Y),'removeCommentThread':({channelId:_0x3ea8ae,threadId:_0x4da414})=>this[_0x1d1506(0x84)](_0x3ea8ae)[_0x1d1506(0xaf)](_0x4da414)[_0x1d1506(0x99)](nt)[_0x1d1506(0x99)](Y),'addComment':({channelId:_0x51c4e9,threadId:_0x24807d,commentId:_0x2581a0,content:_0x563f9d,attributes:_0xe4b9fd})=>this[_0x1d1506(0x84)](_0x51c4e9)[_0x1d1506(0x80)](_0x24807d,_0x2581a0,_0x563f9d,_0xe4b9fd)[_0x1d1506(0x99)](Y),'updateComment':({channelId:_0xbd36b,threadId:_0x2972e1,commentId:_0x1dd4f6,content:_0x2f44a5,attributes:_0x23bf37})=>this[_0x1d1506(0x84)](_0xbd36b)[_0x1d1506(0xad)](_0x2972e1,_0x1dd4f6,_0x2f44a5,_0x23bf37)[_0x1d1506(0x99)](nt)[_0x1d1506(0x99)](Y),'removeComment':({channelId:_0x37050a,threadId:_0x46bc2a,commentId:_0x3fc094})=>this[_0x1d1506(0x84)](_0x37050a)[_0x1d1506(0x8b)](_0x46bc2a,_0x3fc094)[_0x1d1506(0x99)](nt)[_0x1d1506(0x99)](Y)},_0x8036cf instanceof _0x144ab2){const _0x5ea4b8=_0x8036cf[_0x1d1506(0xc4)][_0x1d1506(0xdd)](_0x1d1506(0xab)),_0x1c7649=_0x8036cf[_0x1d1506(0xd1)][_0x1d1506(0xdd)](_0x485949);await this[_0x1d1506(0x7e)](_0x5ea4b8);const _0x529805=await this[_0x1d1506(0x8d)][_0x1d1506(0xdd)](_0x5ea4b8)[_0x1d1506(0xd2)]();this[_0x1d1506(0xc7)](_0x1c7649,_0x1d1506(0xa5)+_0x5ea4b8,(_0x3b3e44,{session:_0x56728f})=>{const _0x5524b4=_0x1d1506;_0x56728f['id']===_0x1c7649[_0x5524b4(0x83)]&&(_0x3b3e44[_0x5524b4(0xa9)](),this[_0x5524b4(0x7a)][_0x5524b4(0xd1)][_0x5524b4(0xdd)](_0x5524b4(0xbe))[_0x5524b4(0xa3)](_0x56728f[_0x5524b4(0xd0)],_0x5ea4b8));}),_0x1c7649[_0x1d1506(0xd3)](_0x5ea4b8,_0x529805);}}async[_0x4f98fb(0x7e)](_0x24be91){const _0x1cf1bf=_0x4f98fb;if(this[_0x1cf1bf(0x8d)][_0x1cf1bf(0x7d)](_0x24be91))throw new _0x3a3941(_0x1cf1bf(0xd4),null,{'channelId':_0x24be91});const _0x3adc8f=this[_0x1cf1bf(0x7a)][_0x1cf1bf(0xd1)][_0x1cf1bf(0xdd)](_0x1cf1bf(0xdb)),_0x37b5b3=new CloudServicesCommentsAdapter[(_0x1cf1bf(0xd5))](_0x24be91);this[_0x1cf1bf(0x8d)][_0x1cf1bf(0x8c)](_0x24be91,_0x37b5b3),this[_0x1cf1bf(0xc7)](_0x37b5b3,_0x1cf1bf(0xd6),(_0x34b688,_0x25054f)=>{const _0x5294d3=_0x1cf1bf,{commentThreadId:_0x591341,documentId:_0x266178,context:_0x57bf80,attributes:_0x1b12f1,resolvedAt:_0x15a57a,resolvedBy:_0x4ad0d6,comments:_0x18d85c}=_0x25054f;_0x3adc8f[_0x5294d3(0x9c)](_0x591341)||_0x3adc8f[_0x5294d3(0x90)]({'threadId':_0x591341,'channelId':_0x266178,'comments':_0x18d85c?_0x18d85c[_0x5294d3(0x88)](st):[],'context':_0x57bf80,'attributes':_0x1b12f1,'resolvedAt':_0x15a57a,'resolvedBy':_0x4ad0d6,'isFromAdapter':!0x0});}),this[_0x1cf1bf(0xc7)](_0x37b5b3,_0x1cf1bf(0xc1),(_0x28a187,{commentThreadId:_0x43b825,documentId:_0x5ec33f,context:_0x4761fd,unlinkedAt:_0x53e5a6,attributes:_0x144ba7})=>{const _0x35e712=_0x1cf1bf;_0x3adc8f[_0x35e712(0x9c)](_0x43b825)&&_0x3adc8f[_0x35e712(0xdc)]({'threadId':_0x43b825,'channelId':_0x5ec33f,'context':_0x4761fd,'unlinkedAt':_0x53e5a6,'attributes':_0x144ba7,'isFromAdapter':!0x0});}),this[_0x1cf1bf(0xc7)](_0x37b5b3,_0x1cf1bf(0xc6),(_0x33efd6,{commentThreadId:_0x1b092a,resolvedBy:_0x37bfde,resolvedAt:_0x23bbfd})=>{const _0x506545=_0x1cf1bf,_0x5158f5=_0x3adc8f[_0x506545(0x9c)](_0x1b092a);_0x5158f5&&_0x5158f5[_0x506545(0x78)]({'resolvedBy':_0x37bfde,'resolvedAt':_0x23bbfd,'isFromAdapter':!0x0});}),this[_0x1cf1bf(0xc7)](_0x37b5b3,_0x1cf1bf(0xb9),(_0x14bc6d,{commentThreadId:_0x100106})=>{const _0x525099=_0x1cf1bf,_0x14da1b=_0x3adc8f[_0x525099(0x9c)](_0x100106);_0x14da1b&&_0x14da1b[_0x525099(0xb0)]({'isFromAdapter':!0x0});}),this[_0x1cf1bf(0xc7)](_0x37b5b3,_0x1cf1bf(0xb6),(_0x5818fb,{commentThreadId:_0x4b4008})=>{const _0x52cfd9=_0x1cf1bf,_0x63230c=_0x3adc8f[_0x52cfd9(0x9c)](_0x4b4008);_0x63230c&&_0x63230c[_0x52cfd9(0xd9)]({'isFromAdapter':!0x0});}),this[_0x1cf1bf(0xc7)](_0x37b5b3,_0x1cf1bf(0xa6),(_0x22690b,_0x4fd427)=>{const _0x557ee6=_0x1cf1bf,_0x214894=_0x4fd427[_0x557ee6(0x93)],_0x2cfa3b=_0x3adc8f[_0x557ee6(0x9c)](_0x214894);_0x2cfa3b&&_0x2cfa3b[_0x557ee6(0x80)]({...st(_0x4fd427),'isFromAdapter':!0x0});}),this[_0x1cf1bf(0xc7)](_0x37b5b3,_0x1cf1bf(0xcc),(_0x303393,{commentThreadId:_0x48ca1b,commentId:_0x1561fd,content:_0x587eff,attributes:_0xefb38c})=>{const _0x422cff=_0x1cf1bf,_0x280f92=_0x3adc8f[_0x422cff(0x9c)](_0x48ca1b);if(_0x280f92){const _0x44cd6b=_0x280f92[_0x422cff(0xde)](_0x1561fd);_0x44cd6b&&_0x44cd6b[_0x422cff(0x7c)]({'content':_0x587eff,'attributes':_0xefb38c,'isFromAdapter':!0x0});}}),this[_0x1cf1bf(0xc7)](_0x37b5b3,_0x1cf1bf(0x9f),(_0x208aca,{commentThreadId:_0x7ca879,commentId:_0x5790f0})=>{const _0x11ce38=_0x1cf1bf,_0x24715d=_0x3adc8f[_0x11ce38(0x9c)](_0x7ca879);if(_0x24715d){const _0x10c70c=_0x24715d[_0x11ce38(0xde)](_0x5790f0);_0x10c70c&&_0x10c70c[_0x11ce38(0xd9)]({'isFromAdapter':!0x0});}}),await this[_0x1cf1bf(0xbd)](_0x24be91);}[_0x4f98fb(0xb2)](){const _0x151f7e=_0x4f98fb;if(this[_0x151f7e(0x7a)]instanceof _0x144ab2){const _0x38b661=this[_0x151f7e(0x7a)][_0x151f7e(0xc4)][_0x151f7e(0xdd)](_0x151f7e(0xab));this[_0x151f7e(0xb7)](_0x38b661);}}[_0x4f98fb(0xb7)](_0x15d08c){const _0x3b619c=_0x4f98fb;if(!this[_0x3b619c(0x8d)][_0x3b619c(0x7d)](_0x15d08c))throw new _0x3a3941(_0x3b619c(0xbf),null,{'channelId':_0x15d08c});this[_0x3b619c(0x84)](_0x15d08c)[_0x3b619c(0xca)](),this[_0x3b619c(0x8d)][_0x3b619c(0xba)](_0x15d08c);}async[_0x4f98fb(0x98)](){const _0x101d2c=_0x4f98fb;for(const _0x386b60 of this[_0x101d2c(0x8d)][_0x101d2c(0xc5)]())await this[_0x101d2c(0xbd)](_0x386b60);if(this[_0x101d2c(0x7a)]instanceof _0x144ab2){const _0x2a4420=this[_0x101d2c(0x7a)][_0x101d2c(0xc4)][_0x101d2c(0xdd)](_0x101d2c(0xab)),_0x1527a7=this[_0x101d2c(0x7a)][_0x101d2c(0xd1)][_0x101d2c(0xdd)](_0x485949);_0x1527a7[_0x101d2c(0x96)](_0x2a4420);const _0x77f14e=await this[_0x101d2c(0x8d)][_0x101d2c(0xdd)](_0x2a4420)[_0x101d2c(0xd2)]();_0x1527a7[_0x101d2c(0xd3)](_0x2a4420,_0x77f14e);}}async[_0x4f98fb(0xbd)](_0x52f144){const _0x645647=_0x4f98fb,{connection:_0x2b2b0e}=this[_0x645647(0x7a)][_0x645647(0xd1)][_0x645647(0xdd)](_0x519236),_0x254dfc=this[_0x645647(0x7a)][_0x645647(0xd1)][_0x645647(0xdd)](_0x645647(0xdb)),_0x60bac4=this[_0x645647(0x8d)][_0x645647(0xdd)](_0x52f144),_0x13d6f6=await _0x60bac4[_0x645647(0xbc)](_0x2b2b0e);await this[_0x645647(0xb3)](_0x13d6f6);const _0x19deef=new Set(Array[_0x645647(0x7f)](_0x254dfc[_0x645647(0x9b)]({'channelId':_0x52f144}),_0x1ebdcc=>_0x1ebdcc['id']));for(const _0x4a2546 of _0x13d6f6)_0x4a2546[_0x645647(0xac)]||_0x19deef[_0x645647(0xba)](_0x4a2546[_0x645647(0x93)]);for(const _0x208a00 of _0x19deef)_0x254dfc[_0x645647(0x9c)](_0x208a00)[_0x645647(0xd9)]({'isFromAdapter':!0x0});for(const _0x3dbef3 of _0x13d6f6){let _0x1e98a5=_0x254dfc[_0x645647(0x9c)](_0x3dbef3[_0x645647(0x93)]);const {commentThreadId:_0x119762,context:_0x452903,attributes:_0x8b5a6c,resolvedBy:_0xccb60f,resolvedAt:_0x29075e,unlinkedAt:_0x194070,deletedAt:_0x2b904d}=_0x3dbef3;if(_0x2b904d)continue;_0x1e98a5||(_0x1e98a5=_0x254dfc[_0x645647(0x90)]({'channelId':_0x52f144,'threadId':_0x119762,'context':_0x452903,'attributes':_0x8b5a6c||{},'resolvedBy':_0xccb60f,'resolvedAt':_0x29075e,'unlinkedAt':_0x194070,'isFromAdapter':!0x0}));const _0x4585ca=new Set(Array[_0x645647(0x7f)](_0x1e98a5[_0x645647(0x87)],_0x2d447b=>_0x2d447b['id']));for(const _0x44280d of _0x3dbef3[_0x645647(0x87)])_0x4585ca[_0x645647(0xba)](_0x44280d[_0x645647(0x85)]);for(const _0x1e13c9 of _0x4585ca)_0x1e98a5[_0x645647(0xde)](_0x1e13c9)[_0x645647(0xd9)]({'isFromAdapter':!0x0});for(const _0x5ec792 of _0x3dbef3[_0x645647(0x87)]){const _0x222f27=_0x1e98a5[_0x645647(0xde)](_0x5ec792[_0x645647(0x85)]);_0x222f27?_0x222f27[_0x645647(0xcf)]!==_0x5ec792[_0x645647(0xcf)]&&_0x222f27[_0x645647(0x7c)]({'content':_0x5ec792[_0x645647(0xcf)],'isFromAdapter':!0x0}):_0x1e98a5[_0x645647(0x80)](Object[_0x645647(0x92)](st(_0x5ec792),{'isFromAdapter':!0x0}));}}}[_0x4f98fb(0x84)](_0x10a05b){const _0x18a117=_0x4f98fb;if(!this[_0x18a117(0x8d)][_0x18a117(0x7d)](_0x10a05b))throw new _0x3a3941(_0x18a117(0xc3),null,{'channelId':_0x10a05b});return this[_0x18a117(0x8d)][_0x18a117(0xdd)](_0x10a05b);}async[_0x4f98fb(0xb3)](_0x2d7805){const _0x348a78=_0x4f98fb,_0x2c3b48=this[_0x348a78(0x7a)][_0x348a78(0xd1)][_0x348a78(0xdd)](_0x5598a2),{connection:_0x3e5cb5}=this[_0x348a78(0x7a)][_0x348a78(0xd1)][_0x348a78(0xdd)](_0x519236),_0x51bff4=new Set();for(const {resolvedBy:_0x214e8b,comments:_0xc5b376}of _0x2d7805){_0x214e8b&&!_0x2c3b48[_0x348a78(0xae)](_0x214e8b)&&_0x51bff4[_0x348a78(0x94)](_0x214e8b);for(const {userId:_0x47e2eb}of _0xc5b376)_0x2c3b48[_0x348a78(0xae)](_0x47e2eb)||_0x51bff4[_0x348a78(0x94)](_0x47e2eb);}if(0x0===_0x51bff4[_0x348a78(0xa1)])return;const _0x7806ed=await _0x354364[_0x348a78(0xb1)](_0x3e5cb5,Array[_0x348a78(0x7f)](_0x51bff4));for(const _0x4545cf of _0x7806ed)_0x2c3b48[_0x348a78(0xae)](_0x4545cf['id'])||_0x2c3b48[_0x348a78(0xaa)](_0x4545cf);}}function _0x517b(_0x1d103c,_0x39203c){const _0x5c53d6=_0x5c53();return _0x517b=function(_0x517b1e,_0x2e5aac){_0x517b1e=_0x517b1e-0x78;let _0x2e7792=_0x5c53d6[_0x517b1e];return _0x2e7792;},_0x517b(_0x1d103c,_0x39203c);}async function nt(_0x586a62){const _0x23f807=_0x4f98fb;if(_0x23f807(0x9e)!==_0x586a62[_0x23f807(0xb5)])throw _0x586a62;}function Y(_0x58cc47){const _0x24b03c=_0x4f98fb;if((_0x3786ce=_0x58cc47)[_0x24b03c(0x9a)][_0x24b03c(0x95)](_0x24b03c(0xda))||_0x3786ce[_0x24b03c(0x9a)][_0x24b03c(0x95)](_0x24b03c(0xd7))||_0x3786ce[_0x24b03c(0x9a)][_0x24b03c(0x95)](_0x24b03c(0xc2)))return new Promise(()=>{});var _0x3786ce;throw _0x58cc47;}function st(_0x322b40){const _0x29966f=_0x4f98fb;return{'threadId':_0x322b40[_0x29966f(0x93)],'commentId':_0x322b40[_0x29966f(0x85)],'content':_0x322b40[_0x29966f(0xcf)],'createdAt':_0x322b40[_0x29966f(0xb8)],'authorId':_0x322b40[_0x29966f(0x8a)],'attributes':_0x322b40[_0x29966f(0x9d)]||{}};}
|
|
23
|
+
const _0x49e552=_0x14ca;function _0x14c1(){const _0x2f501d=['updateComment','6476310ArGyfz','cloud-services-internal-error:\x20Request\x20timeout.','commentThreadAdded','context','authorId','_services','245dkRKiv','reopenCommentThread','getComment','commentUpdated','map','isPremiumPlugin','_connectService','resolveCommentThread','CommentsService','connect','404','setPermissions','destroy','reopen','2430426vsrJOp','comments','resolvedAt','Permissions','disconnect','addUser','130792AqOxnv','get','userId','2296860gKzbQG','assign','4829byDWTU','code','add','pluginName','commentThreadReopened','deletedAt','updateCommentThread','5ALZHOM','resolvedBy','config','commentThreadUpdated','has','commentRemoved','keys','listenTo','getCommentThreads','addComment','40990bYrJci','commentThreadRemoved','set','473351cMXILX','removeCommentThread','sessionAdd:','from','attributes','_fetchMissingUsersForThreads','content','_terminateService','removeComment','catch','requires','_getService','startsWith','cloudservicescommentsadapter-service-not-exist','CloudServicesCommentsAdapter','commentAdded','1248272ohAeNv','message','init','reconnect','adapter','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','unregister','plugins','mySessionId','size','register','commentThreadResolved','collaboration.channelId','addToReconnectionStack','_setUpService','addCommentThread','getUser','resolve','permissions','CommentsRepository','remove','delete','createdAt','getConnectedSessions','update','2VkJimd','cloud-services-internal-error:\x20Not\x20connected.','isOfficialPlugin','commentThreadId','getCommentThread','getMany','cloudservicescommentsadapter-connect-already-connected','off','commentId','cloudservicescommentsadapter-disconnect-not-exist'];_0x14c1=function(){return _0x2f501d;};return _0x14c1();}(function(_0x318b78,_0x43f268){const _0x3cd238=_0x14ca,_0x157cfa=_0x318b78();while(!![]){try{const _0x2ad330=-parseInt(_0x3cd238(0x249))/0x1*(parseInt(_0x3cd238(0x20b))/0x2)+parseInt(_0x3cd238(0x22a))/0x3+-parseInt(_0x3cd238(0x1f2))/0x4*(-parseInt(_0x3cd238(0x23c))/0x5)+parseInt(_0x3cd238(0x233))/0x6+parseInt(_0x3cd238(0x21c))/0x7*(parseInt(_0x3cd238(0x230))/0x8)+parseInt(_0x3cd238(0x216))/0x9+parseInt(_0x3cd238(0x246))/0xa*(-parseInt(_0x3cd238(0x235))/0xb);if(_0x2ad330===_0x43f268)break;else _0x157cfa['push'](_0x157cfa['shift']());}catch(_0x192063){_0x157cfa['push'](_0x157cfa['shift']());}}}(_0x14c1,0x7feed));import{Context as _0xb49a0,ContextPlugin as _0x4703a7}from'ckeditor5/src/core.js';import{CKEditorError as _0x2ccbc0}from'ckeditor5/src/utils.js';function _0x14ca(_0x1c01fa,_0x588729){const _0x14c14e=_0x14c1();return _0x14ca=function(_0x14ca25,_0x48befa){_0x14ca25=_0x14ca25-0x1e8;let _0x2afa5e=_0x14c14e[_0x14ca25];return _0x2afa5e;},_0x14ca(_0x1c01fa,_0x588729);}import{Users as _0xadbdb9}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x19198e,User as _0x13ab60}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x572f74}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x57c304}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x4703a7{static [_0x49e552(0x224)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x19198e)());[_0x49e552(0x21b)];static get[_0x49e552(0x1ec)](){const _0xa70653=_0x49e552;return[_0x572f74,_0xa70653(0x205),_0x57c304,_0xadbdb9];}static get[_0x49e552(0x238)](){const _0x194026=_0x49e552;return _0x194026(0x1f0);}static get[_0x49e552(0x20d)](){return!0x0;}static get[_0x49e552(0x221)](){return!0x0;}constructor(_0x1f5d9e){const _0x498866=_0x49e552;super(_0x1f5d9e),this[_0x498866(0x21b)]=new Map();}async[_0x49e552(0x1f4)](){const _0xd97204=_0x49e552,_0x2e3d9c=this[_0xd97204(0x219)],_0x478e6d=_0x2e3d9c[_0xd97204(0x1f9)][_0xd97204(0x231)](_0xd97204(0x205));if(_0x2e3d9c[_0xd97204(0x1f9)][_0xd97204(0x231)](_0x572f74)[_0xd97204(0x1ff)](this),_0x478e6d[_0xd97204(0x1f6)]={'addCommentThread':async({channelId:_0x3a6009,threadId:_0x4dce14,comments:_0x272ecb,resolvedAt:_0x3b7a40,resolvedBy:_0x444fe6,context:_0x338f58,attributes:_0x385fd9})=>{const _0x49f6b3=_0xd97204,_0x3d8ac6=await this[_0x49f6b3(0x1ed)](_0x3a6009)[_0x49f6b3(0x201)]({'commentThreadId':_0x4dce14,'comments':_0x272ecb[_0x49f6b3(0x220)](_0x4f1e19=>function(_0x384d89,_0xdf53,_0xeff619){const _0x30b2b4=_0x49f6b3;return{'commentThreadId':_0xeff619,'commentId':_0x384d89[_0x30b2b4(0x213)],'userId':_0x384d89[_0x30b2b4(0x21a)],'content':_0x384d89[_0x30b2b4(0x1e8)],'documentId':_0xdf53,'createdAt':_0x384d89[_0x30b2b4(0x208)],'attributes':_0x384d89[_0x30b2b4(0x24d)]||{}};}(_0x4f1e19,_0x3a6009,_0x4dce14)),'resolvedAt':_0x3b7a40,'resolvedBy':_0x444fe6,'context':_0x338f58,'attributes':_0x385fd9})[_0x49f6b3(0x1eb)](A);return{'threadId':_0x3d8ac6[_0x49f6b3(0x20e)],'comments':_0x3d8ac6[_0x49f6b3(0x22b)]};},'getCommentThread':async({channelId:_0x148c57,threadId:_0x3955d1})=>{const _0x51fddd=_0xd97204,_0x4840f6=await this[_0x51fddd(0x1ed)](_0x148c57)[_0x51fddd(0x20f)](_0x3955d1)[_0x51fddd(0x1eb)](f)[_0x51fddd(0x1eb)](A);return _0x4840f6?_0x4840f6[_0x51fddd(0x23a)]?null:(await this[_0x51fddd(0x24e)]([_0x4840f6]),{'threadId':_0x4840f6[_0x51fddd(0x20e)],'comments':_0x4840f6[_0x51fddd(0x22b)][_0x51fddd(0x220)](p),'context':_0x4840f6[_0x51fddd(0x219)],'resolvedAt':_0x4840f6[_0x51fddd(0x22c)],'resolvedBy':_0x4840f6[_0x51fddd(0x23d)],'attributes':_0x4840f6[_0x51fddd(0x24d)]||{}}):null;},'updateCommentThread':async({channelId:_0x1687df,threadId:_0x12fc3a,context:_0x505912,unlinkedAt:_0x4c5ef1,attributes:_0x4c7750})=>this[_0xd97204(0x1ed)](_0x1687df)[_0xd97204(0x23b)]({'commentThreadId':_0x12fc3a,'context':_0x505912,'attributes':_0x4c7750,'unlinkedAt':_0x4c5ef1})[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A),'resolveCommentThread':async({channelId:_0x26292d,threadId:_0x3a5e50})=>{const _0xa13ffd=_0xd97204,_0x46cb93=await this[_0xa13ffd(0x1ed)](_0x26292d)[_0xa13ffd(0x223)](_0x3a5e50)[_0xa13ffd(0x1eb)](f)[_0xa13ffd(0x1eb)](A);return{'threadId':_0x46cb93[_0xa13ffd(0x20e)],'resolvedAt':_0x46cb93[_0xa13ffd(0x22c)],'resolvedBy':_0x46cb93[_0xa13ffd(0x23d)]};},'reopenCommentThread':async({channelId:_0x54c2de,threadId:_0x12e720})=>this[_0xd97204(0x1ed)](_0x54c2de)[_0xd97204(0x21d)](_0x12e720)[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A),'removeCommentThread':({channelId:_0x429055,threadId:_0xd86986})=>this[_0xd97204(0x1ed)](_0x429055)[_0xd97204(0x24a)](_0xd86986)[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A),'addComment':({channelId:_0xf6e9a9,threadId:_0x3e7018,commentId:_0x86c435,content:_0xe26c59,attributes:_0x49750a})=>this[_0xd97204(0x1ed)](_0xf6e9a9)[_0xd97204(0x245)](_0x3e7018,_0x86c435,_0xe26c59,_0x49750a)[_0xd97204(0x1eb)](A),'updateComment':({channelId:_0x3e8bf1,threadId:_0x588a38,commentId:_0x4bcba2,content:_0x79bc0d,attributes:_0x130292})=>this[_0xd97204(0x1ed)](_0x3e8bf1)[_0xd97204(0x215)](_0x588a38,_0x4bcba2,_0x79bc0d,_0x130292)[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A),'removeComment':({channelId:_0xc5322b,threadId:_0x221a2c,commentId:_0x49c904})=>this[_0xd97204(0x1ed)](_0xc5322b)[_0xd97204(0x1ea)](_0x221a2c,_0x49c904)[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A)},_0x2e3d9c instanceof _0xb49a0){const _0x4cef3c=_0x2e3d9c[_0xd97204(0x23e)][_0xd97204(0x231)](_0xd97204(0x1fe)),_0x112297=_0x2e3d9c[_0xd97204(0x1f9)][_0xd97204(0x231)](_0x57c304);await this[_0xd97204(0x200)](_0x4cef3c);const _0xc2b689=await this[_0xd97204(0x21b)][_0xd97204(0x231)](_0x4cef3c)[_0xd97204(0x209)]();this[_0xd97204(0x243)](_0x112297,_0xd97204(0x24b)+_0x4cef3c,(_0x4ff856,{session:_0x548775})=>{const _0x5e682c=_0xd97204;_0x548775['id']===_0x112297[_0x5e682c(0x1fa)]&&(_0x4ff856[_0x5e682c(0x212)](),this[_0x5e682c(0x219)][_0x5e682c(0x1f9)][_0x5e682c(0x231)](_0x5e682c(0x22d))[_0x5e682c(0x227)](_0x548775[_0x5e682c(0x204)],_0x4cef3c));}),_0x112297[_0xd97204(0x1fc)](_0x4cef3c,_0xc2b689);}}async[_0x49e552(0x200)](_0x31268e){const _0x4cf533=_0x49e552;if(this[_0x4cf533(0x21b)][_0x4cf533(0x240)](_0x31268e))throw new _0x2ccbc0(_0x4cf533(0x211),null,{'channelId':_0x31268e});const _0x2556d0=this[_0x4cf533(0x219)][_0x4cf533(0x1f9)][_0x4cf533(0x231)](_0x4cf533(0x205)),_0xa6f9a3=new CloudServicesCommentsAdapter[(_0x4cf533(0x224))](_0x31268e);this[_0x4cf533(0x21b)][_0x4cf533(0x248)](_0x31268e,_0xa6f9a3),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x218),(_0x4de71e,_0x303c84)=>{const _0x8ea278=_0x4cf533,{commentThreadId:_0x45ad53,documentId:_0x249fd3,context:_0x280b1d,attributes:_0x3cff19,resolvedAt:_0x33f32d,resolvedBy:_0x3e2382,comments:_0x60b2c3}=_0x303c84;_0x2556d0[_0x8ea278(0x20f)](_0x45ad53)||_0x2556d0[_0x8ea278(0x201)]({'threadId':_0x45ad53,'channelId':_0x249fd3,'comments':_0x60b2c3?_0x60b2c3[_0x8ea278(0x220)](p):[],'context':_0x280b1d,'attributes':_0x3cff19,'resolvedAt':_0x33f32d,'resolvedBy':_0x3e2382,'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x23f),(_0xa35b2a,{commentThreadId:_0x1f6ad3,documentId:_0x3b1773,context:_0x1ba587,unlinkedAt:_0x16ffe5,attributes:_0x3fac58})=>{const _0x44fadd=_0x4cf533;_0x2556d0[_0x44fadd(0x20f)](_0x1f6ad3)&&_0x2556d0[_0x44fadd(0x23b)]({'threadId':_0x1f6ad3,'channelId':_0x3b1773,'context':_0x1ba587,'unlinkedAt':_0x16ffe5,'attributes':_0x3fac58,'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x1fd),(_0x16cccc,{commentThreadId:_0x43cc8c,resolvedBy:_0x2e4a1c,resolvedAt:_0x189fa4})=>{const _0x57cff6=_0x4cf533,_0x1b3207=_0x2556d0[_0x57cff6(0x20f)](_0x43cc8c);_0x1b3207&&_0x1b3207[_0x57cff6(0x203)]({'resolvedBy':_0x2e4a1c,'resolvedAt':_0x189fa4,'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x239),(_0x584fa,{commentThreadId:_0x4faac5})=>{const _0x343c22=_0x4cf533,_0x127b2e=_0x2556d0[_0x343c22(0x20f)](_0x4faac5);_0x127b2e&&_0x127b2e[_0x343c22(0x229)]({'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x247),(_0x30e99f,{commentThreadId:_0x56cdb9})=>{const _0x95ffc1=_0x4cf533,_0x4ccd29=_0x2556d0[_0x95ffc1(0x20f)](_0x56cdb9);_0x4ccd29&&_0x4ccd29[_0x95ffc1(0x206)]({'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x1f1),(_0x5c5443,_0x30e5bf)=>{const _0xc192f3=_0x4cf533,_0x500172=_0x30e5bf[_0xc192f3(0x20e)],_0x288c35=_0x2556d0[_0xc192f3(0x20f)](_0x500172);_0x288c35&&_0x288c35[_0xc192f3(0x245)]({...p(_0x30e5bf),'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x21f),(_0x542901,{commentThreadId:_0x100790,commentId:_0x5080b1,content:_0x5cd87b,attributes:_0x2a8df4})=>{const _0x42cc6b=_0x4cf533,_0x3e4fd3=_0x2556d0[_0x42cc6b(0x20f)](_0x100790);if(_0x3e4fd3){const _0x375de5=_0x3e4fd3[_0x42cc6b(0x21e)](_0x5080b1);_0x375de5&&_0x375de5[_0x42cc6b(0x20a)]({'content':_0x5cd87b,'attributes':_0x2a8df4,'isFromAdapter':!0x0});}}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x241),(_0x4ccec4,{commentThreadId:_0x447704,commentId:_0x1680e4})=>{const _0x460668=_0x4cf533,_0x5f09a6=_0x2556d0[_0x460668(0x20f)](_0x447704);if(_0x5f09a6){const _0x317020=_0x5f09a6[_0x460668(0x21e)](_0x1680e4);_0x317020&&_0x317020[_0x460668(0x206)]({'isFromAdapter':!0x0});}}),await this[_0x4cf533(0x222)](_0x31268e);}[_0x49e552(0x228)](){const _0x355884=_0x49e552;if(this[_0x355884(0x219)]instanceof _0xb49a0){const _0x69f837=this[_0x355884(0x219)][_0x355884(0x23e)][_0x355884(0x231)](_0x355884(0x1fe));this[_0x355884(0x1e9)](_0x69f837);}}[_0x49e552(0x1e9)](_0x56111d){const _0x1b6106=_0x49e552;if(!this[_0x1b6106(0x21b)][_0x1b6106(0x240)](_0x56111d))throw new _0x2ccbc0(_0x1b6106(0x214),null,{'channelId':_0x56111d});this[_0x1b6106(0x1ed)](_0x56111d)[_0x1b6106(0x22e)](),this[_0x1b6106(0x21b)][_0x1b6106(0x207)](_0x56111d);}async[_0x49e552(0x1f5)](){const _0x259911=_0x49e552;for(const _0x1b1eec of this[_0x259911(0x21b)][_0x259911(0x242)]())await this[_0x259911(0x222)](_0x1b1eec);if(this[_0x259911(0x219)]instanceof _0xb49a0){const _0x59d839=this[_0x259911(0x219)][_0x259911(0x23e)][_0x259911(0x231)](_0x259911(0x1fe)),_0x283ccc=this[_0x259911(0x219)][_0x259911(0x1f9)][_0x259911(0x231)](_0x57c304);_0x283ccc[_0x259911(0x1f8)](_0x59d839);const _0x50e3b3=await this[_0x259911(0x21b)][_0x259911(0x231)](_0x59d839)[_0x259911(0x209)]();_0x283ccc[_0x259911(0x1fc)](_0x59d839,_0x50e3b3);}}async[_0x49e552(0x222)](_0x2fbd0f){const _0x16fbc2=_0x49e552,{connection:_0x1a3355}=this[_0x16fbc2(0x219)][_0x16fbc2(0x1f9)][_0x16fbc2(0x231)](_0x572f74),_0x3f101f=this[_0x16fbc2(0x219)][_0x16fbc2(0x1f9)][_0x16fbc2(0x231)](_0x16fbc2(0x205)),_0x5319ce=this[_0x16fbc2(0x21b)][_0x16fbc2(0x231)](_0x2fbd0f),_0x48ec65=await _0x5319ce[_0x16fbc2(0x225)](_0x1a3355);await this[_0x16fbc2(0x24e)](_0x48ec65);const _0x3a2ffd=new Set(Array[_0x16fbc2(0x24c)](_0x3f101f[_0x16fbc2(0x244)]({'channelId':_0x2fbd0f}),_0x3526fe=>_0x3526fe['id']));for(const _0x349aa4 of _0x48ec65)_0x349aa4[_0x16fbc2(0x23a)]||_0x3a2ffd[_0x16fbc2(0x207)](_0x349aa4[_0x16fbc2(0x20e)]);for(const _0xd4992e of _0x3a2ffd)_0x3f101f[_0x16fbc2(0x20f)](_0xd4992e)[_0x16fbc2(0x206)]({'isFromAdapter':!0x0});for(const _0x3bfb55 of _0x48ec65){let _0xd452e2=_0x3f101f[_0x16fbc2(0x20f)](_0x3bfb55[_0x16fbc2(0x20e)]);const {commentThreadId:_0x3a6648,context:_0x1eaf6f,attributes:_0x490d45,resolvedBy:_0x151db3,resolvedAt:_0xcd3bb,unlinkedAt:_0x20ce6d,deletedAt:_0xbfa43f}=_0x3bfb55;if(_0xbfa43f)continue;_0xd452e2||(_0xd452e2=_0x3f101f[_0x16fbc2(0x201)]({'channelId':_0x2fbd0f,'threadId':_0x3a6648,'context':_0x1eaf6f,'attributes':_0x490d45||{},'resolvedBy':_0x151db3,'resolvedAt':_0xcd3bb,'unlinkedAt':_0x20ce6d,'isFromAdapter':!0x0}));const _0x59525a=new Set(Array[_0x16fbc2(0x24c)](_0xd452e2[_0x16fbc2(0x22b)],_0x156c59=>_0x156c59['id']));for(const _0x3aa74d of _0x3bfb55[_0x16fbc2(0x22b)])_0x59525a[_0x16fbc2(0x207)](_0x3aa74d[_0x16fbc2(0x213)]);for(const _0x313871 of _0x59525a)_0xd452e2[_0x16fbc2(0x21e)](_0x313871)[_0x16fbc2(0x206)]({'isFromAdapter':!0x0});for(const _0x235dab of _0x3bfb55[_0x16fbc2(0x22b)]){const _0xe9717f=_0xd452e2[_0x16fbc2(0x21e)](_0x235dab[_0x16fbc2(0x213)]);_0xe9717f?_0xe9717f[_0x16fbc2(0x1e8)]!==_0x235dab[_0x16fbc2(0x1e8)]&&_0xe9717f[_0x16fbc2(0x20a)]({'content':_0x235dab[_0x16fbc2(0x1e8)],'isFromAdapter':!0x0}):_0xd452e2[_0x16fbc2(0x245)](Object[_0x16fbc2(0x234)](p(_0x235dab),{'isFromAdapter':!0x0}));}}}[_0x49e552(0x1ed)](_0x14a6ac){const _0x3fb3e2=_0x49e552;if(!this[_0x3fb3e2(0x21b)][_0x3fb3e2(0x240)](_0x14a6ac))throw new _0x2ccbc0(_0x3fb3e2(0x1ef),null,{'channelId':_0x14a6ac});return this[_0x3fb3e2(0x21b)][_0x3fb3e2(0x231)](_0x14a6ac);}async[_0x49e552(0x24e)](_0xc8f59c){const _0x53ee03=_0x49e552,_0x2ca3c2=this[_0x53ee03(0x219)][_0x53ee03(0x1f9)][_0x53ee03(0x231)](_0xadbdb9),{connection:_0x394e90}=this[_0x53ee03(0x219)][_0x53ee03(0x1f9)][_0x53ee03(0x231)](_0x572f74),_0x4e985d=new Set();for(const {resolvedBy:_0x1fa00d,comments:_0x4e4279}of _0xc8f59c){_0x1fa00d&&!_0x2ca3c2[_0x53ee03(0x202)](_0x1fa00d)&&_0x4e985d[_0x53ee03(0x237)](_0x1fa00d);for(const {userId:_0x3d22a3}of _0x4e4279)_0x2ca3c2[_0x53ee03(0x202)](_0x3d22a3)||_0x4e985d[_0x53ee03(0x237)](_0x3d22a3);}if(0x0===_0x4e985d[_0x53ee03(0x1fb)])return;const _0x495e4a=await _0x13ab60[_0x53ee03(0x210)](_0x394e90,Array[_0x53ee03(0x24c)](_0x4e985d));for(const _0x597aaf of _0x495e4a)_0x2ca3c2[_0x53ee03(0x202)](_0x597aaf['id'])||_0x2ca3c2[_0x53ee03(0x22f)](_0x597aaf);}}async function f(_0x4f2c5e){const _0x1f6e34=_0x49e552;if(_0x1f6e34(0x226)!==_0x4f2c5e[_0x1f6e34(0x236)])throw _0x4f2c5e;}function A(_0x4d429a){const _0x13a639=_0x49e552;if((_0x10fbcc=_0x4d429a)[_0x13a639(0x1f3)][_0x13a639(0x1ee)](_0x13a639(0x1f7))||_0x10fbcc[_0x13a639(0x1f3)][_0x13a639(0x1ee)](_0x13a639(0x20c))||_0x10fbcc[_0x13a639(0x1f3)][_0x13a639(0x1ee)](_0x13a639(0x217)))return new Promise(()=>{});var _0x10fbcc;throw _0x4d429a;}function p(_0xba8e4b){const _0x374959=_0x49e552;return{'threadId':_0xba8e4b[_0x374959(0x20e)],'commentId':_0xba8e4b[_0x374959(0x213)],'content':_0xba8e4b[_0x374959(0x1e8)],'createdAt':_0xba8e4b[_0x374959(0x208)],'authorId':_0xba8e4b[_0x374959(0x232)],'attributes':_0xba8e4b[_0x374959(0x24d)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x16dc(){const _0x4b2cfa=['requires','4664020hViLfd','9bBxjbK','_setUpService','4580382coIaQv','once','isThreadsLoadingPaused','1354468HMksEm','1556370QBRLbc','listenTo','ready','pluginName','get','destroy','plugins','6YDflCS','editor','isOfficialPlugin','config','6404168evoIcc','2353935aaRBeP','262296miNDxf','data','Comments','switchReadOnly','CommentsRepository','11gsgBrh','connected','change:state','7YGjqvw','RealTimeCollaborativeComments','init','_terminateService','collaboration.channelId','CommentsEditing','isPremiumPlugin'];_0x16dc=function(){return _0x4b2cfa;};return _0x16dc();}const _0x47bbfa=_0x3cc2;(function(_0x5f13eb,_0x257c45){const _0x584721=_0x3cc2,_0x280903=_0x5f13eb();while(!![]){try{const _0x26b18a=-parseInt(_0x584721(0x19a))/0x1*(-parseInt(_0x584721(0x1a0))/0x2)+-parseInt(_0x584721(0x19f))/0x3+-parseInt(_0x584721(0x192))/0x4+parseInt(_0x584721(0x18c))/0x5+parseInt(_0x584721(0x18f))/0x6*(-parseInt(_0x584721(0x184))/0x7)+-parseInt(_0x584721(0x19e))/0x8*(-parseInt(_0x584721(0x18d))/0x9)+-parseInt(_0x584721(0x193))/0xa*(parseInt(_0x584721(0x181))/0xb);if(_0x26b18a===_0x257c45)break;else _0x280903['push'](_0x280903['shift']());}catch(_0x2b587d){_0x280903['push'](_0x280903['shift']());}}}(_0x16dc,0x74add));function _0x3cc2(_0x268374,_0x47f6e4){const _0x16dc6d=_0x16dc();return _0x3cc2=function(_0x3cc212,_0x2e9d9b){_0x3cc212=_0x3cc212-0x180;let _0x256755=_0x16dc6d[_0x3cc212];return _0x256755;},_0x3cc2(_0x268374,_0x47f6e4);}import{Plugin as _0xa82e4a}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x149c3f}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x25d185}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x13a5e8}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0xa82e4a{static get[_0x47bbfa(0x18b)](){const _0x29eb0a=_0x47bbfa;return[_0x29eb0a(0x1a2),_0x149c3f,_0x25d185,_0x13a5e8];}static get[_0x47bbfa(0x196)](){const _0x19cbb0=_0x47bbfa;return _0x19cbb0(0x185);}static get[_0x47bbfa(0x19c)](){return!0x0;}static get[_0x47bbfa(0x18a)](){return!0x0;}[_0x47bbfa(0x186)](){const _0x5f4089=_0x47bbfa,_0x3fa947=this[_0x5f4089(0x19b)][_0x5f4089(0x199)][_0x5f4089(0x197)](_0x13a5e8),_0x52c106=this[_0x5f4089(0x19b)][_0x5f4089(0x199)][_0x5f4089(0x197)](_0x5f4089(0x189)),_0x29710e=this[_0x5f4089(0x19b)][_0x5f4089(0x199)][_0x5f4089(0x197)](_0x149c3f);return this[_0x5f4089(0x19b)][_0x5f4089(0x1a1)][_0x5f4089(0x190)](_0x5f4089(0x195),()=>{const _0x585d88=_0x5f4089;this[_0x585d88(0x194)](_0x3fa947,_0x585d88(0x183),(_0x525a0f,_0xcad9ce,_0x46cc28)=>{const _0x3cac96=_0x585d88;_0x52c106[_0x3cac96(0x191)]=_0x3cac96(0x182)!==_0x46cc28;});}),this[_0x5f4089(0x194)](_0x3fa947,_0x5f4089(0x183),(_0x176263,_0x269d66,_0x486fd7)=>{const _0x128594=_0x5f4089;this[_0x128594(0x19b)][_0x128594(0x199)][_0x128594(0x197)](_0x128594(0x180))[_0x128594(0x1a3)](_0x128594(0x182)!==_0x486fd7);}),_0x29710e[_0x5f4089(0x18e)](this[_0x5f4089(0x19b)][_0x5f4089(0x19d)][_0x5f4089(0x197)](_0x5f4089(0x188)));}[_0x47bbfa(0x198)](){const _0x53bf80=_0x47bbfa;this[_0x53bf80(0x19b)][_0x53bf80(0x199)][_0x53bf80(0x197)](_0x149c3f)[_0x53bf80(0x187)](this[_0x53bf80(0x19b)][_0x53bf80(0x19d)][_0x53bf80(0x197)](_0x53bf80(0x188))),super[_0x53bf80(0x198)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x2a95f8)());[_0x40afe7(0x1c6)];[_0x40afe7(0x179)];[_0x40afe7(0x1a2)];[_0x40afe7(0x13d)];[_0x40afe7(0x16d)];[_0x40afe7(0x111)];[_0x40afe7(0x18f)];[_0x40afe7(0x131)];[_0x40afe7(0x150)];[_0x40afe7(0x158)];[_0x40afe7(0xf5)];[_0x40afe7(0x160)];[_0x40afe7(0x1b7)];[_0x40afe7(0x1d6)];[_0x40afe7(0x186)];[_0x40afe7(0x145)];[_0x40afe7(0x1d0)];[_0x40afe7(0x1cf)];static get[_0x40afe7(0x1e5)](){return[_0x5f90a4,_0x838d6b,_0x365f9e,_0x38c82b,_0xed9faa,_0x2a2da8];}static get[_0x40afe7(0x1e4)](){const _0x3d4648=_0x40afe7;return _0x3d4648(0x13e);}static get[_0x40afe7(0x153)](){return!0x0;}static get[_0x40afe7(0x1f1)](){return!0x0;}get[_0x40afe7(0x1d1)](){const _0x555b64=_0x40afe7;return this[_0x555b64(0x165)]+this[_0x555b64(0x1c6)];}get[_0x40afe7(0x165)](){const _0x47dcc7=_0x40afe7;return this[_0x47dcc7(0x1a2)][_0x47dcc7(0x159)]-this[_0x47dcc7(0x1c6)];}get[_0x40afe7(0x18a)](){const _0x47878d=_0x40afe7,_0x75a03b=this[_0x47878d(0x1a2)][_0x47878d(0x184)]();for(let _0x2c015b=_0x75a03b[_0x47878d(0x1ae)]-0x1;_0x2c015b>=0x0;_0x2c015b--){const _0x1e2711=_0x75a03b[_0x2c015b];if(!this[_0x47878d(0x1d0)][_0x47878d(0x1a0)](_0x1e2711))return _0x1e2711[_0x47878d(0x1b8)]+0x1-this[_0x47878d(0x1c6)];}return 0x0;}constructor(_0x3d5468){const _0x151fc1=_0x40afe7;if(super(_0x3d5468),this[_0x151fc1(0x1c6)]=0x0,this[_0x151fc1(0x179)]=null,this[_0x151fc1(0x1a2)]=new _0x218c3b(),this[_0x151fc1(0x1d8)][_0x151fc1(0x1ca)][_0x151fc1(0x183)](_0x151fc1(0x1c0),{}),this[_0x151fc1(0x13d)]=this[_0x151fc1(0x1d8)][_0x151fc1(0x1ca)][_0x151fc1(0x199)](_0x151fc1(0x1d3)),!this[_0x151fc1(0x13d)])throw new _0x1f0bc6(_0x151fc1(0x118),this);const _0x5e976e=_0x3d5468[_0x151fc1(0x1ca)][_0x151fc1(0x199)](_0x151fc1(0x1a1))||_0x1ef2e6;this[_0x151fc1(0x16d)]=new RealTimeCollaborationClient[(_0x151fc1(0x1a6))](_0x5e976e,this[_0x151fc1(0x13d)]),this[_0x151fc1(0x111)]=this[_0x151fc1(0x1d8)][_0x151fc1(0x166)][_0x151fc1(0x1cd)],this[_0x151fc1(0x18f)]=new _0x2b67ac(),this[_0x151fc1(0x131)]=[],this[_0x151fc1(0x150)]=new WeakSet(),this[_0x151fc1(0x158)]=new Set(),this[_0x151fc1(0x1c5)](_0x151fc1(0x139),!0x1),this[_0x151fc1(0x1c5)](_0x151fc1(0xf8),!0x1),this[_0x151fc1(0xf5)]=null,this[_0x151fc1(0x160)]=!0x1,this[_0x151fc1(0x1b7)]=null,this[_0x151fc1(0x1d6)]=0x12c,this[_0x151fc1(0x186)]=this[_0x151fc1(0x1d6)],this[_0x151fc1(0x145)]=null,this[_0x151fc1(0x1d0)]=new WeakSet(),this[_0x151fc1(0x1cf)]=new F(this[_0x151fc1(0x1d0)]);}[_0x40afe7(0x164)](){const _0x39ffb1=_0x40afe7,_0x52f683=this[_0x39ffb1(0x1d8)],_0x34b899=_0x52f683[_0x39ffb1(0x11c)][_0x39ffb1(0x199)](_0xed9faa),_0x34dfb4=_0x52f683[_0x39ffb1(0x11c)][_0x39ffb1(0x199)](_0x5f90a4);this[_0x39ffb1(0x120)](_0x34b899,_0x39ffb1(0x10b),(_0x4a994c,_0x59635c)=>{const _0x3fc11e=_0x39ffb1,_0x31fd4d=_0x59635c[0x0];_0x31fd4d[_0x3fc11e(0x113)]&&(_0x4a994c[_0x3fc11e(0x177)]=_0x34b899[_0x3fc11e(0xf4)](_0x31fd4d[_0x3fc11e(0x113)]),_0x4a994c[_0x3fc11e(0xfb)]()),null===_0x31fd4d[_0x3fc11e(0x113)]&&(_0x4a994c[_0x3fc11e(0x177)]=null,_0x4a994c[_0x3fc11e(0xfb)]());},{'priority':_0x39ffb1(0x19b)}),this[_0x39ffb1(0x120)](_0x52f683[_0x39ffb1(0x166)][_0x39ffb1(0x1cd)][_0x39ffb1(0x18b)],_0x39ffb1(0x176),(_0x4e14b8,_0x47fb37)=>{const _0x614903=_0x39ffb1;_0x47fb37[_0x614903(0x1dd)]&&this[_0x614903(0x138)]();}),this[_0x39ffb1(0x120)](_0x52f683[_0x39ffb1(0x18e)][_0x39ffb1(0x1c7)],_0x39ffb1(0x103),()=>{const _0x487392=_0x39ffb1;this[_0x487392(0x138)]();}),this[_0x39ffb1(0x14e)](),_0x52f683[_0x39ffb1(0x166)]['on'](_0x39ffb1(0x1a4),(_0x4cfe40,_0x30c033)=>{const _0x204edc=_0x39ffb1,_0x3e420c=_0x30c033[0x0];_0x3e420c[_0x204edc(0x10d)]&&(this[_0x204edc(0x1ad)](_0x3e420c),this[_0x204edc(0x1a9)]()&&this[_0x204edc(0x19d)]());}),this[_0x39ffb1(0x1a7)](),this[_0x39ffb1(0x1f4)](_0x39ffb1(0x1cc))['to'](_0x34dfb4,_0x39ffb1(0x178),this,_0x39ffb1(0xf8),(_0x1ae30c,_0x39b910)=>_0x39ffb1(0x10f)===_0x1ae30c&&!_0x39b910),this['on'](_0x39ffb1(0x154),()=>{const _0x4f26b2=_0x39ffb1;this[_0x4f26b2(0x1cc)]?_0x52f683[_0x4f26b2(0x136)](_0x4f26b2(0x137)):_0x52f683[_0x4f26b2(0xf6)](_0x4f26b2(0x137));}),this[_0x39ffb1(0x1cc)]?_0x52f683[_0x39ffb1(0x136)](_0x39ffb1(0x137)):_0x52f683[_0x39ffb1(0xf6)](_0x39ffb1(0x137)),this[_0x39ffb1(0x1c5)](_0x39ffb1(0x1ed),!0x1);}async[_0x40afe7(0x1bf)](){const _0x45a500=_0x40afe7,_0x8660bb=this[_0x45a500(0x1d8)][_0x45a500(0x11c)][_0x45a500(0x199)](_0x838d6b),_0x31d39b=this[_0x45a500(0x1d8)][_0x45a500(0x11c)][_0x45a500(0x199)](_0x5f90a4);try{this[_0x45a500(0x139)]=!0x0,_0x8660bb[_0x45a500(0xf9)](this[_0x45a500(0x13d)]);const _0xbb109f=await this[_0x45a500(0x16d)][_0x45a500(0x1bf)](_0x31d39b[_0x45a500(0xf7)],this[_0x45a500(0x18a)]);await this[_0x45a500(0x14f)](_0xbb109f)&&(this[_0x45a500(0x139)]=!0x1,this[_0x45a500(0x1aa)]());const _0x20c78b=await this[_0x45a500(0x16d)][_0x45a500(0x116)]();_0x8660bb[_0x45a500(0xff)](this[_0x45a500(0x13d)],_0x20c78b),this[_0x45a500(0x1e6)](),this[_0x45a500(0x1ed)]=!0x0;}catch(_0x256c29){if(function(_0xfdbd67){const _0x1bae2f=_0x45a500;return _0x1bae2f(0x156)===_0xfdbd67[_0x1bae2f(0x1dc)];}(_0x256c29)&&this[_0x45a500(0x179)])await this[_0x45a500(0x180)]();else{if(function(_0x11b04f){const _0x8683f1=_0x45a500;return _0x8683f1(0x14b)===_0x11b04f[_0x8683f1(0x1dc)];}(_0x256c29)){const _0x30c037=_0x319fc4(this[_0x45a500(0x1d8)][_0x45a500(0x142)],_0x45a500(0x1e8));this[_0x45a500(0x1ee)](_0x30c037);}else{if(!(_0x256c29 instanceof V))throw _0x256c29;this[_0x45a500(0x1ee)]();}}}}[_0x40afe7(0x119)](){const _0x3ca7eb=_0x40afe7,_0x382e80=this[_0x3ca7eb(0x1d8)][_0x3ca7eb(0x11c)][_0x3ca7eb(0x199)](_0x5f90a4),_0xfcabad=this[_0x3ca7eb(0x1d8)][_0x3ca7eb(0x11c)][_0x3ca7eb(0x199)](_0x838d6b);this[_0x3ca7eb(0x1d8)][_0x3ca7eb(0xf6)](_0x3ca7eb(0x12a)),_0xfcabad[_0x3ca7eb(0x133)][_0x3ca7eb(0x1a0)](this[_0x3ca7eb(0x13d)])&&_0xfcabad[_0x3ca7eb(0xf9)](this[_0x3ca7eb(0x13d)]),_0x382e80[_0x3ca7eb(0x1f5)](this),this[_0x3ca7eb(0x17e)](),super[_0x3ca7eb(0x119)]();}async[_0x40afe7(0x14f)](_0x5e5ff2){const _0x1c8f6e=_0x40afe7;if(this[_0x1c8f6e(0x179)]!==_0x5e5ff2[_0x1c8f6e(0x179)]&&this[_0x1c8f6e(0x145)]!==_0x5e5ff2[_0x1c8f6e(0x1d4)])throw new V();return this[_0x1c8f6e(0x179)]=_0x5e5ff2[_0x1c8f6e(0x179)],this[_0x1c8f6e(0x127)]([],{..._0x5e5ff2,'wereChangesApplied':!0x1,'data':_0x5e5ff2[_0x1c8f6e(0x182)]},_0x1c8f6e(0x1bf));}async[_0x40afe7(0x1ce)](_0x39a1b4,_0x1f7aa3=!0x1){const _0x31fcef=_0x40afe7,{connection:_0x5d3423}=this[_0x31fcef(0x1d8)][_0x31fcef(0x11c)][_0x31fcef(0x199)](_0x5f90a4);RealTimeCollaborationClient[_0x31fcef(0x1a6)][_0x31fcef(0x116)](_0x5d3423,this[_0x31fcef(0x13d)])[_0x31fcef(0x125)](_0x1cbc6f=>this[_0x31fcef(0x157)](_0x1cbc6f))[_0x31fcef(0x12e)](_0x1f929f=>{const _0x2dafc4=_0x31fcef;this[_0x2dafc4(0x12d)](_0x2dafc4(0x13c),_0x1f929f);}),this[_0x31fcef(0x120)](this[_0x31fcef(0x16d)],_0x31fcef(0x13a),this[_0x31fcef(0x1f3)][_0x31fcef(0x1f4)](this)),this[_0x31fcef(0x120)](this[_0x31fcef(0x16d)],_0x31fcef(0x1e3),(_0x2ca13a,_0xc611ed)=>{const _0x19b0a9=_0x31fcef;this[_0x19b0a9(0x12d)](_0x19b0a9(0x11a),_0xc611ed);}),this[_0x31fcef(0x120)](this[_0x31fcef(0x16d)],_0x31fcef(0x189),()=>{const _0xc3f093=_0x31fcef;this[_0xc3f093(0x1ed)]=!0x1;});const _0x3eb28e=this[_0x31fcef(0x1cf)][_0x31fcef(0x170)](_0x39a1b4);this[_0x31fcef(0x139)]=!0x0;const _0x4058fa=await this[_0x31fcef(0x16d)][_0x31fcef(0x18d)](_0x5d3423,this[_0x31fcef(0x12b)](_0x39a1b4),_0x3eb28e);if(this[_0x31fcef(0x179)]=_0x4058fa[_0x31fcef(0x179)],_0x1f7aa3){if(!_0x4058fa[_0x31fcef(0x123)])return void this[_0x31fcef(0x1ee)]();this[_0x31fcef(0x139)]=!0x1,this[_0x31fcef(0x1aa)](),this[_0x31fcef(0x1a2)][_0x31fcef(0x126)](),this[_0x31fcef(0x1c6)]=_0x4058fa[_0x31fcef(0x1e0)],this[_0x31fcef(0x1a2)][_0x31fcef(0x159)]=this[_0x31fcef(0x1c6)],await this[_0x31fcef(0x127)](_0x39a1b4,_0x4058fa,_0x31fcef(0x1b4));}else await this[_0x31fcef(0x1b5)](_0x4058fa,_0x39a1b4);this[_0x31fcef(0x1e6)](),this[_0x31fcef(0x1ed)]=!0x0;}[_0x40afe7(0x1e6)](){const _0x2ad28e=_0x40afe7,_0x4d8d8b=this[_0x2ad28e(0x1d8)][_0x2ad28e(0x11c)][_0x2ad28e(0x199)](_0x838d6b),_0x20924b=this[_0x2ad28e(0x1d8)][_0x2ad28e(0x11c)][_0x2ad28e(0x199)](_0x365f9e),_0x579db9=_0x4d8d8b[_0x2ad28e(0x133)][_0x2ad28e(0x199)](this[_0x2ad28e(0x13d)]);_0x579db9&&_0x579db9[_0x2ad28e(0x1ae)]>0x1?_0x20924b[_0x2ad28e(0x188)]():this[_0x2ad28e(0x120)](_0x4d8d8b,_0x2ad28e(0x130)+this[_0x2ad28e(0x13d)],()=>{const _0x3c96df=_0x2ad28e;0x2===_0x4d8d8b[_0x3c96df(0x133)][_0x3c96df(0x199)](this[_0x3c96df(0x13d)])[_0x3c96df(0x1ae)]&&_0x20924b[_0x3c96df(0x188)]();});}async[_0x40afe7(0x1f3)](_0x102ab3,_0x5666fc,_0x552b70,_0xc0282c){const _0x2bcbc7=_0x40afe7;if(!this[_0x2bcbc7(0x139)]&&this[_0x2bcbc7(0x111)][_0x2bcbc7(0x159)]==_0x5666fc){const _0x2fdbb4=this[_0x2bcbc7(0x109)](_0x552b70,_0xc0282c);await this[_0x2bcbc7(0x17b)](_0x2fdbb4),this[_0x2bcbc7(0x16f)](_0x2fdbb4,_0x5666fc,_0x552b70[_0x2bcbc7(0x1d4)])||this[_0x2bcbc7(0x12d)](_0x2bcbc7(0x148));}}async[_0x40afe7(0x180)](){const _0x1dfbec=_0x40afe7;this[_0x1dfbec(0x17e)]();const {locale:_0x58e9b3}=this[_0x1dfbec(0x1d8)];let _0x3c8507;try{_0x3c8507=await this[_0x1dfbec(0x16d)][_0x1dfbec(0x1b0)]();}catch{const _0x399552=_0x319fc4(_0x58e9b3,_0x1dfbec(0x15a));return void this[_0x1dfbec(0x1ee)](_0x399552);}const _0x47027b=_0x3c8507[_0x1dfbec(0x190)]||_0x3c8507[_0x1dfbec(0xfa)];if(this[_0x1dfbec(0x145)]!==_0x47027b[_0x1dfbec(0x1d4)]){const _0x8933c5=_0x319fc4(_0x58e9b3,_0x1dfbec(0x171));return void this[_0x1dfbec(0x1ee)](_0x8933c5);}await this[_0x1dfbec(0x1ce)](this[_0x1dfbec(0x1d8)][_0x1dfbec(0x166)][_0x1dfbec(0x1cd)][_0x1dfbec(0x163)][_0x1dfbec(0x184)](),!0x0);}[_0x40afe7(0x17e)](){const _0x10fb69=_0x40afe7;this[_0x10fb69(0x16d)][_0x10fb69(0x1ab)](),this[_0x10fb69(0x131)]=[],clearTimeout(this[_0x10fb69(0x1b7)]),this[_0x10fb69(0x135)](this[_0x10fb69(0x16d)]);}[_0x40afe7(0x157)](_0x48e028){const _0x5391c8=_0x40afe7,_0x56e53f=this[_0x5391c8(0x1d8)][_0x5391c8(0x11c)][_0x5391c8(0x199)](_0x838d6b);this[_0x5391c8(0x120)](_0x56e53f,_0x5391c8(0x130)+this[_0x5391c8(0x13d)],(_0x1ffc9c,{session:_0x35785c})=>{const _0x24d250=_0x5391c8;if(_0x35785c['id']===_0x56e53f[_0x24d250(0x1b2)]){_0x1ffc9c[_0x24d250(0x14d)]();const _0x570699=this[_0x24d250(0x1d8)][_0x24d250(0x11c)][_0x24d250(0x1a0)](_0x24d250(0x1f9))&&this[_0x24d250(0x1d8)][_0x24d250(0x11c)][_0x24d250(0x199)](_0x24d250(0x1f9));let _0x2442d0=_0x35785c[_0x24d250(0x107)];_0x570699&&_0x570699[_0x24d250(0x1bb)]&&(_0x2442d0=_0x2442d0[_0x24d250(0x10e)](_0x52bf3c=>_0x24d250(0x1a5)!==_0x52bf3c)),this[_0x24d250(0x1d8)][_0x24d250(0x11c)][_0x24d250(0x199)](_0x24d250(0x1b1))[_0x24d250(0x1b6)](_0x2442d0,this[_0x24d250(0x13d)]);}}),_0x56e53f[_0x5391c8(0xff)](this[_0x5391c8(0x13d)],_0x48e028);}[_0x40afe7(0x14e)](){const _0x2904f0=_0x40afe7,_0x23a92b=this[_0x2904f0(0x1d8)][_0x2904f0(0x182)][_0x2904f0(0x1c5)];this[_0x2904f0(0x1d8)][_0x2904f0(0x182)][_0x2904f0(0x1c5)]=(..._0x1467b9)=>{const _0x5ccbf2=_0x2904f0;if(!_0x1467b9[_0x1467b9[_0x5ccbf2(0x1ae)]-0x1][_0x5ccbf2(0x102)])throw new _0x1f0bc6(_0x5ccbf2(0x121),this);_0x23a92b[_0x5ccbf2(0x19f)](this[_0x5ccbf2(0x1d8)][_0x5ccbf2(0x182)],_0x1467b9);};}[_0x40afe7(0x1a7)](){const _0x5a6637=_0x40afe7;this[_0x5a6637(0x1d8)][_0x5a6637(0x182)]['on'](_0x5a6637(0x164),(_0x1b827b,[_0x2936a7])=>{const _0x58082f=_0x5a6637;if(this[_0x58082f(0x111)][_0x58082f(0x159)])throw new _0x1f0bc6(_0x58082f(0x1b3),this);_0x1b827b[_0x58082f(0xfb)](),this[_0x58082f(0x141)]();const _0x397759=this[_0x58082f(0x1d8)][_0x58082f(0x1ca)][_0x58082f(0x199)](_0x58082f(0x17a)),_0x3b0bf3=this[_0x58082f(0x1df)](_0x2936a7,_0x397759);0x0==_0x3b0bf3[_0x58082f(0x1ae)]&&_0x3b0bf3[_0x58082f(0x193)](new _0x51eba9(0x0)),_0x1b827b[_0x58082f(0x177)]=this[_0x58082f(0x1ce)](_0x3b0bf3)[_0x58082f(0x125)](()=>{const _0x30d483=_0x58082f;this[_0x30d483(0x1d8)][_0x30d483(0x11c)][_0x30d483(0x199)](_0x5f90a4)[_0x30d483(0x143)](this),this[_0x30d483(0x1d8)][_0x30d483(0x182)][_0x30d483(0x191)](_0x30d483(0x19a));})[_0x58082f(0x12e)](_0x1e5115=>this[_0x58082f(0x12d)](_0x58082f(0x1bd),_0x1e5115))[_0x58082f(0x197)](()=>this[_0x58082f(0x1aa)]());},{'priority':_0x5a6637(0x19b)}),this[_0x5a6637(0x1d8)]['on'](_0x5a6637(0x18c),async(_0xac0fc3,[_0x2f470e,_0x458db5])=>{const _0xbf8c99=_0x5a6637;_0xac0fc3[_0xbf8c99(0xfb)]();const _0x145437=this[_0xbf8c99(0x1d8)][_0xbf8c99(0x166)][_0xbf8c99(0x1cd)][_0xbf8c99(0x155)](_0x2f470e);if(!this[_0xbf8c99(0x158)][_0xbf8c99(0x1a0)](_0x2f470e)){const _0x2774ee=_0x458db5&&_0x458db5[_0xbf8c99(0x182)]?_0x458db5[_0xbf8c99(0x182)]:'',_0xf7c90d=_0x458db5&&_0x458db5[_0xbf8c99(0x14c)]?_0x458db5[_0xbf8c99(0x14c)]:{};await this[_0xbf8c99(0x194)](_0x2f470e,_0x2774ee,_0xf7c90d);}this[_0xbf8c99(0x1d8)][_0xbf8c99(0x166)][_0xbf8c99(0x175)]({'isUndoable':!0x1},()=>{const _0x4c43db=_0xbf8c99;_0x145437[_0x4c43db(0x129)]=!0x0,this[_0x4c43db(0x1d8)][_0x4c43db(0x166)][_0x4c43db(0x1cd)][_0x4c43db(0x108)][_0x4c43db(0x100)](_0x145437);});},{'priority':_0x5a6637(0x19b)});}async[_0x40afe7(0x17b)](_0x122f7b){const _0xcf49bf=_0x40afe7,_0x1c91f1=this[_0xcf49bf(0x1d8)][_0xcf49bf(0x11c)][_0xcf49bf(0x199)](_0xed9faa),{connection:_0x21edf0}=this[_0xcf49bf(0x1d8)][_0xcf49bf(0x11c)][_0xcf49bf(0x199)](_0x5f90a4),_0x12c8dc=new Set();for(const _0x3c55db of _0x122f7b){const _0x42aa5f=_0x3c55db[_0xcf49bf(0x113)];_0x42aa5f&&!_0x1c91f1[_0xcf49bf(0xf4)](_0x42aa5f)&&_0x12c8dc[_0xcf49bf(0x1ea)](_0x42aa5f);}if(0x0===_0x12c8dc[_0xcf49bf(0x1e9)])return;const _0x3fea17=await _0x12e0d9[_0xcf49bf(0x1ac)](_0x21edf0,Array[_0xcf49bf(0x101)](_0x12c8dc));for(const _0x1f5508 of _0x3fea17)_0x1c91f1[_0xcf49bf(0xf4)](_0x1f5508['id'])||_0x1c91f1[_0xcf49bf(0x16a)](_0x1f5508);}[_0x40afe7(0x1df)](_0x4b7718,_0x237df4={}){const _0x53cc66=_0x40afe7,_0x49df44=this[_0x53cc66(0x1d8)][_0x53cc66(0x166)],_0x19341d=[];let _0x4dd7eb=0x0;const _0x2cc626=_0x53cc66(0x1f2)==typeof _0x4b7718?{'main':_0x4b7718}:_0x4b7718;for(const _0x1ee3b5 of Object[_0x53cc66(0x1b9)](_0x2cc626)){if(!this[_0x53cc66(0x111)][_0x53cc66(0x1d2)][_0x53cc66(0x1a0)](_0x1ee3b5))throw new _0x1f0bc6(_0x53cc66(0x1bc),this);const _0x10b946=this[_0x53cc66(0x1d8)][_0x53cc66(0x182)][_0x53cc66(0x10c)](_0x2cc626[_0x1ee3b5]),_0x336219=this[_0x53cc66(0x111)][_0x53cc66(0x155)](_0x1ee3b5),_0x1c73a6=new _0x359b84(_0x49df44[_0x53cc66(0x112)](_0x336219,0x0),_0x10b946,_0x4dd7eb++);_0x19341d[_0x53cc66(0x193)](_0x1c73a6);for(const [_0x6f4352,_0x5903cc]of _0x10b946[_0x53cc66(0x17f)]){const _0x3202a9=_0x49df44[_0x53cc66(0x15f)](_0x49df44[_0x53cc66(0xfd)](_0x336219,_0x5903cc[_0x53cc66(0x173)][_0x53cc66(0x1f6)][_0x53cc66(0x11d)]()),_0x49df44[_0x53cc66(0xfd)](_0x336219,_0x5903cc[_0x53cc66(0x1c4)][_0x53cc66(0x1f6)][_0x53cc66(0x11d)]())),_0x826255=new _0x5a6c80(_0x6f4352,null,_0x3202a9,_0x49df44[_0x53cc66(0x17f)],!0x0,_0x4dd7eb++);_0x19341d[_0x53cc66(0x193)](_0x826255);}}if(_0x237df4)for(const [_0x4f986e,_0x12f427]of Object[_0x53cc66(0x161)](_0x237df4)){const _0x224fc6=_0x49df44[_0x53cc66(0x1cd)][_0x53cc66(0x155)](_0x4f986e);if(!_0x224fc6)throw new _0x1f0bc6(_0x53cc66(0x1af),null);for(const [_0x3a5105,_0x9d91e1]of Object[_0x53cc66(0x161)](_0x12f427))if(null!==_0x9d91e1){const _0x48995d=new _0x4d4db6(_0x224fc6,_0x3a5105,null,_0x9d91e1,_0x4dd7eb++);_0x19341d[_0x53cc66(0x193)](_0x48995d);}}return _0x19341d;}async[_0x40afe7(0x194)](_0x1192cb,_0x3a59dd,_0x3028f9){const _0x1a2ed0=_0x40afe7;this[_0x1a2ed0(0x1df)]({[_0x1192cb]:_0x3a59dd},{[_0x1192cb]:_0x3028f9})[_0x1a2ed0(0x1d7)]((_0x44c08e,_0x2db395)=>{const _0x5e5dd9=_0x1a2ed0;_0x44c08e[_0x5e5dd9(0x1b8)]=this[_0x5e5dd9(0x111)][_0x5e5dd9(0x159)]+_0x2db395,_0x44c08e[_0x5e5dd9(0x1de)]=!0x0,this[_0x5e5dd9(0x1ad)](_0x44c08e);}),this[_0x1a2ed0(0x19d)](),await this[_0x1a2ed0(0xf3)]();}async[_0x40afe7(0x1b5)](_0x39e4d7,_0x35df2c){const _0x32162b=_0x40afe7;let _0x5c8614;this[_0x32162b(0x1c6)]=_0x39e4d7[_0x32162b(0x1e0)];const _0x15300b=_0x39e4d7[_0x32162b(0x123)]&&!_0x39e4d7[_0x32162b(0x17c)],_0x4379ee=_0x15300b?0x0:_0x39e4d7[_0x32162b(0x182)][_0x32162b(0x1b8)];if(_0x35df2c[_0x32162b(0x1d7)](_0x258454=>{const _0x53d959=_0x32162b;_0x258454[_0x53d959(0x1de)]=!0x0,_0x258454[_0x53d959(0x181)]=_0x39e4d7[_0x53d959(0x110)],_0x258454[_0x53d959(0x113)]=null;}),_0x15300b)_0x5c8614=_0x35df2c,this[_0x32162b(0x169)](_0x5c8614,_0x15300b);else{if(_0x39e4d7[_0x32162b(0x17c)]){const _0x1ba605=this[_0x32162b(0x1df)](_0x39e4d7[_0x32162b(0x17c)]);this[_0x32162b(0x111)][_0x32162b(0x163)][_0x32162b(0x159)]=-_0x1ba605[_0x32162b(0x1ae)],_0x1ba605[_0x32162b(0x1d7)](_0x28596b=>{const _0x35a630=_0x32162b;_0x28596b[_0x35a630(0x1b8)]-=_0x1ba605[_0x35a630(0x1ae)],_0x28596b[_0x35a630(0x181)]=_0x39e4d7[_0x35a630(0x110)],_0x28596b[_0x35a630(0x1de)]=!0x0,_0x28596b[_0x35a630(0x113)]=null;}),this[_0x32162b(0x169)](_0x1ba605,!0x0),this[_0x32162b(0x1a2)][_0x32162b(0x159)]=-_0x1ba605[_0x32162b(0x1ae)]+this[_0x32162b(0x1c6)],this[_0x32162b(0x162)](_0x1ba605);}this[_0x32162b(0x111)][_0x32162b(0x163)][_0x32162b(0x159)]=_0x4379ee,_0x5c8614=this[_0x32162b(0x109)](_0x39e4d7[_0x32162b(0x182)],_0x39e4d7[_0x32162b(0x192)]),await this[_0x32162b(0x17b)](_0x5c8614),this[_0x32162b(0x169)](_0x5c8614,_0x15300b);}_0x39e4d7[_0x32162b(0x1d4)]&&(this[_0x32162b(0x1cf)][_0x32162b(0x122)](_0x5c8614,_0x39e4d7[_0x32162b(0x1d4)]),this[_0x32162b(0x145)]=_0x39e4d7[_0x32162b(0x1d4)]),this[_0x32162b(0x1a2)][_0x32162b(0x159)]=_0x4379ee+this[_0x32162b(0x1c6)],this[_0x32162b(0x162)](_0x5c8614),_0x35df2c[_0x32162b(0x10e)](_0x44ec75=>{const _0x570275=_0x32162b,_0x548e93=this[_0x570275(0x132)](_0x44ec75);return _0x548e93&&!this[_0x570275(0x158)][_0x570275(0x1a0)](_0x548e93);})[_0x32162b(0x1d7)]((_0x3c48ff,_0x58f021)=>{const _0x96a6bf=_0x32162b;_0x3c48ff[_0x96a6bf(0x1b8)]=this[_0x96a6bf(0x111)][_0x96a6bf(0x159)]+_0x58f021,this[_0x96a6bf(0x1ad)](_0x3c48ff);}),this[_0x32162b(0x1a9)]()?(this[_0x32162b(0x186)]=0x0,this[_0x32162b(0x19d)](!0x0),await this[_0x32162b(0xf3)]()):(this[_0x32162b(0x139)]=!0x1,this[_0x32162b(0x1aa)]());}[_0x40afe7(0x12d)](_0x5c23d5,_0x320552){const _0x355210=_0x40afe7,_0x1d883d=_0x320552&&_0x320552[_0x355210(0x117)];if(_0x1d883d&&_0x1d883d[_0x355210(0x1e1)](_0x355210(0x147)))throw _0x320552;const _0x2d59aa=this[_0x355210(0x1d8)][_0x355210(0x11c)][_0x355210(0x199)](_0x5f90a4);throw this[_0x355210(0x139)]=!0x0,_0x2d59aa[_0x355210(0x1ab)](),this[_0x355210(0x1d8)][_0x355210(0xf6)](_0x355210(0x1c3)),new _0x1f0bc6(_0x5c23d5,this[_0x355210(0x1d8)],_0x1d883d?{'originalError':_0x1d883d}:void 0x0);}[_0x40afe7(0x1ad)](_0x2af447){const _0x475e6f=_0x40afe7;this[_0x475e6f(0x150)][_0x475e6f(0x1a0)](_0x2af447)||(this[_0x475e6f(0x150)][_0x475e6f(0x1ea)](_0x2af447),this[_0x475e6f(0x131)][_0x475e6f(0x193)](_0x2af447),this[_0x475e6f(0xf5)]||_0x475e6f(0x17d)==_0x2af447[_0x475e6f(0x105)]&&!_0x2af447[_0x475e6f(0x124)]||this[_0x475e6f(0x141)]());}[_0x40afe7(0x19d)](_0x238808=!0x1){const _0x50a3a4=_0x40afe7;!_0x238808&&this[_0x50a3a4(0x139)]||(this[_0x50a3a4(0x139)]=!0x0,clearTimeout(this[_0x50a3a4(0x1b7)]),this[_0x50a3a4(0x1b7)]=setTimeout(()=>{const _0x1d5986=_0x50a3a4;this[_0x1d5986(0x1cb)]()[_0x1d5986(0x125)](_0xa0f160=>{const _0x42242c=_0x1d5986;_0xa0f160&&(this[_0x42242c(0x1aa)](),this[_0x42242c(0x139)]=!0x1);})[_0x1d5986(0x12e)](_0x140a42=>{const _0xe337cd=_0x1d5986;this[_0xe337cd(0x1aa)](),this[_0xe337cd(0x139)]=!0x1,function(_0x53d4d2){const _0x28d888=_0xe337cd;return _0x53d4d2[_0x28d888(0x117)][_0x28d888(0x1e1)](_0x28d888(0x1e7))||_0x53d4d2[_0x28d888(0x117)][_0x28d888(0x1e1)](_0x28d888(0x14a))||_0x53d4d2[_0x28d888(0x117)][_0x28d888(0x1e1)](_0x28d888(0x1c2));}(_0x140a42)||this[_0xe337cd(0x12d)](_0x140a42[_0xe337cd(0x117)],_0x140a42);});},this[_0x50a3a4(0x186)]));}[_0x40afe7(0xf3)](){return new Promise(_0x24b78e=>{const _0x560a06=_0x20c1;this['on'](_0x560a06(0x10a),()=>{_0x24b78e();});});}async[_0x40afe7(0x1cb)](){const _0x3938b6=_0x40afe7,_0x34094d=this[_0x3938b6(0x1d8)][_0x3938b6(0x11c)][_0x3938b6(0x199)](_0x365f9e);if(this[_0x3938b6(0x106)]()&&(_0x34094d[_0x3938b6(0x188)](),this[_0x3938b6(0x160)]=!0x1),!this[_0x3938b6(0x1a9)]())return!0x0;const _0x438c3f=[...this[_0x3938b6(0x131)]];for(const _0x1350fd of _0x438c3f)_0x1350fd[_0x3938b6(0x1db)]=this[_0x3938b6(0x111)][_0x3938b6(0x163)][_0x3938b6(0x114)](_0x1350fd);const _0x45b79c=this[_0x3938b6(0x1cf)][_0x3938b6(0x170)](_0x438c3f),_0x485ad0=H++,_0x45944e=this[_0x3938b6(0x12b)](_0x438c3f),_0x329013=await this[_0x3938b6(0x16d)][_0x3938b6(0x1d9)](_0x45944e,_0x45944e[_0x3938b6(0x1b8)],_0x45b79c);try{return await this[_0x3938b6(0x127)](_0x438c3f,_0x329013,_0x485ad0);}catch(_0x120fe8){return this[_0x3938b6(0x12d)](_0x3938b6(0x16c),_0x120fe8);}}async[_0x40afe7(0x127)](_0x76efac,_0x1c905e,_0x1d6e22){const _0x1c547a=_0x40afe7;if(_0x1c547a(0x1e3)in _0x1c905e)throw _0x1c905e[_0x1c547a(0x1e3)];let _0x36f87a=!0x1;if(_0x1c905e[_0x1c547a(0x123)]){_0x1c905e[_0x1c547a(0x1d4)]&&(this[_0x1c547a(0x145)]=_0x1c905e[_0x1c547a(0x1d4)]),this[_0x1c547a(0x131)]=this[_0x1c547a(0x131)][_0x1c547a(0x10e)](_0x1921e4=>!_0x76efac[_0x1c547a(0x187)](_0x1921e4));for(const _0x4d0bf0 of _0x76efac)_0x4d0bf0[_0x1c547a(0x181)]=_0x1c547a(0xfe)in _0x1c905e&&_0x1c905e[_0x1c547a(0xfe)]||void 0x0;W(_0x76efac,_0x1c905e[_0x1c547a(0x159)]-_0x76efac[_0x1c547a(0x1ae)]),this[_0x1c547a(0x162)](_0x76efac);const _0x1c47a5=_0x76efac[_0x1c547a(0x10e)](_0x4852b3=>{const _0x54d7c4=_0x1c547a;if(!_0x4852b3[_0x54d7c4(0x1de)])return!0x1;const _0x3a92ee=this[_0x54d7c4(0x132)](_0x4852b3);return _0x3a92ee&&!this[_0x54d7c4(0x158)][_0x54d7c4(0x1a0)](_0x3a92ee);});W(_0x1c47a5,this[_0x1c547a(0x111)][_0x1c547a(0x159)]),this[_0x1c547a(0x169)](_0x1c47a5),_0x36f87a=!0x0,this[_0x1c547a(0x186)]=this[_0x1c547a(0x1d6)];}else{const _0x4d0b99=this[_0x1c547a(0x109)](_0x1c905e[_0x1c547a(0x182)],_0x1c905e[_0x1c547a(0x192)])[_0x1c547a(0x10e)](_0x3cc581=>_0x3cc581[_0x1c547a(0x1b8)]>=this[_0x1c547a(0x165)]);_0x4d0b99[_0x1c547a(0x1d7)](_0x471059=>this[_0x1c547a(0x1ef)](_0x471059)),this[_0x1c547a(0x131)]=this[_0x1c547a(0x131)][_0x1c547a(0x10e)](_0x3f6bd9=>!_0x3f6bd9[_0x1c547a(0x1de)]||!this[_0x1c547a(0x158)][_0x1c547a(0x1a0)](this[_0x1c547a(0x132)](_0x3f6bd9))),this[_0x1c547a(0x131)][_0x1c547a(0x1ae)]&&W(this[_0x1c547a(0x131)],this[_0x1c547a(0x131)][0x0][_0x1c547a(0x1b8)]),await this[_0x1c547a(0x17b)](_0x4d0b99),_0x36f87a=this[_0x1c547a(0x16f)](_0x4d0b99,_0x1c905e[_0x1c547a(0x159)],_0x1c905e[_0x1c547a(0x1d4)]),this[_0x1c547a(0x186)]=Math[_0x1c547a(0x149)](this[_0x1c547a(0x186)]/0x2);}return _0x36f87a?!this[_0x1c547a(0x1a9)]()||(this[_0x1c547a(0x19d)](!0x0),!0x1):this[_0x1c547a(0x12d)](_0x1c547a(0x196));}[_0x40afe7(0x16f)](_0x1355ab,_0x13c94a,_0x257b5c){const _0x537850=_0x40afe7;try{const _0x50d0b1={'document':this[_0x537850(0x111)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xd79199,operationsB:_0x26ff37,originalOperations:_0x4b3a29}=_0x666f29(_0x1355ab,this[_0x537850(0x131)],_0x50d0b1);W(_0xd79199,this[_0x537850(0x111)][_0x537850(0x159)]),W(_0x26ff37,_0x13c94a);for(const _0x32dcf3 of _0xd79199){const _0x3959cc=_0x4b3a29[_0x537850(0x199)](_0x32dcf3);_0x32dcf3[_0x537850(0x113)]=_0x3959cc?_0x3959cc[_0x537850(0x113)]:null;}_0x257b5c&&(this[_0x537850(0x1cf)][_0x537850(0x122)](_0x1355ab,_0x257b5c),this[_0x537850(0x145)]=_0x257b5c),this[_0x537850(0x131)]=[..._0x26ff37],this[_0x537850(0x169)](_0xd79199),this[_0x537850(0x162)](_0x1355ab);}catch(_0x5117ef){return console[_0x537850(0x1e3)](_0x5117ef),!0x1;}return!0x0;}[_0x40afe7(0x169)](_0x2cfda7,_0xf10a2d=!0x1){const _0x52571a=_0x40afe7;this[_0x52571a(0x1d8)][_0x52571a(0x166)][_0x52571a(0x175)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2eff45=>{const _0x94224b=_0x52571a;for(const _0x18e43d of _0x2cfda7)this[_0x94224b(0x150)][_0x94224b(0x1ea)](_0x18e43d),this[_0x94224b(0x1ef)](_0x18e43d),_0x2eff45[_0x94224b(0x15d)][_0x94224b(0x172)](_0x18e43d),this[_0x94224b(0x1d8)][_0x94224b(0x166)][_0x94224b(0x1a4)](_0x18e43d);});}[_0x40afe7(0x1ef)](_0x45e3ac){const _0x1cfa1f=_0x40afe7,_0x4b76a1=this[_0x1cfa1f(0x132)](_0x45e3ac);_0x4b76a1&&this[_0x1cfa1f(0x158)][_0x1cfa1f(0x1ea)](_0x4b76a1);}[_0x40afe7(0x132)](_0x450c8c){const _0x104a6e=_0x40afe7;let _0x3fe3f7,_0x87761d;switch(_0x450c8c[_0x104a6e(0x105)]){case _0x104a6e(0x185):_0x3fe3f7=_0x450c8c[_0x104a6e(0x1f7)][_0x104a6e(0x1d5)];break;case _0x104a6e(0x17d):if(_0x87761d=_0x450c8c[_0x104a6e(0x198)],!_0x87761d)return null;_0x3fe3f7=_0x87761d[_0x104a6e(0x1d5)];break;case _0x104a6e(0x19e):_0x3fe3f7=_0x450c8c[_0x104a6e(0x1d5)];break;case _0x104a6e(0x115):_0x3fe3f7=_0x450c8c[_0x104a6e(0x174)];break;case _0x104a6e(0x11b):_0x3fe3f7=_0x450c8c[_0x104a6e(0x104)][_0x104a6e(0x1d5)];break;default:return null;}return _0x3fe3f7[_0x104a6e(0x16b)];}[_0x40afe7(0x162)](_0x5dc4b1){const _0x428c18=_0x40afe7;_0x5dc4b1[_0x428c18(0x1d7)](_0x4466a4=>{const _0x2a5bbf=_0x428c18,_0x516752=_0x4466a4[_0x2a5bbf(0x12c)]();_0x516752[_0x2a5bbf(0x113)]=_0x4466a4[_0x2a5bbf(0x113)],_0x516752[_0x2a5bbf(0x1de)]=!!_0x4466a4[_0x2a5bbf(0x1de)],_0x516752[_0x2a5bbf(0x181)]=_0x4466a4[_0x2a5bbf(0x181)],_0x516752[_0x2a5bbf(0x1b8)]+=this[_0x2a5bbf(0x1c6)],_0x4466a4[_0x2a5bbf(0x1ec)]&&this[_0x2a5bbf(0x1d0)][_0x2a5bbf(0x1ea)](_0x516752),this[_0x2a5bbf(0x1a2)][_0x2a5bbf(0x172)](_0x516752);});}[_0x40afe7(0x1ee)](_0x22b1e4){const _0x318059=_0x40afe7,_0x2a4f28=this[_0x318059(0x1d8)][_0x318059(0x11c)][_0x318059(0x199)](_0x318059(0x168)),_0x17b054=this[_0x318059(0x1d8)][_0x318059(0x142)];_0x22b1e4||(_0x22b1e4=_0x319fc4(_0x17b054,_0x318059(0x1e2))),_0x2a4f28[_0x318059(0x1eb)](_0x22b1e4,{'title':_0x319fc4(_0x17b054,_0x318059(0x134)),'namespace':_0x318059(0x11f)}),this[_0x318059(0xf8)]=!0x0,clearTimeout(this[_0x318059(0x1b7)]),this[_0x318059(0x131)]=[],this[_0x318059(0x1d8)][_0x318059(0x11c)][_0x318059(0x199)](_0x5f90a4)[_0x318059(0x1ab)]();}[_0x40afe7(0x141)](){const _0x287b25=_0x40afe7;this[_0x287b25(0xf5)]||(this[_0x287b25(0xf5)]=this[_0x287b25(0x1d8)][_0x287b25(0x11c)][_0x287b25(0x199)](_0x38c82b)[_0x287b25(0x1ea)](_0x319fc4(this[_0x287b25(0x1d8)][_0x287b25(0x142)],_0x287b25(0x1a8))));}[_0x40afe7(0x1aa)](){const _0x4430f7=_0x40afe7;this[_0x4430f7(0xf5)]&&(this[_0x4430f7(0x1d8)][_0x4430f7(0x11c)][_0x4430f7(0x199)](_0x38c82b)[_0x4430f7(0x195)](this[_0x4430f7(0xf5)]),this[_0x4430f7(0xf5)]=null);}[_0x40afe7(0x12b)](_0x1791d0){const _0x5e769e=_0x40afe7,_0x18f9a2=_0x1791d0[_0x5e769e(0x152)](_0x271d8e=>_0x271d8e[_0x5e769e(0x1a3)]());return this[_0x5e769e(0x18f)][_0x5e769e(0x13f)](_0x18f9a2);}[_0x40afe7(0x109)](_0x3e6519,_0x47cf47){const _0x525157=_0x40afe7;return this[_0x525157(0x18f)][_0x525157(0x13b)](_0x3e6519)[_0x525157(0x152)]((_0x5b84bd,_0x1d7272)=>{const _0xe195d0=_0x525157,_0x1f8510=_0xe195d0(0x164)==_0x47cf47[_0x1d7272][_0xe195d0(0x105)];if(_0xe195d0(0x167)==_0x5b84bd[_0xe195d0(0x11e)]){const _0x36d2de=_0x5b84bd[_0xe195d0(0x1f7)][_0xe195d0(0x1d5)];!this[_0xe195d0(0x111)][_0xe195d0(0x155)](_0x36d2de)&&(this[_0xe195d0(0x111)][_0xe195d0(0x1c1)](_0xe195d0(0x1f8),_0x36d2de)[_0xe195d0(0x19c)]=!0x1);}const _0x7889bc=_0x154bf0[_0xe195d0(0xf2)](_0x5b84bd,this[_0xe195d0(0x111)]);return _0x7889bc[_0xe195d0(0x1db)]=_0x5b84bd[_0xe195d0(0x1db)],_0x7889bc[_0xe195d0(0x1de)]=_0x1f8510,_0x7889bc[_0xe195d0(0x113)]=_0x1f8510?null:_0x47cf47[_0x1d7272][_0xe195d0(0x12f)],_0x7889bc[_0xe195d0(0x1ec)]=_0xe195d0(0x144)===_0x47cf47[_0x1d7272][_0xe195d0(0x105)],_0x7889bc[_0xe195d0(0x181)]=_0x47cf47[_0x1d7272][_0xe195d0(0x181)],_0x7889bc;});}[_0x40afe7(0x138)](){const _0x3ca1e5=_0x40afe7;this[_0x3ca1e5(0x160)]=!0x0,this[_0x3ca1e5(0x106)]()?this[_0x3ca1e5(0x19d)]():this[_0x3ca1e5(0x160)]=!0x1;}[_0x40afe7(0x106)](){const _0x4d357c=_0x40afe7,_0x4dde4c=this[_0x4d357c(0x1d8)][_0x4d357c(0x11c)][_0x4d357c(0x199)](_0x838d6b)[_0x4d357c(0x133)][_0x4d357c(0x199)](this[_0x4d357c(0x13d)]);return!this[_0x4d357c(0x1d8)][_0x4d357c(0x1be)]&&!!_0x4dde4c&&_0x4dde4c[_0x4d357c(0x1ae)]>0x1&&this[_0x4d357c(0x160)];}[_0x40afe7(0x1a9)](){const _0x53c1a0=_0x40afe7;return this[_0x53c1a0(0x131)][_0x53c1a0(0x1ae)]>0x0||this[_0x53c1a0(0x106)]();}}class V extends Error{}function W(_0x73d027,_0x554e20){const _0x411d55=_0x40afe7;for(const _0x21da6f of _0x73d027)_0x21da6f[_0x411d55(0x1b8)]=_0x554e20++;}class F{[_0x40afe7(0x15c)];[_0x40afe7(0x1ba)];constructor(_0x62b4cd){const _0x462326=_0x40afe7;this[_0x462326(0x15c)]=_0x62b4cd,this[_0x462326(0x1ba)]=new WeakMap();}[_0x40afe7(0x170)](_0x4ff081){const _0x1d4c28=_0x40afe7;let _0x22bbec=_0x4ff081[_0x1d4c28(0x1ae)];for(;_0x22bbec--;){const _0x20d307=_0x4ff081[_0x22bbec];if(!this[_0x1d4c28(0x15c)][_0x1d4c28(0x1a0)](_0x20d307)){if(!this[_0x1d4c28(0x1ba)][_0x1d4c28(0x1a0)](_0x20d307)){const _0x7c2a1a=_0x178034()[_0x1d4c28(0x11d)](0x1,0x12);this[_0x1d4c28(0x1ba)][_0x1d4c28(0x1c5)](_0x20d307,_0x7c2a1a);}return this[_0x1d4c28(0x1ba)][_0x1d4c28(0x199)](_0x20d307);}}}[_0x40afe7(0x122)](_0x3d3589,_0x120385){const _0x4f58c2=_0x40afe7;if(!_0x120385)return;let _0xd2845b=_0x3d3589[_0x4f58c2(0x1ae)];for(;_0xd2845b--;){const _0x370be9=_0x3d3589[_0xd2845b];this[_0x4f58c2(0x15c)][_0x4f58c2(0x1a0)](_0x370be9)||this[_0x4f58c2(0x1ba)][_0x4f58c2(0x1c5)](_0x370be9,_0x120385);}}}
|
|
23
|
+
const _0x1ff9b6=_0x3aa7;(function(_0x17d0e8,_0x1dbeac){const _0x3ab3c0=_0x3aa7,_0x1a2593=_0x17d0e8();while(!![]){try{const _0x1bd6df=parseInt(_0x3ab3c0(0x13a))/0x1+-parseInt(_0x3ab3c0(0x189))/0x2+parseInt(_0x3ab3c0(0x102))/0x3+parseInt(_0x3ab3c0(0x160))/0x4+-parseInt(_0x3ab3c0(0x18c))/0x5*(parseInt(_0x3ab3c0(0x109))/0x6)+parseInt(_0x3ab3c0(0xdd))/0x7*(parseInt(_0x3ab3c0(0x18d))/0x8)+-parseInt(_0x3ab3c0(0x103))/0x9;if(_0x1bd6df===_0x1dbeac)break;else _0x1a2593['push'](_0x1a2593['shift']());}catch(_0xa431dc){_0x1a2593['push'](_0x1a2593['shift']());}}}(_0x5491,0xb1485));import{Plugin as _0x4014b2,PendingActions as _0x39ddd0}from'ckeditor5/src/core.js';import{CKEditorError as _0x46347f,version as _0x5a252d,uid as _0x20d944}from'ckeditor5/src/utils.js';import{Notification as _0x2f9dee}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x46a19b,NoOperation as _0x353047,InsertOperation as _0x320c58,MarkerOperation as _0x147aaa,RootAttributeOperation as _0x321385,OperationFactory as _0x2a893d,History as _0x370750}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1a35a6}from'./websocketgateway.js';import{Sessions as _0x24815b}from'./sessions.js';import{UserMarkers as _0x1fb8e1}from'./usermarkers.js';import{getTranslation as _0x7461af}from'../common-translations.js';import{Compressor as _0x7f617c}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x109044}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x56a287,CollaborativeEditingService as _0x51ed10}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let N=0x1;export class RealTimeCollaborationClient extends _0x4014b2{static [_0x1ff9b6(0x188)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x51ed10)());[_0x1ff9b6(0x147)];[_0x1ff9b6(0xce)];[_0x1ff9b6(0xfc)];[_0x1ff9b6(0xea)];[_0x1ff9b6(0x1af)];[_0x1ff9b6(0x141)];[_0x1ff9b6(0x15c)];[_0x1ff9b6(0x169)];[_0x1ff9b6(0x10d)];[_0x1ff9b6(0x10c)];[_0x1ff9b6(0x161)];[_0x1ff9b6(0xee)];[_0x1ff9b6(0x18f)];[_0x1ff9b6(0x133)];[_0x1ff9b6(0x137)];[_0x1ff9b6(0xe9)];[_0x1ff9b6(0x1b0)];[_0x1ff9b6(0xf1)];static get[_0x1ff9b6(0x104)](){return[_0x1a35a6,_0x24815b,_0x1fb8e1,_0x39ddd0,_0x109044,_0x2f9dee];}static get[_0x1ff9b6(0xd4)](){const _0x4ce597=_0x1ff9b6;return _0x4ce597(0x13e);}static get[_0x1ff9b6(0x10b)](){return!0x0;}static get[_0x1ff9b6(0x108)](){return!0x0;}get[_0x1ff9b6(0xd7)](){const _0x35126a=_0x1ff9b6;return this[_0x35126a(0x14f)]+this[_0x35126a(0x147)];}get[_0x1ff9b6(0x14f)](){const _0x5a1da5=_0x1ff9b6;return this[_0x5a1da5(0xfc)][_0x5a1da5(0x1b3)]-this[_0x5a1da5(0x147)];}get[_0x1ff9b6(0x17f)](){const _0x5289da=_0x1ff9b6,_0x45af12=this[_0x5289da(0xfc)][_0x5289da(0x182)]();for(let _0x390c4b=_0x45af12[_0x5289da(0xb3)]-0x1;_0x390c4b>=0x0;_0x390c4b--){const _0x59699a=_0x45af12[_0x390c4b];if(!this[_0x5289da(0x1b0)][_0x5289da(0xbe)](_0x59699a))return _0x59699a[_0x5289da(0x129)]+0x1-this[_0x5289da(0x147)];}return 0x0;}constructor(_0x23645a){const _0x48738a=_0x1ff9b6;if(super(_0x23645a),this[_0x48738a(0x147)]=0x0,this[_0x48738a(0xce)]=null,this[_0x48738a(0xfc)]=new _0x370750(),this[_0x48738a(0xe6)][_0x48738a(0x1ac)][_0x48738a(0xb4)](_0x48738a(0xc4),{}),this[_0x48738a(0xea)]=this[_0x48738a(0xe6)][_0x48738a(0x1ac)][_0x48738a(0xe2)](_0x48738a(0x17a)),!this[_0x48738a(0xea)])throw new _0x46347f(_0x48738a(0x134),this);const _0xb353a6=_0x23645a[_0x48738a(0x1ac)][_0x48738a(0xe2)](_0x48738a(0x19b))||_0x5a252d;this[_0x48738a(0x1af)]=new RealTimeCollaborationClient[(_0x48738a(0x188))](_0xb353a6,this[_0x48738a(0xea)]),this[_0x48738a(0x141)]=this[_0x48738a(0xe6)][_0x48738a(0x1a8)][_0x48738a(0x142)],this[_0x48738a(0x15c)]=new _0x7f617c(),this[_0x48738a(0x169)]=[],this[_0x48738a(0x10d)]=new WeakSet(),this[_0x48738a(0x10c)]=new Set(),this[_0x48738a(0x183)](_0x48738a(0x111),!0x1),this[_0x48738a(0x183)](_0x48738a(0x117),!0x1),this[_0x48738a(0x161)]=null,this[_0x48738a(0xee)]=!0x1,this[_0x48738a(0x18f)]=null,this[_0x48738a(0x133)]=0x12c,this[_0x48738a(0x137)]=this[_0x48738a(0x133)],this[_0x48738a(0xe9)]=null,this[_0x48738a(0x1b0)]=new WeakSet(),this[_0x48738a(0xf1)]=new M(this[_0x48738a(0x1b0)]);}[_0x1ff9b6(0x17c)](){const _0x180fdd=_0x1ff9b6,_0x10e4a5=this[_0x180fdd(0xe6)],_0x361a5a=_0x10e4a5[_0x180fdd(0x145)][_0x180fdd(0xe2)](_0x109044),_0x2e2b51=_0x10e4a5[_0x180fdd(0x145)][_0x180fdd(0xe2)](_0x1a35a6);this[_0x180fdd(0x15f)](_0x361a5a,_0x180fdd(0x185),(_0xa5722,_0x10aa97)=>{const _0x26799b=_0x180fdd,_0x4cf557=_0x10aa97[0x0];_0x4cf557[_0x26799b(0xec)]&&(_0xa5722[_0x26799b(0x10e)]=_0x361a5a[_0x26799b(0x164)](_0x4cf557[_0x26799b(0xec)]),_0xa5722[_0x26799b(0x180)]()),null===_0x4cf557[_0x26799b(0xec)]&&(_0xa5722[_0x26799b(0x10e)]=null,_0xa5722[_0x26799b(0x180)]());},{'priority':_0x180fdd(0x136)}),this[_0x180fdd(0x15f)](_0x10e4a5[_0x180fdd(0x1a8)][_0x180fdd(0x142)][_0x180fdd(0x105)],_0x180fdd(0xc3),(_0x513be5,_0x2dc553)=>{const _0x31f6c1=_0x180fdd;_0x2dc553[_0x31f6c1(0x17d)]&&this[_0x31f6c1(0xd3)]();}),this[_0x180fdd(0x15f)](_0x10e4a5[_0x180fdd(0x168)][_0x180fdd(0x152)],_0x180fdd(0xde),()=>{const _0x1989c0=_0x180fdd;this[_0x1989c0(0xd3)]();}),this[_0x180fdd(0x1a4)](),_0x10e4a5[_0x180fdd(0x1a8)]['on'](_0x180fdd(0x155),(_0x18baca,_0x4920fd)=>{const _0x17f3e3=_0x180fdd,_0x54492d=_0x4920fd[0x0];_0x54492d[_0x17f3e3(0x193)]&&(this[_0x17f3e3(0xfa)](_0x54492d),this[_0x17f3e3(0xd5)]()&&this[_0x17f3e3(0xef)]());}),this[_0x180fdd(0xed)](),this[_0x180fdd(0xe1)](_0x180fdd(0x118))['to'](_0x2e2b51,_0x180fdd(0x138),this,_0x180fdd(0x117),(_0x51c647,_0x4a8e0f)=>_0x180fdd(0x17b)===_0x51c647&&!_0x4a8e0f),this['on'](_0x180fdd(0x127),()=>{const _0x1f757e=_0x180fdd;this[_0x1f757e(0x118)]?_0x10e4a5[_0x1f757e(0xcc)](_0x1f757e(0x1a3)):_0x10e4a5[_0x1f757e(0x1a2)](_0x1f757e(0x1a3));}),this[_0x180fdd(0x118)]?_0x10e4a5[_0x180fdd(0xcc)](_0x180fdd(0x1a3)):_0x10e4a5[_0x180fdd(0x1a2)](_0x180fdd(0x1a3)),this[_0x180fdd(0x183)](_0x180fdd(0x10f),!0x1);}async[_0x1ff9b6(0xe3)](){const _0x13b462=_0x1ff9b6,_0x13c140=this[_0x13b462(0xe6)][_0x13b462(0x145)][_0x13b462(0xe2)](_0x24815b),_0x30b501=this[_0x13b462(0xe6)][_0x13b462(0x145)][_0x13b462(0xe2)](_0x1a35a6);try{this[_0x13b462(0x111)]=!0x0,_0x13c140[_0x13b462(0x1ab)](this[_0x13b462(0xea)]);const _0xdfede0=await this[_0x13b462(0x1af)][_0x13b462(0xe3)](_0x30b501[_0x13b462(0x199)],this[_0x13b462(0x17f)]);await this[_0x13b462(0x140)](_0xdfede0)&&(this[_0x13b462(0x111)]=!0x1,this[_0x13b462(0xc9)]());const _0x4b4c3c=await this[_0x13b462(0x1af)][_0x13b462(0xf4)]();_0x13c140[_0x13b462(0x196)](this[_0x13b462(0xea)],_0x4b4c3c),this[_0x13b462(0x110)](),this[_0x13b462(0x10f)]=!0x0;}catch(_0x100dd1){if(function(_0x350422){const _0x3ee85a=_0x13b462;return _0x3ee85a(0x115)===_0x350422[_0x3ee85a(0xb6)];}(_0x100dd1)&&this[_0x13b462(0xce)])await this[_0x13b462(0xe4)]();else{if(function(_0x413a16){const _0x3144c5=_0x13b462;return _0x3144c5(0x172)===_0x413a16[_0x3144c5(0xb6)];}(_0x100dd1)){const _0x5033b1=_0x7461af(this[_0x13b462(0xe6)][_0x13b462(0xb5)],_0x13b462(0x11f));this[_0x13b462(0x11a)](_0x5033b1);}else{if(!(_0x100dd1 instanceof B))throw _0x100dd1;this[_0x13b462(0x11a)]();}}}}[_0x1ff9b6(0x194)](){const _0x9cf39e=_0x1ff9b6,_0xca504b=this[_0x9cf39e(0xe6)][_0x9cf39e(0x145)][_0x9cf39e(0xe2)](_0x1a35a6),_0x42fa87=this[_0x9cf39e(0xe6)][_0x9cf39e(0x145)][_0x9cf39e(0xe2)](_0x24815b);this[_0x9cf39e(0xe6)][_0x9cf39e(0x1a2)](_0x9cf39e(0x106)),_0x42fa87[_0x9cf39e(0x13b)][_0x9cf39e(0xbe)](this[_0x9cf39e(0xea)])&&_0x42fa87[_0x9cf39e(0x1ab)](this[_0x9cf39e(0xea)]),_0xca504b[_0x9cf39e(0x1a1)](this),this[_0x9cf39e(0x12c)](),super[_0x9cf39e(0x194)]();}async[_0x1ff9b6(0x140)](_0xc0f478){const _0x3862c9=_0x1ff9b6;if(this[_0x3862c9(0xce)]!==_0xc0f478[_0x3862c9(0xce)]&&this[_0x3862c9(0xe9)]!==_0xc0f478[_0x3862c9(0x121)])throw new B();return this[_0x3862c9(0xce)]=_0xc0f478[_0x3862c9(0xce)],this[_0x3862c9(0x12a)]([],{..._0xc0f478,'wereChangesApplied':!0x1,'data':_0xc0f478[_0x3862c9(0x11e)]},_0x3862c9(0xe3));}async[_0x1ff9b6(0x107)](_0x61915b,_0x3ffdc9=!0x1){const _0x315fed=_0x1ff9b6,{connection:_0x1fd21b}=this[_0x315fed(0xe6)][_0x315fed(0x145)][_0x315fed(0xe2)](_0x1a35a6);RealTimeCollaborationClient[_0x315fed(0x188)][_0x315fed(0xf4)](_0x1fd21b,this[_0x315fed(0xea)])[_0x315fed(0x165)](_0x3390d4=>this[_0x315fed(0x19e)](_0x3390d4))[_0x315fed(0x1a9)](_0x4279d9=>{const _0x121596=_0x315fed;this[_0x121596(0x179)](_0x121596(0x130),_0x4279d9);}),this[_0x315fed(0x15f)](this[_0x315fed(0x1af)],_0x315fed(0xdc),this[_0x315fed(0x19a)][_0x315fed(0xe1)](this)),this[_0x315fed(0x15f)](this[_0x315fed(0x1af)],_0x315fed(0x14b),(_0x1a97e4,_0xbe33bc)=>{const _0x5061b9=_0x315fed;this[_0x5061b9(0x179)](_0x5061b9(0xf7),_0xbe33bc);}),this[_0x315fed(0x15f)](this[_0x315fed(0x1af)],_0x315fed(0x157),()=>{const _0x3e5101=_0x315fed;this[_0x3e5101(0x10f)]=!0x1;});const _0x1d15cc=this[_0x315fed(0xf1)][_0x315fed(0xc7)](_0x61915b);this[_0x315fed(0x111)]=!0x0;const _0x4a3187=await this[_0x315fed(0x1af)][_0x315fed(0x16d)](_0x1fd21b,this[_0x315fed(0xb2)](_0x61915b),_0x1d15cc);if(this[_0x315fed(0xce)]=_0x4a3187[_0x315fed(0xce)],_0x3ffdc9){if(!_0x4a3187[_0x315fed(0x11b)])return void this[_0x315fed(0x11a)]();this[_0x315fed(0x111)]=!0x1,this[_0x315fed(0xc9)](),this[_0x315fed(0xfc)][_0x315fed(0x192)](),this[_0x315fed(0x147)]=_0x4a3187[_0x315fed(0xd0)],this[_0x315fed(0xfc)][_0x315fed(0x1b3)]=this[_0x315fed(0x147)],await this[_0x315fed(0x12a)](_0x61915b,_0x4a3187,_0x315fed(0x1ad));}else await this[_0x315fed(0x122)](_0x4a3187,_0x61915b);this[_0x315fed(0x110)](),this[_0x315fed(0x10f)]=!0x0;}[_0x1ff9b6(0x110)](){const _0xcd04ce=_0x1ff9b6,_0x5e053c=this[_0xcd04ce(0xe6)][_0xcd04ce(0x145)][_0xcd04ce(0xe2)](_0x24815b),_0x1dea17=this[_0xcd04ce(0xe6)][_0xcd04ce(0x145)][_0xcd04ce(0xe2)](_0x1fb8e1),_0x4b58d0=_0x5e053c[_0xcd04ce(0x13b)][_0xcd04ce(0xe2)](this[_0xcd04ce(0xea)]);_0x4b58d0&&_0x4b58d0[_0xcd04ce(0xb3)]>0x1?_0x1dea17[_0xcd04ce(0x124)]():this[_0xcd04ce(0x15f)](_0x5e053c,_0xcd04ce(0x148)+this[_0xcd04ce(0xea)],()=>{const _0x38cfff=_0xcd04ce;0x2===_0x5e053c[_0x38cfff(0x13b)][_0x38cfff(0xe2)](this[_0x38cfff(0xea)])[_0x38cfff(0xb3)]&&_0x1dea17[_0x38cfff(0x124)]();});}async[_0x1ff9b6(0x19a)](_0x2a86ac,_0xd92ce2,_0x1af054,_0x54719a){const _0x1d2b3=_0x1ff9b6;if(!this[_0x1d2b3(0x111)]&&this[_0x1d2b3(0x141)][_0x1d2b3(0x1b3)]==_0xd92ce2){const _0x2171bd=this[_0x1d2b3(0x112)](_0x1af054,_0x54719a);await this[_0x1d2b3(0x12e)](_0x2171bd),this[_0x1d2b3(0x12d)](_0x2171bd,_0xd92ce2,_0x1af054[_0x1d2b3(0x121)])||this[_0x1d2b3(0x179)](_0x1d2b3(0x15d));}}async[_0x1ff9b6(0xe4)](){const _0x235c6d=_0x1ff9b6;this[_0x235c6d(0x12c)]();const {locale:_0xc786cd}=this[_0x235c6d(0xe6)];let _0x418eb8;try{_0x418eb8=await this[_0x235c6d(0x1af)][_0x235c6d(0x156)]();}catch{const _0xd5a18b=_0x7461af(_0xc786cd,_0x235c6d(0x135));return void this[_0x235c6d(0x11a)](_0xd5a18b);}const _0x2ad261=_0x418eb8[_0x235c6d(0xf9)]||_0x418eb8[_0x235c6d(0xba)];if(this[_0x235c6d(0xe9)]!==_0x2ad261[_0x235c6d(0x121)]){const _0xbda633=_0x7461af(_0xc786cd,_0x235c6d(0x14c));return void this[_0x235c6d(0x11a)](_0xbda633);}await this[_0x235c6d(0x107)](this[_0x235c6d(0xe6)][_0x235c6d(0x1a8)][_0x235c6d(0x142)][_0x235c6d(0xd6)][_0x235c6d(0x182)](),!0x0);}[_0x1ff9b6(0x12c)](){const _0x1eeda3=_0x1ff9b6;this[_0x1eeda3(0x1af)][_0x1eeda3(0x14d)](),this[_0x1eeda3(0x169)]=[],clearTimeout(this[_0x1eeda3(0x18f)]),this[_0x1eeda3(0x16e)](this[_0x1eeda3(0x1af)]);}[_0x1ff9b6(0x19e)](_0x5d002d){const _0x25cd52=_0x1ff9b6,_0x1f725a=this[_0x25cd52(0xe6)][_0x25cd52(0x145)][_0x25cd52(0xe2)](_0x24815b);this[_0x25cd52(0x15f)](_0x1f725a,_0x25cd52(0x148)+this[_0x25cd52(0xea)],(_0x1bee75,{session:_0x5db230})=>{const _0x1dbf4c=_0x25cd52;if(_0x5db230['id']===_0x1f725a[_0x1dbf4c(0x114)]){_0x1bee75[_0x1dbf4c(0x191)]();const _0x5aa889=this[_0x1dbf4c(0xe6)][_0x1dbf4c(0x145)][_0x1dbf4c(0xbe)](_0x1dbf4c(0x16b))&&this[_0x1dbf4c(0xe6)][_0x1dbf4c(0x145)][_0x1dbf4c(0xe2)](_0x1dbf4c(0x16b));let _0x5b09b4=_0x5db230[_0x1dbf4c(0xff)];_0x5aa889&&_0x5aa889[_0x1dbf4c(0x13d)]&&(_0x5b09b4=_0x5b09b4[_0x1dbf4c(0x15b)](_0xa8a167=>_0x1dbf4c(0x187)!==_0xa8a167)),this[_0x1dbf4c(0xe6)][_0x1dbf4c(0x145)][_0x1dbf4c(0xe2)](_0x1dbf4c(0x120))[_0x1dbf4c(0xdb)](_0x5b09b4,this[_0x1dbf4c(0xea)]);}}),_0x1f725a[_0x25cd52(0x196)](this[_0x25cd52(0xea)],_0x5d002d);}[_0x1ff9b6(0x1a4)](){const _0x4d70d6=_0x1ff9b6,_0x4ee567=this[_0x4d70d6(0xe6)][_0x4d70d6(0x11e)][_0x4d70d6(0x183)];this[_0x4d70d6(0xe6)][_0x4d70d6(0x11e)][_0x4d70d6(0x183)]=(..._0x1755dc)=>{const _0x525f2e=_0x4d70d6;if(!_0x1755dc[_0x1755dc[_0x525f2e(0xb3)]-0x1][_0x525f2e(0x181)])throw new _0x46347f(_0x525f2e(0xd2),this);_0x4ee567[_0x525f2e(0x11c)](this[_0x525f2e(0xe6)][_0x525f2e(0x11e)],_0x1755dc);};}[_0x1ff9b6(0xed)](){const _0x2b5fa5=_0x1ff9b6;this[_0x2b5fa5(0xe6)][_0x2b5fa5(0x11e)]['on'](_0x2b5fa5(0x17c),(_0x1ae975,[_0x25c499])=>{const _0x2dad5f=_0x2b5fa5;if(this[_0x2dad5f(0x141)][_0x2dad5f(0x1b3)])throw new _0x46347f(_0x2dad5f(0xe5),this);_0x1ae975[_0x2dad5f(0x180)](),this[_0x2dad5f(0xdf)]();const _0x159150=this[_0x2dad5f(0xe6)][_0x2dad5f(0x1ac)][_0x2dad5f(0xe2)](_0x2dad5f(0x174)),_0xe3f4da=this[_0x2dad5f(0x171)](_0x25c499,_0x159150);0x0==_0xe3f4da[_0x2dad5f(0xb3)]&&_0xe3f4da[_0x2dad5f(0x163)](new _0x353047(0x0)),_0x1ae975[_0x2dad5f(0x10e)]=this[_0x2dad5f(0x107)](_0xe3f4da)[_0x2dad5f(0x165)](()=>{const _0xf4ee5b=_0x2dad5f;this[_0xf4ee5b(0xe6)][_0xf4ee5b(0x145)][_0xf4ee5b(0xe2)](_0x1a35a6)[_0xf4ee5b(0x1a7)](this),this[_0xf4ee5b(0xe6)][_0xf4ee5b(0x11e)][_0xf4ee5b(0x167)](_0xf4ee5b(0xf5));})[_0x2dad5f(0x1a9)](_0x25ebaa=>this[_0x2dad5f(0x179)](_0x2dad5f(0x113),_0x25ebaa))[_0x2dad5f(0x159)](()=>this[_0x2dad5f(0xc9)]());},{'priority':_0x2b5fa5(0x136)}),this[_0x2b5fa5(0xe6)]['on'](_0x2b5fa5(0x154),async(_0x3d2e7e,[_0x5f0345,_0x451321])=>{const _0x2e1286=_0x2b5fa5;_0x3d2e7e[_0x2e1286(0x180)]();const _0x290ce0=this[_0x2e1286(0xe6)][_0x2e1286(0x1a8)][_0x2e1286(0x142)][_0x2e1286(0x195)](_0x5f0345);if(!this[_0x2e1286(0x10c)][_0x2e1286(0xbe)](_0x5f0345)){const _0x40be6a=_0x451321&&_0x451321[_0x2e1286(0x11e)]?_0x451321[_0x2e1286(0x11e)]:'',_0x2bf787=_0x451321&&_0x451321[_0x2e1286(0x1b2)]?_0x451321[_0x2e1286(0x1b2)]:{};await this[_0x2e1286(0xeb)](_0x5f0345,_0x40be6a,_0x2bf787);}this[_0x2e1286(0xe6)][_0x2e1286(0x1a8)][_0x2e1286(0xda)]({'isUndoable':!0x1},()=>{const _0x40f912=_0x2e1286;_0x290ce0[_0x40f912(0x16a)]=!0x0,this[_0x40f912(0xe6)][_0x40f912(0x1a8)][_0x40f912(0x142)][_0x40f912(0x10a)][_0x40f912(0x1a0)](_0x290ce0);});},{'priority':_0x2b5fa5(0x136)});}async[_0x1ff9b6(0x12e)](_0x4d27c3){const _0x201917=_0x1ff9b6,_0x22eb73=this[_0x201917(0xe6)][_0x201917(0x145)][_0x201917(0xe2)](_0x109044),{connection:_0x22d818}=this[_0x201917(0xe6)][_0x201917(0x145)][_0x201917(0xe2)](_0x1a35a6),_0x510064=new Set();for(const _0x3c8774 of _0x4d27c3){const _0x4465d0=_0x3c8774[_0x201917(0xec)];_0x4465d0&&!_0x22eb73[_0x201917(0x164)](_0x4465d0)&&_0x510064[_0x201917(0x162)](_0x4465d0);}if(0x0===_0x510064[_0x201917(0xe8)])return;const _0x6c711c=await _0x56a287[_0x201917(0x19d)](_0x22d818,Array[_0x201917(0x158)](_0x510064));for(const _0x3cc3f6 of _0x6c711c)_0x22eb73[_0x201917(0x164)](_0x3cc3f6['id'])||_0x22eb73[_0x201917(0x11d)](_0x3cc3f6);}[_0x1ff9b6(0x171)](_0x4b8207,_0x30cd61={}){const _0x3efc5f=_0x1ff9b6,_0x3e3a2a=this[_0x3efc5f(0xe6)][_0x3efc5f(0x1a8)],_0xad2745=[];let _0x1d3f69=0x0;const _0x28be1f=_0x3efc5f(0x198)==typeof _0x4b8207?{'main':_0x4b8207}:_0x4b8207;for(const _0x4adb42 of Object[_0x3efc5f(0x15a)](_0x28be1f)){if(!this[_0x3efc5f(0x141)][_0x3efc5f(0x177)][_0x3efc5f(0xbe)](_0x4adb42))throw new _0x46347f(_0x3efc5f(0xcb),this);const _0x245e1b=this[_0x3efc5f(0xe6)][_0x3efc5f(0x11e)][_0x3efc5f(0xc6)](_0x28be1f[_0x4adb42]),_0x185a48=this[_0x3efc5f(0x141)][_0x3efc5f(0x195)](_0x4adb42),_0x2a090d=new _0x320c58(_0x3e3a2a[_0x3efc5f(0x170)](_0x185a48,0x0),_0x245e1b,_0x1d3f69++);_0xad2745[_0x3efc5f(0x163)](_0x2a090d);for(const [_0x2ed280,_0xf41651]of _0x245e1b[_0x3efc5f(0x126)]){const _0x9fa1cc=_0x3e3a2a[_0x3efc5f(0x16c)](_0x3e3a2a[_0x3efc5f(0xcd)](_0x185a48,_0xf41651[_0x3efc5f(0xfb)][_0x3efc5f(0xbc)][_0x3efc5f(0x1b5)]()),_0x3e3a2a[_0x3efc5f(0xcd)](_0x185a48,_0xf41651[_0x3efc5f(0xb9)][_0x3efc5f(0xbc)][_0x3efc5f(0x1b5)]())),_0x14a5d4=new _0x147aaa(_0x2ed280,null,_0x9fa1cc,_0x3e3a2a[_0x3efc5f(0x126)],!0x0,_0x1d3f69++);_0xad2745[_0x3efc5f(0x163)](_0x14a5d4);}}if(_0x30cd61)for(const [_0xe6483b,_0x393a7d]of Object[_0x3efc5f(0x184)](_0x30cd61)){const _0x4a4ff7=_0x3e3a2a[_0x3efc5f(0x142)][_0x3efc5f(0x195)](_0xe6483b);if(!_0x4a4ff7)throw new _0x46347f(_0x3efc5f(0x14e),null);for(const [_0x4e5355,_0x1aec23]of Object[_0x3efc5f(0x184)](_0x393a7d))if(null!==_0x1aec23){const _0x470ba2=new _0x321385(_0x4a4ff7,_0x4e5355,null,_0x1aec23,_0x1d3f69++);_0xad2745[_0x3efc5f(0x163)](_0x470ba2);}}return _0xad2745;}async[_0x1ff9b6(0xeb)](_0xe557fe,_0x493b98,_0x3cc9b7){const _0x4d29bc=_0x1ff9b6;this[_0x4d29bc(0x171)]({[_0xe557fe]:_0x493b98},{[_0xe557fe]:_0x3cc9b7})[_0x4d29bc(0x123)]((_0x5048e4,_0x5f4b02)=>{const _0x39a65e=_0x4d29bc;_0x5048e4[_0x39a65e(0x129)]=this[_0x39a65e(0x141)][_0x39a65e(0x1b3)]+_0x5f4b02,_0x5048e4[_0x39a65e(0x15e)]=!0x0,this[_0x39a65e(0xfa)](_0x5048e4);}),this[_0x4d29bc(0xef)](),await this[_0x4d29bc(0x139)]();}async[_0x1ff9b6(0x122)](_0x4ce10a,_0x46030f){const _0x2a92ad=_0x1ff9b6;let _0x1d3b98;this[_0x2a92ad(0x147)]=_0x4ce10a[_0x2a92ad(0xd0)];const _0x4b0895=_0x4ce10a[_0x2a92ad(0x11b)]&&!_0x4ce10a[_0x2a92ad(0x128)],_0x4b1fc2=_0x4b0895?0x0:_0x4ce10a[_0x2a92ad(0x11e)][_0x2a92ad(0x129)];if(_0x46030f[_0x2a92ad(0x123)](_0x53a758=>{const _0x5ed53f=_0x2a92ad;_0x53a758[_0x5ed53f(0x15e)]=!0x0,_0x53a758[_0x5ed53f(0xb7)]=_0x4ce10a[_0x5ed53f(0x150)],_0x53a758[_0x5ed53f(0xec)]=null;}),_0x4b0895)_0x1d3b98=_0x46030f,this[_0x2a92ad(0x18a)](_0x1d3b98,_0x4b0895);else{if(_0x4ce10a[_0x2a92ad(0x128)]){const _0x5e09f5=this[_0x2a92ad(0x171)](_0x4ce10a[_0x2a92ad(0x128)]);this[_0x2a92ad(0x141)][_0x2a92ad(0xd6)][_0x2a92ad(0x1b3)]=-_0x5e09f5[_0x2a92ad(0xb3)],_0x5e09f5[_0x2a92ad(0x123)](_0x2d4394=>{const _0x143e3d=_0x2a92ad;_0x2d4394[_0x143e3d(0x129)]-=_0x5e09f5[_0x143e3d(0xb3)],_0x2d4394[_0x143e3d(0xb7)]=_0x4ce10a[_0x143e3d(0x150)],_0x2d4394[_0x143e3d(0x15e)]=!0x0,_0x2d4394[_0x143e3d(0xec)]=null;}),this[_0x2a92ad(0x18a)](_0x5e09f5,!0x0),this[_0x2a92ad(0xfc)][_0x2a92ad(0x1b3)]=-_0x5e09f5[_0x2a92ad(0xb3)]+this[_0x2a92ad(0x147)],this[_0x2a92ad(0x18e)](_0x5e09f5);}this[_0x2a92ad(0x141)][_0x2a92ad(0xd6)][_0x2a92ad(0x1b3)]=_0x4b1fc2,_0x1d3b98=this[_0x2a92ad(0x112)](_0x4ce10a[_0x2a92ad(0x11e)],_0x4ce10a[_0x2a92ad(0xb8)]),await this[_0x2a92ad(0x12e)](_0x1d3b98),this[_0x2a92ad(0x18a)](_0x1d3b98,_0x4b0895);}_0x4ce10a[_0x2a92ad(0x121)]&&(this[_0x2a92ad(0xf1)][_0x2a92ad(0xbf)](_0x1d3b98,_0x4ce10a[_0x2a92ad(0x121)]),this[_0x2a92ad(0xe9)]=_0x4ce10a[_0x2a92ad(0x121)]),this[_0x2a92ad(0xfc)][_0x2a92ad(0x1b3)]=_0x4b1fc2+this[_0x2a92ad(0x147)],this[_0x2a92ad(0x18e)](_0x1d3b98),_0x46030f[_0x2a92ad(0x15b)](_0x3fffcd=>{const _0x1b4f41=_0x2a92ad,_0xddb9a6=this[_0x1b4f41(0x1b1)](_0x3fffcd);return _0xddb9a6&&!this[_0x1b4f41(0x10c)][_0x1b4f41(0xbe)](_0xddb9a6);})[_0x2a92ad(0x123)]((_0x50085f,_0x415df3)=>{const _0x266793=_0x2a92ad;_0x50085f[_0x266793(0x129)]=this[_0x266793(0x141)][_0x266793(0x1b3)]+_0x415df3,this[_0x266793(0xfa)](_0x50085f);}),this[_0x2a92ad(0xd5)]()?(this[_0x2a92ad(0x137)]=0x0,this[_0x2a92ad(0xef)](!0x0),await this[_0x2a92ad(0x139)]()):(this[_0x2a92ad(0x111)]=!0x1,this[_0x2a92ad(0xc9)]());}[_0x1ff9b6(0x179)](_0x4b60ea,_0x2b9f20){const _0x257634=_0x1ff9b6,_0x180458=_0x2b9f20&&_0x2b9f20[_0x257634(0xf6)];if(_0x180458&&_0x180458[_0x257634(0x13c)](_0x257634(0x1ae)))throw _0x2b9f20;const _0x4d6bb0=this[_0x257634(0xe6)][_0x257634(0x145)][_0x257634(0xe2)](_0x1a35a6);throw this[_0x257634(0x111)]=!0x0,_0x4d6bb0[_0x257634(0x14d)](),this[_0x257634(0xe6)][_0x257634(0x1a2)](_0x257634(0x125)),new _0x46347f(_0x4b60ea,this[_0x257634(0xe6)],_0x180458?{'originalError':_0x180458}:void 0x0);}[_0x1ff9b6(0xfa)](_0x53ebfb){const _0x28bdb2=_0x1ff9b6;this[_0x28bdb2(0x10d)][_0x28bdb2(0xbe)](_0x53ebfb)||(this[_0x28bdb2(0x10d)][_0x28bdb2(0x162)](_0x53ebfb),this[_0x28bdb2(0x169)][_0x28bdb2(0x163)](_0x53ebfb),this[_0x28bdb2(0x161)]||_0x28bdb2(0x132)==_0x53ebfb[_0x28bdb2(0x166)]&&!_0x53ebfb[_0x28bdb2(0x1a5)]||this[_0x28bdb2(0xdf)]());}[_0x1ff9b6(0xef)](_0x4aa0f8=!0x1){const _0x38ad3b=_0x1ff9b6;!_0x4aa0f8&&this[_0x38ad3b(0x111)]||(this[_0x38ad3b(0x111)]=!0x0,clearTimeout(this[_0x38ad3b(0x18f)]),this[_0x38ad3b(0x18f)]=setTimeout(()=>{const _0x4bacfe=_0x38ad3b;this[_0x4bacfe(0xbb)]()[_0x4bacfe(0x165)](_0x278e0f=>{const _0x4bceff=_0x4bacfe;_0x278e0f&&(this[_0x4bceff(0xc9)](),this[_0x4bceff(0x111)]=!0x1);})[_0x4bacfe(0x1a9)](_0x474cb4=>{const _0xbb2533=_0x4bacfe;this[_0xbb2533(0xc9)](),this[_0xbb2533(0x111)]=!0x1,function(_0x2ce8be){const _0x2ecc1a=_0xbb2533;return _0x2ce8be[_0x2ecc1a(0xf6)][_0x2ecc1a(0x13c)](_0x2ecc1a(0xfe))||_0x2ce8be[_0x2ecc1a(0xf6)][_0x2ecc1a(0x13c)](_0x2ecc1a(0x1a6))||_0x2ce8be[_0x2ecc1a(0xf6)][_0x2ecc1a(0x13c)](_0x2ecc1a(0x100));}(_0x474cb4)||this[_0xbb2533(0x179)](_0x474cb4[_0xbb2533(0xf6)],_0x474cb4);});},this[_0x38ad3b(0x137)]));}[_0x1ff9b6(0x139)](){return new Promise(_0x5e36f5=>{const _0x39be15=_0x3aa7;this['on'](_0x39be15(0x12b),()=>{_0x5e36f5();});});}async[_0x1ff9b6(0xbb)](){const _0x1ca669=_0x1ff9b6,_0x2a430f=this[_0x1ca669(0xe6)][_0x1ca669(0x145)][_0x1ca669(0xe2)](_0x1fb8e1);if(this[_0x1ca669(0xc5)]()&&(_0x2a430f[_0x1ca669(0x124)](),this[_0x1ca669(0xee)]=!0x1),!this[_0x1ca669(0xd5)]())return!0x0;const _0x4b71f0=[...this[_0x1ca669(0x169)]];for(const _0x591810 of _0x4b71f0)_0x591810[_0x1ca669(0x1aa)]=this[_0x1ca669(0x141)][_0x1ca669(0xd6)][_0x1ca669(0x1b4)](_0x591810);const _0x1ba30c=this[_0x1ca669(0xf1)][_0x1ca669(0xc7)](_0x4b71f0),_0x123cbd=N++,_0x3f201e=this[_0x1ca669(0xb2)](_0x4b71f0),_0x309763=await this[_0x1ca669(0x1af)][_0x1ca669(0x19f)](_0x3f201e,_0x3f201e[_0x1ca669(0x129)],_0x1ba30c);try{return await this[_0x1ca669(0x12a)](_0x4b71f0,_0x309763,_0x123cbd);}catch(_0x18a130){return this[_0x1ca669(0x179)](_0x1ca669(0xbd),_0x18a130);}}async[_0x1ff9b6(0x12a)](_0x4396bd,_0x56a012,_0x266779){const _0x22410e=_0x1ff9b6;if(_0x22410e(0x14b)in _0x56a012)throw _0x56a012[_0x22410e(0x14b)];let _0x1a3bdd=!0x1;if(_0x56a012[_0x22410e(0x11b)]){_0x56a012[_0x22410e(0x121)]&&(this[_0x22410e(0xe9)]=_0x56a012[_0x22410e(0x121)]),this[_0x22410e(0x169)]=this[_0x22410e(0x169)][_0x22410e(0x15b)](_0x1ff281=>!_0x4396bd[_0x22410e(0x173)](_0x1ff281));for(const _0x1f159c of _0x4396bd)_0x1f159c[_0x22410e(0xb7)]=_0x22410e(0xd1)in _0x56a012&&_0x56a012[_0x22410e(0xd1)]||void 0x0;x(_0x4396bd,_0x56a012[_0x22410e(0x1b3)]-_0x4396bd[_0x22410e(0xb3)]),this[_0x22410e(0x18e)](_0x4396bd);const _0x31cc99=_0x4396bd[_0x22410e(0x15b)](_0x18f552=>{const _0x1048c9=_0x22410e;if(!_0x18f552[_0x1048c9(0x15e)])return!0x1;const _0x1d1643=this[_0x1048c9(0x1b1)](_0x18f552);return _0x1d1643&&!this[_0x1048c9(0x10c)][_0x1048c9(0xbe)](_0x1d1643);});x(_0x31cc99,this[_0x22410e(0x141)][_0x22410e(0x1b3)]),this[_0x22410e(0x18a)](_0x31cc99),_0x1a3bdd=!0x0,this[_0x22410e(0x137)]=this[_0x22410e(0x133)];}else{const _0x39963d=this[_0x22410e(0x112)](_0x56a012[_0x22410e(0x11e)],_0x56a012[_0x22410e(0xb8)])[_0x22410e(0x15b)](_0x32b169=>_0x32b169[_0x22410e(0x129)]>=this[_0x22410e(0x14f)]);_0x39963d[_0x22410e(0x123)](_0xc4afbb=>this[_0x22410e(0xca)](_0xc4afbb)),this[_0x22410e(0x169)]=this[_0x22410e(0x169)][_0x22410e(0x15b)](_0x2fbee8=>!_0x2fbee8[_0x22410e(0x15e)]||!this[_0x22410e(0x10c)][_0x22410e(0xbe)](this[_0x22410e(0x1b1)](_0x2fbee8))),this[_0x22410e(0x169)][_0x22410e(0xb3)]&&x(this[_0x22410e(0x169)],this[_0x22410e(0x169)][0x0][_0x22410e(0x129)]),await this[_0x22410e(0x12e)](_0x39963d),_0x1a3bdd=this[_0x22410e(0x12d)](_0x39963d,_0x56a012[_0x22410e(0x1b3)],_0x56a012[_0x22410e(0x121)]),this[_0x22410e(0x137)]=Math[_0x22410e(0x119)](this[_0x22410e(0x137)]/0x2);}return _0x1a3bdd?!this[_0x22410e(0xd5)]()||(this[_0x22410e(0xef)](!0x0),!0x1):this[_0x22410e(0x179)](_0x22410e(0x175));}[_0x1ff9b6(0x12d)](_0x2a7693,_0x562e57,_0x1af65d){const _0x564d1d=_0x1ff9b6;try{const _0x3a6666={'document':this[_0x564d1d(0x141)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x421cb8,operationsB:_0x100f97,originalOperations:_0x1b7a62}=_0x46a19b(_0x2a7693,this[_0x564d1d(0x169)],_0x3a6666);x(_0x421cb8,this[_0x564d1d(0x141)][_0x564d1d(0x1b3)]),x(_0x100f97,_0x562e57);for(const _0x4e3d13 of _0x421cb8){const _0x35d3e2=_0x1b7a62[_0x564d1d(0xe2)](_0x4e3d13);_0x4e3d13[_0x564d1d(0xec)]=_0x35d3e2?_0x35d3e2[_0x564d1d(0xec)]:null;}_0x1af65d&&(this[_0x564d1d(0xf1)][_0x564d1d(0xbf)](_0x2a7693,_0x1af65d),this[_0x564d1d(0xe9)]=_0x1af65d),this[_0x564d1d(0x169)]=[..._0x100f97],this[_0x564d1d(0x18a)](_0x421cb8),this[_0x564d1d(0x18e)](_0x2a7693);}catch(_0x5a6075){return console[_0x564d1d(0x14b)](_0x5a6075),!0x1;}return!0x0;}[_0x1ff9b6(0x18a)](_0xbf540d,_0x43ceef=!0x1){const _0x5f05bf=_0x1ff9b6;this[_0x5f05bf(0xe6)][_0x5f05bf(0x1a8)][_0x5f05bf(0xda)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1d39fa=>{const _0x319bbf=_0x5f05bf;for(const _0x557ae9 of _0xbf540d)this[_0x319bbf(0x10d)][_0x319bbf(0x162)](_0x557ae9),this[_0x319bbf(0xca)](_0x557ae9),_0x1d39fa[_0x319bbf(0x190)][_0x319bbf(0x16f)](_0x557ae9),this[_0x319bbf(0xe6)][_0x319bbf(0x1a8)][_0x319bbf(0x155)](_0x557ae9);});}[_0x1ff9b6(0xca)](_0x25ce8d){const _0x3f8322=_0x1ff9b6,_0x8ebb6c=this[_0x3f8322(0x1b1)](_0x25ce8d);_0x8ebb6c&&this[_0x3f8322(0x10c)][_0x3f8322(0x162)](_0x8ebb6c);}[_0x1ff9b6(0x1b1)](_0x55b6c3){const _0xd4f26b=_0x1ff9b6;let _0x52dee7,_0x26255f;switch(_0x55b6c3[_0xd4f26b(0x166)]){case _0xd4f26b(0xfd):_0x52dee7=_0x55b6c3[_0xd4f26b(0xf2)][_0xd4f26b(0xb1)];break;case _0xd4f26b(0x132):if(_0x26255f=_0x55b6c3[_0xd4f26b(0x144)],!_0x26255f)return null;_0x52dee7=_0x26255f[_0xd4f26b(0xb1)];break;case _0xd4f26b(0xf8):_0x52dee7=_0x55b6c3[_0xd4f26b(0xb1)];break;case _0xd4f26b(0x131):_0x52dee7=_0x55b6c3[_0xd4f26b(0x18b)];break;case _0xd4f26b(0xcf):_0x52dee7=_0x55b6c3[_0xd4f26b(0x153)][_0xd4f26b(0xb1)];break;default:return null;}return _0x52dee7[_0xd4f26b(0x146)];}[_0x1ff9b6(0x18e)](_0x735ed0){const _0x7d7b99=_0x1ff9b6;_0x735ed0[_0x7d7b99(0x123)](_0x511fd9=>{const _0x35eb60=_0x7d7b99,_0x2aeb48=_0x511fd9[_0x35eb60(0x12f)]();_0x2aeb48[_0x35eb60(0xec)]=_0x511fd9[_0x35eb60(0xec)],_0x2aeb48[_0x35eb60(0x15e)]=!!_0x511fd9[_0x35eb60(0x15e)],_0x2aeb48[_0x35eb60(0xb7)]=_0x511fd9[_0x35eb60(0xb7)],_0x2aeb48[_0x35eb60(0x129)]+=this[_0x35eb60(0x147)],_0x511fd9[_0x35eb60(0x197)]&&this[_0x35eb60(0x1b0)][_0x35eb60(0x162)](_0x2aeb48),this[_0x35eb60(0xfc)][_0x35eb60(0x16f)](_0x2aeb48);});}[_0x1ff9b6(0x11a)](_0x39d331){const _0x289657=_0x1ff9b6,_0x9d8f3a=this[_0x289657(0xe6)][_0x289657(0x145)][_0x289657(0xe2)](_0x289657(0x143)),_0x1a0f3a=this[_0x289657(0xe6)][_0x289657(0xb5)];_0x39d331||(_0x39d331=_0x7461af(_0x1a0f3a,_0x289657(0xe7))),_0x9d8f3a[_0x289657(0xd9)](_0x39d331,{'title':_0x7461af(_0x1a0f3a,_0x289657(0x178)),'namespace':_0x289657(0xc2)}),this[_0x289657(0x117)]=!0x0,clearTimeout(this[_0x289657(0x18f)]),this[_0x289657(0x169)]=[],this[_0x289657(0xe6)][_0x289657(0x145)][_0x289657(0xe2)](_0x1a35a6)[_0x289657(0x14d)]();}[_0x1ff9b6(0xdf)](){const _0x30f0d9=_0x1ff9b6;this[_0x30f0d9(0x161)]||(this[_0x30f0d9(0x161)]=this[_0x30f0d9(0xe6)][_0x30f0d9(0x145)][_0x30f0d9(0xe2)](_0x39ddd0)[_0x30f0d9(0x162)](_0x7461af(this[_0x30f0d9(0xe6)][_0x30f0d9(0xb5)],_0x30f0d9(0x14a))));}[_0x1ff9b6(0xc9)](){const _0x3a899f=_0x1ff9b6;this[_0x3a899f(0x161)]&&(this[_0x3a899f(0xe6)][_0x3a899f(0x145)][_0x3a899f(0xe2)](_0x39ddd0)[_0x3a899f(0x176)](this[_0x3a899f(0x161)]),this[_0x3a899f(0x161)]=null);}[_0x1ff9b6(0xb2)](_0x18e08b){const _0x283c0d=_0x1ff9b6,_0x26c2fb=_0x18e08b[_0x283c0d(0xf3)](_0x4452a2=>_0x4452a2[_0x283c0d(0xd8)]());return this[_0x283c0d(0x15c)][_0x283c0d(0xc0)](_0x26c2fb);}[_0x1ff9b6(0x112)](_0x187d1c,_0x417b9e){const _0x553f9e=_0x1ff9b6;return this[_0x553f9e(0x15c)][_0x553f9e(0x17e)](_0x187d1c)[_0x553f9e(0xf3)]((_0x1df4aa,_0x17ac94)=>{const _0x818d7=_0x553f9e,_0x31dae2=_0x818d7(0x17c)==_0x417b9e[_0x17ac94][_0x818d7(0x166)];if(_0x818d7(0x151)==_0x1df4aa[_0x818d7(0xf0)]){const _0x2d3aa4=_0x1df4aa[_0x818d7(0xf2)][_0x818d7(0xb1)];!this[_0x818d7(0x141)][_0x818d7(0x195)](_0x2d3aa4)&&(this[_0x818d7(0x141)][_0x818d7(0xc8)](_0x818d7(0x116),_0x2d3aa4)[_0x818d7(0x19c)]=!0x1);}const _0xab7d75=_0x2a893d[_0x818d7(0x13f)](_0x1df4aa,this[_0x818d7(0x141)]);return _0xab7d75[_0x818d7(0x1aa)]=_0x1df4aa[_0x818d7(0x1aa)],_0xab7d75[_0x818d7(0x15e)]=_0x31dae2,_0xab7d75[_0x818d7(0xec)]=_0x31dae2?null:_0x417b9e[_0x17ac94][_0x818d7(0xe0)],_0xab7d75[_0x818d7(0x197)]=_0x818d7(0x101)===_0x417b9e[_0x17ac94][_0x818d7(0x166)],_0xab7d75[_0x818d7(0xb7)]=_0x417b9e[_0x17ac94][_0x818d7(0xb7)],_0xab7d75;});}[_0x1ff9b6(0xd3)](){const _0x179e10=_0x1ff9b6;this[_0x179e10(0xee)]=!0x0,this[_0x179e10(0xc5)]()?this[_0x179e10(0xef)]():this[_0x179e10(0xee)]=!0x1;}[_0x1ff9b6(0xc5)](){const _0x1da496=_0x1ff9b6,_0x3816d4=this[_0x1da496(0xe6)][_0x1da496(0x145)][_0x1da496(0xe2)](_0x24815b)[_0x1da496(0x13b)][_0x1da496(0xe2)](this[_0x1da496(0xea)]);return!this[_0x1da496(0xe6)][_0x1da496(0x149)]&&!!_0x3816d4&&_0x3816d4[_0x1da496(0xb3)]>0x1&&this[_0x1da496(0xee)];}[_0x1ff9b6(0xd5)](){const _0x3e513a=_0x1ff9b6;return this[_0x3e513a(0x169)][_0x3e513a(0xb3)]>0x0||this[_0x3e513a(0xc5)]();}}class B extends Error{}function _0x3aa7(_0x4326c8,_0x5996df){const _0x5491d4=_0x5491();return _0x3aa7=function(_0x3aa72e,_0x460c9b){_0x3aa72e=_0x3aa72e-0xb1;let _0x253611=_0x5491d4[_0x3aa72e];return _0x253611;},_0x3aa7(_0x4326c8,_0x5996df);}function x(_0x375137,_0x19fc25){const _0x51e8eb=_0x1ff9b6;for(const _0x5e5dd6 of _0x375137)_0x5e5dd6[_0x51e8eb(0x129)]=_0x19fc25++;}function _0x5491(){const _0x16264a=['_connectService','isPremiumPlugin','18DsSMrF','differ','isOfficialPlugin','_knownRootNames','_knownOperations','return','_isConnected','_handleSendingSelectionMarkers','_isPendingUpdate','_decompressOperations','realtimecollaborationclient-init-connection-failed','mySessionId','404','$root','_hasSynchronizationProblem','_isEditingAllowed','round','_handleReconnectionError','wereChangesApplied','apply','addUser','data','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','Permissions','lastOperationId','_handleInitialConnectionData','forEach','createUserMarkerOperations','realtimecollaborationclient-error','markers','change:_isEditingAllowed','initData','baseVersion','_handleServerResponse','change:_isPendingUpdate','_disconnectService','_handleExternalOperations','_fetchMissingUsers','clone','realtimecollaborationclient-init-session-connection-error','addRoot','marker','_baseBufferDelay','collaboration-missing-channelid','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','high','_currentBufferDelay','state','_waitUntilSynced','220557MIFxbl','channelSessions','startsWith','isEnabled','RealTimeCollaborationClient','fromJSON','_handleReconnectionResponse','_document','document','Notification','newRange','plugins','rootName','_offset','sessionAdd:','isReadOnly','PENDING_ACTION_SENDING_DATA','error','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.','disconnect','multi-root-editor-root-attributes-no-root','_lastServerVersion','sessionCreatedAt','InsertOperation','view','targetPosition','loadRoot','applyOperation','getDocumentDetails','disconnected','from','finally','keys','filter','_compressor','realtimecollaborationclient-init-service-incorrect-server-operation','_isInit','listenTo','3473448gETpvC','_pendingAction','add','push','getUser','then','type','fire','editing','_bufferedOperations','_isLoaded','CommentsOnly','createRange','connect','stopListening','addOperation','createPositionAt','_getOperationsFromInitData','409','includes','rootsAttributes','realtimecollaborationclient-handleserverresponse','remove','roots','Synchronization\x20issue','_crash','collaboration.channelId','connected','init','directChange','decompress','lastSyncVersion','stop','suppressErrorInCollaboration','getOperations','set','entries','getOperationAuthor','_operationToId','document:write','CollaborativeEditingService','882736bbWurf','_applyOperationsSet','affectedSelectable','1505005rldmFR','178576NRcIZA','_updateServerHistory','_sendBufferedOperationsDelayId','batch','off','reset','isDocumentOperation','destroy','getRoot','register','_isDisconnection','string','connection','_handleReceivedOperations','cloudServices.bundleVersion','_isAttached','getMany','_initSessionsHandling','sendOperations','_bufferRootLoad','removeFromReconnectionStack','enableReadOnlyMode','rtc-offline','_initThrowingOnDataSet','affectsData','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','addToReconnectionStack','model','catch','wasUndone','unregister','config','reconnection:\x20flushed\x20session','realtimecollaborationclient','_service','_disconnectionOperations','_getAffectedRoot','attributes','version','isUndoneOperation','slice','root','_compressOperations','length','define','locale','code','createdAt','metadata','end','lastDocumentSession','_sendBufferedOperations','path','realtimecollaborationclient-sendbufferedoperations','has','setIdForTheLastOperation','compress','_ignoredOperations','real-time-collaboration','change:range','collaboration','_shouldSendSelectionUpdate','parse','getIdOfTheLastOperation','createRoot','_clearPendingAction','_addKnownRoot','realtimecollaborationclient-init-non-existent-root','disableReadOnlyMode','createPositionFromPath','sessionId','move','offset','lastOperationAcceptedAt','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_refreshUserSelectionMarkers','pluginName','_shouldSendUpdate','history','cloudDocumentVersion','toJSON','showWarning','enqueueChange','setPermissions','operationsReceived','420wPczwy','change:hasDomSelection','_setPendingAction','userId','bind','get','reconnect','_connectAfterSessionHasBeenFlushed','realtimecollaborationclient-init-document-already-initialized','editor','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.','size','_lastSyncedOperationId','_channelId','_loadRoot','_authorId','_setUpDataInit','_hasSelectionChanged','_sendBufferedOperationsDelayed','__className','_operationIdentifier','position','map','getConnectedSessions','ready','message','realtimecollaborationclient-init-service-internal-error','addRootAttribute','currentDocumentSession','_saveOperationInBuffer','start','serverHistory','insert','cloud-services-internal-error:\x20Not\x20connected.','permissions','cloud-services-internal-error:\x20Request\x20timeout.','cs:removeUser','2759943CImTCi','11499300vypMcw','requires','selection','rtc-destroyed'];_0x5491=function(){return _0x16264a;};return _0x5491();}class M{[_0x1ff9b6(0xc1)];[_0x1ff9b6(0x186)];constructor(_0xf412ec){const _0x4778ad=_0x1ff9b6;this[_0x4778ad(0xc1)]=_0xf412ec,this[_0x4778ad(0x186)]=new WeakMap();}[_0x1ff9b6(0xc7)](_0x5efe17){const _0x3b4f72=_0x1ff9b6;let _0x1b0100=_0x5efe17[_0x3b4f72(0xb3)];for(;_0x1b0100--;){const _0x174951=_0x5efe17[_0x1b0100];if(!this[_0x3b4f72(0xc1)][_0x3b4f72(0xbe)](_0x174951)){if(!this[_0x3b4f72(0x186)][_0x3b4f72(0xbe)](_0x174951)){const _0x9e3318=_0x20d944()[_0x3b4f72(0x1b5)](0x1,0x12);this[_0x3b4f72(0x186)][_0x3b4f72(0x183)](_0x174951,_0x9e3318);}return this[_0x3b4f72(0x186)][_0x3b4f72(0xe2)](_0x174951);}}}[_0x1ff9b6(0xbf)](_0x8864c6,_0x1b5e8b){const _0x3825cf=_0x1ff9b6;if(!_0x1b5e8b)return;let _0x3281a3=_0x8864c6[_0x3825cf(0xb3)];for(;_0x3281a3--;){const _0x37ff4a=_0x8864c6[_0x3281a3];this[_0x3825cf(0xc1)][_0x3825cf(0xbe)](_0x37ff4a)||this[_0x3825cf(0x186)][_0x3825cf(0x183)](_0x37ff4a,_0x1b5e8b);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2278e1=_0x2997;function _0x226f(){const _0x348f72=['1304114RcayIe','set','getUserSessions','forEach','assign','getUser','getUserBySessionId','context','orderNumber','2dFykbj','clear','user','_uniqueUsersCount','mySessionId','values','add','isMe','51038RajpxX','listenTo','connected','12nuYMlA','change:state','role','requires','fire','plugins','channelConnectedUsers','unregister','328552oqDSOG','get','register','_handleSessionAdd','1011520ggJaYt','has','getUserRole','defineMe','sessionAdd:','stopListening','_registeredSessions','sessions-register-already-registered','521994sFdVQc','_handleSessionRemove','connection','Sessions','_createUser','state','size','addUser','sessions-unregister-not-exist','pluginName','init','sessionId','385848OyNhyW','isPremiumPlugin','channelSessions','isOfficialPlugin','2621290rjVgFP','delete','remove','hiddenInPresenceList','_users','allConnectedUsers'];_0x226f=function(){return _0x348f72;};return _0x226f();}(function(_0x5b37fa,_0x380d98){const _0x473817=_0x2997,_0x491a58=_0x5b37fa();while(!![]){try{const _0x56d49b=parseInt(_0x473817(0xdd))/0x1*(parseInt(_0x473817(0xd5))/0x2)+-parseInt(_0x473817(0xf4))/0x3+parseInt(_0x473817(0xec))/0x4+parseInt(_0x473817(0x104))/0x5+parseInt(_0x473817(0xe0))/0x6*(-parseInt(_0x473817(0xcc))/0x7)+-parseInt(_0x473817(0xe8))/0x8+parseInt(_0x473817(0x100))/0x9;if(_0x56d49b===_0x380d98)break;else _0x491a58['push'](_0x491a58['shift']());}catch(_0x9a371e){_0x491a58['push'](_0x491a58['shift']());}}}(_0x226f,0x452f1));import{ContextPlugin as _0x2528b4}from'ckeditor5/src/core.js';import{Collection as _0x137eea,CKEditorError as _0x2fb41a}from'ckeditor5/src/utils.js';function _0x2997(_0x23cd30,_0x5834ab){const _0x226fd9=_0x226f();return _0x2997=function(_0x299762,_0x493266){_0x299762=_0x299762-0xca;let _0x29e125=_0x226fd9[_0x299762];return _0x29e125;},_0x2997(_0x23cd30,_0x5834ab);}import{WebSocketGateway as _0x130ffc}from'./websocketgateway.js';import{Users as _0x1227f2}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2528b4{[_0x2278e1(0x102)];[_0x2278e1(0xe6)];[_0x2278e1(0xcb)];[_0x2278e1(0xf2)];[_0x2278e1(0xd8)];[_0x2278e1(0xca)];static get[_0x2278e1(0xfd)](){const _0x5d72de=_0x2278e1;return _0x5d72de(0xf7);}static get[_0x2278e1(0x103)](){return!0x0;}static get[_0x2278e1(0x101)](){return!0x0;}static get[_0x2278e1(0xe3)](){return[_0x130ffc,_0x1227f2];}constructor(_0x79da68){const _0x4c5682=_0x2278e1;super(_0x79da68),this[_0x4c5682(0x102)]=new Map(),this[_0x4c5682(0xe6)]=new Map(),this[_0x4c5682(0xcb)]=new _0x137eea(),this[_0x4c5682(0xf2)]=new Map(),this[_0x4c5682(0xd8)]=0x0,this[_0x4c5682(0xca)]=this[_0x4c5682(0xd3)][_0x4c5682(0xe5)][_0x4c5682(0xe9)](_0x1227f2);}[_0x2278e1(0xfe)](){const _0x597c41=_0x2278e1,_0x3a92e4=this[_0x597c41(0xd3)][_0x597c41(0xe5)][_0x597c41(0xe9)](_0x130ffc);this[_0x597c41(0xde)](_0x3a92e4,_0x597c41(0xe1),(_0x348794,_0xf4b726,_0x5e5b2d)=>{const _0x2d7bb9=_0x597c41;if(_0x2d7bb9(0xdf)!==_0x5e5b2d)this[_0x2d7bb9(0x102)][_0x2d7bb9(0xcf)](_0x232a4f=>_0x232a4f[_0x2d7bb9(0xd6)]()),this[_0x2d7bb9(0xe6)][_0x2d7bb9(0xcf)](_0x25bf3c=>_0x25bf3c[_0x2d7bb9(0xd6)]()),this[_0x2d7bb9(0xcb)][_0x2d7bb9(0xd6)]();else{for(const [_0x31310c,_0x21872b]of this[_0x2d7bb9(0xf2)])for(const _0x5978a3 of _0x21872b)this[_0x2d7bb9(0xeb)](_0x31310c,_0x5978a3);}}),this[_0x597c41(0xf8)](_0x3a92e4[_0x597c41(0xf6)]['me'],!0x0);}[_0x2278e1(0xea)](_0xddca8f,_0x44997a){const _0xb83212=_0x2278e1;if(this[_0xb83212(0xf2)][_0xb83212(0xed)](_0xddca8f))throw new _0x2fb41a(_0xb83212(0xf3),null,{'channelId':_0xddca8f});this[_0xb83212(0xf2)][_0xb83212(0xcd)](_0xddca8f,_0x44997a),this[_0xb83212(0x102)][_0xb83212(0xcd)](_0xddca8f,new _0x137eea()),this[_0xb83212(0xe6)][_0xb83212(0xcd)](_0xddca8f,new _0x137eea()),this[_0xb83212(0xde)](_0x44997a,_0xb83212(0xdb),(_0x9d8b71,_0x578f3a)=>this[_0xb83212(0xeb)](_0xddca8f,_0x578f3a)),this[_0xb83212(0xde)](_0x44997a,_0xb83212(0x106),(_0x1375c4,_0x52ff2f)=>this[_0xb83212(0xf5)](_0xddca8f,_0x52ff2f));for(const _0x8d76a8 of _0x44997a)this[_0xb83212(0xeb)](_0xddca8f,_0x8d76a8);}[_0x2278e1(0xe7)](_0x51b8c5){const _0x3629fc=_0x2278e1;if(!this[_0x3629fc(0xf2)][_0x3629fc(0xed)](_0x51b8c5))throw new _0x2fb41a(_0x3629fc(0xfc),null,{'channelId':_0x51b8c5});const _0x36c6e3=this[_0x3629fc(0xf2)][_0x3629fc(0xe9)](_0x51b8c5);this[_0x3629fc(0xf1)](_0x36c6e3);for(const _0x17bf7d of _0x36c6e3)_0x3629fc(0xdf)===this[_0x3629fc(0xd3)][_0x3629fc(0xe5)][_0x3629fc(0xe9)](_0x130ffc)[_0x3629fc(0xf9)]&&this[_0x3629fc(0xf5)](_0x51b8c5,_0x17bf7d);this[_0x3629fc(0xf2)][_0x3629fc(0x105)](_0x51b8c5),this[_0x3629fc(0x102)][_0x3629fc(0x105)](_0x51b8c5),this[_0x3629fc(0xe6)][_0x3629fc(0x105)](_0x51b8c5);}get[_0x2278e1(0xd9)](){const _0x1485b1=_0x2278e1;return this[_0x1485b1(0xd3)][_0x1485b1(0xe5)][_0x1485b1(0xe9)](_0x130ffc)[_0x1485b1(0xf6)][_0x1485b1(0xff)];}[_0x2278e1(0xd2)](_0x259c93){const _0x4aed18=_0x2278e1;for(const _0x1d2d5e of this[_0x4aed18(0x102)][_0x4aed18(0xda)]())for(const _0x404041 of _0x1d2d5e)if(_0x404041['id']===_0x259c93)return _0x404041[_0x4aed18(0xd7)];}[_0x2278e1(0xce)](_0x49207a,_0x33cb78){const _0x31117c=_0x2278e1,_0x3f4765=_0x33cb78?[this[_0x31117c(0x102)][_0x31117c(0xe9)](_0x33cb78)]:this[_0x31117c(0x102)][_0x31117c(0xda)](),_0x170acf=new Set();for(const _0x52cdce of _0x3f4765)for(const _0x22d7a4 of _0x52cdce)_0x22d7a4[_0x31117c(0xd7)]['id']===_0x49207a['id']&&_0x170acf[_0x31117c(0xdb)](_0x22d7a4['id']);return _0x170acf;}[_0x2278e1(0xee)](_0x25f3c8){const _0x5daec2=_0x2278e1;for(const _0xa0a43b of this[_0x5daec2(0x102)][_0x5daec2(0xda)]())for(const _0x4635a0 of _0xa0a43b)if(_0x4635a0[_0x5daec2(0xd7)]===_0x25f3c8)return _0x4635a0[_0x5daec2(0xe2)];}[_0x2278e1(0xeb)](_0x17f73c,_0x411629){const _0x88f4c7=_0x2278e1;if(_0x88f4c7(0xdf)!==this[_0x88f4c7(0xd3)][_0x88f4c7(0xe5)][_0x88f4c7(0xe9)](_0x130ffc)[_0x88f4c7(0xf9)])return;const _0x4576b0=_0x411629[_0x88f4c7(0xd7)],_0x32abbb=this[_0x88f4c7(0xca)][_0x88f4c7(0xd1)](_0x4576b0['id'])||this[_0x88f4c7(0xf8)](_0x4576b0),_0x1aac03=Object[_0x88f4c7(0xd0)]({},_0x411629,{'user':_0x32abbb});if(this[_0x88f4c7(0x102)][_0x88f4c7(0xe9)](_0x17f73c)[_0x88f4c7(0xdb)](_0x1aac03),!_0x4576b0[_0x88f4c7(0x107)]){const _0xf3e4cd=this[_0x88f4c7(0xe6)][_0x88f4c7(0xe9)](_0x17f73c);_0xf3e4cd[_0x88f4c7(0xed)](_0x32abbb['id'])||_0xf3e4cd[_0x88f4c7(0xdb)](_0x32abbb),this[_0x88f4c7(0xcb)][_0x88f4c7(0xed)](_0x32abbb['id'])||_0x4576b0[_0x88f4c7(0x107)]||this[_0x88f4c7(0xcb)][_0x88f4c7(0xdb)](_0x32abbb,_0x32abbb[_0x88f4c7(0xdc)]?0x0:void 0x0);}this[_0x88f4c7(0xe4)](_0x88f4c7(0xf0)+_0x17f73c,{'channelId':_0x17f73c,'session':_0x1aac03});}[_0x2278e1(0xf5)](_0x1fadd8,_0x5935ab){const _0x5906b5=_0x2278e1;if(_0x5906b5(0xdf)!==this[_0x5906b5(0xd3)][_0x5906b5(0xe5)][_0x5906b5(0xe9)](_0x130ffc)[_0x5906b5(0xf9)])return;const _0x55e232=this[_0x5906b5(0xe6)][_0x5906b5(0xe9)](_0x1fadd8),_0x3de0e3=_0x5935ab[_0x5906b5(0xd7)];_0x3de0e3['id']&&(this[_0x5906b5(0x102)][_0x5906b5(0xe9)](_0x1fadd8)[_0x5906b5(0x106)](_0x5935ab['id']),_0x55e232[_0x5906b5(0xed)](_0x3de0e3['id'])&&!this[_0x5906b5(0xce)](_0x3de0e3,_0x1fadd8)[_0x5906b5(0xfa)]&&_0x55e232[_0x5906b5(0x106)](_0x3de0e3['id']),this[_0x5906b5(0xcb)][_0x5906b5(0xe9)](_0x3de0e3['id'])&&!this[_0x5906b5(0xce)](_0x3de0e3)[_0x5906b5(0xfa)]&&this[_0x5906b5(0xcb)][_0x5906b5(0x106)](_0x3de0e3['id']));}[_0x2278e1(0xf8)](_0x13744f,_0x1bce84){const _0x587eca=_0x2278e1,_0x23e89f=this[_0x587eca(0xca)][_0x587eca(0xfb)](_0x13744f);return _0x1bce84&&this[_0x587eca(0xca)][_0x587eca(0xef)](_0x13744f['id']),_0x23e89f[_0x587eca(0xd4)]=this[_0x587eca(0xd8)]++,_0x23e89f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x397f(){const _0x569362=['isObject','getContainedElement','requires','user:position','detach','stopListening','Escape','mySessionId','mouseleave','toRange','$text','setCustomProperty','ck-user__selection','getAttribute','change','destroy','name','getNearestSelectionRange','applyOperation','addMarker','962BMAvsV','10RNBRCM','$graveyard','isCollapsed','startsWith','marker','35HyjpIz','conversion','afterInit','createUIElement','remove','mapper','highest','user:','start','markerRange','document','toDomElement','isSimilar','selection','enqueueChange','size','createUserMarkerOperations','false','add','getCustomProperty','root','reconvertMarker','getPositions','8Fcchpn','view','createRange','markers','user:range','deletionPosition','span','getStart','rootName','ck-user__marker_hovered','setAttribute','innerHTML','schema','for','395520ggDige','pluginName','removeClass','newRange','batch','user:range:','clear','data-session-id','mouseenter','isOfficialPlugin','793vAIiWm','orderNumber','isPremiumPlugin','contenteditable','getUserBySessionId','574125QdVLzX','undo','314200yPyeze','spellcheck','userPositionMarker','updateMarker','getMarkerClass','isLimit','model','change:range','oldRange','editingDowncast','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','render','type','_createdBatches','createElement','1026432AyyKoY','markerName','hasContent','keydown','update:user:range','markerNameToElements','split','listenTo','_domEmitter','isDocumentOperation','5637346tPmcDz','has','isInline','markerToElement','fromRange','element','end','getFirstRange','user:position:','removeMarker','color','markerToHighlight','parent','commands','tableCell','get','checkChild','editing','init','hasDomSelection','delete','4857pQvdNM','ck-user__marker-tooltip','editor','plugins','ck-user__marker\x20','getRange','outerHTML','textContent','nodeAfter','addEventListener','getSelectionClass','UserMarkers','classList','set'];_0x397f=function(){return _0x569362;};return _0x397f();}const _0x152721=_0x20c3;(function(_0x3a0169,_0x1f71ef){const _0x30f6bc=_0x20c3,_0x22b3d3=_0x3a0169();while(!![]){try{const _0x1eda00=parseInt(_0x30f6bc(0x1bd))/0x1*(-parseInt(_0x30f6bc(0x214))/0x2)+parseInt(_0x30f6bc(0x1f2))/0x3*(-parseInt(_0x30f6bc(0x231))/0x4)+-parseInt(_0x30f6bc(0x1c2))/0x5+-parseInt(_0x30f6bc(0x1b3))/0x6+-parseInt(_0x30f6bc(0x21a))/0x7*(-parseInt(_0x30f6bc(0x1c4))/0x8)+parseInt(_0x30f6bc(0x1d3))/0x9+parseInt(_0x30f6bc(0x215))/0xa*(parseInt(_0x30f6bc(0x1dd))/0xb);if(_0x1eda00===_0x1f71ef)break;else _0x22b3d3['push'](_0x22b3d3['shift']());}catch(_0x2af266){_0x22b3d3['push'](_0x22b3d3['shift']());}}}(_0x397f,0x3edd5));import{Plugin as _0x33c42e}from'ckeditor5/src/core.js';import{global as _0x15214f,DomEmitterMixin as _0x22d6b7}from'ckeditor5/src/utils.js';function _0x20c3(_0x7a8cda,_0x155ece){const _0x397fe2=_0x397f();return _0x20c3=function(_0x20c39f,_0xcdd544){_0x20c39f=_0x20c39f-0x1b1;let _0x47e9fd=_0x397fe2[_0x20c39f];return _0x47e9fd;},_0x20c3(_0x7a8cda,_0x155ece);}import{Sessions as _0x369fc0}from'./sessions.js';import{ModelLiveRange as _0x341152}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x33c42e{[_0x152721(0x1db)]=new(_0x22d6b7())();static get[_0x152721(0x202)](){return[_0x369fc0];}static get[_0x152721(0x1b4)](){const _0x4e6a35=_0x152721;return _0x4e6a35(0x1fd);}static get[_0x152721(0x1bc)](){return!0x0;}static get[_0x152721(0x1bf)](){return!0x0;}[_0x152721(0x1ef)](){const _0x39775a=_0x152721,_0x458e8a=this[_0x39775a(0x1f4)],_0x2c445a=_0x458e8a[_0x39775a(0x1f5)][_0x39775a(0x1ec)](_0x369fc0);_0x458e8a[_0x39775a(0x21b)][_0x39775a(0x1b2)](_0x39775a(0x1cd))[_0x39775a(0x1e0)]({'model':_0x39775a(0x203),'view':(_0x36ff04,{writer:_0x3c3df4})=>function(_0x10b02a,_0x310265,_0x36d3b5,_0x56ed91){const _0x462895=_0x39775a,_0x127b62=_0x10b02a[_0x462895(0x1d4)][_0x462895(0x1d9)](':')[0x2],_0x4aa8d0=_0x36d3b5[_0x462895(0x1c1)](_0x127b62);if(!_0x4aa8d0||_0x127b62===_0x36d3b5[_0x462895(0x207)])return;if(!_0x56ed91[_0x462895(0x1ca)][_0x462895(0x1b1)][_0x462895(0x1ed)](_0x10b02a[_0x462895(0x223)][_0x462895(0x222)],_0x462895(0x20a)))return;const _0x2afbf3={'class':_0x462895(0x1f6)+_0x4aa8d0[_0x462895(0x1e7)][_0x462895(0x1c8)](),'data-name':_0x4aa8d0[_0x462895(0x210)],'data-session-id':_0x127b62},_0x583cd9=_0x56ed91[_0x462895(0x1ca)][_0x462895(0x234)][_0x462895(0x1ec)](_0x10b02a[_0x462895(0x1d4)]),_0x3315d5=_0x583cd9[_0x462895(0x238)](),_0x3c3e1b=_0x3315d5[_0x462895(0x1fa)],_0x4076a7=_0x56ed91[_0x462895(0x1ca)][_0x462895(0x1b1)];if(_0x3c3e1b&&_0x4076a7[_0x462895(0x200)](_0x3c3e1b)&&_0x4076a7[_0x462895(0x1df)](_0x3c3e1b)&&!_0x56ed91[_0x462895(0x1ca)][_0x462895(0x234)][_0x462895(0x1ec)](_0x462895(0x1b8)+_0x127b62)[_0x462895(0x1f7)]()[_0x462895(0x217)])return;const _0x3ab4d7=_0x3315d5[_0x462895(0x1e9)];return _0x56ed91[_0x462895(0x1ca)][_0x462895(0x1b1)][_0x462895(0x1c9)](_0x3ab4d7)&&!_0x56ed91[_0x462895(0x1ca)][_0x462895(0x1d5)](_0x3ab4d7)&&(_0x2afbf3[_0x462895(0x1c0)]=!0x1),function(_0x34038c,_0x2ae24f,_0x5ab2db){const _0x20ca16=_0x462895,_0x333041=_0x34038c[_0x20ca16(0x21d)](_0x20ca16(0x237),_0x2ae24f);return _0x34038c[_0x20ca16(0x20b)](_0x20ca16(0x1c6),!0x0,_0x333041),_0x333041[_0x20ca16(0x1cf)]=function(_0x2436d4){const _0x950db9=_0x20ca16,_0x2b355a=this[_0x950db9(0x225)](_0x2436d4),_0x3e3b8c=document[_0x950db9(0x1d2)](_0x950db9(0x237));return _0x3e3b8c[_0x950db9(0x1fe)][_0x950db9(0x22c)](_0x950db9(0x1f3)),_0x3e3b8c[_0x950db9(0x23b)](_0x950db9(0x1c0),_0x950db9(0x22b)),_0x3e3b8c[_0x950db9(0x23b)](_0x950db9(0x1c5),_0x950db9(0x22b)),_0x3e3b8c[_0x950db9(0x1f9)]=_0x5ab2db[_0x950db9(0x210)],_0x2b355a[_0x950db9(0x23c)]=_0x950db9(0x1ce)+_0x3e3b8c[_0x950db9(0x1f8)]+'',_0x2b355a[_0x950db9(0x1fb)](_0x950db9(0x1bb),()=>{const _0x2f7c79=_0x950db9;_0x2b355a[_0x2f7c79(0x1fe)][_0x2f7c79(0x22c)](_0x2f7c79(0x23a));}),_0x2b355a[_0x950db9(0x1fb)](_0x950db9(0x208),()=>{const _0x5567b3=_0x950db9;_0x2b355a[_0x5567b3(0x1fe)][_0x5567b3(0x21e)](_0x5567b3(0x23a));}),_0x2b355a;},_0x333041[_0x20ca16(0x226)]=function(_0x29c137){const _0x40c706=_0x20ca16;return!(!this[_0x40c706(0x22d)](_0x40c706(0x1c6))||!_0x29c137[_0x40c706(0x22d)](_0x40c706(0x1c6))||this[_0x40c706(0x20d)](_0x40c706(0x1ba))!=_0x29c137[_0x40c706(0x20d)](_0x40c706(0x1ba)));},_0x333041;}(_0x310265,_0x2afbf3,_0x4aa8d0);}(_0x36ff04,_0x3c3df4,_0x2c445a,_0x458e8a)}),_0x458e8a[_0x39775a(0x21b)][_0x39775a(0x1b2)](_0x39775a(0x1cd))[_0x39775a(0x1e8)]({'model':_0x39775a(0x235),'view':_0x2fdc69=>function(_0x36f756,_0x89004b){const _0x46f210=_0x39775a,_0x4f1b25=_0x36f756[_0x46f210(0x1d4)][_0x46f210(0x1d9)](':')[0x2];if(_0x4f1b25===_0x89004b[_0x46f210(0x207)])return null;const _0x29341a=_0x89004b[_0x46f210(0x1c1)](_0x4f1b25);if(!_0x29341a)return{'id':_0x4f1b25,'classes':[]};return{'id':_0x4f1b25,'classes':[_0x46f210(0x20c),_0x29341a[_0x46f210(0x1e7)][_0x46f210(0x1fc)]()],'attributes':{'data-session-id':_0x4f1b25},'priority':0x7d0+_0x29341a[_0x46f210(0x1be)]};}(_0x2fdc69,_0x2c445a)}),function(_0xc716d9){const _0x35df69=_0x39775a,_0x33cb24=_0xc716d9[_0x35df69(0x1ca)],_0x149e50=new Map(),_0x65ee21=_0xc716d9[_0x35df69(0x1f5)][_0x35df69(0x1ec)](_0x369fc0);_0x33cb24[_0x35df69(0x234)]['on'](_0x35df69(0x1d7),(_0x43989b,_0x3275b7,_0x103d46,_0x4fc0ef)=>{const _0x5c6675=_0x35df69;if(!_0x4fc0ef&&_0x149e50[_0x5c6675(0x1ec)](_0x3275b7[_0x5c6675(0x210)]))return _0x149e50[_0x5c6675(0x1ec)](_0x3275b7[_0x5c6675(0x210)])[_0x5c6675(0x204)](),void _0x149e50[_0x5c6675(0x1f1)](_0x3275b7[_0x5c6675(0x210)]);const _0x1ead72=_0x3275b7[_0x5c6675(0x210)][_0x5c6675(0x1d9)](':')[0x2];if(_0x1ead72===_0x65ee21[_0x5c6675(0x207)])return;const _0x21cd5c=_0x5c6675(0x1e5)+_0x1ead72;_0x33cb24[_0x5c6675(0x234)][_0x5c6675(0x1de)](_0x21cd5c)&&_0xc716d9[_0x5c6675(0x1ee)][_0x5c6675(0x22f)](_0x21cd5c),_0x3275b7['on'](_0x5c6675(0x1cb),(_0x5536ce,_0x5ca789,_0x56f720)=>{const _0x4c389d=_0x5c6675;if(_0x4c389d(0x216)!=_0x5ca789[_0x4c389d(0x22e)][_0x4c389d(0x239)]&&_0x4c389d(0x216)==_0x3275b7[_0x4c389d(0x1f7)]()[_0x4c389d(0x22e)][_0x4c389d(0x239)]&&!_0x149e50[_0x4c389d(0x1de)](_0x3275b7[_0x4c389d(0x210)])){const _0x63f6c=_0x33cb24[_0x4c389d(0x1b1)][_0x4c389d(0x211)](_0x56f720[_0x4c389d(0x236)]);if(_0x63f6c){const _0x509e84=_0x341152[_0x4c389d(0x1e1)](_0x63f6c);_0x149e50[_0x4c389d(0x1ff)](_0x3275b7[_0x4c389d(0x210)],_0x509e84),_0x509e84['on'](_0x4c389d(0x1cb),(_0x4e597,_0x531b79,_0x211d44)=>{const _0x28fe8b=_0x4c389d;if(_0x28fe8b(0x216)==_0x509e84[_0x28fe8b(0x22e)][_0x28fe8b(0x239)]){const _0x237de6=_0x33cb24[_0x28fe8b(0x1b1)][_0x28fe8b(0x211)](_0x211d44[_0x28fe8b(0x236)]);_0x237de6?(_0x509e84[_0x28fe8b(0x222)]=_0x237de6[_0x28fe8b(0x222)],_0x509e84[_0x28fe8b(0x1e3)]=_0x237de6[_0x28fe8b(0x1e3)]):(_0x149e50[_0x28fe8b(0x1f1)](_0x3275b7[_0x28fe8b(0x210)]),_0x509e84[_0x28fe8b(0x204)]());}});}}});}),_0x33cb24[_0x35df69(0x224)]['on'](_0x35df69(0x20e),()=>{const _0x2c01a3=_0x35df69;_0x149e50[_0x2c01a3(0x229)]>0x0&&_0x33cb24[_0x2c01a3(0x228)]({'isUndoable':!0x1},_0x1011b8=>{const _0x360131=_0x2c01a3;for(const [_0x3459e7,_0x462dd9]of _0x149e50)_0x360131(0x216)==_0x33cb24[_0x360131(0x234)][_0x360131(0x1ec)](_0x3459e7)[_0x360131(0x1f7)]()[_0x360131(0x22e)][_0x360131(0x239)]&&(J(_0x3459e7[_0x360131(0x1d9)](':')[0x2],_0x462dd9[_0x360131(0x209)](),_0x33cb24,_0x1011b8),_0x462dd9[_0x360131(0x204)]());_0x149e50[_0x360131(0x1b9)]();});});}(_0x458e8a),this[_0x39775a(0x1db)][_0x39775a(0x1da)](_0x15214f[_0x39775a(0x224)],_0x39775a(0x1d6),(_0x3c3f9d,{key:_0x3dd145})=>{const _0x35e93a=_0x39775a;_0x35e93a(0x206)===_0x3dd145&&function(_0x498f75){const _0x58f3be=_0x35e93a;_0x498f75[_0x58f3be(0x1ee)][_0x58f3be(0x232)][_0x58f3be(0x20e)](_0x23d76e=>{const _0x4a8801=_0x58f3be;for(const _0xebfad6 of _0x498f75[_0x4a8801(0x1ca)][_0x4a8801(0x234)]){if(!_0xebfad6[_0x4a8801(0x210)][_0x4a8801(0x218)](_0x4a8801(0x203)))continue;const _0x1491ab=_0x498f75[_0x4a8801(0x1ee)][_0x4a8801(0x21f)][_0x4a8801(0x1d8)](_0xebfad6[_0x4a8801(0x210)]);if(_0x1491ab){for(const _0xcc3f1a of _0x1491ab)_0x23d76e[_0x4a8801(0x1b5)](_0x4a8801(0x23a),_0xcc3f1a);}}});}(_0x458e8a);},{'useCapture':!0x0});}[_0x152721(0x21c)](){const _0x50b2bf=_0x152721,_0x26691a=this[_0x50b2bf(0x1f4)],_0x3a8d2a=_0x26691a[_0x50b2bf(0x1ea)][_0x50b2bf(0x1ec)](_0x50b2bf(0x1c3));_0x3a8d2a&&_0x26691a[_0x50b2bf(0x1ca)]['on'](_0x50b2bf(0x212),(_0x1b74c6,_0x356004)=>{const _0x5a19aa=_0x50b2bf,_0x2fbfa0=_0x356004[0x0];if(!_0x2fbfa0[_0x5a19aa(0x1dc)])return;if(_0x5a19aa(0x219)!=_0x2fbfa0[_0x5a19aa(0x1d0)]||!_0x2fbfa0[_0x5a19aa(0x210)][_0x5a19aa(0x218)](_0x5a19aa(0x221)))return;const _0x5176d0=_0x2fbfa0[_0x5a19aa(0x1b7)];_0x3a8d2a[_0x5a19aa(0x1d1)][_0x5a19aa(0x1de)](_0x5176d0)&&(_0x2fbfa0[_0x5a19aa(0x1b6)]=_0x2fbfa0[_0x5a19aa(0x1cc)]?_0x26691a[_0x5a19aa(0x1ca)][_0x5a19aa(0x233)](_0x2fbfa0[_0x5a19aa(0x1cc)][_0x5a19aa(0x222)],_0x2fbfa0[_0x5a19aa(0x1cc)][_0x5a19aa(0x1e3)]):null);},{'priority':_0x50b2bf(0x220)});}[_0x152721(0x20f)](){const _0x18863e=_0x152721;return this[_0x18863e(0x1db)][_0x18863e(0x205)](),super[_0x18863e(0x20f)]();}[_0x152721(0x22a)](){const _0x104e6e=_0x152721,_0x6044ec=this[_0x104e6e(0x1f4)],_0xf1d36a=_0x6044ec[_0x104e6e(0x1ca)][_0x104e6e(0x224)],_0x3570a8=_0x6044ec[_0x104e6e(0x1f5)][_0x104e6e(0x1ec)](_0x369fc0);_0x6044ec[_0x104e6e(0x1ca)][_0x104e6e(0x228)]({'isUndoable':!0x1},_0x16a12c=>{const _0x196b4a=_0x104e6e,_0x26be8c=_0x196b4a(0x1b8)+_0x3570a8[_0x196b4a(0x207)],_0x43db4d=_0x196b4a(0x1e5)+_0x3570a8[_0x196b4a(0x207)],_0x1613b3=_0x6044ec[_0x196b4a(0x1ca)][_0x196b4a(0x234)][_0x196b4a(0x1de)](_0x26be8c);_0x6044ec[_0x196b4a(0x1ee)][_0x196b4a(0x232)][_0x196b4a(0x1f0)]?J(_0x3570a8[_0x196b4a(0x207)],_0xf1d36a[_0x196b4a(0x227)][_0x196b4a(0x1e4)](),_0x6044ec[_0x196b4a(0x1ca)],_0x16a12c):_0x1613b3&&(_0x16a12c[_0x196b4a(0x1e6)](_0x26be8c),_0x16a12c[_0x196b4a(0x1e6)](_0x43db4d));});}}function J(_0x527f8f,_0x37edcb,_0x27727b,_0x2a3fa0){const _0x4403e8=_0x152721,_0x5cff87=_0x4403e8(0x1b8)+_0x527f8f,_0x3ada1d=_0x4403e8(0x1e5)+_0x527f8f,_0x57ab2f=_0x37edcb[_0x4403e8(0x201)]();let _0x2c999d=_0x37edcb[_0x4403e8(0x222)];if(_0x57ab2f&&_0x57ab2f['is'](_0x4403e8(0x1e2),_0x4403e8(0x1eb))){const _0x2cb499=function(_0x24cdc2,_0x39567b){const _0x238af1=_0x4403e8;for(const _0x15c3e9 of _0x24cdc2[_0x238af1(0x230)]())if(_0x39567b[_0x238af1(0x1b1)][_0x238af1(0x1ed)](_0x15c3e9,_0x238af1(0x20a)))return _0x15c3e9;}(_0x37edcb,_0x27727b);_0x2cb499&&(_0x2c999d=_0x2cb499,_0x37edcb=_0x2a3fa0[_0x4403e8(0x233)](_0x2c999d));}const _0x1f1553=_0x2a3fa0[_0x4403e8(0x233)](_0x2c999d);_0x27727b[_0x4403e8(0x234)][_0x4403e8(0x1de)](_0x5cff87)?(_0x2a3fa0[_0x4403e8(0x1c7)](_0x5cff87,{'range':_0x37edcb}),_0x2a3fa0[_0x4403e8(0x1c7)](_0x3ada1d,{'range':_0x1f1553})):(_0x2a3fa0[_0x4403e8(0x213)](_0x5cff87,{'range':_0x37edcb,'usingOperation':!0x0}),_0x2a3fa0[_0x4403e8(0x213)](_0x3ada1d,{'range':_0x1f1553,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x12fba5=_0x12bc;(function(_0x47e7d9,_0x31cdfc){const _0x5932eb=_0x12bc,_0x10e266=_0x47e7d9();while(!![]){try{const _0x5a1f7b=parseInt(_0x5932eb(0x202))/0x1+parseInt(_0x5932eb(0x1e2))/0x2*(parseInt(_0x5932eb(0x1ce))/0x3)+-parseInt(_0x5932eb(0x1f6))/0x4*(-parseInt(_0x5932eb(0x1d6))/0x5)+-parseInt(_0x5932eb(0x1e5))/0x6+parseInt(_0x5932eb(0x235))/0x7+parseInt(_0x5932eb(0x1de))/0x8+-parseInt(_0x5932eb(0x1d4))/0x9*(parseInt(_0x5932eb(0x1c6))/0xa);if(_0x5a1f7b===_0x31cdfc)break;else _0x10e266['push'](_0x10e266['shift']());}catch(_0x3519ca){_0x10e266['push'](_0x10e266['shift']());}}}(_0x1e4b,0x50248));import{Plugin as _0x5071db}from'ckeditor5/src/core.js';function _0x12bc(_0x1c195c,_0x10dd4d){const _0x1e4b48=_0x1e4b();return _0x12bc=function(_0x12bcf0,_0x3226e1){_0x12bcf0=_0x12bcf0-0x1ad;let _0x55aaf3=_0x1e4b48[_0x12bcf0];return _0x55aaf3;},_0x12bc(_0x1c195c,_0x10dd4d);}import{global as _0x337863,DomEmitterMixin as _0x3d92bc}from'ckeditor5/src/utils.js';import{Sessions as _0x5d21ec}from'./sessions.js';import{ModelLiveRange as _0x43d3c2}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x1e4b(){const _0x29438b=['batch','reconvertMarker','createUIElement','getUserBySessionId','markerRange','user:position','markerName','requires','removeMarker','addMarker','view','fromRange','tableCell','document','createRange','init','keydown','selection','isInline','setAttribute','end','outerHTML','update:user:range','getPositions','enqueueChange','isDocumentOperation','isCollapsed','Escape','classList','color','start','add','set','deletionPosition','listenTo','toDomElement','isLimit','getAttribute','markerNameToElements','markerToElement','markers','applyOperation','orderNumber','contenteditable','getContainedElement','2011842FOYwjF','root','updateMarker','type','textContent','innerHTML','user:range','get','mouseenter','undo','detach','model','parent','ck-user__marker_hovered','delete','UserMarkers','data-session-id','hasContent','mySessionId','removeClass','spellcheck','isPremiumPlugin','mouseleave','getFirstRange','user:range:','marker','oldRange','has','90dwxFtc','clear','checkChild','isSimilar','ck-user__marker\x20','userPositionMarker','remove','getNearestSelectionRange','6684xSqOVd','change','getCustomProperty','schema','size','stopListening','1461501BXYQGF','span','135YWULJH','false','getMarkerClass','isOfficialPlugin','_createdBatches','ck-user__marker-tooltip','pluginName','destroy','1919232DizMlZ','render','$graveyard','conversion','156BGDWxZ','afterInit','hasDomSelection','514260VppFuc','createElement','mapper','editingDowncast','getSelectionClass','user:','$text','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','highest','getStart','toRange','isObject','editing','_domEmitter','createUserMarkerOperations','addEventListener','getRange','83416JhthTX','setCustomProperty','commands','plugins','for','newRange','startsWith','editor','rootName','nodeAfter','ck-user__selection','markerToHighlight','611323zVMdYO','split','change:range','name','user:position:','element'];_0x1e4b=function(){return _0x29438b;};return _0x1e4b();}export class UserMarkers extends _0x5071db{[_0x12fba5(0x1f2)]=new(_0x3d92bc())();static get[_0x12fba5(0x20f)](){return[_0x5d21ec];}static get[_0x12fba5(0x1dc)](){const _0x1a61ac=_0x12fba5;return _0x1a61ac(0x1b9);}static get[_0x12fba5(0x1d9)](){return!0x0;}static get[_0x12fba5(0x1bf)](){return!0x0;}[_0x12fba5(0x217)](){const _0x1227ad=_0x12fba5,_0x4d42b0=this[_0x1227ad(0x1fd)],_0x19a118=_0x4d42b0[_0x1227ad(0x1f9)][_0x1227ad(0x1b1)](_0x5d21ec);_0x4d42b0[_0x1227ad(0x1e1)][_0x1227ad(0x1fa)](_0x1227ad(0x1e8))[_0x1227ad(0x22f)]({'model':_0x1227ad(0x20d),'view':(_0x50f405,{writer:_0x597631})=>function(_0x4e0e3d,_0x1d107a,_0x20f9ae,_0x274158){const _0x20bb62=_0x1227ad,_0x306cd9=_0x4e0e3d[_0x20bb62(0x20e)][_0x20bb62(0x203)](':')[0x2],_0x238e11=_0x20f9ae[_0x20bb62(0x20b)](_0x306cd9);if(!_0x238e11||_0x306cd9===_0x20f9ae[_0x20bb62(0x1bc)])return;if(!_0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x1d1)][_0x20bb62(0x1c8)](_0x4e0e3d[_0x20bb62(0x20c)][_0x20bb62(0x226)],_0x20bb62(0x1eb)))return;const _0x4e16b1={'class':_0x20bb62(0x1ca)+_0x238e11[_0x20bb62(0x225)][_0x20bb62(0x1d8)](),'data-name':_0x238e11[_0x20bb62(0x205)],'data-session-id':_0x306cd9},_0x540b7b=_0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x230)][_0x20bb62(0x1b1)](_0x4e0e3d[_0x20bb62(0x20e)]),_0x99b498=_0x540b7b[_0x20bb62(0x1ee)](),_0x254c52=_0x99b498[_0x20bb62(0x1ff)],_0x36ee20=_0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x1d1)];if(_0x254c52&&_0x36ee20[_0x20bb62(0x1f0)](_0x254c52)&&_0x36ee20[_0x20bb62(0x21a)](_0x254c52)&&!_0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x230)][_0x20bb62(0x1b1)](_0x20bb62(0x1c2)+_0x306cd9)[_0x20bb62(0x1f5)]()[_0x20bb62(0x222)])return;const _0x1474c1=_0x99b498[_0x20bb62(0x1b6)];return _0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x1d1)][_0x20bb62(0x22c)](_0x1474c1)&&!_0x274158[_0x20bb62(0x1b5)][_0x20bb62(0x1bb)](_0x1474c1)&&(_0x4e16b1[_0x20bb62(0x233)]=!0x1),function(_0x440d5e,_0x59beb1,_0x152439){const _0x5f06e8=_0x20bb62,_0x495f04=_0x440d5e[_0x5f06e8(0x20a)](_0x5f06e8(0x1d5),_0x59beb1);return _0x440d5e[_0x5f06e8(0x1f7)](_0x5f06e8(0x1cb),!0x0,_0x495f04),_0x495f04[_0x5f06e8(0x1df)]=function(_0x25ab18){const _0x331672=_0x5f06e8,_0x2ef61a=this[_0x331672(0x22b)](_0x25ab18),_0x237348=document[_0x331672(0x1e6)](_0x331672(0x1d5));return _0x237348[_0x331672(0x224)][_0x331672(0x227)](_0x331672(0x1db)),_0x237348[_0x331672(0x21b)](_0x331672(0x233),_0x331672(0x1d7)),_0x237348[_0x331672(0x21b)](_0x331672(0x1be),_0x331672(0x1d7)),_0x237348[_0x331672(0x1ae)]=_0x152439[_0x331672(0x205)],_0x2ef61a[_0x331672(0x1af)]=_0x331672(0x1ec)+_0x237348[_0x331672(0x21d)]+'',_0x2ef61a[_0x331672(0x1f4)](_0x331672(0x1b2),()=>{const _0x499f15=_0x331672;_0x2ef61a[_0x499f15(0x224)][_0x499f15(0x227)](_0x499f15(0x1b7));}),_0x2ef61a[_0x331672(0x1f4)](_0x331672(0x1c0),()=>{const _0x4bea14=_0x331672;_0x2ef61a[_0x4bea14(0x224)][_0x4bea14(0x1cc)](_0x4bea14(0x1b7));}),_0x2ef61a;},_0x495f04[_0x5f06e8(0x1c9)]=function(_0x40387c){const _0x26a9e2=_0x5f06e8;return!(!this[_0x26a9e2(0x1d0)](_0x26a9e2(0x1cb))||!_0x40387c[_0x26a9e2(0x1d0)](_0x26a9e2(0x1cb))||this[_0x26a9e2(0x22d)](_0x26a9e2(0x1ba))!=_0x40387c[_0x26a9e2(0x22d)](_0x26a9e2(0x1ba)));},_0x495f04;}(_0x1d107a,_0x4e16b1,_0x238e11);}(_0x50f405,_0x597631,_0x19a118,_0x4d42b0)}),_0x4d42b0[_0x1227ad(0x1e1)][_0x1227ad(0x1fa)](_0x1227ad(0x1e8))[_0x1227ad(0x201)]({'model':_0x1227ad(0x1b0),'view':_0x463e87=>function(_0xa6346d,_0x17724d){const _0x34fa08=_0x1227ad,_0x51fcc9=_0xa6346d[_0x34fa08(0x20e)][_0x34fa08(0x203)](':')[0x2];if(_0x51fcc9===_0x17724d[_0x34fa08(0x1bc)])return null;const _0xfff2e3=_0x17724d[_0x34fa08(0x20b)](_0x51fcc9);if(!_0xfff2e3)return{'id':_0x51fcc9,'classes':[]};return{'id':_0x51fcc9,'classes':[_0x34fa08(0x200),_0xfff2e3[_0x34fa08(0x225)][_0x34fa08(0x1e9)]()],'attributes':{'data-session-id':_0x51fcc9},'priority':0x7d0+_0xfff2e3[_0x34fa08(0x232)]};}(_0x463e87,_0x19a118)}),function(_0x28ef6b){const _0x493861=_0x1227ad,_0x570aa0=_0x28ef6b[_0x493861(0x1b5)],_0x38e1d4=new Map(),_0x51904d=_0x28ef6b[_0x493861(0x1f9)][_0x493861(0x1b1)](_0x5d21ec);_0x570aa0[_0x493861(0x230)]['on'](_0x493861(0x21e),(_0x12f364,_0xb97e5e,_0x34664a,_0x408ba8)=>{const _0x3e0255=_0x493861;if(!_0x408ba8&&_0x38e1d4[_0x3e0255(0x1b1)](_0xb97e5e[_0x3e0255(0x205)]))return _0x38e1d4[_0x3e0255(0x1b1)](_0xb97e5e[_0x3e0255(0x205)])[_0x3e0255(0x1b4)](),void _0x38e1d4[_0x3e0255(0x1b8)](_0xb97e5e[_0x3e0255(0x205)]);const _0x2e62cf=_0xb97e5e[_0x3e0255(0x205)][_0x3e0255(0x203)](':')[0x2];if(_0x2e62cf===_0x51904d[_0x3e0255(0x1bc)])return;const _0x409ce2=_0x3e0255(0x206)+_0x2e62cf;_0x570aa0[_0x3e0255(0x230)][_0x3e0255(0x1c5)](_0x409ce2)&&_0x28ef6b[_0x3e0255(0x1f1)][_0x3e0255(0x209)](_0x409ce2),_0xb97e5e['on'](_0x3e0255(0x204),(_0x3a2552,_0x4d6571,_0x38c5e9)=>{const _0x1cfaf8=_0x3e0255;if(_0x1cfaf8(0x1e0)!=_0x4d6571[_0x1cfaf8(0x236)][_0x1cfaf8(0x1fe)]&&_0x1cfaf8(0x1e0)==_0xb97e5e[_0x1cfaf8(0x1f5)]()[_0x1cfaf8(0x236)][_0x1cfaf8(0x1fe)]&&!_0x38e1d4[_0x1cfaf8(0x1c5)](_0xb97e5e[_0x1cfaf8(0x205)])){const _0x1ff9d1=_0x570aa0[_0x1cfaf8(0x1d1)][_0x1cfaf8(0x1cd)](_0x38c5e9[_0x1cfaf8(0x229)]);if(_0x1ff9d1){const _0x27de0e=_0x43d3c2[_0x1cfaf8(0x213)](_0x1ff9d1);_0x38e1d4[_0x1cfaf8(0x228)](_0xb97e5e[_0x1cfaf8(0x205)],_0x27de0e),_0x27de0e['on'](_0x1cfaf8(0x204),(_0x548d91,_0x2fc64c,_0xdadad8)=>{const _0x3f13d6=_0x1cfaf8;if(_0x3f13d6(0x1e0)==_0x27de0e[_0x3f13d6(0x236)][_0x3f13d6(0x1fe)]){const _0x28652f=_0x570aa0[_0x3f13d6(0x1d1)][_0x3f13d6(0x1cd)](_0xdadad8[_0x3f13d6(0x229)]);_0x28652f?(_0x27de0e[_0x3f13d6(0x226)]=_0x28652f[_0x3f13d6(0x226)],_0x27de0e[_0x3f13d6(0x21c)]=_0x28652f[_0x3f13d6(0x21c)]):(_0x38e1d4[_0x3f13d6(0x1b8)](_0xb97e5e[_0x3f13d6(0x205)]),_0x27de0e[_0x3f13d6(0x1b4)]());}});}}});}),_0x570aa0[_0x493861(0x215)]['on'](_0x493861(0x1cf),()=>{const _0x5ef83c=_0x493861;_0x38e1d4[_0x5ef83c(0x1d2)]>0x0&&_0x570aa0[_0x5ef83c(0x220)]({'isUndoable':!0x1},_0x2703ee=>{const _0x5ac35e=_0x5ef83c;for(const [_0x3f60e1,_0x4e1e87]of _0x38e1d4)_0x5ac35e(0x1e0)==_0x570aa0[_0x5ac35e(0x230)][_0x5ac35e(0x1b1)](_0x3f60e1)[_0x5ac35e(0x1f5)]()[_0x5ac35e(0x236)][_0x5ac35e(0x1fe)]&&(G(_0x3f60e1[_0x5ac35e(0x203)](':')[0x2],_0x4e1e87[_0x5ac35e(0x1ef)](),_0x570aa0,_0x2703ee),_0x4e1e87[_0x5ac35e(0x1b4)]());_0x38e1d4[_0x5ac35e(0x1c7)]();});});}(_0x4d42b0),this[_0x1227ad(0x1f2)][_0x1227ad(0x22a)](_0x337863[_0x1227ad(0x215)],_0x1227ad(0x218),(_0x2c2e66,{key:_0x127e55})=>{const _0xad3504=_0x1227ad;_0xad3504(0x223)===_0x127e55&&function(_0x3f1abc){const _0x4b31ca=_0xad3504;_0x3f1abc[_0x4b31ca(0x1f1)][_0x4b31ca(0x212)][_0x4b31ca(0x1cf)](_0x7d5c5=>{const _0x466abb=_0x4b31ca;for(const _0x421008 of _0x3f1abc[_0x466abb(0x1b5)][_0x466abb(0x230)]){if(!_0x421008[_0x466abb(0x205)][_0x466abb(0x1fc)](_0x466abb(0x20d)))continue;const _0x192c78=_0x3f1abc[_0x466abb(0x1f1)][_0x466abb(0x1e7)][_0x466abb(0x22e)](_0x421008[_0x466abb(0x205)]);if(_0x192c78){for(const _0x2bc986 of _0x192c78)_0x7d5c5[_0x466abb(0x1bd)](_0x466abb(0x1b7),_0x2bc986);}}});}(_0x4d42b0);},{'useCapture':!0x0});}[_0x12fba5(0x1e3)](){const _0x205173=_0x12fba5,_0x225158=this[_0x205173(0x1fd)],_0x3fb48b=_0x225158[_0x205173(0x1f8)][_0x205173(0x1b1)](_0x205173(0x1b3));_0x3fb48b&&_0x225158[_0x205173(0x1b5)]['on'](_0x205173(0x231),(_0x23382f,_0x149202)=>{const _0x40e6ff=_0x205173,_0x589d01=_0x149202[0x0];if(!_0x589d01[_0x40e6ff(0x221)])return;if(_0x40e6ff(0x1c3)!=_0x589d01[_0x40e6ff(0x1ad)]||!_0x589d01[_0x40e6ff(0x205)][_0x40e6ff(0x1fc)](_0x40e6ff(0x1ea)))return;const _0x45c8a8=_0x589d01[_0x40e6ff(0x208)];_0x3fb48b[_0x40e6ff(0x1da)][_0x40e6ff(0x1c5)](_0x45c8a8)&&(_0x589d01[_0x40e6ff(0x1fb)]=_0x589d01[_0x40e6ff(0x1c4)]?_0x225158[_0x40e6ff(0x1b5)][_0x40e6ff(0x216)](_0x589d01[_0x40e6ff(0x1c4)][_0x40e6ff(0x226)],_0x589d01[_0x40e6ff(0x1c4)][_0x40e6ff(0x21c)]):null);},{'priority':_0x205173(0x1ed)});}[_0x12fba5(0x1dd)](){const _0xf62c05=_0x12fba5;return this[_0xf62c05(0x1f2)][_0xf62c05(0x1d3)](),super[_0xf62c05(0x1dd)]();}[_0x12fba5(0x1f3)](){const _0x141a9c=_0x12fba5,_0x498dac=this[_0x141a9c(0x1fd)],_0xd1baff=_0x498dac[_0x141a9c(0x1b5)][_0x141a9c(0x215)],_0x559f82=_0x498dac[_0x141a9c(0x1f9)][_0x141a9c(0x1b1)](_0x5d21ec);_0x498dac[_0x141a9c(0x1b5)][_0x141a9c(0x220)]({'isUndoable':!0x1},_0x2d645c=>{const _0x4358bd=_0x141a9c,_0x28af5d=_0x4358bd(0x1c2)+_0x559f82[_0x4358bd(0x1bc)],_0x1998e0=_0x4358bd(0x206)+_0x559f82[_0x4358bd(0x1bc)],_0x34bde2=_0x498dac[_0x4358bd(0x1b5)][_0x4358bd(0x230)][_0x4358bd(0x1c5)](_0x28af5d);_0x498dac[_0x4358bd(0x1f1)][_0x4358bd(0x212)][_0x4358bd(0x1e4)]?G(_0x559f82[_0x4358bd(0x1bc)],_0xd1baff[_0x4358bd(0x219)][_0x4358bd(0x1c1)](),_0x498dac[_0x4358bd(0x1b5)],_0x2d645c):_0x34bde2&&(_0x2d645c[_0x4358bd(0x210)](_0x28af5d),_0x2d645c[_0x4358bd(0x210)](_0x1998e0));});}}function G(_0x240771,_0x22b6ab,_0x5cc73d,_0x1af846){const _0x2e021f=_0x12fba5,_0x36b506=_0x2e021f(0x1c2)+_0x240771,_0x4f7735=_0x2e021f(0x206)+_0x240771,_0x2fcb00=_0x22b6ab[_0x2e021f(0x234)]();let _0x530f90=_0x22b6ab[_0x2e021f(0x226)];if(_0x2fcb00&&_0x2fcb00['is'](_0x2e021f(0x207),_0x2e021f(0x214))){const _0x18aad3=function(_0x1119c5,_0x48eb94){const _0x48fe0c=_0x2e021f;for(const _0x49c797 of _0x1119c5[_0x48fe0c(0x21f)]())if(_0x48eb94[_0x48fe0c(0x1d1)][_0x48fe0c(0x1c8)](_0x49c797,_0x48fe0c(0x1eb)))return _0x49c797;}(_0x22b6ab,_0x5cc73d);_0x18aad3&&(_0x530f90=_0x18aad3,_0x22b6ab=_0x1af846[_0x2e021f(0x216)](_0x530f90));}const _0x4cd0f0=_0x1af846[_0x2e021f(0x216)](_0x530f90);_0x5cc73d[_0x2e021f(0x230)][_0x2e021f(0x1c5)](_0x36b506)?(_0x1af846[_0x2e021f(0x237)](_0x36b506,{'range':_0x22b6ab}),_0x1af846[_0x2e021f(0x237)](_0x4f7735,{'range':_0x4cd0f0})):(_0x1af846[_0x2e021f(0x211)](_0x36b506,{'range':_0x22b6ab,'usingOperation':!0x0}),_0x1af846[_0x2e021f(0x211)](_0x4f7735,{'range':_0x4cd0f0,'usingOperation':!0x0}));}
|