@ckeditor/ckeditor5-real-time-collaboration 43.1.0-alpha.7 → 43.1.0-alpha.8
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/ar.js +1 -1
- package/dist/translations/ar.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/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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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/uk.js +1 -1
- package/dist/translations/uk.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 +9 -9
- 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 +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x568c1f=_0x1506;function _0x1506(_0x482817,_0x29eff2){const _0x263e93=_0x263e();return _0x1506=function(_0x1506f1,_0x4b18b2){_0x1506f1=_0x1506f1-0x18d;let _0x2b9933=_0x263e93[_0x1506f1];return _0x2b9933;},_0x1506(_0x482817,_0x29eff2);}(function(_0x4d028d,_0x2f324d){const _0x40aa30=_0x1506,_0x497767=_0x4d028d();while(!![]){try{const _0x20d302=-parseInt(_0x40aa30(0x24c))/0x1+parseInt(_0x40aa30(0x1b8))/0x2*(-parseInt(_0x40aa30(0x1e0))/0x3)+parseInt(_0x40aa30(0x206))/0x4*(parseInt(_0x40aa30(0x279))/0x5)+parseInt(_0x40aa30(0x1fe))/0x6+parseInt(_0x40aa30(0x190))/0x7*(-parseInt(_0x40aa30(0x1a5))/0x8)+-parseInt(_0x40aa30(0x1e3))/0x9*(parseInt(_0x40aa30(0x1f2))/0xa)+parseInt(_0x40aa30(0x1aa))/0xb*(parseInt(_0x40aa30(0x1d8))/0xc);if(_0x20d302===_0x2f324d)break;else _0x497767['push'](_0x497767['shift']());}catch(_0x1260c8){_0x497767['push'](_0x497767['shift']());}}}(_0x263e,0xdb22b));import{Plugin as _0x85d1a8,PendingActions as _0x9948c6}from'ckeditor5/src/core.js';import{CKEditorError as _0x3467c9,version as _0x37832f,uid as _0x10dba0}from'ckeditor5/src/utils.js';import{Notification as _0x399aac}from'ckeditor5/src/ui.js';import{transformSets as _0x5cc9ea,NoOperation as _0x1f03e1,InsertOperation as _0x58e3bd,MarkerOperation as _0x259612,RootAttributeOperation as _0x25df91,OperationFactory as _0x110c9d,History as _0x174c27}from'ckeditor5/src/engine.js';import _0x7d6585 from'./websocketgateway.js';import _0x49efa1 from'./sessions.js';import _0xea54d from'./usermarkers.js';import{getTranslation as _0x3bb02b}from'../common-translations.js';import{Compressor as _0x133ebc}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x586f75}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xdfd2e6,CollaborativeEditingService as _0x5c8b32}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x85d1a8{static get[_0x568c1f(0x24a)](){return[_0x7d6585,_0x49efa1,_0xea54d,_0x9948c6,_0x586f75,_0x399aac];}static get[_0x568c1f(0x260)](){const _0x110e7f=_0x568c1f;return _0x110e7f(0x197);}get[_0x568c1f(0x24d)](){const _0x3ecd3c=_0x568c1f;return this[_0x3ecd3c(0x230)]+this[_0x3ecd3c(0x1a9)];}get[_0x568c1f(0x230)](){const _0x50a247=_0x568c1f;return this[_0x50a247(0x235)][_0x50a247(0x284)]-this[_0x50a247(0x1a9)];}get[_0x568c1f(0x1fd)](){const _0x591000=_0x568c1f,_0x10c1ac=this[_0x591000(0x235)][_0x591000(0x1b5)]();for(let _0x2d14ce=_0x10c1ac[_0x591000(0x195)]-0x1;_0x2d14ce>=0x0;_0x2d14ce--){const _0x23a37d=_0x10c1ac[_0x2d14ce];if(!this[_0x591000(0x223)][_0x591000(0x1c1)](_0x23a37d))return _0x23a37d[_0x591000(0x26a)]+0x1-this[_0x591000(0x1a9)];}return 0x0;}constructor(_0xf00329){const _0x4f9035=_0x568c1f;if(super(_0xf00329),this[_0x4f9035(0x1a9)]=0x0,this[_0x4f9035(0x229)]=null,this[_0x4f9035(0x235)]=new _0x174c27(),this[_0x4f9035(0x1c3)][_0x4f9035(0x281)][_0x4f9035(0x221)](_0x4f9035(0x1b4),{}),this[_0x4f9035(0x1ad)]=this[_0x4f9035(0x1c3)][_0x4f9035(0x281)][_0x4f9035(0x19c)](_0x4f9035(0x1bb)),!this[_0x4f9035(0x1ad)])throw new _0x3467c9(_0x4f9035(0x1f4),this);const _0x29a202=_0xf00329[_0x4f9035(0x281)][_0x4f9035(0x19c)](_0x4f9035(0x278))||_0x37832f;this[_0x4f9035(0x1a7)]=new l[(_0x4f9035(0x1ac))](_0x29a202,this[_0x4f9035(0x1ad)]),this[_0x4f9035(0x240)]=this[_0x4f9035(0x1c3)][_0x4f9035(0x245)][_0x4f9035(0x255)],this[_0x4f9035(0x1a8)]=new _0x133ebc(),this[_0x4f9035(0x192)]=[],this[_0x4f9035(0x272)]=new WeakSet(),this[_0x4f9035(0x208)]=new Set(),this[_0x4f9035(0x19b)](_0x4f9035(0x1eb),!0x1),this[_0x4f9035(0x19b)](_0x4f9035(0x277),!0x1),this[_0x4f9035(0x1f8)]=null,this[_0x4f9035(0x1e1)]=!0x1,this[_0x4f9035(0x27c)]=null,this[_0x4f9035(0x264)]=0x12c,this[_0x4f9035(0x26e)]=this[_0x4f9035(0x264)],this[_0x4f9035(0x22e)]=null,this[_0x4f9035(0x223)]=new WeakSet(),this[_0x4f9035(0x26d)]=new X(this[_0x4f9035(0x223)]);}[_0x568c1f(0x1fc)](){const _0x4e8325=_0x568c1f,_0x5e30b3=this[_0x4e8325(0x1c3)],_0x2a156e=_0x5e30b3[_0x4e8325(0x23e)][_0x4e8325(0x19c)](_0x586f75),_0x1b16f7=_0x5e30b3[_0x4e8325(0x23e)][_0x4e8325(0x19c)](_0x7d6585);this[_0x4e8325(0x213)](_0x2a156e,_0x4e8325(0x1a2),(_0x2e12e9,_0x4d245a)=>{const _0x139dc3=_0x4e8325,_0x4a7c47=_0x4d245a[0x0];_0x4a7c47[_0x139dc3(0x1cc)]&&(_0x2e12e9[_0x139dc3(0x288)]=_0x2a156e[_0x139dc3(0x1a3)](_0x4a7c47[_0x139dc3(0x1cc)]),_0x2e12e9[_0x139dc3(0x191)]()),null===_0x4a7c47[_0x139dc3(0x1cc)]&&(_0x2e12e9[_0x139dc3(0x288)]=null,_0x2e12e9[_0x139dc3(0x191)]());},{'priority':_0x4e8325(0x22a)}),this[_0x4e8325(0x213)](_0x5e30b3[_0x4e8325(0x245)][_0x4e8325(0x255)][_0x4e8325(0x1ef)],_0x4e8325(0x1e8),(_0x40043f,_0xf44293)=>{const _0xff446f=_0x4e8325;_0xf44293[_0xff446f(0x225)]&&this[_0xff446f(0x244)]();}),this[_0x4e8325(0x213)](_0x5e30b3[_0x4e8325(0x1d7)][_0x4e8325(0x1d6)],_0x4e8325(0x232),()=>{const _0x5ebaf9=_0x4e8325;this[_0x5ebaf9(0x244)]();}),this[_0x4e8325(0x1f7)](),_0x5e30b3[_0x4e8325(0x245)]['on'](_0x4e8325(0x28b),(_0x138fc7,_0x2536ad)=>{const _0x1f66b7=_0x4e8325,_0x5d466b=_0x2536ad[0x0];_0x5d466b[_0x1f66b7(0x23b)]&&(this[_0x1f66b7(0x27e)](_0x5d466b),this[_0x1f66b7(0x271)]()&&this[_0x1f66b7(0x27a)]());}),this[_0x4e8325(0x209)](),this[_0x4e8325(0x19d)](_0x4e8325(0x18e))['to'](_0x1b16f7,_0x4e8325(0x1d3),this,_0x4e8325(0x277),(_0x2a9da0,_0x14aed6)=>_0x4e8325(0x1dd)===_0x2a9da0&&!_0x14aed6),this['on'](_0x4e8325(0x1e6),()=>{const _0x177975=_0x4e8325;this[_0x177975(0x18e)]?_0x5e30b3[_0x177975(0x1c4)](_0x177975(0x231)):_0x5e30b3[_0x177975(0x28e)](_0x177975(0x231));}),this[_0x4e8325(0x18e)]?_0x5e30b3[_0x4e8325(0x1c4)](_0x4e8325(0x231)):_0x5e30b3[_0x4e8325(0x28e)](_0x4e8325(0x231)),this[_0x4e8325(0x19b)](_0x4e8325(0x219),!0x1);}async[_0x568c1f(0x1ca)](){const _0x5bef31=_0x568c1f,_0x43c59e=this[_0x5bef31(0x1c3)][_0x5bef31(0x23e)][_0x5bef31(0x19c)](_0x49efa1),_0x24aad5=this[_0x5bef31(0x1c3)][_0x5bef31(0x23e)][_0x5bef31(0x19c)](_0x7d6585);try{this[_0x5bef31(0x1eb)]=!0x0,_0x43c59e[_0x5bef31(0x1c8)](this[_0x5bef31(0x1ad)]);const _0x290f3d=await this[_0x5bef31(0x1a7)][_0x5bef31(0x1ca)](_0x24aad5[_0x5bef31(0x270)],this[_0x5bef31(0x1fd)]);await this[_0x5bef31(0x224)](_0x290f3d)&&(this[_0x5bef31(0x1eb)]=!0x1,this[_0x5bef31(0x25d)]());const _0x1b818c=await this[_0x5bef31(0x1a7)][_0x5bef31(0x1bd)]();_0x43c59e[_0x5bef31(0x212)](this[_0x5bef31(0x1ad)],_0x1b818c),this[_0x5bef31(0x243)](),this[_0x5bef31(0x219)]=!0x0;}catch(_0x49842c){if(function(_0x2dc74d){const _0x2a61d8=_0x5bef31;return _0x2a61d8(0x248)===_0x2dc74d[_0x2a61d8(0x20b)];}(_0x49842c)&&this[_0x5bef31(0x229)])await this[_0x5bef31(0x1e7)]();else{if(function(_0x34491c){const _0x3f50da=_0x5bef31;return _0x3f50da(0x204)===_0x34491c[_0x3f50da(0x20b)];}(_0x49842c)){const _0x460ae7=_0x3bb02b(this[_0x5bef31(0x1c3)][_0x5bef31(0x282)],_0x5bef31(0x252));this[_0x5bef31(0x1be)](_0x460ae7);}else{if(!(_0x49842c instanceof J))throw _0x49842c;this[_0x5bef31(0x1be)]();}}}}[_0x568c1f(0x25e)](){const _0x23d101=_0x568c1f,_0x4223e9=this[_0x23d101(0x1c3)][_0x23d101(0x23e)][_0x23d101(0x19c)](_0x7d6585),_0x27498b=this[_0x23d101(0x1c3)][_0x23d101(0x23e)][_0x23d101(0x19c)](_0x49efa1);this[_0x23d101(0x1c3)][_0x23d101(0x28e)](_0x23d101(0x283)),_0x27498b[_0x23d101(0x234)][_0x23d101(0x1c1)](this[_0x23d101(0x1ad)])&&_0x27498b[_0x23d101(0x1c8)](this[_0x23d101(0x1ad)]),_0x4223e9[_0x23d101(0x20d)](this),this[_0x23d101(0x263)](),super[_0x23d101(0x25e)]();}async[_0x568c1f(0x224)](_0x340dc2){const _0x1f571a=_0x568c1f;if(this[_0x1f571a(0x229)]!==_0x340dc2[_0x1f571a(0x229)]&&this[_0x1f571a(0x22e)]!==_0x340dc2[_0x1f571a(0x1de)])throw new J();return this[_0x1f571a(0x229)]=_0x340dc2[_0x1f571a(0x229)],this[_0x1f571a(0x1b2)]([],{..._0x340dc2,'wereChangesApplied':!0x1,'data':_0x340dc2[_0x1f571a(0x22b)]},_0x1f571a(0x1ca));}async[_0x568c1f(0x1e2)](_0x3dc7bc,_0x15f49b=!0x1){const _0x1b56e8=_0x568c1f,{connection:_0x1034d5}=this[_0x1b56e8(0x1c3)][_0x1b56e8(0x23e)][_0x1b56e8(0x19c)](_0x7d6585);l[_0x1b56e8(0x1ac)][_0x1b56e8(0x1bd)](_0x1034d5,this[_0x1b56e8(0x1ad)])[_0x1b56e8(0x24b)](_0x2146d0=>this[_0x1b56e8(0x214)](_0x2146d0))[_0x1b56e8(0x1e4)](_0x4c24f6=>{const _0x467ca1=_0x1b56e8;this[_0x467ca1(0x250)](_0x467ca1(0x1ec),_0x4c24f6);}),this[_0x1b56e8(0x213)](this[_0x1b56e8(0x1a7)],_0x1b56e8(0x1da),this[_0x1b56e8(0x1f1)][_0x1b56e8(0x19d)](this)),this[_0x1b56e8(0x213)](this[_0x1b56e8(0x1a7)],_0x1b56e8(0x25f),(_0x493aab,_0x3ddd48)=>{const _0x1bc7b5=_0x1b56e8;this[_0x1bc7b5(0x250)](_0x1bc7b5(0x276),_0x3ddd48);}),this[_0x1b56e8(0x213)](this[_0x1b56e8(0x1a7)],_0x1b56e8(0x211),()=>{const _0x80a963=_0x1b56e8;this[_0x80a963(0x219)]=!0x1;});const _0x577b8a=this[_0x1b56e8(0x26d)][_0x1b56e8(0x1dc)](_0x3dc7bc);this[_0x1b56e8(0x1eb)]=!0x0;const _0x5d4a73=await this[_0x1b56e8(0x1a7)][_0x1b56e8(0x28d)](_0x1034d5,this[_0x1b56e8(0x239)](_0x3dc7bc),_0x577b8a);if(this[_0x1b56e8(0x229)]=_0x5d4a73[_0x1b56e8(0x229)],_0x15f49b){if(!_0x5d4a73[_0x1b56e8(0x18d)])return void this[_0x1b56e8(0x1be)]();this[_0x1b56e8(0x1eb)]=!0x1,this[_0x1b56e8(0x25d)](),this[_0x1b56e8(0x235)][_0x1b56e8(0x1ed)](),this[_0x1b56e8(0x1a9)]=_0x5d4a73[_0x1b56e8(0x266)],this[_0x1b56e8(0x235)][_0x1b56e8(0x284)]=this[_0x1b56e8(0x1a9)],await this[_0x1b56e8(0x1b2)](_0x3dc7bc,_0x5d4a73,_0x1b56e8(0x28f));}else await this[_0x1b56e8(0x285)](_0x5d4a73,_0x3dc7bc);this[_0x1b56e8(0x243)](),this[_0x1b56e8(0x219)]=!0x0;}[_0x568c1f(0x243)](){const _0x5bd8d8=_0x568c1f,_0x3f839c=this[_0x5bd8d8(0x1c3)][_0x5bd8d8(0x23e)][_0x5bd8d8(0x19c)](_0x49efa1),_0x1a362d=this[_0x5bd8d8(0x1c3)][_0x5bd8d8(0x23e)][_0x5bd8d8(0x19c)](_0xea54d),_0x467355=_0x3f839c[_0x5bd8d8(0x234)][_0x5bd8d8(0x19c)](this[_0x5bd8d8(0x1ad)]);_0x467355&&_0x467355[_0x5bd8d8(0x195)]>0x1?_0x1a362d[_0x5bd8d8(0x20c)]():this[_0x5bd8d8(0x213)](_0x3f839c,_0x5bd8d8(0x251)+this[_0x5bd8d8(0x1ad)],()=>{const _0x274684=_0x5bd8d8;0x2===_0x3f839c[_0x274684(0x234)][_0x274684(0x19c)](this[_0x274684(0x1ad)])[_0x274684(0x195)]&&_0x1a362d[_0x274684(0x20c)]();});}async[_0x568c1f(0x1f1)](_0x2ac380,_0x1a8c6d,_0x35e731,_0x398d58){const _0x11a855=_0x568c1f;if(!this[_0x11a855(0x1eb)]&&this[_0x11a855(0x240)][_0x11a855(0x284)]==_0x1a8c6d){const _0x10cadb=this[_0x11a855(0x28c)](_0x35e731,_0x398d58);await this[_0x11a855(0x1b0)](_0x10cadb),this[_0x11a855(0x258)](_0x10cadb,_0x1a8c6d,_0x35e731[_0x11a855(0x1de)])||this[_0x11a855(0x250)](_0x11a855(0x205));}}async[_0x568c1f(0x1e7)](){const _0xa313f7=_0x568c1f;this[_0xa313f7(0x263)]();const {locale:_0x6ac834}=this[_0xa313f7(0x1c3)];let _0x2161a1;try{_0x2161a1=await this[_0xa313f7(0x1a7)][_0xa313f7(0x26f)]();}catch(_0x582687){const _0x55e710=_0x3bb02b(_0x6ac834,_0xa313f7(0x1b6));return void this[_0xa313f7(0x1be)](_0x55e710);}const _0x4e9be5=_0x2161a1[_0xa313f7(0x262)]||_0x2161a1[_0xa313f7(0x254)];if(this[_0xa313f7(0x22e)]===_0x4e9be5[_0xa313f7(0x1de)])await this[_0xa313f7(0x1e2)](this[_0xa313f7(0x1c3)][_0xa313f7(0x245)][_0xa313f7(0x255)][_0xa313f7(0x1f6)][_0xa313f7(0x1b5)](),!0x0);else{const _0x355da3=_0x3bb02b(_0x6ac834,_0xa313f7(0x24e));this[_0xa313f7(0x1be)](_0x355da3);}}[_0x568c1f(0x263)](){const _0x3f9670=_0x568c1f;this[_0x3f9670(0x1a7)][_0x3f9670(0x227)](),this[_0x3f9670(0x192)]=[],clearTimeout(this[_0x3f9670(0x27c)]),this[_0x3f9670(0x242)](this[_0x3f9670(0x1a7)]);}[_0x568c1f(0x214)](_0x3fcdf3){const _0x1bda31=_0x568c1f,_0x8fdcf7=this[_0x1bda31(0x1c3)][_0x1bda31(0x23e)][_0x1bda31(0x19c)](_0x49efa1);this[_0x1bda31(0x213)](_0x8fdcf7,_0x1bda31(0x251)+this[_0x1bda31(0x1ad)],(_0x4acf72,{session:_0x2ac508})=>{const _0x746baf=_0x1bda31;if(_0x2ac508['id']===_0x8fdcf7[_0x746baf(0x216)]){_0x4acf72[_0x746baf(0x1a6)]();const _0x36457d=this[_0x746baf(0x1c3)][_0x746baf(0x23e)][_0x746baf(0x1c1)](_0x746baf(0x1c7))&&this[_0x746baf(0x1c3)][_0x746baf(0x23e)][_0x746baf(0x19c)](_0x746baf(0x1c7));let _0x1ed3c1=_0x2ac508[_0x746baf(0x22c)];_0x36457d&&_0x36457d[_0x746baf(0x203)]&&(_0x1ed3c1=_0x1ed3c1[_0x746baf(0x25b)](_0x220a08=>_0x746baf(0x193)!==_0x220a08)),this[_0x746baf(0x1c3)][_0x746baf(0x23e)][_0x746baf(0x19c)](_0x746baf(0x1f9))[_0x746baf(0x1e5)](_0x1ed3c1,this[_0x746baf(0x1ad)]);}}),_0x8fdcf7[_0x1bda31(0x212)](this[_0x1bda31(0x1ad)],_0x3fcdf3);}[_0x568c1f(0x1f7)](){const _0x2ee2da=_0x568c1f,_0x57974e=this[_0x2ee2da(0x1c3)][_0x2ee2da(0x22b)][_0x2ee2da(0x19b)];this[_0x2ee2da(0x1c3)][_0x2ee2da(0x22b)][_0x2ee2da(0x19b)]=(..._0x1f63c3)=>{const _0x283337=_0x2ee2da;if(!_0x1f63c3[_0x1f63c3[_0x283337(0x195)]-0x1][_0x283337(0x1c5)])throw new _0x3467c9(_0x283337(0x25a),this);_0x57974e[_0x283337(0x21f)](this[_0x283337(0x1c3)][_0x283337(0x22b)],_0x1f63c3);};}[_0x568c1f(0x209)](){const _0x116756=_0x568c1f;this[_0x116756(0x1c3)][_0x116756(0x22b)]['on'](_0x116756(0x1fc),(_0x43abd2,[_0x13c646])=>{const _0x3db20e=_0x116756;if(this[_0x3db20e(0x240)][_0x3db20e(0x284)])throw new _0x3467c9(_0x3db20e(0x257),this);_0x43abd2[_0x3db20e(0x191)](),this[_0x3db20e(0x24f)]();const _0x4a3927=this[_0x3db20e(0x1c3)][_0x3db20e(0x281)][_0x3db20e(0x19c)](_0x3db20e(0x28a)),_0x121078=this[_0x3db20e(0x207)](_0x13c646,_0x4a3927);0x0==_0x121078[_0x3db20e(0x195)]&&_0x121078[_0x3db20e(0x1a4)](new _0x1f03e1(0x0)),_0x43abd2[_0x3db20e(0x288)]=this[_0x3db20e(0x1e2)](_0x121078)[_0x3db20e(0x24b)](()=>{const _0x2587c7=_0x3db20e;this[_0x2587c7(0x1c3)][_0x2587c7(0x23e)][_0x2587c7(0x19c)](_0x7d6585)[_0x2587c7(0x27b)](this),this[_0x2587c7(0x1c3)][_0x2587c7(0x22b)][_0x2587c7(0x1c9)](_0x2587c7(0x1f3));})[_0x3db20e(0x1e4)](_0x2237a0=>this[_0x3db20e(0x250)](_0x3db20e(0x1a0),_0x2237a0))[_0x3db20e(0x1d1)](()=>this[_0x3db20e(0x25d)]());},{'priority':_0x116756(0x22a)}),this[_0x116756(0x1c3)]['on'](_0x116756(0x21c),async(_0x2e6831,[_0x304612,_0x169988])=>{const _0x33c855=_0x116756;_0x2e6831[_0x33c855(0x191)]();const _0x43be81=this[_0x33c855(0x1c3)][_0x33c855(0x245)][_0x33c855(0x255)][_0x33c855(0x253)](_0x304612);if(!this[_0x33c855(0x208)][_0x33c855(0x1c1)](_0x304612)){const _0x5cb75c=_0x169988&&_0x169988[_0x33c855(0x22b)]?_0x169988[_0x33c855(0x22b)]:'',_0x38527c=_0x169988&&_0x169988[_0x33c855(0x1bf)]?_0x169988[_0x33c855(0x1bf)]:{};await this[_0x33c855(0x1c0)](_0x304612,_0x5cb75c,_0x38527c);}this[_0x33c855(0x1c3)][_0x33c855(0x245)][_0x33c855(0x233)]({'isUndoable':!0x1},()=>{const _0x58e65d=_0x33c855;_0x43be81[_0x58e65d(0x289)]=!0x0,this[_0x58e65d(0x1c3)][_0x58e65d(0x245)][_0x58e65d(0x255)][_0x58e65d(0x215)][_0x58e65d(0x26b)](_0x43be81);});},{'priority':_0x116756(0x22a)});}async[_0x568c1f(0x1b0)](_0x3301a4){const _0xf460cd=_0x568c1f,_0x275979=this[_0xf460cd(0x1c3)][_0xf460cd(0x23e)][_0xf460cd(0x19c)](_0x586f75),{connection:_0x117482}=this[_0xf460cd(0x1c3)][_0xf460cd(0x23e)][_0xf460cd(0x19c)](_0x7d6585),_0xa36e90=new Set();for(const _0x212d53 of _0x3301a4){const _0x31f98e=_0x212d53[_0xf460cd(0x1cc)];_0x31f98e&&!_0x275979[_0xf460cd(0x1a3)](_0x31f98e)&&_0xa36e90[_0xf460cd(0x22d)](_0x31f98e);}if(0x0===_0xa36e90[_0xf460cd(0x269)])return;const _0x927e7=await _0xdfd2e6[_0xf460cd(0x25c)](_0x117482,Array[_0xf460cd(0x198)](_0xa36e90));for(const _0x2d283f of _0x927e7)_0x275979[_0xf460cd(0x1a3)](_0x2d283f['id'])||_0x275979[_0xf460cd(0x1c6)](_0x2d283f);}[_0x568c1f(0x207)](_0x406ce9,_0x4266a4={}){const _0x33b7b7=_0x568c1f,_0x151c17=this[_0x33b7b7(0x1c3)][_0x33b7b7(0x245)],_0x5951c7=[];let _0x5f026d=0x0;const _0x4d57c0=_0x33b7b7(0x23f)==typeof _0x406ce9?{'main':_0x406ce9}:_0x406ce9;for(const _0x323953 of Object[_0x33b7b7(0x1d5)](_0x4d57c0)){if(!this[_0x33b7b7(0x240)][_0x33b7b7(0x1cb)][_0x33b7b7(0x1c1)](_0x323953))throw new _0x3467c9(_0x33b7b7(0x247),this);const _0x395f5a=this[_0x33b7b7(0x1c3)][_0x33b7b7(0x22b)][_0x33b7b7(0x26c)](_0x4d57c0[_0x323953]),_0x282de8=this[_0x33b7b7(0x240)][_0x33b7b7(0x253)](_0x323953),_0x132b25=new _0x58e3bd(_0x151c17[_0x33b7b7(0x286)](_0x282de8,0x0),_0x395f5a,_0x5f026d++);_0x5951c7[_0x33b7b7(0x1a4)](_0x132b25);for(const [_0x373502,_0x20a360]of _0x395f5a[_0x33b7b7(0x202)]){const _0x2c75ec=_0x151c17[_0x33b7b7(0x237)](_0x151c17[_0x33b7b7(0x1b7)](_0x282de8,_0x20a360[_0x33b7b7(0x20e)][_0x33b7b7(0x261)][_0x33b7b7(0x23c)]()),_0x151c17[_0x33b7b7(0x1b7)](_0x282de8,_0x20a360[_0x33b7b7(0x290)][_0x33b7b7(0x261)][_0x33b7b7(0x23c)]())),_0x215c31=new _0x259612(_0x373502,null,_0x2c75ec,_0x151c17[_0x33b7b7(0x202)],!0x0,_0x5f026d++);_0x5951c7[_0x33b7b7(0x1a4)](_0x215c31);}}if(_0x4266a4)for(const [_0x2cb4f5,_0x3f47a9]of Object[_0x33b7b7(0x196)](_0x4266a4)){const _0x4343a8=_0x151c17[_0x33b7b7(0x255)][_0x33b7b7(0x253)](_0x2cb4f5);if(!_0x4343a8)throw new _0x3467c9(_0x33b7b7(0x1bc),null);for(const [_0xed4eaa,_0x1e7d60]of Object[_0x33b7b7(0x196)](_0x3f47a9))if(null!==_0x1e7d60){const _0x4e9013=new _0x25df91(_0x4343a8,_0xed4eaa,null,_0x1e7d60,_0x5f026d++);_0x5951c7[_0x33b7b7(0x1a4)](_0x4e9013);}}return _0x5951c7;}async[_0x568c1f(0x1c0)](_0x36331a,_0x38261f,_0x4bc05f){const _0x1c775e=_0x568c1f;this[_0x1c775e(0x207)]({[_0x36331a]:_0x38261f},{[_0x36331a]:_0x4bc05f})[_0x1c775e(0x21a)]((_0x1ead24,_0x1f507c)=>{const _0x87a982=_0x1c775e;_0x1ead24[_0x87a982(0x26a)]=this[_0x87a982(0x240)][_0x87a982(0x284)]+_0x1f507c,_0x1ead24[_0x87a982(0x228)]=!0x0,this[_0x87a982(0x27e)](_0x1ead24);}),this[_0x1c775e(0x27a)](),await this[_0x1c775e(0x19e)]();}async[_0x568c1f(0x285)](_0x3b6661,_0x163e02){const _0x20efa0=_0x568c1f;let _0x3820d0;this[_0x20efa0(0x1a9)]=_0x3b6661[_0x20efa0(0x266)];const _0x32097b=_0x3b6661[_0x20efa0(0x18d)]&&!_0x3b6661[_0x20efa0(0x273)],_0x1b01b0=_0x32097b?0x0:_0x3b6661[_0x20efa0(0x22b)][_0x20efa0(0x26a)];if(_0x163e02[_0x20efa0(0x21a)](_0xdf1a9d=>{const _0x717d05=_0x20efa0;_0xdf1a9d[_0x717d05(0x228)]=!0x0,_0xdf1a9d[_0x717d05(0x1d2)]=_0x3b6661[_0x717d05(0x1a1)],_0xdf1a9d[_0x717d05(0x1cc)]=null;}),_0x32097b)_0x3820d0=_0x163e02,this[_0x20efa0(0x220)](_0x3820d0,_0x32097b);else{if(_0x3b6661[_0x20efa0(0x273)]){const _0xecc0d1=this[_0x20efa0(0x207)](_0x3b6661[_0x20efa0(0x273)]);this[_0x20efa0(0x240)][_0x20efa0(0x1f6)][_0x20efa0(0x284)]=-_0xecc0d1[_0x20efa0(0x195)],_0xecc0d1[_0x20efa0(0x21a)](_0x308a31=>{const _0x3a2d3e=_0x20efa0;_0x308a31[_0x3a2d3e(0x26a)]-=_0xecc0d1[_0x3a2d3e(0x195)],_0x308a31[_0x3a2d3e(0x1d2)]=_0x3b6661[_0x3a2d3e(0x1a1)],_0x308a31[_0x3a2d3e(0x228)]=!0x0,_0x308a31[_0x3a2d3e(0x1cc)]=null;}),this[_0x20efa0(0x220)](_0xecc0d1,!0x0),this[_0x20efa0(0x235)][_0x20efa0(0x284)]=-_0xecc0d1[_0x20efa0(0x195)]+this[_0x20efa0(0x1a9)],this[_0x20efa0(0x201)](_0xecc0d1);}this[_0x20efa0(0x240)][_0x20efa0(0x1f6)][_0x20efa0(0x284)]=_0x1b01b0,_0x3820d0=this[_0x20efa0(0x28c)](_0x3b6661[_0x20efa0(0x22b)],_0x3b6661[_0x20efa0(0x1ae)]),await this[_0x20efa0(0x1b0)](_0x3820d0),this[_0x20efa0(0x220)](_0x3820d0,_0x32097b);}_0x3b6661[_0x20efa0(0x1de)]&&(this[_0x20efa0(0x26d)][_0x20efa0(0x275)](_0x3820d0,_0x3b6661[_0x20efa0(0x1de)]),this[_0x20efa0(0x22e)]=_0x3b6661[_0x20efa0(0x1de)]),this[_0x20efa0(0x235)][_0x20efa0(0x284)]=_0x1b01b0+this[_0x20efa0(0x1a9)],this[_0x20efa0(0x201)](_0x3820d0),_0x163e02[_0x20efa0(0x25b)](_0x22470e=>{const _0x5cbb6c=_0x20efa0,_0x469a4d=this[_0x5cbb6c(0x241)](_0x22470e);return _0x469a4d&&!this[_0x5cbb6c(0x208)][_0x5cbb6c(0x1c1)](_0x469a4d);})[_0x20efa0(0x21a)]((_0x2f086e,_0x31fc08)=>{const _0x4a5b34=_0x20efa0;_0x2f086e[_0x4a5b34(0x26a)]=this[_0x4a5b34(0x240)][_0x4a5b34(0x284)]+_0x31fc08,this[_0x4a5b34(0x27e)](_0x2f086e);}),this[_0x20efa0(0x271)]()?(this[_0x20efa0(0x26e)]=0x0,this[_0x20efa0(0x27a)](!0x0),await this[_0x20efa0(0x19e)]()):(this[_0x20efa0(0x1eb)]=!0x1,this[_0x20efa0(0x25d)]());}[_0x568c1f(0x250)](_0x33944e,_0x4807d2){const _0x48acca=_0x568c1f;throw this[_0x48acca(0x1eb)]=!0x0,_0x4807d2&&console[_0x48acca(0x25f)](_0x4807d2),new _0x3467c9(_0x33944e,this[_0x48acca(0x1c3)]);}[_0x568c1f(0x27e)](_0x3d208d){const _0x12f319=_0x568c1f;this[_0x12f319(0x272)][_0x12f319(0x1c1)](_0x3d208d)||(this[_0x12f319(0x272)][_0x12f319(0x22d)](_0x3d208d),this[_0x12f319(0x192)][_0x12f319(0x1a4)](_0x3d208d),this[_0x12f319(0x1f8)]||_0x12f319(0x1d9)==_0x3d208d[_0x12f319(0x1b3)]&&!_0x3d208d[_0x12f319(0x1b1)]||this[_0x12f319(0x24f)]());}[_0x568c1f(0x27a)](_0x50d876=!0x1){const _0x348b49=_0x568c1f;!_0x50d876&&this[_0x348b49(0x1eb)]||(this[_0x348b49(0x1eb)]=!0x0,clearTimeout(this[_0x348b49(0x27c)]),this[_0x348b49(0x27c)]=setTimeout(()=>{const _0x5c4137=_0x348b49;this[_0x5c4137(0x21b)]()[_0x5c4137(0x24b)](_0x5d70af=>{const _0x3169d6=_0x5c4137;_0x5d70af&&(this[_0x3169d6(0x25d)](),this[_0x3169d6(0x1eb)]=!0x1);})[_0x5c4137(0x1e4)](_0x302f4f=>{const _0x5495b4=_0x5c4137;if(this[_0x5495b4(0x25d)](),this[_0x5495b4(0x1eb)]=!0x1,!function(_0x29946a){const _0x4c3a66=_0x5495b4;return _0x29946a[_0x4c3a66(0x265)][_0x4c3a66(0x200)](_0x4c3a66(0x23a))||_0x29946a[_0x4c3a66(0x265)][_0x4c3a66(0x200)](_0x4c3a66(0x1cf))||_0x29946a[_0x4c3a66(0x265)][_0x4c3a66(0x200)](_0x4c3a66(0x246));}(_0x302f4f))throw _0x302f4f;});},this[_0x348b49(0x26e)]));}[_0x568c1f(0x19e)](){return new Promise(_0xdc7e01=>{const _0x3705b3=_0x1506;this['on'](_0x3705b3(0x1ce),()=>{_0xdc7e01();});});}async[_0x568c1f(0x21b)](){const _0x545348=_0x568c1f,_0x2e9815=this[_0x545348(0x1c3)][_0x545348(0x23e)][_0x545348(0x19c)](_0xea54d);if(this[_0x545348(0x1ff)]()&&(_0x2e9815[_0x545348(0x20c)](),this[_0x545348(0x1e1)]=!0x1),!this[_0x545348(0x271)]())return!0x0;const _0x3a2636=[...this[_0x545348(0x192)]];for(const _0x4733ab of _0x3a2636)_0x4733ab[_0x545348(0x1b9)]=this[_0x545348(0x240)][_0x545348(0x1f6)][_0x545348(0x210)](_0x4733ab);const _0x1c8479=this[_0x545348(0x26d)][_0x545348(0x1dc)](_0x3a2636),_0x2890c0=K++,_0x3903db=this[_0x545348(0x239)](_0x3a2636),_0x123ee8=await this[_0x545348(0x1a7)][_0x545348(0x256)](_0x3903db,_0x3903db[_0x545348(0x26a)],_0x1c8479);try{return await this[_0x545348(0x1b2)](_0x3a2636,_0x123ee8,_0x2890c0);}catch(_0x15f620){return this[_0x545348(0x250)](_0x545348(0x1f5),_0x15f620);}}async[_0x568c1f(0x1b2)](_0x12c224,_0x3223f7,_0x6c4107){const _0x517b28=_0x568c1f;if(_0x517b28(0x25f)in _0x3223f7)throw _0x3223f7[_0x517b28(0x25f)];let _0x10fca0=!0x1;if(_0x3223f7[_0x517b28(0x18d)]){_0x3223f7[_0x517b28(0x1de)]&&(this[_0x517b28(0x22e)]=_0x3223f7[_0x517b28(0x1de)]),this[_0x517b28(0x192)]=this[_0x517b28(0x192)][_0x517b28(0x25b)](_0x24a8c9=>!_0x12c224[_0x517b28(0x287)](_0x24a8c9));for(const _0x290bc6 of _0x12c224)_0x290bc6[_0x517b28(0x1d2)]=_0x517b28(0x274)in _0x3223f7&&_0x3223f7[_0x517b28(0x274)]||void 0x0;Q(_0x12c224,_0x3223f7[_0x517b28(0x284)]-_0x12c224[_0x517b28(0x195)]),this[_0x517b28(0x201)](_0x12c224);const _0x2b55d8=_0x12c224[_0x517b28(0x25b)](_0x492163=>{const _0x5e3c3d=_0x517b28;if(!_0x492163[_0x5e3c3d(0x228)])return!0x1;const _0x18cab7=this[_0x5e3c3d(0x241)](_0x492163);return _0x18cab7&&!this[_0x5e3c3d(0x208)][_0x5e3c3d(0x1c1)](_0x18cab7);});Q(_0x2b55d8,this[_0x517b28(0x240)][_0x517b28(0x284)]),this[_0x517b28(0x220)](_0x2b55d8),_0x10fca0=!0x0,this[_0x517b28(0x26e)]=this[_0x517b28(0x264)];}else{const _0x577923=this[_0x517b28(0x28c)](_0x3223f7[_0x517b28(0x22b)],_0x3223f7[_0x517b28(0x1ae)])[_0x517b28(0x25b)](_0x2c90f3=>_0x2c90f3[_0x517b28(0x26a)]>=this[_0x517b28(0x230)]);_0x577923[_0x517b28(0x21a)](_0x51a652=>this[_0x517b28(0x249)](_0x51a652)),this[_0x517b28(0x192)]=this[_0x517b28(0x192)][_0x517b28(0x25b)](_0x25e006=>!_0x25e006[_0x517b28(0x228)]||!this[_0x517b28(0x208)][_0x517b28(0x1c1)](this[_0x517b28(0x241)](_0x25e006))),this[_0x517b28(0x192)][_0x517b28(0x195)]&&Q(this[_0x517b28(0x192)],this[_0x517b28(0x192)][0x0][_0x517b28(0x26a)]),await this[_0x517b28(0x1b0)](_0x577923),_0x10fca0=this[_0x517b28(0x258)](_0x577923,_0x3223f7[_0x517b28(0x284)],_0x3223f7[_0x517b28(0x1de)]),this[_0x517b28(0x26e)]=Math[_0x517b28(0x280)](this[_0x517b28(0x26e)]/0x2);}return _0x10fca0?!this[_0x517b28(0x271)]()||(this[_0x517b28(0x27a)](!0x0),!0x1):this[_0x517b28(0x250)](_0x517b28(0x1f0));}[_0x568c1f(0x258)](_0x2ef9af,_0xcaeaa3,_0x5cd0a5){const _0x640c07=_0x568c1f;try{const _0x173dc0={'document':this[_0x640c07(0x240)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1f39ee,operationsB:_0xc056a6,originalOperations:_0x1ab730}=_0x5cc9ea(_0x2ef9af,this[_0x640c07(0x192)],_0x173dc0);Q(_0x1f39ee,this[_0x640c07(0x240)][_0x640c07(0x284)]),Q(_0xc056a6,_0xcaeaa3);for(const _0x56c5dc of _0x1f39ee){const _0x11b65d=_0x1ab730[_0x640c07(0x19c)](_0x56c5dc);_0x56c5dc[_0x640c07(0x1cc)]=_0x11b65d?_0x11b65d[_0x640c07(0x1cc)]:null;}_0x5cd0a5&&(this[_0x640c07(0x26d)][_0x640c07(0x275)](_0x2ef9af,_0x5cd0a5),this[_0x640c07(0x22e)]=_0x5cd0a5),this[_0x640c07(0x192)]=[..._0xc056a6],this[_0x640c07(0x220)](_0x1f39ee),this[_0x640c07(0x201)](_0x2ef9af);}catch(_0xa5895a){return console[_0x640c07(0x25f)](_0xa5895a),!0x1;}return!0x0;}[_0x568c1f(0x220)](_0x1b31f4,_0x2aeb47=!0x1){const _0x3e9189=_0x568c1f;this[_0x3e9189(0x1c3)][_0x3e9189(0x245)][_0x3e9189(0x233)]({'isUndoable':!0x1,'isLocal':!0x1},_0x44eb9c=>{const _0xf90635=_0x3e9189;for(const _0x2dc99d of _0x1b31f4)this[_0xf90635(0x272)][_0xf90635(0x22d)](_0x2dc99d),this[_0xf90635(0x249)](_0x2dc99d),_0x44eb9c[_0xf90635(0x199)][_0xf90635(0x1cd)](_0x2dc99d),this[_0xf90635(0x1c3)][_0xf90635(0x245)][_0xf90635(0x28b)](_0x2dc99d);});}[_0x568c1f(0x249)](_0x45c7eb){const _0x2e7eb0=_0x568c1f,_0xed0896=this[_0x2e7eb0(0x241)](_0x45c7eb);_0xed0896&&this[_0x2e7eb0(0x208)][_0x2e7eb0(0x22d)](_0xed0896);}[_0x568c1f(0x241)](_0x43fb68){const _0x2430f5=_0x568c1f;let _0x10f0c8,_0xa56017;switch(_0x43fb68[_0x2430f5(0x1b3)]){case _0x2430f5(0x20f):_0x10f0c8=_0x43fb68[_0x2430f5(0x27f)][_0x2430f5(0x194)];break;case _0x2430f5(0x1d9):if(_0xa56017=_0x43fb68[_0x2430f5(0x1ba)],!_0xa56017)return null;_0x10f0c8=_0xa56017[_0x2430f5(0x194)];break;case _0x2430f5(0x20a):_0x10f0c8=_0x43fb68[_0x2430f5(0x194)];break;case _0x2430f5(0x19a):_0x10f0c8=_0x43fb68[_0x2430f5(0x1d4)];break;case _0x2430f5(0x238):_0x10f0c8=_0x43fb68[_0x2430f5(0x267)][_0x2430f5(0x194)];break;default:return null;}return _0x10f0c8[_0x2430f5(0x23d)];}[_0x568c1f(0x201)](_0x388eb3){const _0x51622e=_0x568c1f;_0x388eb3[_0x51622e(0x21a)](_0x183e6=>{const _0x54e3c9=_0x51622e,_0x32e142=_0x183e6[_0x54e3c9(0x1e9)]();_0x32e142[_0x54e3c9(0x1cc)]=_0x183e6[_0x54e3c9(0x1cc)],_0x32e142[_0x54e3c9(0x228)]=!!_0x183e6[_0x54e3c9(0x228)],_0x32e142[_0x54e3c9(0x1d2)]=_0x183e6[_0x54e3c9(0x1d2)],_0x32e142[_0x54e3c9(0x26a)]+=this[_0x54e3c9(0x1a9)],_0x183e6[_0x54e3c9(0x27d)]&&this[_0x54e3c9(0x223)][_0x54e3c9(0x22d)](_0x32e142),this[_0x54e3c9(0x235)][_0x54e3c9(0x1cd)](_0x32e142);});}[_0x568c1f(0x1be)](_0x320469){const _0x12e43d=_0x568c1f,_0xaa26ad=this[_0x12e43d(0x1c3)][_0x12e43d(0x23e)][_0x12e43d(0x19c)](_0x12e43d(0x1db)),_0x276ca2=this[_0x12e43d(0x1c3)][_0x12e43d(0x282)];_0x320469||(_0x320469=_0x3bb02b(_0x276ca2,_0x12e43d(0x1d0))),_0xaa26ad[_0x12e43d(0x218)](_0x320469,{'title':_0x3bb02b(_0x276ca2,_0x12e43d(0x18f)),'namespace':_0x12e43d(0x1ab)}),this[_0x12e43d(0x277)]=!0x0,clearTimeout(this[_0x12e43d(0x27c)]),this[_0x12e43d(0x192)]=[],this[_0x12e43d(0x1c3)][_0x12e43d(0x23e)][_0x12e43d(0x19c)](_0x7d6585)[_0x12e43d(0x25e)]();}[_0x568c1f(0x24f)](){const _0x1cb811=_0x568c1f;this[_0x1cb811(0x1f8)]||(this[_0x1cb811(0x1f8)]=this[_0x1cb811(0x1c3)][_0x1cb811(0x23e)][_0x1cb811(0x19c)](_0x9948c6)[_0x1cb811(0x22d)](_0x3bb02b(this[_0x1cb811(0x1c3)][_0x1cb811(0x282)],_0x1cb811(0x1df))));}[_0x568c1f(0x25d)](){const _0x1ffc1f=_0x568c1f;this[_0x1ffc1f(0x1f8)]&&(this[_0x1ffc1f(0x1c3)][_0x1ffc1f(0x23e)][_0x1ffc1f(0x19c)](_0x9948c6)[_0x1ffc1f(0x1ee)](this[_0x1ffc1f(0x1f8)]),this[_0x1ffc1f(0x1f8)]=null);}[_0x568c1f(0x239)](_0x1bd374){const _0x36b3ec=_0x568c1f,_0x4076dc=_0x1bd374[_0x36b3ec(0x226)](_0x627b11=>_0x627b11[_0x36b3ec(0x21e)]());return this[_0x36b3ec(0x1a8)][_0x36b3ec(0x1af)](_0x4076dc);}[_0x568c1f(0x28c)](_0x25c0a4,_0x5b5af0){const _0x4f7efb=_0x568c1f;return this[_0x4f7efb(0x1a8)][_0x4f7efb(0x1ea)](_0x25c0a4)[_0x4f7efb(0x226)]((_0x4d0397,_0x48bbea)=>{const _0x462074=_0x4f7efb,_0x14899a=_0x462074(0x1fc)==_0x5b5af0[_0x48bbea][_0x462074(0x1b3)];if(_0x462074(0x1fb)==_0x4d0397[_0x462074(0x19f)]){const _0x266e64=_0x4d0397[_0x462074(0x27f)][_0x462074(0x194)];!this[_0x462074(0x240)][_0x462074(0x253)](_0x266e64)&&(this[_0x462074(0x240)][_0x462074(0x217)](_0x462074(0x21d),_0x266e64)[_0x462074(0x268)]=!0x1);}const _0x623273=_0x110c9d[_0x462074(0x1c2)](_0x4d0397,this[_0x462074(0x240)]);return _0x623273[_0x462074(0x1b9)]=_0x4d0397[_0x462074(0x1b9)],_0x623273[_0x462074(0x228)]=_0x14899a,_0x623273[_0x462074(0x1cc)]=_0x14899a?null:_0x5b5af0[_0x48bbea][_0x462074(0x259)],_0x623273[_0x462074(0x27d)]=_0x462074(0x1fa)===_0x5b5af0[_0x48bbea][_0x462074(0x1b3)],_0x623273[_0x462074(0x1d2)]=_0x5b5af0[_0x48bbea][_0x462074(0x1d2)],_0x623273;});}[_0x568c1f(0x244)](){const _0x3f60d7=_0x568c1f;this[_0x3f60d7(0x1e1)]=!0x0,this[_0x3f60d7(0x1ff)]()?this[_0x3f60d7(0x27a)]():this[_0x3f60d7(0x1e1)]=!0x1;}[_0x568c1f(0x1ff)](){const _0x362efe=_0x568c1f,_0x2520f0=this[_0x362efe(0x1c3)][_0x362efe(0x23e)][_0x362efe(0x19c)](_0x49efa1)[_0x362efe(0x234)][_0x362efe(0x19c)](this[_0x362efe(0x1ad)]);return!this[_0x362efe(0x1c3)][_0x362efe(0x222)]&&!!_0x2520f0&&_0x2520f0[_0x362efe(0x195)]>0x1&&this[_0x362efe(0x1e1)];}[_0x568c1f(0x271)](){const _0x4f3ecd=_0x568c1f;return this[_0x4f3ecd(0x192)][_0x4f3ecd(0x195)]>0x0||this[_0x4f3ecd(0x1ff)]();}}l[_0x568c1f(0x1ac)]=_0x5c8b32;export default l;function _0x263e(){const _0x16364b=['define','isReadOnly','_disconnectionOperations','_handleReconnectionResponse','directChange','map','disconnect','_isInit','sessionId','high','data','permissions','add','_lastSyncedOperationId','_ignoredOperations','_lastServerVersion','rtc-offline','change:hasDomSelection','enqueueChange','channelSessions','serverHistory','_operationToId','createRange','move','_compressOperations','cloud-services-internal-error:\x20Not\x20connected.','isDocumentOperation','slice','rootName','plugins','string','_document','_getAffectedRoot','stopListening','_handleSendingSelectionMarkers','_refreshUserSelectionMarkers','model','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient-init-non-existent-root','404','_addKnownRoot','requires','then','243493WCitpf','cloudDocumentVersion','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.','_setPendingAction','_crash','sessionAdd:','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','getRoot','lastDocumentSession','document','sendOperations','realtimecollaborationclient-init-document-already-initialized','_handleExternalOperations','userId','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','filter','getMany','_clearPendingAction','destroy','error','pluginName','path','currentDocumentSession','_disconnectService','_baseBufferDelay','message','offset','targetPosition','_isAttached','size','baseVersion','_bufferRootLoad','parse','_operationIdentifier','_currentBufferDelay','getDocumentDetails','connection','_shouldSendUpdate','_knownOperations','initData','lastOperationAcceptedAt','setIdForTheLastOperation','realtimecollaborationclient-initservice-internal-error','_hasSynchronizationProblem','cloudServices.bundleVersion','65LykkHn','_sendBufferedOperationsDelayed','addToReconnectionStack','_sendBufferedOperationsDelayId','_isDisconnection','_saveOperationInBuffer','position','round','config','locale','rtc-destroyed','version','_handleInitialConnectionData','createPositionAt','includes','return','_isLoaded','rootsAttributes','applyOperation','_decompressOperations','connect','enableReadOnlyMode','reconnection:\x20flushed\x20session','end','wereChangesApplied','_isEditingAllowed','Synchronization\x20issue','21HtwHjf','stop','_bufferedOperations','document:write','root','length','entries','RealTimeCollaborationClient','from','batch','addRoot','set','get','bind','_waitUntilSynced','__className','realtimecollaborationclient-init-connection-failed','sessionCreatedAt','getOperationAuthor','getUser','push','3168408vvmpCI','off','_service','_compressor','_offset','308869oSCyHK','real-time-collaboration','CollaborativeEditingService','_channelId','metadata','compress','_fetchMissingUsers','affectsData','_handleServerResponse','type','collaboration','getOperations','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','createPositionFromPath','2SEzkJD','wasUndone','newRange','collaboration.channelId','multi-root-editor-root-attributes-no-root','getConnectedSessions','_handleReconnectionError','attributes','_loadRoot','has','fromJSON','editor','disableReadOnlyMode','suppressErrorInCollaboration','addUser','CommentsOnly','unregister','fire','reconnect','roots','_authorId','addOperation','change:_isPendingUpdate','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','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.','finally','createdAt','state','affectedSelectable','keys','view','editing','912pehvWQ','marker','operationsReceived','Notification','getIdOfTheLastOperation','connected','lastOperationId','PENDING_ACTION_SENDING_DATA','1751034xmhbHg','_hasSelectionChanged','_connectService','63vbbyyW','catch','setPermissions','change:_isEditingAllowed','_connectAfterSessionHasBeenFlushed','change:range','clone','decompress','_isPendingUpdate','realtimecollaborationclient-init-session-connection-error','reset','remove','selection','realtimecollaborationclient-handleserverresponse','_handleReceivedOperations','1518140nDmuKK','ready','collaboration-missing-channelid','realtimecollaborationclient-sendbufferedoperations','history','_initThrowingOnDataSet','_pendingAction','Permissions','cs:removeUser','InsertOperation','init','lastSyncVersion','9265020nGIred','_shouldSendSelectionUpdate','startsWith','_updateServerHistory','markers','isEnabled','409','realtimecollaborationclient-initservice-incorrect-server-operation','91516DjzrLI','_getOperationsFromInitData','_knownRootNames','_setUpDataInit','addRootAttribute','code','createUserMarkerOperations','removeFromReconnectionStack','start','insert','isUndoneOperation','disconnected','register','listenTo','_initSessionsHandling','differ','mySessionId','createRoot','showWarning','_isConnected','forEach','_sendBufferedOperations','loadRoot','$root','toJSON','apply','_applyOperationsSet'];_0x263e=function(){return _0x16364b;};return _0x263e();}class J extends Error{}function Q(_0x19b15e,_0x1fa17b){const _0x29f6a9=_0x568c1f;for(const _0x598ce1 of _0x19b15e)_0x598ce1[_0x29f6a9(0x26a)]=_0x1fa17b++;}class X{constructor(_0x252630){const _0x5b2d71=_0x568c1f;this[_0x5b2d71(0x22f)]=_0x252630,this[_0x5b2d71(0x236)]=new WeakMap();}[_0x568c1f(0x1dc)](_0x3cfc58){const _0x4c0540=_0x568c1f;let _0x3eb639=_0x3cfc58[_0x4c0540(0x195)];for(;_0x3eb639--;){const _0x1bb92d=_0x3cfc58[_0x3eb639];if(!this[_0x4c0540(0x22f)][_0x4c0540(0x1c1)](_0x1bb92d)){if(!this[_0x4c0540(0x236)][_0x4c0540(0x1c1)](_0x1bb92d)){const _0x234ca9=_0x10dba0()[_0x4c0540(0x23c)](0x1,0x12);this[_0x4c0540(0x236)][_0x4c0540(0x19b)](_0x1bb92d,_0x234ca9);}return this[_0x4c0540(0x236)][_0x4c0540(0x19c)](_0x1bb92d);}}}[_0x568c1f(0x275)](_0x5da25f,_0x353187){const _0x29b284=_0x568c1f;if(!_0x353187)return;let _0x47c831=_0x5da25f[_0x29b284(0x195)];for(;_0x47c831--;){const _0x5e9e92=_0x5da25f[_0x47c831];this[_0x29b284(0x22f)][_0x29b284(0x1c1)](_0x5e9e92)||this[_0x29b284(0x236)][_0x29b284(0x19b)](_0x5e9e92,_0x353187);}}}
|
|
23
|
+
const _0x51a186=_0x399f;(function(_0x7c10c,_0x50e39c){const _0x415bbf=_0x399f,_0x53e3a6=_0x7c10c();while(!![]){try{const _0x119c30=parseInt(_0x415bbf(0x26e))/0x1+-parseInt(_0x415bbf(0x275))/0x2+parseInt(_0x415bbf(0x198))/0x3*(parseInt(_0x415bbf(0x215))/0x4)+-parseInt(_0x415bbf(0x1b4))/0x5*(-parseInt(_0x415bbf(0x1ac))/0x6)+parseInt(_0x415bbf(0x271))/0x7*(parseInt(_0x415bbf(0x27e))/0x8)+parseInt(_0x415bbf(0x228))/0x9*(parseInt(_0x415bbf(0x1f9))/0xa)+parseInt(_0x415bbf(0x1cb))/0xb*(-parseInt(_0x415bbf(0x1c0))/0xc);if(_0x119c30===_0x50e39c)break;else _0x53e3a6['push'](_0x53e3a6['shift']());}catch(_0x44a39a){_0x53e3a6['push'](_0x53e3a6['shift']());}}}(_0x3abc,0xe9a7c));import{Plugin as _0x1ad366,PendingActions as _0x558879}from'ckeditor5/src/core.js';import{CKEditorError as _0x41699e,version as _0x198047,uid as _0x199709}from'ckeditor5/src/utils.js';import{Notification as _0x5e1c44}from'ckeditor5/src/ui.js';function _0x399f(_0x48dd58,_0x17cabb){const _0x3abcf2=_0x3abc();return _0x399f=function(_0x399fdd,_0x5166e6){_0x399fdd=_0x399fdd-0x198;let _0x16d22d=_0x3abcf2[_0x399fdd];return _0x16d22d;},_0x399f(_0x48dd58,_0x17cabb);}import{transformSets as _0x546cdc,NoOperation as _0x182927,InsertOperation as _0x34caed,MarkerOperation as _0x56995f,RootAttributeOperation as _0xc13341,OperationFactory as _0x21ef6a,History as _0x2d82b9}from'ckeditor5/src/engine.js';import _0x39d755 from'./websocketgateway.js';import _0x5852c1 from'./sessions.js';import _0x341733 from'./usermarkers.js';import{getTranslation as _0x37dd30}from'../common-translations.js';import{Compressor as _0x44403a}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1ff20a}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x14df29,CollaborativeEditingService as _0x29f087}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x3abc(){const _0x35d1cc=['state','finally','sendOperations','_updateServerHistory','76ogxhJL','version','_service','register','end','$root','realtimecollaborationclient-initservice-incorrect-server-operation','message','CommentsOnly','_bufferedOperations','loadRoot','compress','path','operationsReceived','_setUpDataInit','document:write','add','_applyOperationsSet','init','12136239tucXEO','_connectService','addRoot','realtimecollaborationclient-handleserverresponse','createPositionFromPath','affectsData','getIdOfTheLastOperation','wasUndone','_fetchMissingUsers','model','_knownRootNames','has','rootName','cloudServices.bundleVersion','parse','_ignoredOperations','_baseBufferDelay','requires','marker','_handleSendingSelectionMarkers','_getAffectedRoot','applyOperation','_hasSynchronizationProblem','error','realtimecollaborationclient-sendbufferedoperations','plugins','document','get','map','newRange','disableReadOnlyMode','connection','_isEditingAllowed','unregister','fromJSON','reset','markers','rtc-destroyed','stopListening','change:_isPendingUpdate','push','collaboration','_shouldSendUpdate','createRange','enableReadOnlyMode','_clearPendingAction','setPermissions','off','_addKnownRoot','disconnect','Notification','_compressOperations','pluginName','disconnected','_isPendingUpdate','_operationToId','realtimecollaborationclient-init-document-already-initialized','initData','differ','roots','locale','string','remove','_handleExternalOperations','addOperation','stop','_authorId','change:range','lastOperationId','apply','1817357Bctpxa','change:_isEditingAllowed','offset','161PysvKp','_handleInitialConnectionData','code','rootsAttributes','2204756Purgxt','realtimecollaborationclient-init-non-existent-root','change:hasDomSelection','insert','bind','_refreshUserSelectionMarkers','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.','InsertOperation','_offset','634264cgnieT','targetPosition','catch','rtc-offline','_handleServerResponse','isDocumentOperation','realtimecollaborationclient-initservice-internal-error','PENDING_ACTION_SENDING_DATA','high','_setPendingAction','currentDocumentSession','_bufferRootLoad','_currentBufferDelay','cloud-services-internal-error:\x20Not\x20connected.','_isLoaded','_getOperationsFromInitData','_hasSelectionChanged','_lastServerVersion','_connectAfterSessionHasBeenFlushed','isEnabled','attributes','_sendBufferedOperationsDelayId','mySessionId','selection','channelSessions','baseVersion','_handleReconnectionResponse','_initSessionsHandling','CollaborativeEditingService','return','202623ERkgRe','_compressor','view','then','404','start','_loadRoot','sessionAdd:','_isAttached','wereChangesApplied','forEach','isUndoneOperation','createdAt','real-time-collaboration','history','getConnectedSessions','_initThrowingOnDataSet','isReadOnly','getOperations','userId','714234otUGGb','setIdForTheLastOperation','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','metadata','permissions','decompress','getRoot','connected','25ruzzFx','getMany','root','editor','reconnect','startsWith','position','length','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.','enqueueChange','_crash','createPositionAt','17364kZLFfy','showWarning','reconnection:\x20flushed\x20session','cs:removeUser','directChange','cloudDocumentVersion','_lastSyncedOperationId','data','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','lastDocumentSession','editing','36553fIFVVq','_handleReconnectionError','toJSON','sessionId','_operationIdentifier','ready','multi-root-editor-root-attributes-no-root','Synchronization\x20issue','filter','clone','realtimecollaborationclient-init-connection-failed','409','_isInit','_isDisconnection','destroy','serverHistory','getUser','fire','RealTimeCollaborationClient','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','set','removeFromReconnectionStack','_document','_pendingAction','_disconnectService','affectedSelectable','_waitUntilSynced','sessionCreatedAt','suppressErrorInCollaboration','round','lastSyncVersion','_decompressOperations','createUserMarkerOperations','getOperationAuthor','collaboration-missing-channelid','_shouldSendSelectionUpdate','type','_sendBufferedOperations','slice','listenTo','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_channelId','realtimecollaborationclient-init-session-connection-error','_sendBufferedOperationsDelayed','define','lastOperationAcceptedAt','10mUBMTF','addUser','_saveOperationInBuffer','move','_isConnected','Permissions','__className','addRootAttribute','from','addToReconnectionStack','_disconnectionOperations','config','_handleReceivedOperations','collaboration.channelId','createRoot','includes','connect','keys','entries','batch','_knownOperations','getDocumentDetails','cloud-services-internal-error:\x20Request\x20timeout.','size'];_0x3abc=function(){return _0x35d1cc;};return _0x3abc();}let K=0x1;class l extends _0x1ad366{static get[_0x51a186(0x239)](){return[_0x39d755,_0x5852c1,_0x341733,_0x558879,_0x1ff20a,_0x5e1c44];}static get[_0x51a186(0x25c)](){const _0x497b07=_0x51a186;return _0x497b07(0x1dd);}get[_0x51a186(0x1c5)](){const _0xc43413=_0x51a186;return this[_0xc43413(0x28f)]+this[_0xc43413(0x27d)];}get[_0x51a186(0x28f)](){const _0x231250=_0x51a186;return this[_0x231250(0x1da)][_0x231250(0x216)]-this[_0x231250(0x27d)];}get[_0x51a186(0x1e9)](){const _0x11d090=_0x51a186,_0x5d5103=this[_0x11d090(0x1da)][_0x11d090(0x1aa)]();for(let _0x3a6976=_0x5d5103[_0x11d090(0x1bb)]-0x1;_0x3a6976>=0x0;_0x3a6976--){const _0x2332a9=_0x5d5103[_0x3a6976];if(!this[_0x11d090(0x203)][_0x11d090(0x233)](_0x2332a9))return _0x2332a9[_0x11d090(0x297)]+0x1-this[_0x11d090(0x27d)];}return 0x0;}constructor(_0x4162a0){const _0x48ea37=_0x51a186;if(super(_0x4162a0),this[_0x48ea37(0x27d)]=0x0,this[_0x48ea37(0x1ce)]=null,this[_0x48ea37(0x1da)]=new _0x2d82b9(),this[_0x48ea37(0x1b7)][_0x48ea37(0x204)][_0x48ea37(0x1f7)](_0x48ea37(0x251),{}),this[_0x48ea37(0x1f4)]=this[_0x48ea37(0x1b7)][_0x48ea37(0x204)][_0x48ea37(0x243)](_0x48ea37(0x206)),!this[_0x48ea37(0x1f4)])throw new _0x41699e(_0x48ea37(0x1ed),this);const _0x4417e0=_0x4162a0[_0x48ea37(0x204)][_0x48ea37(0x243)](_0x48ea37(0x235))||_0x198047;this[_0x48ea37(0x217)]=new l[(_0x48ea37(0x29a))](_0x4417e0,this[_0x48ea37(0x1f4)]),this[_0x48ea37(0x1e1)]=this[_0x48ea37(0x1b7)][_0x48ea37(0x231)][_0x48ea37(0x242)],this[_0x48ea37(0x199)]=new _0x44403a(),this[_0x48ea37(0x21e)]=[],this[_0x48ea37(0x20d)]=new WeakSet(),this[_0x48ea37(0x232)]=new Set(),this[_0x48ea37(0x1df)](_0x48ea37(0x25e),!0x1),this[_0x48ea37(0x1df)](_0x48ea37(0x23e),!0x1),this[_0x48ea37(0x1e2)]=null,this[_0x48ea37(0x28e)]=!0x1,this[_0x48ea37(0x293)]=null,this[_0x48ea37(0x238)]=0x12c,this[_0x48ea37(0x28a)]=this[_0x48ea37(0x238)],this[_0x48ea37(0x1c6)]=null,this[_0x48ea37(0x203)]=new WeakSet(),this[_0x48ea37(0x1cf)]=new X(this[_0x48ea37(0x203)]);}[_0x51a186(0x227)](){const _0x163b79=_0x51a186,_0x26431a=this[_0x163b79(0x1b7)],_0x20fe03=_0x26431a[_0x163b79(0x241)][_0x163b79(0x243)](_0x1ff20a),_0x11dc06=_0x26431a[_0x163b79(0x241)][_0x163b79(0x243)](_0x39d755);this[_0x163b79(0x1f2)](_0x20fe03,_0x163b79(0x1ec),(_0x19fd45,_0x4c8f1d)=>{const _0x55ebba=_0x163b79,_0x55d2a6=_0x4c8f1d[0x0];_0x55d2a6[_0x55ebba(0x26a)]&&(_0x19fd45[_0x55ebba(0x29b)]=_0x20fe03[_0x55ebba(0x1db)](_0x55d2a6[_0x55ebba(0x26a)]),_0x19fd45[_0x55ebba(0x269)]()),null===_0x55d2a6[_0x55ebba(0x26a)]&&(_0x19fd45[_0x55ebba(0x29b)]=null,_0x19fd45[_0x55ebba(0x269)]());},{'priority':_0x163b79(0x286)}),this[_0x163b79(0x1f2)](_0x26431a[_0x163b79(0x231)][_0x163b79(0x242)][_0x163b79(0x295)],_0x163b79(0x26b),(_0x161bdb,_0x2d22d3)=>{const _0x569714=_0x163b79;_0x2d22d3[_0x569714(0x1c4)]&&this[_0x569714(0x27a)]();}),this[_0x163b79(0x1f2)](_0x26431a[_0x163b79(0x1ca)][_0x163b79(0x19a)],_0x163b79(0x277),()=>{const _0x427e37=_0x163b79;this[_0x427e37(0x27a)]();}),this[_0x163b79(0x1a8)](),_0x26431a[_0x163b79(0x231)]['on'](_0x163b79(0x23d),(_0x29daee,_0x423c4f)=>{const _0x3c1b86=_0x163b79,_0x26a47a=_0x423c4f[0x0];_0x26a47a[_0x3c1b86(0x283)]&&(this[_0x3c1b86(0x1fb)](_0x26a47a),this[_0x3c1b86(0x252)]()&&this[_0x3c1b86(0x1f6)]());}),this[_0x163b79(0x223)](),this[_0x163b79(0x279)](_0x163b79(0x248))['to'](_0x11dc06,_0x163b79(0x211),this,_0x163b79(0x23e),(_0x371e7f,_0x29177d)=>_0x163b79(0x1b3)===_0x371e7f&&!_0x29177d),this['on'](_0x163b79(0x26f),()=>{const _0x2fa799=_0x163b79;this[_0x2fa799(0x248)]?_0x26431a[_0x2fa799(0x246)](_0x2fa799(0x281)):_0x26431a[_0x2fa799(0x254)](_0x2fa799(0x281));}),this[_0x163b79(0x248)]?_0x26431a[_0x163b79(0x246)](_0x163b79(0x281)):_0x26431a[_0x163b79(0x254)](_0x163b79(0x281)),this[_0x163b79(0x1df)](_0x163b79(0x1fd),!0x1);}async[_0x51a186(0x1b8)](){const _0x3da00b=_0x51a186,_0x2eba86=this[_0x3da00b(0x1b7)][_0x3da00b(0x241)][_0x3da00b(0x243)](_0x5852c1),_0x27bbf5=this[_0x3da00b(0x1b7)][_0x3da00b(0x241)][_0x3da00b(0x243)](_0x39d755);try{this[_0x3da00b(0x25e)]=!0x0,_0x2eba86[_0x3da00b(0x249)](this[_0x3da00b(0x1f4)]);const _0x18dd68=await this[_0x3da00b(0x217)][_0x3da00b(0x1b8)](_0x27bbf5[_0x3da00b(0x247)],this[_0x3da00b(0x1e9)]);await this[_0x3da00b(0x298)](_0x18dd68)&&(this[_0x3da00b(0x25e)]=!0x1,this[_0x3da00b(0x255)]());const _0x3974a6=await this[_0x3da00b(0x217)][_0x3da00b(0x1a7)]();_0x2eba86[_0x3da00b(0x218)](this[_0x3da00b(0x1f4)],_0x3974a6),this[_0x3da00b(0x23b)](),this[_0x3da00b(0x1fd)]=!0x0;}catch(_0x419d2f){if(function(_0x159a44){const _0x568737=_0x3da00b;return _0x568737(0x19c)===_0x159a44[_0x568737(0x273)];}(_0x419d2f)&&this[_0x3da00b(0x1ce)])await this[_0x3da00b(0x290)]();else{if(function(_0x446f10){const _0x34b8be=_0x3da00b;return _0x34b8be(0x1d6)===_0x446f10[_0x34b8be(0x273)];}(_0x419d2f)){const _0x28fb7e=_0x37dd30(this[_0x3da00b(0x1b7)][_0x3da00b(0x264)],_0x3da00b(0x1f3));this[_0x3da00b(0x1cc)](_0x28fb7e);}else{if(!(_0x419d2f instanceof J))throw _0x419d2f;this[_0x3da00b(0x1cc)]();}}}}[_0x51a186(0x1d9)](){const _0x5c1b4d=_0x51a186,_0x328948=this[_0x5c1b4d(0x1b7)][_0x5c1b4d(0x241)][_0x5c1b4d(0x243)](_0x39d755),_0x4d4b4e=this[_0x5c1b4d(0x1b7)][_0x5c1b4d(0x241)][_0x5c1b4d(0x243)](_0x5852c1);this[_0x5c1b4d(0x1b7)][_0x5c1b4d(0x254)](_0x5c1b4d(0x24d)),_0x4d4b4e[_0x5c1b4d(0x296)][_0x5c1b4d(0x233)](this[_0x5c1b4d(0x1f4)])&&_0x4d4b4e[_0x5c1b4d(0x249)](this[_0x5c1b4d(0x1f4)]),_0x328948[_0x5c1b4d(0x1e0)](this),this[_0x5c1b4d(0x1e3)](),super[_0x5c1b4d(0x1d9)]();}async[_0x51a186(0x298)](_0x5de484){const _0xdbf848=_0x51a186;if(this[_0xdbf848(0x1ce)]!==_0x5de484[_0xdbf848(0x1ce)]&&this[_0xdbf848(0x1c6)]!==_0x5de484[_0xdbf848(0x26c)])throw new J();return this[_0xdbf848(0x1ce)]=_0x5de484[_0xdbf848(0x1ce)],this[_0xdbf848(0x282)]([],{..._0x5de484,'wereChangesApplied':!0x1,'data':_0x5de484[_0xdbf848(0x1c7)]},_0xdbf848(0x1b8));}async[_0x51a186(0x229)](_0x3bc90d,_0x89137f=!0x1){const _0x5c1767=_0x51a186,{connection:_0x59a365}=this[_0x5c1767(0x1b7)][_0x5c1767(0x241)][_0x5c1767(0x243)](_0x39d755);l[_0x5c1767(0x29a)][_0x5c1767(0x1a7)](_0x59a365,this[_0x5c1767(0x1f4)])[_0x5c1767(0x19b)](_0x1baac8=>this[_0x5c1767(0x299)](_0x1baac8))[_0x5c1767(0x280)](_0x4b6657=>{const _0x5e5726=_0x5c1767;this[_0x5e5726(0x1be)](_0x5e5726(0x1f5),_0x4b6657);}),this[_0x5c1767(0x1f2)](this[_0x5c1767(0x217)],_0x5c1767(0x222),this[_0x5c1767(0x205)][_0x5c1767(0x279)](this)),this[_0x5c1767(0x1f2)](this[_0x5c1767(0x217)],_0x5c1767(0x23f),(_0x2aeeab,_0x31c1d2)=>{const _0x4915e5=_0x5c1767;this[_0x4915e5(0x1be)](_0x4915e5(0x284),_0x31c1d2);}),this[_0x5c1767(0x1f2)](this[_0x5c1767(0x217)],_0x5c1767(0x25d),()=>{const _0x1cc81b=_0x5c1767;this[_0x1cc81b(0x1fd)]=!0x1;});const _0xaf9df2=this[_0x5c1767(0x1cf)][_0x5c1767(0x22e)](_0x3bc90d);this[_0x5c1767(0x25e)]=!0x0;const _0xa65821=await this[_0x5c1767(0x217)][_0x5c1767(0x209)](_0x59a365,this[_0x5c1767(0x25b)](_0x3bc90d),_0xaf9df2);if(this[_0x5c1767(0x1ce)]=_0xa65821[_0x5c1767(0x1ce)],_0x89137f){if(!_0xa65821[_0x5c1767(0x1a1)])return void this[_0x5c1767(0x1cc)]();this[_0x5c1767(0x25e)]=!0x1,this[_0x5c1767(0x255)](),this[_0x5c1767(0x1da)][_0x5c1767(0x24b)](),this[_0x5c1767(0x27d)]=_0xa65821[_0x5c1767(0x270)],this[_0x5c1767(0x1da)][_0x5c1767(0x216)]=this[_0x5c1767(0x27d)],await this[_0x5c1767(0x282)](_0x3bc90d,_0xa65821,_0x5c1767(0x1c2));}else await this[_0x5c1767(0x272)](_0xa65821,_0x3bc90d);this[_0x5c1767(0x23b)](),this[_0x5c1767(0x1fd)]=!0x0;}[_0x51a186(0x23b)](){const _0x1f4774=_0x51a186,_0x5cbcdc=this[_0x1f4774(0x1b7)][_0x1f4774(0x241)][_0x1f4774(0x243)](_0x5852c1),_0x4efb94=this[_0x1f4774(0x1b7)][_0x1f4774(0x241)][_0x1f4774(0x243)](_0x341733),_0x2cc569=_0x5cbcdc[_0x1f4774(0x296)][_0x1f4774(0x243)](this[_0x1f4774(0x1f4)]);_0x2cc569&&_0x2cc569[_0x1f4774(0x1bb)]>0x1?_0x4efb94[_0x1f4774(0x1eb)]():this[_0x1f4774(0x1f2)](_0x5cbcdc,_0x1f4774(0x19f)+this[_0x1f4774(0x1f4)],()=>{const _0x4f3ebb=_0x1f4774;0x2===_0x5cbcdc[_0x4f3ebb(0x296)][_0x4f3ebb(0x243)](this[_0x4f3ebb(0x1f4)])[_0x4f3ebb(0x1bb)]&&_0x4efb94[_0x4f3ebb(0x1eb)]();});}async[_0x51a186(0x205)](_0x1adb3d,_0x28d82a,_0x280b3c,_0x63627){const _0x32e95e=_0x51a186;if(!this[_0x32e95e(0x25e)]&&this[_0x32e95e(0x1e1)][_0x32e95e(0x216)]==_0x28d82a){const _0x2c1d4d=this[_0x32e95e(0x1ea)](_0x280b3c,_0x63627);await this[_0x32e95e(0x230)](_0x2c1d4d),this[_0x32e95e(0x267)](_0x2c1d4d,_0x28d82a,_0x280b3c[_0x32e95e(0x26c)])||this[_0x32e95e(0x1be)](_0x32e95e(0x21b));}}async[_0x51a186(0x290)](){const _0xeec2ab=_0x51a186;this[_0xeec2ab(0x1e3)]();const {locale:_0x3ca47}=this[_0xeec2ab(0x1b7)];let _0x286b74;try{_0x286b74=await this[_0xeec2ab(0x217)][_0xeec2ab(0x20e)]();}catch(_0x448cf1){const _0x52183f=_0x37dd30(_0x3ca47,_0xeec2ab(0x1ae));return void this[_0xeec2ab(0x1cc)](_0x52183f);}const _0x419ea0=_0x286b74[_0xeec2ab(0x288)]||_0x286b74[_0xeec2ab(0x1c9)];if(this[_0xeec2ab(0x1c6)]===_0x419ea0[_0xeec2ab(0x26c)])await this[_0xeec2ab(0x229)](this[_0xeec2ab(0x1b7)][_0xeec2ab(0x231)][_0xeec2ab(0x242)][_0xeec2ab(0x1a6)][_0xeec2ab(0x1aa)](),!0x0);else{const _0xab586e=_0x37dd30(_0x3ca47,_0xeec2ab(0x1bc));this[_0xeec2ab(0x1cc)](_0xab586e);}}[_0x51a186(0x1e3)](){const _0x1d82f9=_0x51a186;this[_0x1d82f9(0x217)][_0x1d82f9(0x259)](),this[_0x1d82f9(0x21e)]=[],clearTimeout(this[_0x1d82f9(0x293)]),this[_0x1d82f9(0x24e)](this[_0x1d82f9(0x217)]);}[_0x51a186(0x299)](_0x21b5ad){const _0x21b92c=_0x51a186,_0x11fa5b=this[_0x21b92c(0x1b7)][_0x21b92c(0x241)][_0x21b92c(0x243)](_0x5852c1);this[_0x21b92c(0x1f2)](_0x11fa5b,_0x21b92c(0x19f)+this[_0x21b92c(0x1f4)],(_0x2fa6c2,{session:_0x51fdff})=>{const _0x56d30c=_0x21b92c;if(_0x51fdff['id']===_0x11fa5b[_0x56d30c(0x294)]){_0x2fa6c2[_0x56d30c(0x257)]();const _0x5cb741=this[_0x56d30c(0x1b7)][_0x56d30c(0x241)][_0x56d30c(0x233)](_0x56d30c(0x21d))&&this[_0x56d30c(0x1b7)][_0x56d30c(0x241)][_0x56d30c(0x243)](_0x56d30c(0x21d));let _0x5e66e6=_0x51fdff[_0x56d30c(0x1b0)];_0x5cb741&&_0x5cb741[_0x56d30c(0x291)]&&(_0x5e66e6=_0x5e66e6[_0x56d30c(0x1d3)](_0x161199=>_0x56d30c(0x224)!==_0x161199)),this[_0x56d30c(0x1b7)][_0x56d30c(0x241)][_0x56d30c(0x243)](_0x56d30c(0x1fe))[_0x56d30c(0x256)](_0x5e66e6,this[_0x56d30c(0x1f4)]);}}),_0x11fa5b[_0x21b92c(0x218)](this[_0x21b92c(0x1f4)],_0x21b5ad);}[_0x51a186(0x1a8)](){const _0x3693ce=_0x51a186,_0x33f192=this[_0x3693ce(0x1b7)][_0x3693ce(0x1c7)][_0x3693ce(0x1df)];this[_0x3693ce(0x1b7)][_0x3693ce(0x1c7)][_0x3693ce(0x1df)]=(..._0x30850f)=>{const _0xc4b25d=_0x3693ce;if(!_0x30850f[_0x30850f[_0xc4b25d(0x1bb)]-0x1][_0xc4b25d(0x1e7)])throw new _0x41699e(_0xc4b25d(0x1c8),this);_0x33f192[_0xc4b25d(0x26d)](this[_0xc4b25d(0x1b7)][_0xc4b25d(0x1c7)],_0x30850f);};}[_0x51a186(0x223)](){const _0x20c4e0=_0x51a186;this[_0x20c4e0(0x1b7)][_0x20c4e0(0x1c7)]['on'](_0x20c4e0(0x227),(_0x2d1c50,[_0x18a1c7])=>{const _0x4870cf=_0x20c4e0;if(this[_0x4870cf(0x1e1)][_0x4870cf(0x216)])throw new _0x41699e(_0x4870cf(0x260),this);_0x2d1c50[_0x4870cf(0x269)](),this[_0x4870cf(0x287)]();const _0x8ce0b2=this[_0x4870cf(0x1b7)][_0x4870cf(0x204)][_0x4870cf(0x243)](_0x4870cf(0x274)),_0x3ee864=this[_0x4870cf(0x28d)](_0x18a1c7,_0x8ce0b2);0x0==_0x3ee864[_0x4870cf(0x1bb)]&&_0x3ee864[_0x4870cf(0x250)](new _0x182927(0x0)),_0x2d1c50[_0x4870cf(0x29b)]=this[_0x4870cf(0x229)](_0x3ee864)[_0x4870cf(0x19b)](()=>{const _0x556060=_0x4870cf;this[_0x556060(0x1b7)][_0x556060(0x241)][_0x556060(0x243)](_0x39d755)[_0x556060(0x202)](this),this[_0x556060(0x1b7)][_0x556060(0x1c7)][_0x556060(0x1dc)](_0x556060(0x1d0));})[_0x4870cf(0x280)](_0x364e65=>this[_0x4870cf(0x1be)](_0x4870cf(0x1d5),_0x364e65))[_0x4870cf(0x212)](()=>this[_0x4870cf(0x255)]());},{'priority':_0x20c4e0(0x286)}),this[_0x20c4e0(0x1b7)]['on'](_0x20c4e0(0x21f),async(_0x45dee3,[_0x48e494,_0x3c29a1])=>{const _0x2cd297=_0x20c4e0;_0x45dee3[_0x2cd297(0x269)]();const _0x39d0d8=this[_0x2cd297(0x1b7)][_0x2cd297(0x231)][_0x2cd297(0x242)][_0x2cd297(0x1b2)](_0x48e494);if(!this[_0x2cd297(0x232)][_0x2cd297(0x233)](_0x48e494)){const _0x643272=_0x3c29a1&&_0x3c29a1[_0x2cd297(0x1c7)]?_0x3c29a1[_0x2cd297(0x1c7)]:'',_0x1e7894=_0x3c29a1&&_0x3c29a1[_0x2cd297(0x292)]?_0x3c29a1[_0x2cd297(0x292)]:{};await this[_0x2cd297(0x19e)](_0x48e494,_0x643272,_0x1e7894);}this[_0x2cd297(0x1b7)][_0x2cd297(0x231)][_0x2cd297(0x1bd)]({'isUndoable':!0x1},()=>{const _0x5d91ef=_0x2cd297;_0x39d0d8[_0x5d91ef(0x28c)]=!0x0,this[_0x5d91ef(0x1b7)][_0x5d91ef(0x231)][_0x5d91ef(0x242)][_0x5d91ef(0x262)][_0x5d91ef(0x289)](_0x39d0d8);});},{'priority':_0x20c4e0(0x286)});}async[_0x51a186(0x230)](_0x357e64){const _0x367f2c=_0x51a186,_0x256f77=this[_0x367f2c(0x1b7)][_0x367f2c(0x241)][_0x367f2c(0x243)](_0x1ff20a),{connection:_0x44a2c4}=this[_0x367f2c(0x1b7)][_0x367f2c(0x241)][_0x367f2c(0x243)](_0x39d755),_0x3f94db=new Set();for(const _0x135b3b of _0x357e64){const _0x5a67a7=_0x135b3b[_0x367f2c(0x26a)];_0x5a67a7&&!_0x256f77[_0x367f2c(0x1db)](_0x5a67a7)&&_0x3f94db[_0x367f2c(0x225)](_0x5a67a7);}if(0x0===_0x3f94db[_0x367f2c(0x210)])return;const _0x235549=await _0x14df29[_0x367f2c(0x1b5)](_0x44a2c4,Array[_0x367f2c(0x201)](_0x3f94db));for(const _0x53a835 of _0x235549)_0x256f77[_0x367f2c(0x1db)](_0x53a835['id'])||_0x256f77[_0x367f2c(0x1fa)](_0x53a835);}[_0x51a186(0x28d)](_0x314630,_0x5d96c7={}){const _0x129554=_0x51a186,_0x20dd14=this[_0x129554(0x1b7)][_0x129554(0x231)],_0x1f107a=[];let _0x1b5d02=0x0;const _0x88d8e9=_0x129554(0x265)==typeof _0x314630?{'main':_0x314630}:_0x314630;for(const _0x22cead of Object[_0x129554(0x20a)](_0x88d8e9)){if(!this[_0x129554(0x1e1)][_0x129554(0x263)][_0x129554(0x233)](_0x22cead))throw new _0x41699e(_0x129554(0x276),this);const _0x3fcd39=this[_0x129554(0x1b7)][_0x129554(0x1c7)][_0x129554(0x236)](_0x88d8e9[_0x22cead]),_0x3d0916=this[_0x129554(0x1e1)][_0x129554(0x1b2)](_0x22cead),_0x15be09=new _0x34caed(_0x20dd14[_0x129554(0x1bf)](_0x3d0916,0x0),_0x3fcd39,_0x1b5d02++);_0x1f107a[_0x129554(0x250)](_0x15be09);for(const [_0x50f721,_0x141412]of _0x3fcd39[_0x129554(0x24c)]){const _0x277664=_0x20dd14[_0x129554(0x253)](_0x20dd14[_0x129554(0x22c)](_0x3d0916,_0x141412[_0x129554(0x19d)][_0x129554(0x221)][_0x129554(0x1f1)]()),_0x20dd14[_0x129554(0x22c)](_0x3d0916,_0x141412[_0x129554(0x219)][_0x129554(0x221)][_0x129554(0x1f1)]())),_0x50d1c1=new _0x56995f(_0x50f721,null,_0x277664,_0x20dd14[_0x129554(0x24c)],!0x0,_0x1b5d02++);_0x1f107a[_0x129554(0x250)](_0x50d1c1);}}if(_0x5d96c7)for(const [_0x1d7c22,_0x4d5157]of Object[_0x129554(0x20b)](_0x5d96c7)){const _0x1fe2f1=_0x20dd14[_0x129554(0x242)][_0x129554(0x1b2)](_0x1d7c22);if(!_0x1fe2f1)throw new _0x41699e(_0x129554(0x1d1),null);for(const [_0x57d990,_0x6b4ba6]of Object[_0x129554(0x20b)](_0x4d5157))if(null!==_0x6b4ba6){const _0x3e7e21=new _0xc13341(_0x1fe2f1,_0x57d990,null,_0x6b4ba6,_0x1b5d02++);_0x1f107a[_0x129554(0x250)](_0x3e7e21);}}return _0x1f107a;}async[_0x51a186(0x19e)](_0x32fbe1,_0x44f16d,_0x26ee23){const _0x4e3be0=_0x51a186;this[_0x4e3be0(0x28d)]({[_0x32fbe1]:_0x44f16d},{[_0x32fbe1]:_0x26ee23})[_0x4e3be0(0x1a2)]((_0x1d146b,_0x53316b)=>{const _0x1144ed=_0x4e3be0;_0x1d146b[_0x1144ed(0x297)]=this[_0x1144ed(0x1e1)][_0x1144ed(0x216)]+_0x53316b,_0x1d146b[_0x1144ed(0x1d7)]=!0x0,this[_0x1144ed(0x1fb)](_0x1d146b);}),this[_0x4e3be0(0x1f6)](),await this[_0x4e3be0(0x1e5)]();}async[_0x51a186(0x272)](_0xac6fff,_0x453422){const _0x46c228=_0x51a186;let _0x42e62c;this[_0x46c228(0x27d)]=_0xac6fff[_0x46c228(0x270)];const _0x11082f=_0xac6fff[_0x46c228(0x1a1)]&&!_0xac6fff[_0x46c228(0x261)],_0x10575b=_0x11082f?0x0:_0xac6fff[_0x46c228(0x1c7)][_0x46c228(0x297)];if(_0x453422[_0x46c228(0x1a2)](_0xcfce5a=>{const _0x25db70=_0x46c228;_0xcfce5a[_0x25db70(0x1d7)]=!0x0,_0xcfce5a[_0x25db70(0x1a4)]=_0xac6fff[_0x25db70(0x1e6)],_0xcfce5a[_0x25db70(0x26a)]=null;}),_0x11082f)_0x42e62c=_0x453422,this[_0x46c228(0x226)](_0x42e62c,_0x11082f);else{if(_0xac6fff[_0x46c228(0x261)]){const _0x1cce1e=this[_0x46c228(0x28d)](_0xac6fff[_0x46c228(0x261)]);this[_0x46c228(0x1e1)][_0x46c228(0x1a6)][_0x46c228(0x216)]=-_0x1cce1e[_0x46c228(0x1bb)],_0x1cce1e[_0x46c228(0x1a2)](_0x117c1b=>{const _0x3e1843=_0x46c228;_0x117c1b[_0x3e1843(0x297)]-=_0x1cce1e[_0x3e1843(0x1bb)],_0x117c1b[_0x3e1843(0x1a4)]=_0xac6fff[_0x3e1843(0x1e6)],_0x117c1b[_0x3e1843(0x1d7)]=!0x0,_0x117c1b[_0x3e1843(0x26a)]=null;}),this[_0x46c228(0x226)](_0x1cce1e,!0x0),this[_0x46c228(0x1da)][_0x46c228(0x216)]=-_0x1cce1e[_0x46c228(0x1bb)]+this[_0x46c228(0x27d)],this[_0x46c228(0x214)](_0x1cce1e);}this[_0x46c228(0x1e1)][_0x46c228(0x1a6)][_0x46c228(0x216)]=_0x10575b,_0x42e62c=this[_0x46c228(0x1ea)](_0xac6fff[_0x46c228(0x1c7)],_0xac6fff[_0x46c228(0x1af)]),await this[_0x46c228(0x230)](_0x42e62c),this[_0x46c228(0x226)](_0x42e62c,_0x11082f);}_0xac6fff[_0x46c228(0x26c)]&&(this[_0x46c228(0x1cf)][_0x46c228(0x1ad)](_0x42e62c,_0xac6fff[_0x46c228(0x26c)]),this[_0x46c228(0x1c6)]=_0xac6fff[_0x46c228(0x26c)]),this[_0x46c228(0x1da)][_0x46c228(0x216)]=_0x10575b+this[_0x46c228(0x27d)],this[_0x46c228(0x214)](_0x42e62c),_0x453422[_0x46c228(0x1d3)](_0x1bb8f9=>{const _0x44552b=_0x46c228,_0x599d21=this[_0x44552b(0x23c)](_0x1bb8f9);return _0x599d21&&!this[_0x44552b(0x232)][_0x44552b(0x233)](_0x599d21);})[_0x46c228(0x1a2)]((_0x11dbf8,_0x4b2366)=>{const _0x1b6961=_0x46c228;_0x11dbf8[_0x1b6961(0x297)]=this[_0x1b6961(0x1e1)][_0x1b6961(0x216)]+_0x4b2366,this[_0x1b6961(0x1fb)](_0x11dbf8);}),this[_0x46c228(0x252)]()?(this[_0x46c228(0x28a)]=0x0,this[_0x46c228(0x1f6)](!0x0),await this[_0x46c228(0x1e5)]()):(this[_0x46c228(0x25e)]=!0x1,this[_0x46c228(0x255)]());}[_0x51a186(0x1be)](_0x1eb1f4,_0x464637){const _0x691d5a=_0x51a186;throw this[_0x691d5a(0x25e)]=!0x0,_0x464637&&console[_0x691d5a(0x23f)](_0x464637),new _0x41699e(_0x1eb1f4,this[_0x691d5a(0x1b7)]);}[_0x51a186(0x1fb)](_0x496afb){const _0x4499af=_0x51a186;this[_0x4499af(0x20d)][_0x4499af(0x233)](_0x496afb)||(this[_0x4499af(0x20d)][_0x4499af(0x225)](_0x496afb),this[_0x4499af(0x21e)][_0x4499af(0x250)](_0x496afb),this[_0x4499af(0x1e2)]||_0x4499af(0x23a)==_0x496afb[_0x4499af(0x1ef)]&&!_0x496afb[_0x4499af(0x22d)]||this[_0x4499af(0x287)]());}[_0x51a186(0x1f6)](_0x523f41=!0x1){const _0x34e81a=_0x51a186;!_0x523f41&&this[_0x34e81a(0x25e)]||(this[_0x34e81a(0x25e)]=!0x0,clearTimeout(this[_0x34e81a(0x293)]),this[_0x34e81a(0x293)]=setTimeout(()=>{const _0x4f5a30=_0x34e81a;this[_0x4f5a30(0x1f0)]()[_0x4f5a30(0x19b)](_0x1cc767=>{const _0xff33b0=_0x4f5a30;_0x1cc767&&(this[_0xff33b0(0x255)](),this[_0xff33b0(0x25e)]=!0x1);})[_0x4f5a30(0x280)](_0xb5f351=>{const _0xca101f=_0x4f5a30;if(this[_0xca101f(0x255)](),this[_0xca101f(0x25e)]=!0x1,!function(_0x494cc9){const _0x17ddd0=_0xca101f;return _0x494cc9[_0x17ddd0(0x21c)][_0x17ddd0(0x1b9)](_0x17ddd0(0x28b))||_0x494cc9[_0x17ddd0(0x21c)][_0x17ddd0(0x1b9)](_0x17ddd0(0x1de))||_0x494cc9[_0x17ddd0(0x21c)][_0x17ddd0(0x1b9)](_0x17ddd0(0x20f));}(_0xb5f351))throw _0xb5f351;});},this[_0x34e81a(0x28a)]));}[_0x51a186(0x1e5)](){return new Promise(_0x5e336f=>{const _0x6df09=_0x399f;this['on'](_0x6df09(0x24f),()=>{_0x5e336f();});});}async[_0x51a186(0x1f0)](){const _0x2ed5c9=_0x51a186,_0x192dc2=this[_0x2ed5c9(0x1b7)][_0x2ed5c9(0x241)][_0x2ed5c9(0x243)](_0x341733);if(this[_0x2ed5c9(0x1ee)]()&&(_0x192dc2[_0x2ed5c9(0x1eb)](),this[_0x2ed5c9(0x28e)]=!0x1),!this[_0x2ed5c9(0x252)]())return!0x0;const _0x3b1852=[...this[_0x2ed5c9(0x21e)]];for(const _0x226649 of _0x3b1852)_0x226649[_0x2ed5c9(0x22f)]=this[_0x2ed5c9(0x1e1)][_0x2ed5c9(0x1a6)][_0x2ed5c9(0x1a3)](_0x226649);const _0x1c756b=this[_0x2ed5c9(0x1cf)][_0x2ed5c9(0x22e)](_0x3b1852),_0x4fd6ad=K++,_0x6ddee3=this[_0x2ed5c9(0x25b)](_0x3b1852),_0x38c895=await this[_0x2ed5c9(0x217)][_0x2ed5c9(0x213)](_0x6ddee3,_0x6ddee3[_0x2ed5c9(0x297)],_0x1c756b);try{return await this[_0x2ed5c9(0x282)](_0x3b1852,_0x38c895,_0x4fd6ad);}catch(_0x3acb6c){return this[_0x2ed5c9(0x1be)](_0x2ed5c9(0x240),_0x3acb6c);}}async[_0x51a186(0x282)](_0xc323da,_0x18d6bf,_0x4d6c0e){const _0x59b4a0=_0x51a186;if(_0x59b4a0(0x23f)in _0x18d6bf)throw _0x18d6bf[_0x59b4a0(0x23f)];let _0x5cf746=!0x1;if(_0x18d6bf[_0x59b4a0(0x1a1)]){_0x18d6bf[_0x59b4a0(0x26c)]&&(this[_0x59b4a0(0x1c6)]=_0x18d6bf[_0x59b4a0(0x26c)]),this[_0x59b4a0(0x21e)]=this[_0x59b4a0(0x21e)][_0x59b4a0(0x1d3)](_0x41da10=>!_0xc323da[_0x59b4a0(0x208)](_0x41da10));for(const _0xd9238 of _0xc323da)_0xd9238[_0x59b4a0(0x1a4)]=_0x59b4a0(0x1f8)in _0x18d6bf&&_0x18d6bf[_0x59b4a0(0x1f8)]||void 0x0;Q(_0xc323da,_0x18d6bf[_0x59b4a0(0x216)]-_0xc323da[_0x59b4a0(0x1bb)]),this[_0x59b4a0(0x214)](_0xc323da);const _0x21adaf=_0xc323da[_0x59b4a0(0x1d3)](_0x58e47a=>{const _0x293051=_0x59b4a0;if(!_0x58e47a[_0x293051(0x1d7)])return!0x1;const _0x2ea427=this[_0x293051(0x23c)](_0x58e47a);return _0x2ea427&&!this[_0x293051(0x232)][_0x293051(0x233)](_0x2ea427);});Q(_0x21adaf,this[_0x59b4a0(0x1e1)][_0x59b4a0(0x216)]),this[_0x59b4a0(0x226)](_0x21adaf),_0x5cf746=!0x0,this[_0x59b4a0(0x28a)]=this[_0x59b4a0(0x238)];}else{const _0x3ffecf=this[_0x59b4a0(0x1ea)](_0x18d6bf[_0x59b4a0(0x1c7)],_0x18d6bf[_0x59b4a0(0x1af)])[_0x59b4a0(0x1d3)](_0x217f5e=>_0x217f5e[_0x59b4a0(0x297)]>=this[_0x59b4a0(0x28f)]);_0x3ffecf[_0x59b4a0(0x1a2)](_0x305fa7=>this[_0x59b4a0(0x258)](_0x305fa7)),this[_0x59b4a0(0x21e)]=this[_0x59b4a0(0x21e)][_0x59b4a0(0x1d3)](_0x351777=>!_0x351777[_0x59b4a0(0x1d7)]||!this[_0x59b4a0(0x232)][_0x59b4a0(0x233)](this[_0x59b4a0(0x23c)](_0x351777))),this[_0x59b4a0(0x21e)][_0x59b4a0(0x1bb)]&&Q(this[_0x59b4a0(0x21e)],this[_0x59b4a0(0x21e)][0x0][_0x59b4a0(0x297)]),await this[_0x59b4a0(0x230)](_0x3ffecf),_0x5cf746=this[_0x59b4a0(0x267)](_0x3ffecf,_0x18d6bf[_0x59b4a0(0x216)],_0x18d6bf[_0x59b4a0(0x26c)]),this[_0x59b4a0(0x28a)]=Math[_0x59b4a0(0x1e8)](this[_0x59b4a0(0x28a)]/0x2);}return _0x5cf746?!this[_0x59b4a0(0x252)]()||(this[_0x59b4a0(0x1f6)](!0x0),!0x1):this[_0x59b4a0(0x1be)](_0x59b4a0(0x22b));}[_0x51a186(0x267)](_0x2bf717,_0x480825,_0x502324){const _0x352d2e=_0x51a186;try{const _0x18c88b={'document':this[_0x352d2e(0x1e1)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5718d7,operationsB:_0x51d6c7,originalOperations:_0x3b489b}=_0x546cdc(_0x2bf717,this[_0x352d2e(0x21e)],_0x18c88b);Q(_0x5718d7,this[_0x352d2e(0x1e1)][_0x352d2e(0x216)]),Q(_0x51d6c7,_0x480825);for(const _0x1b7a95 of _0x5718d7){const _0x22e9e4=_0x3b489b[_0x352d2e(0x243)](_0x1b7a95);_0x1b7a95[_0x352d2e(0x26a)]=_0x22e9e4?_0x22e9e4[_0x352d2e(0x26a)]:null;}_0x502324&&(this[_0x352d2e(0x1cf)][_0x352d2e(0x1ad)](_0x2bf717,_0x502324),this[_0x352d2e(0x1c6)]=_0x502324),this[_0x352d2e(0x21e)]=[..._0x51d6c7],this[_0x352d2e(0x226)](_0x5718d7),this[_0x352d2e(0x214)](_0x2bf717);}catch(_0x2682cc){return console[_0x352d2e(0x23f)](_0x2682cc),!0x1;}return!0x0;}[_0x51a186(0x226)](_0x1820a9,_0x4daa6a=!0x1){const _0x105081=_0x51a186;this[_0x105081(0x1b7)][_0x105081(0x231)][_0x105081(0x1bd)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4f0c31=>{const _0x45011c=_0x105081;for(const _0x140069 of _0x1820a9)this[_0x45011c(0x20d)][_0x45011c(0x225)](_0x140069),this[_0x45011c(0x258)](_0x140069),_0x4f0c31[_0x45011c(0x20c)][_0x45011c(0x268)](_0x140069),this[_0x45011c(0x1b7)][_0x45011c(0x231)][_0x45011c(0x23d)](_0x140069);});}[_0x51a186(0x258)](_0x11b6bd){const _0x52797c=_0x51a186,_0x2a5836=this[_0x52797c(0x23c)](_0x11b6bd);_0x2a5836&&this[_0x52797c(0x232)][_0x52797c(0x225)](_0x2a5836);}[_0x51a186(0x23c)](_0x4d24fe){const _0x2798f5=_0x51a186;let _0x5266bb,_0x54f80b;switch(_0x4d24fe[_0x2798f5(0x1ef)]){case _0x2798f5(0x278):_0x5266bb=_0x4d24fe[_0x2798f5(0x1ba)][_0x2798f5(0x1b6)];break;case _0x2798f5(0x23a):if(_0x54f80b=_0x4d24fe[_0x2798f5(0x245)],!_0x54f80b)return null;_0x5266bb=_0x54f80b[_0x2798f5(0x1b6)];break;case _0x2798f5(0x200):_0x5266bb=_0x4d24fe[_0x2798f5(0x1b6)];break;case _0x2798f5(0x22a):_0x5266bb=_0x4d24fe[_0x2798f5(0x1e4)];break;case _0x2798f5(0x1fc):_0x5266bb=_0x4d24fe[_0x2798f5(0x27f)][_0x2798f5(0x1b6)];break;default:return null;}return _0x5266bb[_0x2798f5(0x234)];}[_0x51a186(0x214)](_0xfd08bc){const _0xa2a7c7=_0x51a186;_0xfd08bc[_0xa2a7c7(0x1a2)](_0x12b337=>{const _0x5840c0=_0xa2a7c7,_0x369fc0=_0x12b337[_0x5840c0(0x1d4)]();_0x369fc0[_0x5840c0(0x26a)]=_0x12b337[_0x5840c0(0x26a)],_0x369fc0[_0x5840c0(0x1d7)]=!!_0x12b337[_0x5840c0(0x1d7)],_0x369fc0[_0x5840c0(0x1a4)]=_0x12b337[_0x5840c0(0x1a4)],_0x369fc0[_0x5840c0(0x297)]+=this[_0x5840c0(0x27d)],_0x12b337[_0x5840c0(0x1d8)]&&this[_0x5840c0(0x203)][_0x5840c0(0x225)](_0x369fc0),this[_0x5840c0(0x1da)][_0x5840c0(0x268)](_0x369fc0);});}[_0x51a186(0x1cc)](_0x5eaaca){const _0x4ae35c=_0x51a186,_0x46a2c8=this[_0x4ae35c(0x1b7)][_0x4ae35c(0x241)][_0x4ae35c(0x243)](_0x4ae35c(0x25a)),_0x1c45e7=this[_0x4ae35c(0x1b7)][_0x4ae35c(0x264)];_0x5eaaca||(_0x5eaaca=_0x37dd30(_0x1c45e7,_0x4ae35c(0x27b))),_0x46a2c8[_0x4ae35c(0x1c1)](_0x5eaaca,{'title':_0x37dd30(_0x1c45e7,_0x4ae35c(0x1d2)),'namespace':_0x4ae35c(0x1a5)}),this[_0x4ae35c(0x23e)]=!0x0,clearTimeout(this[_0x4ae35c(0x293)]),this[_0x4ae35c(0x21e)]=[],this[_0x4ae35c(0x1b7)][_0x4ae35c(0x241)][_0x4ae35c(0x243)](_0x39d755)[_0x4ae35c(0x1d9)]();}[_0x51a186(0x287)](){const _0x4de189=_0x51a186;this[_0x4de189(0x1e2)]||(this[_0x4de189(0x1e2)]=this[_0x4de189(0x1b7)][_0x4de189(0x241)][_0x4de189(0x243)](_0x558879)[_0x4de189(0x225)](_0x37dd30(this[_0x4de189(0x1b7)][_0x4de189(0x264)],_0x4de189(0x285))));}[_0x51a186(0x255)](){const _0x5dcb02=_0x51a186;this[_0x5dcb02(0x1e2)]&&(this[_0x5dcb02(0x1b7)][_0x5dcb02(0x241)][_0x5dcb02(0x243)](_0x558879)[_0x5dcb02(0x266)](this[_0x5dcb02(0x1e2)]),this[_0x5dcb02(0x1e2)]=null);}[_0x51a186(0x25b)](_0x2fcfb4){const _0x2301ed=_0x51a186,_0x9252fb=_0x2fcfb4[_0x2301ed(0x244)](_0x2bcd58=>_0x2bcd58[_0x2301ed(0x1cd)]());return this[_0x2301ed(0x199)][_0x2301ed(0x220)](_0x9252fb);}[_0x51a186(0x1ea)](_0x1aff57,_0x1bd985){const _0x3f3805=_0x51a186;return this[_0x3f3805(0x199)][_0x3f3805(0x1b1)](_0x1aff57)[_0x3f3805(0x244)]((_0x7ab69b,_0x108be4)=>{const _0x86a4c0=_0x3f3805,_0x2f7588=_0x86a4c0(0x227)==_0x1bd985[_0x108be4][_0x86a4c0(0x1ef)];if(_0x86a4c0(0x27c)==_0x7ab69b[_0x86a4c0(0x1ff)]){const _0xfdc8ff=_0x7ab69b[_0x86a4c0(0x1ba)][_0x86a4c0(0x1b6)];!this[_0x86a4c0(0x1e1)][_0x86a4c0(0x1b2)](_0xfdc8ff)&&(this[_0x86a4c0(0x1e1)][_0x86a4c0(0x207)](_0x86a4c0(0x21a),_0xfdc8ff)[_0x86a4c0(0x1a0)]=!0x1);}const _0x40a98e=_0x21ef6a[_0x86a4c0(0x24a)](_0x7ab69b,this[_0x86a4c0(0x1e1)]);return _0x40a98e[_0x86a4c0(0x22f)]=_0x7ab69b[_0x86a4c0(0x22f)],_0x40a98e[_0x86a4c0(0x1d7)]=_0x2f7588,_0x40a98e[_0x86a4c0(0x26a)]=_0x2f7588?null:_0x1bd985[_0x108be4][_0x86a4c0(0x1ab)],_0x40a98e[_0x86a4c0(0x1d8)]=_0x86a4c0(0x1c3)===_0x1bd985[_0x108be4][_0x86a4c0(0x1ef)],_0x40a98e[_0x86a4c0(0x1a4)]=_0x1bd985[_0x108be4][_0x86a4c0(0x1a4)],_0x40a98e;});}[_0x51a186(0x27a)](){const _0x23a4a2=_0x51a186;this[_0x23a4a2(0x28e)]=!0x0,this[_0x23a4a2(0x1ee)]()?this[_0x23a4a2(0x1f6)]():this[_0x23a4a2(0x28e)]=!0x1;}[_0x51a186(0x1ee)](){const _0x34d242=_0x51a186,_0x5f5162=this[_0x34d242(0x1b7)][_0x34d242(0x241)][_0x34d242(0x243)](_0x5852c1)[_0x34d242(0x296)][_0x34d242(0x243)](this[_0x34d242(0x1f4)]);return!this[_0x34d242(0x1b7)][_0x34d242(0x1a9)]&&!!_0x5f5162&&_0x5f5162[_0x34d242(0x1bb)]>0x1&&this[_0x34d242(0x28e)];}[_0x51a186(0x252)](){const _0x443793=_0x51a186;return this[_0x443793(0x21e)][_0x443793(0x1bb)]>0x0||this[_0x443793(0x1ee)]();}}l[_0x51a186(0x29a)]=_0x29f087;export default l;class J extends Error{}function Q(_0x159804,_0x5c7aca){const _0x9275c2=_0x51a186;for(const _0x57331b of _0x159804)_0x57331b[_0x9275c2(0x297)]=_0x5c7aca++;}class X{constructor(_0x1fa336){const _0xde68f3=_0x51a186;this[_0xde68f3(0x237)]=_0x1fa336,this[_0xde68f3(0x25f)]=new WeakMap();}[_0x51a186(0x22e)](_0x5c6e45){const _0x2c809d=_0x51a186;let _0x3a9928=_0x5c6e45[_0x2c809d(0x1bb)];for(;_0x3a9928--;){const _0x3d1232=_0x5c6e45[_0x3a9928];if(!this[_0x2c809d(0x237)][_0x2c809d(0x233)](_0x3d1232)){if(!this[_0x2c809d(0x25f)][_0x2c809d(0x233)](_0x3d1232)){const _0x3fe0c7=_0x199709()[_0x2c809d(0x1f1)](0x1,0x12);this[_0x2c809d(0x25f)][_0x2c809d(0x1df)](_0x3d1232,_0x3fe0c7);}return this[_0x2c809d(0x25f)][_0x2c809d(0x243)](_0x3d1232);}}}[_0x51a186(0x1ad)](_0x41e18a,_0x250d78){const _0x3e9429=_0x51a186;if(!_0x250d78)return;let _0x3593a1=_0x41e18a[_0x3e9429(0x1bb)];for(;_0x3593a1--;){const _0x15437f=_0x41e18a[_0x3593a1];this[_0x3e9429(0x237)][_0x3e9429(0x233)](_0x15437f)||this[_0x3e9429(0x25f)][_0x3e9429(0x1df)](_0x15437f,_0x250d78);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38c9c1=_0x4b4f;(function(_0x1c65aa,_0x235359){const _0x39b701=_0x4b4f,_0x5723d2=_0x1c65aa();while(!![]){try{const _0x4b251e=-parseInt(_0x39b701(0xbd))/0x1*(parseInt(_0x39b701(0xc0))/0x2)+-parseInt(_0x39b701(0xd8))/0x3*(-parseInt(_0x39b701(0xcd))/0x4)+parseInt(_0x39b701(0xee))/0x5*(parseInt(_0x39b701(0xb9))/0x6)+parseInt(_0x39b701(0xdc))/0x7+parseInt(_0x39b701(0xbe))/0x8+parseInt(_0x39b701(0xcc))/0x9*(-parseInt(_0x39b701(0xdd))/0xa)+parseInt(_0x39b701(0xd9))/0xb*(-parseInt(_0x39b701(0xd1))/0xc);if(_0x4b251e===_0x235359)break;else _0x5723d2['push'](_0x5723d2['shift']());}catch(_0x355624){_0x5723d2['push'](_0x5723d2['shift']());}}}(_0x27a9,0xbd737));function _0x4b4f(_0x562bbe,_0x501fd3){const _0x27a96b=_0x27a9();return _0x4b4f=function(_0x4b4f15,_0x45744b){_0x4b4f15=_0x4b4f15-0xb8;let _0x268ba5=_0x27a96b[_0x4b4f15];return _0x268ba5;},_0x4b4f(_0x562bbe,_0x501fd3);}import{ContextPlugin as _0x3d0efd}from'ckeditor5/src/core.js';import{Collection as _0xd26b2e,CKEditorError as _0x5bd46c}from'ckeditor5/src/utils.js';import _0x481d97 from'./websocketgateway.js';import{Users as _0x2bdc36}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x27a9(){const _0x35cc89=['fire','remove','_createUser','get','_uniqueUsersCount','values','connected','mySessionId','register','set','_handleSessionRemove','defineMe','plugins','Sessions','delete','assign','5pLZJXg','forEach','role','sessions-unregister-not-exist','allConnectedUsers','clear','size','sessions-register-already-registered','state','7094082OypoBY','getUser','requires','connection','12eLnNBi','10834688jXhRWC','pluginName','45320pUMyqt','sessionId','context','orderNumber','stopListening','getUserRole','sessionAdd:','channelConnectedUsers','channelSessions','_registeredSessions','_handleSessionAdd','getUserBySessionId','9tqlbeB','4weTCRJ','user','listenTo','init','120iRsVcC','addUser','_users','has','unregister','isMe','add','4002465WBPvnJ','3113077omTreP','getUserSessions','change:state','2110234ynLxwK','2943190RzEsLj'];_0x27a9=function(){return _0x35cc89;};return _0x27a9();}export default class r extends _0x3d0efd{static get[_0x38c9c1(0xbf)](){const _0x2d9a22=_0x38c9c1;return _0x2d9a22(0xeb);}static get[_0x38c9c1(0xbb)](){return[_0x481d97,_0x2bdc36];}constructor(_0x47abcb){const _0xc5ec42=_0x38c9c1;super(_0x47abcb),this[_0xc5ec42(0xc8)]=new Map(),this[_0xc5ec42(0xc7)]=new Map(),this[_0xc5ec42(0xf2)]=new _0xd26b2e(),this[_0xc5ec42(0xc9)]=new Map(),this[_0xc5ec42(0xe2)]=0x0,this[_0xc5ec42(0xd3)]=this[_0xc5ec42(0xc2)][_0xc5ec42(0xea)][_0xc5ec42(0xe1)](_0x2bdc36);}[_0x38c9c1(0xd0)](){const _0x38509f=_0x38c9c1,_0x363f60=this[_0x38509f(0xc2)][_0x38509f(0xea)][_0x38509f(0xe1)](_0x481d97);this[_0x38509f(0xcf)](_0x363f60,_0x38509f(0xdb),(_0x380ba1,_0x2dfc5c,_0x2e80c4)=>{const _0x591028=_0x38509f;if(_0x591028(0xe4)!==_0x2e80c4)this[_0x591028(0xc8)][_0x591028(0xef)](_0xf4a467=>_0xf4a467[_0x591028(0xf3)]()),this[_0x591028(0xc7)][_0x591028(0xef)](_0x43554e=>_0x43554e[_0x591028(0xf3)]()),this[_0x591028(0xf2)][_0x591028(0xf3)]();else{for(const [_0x4629dd,_0x3314dd]of this[_0x591028(0xc9)])for(const _0x146c3e of _0x3314dd)this[_0x591028(0xca)](_0x4629dd,_0x146c3e);}}),this[_0x38509f(0xe0)](_0x363f60[_0x38509f(0xbc)]['me'],!0x0);}[_0x38c9c1(0xe6)](_0x5cd702,_0x5883d6){const _0x1ac652=_0x38c9c1;if(this[_0x1ac652(0xc9)][_0x1ac652(0xd4)](_0x5cd702))throw new _0x5bd46c(_0x1ac652(0xf5),null,{'channelId':_0x5cd702});this[_0x1ac652(0xc9)][_0x1ac652(0xe7)](_0x5cd702,_0x5883d6),this[_0x1ac652(0xc8)][_0x1ac652(0xe7)](_0x5cd702,new _0xd26b2e()),this[_0x1ac652(0xc7)][_0x1ac652(0xe7)](_0x5cd702,new _0xd26b2e()),this[_0x1ac652(0xcf)](_0x5883d6,_0x1ac652(0xd7),(_0x185a94,_0x3c5293)=>this[_0x1ac652(0xca)](_0x5cd702,_0x3c5293)),this[_0x1ac652(0xcf)](_0x5883d6,_0x1ac652(0xdf),(_0x15eeed,_0x39fc29)=>this[_0x1ac652(0xe8)](_0x5cd702,_0x39fc29));for(const _0x442e40 of _0x5883d6)this[_0x1ac652(0xca)](_0x5cd702,_0x442e40);}[_0x38c9c1(0xd5)](_0x184474){const _0x12ee5c=_0x38c9c1;if(!this[_0x12ee5c(0xc9)][_0x12ee5c(0xd4)](_0x184474))throw new _0x5bd46c(_0x12ee5c(0xf1),null,{'channelId':_0x184474});const _0x4f4b30=this[_0x12ee5c(0xc9)][_0x12ee5c(0xe1)](_0x184474);this[_0x12ee5c(0xc4)](_0x4f4b30);for(const _0x3a7276 of _0x4f4b30)_0x12ee5c(0xe4)===this[_0x12ee5c(0xc2)][_0x12ee5c(0xea)][_0x12ee5c(0xe1)](_0x481d97)[_0x12ee5c(0xb8)]&&this[_0x12ee5c(0xe8)](_0x184474,_0x3a7276);this[_0x12ee5c(0xc9)][_0x12ee5c(0xec)](_0x184474),this[_0x12ee5c(0xc8)][_0x12ee5c(0xec)](_0x184474),this[_0x12ee5c(0xc7)][_0x12ee5c(0xec)](_0x184474);}get[_0x38c9c1(0xe5)](){const _0x369841=_0x38c9c1;return this[_0x369841(0xc2)][_0x369841(0xea)][_0x369841(0xe1)](_0x481d97)[_0x369841(0xbc)][_0x369841(0xc1)];}[_0x38c9c1(0xcb)](_0x13b8e4){const _0xa369cd=_0x38c9c1;for(const _0x3b50a5 of this[_0xa369cd(0xc8)][_0xa369cd(0xe3)]())for(const _0x213548 of _0x3b50a5)if(_0x213548['id']===_0x13b8e4)return _0x213548[_0xa369cd(0xce)];}[_0x38c9c1(0xda)](_0x54fa83,_0x43f497){const _0x522ca3=_0x38c9c1,_0xe6b34c=_0x43f497?[this[_0x522ca3(0xc8)][_0x522ca3(0xe1)](_0x43f497)]:this[_0x522ca3(0xc8)][_0x522ca3(0xe3)](),_0x3efb97=new Set();for(const _0xb7faf4 of _0xe6b34c)for(const _0x7ae901 of _0xb7faf4)_0x7ae901[_0x522ca3(0xce)]['id']===_0x54fa83['id']&&_0x3efb97[_0x522ca3(0xd7)](_0x7ae901['id']);return _0x3efb97;}[_0x38c9c1(0xc5)](_0x4af120){const _0x383ecf=_0x38c9c1;for(const _0x54e672 of this[_0x383ecf(0xc8)][_0x383ecf(0xe3)]())for(const _0x3c7522 of _0x54e672)if(_0x3c7522[_0x383ecf(0xce)]===_0x4af120)return _0x3c7522[_0x383ecf(0xf0)];}[_0x38c9c1(0xca)](_0x401ae0,_0x5cbe35){const _0x47296c=_0x38c9c1;if(_0x47296c(0xe4)!==this[_0x47296c(0xc2)][_0x47296c(0xea)][_0x47296c(0xe1)](_0x481d97)[_0x47296c(0xb8)])return;const _0xa8ae0a=_0x5cbe35[_0x47296c(0xce)],_0x15442a=this[_0x47296c(0xd3)][_0x47296c(0xba)](_0xa8ae0a['id'])||this[_0x47296c(0xe0)](_0xa8ae0a),_0x54ba9c=Object[_0x47296c(0xed)]({},_0x5cbe35,{'user':_0x15442a});this[_0x47296c(0xc8)][_0x47296c(0xe1)](_0x401ae0)[_0x47296c(0xd7)](_0x54ba9c);const _0x721b82=this[_0x47296c(0xc7)][_0x47296c(0xe1)](_0x401ae0);_0x721b82[_0x47296c(0xd4)](_0x15442a['id'])||_0x721b82[_0x47296c(0xd7)](_0x15442a),this[_0x47296c(0xf2)][_0x47296c(0xd4)](_0x15442a['id'])||this[_0x47296c(0xf2)][_0x47296c(0xd7)](_0x15442a,_0x15442a[_0x47296c(0xd6)]?0x0:void 0x0),this[_0x47296c(0xde)](_0x47296c(0xc6)+_0x401ae0,{'channelId':_0x401ae0,'session':_0x54ba9c});}[_0x38c9c1(0xe8)](_0x39191d,_0x54833f){const _0x268a6f=_0x38c9c1;if(_0x268a6f(0xe4)!==this[_0x268a6f(0xc2)][_0x268a6f(0xea)][_0x268a6f(0xe1)](_0x481d97)[_0x268a6f(0xb8)])return;const _0x102fab=this[_0x268a6f(0xc7)][_0x268a6f(0xe1)](_0x39191d),_0x780174=_0x54833f[_0x268a6f(0xce)];_0x780174['id']&&(this[_0x268a6f(0xc8)][_0x268a6f(0xe1)](_0x39191d)[_0x268a6f(0xdf)](_0x54833f['id']),_0x102fab[_0x268a6f(0xd4)](_0x780174['id'])&&!this[_0x268a6f(0xda)](_0x780174,_0x39191d)[_0x268a6f(0xf4)]&&_0x102fab[_0x268a6f(0xdf)](_0x780174['id']),this[_0x268a6f(0xf2)][_0x268a6f(0xe1)](_0x780174['id'])&&!this[_0x268a6f(0xda)](_0x780174)[_0x268a6f(0xf4)]&&this[_0x268a6f(0xf2)][_0x268a6f(0xdf)](_0x780174['id']));}[_0x38c9c1(0xe0)](_0x458c91,_0x17e795){const _0x3690c5=_0x38c9c1,_0x4535e1=this[_0x3690c5(0xd3)][_0x3690c5(0xd2)](_0x458c91);return _0x17e795&&this[_0x3690c5(0xd3)][_0x3690c5(0xe9)](_0x458c91['id']),_0x4535e1[_0x3690c5(0xc3)]=this[_0x3690c5(0xe2)]++,_0x4535e1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2dd9(){const _0x3c7267=['commands','requires','delete','set','checkChild','1238550wJSSTN','get','detach','add','markerName','addEventListener','markerNameToElements','start','954656CMaiXW','remove','data-session-id','plugins','split','has','color','marker','for','reconvertMarker','getCustomProperty','contenteditable','mouseenter','user:position:','change','end','user:position','removeClass','batch','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','parent','document','view','22542vpElzr','getFirstRange','addMarker','init','update:user:range','change:range','innerHTML','230nYzcVg','isInline','getSelectionClass','type','classList','ck-user__marker_hovered','isObject','userPositionMarker','getStart','</span>','markerToElement','markers','ck-user__selection','root','startsWith','createRange','applyOperation','enqueueChange','pluginName','Escape','stopListening','_createdBatches','markerRange','newRange','nodeAfter','editing','oldRange','toDomElement','user:','clear','listenTo','getPositions','rootName','createUserMarkerOperations','$text','getRange','size','fromRange','render','editor','$graveyard','schema','toRange','editingDowncast','destroy','model','highest','isCollapsed','tableCell','element','setCustomProperty','undo','getAttribute','30VgOUXe','removeMarker','deletionPosition','updateMarker','18hnLQsw','hasDomSelection','303972YxtioH','span','getMarkerClass','460450BhFlhy','markerToHighlight','afterInit','isLimit','getContainedElement','848522aIRHnW','keydown','isSimilar','mapper','_domEmitter','orderNumber','640387iJQhnV','name','getNearestSelectionRange','ck-user__marker\x20','selection','getUserBySessionId','user:range:','hasContent','conversion','mouseleave','createUIElement','user:range','UserMarkers','112NZDJQV','mySessionId'];_0x2dd9=function(){return _0x3c7267;};return _0x2dd9();}const _0x3b00d3=_0x35e2;(function(_0x525dcd,_0x2185d8){const _0x11d84c=_0x35e2,_0x2ce301=_0x525dcd();while(!![]){try{const _0x231939=-parseInt(_0x11d84c(0x1f3))/0x1+-parseInt(_0x11d84c(0x1f8))/0x2+parseInt(_0x11d84c(0x18f))/0x3+-parseInt(_0x11d84c(0x1f0))/0x4*(parseInt(_0x11d84c(0x1ea))/0x5)+-parseInt(_0x11d84c(0x1ae))/0x6*(-parseInt(_0x11d84c(0x188))/0x7)+-parseInt(_0x11d84c(0x197))/0x8*(parseInt(_0x11d84c(0x1ee))/0x9)+parseInt(_0x11d84c(0x1b5))/0xa*(parseInt(_0x11d84c(0x1fe))/0xb);if(_0x231939===_0x2185d8)break;else _0x2ce301['push'](_0x2ce301['shift']());}catch(_0x7efe60){_0x2ce301['push'](_0x2ce301['shift']());}}}(_0x2dd9,0x38cac));import{Plugin as _0x31bbbf}from'ckeditor5/src/core.js';function _0x35e2(_0x2cc931,_0x5b78c9){const _0x2dd9f2=_0x2dd9();return _0x35e2=function(_0x35e230,_0x459892){_0x35e230=_0x35e230-0x17f;let _0x56aadb=_0x2dd9f2[_0x35e230];return _0x56aadb;},_0x35e2(_0x2cc931,_0x5b78c9);}import{global as _0x4e51a7,DomEmitterMixin as _0x3312a7}from'ckeditor5/src/utils.js';import _0x41b25c from'./sessions.js';import{LiveRange as _0x4a9172}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x31bbbf{constructor(){const _0x16cb6c=_0x35e2;super(...arguments),this[_0x16cb6c(0x1fc)]=new(_0x3312a7())();}static get[_0x3b00d3(0x18b)](){return[_0x41b25c];}static get[_0x3b00d3(0x1c7)](){const _0x14bf45=_0x3b00d3;return _0x14bf45(0x187);}[_0x3b00d3(0x1b1)](){const _0x5a92f4=_0x3b00d3,_0x21f9d8=this[_0x5a92f4(0x1dc)],_0x5893eb=_0x21f9d8[_0x5a92f4(0x19a)][_0x5a92f4(0x190)](_0x41b25c);_0x21f9d8[_0x5a92f4(0x183)][_0x5a92f4(0x19f)](_0x5a92f4(0x1e0))[_0x5a92f4(0x1bf)]({'model':_0x5a92f4(0x1a7),'view':(_0x226cdb,{writer:_0x22fd55})=>function(_0x91e57,_0x471019,_0x3aeef7,_0x488502){const _0x79eca5=_0x5a92f4,_0x28c3bb=_0x91e57[_0x79eca5(0x193)][_0x79eca5(0x19b)](':')[0x2],_0x12b347=_0x3aeef7[_0x79eca5(0x180)](_0x28c3bb);if(!_0x12b347||_0x28c3bb===_0x3aeef7[_0x79eca5(0x189)])return;if(!_0x488502[_0x79eca5(0x1e2)][_0x79eca5(0x1de)][_0x79eca5(0x18e)](_0x91e57[_0x79eca5(0x1cb)][_0x79eca5(0x196)],_0x79eca5(0x1d7)))return;const _0xdeab20={'class':_0x79eca5(0x201)+_0x12b347[_0x79eca5(0x19d)][_0x79eca5(0x1f2)](),'data-name':_0x12b347[_0x79eca5(0x1ff)],'data-session-id':_0x28c3bb},_0x33d59e=_0x488502[_0x79eca5(0x1e2)][_0x79eca5(0x1c0)][_0x79eca5(0x190)](_0x91e57[_0x79eca5(0x193)]),_0x134b72=_0x33d59e[_0x79eca5(0x1bd)](),_0x373448=_0x134b72[_0x79eca5(0x1cd)],_0x5b6f0d=_0x488502[_0x79eca5(0x1e2)][_0x79eca5(0x1de)];if(_0x373448&&_0x5b6f0d[_0x79eca5(0x1bb)](_0x373448)&&_0x5b6f0d[_0x79eca5(0x1b6)](_0x373448)&&!_0x488502[_0x79eca5(0x1e2)][_0x79eca5(0x1c0)][_0x79eca5(0x190)](_0x79eca5(0x181)+_0x28c3bb)[_0x79eca5(0x1d8)]()[_0x79eca5(0x1e4)])return;const _0x123d9d=_0x134b72[_0x79eca5(0x1ab)];return _0x488502[_0x79eca5(0x1e2)][_0x79eca5(0x1de)][_0x79eca5(0x1f6)](_0x123d9d)&&!_0x488502[_0x79eca5(0x1e2)][_0x79eca5(0x182)](_0x123d9d)&&(_0xdeab20[_0x79eca5(0x1a2)]=!0x1),function(_0x4477dc,_0x50cf4c,_0x2ec21a){const _0xf749a6=_0x79eca5,_0x3da604=_0x4477dc[_0xf749a6(0x185)](_0xf749a6(0x1f1),_0x50cf4c);return _0x4477dc[_0xf749a6(0x1e7)](_0xf749a6(0x1bc),!0x0,_0x3da604),_0x3da604[_0xf749a6(0x1db)]=function(_0x2c0b51){const _0x243ce2=_0xf749a6,_0x2ef376=this[_0x243ce2(0x1d0)](_0x2c0b51);return _0x2ef376[_0x243ce2(0x1b4)]=_0x243ce2(0x1aa)+_0x2ec21a[_0x243ce2(0x1ff)]+_0x243ce2(0x1be),_0x2ef376[_0x243ce2(0x194)](_0x243ce2(0x1a3),()=>{const _0x18042f=_0x243ce2;_0x2ef376[_0x18042f(0x1b9)][_0x18042f(0x192)](_0x18042f(0x1ba));}),_0x2ef376[_0x243ce2(0x194)](_0x243ce2(0x184),()=>{const _0x357d9c=_0x243ce2;_0x2ef376[_0x357d9c(0x1b9)][_0x357d9c(0x198)](_0x357d9c(0x1ba));}),_0x2ef376;},_0x3da604[_0xf749a6(0x1fa)]=function(_0x49d35c){const _0x14726a=_0xf749a6;return!(!this[_0x14726a(0x1a1)](_0x14726a(0x1bc))||!_0x49d35c[_0x14726a(0x1a1)](_0x14726a(0x1bc))||this[_0x14726a(0x1e9)](_0x14726a(0x199))!=_0x49d35c[_0x14726a(0x1e9)](_0x14726a(0x199)));},_0x3da604;}(_0x471019,_0xdeab20,_0x12b347);}(_0x226cdb,_0x22fd55,_0x5893eb,_0x21f9d8)}),_0x21f9d8[_0x5a92f4(0x183)][_0x5a92f4(0x19f)](_0x5a92f4(0x1e0))[_0x5a92f4(0x1f4)]({'model':_0x5a92f4(0x186),'view':_0x3ac664=>function(_0x543df,_0x550bbe){const _0x648b17=_0x5a92f4,_0x4802d0=_0x543df[_0x648b17(0x193)][_0x648b17(0x19b)](':')[0x2];if(_0x4802d0===_0x550bbe[_0x648b17(0x189)])return null;const _0x5ba4de=_0x550bbe[_0x648b17(0x180)](_0x4802d0);if(!_0x5ba4de)return{'id':_0x4802d0,'classes':[]};return{'id':_0x4802d0,'classes':[_0x648b17(0x1c1),_0x5ba4de[_0x648b17(0x19d)][_0x648b17(0x1b7)]()],'attributes':{'data-session-id':_0x4802d0},'priority':0x7d0+_0x5ba4de[_0x648b17(0x1fd)]};}(_0x3ac664,_0x5893eb)}),function(_0x5f4d35){const _0x2c7aad=_0x5a92f4,_0x16d74f=_0x5f4d35[_0x2c7aad(0x1e2)],_0x2663c7=new Map(),_0x2e1c00=_0x5f4d35[_0x2c7aad(0x19a)][_0x2c7aad(0x190)](_0x41b25c);_0x16d74f[_0x2c7aad(0x1c0)]['on'](_0x2c7aad(0x1b2),(_0x558f93,_0x57088b,_0x1fcabe,_0x544604)=>{const _0x1930e0=_0x2c7aad;if(!_0x544604&&_0x2663c7[_0x1930e0(0x190)](_0x57088b[_0x1930e0(0x1ff)]))return _0x2663c7[_0x1930e0(0x190)](_0x57088b[_0x1930e0(0x1ff)])[_0x1930e0(0x191)](),void _0x2663c7[_0x1930e0(0x18c)](_0x57088b[_0x1930e0(0x1ff)]);const _0x2a4e6e=_0x57088b[_0x1930e0(0x1ff)][_0x1930e0(0x19b)](':')[0x2];if(_0x2a4e6e===_0x2e1c00[_0x1930e0(0x189)])return;const _0x3d50c6=_0x1930e0(0x1a4)+_0x2a4e6e;_0x16d74f[_0x1930e0(0x1c0)][_0x1930e0(0x19c)](_0x3d50c6)&&_0x5f4d35[_0x1930e0(0x1ce)][_0x1930e0(0x1a0)](_0x3d50c6),_0x57088b['on'](_0x1930e0(0x1b3),(_0x1145f5,_0x498ff7,_0x3a6a55)=>{const _0x49afd2=_0x1930e0;if(_0x49afd2(0x1dd)!=_0x498ff7[_0x49afd2(0x1c2)][_0x49afd2(0x1d5)]&&_0x49afd2(0x1dd)==_0x57088b[_0x49afd2(0x1d8)]()[_0x49afd2(0x1c2)][_0x49afd2(0x1d5)]&&!_0x2663c7[_0x49afd2(0x19c)](_0x57088b[_0x49afd2(0x1ff)])){const _0x11c7e0=_0x16d74f[_0x49afd2(0x1de)][_0x49afd2(0x200)](_0x3a6a55[_0x49afd2(0x1ec)]);if(_0x11c7e0){const _0x5ae59d=_0x4a9172[_0x49afd2(0x1da)](_0x11c7e0);_0x2663c7[_0x49afd2(0x18d)](_0x57088b[_0x49afd2(0x1ff)],_0x5ae59d),_0x5ae59d['on'](_0x49afd2(0x1b3),(_0x12cfc9,_0x325cdc,_0x747d0e)=>{const _0x5c228b=_0x49afd2;if(_0x5c228b(0x1dd)==_0x5ae59d[_0x5c228b(0x1c2)][_0x5c228b(0x1d5)]){const _0x3c7606=_0x16d74f[_0x5c228b(0x1de)][_0x5c228b(0x200)](_0x747d0e[_0x5c228b(0x1ec)]);_0x3c7606?(_0x5ae59d[_0x5c228b(0x196)]=_0x3c7606[_0x5c228b(0x196)],_0x5ae59d[_0x5c228b(0x1a6)]=_0x3c7606[_0x5c228b(0x1a6)]):(_0x2663c7[_0x5c228b(0x18c)](_0x57088b[_0x5c228b(0x1ff)]),_0x5ae59d[_0x5c228b(0x191)]());}});}}});}),_0x16d74f[_0x2c7aad(0x1ac)]['on'](_0x2c7aad(0x1a5),()=>{const _0x105b58=_0x2c7aad;_0x2663c7[_0x105b58(0x1d9)]>0x0&&_0x16d74f[_0x105b58(0x1c6)]({'isUndoable':!0x1},_0x31af9c=>{const _0x48b41a=_0x105b58;for(const [_0x2a014b,_0x1056ca]of _0x2663c7)_0x48b41a(0x1dd)==_0x16d74f[_0x48b41a(0x1c0)][_0x48b41a(0x190)](_0x2a014b)[_0x48b41a(0x1d8)]()[_0x48b41a(0x1c2)][_0x48b41a(0x1d5)]&&(re(_0x2a014b[_0x48b41a(0x19b)](':')[0x2],_0x1056ca[_0x48b41a(0x1df)](),_0x16d74f,_0x31af9c),_0x1056ca[_0x48b41a(0x191)]());_0x2663c7[_0x48b41a(0x1d2)]();});});}(_0x21f9d8),this[_0x5a92f4(0x1fc)][_0x5a92f4(0x1d3)](_0x4e51a7[_0x5a92f4(0x1ac)],_0x5a92f4(0x1f9),(_0x128803,{key:_0x2fcb56})=>{const _0x1cfded=_0x5a92f4;_0x1cfded(0x1c8)===_0x2fcb56&&function(_0x1b520d){const _0x553463=_0x1cfded;_0x1b520d[_0x553463(0x1ce)][_0x553463(0x1ad)][_0x553463(0x1a5)](_0x2f0e30=>{const _0x224ee3=_0x553463;for(const _0x47259c of _0x1b520d[_0x224ee3(0x1e2)][_0x224ee3(0x1c0)]){if(!_0x47259c[_0x224ee3(0x1ff)][_0x224ee3(0x1c3)](_0x224ee3(0x1a7)))continue;const _0x3eaeef=_0x1b520d[_0x224ee3(0x1ce)][_0x224ee3(0x1fb)][_0x224ee3(0x195)](_0x47259c[_0x224ee3(0x1ff)]);if(_0x3eaeef){for(const _0x15aea3 of _0x3eaeef)_0x2f0e30[_0x224ee3(0x1a8)](_0x224ee3(0x1ba),_0x15aea3);}}});}(_0x21f9d8);},{'useCapture':!0x0});}[_0x3b00d3(0x1f5)](){const _0x4104e1=_0x3b00d3,_0x29f155=this[_0x4104e1(0x1dc)],_0x47b6cb=_0x29f155[_0x4104e1(0x18a)][_0x4104e1(0x190)](_0x4104e1(0x1e8));_0x47b6cb&&_0x29f155[_0x4104e1(0x1e2)]['on'](_0x4104e1(0x1c5),(_0x250fad,_0x589104)=>{const _0x2f6b97=_0x4104e1,_0x2288ba=_0x589104[0x0];if(_0x2f6b97(0x19e)!=_0x2288ba[_0x2f6b97(0x1b8)]||!_0x2288ba[_0x2f6b97(0x1ff)][_0x2f6b97(0x1c3)](_0x2f6b97(0x1d1)))return;const _0x5e885f=_0x2288ba[_0x2f6b97(0x1a9)];_0x47b6cb[_0x2f6b97(0x1ca)][_0x2f6b97(0x19c)](_0x5e885f)&&(_0x2288ba[_0x2f6b97(0x1cc)]=_0x2288ba[_0x2f6b97(0x1cf)]?_0x29f155[_0x2f6b97(0x1e2)][_0x2f6b97(0x1c4)](_0x2288ba[_0x2f6b97(0x1cf)][_0x2f6b97(0x196)],_0x2288ba[_0x2f6b97(0x1cf)][_0x2f6b97(0x1a6)]):null);},{'priority':_0x4104e1(0x1e3)});}[_0x3b00d3(0x1e1)](){const _0x27cb3c=_0x3b00d3;return this[_0x27cb3c(0x1fc)][_0x27cb3c(0x1c9)](),super[_0x27cb3c(0x1e1)]();}[_0x3b00d3(0x1d6)](){const _0x200288=_0x3b00d3,_0x117da0=this[_0x200288(0x1dc)],_0x408899=_0x117da0[_0x200288(0x1e2)][_0x200288(0x1ac)],_0x1fe847=_0x117da0[_0x200288(0x19a)][_0x200288(0x190)](_0x41b25c);_0x117da0[_0x200288(0x1e2)][_0x200288(0x1c6)]({'isUndoable':!0x1},_0xb46e17=>{const _0x5ec555=_0x200288,_0x4855db=_0x5ec555(0x181)+_0x1fe847[_0x5ec555(0x189)],_0x174506=_0x5ec555(0x1a4)+_0x1fe847[_0x5ec555(0x189)],_0x26254a=_0x117da0[_0x5ec555(0x1e2)][_0x5ec555(0x1c0)][_0x5ec555(0x19c)](_0x4855db);_0x117da0[_0x5ec555(0x1ce)][_0x5ec555(0x1ad)][_0x5ec555(0x1ef)]?re(_0x1fe847[_0x5ec555(0x189)],_0x408899[_0x5ec555(0x17f)][_0x5ec555(0x1af)](),_0x117da0[_0x5ec555(0x1e2)],_0xb46e17):_0x26254a&&(_0xb46e17[_0x5ec555(0x1eb)](_0x4855db),_0xb46e17[_0x5ec555(0x1eb)](_0x174506));});}}function re(_0x2db520,_0xf87800,_0x229388,_0xcd66be){const _0xa9bafa=_0x3b00d3,_0x1b5143=_0xa9bafa(0x181)+_0x2db520,_0x64c001=_0xa9bafa(0x1a4)+_0x2db520,_0x32d3d9=_0xf87800[_0xa9bafa(0x1f7)]();let _0x243306=_0xf87800[_0xa9bafa(0x196)];_0x32d3d9&&_0x32d3d9['is'](_0xa9bafa(0x1e6),_0xa9bafa(0x1e5))&&(_0x243306=function(_0x1bf5a6,_0x4deac5){const _0x1bb705=_0xa9bafa;for(const _0x5cbdf3 of _0x1bf5a6[_0x1bb705(0x1d4)]())if(_0x4deac5[_0x1bb705(0x1de)][_0x1bb705(0x18e)](_0x5cbdf3,_0x1bb705(0x1d7)))return _0x5cbdf3;}(_0xf87800,_0x229388),_0xf87800=_0xcd66be[_0xa9bafa(0x1c4)](_0x243306));const _0x171b47=_0xcd66be[_0xa9bafa(0x1c4)](_0x243306);_0x229388[_0xa9bafa(0x1c0)][_0xa9bafa(0x19c)](_0x1b5143)?(_0xcd66be[_0xa9bafa(0x1ed)](_0x1b5143,{'range':_0xf87800}),_0xcd66be[_0xa9bafa(0x1ed)](_0x64c001,{'range':_0x171b47})):(_0xcd66be[_0xa9bafa(0x1b0)](_0x1b5143,{'range':_0xf87800,'usingOperation':!0x0}),_0xcd66be[_0xa9bafa(0x1b0)](_0x64c001,{'range':_0x171b47,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x5acbf4=_0x7869;(function(_0x424aa8,_0x18e5ef){const _0x583a0d=_0x7869,_0x102a16=_0x424aa8();while(!![]){try{const _0x3461dd=parseInt(_0x583a0d(0x1cb))/0x1+-parseInt(_0x583a0d(0x21e))/0x2+-parseInt(_0x583a0d(0x225))/0x3+parseInt(_0x583a0d(0x22c))/0x4+-parseInt(_0x583a0d(0x20e))/0x5+-parseInt(_0x583a0d(0x202))/0x6+-parseInt(_0x583a0d(0x201))/0x7*(-parseInt(_0x583a0d(0x211))/0x8);if(_0x3461dd===_0x18e5ef)break;else _0x102a16['push'](_0x102a16['shift']());}catch(_0x276290){_0x102a16['push'](_0x102a16['shift']());}}}(_0x245b,0x9faed));function _0x245b(){const _0x25372d=['checkChild','batch','ck-user__selection','102915gwpRft','markerNameToElements','clear','data-session-id','split','nodeAfter','toRange','3778340nhtJNf','root','getStart','stopListening','removeMarker','mouseleave','addMarker','detach','update:user:range','destroy','markerToElement','user:range','editingDowncast','getAttribute','has','$text','contenteditable','_domEmitter','updateMarker','size','type','start','undo','getRange','classList','Escape','startsWith','getFirstRange','document','mapper','applyOperation','455766JDIfbX','selection','innerHTML','enqueueChange','pluginName','render','setCustomProperty','highest','oldRange','change','span','color','for','isCollapsed','removeClass','deletionPosition','getUserBySessionId','ck-user__marker\x20','mouseenter','editing','end','name','addEventListener','remove','isObject','createUIElement','ck-user__marker_hovered','parent','isSimilar','$graveyard','getMarkerClass','keydown','getNearestSelectionRange','set','userPositionMarker','createRange','getSelectionClass','afterInit','_createdBatches','toDomElement','editor','getCustomProperty','createUserMarkerOperations','plugins','markerName','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','mySessionId','getContainedElement','getPositions','change:range','newRange','marker','conversion','listenTo','1179843OGNeiv','4427964upwuZc','isInline','hasContent','user:','commands','schema','delete','reconvertMarker','add','isLimit','orderNumber','</span>','3874725DBKOTO','tableCell','fromRange','72bnaofH','markerRange','markerToHighlight','init','rootName','model','UserMarkers','get','user:position','requires','view','hasDomSelection','user:range:','1431974wUsFxN','element','user:position:','markers'];_0x245b=function(){return _0x25372d;};return _0x245b();}import{Plugin as _0x1805e8}from'ckeditor5/src/core.js';import{global as _0x3fa14e,DomEmitterMixin as _0x228b22}from'ckeditor5/src/utils.js';import _0x1f14a5 from'./sessions.js';import{LiveRange as _0x160bb8}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x1805e8{constructor(){const _0x277b09=_0x7869;super(...arguments),this[_0x277b09(0x1bd)]=new(_0x228b22())();}static get[_0x5acbf4(0x21a)](){return[_0x1f14a5];}static get[_0x5acbf4(0x1cf)](){const _0x20575d=_0x5acbf4;return _0x20575d(0x217);}[_0x5acbf4(0x214)](){const _0x3dc129=_0x5acbf4,_0x129358=this[_0x3dc129(0x1f3)],_0x505961=_0x129358[_0x3dc129(0x1f6)][_0x3dc129(0x218)](_0x1f14a5);_0x129358[_0x3dc129(0x1ff)][_0x3dc129(0x1d7)](_0x3dc129(0x1b8))[_0x3dc129(0x1b6)]({'model':_0x3dc129(0x219),'view':(_0x1da180,{writer:_0x31b44d})=>function(_0x1932ae,_0x383f0d,_0x59068b,_0x107e18){const _0x1f327c=_0x3dc129,_0x3b119e=_0x1932ae[_0x1f327c(0x1f7)][_0x1f327c(0x229)](':')[0x2],_0x2fd674=_0x59068b[_0x1f327c(0x1db)](_0x3b119e);if(!_0x2fd674||_0x3b119e===_0x59068b[_0x1f327c(0x1f9)])return;if(!_0x107e18[_0x1f327c(0x216)][_0x1f327c(0x207)][_0x1f327c(0x222)](_0x1932ae[_0x1f327c(0x212)][_0x1f327c(0x1c1)],_0x1f327c(0x1bb)))return;const _0x22e060={'class':_0x1f327c(0x1dc)+_0x2fd674[_0x1f327c(0x1d6)][_0x1f327c(0x1e9)](),'data-name':_0x2fd674[_0x1f327c(0x1e0)],'data-session-id':_0x3b119e},_0x1f7888=_0x107e18[_0x1f327c(0x216)][_0x1f327c(0x221)][_0x1f327c(0x218)](_0x1932ae[_0x1f327c(0x1f7)]),_0x3399d1=_0x1f7888[_0x1f327c(0x1ae)](),_0x21088a=_0x3399d1[_0x1f327c(0x22a)],_0x36abc6=_0x107e18[_0x1f327c(0x216)][_0x1f327c(0x207)];if(_0x21088a&&_0x36abc6[_0x1f327c(0x1e3)](_0x21088a)&&_0x36abc6[_0x1f327c(0x203)](_0x21088a)&&!_0x107e18[_0x1f327c(0x216)][_0x1f327c(0x221)][_0x1f327c(0x218)](_0x1f327c(0x21d)+_0x3b119e)[_0x1f327c(0x1c3)]()[_0x1f327c(0x1d8)])return;const _0xf14bbe=_0x3399d1[_0x1f327c(0x1e6)];return _0x107e18[_0x1f327c(0x216)][_0x1f327c(0x207)][_0x1f327c(0x20b)](_0xf14bbe)&&!_0x107e18[_0x1f327c(0x216)][_0x1f327c(0x204)](_0xf14bbe)&&(_0x22e060[_0x1f327c(0x1bc)]=!0x1),function(_0x36cc31,_0x3c77b2,_0x2e3435){const _0x5302bc=_0x1f327c,_0x1ae0d4=_0x36cc31[_0x5302bc(0x1e4)](_0x5302bc(0x1d5),_0x3c77b2);return _0x36cc31[_0x5302bc(0x1d1)](_0x5302bc(0x1ed),!0x0,_0x1ae0d4),_0x1ae0d4[_0x5302bc(0x1d0)]=function(_0x5aec92){const _0x246476=_0x5302bc,_0x10ae43=this[_0x246476(0x1f2)](_0x5aec92);return _0x10ae43[_0x246476(0x1cd)]=_0x246476(0x1f8)+_0x2e3435[_0x246476(0x1e0)]+_0x246476(0x20d),_0x10ae43[_0x246476(0x1e1)](_0x246476(0x1dd),()=>{const _0x47ae62=_0x246476;_0x10ae43[_0x47ae62(0x1c4)][_0x47ae62(0x20a)](_0x47ae62(0x1e5));}),_0x10ae43[_0x246476(0x1e1)](_0x246476(0x1b1),()=>{const _0x3a8037=_0x246476;_0x10ae43[_0x3a8037(0x1c4)][_0x3a8037(0x1e2)](_0x3a8037(0x1e5));}),_0x10ae43;},_0x1ae0d4[_0x5302bc(0x1e7)]=function(_0x9f757c){const _0x579ecc=_0x5302bc;return!(!this[_0x579ecc(0x1f4)](_0x579ecc(0x1ed))||!_0x9f757c[_0x579ecc(0x1f4)](_0x579ecc(0x1ed))||this[_0x579ecc(0x1b9)](_0x579ecc(0x228))!=_0x9f757c[_0x579ecc(0x1b9)](_0x579ecc(0x228)));},_0x1ae0d4;}(_0x383f0d,_0x22e060,_0x2fd674);}(_0x1da180,_0x31b44d,_0x505961,_0x129358)}),_0x129358[_0x3dc129(0x1ff)][_0x3dc129(0x1d7)](_0x3dc129(0x1b8))[_0x3dc129(0x213)]({'model':_0x3dc129(0x1b7),'view':_0x4ad431=>function(_0x23c9c1,_0x2d4047){const _0x5f0b1e=_0x3dc129,_0x598f7d=_0x23c9c1[_0x5f0b1e(0x1f7)][_0x5f0b1e(0x229)](':')[0x2];if(_0x598f7d===_0x2d4047[_0x5f0b1e(0x1f9)])return null;const _0x650b0a=_0x2d4047[_0x5f0b1e(0x1db)](_0x598f7d);if(!_0x650b0a)return{'id':_0x598f7d,'classes':[]};return{'id':_0x598f7d,'classes':[_0x5f0b1e(0x224),_0x650b0a[_0x5f0b1e(0x1d6)][_0x5f0b1e(0x1ef)]()],'attributes':{'data-session-id':_0x598f7d},'priority':0x7d0+_0x650b0a[_0x5f0b1e(0x20c)]};}(_0x4ad431,_0x505961)}),function(_0x5ace96){const _0x1a1f87=_0x3dc129,_0x49335e=_0x5ace96[_0x1a1f87(0x216)],_0x2ac10d=new Map(),_0xc9130=_0x5ace96[_0x1a1f87(0x1f6)][_0x1a1f87(0x218)](_0x1f14a5);_0x49335e[_0x1a1f87(0x221)]['on'](_0x1a1f87(0x1b4),(_0x5cc285,_0x799c7b,_0x373f74,_0x35a520)=>{const _0x275a8e=_0x1a1f87;if(!_0x35a520&&_0x2ac10d[_0x275a8e(0x218)](_0x799c7b[_0x275a8e(0x1e0)]))return _0x2ac10d[_0x275a8e(0x218)](_0x799c7b[_0x275a8e(0x1e0)])[_0x275a8e(0x1b3)](),void _0x2ac10d[_0x275a8e(0x208)](_0x799c7b[_0x275a8e(0x1e0)]);const _0x1cadff=_0x799c7b[_0x275a8e(0x1e0)][_0x275a8e(0x229)](':')[0x2];if(_0x1cadff===_0xc9130[_0x275a8e(0x1f9)])return;const _0x30b7a8=_0x275a8e(0x220)+_0x1cadff;_0x49335e[_0x275a8e(0x221)][_0x275a8e(0x1ba)](_0x30b7a8)&&_0x5ace96[_0x275a8e(0x1de)][_0x275a8e(0x209)](_0x30b7a8),_0x799c7b['on'](_0x275a8e(0x1fc),(_0x59efdf,_0x11032e,_0x1b1cb1)=>{const _0x4831b3=_0x275a8e;if(_0x4831b3(0x1e8)!=_0x11032e[_0x4831b3(0x22d)][_0x4831b3(0x215)]&&_0x4831b3(0x1e8)==_0x799c7b[_0x4831b3(0x1c3)]()[_0x4831b3(0x22d)][_0x4831b3(0x215)]&&!_0x2ac10d[_0x4831b3(0x1ba)](_0x799c7b[_0x4831b3(0x1e0)])){const _0x52a6aa=_0x49335e[_0x4831b3(0x207)][_0x4831b3(0x1eb)](_0x1b1cb1[_0x4831b3(0x1da)]);if(_0x52a6aa){const _0x19c778=_0x160bb8[_0x4831b3(0x210)](_0x52a6aa);_0x2ac10d[_0x4831b3(0x1ec)](_0x799c7b[_0x4831b3(0x1e0)],_0x19c778),_0x19c778['on'](_0x4831b3(0x1fc),(_0x188b63,_0x2b480f,_0x31827d)=>{const _0x1681ef=_0x4831b3;if(_0x1681ef(0x1e8)==_0x19c778[_0x1681ef(0x22d)][_0x1681ef(0x215)]){const _0x34457c=_0x49335e[_0x1681ef(0x207)][_0x1681ef(0x1eb)](_0x31827d[_0x1681ef(0x1da)]);_0x34457c?(_0x19c778[_0x1681ef(0x1c1)]=_0x34457c[_0x1681ef(0x1c1)],_0x19c778[_0x1681ef(0x1df)]=_0x34457c[_0x1681ef(0x1df)]):(_0x2ac10d[_0x1681ef(0x208)](_0x799c7b[_0x1681ef(0x1e0)]),_0x19c778[_0x1681ef(0x1b3)]());}});}}});}),_0x49335e[_0x1a1f87(0x1c8)]['on'](_0x1a1f87(0x1d4),()=>{const _0x2fbc30=_0x1a1f87;_0x2ac10d[_0x2fbc30(0x1bf)]>0x0&&_0x49335e[_0x2fbc30(0x1ce)]({'isUndoable':!0x1},_0x8bbc9d=>{const _0x158ae2=_0x2fbc30;for(const [_0x394ae3,_0x57fa03]of _0x2ac10d)_0x158ae2(0x1e8)==_0x49335e[_0x158ae2(0x221)][_0x158ae2(0x218)](_0x394ae3)[_0x158ae2(0x1c3)]()[_0x158ae2(0x22d)][_0x158ae2(0x215)]&&(re(_0x394ae3[_0x158ae2(0x229)](':')[0x2],_0x57fa03[_0x158ae2(0x22b)](),_0x49335e,_0x8bbc9d),_0x57fa03[_0x158ae2(0x1b3)]());_0x2ac10d[_0x158ae2(0x227)]();});});}(_0x129358),this[_0x3dc129(0x1bd)][_0x3dc129(0x200)](_0x3fa14e[_0x3dc129(0x1c8)],_0x3dc129(0x1ea),(_0x6f7814,{key:_0x559a31})=>{const _0x5b7fd1=_0x3dc129;_0x5b7fd1(0x1c5)===_0x559a31&&function(_0x1ff57a){const _0x37c523=_0x5b7fd1;_0x1ff57a[_0x37c523(0x1de)][_0x37c523(0x21b)][_0x37c523(0x1d4)](_0x3df87b=>{const _0x5f0215=_0x37c523;for(const _0x511f0f of _0x1ff57a[_0x5f0215(0x216)][_0x5f0215(0x221)]){if(!_0x511f0f[_0x5f0215(0x1e0)][_0x5f0215(0x1c6)](_0x5f0215(0x219)))continue;const _0x5e3612=_0x1ff57a[_0x5f0215(0x1de)][_0x5f0215(0x1c9)][_0x5f0215(0x226)](_0x511f0f[_0x5f0215(0x1e0)]);if(_0x5e3612){for(const _0x5cd716 of _0x5e3612)_0x3df87b[_0x5f0215(0x1d9)](_0x5f0215(0x1e5),_0x5cd716);}}});}(_0x129358);},{'useCapture':!0x0});}[_0x5acbf4(0x1f0)](){const _0x5e2a3e=_0x5acbf4,_0x4f94b6=this[_0x5e2a3e(0x1f3)],_0x24e0d9=_0x4f94b6[_0x5e2a3e(0x206)][_0x5e2a3e(0x218)](_0x5e2a3e(0x1c2));_0x24e0d9&&_0x4f94b6[_0x5e2a3e(0x216)]['on'](_0x5e2a3e(0x1ca),(_0x149ec3,_0x36060b)=>{const _0x3b17bb=_0x5e2a3e,_0x4e061f=_0x36060b[0x0];if(_0x3b17bb(0x1fe)!=_0x4e061f[_0x3b17bb(0x1c0)]||!_0x4e061f[_0x3b17bb(0x1e0)][_0x3b17bb(0x1c6)](_0x3b17bb(0x205)))return;const _0x4a881a=_0x4e061f[_0x3b17bb(0x223)];_0x24e0d9[_0x3b17bb(0x1f1)][_0x3b17bb(0x1ba)](_0x4a881a)&&(_0x4e061f[_0x3b17bb(0x1fd)]=_0x4e061f[_0x3b17bb(0x1d3)]?_0x4f94b6[_0x3b17bb(0x216)][_0x3b17bb(0x1ee)](_0x4e061f[_0x3b17bb(0x1d3)][_0x3b17bb(0x1c1)],_0x4e061f[_0x3b17bb(0x1d3)][_0x3b17bb(0x1df)]):null);},{'priority':_0x5e2a3e(0x1d2)});}[_0x5acbf4(0x1b5)](){const _0x5ba2d0=_0x5acbf4;return this[_0x5ba2d0(0x1bd)][_0x5ba2d0(0x1af)](),super[_0x5ba2d0(0x1b5)]();}[_0x5acbf4(0x1f5)](){const _0x22979a=_0x5acbf4,_0x20693c=this[_0x22979a(0x1f3)],_0xe2773=_0x20693c[_0x22979a(0x216)][_0x22979a(0x1c8)],_0x493a59=_0x20693c[_0x22979a(0x1f6)][_0x22979a(0x218)](_0x1f14a5);_0x20693c[_0x22979a(0x216)][_0x22979a(0x1ce)]({'isUndoable':!0x1},_0x2ae8bb=>{const _0x37bee7=_0x22979a,_0x12e93c=_0x37bee7(0x21d)+_0x493a59[_0x37bee7(0x1f9)],_0x59085b=_0x37bee7(0x220)+_0x493a59[_0x37bee7(0x1f9)],_0x27f690=_0x20693c[_0x37bee7(0x216)][_0x37bee7(0x221)][_0x37bee7(0x1ba)](_0x12e93c);_0x20693c[_0x37bee7(0x1de)][_0x37bee7(0x21b)][_0x37bee7(0x21c)]?re(_0x493a59[_0x37bee7(0x1f9)],_0xe2773[_0x37bee7(0x1cc)][_0x37bee7(0x1c7)](),_0x20693c[_0x37bee7(0x216)],_0x2ae8bb):_0x27f690&&(_0x2ae8bb[_0x37bee7(0x1b0)](_0x12e93c),_0x2ae8bb[_0x37bee7(0x1b0)](_0x59085b));});}}function _0x7869(_0x23990a,_0x297852){const _0x245b4f=_0x245b();return _0x7869=function(_0x78698c,_0xf5c77a){_0x78698c=_0x78698c-0x1ae;let _0x1288d5=_0x245b4f[_0x78698c];return _0x1288d5;},_0x7869(_0x23990a,_0x297852);}function re(_0x51cb5b,_0x1b040e,_0xe0e74f,_0x1f0e3e){const _0x42ca9a=_0x5acbf4,_0x645273=_0x42ca9a(0x21d)+_0x51cb5b,_0xb64ccd=_0x42ca9a(0x220)+_0x51cb5b,_0x2e5322=_0x1b040e[_0x42ca9a(0x1fa)]();let _0x5cb894=_0x1b040e[_0x42ca9a(0x1c1)];_0x2e5322&&_0x2e5322['is'](_0x42ca9a(0x21f),_0x42ca9a(0x20f))&&(_0x5cb894=function(_0xefd547,_0x33bbeb){const _0x4d2f52=_0x42ca9a;for(const _0x4eaf04 of _0xefd547[_0x4d2f52(0x1fb)]())if(_0x33bbeb[_0x4d2f52(0x207)][_0x4d2f52(0x222)](_0x4eaf04,_0x4d2f52(0x1bb)))return _0x4eaf04;}(_0x1b040e,_0xe0e74f),_0x1b040e=_0x1f0e3e[_0x42ca9a(0x1ee)](_0x5cb894));const _0x191565=_0x1f0e3e[_0x42ca9a(0x1ee)](_0x5cb894);_0xe0e74f[_0x42ca9a(0x221)][_0x42ca9a(0x1ba)](_0x645273)?(_0x1f0e3e[_0x42ca9a(0x1be)](_0x645273,{'range':_0x1b040e}),_0x1f0e3e[_0x42ca9a(0x1be)](_0xb64ccd,{'range':_0x191565})):(_0x1f0e3e[_0x42ca9a(0x1b2)](_0x645273,{'range':_0x1b040e,'usingOperation':!0x0}),_0x1f0e3e[_0x42ca9a(0x1b2)](_0xb64ccd,{'range':_0x191565,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e9131=_0x2304;(function(_0x3332eb,_0x2eaf93){const _0x444c01=_0x2304,_0x197fc0=_0x3332eb();while(!![]){try{const _0x134d14=-parseInt(_0x444c01(0x206))/0x1*(parseInt(_0x444c01(0x1ff))/0x2)+-parseInt(_0x444c01(0x212))/0x3*(parseInt(_0x444c01(0x203))/0x4)+-parseInt(_0x444c01(0x1f5))/0x5+-parseInt(_0x444c01(0x226))/0x6+-parseInt(_0x444c01(0x228))/0x7+-parseInt(_0x444c01(0x21c))/0x8+parseInt(_0x444c01(0x202))/0x9;if(_0x134d14===_0x2eaf93)break;else _0x197fc0['push'](_0x197fc0['shift']());}catch(_0x3012a2){_0x197fc0['push'](_0x197fc0['shift']());}}}(_0x5aa6,0x2c361));import{ContextPlugin as _0x5827f4}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x5dfda8,CKEditorError as _0x13a51e}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x403bc8,WEB_SOCKET_GATEWAY_STATES as _0x521b35}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x46e0c2}from'ckeditor5/src/ui.js';class c extends _0x5827f4{static get[_0x1e9131(0x213)](){const _0x466abe=_0x1e9131;return[_0x466abe(0x22c),_0x46e0c2];}static get[_0x1e9131(0x1f2)](){const _0x1bebbd=_0x1e9131;return _0x1bebbd(0x211);}constructor(_0x4967d6){const _0x205894=_0x1e9131;super(_0x4967d6),this[_0x205894(0x1ed)](_0x205894(0x1fd),_0x521b35[_0x205894(0x218)]),this[_0x205894(0x1ed)](_0x205894(0x220),!0x1),this[_0x205894(0x1f6)]=new Set(),this[_0x205894(0x231)]=!0x1,this[_0x205894(0x209)]=Object[_0x205894(0x1ea)](_0x5dfda8);}[_0x1e9131(0x201)](){const _0x36d9d6=_0x1e9131,_0x2186e8=this[_0x36d9d6(0x21f)],_0x43f591=_0x2186e8[_0x36d9d6(0x205)][_0x36d9d6(0x21d)](_0x36d9d6(0x22c)),_0x52bedf=_0x2186e8[_0x36d9d6(0x205)][_0x36d9d6(0x21d)](_0x46e0c2);if(!_0x43f591[_0x36d9d6(0x1f3)])throw new _0x13a51e(_0x36d9d6(0x1eb),this);if(!_0x43f591[_0x36d9d6(0x1f1)])throw new _0x13a51e(_0x36d9d6(0x20d),this);return this[_0x36d9d6(0x209)][_0x36d9d6(0x1fc)](window,_0x36d9d6(0x223),()=>this[_0x36d9d6(0x220)]=!0x0),this[_0x36d9d6(0x209)][_0x36d9d6(0x1fc)](window,_0x36d9d6(0x1fb),()=>this[_0x36d9d6(0x220)]=!0x1),this[_0x36d9d6(0x21f)][_0x36d9d6(0x229)][_0x36d9d6(0x20e)](_0x36d9d6(0x22b),0xa),this[_0x36d9d6(0x21f)][_0x36d9d6(0x229)][_0x36d9d6(0x20e)](_0x36d9d6(0x20f),0x14),c[_0x36d9d6(0x211)][_0x36d9d6(0x21a)](_0x43f591[_0x36d9d6(0x1f3)],_0x43f591[_0x36d9d6(0x1f1)],{'timeout':0x3e8*this[_0x36d9d6(0x21f)][_0x36d9d6(0x229)][_0x36d9d6(0x21d)](_0x36d9d6(0x22b)),'requestTimeout':0x3e8*this[_0x36d9d6(0x21f)][_0x36d9d6(0x229)][_0x36d9d6(0x21d)](_0x36d9d6(0x20f))})[_0x36d9d6(0x1f4)](_0x37268a=>{const _0x3ab424=_0x36d9d6;if(this[_0x3ab424(0x216)]=_0x37268a,this[_0x3ab424(0x208)](_0x3ab424(0x1fd))['to'](_0x37268a,_0x3ab424(0x1fd),this,_0x3ab424(0x220),(_0x5b00ca,_0x402bb8)=>(_0x3ab424(0x20b)!==_0x5b00ca&&(this[_0x3ab424(0x231)]=!0x0),_0x402bb8||_0x5b00ca!==_0x521b35[_0x3ab424(0x218)]?_0x521b35[_0x3ab424(0x22d)]:this[_0x3ab424(0x1fd)]==_0x521b35[_0x3ab424(0x22d)]&&this[_0x3ab424(0x231)]?(this[_0x3ab424(0x231)]=!0x1,this[_0x3ab424(0x22a)](),_0x521b35[_0x3ab424(0x225)]):_0x521b35[_0x3ab424(0x218)])),this[_0x3ab424(0x216)]['on'](_0x3ab424(0x1fe),(_0x4b160b,_0x15a563)=>{const _0x523e1b=_0x3ab424;if(_0x523e1b(0x1f7)!==_0x15a563[_0x523e1b(0x222)])throw console[_0x523e1b(0x1fe)](_0x15a563),new _0x13a51e(_0x523e1b(0x21b),null,{'originalError':_0x15a563});_0x52bedf[_0x523e1b(0x210)](_0x523e1b(0x215),{'title':_0x523e1b(0x1f0),'namespace':_0x523e1b(0x219)});}),!_0x37268a['me'])return new Promise(_0x5d68d3=>_0x37268a['on'](_0x3ab424(0x224),_0x5d68d3));})[_0x36d9d6(0x22f)](_0x2226b8=>{const _0x748990=_0x36d9d6;throw console[_0x748990(0x1fe)](_0x2226b8),new _0x13a51e(_0x748990(0x21b),null,{'originalError':_0x2226b8});});}[_0x1e9131(0x1f8)](_0x46a829){const _0x501d66=_0x1e9131;if(_0x501d66(0x221)!=typeof _0x46a829[_0x501d66(0x21e)])throw new _0x13a51e(_0x501d66(0x214),this);if(this[_0x501d66(0x204)](_0x46a829))throw new _0x13a51e(_0x501d66(0x230),this,{'name':_0x46a829[_0x501d66(0x1fa)][_0x501d66(0x1f2)]});this[_0x501d66(0x1f6)][_0x501d66(0x1ec)](_0x46a829);}[_0x1e9131(0x20a)](_0x10964a){const _0x14442b=_0x1e9131;this[_0x14442b(0x1f6)][_0x14442b(0x1ef)](_0x10964a);}[_0x1e9131(0x204)](_0x5d148f){const _0x1a4ed9=_0x1e9131;return this[_0x1a4ed9(0x1f6)][_0x1a4ed9(0x1ee)](_0x5d148f);}[_0x1e9131(0x22a)](){const _0x1fabf1=_0x1e9131;return this[_0x1fabf1(0x216)][_0x1fabf1(0x21e)]()[_0x1fabf1(0x1f4)](()=>Promise[_0x1fabf1(0x200)](Array[_0x1fabf1(0x207)](this[_0x1fabf1(0x1f6)],_0x2ff5ea=>_0x2ff5ea[_0x1fabf1(0x21e)]())))[_0x1fabf1(0x1f4)](()=>this[_0x1fabf1(0x1fd)]=_0x521b35[_0x1fabf1(0x218)])[_0x1fabf1(0x22f)](_0x52d9d9=>{const _0x42ffcb=_0x1fabf1;throw console[_0x42ffcb(0x1fe)](_0x52d9d9),new _0x13a51e(_0x42ffcb(0x20c),this[_0x42ffcb(0x21f)]);});}[_0x1e9131(0x1f9)](){const _0x1e8711=_0x1e9131;this[_0x1e8711(0x216)]&&this[_0x1e8711(0x216)][_0x1e8711(0x217)](),this[_0x1e8711(0x1fd)]=_0x521b35[_0x1e8711(0x22d)],this[_0x1e8711(0x209)][_0x1e8711(0x227)](),super[_0x1e8711(0x1f9)]();}}c[_0x1e9131(0x211)]=_0x403bc8,c[_0x1e9131(0x22e)]=0x3e8;function _0x5aa6(){const _0x33baf1=['8GSiqdN','isInReconnectionStack','plugins','25rvJBzj','from','bind','_domEmitter','removeFromReconnectionStack','connected','cloudservices-reconnection-error','websocketgateway-missing-websocket-url','define','cloudServices.requestTimeout','showWarning','WebSocketGateway','344133EVbTYh','requires','websocketgateway-invalid-plugin-interface','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','connection','disconnect','CONNECTED','real-time-collaboration','connect','cloudservices-init','2012160WBjDAi','get','reconnect','context','_isBrowserOffline','function','code','offline','change:me','CONNECTING','992454DfziNP','stopListening','1691291skutko','config','_reconnect','cloudServices.connectionTimeout','CloudServices','DISCONNECTED','initialReconnectionInterval','catch','websocketgateway-plugin-already-registered','_shouldPluginsReconnect','create','websocketgateway-missing-token','add','set','has','delete','Connected\x20users\x20limit\x20exceeded','webSocketUrl','pluginName','token','then','975030xnPtPp','_reconnectionStack','limitExceeded','addToReconnectionStack','destroy','constructor','online','listenTo','state','error','19976iyvPeY','all','init','13623831xNSNrn'];_0x5aa6=function(){return _0x33baf1;};return _0x5aa6();}function _0x2304(_0x56863c,_0x38a00f){const _0x5aa68f=_0x5aa6();return _0x2304=function(_0x2304b1,_0x2389ad){_0x2304b1=_0x2304b1-0x1ea;let _0x47da66=_0x5aa68f[_0x2304b1];return _0x47da66;},_0x2304(_0x56863c,_0x38a00f);}export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x12a960=_0x55e0;function _0x55e0(_0x265004,_0x14a931){var _0x5acff9=_0x5acf();return _0x55e0=function(_0x55e01b,_0x41c2a3){_0x55e01b=_0x55e01b-0xee;var _0x5760e3=_0x5acff9[_0x55e01b];return _0x5760e3;},_0x55e0(_0x265004,_0x14a931);}(function(_0x5433cd,_0x2dbfbc){var _0x2adfb4=_0x55e0,_0x1f5b12=_0x5433cd();while(!![]){try{var _0x418506=-parseInt(_0x2adfb4(0xf7))/0x1*(parseInt(_0x2adfb4(0xf3))/0x2)+-parseInt(_0x2adfb4(0xee))/0x3+-parseInt(_0x2adfb4(0xf9))/0x4+parseInt(_0x2adfb4(0xf8))/0x5*(-parseInt(_0x2adfb4(0xef))/0x6)+parseInt(_0x2adfb4(0xf6))/0x7*(-parseInt(_0x2adfb4(0xf2))/0x8)+parseInt(_0x2adfb4(0xf1))/0x9+parseInt(_0x2adfb4(0xf0))/0xa;if(_0x418506===_0x2dbfbc)break;else _0x1f5b12['push'](_0x1f5b12['shift']());}catch(_0x5dde1e){_0x1f5b12['push'](_0x1f5b12['shift']());}}}(_0x5acf,0xedcf9));import{Plugin as _0xae3eae}from'ckeditor5/src/core.js';import _0x2e24af from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x5acf(){var _0x53cb55=['6252984qCZHCh','pluginName','3541722sIElFQ','1428wyTnUV','60792090nqagQc','14415111XCPVNB','4064MOdSmS','2vqysmS','RealTimeCollaborativeEditing','requires','4564HxUgAc','1903423omqkZp','36310kLiIqG'];_0x5acf=function(){return _0x53cb55;};return _0x5acf();}export default class n extends _0xae3eae{static get[_0x12a960(0xf5)](){return[_0x2e24af];}static get[_0x12a960(0xfa)](){var _0x53bfe0=_0x12a960;return _0x53bfe0(0xf4);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x960670=_0x9f33;(function(_0x54f5ea,_0x429849){const _0x1459f8=_0x9f33,_0x3e2575=_0x54f5ea();while(!![]){try{const _0x5da4a6=parseInt(_0x1459f8(0x1b6))/0x1+parseInt(_0x1459f8(0x1a5))/0x2+parseInt(_0x1459f8(0x1b8))/0x3+parseInt(_0x1459f8(0x190))/0x4*(parseInt(_0x1459f8(0x183))/0x5)+parseInt(_0x1459f8(0x192))/0x6+parseInt(_0x1459f8(0x1d0))/0x7+-parseInt(_0x1459f8(0x19b))/0x8;if(_0x5da4a6===_0x429849)break;else _0x3e2575['push'](_0x3e2575['shift']());}catch(_0xbc4396){_0x3e2575['push'](_0x3e2575['shift']());}}}(_0x414d,0x9c00e));import{Plugin as _0x3276bd}from'ckeditor5/src/core.js';import{version as _0x75f6d4}from'ckeditor5/src/utils.js';function _0x414d(){const _0xdec427=['affectsData','connected','reverse','_revisionDataBuilder','getOperations','722634CvxAgP','isBundleUploaded','246849FkMapM','has','_revisions','isEnabled','_preventResendingRevisionData','addRevisionData','_oldOffset','connect','from','catch','fromVersion','RevisionTracker','reInit','CONNECTED','destroy','config','_startingVersion','_getLatestVersion','adapter','_bufferUpdate','addUser','marker','off','init','6219892nDOudo','getRevision','getMany','_bufferedUpdates','cloud-services-internal-error:\x20Request\x20timeout.','requires','change:_isConnected','isEmptyCurrent','addToReconnectionStack','diffData','get','serverHistory','wrongRequestId','_update','createdAt','setSource','once','currentRevision','type','length','_fixRevision','cloud-services-internal-error:\x20Not\x20connected.','map','size','remove','revisionsUpdated','getUser','baseVersion','editor','connection','RevisionHistoryService','repository','2165435deOROK','_createCurrentRevision','sessionId','sendBufferedUpdates','listenTo','_revisionHistoryService','_revisionTracker','reconnect','_lastRequestId','change:_isPendingUpdate','_isConnected','getRevisions','authorsIds','4JradMg','isConnected','1673064zbzMXC','_isPendingUpdate','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','buildRevisionData','setRevisionData','toVersion','cloudServices.bundleVersion','_offset','plugins','18318192UIVhYr','collaboration.channelId','_handleRevisionsUpdate','_waitForServiceReady','400','add','_getLatestVersionFromServerOperations','creatorId','data','then','1046720lIMiEn','max','bind','authors','_handleReconnectionError','keys','startsWith','_fetchMissingUsers','code','updateRevisions','state','message'];_0x414d=function(){return _0xdec427;};return _0x414d();}import{Users as _0x39106a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x9f33(_0x5a299d,_0x3b024f){const _0x414d07=_0x414d();return _0x9f33=function(_0x9f336b,_0x1db652){_0x9f336b=_0x9f336b-0x175;let _0x4e6ba1=_0x414d07[_0x9f336b];return _0x4e6ba1;},_0x9f33(_0x5a299d,_0x3b024f);}import _0x46ad6e from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x564b2e from'../realtimecollaborativeediting/websocketgateway.js';import _0x2109d0 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0xa11f22,RevisionHistoryService as _0x2a4982,User as _0x28d333,WEB_SOCKET_GATEWAY_STATES as _0x2519d9}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x3276bd{static get[_0x960670(0x1d5)](){const _0x1745fb=_0x960670;return[_0x564b2e,_0x46ad6e,_0x1745fb(0x1c3),_0x2109d0,_0x39106a];}constructor(_0x2959c4){const _0x1f9834=_0x960670;super(_0x2959c4);const _0x11c400=this[_0x1f9834(0x17f)][_0x1f9834(0x1c7)][_0x1f9834(0x1da)](_0x1f9834(0x19c));this[_0x1f9834(0x18b)]=null,this[_0x1f9834(0x189)]=this[_0x1f9834(0x17f)][_0x1f9834(0x19a)][_0x1f9834(0x1da)](_0x1f9834(0x1c3)),this[_0x1f9834(0x188)]=new v[(_0x1f9834(0x181))](_0x11c400);}async[_0x960670(0x1cf)](){const _0x3bd748=_0x960670,_0x51d79d=this[_0x3bd748(0x17f)][_0x3bd748(0x19a)][_0x3bd748(0x1da)](_0x46ad6e),_0x15912b=_0x51d79d[_0x3bd748(0x1db)],_0x5b1793=this[_0x3bd748(0x17f)][_0x3bd748(0x19a)][_0x3bd748(0x1da)](_0x564b2e);this[_0x3bd748(0x189)][_0x3bd748(0x1df)]({'history':_0x15912b,'getLatestVersion':()=>this[_0x3bd748(0x1c9)](),'getCurrentRevisionId':()=>_0x51d79d[_0x3bd748(0x185)]});const _0x50207c=this[_0x3bd748(0x17f)][_0x3bd748(0x1c7)][_0x3bd748(0x1da)](_0x3bd748(0x198))||_0x75f6d4,_0x70b074=await _0xa11f22[_0x3bd748(0x1b7)](_0x5b1793[_0x3bd748(0x180)],_0x50207c);this[_0x3bd748(0x189)][_0x3bd748(0x1ca)]={'getRevision':async({revisionId:_0x10ae25})=>(await this[_0x3bd748(0x19e)](),await this[_0x3bd748(0x188)][_0x3bd748(0x1d1)](_0x10ae25)),'updateRevisions':async _0x3345f3=>{const _0x2e590b=_0x3bd748;await this[_0x2e590b(0x19e)]();const _0x247f2d=this[_0x2e590b(0x189)][_0x2e590b(0x1e1)];if(_0x70b074&&0x1===_0x3345f3[_0x2e590b(0x176)]&&_0x3345f3[0x0]['id']===_0x247f2d['id'])return _0x3345f3;for(const _0x17bf14 of _0x3345f3)_0x17bf14['id']===_0x247f2d['id']&&(_0x17bf14[_0x2e590b(0x1d7)]=_0x17bf14[_0x2e590b(0x1c2)]===_0x17bf14[_0x2e590b(0x197)]);return this[_0x2e590b(0x188)][_0x2e590b(0x1ae)](_0x3345f3,this[_0x2e590b(0x18b)])[_0x2e590b(0x1a4)](_0x2f5f7a=>(this[_0x2e590b(0x18b)]=_0x2f5f7a,_0x3345f3))[_0x2e590b(0x1c1)](_0x54ae3f=>{const _0x768c73=_0x2e590b;if(st(_0x54ae3f)||_0x768c73(0x19f)===_0x54ae3f[_0x768c73(0x1ad)]&&void 0x0!==_0x54ae3f[_0x768c73(0x1a3)][_0x768c73(0x1dc)]){for(const _0x1d96a9 of _0x3345f3){!this[_0x768c73(0x189)][_0x768c73(0x182)][_0x768c73(0x1d1)](_0x1d96a9['id'])||this[_0x768c73(0x189)][_0x768c73(0x1cb)](_0x1d96a9['id'],_0x1d96a9,!0x1);}if(st(_0x54ae3f))throw _0x54ae3f;return _0x3345f3;}throw _0x54ae3f;});}},this[_0x3bd748(0x187)](this[_0x3bd748(0x188)],_0x3bd748(0x17c),(_0x317422,{revisionsData:_0x52f828,requestId:_0x3a47d4})=>{const _0x2bb04d=_0x3bd748;Math[_0x2bb04d(0x1a6)](..._0x52f828[_0x2bb04d(0x179)](_0x5b9b75=>_0x5b9b75[_0x2bb04d(0x197)]))>this[_0x2bb04d(0x1a1)]()-0x1?this[_0x2bb04d(0x1c9)]()[_0x2bb04d(0x1a4)](()=>{const _0x2b5cd3=_0x2bb04d;this[_0x2b5cd3(0x19d)](_0x52f828,_0x3a47d4);}):this[_0x2bb04d(0x19d)](_0x52f828,_0x3a47d4);});const {revisions:_0x373386,requestId:_0x14e2af}=await this[_0x3bd748(0x188)][_0x3bd748(0x1bf)](_0x5b1793[_0x3bd748(0x180)]);_0x5b1793[_0x3bd748(0x1d8)](this),this[_0x3bd748(0x18b)]=_0x14e2af,await this[_0x3bd748(0x1ac)](_0x373386);for(const _0x580d6c of _0x373386)this[_0x3bd748(0x189)][_0x3bd748(0x1bd)](_0x580d6c);this[_0x3bd748(0x187)](_0x51d79d,_0x3bd748(0x1d6),(_0x5c2698,_0x524f9b,_0x5dfaa0)=>{const _0x169771=_0x3bd748;_0x5dfaa0&&(this[_0x169771(0x1be)]=_0x51d79d[_0x169771(0x199)],_0x5c2698[_0x169771(0x1ce)]());}),this[_0x3bd748(0x189)][_0x3bd748(0x1a7)](_0x3bd748(0x1bb))['to'](_0x5b1793,_0x3bd748(0x1af),_0x4df8f7=>_0x4df8f7===_0x2519d9[_0x3bd748(0x1c5)]);}async[_0x960670(0x18a)](){const _0x1d3925=_0x960670,_0x31c289=this[_0x1d3925(0x17f)][_0x1d3925(0x19a)][_0x1d3925(0x1da)](_0x564b2e),_0x16fbe8=this[_0x1d3925(0x17f)][_0x1d3925(0x19a)][_0x1d3925(0x1da)](_0x46ad6e),_0x429f39=async()=>{const _0x5c7b53=_0x1d3925,_0x3f1658=this[_0x5c7b53(0x189)][_0x5c7b53(0x1e1)],_0x31874e=_0x3f1658['id'],_0x2a2120=_0x31874e!==_0x16fbe8[_0x5c7b53(0x185)];if(_0x2a2120){const _0x3d843a=_0x16fbe8[_0x5c7b53(0x199)]-this[_0x5c7b53(0x1be)],_0x28baff=this[_0x5c7b53(0x1a1)]();this[_0x5c7b53(0x189)][_0x5c7b53(0x1b4)][_0x5c7b53(0x1c4)]();if(_0x3f1658[_0x5c7b53(0x197)]+_0x3d843a!==_0x28baff){const _0x591b7d=_0x3f1658[_0x5c7b53(0x1c2)]+_0x3d843a,_0x5d4a03=this[_0x5c7b53(0x17f)][_0x5c7b53(0x19a)][_0x5c7b53(0x1da)](_0x39106a),_0x46b379=this[_0x5c7b53(0x189)][_0x5c7b53(0x195)]({'revision':_0x3f1658,'from':_0x591b7d,'to':_0x28baff});_0x46b379['id']=_0x3f1658['id'];const _0x3c6f5c=_0x46b379[_0x5c7b53(0x18f)][_0x5c7b53(0x179)](_0x132385=>_0x5d4a03[_0x5c7b53(0x17d)](_0x132385));_0x3f1658[_0x5c7b53(0x1dd)]({..._0x46b379,'authors':_0x3c6f5c},!0x0),this[_0x5c7b53(0x189)][_0x5c7b53(0x1cb)](_0x3f1658['id'],_0x46b379,!0x0);}this[_0x5c7b53(0x189)][_0x5c7b53(0x1c8)]=_0x28baff,(_0x3f1658[_0x5c7b53(0x197)]===_0x3f1658[_0x5c7b53(0x1c2)]&&!this[_0x5c7b53(0x189)][_0x5c7b53(0x1d3)][_0x5c7b53(0x1b9)](_0x31874e)&&this[_0x5c7b53(0x189)][_0x5c7b53(0x182)][_0x5c7b53(0x1ba)][_0x5c7b53(0x17b)](_0x31874e),this[_0x5c7b53(0x189)][_0x5c7b53(0x184)](_0x28baff));}const {revisions:_0x119f12,requestId:_0x5d8540}=await this[_0x5c7b53(0x188)][_0x5c7b53(0x18a)](_0x31c289[_0x5c7b53(0x180)],this[_0x5c7b53(0x18b)]);_0x2a2120&&_0x119f12[_0x5c7b53(0x176)]>0x0?_0x16fbe8[_0x5c7b53(0x1a9)]():(await this[_0x5c7b53(0x1ac)](_0x119f12),this[_0x5c7b53(0x19d)](_0x119f12,_0x5d8540),this[_0x5c7b53(0x189)][_0x5c7b53(0x186)]());};return _0x16fbe8[_0x1d3925(0x18d)]?_0x429f39():new Promise((_0x31d4f7,_0x1588fb)=>{const _0x29929b=_0x1d3925;_0x16fbe8[_0x29929b(0x1e0)](_0x29929b(0x1d6),()=>{const _0x3a2e8c=_0x29929b;_0x429f39()[_0x3a2e8c(0x1a4)](_0x31d4f7)[_0x3a2e8c(0x1c1)](_0x1588fb);});});}[_0x960670(0x1c6)](){const _0x2d3c18=_0x960670;super[_0x2d3c18(0x1c6)]();}async[_0x960670(0x19e)](){const _0x252257=_0x960670;this[_0x252257(0x188)][_0x252257(0x191)]||await new Promise(_0x18b730=>{const _0x4a3d0e=_0x252257;this[_0x4a3d0e(0x187)](this[_0x4a3d0e(0x188)],_0x4a3d0e(0x1b2),_0x3ef227=>{const _0x4ae1d5=_0x4a3d0e;_0x3ef227[_0x4ae1d5(0x1ce)](),_0x18b730();});});}[_0x960670(0x1a1)](){const _0x5ceda1=_0x960670,_0x27b3de=this[_0x5ceda1(0x17f)][_0x5ceda1(0x19a)][_0x5ceda1(0x1da)](_0x46ad6e)[_0x5ceda1(0x1db)][_0x5ceda1(0x1b5)]()[_0x5ceda1(0x1b3)]();for(const _0x262fb5 of _0x27b3de)if(_0x5ceda1(0x1cd)!==_0x262fb5[_0x5ceda1(0x175)]||_0x262fb5[_0x5ceda1(0x1b1)])return _0x262fb5[_0x5ceda1(0x17e)]+0x1;}[_0x960670(0x1c9)](){const _0xa8b449=_0x960670,_0x32f38a=this[_0xa8b449(0x17f)][_0xa8b449(0x19a)][_0xa8b449(0x1da)](_0x46ad6e);return new Promise(_0x1c1a3c=>{const _0x4e17e8=_0xa8b449;_0x32f38a[_0x4e17e8(0x193)]?_0x32f38a[_0x4e17e8(0x1e0)](_0x4e17e8(0x18c),()=>{const _0x4d5be1=_0x4e17e8;_0x1c1a3c(this[_0x4d5be1(0x1a1)]());}):_0x1c1a3c(this[_0x4e17e8(0x1a1)]());});}[_0x960670(0x19d)](_0x36409e,_0x3e2e8e){const _0x3e5516=_0x960670,_0x168b29=this[_0x3e5516(0x189)][_0x3e5516(0x182)];this[_0x3e5516(0x18b)]=_0x3e2e8e;for(const _0x3b37e7 of _0x36409e){const _0x1c1456=_0x168b29[_0x3e5516(0x1d1)](_0x3b37e7['id']);if(_0x1c1456){if((_0x3b37e7[_0x3e5516(0x1c2)]||_0x3b37e7[_0x3e5516(0x197)])&&(_0x3b37e7[_0x3e5516(0x1d9)]=null),_0x1c1456===this[_0x3e5516(0x189)][_0x3e5516(0x1e1)]){const _0x5a04=Math[_0x3e5516(0x1a6)](_0x1c1456[_0x3e5516(0x197)],_0x3b37e7[_0x3e5516(0x197)]),_0x821c22=Math[_0x3e5516(0x1a6)](_0x1c1456[_0x3e5516(0x1c2)],_0x3b37e7[_0x3e5516(0x1c2)]);let _0x21f9cf;_0x1c1456[_0x3e5516(0x197)]===_0x3b37e7[_0x3e5516(0x197)]&&_0x1c1456[_0x3e5516(0x1c2)]===_0x3b37e7[_0x3e5516(0x1c2)]?(_0x21f9cf=!0x0,this[_0x3e5516(0x1bc)](_0x3b37e7)):_0x3b37e7[_0x3e5516(0x197)]===_0x5a04&&_0x3b37e7[_0x3e5516(0x1c2)]===_0x821c22?_0x21f9cf=!0x1:(_0x1c1456[_0x3e5516(0x197)]===_0x5a04&&_0x1c1456[_0x3e5516(0x1c2)]===_0x821c22||this[_0x3e5516(0x177)]({'revision':_0x1c1456,'from':_0x821c22,'to':_0x5a04}),_0x21f9cf=!0x0),_0x21f9cf&&(delete _0x3b37e7[_0x3e5516(0x1c2)],delete _0x3b37e7[_0x3e5516(0x197)],delete _0x3b37e7[_0x3e5516(0x1d9)],delete _0x3b37e7[_0x3e5516(0x1de)],delete _0x3b37e7[_0x3e5516(0x18f)]);}this[_0x3e5516(0x189)][_0x3e5516(0x196)](_0x3b37e7),this[_0x3e5516(0x1bc)](_0x3b37e7);}else this[_0x3e5516(0x189)][_0x3e5516(0x1bd)](_0x3b37e7);}const _0x2c7218=_0x168b29[_0x3e5516(0x18e)]();_0x2c7218[_0x3e5516(0x1b3)]();for(let _0x408779=0x0;_0x408779<_0x2c7218[_0x3e5516(0x176)]-0x1;_0x408779++){const _0x1cac7a=_0x2c7218[_0x408779],_0xf4d368=_0x2c7218[_0x408779+0x1];if(_0x1cac7a[_0x3e5516(0x1c2)]<_0xf4d368[_0x3e5516(0x197)]){const _0x47767e=_0xf4d368[_0x3e5516(0x197)],_0x29da48=Math[_0x3e5516(0x1a6)](_0x47767e,_0x1cac7a[_0x3e5516(0x197)]);this[_0x3e5516(0x177)]({'revision':_0x1cac7a,'from':_0x47767e,'to':_0x29da48});}}}[_0x960670(0x177)]({revision:_0x3212cf,from:_0x237ea9,to:_0x545f6e}={}){const _0x1f346b=_0x960670,_0x466359=this[_0x1f346b(0x17f)][_0x1f346b(0x19a)][_0x1f346b(0x1da)](_0x39106a),_0x3f1e64=this[_0x1f346b(0x189)][_0x1f346b(0x195)]({'revision':_0x3212cf,'from':_0x237ea9,'to':_0x545f6e});_0x3f1e64[_0x1f346b(0x1a8)]=_0x3f1e64[_0x1f346b(0x18f)][_0x1f346b(0x179)](_0x907adf=>_0x466359[_0x1f346b(0x17d)](_0x907adf)),_0x3212cf[_0x1f346b(0x1dd)](_0x3f1e64);}[_0x960670(0x1bc)](_0x280f98){const _0x2ffeb0=_0x960670,_0x583031={};_0x583031['id']=_0x280f98['id'];for(const _0x20539d of Object[_0x2ffeb0(0x1aa)](_0x280f98))'id'!==_0x20539d&&(_0x583031[_0x20539d]=void 0x0);this[_0x2ffeb0(0x189)][_0x2ffeb0(0x1cb)](_0x583031['id'],_0x583031,!0x0);}async[_0x960670(0x1ac)](_0x1ebb3a){const _0x2ed6a0=_0x960670,_0x3be02d=this[_0x2ed6a0(0x17f)][_0x2ed6a0(0x19a)][_0x2ed6a0(0x1da)](_0x39106a),{connection:_0x363275}=this[_0x2ed6a0(0x17f)][_0x2ed6a0(0x19a)][_0x2ed6a0(0x1da)](_0x564b2e),_0x1750bd=new Set();for(const _0x3be4a5 of _0x1ebb3a){for(const _0x4e6627 of _0x3be4a5[_0x2ed6a0(0x18f)])_0xe8c979(_0x4e6627);_0x3be4a5[_0x2ed6a0(0x1a2)]&&_0xe8c979(_0x3be4a5[_0x2ed6a0(0x1a2)]);}if(0x0===_0x1750bd[_0x2ed6a0(0x17a)])return;const _0x4d6567=await _0x28d333[_0x2ed6a0(0x1d2)](_0x363275,Array[_0x2ed6a0(0x1c0)](_0x1750bd));for(const _0x312205 of _0x4d6567)_0x3be02d[_0x2ed6a0(0x17d)](_0x312205['id'])||_0x3be02d[_0x2ed6a0(0x1cc)](_0x312205);function _0xe8c979(_0x43eecd){const _0x1f1fa9=_0x2ed6a0;_0x3be02d[_0x1f1fa9(0x17d)](_0x43eecd)||_0x1750bd[_0x1f1fa9(0x1a0)](_0x43eecd);}}}v[_0x960670(0x181)]=_0x2a4982;export default v;function st(_0x23accb){const _0x5d44b8=_0x960670;return _0x23accb[_0x5d44b8(0x1b0)][_0x5d44b8(0x1ab)](_0x5d44b8(0x194))||_0x23accb[_0x5d44b8(0x1b0)][_0x5d44b8(0x1ab)](_0x5d44b8(0x178))||_0x23accb[_0x5d44b8(0x1b0)][_0x5d44b8(0x1ab)](_0x5d44b8(0x1d4));}
|
|
23
|
+
const _0x428a80=_0x3511;(function(_0x17536d,_0x4b41b5){const _0x48a545=_0x3511,_0x35eaa2=_0x17536d();while(!![]){try{const _0x2a051a=parseInt(_0x48a545(0x21b))/0x1+parseInt(_0x48a545(0x1e2))/0x2+-parseInt(_0x48a545(0x1d1))/0x3*(parseInt(_0x48a545(0x1c7))/0x4)+parseInt(_0x48a545(0x209))/0x5*(-parseInt(_0x48a545(0x1ee))/0x6)+parseInt(_0x48a545(0x1de))/0x7+-parseInt(_0x48a545(0x1eb))/0x8+parseInt(_0x48a545(0x1d7))/0x9;if(_0x2a051a===_0x4b41b5)break;else _0x35eaa2['push'](_0x35eaa2['shift']());}catch(_0x260816){_0x35eaa2['push'](_0x35eaa2['shift']());}}}(_0x2362,0x7adc2));import{Plugin as _0x5a3cc1}from'ckeditor5/src/core.js';import{version as _0x48c3c8}from'ckeditor5/src/utils.js';import{Users as _0x5977fb}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2f890e from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x46170d from'../realtimecollaborativeediting/websocketgateway.js';import _0x4d7916 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x128917,RevisionHistoryService as _0x5e4a1f,User as _0x3f5360,WEB_SOCKET_GATEWAY_STATES as _0x38f9c8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x5a3cc1{static get[_0x428a80(0x203)](){const _0x37114b=_0x428a80;return[_0x46170d,_0x2f890e,_0x37114b(0x1e4),_0x4d7916,_0x5977fb];}constructor(_0x549548){const _0x3f3881=_0x428a80;super(_0x549548);const _0x19e26e=this[_0x3f3881(0x207)][_0x3f3881(0x1dd)][_0x3f3881(0x1d9)](_0x3f3881(0x1ec));this[_0x3f3881(0x22e)]=null,this[_0x3f3881(0x20b)]=this[_0x3f3881(0x207)][_0x3f3881(0x1fb)][_0x3f3881(0x1d9)](_0x3f3881(0x1e4)),this[_0x3f3881(0x1d4)]=new v[(_0x3f3881(0x228))](_0x19e26e);}async[_0x428a80(0x1ce)](){const _0xb8ed1=_0x428a80,_0x44441e=this[_0xb8ed1(0x207)][_0xb8ed1(0x1fb)][_0xb8ed1(0x1d9)](_0x2f890e),_0x211236=_0x44441e[_0xb8ed1(0x212)],_0x56f2d2=this[_0xb8ed1(0x207)][_0xb8ed1(0x1fb)][_0xb8ed1(0x1d9)](_0x46170d);this[_0xb8ed1(0x20b)][_0xb8ed1(0x206)]({'history':_0x211236,'getLatestVersion':()=>this[_0xb8ed1(0x1dc)](),'getCurrentRevisionId':()=>_0x44441e[_0xb8ed1(0x1e6)]});const _0x23b9f0=this[_0xb8ed1(0x207)][_0xb8ed1(0x1dd)][_0xb8ed1(0x1d9)](_0xb8ed1(0x229))||_0x48c3c8,_0x56189b=await _0x128917[_0xb8ed1(0x1fe)](_0x56f2d2[_0xb8ed1(0x1c5)],_0x23b9f0);this[_0xb8ed1(0x20b)][_0xb8ed1(0x227)]={'getRevision':async({revisionId:_0xbe64c5})=>(await this[_0xb8ed1(0x1f2)](),await this[_0xb8ed1(0x1d4)][_0xb8ed1(0x21a)](_0xbe64c5)),'updateRevisions':async _0x3453a8=>{const _0x2b2f3e=_0xb8ed1;await this[_0x2b2f3e(0x1f2)]();const _0x428011=this[_0x2b2f3e(0x20b)][_0x2b2f3e(0x1f6)];if(_0x56189b&&0x1===_0x3453a8[_0x2b2f3e(0x211)]&&_0x3453a8[0x0]['id']===_0x428011['id'])return _0x3453a8;for(const _0x3a966c of _0x3453a8)_0x3a966c['id']===_0x428011['id']&&(_0x3a966c[_0x2b2f3e(0x1fd)]=_0x3a966c[_0x2b2f3e(0x1cd)]===_0x3a966c[_0x2b2f3e(0x20a)]);return this[_0x2b2f3e(0x1d4)][_0x2b2f3e(0x201)](_0x3453a8,this[_0x2b2f3e(0x22e)])[_0x2b2f3e(0x1e7)](_0x5d2b6f=>(this[_0x2b2f3e(0x22e)]=_0x5d2b6f,_0x3453a8))[_0x2b2f3e(0x1fc)](_0x5d2a14=>{const _0x563c92=_0x2b2f3e;if(st(_0x5d2a14)||_0x563c92(0x1f8)===_0x5d2a14[_0x563c92(0x1c4)]&&void 0x0!==_0x5d2a14[_0x563c92(0x1c9)][_0x563c92(0x222)]){for(const _0x174155 of _0x3453a8){!this[_0x563c92(0x20b)][_0x563c92(0x1ef)][_0x563c92(0x21a)](_0x174155['id'])||this[_0x563c92(0x20b)][_0x563c92(0x1ff)](_0x174155['id'],_0x174155,!0x1);}if(st(_0x5d2a14))throw _0x5d2a14;return _0x3453a8;}throw _0x5d2a14;});}},this[_0xb8ed1(0x208)](this[_0xb8ed1(0x1d4)],_0xb8ed1(0x21e),(_0x444dd6,{revisionsData:_0x1f5f3d,requestId:_0x1d5215})=>{const _0x3a9638=_0xb8ed1;Math[_0x3a9638(0x22f)](..._0x1f5f3d[_0x3a9638(0x22a)](_0x161b6c=>_0x161b6c[_0x3a9638(0x20a)]))>this[_0x3a9638(0x22c)]()-0x1?this[_0x3a9638(0x1dc)]()[_0x3a9638(0x1e7)](()=>{const _0x2b93b6=_0x3a9638;this[_0x2b93b6(0x21d)](_0x1f5f3d,_0x1d5215);}):this[_0x3a9638(0x21d)](_0x1f5f3d,_0x1d5215);});const {revisions:_0x51cbb1,requestId:_0x3e8b4a}=await this[_0xb8ed1(0x1d4)][_0xb8ed1(0x1f1)](_0x56f2d2[_0xb8ed1(0x1c5)]);_0x56f2d2[_0xb8ed1(0x210)](this),this[_0xb8ed1(0x22e)]=_0x3e8b4a,await this[_0xb8ed1(0x1cf)](_0x51cbb1);for(const _0x57441a of _0x51cbb1)this[_0xb8ed1(0x20b)][_0xb8ed1(0x221)](_0x57441a);this[_0xb8ed1(0x208)](_0x44441e,_0xb8ed1(0x1e8),(_0x8b24b4,_0x564cf3,_0x23e627)=>{const _0x2cee96=_0xb8ed1;_0x23e627&&(this[_0x2cee96(0x21f)]=_0x44441e[_0x2cee96(0x214)],_0x8b24b4[_0x2cee96(0x225)]());}),this[_0xb8ed1(0x20b)][_0xb8ed1(0x1d6)](_0xb8ed1(0x223))['to'](_0x56f2d2,_0xb8ed1(0x1e1),_0xf0bfe1=>_0xf0bfe1===_0x38f9c8[_0xb8ed1(0x1ed)]);}async[_0x428a80(0x205)](){const _0x2edd41=_0x428a80,_0x3dedb0=this[_0x2edd41(0x207)][_0x2edd41(0x1fb)][_0x2edd41(0x1d9)](_0x46170d),_0x426a55=this[_0x2edd41(0x207)][_0x2edd41(0x1fb)][_0x2edd41(0x1d9)](_0x2f890e),_0x316354=async()=>{const _0x4b8198=_0x2edd41,_0x4aee71=this[_0x4b8198(0x20b)][_0x4b8198(0x1f6)],_0x486953=_0x4aee71['id'],_0x3540b5=_0x486953!==_0x426a55[_0x4b8198(0x1e6)];if(_0x3540b5){const _0x57a1a1=_0x426a55[_0x4b8198(0x214)]-this[_0x4b8198(0x21f)],_0x1174cd=this[_0x4b8198(0x22c)]();this[_0x4b8198(0x20b)][_0x4b8198(0x1d3)][_0x4b8198(0x1d0)]();if(_0x4aee71[_0x4b8198(0x20a)]+_0x57a1a1!==_0x1174cd){const _0x517aaa=_0x4aee71[_0x4b8198(0x1cd)]+_0x57a1a1,_0x52700b=this[_0x4b8198(0x207)][_0x4b8198(0x1fb)][_0x4b8198(0x1d9)](_0x5977fb),_0x2c3ea6=this[_0x4b8198(0x20b)][_0x4b8198(0x1f5)]({'revision':_0x4aee71,'from':_0x517aaa,'to':_0x1174cd});_0x2c3ea6['id']=_0x4aee71['id'];const _0x1c58ee=_0x2c3ea6[_0x4b8198(0x218)][_0x4b8198(0x22a)](_0xc01b2a=>_0x52700b[_0x4b8198(0x20f)](_0xc01b2a));_0x4aee71[_0x4b8198(0x224)]({..._0x2c3ea6,'authors':_0x1c58ee},!0x0),this[_0x4b8198(0x20b)][_0x4b8198(0x1ff)](_0x4aee71['id'],_0x2c3ea6,!0x0);}this[_0x4b8198(0x20b)][_0x4b8198(0x216)]=_0x1174cd,(_0x4aee71[_0x4b8198(0x20a)]===_0x4aee71[_0x4b8198(0x1cd)]&&!this[_0x4b8198(0x20b)][_0x4b8198(0x1fa)][_0x4b8198(0x1cb)](_0x486953)&&this[_0x4b8198(0x20b)][_0x4b8198(0x1ef)][_0x4b8198(0x1e0)][_0x4b8198(0x1ea)](_0x486953),this[_0x4b8198(0x20b)][_0x4b8198(0x1f0)](_0x1174cd));}const {revisions:_0x535bc6,requestId:_0xc1625d}=await this[_0x4b8198(0x1d4)][_0x4b8198(0x205)](_0x3dedb0[_0x4b8198(0x1c5)],this[_0x4b8198(0x22e)]);_0x3540b5&&_0x535bc6[_0x4b8198(0x211)]>0x0?_0x426a55[_0x4b8198(0x1c3)]():(await this[_0x4b8198(0x1cf)](_0x535bc6),this[_0x4b8198(0x21d)](_0x535bc6,_0xc1625d),this[_0x4b8198(0x20b)][_0x4b8198(0x202)]());};return _0x426a55[_0x2edd41(0x219)]?_0x316354():new Promise((_0x47ee81,_0x483f16)=>{const _0x19ed5c=_0x2edd41;_0x426a55[_0x19ed5c(0x1df)](_0x19ed5c(0x1e8),()=>{const _0x2114cc=_0x19ed5c;_0x316354()[_0x2114cc(0x1e7)](_0x47ee81)[_0x2114cc(0x1fc)](_0x483f16);});});}[_0x428a80(0x204)](){const _0x392004=_0x428a80;super[_0x392004(0x204)]();}async[_0x428a80(0x1f2)](){const _0x4131f2=_0x428a80;this[_0x4131f2(0x1d4)][_0x4131f2(0x213)]||await new Promise(_0x5f09d9=>{const _0x31c2e7=_0x4131f2;this[_0x31c2e7(0x208)](this[_0x31c2e7(0x1d4)],_0x31c2e7(0x1f9),_0x4a06f6=>{const _0x47a426=_0x31c2e7;_0x4a06f6[_0x47a426(0x225)](),_0x5f09d9();});});}[_0x428a80(0x22c)](){const _0x226d6c=_0x428a80,_0x249635=this[_0x226d6c(0x207)][_0x226d6c(0x1fb)][_0x226d6c(0x1d9)](_0x2f890e)[_0x226d6c(0x212)][_0x226d6c(0x1db)]()[_0x226d6c(0x1e9)]();for(const _0x1d98ef of _0x249635)if(_0x226d6c(0x22b)!==_0x1d98ef[_0x226d6c(0x1c2)]||_0x1d98ef[_0x226d6c(0x1f7)])return _0x1d98ef[_0x226d6c(0x1d5)]+0x1;}[_0x428a80(0x1dc)](){const _0x3a3331=_0x428a80,_0x1d6b3d=this[_0x3a3331(0x207)][_0x3a3331(0x1fb)][_0x3a3331(0x1d9)](_0x2f890e);return new Promise(_0x562c19=>{const _0x4233dd=_0x3a3331;_0x1d6b3d[_0x4233dd(0x1f4)]?_0x1d6b3d[_0x4233dd(0x1df)](_0x4233dd(0x1f3),()=>{const _0x4c59ca=_0x4233dd;_0x562c19(this[_0x4c59ca(0x22c)]());}):_0x562c19(this[_0x4233dd(0x22c)]());});}[_0x428a80(0x21d)](_0x26f5b9,_0x5337a3){const _0x265782=_0x428a80,_0x3a7737=this[_0x265782(0x20b)][_0x265782(0x1ef)];this[_0x265782(0x22e)]=_0x5337a3;for(const _0x33bc5a of _0x26f5b9){const _0x367924=_0x3a7737[_0x265782(0x21a)](_0x33bc5a['id']);if(_0x367924){if((_0x33bc5a[_0x265782(0x1cd)]||_0x33bc5a[_0x265782(0x20a)])&&(_0x33bc5a[_0x265782(0x1d2)]=null),_0x367924===this[_0x265782(0x20b)][_0x265782(0x1f6)]){const _0x370103=Math[_0x265782(0x22f)](_0x367924[_0x265782(0x20a)],_0x33bc5a[_0x265782(0x20a)]),_0x14dd1e=Math[_0x265782(0x22f)](_0x367924[_0x265782(0x1cd)],_0x33bc5a[_0x265782(0x1cd)]);let _0x327523;_0x367924[_0x265782(0x20a)]===_0x33bc5a[_0x265782(0x20a)]&&_0x367924[_0x265782(0x1cd)]===_0x33bc5a[_0x265782(0x1cd)]?(_0x327523=!0x0,this[_0x265782(0x1ca)](_0x33bc5a)):_0x33bc5a[_0x265782(0x20a)]===_0x370103&&_0x33bc5a[_0x265782(0x1cd)]===_0x14dd1e?_0x327523=!0x1:(_0x367924[_0x265782(0x20a)]===_0x370103&&_0x367924[_0x265782(0x1cd)]===_0x14dd1e||this[_0x265782(0x20c)]({'revision':_0x367924,'from':_0x14dd1e,'to':_0x370103}),_0x327523=!0x0),_0x327523&&(delete _0x33bc5a[_0x265782(0x1cd)],delete _0x33bc5a[_0x265782(0x20a)],delete _0x33bc5a[_0x265782(0x1d2)],delete _0x33bc5a[_0x265782(0x226)],delete _0x33bc5a[_0x265782(0x218)]);}this[_0x265782(0x20b)][_0x265782(0x21c)](_0x33bc5a),this[_0x265782(0x1ca)](_0x33bc5a);}else this[_0x265782(0x20b)][_0x265782(0x221)](_0x33bc5a);}const _0x586eca=_0x3a7737[_0x265782(0x22d)]();_0x586eca[_0x265782(0x1e9)]();for(let _0x1f454c=0x0;_0x1f454c<_0x586eca[_0x265782(0x211)]-0x1;_0x1f454c++){const _0x45ffd4=_0x586eca[_0x1f454c],_0x1a1e01=_0x586eca[_0x1f454c+0x1];if(_0x45ffd4[_0x265782(0x1cd)]<_0x1a1e01[_0x265782(0x20a)]){const _0x2567f5=_0x1a1e01[_0x265782(0x20a)],_0x13c0f4=Math[_0x265782(0x22f)](_0x2567f5,_0x45ffd4[_0x265782(0x20a)]);this[_0x265782(0x20c)]({'revision':_0x45ffd4,'from':_0x2567f5,'to':_0x13c0f4});}}}[_0x428a80(0x20c)]({revision:_0x2efd67,from:_0x514da5,to:_0x524d57}={}){const _0x309753=_0x428a80,_0x3b8ac6=this[_0x309753(0x207)][_0x309753(0x1fb)][_0x309753(0x1d9)](_0x5977fb),_0x4082db=this[_0x309753(0x20b)][_0x309753(0x1f5)]({'revision':_0x2efd67,'from':_0x514da5,'to':_0x524d57});_0x4082db[_0x309753(0x1c6)]=_0x4082db[_0x309753(0x218)][_0x309753(0x22a)](_0x3f0aba=>_0x3b8ac6[_0x309753(0x20f)](_0x3f0aba)),_0x2efd67[_0x309753(0x224)](_0x4082db);}[_0x428a80(0x1ca)](_0x48dfd5){const _0x534c88=_0x428a80,_0x1f9bd6={};_0x1f9bd6['id']=_0x48dfd5['id'];for(const _0x1d9b1a of Object[_0x534c88(0x220)](_0x48dfd5))'id'!==_0x1d9b1a&&(_0x1f9bd6[_0x1d9b1a]=void 0x0);this[_0x534c88(0x20b)][_0x534c88(0x1ff)](_0x1f9bd6['id'],_0x1f9bd6,!0x0);}async[_0x428a80(0x1cf)](_0x4c0d89){const _0x5d2228=_0x428a80,_0x43a215=this[_0x5d2228(0x207)][_0x5d2228(0x1fb)][_0x5d2228(0x1d9)](_0x5977fb),{connection:_0x12188e}=this[_0x5d2228(0x207)][_0x5d2228(0x1fb)][_0x5d2228(0x1d9)](_0x46170d),_0x5ad1ec=new Set();for(const _0x36643a of _0x4c0d89){for(const _0x3233f6 of _0x36643a[_0x5d2228(0x218)])_0x14f09b(_0x3233f6);_0x36643a[_0x5d2228(0x215)]&&_0x14f09b(_0x36643a[_0x5d2228(0x215)]);}if(0x0===_0x5ad1ec[_0x5d2228(0x20e)])return;const _0x58b68d=await _0x3f5360[_0x5d2228(0x1cc)](_0x12188e,Array[_0x5d2228(0x1e5)](_0x5ad1ec));for(const _0x2e7a77 of _0x58b68d)_0x43a215[_0x5d2228(0x20f)](_0x2e7a77['id'])||_0x43a215[_0x5d2228(0x1da)](_0x2e7a77);function _0x14f09b(_0x31139d){const _0x3f8111=_0x5d2228;_0x43a215[_0x3f8111(0x20f)](_0x31139d)||_0x5ad1ec[_0x3f8111(0x1e3)](_0x31139d);}}}v[_0x428a80(0x228)]=_0x5e4a1f;function _0x3511(_0x423181,_0x75aaa1){const _0x2362b6=_0x2362();return _0x3511=function(_0x35110c,_0x54dc34){_0x35110c=_0x35110c-0x1c2;let _0x1f19bb=_0x2362b6[_0x35110c];return _0x1f19bb;},_0x3511(_0x423181,_0x75aaa1);}export default v;function st(_0x2828d8){const _0x41844c=_0x428a80;return _0x2828d8[_0x41844c(0x20d)][_0x41844c(0x1c8)](_0x41844c(0x217))||_0x2828d8[_0x41844c(0x20d)][_0x41844c(0x1c8)](_0x41844c(0x1d8))||_0x2828d8[_0x41844c(0x20d)][_0x41844c(0x1c8)](_0x41844c(0x200));}function _0x2362(){const _0x18745a=['destroy','reconnect','setSource','editor','listenTo','622785JmKKMA','toVersion','_revisionTracker','_fixRevision','message','size','getUser','addToReconnectionStack','length','serverHistory','isConnected','_offset','creatorId','_startingVersion','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','authorsIds','_isConnected','getRevision','29170BjmLzj','setRevisionData','_handleRevisionsUpdate','revisionsUpdated','_oldOffset','keys','addRevisionData','wrongRequestId','isEnabled','_update','off','createdAt','adapter','RevisionHistoryService','cloudServices.bundleVersion','map','marker','_getLatestVersionFromServerOperations','getRevisions','_lastRequestId','max','type','_handleReconnectionError','code','connection','authors','8480yCWInQ','startsWith','data','_preventResendingRevisionData','has','getMany','fromVersion','init','_fetchMissingUsers','reInit','78EWbolS','diffData','_revisionDataBuilder','_revisionHistoryService','baseVersion','bind','13428xsbvjl','cloud-services-internal-error:\x20Not\x20connected.','get','addUser','getOperations','_getLatestVersion','config','6802495TzbigL','once','_revisions','state','888644wGCKKK','add','RevisionTracker','from','sessionId','then','change:_isConnected','reverse','remove','4117952tjmPTy','collaboration.channelId','CONNECTED','18rBKzSQ','repository','_createCurrentRevision','connect','_waitForServiceReady','change:_isPendingUpdate','_isPendingUpdate','buildRevisionData','currentRevision','affectsData','400','connected','_bufferedUpdates','plugins','catch','isEmptyCurrent','isBundleUploaded','_bufferUpdate','cloud-services-internal-error:\x20Request\x20timeout.','updateRevisions','sendBufferedUpdates','requires'];_0x2362=function(){return _0x18745a;};return _0x2362();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1850aa=_0xe9e5;(function(_0x3aead7,_0x5e624a){var _0x2ec947=_0xe9e5,_0x49a634=_0x3aead7();while(!![]){try{var _0xc49d44=-parseInt(_0x2ec947(0x1a3))/0x1+parseInt(_0x2ec947(0x1a4))/0x2+parseInt(_0x2ec947(0x1a8))/0x3+parseInt(_0x2ec947(0x1a6))/0x4*(parseInt(_0x2ec947(0x1a2))/0x5)+parseInt(_0x2ec947(0x1a1))/0x6+-parseInt(_0x2ec947(0x1a7))/0x7*(-parseInt(_0x2ec947(0x19f))/0x8)+-parseInt(_0x2ec947(0x1aa))/0x9*(parseInt(_0x2ec947(0x1a5))/0xa);if(_0xc49d44===_0x5e624a)break;else _0x49a634['push'](_0x49a634['shift']());}catch(_0x573efe){_0x49a634['push'](_0x49a634['shift']());}}}(_0x127b,0xba5e1));function _0x127b(){var _0x741157=['pluginName','81pwTWKI','RealTimeCollaborativeRevisionHistory','RevisionHistory','1032hfThkp','requires','5613084ytRnUh','568440IoMjwB','1465955ItFrEb','391664CYQaIT','1609940iUMAxg','36CLgkRe','44401rKBrzE','2116431MBSlUi'];_0x127b=function(){return _0x741157;};return _0x127b();}import{Plugin as _0x71f35e}from'ckeditor5/src/core.js';import _0x1a06f0 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x5a8605 from'./realtimecollaborativeediting.js';function _0xe9e5(_0x67ee3,_0x13f6fe){var _0x127b17=_0x127b();return _0xe9e5=function(_0xe9e516,_0x1ba37b){_0xe9e516=_0xe9e516-0x19f;var _0x14bad7=_0x127b17[_0xe9e516];return _0x14bad7;},_0xe9e5(_0x67ee3,_0x13f6fe);}export default class d extends _0x71f35e{static get[_0x1850aa(0x1a0)](){var _0x3376d2=_0x1850aa;return[_0x3376d2(0x1ac),_0x1a06f0,_0x5a8605];}static get[_0x1850aa(0x1a9)](){var _0x303519=_0x1850aa;return _0x303519(0x1ab);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x51c23b=_0x5a02;(function(_0x2afe49,_0x2dc44e){const _0x55ae9d=_0x5a02,_0x3f630f=_0x2afe49();while(!![]){try{const _0x15b965=-parseInt(_0x55ae9d(0x12f))/0x1+parseInt(_0x55ae9d(0x12e))/0x2*(parseInt(_0x55ae9d(0x124))/0x3)+-parseInt(_0x55ae9d(0x11e))/0x4+parseInt(_0x55ae9d(0x134))/0x5*(-parseInt(_0x55ae9d(0x10c))/0x6)+-parseInt(_0x55ae9d(0x11c))/0x7*(-parseInt(_0x55ae9d(0x10e))/0x8)+parseInt(_0x55ae9d(0x103))/0x9+parseInt(_0x55ae9d(0x130))/0xa;if(_0x15b965===_0x2dc44e)break;else _0x3f630f['push'](_0x3f630f['shift']());}catch(_0x4c1ed7){_0x3f630f['push'](_0x3f630f['shift']());}}}(_0x3810,0x3ad15));import{Plugin as _0x40eac9}from'ckeditor5/src/core.js';import{User as _0x366c0f,TrackChangesService as _0x2b5cb6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x747d4 from'../realtimecollaborativeediting/websocketgateway.js';import _0x49289c from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x6760bd}from'ckeditor5-collaboration/src/collaboration-core.js';class g extends _0x40eac9{static get[_0x51c23b(0x121)](){const _0x79d7e9=_0x51c23b;return[_0x49289c,_0x79d7e9(0x10d),_0x747d4];}constructor(_0x518fac){const _0x4f28c6=_0x51c23b;super(_0x518fac);const _0x3762d0=this[_0x4f28c6(0x138)][_0x4f28c6(0x131)][_0x4f28c6(0x123)](_0x4f28c6(0x11f));this[_0x4f28c6(0x125)]=new Map(),this[_0x4f28c6(0x119)]=new g[(_0x4f28c6(0x111))](_0x3762d0);}[_0x51c23b(0x109)](){const _0x523fda=_0x51c23b,_0x1235c=this[_0x523fda(0x138)][_0x523fda(0x108)][_0x523fda(0x123)](_0x747d4),_0x3ea48f=this[_0x523fda(0x138)][_0x523fda(0x108)][_0x523fda(0x123)](_0x523fda(0x10d));return _0x3ea48f[_0x523fda(0xfd)]={'getSuggestion':async _0x4f58a0=>{const _0x1faf6e=_0x523fda;await this[_0x1faf6e(0x122)]();const _0x23a5c2=await this[_0x1faf6e(0x119)][_0x1faf6e(0x123)](_0x4f58a0)[_0x1faf6e(0x118)](R);return await this[_0x1faf6e(0xff)]([_0x23a5c2]),_0x23a5c2;},'addSuggestion':async({id:_0x4908b8,type:_0x47ba31,data:_0x5ca3c4,originalSuggestionId:_0x22f8e5,attributes:_0x110127})=>{const _0x88256f=_0x523fda;await this[_0x88256f(0x122)]();const _0x3dca0c={'id':_0x4908b8,'type':_0x47ba31,'data':_0x5ca3c4,'originalSuggestionId':_0x22f8e5,'attributes':_0x110127},_0x4fe676=await this[_0x88256f(0x119)][_0x88256f(0xfe)](_0x4908b8,_0x47ba31,_0x5ca3c4,_0x22f8e5,_0x110127)[_0x88256f(0x118)](_0x28a48d=>{if(st(_0x28a48d))return new Promise(_0x2b53e1=>{const _0x2d80da=_0x5a02;this[_0x2d80da(0x125)][_0x2d80da(0x128)](_0x4908b8,{'resolve':_0x2b53e1,'suggestionData':_0x3dca0c});});throw _0x28a48d;});return this[_0x88256f(0x125)][_0x88256f(0x116)](_0x4908b8),_0x4fe676;},'updateSuggestion':async(_0x5801f2,_0x231b26)=>{const _0x332ae9=_0x523fda;if(await this[_0x332ae9(0x122)](),_0x332ae9(0x136)!==_0x231b26[_0x332ae9(0x105)])return this[_0x332ae9(0x119)][_0x332ae9(0x12b)](_0x5801f2,_0x231b26)[_0x332ae9(0x118)](R);}},this[_0x523fda(0x126)](this[_0x523fda(0x119)],_0x523fda(0x12a),(_0x3b80fa,_0x2767cb)=>{const _0x58eb48=_0x523fda;_0x3ea48f[_0x58eb48(0x106)](_0x2767cb['id'])&&(_0x3ea48f[_0x58eb48(0x12d)](_0x2767cb['id'])[_0x58eb48(0x101)]=_0x2767cb[_0x58eb48(0x101)]);}),this[_0x523fda(0x119)][_0x523fda(0x115)](_0x1235c[_0x523fda(0x133)])[_0x523fda(0x11d)](_0x34a544=>(_0x1235c[_0x523fda(0x117)](this),this[_0x523fda(0xff)](_0x34a544)[_0x523fda(0x11d)](()=>{const _0x44ec59=_0x523fda;for(const _0x3d93e9 of _0x34a544){_0x3ea48f[_0x44ec59(0x137)](_0x3d93e9)[_0x44ec59(0x135)]=!0x0;}})));}async[_0x51c23b(0x113)](){const _0x5866be=_0x51c23b,_0x2e6ca9=this[_0x5866be(0x138)][_0x5866be(0x108)][_0x5866be(0x123)](_0x5866be(0x10d)),{connection:_0x52338b}=this[_0x5866be(0x138)][_0x5866be(0x108)][_0x5866be(0x123)](_0x747d4),_0x1297fd=await this[_0x5866be(0x119)][_0x5866be(0x115)](_0x52338b);await this[_0x5866be(0xff)](_0x1297fd);for(const {suggestionData:_0x3f5268,resolve:_0x3ad017}of this[_0x5866be(0x125)][_0x5866be(0x107)]()){let _0x183689=_0x1297fd[_0x5866be(0x129)](_0x14834d=>_0x14834d['id']===_0x3f5268['id']);_0x183689||(_0x183689=await this[_0x5866be(0x119)][_0x5866be(0xfe)](_0x3f5268['id'],_0x3f5268[_0x5866be(0x132)],_0x3f5268[_0x5866be(0x10a)],_0x3f5268[_0x5866be(0x10f)])),_0x3ad017(_0x183689);}for(const _0x221f37 of _0x1297fd)_0x2e6ca9[_0x5866be(0x106)](_0x221f37['id'])||_0x2e6ca9[_0x5866be(0x137)](_0x221f37);}async[_0x51c23b(0x122)](){const _0x4970e8=_0x51c23b;this[_0x4970e8(0x119)][_0x4970e8(0x120)]||await new Promise(_0x5c8477=>{const _0x25c053=_0x4970e8;this[_0x25c053(0x126)](this[_0x25c053(0x119)],_0x25c053(0x100),_0x258622=>{const _0x2c942e=_0x25c053;_0x258622[_0x2c942e(0x11a)](),_0x5c8477();});});}async[_0x51c23b(0xff)](_0x4659c7){const _0x33f28a=_0x51c23b,_0x2458ca=this[_0x33f28a(0x138)][_0x33f28a(0x108)][_0x33f28a(0x123)](_0x6760bd),{connection:_0x343602}=this[_0x33f28a(0x138)][_0x33f28a(0x108)][_0x33f28a(0x123)](_0x747d4),_0x30e06a=new Set();for(const {authorId:_0x2eb2b3}of _0x4659c7)_0x2458ca[_0x33f28a(0x12c)](_0x2eb2b3)||_0x30e06a[_0x33f28a(0xfe)](_0x2eb2b3);if(0x0===_0x30e06a[_0x33f28a(0x11b)])return;const _0x358f42=await _0x366c0f[_0x33f28a(0x112)](_0x343602,Array[_0x33f28a(0x10b)](_0x30e06a));for(const _0x3b7401 of _0x358f42)_0x2458ca[_0x33f28a(0x12c)](_0x3b7401['id'])||_0x2458ca[_0x33f28a(0x114)](_0x3b7401);}}function _0x3810(){const _0x4fdb1a=['adapter','add','_fetchMissingUsersForThreads','connected','attributes','cloud-services-internal-error:\x20Request\x20timeout.','929142xWUuux','startsWith','state','hasSuggestion','values','plugins','init','data','from','6TBrOeq','TrackChangesEditing','4264waqkcV','originalSuggestionId','message','TrackChangesService','getMany','reconnect','addUser','connect','delete','addToReconnectionStack','catch','_trackChangesService','off','size','3794ALMwbB','then','855528yjFqzC','collaboration.channelId','isConnected','requires','_waitForServiceReady','get','9TvJNWA','_bufferedRequests','listenTo','cloud-services-internal-error:\x20Not\x20connected.','set','find','suggestionUpdated','update','getUser','getSuggestion','68902InmVCV','382807JCVgfz','5375180HFZGrY','config','type','connection','976945QMXMmX','_saved','open','addSuggestionData','editor'];_0x3810=function(){return _0x4fdb1a;};return _0x3810();}g[_0x51c23b(0x111)]=_0x2b5cb6;export default g;function _0x5a02(_0x1b38f1,_0x9b69f2){const _0x38108c=_0x3810();return _0x5a02=function(_0x5a02ed,_0x198631){_0x5a02ed=_0x5a02ed-0xfd;let _0x72ecb9=_0x38108c[_0x5a02ed];return _0x72ecb9;},_0x5a02(_0x1b38f1,_0x9b69f2);}function R(_0x485974){if(st(_0x485974))return new Promise(()=>{});throw _0x485974;}function st(_0xb4aea0){const _0x54f7d4=_0x51c23b;return _0xb4aea0[_0x54f7d4(0x110)][_0x54f7d4(0x104)](_0x54f7d4(0x127))||_0xb4aea0[_0x54f7d4(0x110)][_0x54f7d4(0x104)](_0x54f7d4(0x102));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2534bf=_0x2f3d;(function(_0x33a954,_0x4f09d2){var _0x5c8936=_0x2f3d,_0x51b544=_0x33a954();while(!![]){try{var _0x3651ed=parseInt(_0x5c8936(0xea))/0x1*(parseInt(_0x5c8936(0xec))/0x2)+parseInt(_0x5c8936(0xeb))/0x3+-parseInt(_0x5c8936(0xf4))/0x4+parseInt(_0x5c8936(0xe9))/0x5+parseInt(_0x5c8936(0xee))/0x6+parseInt(_0x5c8936(0xed))/0x7+-parseInt(_0x5c8936(0xf0))/0x8*(parseInt(_0x5c8936(0xf1))/0x9);if(_0x3651ed===_0x4f09d2)break;else _0x51b544['push'](_0x51b544['shift']());}catch(_0xe2671d){_0x51b544['push'](_0x51b544['shift']());}}}(_0x533c,0x3f28b));function _0x533c(){var _0x4fb0fc=['117VYDdAp','pluginName','RealTimeCollaborativeTrackChanges','1039040dpJYGt','requires','2057985UWclRN','469549GHWeoo','623199yyMgvV','2fzkoph','2068437CeJLwh','2365932ExwvLU','TrackChanges','775528tdpwyT'];_0x533c=function(){return _0x4fb0fc;};return _0x533c();}import{Plugin as _0x59a687}from'ckeditor5/src/core.js';import _0x2e147a from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import _0x4783e6 from'./realtimecollaborativecomments.js';function _0x2f3d(_0x237ab4,_0x536f66){var _0x533ccd=_0x533c();return _0x2f3d=function(_0x2f3d0a,_0x21076f){_0x2f3d0a=_0x2f3d0a-0xe9;var _0x17c4a2=_0x533ccd[_0x2f3d0a];return _0x17c4a2;},_0x2f3d(_0x237ab4,_0x536f66);}export default class p extends _0x59a687{static get[_0x2534bf(0xf5)](){var _0x1229cf=_0x2534bf;return[_0x4783e6,_0x2e147a,_0x1229cf(0xef)];}static get[_0x2534bf(0xf2)](){var _0x126615=_0x2534bf;return _0x126615(0xf3);}}
|