@ckeditor/ckeditor5-real-time-collaboration 45.1.0 → 45.2.0-alpha.0

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.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4964(_0x1c22b1,_0x29488e){const _0x1aab58=_0x1aab();return _0x4964=function(_0x496409,_0x193719){_0x496409=_0x496409-0x145;let _0x56fb85=_0x1aab58[_0x496409];return _0x56fb85;},_0x4964(_0x1c22b1,_0x29488e);}const _0x418d46=_0x4964;(function(_0x1e929a,_0x1df33b){const _0x1e5833=_0x4964,_0x286123=_0x1e929a();while(!![]){try{const _0x574308=parseInt(_0x1e5833(0x161))/0x1+parseInt(_0x1e5833(0x154))/0x2*(parseInt(_0x1e5833(0x149))/0x3)+-parseInt(_0x1e5833(0x14b))/0x4*(-parseInt(_0x1e5833(0x148))/0x5)+parseInt(_0x1e5833(0x158))/0x6*(parseInt(_0x1e5833(0x14f))/0x7)+parseInt(_0x1e5833(0x15b))/0x8+-parseInt(_0x1e5833(0x15c))/0x9+-parseInt(_0x1e5833(0x15f))/0xa;if(_0x574308===_0x1df33b)break;else _0x286123['push'](_0x286123['shift']());}catch(_0x504b33){_0x286123['push'](_0x286123['shift']());}}}(_0x1aab,0xd79a2));import{View as _0x2d2bdb}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x28f705}from'ckeditor5/src/utils.js';function _0x1aab(){const _0x4ab9d6=['setTemplate','change:hasPopup','10pSUhNU','591171dqfsSq','div','1446028pGCrfK','presencelist:hide','setAttribute','render','303030mhSIhr','relatedTarget','querySelector','ck-presence-list__list','contains','2tvxLCp','aria-expanded','.ck-balloon-panel_with-arrow','removeAttribute','18LaAtWF','isExpanded','hasPopup','12316504GwdfnZ','15470631FJdVRX','list','items','15270140FWIgyz','element','1539575FkBOYL','focus','bindTemplate','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','keystrokes','listenTo','createCollection','.ck-presence-list__dropdown-list','fire','presencelist:show','Connected\x20users\x20list','set'];_0x1aab=function(){return _0x4ab9d6;};return _0x1aab();}import{getTranslation as _0x8ceae2}from'../../common-translations.js';export default class ts extends _0x2d2bdb{[_0x418d46(0x15e)];[_0x418d46(0x165)];constructor(_0x4108d6){const _0x94f0de=_0x418d46;super(_0x4108d6);const _0x508808=this[_0x94f0de(0x163)];this[_0x94f0de(0x15e)]=this[_0x94f0de(0x167)](),this[_0x94f0de(0x165)]=new _0x28f705(),this[_0x94f0de(0x145)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x94f0de(0x146)]({'tag':_0x94f0de(0x14a),'attributes':{'aria-haspopup':_0x508808['if'](_0x94f0de(0x15a)),'aria-expanded':_0x508808['to'](_0x94f0de(0x159),_0x5dd6fc=>this[_0x94f0de(0x15a)]&&String(_0x5dd6fc)),'aria-label':_0x508808['to'](_0x94f0de(0x15a),_0x1649f5=>_0x8ceae2(_0x4108d6,_0x1649f5?_0x94f0de(0x164):_0x94f0de(0x16b))),'role':_0x94f0de(0x15d),'tabindex':_0x508808['to'](_0x94f0de(0x15a),_0x4c68f0=>!!_0x4c68f0&&0x0),'class':['ck',_0x94f0de(0x152)]},'children':this[_0x94f0de(0x15e)],'on':{'mouseenter':_0x508808['to'](()=>this[_0x94f0de(0x169)](_0x94f0de(0x16a))),'mouseleave':_0x508808['to'](_0x7b803=>{const _0x1852ea=_0x94f0de,_0x13074c=_0x7b803,_0x1b6c80=document[_0x1852ea(0x151)](_0x1852ea(0x168)),_0x644720=document[_0x1852ea(0x151)](_0x1852ea(0x156));_0x1b6c80?.[_0x1852ea(0x153)](_0x13074c[_0x1852ea(0x150)])||_0x644720?.[_0x1852ea(0x153)](_0x13074c[_0x1852ea(0x150)])||this[_0x1852ea(0x169)](_0x1852ea(0x14c));})}}),this['on'](_0x94f0de(0x147),(_0x410801,_0x3dc810,_0x2f0aa0)=>{const _0x915975=_0x94f0de;this[_0x915975(0x160)]&&(_0x2f0aa0?this[_0x915975(0x160)][_0x915975(0x14d)](_0x915975(0x155),String(this[_0x915975(0x159)])):this[_0x915975(0x160)][_0x915975(0x157)](_0x915975(0x155)));});}[_0x418d46(0x162)](){const _0x4a72a9=_0x418d46;this[_0x4a72a9(0x160)][_0x4a72a9(0x162)]();}[_0x418d46(0x14e)](){const _0x480581=_0x418d46;super[_0x480581(0x14e)](),this[_0x480581(0x165)][_0x480581(0x166)](this[_0x480581(0x160)]);}}
23
+ const _0x15ac0=_0x3c62;(function(_0x3a34cb,_0xd5705){const _0x48c0e8=_0x3c62,_0x7c02e0=_0x3a34cb();while(!![]){try{const _0x583568=parseInt(_0x48c0e8(0x1f4))/0x1*(parseInt(_0x48c0e8(0x206))/0x2)+-parseInt(_0x48c0e8(0x210))/0x3+parseInt(_0x48c0e8(0x215))/0x4*(parseInt(_0x48c0e8(0x214))/0x5)+-parseInt(_0x48c0e8(0x20a))/0x6*(-parseInt(_0x48c0e8(0x20f))/0x7)+parseInt(_0x48c0e8(0x1fb))/0x8+-parseInt(_0x48c0e8(0x20e))/0x9*(-parseInt(_0x48c0e8(0x1f7))/0xa)+-parseInt(_0x48c0e8(0x217))/0xb;if(_0x583568===_0xd5705)break;else _0x7c02e0['push'](_0x7c02e0['shift']());}catch(_0x731038){_0x7c02e0['push'](_0x7c02e0['shift']());}}}(_0x15d7,0xd5173));import{View as _0x3b0de1}from'ckeditor5/src/ui.js';function _0x3c62(_0x5aae9e,_0x2b49a9){const _0x15d71b=_0x15d7();return _0x3c62=function(_0x3c6257,_0x526027){_0x3c6257=_0x3c6257-0x1f3;let _0x1b487f=_0x15d71b[_0x3c6257];return _0x1b487f;},_0x3c62(_0x5aae9e,_0x2b49a9);}import{KeystrokeHandler as _0x110d9d}from'ckeditor5/src/utils.js';function _0x15d7(){const _0xaa479d=['querySelector','element','isExpanded','keystrokes','11230meIPhn','listenTo','div','hasPopup','91458qdMooV','relatedTarget','.ck-balloon-panel_with-arrow','createCollection','12717eTwVPE','791mujLiI','414525FwABge','.ck-presence-list__dropdown-list','fire','setTemplate','97735orzHEh','204SqNoMq','set','60149067NtjoCz','focus','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','presencelist:show','render','260JzziaB','list','items','5030uZxJze','ck-presence-list__list','contains','aria-expanded','12712768AWsHui','bindTemplate','removeAttribute','Connected\x20users\x20list','change:hasPopup','presencelist:hide','setAttribute'];_0x15d7=function(){return _0xaa479d;};return _0x15d7();}import{getTranslation as _0x1df89d}from'../../common-translations.js';export default class ts extends _0x3b0de1{[_0x15ac0(0x1f6)];[_0x15ac0(0x205)];constructor(_0x4a5dc6){const _0x2c7f74=_0x15ac0;super(_0x4a5dc6);const _0x28709f=this[_0x2c7f74(0x1fc)];this[_0x2c7f74(0x1f6)]=this[_0x2c7f74(0x20d)](),this[_0x2c7f74(0x205)]=new _0x110d9d(),this[_0x2c7f74(0x216)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2c7f74(0x213)]({'tag':_0x2c7f74(0x208),'attributes':{'aria-haspopup':_0x28709f['if'](_0x2c7f74(0x209)),'aria-expanded':_0x28709f['to'](_0x2c7f74(0x204),_0x3bb933=>this[_0x2c7f74(0x209)]&&String(_0x3bb933)),'aria-label':_0x28709f['to'](_0x2c7f74(0x209),_0x5f43c6=>_0x1df89d(_0x4a5dc6,_0x5f43c6?_0x2c7f74(0x219):_0x2c7f74(0x1fe))),'role':_0x2c7f74(0x1f5),'tabindex':_0x28709f['to'](_0x2c7f74(0x209),_0x34df9f=>!!_0x34df9f&&0x0),'class':['ck',_0x2c7f74(0x1f8)]},'children':this[_0x2c7f74(0x1f6)],'on':{'mouseenter':_0x28709f['to'](()=>this[_0x2c7f74(0x212)](_0x2c7f74(0x21a))),'mouseleave':_0x28709f['to'](_0x3cca9b=>{const _0x42ff13=_0x2c7f74,_0x317a6a=_0x3cca9b,_0x2af604=document[_0x42ff13(0x202)](_0x42ff13(0x211)),_0x51bee5=document[_0x42ff13(0x202)](_0x42ff13(0x20c));_0x2af604?.[_0x42ff13(0x1f9)](_0x317a6a[_0x42ff13(0x20b)])||_0x51bee5?.[_0x42ff13(0x1f9)](_0x317a6a[_0x42ff13(0x20b)])||this[_0x42ff13(0x212)](_0x42ff13(0x200));})}}),this['on'](_0x2c7f74(0x1ff),(_0x421a44,_0x50590e,_0x332329)=>{const _0x406d12=_0x2c7f74;this[_0x406d12(0x203)]&&(_0x332329?this[_0x406d12(0x203)][_0x406d12(0x201)](_0x406d12(0x1fa),String(this[_0x406d12(0x204)])):this[_0x406d12(0x203)][_0x406d12(0x1fd)](_0x406d12(0x1fa)));});}[_0x15ac0(0x218)](){const _0x21d305=_0x15ac0;this[_0x21d305(0x203)][_0x21d305(0x218)]();}[_0x15ac0(0x1f3)](){const _0x5ce8cc=_0x15ac0;super[_0x5ce8cc(0x1f3)](),this[_0x5ce8cc(0x205)][_0x5ce8cc(0x207)](this[_0x5ce8cc(0x203)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a9b31=_0x15b5;(function(_0x19d16f,_0x12a4b0){const _0x562895=_0x15b5,_0x3b441a=_0x19d16f();while(!![]){try{const _0x53e249=parseInt(_0x562895(0x121))/0x1*(parseInt(_0x562895(0x120))/0x2)+parseInt(_0x562895(0x129))/0x3*(-parseInt(_0x562895(0x126))/0x4)+parseInt(_0x562895(0x12d))/0x5+parseInt(_0x562895(0x128))/0x6*(parseInt(_0x562895(0x11a))/0x7)+-parseInt(_0x562895(0x134))/0x8+-parseInt(_0x562895(0x124))/0x9+-parseInt(_0x562895(0x123))/0xa*(parseInt(_0x562895(0x11f))/0xb);if(_0x53e249===_0x12a4b0)break;else _0x3b441a['push'](_0x3b441a['shift']());}catch(_0x17482a){_0x3b441a['push'](_0x3b441a['shift']());}}}(_0x24a3,0xf031c));import{View as _0x516476}from'ckeditor5/src/ui.js';import _0x41d349 from'./presencecounterview.js';import _0x165ee4 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x15b5(_0x11b127,_0x5a8474){const _0x24a3e8=_0x24a3();return _0x15b5=function(_0x15b53e,_0x1d33ad){_0x15b53e=_0x15b53e-0x11a;let _0x32f8c6=_0x24a3e8[_0x15b53e];return _0x32f8c6;},_0x15b5(_0x11b127,_0x5a8474);}function _0x24a3(){const _0x4946a7=['counterView','bindTemplate','set','11JAmBsT','2SSJkrV','295838tnMrYM','bind','13904010GigTFB','1750311PuzWJy','items','4TycFrV','setTemplate','2322EtyKOg','753177dEWWmW','div','locale','listenTo','6568775orMeQL','hasPopup','isCollapsed','first','ck-rounded-corners','change','ck-presence-list','3739704hxQOwZ','inlineListView','tooltipPosition','ck-presence-list--collapsed','30345JBxHcx','ck-reset'];_0x24a3=function(){return _0x4946a7;};return _0x24a3();}export default class j extends _0x516476{[_0x3a9b31(0x11c)];[_0x3a9b31(0x135)];constructor(_0x5e894c,_0x581a13=0x6){const _0x4babc0=_0x3a9b31;super(_0x5e894c);const _0x597c0a=this[_0x4babc0(0x11d)];this[_0x4babc0(0x11e)](_0x4babc0(0x12f),!0x0),this[_0x4babc0(0x11c)]=new _0x41d349(this[_0x4babc0(0x12b)],_0x581a13),this[_0x4babc0(0x135)]=new _0x165ee4(_0x5e894c),this[_0x4babc0(0x135)][_0x4babc0(0x122)](_0x4babc0(0x12e))['to'](this,_0x4babc0(0x12f)),this[_0x4babc0(0x12c)](this[_0x4babc0(0x135)][_0x4babc0(0x125)],_0x4babc0(0x132),()=>{const _0x10c3a1=_0x4babc0;for(const _0x5178a7 of this[_0x10c3a1(0x135)][_0x10c3a1(0x125)])_0x5178a7[_0x10c3a1(0x136)]='s';this[_0x10c3a1(0x135)][_0x10c3a1(0x125)][_0x10c3a1(0x130)]&&(this[_0x10c3a1(0x135)][_0x10c3a1(0x125)][_0x10c3a1(0x130)][_0x10c3a1(0x136)]='se');}),this[_0x4babc0(0x127)]({'tag':_0x4babc0(0x12a),'attributes':{'class':['ck',_0x4babc0(0x133),_0x4babc0(0x11b),_0x4babc0(0x131),_0x597c0a['if'](_0x4babc0(0x12f),_0x4babc0(0x137))]},'children':[this[_0x4babc0(0x135)]]});}}
23
+ const _0x3265d=_0xc78f;(function(_0x40f800,_0x1d4c97){const _0x204b5c=_0xc78f,_0x49f151=_0x40f800();while(!![]){try{const _0x17c54a=-parseInt(_0x204b5c(0xcd))/0x1*(-parseInt(_0x204b5c(0xb7))/0x2)+-parseInt(_0x204b5c(0xd1))/0x3*(parseInt(_0x204b5c(0xbe))/0x4)+parseInt(_0x204b5c(0xcc))/0x5*(parseInt(_0x204b5c(0xce))/0x6)+-parseInt(_0x204b5c(0xc1))/0x7*(parseInt(_0x204b5c(0xcf))/0x8)+-parseInt(_0x204b5c(0xbc))/0x9+-parseInt(_0x204b5c(0xc4))/0xa*(parseInt(_0x204b5c(0xbb))/0xb)+parseInt(_0x204b5c(0xd0))/0xc;if(_0x17c54a===_0x1d4c97)break;else _0x49f151['push'](_0x49f151['shift']());}catch(_0x63c6a1){_0x49f151['push'](_0x49f151['shift']());}}}(_0x11cb,0x3b668));import{View as _0xc335d5}from'ckeditor5/src/ui.js';function _0xc78f(_0x5386fb,_0x1406bf){const _0x11cb6=_0x11cb();return _0xc78f=function(_0xc78f13,_0x1477c5){_0xc78f13=_0xc78f13-0xb6;let _0x6719f9=_0x11cb6[_0xc78f13];return _0x6719f9;},_0xc78f(_0x5386fb,_0x1406bf);}function _0x11cb(){const _0x15cdcc=['3356073HqyFVy','ck-presence-list','4dwBDFW','inlineListView','div','8407gQzaSS','items','set','470EgCZSG','first','bind','hasPopup','ck-rounded-corners','change','locale','counterView','115tWoiSO','1xvHNZo','126138heyPtr','776YPFmFS','4493316nejXHD','556143JylDnV','bindTemplate','ck-presence-list--collapsed','isCollapsed','ck-reset','324664cRVKPH','listenTo','setTemplate','tooltipPosition','23925cUlKJT'];_0x11cb=function(){return _0x15cdcc;};return _0x11cb();}import _0x2377b9 from'./presencecounterview.js';import _0x129fbd from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class Z extends _0xc335d5{[_0x3265d(0xcb)];[_0x3265d(0xbf)];constructor(_0x596e53,_0x5eae09=0x6){const _0x27bee4=_0x3265d;super(_0x596e53);const _0x154ea2=this[_0x27bee4(0xd2)];this[_0x27bee4(0xc3)](_0x27bee4(0xd4),!0x0),this[_0x27bee4(0xcb)]=new _0x2377b9(this[_0x27bee4(0xca)],_0x5eae09),this[_0x27bee4(0xbf)]=new _0x129fbd(_0x596e53),this[_0x27bee4(0xbf)][_0x27bee4(0xc6)](_0x27bee4(0xc7))['to'](this,_0x27bee4(0xd4)),this[_0x27bee4(0xb8)](this[_0x27bee4(0xbf)][_0x27bee4(0xc2)],_0x27bee4(0xc9),()=>{const _0x4e8626=_0x27bee4;for(const _0x5291f2 of this[_0x4e8626(0xbf)][_0x4e8626(0xc2)])_0x5291f2[_0x4e8626(0xba)]='s';this[_0x4e8626(0xbf)][_0x4e8626(0xc2)][_0x4e8626(0xc5)]&&(this[_0x4e8626(0xbf)][_0x4e8626(0xc2)][_0x4e8626(0xc5)][_0x4e8626(0xba)]='se');}),this[_0x27bee4(0xb9)]({'tag':_0x27bee4(0xc0),'attributes':{'class':['ck',_0x27bee4(0xbd),_0x27bee4(0xb6),_0x27bee4(0xc8),_0x154ea2['if'](_0x27bee4(0xd4),_0x27bee4(0xd3))]},'children':[this[_0x27bee4(0xbf)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x35ef1f=_0x11a6;(function(_0x156b3f,_0x3aef5e){var _0x23746b=_0x11a6,_0x168b8d=_0x156b3f();while(!![]){try{var _0x139925=-parseInt(_0x23746b(0x83))/0x1*(parseInt(_0x23746b(0x86))/0x2)+parseInt(_0x23746b(0x90))/0x3+-parseInt(_0x23746b(0x88))/0x4+parseInt(_0x23746b(0x8d))/0x5+parseInt(_0x23746b(0x8c))/0x6+-parseInt(_0x23746b(0x87))/0x7*(-parseInt(_0x23746b(0x85))/0x8)+-parseInt(_0x23746b(0x8f))/0x9;if(_0x139925===_0x3aef5e)break;else _0x168b8d['push'](_0x168b8d['shift']());}catch(_0x5d153a){_0x168b8d['push'](_0x168b8d['shift']());}}}(_0x3b06,0xf3d2d));import{ContextPlugin as _0x3189b8}from'ckeditor5/src/core.js';function _0x11a6(_0x351647,_0x19558c){var _0x3b06d7=_0x3b06();return _0x11a6=function(_0x11a611,_0x56712e){_0x11a611=_0x11a611-0x83;var _0x54a6f3=_0x3b06d7[_0x11a611];return _0x54a6f3;},_0x11a6(_0x351647,_0x19558c);}function _0x3b06(){var _0x28fdfa=['PresenceList','2823972ItfAMj','997550TWgIDA','isPremiumPlugin','8513406tuvDNe','4366176pchNkr','1mpceRp','isOfficialPlugin','355296bQhdVa','1892294MpzYZo','210WTTDOj','2268568ISnoOb','requires','pluginName'];_0x3b06=function(){return _0x28fdfa;};return _0x3b06();}import _0x2fee43 from'./realtimecollaborativeediting/sessions.js';import _0x5552de from'./presencelist/presencelistui.js';export default class s extends _0x3189b8{static get[_0x35ef1f(0x89)](){return[_0x2fee43,_0x5552de];}static get[_0x35ef1f(0x8a)](){var _0x180059=_0x35ef1f;return _0x180059(0x8b);}static get[_0x35ef1f(0x84)](){return!0x0;}static get[_0x35ef1f(0x8e)](){return!0x0;}}
23
+ var _0x1606ff=_0x35e1;function _0xfbaa(){var _0x38aba2=['6748195uGaBrd','5854674wrIShU','587548mPuJdh','pluginName','isOfficialPlugin','isPremiumPlugin','4374456qfSyeJ','PresenceList','requires','54kfFIQz','1055448MynBzN','8ATrlqY','10373472sbnQBM','19052tYbBnv'];_0xfbaa=function(){return _0x38aba2;};return _0xfbaa();}(function(_0x2dbe54,_0xb2a7ac){var _0x3f3a45=_0x35e1,_0xd9c8b5=_0x2dbe54();while(!![]){try{var _0x408538=parseInt(_0x3f3a45(0xb5))/0x1+-parseInt(_0x3f3a45(0xb2))/0x2*(-parseInt(_0x3f3a45(0xae))/0x3)+parseInt(_0x3f3a45(0xaf))/0x4+-parseInt(_0x3f3a45(0xb3))/0x5+parseInt(_0x3f3a45(0xab))/0x6+parseInt(_0x3f3a45(0xb4))/0x7*(-parseInt(_0x3f3a45(0xb0))/0x8)+parseInt(_0x3f3a45(0xb1))/0x9;if(_0x408538===_0xb2a7ac)break;else _0xd9c8b5['push'](_0xd9c8b5['shift']());}catch(_0x1446a3){_0xd9c8b5['push'](_0xd9c8b5['shift']());}}}(_0xfbaa,0xaf6cd));import{ContextPlugin as _0x423e9e}from'ckeditor5/src/core.js';import _0x542755 from'./realtimecollaborativeediting/sessions.js';import _0x5383aa from'./presencelist/presencelistui.js';function _0x35e1(_0x43cacf,_0x4870ea){var _0xfbaa35=_0xfbaa();return _0x35e1=function(_0x35e1eb,_0x5c569d){_0x35e1eb=_0x35e1eb-0xaa;var _0xeabd85=_0xfbaa35[_0x35e1eb];return _0xeabd85;},_0x35e1(_0x43cacf,_0x4870ea);}export default class s extends _0x423e9e{static get[_0x1606ff(0xad)](){return[_0x542755,_0x5383aa];}static get[_0x1606ff(0xb6)](){var _0x23cf41=_0x1606ff;return _0x23cf41(0xac);}static get[_0x1606ff(0xb7)](){return!0x0;}static get[_0x1606ff(0xaa)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3b73(_0x140605,_0x27b089){const _0x9b5b49=_0x9b5b();return _0x3b73=function(_0x3b73be,_0x3a1806){_0x3b73be=_0x3b73be-0x1ef;let _0xfd7d5d=_0x9b5b49[_0x3b73be];return _0xfd7d5d;},_0x3b73(_0x140605,_0x27b089);}const _0x5bd228=_0x3b73;(function(_0x245d30,_0x306109){const _0x5960de=_0x3b73,_0x59d8d1=_0x245d30();while(!![]){try{const _0x4e503e=parseInt(_0x5960de(0x208))/0x1*(parseInt(_0x5960de(0x226))/0x2)+parseInt(_0x5960de(0x244))/0x3+parseInt(_0x5960de(0x23f))/0x4+parseInt(_0x5960de(0x1fd))/0x5+-parseInt(_0x5960de(0x1f1))/0x6*(parseInt(_0x5960de(0x1f2))/0x7)+-parseInt(_0x5960de(0x218))/0x8+-parseInt(_0x5960de(0x23e))/0x9;if(_0x4e503e===_0x306109)break;else _0x59d8d1['push'](_0x59d8d1['shift']());}catch(_0x13173c){_0x59d8d1['push'](_0x59d8d1['shift']());}}}(_0x9b5b,0x75e44));import{Context as _0x1446e8,ContextPlugin as _0xb14da}from'ckeditor5/src/core.js';import{CKEditorError as _0x347ab8}from'ckeditor5/src/utils.js';import{Users as _0x23f0bf}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x36030e,User as _0x129e80}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x3fc5ed from'../realtimecollaborativeediting/websocketgateway.js';function _0x9b5b(){const _0x6640f3=['update','unregister','reconnect','404','commentThreadResolved','getCommentThreads','comments','cloudservicescommentsadapter-connect-already-connected','2nIRWVn','getComment','plugins','isPremiumPlugin','commentAdded','collaboration.channelId','context','userId','message','attributes','from','commentThreadRemoved','resolve','getMany','reopenCommentThread','commentThreadAdded','817296aZBCoS','removeCommentThread','cloudservicescommentsadapter-disconnect-not-exist','startsWith','commentThreadUpdated','isOfficialPlugin','sessionAdd:','requires','getUser','commentUpdated','commentThreadId','getConnectedSessions','addToReconnectionStack','CloudServicesCommentsAdapter','404364lcydLP','addComment','commentId','assign','addCommentThread','cloud-services-internal-error:\x20Request\x20timeout.','remove','adapter','delete','_getService','keys','commentRemoved','code','listenTo','catch','_connectService','deletedAt','updateCommentThread','disconnect','config','connect','CommentsService','createdAt','size','9412038zNihKp','2233008fBSSug','has','add','reopen','authorId','249762TTslFh','_fetchMissingUsersForThreads','setPermissions','_terminateService','_setUpService','destroy','register','content','permissions','off','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','getCommentThread','init','set','commentThreadReopened','mySessionId','_services','cloud-services-internal-error:\x20Not\x20connected.','36348JrKtnI','280MBEKMg','resolvedBy','pluginName','cloudservicescommentsadapter-service-not-exist','resolveCommentThread','removeComment','updateComment','CommentsRepository','Permissions','get','resolvedAt','4136390zbjTdd','map','addUser'];_0x9b5b=function(){return _0x6640f3;};return _0x9b5b();}import _0x463847 from'../realtimecollaborativeediting/sessions.js';class a extends _0xb14da{static [_0x5bd228(0x23b)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x36030e)());[_0x5bd228(0x1ef)];static get[_0x5bd228(0x21f)](){const _0x34e710=_0x5bd228;return[_0x3fc5ed,_0x34e710(0x1f9),_0x463847,_0x23f0bf];}static get[_0x5bd228(0x1f4)](){const _0x4ffae1=_0x5bd228;return _0x4ffae1(0x225);}static get[_0x5bd228(0x21d)](){return!0x0;}static get[_0x5bd228(0x20b)](){return!0x0;}constructor(_0x5709c0){const _0x3c41bf=_0x5bd228;super(_0x5709c0),this[_0x3c41bf(0x1ef)]=new Map();}async[_0x5bd228(0x250)](){const _0x277b0c=_0x5bd228,_0x309a92=this[_0x277b0c(0x20e)],_0x42b7c3=_0x309a92[_0x277b0c(0x20a)][_0x277b0c(0x1fb)](_0x277b0c(0x1f9));if(_0x309a92[_0x277b0c(0x20a)][_0x277b0c(0x1fb)](_0x3fc5ed)[_0x277b0c(0x224)](this),_0x42b7c3[_0x277b0c(0x22d)]={'addCommentThread':async({channelId:_0x2a0f23,threadId:_0x190d75,comments:_0x278687,resolvedAt:_0x5b787f,resolvedBy:_0x145f45,context:_0x59dfa6,attributes:_0x24a7e7})=>{const _0x590d54=_0x277b0c,_0x4c5d98=await this[_0x590d54(0x22f)](_0x2a0f23)[_0x590d54(0x22a)]({'commentThreadId':_0x190d75,'comments':_0x278687[_0x590d54(0x1fe)](_0x1d345a=>function(_0x205483,_0x297fb6,_0x124636){const _0x4246b9=_0x590d54;return{'commentThreadId':_0x124636,'commentId':_0x205483[_0x4246b9(0x228)],'userId':_0x205483[_0x4246b9(0x243)],'content':_0x205483[_0x4246b9(0x24b)],'documentId':_0x297fb6,'createdAt':_0x205483[_0x4246b9(0x23c)],'attributes':_0x205483[_0x4246b9(0x211)]||{}};}(_0x1d345a,_0x2a0f23,_0x190d75)),'resolvedAt':_0x5b787f,'resolvedBy':_0x145f45,'context':_0x59dfa6,'attributes':_0x24a7e7})[_0x590d54(0x234)](nt);return{'threadId':_0x4c5d98[_0x590d54(0x222)],'comments':_0x4c5d98[_0x590d54(0x206)]};},'getCommentThread':async({channelId:_0x43c23e,threadId:_0x1dbec8})=>{const _0x54c055=_0x277b0c,_0x28a9e9=await this[_0x54c055(0x22f)](_0x43c23e)[_0x54c055(0x24f)](_0x1dbec8)[_0x54c055(0x234)](nt);return _0x28a9e9[_0x54c055(0x236)]?null:(await this[_0x54c055(0x245)]([_0x28a9e9]),{'threadId':_0x28a9e9[_0x54c055(0x222)],'comments':_0x28a9e9[_0x54c055(0x206)][_0x54c055(0x1fe)](st),'context':_0x28a9e9[_0x54c055(0x20e)],'resolvedAt':_0x28a9e9[_0x54c055(0x1fc)],'resolvedBy':_0x28a9e9[_0x54c055(0x1f3)],'attributes':_0x28a9e9[_0x54c055(0x211)]||{}});},'updateCommentThread':async({channelId:_0xd6183f,threadId:_0x4086a7,context:_0x5744bb,unlinkedAt:_0xdde4fe,attributes:_0x558385})=>this[_0x277b0c(0x22f)](_0xd6183f)[_0x277b0c(0x237)]({'commentThreadId':_0x4086a7,'context':_0x5744bb,'attributes':_0x558385,'unlinkedAt':_0xdde4fe})[_0x277b0c(0x234)](ot)[_0x277b0c(0x234)](nt),'resolveCommentThread':async({channelId:_0x12e955,threadId:_0x3a1abd})=>{const _0xff5160=_0x277b0c,_0x3aa481=await this[_0xff5160(0x22f)](_0x12e955)[_0xff5160(0x1f6)](_0x3a1abd)[_0xff5160(0x234)](ot)[_0xff5160(0x234)](nt);return{'threadId':_0x3aa481[_0xff5160(0x222)],'resolvedAt':_0x3aa481[_0xff5160(0x1fc)],'resolvedBy':_0x3aa481[_0xff5160(0x1f3)]};},'reopenCommentThread':async({channelId:_0x230dc5,threadId:_0x2f296d})=>this[_0x277b0c(0x22f)](_0x230dc5)[_0x277b0c(0x216)](_0x2f296d)[_0x277b0c(0x234)](ot)[_0x277b0c(0x234)](nt),'removeCommentThread':({channelId:_0x296ecf,threadId:_0x4cdbd7})=>this[_0x277b0c(0x22f)](_0x296ecf)[_0x277b0c(0x219)](_0x4cdbd7)[_0x277b0c(0x234)](ot)[_0x277b0c(0x234)](nt),'addComment':({channelId:_0x1b0b08,threadId:_0x2ca48e,commentId:_0x82b55a,content:_0x718f68,attributes:_0xa08d33})=>this[_0x277b0c(0x22f)](_0x1b0b08)[_0x277b0c(0x227)](_0x2ca48e,_0x82b55a,_0x718f68,_0xa08d33)[_0x277b0c(0x234)](nt),'updateComment':({channelId:_0x5bb6b2,threadId:_0x41f90d,commentId:_0xd02a9,content:_0x494d2c,attributes:_0x3a3446})=>this[_0x277b0c(0x22f)](_0x5bb6b2)[_0x277b0c(0x1f8)](_0x41f90d,_0xd02a9,_0x494d2c,_0x3a3446)[_0x277b0c(0x234)](ot)[_0x277b0c(0x234)](nt),'removeComment':({channelId:_0x17f6d2,threadId:_0x56b999,commentId:_0x52f38c})=>this[_0x277b0c(0x22f)](_0x17f6d2)[_0x277b0c(0x1f7)](_0x56b999,_0x52f38c)[_0x277b0c(0x234)](ot)[_0x277b0c(0x234)](nt)},_0x309a92 instanceof _0x1446e8){const _0x539d5d=_0x309a92[_0x277b0c(0x239)][_0x277b0c(0x1fb)](_0x277b0c(0x20d)),_0x29f516=_0x309a92[_0x277b0c(0x20a)][_0x277b0c(0x1fb)](_0x463847);await this[_0x277b0c(0x248)](_0x539d5d);const _0x4b2071=await this[_0x277b0c(0x1ef)][_0x277b0c(0x1fb)](_0x539d5d)[_0x277b0c(0x223)]();this[_0x277b0c(0x233)](_0x29f516,_0x277b0c(0x21e)+_0x539d5d,(_0x105352,{session:_0x41f989})=>{const _0xac4751=_0x277b0c;_0x41f989['id']===_0x29f516[_0xac4751(0x253)]&&(_0x105352[_0xac4751(0x24d)](),this[_0xac4751(0x20e)][_0xac4751(0x20a)][_0xac4751(0x1fb)](_0xac4751(0x1fa))[_0xac4751(0x246)](_0x41f989[_0xac4751(0x24c)],_0x539d5d));}),_0x29f516[_0x277b0c(0x24a)](_0x539d5d,_0x4b2071);}}async[_0x5bd228(0x248)](_0x55d567){const _0x342da3=_0x5bd228;if(this[_0x342da3(0x1ef)][_0x342da3(0x240)](_0x55d567))throw new _0x347ab8(_0x342da3(0x207),null,{'channelId':_0x55d567});const _0x297ce9=this[_0x342da3(0x20e)][_0x342da3(0x20a)][_0x342da3(0x1fb)](_0x342da3(0x1f9)),_0x5a8307=new a[(_0x342da3(0x23b))](_0x55d567);this[_0x342da3(0x1ef)][_0x342da3(0x251)](_0x55d567,_0x5a8307),this[_0x342da3(0x233)](_0x5a8307,_0x342da3(0x217),(_0x527927,_0x17bb92)=>{const _0x2798be=_0x342da3,{commentThreadId:_0x4a4bcf,documentId:_0x4729fc,context:_0x129399,attributes:_0x1d271c,resolvedAt:_0x307167,resolvedBy:_0x46c4c7,comments:_0x29a3ca}=_0x17bb92;_0x297ce9[_0x2798be(0x24f)](_0x4a4bcf)||_0x297ce9[_0x2798be(0x22a)]({'threadId':_0x4a4bcf,'channelId':_0x4729fc,'comments':_0x29a3ca?_0x29a3ca[_0x2798be(0x1fe)](st):[],'context':_0x129399,'attributes':_0x1d271c,'resolvedAt':_0x307167,'resolvedBy':_0x46c4c7,'isFromAdapter':!0x0});}),this[_0x342da3(0x233)](_0x5a8307,_0x342da3(0x21c),(_0x140d89,{commentThreadId:_0x171916,documentId:_0x4d2c62,context:_0x41845d,unlinkedAt:_0x59ac45,attributes:_0x5bfd09})=>{const _0x3104b7=_0x342da3;_0x297ce9[_0x3104b7(0x24f)](_0x171916)&&_0x297ce9[_0x3104b7(0x237)]({'threadId':_0x171916,'channelId':_0x4d2c62,'context':_0x41845d,'unlinkedAt':_0x59ac45,'attributes':_0x5bfd09,'isFromAdapter':!0x0});}),this[_0x342da3(0x233)](_0x5a8307,_0x342da3(0x204),(_0x48da25,{commentThreadId:_0x1facb,resolvedBy:_0x46171f,resolvedAt:_0x2e4a90})=>{const _0xeb9fdf=_0x342da3,_0x4e4fba=_0x297ce9[_0xeb9fdf(0x24f)](_0x1facb);_0x4e4fba&&_0x4e4fba[_0xeb9fdf(0x214)]({'resolvedBy':_0x46171f,'resolvedAt':_0x2e4a90,'isFromAdapter':!0x0});}),this[_0x342da3(0x233)](_0x5a8307,_0x342da3(0x252),(_0x4fa94a,{commentThreadId:_0xb405d4})=>{const _0x366e8d=_0x342da3,_0xc8ff5a=_0x297ce9[_0x366e8d(0x24f)](_0xb405d4);_0xc8ff5a&&_0xc8ff5a[_0x366e8d(0x242)]({'isFromAdapter':!0x0});}),this[_0x342da3(0x233)](_0x5a8307,_0x342da3(0x213),(_0x237bb0,{commentThreadId:_0x553649})=>{const _0x533d93=_0x342da3,_0x124d5a=_0x297ce9[_0x533d93(0x24f)](_0x553649);_0x124d5a&&_0x124d5a[_0x533d93(0x22c)]({'isFromAdapter':!0x0});}),this[_0x342da3(0x233)](_0x5a8307,_0x342da3(0x20c),(_0x2d8a8a,_0x23cc34)=>{const _0x52a495=_0x342da3,_0x45f72b=_0x23cc34[_0x52a495(0x222)],_0x475f32=_0x297ce9[_0x52a495(0x24f)](_0x45f72b);_0x475f32&&_0x475f32[_0x52a495(0x227)]({...st(_0x23cc34),'isFromAdapter':!0x0});}),this[_0x342da3(0x233)](_0x5a8307,_0x342da3(0x221),(_0x47b2be,{commentThreadId:_0x4b0bba,commentId:_0x1f1f91,content:_0x4be379,attributes:_0x117ef7})=>{const _0x566c46=_0x342da3,_0x59fb66=_0x297ce9[_0x566c46(0x24f)](_0x4b0bba);if(_0x59fb66){const _0x47449a=_0x59fb66[_0x566c46(0x209)](_0x1f1f91);_0x47449a&&_0x47449a[_0x566c46(0x200)]({'content':_0x4be379,'attributes':_0x117ef7,'isFromAdapter':!0x0});}}),this[_0x342da3(0x233)](_0x5a8307,_0x342da3(0x231),(_0x2232ba,{commentThreadId:_0x3ac4a8,commentId:_0x8ca100})=>{const _0x1e6246=_0x342da3,_0x466936=_0x297ce9[_0x1e6246(0x24f)](_0x3ac4a8);if(_0x466936){const _0x1a2ed7=_0x466936[_0x1e6246(0x209)](_0x8ca100);_0x1a2ed7&&_0x1a2ed7[_0x1e6246(0x22c)]({'isFromAdapter':!0x0});}}),await this[_0x342da3(0x235)](_0x55d567);}[_0x5bd228(0x249)](){const _0x3536b7=_0x5bd228;if(this[_0x3536b7(0x20e)]instanceof _0x1446e8){const _0x136502=this[_0x3536b7(0x20e)][_0x3536b7(0x239)][_0x3536b7(0x1fb)](_0x3536b7(0x20d));this[_0x3536b7(0x247)](_0x136502);}}[_0x5bd228(0x247)](_0x1bf9ad){const _0x3a0953=_0x5bd228;if(!this[_0x3a0953(0x1ef)][_0x3a0953(0x240)](_0x1bf9ad))throw new _0x347ab8(_0x3a0953(0x21a),null,{'channelId':_0x1bf9ad});this[_0x3a0953(0x22f)](_0x1bf9ad)[_0x3a0953(0x238)](),this[_0x3a0953(0x1ef)][_0x3a0953(0x22e)](_0x1bf9ad);}async[_0x5bd228(0x202)](){const _0x3758ce=_0x5bd228;for(const _0x2b1752 of this[_0x3758ce(0x1ef)][_0x3758ce(0x230)]())await this[_0x3758ce(0x235)](_0x2b1752);if(this[_0x3758ce(0x20e)]instanceof _0x1446e8){const _0x1a135b=this[_0x3758ce(0x20e)][_0x3758ce(0x239)][_0x3758ce(0x1fb)](_0x3758ce(0x20d)),_0x2aced=this[_0x3758ce(0x20e)][_0x3758ce(0x20a)][_0x3758ce(0x1fb)](_0x463847);_0x2aced[_0x3758ce(0x201)](_0x1a135b);const _0x10165b=await this[_0x3758ce(0x1ef)][_0x3758ce(0x1fb)](_0x1a135b)[_0x3758ce(0x223)]();_0x2aced[_0x3758ce(0x24a)](_0x1a135b,_0x10165b);}}async[_0x5bd228(0x235)](_0xbe02c5){const _0x329a30=_0x5bd228,{connection:_0x3d57c4}=this[_0x329a30(0x20e)][_0x329a30(0x20a)][_0x329a30(0x1fb)](_0x3fc5ed),_0x2ef0e7=this[_0x329a30(0x20e)][_0x329a30(0x20a)][_0x329a30(0x1fb)](_0x329a30(0x1f9)),_0x176c35=this[_0x329a30(0x1ef)][_0x329a30(0x1fb)](_0xbe02c5),_0x469cd5=await _0x176c35[_0x329a30(0x23a)](_0x3d57c4);await this[_0x329a30(0x245)](_0x469cd5);const _0x37f8f6=new Set(Array[_0x329a30(0x212)](_0x2ef0e7[_0x329a30(0x205)]({'channelId':_0xbe02c5}),_0x28af62=>_0x28af62['id']));for(const _0x5301db of _0x469cd5)_0x5301db[_0x329a30(0x236)]||_0x37f8f6[_0x329a30(0x22e)](_0x5301db[_0x329a30(0x222)]);for(const _0xb7f8a9 of _0x37f8f6)_0x2ef0e7[_0x329a30(0x24f)](_0xb7f8a9)[_0x329a30(0x22c)]({'isFromAdapter':!0x0});for(const _0x2b1c09 of _0x469cd5){let _0x556595=_0x2ef0e7[_0x329a30(0x24f)](_0x2b1c09[_0x329a30(0x222)]);const {commentThreadId:_0x35dea5,context:_0x1c95e7,attributes:_0x3ff425,resolvedBy:_0x5475e0,resolvedAt:_0x2bdccc,unlinkedAt:_0x1f6257,deletedAt:_0xadf44}=_0x2b1c09;if(_0xadf44)continue;_0x556595||(_0x556595=_0x2ef0e7[_0x329a30(0x22a)]({'channelId':_0xbe02c5,'threadId':_0x35dea5,'context':_0x1c95e7,'attributes':_0x3ff425||{},'resolvedBy':_0x5475e0,'resolvedAt':_0x2bdccc,'unlinkedAt':_0x1f6257,'isFromAdapter':!0x0}));const _0x41cd2b=new Set(Array[_0x329a30(0x212)](_0x556595[_0x329a30(0x206)],_0x9df7df=>_0x9df7df['id']));for(const _0x53a237 of _0x2b1c09[_0x329a30(0x206)])_0x41cd2b[_0x329a30(0x22e)](_0x53a237[_0x329a30(0x228)]);for(const _0x23629e of _0x41cd2b)_0x556595[_0x329a30(0x209)](_0x23629e)[_0x329a30(0x22c)]({'isFromAdapter':!0x0});for(const _0xa18040 of _0x2b1c09[_0x329a30(0x206)]){const _0x30dcb2=_0x556595[_0x329a30(0x209)](_0xa18040[_0x329a30(0x228)]);_0x30dcb2?_0x30dcb2[_0x329a30(0x24b)]!==_0xa18040[_0x329a30(0x24b)]&&_0x30dcb2[_0x329a30(0x200)]({'content':_0xa18040[_0x329a30(0x24b)],'isFromAdapter':!0x0}):_0x556595[_0x329a30(0x227)](Object[_0x329a30(0x229)](st(_0xa18040),{'isFromAdapter':!0x0}));}}}[_0x5bd228(0x22f)](_0x3306c9){const _0x22f7da=_0x5bd228;if(!this[_0x22f7da(0x1ef)][_0x22f7da(0x240)](_0x3306c9))throw new _0x347ab8(_0x22f7da(0x1f5),null,{'channelId':_0x3306c9});return this[_0x22f7da(0x1ef)][_0x22f7da(0x1fb)](_0x3306c9);}async[_0x5bd228(0x245)](_0x3c4a35){const _0x9e640e=_0x5bd228,_0x3674e1=this[_0x9e640e(0x20e)][_0x9e640e(0x20a)][_0x9e640e(0x1fb)](_0x23f0bf),{connection:_0x3bed3e}=this[_0x9e640e(0x20e)][_0x9e640e(0x20a)][_0x9e640e(0x1fb)](_0x3fc5ed),_0x32b7c6=new Set();for(const {resolvedBy:_0xdbfef3,comments:_0x552c8e}of _0x3c4a35){_0xdbfef3&&!_0x3674e1[_0x9e640e(0x220)](_0xdbfef3)&&_0x32b7c6[_0x9e640e(0x241)](_0xdbfef3);for(const {userId:_0x5ae6f9}of _0x552c8e)_0x3674e1[_0x9e640e(0x220)](_0x5ae6f9)||_0x32b7c6[_0x9e640e(0x241)](_0x5ae6f9);}if(0x0===_0x32b7c6[_0x9e640e(0x23d)])return;const _0x242b77=await _0x129e80[_0x9e640e(0x215)](_0x3bed3e,Array[_0x9e640e(0x212)](_0x32b7c6));for(const _0x626a07 of _0x242b77)_0x3674e1[_0x9e640e(0x220)](_0x626a07['id'])||_0x3674e1[_0x9e640e(0x1ff)](_0x626a07);}}export default a;async function ot(_0x1b199d){const _0x5f03f6=_0x5bd228;if(_0x5f03f6(0x203)!==_0x1b199d[_0x5f03f6(0x232)])throw _0x1b199d;}function nt(_0x47b2c2){const _0x2add32=_0x5bd228;if((_0x97c3b4=_0x47b2c2)[_0x2add32(0x210)][_0x2add32(0x21b)](_0x2add32(0x24e))||_0x97c3b4[_0x2add32(0x210)][_0x2add32(0x21b)](_0x2add32(0x1f0))||_0x97c3b4[_0x2add32(0x210)][_0x2add32(0x21b)](_0x2add32(0x22b)))return new Promise(()=>{});var _0x97c3b4;throw _0x47b2c2;}function st(_0xc711cc){const _0x2cc251=_0x5bd228;return{'threadId':_0xc711cc[_0x2cc251(0x222)],'commentId':_0xc711cc[_0x2cc251(0x228)],'content':_0xc711cc[_0x2cc251(0x24b)],'createdAt':_0xc711cc[_0x2cc251(0x23c)],'authorId':_0xc711cc[_0x2cc251(0x20f)],'attributes':_0xc711cc[_0x2cc251(0x211)]||{}};}
23
+ const _0x2449aa=_0x522d;(function(_0x3b2c47,_0x508f7d){const _0x42c4f4=_0x522d,_0x175cf6=_0x3b2c47();while(!![]){try{const _0x239d6a=parseInt(_0x42c4f4(0x1fa))/0x1*(-parseInt(_0x42c4f4(0x1ed))/0x2)+-parseInt(_0x42c4f4(0x20a))/0x3+parseInt(_0x42c4f4(0x21f))/0x4+-parseInt(_0x42c4f4(0x235))/0x5+parseInt(_0x42c4f4(0x225))/0x6+parseInt(_0x42c4f4(0x248))/0x7+-parseInt(_0x42c4f4(0x21b))/0x8*(parseInt(_0x42c4f4(0x239))/0x9);if(_0x239d6a===_0x508f7d)break;else _0x175cf6['push'](_0x175cf6['shift']());}catch(_0x1e2884){_0x175cf6['push'](_0x175cf6['shift']());}}}(_0x6968,0x79420));import{Context as _0xcd5a5e,ContextPlugin as _0x536784}from'ckeditor5/src/core.js';function _0x522d(_0x63ac43,_0x14041e){const _0x69686d=_0x6968();return _0x522d=function(_0x522dab,_0x2fed1e){_0x522dab=_0x522dab-0x1e4;let _0x33677f=_0x69686d[_0x522dab];return _0x33677f;},_0x522d(_0x63ac43,_0x14041e);}import{CKEditorError as _0x1539b4}from'ckeditor5/src/utils.js';import{Users as _0x14ae45}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x6968(){const _0x32f9b7=['add','cloud-services-internal-error:\x20Request\x20timeout.','authorId','9Ixuglh','addToReconnectionStack','startsWith','404','isPremiumPlugin','setPermissions','commentAdded','config','connect','destroy','delete','createdAt','commentThreadResolved','permissions','_getService','4506488rxlwFp','listenTo','updateComment','getCommentThread','message','getComment','map','CommentsRepository','size','cloudservicescommentsadapter-service-not-exist','238wDRPGw','commentThreadUpdated','CommentsService','resolveCommentThread','requires','_connectService','catch','userId','commentId','reopen','register','reopenCommentThread','deletedAt','1915bYQFnt','resolve','addUser','commentThreadId','cloud-services-internal-error:\x20Not\x20connected.','resolvedBy','getCommentThreads','context','assign','updateCommentThread','commentThreadAdded','mySessionId','content','addCommentThread','code','get','965868hmfXAW','off','init','getUser','adapter','plugins','has','keys','reconnect','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','getConnectedSessions','unregister','resolvedAt','pluginName','commentRemoved','CloudServicesCommentsAdapter','from','3884168XPqOgV','_fetchMissingUsersForThreads','collaboration.channelId','commentThreadReopened','1975228zBOpGy','comments','isOfficialPlugin','set','disconnect','cloudservicescommentsadapter-connect-already-connected','3117696iJMEkb','_services','cloudservicescommentsadapter-disconnect-not-exist','addComment','getMany','_setUpService','sessionAdd:','attributes','removeComment','commentThreadRemoved','_terminateService','remove','update','Permissions','removeCommentThread','commentUpdated','625865XIVgOE'];_0x6968=function(){return _0x32f9b7;};return _0x6968();}import{CommentsService as _0x26fb8e,User as _0x50fa04}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x5124da from'../realtimecollaborativeediting/websocketgateway.js';import _0x396ec6 from'../realtimecollaborativeediting/sessions.js';class a extends _0x536784{static [_0x2449aa(0x1ef)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x26fb8e)());[_0x2449aa(0x226)];static get[_0x2449aa(0x1f1)](){const _0xff0b22=_0x2449aa;return[_0x5124da,_0xff0b22(0x1ea),_0x396ec6,_0x14ae45];}static get[_0x2449aa(0x217)](){const _0x14d95a=_0x2449aa;return _0x14d95a(0x219);}static get[_0x2449aa(0x221)](){return!0x0;}static get[_0x2449aa(0x23d)](){return!0x0;}constructor(_0x445248){const _0x308163=_0x2449aa;super(_0x445248),this[_0x308163(0x226)]=new Map();}async[_0x2449aa(0x20c)](){const _0x15a671=_0x2449aa,_0x308c03=this[_0x15a671(0x201)],_0x3548d6=_0x308c03[_0x15a671(0x20f)][_0x15a671(0x209)](_0x15a671(0x1ea));if(_0x308c03[_0x15a671(0x20f)][_0x15a671(0x209)](_0x5124da)[_0x15a671(0x23a)](this),_0x3548d6[_0x15a671(0x20e)]={'addCommentThread':async({channelId:_0x55beb4,threadId:_0x27bb45,comments:_0x36913a,resolvedAt:_0x3638f2,resolvedBy:_0x36bfa0,context:_0x429b97,attributes:_0x3767c2})=>{const _0x437c8f=_0x15a671,_0x54ea7a=await this[_0x437c8f(0x247)](_0x55beb4)[_0x437c8f(0x207)]({'commentThreadId':_0x27bb45,'comments':_0x36913a[_0x437c8f(0x1e9)](_0x50d438=>function(_0x586620,_0x30a5e0,_0x48822a){const _0x5a71c6=_0x437c8f;return{'commentThreadId':_0x48822a,'commentId':_0x586620[_0x5a71c6(0x1f5)],'userId':_0x586620[_0x5a71c6(0x238)],'content':_0x586620[_0x5a71c6(0x206)],'documentId':_0x30a5e0,'createdAt':_0x586620[_0x5a71c6(0x244)],'attributes':_0x586620[_0x5a71c6(0x22c)]||{}};}(_0x50d438,_0x55beb4,_0x27bb45)),'resolvedAt':_0x3638f2,'resolvedBy':_0x36bfa0,'context':_0x429b97,'attributes':_0x3767c2})[_0x437c8f(0x1f3)](w);return{'threadId':_0x54ea7a[_0x437c8f(0x1fd)],'comments':_0x54ea7a[_0x437c8f(0x220)]};},'getCommentThread':async({channelId:_0x140929,threadId:_0xfa3592})=>{const _0x19e290=_0x15a671,_0x21c517=await this[_0x19e290(0x247)](_0x140929)[_0x19e290(0x1e6)](_0xfa3592)[_0x19e290(0x1f3)](w);return _0x21c517[_0x19e290(0x1f9)]?null:(await this[_0x19e290(0x21c)]([_0x21c517]),{'threadId':_0x21c517[_0x19e290(0x1fd)],'comments':_0x21c517[_0x19e290(0x220)][_0x19e290(0x1e9)](b),'context':_0x21c517[_0x19e290(0x201)],'resolvedAt':_0x21c517[_0x19e290(0x216)],'resolvedBy':_0x21c517[_0x19e290(0x1ff)],'attributes':_0x21c517[_0x19e290(0x22c)]||{}});},'updateCommentThread':async({channelId:_0x4cec00,threadId:_0x68d14a,context:_0x4d8954,unlinkedAt:_0x4165cf,attributes:_0x5ceab2})=>this[_0x15a671(0x247)](_0x4cec00)[_0x15a671(0x203)]({'commentThreadId':_0x68d14a,'context':_0x4d8954,'attributes':_0x5ceab2,'unlinkedAt':_0x4165cf})[_0x15a671(0x1f3)](y)[_0x15a671(0x1f3)](w),'resolveCommentThread':async({channelId:_0x387ff7,threadId:_0x22b4fc})=>{const _0x53af02=_0x15a671,_0x5cc495=await this[_0x53af02(0x247)](_0x387ff7)[_0x53af02(0x1f0)](_0x22b4fc)[_0x53af02(0x1f3)](y)[_0x53af02(0x1f3)](w);return{'threadId':_0x5cc495[_0x53af02(0x1fd)],'resolvedAt':_0x5cc495[_0x53af02(0x216)],'resolvedBy':_0x5cc495[_0x53af02(0x1ff)]};},'reopenCommentThread':async({channelId:_0x2c995f,threadId:_0x4c99a4})=>this[_0x15a671(0x247)](_0x2c995f)[_0x15a671(0x1f8)](_0x4c99a4)[_0x15a671(0x1f3)](y)[_0x15a671(0x1f3)](w),'removeCommentThread':({channelId:_0x148881,threadId:_0x1d8947})=>this[_0x15a671(0x247)](_0x148881)[_0x15a671(0x233)](_0x1d8947)[_0x15a671(0x1f3)](y)[_0x15a671(0x1f3)](w),'addComment':({channelId:_0x3b4e4a,threadId:_0x3d32bb,commentId:_0x38251f,content:_0x4b8c52,attributes:_0x51d7e5})=>this[_0x15a671(0x247)](_0x3b4e4a)[_0x15a671(0x228)](_0x3d32bb,_0x38251f,_0x4b8c52,_0x51d7e5)[_0x15a671(0x1f3)](w),'updateComment':({channelId:_0x4ec474,threadId:_0x3a8bc3,commentId:_0xcc239d,content:_0xcaaeb7,attributes:_0x109d38})=>this[_0x15a671(0x247)](_0x4ec474)[_0x15a671(0x1e5)](_0x3a8bc3,_0xcc239d,_0xcaaeb7,_0x109d38)[_0x15a671(0x1f3)](y)[_0x15a671(0x1f3)](w),'removeComment':({channelId:_0x511831,threadId:_0xec0acd,commentId:_0x4d8899})=>this[_0x15a671(0x247)](_0x511831)[_0x15a671(0x22d)](_0xec0acd,_0x4d8899)[_0x15a671(0x1f3)](y)[_0x15a671(0x1f3)](w)},_0x308c03 instanceof _0xcd5a5e){const _0x26b7ef=_0x308c03[_0x15a671(0x240)][_0x15a671(0x209)](_0x15a671(0x21d)),_0x10d456=_0x308c03[_0x15a671(0x20f)][_0x15a671(0x209)](_0x396ec6);await this[_0x15a671(0x22a)](_0x26b7ef);const _0x20b1e6=await this[_0x15a671(0x226)][_0x15a671(0x209)](_0x26b7ef)[_0x15a671(0x214)]();this[_0x15a671(0x1e4)](_0x10d456,_0x15a671(0x22b)+_0x26b7ef,(_0x2e9038,{session:_0x5c5da8})=>{const _0x398354=_0x15a671;_0x5c5da8['id']===_0x10d456[_0x398354(0x205)]&&(_0x2e9038[_0x398354(0x20b)](),this[_0x398354(0x201)][_0x398354(0x20f)][_0x398354(0x209)](_0x398354(0x232))[_0x398354(0x23e)](_0x5c5da8[_0x398354(0x246)],_0x26b7ef));}),_0x10d456[_0x15a671(0x1f7)](_0x26b7ef,_0x20b1e6);}}async[_0x2449aa(0x22a)](_0x454077){const _0x561943=_0x2449aa;if(this[_0x561943(0x226)][_0x561943(0x210)](_0x454077))throw new _0x1539b4(_0x561943(0x224),null,{'channelId':_0x454077});const _0xe68714=this[_0x561943(0x201)][_0x561943(0x20f)][_0x561943(0x209)](_0x561943(0x1ea)),_0x27b04e=new a[(_0x561943(0x1ef))](_0x454077);this[_0x561943(0x226)][_0x561943(0x222)](_0x454077,_0x27b04e),this[_0x561943(0x1e4)](_0x27b04e,_0x561943(0x204),(_0x447e03,_0x3d6917)=>{const _0xc670b2=_0x561943,{commentThreadId:_0x3626dd,documentId:_0x48d481,context:_0x5258c3,attributes:_0x484105,resolvedAt:_0x2bf867,resolvedBy:_0x30c222,comments:_0x200570}=_0x3d6917;_0xe68714[_0xc670b2(0x1e6)](_0x3626dd)||_0xe68714[_0xc670b2(0x207)]({'threadId':_0x3626dd,'channelId':_0x48d481,'comments':_0x200570?_0x200570[_0xc670b2(0x1e9)](b):[],'context':_0x5258c3,'attributes':_0x484105,'resolvedAt':_0x2bf867,'resolvedBy':_0x30c222,'isFromAdapter':!0x0});}),this[_0x561943(0x1e4)](_0x27b04e,_0x561943(0x1ee),(_0x51cc13,{commentThreadId:_0xe13302,documentId:_0xc9332d,context:_0x1654a9,unlinkedAt:_0x568a23,attributes:_0xaab9b4})=>{const _0x5bfa2a=_0x561943;_0xe68714[_0x5bfa2a(0x1e6)](_0xe13302)&&_0xe68714[_0x5bfa2a(0x203)]({'threadId':_0xe13302,'channelId':_0xc9332d,'context':_0x1654a9,'unlinkedAt':_0x568a23,'attributes':_0xaab9b4,'isFromAdapter':!0x0});}),this[_0x561943(0x1e4)](_0x27b04e,_0x561943(0x245),(_0x5cd9bc,{commentThreadId:_0x3379b8,resolvedBy:_0x5a1565,resolvedAt:_0x18a28a})=>{const _0xe8b65f=_0x561943,_0x4d33cb=_0xe68714[_0xe8b65f(0x1e6)](_0x3379b8);_0x4d33cb&&_0x4d33cb[_0xe8b65f(0x1fb)]({'resolvedBy':_0x5a1565,'resolvedAt':_0x18a28a,'isFromAdapter':!0x0});}),this[_0x561943(0x1e4)](_0x27b04e,_0x561943(0x21e),(_0x4fb29f,{commentThreadId:_0x3539ab})=>{const _0x2cee31=_0x561943,_0x578d6c=_0xe68714[_0x2cee31(0x1e6)](_0x3539ab);_0x578d6c&&_0x578d6c[_0x2cee31(0x1f6)]({'isFromAdapter':!0x0});}),this[_0x561943(0x1e4)](_0x27b04e,_0x561943(0x22e),(_0x577201,{commentThreadId:_0x5cf056})=>{const _0x209b17=_0x561943,_0x52a46d=_0xe68714[_0x209b17(0x1e6)](_0x5cf056);_0x52a46d&&_0x52a46d[_0x209b17(0x230)]({'isFromAdapter':!0x0});}),this[_0x561943(0x1e4)](_0x27b04e,_0x561943(0x23f),(_0xa77d38,_0x2599f1)=>{const _0x5a9e19=_0x561943,_0x30f05d=_0x2599f1[_0x5a9e19(0x1fd)],_0x2ec47e=_0xe68714[_0x5a9e19(0x1e6)](_0x30f05d);_0x2ec47e&&_0x2ec47e[_0x5a9e19(0x228)]({...b(_0x2599f1),'isFromAdapter':!0x0});}),this[_0x561943(0x1e4)](_0x27b04e,_0x561943(0x234),(_0x469a52,{commentThreadId:_0x34bfb9,commentId:_0x46289b,content:_0x2042e9,attributes:_0x1a77f5})=>{const _0xac8d5f=_0x561943,_0x16f243=_0xe68714[_0xac8d5f(0x1e6)](_0x34bfb9);if(_0x16f243){const _0x1efcf8=_0x16f243[_0xac8d5f(0x1e8)](_0x46289b);_0x1efcf8&&_0x1efcf8[_0xac8d5f(0x231)]({'content':_0x2042e9,'attributes':_0x1a77f5,'isFromAdapter':!0x0});}}),this[_0x561943(0x1e4)](_0x27b04e,_0x561943(0x218),(_0x17a32e,{commentThreadId:_0x15c4e1,commentId:_0x113017})=>{const _0x19e320=_0x561943,_0x28a4a5=_0xe68714[_0x19e320(0x1e6)](_0x15c4e1);if(_0x28a4a5){const _0x128c39=_0x28a4a5[_0x19e320(0x1e8)](_0x113017);_0x128c39&&_0x128c39[_0x19e320(0x230)]({'isFromAdapter':!0x0});}}),await this[_0x561943(0x1f2)](_0x454077);}[_0x2449aa(0x242)](){const _0xd84017=_0x2449aa;if(this[_0xd84017(0x201)]instanceof _0xcd5a5e){const _0x44845c=this[_0xd84017(0x201)][_0xd84017(0x240)][_0xd84017(0x209)](_0xd84017(0x21d));this[_0xd84017(0x22f)](_0x44845c);}}[_0x2449aa(0x22f)](_0x100487){const _0x4a7fa8=_0x2449aa;if(!this[_0x4a7fa8(0x226)][_0x4a7fa8(0x210)](_0x100487))throw new _0x1539b4(_0x4a7fa8(0x227),null,{'channelId':_0x100487});this[_0x4a7fa8(0x247)](_0x100487)[_0x4a7fa8(0x223)](),this[_0x4a7fa8(0x226)][_0x4a7fa8(0x243)](_0x100487);}async[_0x2449aa(0x212)](){const _0x4cdbf9=_0x2449aa;for(const _0x22a618 of this[_0x4cdbf9(0x226)][_0x4cdbf9(0x211)]())await this[_0x4cdbf9(0x1f2)](_0x22a618);if(this[_0x4cdbf9(0x201)]instanceof _0xcd5a5e){const _0x545326=this[_0x4cdbf9(0x201)][_0x4cdbf9(0x240)][_0x4cdbf9(0x209)](_0x4cdbf9(0x21d)),_0x477927=this[_0x4cdbf9(0x201)][_0x4cdbf9(0x20f)][_0x4cdbf9(0x209)](_0x396ec6);_0x477927[_0x4cdbf9(0x215)](_0x545326);const _0x253d9a=await this[_0x4cdbf9(0x226)][_0x4cdbf9(0x209)](_0x545326)[_0x4cdbf9(0x214)]();_0x477927[_0x4cdbf9(0x1f7)](_0x545326,_0x253d9a);}}async[_0x2449aa(0x1f2)](_0x2b2135){const _0x2623c0=_0x2449aa,{connection:_0xec6660}=this[_0x2623c0(0x201)][_0x2623c0(0x20f)][_0x2623c0(0x209)](_0x5124da),_0x53ba5f=this[_0x2623c0(0x201)][_0x2623c0(0x20f)][_0x2623c0(0x209)](_0x2623c0(0x1ea)),_0x2687ef=this[_0x2623c0(0x226)][_0x2623c0(0x209)](_0x2b2135),_0x3a4630=await _0x2687ef[_0x2623c0(0x241)](_0xec6660);await this[_0x2623c0(0x21c)](_0x3a4630);const _0x1ea1a3=new Set(Array[_0x2623c0(0x21a)](_0x53ba5f[_0x2623c0(0x200)]({'channelId':_0x2b2135}),_0x4a61b9=>_0x4a61b9['id']));for(const _0x377a1b of _0x3a4630)_0x377a1b[_0x2623c0(0x1f9)]||_0x1ea1a3[_0x2623c0(0x243)](_0x377a1b[_0x2623c0(0x1fd)]);for(const _0x124b77 of _0x1ea1a3)_0x53ba5f[_0x2623c0(0x1e6)](_0x124b77)[_0x2623c0(0x230)]({'isFromAdapter':!0x0});for(const _0xc0e5ef of _0x3a4630){let _0x259008=_0x53ba5f[_0x2623c0(0x1e6)](_0xc0e5ef[_0x2623c0(0x1fd)]);const {commentThreadId:_0x1762cd,context:_0x1d2bd2,attributes:_0x5295c4,resolvedBy:_0x2b5142,resolvedAt:_0x328105,unlinkedAt:_0x129744,deletedAt:_0x298e95}=_0xc0e5ef;if(_0x298e95)continue;_0x259008||(_0x259008=_0x53ba5f[_0x2623c0(0x207)]({'channelId':_0x2b2135,'threadId':_0x1762cd,'context':_0x1d2bd2,'attributes':_0x5295c4||{},'resolvedBy':_0x2b5142,'resolvedAt':_0x328105,'unlinkedAt':_0x129744,'isFromAdapter':!0x0}));const _0xed1611=new Set(Array[_0x2623c0(0x21a)](_0x259008[_0x2623c0(0x220)],_0x5ef46b=>_0x5ef46b['id']));for(const _0x19c97f of _0xc0e5ef[_0x2623c0(0x220)])_0xed1611[_0x2623c0(0x243)](_0x19c97f[_0x2623c0(0x1f5)]);for(const _0x112335 of _0xed1611)_0x259008[_0x2623c0(0x1e8)](_0x112335)[_0x2623c0(0x230)]({'isFromAdapter':!0x0});for(const _0x400ba5 of _0xc0e5ef[_0x2623c0(0x220)]){const _0x545a00=_0x259008[_0x2623c0(0x1e8)](_0x400ba5[_0x2623c0(0x1f5)]);_0x545a00?_0x545a00[_0x2623c0(0x206)]!==_0x400ba5[_0x2623c0(0x206)]&&_0x545a00[_0x2623c0(0x231)]({'content':_0x400ba5[_0x2623c0(0x206)],'isFromAdapter':!0x0}):_0x259008[_0x2623c0(0x228)](Object[_0x2623c0(0x202)](b(_0x400ba5),{'isFromAdapter':!0x0}));}}}[_0x2449aa(0x247)](_0x4cd9b4){const _0xd375d0=_0x2449aa;if(!this[_0xd375d0(0x226)][_0xd375d0(0x210)](_0x4cd9b4))throw new _0x1539b4(_0xd375d0(0x1ec),null,{'channelId':_0x4cd9b4});return this[_0xd375d0(0x226)][_0xd375d0(0x209)](_0x4cd9b4);}async[_0x2449aa(0x21c)](_0xeb45d5){const _0x236ce9=_0x2449aa,_0x2261ed=this[_0x236ce9(0x201)][_0x236ce9(0x20f)][_0x236ce9(0x209)](_0x14ae45),{connection:_0x448ead}=this[_0x236ce9(0x201)][_0x236ce9(0x20f)][_0x236ce9(0x209)](_0x5124da),_0xd4c8f=new Set();for(const {resolvedBy:_0x497fb2,comments:_0x16d067}of _0xeb45d5){_0x497fb2&&!_0x2261ed[_0x236ce9(0x20d)](_0x497fb2)&&_0xd4c8f[_0x236ce9(0x236)](_0x497fb2);for(const {userId:_0x248dd5}of _0x16d067)_0x2261ed[_0x236ce9(0x20d)](_0x248dd5)||_0xd4c8f[_0x236ce9(0x236)](_0x248dd5);}if(0x0===_0xd4c8f[_0x236ce9(0x1eb)])return;const _0x2a4e75=await _0x50fa04[_0x236ce9(0x229)](_0x448ead,Array[_0x236ce9(0x21a)](_0xd4c8f));for(const _0x557054 of _0x2a4e75)_0x2261ed[_0x236ce9(0x20d)](_0x557054['id'])||_0x2261ed[_0x236ce9(0x1fc)](_0x557054);}}export default a;async function y(_0x1fe2bb){const _0xa8291=_0x2449aa;if(_0xa8291(0x23c)!==_0x1fe2bb[_0xa8291(0x208)])throw _0x1fe2bb;}function w(_0x4dfcf4){const _0x202c1f=_0x2449aa;if((_0x50c613=_0x4dfcf4)[_0x202c1f(0x1e7)][_0x202c1f(0x23b)](_0x202c1f(0x213))||_0x50c613[_0x202c1f(0x1e7)][_0x202c1f(0x23b)](_0x202c1f(0x1fe))||_0x50c613[_0x202c1f(0x1e7)][_0x202c1f(0x23b)](_0x202c1f(0x237)))return new Promise(()=>{});var _0x50c613;throw _0x4dfcf4;}function b(_0x342ec6){const _0x5c9855=_0x2449aa;return{'threadId':_0x342ec6[_0x5c9855(0x1fd)],'commentId':_0x342ec6[_0x5c9855(0x1f5)],'content':_0x342ec6[_0x5c9855(0x206)],'createdAt':_0x342ec6[_0x5c9855(0x244)],'authorId':_0x342ec6[_0x5c9855(0x1f4)],'attributes':_0x342ec6[_0x5c9855(0x22c)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41a0e6=_0xff37;(function(_0x42bf,_0x215c6a){const _0x208bf0=_0xff37,_0x48c727=_0x42bf();while(!![]){try{const _0xe0ab49=parseInt(_0x208bf0(0xde))/0x1+parseInt(_0x208bf0(0xef))/0x2+-parseInt(_0x208bf0(0xe6))/0x3+-parseInt(_0x208bf0(0xeb))/0x4*(-parseInt(_0x208bf0(0xe5))/0x5)+-parseInt(_0x208bf0(0xe0))/0x6*(parseInt(_0x208bf0(0xf8))/0x7)+parseInt(_0x208bf0(0xdb))/0x8*(-parseInt(_0x208bf0(0xf5))/0x9)+-parseInt(_0x208bf0(0xdc))/0xa*(-parseInt(_0x208bf0(0xf4))/0xb);if(_0xe0ab49===_0x215c6a)break;else _0x48c727['push'](_0x48c727['shift']());}catch(_0x27110f){_0x48c727['push'](_0x48c727['shift']());}}}(_0x5b29,0xe2776));function _0xff37(_0x20ac29,_0x5bae25){const _0x5b290b=_0x5b29();return _0xff37=function(_0xff37e6,_0x12e540){_0xff37e6=_0xff37e6-0xd6;let _0x18de91=_0x5b290b[_0xff37e6];return _0x18de91;},_0xff37(_0x20ac29,_0x5bae25);}import{Plugin as _0x4644de}from'ckeditor5/src/core.js';import _0x122c22 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0xa492c9 from'./realtimecollaborativeediting.js';import _0x448d1b from'./realtimecollaborativeediting/websocketgateway.js';function _0x5b29(){const _0x2131e3=['33nHWQVS','250479GjyYlA','connected','listenTo','68754iCBiHl','switchReadOnly','ready','_terminateService','requires','get','data','168uGKmAp','1802290xDfdWR','destroy','1057212pBUTzm','Comments','594tNoJKU','isOfficialPlugin','isThreadsLoadingPaused','plugins','CommentsRepository','50795vYKAHw','465558UFvzoy','isPremiumPlugin','config','once','change:state','164OeTUpN','CommentsEditing','_setUpService','init','1250406kwoSJN','RealTimeCollaborativeComments','editor','pluginName','collaboration.channelId'];_0x5b29=function(){return _0x2131e3;};return _0x5b29();}export default class m extends _0x4644de{static get[_0x41a0e6(0xd8)](){const _0x35fc2e=_0x41a0e6;return[_0x35fc2e(0xdf),_0x122c22,_0xa492c9,_0x448d1b];}static get[_0x41a0e6(0xf2)](){const _0x45e63c=_0x41a0e6;return _0x45e63c(0xf0);}static get[_0x41a0e6(0xe1)](){return!0x0;}static get[_0x41a0e6(0xe7)](){return!0x0;}[_0x41a0e6(0xee)](){const _0x1b2662=_0x41a0e6,_0x36de0b=this[_0x1b2662(0xf1)][_0x1b2662(0xe3)][_0x1b2662(0xd9)](_0x448d1b),_0x469950=this[_0x1b2662(0xf1)][_0x1b2662(0xe3)][_0x1b2662(0xd9)](_0x1b2662(0xec)),_0x42868d=this[_0x1b2662(0xf1)][_0x1b2662(0xe3)][_0x1b2662(0xd9)](_0x122c22);return this[_0x1b2662(0xf1)][_0x1b2662(0xda)][_0x1b2662(0xe9)](_0x1b2662(0xd6),()=>{const _0xed82ad=_0x1b2662;this[_0xed82ad(0xf7)](_0x36de0b,_0xed82ad(0xea),(_0xe17328,_0xd93928,_0x1d627c)=>{const _0x58c54a=_0xed82ad;_0x469950[_0x58c54a(0xe2)]=_0x58c54a(0xf6)!==_0x1d627c;});}),this[_0x1b2662(0xf7)](_0x36de0b,_0x1b2662(0xea),(_0x4efa70,_0x212727,_0x5c55ea)=>{const _0xc8bedc=_0x1b2662;this[_0xc8bedc(0xf1)][_0xc8bedc(0xe3)][_0xc8bedc(0xd9)](_0xc8bedc(0xe4))[_0xc8bedc(0xf9)](_0xc8bedc(0xf6)!==_0x5c55ea);}),_0x42868d[_0x1b2662(0xed)](this[_0x1b2662(0xf1)][_0x1b2662(0xe8)][_0x1b2662(0xd9)](_0x1b2662(0xf3)));}[_0x41a0e6(0xdd)](){const _0x45b715=_0x41a0e6;this[_0x45b715(0xf1)][_0x45b715(0xe3)][_0x45b715(0xd9)](_0x122c22)[_0x45b715(0xd7)](this[_0x45b715(0xf1)][_0x45b715(0xe8)][_0x45b715(0xd9)](_0x45b715(0xf3))),super[_0x45b715(0xdd)]();}}
23
+ function _0x2d77(){const _0x911c15=['destroy','_terminateService','init','CommentsRepository','2530377kENALk','6188004JEHPOn','745924HhciFm','RealTimeCollaborativeComments','requires','collaboration.channelId','connected','isPremiumPlugin','2ZGXjmz','ready','CommentsEditing','32ffqSEU','plugins','config','editor','_setUpService','7757844NNStBN','Comments','get','listenTo','isOfficialPlugin','pluginName','224BLOgYJ','once','data','change:state','switchReadOnly','5KEuoMf','isThreadsLoadingPaused','555412yxunbH','4758243gKaMpS','55716epTIMK','60LOFYje'];_0x2d77=function(){return _0x911c15;};return _0x2d77();}const _0x5e3a25=_0x2113;(function(_0x1735bc,_0x4b35bd){const _0x13228d=_0x2113,_0x2fcff8=_0x1735bc();while(!![]){try{const _0x38963a=-parseInt(_0x13228d(0xbc))/0x1*(-parseInt(_0x13228d(0xc2))/0x2)+parseInt(_0x13228d(0xd9))/0x3*(parseInt(_0x13228d(0xd0))/0x4)+parseInt(_0x13228d(0xd5))/0x5*(parseInt(_0x13228d(0xbb))/0x6)+-parseInt(_0x13228d(0xd8))/0x7+parseInt(_0x13228d(0xc5))/0x8*(-parseInt(_0x13228d(0xba))/0x9)+parseInt(_0x13228d(0xda))/0xa*(parseInt(_0x13228d(0xd7))/0xb)+-parseInt(_0x13228d(0xca))/0xc;if(_0x38963a===_0x4b35bd)break;else _0x2fcff8['push'](_0x2fcff8['shift']());}catch(_0x28101b){_0x2fcff8['push'](_0x2fcff8['shift']());}}}(_0x2d77,0xa36d2));import{Plugin as _0x277141}from'ckeditor5/src/core.js';import _0x40dc5c from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x211f5b from'./realtimecollaborativeediting.js';import _0xe25f37 from'./realtimecollaborativeediting/websocketgateway.js';function _0x2113(_0x55e14e,_0x5aa791){const _0x2d77d5=_0x2d77();return _0x2113=function(_0x211317,_0x869e9c){_0x211317=_0x211317-0xb9;let _0x4315ba=_0x2d77d5[_0x211317];return _0x4315ba;},_0x2113(_0x55e14e,_0x5aa791);}export default class m extends _0x277141{static get[_0x5e3a25(0xbe)](){const _0x526d66=_0x5e3a25;return[_0x526d66(0xcb),_0x40dc5c,_0x211f5b,_0xe25f37];}static get[_0x5e3a25(0xcf)](){const _0x253703=_0x5e3a25;return _0x253703(0xbd);}static get[_0x5e3a25(0xce)](){return!0x0;}static get[_0x5e3a25(0xc1)](){return!0x0;}[_0x5e3a25(0xdd)](){const _0x3fd451=_0x5e3a25,_0x1bbf37=this[_0x3fd451(0xc8)][_0x3fd451(0xc6)][_0x3fd451(0xcc)](_0xe25f37),_0x4ee18f=this[_0x3fd451(0xc8)][_0x3fd451(0xc6)][_0x3fd451(0xcc)](_0x3fd451(0xc4)),_0x1f7d3c=this[_0x3fd451(0xc8)][_0x3fd451(0xc6)][_0x3fd451(0xcc)](_0x40dc5c);return this[_0x3fd451(0xc8)][_0x3fd451(0xd2)][_0x3fd451(0xd1)](_0x3fd451(0xc3),()=>{const _0x5ad982=_0x3fd451;this[_0x5ad982(0xcd)](_0x1bbf37,_0x5ad982(0xd3),(_0x2f4e46,_0x4e4344,_0x2d25a6)=>{const _0x73fd55=_0x5ad982;_0x4ee18f[_0x73fd55(0xd6)]=_0x73fd55(0xc0)!==_0x2d25a6;});}),this[_0x3fd451(0xcd)](_0x1bbf37,_0x3fd451(0xd3),(_0x41add1,_0x3c369c,_0x1d37e1)=>{const _0x36aeb2=_0x3fd451;this[_0x36aeb2(0xc8)][_0x36aeb2(0xc6)][_0x36aeb2(0xcc)](_0x36aeb2(0xb9))[_0x36aeb2(0xd4)](_0x36aeb2(0xc0)!==_0x1d37e1);}),_0x1f7d3c[_0x3fd451(0xc9)](this[_0x3fd451(0xc8)][_0x3fd451(0xc7)][_0x3fd451(0xcc)](_0x3fd451(0xbf)));}[_0x5e3a25(0xdb)](){const _0x2ce3a6=_0x5e3a25;this[_0x2ce3a6(0xc8)][_0x2ce3a6(0xc6)][_0x2ce3a6(0xcc)](_0x40dc5c)[_0x2ce3a6(0xdc)](this[_0x2ce3a6(0xc8)][_0x2ce3a6(0xc7)][_0x2ce3a6(0xcc)](_0x2ce3a6(0xbf))),super[_0x2ce3a6(0xdb)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38c565=_0x3530;(function(_0x13c454,_0x18984e){const _0x2bd71e=_0x3530,_0x1b29fc=_0x13c454();while(!![]){try{const _0x142903=parseInt(_0x2bd71e(0xdd))/0x1+-parseInt(_0x2bd71e(0xbc))/0x2+parseInt(_0x2bd71e(0x10f))/0x3+-parseInt(_0x2bd71e(0x12a))/0x4+-parseInt(_0x2bd71e(0xd7))/0x5*(parseInt(_0x2bd71e(0x134))/0x6)+parseInt(_0x2bd71e(0x181))/0x7*(-parseInt(_0x2bd71e(0xf4))/0x8)+-parseInt(_0x2bd71e(0xb7))/0x9*(-parseInt(_0x2bd71e(0x13e))/0xa);if(_0x142903===_0x18984e)break;else _0x1b29fc['push'](_0x1b29fc['shift']());}catch(_0x2979ca){_0x1b29fc['push'](_0x1b29fc['shift']());}}}(_0x9f1c,0x92790));import{Plugin as _0xe491bb,PendingActions as _0x169182}from'ckeditor5/src/core.js';import{CKEditorError as _0x4e461b,version as _0x5cf351,uid as _0x57dd09}from'ckeditor5/src/utils.js';import{Notification as _0x4ac99c}from'ckeditor5/src/ui.js';import{transformSets as _0x5a24d2,NoOperation as _0x4907e4,InsertOperation as _0x125df9,MarkerOperation as _0x38687c,RootAttributeOperation as _0x21ddb2,OperationFactory as _0x2cf424,History as _0x3c70e7}from'ckeditor5/src/engine.js';import _0x2cea5c from'./websocketgateway.js';function _0x9f1c(){const _0x5f3949=['reconnect','createdAt','addUser','data','model','getRoot','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isUndoneOperation','includes','_getAffectedRoot','_loadRoot','catch','compress','affectedSelectable','_handleSendingSelectionMarkers','setIdForTheLastOperation','connect','_compressOperations','createRange','_getOperationsFromInitData','realtimecollaborationclient-handleserverresponse','marker','isEnabled','409','_applyOperationsSet','_sendBufferedOperationsDelayId','_isDisconnection','_initSessionsHandling','238nbPJvc','sessionAdd:','rtc-destroyed','change:_isEditingAllowed','_authorId','reconnection:\x20flushed\x20session','permissions','toJSON','remove','RealTimeCollaborationClient','serverHistory','Synchronization\x20issue','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.','error','end','change:hasDomSelection','editor','forEach','setPermissions','off','define','_disconnectionOperations','push','removeFromReconnectionStack','move','_handleExternalOperations','unregister','baseVersion','isPremiumPlugin','cloudDocumentVersion','_bufferRootLoad','entries','CollaborativeEditingService','newRange','getOperationAuthor','differ','_isConnected','wasUndone','change:range','ready','view','createPositionFromPath','_connectAfterSessionHasBeenFlushed','_document','_knownOperations','getOperations','stop','_compressor','fromJSON','affectsData','_operationToId','lastDocumentSession','$root','requires','isReadOnly','_crash','state','map','add','roots','6588buQwhE','getConnectedSessions','_isInit','offset','disconnect','1604200JXiCTD','_initThrowingOnDataSet','startsWith','_lastServerVersion','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','collaboration','_knownRootNames','createPositionAt','_fetchMissingUsers','_setPendingAction','attributes','_disconnectService','listenTo','_decompressOperations','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','disconnected','batch','type','document','document:write','lastOperationAcceptedAt','getMany','start','realtimecollaborationclient-init-non-existent-root','suppressErrorInCollaboration','_clearPendingAction','createRoot','647860qXOJcT','filter','_offset','_isPendingUpdate','apply','set','415875vriXxu','from','stopListening','multi-root-editor-root-attributes-no-root','enqueueChange','keys','getIdOfTheLastOperation','lastOperationId','initData','_ignoredOperations','lastSyncVersion','realtimecollaborationclient-init-session-connection-error','createUserMarkerOperations','_operationIdentifier','CommentsOnly','_channelId','sendOperations','_lastSyncedOperationId','locale','decompress','_shouldSendSelectionUpdate','connected','InsertOperation','142664JiSyJN','realtimecollaborationclient-init-service-internal-error','reset','_handleServerResponse','cloud-services-internal-error:\x20Request\x20timeout.','applyOperation','PENDING_ACTION_SENDING_DATA','targetPosition','rootsAttributes','insert','history','collaboration.channelId','_handleReconnectionResponse','config','selection','_currentBufferDelay','_hasSelectionChanged','get','version','_addKnownRoot','position','fire','getDocumentDetails','_shouldSendUpdate','disableReadOnlyMode','404','code','3004881wccJYn','addOperation','realtimecollaborationclient','_waitUntilSynced','_service','_baseBufferDelay','sessionCreatedAt','cs:removeUser','operationsReceived','_isLoaded','return','__className','directChange','cloudServices.bundleVersion','high','destroy','_refreshUserSelectionMarkers','userId','loadRoot','slice','_bufferedOperations','realtimecollaborationclient-sendbufferedoperations','realtimecollaborationclient-init-service-incorrect-server-operation','realtimecollaborationclient-error','finally','channelSessions','markers','3820352KJscPF','connection','length','bind','realtimecollaborationclient-init-connection-failed','message','rtc-offline','_isEditingAllowed','Permissions','_handleReconnectionError','18TwbRZD','_isAttached','isDocumentOperation','collaboration-missing-channelid','_pendingAction','init','cloud-services-internal-error:\x20Not\x20connected.','addRootAttribute','_handleReceivedOperations','Notification','26430VEFBnt','_handleInitialConnectionData','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','register','realtimecollaborationclient-init-document-already-initialized','pluginName','editing','path','has','addToReconnectionStack','currentDocumentSession','_hasSynchronizationProblem','addRoot','metadata','string','mySessionId','rootName','clone','round','_saveOperationInBuffer','_connectService','_sendBufferedOperationsDelayed','showWarning','change:_isPendingUpdate','parse','wereChangesApplied','real-time-collaboration','root','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.','isOfficialPlugin','_updateServerHistory','_setUpDataInit','getUser','size','enableReadOnlyMode','sessionId','plugins','then','_sendBufferedOperations'];_0x9f1c=function(){return _0x5f3949;};return _0x9f1c();}import _0xd26926 from'./sessions.js';import _0x270282 from'./usermarkers.js';import{getTranslation as _0x456484}from'../common-translations.js';function _0x3530(_0x58e699,_0x495f2f){const _0x9f1c69=_0x9f1c();return _0x3530=function(_0x353062,_0x493acb){_0x353062=_0x353062-0x86;let _0x286894=_0x9f1c69[_0x353062];return _0x286894;},_0x3530(_0x58e699,_0x495f2f);}import{Compressor as _0x59d638}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x3a588a}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x16309f,CollaborativeEditingService as _0x38eb9d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let F=0x1;class l extends _0xe491bb{static [_0x38c565(0x9b)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x38eb9d)());[_0x38c565(0xd9)];[_0x38c565(0x161)];[_0x38c565(0x18b)];[_0x38c565(0xec)];[_0x38c565(0x113)];[_0x38c565(0xa6)];[_0x38c565(0xaa)];[_0x38c565(0x123)];[_0x38c565(0xa7)];[_0x38c565(0xc2)];[_0x38c565(0x138)];[_0x38c565(0x104)];[_0x38c565(0x17e)];[_0x38c565(0x114)];[_0x38c565(0x103)];[_0x38c565(0xee)];[_0x38c565(0x90)];[_0x38c565(0xea)];static get[_0x38c565(0xb0)](){return[_0x2cea5c,_0xd26926,_0x270282,_0x169182,_0x3a588a,_0x4ac99c];}static get[_0x38c565(0x143)](){const _0x191ab3=_0x38c565;return _0x191ab3(0x18a);}static get[_0x38c565(0x15b)](){return!0x0;}static get[_0x38c565(0x97)](){return!0x0;}get[_0x38c565(0x98)](){const _0x39704c=_0x38c565;return this[_0x39704c(0xbf)]+this[_0x39704c(0xd9)];}get[_0x38c565(0xbf)](){const _0x5e5917=_0x38c565;return this[_0x5e5917(0x18b)][_0x5e5917(0x106)]-this[_0x5e5917(0xd9)];}get[_0x38c565(0xe7)](){const _0x15bc84=_0x38c565,_0x3d8aaf=this[_0x15bc84(0x18b)][_0x15bc84(0xa8)]();for(let _0x194022=_0x3d8aaf[_0x15bc84(0x12c)]-0x1;_0x194022>=0x0;_0x194022--){const _0x18779a=_0x3d8aaf[_0x194022];if(!this[_0x15bc84(0x90)][_0x15bc84(0x146)](_0x18779a))return _0x18779a[_0x15bc84(0x96)]+0x1-this[_0x15bc84(0xd9)];}return 0x0;}constructor(_0x199431){const _0x3855de=_0x38c565;if(super(_0x199431),this[_0x3855de(0xd9)]=0x0,this[_0x3855de(0x161)]=null,this[_0x3855de(0x18b)]=new _0x3c70e7(),this[_0x3855de(0x8b)][_0x3855de(0x101)][_0x3855de(0x8f)](_0x3855de(0xc1),{}),this[_0x3855de(0xec)]=this[_0x3855de(0x8b)][_0x3855de(0x101)][_0x3855de(0x105)](_0x3855de(0xff)),!this[_0x3855de(0xec)])throw new _0x4e461b(_0x3855de(0x137),this);const _0x128417=_0x199431[_0x3855de(0x101)][_0x3855de(0x105)](_0x3855de(0x11c))||_0x5cf351;this[_0x3855de(0x113)]=new l[(_0x3855de(0x9b))](_0x128417,this[_0x3855de(0xec)]),this[_0x3855de(0xa6)]=this[_0x3855de(0x8b)][_0x3855de(0x169)][_0x3855de(0xce)],this[_0x3855de(0xaa)]=new _0x59d638(),this[_0x3855de(0x123)]=[],this[_0x3855de(0xa7)]=new WeakSet(),this[_0x3855de(0xc2)]=new Set(),this[_0x3855de(0xdc)](_0x3855de(0xda),!0x1),this[_0x3855de(0xdc)](_0x3855de(0x149),!0x1),this[_0x3855de(0x138)]=null,this[_0x3855de(0x104)]=!0x1,this[_0x3855de(0x17e)]=null,this[_0x3855de(0x114)]=0x12c,this[_0x3855de(0x103)]=this[_0x3855de(0x114)],this[_0x3855de(0xee)]=null,this[_0x3855de(0x90)]=new WeakSet(),this[_0x3855de(0xea)]=new $(this[_0x3855de(0x90)]);}[_0x38c565(0x139)](){const _0x25dfc1=_0x38c565,_0x115c25=this[_0x25dfc1(0x8b)],_0x590ade=_0x115c25[_0x25dfc1(0x162)][_0x25dfc1(0x105)](_0x3a588a),_0x40abb8=_0x115c25[_0x25dfc1(0x162)][_0x25dfc1(0x105)](_0x2cea5c);this[_0x25dfc1(0xc8)](_0x590ade,_0x25dfc1(0x9d),(_0x185f2d,_0x217564)=>{const _0x3c64d6=_0x25dfc1,_0x229d54=_0x217564[0x0];_0x229d54[_0x3c64d6(0x185)]&&(_0x185f2d[_0x3c64d6(0x119)]=_0x590ade[_0x3c64d6(0x15e)](_0x229d54[_0x3c64d6(0x185)]),_0x185f2d[_0x3c64d6(0xa9)]()),null===_0x229d54[_0x3c64d6(0x185)]&&(_0x185f2d[_0x3c64d6(0x119)]=null,_0x185f2d[_0x3c64d6(0xa9)]());},{'priority':_0x25dfc1(0x11d)}),this[_0x25dfc1(0xc8)](_0x115c25[_0x25dfc1(0x169)][_0x25dfc1(0xce)][_0x25dfc1(0x102)],_0x25dfc1(0xa1),(_0x20d8dc,_0x6e9ad1)=>{const _0x110688=_0x25dfc1;_0x6e9ad1[_0x110688(0x11b)]&&this[_0x110688(0x11f)]();}),this[_0x25dfc1(0xc8)](_0x115c25[_0x25dfc1(0x144)][_0x25dfc1(0xa3)],_0x25dfc1(0x8a),()=>{const _0x5d41af=_0x25dfc1;this[_0x5d41af(0x11f)]();}),this[_0x25dfc1(0xbd)](),_0x115c25[_0x25dfc1(0x169)]['on'](_0x25dfc1(0xf9),(_0x54e00e,_0x52ae71)=>{const _0x2d94ba=_0x25dfc1,_0x31ebb8=_0x52ae71[0x0];_0x31ebb8[_0x2d94ba(0x136)]&&(this[_0x2d94ba(0x151)](_0x31ebb8),this[_0x2d94ba(0x10b)]()&&this[_0x2d94ba(0x153)]());}),this[_0x25dfc1(0x15d)](),this[_0x25dfc1(0x12d)](_0x25dfc1(0x131))['to'](_0x40abb8,_0x25dfc1(0xb3),this,_0x25dfc1(0x149),(_0x37f2e2,_0x54944e)=>_0x25dfc1(0xf2)===_0x37f2e2&&!_0x54944e),this['on'](_0x25dfc1(0x184),()=>{const _0x4458f2=_0x25dfc1;this[_0x4458f2(0x131)]?_0x115c25[_0x4458f2(0x10c)](_0x4458f2(0x130)):_0x115c25[_0x4458f2(0x160)](_0x4458f2(0x130));}),this[_0x25dfc1(0x131)]?_0x115c25[_0x25dfc1(0x10c)](_0x25dfc1(0x130)):_0x115c25[_0x25dfc1(0x160)](_0x25dfc1(0x130)),this[_0x25dfc1(0xdc)](_0x25dfc1(0x9f),!0x1);}async[_0x38c565(0x165)](){const _0x45d772=_0x38c565,_0xb26b06=this[_0x45d772(0x8b)][_0x45d772(0x162)][_0x45d772(0x105)](_0xd26926),_0x43bfbf=this[_0x45d772(0x8b)][_0x45d772(0x162)][_0x45d772(0x105)](_0x2cea5c);try{this[_0x45d772(0xda)]=!0x0,_0xb26b06[_0x45d772(0x95)](this[_0x45d772(0xec)]);const _0xf49276=await this[_0x45d772(0x113)][_0x45d772(0x165)](_0x43bfbf[_0x45d772(0x12b)],this[_0x45d772(0xe7)]);await this[_0x45d772(0x100)](_0xf49276)&&(this[_0x45d772(0xda)]=!0x1,this[_0x45d772(0xd5)]());const _0x9283d3=await this[_0x45d772(0x113)][_0x45d772(0xb8)]();_0xb26b06[_0x45d772(0x141)](this[_0x45d772(0xec)],_0x9283d3),this[_0x45d772(0x173)](),this[_0x45d772(0x9f)]=!0x0;}catch(_0x5df744){if(function(_0x4d2739){const _0x2799a3=_0x45d772;return _0x2799a3(0x10d)===_0x4d2739[_0x2799a3(0x10e)];}(_0x5df744)&&this[_0x45d772(0x161)])await this[_0x45d772(0xa5)]();else{if(function(_0x188b2e){const _0x3d04aa=_0x45d772;return _0x3d04aa(0x17c)===_0x188b2e[_0x3d04aa(0x10e)];}(_0x5df744)){const _0x35e526=_0x456484(this[_0x45d772(0x8b)][_0x45d772(0xef)],_0x45d772(0x140));this[_0x45d772(0x133)](_0x35e526);}else{if(!(_0x5df744 instanceof q))throw _0x5df744;this[_0x45d772(0x133)]();}}}}[_0x38c565(0x11e)](){const _0x3224ea=_0x38c565,_0x6a20a0=this[_0x3224ea(0x8b)][_0x3224ea(0x162)][_0x3224ea(0x105)](_0x2cea5c),_0x257020=this[_0x3224ea(0x8b)][_0x3224ea(0x162)][_0x3224ea(0x105)](_0xd26926);this[_0x3224ea(0x8b)][_0x3224ea(0x160)](_0x3224ea(0x183)),_0x257020[_0x3224ea(0x128)][_0x3224ea(0x146)](this[_0x3224ea(0xec)])&&_0x257020[_0x3224ea(0x95)](this[_0x3224ea(0xec)]),_0x6a20a0[_0x3224ea(0x92)](this),this[_0x3224ea(0xc7)](),super[_0x3224ea(0x11e)]();}async[_0x38c565(0x100)](_0x1d7a9f){const _0x28d825=_0x38c565;if(this[_0x28d825(0x161)]!==_0x1d7a9f[_0x28d825(0x161)]&&this[_0x28d825(0xee)]!==_0x1d7a9f[_0x28d825(0xe4)])throw new q();return this[_0x28d825(0x161)]=_0x1d7a9f[_0x28d825(0x161)],this[_0x28d825(0xf7)]([],{..._0x1d7a9f,'wereChangesApplied':!0x1,'data':_0x1d7a9f[_0x28d825(0x168)]},_0x28d825(0x165));}async[_0x38c565(0x152)](_0x42d39d,_0x159503=!0x1){const _0x52e410=_0x38c565,{connection:_0x30fe2f}=this[_0x52e410(0x8b)][_0x52e410(0x162)][_0x52e410(0x105)](_0x2cea5c);l[_0x52e410(0x9b)][_0x52e410(0xb8)](_0x30fe2f,this[_0x52e410(0xec)])[_0x52e410(0x163)](_0x314a5b=>this[_0x52e410(0x180)](_0x314a5b))[_0x52e410(0x170)](_0x51213a=>{const _0x69a7c4=_0x52e410;this[_0x69a7c4(0xb2)](_0x69a7c4(0xe8),_0x51213a);}),this[_0x52e410(0xc8)](this[_0x52e410(0x113)],_0x52e410(0x117),this[_0x52e410(0x13c)][_0x52e410(0x12d)](this)),this[_0x52e410(0xc8)](this[_0x52e410(0x113)],_0x52e410(0x88),(_0x1ee0f0,_0x47aacc)=>{const _0x3f84f4=_0x52e410;this[_0x3f84f4(0xb2)](_0x3f84f4(0xf5),_0x47aacc);}),this[_0x52e410(0xc8)](this[_0x52e410(0x113)],_0x52e410(0xcb),()=>{const _0x4cd772=_0x52e410;this[_0x4cd772(0x9f)]=!0x1;});const _0x148f87=this[_0x52e410(0xea)][_0x52e410(0xe3)](_0x42d39d);this[_0x52e410(0xda)]=!0x0;const _0x3c235b=await this[_0x52e410(0x113)][_0x52e410(0x175)](_0x30fe2f,this[_0x52e410(0x176)](_0x42d39d),_0x148f87);if(this[_0x52e410(0x161)]=_0x3c235b[_0x52e410(0x161)],_0x159503){if(!_0x3c235b[_0x52e410(0x157)])return void this[_0x52e410(0x133)]();this[_0x52e410(0xda)]=!0x1,this[_0x52e410(0xd5)](),this[_0x52e410(0x18b)][_0x52e410(0xf6)](),this[_0x52e410(0xd9)]=_0x3c235b[_0x52e410(0xba)],this[_0x52e410(0x18b)][_0x52e410(0x106)]=this[_0x52e410(0xd9)],await this[_0x52e410(0xf7)](_0x42d39d,_0x3c235b,_0x52e410(0x186));}else await this[_0x52e410(0x13f)](_0x3c235b,_0x42d39d);this[_0x52e410(0x173)](),this[_0x52e410(0x9f)]=!0x0;}[_0x38c565(0x173)](){const _0xe35ae5=_0x38c565,_0x3ffe29=this[_0xe35ae5(0x8b)][_0xe35ae5(0x162)][_0xe35ae5(0x105)](_0xd26926),_0x1671c8=this[_0xe35ae5(0x8b)][_0xe35ae5(0x162)][_0xe35ae5(0x105)](_0x270282),_0x2fd04a=_0x3ffe29[_0xe35ae5(0x128)][_0xe35ae5(0x105)](this[_0xe35ae5(0xec)]);_0x2fd04a&&_0x2fd04a[_0xe35ae5(0x12c)]>0x1?_0x1671c8[_0xe35ae5(0xe9)]():this[_0xe35ae5(0xc8)](_0x3ffe29,_0xe35ae5(0x182)+this[_0xe35ae5(0xec)],()=>{const _0x146749=_0xe35ae5;0x2===_0x3ffe29[_0x146749(0x128)][_0x146749(0x105)](this[_0x146749(0xec)])[_0x146749(0x12c)]&&_0x1671c8[_0x146749(0xe9)]();});}async[_0x38c565(0x13c)](_0x44a410,_0x1f6fc8,_0x16e833,_0x30156f){const _0x2c2cbc=_0x38c565;if(!this[_0x2c2cbc(0xda)]&&this[_0x2c2cbc(0xa6)][_0x2c2cbc(0x106)]==_0x1f6fc8){const _0x59dca2=this[_0x2c2cbc(0xc9)](_0x16e833,_0x30156f);await this[_0x2c2cbc(0xc4)](_0x59dca2),this[_0x2c2cbc(0x94)](_0x59dca2,_0x1f6fc8,_0x16e833[_0x2c2cbc(0xe4)])||this[_0x2c2cbc(0xb2)](_0x2c2cbc(0x125));}}async[_0x38c565(0xa5)](){const _0x1fd6a0=_0x38c565;this[_0x1fd6a0(0xc7)]();const {locale:_0x218a31}=this[_0x1fd6a0(0x8b)];let _0x5792eb;try{_0x5792eb=await this[_0x1fd6a0(0x113)][_0x1fd6a0(0x10a)]();}catch(_0x545be9){const _0x2ed400=_0x456484(_0x218a31,_0x1fd6a0(0x16b));return void this[_0x1fd6a0(0x133)](_0x2ed400);}const _0x50c80b=_0x5792eb[_0x1fd6a0(0x148)]||_0x5792eb[_0x1fd6a0(0xae)];if(this[_0x1fd6a0(0xee)]===_0x50c80b[_0x1fd6a0(0xe4)])await this[_0x1fd6a0(0x152)](this[_0x1fd6a0(0x8b)][_0x1fd6a0(0x169)][_0x1fd6a0(0xce)][_0x1fd6a0(0xfe)][_0x1fd6a0(0xa8)](),!0x0);else{const _0x4e0f51=_0x456484(_0x218a31,_0x1fd6a0(0x87));this[_0x1fd6a0(0x133)](_0x4e0f51);}}[_0x38c565(0xc7)](){const _0x4e1361=_0x38c565;this[_0x4e1361(0x113)][_0x4e1361(0xbb)](),this[_0x4e1361(0x123)]=[],clearTimeout(this[_0x4e1361(0x17e)]),this[_0x4e1361(0xdf)](this[_0x4e1361(0x113)]);}[_0x38c565(0x180)](_0x4ef714){const _0x5dcccc=_0x38c565,_0x2121ed=this[_0x5dcccc(0x8b)][_0x5dcccc(0x162)][_0x5dcccc(0x105)](_0xd26926);this[_0x5dcccc(0xc8)](_0x2121ed,_0x5dcccc(0x182)+this[_0x5dcccc(0xec)],(_0x14a2ba,{session:_0x2516ec})=>{const _0x4b851c=_0x5dcccc;if(_0x2516ec['id']===_0x2121ed[_0x4b851c(0x14d)]){_0x14a2ba[_0x4b851c(0x8e)]();const _0x45f5be=this[_0x4b851c(0x8b)][_0x4b851c(0x162)][_0x4b851c(0x146)](_0x4b851c(0xeb))&&this[_0x4b851c(0x8b)][_0x4b851c(0x162)][_0x4b851c(0x105)](_0x4b851c(0xeb));let _0x2519e1=_0x2516ec[_0x4b851c(0x187)];_0x45f5be&&_0x45f5be[_0x4b851c(0x17b)]&&(_0x2519e1=_0x2519e1[_0x4b851c(0xd8)](_0x11c3e5=>_0x4b851c(0xcf)!==_0x11c3e5)),this[_0x4b851c(0x8b)][_0x4b851c(0x162)][_0x4b851c(0x105)](_0x4b851c(0x132))[_0x4b851c(0x8d)](_0x2519e1,this[_0x4b851c(0xec)]);}}),_0x2121ed[_0x5dcccc(0x141)](this[_0x5dcccc(0xec)],_0x4ef714);}[_0x38c565(0xbd)](){const _0x179264=_0x38c565,_0x128105=this[_0x179264(0x8b)][_0x179264(0x168)][_0x179264(0xdc)];this[_0x179264(0x8b)][_0x179264(0x168)][_0x179264(0xdc)]=(..._0x182b1b)=>{const _0xe23ca=_0x179264;if(!_0x182b1b[_0x182b1b[_0xe23ca(0x12c)]-0x1][_0xe23ca(0xd4)])throw new _0x4e461b(_0xe23ca(0xc0),this);_0x128105[_0xe23ca(0xdb)](this[_0xe23ca(0x8b)][_0xe23ca(0x168)],_0x182b1b);};}[_0x38c565(0x15d)](){const _0x1e42be=_0x38c565;this[_0x1e42be(0x8b)][_0x1e42be(0x168)]['on'](_0x1e42be(0x139),(_0x253381,[_0x398a66])=>{const _0x591d37=_0x1e42be;if(this[_0x591d37(0xa6)][_0x591d37(0x106)])throw new _0x4e461b(_0x591d37(0x142),this);_0x253381[_0x591d37(0xa9)](),this[_0x591d37(0xc5)]();const _0x42657b=this[_0x591d37(0x8b)][_0x591d37(0x101)][_0x591d37(0x105)](_0x591d37(0xfc)),_0x4af9a7=this[_0x591d37(0x178)](_0x398a66,_0x42657b);0x0==_0x4af9a7[_0x591d37(0x12c)]&&_0x4af9a7[_0x591d37(0x91)](new _0x4907e4(0x0)),_0x253381[_0x591d37(0x119)]=this[_0x591d37(0x152)](_0x4af9a7)[_0x591d37(0x163)](()=>{const _0x3bb369=_0x591d37;this[_0x3bb369(0x8b)][_0x3bb369(0x162)][_0x3bb369(0x105)](_0x2cea5c)[_0x3bb369(0x147)](this),this[_0x3bb369(0x8b)][_0x3bb369(0x168)][_0x3bb369(0x109)](_0x3bb369(0xa2));})[_0x591d37(0x170)](_0x5c5f47=>this[_0x591d37(0xb2)](_0x591d37(0x12e),_0x5c5f47))[_0x591d37(0x127)](()=>this[_0x591d37(0xd5)]());},{'priority':_0x1e42be(0x11d)}),this[_0x1e42be(0x8b)]['on'](_0x1e42be(0x121),async(_0x159054,[_0x22efb1,_0x9995d1])=>{const _0x2f893f=_0x1e42be;_0x159054[_0x2f893f(0xa9)]();const _0x468170=this[_0x2f893f(0x8b)][_0x2f893f(0x169)][_0x2f893f(0xce)][_0x2f893f(0x16a)](_0x22efb1);if(!this[_0x2f893f(0xc2)][_0x2f893f(0x146)](_0x22efb1)){const _0x15699b=_0x9995d1&&_0x9995d1[_0x2f893f(0x168)]?_0x9995d1[_0x2f893f(0x168)]:'',_0x4c4326=_0x9995d1&&_0x9995d1[_0x2f893f(0xc6)]?_0x9995d1[_0x2f893f(0xc6)]:{};await this[_0x2f893f(0x16f)](_0x22efb1,_0x15699b,_0x4c4326);}this[_0x2f893f(0x8b)][_0x2f893f(0x169)][_0x2f893f(0xe1)]({'isUndoable':!0x1},()=>{const _0x2c6efe=_0x2f893f;_0x468170[_0x2c6efe(0x118)]=!0x0,this[_0x2c6efe(0x8b)][_0x2c6efe(0x169)][_0x2c6efe(0xce)][_0x2c6efe(0x9e)][_0x2c6efe(0x99)](_0x468170);});},{'priority':_0x1e42be(0x11d)});}async[_0x38c565(0xc4)](_0x451bef){const _0xcbee6=_0x38c565,_0x32214c=this[_0xcbee6(0x8b)][_0xcbee6(0x162)][_0xcbee6(0x105)](_0x3a588a),{connection:_0xa1f975}=this[_0xcbee6(0x8b)][_0xcbee6(0x162)][_0xcbee6(0x105)](_0x2cea5c),_0x33cd20=new Set();for(const _0x393585 of _0x451bef){const _0x4eea9d=_0x393585[_0xcbee6(0x185)];_0x4eea9d&&!_0x32214c[_0xcbee6(0x15e)](_0x4eea9d)&&_0x33cd20[_0xcbee6(0xb5)](_0x4eea9d);}if(0x0===_0x33cd20[_0xcbee6(0x15f)])return;const _0x54090c=await _0x16309f[_0xcbee6(0xd1)](_0xa1f975,Array[_0xcbee6(0xde)](_0x33cd20));for(const _0x2b0f7d of _0x54090c)_0x32214c[_0xcbee6(0x15e)](_0x2b0f7d['id'])||_0x32214c[_0xcbee6(0x167)](_0x2b0f7d);}[_0x38c565(0x178)](_0x3d8ff1,_0x2f9af4={}){const _0x1c5e20=_0x38c565,_0x15599d=this[_0x1c5e20(0x8b)][_0x1c5e20(0x169)],_0x4b9c47=[];let _0x5a80f9=0x0;const _0x300bb3=_0x1c5e20(0x14c)==typeof _0x3d8ff1?{'main':_0x3d8ff1}:_0x3d8ff1;for(const _0x19a079 of Object[_0x1c5e20(0xe2)](_0x300bb3)){if(!this[_0x1c5e20(0xa6)][_0x1c5e20(0xb6)][_0x1c5e20(0x146)](_0x19a079))throw new _0x4e461b(_0x1c5e20(0xd3),this);const _0x14a2a1=this[_0x1c5e20(0x8b)][_0x1c5e20(0x168)][_0x1c5e20(0x156)](_0x300bb3[_0x19a079]),_0x7fd0aa=this[_0x1c5e20(0xa6)][_0x1c5e20(0x16a)](_0x19a079),_0x559f7a=new _0x125df9(_0x15599d[_0x1c5e20(0xc3)](_0x7fd0aa,0x0),_0x14a2a1,_0x5a80f9++);_0x4b9c47[_0x1c5e20(0x91)](_0x559f7a);for(const [_0x4c9eeb,_0x3228a0]of _0x14a2a1[_0x1c5e20(0x129)]){const _0x4ad343=_0x15599d[_0x1c5e20(0x177)](_0x15599d[_0x1c5e20(0xa4)](_0x7fd0aa,_0x3228a0[_0x1c5e20(0xd2)][_0x1c5e20(0x145)][_0x1c5e20(0x122)]()),_0x15599d[_0x1c5e20(0xa4)](_0x7fd0aa,_0x3228a0[_0x1c5e20(0x89)][_0x1c5e20(0x145)][_0x1c5e20(0x122)]())),_0x38ca0a=new _0x38687c(_0x4c9eeb,null,_0x4ad343,_0x15599d[_0x1c5e20(0x129)],!0x0,_0x5a80f9++);_0x4b9c47[_0x1c5e20(0x91)](_0x38ca0a);}}if(_0x2f9af4)for(const [_0x588976,_0x2673c3]of Object[_0x1c5e20(0x9a)](_0x2f9af4)){const _0x5ca094=_0x15599d[_0x1c5e20(0xce)][_0x1c5e20(0x16a)](_0x588976);if(!_0x5ca094)throw new _0x4e461b(_0x1c5e20(0xe0),null);for(const [_0x1709a3,_0x2b509b]of Object[_0x1c5e20(0x9a)](_0x2673c3))if(null!==_0x2b509b){const _0x49c958=new _0x21ddb2(_0x5ca094,_0x1709a3,null,_0x2b509b,_0x5a80f9++);_0x4b9c47[_0x1c5e20(0x91)](_0x49c958);}}return _0x4b9c47;}async[_0x38c565(0x16f)](_0x1f264e,_0x5b7724,_0x48580d){const _0x5d62df=_0x38c565;this[_0x5d62df(0x178)]({[_0x1f264e]:_0x5b7724},{[_0x1f264e]:_0x48580d})[_0x5d62df(0x8c)]((_0x76bb35,_0x414181)=>{const _0x250c77=_0x5d62df;_0x76bb35[_0x250c77(0x96)]=this[_0x250c77(0xa6)][_0x250c77(0x106)]+_0x414181,_0x76bb35[_0x250c77(0xb9)]=!0x0,this[_0x250c77(0x151)](_0x76bb35);}),this[_0x5d62df(0x153)](),await this[_0x5d62df(0x112)]();}async[_0x38c565(0x13f)](_0x1fadee,_0x13154b){const _0x41852f=_0x38c565;let _0x5e3dbb;this[_0x41852f(0xd9)]=_0x1fadee[_0x41852f(0xba)];const _0x3a4541=_0x1fadee[_0x41852f(0x157)]&&!_0x1fadee[_0x41852f(0xe5)],_0x4f6c23=_0x3a4541?0x0:_0x1fadee[_0x41852f(0x168)][_0x41852f(0x96)];if(_0x13154b[_0x41852f(0x8c)](_0x131413=>{const _0x3df16e=_0x41852f;_0x131413[_0x3df16e(0xb9)]=!0x0,_0x131413[_0x3df16e(0x166)]=_0x1fadee[_0x3df16e(0x115)],_0x131413[_0x3df16e(0x185)]=null;}),_0x3a4541)_0x5e3dbb=_0x13154b,this[_0x41852f(0x17d)](_0x5e3dbb,_0x3a4541);else{if(_0x1fadee[_0x41852f(0xe5)]){const _0x5074c9=this[_0x41852f(0x178)](_0x1fadee[_0x41852f(0xe5)]);this[_0x41852f(0xa6)][_0x41852f(0xfe)][_0x41852f(0x106)]=-_0x5074c9[_0x41852f(0x12c)],_0x5074c9[_0x41852f(0x8c)](_0x26c871=>{const _0x255cd1=_0x41852f;_0x26c871[_0x255cd1(0x96)]-=_0x5074c9[_0x255cd1(0x12c)],_0x26c871[_0x255cd1(0x166)]=_0x1fadee[_0x255cd1(0x115)],_0x26c871[_0x255cd1(0xb9)]=!0x0,_0x26c871[_0x255cd1(0x185)]=null;}),this[_0x41852f(0x17d)](_0x5074c9,!0x0),this[_0x41852f(0x18b)][_0x41852f(0x106)]=-_0x5074c9[_0x41852f(0x12c)]+this[_0x41852f(0xd9)],this[_0x41852f(0x15c)](_0x5074c9);}this[_0x41852f(0xa6)][_0x41852f(0xfe)][_0x41852f(0x106)]=_0x4f6c23,_0x5e3dbb=this[_0x41852f(0xc9)](_0x1fadee[_0x41852f(0x168)],_0x1fadee[_0x41852f(0x14b)]),await this[_0x41852f(0xc4)](_0x5e3dbb),this[_0x41852f(0x17d)](_0x5e3dbb,_0x3a4541);}_0x1fadee[_0x41852f(0xe4)]&&(this[_0x41852f(0xea)][_0x41852f(0x174)](_0x5e3dbb,_0x1fadee[_0x41852f(0xe4)]),this[_0x41852f(0xee)]=_0x1fadee[_0x41852f(0xe4)]),this[_0x41852f(0x18b)][_0x41852f(0x106)]=_0x4f6c23+this[_0x41852f(0xd9)],this[_0x41852f(0x15c)](_0x5e3dbb),_0x13154b[_0x41852f(0xd8)](_0x485718=>{const _0x5c24aa=_0x41852f,_0x382ca=this[_0x5c24aa(0x16e)](_0x485718);return _0x382ca&&!this[_0x5c24aa(0xc2)][_0x5c24aa(0x146)](_0x382ca);})[_0x41852f(0x8c)]((_0x3da3b8,_0x3902e4)=>{const _0x42b01a=_0x41852f;_0x3da3b8[_0x42b01a(0x96)]=this[_0x42b01a(0xa6)][_0x42b01a(0x106)]+_0x3902e4,this[_0x42b01a(0x151)](_0x3da3b8);}),this[_0x41852f(0x10b)]()?(this[_0x41852f(0x103)]=0x0,this[_0x41852f(0x153)](!0x0),await this[_0x41852f(0x112)]()):(this[_0x41852f(0xda)]=!0x1,this[_0x41852f(0xd5)]());}[_0x38c565(0xb2)](_0x547d62,_0x418c62){const _0x3cbbe4=_0x38c565,_0x38fbcf=_0x418c62&&_0x418c62[_0x3cbbe4(0x12f)];if(_0x38fbcf&&_0x38fbcf[_0x3cbbe4(0xbe)](_0x3cbbe4(0x111)))throw _0x418c62;const _0x1b0684=this[_0x3cbbe4(0x8b)][_0x3cbbe4(0x162)][_0x3cbbe4(0x105)](_0x2cea5c);throw this[_0x3cbbe4(0xda)]=!0x0,_0x1b0684[_0x3cbbe4(0xbb)](),this[_0x3cbbe4(0x8b)][_0x3cbbe4(0x160)](_0x3cbbe4(0x126)),new _0x4e461b(_0x547d62,this[_0x3cbbe4(0x8b)],_0x38fbcf?{'originalError':_0x38fbcf}:void 0x0);}[_0x38c565(0x151)](_0x401ebf){const _0x57380f=_0x38c565;this[_0x57380f(0xa7)][_0x57380f(0x146)](_0x401ebf)||(this[_0x57380f(0xa7)][_0x57380f(0xb5)](_0x401ebf),this[_0x57380f(0x123)][_0x57380f(0x91)](_0x401ebf),this[_0x57380f(0x138)]||_0x57380f(0x17a)==_0x401ebf[_0x57380f(0xcd)]&&!_0x401ebf[_0x57380f(0xac)]||this[_0x57380f(0xc5)]());}[_0x38c565(0x153)](_0x3e1bb3=!0x1){const _0x43aa01=_0x38c565;!_0x3e1bb3&&this[_0x43aa01(0xda)]||(this[_0x43aa01(0xda)]=!0x0,clearTimeout(this[_0x43aa01(0x17e)]),this[_0x43aa01(0x17e)]=setTimeout(()=>{const _0x5f1552=_0x43aa01;this[_0x5f1552(0x164)]()[_0x5f1552(0x163)](_0x5855a1=>{const _0x2e9946=_0x5f1552;_0x5855a1&&(this[_0x2e9946(0xd5)](),this[_0x2e9946(0xda)]=!0x1);})[_0x5f1552(0x170)](_0x14461b=>{const _0x2b3c7d=_0x5f1552;this[_0x2b3c7d(0xd5)](),this[_0x2b3c7d(0xda)]=!0x1,function(_0x20dbf1){const _0x56ad0f=_0x2b3c7d;return _0x20dbf1[_0x56ad0f(0x12f)][_0x56ad0f(0xbe)](_0x56ad0f(0x13a))||_0x20dbf1[_0x56ad0f(0x12f)][_0x56ad0f(0xbe)](_0x56ad0f(0xca))||_0x20dbf1[_0x56ad0f(0x12f)][_0x56ad0f(0xbe)](_0x56ad0f(0xf8));}(_0x14461b)||this[_0x2b3c7d(0xb2)](_0x14461b[_0x2b3c7d(0x12f)],_0x14461b);});},this[_0x43aa01(0x103)]));}[_0x38c565(0x112)](){return new Promise(_0x5d9ac3=>{const _0xeb26e4=_0x3530;this['on'](_0xeb26e4(0x155),()=>{_0x5d9ac3();});});}async[_0x38c565(0x164)](){const _0x8b56e5=_0x38c565,_0x21042f=this[_0x8b56e5(0x8b)][_0x8b56e5(0x162)][_0x8b56e5(0x105)](_0x270282);if(this[_0x8b56e5(0xf1)]()&&(_0x21042f[_0x8b56e5(0xe9)](),this[_0x8b56e5(0x104)]=!0x1),!this[_0x8b56e5(0x10b)]())return!0x0;const _0xa2b06e=[...this[_0x8b56e5(0x123)]];for(const _0x2b375b of _0xa2b06e)_0x2b375b[_0x8b56e5(0xa0)]=this[_0x8b56e5(0xa6)][_0x8b56e5(0xfe)][_0x8b56e5(0x16c)](_0x2b375b);const _0x9266d2=this[_0x8b56e5(0xea)][_0x8b56e5(0xe3)](_0xa2b06e),_0x17c82c=F++,_0x18de75=this[_0x8b56e5(0x176)](_0xa2b06e),_0x1aacf3=await this[_0x8b56e5(0x113)][_0x8b56e5(0xed)](_0x18de75,_0x18de75[_0x8b56e5(0x96)],_0x9266d2);try{return await this[_0x8b56e5(0xf7)](_0xa2b06e,_0x1aacf3,_0x17c82c);}catch(_0x542a25){return this[_0x8b56e5(0xb2)](_0x8b56e5(0x124),_0x542a25);}}async[_0x38c565(0xf7)](_0x24ad7b,_0x3c75f7,_0x4b0193){const _0x300898=_0x38c565;if(_0x300898(0x88)in _0x3c75f7)throw _0x3c75f7[_0x300898(0x88)];let _0x1c72a2=!0x1;if(_0x3c75f7[_0x300898(0x157)]){_0x3c75f7[_0x300898(0xe4)]&&(this[_0x300898(0xee)]=_0x3c75f7[_0x300898(0xe4)]),this[_0x300898(0x123)]=this[_0x300898(0x123)][_0x300898(0xd8)](_0x2a19c6=>!_0x24ad7b[_0x300898(0x16d)](_0x2a19c6));for(const _0x29e4b8 of _0x24ad7b)_0x29e4b8[_0x300898(0x166)]=_0x300898(0xd0)in _0x3c75f7&&_0x3c75f7[_0x300898(0xd0)]||void 0x0;G(_0x24ad7b,_0x3c75f7[_0x300898(0x106)]-_0x24ad7b[_0x300898(0x12c)]),this[_0x300898(0x15c)](_0x24ad7b);const _0x2b9441=_0x24ad7b[_0x300898(0xd8)](_0x248702=>{const _0xfc44ef=_0x300898;if(!_0x248702[_0xfc44ef(0xb9)])return!0x1;const _0x1125b3=this[_0xfc44ef(0x16e)](_0x248702);return _0x1125b3&&!this[_0xfc44ef(0xc2)][_0xfc44ef(0x146)](_0x1125b3);});G(_0x2b9441,this[_0x300898(0xa6)][_0x300898(0x106)]),this[_0x300898(0x17d)](_0x2b9441),_0x1c72a2=!0x0,this[_0x300898(0x103)]=this[_0x300898(0x114)];}else{const _0x45c1af=this[_0x300898(0xc9)](_0x3c75f7[_0x300898(0x168)],_0x3c75f7[_0x300898(0x14b)])[_0x300898(0xd8)](_0x4c3059=>_0x4c3059[_0x300898(0x96)]>=this[_0x300898(0xbf)]);_0x45c1af[_0x300898(0x8c)](_0x48dfc8=>this[_0x300898(0x107)](_0x48dfc8)),this[_0x300898(0x123)]=this[_0x300898(0x123)][_0x300898(0xd8)](_0x1f6022=>!_0x1f6022[_0x300898(0xb9)]||!this[_0x300898(0xc2)][_0x300898(0x146)](this[_0x300898(0x16e)](_0x1f6022))),this[_0x300898(0x123)][_0x300898(0x12c)]&&G(this[_0x300898(0x123)],this[_0x300898(0x123)][0x0][_0x300898(0x96)]),await this[_0x300898(0xc4)](_0x45c1af),_0x1c72a2=this[_0x300898(0x94)](_0x45c1af,_0x3c75f7[_0x300898(0x106)],_0x3c75f7[_0x300898(0xe4)]),this[_0x300898(0x103)]=Math[_0x300898(0x150)](this[_0x300898(0x103)]/0x2);}return _0x1c72a2?!this[_0x300898(0x10b)]()||(this[_0x300898(0x153)](!0x0),!0x1):this[_0x300898(0xb2)](_0x300898(0x179));}[_0x38c565(0x94)](_0x2c2281,_0x39a602,_0x1efc47){const _0x36fcbe=_0x38c565;try{const _0x2f5b5e={'document':this[_0x36fcbe(0xa6)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2b6a60,operationsB:_0x3c8ab3,originalOperations:_0x4db62d}=_0x5a24d2(_0x2c2281,this[_0x36fcbe(0x123)],_0x2f5b5e);G(_0x2b6a60,this[_0x36fcbe(0xa6)][_0x36fcbe(0x106)]),G(_0x3c8ab3,_0x39a602);for(const _0x447295 of _0x2b6a60){const _0x2ed929=_0x4db62d[_0x36fcbe(0x105)](_0x447295);_0x447295[_0x36fcbe(0x185)]=_0x2ed929?_0x2ed929[_0x36fcbe(0x185)]:null;}_0x1efc47&&(this[_0x36fcbe(0xea)][_0x36fcbe(0x174)](_0x2c2281,_0x1efc47),this[_0x36fcbe(0xee)]=_0x1efc47),this[_0x36fcbe(0x123)]=[..._0x3c8ab3],this[_0x36fcbe(0x17d)](_0x2b6a60),this[_0x36fcbe(0x15c)](_0x2c2281);}catch(_0x365592){return console[_0x36fcbe(0x88)](_0x365592),!0x1;}return!0x0;}[_0x38c565(0x17d)](_0x3044e6,_0x5a9faa=!0x1){const _0x18ba8b=_0x38c565;this[_0x18ba8b(0x8b)][_0x18ba8b(0x169)][_0x18ba8b(0xe1)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2c90a7=>{const _0xddd8eb=_0x18ba8b;for(const _0x397dd7 of _0x3044e6)this[_0xddd8eb(0xa7)][_0xddd8eb(0xb5)](_0x397dd7),this[_0xddd8eb(0x107)](_0x397dd7),_0x2c90a7[_0xddd8eb(0xcc)][_0xddd8eb(0x110)](_0x397dd7),this[_0xddd8eb(0x8b)][_0xddd8eb(0x169)][_0xddd8eb(0xf9)](_0x397dd7);});}[_0x38c565(0x107)](_0x5f2970){const _0x29f936=_0x38c565,_0x238b68=this[_0x29f936(0x16e)](_0x5f2970);_0x238b68&&this[_0x29f936(0xc2)][_0x29f936(0xb5)](_0x238b68);}[_0x38c565(0x16e)](_0x6dcf0c){const _0x4560be=_0x38c565;let _0x5e723d,_0x5cfa52;switch(_0x6dcf0c[_0x4560be(0xcd)]){case _0x4560be(0xfd):_0x5e723d=_0x6dcf0c[_0x4560be(0x108)][_0x4560be(0x159)];break;case _0x4560be(0x17a):if(_0x5cfa52=_0x6dcf0c[_0x4560be(0x9c)],!_0x5cfa52)return null;_0x5e723d=_0x5cfa52[_0x4560be(0x159)];break;case _0x4560be(0x13b):_0x5e723d=_0x6dcf0c[_0x4560be(0x159)];break;case _0x4560be(0x14a):_0x5e723d=_0x6dcf0c[_0x4560be(0x172)];break;case _0x4560be(0x93):_0x5e723d=_0x6dcf0c[_0x4560be(0xfb)][_0x4560be(0x159)];break;default:return null;}return _0x5e723d[_0x4560be(0x14e)];}[_0x38c565(0x15c)](_0x3d5c14){const _0x12e935=_0x38c565;_0x3d5c14[_0x12e935(0x8c)](_0x2661e7=>{const _0x3b3973=_0x12e935,_0x368bc7=_0x2661e7[_0x3b3973(0x14f)]();_0x368bc7[_0x3b3973(0x185)]=_0x2661e7[_0x3b3973(0x185)],_0x368bc7[_0x3b3973(0xb9)]=!!_0x2661e7[_0x3b3973(0xb9)],_0x368bc7[_0x3b3973(0x166)]=_0x2661e7[_0x3b3973(0x166)],_0x368bc7[_0x3b3973(0x96)]+=this[_0x3b3973(0xd9)],_0x2661e7[_0x3b3973(0x17f)]&&this[_0x3b3973(0x90)][_0x3b3973(0xb5)](_0x368bc7),this[_0x3b3973(0x18b)][_0x3b3973(0x110)](_0x368bc7);});}[_0x38c565(0x133)](_0x1e5887){const _0x463c49=_0x38c565,_0x1e04cb=this[_0x463c49(0x8b)][_0x463c49(0x162)][_0x463c49(0x105)](_0x463c49(0x13d)),_0x584f94=this[_0x463c49(0x8b)][_0x463c49(0xef)];_0x1e5887||(_0x1e5887=_0x456484(_0x584f94,_0x463c49(0x15a))),_0x1e04cb[_0x463c49(0x154)](_0x1e5887,{'title':_0x456484(_0x584f94,_0x463c49(0x86)),'namespace':_0x463c49(0x158)}),this[_0x463c49(0x149)]=!0x0,clearTimeout(this[_0x463c49(0x17e)]),this[_0x463c49(0x123)]=[],this[_0x463c49(0x8b)][_0x463c49(0x162)][_0x463c49(0x105)](_0x2cea5c)[_0x463c49(0xbb)]();}[_0x38c565(0xc5)](){const _0x1299ed=_0x38c565;this[_0x1299ed(0x138)]||(this[_0x1299ed(0x138)]=this[_0x1299ed(0x8b)][_0x1299ed(0x162)][_0x1299ed(0x105)](_0x169182)[_0x1299ed(0xb5)](_0x456484(this[_0x1299ed(0x8b)][_0x1299ed(0xef)],_0x1299ed(0xfa))));}[_0x38c565(0xd5)](){const _0x2dd366=_0x38c565;this[_0x2dd366(0x138)]&&(this[_0x2dd366(0x8b)][_0x2dd366(0x162)][_0x2dd366(0x105)](_0x169182)[_0x2dd366(0x189)](this[_0x2dd366(0x138)]),this[_0x2dd366(0x138)]=null);}[_0x38c565(0x176)](_0x5ad432){const _0x26f67e=_0x38c565,_0x4ddb4f=_0x5ad432[_0x26f67e(0xb4)](_0x5d0ed4=>_0x5d0ed4[_0x26f67e(0x188)]());return this[_0x26f67e(0xaa)][_0x26f67e(0x171)](_0x4ddb4f);}[_0x38c565(0xc9)](_0x5d7604,_0x3d6b2b){const _0x110ced=_0x38c565;return this[_0x110ced(0xaa)][_0x110ced(0xf0)](_0x5d7604)[_0x110ced(0xb4)]((_0x314302,_0x3091b5)=>{const _0x4ad92f=_0x110ced,_0x3445ef=_0x4ad92f(0x139)==_0x3d6b2b[_0x3091b5][_0x4ad92f(0xcd)];if(_0x4ad92f(0xf3)==_0x314302[_0x4ad92f(0x11a)]){const _0x25068c=_0x314302[_0x4ad92f(0x108)][_0x4ad92f(0x159)];!this[_0x4ad92f(0xa6)][_0x4ad92f(0x16a)](_0x25068c)&&(this[_0x4ad92f(0xa6)][_0x4ad92f(0xd6)](_0x4ad92f(0xaf),_0x25068c)[_0x4ad92f(0x135)]=!0x1);}const _0x59d1f4=_0x2cf424[_0x4ad92f(0xab)](_0x314302,this[_0x4ad92f(0xa6)]);return _0x59d1f4[_0x4ad92f(0xa0)]=_0x314302[_0x4ad92f(0xa0)],_0x59d1f4[_0x4ad92f(0xb9)]=_0x3445ef,_0x59d1f4[_0x4ad92f(0x185)]=_0x3445ef?null:_0x3d6b2b[_0x3091b5][_0x4ad92f(0x120)],_0x59d1f4[_0x4ad92f(0x17f)]=_0x4ad92f(0x116)===_0x3d6b2b[_0x3091b5][_0x4ad92f(0xcd)],_0x59d1f4[_0x4ad92f(0x166)]=_0x3d6b2b[_0x3091b5][_0x4ad92f(0x166)],_0x59d1f4;});}[_0x38c565(0x11f)](){const _0x13a534=_0x38c565;this[_0x13a534(0x104)]=!0x0,this[_0x13a534(0xf1)]()?this[_0x13a534(0x153)]():this[_0x13a534(0x104)]=!0x1;}[_0x38c565(0xf1)](){const _0x4d588c=_0x38c565,_0x2d2d31=this[_0x4d588c(0x8b)][_0x4d588c(0x162)][_0x4d588c(0x105)](_0xd26926)[_0x4d588c(0x128)][_0x4d588c(0x105)](this[_0x4d588c(0xec)]);return!this[_0x4d588c(0x8b)][_0x4d588c(0xb1)]&&!!_0x2d2d31&&_0x2d2d31[_0x4d588c(0x12c)]>0x1&&this[_0x4d588c(0x104)];}[_0x38c565(0x10b)](){const _0x5dd315=_0x38c565;return this[_0x5dd315(0x123)][_0x5dd315(0x12c)]>0x0||this[_0x5dd315(0xf1)]();}}export default l;class q extends Error{}function G(_0x566e17,_0x1f8e1f){const _0x594f54=_0x38c565;for(const _0x5cefdf of _0x566e17)_0x5cefdf[_0x594f54(0x96)]=_0x1f8e1f++;}class ${[_0x38c565(0xe6)];[_0x38c565(0xad)];constructor(_0x70b2a9){const _0x14754b=_0x38c565;this[_0x14754b(0xe6)]=_0x70b2a9,this[_0x14754b(0xad)]=new WeakMap();}[_0x38c565(0xe3)](_0x377826){const _0x594add=_0x38c565;let _0x2da273=_0x377826[_0x594add(0x12c)];for(;_0x2da273--;){const _0x7c5ff0=_0x377826[_0x2da273];if(!this[_0x594add(0xe6)][_0x594add(0x146)](_0x7c5ff0)){if(!this[_0x594add(0xad)][_0x594add(0x146)](_0x7c5ff0)){const _0x2e64d7=_0x57dd09()[_0x594add(0x122)](0x1,0x12);this[_0x594add(0xad)][_0x594add(0xdc)](_0x7c5ff0,_0x2e64d7);}return this[_0x594add(0xad)][_0x594add(0x105)](_0x7c5ff0);}}}[_0x38c565(0x174)](_0x4ad867,_0x36d5f8){const _0x5c62a8=_0x38c565;if(!_0x36d5f8)return;let _0x4900b3=_0x4ad867[_0x5c62a8(0x12c)];for(;_0x4900b3--;){const _0x19a63c=_0x4ad867[_0x4900b3];this[_0x5c62a8(0xe6)][_0x5c62a8(0x146)](_0x19a63c)||this[_0x5c62a8(0xad)][_0x5c62a8(0xdc)](_0x19a63c,_0x36d5f8);}}}
23
+ const _0x15edac=_0xe7e4;(function(_0x229f34,_0x167996){const _0x402535=_0xe7e4,_0x3d45df=_0x229f34();while(!![]){try{const _0x533a05=-parseInt(_0x402535(0x132))/0x1*(-parseInt(_0x402535(0xb8))/0x2)+parseInt(_0x402535(0x17f))/0x3*(parseInt(_0x402535(0xb0))/0x4)+-parseInt(_0x402535(0xa1))/0x5+parseInt(_0x402535(0xe4))/0x6*(-parseInt(_0x402535(0xa0))/0x7)+-parseInt(_0x402535(0x197))/0x8+parseInt(_0x402535(0x159))/0x9+parseInt(_0x402535(0x18e))/0xa;if(_0x533a05===_0x167996)break;else _0x3d45df['push'](_0x3d45df['shift']());}catch(_0x4dee1a){_0x3d45df['push'](_0x3d45df['shift']());}}}(_0x576e,0x3eb27));import{Plugin as _0x2dc5f9,PendingActions as _0x5385fe}from'ckeditor5/src/core.js';import{CKEditorError as _0x504165,version as _0xa50965,uid as _0x4daf72}from'ckeditor5/src/utils.js';import{Notification as _0x10dfbd}from'ckeditor5/src/ui.js';import{transformSets as _0x18b2ab,NoOperation as _0x2216ad,InsertOperation as _0x2774b7,MarkerOperation as _0x3b6af6,RootAttributeOperation as _0x4bb4a8,OperationFactory as _0x2bd410,History as _0x245938}from'ckeditor5/src/engine.js';import _0x358068 from'./websocketgateway.js';import _0x86a740 from'./sessions.js';import _0x15bec4 from'./usermarkers.js';import{getTranslation as _0xb5119}from'../common-translations.js';import{Compressor as _0x1f44ea}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x268578}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x576e(){const _0xc5a969=['high','markers','isReadOnly','realtimecollaborationclient-handleserverresponse','realtimecollaborationclient-sendbufferedoperations','cs:removeUser','_operationToId','_initSessionsHandling','sendOperations','fire','lastDocumentSession','getConnectedSessions','_isAttached','requires','catch','_crash','_connectService','_currentBufferDelay','_handleReconnectionError','409','rootName','_handleReconnectionResponse','_saveOperationInBuffer','toJSON','push','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','Notification','RealTimeCollaborationClient','_setUpDataInit','779118LPXEqR','_disconnectionOperations','_operationIdentifier','model','define','_isLoaded','_shouldSendSelectionUpdate','_knownRootNames','fromJSON','lastOperationAcceptedAt','state','batch','length','_sendBufferedOperationsDelayed','_hasSelectionChanged','destroy','initData','addToReconnectionStack','from','map','_clearPendingAction','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.','realtimecollaborationclient-init-document-already-initialized','disableReadOnlyMode','change:hasDomSelection','directChange','isOfficialPlugin','parse','rtc-destroyed','_baseBufferDelay','clone','disconnect','createPositionAt','addRoot','set','locale','_isEditingAllowed','createdAt','remove','compress','_loadRoot','enableReadOnlyMode','position','wasUndone','_handleSendingSelectionMarkers','cloudDocumentVersion','_lastSyncedOperationId','_isPendingUpdate','change:range','realtimecollaborationclient-error','removeFromReconnectionStack','_compressor','document','baseVersion','stopListening','lastOperationId','__className','createPositionFromPath','wereChangesApplied','code','createRange','collaboration.channelId','cloudServices.bundleVersion','_bufferRootLoad','cloud-services-internal-error:\x20Not\x20connected.','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','pluginName','_handleReceivedOperations','_knownOperations','addRootAttribute','getIdOfTheLastOperation','getOperations','marker','suppressErrorInCollaboration','reset','applyOperation','addUser','isDocumentOperation','31IHhxyh','path','document:write','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','keys','collaboration-missing-channelid','collaboration','404','_initThrowingOnDataSet','_document','editing','change:_isEditingAllowed','init','userId','realtimecollaborationclient-init-service-incorrect-server-operation','isUndoneOperation','stop','decompress','_bufferedOperations','get','_addKnownRoot','isPremiumPlugin','getOperationAuthor','attributes','return','connection','operationsReceived','getUser','PENDING_ACTION_SENDING_DATA','loadRoot','_ignoredOperations','has','startsWith','then','_isConnected','unregister','_isInit','size','_decompressOperations','4445829ebVdCz','_disconnectService','realtimecollaborationclient-init-session-connection-error','getDocumentDetails','end','plugins','CollaborativeEditingService','Permissions','showWarning','add','bind','_isDisconnection','InsertOperation','off','_authorId','_offset','realtimecollaborationclient-init-non-existent-root','rtc-offline','editor','string','Synchronization\x20issue','_getOperationsFromInitData','_connectAfterSessionHasBeenFlushed','entries','slice','selection','finally','_hasSynchronizationProblem','sessionCreatedAt','filter','realtimecollaborationclient-init-connection-failed','$root','isEnabled','createUserMarkerOperations','_compressOperations','offset','channelSessions','differ','1063032TbSFwB','_fetchMissingUsers','_applyOperationsSet','affectedSelectable','rootsAttributes','sessionAdd:','reconnection:\x20flushed\x20session','root','setIdForTheLastOperation','metadata','roots','enqueueChange','realtimecollaborationclient','message','_pendingAction','5017090DAagkC','move','createRoot','lastSyncVersion','_refreshUserSelectionMarkers','_handleServerResponse','_handleExternalOperations','config','cloud-services-internal-error:\x20Request\x20timeout.','3553432THSZKz','_handleInitialConnectionData','_sendBufferedOperationsDelayId','_getAffectedRoot','data','_lastServerVersion','affectsData','listenTo','type','multi-root-editor-root-attributes-no-root','_channelId','view','register','permissions','change:_isPendingUpdate','21iONdYd','2228995mHnBBa','setPermissions','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','includes','_sendBufferedOperations','version','ready','real-time-collaboration','apply','_updateServerHistory','reconnect','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','sessionId','mySessionId','newRange','4tMhzOe','forEach','connect','targetPosition','error','start','insert','serverHistory','12020kQejMu','getRoot','round','disconnected','_waitUntilSynced','realtimecollaborationclient-init-service-internal-error','getMany','connected','history','_shouldSendUpdate','addOperation','currentDocumentSession','CommentsOnly','_service'];_0x576e=function(){return _0xc5a969;};return _0x576e();}import{User as _0x301412,CollaborativeEditingService as _0x454669}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let M=0x1;class l extends _0x2dc5f9{static [_0x15edac(0x15f)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x454669)());[_0x15edac(0x168)];[_0x15edac(0xad)];[_0x15edac(0xb7)];[_0x15edac(0x9b)];[_0x15edac(0xc5)];[_0x15edac(0x13b)];[_0x15edac(0x117)];[_0x15edac(0x144)];[_0x15edac(0x128)];[_0x15edac(0xeb)];[_0x15edac(0x18d)];[_0x15edac(0xf2)];[_0x15edac(0x199)];[_0x15edac(0x101)];[_0x15edac(0xd7)];[_0x15edac(0x112)];[_0x15edac(0xe5)];[_0x15edac(0xe6)];static get[_0x15edac(0xd3)](){return[_0x358068,_0x86a740,_0x15bec4,_0x5385fe,_0x268578,_0x10dfbd];}static get[_0x15edac(0x126)](){const _0x1116c5=_0x15edac;return _0x1116c5(0xe2);}static get[_0x15edac(0xfe)](){return!0x0;}static get[_0x15edac(0x147)](){return!0x0;}get[_0x15edac(0x111)](){const _0x4e8537=_0x15edac;return this[_0x4e8537(0x19c)]+this[_0x4e8537(0x168)];}get[_0x15edac(0x19c)](){const _0x472105=_0x15edac;return this[_0x472105(0xb7)][_0x472105(0xa6)]-this[_0x472105(0x168)];}get[_0x15edac(0x191)](){const _0x980961=_0x15edac,_0x5b784a=this[_0x980961(0xb7)][_0x980961(0x12b)]();for(let _0xe38396=_0x5b784a[_0x980961(0xf0)]-0x1;_0xe38396>=0x0;_0xe38396--){const _0x317a99=_0x5b784a[_0xe38396];if(!this[_0x980961(0xe5)][_0x980961(0x151)](_0x317a99))return _0x317a99[_0x980961(0x119)]+0x1-this[_0x980961(0x168)];}return 0x0;}constructor(_0x4c5ae7){const _0x5c8185=_0x15edac;if(super(_0x4c5ae7),this[_0x5c8185(0x168)]=0x0,this[_0x5c8185(0xad)]=null,this[_0x5c8185(0xb7)]=new _0x245938(),this[_0x5c8185(0x16b)][_0x5c8185(0x195)][_0x5c8185(0xe8)](_0x5c8185(0x138),{}),this[_0x5c8185(0x9b)]=this[_0x5c8185(0x16b)][_0x5c8185(0x195)][_0x5c8185(0x145)](_0x5c8185(0x121)),!this[_0x5c8185(0x9b)])throw new _0x504165(_0x5c8185(0x137),this);const _0x46f543=_0x4c5ae7[_0x5c8185(0x195)][_0x5c8185(0x145)](_0x5c8185(0x122))||_0xa50965;this[_0x5c8185(0xc5)]=new l[(_0x5c8185(0x15f))](_0x46f543,this[_0x5c8185(0x9b)]),this[_0x5c8185(0x13b)]=this[_0x5c8185(0x16b)][_0x5c8185(0xe7)][_0x5c8185(0x118)],this[_0x5c8185(0x117)]=new _0x1f44ea(),this[_0x5c8185(0x144)]=[],this[_0x5c8185(0x128)]=new WeakSet(),this[_0x5c8185(0xeb)]=new Set(),this[_0x5c8185(0x106)](_0x5c8185(0x113),!0x1),this[_0x5c8185(0x106)](_0x5c8185(0x174),!0x1),this[_0x5c8185(0x18d)]=null,this[_0x5c8185(0xf2)]=!0x1,this[_0x5c8185(0x199)]=null,this[_0x5c8185(0x101)]=0x12c,this[_0x5c8185(0xd7)]=this[_0x5c8185(0x101)],this[_0x5c8185(0x112)]=null,this[_0x5c8185(0xe5)]=new WeakSet(),this[_0x5c8185(0xe6)]=new V(this[_0x5c8185(0xe5)]);}[_0x15edac(0x13e)](){const _0x1740ad=_0x15edac,_0x43ae98=this[_0x1740ad(0x16b)],_0x16db82=_0x43ae98[_0x1740ad(0x15e)][_0x1740ad(0x145)](_0x268578),_0x4e2414=_0x43ae98[_0x1740ad(0x15e)][_0x1740ad(0x145)](_0x358068);this[_0x1740ad(0x98)](_0x16db82,_0x1740ad(0x148),(_0x49174c,_0x1347f0)=>{const _0x4466de=_0x1740ad,_0xed7aa3=_0x1347f0[0x0];_0xed7aa3[_0x4466de(0x167)]&&(_0x49174c[_0x4466de(0x14a)]=_0x16db82[_0x4466de(0x14d)](_0xed7aa3[_0x4466de(0x167)]),_0x49174c[_0x4466de(0x142)]()),null===_0xed7aa3[_0x4466de(0x167)]&&(_0x49174c[_0x4466de(0x14a)]=null,_0x49174c[_0x4466de(0x142)]());},{'priority':_0x1740ad(0xc6)}),this[_0x1740ad(0x98)](_0x43ae98[_0x1740ad(0xe7)][_0x1740ad(0x118)][_0x1740ad(0x172)],_0x1740ad(0x114),(_0x4e04c4,_0x35bc1b)=>{const _0x5c5bcb=_0x1740ad;_0x35bc1b[_0x5c5bcb(0xfd)]&&this[_0x5c5bcb(0x192)]();}),this[_0x1740ad(0x98)](_0x43ae98[_0x1740ad(0x13c)][_0x1740ad(0x9c)],_0x1740ad(0xfc),()=>{const _0x42ad13=_0x1740ad;this[_0x42ad13(0x192)]();}),this[_0x1740ad(0x13a)](),_0x43ae98[_0x1740ad(0xe7)]['on'](_0x1740ad(0x12f),(_0x14a65a,_0xfcc804)=>{const _0x164bb4=_0x1740ad,_0x577b01=_0xfcc804[0x0];_0x577b01[_0x164bb4(0x131)]&&(this[_0x164bb4(0xdc)](_0x577b01),this[_0x164bb4(0xc1)]()&&this[_0x164bb4(0xf1)]());}),this[_0x1740ad(0xe3)](),this[_0x1740ad(0x163)](_0x1740ad(0x108))['to'](_0x4e2414,_0x1740ad(0xee),this,_0x1740ad(0x174),(_0x217f15,_0x12f3a0)=>_0x1740ad(0xbf)===_0x217f15&&!_0x12f3a0),this['on'](_0x1740ad(0x13d),()=>{const _0x1074cd=_0x1740ad;this[_0x1074cd(0x108)]?_0x43ae98[_0x1074cd(0xfb)](_0x1074cd(0x16a)):_0x43ae98[_0x1074cd(0x10d)](_0x1074cd(0x16a));}),this[_0x1740ad(0x108)]?_0x43ae98[_0x1740ad(0xfb)](_0x1740ad(0x16a)):_0x43ae98[_0x1740ad(0x10d)](_0x1740ad(0x16a)),this[_0x1740ad(0x106)](_0x1740ad(0x154),!0x1);}async[_0x15edac(0xab)](){const _0x5841b8=_0x15edac,_0xf76a7a=this[_0x5841b8(0x16b)][_0x5841b8(0x15e)][_0x5841b8(0x145)](_0x86a740),_0xc21f78=this[_0x5841b8(0x16b)][_0x5841b8(0x15e)][_0x5841b8(0x145)](_0x358068);try{this[_0x5841b8(0x113)]=!0x0,_0xf76a7a[_0x5841b8(0x155)](this[_0x5841b8(0x9b)]);const _0x48cc66=await this[_0x5841b8(0xc5)][_0x5841b8(0xab)](_0xc21f78[_0x5841b8(0x14b)],this[_0x5841b8(0x191)]);await this[_0x5841b8(0xdb)](_0x48cc66)&&(this[_0x5841b8(0x113)]=!0x1,this[_0x5841b8(0xf8)]());const _0x993286=await this[_0x5841b8(0xc5)][_0x5841b8(0xd1)]();_0xf76a7a[_0x5841b8(0x9d)](this[_0x5841b8(0x9b)],_0x993286),this[_0x5841b8(0x110)](),this[_0x5841b8(0x154)]=!0x0;}catch(_0x18de9b){if(function(_0x1e004f){const _0x349199=_0x5841b8;return _0x349199(0x139)===_0x1e004f[_0x349199(0x11f)];}(_0x18de9b)&&this[_0x5841b8(0xad)])await this[_0x5841b8(0x16f)]();else{if(function(_0x2a5ecc){const _0x1c8c9c=_0x5841b8;return _0x1c8c9c(0xd9)===_0x2a5ecc[_0x1c8c9c(0x11f)];}(_0x18de9b)){const _0x2459cf=_0xb5119(this[_0x5841b8(0x16b)][_0x5841b8(0x107)],_0x5841b8(0x125));this[_0x5841b8(0xd8)](_0x2459cf);}else{if(!(_0x18de9b instanceof z))throw _0x18de9b;this[_0x5841b8(0xd8)]();}}}}[_0x15edac(0xf3)](){const _0x1d3fe7=_0x15edac,_0x1ec37f=this[_0x1d3fe7(0x16b)][_0x1d3fe7(0x15e)][_0x1d3fe7(0x145)](_0x358068),_0x41091c=this[_0x1d3fe7(0x16b)][_0x1d3fe7(0x15e)][_0x1d3fe7(0x145)](_0x86a740);this[_0x1d3fe7(0x16b)][_0x1d3fe7(0x10d)](_0x1d3fe7(0x100)),_0x41091c[_0x1d3fe7(0x17d)][_0x1d3fe7(0x151)](this[_0x1d3fe7(0x9b)])&&_0x41091c[_0x1d3fe7(0x155)](this[_0x1d3fe7(0x9b)]),_0x1ec37f[_0x1d3fe7(0x116)](this),this[_0x1d3fe7(0x15a)](),super[_0x1d3fe7(0xf3)]();}async[_0x15edac(0xdb)](_0x5776d5){const _0x19a70b=_0x15edac;if(this[_0x19a70b(0xad)]!==_0x5776d5[_0x19a70b(0xad)]&&this[_0x19a70b(0x112)]!==_0x5776d5[_0x19a70b(0x11b)])throw new z();return this[_0x19a70b(0xad)]=_0x5776d5[_0x19a70b(0xad)],this[_0x19a70b(0x193)]([],{..._0x5776d5,'wereChangesApplied':!0x1,'data':_0x5776d5[_0x19a70b(0x19b)]},_0x19a70b(0xab));}async[_0x15edac(0xd6)](_0x53a801,_0xf20ff0=!0x1){const _0x422139=_0x15edac,{connection:_0x433f8b}=this[_0x422139(0x16b)][_0x422139(0x15e)][_0x422139(0x145)](_0x358068);l[_0x422139(0x15f)][_0x422139(0xd1)](_0x433f8b,this[_0x422139(0x9b)])[_0x422139(0x153)](_0x48b577=>this[_0x422139(0xcd)](_0x48b577))[_0x422139(0xd4)](_0xc0cff8=>{const _0x24692a=_0x422139;this[_0x24692a(0xd5)](_0x24692a(0x15b),_0xc0cff8);}),this[_0x422139(0x98)](this[_0x422139(0xc5)],_0x422139(0x14c),this[_0x422139(0x127)][_0x422139(0x163)](this)),this[_0x422139(0x98)](this[_0x422139(0xc5)],_0x422139(0xb4),(_0x58a0c4,_0x531457)=>{const _0x4c7fa4=_0x422139;this[_0x4c7fa4(0xd5)](_0x4c7fa4(0xbd),_0x531457);}),this[_0x422139(0x98)](this[_0x422139(0xc5)],_0x422139(0xbb),()=>{const _0xa33629=_0x422139;this[_0xa33629(0x154)]=!0x1;});const _0x182413=this[_0x422139(0xe6)][_0x422139(0x12a)](_0x53a801);this[_0x422139(0x113)]=!0x0;const _0x40625f=await this[_0x422139(0xc5)][_0x422139(0xb2)](_0x433f8b,this[_0x422139(0x17b)](_0x53a801),_0x182413);if(this[_0x422139(0xad)]=_0x40625f[_0x422139(0xad)],_0xf20ff0){if(!_0x40625f[_0x422139(0x11e)])return void this[_0x422139(0xd8)]();this[_0x422139(0x113)]=!0x1,this[_0x422139(0xf8)](),this[_0x422139(0xb7)][_0x422139(0x12e)](),this[_0x422139(0x168)]=_0x40625f[_0x422139(0x17c)],this[_0x422139(0xb7)][_0x422139(0xa6)]=this[_0x422139(0x168)],await this[_0x422139(0x193)](_0x53a801,_0x40625f,_0x422139(0x185));}else await this[_0x422139(0x198)](_0x40625f,_0x53a801);this[_0x422139(0x110)](),this[_0x422139(0x154)]=!0x0;}[_0x15edac(0x110)](){const _0x28b633=_0x15edac,_0x463dc0=this[_0x28b633(0x16b)][_0x28b633(0x15e)][_0x28b633(0x145)](_0x86a740),_0x1b7771=this[_0x28b633(0x16b)][_0x28b633(0x15e)][_0x28b633(0x145)](_0x15bec4),_0x510610=_0x463dc0[_0x28b633(0x17d)][_0x28b633(0x145)](this[_0x28b633(0x9b)]);_0x510610&&_0x510610[_0x28b633(0xf0)]>0x1?_0x1b7771[_0x28b633(0x17a)]():this[_0x28b633(0x98)](_0x463dc0,_0x28b633(0x184)+this[_0x28b633(0x9b)],()=>{const _0x38ee1d=_0x28b633;0x2===_0x463dc0[_0x38ee1d(0x17d)][_0x38ee1d(0x145)](this[_0x38ee1d(0x9b)])[_0x38ee1d(0xf0)]&&_0x1b7771[_0x38ee1d(0x17a)]();});}async[_0x15edac(0x127)](_0x3b6c51,_0x24daa4,_0x53f151,_0x1318b7){const _0x3ca5d5=_0x15edac;if(!this[_0x3ca5d5(0x113)]&&this[_0x3ca5d5(0x13b)][_0x3ca5d5(0xa6)]==_0x24daa4){const _0x15ce1d=this[_0x3ca5d5(0x158)](_0x53f151,_0x1318b7);await this[_0x3ca5d5(0x180)](_0x15ce1d),this[_0x3ca5d5(0x194)](_0x15ce1d,_0x24daa4,_0x53f151[_0x3ca5d5(0x11b)])||this[_0x3ca5d5(0xd5)](_0x3ca5d5(0x140));}}async[_0x15edac(0x16f)](){const _0x3ab890=_0x15edac;this[_0x3ab890(0x15a)]();const {locale:_0x2e2103}=this[_0x3ab890(0x16b)];let _0x667d5f;try{_0x667d5f=await this[_0x3ab890(0xc5)][_0x3ab890(0x15c)]();}catch{const _0x425345=_0xb5119(_0x2e2103,_0x3ab890(0x135));return void this[_0x3ab890(0xd8)](_0x425345);}const _0x406c8a=_0x667d5f[_0x3ab890(0xc3)]||_0x667d5f[_0x3ab890(0xd0)];if(this[_0x3ab890(0x112)]===_0x406c8a[_0x3ab890(0x11b)])await this[_0x3ab890(0xd6)](this[_0x3ab890(0x16b)][_0x3ab890(0xe7)][_0x3ab890(0x118)][_0x3ab890(0xc0)][_0x3ab890(0x12b)](),!0x0);else{const _0x37b34f=_0xb5119(_0x2e2103,_0x3ab890(0xdf));this[_0x3ab890(0xd8)](_0x37b34f);}}[_0x15edac(0x15a)](){const _0x58a0f2=_0x15edac;this[_0x58a0f2(0xc5)][_0x58a0f2(0x103)](),this[_0x58a0f2(0x144)]=[],clearTimeout(this[_0x58a0f2(0x199)]),this[_0x58a0f2(0x11a)](this[_0x58a0f2(0xc5)]);}[_0x15edac(0xcd)](_0x226ad5){const _0x53a393=_0x15edac,_0x5cc8a1=this[_0x53a393(0x16b)][_0x53a393(0x15e)][_0x53a393(0x145)](_0x86a740);this[_0x53a393(0x98)](_0x5cc8a1,_0x53a393(0x184)+this[_0x53a393(0x9b)],(_0x4e654d,{session:_0xad4663})=>{const _0x3c3a89=_0x53a393;if(_0xad4663['id']===_0x5cc8a1[_0x3c3a89(0xae)]){_0x4e654d[_0x3c3a89(0x166)]();const _0x34bed9=this[_0x3c3a89(0x16b)][_0x3c3a89(0x15e)][_0x3c3a89(0x151)](_0x3c3a89(0xc4))&&this[_0x3c3a89(0x16b)][_0x3c3a89(0x15e)][_0x3c3a89(0x145)](_0x3c3a89(0xc4));let _0x39227f=_0xad4663[_0x3c3a89(0x9e)];_0x34bed9&&_0x34bed9[_0x3c3a89(0x179)]&&(_0x39227f=_0x39227f[_0x3c3a89(0x176)](_0x5d76e0=>_0x3c3a89(0x134)!==_0x5d76e0)),this[_0x3c3a89(0x16b)][_0x3c3a89(0x15e)][_0x3c3a89(0x145)](_0x3c3a89(0x160))[_0x3c3a89(0xa2)](_0x39227f,this[_0x3c3a89(0x9b)]);}}),_0x5cc8a1[_0x53a393(0x9d)](this[_0x53a393(0x9b)],_0x226ad5);}[_0x15edac(0x13a)](){const _0x5d25fd=_0x15edac,_0x3d575b=this[_0x5d25fd(0x16b)][_0x5d25fd(0x19b)][_0x5d25fd(0x106)];this[_0x5d25fd(0x16b)][_0x5d25fd(0x19b)][_0x5d25fd(0x106)]=(..._0x380f80)=>{const _0x4195ed=_0x5d25fd;if(!_0x380f80[_0x380f80[_0x4195ed(0xf0)]-0x1][_0x4195ed(0x12d)])throw new _0x504165(_0x4195ed(0xa3),this);_0x3d575b[_0x4195ed(0xa9)](this[_0x4195ed(0x16b)][_0x4195ed(0x19b)],_0x380f80);};}[_0x15edac(0xe3)](){const _0x56d8b2=_0x15edac;this[_0x56d8b2(0x16b)][_0x56d8b2(0x19b)]['on'](_0x56d8b2(0x13e),(_0x44caac,[_0x1ac2df])=>{const _0x469ea5=_0x56d8b2;if(this[_0x469ea5(0x13b)][_0x469ea5(0xa6)])throw new _0x504165(_0x469ea5(0xfa),this);_0x44caac[_0x469ea5(0x142)](),this[_0x469ea5(0xe0)]();const _0x447f88=this[_0x469ea5(0x16b)][_0x469ea5(0x195)][_0x469ea5(0x145)](_0x469ea5(0x183)),_0x4596d9=this[_0x469ea5(0x16e)](_0x1ac2df,_0x447f88);0x0==_0x4596d9[_0x469ea5(0xf0)]&&_0x4596d9[_0x469ea5(0xde)](new _0x2216ad(0x0)),_0x44caac[_0x469ea5(0x14a)]=this[_0x469ea5(0xd6)](_0x4596d9)[_0x469ea5(0x153)](()=>{const _0x8060f9=_0x469ea5;this[_0x8060f9(0x16b)][_0x8060f9(0x15e)][_0x8060f9(0x145)](_0x358068)[_0x8060f9(0xf5)](this),this[_0x8060f9(0x16b)][_0x8060f9(0x19b)][_0x8060f9(0xcf)](_0x8060f9(0xa7));})[_0x469ea5(0xd4)](_0x5a2479=>this[_0x469ea5(0xd5)](_0x469ea5(0x177),_0x5a2479))[_0x469ea5(0x173)](()=>this[_0x469ea5(0xf8)]());},{'priority':_0x56d8b2(0xc6)}),this[_0x56d8b2(0x16b)]['on'](_0x56d8b2(0x14f),async(_0x2a9ff2,[_0x40acca,_0x5d03cf])=>{const _0x263917=_0x56d8b2;_0x2a9ff2[_0x263917(0x142)]();const _0x81cc57=this[_0x263917(0x16b)][_0x263917(0xe7)][_0x263917(0x118)][_0x263917(0xb9)](_0x40acca);if(!this[_0x263917(0xeb)][_0x263917(0x151)](_0x40acca)){const _0x262ca1=_0x5d03cf&&_0x5d03cf[_0x263917(0x19b)]?_0x5d03cf[_0x263917(0x19b)]:'',_0xba92bc=_0x5d03cf&&_0x5d03cf[_0x263917(0x149)]?_0x5d03cf[_0x263917(0x149)]:{};await this[_0x263917(0x10c)](_0x40acca,_0x262ca1,_0xba92bc);}this[_0x263917(0x16b)][_0x263917(0xe7)][_0x263917(0x18a)]({'isUndoable':!0x1},()=>{const _0x5f23bf=_0x263917;_0x81cc57[_0x5f23bf(0xe9)]=!0x0,this[_0x5f23bf(0x16b)][_0x5f23bf(0xe7)][_0x5f23bf(0x118)][_0x5f23bf(0x17e)][_0x5f23bf(0x123)](_0x81cc57);});},{'priority':_0x56d8b2(0xc6)});}async[_0x15edac(0x180)](_0x51087a){const _0x1ef931=_0x15edac,_0x1452bf=this[_0x1ef931(0x16b)][_0x1ef931(0x15e)][_0x1ef931(0x145)](_0x268578),{connection:_0x135618}=this[_0x1ef931(0x16b)][_0x1ef931(0x15e)][_0x1ef931(0x145)](_0x358068),_0x2c1918=new Set();for(const _0x468b28 of _0x51087a){const _0x35b199=_0x468b28[_0x1ef931(0x167)];_0x35b199&&!_0x1452bf[_0x1ef931(0x14d)](_0x35b199)&&_0x2c1918[_0x1ef931(0x162)](_0x35b199);}if(0x0===_0x2c1918[_0x1ef931(0x157)])return;const _0x4985dc=await _0x301412[_0x1ef931(0xbe)](_0x135618,Array[_0x1ef931(0xf6)](_0x2c1918));for(const _0x2ae47f of _0x4985dc)_0x1452bf[_0x1ef931(0x14d)](_0x2ae47f['id'])||_0x1452bf[_0x1ef931(0x130)](_0x2ae47f);}[_0x15edac(0x16e)](_0x4ee1e6,_0x51041c={}){const _0x92d694=_0x15edac,_0x12885c=this[_0x92d694(0x16b)][_0x92d694(0xe7)],_0x40aea5=[];let _0x3dc03c=0x0;const _0x4b15d1=_0x92d694(0x16c)==typeof _0x4ee1e6?{'main':_0x4ee1e6}:_0x4ee1e6;for(const _0x56c485 of Object[_0x92d694(0x136)](_0x4b15d1)){if(!this[_0x92d694(0x13b)][_0x92d694(0x189)][_0x92d694(0x151)](_0x56c485))throw new _0x504165(_0x92d694(0x169),this);const _0x3d6f02=this[_0x92d694(0x16b)][_0x92d694(0x19b)][_0x92d694(0xff)](_0x4b15d1[_0x56c485]),_0x22b666=this[_0x92d694(0x13b)][_0x92d694(0xb9)](_0x56c485),_0x430135=new _0x2774b7(_0x12885c[_0x92d694(0x104)](_0x22b666,0x0),_0x3d6f02,_0x3dc03c++);_0x40aea5[_0x92d694(0xde)](_0x430135);for(const [_0x383964,_0x335ad5]of _0x3d6f02[_0x92d694(0xc7)]){const _0x251efe=_0x12885c[_0x92d694(0x120)](_0x12885c[_0x92d694(0x11d)](_0x22b666,_0x335ad5[_0x92d694(0xb5)][_0x92d694(0x133)][_0x92d694(0x171)]()),_0x12885c[_0x92d694(0x11d)](_0x22b666,_0x335ad5[_0x92d694(0x15d)][_0x92d694(0x133)][_0x92d694(0x171)]())),_0x3f369f=new _0x3b6af6(_0x383964,null,_0x251efe,_0x12885c[_0x92d694(0xc7)],!0x0,_0x3dc03c++);_0x40aea5[_0x92d694(0xde)](_0x3f369f);}}if(_0x51041c)for(const [_0x4b169f,_0x123c8e]of Object[_0x92d694(0x170)](_0x51041c)){const _0x13b530=_0x12885c[_0x92d694(0x118)][_0x92d694(0xb9)](_0x4b169f);if(!_0x13b530)throw new _0x504165(_0x92d694(0x9a),null);for(const [_0x49ce1a,_0x297260]of Object[_0x92d694(0x170)](_0x123c8e))if(null!==_0x297260){const _0xd19e39=new _0x4bb4a8(_0x13b530,_0x49ce1a,null,_0x297260,_0x3dc03c++);_0x40aea5[_0x92d694(0xde)](_0xd19e39);}}return _0x40aea5;}async[_0x15edac(0x10c)](_0x196ebf,_0x576c31,_0x4cf8a6){const _0x450089=_0x15edac;this[_0x450089(0x16e)]({[_0x196ebf]:_0x576c31},{[_0x196ebf]:_0x4cf8a6})[_0x450089(0xb1)]((_0x54c6d7,_0x4573c8)=>{const _0x40a91a=_0x450089;_0x54c6d7[_0x40a91a(0x119)]=this[_0x40a91a(0x13b)][_0x40a91a(0xa6)]+_0x4573c8,_0x54c6d7[_0x40a91a(0x156)]=!0x0,this[_0x40a91a(0xdc)](_0x54c6d7);}),this[_0x450089(0xf1)](),await this[_0x450089(0xbc)]();}async[_0x15edac(0x198)](_0x1a0513,_0x1be1b4){const _0x162844=_0x15edac;let _0x588637;this[_0x162844(0x168)]=_0x1a0513[_0x162844(0x17c)];const _0x4cfde7=_0x1a0513[_0x162844(0x11e)]&&!_0x1a0513[_0x162844(0xf4)],_0x472d8b=_0x4cfde7?0x0:_0x1a0513[_0x162844(0x19b)][_0x162844(0x119)];if(_0x1be1b4[_0x162844(0xb1)](_0x4703fd=>{const _0x1b7b8e=_0x162844;_0x4703fd[_0x1b7b8e(0x156)]=!0x0,_0x4703fd[_0x1b7b8e(0x109)]=_0x1a0513[_0x1b7b8e(0x175)],_0x4703fd[_0x1b7b8e(0x167)]=null;}),_0x4cfde7)_0x588637=_0x1be1b4,this[_0x162844(0x181)](_0x588637,_0x4cfde7);else{if(_0x1a0513[_0x162844(0xf4)]){const _0x512e7b=this[_0x162844(0x16e)](_0x1a0513[_0x162844(0xf4)]);this[_0x162844(0x13b)][_0x162844(0xc0)][_0x162844(0xa6)]=-_0x512e7b[_0x162844(0xf0)],_0x512e7b[_0x162844(0xb1)](_0xfdf80f=>{const _0x8ac0c8=_0x162844;_0xfdf80f[_0x8ac0c8(0x119)]-=_0x512e7b[_0x8ac0c8(0xf0)],_0xfdf80f[_0x8ac0c8(0x109)]=_0x1a0513[_0x8ac0c8(0x175)],_0xfdf80f[_0x8ac0c8(0x156)]=!0x0,_0xfdf80f[_0x8ac0c8(0x167)]=null;}),this[_0x162844(0x181)](_0x512e7b,!0x0),this[_0x162844(0xb7)][_0x162844(0xa6)]=-_0x512e7b[_0x162844(0xf0)]+this[_0x162844(0x168)],this[_0x162844(0xaa)](_0x512e7b);}this[_0x162844(0x13b)][_0x162844(0xc0)][_0x162844(0xa6)]=_0x472d8b,_0x588637=this[_0x162844(0x158)](_0x1a0513[_0x162844(0x19b)],_0x1a0513[_0x162844(0x188)]),await this[_0x162844(0x180)](_0x588637),this[_0x162844(0x181)](_0x588637,_0x4cfde7);}_0x1a0513[_0x162844(0x11b)]&&(this[_0x162844(0xe6)][_0x162844(0x187)](_0x588637,_0x1a0513[_0x162844(0x11b)]),this[_0x162844(0x112)]=_0x1a0513[_0x162844(0x11b)]),this[_0x162844(0xb7)][_0x162844(0xa6)]=_0x472d8b+this[_0x162844(0x168)],this[_0x162844(0xaa)](_0x588637),_0x1be1b4[_0x162844(0x176)](_0x3d5b4c=>{const _0x3e10f6=_0x162844,_0x4fe508=this[_0x3e10f6(0x19a)](_0x3d5b4c);return _0x4fe508&&!this[_0x3e10f6(0xeb)][_0x3e10f6(0x151)](_0x4fe508);})[_0x162844(0xb1)]((_0x494afe,_0x2ffc47)=>{const _0x36c83a=_0x162844;_0x494afe[_0x36c83a(0x119)]=this[_0x36c83a(0x13b)][_0x36c83a(0xa6)]+_0x2ffc47,this[_0x36c83a(0xdc)](_0x494afe);}),this[_0x162844(0xc1)]()?(this[_0x162844(0xd7)]=0x0,this[_0x162844(0xf1)](!0x0),await this[_0x162844(0xbc)]()):(this[_0x162844(0x113)]=!0x1,this[_0x162844(0xf8)]());}[_0x15edac(0xd5)](_0x2778d2,_0x5071cd){const _0x5f482a=_0x15edac,_0x5a0601=_0x5071cd&&_0x5071cd[_0x5f482a(0x18c)];if(_0x5a0601&&_0x5a0601[_0x5f482a(0x152)](_0x5f482a(0x18b)))throw _0x5071cd;const _0x405683=this[_0x5f482a(0x16b)][_0x5f482a(0x15e)][_0x5f482a(0x145)](_0x358068);throw this[_0x5f482a(0x113)]=!0x0,_0x405683[_0x5f482a(0x103)](),this[_0x5f482a(0x16b)][_0x5f482a(0x10d)](_0x5f482a(0x115)),new _0x504165(_0x2778d2,this[_0x5f482a(0x16b)],_0x5a0601?{'originalError':_0x5a0601}:void 0x0);}[_0x15edac(0xdc)](_0x42b3f9){const _0x47afaf=_0x15edac;this[_0x47afaf(0x128)][_0x47afaf(0x151)](_0x42b3f9)||(this[_0x47afaf(0x128)][_0x47afaf(0x162)](_0x42b3f9),this[_0x47afaf(0x144)][_0x47afaf(0xde)](_0x42b3f9),this[_0x47afaf(0x18d)]||_0x47afaf(0x12c)==_0x42b3f9[_0x47afaf(0x99)]&&!_0x42b3f9[_0x47afaf(0x97)]||this[_0x47afaf(0xe0)]());}[_0x15edac(0xf1)](_0x474030=!0x1){const _0xff99fe=_0x15edac;!_0x474030&&this[_0xff99fe(0x113)]||(this[_0xff99fe(0x113)]=!0x0,clearTimeout(this[_0xff99fe(0x199)]),this[_0xff99fe(0x199)]=setTimeout(()=>{const _0x3bad9c=_0xff99fe;this[_0x3bad9c(0xa5)]()[_0x3bad9c(0x153)](_0xce8dd9=>{const _0x15f742=_0x3bad9c;_0xce8dd9&&(this[_0x15f742(0xf8)](),this[_0x15f742(0x113)]=!0x1);})[_0x3bad9c(0xd4)](_0xccb62b=>{const _0x21996e=_0x3bad9c;this[_0x21996e(0xf8)](),this[_0x21996e(0x113)]=!0x1,function(_0x33c8ed){const _0x3d63a1=_0x21996e;return _0x33c8ed[_0x3d63a1(0x18c)][_0x3d63a1(0x152)](_0x3d63a1(0x124))||_0x33c8ed[_0x3d63a1(0x18c)][_0x3d63a1(0x152)](_0x3d63a1(0xac))||_0x33c8ed[_0x3d63a1(0x18c)][_0x3d63a1(0x152)](_0x3d63a1(0x196));}(_0xccb62b)||this[_0x21996e(0xd5)](_0xccb62b[_0x21996e(0x18c)],_0xccb62b);});},this[_0xff99fe(0xd7)]));}[_0x15edac(0xbc)](){return new Promise(_0x5df0b8=>{const _0x12e60a=_0xe7e4;this['on'](_0x12e60a(0x9f),()=>{_0x5df0b8();});});}async[_0x15edac(0xa5)](){const _0x524c94=_0x15edac,_0x341b4b=this[_0x524c94(0x16b)][_0x524c94(0x15e)][_0x524c94(0x145)](_0x15bec4);if(this[_0x524c94(0xea)]()&&(_0x341b4b[_0x524c94(0x17a)](),this[_0x524c94(0xf2)]=!0x1),!this[_0x524c94(0xc1)]())return!0x0;const _0x53d833=[...this[_0x524c94(0x144)]];for(const _0x3984f5 of _0x53d833)_0x3984f5[_0x524c94(0x10f)]=this[_0x524c94(0x13b)][_0x524c94(0xc0)][_0x524c94(0x141)](_0x3984f5);const _0x3f722a=this[_0x524c94(0xe6)][_0x524c94(0x12a)](_0x53d833),_0x11040d=M++,_0x25ade7=this[_0x524c94(0x17b)](_0x53d833),_0x1ab32c=await this[_0x524c94(0xc5)][_0x524c94(0xce)](_0x25ade7,_0x25ade7[_0x524c94(0x119)],_0x3f722a);try{return await this[_0x524c94(0x193)](_0x53d833,_0x1ab32c,_0x11040d);}catch(_0x272cf1){return this[_0x524c94(0xd5)](_0x524c94(0xca),_0x272cf1);}}async[_0x15edac(0x193)](_0x169159,_0x1f8d06,_0x4f481c){const _0x3449d5=_0x15edac;if(_0x3449d5(0xb4)in _0x1f8d06)throw _0x1f8d06[_0x3449d5(0xb4)];let _0x4f73be=!0x1;if(_0x1f8d06[_0x3449d5(0x11e)]){_0x1f8d06[_0x3449d5(0x11b)]&&(this[_0x3449d5(0x112)]=_0x1f8d06[_0x3449d5(0x11b)]),this[_0x3449d5(0x144)]=this[_0x3449d5(0x144)][_0x3449d5(0x176)](_0xe569a0=>!_0x169159[_0x3449d5(0xa4)](_0xe569a0));for(const _0x3a3437 of _0x169159)_0x3a3437[_0x3449d5(0x109)]=_0x3449d5(0xed)in _0x1f8d06&&_0x1f8d06[_0x3449d5(0xed)]||void 0x0;H(_0x169159,_0x1f8d06[_0x3449d5(0xa6)]-_0x169159[_0x3449d5(0xf0)]),this[_0x3449d5(0xaa)](_0x169159);const _0xef095=_0x169159[_0x3449d5(0x176)](_0x102d4e=>{const _0x1c9878=_0x3449d5;if(!_0x102d4e[_0x1c9878(0x156)])return!0x1;const _0x1135de=this[_0x1c9878(0x19a)](_0x102d4e);return _0x1135de&&!this[_0x1c9878(0xeb)][_0x1c9878(0x151)](_0x1135de);});H(_0xef095,this[_0x3449d5(0x13b)][_0x3449d5(0xa6)]),this[_0x3449d5(0x181)](_0xef095),_0x4f73be=!0x0,this[_0x3449d5(0xd7)]=this[_0x3449d5(0x101)];}else{const _0x4ee8dd=this[_0x3449d5(0x158)](_0x1f8d06[_0x3449d5(0x19b)],_0x1f8d06[_0x3449d5(0x188)])[_0x3449d5(0x176)](_0x3385b9=>_0x3385b9[_0x3449d5(0x119)]>=this[_0x3449d5(0x19c)]);_0x4ee8dd[_0x3449d5(0xb1)](_0x264088=>this[_0x3449d5(0x146)](_0x264088)),this[_0x3449d5(0x144)]=this[_0x3449d5(0x144)][_0x3449d5(0x176)](_0x3e6a89=>!_0x3e6a89[_0x3449d5(0x156)]||!this[_0x3449d5(0xeb)][_0x3449d5(0x151)](this[_0x3449d5(0x19a)](_0x3e6a89))),this[_0x3449d5(0x144)][_0x3449d5(0xf0)]&&H(this[_0x3449d5(0x144)],this[_0x3449d5(0x144)][0x0][_0x3449d5(0x119)]),await this[_0x3449d5(0x180)](_0x4ee8dd),_0x4f73be=this[_0x3449d5(0x194)](_0x4ee8dd,_0x1f8d06[_0x3449d5(0xa6)],_0x1f8d06[_0x3449d5(0x11b)]),this[_0x3449d5(0xd7)]=Math[_0x3449d5(0xba)](this[_0x3449d5(0xd7)]/0x2);}return _0x4f73be?!this[_0x3449d5(0xc1)]()||(this[_0x3449d5(0xf1)](!0x0),!0x1):this[_0x3449d5(0xd5)](_0x3449d5(0xc9));}[_0x15edac(0x194)](_0x2e1e97,_0x3a9f85,_0x4d2114){const _0x36e015=_0x15edac;try{const _0x7f29cd={'document':this[_0x36e015(0x13b)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2ecdfc,operationsB:_0x484017,originalOperations:_0x2227cf}=_0x18b2ab(_0x2e1e97,this[_0x36e015(0x144)],_0x7f29cd);H(_0x2ecdfc,this[_0x36e015(0x13b)][_0x36e015(0xa6)]),H(_0x484017,_0x3a9f85);for(const _0x94a3d5 of _0x2ecdfc){const _0x3b41a5=_0x2227cf[_0x36e015(0x145)](_0x94a3d5);_0x94a3d5[_0x36e015(0x167)]=_0x3b41a5?_0x3b41a5[_0x36e015(0x167)]:null;}_0x4d2114&&(this[_0x36e015(0xe6)][_0x36e015(0x187)](_0x2e1e97,_0x4d2114),this[_0x36e015(0x112)]=_0x4d2114),this[_0x36e015(0x144)]=[..._0x484017],this[_0x36e015(0x181)](_0x2ecdfc),this[_0x36e015(0xaa)](_0x2e1e97);}catch(_0x375b61){return console[_0x36e015(0xb4)](_0x375b61),!0x1;}return!0x0;}[_0x15edac(0x181)](_0x41d3bf,_0x372166=!0x1){const _0x160af1=_0x15edac;this[_0x160af1(0x16b)][_0x160af1(0xe7)][_0x160af1(0x18a)]({'isUndoable':!0x1,'isLocal':!0x1},_0xa264fe=>{const _0x35e226=_0x160af1;for(const _0x39d2b5 of _0x41d3bf)this[_0x35e226(0x128)][_0x35e226(0x162)](_0x39d2b5),this[_0x35e226(0x146)](_0x39d2b5),_0xa264fe[_0x35e226(0xef)][_0x35e226(0xc2)](_0x39d2b5),this[_0x35e226(0x16b)][_0x35e226(0xe7)][_0x35e226(0x12f)](_0x39d2b5);});}[_0x15edac(0x146)](_0x4717d1){const _0xfc75c2=_0x15edac,_0xb3c981=this[_0xfc75c2(0x19a)](_0x4717d1);_0xb3c981&&this[_0xfc75c2(0xeb)][_0xfc75c2(0x162)](_0xb3c981);}[_0x15edac(0x19a)](_0x1d9e21){const _0x346b72=_0x15edac;let _0xb07c60,_0x219601;switch(_0x1d9e21[_0x346b72(0x99)]){case _0x346b72(0xb6):_0xb07c60=_0x1d9e21[_0x346b72(0x10e)][_0x346b72(0x186)];break;case _0x346b72(0x12c):if(_0x219601=_0x1d9e21[_0x346b72(0xaf)],!_0x219601)return null;_0xb07c60=_0x219601[_0x346b72(0x186)];break;case _0x346b72(0x129):_0xb07c60=_0x1d9e21[_0x346b72(0x186)];break;case _0x346b72(0x105):_0xb07c60=_0x1d9e21[_0x346b72(0x182)];break;case _0x346b72(0x18f):_0xb07c60=_0x1d9e21[_0x346b72(0xb3)][_0x346b72(0x186)];break;default:return null;}return _0xb07c60[_0x346b72(0xda)];}[_0x15edac(0xaa)](_0x4be0c3){const _0x4556cf=_0x15edac;_0x4be0c3[_0x4556cf(0xb1)](_0xd78a00=>{const _0x1d07f8=_0x4556cf,_0x56adf0=_0xd78a00[_0x1d07f8(0x102)]();_0x56adf0[_0x1d07f8(0x167)]=_0xd78a00[_0x1d07f8(0x167)],_0x56adf0[_0x1d07f8(0x156)]=!!_0xd78a00[_0x1d07f8(0x156)],_0x56adf0[_0x1d07f8(0x109)]=_0xd78a00[_0x1d07f8(0x109)],_0x56adf0[_0x1d07f8(0x119)]+=this[_0x1d07f8(0x168)],_0xd78a00[_0x1d07f8(0x164)]&&this[_0x1d07f8(0xe5)][_0x1d07f8(0x162)](_0x56adf0),this[_0x1d07f8(0xb7)][_0x1d07f8(0xc2)](_0x56adf0);});}[_0x15edac(0xd8)](_0x3a1d3c){const _0x3acfa1=_0x15edac,_0x2cc018=this[_0x3acfa1(0x16b)][_0x3acfa1(0x15e)][_0x3acfa1(0x145)](_0x3acfa1(0xe1)),_0x4e837f=this[_0x3acfa1(0x16b)][_0x3acfa1(0x107)];_0x3a1d3c||(_0x3a1d3c=_0xb5119(_0x4e837f,_0x3acfa1(0xf9))),_0x2cc018[_0x3acfa1(0x161)](_0x3a1d3c,{'title':_0xb5119(_0x4e837f,_0x3acfa1(0x16d)),'namespace':_0x3acfa1(0xa8)}),this[_0x3acfa1(0x174)]=!0x0,clearTimeout(this[_0x3acfa1(0x199)]),this[_0x3acfa1(0x144)]=[],this[_0x3acfa1(0x16b)][_0x3acfa1(0x15e)][_0x3acfa1(0x145)](_0x358068)[_0x3acfa1(0x103)]();}[_0x15edac(0xe0)](){const _0xafbaad=_0x15edac;this[_0xafbaad(0x18d)]||(this[_0xafbaad(0x18d)]=this[_0xafbaad(0x16b)][_0xafbaad(0x15e)][_0xafbaad(0x145)](_0x5385fe)[_0xafbaad(0x162)](_0xb5119(this[_0xafbaad(0x16b)][_0xafbaad(0x107)],_0xafbaad(0x14e))));}[_0x15edac(0xf8)](){const _0x5ed9be=_0x15edac;this[_0x5ed9be(0x18d)]&&(this[_0x5ed9be(0x16b)][_0x5ed9be(0x15e)][_0x5ed9be(0x145)](_0x5385fe)[_0x5ed9be(0x10a)](this[_0x5ed9be(0x18d)]),this[_0x5ed9be(0x18d)]=null);}[_0x15edac(0x17b)](_0x4a644e){const _0x50450b=_0x15edac,_0xa365c0=_0x4a644e[_0x50450b(0xf7)](_0x4855ba=>_0x4855ba[_0x50450b(0xdd)]());return this[_0x50450b(0x117)][_0x50450b(0x10b)](_0xa365c0);}[_0x15edac(0x158)](_0x15d115,_0x4e025e){const _0x1dac81=_0x15edac;return this[_0x1dac81(0x117)][_0x1dac81(0x143)](_0x15d115)[_0x1dac81(0xf7)]((_0x39591a,_0x6129a3)=>{const _0x47090f=_0x1dac81,_0x1fcd1d=_0x47090f(0x13e)==_0x4e025e[_0x6129a3][_0x47090f(0x99)];if(_0x47090f(0x165)==_0x39591a[_0x47090f(0x11c)]){const _0x444af5=_0x39591a[_0x47090f(0x10e)][_0x47090f(0x186)];!this[_0x47090f(0x13b)][_0x47090f(0xb9)](_0x444af5)&&(this[_0x47090f(0x13b)][_0x47090f(0x190)](_0x47090f(0x178),_0x444af5)[_0x47090f(0xd2)]=!0x1);}const _0x4f603d=_0x2bd410[_0x47090f(0xec)](_0x39591a,this[_0x47090f(0x13b)]);return _0x4f603d[_0x47090f(0x10f)]=_0x39591a[_0x47090f(0x10f)],_0x4f603d[_0x47090f(0x156)]=_0x1fcd1d,_0x4f603d[_0x47090f(0x167)]=_0x1fcd1d?null:_0x4e025e[_0x6129a3][_0x47090f(0x13f)],_0x4f603d[_0x47090f(0x164)]=_0x47090f(0xcb)===_0x4e025e[_0x6129a3][_0x47090f(0x99)],_0x4f603d[_0x47090f(0x109)]=_0x4e025e[_0x6129a3][_0x47090f(0x109)],_0x4f603d;});}[_0x15edac(0x192)](){const _0x409037=_0x15edac;this[_0x409037(0xf2)]=!0x0,this[_0x409037(0xea)]()?this[_0x409037(0xf1)]():this[_0x409037(0xf2)]=!0x1;}[_0x15edac(0xea)](){const _0x167b4d=_0x15edac,_0x10cf72=this[_0x167b4d(0x16b)][_0x167b4d(0x15e)][_0x167b4d(0x145)](_0x86a740)[_0x167b4d(0x17d)][_0x167b4d(0x145)](this[_0x167b4d(0x9b)]);return!this[_0x167b4d(0x16b)][_0x167b4d(0xc8)]&&!!_0x10cf72&&_0x10cf72[_0x167b4d(0xf0)]>0x1&&this[_0x167b4d(0xf2)];}[_0x15edac(0xc1)](){const _0x5ea8d0=_0x15edac;return this[_0x5ea8d0(0x144)][_0x5ea8d0(0xf0)]>0x0||this[_0x5ea8d0(0xea)]();}}export default l;class z extends Error{}function H(_0x4c911c,_0x40e854){const _0x282899=_0x15edac;for(const _0x286227 of _0x4c911c)_0x286227[_0x282899(0x119)]=_0x40e854++;}function _0xe7e4(_0x148723,_0x436c72){const _0x576e55=_0x576e();return _0xe7e4=function(_0xe7e47f,_0x113bb4){_0xe7e47f=_0xe7e47f-0x97;let _0x161f7d=_0x576e55[_0xe7e47f];return _0x161f7d;},_0xe7e4(_0x148723,_0x436c72);}class V{[_0x15edac(0x150)];[_0x15edac(0xcc)];constructor(_0x3ad10b){const _0x516d69=_0x15edac;this[_0x516d69(0x150)]=_0x3ad10b,this[_0x516d69(0xcc)]=new WeakMap();}[_0x15edac(0x12a)](_0x1800f6){const _0x4707c8=_0x15edac;let _0x57ee02=_0x1800f6[_0x4707c8(0xf0)];for(;_0x57ee02--;){const _0x31f469=_0x1800f6[_0x57ee02];if(!this[_0x4707c8(0x150)][_0x4707c8(0x151)](_0x31f469)){if(!this[_0x4707c8(0xcc)][_0x4707c8(0x151)](_0x31f469)){const _0x5c5014=_0x4daf72()[_0x4707c8(0x171)](0x1,0x12);this[_0x4707c8(0xcc)][_0x4707c8(0x106)](_0x31f469,_0x5c5014);}return this[_0x4707c8(0xcc)][_0x4707c8(0x145)](_0x31f469);}}}[_0x15edac(0x187)](_0x25c7bd,_0x3df09){const _0x33bb22=_0x15edac;if(!_0x3df09)return;let _0x26213f=_0x25c7bd[_0x33bb22(0xf0)];for(;_0x26213f--;){const _0x4a7e3a=_0x25c7bd[_0x26213f];this[_0x33bb22(0x150)][_0x33bb22(0x151)](_0x4a7e3a)||this[_0x33bb22(0xcc)][_0x33bb22(0x106)](_0x4a7e3a,_0x3df09);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e8633=_0x3675;(function(_0x2006ce,_0x3df046){const _0x593a76=_0x3675,_0x28add8=_0x2006ce();while(!![]){try{const _0xc6d2cf=-parseInt(_0x593a76(0xee))/0x1+parseInt(_0x593a76(0x100))/0x2*(parseInt(_0x593a76(0xf7))/0x3)+-parseInt(_0x593a76(0x108))/0x4*(-parseInt(_0x593a76(0xe9))/0x5)+parseInt(_0x593a76(0x10b))/0x6*(-parseInt(_0x593a76(0xdb))/0x7)+parseInt(_0x593a76(0xea))/0x8*(-parseInt(_0x593a76(0xdf))/0x9)+parseInt(_0x593a76(0x105))/0xa*(-parseInt(_0x593a76(0x10e))/0xb)+-parseInt(_0x593a76(0xe7))/0xc*(-parseInt(_0x593a76(0xf0))/0xd);if(_0xc6d2cf===_0x3df046)break;else _0x28add8['push'](_0x28add8['shift']());}catch(_0x35f8ae){_0x28add8['push'](_0x28add8['shift']());}}}(_0x1ad0,0xc3595));function _0x3675(_0x21be06,_0x295000){const _0x1ad093=_0x1ad0();return _0x3675=function(_0x367528,_0x22469c){_0x367528=_0x367528-0xdb;let _0x4361db=_0x1ad093[_0x367528];return _0x4361db;},_0x3675(_0x21be06,_0x295000);}import{ContextPlugin as _0x4c3b16}from'ckeditor5/src/core.js';import{Collection as _0x32c5f8,CKEditorError as _0x4befb1}from'ckeditor5/src/utils.js';import _0x31b5bf from'./websocketgateway.js';import{Users as _0x12e229}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x4c3b16{[_0x5e8633(0x103)];[_0x5e8633(0x110)];[_0x5e8633(0xe8)];[_0x5e8633(0x107)];[_0x5e8633(0x109)];[_0x5e8633(0x10c)];static get[_0x5e8633(0x119)](){const _0x122f4a=_0x5e8633;return _0x122f4a(0xfe);}static get[_0x5e8633(0xe0)](){return!0x0;}static get[_0x5e8633(0xfb)](){return!0x0;}static get[_0x5e8633(0x114)](){return[_0x31b5bf,_0x12e229];}constructor(_0x11ce39){const _0x5d6dc8=_0x5e8633;super(_0x11ce39),this[_0x5d6dc8(0x103)]=new Map(),this[_0x5d6dc8(0x110)]=new Map(),this[_0x5d6dc8(0xe8)]=new _0x32c5f8(),this[_0x5d6dc8(0x107)]=new Map(),this[_0x5d6dc8(0x109)]=0x0,this[_0x5d6dc8(0x10c)]=this[_0x5d6dc8(0x111)][_0x5d6dc8(0xf9)][_0x5d6dc8(0x11a)](_0x12e229);}[_0x5e8633(0xfc)](){const _0x32c68b=_0x5e8633,_0x4fc352=this[_0x32c68b(0x111)][_0x32c68b(0xf9)][_0x32c68b(0x11a)](_0x31b5bf);this[_0x32c68b(0x118)](_0x4fc352,_0x32c68b(0xfd),(_0x80a957,_0x333cef,_0x403c6e)=>{const _0x167688=_0x32c68b;if(_0x167688(0x11b)!==_0x403c6e)this[_0x167688(0x103)][_0x167688(0xff)](_0x54d40d=>_0x54d40d[_0x167688(0x10d)]()),this[_0x167688(0x110)][_0x167688(0xff)](_0x2d8862=>_0x2d8862[_0x167688(0x10d)]()),this[_0x167688(0xe8)][_0x167688(0x10d)]();else{for(const [_0x20f72f,_0x2722ae]of this[_0x167688(0x107)])for(const _0x1155b4 of _0x2722ae)this[_0x167688(0xfa)](_0x20f72f,_0x1155b4);}}),this[_0x32c68b(0xf5)](_0x4fc352[_0x32c68b(0xf2)]['me'],!0x0);}[_0x5e8633(0x106)](_0x52736b,_0xf2463c){const _0x9ec18f=_0x5e8633;if(this[_0x9ec18f(0x107)][_0x9ec18f(0xe6)](_0x52736b))throw new _0x4befb1(_0x9ec18f(0x115),null,{'channelId':_0x52736b});this[_0x9ec18f(0x107)][_0x9ec18f(0xe2)](_0x52736b,_0xf2463c),this[_0x9ec18f(0x103)][_0x9ec18f(0xe2)](_0x52736b,new _0x32c5f8()),this[_0x9ec18f(0x110)][_0x9ec18f(0xe2)](_0x52736b,new _0x32c5f8()),this[_0x9ec18f(0x118)](_0xf2463c,_0x9ec18f(0xed),(_0x12c71e,_0x38a5fa)=>this[_0x9ec18f(0xfa)](_0x52736b,_0x38a5fa)),this[_0x9ec18f(0x118)](_0xf2463c,_0x9ec18f(0xeb),(_0x44b5a8,_0x5a42b0)=>this[_0x9ec18f(0xf8)](_0x52736b,_0x5a42b0));for(const _0x26bbea of _0xf2463c)this[_0x9ec18f(0xfa)](_0x52736b,_0x26bbea);}[_0x5e8633(0xf1)](_0x2d411d){const _0x1dede1=_0x5e8633;if(!this[_0x1dede1(0x107)][_0x1dede1(0xe6)](_0x2d411d))throw new _0x4befb1(_0x1dede1(0x113),null,{'channelId':_0x2d411d});const _0x37e81b=this[_0x1dede1(0x107)][_0x1dede1(0x11a)](_0x2d411d);this[_0x1dede1(0x104)](_0x37e81b);for(const _0x44e601 of _0x37e81b)_0x1dede1(0x11b)===this[_0x1dede1(0x111)][_0x1dede1(0xf9)][_0x1dede1(0x11a)](_0x31b5bf)[_0x1dede1(0xe1)]&&this[_0x1dede1(0xf8)](_0x2d411d,_0x44e601);this[_0x1dede1(0x107)][_0x1dede1(0xf4)](_0x2d411d),this[_0x1dede1(0x103)][_0x1dede1(0xf4)](_0x2d411d),this[_0x1dede1(0x110)][_0x1dede1(0xf4)](_0x2d411d);}get[_0x5e8633(0xdd)](){const _0x344ffa=_0x5e8633;return this[_0x344ffa(0x111)][_0x344ffa(0xf9)][_0x344ffa(0x11a)](_0x31b5bf)[_0x344ffa(0xf2)][_0x344ffa(0x102)];}[_0x5e8633(0xf3)](_0x10be3f){const _0x40644c=_0x5e8633;for(const _0x1ada7b of this[_0x40644c(0x103)][_0x40644c(0xec)]())for(const _0x1779c2 of _0x1ada7b)if(_0x1779c2['id']===_0x10be3f)return _0x1779c2[_0x40644c(0x101)];}[_0x5e8633(0xdc)](_0x348de3,_0x1391f8){const _0x537b4f=_0x5e8633,_0x1e0e17=_0x1391f8?[this[_0x537b4f(0x103)][_0x537b4f(0x11a)](_0x1391f8)]:this[_0x537b4f(0x103)][_0x537b4f(0xec)](),_0x2f1e91=new Set();for(const _0x51a774 of _0x1e0e17)for(const _0x5e4811 of _0x51a774)_0x5e4811[_0x537b4f(0x101)]['id']===_0x348de3['id']&&_0x2f1e91[_0x537b4f(0xed)](_0x5e4811['id']);return _0x2f1e91;}[_0x5e8633(0xf6)](_0xe50224){const _0x209871=_0x5e8633;for(const _0x48b418 of this[_0x209871(0x103)][_0x209871(0xec)]())for(const _0x472d34 of _0x48b418)if(_0x472d34[_0x209871(0x101)]===_0xe50224)return _0x472d34[_0x209871(0x116)];}[_0x5e8633(0xfa)](_0x3b2d2d,_0x404021){const _0x9f7b85=_0x5e8633;if(_0x9f7b85(0x11b)!==this[_0x9f7b85(0x111)][_0x9f7b85(0xf9)][_0x9f7b85(0x11a)](_0x31b5bf)[_0x9f7b85(0xe1)])return;const _0x530498=_0x404021[_0x9f7b85(0x101)],_0x353048=this[_0x9f7b85(0x10c)][_0x9f7b85(0xe4)](_0x530498['id'])||this[_0x9f7b85(0xf5)](_0x530498),_0x2e79bb=Object[_0x9f7b85(0x117)]({},_0x404021,{'user':_0x353048});this[_0x9f7b85(0x103)][_0x9f7b85(0x11a)](_0x3b2d2d)[_0x9f7b85(0xed)](_0x2e79bb);const _0x49d046=this[_0x9f7b85(0x110)][_0x9f7b85(0x11a)](_0x3b2d2d);_0x49d046[_0x9f7b85(0xe6)](_0x353048['id'])||_0x49d046[_0x9f7b85(0xed)](_0x353048),this[_0x9f7b85(0xe8)][_0x9f7b85(0xe6)](_0x353048['id'])||this[_0x9f7b85(0xe8)][_0x9f7b85(0xed)](_0x353048,_0x353048[_0x9f7b85(0xe3)]?0x0:void 0x0),this[_0x9f7b85(0xef)](_0x9f7b85(0xde)+_0x3b2d2d,{'channelId':_0x3b2d2d,'session':_0x2e79bb});}[_0x5e8633(0xf8)](_0x2b016d,_0x378f3a){const _0x3d8b8d=_0x5e8633;if(_0x3d8b8d(0x11b)!==this[_0x3d8b8d(0x111)][_0x3d8b8d(0xf9)][_0x3d8b8d(0x11a)](_0x31b5bf)[_0x3d8b8d(0xe1)])return;const _0x5b5789=this[_0x3d8b8d(0x110)][_0x3d8b8d(0x11a)](_0x2b016d),_0x2b165f=_0x378f3a[_0x3d8b8d(0x101)];_0x2b165f['id']&&(this[_0x3d8b8d(0x103)][_0x3d8b8d(0x11a)](_0x2b016d)[_0x3d8b8d(0xeb)](_0x378f3a['id']),_0x5b5789[_0x3d8b8d(0xe6)](_0x2b165f['id'])&&!this[_0x3d8b8d(0xdc)](_0x2b165f,_0x2b016d)[_0x3d8b8d(0x112)]&&_0x5b5789[_0x3d8b8d(0xeb)](_0x2b165f['id']),this[_0x3d8b8d(0xe8)][_0x3d8b8d(0x11a)](_0x2b165f['id'])&&!this[_0x3d8b8d(0xdc)](_0x2b165f)[_0x3d8b8d(0x112)]&&this[_0x3d8b8d(0xe8)][_0x3d8b8d(0xeb)](_0x2b165f['id']));}[_0x5e8633(0xf5)](_0x46883e,_0xb8861){const _0x9b709=_0x5e8633,_0x25a038=this[_0x9b709(0x10c)][_0x9b709(0x10a)](_0x46883e);return _0xb8861&&this[_0x9b709(0x10c)][_0x9b709(0xe5)](_0x46883e['id']),_0x25a038[_0x9b709(0x10f)]=this[_0x9b709(0x109)]++,_0x25a038;}}function _0x1ad0(){const _0x371bd5=['connected','5719CBfSpF','getUserSessions','mySessionId','sessionAdd:','333leGtPp','isOfficialPlugin','state','set','isMe','getUser','defineMe','has','2501508XrZUYI','allConnectedUsers','10420QWJZhz','286088GwhLHa','remove','values','add','1561470baiTqp','fire','286bXzqTC','unregister','connection','getUserBySessionId','delete','_createUser','getUserRole','313479VysmVY','_handleSessionRemove','plugins','_handleSessionAdd','isPremiumPlugin','init','change:state','Sessions','forEach','2uFzKoj','user','sessionId','channelSessions','stopListening','20IxteiB','register','_registeredSessions','1528estCpE','_uniqueUsersCount','addUser','2202bMjLtR','_users','clear','8261352PZfpvG','orderNumber','channelConnectedUsers','context','size','sessions-unregister-not-exist','requires','sessions-register-already-registered','role','assign','listenTo','pluginName','get'];_0x1ad0=function(){return _0x371bd5;};return _0x1ad0();}
23
+ function _0x165e(_0x27cc90,_0x33f3d1){const _0xd47922=_0xd479();return _0x165e=function(_0x165e6b,_0x3cd84c){_0x165e6b=_0x165e6b-0x7a;let _0x2f8503=_0xd47922[_0x165e6b];return _0x2f8503;},_0x165e(_0x27cc90,_0x33f3d1);}const _0x59869c=_0x165e;(function(_0x26658a,_0x5bcd05){const _0x277ff7=_0x165e,_0x5272fb=_0x26658a();while(!![]){try{const _0x4ca045=parseInt(_0x277ff7(0xb7))/0x1*(parseInt(_0x277ff7(0x86))/0x2)+parseInt(_0x277ff7(0x7a))/0x3*(-parseInt(_0x277ff7(0x82))/0x4)+parseInt(_0x277ff7(0xa2))/0x5+-parseInt(_0x277ff7(0x98))/0x6*(parseInt(_0x277ff7(0x81))/0x7)+parseInt(_0x277ff7(0x8d))/0x8*(-parseInt(_0x277ff7(0xab))/0x9)+parseInt(_0x277ff7(0xb5))/0xa+parseInt(_0x277ff7(0xa4))/0xb;if(_0x4ca045===_0x5bcd05)break;else _0x5272fb['push'](_0x5272fb['shift']());}catch(_0x4b6c6d){_0x5272fb['push'](_0x5272fb['shift']());}}}(_0xd479,0x769a3));function _0xd479(){const _0x539f68=['3379200jndETl','sessionAdd:','getUserRole','isOfficialPlugin','isMe','channelConnectedUsers','pluginName','getUser','_handleSessionRemove','_handleSessionAdd','3291495KuYDmj','get','4050728jaypiJ','context','sessions-unregister-not-exist','add','listenTo','set','getUserBySessionId','40977DEZpjM','remove','fire','connected','defineMe','connection','_createUser','size','state','sessions-register-already-registered','5750580XZWwXw','isPremiumPlugin','2927AHiorp','forEach','2595447oxWygC','getUserSessions','change:state','unregister','register','has','sessionId','7soxmql','4uaJGWD','Sessions','_registeredSessions','allConnectedUsers','226mkyAcp','values','assign','_uniqueUsersCount','channelSessions','mySessionId','orderNumber','32rTectq','clear','init','stopListening','role','delete','_users','addUser','requires','plugins','user'];_0xd479=function(){return _0x539f68;};return _0xd479();}import{ContextPlugin as _0xe11197}from'ckeditor5/src/core.js';import{Collection as _0x1accd8,CKEditorError as _0x24c59c}from'ckeditor5/src/utils.js';import _0x55ccc6 from'./websocketgateway.js';import{Users as _0x1c6170}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0xe11197{[_0x59869c(0x8a)];[_0x59869c(0x9d)];[_0x59869c(0x85)];[_0x59869c(0x84)];[_0x59869c(0x89)];[_0x59869c(0x93)];static get[_0x59869c(0x9e)](){const _0x16cbe4=_0x59869c;return _0x16cbe4(0x83);}static get[_0x59869c(0x9b)](){return!0x0;}static get[_0x59869c(0xb6)](){return!0x0;}static get[_0x59869c(0x95)](){return[_0x55ccc6,_0x1c6170];}constructor(_0x453eae){const _0x3ed525=_0x59869c;super(_0x453eae),this[_0x3ed525(0x8a)]=new Map(),this[_0x3ed525(0x9d)]=new Map(),this[_0x3ed525(0x85)]=new _0x1accd8(),this[_0x3ed525(0x84)]=new Map(),this[_0x3ed525(0x89)]=0x0,this[_0x3ed525(0x93)]=this[_0x3ed525(0xa5)][_0x3ed525(0x96)][_0x3ed525(0xa3)](_0x1c6170);}[_0x59869c(0x8f)](){const _0x44c247=_0x59869c,_0x5e7a50=this[_0x44c247(0xa5)][_0x44c247(0x96)][_0x44c247(0xa3)](_0x55ccc6);this[_0x44c247(0xa8)](_0x5e7a50,_0x44c247(0x7c),(_0x201b9d,_0x4dc3f9,_0x29edc3)=>{const _0x48f8a9=_0x44c247;if(_0x48f8a9(0xae)!==_0x29edc3)this[_0x48f8a9(0x8a)][_0x48f8a9(0xb8)](_0x266319=>_0x266319[_0x48f8a9(0x8e)]()),this[_0x48f8a9(0x9d)][_0x48f8a9(0xb8)](_0x1e8b43=>_0x1e8b43[_0x48f8a9(0x8e)]()),this[_0x48f8a9(0x85)][_0x48f8a9(0x8e)]();else{for(const [_0x44c5e9,_0x4ad732]of this[_0x48f8a9(0x84)])for(const _0x46c3c1 of _0x4ad732)this[_0x48f8a9(0xa1)](_0x44c5e9,_0x46c3c1);}}),this[_0x44c247(0xb1)](_0x5e7a50[_0x44c247(0xb0)]['me'],!0x0);}[_0x59869c(0x7e)](_0x54a48d,_0x36b8ee){const _0x5aaf4f=_0x59869c;if(this[_0x5aaf4f(0x84)][_0x5aaf4f(0x7f)](_0x54a48d))throw new _0x24c59c(_0x5aaf4f(0xb4),null,{'channelId':_0x54a48d});this[_0x5aaf4f(0x84)][_0x5aaf4f(0xa9)](_0x54a48d,_0x36b8ee),this[_0x5aaf4f(0x8a)][_0x5aaf4f(0xa9)](_0x54a48d,new _0x1accd8()),this[_0x5aaf4f(0x9d)][_0x5aaf4f(0xa9)](_0x54a48d,new _0x1accd8()),this[_0x5aaf4f(0xa8)](_0x36b8ee,_0x5aaf4f(0xa7),(_0x3c1d40,_0x2452f9)=>this[_0x5aaf4f(0xa1)](_0x54a48d,_0x2452f9)),this[_0x5aaf4f(0xa8)](_0x36b8ee,_0x5aaf4f(0xac),(_0xae8650,_0x28d2d0)=>this[_0x5aaf4f(0xa0)](_0x54a48d,_0x28d2d0));for(const _0x586216 of _0x36b8ee)this[_0x5aaf4f(0xa1)](_0x54a48d,_0x586216);}[_0x59869c(0x7d)](_0x78ff93){const _0xd6eb6a=_0x59869c;if(!this[_0xd6eb6a(0x84)][_0xd6eb6a(0x7f)](_0x78ff93))throw new _0x24c59c(_0xd6eb6a(0xa6),null,{'channelId':_0x78ff93});const _0x22d386=this[_0xd6eb6a(0x84)][_0xd6eb6a(0xa3)](_0x78ff93);this[_0xd6eb6a(0x90)](_0x22d386);for(const _0x409abb of _0x22d386)_0xd6eb6a(0xae)===this[_0xd6eb6a(0xa5)][_0xd6eb6a(0x96)][_0xd6eb6a(0xa3)](_0x55ccc6)[_0xd6eb6a(0xb3)]&&this[_0xd6eb6a(0xa0)](_0x78ff93,_0x409abb);this[_0xd6eb6a(0x84)][_0xd6eb6a(0x92)](_0x78ff93),this[_0xd6eb6a(0x8a)][_0xd6eb6a(0x92)](_0x78ff93),this[_0xd6eb6a(0x9d)][_0xd6eb6a(0x92)](_0x78ff93);}get[_0x59869c(0x8b)](){const _0x3dd978=_0x59869c;return this[_0x3dd978(0xa5)][_0x3dd978(0x96)][_0x3dd978(0xa3)](_0x55ccc6)[_0x3dd978(0xb0)][_0x3dd978(0x80)];}[_0x59869c(0xaa)](_0xb32c0){const _0x576f46=_0x59869c;for(const _0x58c7dd of this[_0x576f46(0x8a)][_0x576f46(0x87)]())for(const _0x4bc27a of _0x58c7dd)if(_0x4bc27a['id']===_0xb32c0)return _0x4bc27a[_0x576f46(0x97)];}[_0x59869c(0x7b)](_0x18e142,_0x3dca92){const _0x3d5aac=_0x59869c,_0x4aab7e=_0x3dca92?[this[_0x3d5aac(0x8a)][_0x3d5aac(0xa3)](_0x3dca92)]:this[_0x3d5aac(0x8a)][_0x3d5aac(0x87)](),_0x5be450=new Set();for(const _0x1f1d71 of _0x4aab7e)for(const _0x5ec7e8 of _0x1f1d71)_0x5ec7e8[_0x3d5aac(0x97)]['id']===_0x18e142['id']&&_0x5be450[_0x3d5aac(0xa7)](_0x5ec7e8['id']);return _0x5be450;}[_0x59869c(0x9a)](_0x2e0305){const _0x294c3d=_0x59869c;for(const _0x43be70 of this[_0x294c3d(0x8a)][_0x294c3d(0x87)]())for(const _0x3dda8b of _0x43be70)if(_0x3dda8b[_0x294c3d(0x97)]===_0x2e0305)return _0x3dda8b[_0x294c3d(0x91)];}[_0x59869c(0xa1)](_0x32d3be,_0x3eb732){const _0x353627=_0x59869c;if(_0x353627(0xae)!==this[_0x353627(0xa5)][_0x353627(0x96)][_0x353627(0xa3)](_0x55ccc6)[_0x353627(0xb3)])return;const _0x4e7303=_0x3eb732[_0x353627(0x97)],_0x11672b=this[_0x353627(0x93)][_0x353627(0x9f)](_0x4e7303['id'])||this[_0x353627(0xb1)](_0x4e7303),_0x3ae75b=Object[_0x353627(0x88)]({},_0x3eb732,{'user':_0x11672b});this[_0x353627(0x8a)][_0x353627(0xa3)](_0x32d3be)[_0x353627(0xa7)](_0x3ae75b);const _0xccb453=this[_0x353627(0x9d)][_0x353627(0xa3)](_0x32d3be);_0xccb453[_0x353627(0x7f)](_0x11672b['id'])||_0xccb453[_0x353627(0xa7)](_0x11672b),this[_0x353627(0x85)][_0x353627(0x7f)](_0x11672b['id'])||this[_0x353627(0x85)][_0x353627(0xa7)](_0x11672b,_0x11672b[_0x353627(0x9c)]?0x0:void 0x0),this[_0x353627(0xad)](_0x353627(0x99)+_0x32d3be,{'channelId':_0x32d3be,'session':_0x3ae75b});}[_0x59869c(0xa0)](_0x272a6f,_0x5cfe75){const _0x38e7cc=_0x59869c;if(_0x38e7cc(0xae)!==this[_0x38e7cc(0xa5)][_0x38e7cc(0x96)][_0x38e7cc(0xa3)](_0x55ccc6)[_0x38e7cc(0xb3)])return;const _0x202879=this[_0x38e7cc(0x9d)][_0x38e7cc(0xa3)](_0x272a6f),_0xebe344=_0x5cfe75[_0x38e7cc(0x97)];_0xebe344['id']&&(this[_0x38e7cc(0x8a)][_0x38e7cc(0xa3)](_0x272a6f)[_0x38e7cc(0xac)](_0x5cfe75['id']),_0x202879[_0x38e7cc(0x7f)](_0xebe344['id'])&&!this[_0x38e7cc(0x7b)](_0xebe344,_0x272a6f)[_0x38e7cc(0xb2)]&&_0x202879[_0x38e7cc(0xac)](_0xebe344['id']),this[_0x38e7cc(0x85)][_0x38e7cc(0xa3)](_0xebe344['id'])&&!this[_0x38e7cc(0x7b)](_0xebe344)[_0x38e7cc(0xb2)]&&this[_0x38e7cc(0x85)][_0x38e7cc(0xac)](_0xebe344['id']));}[_0x59869c(0xb1)](_0x3fbb37,_0x201773){const _0x116e72=_0x59869c,_0x46c68f=this[_0x116e72(0x93)][_0x116e72(0x94)](_0x3fbb37);return _0x201773&&this[_0x116e72(0x93)][_0x116e72(0xaf)](_0x3fbb37['id']),_0x46c68f[_0x116e72(0x8c)]=this[_0x116e72(0x89)]++,_0x46c68f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f44f3=_0x25d3;(function(_0x2ca95f,_0xc6c045){const _0x47c38b=_0x25d3,_0x34848e=_0x2ca95f();while(!![]){try{const _0x45ae59=parseInt(_0x47c38b(0xd7))/0x1*(-parseInt(_0x47c38b(0xff))/0x2)+parseInt(_0x47c38b(0xda))/0x3*(-parseInt(_0x47c38b(0xe1))/0x4)+-parseInt(_0x47c38b(0xae))/0x5*(-parseInt(_0x47c38b(0x9d))/0x6)+-parseInt(_0x47c38b(0x8f))/0x7+-parseInt(_0x47c38b(0xe0))/0x8*(-parseInt(_0x47c38b(0x107))/0x9)+-parseInt(_0x47c38b(0x9a))/0xa+parseInt(_0x47c38b(0x100))/0xb;if(_0x45ae59===_0xc6c045)break;else _0x34848e['push'](_0x34848e['shift']());}catch(_0x53c669){_0x34848e['push'](_0x34848e['shift']());}}}(_0xee6c,0x92c3f));function _0xee6c(){const _0x5d7dfd=['isOfficialPlugin','ck-user__selection','createElement','parent','textContent','conversion','stopListening','selection','nodeAfter','update:user:range','getCustomProperty','isDocumentOperation','for','23210yjXnIM','17210457aUtMMq','removeClass','ck-user__marker-tooltip','mouseleave','isCollapsed','getUserBySessionId','isInline','9IGYfmp','updateMarker','$text','add','getNearestSelectionRange','clear','outerHTML','addEventListener','afterInit','schema','change','requires','editor','isSimilar','getAttribute','split','checkChild','change:range','data-session-id','isPremiumPlugin','7654591GNcSqE','element','hasDomSelection','detach','document','user:range','markerToHighlight','false','Escape','oldRange','startsWith','8458420EwSQHn','remove','pluginName','1411182TmdGlR','applyOperation','user:position:','type','getFirstRange','rootName','markerRange','fromRange','color','model','listenTo','marker','delete','set','setCustomProperty','get','user:range:','20XXocfp','removeMarker','destroy','contenteditable','highest','batch','has','markerNameToElements','init','editingDowncast','_domEmitter','render','setAttribute','reconvertMarker','user:position','getContainedElement','innerHTML','getStart','markerToElement','_createdBatches','isObject','root','getPositions','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','plugins','userPositionMarker','size','undo','ck-user__marker\x20','mouseenter','mapper','commands','classList','addMarker','toRange','getSelectionClass','keydown','start','hasContent','isLimit','end','72YdTHSN','orderNumber','mySessionId','93171iDiIQK','UserMarkers','createRange','newRange','name','createUserMarkerOperations','7959352bkXLWW','16pkbMPR','getMarkerClass','span','getRange','markerName','toDomElement','enqueueChange','view','$graveyard','user:','spellcheck','deletionPosition','markers','createUIElement','ck-user__marker_hovered','editing','tableCell'];_0xee6c=function(){return _0x5d7dfd;};return _0xee6c();}import{Plugin as _0x4d7928}from'ckeditor5/src/core.js';import{global as _0x45cbc7,DomEmitterMixin as _0x3cd59e}from'ckeditor5/src/utils.js';import _0x921d0 from'./sessions.js';import{LiveRange as _0x1d0234}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x25d3(_0x27d444,_0x1de609){const _0xee6ca3=_0xee6c();return _0x25d3=function(_0x25d3b5,_0xbd701c){_0x25d3b5=_0x25d3b5-0x80;let _0x54ff74=_0xee6ca3[_0x25d3b5];return _0x54ff74;},_0x25d3(_0x27d444,_0x1de609);}export default class B extends _0x4d7928{[_0x4f44f3(0xb8)]=new(_0x3cd59e())();static get[_0x4f44f3(0x86)](){return[_0x921d0];}static get[_0x4f44f3(0x9c)](){const _0x1b6470=_0x4f44f3;return _0x1b6470(0xdb);}static get[_0x4f44f3(0xf2)](){return!0x0;}static get[_0x4f44f3(0x8e)](){return!0x0;}[_0x4f44f3(0xb6)](){const _0x45050d=_0x4f44f3,_0x23aae9=this[_0x45050d(0x87)],_0x41ddd4=_0x23aae9[_0x45050d(0xc6)][_0x45050d(0xac)](_0x921d0);_0x23aae9[_0x45050d(0xf7)][_0x45050d(0xfe)](_0x45050d(0xb7))[_0x45050d(0xc0)]({'model':_0x45050d(0xbc),'view':(_0x3a7680,{writer:_0x593710})=>function(_0x4e7078,_0x58d91a,_0x106aa9,_0x135ba4){const _0x5e19cc=_0x45050d,_0x139113=_0x4e7078[_0x5e19cc(0xe5)][_0x5e19cc(0x8a)](':')[0x2],_0x5985ef=_0x106aa9[_0x5e19cc(0x105)](_0x139113);if(!_0x5985ef||_0x139113===_0x106aa9[_0x5e19cc(0xd9)])return;if(!_0x135ba4[_0x5e19cc(0xa6)][_0x5e19cc(0x84)][_0x5e19cc(0x8b)](_0x4e7078[_0x5e19cc(0xa3)][_0x5e19cc(0xd3)],_0x5e19cc(0x109)))return;const _0x4a3a5c={'class':_0x5e19cc(0xca)+_0x5985ef[_0x5e19cc(0xa5)][_0x5e19cc(0xe2)](),'data-name':_0x5985ef[_0x5e19cc(0xde)],'data-session-id':_0x139113},_0x2aa9f8=_0x135ba4[_0x5e19cc(0xa6)][_0x5e19cc(0xed)][_0x5e19cc(0xac)](_0x4e7078[_0x5e19cc(0xe5)]),_0x7680f6=_0x2aa9f8[_0x5e19cc(0xbf)](),_0x19a85e=_0x7680f6[_0x5e19cc(0xfa)],_0x3eeb07=_0x135ba4[_0x5e19cc(0xa6)][_0x5e19cc(0x84)];if(_0x19a85e&&_0x3eeb07[_0x5e19cc(0xc2)](_0x19a85e)&&_0x3eeb07[_0x5e19cc(0x106)](_0x19a85e)&&!_0x135ba4[_0x5e19cc(0xa6)][_0x5e19cc(0xed)][_0x5e19cc(0xac)](_0x5e19cc(0xad)+_0x139113)[_0x5e19cc(0xe4)]()[_0x5e19cc(0x104)])return;const _0x90a9f0=_0x7680f6[_0x5e19cc(0xf5)];return _0x135ba4[_0x5e19cc(0xa6)][_0x5e19cc(0x84)][_0x5e19cc(0xd5)](_0x90a9f0)&&!_0x135ba4[_0x5e19cc(0xa6)][_0x5e19cc(0xd4)](_0x90a9f0)&&(_0x4a3a5c[_0x5e19cc(0xb1)]=!0x1),function(_0x32a42a,_0x19c158,_0x266ff3){const _0x2ac311=_0x5e19cc,_0x1610a9=_0x32a42a[_0x2ac311(0xee)](_0x2ac311(0xe3),_0x19c158);return _0x32a42a[_0x2ac311(0xab)](_0x2ac311(0xc7),!0x0,_0x1610a9),_0x1610a9[_0x2ac311(0xb9)]=function(_0x2ab2ed){const _0x45996a=_0x2ac311,_0x2b7f99=this[_0x45996a(0xe6)](_0x2ab2ed),_0x55d324=document[_0x45996a(0xf4)](_0x45996a(0xe3));return _0x55d324[_0x45996a(0xce)][_0x45996a(0x10a)](_0x45996a(0x102)),_0x55d324[_0x45996a(0xba)](_0x45996a(0xb1),_0x45996a(0x96)),_0x55d324[_0x45996a(0xba)](_0x45996a(0xeb),_0x45996a(0x96)),_0x55d324[_0x45996a(0xf6)]=_0x266ff3[_0x45996a(0xde)],_0x2b7f99[_0x45996a(0xbe)]=_0x45996a(0xc5)+_0x55d324[_0x45996a(0x81)]+'⁠',_0x2b7f99[_0x45996a(0x82)](_0x45996a(0xcb),()=>{const _0x1f7e0e=_0x45996a;_0x2b7f99[_0x1f7e0e(0xce)][_0x1f7e0e(0x10a)](_0x1f7e0e(0xef));}),_0x2b7f99[_0x45996a(0x82)](_0x45996a(0x103),()=>{const _0x2c267f=_0x45996a;_0x2b7f99[_0x2c267f(0xce)][_0x2c267f(0x9b)](_0x2c267f(0xef));}),_0x2b7f99;},_0x1610a9[_0x2ac311(0x88)]=function(_0xca9563){const _0x4c7c1e=_0x2ac311;return!(!this[_0x4c7c1e(0xfc)](_0x4c7c1e(0xc7))||!_0xca9563[_0x4c7c1e(0xfc)](_0x4c7c1e(0xc7))||this[_0x4c7c1e(0x89)](_0x4c7c1e(0x8d))!=_0xca9563[_0x4c7c1e(0x89)](_0x4c7c1e(0x8d)));},_0x1610a9;}(_0x58d91a,_0x4a3a5c,_0x5985ef);}(_0x3a7680,_0x593710,_0x41ddd4,_0x23aae9)}),_0x23aae9[_0x45050d(0xf7)][_0x45050d(0xfe)](_0x45050d(0xb7))[_0x45050d(0x95)]({'model':_0x45050d(0x94),'view':_0x4ea2c1=>function(_0x5761a6,_0x6ce5b3){const _0x54913c=_0x45050d,_0x3bee3a=_0x5761a6[_0x54913c(0xe5)][_0x54913c(0x8a)](':')[0x2];if(_0x3bee3a===_0x6ce5b3[_0x54913c(0xd9)])return null;const _0x5dc5b4=_0x6ce5b3[_0x54913c(0x105)](_0x3bee3a);if(!_0x5dc5b4)return{'id':_0x3bee3a,'classes':[]};return{'id':_0x3bee3a,'classes':[_0x54913c(0xf3),_0x5dc5b4[_0x54913c(0xa5)][_0x54913c(0xd1)]()],'attributes':{'data-session-id':_0x3bee3a},'priority':0x7d0+_0x5dc5b4[_0x54913c(0xd8)]};}(_0x4ea2c1,_0x41ddd4)}),function(_0x31f57b){const _0x180c1d=_0x45050d,_0x1ac8cb=_0x31f57b[_0x180c1d(0xa6)],_0x5b69a3=new Map(),_0x5a9858=_0x31f57b[_0x180c1d(0xc6)][_0x180c1d(0xac)](_0x921d0);_0x1ac8cb[_0x180c1d(0xed)]['on'](_0x180c1d(0xfb),(_0x50d3d7,_0xe7b8fa,_0x530207,_0x13c19e)=>{const _0x21385f=_0x180c1d;if(!_0x13c19e&&_0x5b69a3[_0x21385f(0xac)](_0xe7b8fa[_0x21385f(0xde)]))return _0x5b69a3[_0x21385f(0xac)](_0xe7b8fa[_0x21385f(0xde)])[_0x21385f(0x92)](),void _0x5b69a3[_0x21385f(0xa9)](_0xe7b8fa[_0x21385f(0xde)]);const _0x1cbccd=_0xe7b8fa[_0x21385f(0xde)][_0x21385f(0x8a)](':')[0x2];if(_0x1cbccd===_0x5a9858[_0x21385f(0xd9)])return;const _0xda8892=_0x21385f(0x9f)+_0x1cbccd;_0x1ac8cb[_0x21385f(0xed)][_0x21385f(0xb4)](_0xda8892)&&_0x31f57b[_0x21385f(0xf0)][_0x21385f(0xbb)](_0xda8892),_0xe7b8fa['on'](_0x21385f(0x8c),(_0x3d4a5c,_0x346519,_0x2fbd86)=>{const _0x67b557=_0x21385f;if(_0x67b557(0xe9)!=_0x346519[_0x67b557(0xc3)][_0x67b557(0xa2)]&&_0x67b557(0xe9)==_0xe7b8fa[_0x67b557(0xe4)]()[_0x67b557(0xc3)][_0x67b557(0xa2)]&&!_0x5b69a3[_0x67b557(0xb4)](_0xe7b8fa[_0x67b557(0xde)])){const _0xc1a996=_0x1ac8cb[_0x67b557(0x84)][_0x67b557(0x10b)](_0x2fbd86[_0x67b557(0xec)]);if(_0xc1a996){const _0x5da347=_0x1d0234[_0x67b557(0xa4)](_0xc1a996);_0x5b69a3[_0x67b557(0xaa)](_0xe7b8fa[_0x67b557(0xde)],_0x5da347),_0x5da347['on'](_0x67b557(0x8c),(_0x2793e4,_0x844006,_0x3eb7ba)=>{const _0x1933c7=_0x67b557;if(_0x1933c7(0xe9)==_0x5da347[_0x1933c7(0xc3)][_0x1933c7(0xa2)]){const _0x4fe6d3=_0x1ac8cb[_0x1933c7(0x84)][_0x1933c7(0x10b)](_0x3eb7ba[_0x1933c7(0xec)]);_0x4fe6d3?(_0x5da347[_0x1933c7(0xd3)]=_0x4fe6d3[_0x1933c7(0xd3)],_0x5da347[_0x1933c7(0xd6)]=_0x4fe6d3[_0x1933c7(0xd6)]):(_0x5b69a3[_0x1933c7(0xa9)](_0xe7b8fa[_0x1933c7(0xde)]),_0x5da347[_0x1933c7(0x92)]());}});}}});}),_0x1ac8cb[_0x180c1d(0x93)]['on'](_0x180c1d(0x85),()=>{const _0x1b38b1=_0x180c1d;_0x5b69a3[_0x1b38b1(0xc8)]>0x0&&_0x1ac8cb[_0x1b38b1(0xe7)]({'isUndoable':!0x1},_0x5a5b51=>{const _0x112274=_0x1b38b1;for(const [_0x5e55c4,_0x33c402]of _0x5b69a3)_0x112274(0xe9)==_0x1ac8cb[_0x112274(0xed)][_0x112274(0xac)](_0x5e55c4)[_0x112274(0xe4)]()[_0x112274(0xc3)][_0x112274(0xa2)]&&(X(_0x5e55c4[_0x112274(0x8a)](':')[0x2],_0x33c402[_0x112274(0xd0)](),_0x1ac8cb,_0x5a5b51),_0x33c402[_0x112274(0x92)]());_0x5b69a3[_0x112274(0x80)]();});});}(_0x23aae9),this[_0x45050d(0xb8)][_0x45050d(0xa7)](_0x45cbc7[_0x45050d(0x93)],_0x45050d(0xd2),(_0x2f99b7,{key:_0x51d0bb})=>{const _0x434d0e=_0x45050d;_0x434d0e(0x97)===_0x51d0bb&&function(_0x5f4cb2){const _0x25eaf8=_0x434d0e;_0x5f4cb2[_0x25eaf8(0xf0)][_0x25eaf8(0xe8)][_0x25eaf8(0x85)](_0x4de285=>{const _0x2880a6=_0x25eaf8;for(const _0x5d0a71 of _0x5f4cb2[_0x2880a6(0xa6)][_0x2880a6(0xed)]){if(!_0x5d0a71[_0x2880a6(0xde)][_0x2880a6(0x99)](_0x2880a6(0xbc)))continue;const _0x1a53b5=_0x5f4cb2[_0x2880a6(0xf0)][_0x2880a6(0xcc)][_0x2880a6(0xb5)](_0x5d0a71[_0x2880a6(0xde)]);if(_0x1a53b5){for(const _0xb4d90e of _0x1a53b5)_0x4de285[_0x2880a6(0x101)](_0x2880a6(0xef),_0xb4d90e);}}});}(_0x23aae9);},{'useCapture':!0x0});}[_0x4f44f3(0x83)](){const _0x24a870=_0x4f44f3,_0x25d1ee=this[_0x24a870(0x87)],_0x5ef1cb=_0x25d1ee[_0x24a870(0xcd)][_0x24a870(0xac)](_0x24a870(0xc9));_0x5ef1cb&&_0x25d1ee[_0x24a870(0xa6)]['on'](_0x24a870(0x9e),(_0x4241b6,_0x5bf512)=>{const _0x31d0cb=_0x24a870,_0x195099=_0x5bf512[0x0];if(!_0x195099[_0x31d0cb(0xfd)])return;if(_0x31d0cb(0xa8)!=_0x195099[_0x31d0cb(0xa0)]||!_0x195099[_0x31d0cb(0xde)][_0x31d0cb(0x99)](_0x31d0cb(0xea)))return;const _0x357ce3=_0x195099[_0x31d0cb(0xb3)];_0x5ef1cb[_0x31d0cb(0xc1)][_0x31d0cb(0xb4)](_0x357ce3)&&(_0x195099[_0x31d0cb(0xdd)]=_0x195099[_0x31d0cb(0x98)]?_0x25d1ee[_0x31d0cb(0xa6)][_0x31d0cb(0xdc)](_0x195099[_0x31d0cb(0x98)][_0x31d0cb(0xd3)],_0x195099[_0x31d0cb(0x98)][_0x31d0cb(0xd6)]):null);},{'priority':_0x24a870(0xb2)});}[_0x4f44f3(0xb0)](){const _0x4d47bb=_0x4f44f3;return this[_0x4d47bb(0xb8)][_0x4d47bb(0xf8)](),super[_0x4d47bb(0xb0)]();}[_0x4f44f3(0xdf)](){const _0x19816e=_0x4f44f3,_0x35e10b=this[_0x19816e(0x87)],_0x41a72b=_0x35e10b[_0x19816e(0xa6)][_0x19816e(0x93)],_0x360135=_0x35e10b[_0x19816e(0xc6)][_0x19816e(0xac)](_0x921d0);_0x35e10b[_0x19816e(0xa6)][_0x19816e(0xe7)]({'isUndoable':!0x1},_0x1f478f=>{const _0x5a3600=_0x19816e,_0x410ab8=_0x5a3600(0xad)+_0x360135[_0x5a3600(0xd9)],_0x5ae9ec=_0x5a3600(0x9f)+_0x360135[_0x5a3600(0xd9)],_0x4ca7dd=_0x35e10b[_0x5a3600(0xa6)][_0x5a3600(0xed)][_0x5a3600(0xb4)](_0x410ab8);_0x35e10b[_0x5a3600(0xf0)][_0x5a3600(0xe8)][_0x5a3600(0x91)]?X(_0x360135[_0x5a3600(0xd9)],_0x41a72b[_0x5a3600(0xf9)][_0x5a3600(0xa1)](),_0x35e10b[_0x5a3600(0xa6)],_0x1f478f):_0x4ca7dd&&(_0x1f478f[_0x5a3600(0xaf)](_0x410ab8),_0x1f478f[_0x5a3600(0xaf)](_0x5ae9ec));});}}function X(_0x3d82bd,_0x3e86c7,_0x451847,_0xa0125c){const _0xbee3ba=_0x4f44f3,_0x6dfe0a=_0xbee3ba(0xad)+_0x3d82bd,_0x16ac39=_0xbee3ba(0x9f)+_0x3d82bd,_0x478f1d=_0x3e86c7[_0xbee3ba(0xbd)]();let _0x4f1f10=_0x3e86c7[_0xbee3ba(0xd3)];_0x478f1d&&_0x478f1d['is'](_0xbee3ba(0x90),_0xbee3ba(0xf1))&&(_0x4f1f10=function(_0x3e02bc,_0x34d677){const _0x5f2fa3=_0xbee3ba;for(const _0x248546 of _0x3e02bc[_0x5f2fa3(0xc4)]())if(_0x34d677[_0x5f2fa3(0x84)][_0x5f2fa3(0x8b)](_0x248546,_0x5f2fa3(0x109)))return _0x248546;}(_0x3e86c7,_0x451847),_0x3e86c7=_0xa0125c[_0xbee3ba(0xdc)](_0x4f1f10));const _0x24b25d=_0xa0125c[_0xbee3ba(0xdc)](_0x4f1f10);_0x451847[_0xbee3ba(0xed)][_0xbee3ba(0xb4)](_0x6dfe0a)?(_0xa0125c[_0xbee3ba(0x108)](_0x6dfe0a,{'range':_0x3e86c7}),_0xa0125c[_0xbee3ba(0x108)](_0x16ac39,{'range':_0x24b25d})):(_0xa0125c[_0xbee3ba(0xcf)](_0x6dfe0a,{'range':_0x3e86c7,'usingOperation':!0x0}),_0xa0125c[_0xbee3ba(0xcf)](_0x16ac39,{'range':_0x24b25d,'usingOperation':!0x0}));}
23
+ const _0x171339=_0x26e0;(function(_0xb752a7,_0x4ad3ca){const _0x33ba58=_0x26e0,_0x4751ab=_0xb752a7();while(!![]){try{const _0x35b2c9=parseInt(_0x33ba58(0x130))/0x1*(parseInt(_0x33ba58(0x14e))/0x2)+parseInt(_0x33ba58(0x160))/0x3+-parseInt(_0x33ba58(0x134))/0x4*(-parseInt(_0x33ba58(0x145))/0x5)+-parseInt(_0x33ba58(0x174))/0x6*(parseInt(_0x33ba58(0x171))/0x7)+parseInt(_0x33ba58(0x156))/0x8+parseInt(_0x33ba58(0x186))/0x9+-parseInt(_0x33ba58(0x17e))/0xa;if(_0x35b2c9===_0x4ad3ca)break;else _0x4751ab['push'](_0x4751ab['shift']());}catch(_0x59cedc){_0x4751ab['push'](_0x4751ab['shift']());}}}(_0x515b,0x67509));import{Plugin as _0x3565e9}from'ckeditor5/src/core.js';import{global as _0x905081,DomEmitterMixin as _0x4001d7}from'ckeditor5/src/utils.js';import _0x4a04d1 from'./sessions.js';import{LiveRange as _0x132349}from'ckeditor5/src/engine.js';function _0x26e0(_0x239f56,_0x23cd28){const _0x515b23=_0x515b();return _0x26e0=function(_0x26e078,_0x40c2ee){_0x26e078=_0x26e078-0x12a;let _0x12224a=_0x515b23[_0x26e078];return _0x12224a;},_0x26e0(_0x239f56,_0x23cd28);}import'../../theme/usermarkers.css';export default class E extends _0x3565e9{[_0x171339(0x12d)]=new(_0x4001d7())();static get[_0x171339(0x157)](){return[_0x4a04d1];}static get[_0x171339(0x151)](){const _0x1b2e08=_0x171339;return _0x1b2e08(0x19b);}static get[_0x171339(0x135)](){return!0x0;}static get[_0x171339(0x16b)](){return!0x0;}[_0x171339(0x179)](){const _0x1c63f9=_0x171339,_0x1fbb37=this[_0x1c63f9(0x190)],_0x57a9e5=_0x1fbb37[_0x1c63f9(0x133)][_0x1c63f9(0x14f)](_0x4a04d1);_0x1fbb37[_0x1c63f9(0x199)][_0x1c63f9(0x150)](_0x1c63f9(0x193))[_0x1c63f9(0x166)]({'model':_0x1c63f9(0x1a1),'view':(_0x2d1a7f,{writer:_0x3bb290})=>function(_0x256292,_0x8dc167,_0x5a709e,_0x31f98e){const _0x1f91bd=_0x1c63f9,_0x17e57b=_0x256292[_0x1f91bd(0x143)][_0x1f91bd(0x12c)](':')[0x2],_0x561222=_0x5a709e[_0x1f91bd(0x175)](_0x17e57b);if(!_0x561222||_0x17e57b===_0x5a709e[_0x1f91bd(0x1a3)])return;if(!_0x31f98e[_0x1f91bd(0x192)][_0x1f91bd(0x198)][_0x1f91bd(0x15e)](_0x256292[_0x1f91bd(0x197)][_0x1f91bd(0x19a)],_0x1f91bd(0x167)))return;const _0x3c4e4f={'class':_0x1f91bd(0x187)+_0x561222[_0x1f91bd(0x15f)][_0x1f91bd(0x191)](),'data-name':_0x561222[_0x1f91bd(0x16e)],'data-session-id':_0x17e57b},_0x276fae=_0x31f98e[_0x1f91bd(0x192)][_0x1f91bd(0x18b)][_0x1f91bd(0x14f)](_0x256292[_0x1f91bd(0x143)]),_0x317ebe=_0x276fae[_0x1f91bd(0x17d)](),_0x271290=_0x317ebe[_0x1f91bd(0x1aa)],_0x19331d=_0x31f98e[_0x1f91bd(0x192)][_0x1f91bd(0x198)];if(_0x271290&&_0x19331d[_0x1f91bd(0x146)](_0x271290)&&_0x19331d[_0x1f91bd(0x1b2)](_0x271290)&&!_0x31f98e[_0x1f91bd(0x192)][_0x1f91bd(0x18b)][_0x1f91bd(0x14f)](_0x1f91bd(0x12b)+_0x17e57b)[_0x1f91bd(0x16d)]()[_0x1f91bd(0x18a)])return;const _0x3fc8ba=_0x317ebe[_0x1f91bd(0x1a5)];return _0x31f98e[_0x1f91bd(0x192)][_0x1f91bd(0x198)][_0x1f91bd(0x136)](_0x3fc8ba)&&!_0x31f98e[_0x1f91bd(0x192)][_0x1f91bd(0x18c)](_0x3fc8ba)&&(_0x3c4e4f[_0x1f91bd(0x13c)]=!0x1),function(_0x36d628,_0x581997,_0x1813de){const _0x3d02b6=_0x1f91bd,_0x178b3b=_0x36d628[_0x3d02b6(0x1ad)](_0x3d02b6(0x13d),_0x581997);return _0x36d628[_0x3d02b6(0x14d)](_0x3d02b6(0x17b),!0x0,_0x178b3b),_0x178b3b[_0x3d02b6(0x15a)]=function(_0x19136c){const _0x5f2728=_0x3d02b6,_0x3d71a4=this[_0x5f2728(0x154)](_0x19136c),_0x27cc29=document[_0x5f2728(0x138)](_0x5f2728(0x13d));return _0x27cc29[_0x5f2728(0x159)][_0x5f2728(0x141)](_0x5f2728(0x181)),_0x27cc29[_0x5f2728(0x196)](_0x5f2728(0x13c),_0x5f2728(0x13f)),_0x27cc29[_0x5f2728(0x196)](_0x5f2728(0x13b),_0x5f2728(0x13f)),_0x27cc29[_0x5f2728(0x131)]=_0x1813de[_0x5f2728(0x16e)],_0x3d71a4[_0x5f2728(0x14b)]=_0x5f2728(0x162)+_0x27cc29[_0x5f2728(0x1a8)]+'⁠',_0x3d71a4[_0x5f2728(0x16f)](_0x5f2728(0x148),()=>{const _0xab5519=_0x5f2728;_0x3d71a4[_0xab5519(0x159)][_0xab5519(0x141)](_0xab5519(0x173));}),_0x3d71a4[_0x5f2728(0x16f)](_0x5f2728(0x144),()=>{const _0x3df9bf=_0x5f2728;_0x3d71a4[_0x3df9bf(0x159)][_0x3df9bf(0x149)](_0x3df9bf(0x173));}),_0x3d71a4;},_0x178b3b[_0x3d02b6(0x183)]=function(_0x2c8abe){const _0x2fcace=_0x3d02b6;return!(!this[_0x2fcace(0x147)](_0x2fcace(0x17b))||!_0x2c8abe[_0x2fcace(0x147)](_0x2fcace(0x17b))||this[_0x2fcace(0x132)](_0x2fcace(0x1b3))!=_0x2c8abe[_0x2fcace(0x132)](_0x2fcace(0x1b3)));},_0x178b3b;}(_0x8dc167,_0x3c4e4f,_0x561222);}(_0x2d1a7f,_0x3bb290,_0x57a9e5,_0x1fbb37)}),_0x1fbb37[_0x1c63f9(0x199)][_0x1c63f9(0x150)](_0x1c63f9(0x193))[_0x1c63f9(0x140)]({'model':_0x1c63f9(0x184),'view':_0x481d4a=>function(_0x2e9845,_0x9ca53e){const _0x1aaefd=_0x1c63f9,_0x9a35e2=_0x2e9845[_0x1aaefd(0x143)][_0x1aaefd(0x12c)](':')[0x2];if(_0x9a35e2===_0x9ca53e[_0x1aaefd(0x1a3)])return null;const _0x13d7d4=_0x9ca53e[_0x1aaefd(0x175)](_0x9a35e2);if(!_0x13d7d4)return{'id':_0x9a35e2,'classes':[]};return{'id':_0x9a35e2,'classes':[_0x1aaefd(0x161),_0x13d7d4[_0x1aaefd(0x15f)][_0x1aaefd(0x19e)]()],'attributes':{'data-session-id':_0x9a35e2},'priority':0x7d0+_0x13d7d4[_0x1aaefd(0x15d)]};}(_0x481d4a,_0x57a9e5)}),function(_0x297d68){const _0x1b4c2f=_0x1c63f9,_0x24c97c=_0x297d68[_0x1b4c2f(0x192)],_0xc95325=new Map(),_0x1782a8=_0x297d68[_0x1b4c2f(0x133)][_0x1b4c2f(0x14f)](_0x4a04d1);_0x24c97c[_0x1b4c2f(0x18b)]['on'](_0x1b4c2f(0x182),(_0x462b68,_0x220d89,_0xf9033f,_0x1c7191)=>{const _0x34a889=_0x1b4c2f;if(!_0x1c7191&&_0xc95325[_0x34a889(0x14f)](_0x220d89[_0x34a889(0x16e)]))return _0xc95325[_0x34a889(0x14f)](_0x220d89[_0x34a889(0x16e)])[_0x34a889(0x18d)](),void _0xc95325[_0x34a889(0x1b0)](_0x220d89[_0x34a889(0x16e)]);const _0x1cee4e=_0x220d89[_0x34a889(0x16e)][_0x34a889(0x12c)](':')[0x2];if(_0x1cee4e===_0x1782a8[_0x34a889(0x1a3)])return;const _0x44a36e=_0x34a889(0x1ab)+_0x1cee4e;_0x24c97c[_0x34a889(0x18b)][_0x34a889(0x16c)](_0x44a36e)&&_0x297d68[_0x34a889(0x176)][_0x34a889(0x178)](_0x44a36e),_0x220d89['on'](_0x34a889(0x139),(_0x44cce2,_0x3c4b3f,_0x43b7bb)=>{const _0x1e90cf=_0x34a889;if(_0x1e90cf(0x17c)!=_0x3c4b3f[_0x1e90cf(0x188)][_0x1e90cf(0x17f)]&&_0x1e90cf(0x17c)==_0x220d89[_0x1e90cf(0x16d)]()[_0x1e90cf(0x188)][_0x1e90cf(0x17f)]&&!_0xc95325[_0x1e90cf(0x16c)](_0x220d89[_0x1e90cf(0x16e)])){const _0x4d66b7=_0x24c97c[_0x1e90cf(0x198)][_0x1e90cf(0x168)](_0x43b7bb[_0x1e90cf(0x12a)]);if(_0x4d66b7){const _0x61b4ae=_0x132349[_0x1e90cf(0x18f)](_0x4d66b7);_0xc95325[_0x1e90cf(0x1b4)](_0x220d89[_0x1e90cf(0x16e)],_0x61b4ae),_0x61b4ae['on'](_0x1e90cf(0x139),(_0x41888a,_0x266235,_0x272401)=>{const _0x39b374=_0x1e90cf;if(_0x39b374(0x17c)==_0x61b4ae[_0x39b374(0x188)][_0x39b374(0x17f)]){const _0x535109=_0x24c97c[_0x39b374(0x198)][_0x39b374(0x168)](_0x272401[_0x39b374(0x12a)]);_0x535109?(_0x61b4ae[_0x39b374(0x19a)]=_0x535109[_0x39b374(0x19a)],_0x61b4ae[_0x39b374(0x1a4)]=_0x535109[_0x39b374(0x1a4)]):(_0xc95325[_0x39b374(0x1b0)](_0x220d89[_0x39b374(0x16e)]),_0x61b4ae[_0x39b374(0x18d)]());}});}}});}),_0x24c97c[_0x1b4c2f(0x189)]['on'](_0x1b4c2f(0x1af),()=>{const _0xf392ec=_0x1b4c2f;_0xc95325[_0xf392ec(0x185)]>0x0&&_0x24c97c[_0xf392ec(0x1a0)]({'isUndoable':!0x1},_0x95fe46=>{const _0x4c71a1=_0xf392ec;for(const [_0x4580ea,_0x114eb1]of _0xc95325)_0x4c71a1(0x17c)==_0x24c97c[_0x4c71a1(0x18b)][_0x4c71a1(0x14f)](_0x4580ea)[_0x4c71a1(0x16d)]()[_0x4c71a1(0x188)][_0x4c71a1(0x17f)]&&(G(_0x4580ea[_0x4c71a1(0x12c)](':')[0x2],_0x114eb1[_0x4c71a1(0x158)](),_0x24c97c,_0x95fe46),_0x114eb1[_0x4c71a1(0x18d)]());_0xc95325[_0x4c71a1(0x169)]();});});}(_0x1fbb37),this[_0x1c63f9(0x12d)][_0x1c63f9(0x12e)](_0x905081[_0x1c63f9(0x189)],_0x1c63f9(0x165),(_0x3ba9d3,{key:_0x4fdb18})=>{const _0x5505f1=_0x1c63f9;_0x5505f1(0x1a7)===_0x4fdb18&&function(_0x44d657){const _0x1ecf7e=_0x5505f1;_0x44d657[_0x1ecf7e(0x176)][_0x1ecf7e(0x15c)][_0x1ecf7e(0x1af)](_0x16e2b1=>{const _0x442e4c=_0x1ecf7e;for(const _0x5842f4 of _0x44d657[_0x442e4c(0x192)][_0x442e4c(0x18b)]){if(!_0x5842f4[_0x442e4c(0x16e)][_0x442e4c(0x153)](_0x442e4c(0x1a1)))continue;const _0x4f90d8=_0x44d657[_0x442e4c(0x176)][_0x442e4c(0x163)][_0x442e4c(0x155)](_0x5842f4[_0x442e4c(0x16e)]);if(_0x4f90d8){for(const _0x4ce583 of _0x4f90d8)_0x16e2b1[_0x442e4c(0x14c)](_0x442e4c(0x173),_0x4ce583);}}});}(_0x1fbb37);},{'useCapture':!0x0});}[_0x171339(0x164)](){const _0x3a748b=_0x171339,_0x2b3933=this[_0x3a748b(0x190)],_0x16283e=_0x2b3933[_0x3a748b(0x194)][_0x3a748b(0x14f)](_0x3a748b(0x1ac));_0x16283e&&_0x2b3933[_0x3a748b(0x192)]['on'](_0x3a748b(0x1ae),(_0x17234d,_0x4a298c)=>{const _0x4097fd=_0x3a748b,_0x52559e=_0x4a298c[0x0];if(!_0x52559e[_0x4097fd(0x177)])return;if(_0x4097fd(0x1b1)!=_0x52559e[_0x4097fd(0x172)]||!_0x52559e[_0x4097fd(0x16e)][_0x4097fd(0x153)](_0x4097fd(0x12f)))return;const _0x4c4b13=_0x52559e[_0x4097fd(0x19c)];_0x16283e[_0x4097fd(0x137)][_0x4097fd(0x16c)](_0x4c4b13)&&(_0x52559e[_0x4097fd(0x14a)]=_0x52559e[_0x4097fd(0x15b)]?_0x2b3933[_0x4097fd(0x192)][_0x4097fd(0x1a6)](_0x52559e[_0x4097fd(0x15b)][_0x4097fd(0x19a)],_0x52559e[_0x4097fd(0x15b)][_0x4097fd(0x1a4)]):null);},{'priority':_0x3a748b(0x13e)});}[_0x171339(0x13a)](){const _0x51da7d=_0x171339;return this[_0x51da7d(0x12d)][_0x51da7d(0x170)](),super[_0x51da7d(0x13a)]();}[_0x171339(0x152)](){const _0x31112d=_0x171339,_0x1eb3a1=this[_0x31112d(0x190)],_0xe9bd27=_0x1eb3a1[_0x31112d(0x192)][_0x31112d(0x189)],_0x51ec76=_0x1eb3a1[_0x31112d(0x133)][_0x31112d(0x14f)](_0x4a04d1);_0x1eb3a1[_0x31112d(0x192)][_0x31112d(0x1a0)]({'isUndoable':!0x1},_0x33b752=>{const _0x8f78e=_0x31112d,_0x437b4b=_0x8f78e(0x12b)+_0x51ec76[_0x8f78e(0x1a3)],_0x1d39ca=_0x8f78e(0x1ab)+_0x51ec76[_0x8f78e(0x1a3)],_0x272012=_0x1eb3a1[_0x8f78e(0x192)][_0x8f78e(0x18b)][_0x8f78e(0x16c)](_0x437b4b);_0x1eb3a1[_0x8f78e(0x176)][_0x8f78e(0x15c)][_0x8f78e(0x142)]?G(_0x51ec76[_0x8f78e(0x1a3)],_0xe9bd27[_0x8f78e(0x180)][_0x8f78e(0x16a)](),_0x1eb3a1[_0x8f78e(0x192)],_0x33b752):_0x272012&&(_0x33b752[_0x8f78e(0x19d)](_0x437b4b),_0x33b752[_0x8f78e(0x19d)](_0x1d39ca));});}}function G(_0x5f5bfb,_0x153361,_0x187657,_0xa052f7){const _0x577755=_0x171339,_0x235772=_0x577755(0x12b)+_0x5f5bfb,_0x1f5259=_0x577755(0x1ab)+_0x5f5bfb,_0x4f1416=_0x153361[_0x577755(0x1a2)]();let _0x463927=_0x153361[_0x577755(0x19a)];if(_0x4f1416&&_0x4f1416['is'](_0x577755(0x19f),_0x577755(0x195))){const _0x52d239=function(_0x40e11b,_0x40abc5){const _0x5eb12f=_0x577755;for(const _0x356729 of _0x40e11b[_0x5eb12f(0x17a)]())if(_0x40abc5[_0x5eb12f(0x198)][_0x5eb12f(0x15e)](_0x356729,_0x5eb12f(0x167)))return _0x356729;}(_0x153361,_0x187657);_0x52d239&&(_0x463927=_0x52d239,_0x153361=_0xa052f7[_0x577755(0x1a6)](_0x463927));}const _0x4c8fcf=_0xa052f7[_0x577755(0x1a6)](_0x463927);_0x187657[_0x577755(0x18b)][_0x577755(0x16c)](_0x235772)?(_0xa052f7[_0x577755(0x18e)](_0x235772,{'range':_0x153361}),_0xa052f7[_0x577755(0x18e)](_0x1f5259,{'range':_0x4c8fcf})):(_0xa052f7[_0x577755(0x1a9)](_0x235772,{'range':_0x153361,'usingOperation':!0x0}),_0xa052f7[_0x577755(0x1a9)](_0x1f5259,{'range':_0x4c8fcf,'usingOperation':!0x0}));}function _0x515b(){const _0x24e741=['orderNumber','checkChild','color','1247454BwoPSS','ck-user__selection','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','mapper','afterInit','keydown','markerToElement','$text','getNearestSelectionRange','clear','getFirstRange','isPremiumPlugin','has','getRange','name','addEventListener','stopListening','203byiSlX','type','ck-user__marker_hovered','13494nDUtNX','getUserBySessionId','editing','isDocumentOperation','reconvertMarker','init','getPositions','userPositionMarker','$graveyard','getStart','11038030JEQAsK','rootName','selection','ck-user__marker-tooltip','update:user:range','isSimilar','user:range','size','1814445qeSjue','ck-user__marker\x20','root','document','isCollapsed','markers','hasContent','detach','updateMarker','fromRange','editor','getMarkerClass','model','editingDowncast','commands','tableCell','setAttribute','markerRange','schema','conversion','start','UserMarkers','batch','removeMarker','getSelectionClass','element','enqueueChange','user:position','getContainedElement','mySessionId','end','parent','createRange','Escape','outerHTML','addMarker','nodeAfter','user:position:','undo','createUIElement','applyOperation','change','delete','marker','isInline','data-session-id','set','deletionPosition','user:range:','split','_domEmitter','listenTo','user:','6yptrvM','textContent','getAttribute','plugins','276wHjVSj','isOfficialPlugin','isLimit','_createdBatches','createElement','change:range','destroy','spellcheck','contenteditable','span','highest','false','markerToHighlight','add','hasDomSelection','markerName','mouseleave','11995sCRWuO','isObject','getCustomProperty','mouseenter','remove','newRange','innerHTML','removeClass','setCustomProperty','103748QdYLuM','get','for','pluginName','createUserMarkerOperations','startsWith','toDomElement','markerNameToElements','3984024MKpsDt','requires','toRange','classList','render','oldRange','view'];_0x515b=function(){return _0x24e741;};return _0x515b();}