@ckeditor/ckeditor5-real-time-collaboration 47.1.0-alpha.0 → 47.1.0-alpha.2

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
- const _0x28a40f=_0x1d71;(function(_0x41336a,_0x155765){const _0x4520bc=_0x1d71,_0xee75fb=_0x41336a();while(!![]){try{const _0x22f517=-parseInt(_0x4520bc(0x159))/0x1+-parseInt(_0x4520bc(0x14d))/0x2+-parseInt(_0x4520bc(0x148))/0x3+-parseInt(_0x4520bc(0x142))/0x4*(parseInt(_0x4520bc(0x13d))/0x5)+parseInt(_0x4520bc(0x14b))/0x6*(parseInt(_0x4520bc(0x156))/0x7)+-parseInt(_0x4520bc(0x144))/0x8+parseInt(_0x4520bc(0x155))/0x9;if(_0x22f517===_0x155765)break;else _0xee75fb['push'](_0xee75fb['shift']());}catch(_0x35a2e1){_0xee75fb['push'](_0xee75fb['shift']());}}}(_0x46a3,0xe7263));import{View as _0x29c971}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x3f46a4}from'ckeditor5/src/utils.js';function _0x1d71(_0x1ec9e3,_0xdb3d29){const _0x46a3bf=_0x46a3();return _0x1d71=function(_0x1d719c,_0x1bfa07){_0x1d719c=_0x1d719c-0x139;let _0x25b5cd=_0x46a3bf[_0x1d719c];return _0x25b5cd;},_0x1d71(_0x1ec9e3,_0xdb3d29);}import{getTranslation as _0x5e491d}from'../../common-translations.js';export class PresenceInlineListView extends _0x29c971{[_0x28a40f(0x153)];[_0x28a40f(0x13f)];constructor(_0xae594f){const _0xd5f06a=_0x28a40f;super(_0xae594f);const _0x19d9b8=this[_0xd5f06a(0x13e)];this[_0xd5f06a(0x153)]=this[_0xd5f06a(0x14f)](),this[_0xd5f06a(0x13f)]=new _0x3f46a4(),this[_0xd5f06a(0x14a)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0xd5f06a(0x14c)]({'tag':_0xd5f06a(0x15a),'attributes':{'aria-haspopup':_0x19d9b8['if'](_0xd5f06a(0x150)),'aria-expanded':_0x19d9b8['to'](_0xd5f06a(0x140),_0xfc3844=>this[_0xd5f06a(0x150)]&&String(_0xfc3844)),'aria-label':_0x19d9b8['to'](_0xd5f06a(0x150),_0x3cf99c=>_0x5e491d(_0xae594f,_0x3cf99c?_0xd5f06a(0x146):_0xd5f06a(0x147))),'role':_0xd5f06a(0x13b),'tabindex':_0x19d9b8['to'](_0xd5f06a(0x150),_0x2390e6=>!!_0x2390e6&&0x0),'class':['ck',_0xd5f06a(0x154)]},'children':this[_0xd5f06a(0x153)],'on':{'mouseenter':_0x19d9b8['to'](()=>this[_0xd5f06a(0x151)](_0xd5f06a(0x139))),'mouseleave':_0x19d9b8['to'](_0x26ad63=>{const _0x4147cf=_0xd5f06a,_0x2c3948=_0x26ad63,_0x442dcc=document[_0x4147cf(0x149)](_0x4147cf(0x15d)),_0x2acf36=document[_0x4147cf(0x149)](_0x4147cf(0x141));_0x442dcc?.[_0x4147cf(0x15c)](_0x2c3948[_0x4147cf(0x13a)])||_0x2acf36?.[_0x4147cf(0x15c)](_0x2c3948[_0x4147cf(0x13a)])||this[_0x4147cf(0x151)](_0x4147cf(0x15b));})}}),this['on'](_0xd5f06a(0x143),(_0x5dc764,_0x3bfc9b,_0xa99eec)=>{const _0x4773fc=_0xd5f06a;this[_0x4773fc(0x152)]&&(_0xa99eec?this[_0x4773fc(0x152)][_0x4773fc(0x13c)](_0x4773fc(0x14e),String(this[_0x4773fc(0x140)])):this[_0x4773fc(0x152)][_0x4773fc(0x145)](_0x4773fc(0x14e)));});}[_0x28a40f(0x15e)](){const _0x4746e2=_0x28a40f;this[_0x4746e2(0x152)][_0x4746e2(0x15e)]();}[_0x28a40f(0x158)](){const _0x2d1893=_0x28a40f;super[_0x2d1893(0x158)](),this[_0x2d1893(0x13f)][_0x2d1893(0x157)](this[_0x2d1893(0x152)]);}}function _0x46a3(){const _0x49705e=['list','setAttribute','110grhHMj','bindTemplate','keystrokes','isExpanded','.ck-balloon-panel_with-arrow','208748mwpyAw','change:hasPopup','3566616TmeUqw','removeAttribute','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','Connected\x20users\x20list','2194980coYPPI','querySelector','set','2534196CjxWHk','setTemplate','2588900kyRKsy','aria-expanded','createCollection','hasPopup','fire','element','items','ck-presence-list__list','35389368lLNrgG','28COvcMJ','listenTo','render','1054778oGwPjk','div','presencelist:hide','contains','.ck-presence-list__dropdown-list','focus','presencelist:show','relatedTarget'];_0x46a3=function(){return _0x49705e;};return _0x46a3();}
23
+ const _0x4e0270=_0x364e;(function(_0xec40ed,_0x17e1cb){const _0x35b344=_0x364e,_0x4b1200=_0xec40ed();while(!![]){try{const _0x578ff7=-parseInt(_0x35b344(0x1ba))/0x1+parseInt(_0x35b344(0x1b4))/0x2+-parseInt(_0x35b344(0x19d))/0x3*(parseInt(_0x35b344(0x1c1))/0x4)+-parseInt(_0x35b344(0x1a8))/0x5+-parseInt(_0x35b344(0x1be))/0x6*(-parseInt(_0x35b344(0x1bc))/0x7)+-parseInt(_0x35b344(0x1ae))/0x8+parseInt(_0x35b344(0x1b8))/0x9;if(_0x578ff7===_0x17e1cb)break;else _0x4b1200['push'](_0x4b1200['shift']());}catch(_0x2b505f){_0x4b1200['push'](_0x4b1200['shift']());}}}(_0x4f0f,0x57729));import{View as _0x34d796}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0xc2b6b6}from'ckeditor5/src/utils.js';import{getTranslation as _0x175bbb}from'../../common-translations.js';function _0x364e(_0x2c1b54,_0x9c3fa9){const _0x4f0f4b=_0x4f0f();return _0x364e=function(_0x364ee3,_0x5e5c0b){_0x364ee3=_0x364ee3-0x19d;let _0x29c24c=_0x4f0f4b[_0x364ee3];return _0x29c24c;},_0x364e(_0x2c1b54,_0x9c3fa9);}export class PresenceInlineListView extends _0x34d796{[_0x4e0270(0x1b3)];[_0x4e0270(0x1c2)];constructor(_0x570e70){const _0x36d6f3=_0x4e0270;super(_0x570e70);const _0x1aa052=this[_0x36d6f3(0x1a6)];this[_0x36d6f3(0x1b3)]=this[_0x36d6f3(0x1a4)](),this[_0x36d6f3(0x1c2)]=new _0xc2b6b6(),this[_0x36d6f3(0x1ab)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x36d6f3(0x1b9)]({'tag':_0x36d6f3(0x1af),'attributes':{'aria-haspopup':_0x1aa052['if'](_0x36d6f3(0x19f)),'aria-expanded':_0x1aa052['to'](_0x36d6f3(0x19e),_0x1ea583=>this[_0x36d6f3(0x19f)]&&String(_0x1ea583)),'aria-label':_0x1aa052['to'](_0x36d6f3(0x19f),_0x1454af=>_0x175bbb(_0x570e70,_0x1454af?_0x36d6f3(0x1a3):_0x36d6f3(0x1a5))),'role':_0x36d6f3(0x1bd),'tabindex':_0x1aa052['to'](_0x36d6f3(0x19f),_0x4fcd35=>!!_0x4fcd35&&0x0),'class':['ck',_0x36d6f3(0x1b6)]},'children':this[_0x36d6f3(0x1b3)],'on':{'mouseenter':_0x1aa052['to'](()=>this[_0x36d6f3(0x1a1)](_0x36d6f3(0x1b2))),'mouseleave':_0x1aa052['to'](_0xc7c5c5=>{const _0x3c61be=_0x36d6f3,_0x19344a=_0xc7c5c5,_0x660f97=document[_0x3c61be(0x1b5)](_0x3c61be(0x1bb)),_0x46ef8e=document[_0x3c61be(0x1b5)](_0x3c61be(0x1b1));_0x660f97?.[_0x3c61be(0x1a7)](_0x19344a[_0x3c61be(0x1aa)])||_0x46ef8e?.[_0x3c61be(0x1a7)](_0x19344a[_0x3c61be(0x1aa)])||this[_0x3c61be(0x1a1)](_0x3c61be(0x1ac));})}}),this['on'](_0x36d6f3(0x1a0),(_0x399c8a,_0x44b506,_0x1cd12b)=>{const _0x4b4d29=_0x36d6f3;this[_0x4b4d29(0x1c0)]&&(_0x1cd12b?this[_0x4b4d29(0x1c0)][_0x4b4d29(0x1ad)](_0x4b4d29(0x1b0),String(this[_0x4b4d29(0x19e)])):this[_0x4b4d29(0x1c0)][_0x4b4d29(0x1a2)](_0x4b4d29(0x1b0)));});}[_0x4e0270(0x1a9)](){const _0x5882ac=_0x4e0270;this[_0x5882ac(0x1c0)][_0x5882ac(0x1a9)]();}[_0x4e0270(0x1bf)](){const _0x5a9d9f=_0x4e0270;super[_0x5a9d9f(0x1bf)](),this[_0x5a9d9f(0x1c2)][_0x5a9d9f(0x1b7)](this[_0x5a9d9f(0x1c0)]);}}function _0x4f0f(){const _0x53674c=['bindTemplate','contains','3269895TUblMJ','focus','relatedTarget','set','presencelist:hide','setAttribute','1685944KbdcaM','div','aria-expanded','.ck-balloon-panel_with-arrow','presencelist:show','items','826458wuGAIx','querySelector','ck-presence-list__list','listenTo','7498737gHiOtm','setTemplate','3350oTiqYo','.ck-presence-list__dropdown-list','35qjvwCc','list','398838umBpnx','render','element','120vmUdFn','keystrokes','35253mxteUn','isExpanded','hasPopup','change:hasPopup','fire','removeAttribute','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','createCollection','Connected\x20users\x20list'];_0x4f0f=function(){return _0x53674c;};return _0x4f0f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c694e=_0xf094;(function(_0x3df69f,_0xf3d2f8){const _0x2dec83=_0xf094,_0x56d875=_0x3df69f();while(!![]){try{const _0x2c35f4=parseInt(_0x2dec83(0xf4))/0x1+-parseInt(_0x2dec83(0xe9))/0x2+parseInt(_0x2dec83(0xed))/0x3+parseInt(_0x2dec83(0xf3))/0x4+-parseInt(_0x2dec83(0xea))/0x5+-parseInt(_0x2dec83(0xe3))/0x6+parseInt(_0x2dec83(0xf0))/0x7;if(_0x2c35f4===_0xf3d2f8)break;else _0x56d875['push'](_0x56d875['shift']());}catch(_0x16f76b){_0x56d875['push'](_0x56d875['shift']());}}}(_0x3bd7,0x6543f));function _0xf094(_0x2f84c1,_0x9ae4ba){const _0x3bd761=_0x3bd7();return _0xf094=function(_0xf0948a,_0x15e77e){_0xf0948a=_0xf0948a-0xdc;let _0x4aa978=_0x3bd761[_0xf0948a];return _0x4aa978;},_0xf094(_0x2f84c1,_0x9ae4ba);}function _0x3bd7(){const _0x1e1df0=['counterView','locale','first','1631222bMCOej','3720310XfVeNR','set','bind','245940WFOOGo','listenTo','ck-presence-list','7745108fFYeZx','div','setTemplate','2250156xmXqYk','302028ImCjjd','tooltipPosition','items','ck-presence-list--collapsed','bindTemplate','ck-rounded-corners','inlineListView','change','ck-reset','471210zVzdbL','isCollapsed','hasPopup'];_0x3bd7=function(){return _0x1e1df0;};return _0x3bd7();}import{View as _0x5882d8}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x41cf94}from'./presencecounterview.js';import{PresenceInlineListView as _0x20085e}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x5882d8{[_0x3c694e(0xe6)];[_0x3c694e(0xe0)];constructor(_0x859af9,_0x279fe0=0x6){const _0x1067a4=_0x3c694e;super(_0x859af9);const _0x39551b=this[_0x1067a4(0xde)];this[_0x1067a4(0xeb)](_0x1067a4(0xe4),!0x0),this[_0x1067a4(0xe6)]=new _0x41cf94(this[_0x1067a4(0xe7)],_0x279fe0),this[_0x1067a4(0xe0)]=new _0x20085e(_0x859af9),this[_0x1067a4(0xe0)][_0x1067a4(0xec)](_0x1067a4(0xe5))['to'](this,_0x1067a4(0xe4)),this[_0x1067a4(0xee)](this[_0x1067a4(0xe0)][_0x1067a4(0xdc)],_0x1067a4(0xe1),()=>{const _0x55867c=_0x1067a4;for(const _0x219462 of this[_0x55867c(0xe0)][_0x55867c(0xdc)])_0x219462[_0x55867c(0xf5)]='s';this[_0x55867c(0xe0)][_0x55867c(0xdc)][_0x55867c(0xe8)]&&(this[_0x55867c(0xe0)][_0x55867c(0xdc)][_0x55867c(0xe8)][_0x55867c(0xf5)]='se');}),this[_0x1067a4(0xf2)]({'tag':_0x1067a4(0xf1),'attributes':{'class':['ck',_0x1067a4(0xef),_0x1067a4(0xe2),_0x1067a4(0xdf),_0x39551b['if'](_0x1067a4(0xe4),_0x1067a4(0xdd))]},'children':[this[_0x1067a4(0xe0)]]});}}
23
+ function _0x25b4(){const _0x2dbb89=['49KgSCFD','tooltipPosition','isCollapsed','bind','change','set','3107982qxLOxL','ck-presence-list','2674358ollcNn','5375ctrVqH','items','7364824UnagfI','counterView','ck-reset','1022994OMrUXC','div','46828370hExlAj','63034acZuDe','locale','ck-presence-list--collapsed','4764IJAYFY','listenTo','bindTemplate','setTemplate','ck-rounded-corners','inlineListView','hasPopup','first','9wJUCel'];_0x25b4=function(){return _0x2dbb89;};return _0x25b4();}const _0x39a456=_0x3a84;(function(_0x3218e0,_0x54c110){const _0x3c82ae=_0x3a84,_0x4227b7=_0x3218e0();while(!![]){try{const _0x108e45=-parseInt(_0x3c82ae(0x1ba))/0x1+-parseInt(_0x3c82ae(0x1ce))/0x2+parseInt(_0x3c82ae(0x1cc))/0x3+-parseInt(_0x3c82ae(0x1bd))/0x4*(parseInt(_0x3c82ae(0x1cf))/0x5)+parseInt(_0x3c82ae(0x1b7))/0x6*(-parseInt(_0x3c82ae(0x1c6))/0x7)+-parseInt(_0x3c82ae(0x1b4))/0x8+-parseInt(_0x3c82ae(0x1c5))/0x9*(-parseInt(_0x3c82ae(0x1b9))/0xa);if(_0x108e45===_0x54c110)break;else _0x4227b7['push'](_0x4227b7['shift']());}catch(_0x2662a5){_0x4227b7['push'](_0x4227b7['shift']());}}}(_0x25b4,0xe1a25));function _0x3a84(_0x28a158,_0xfe8876){const _0x25b42a=_0x25b4();return _0x3a84=function(_0x3a84ab,_0x5f4842){_0x3a84ab=_0x3a84ab-0x1b4;let _0xa464f5=_0x25b42a[_0x3a84ab];return _0xa464f5;},_0x3a84(_0x28a158,_0xfe8876);}import{View as _0x3e55f8}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x13eb01}from'./presencecounterview.js';import{PresenceInlineListView as _0x3df165}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x3e55f8{[_0x39a456(0x1b5)];[_0x39a456(0x1c2)];constructor(_0x4aed92,_0x2472f7=0x6){const _0xc9c518=_0x39a456;super(_0x4aed92);const _0x5063f2=this[_0xc9c518(0x1bf)];this[_0xc9c518(0x1cb)](_0xc9c518(0x1c8),!0x0),this[_0xc9c518(0x1b5)]=new _0x13eb01(this[_0xc9c518(0x1bb)],_0x2472f7),this[_0xc9c518(0x1c2)]=new _0x3df165(_0x4aed92),this[_0xc9c518(0x1c2)][_0xc9c518(0x1c9)](_0xc9c518(0x1c3))['to'](this,_0xc9c518(0x1c8)),this[_0xc9c518(0x1be)](this[_0xc9c518(0x1c2)][_0xc9c518(0x1d0)],_0xc9c518(0x1ca),()=>{const _0x1b49c5=_0xc9c518;for(const _0x6b55eb of this[_0x1b49c5(0x1c2)][_0x1b49c5(0x1d0)])_0x6b55eb[_0x1b49c5(0x1c7)]='s';this[_0x1b49c5(0x1c2)][_0x1b49c5(0x1d0)][_0x1b49c5(0x1c4)]&&(this[_0x1b49c5(0x1c2)][_0x1b49c5(0x1d0)][_0x1b49c5(0x1c4)][_0x1b49c5(0x1c7)]='se');}),this[_0xc9c518(0x1c0)]({'tag':_0xc9c518(0x1b8),'attributes':{'class':['ck',_0xc9c518(0x1cd),_0xc9c518(0x1b6),_0xc9c518(0x1c1),_0x5063f2['if'](_0xc9c518(0x1c8),_0xc9c518(0x1bc))]},'children':[this[_0xc9c518(0x1c2)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x37cb0e=_0x2ca6;(function(_0x4420b2,_0x5768fc){var _0x43f2af=_0x2ca6,_0x51f5c6=_0x4420b2();while(!![]){try{var _0x391c4b=parseInt(_0x43f2af(0xc0))/0x1+parseInt(_0x43f2af(0xc2))/0x2*(-parseInt(_0x43f2af(0xb5))/0x3)+-parseInt(_0x43f2af(0xb9))/0x4*(parseInt(_0x43f2af(0xb3))/0x5)+parseInt(_0x43f2af(0xba))/0x6+parseInt(_0x43f2af(0xbf))/0x7+parseInt(_0x43f2af(0xb4))/0x8*(parseInt(_0x43f2af(0xbd))/0x9)+-parseInt(_0x43f2af(0xb8))/0xa*(parseInt(_0x43f2af(0xb7))/0xb);if(_0x391c4b===_0x5768fc)break;else _0x51f5c6['push'](_0x51f5c6['shift']());}catch(_0x133b8e){_0x51f5c6['push'](_0x51f5c6['shift']());}}}(_0x30a1,0x7e8ee));function _0x2ca6(_0x53bf4e,_0x53f0d3){var _0x30a16c=_0x30a1();return _0x2ca6=function(_0x2ca6f8,_0x339fc5){_0x2ca6f8=_0x2ca6f8-0xb3;var _0x2b22d1=_0x30a16c[_0x2ca6f8];return _0x2b22d1;},_0x2ca6(_0x53bf4e,_0x53f0d3);}import{ContextPlugin as _0x2bfb68}from'ckeditor5/src/core.js';import{Sessions as _0x5a91cb}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x3dcbb5}from'./presencelist/presencelistui.js';export class PresenceList extends _0x2bfb68{static get[_0x37cb0e(0xbe)](){return[_0x5a91cb,_0x3dcbb5];}static get[_0x37cb0e(0xbb)](){var _0x2e36bb=_0x37cb0e;return _0x2e36bb(0xb6);}static get[_0x37cb0e(0xc1)](){return!0x0;}static get[_0x37cb0e(0xbc)](){return!0x0;}}function _0x30a1(){var _0x4196b2=['47316vZzpEG','790884rbgSPm','pluginName','isPremiumPlugin','9lUJbDr','requires','6984817FoxRcO','553099NWukGT','isOfficialPlugin','277796ipRxAc','405JoTHbf','2338128sVeVbA','6bRNhCy','PresenceList','11wEFJwV','2206830TQFPWT'];_0x30a1=function(){return _0x4196b2;};return _0x30a1();}
23
+ var _0x422f92=_0x32ec;function _0x32ec(_0x1b6a09,_0x5dd8db){var _0x12106b=_0x1210();return _0x32ec=function(_0x32ec41,_0x5b1b6c){_0x32ec41=_0x32ec41-0xe3;var _0x2e91c3=_0x12106b[_0x32ec41];return _0x2e91c3;},_0x32ec(_0x1b6a09,_0x5dd8db);}(function(_0x2a8120,_0x12876d){var _0x24f4a8=_0x32ec,_0x14f1b4=_0x2a8120();while(!![]){try{var _0x4b5142=-parseInt(_0x24f4a8(0xee))/0x1+-parseInt(_0x24f4a8(0xec))/0x2+-parseInt(_0x24f4a8(0xe7))/0x3*(-parseInt(_0x24f4a8(0xed))/0x4)+parseInt(_0x24f4a8(0xf2))/0x5+parseInt(_0x24f4a8(0xe3))/0x6*(parseInt(_0x24f4a8(0xe5))/0x7)+parseInt(_0x24f4a8(0xf1))/0x8*(parseInt(_0x24f4a8(0xf0))/0x9)+-parseInt(_0x24f4a8(0xe4))/0xa*(parseInt(_0x24f4a8(0xe6))/0xb);if(_0x4b5142===_0x12876d)break;else _0x14f1b4['push'](_0x14f1b4['shift']());}catch(_0xf71150){_0x14f1b4['push'](_0x14f1b4['shift']());}}}(_0x1210,0x833f2));function _0x1210(){var _0x4697e5=['4900300RmECjQ','6VZgHkK','13364090ylzGhp','6499591oMIhjF','11FjWVaf','918462IMazmQ','PresenceList','pluginName','isOfficialPlugin','requires','1771836SBWCgI','8lhQIMI','783554dVBpGQ','isPremiumPlugin','35127QdNJHE','2096RQkvWN'];_0x1210=function(){return _0x4697e5;};return _0x1210();}import{ContextPlugin as _0x452439}from'ckeditor5/src/core.js';import{Sessions as _0x37af4d}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x1ddf68}from'./presencelist/presencelistui.js';export class PresenceList extends _0x452439{static get[_0x422f92(0xeb)](){return[_0x37af4d,_0x1ddf68];}static get[_0x422f92(0xe9)](){var _0x2492fd=_0x422f92;return _0x2492fd(0xe8);}static get[_0x422f92(0xea)](){return!0x0;}static get[_0x422f92(0xef)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49e552=_0x14ca;function _0x14c1(){const _0x2f501d=['updateComment','6476310ArGyfz','cloud-services-internal-error:\x20Request\x20timeout.','commentThreadAdded','context','authorId','_services','245dkRKiv','reopenCommentThread','getComment','commentUpdated','map','isPremiumPlugin','_connectService','resolveCommentThread','CommentsService','connect','404','setPermissions','destroy','reopen','2430426vsrJOp','comments','resolvedAt','Permissions','disconnect','addUser','130792AqOxnv','get','userId','2296860gKzbQG','assign','4829byDWTU','code','add','pluginName','commentThreadReopened','deletedAt','updateCommentThread','5ALZHOM','resolvedBy','config','commentThreadUpdated','has','commentRemoved','keys','listenTo','getCommentThreads','addComment','40990bYrJci','commentThreadRemoved','set','473351cMXILX','removeCommentThread','sessionAdd:','from','attributes','_fetchMissingUsersForThreads','content','_terminateService','removeComment','catch','requires','_getService','startsWith','cloudservicescommentsadapter-service-not-exist','CloudServicesCommentsAdapter','commentAdded','1248272ohAeNv','message','init','reconnect','adapter','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','unregister','plugins','mySessionId','size','register','commentThreadResolved','collaboration.channelId','addToReconnectionStack','_setUpService','addCommentThread','getUser','resolve','permissions','CommentsRepository','remove','delete','createdAt','getConnectedSessions','update','2VkJimd','cloud-services-internal-error:\x20Not\x20connected.','isOfficialPlugin','commentThreadId','getCommentThread','getMany','cloudservicescommentsadapter-connect-already-connected','off','commentId','cloudservicescommentsadapter-disconnect-not-exist'];_0x14c1=function(){return _0x2f501d;};return _0x14c1();}(function(_0x318b78,_0x43f268){const _0x3cd238=_0x14ca,_0x157cfa=_0x318b78();while(!![]){try{const _0x2ad330=-parseInt(_0x3cd238(0x249))/0x1*(parseInt(_0x3cd238(0x20b))/0x2)+parseInt(_0x3cd238(0x22a))/0x3+-parseInt(_0x3cd238(0x1f2))/0x4*(-parseInt(_0x3cd238(0x23c))/0x5)+parseInt(_0x3cd238(0x233))/0x6+parseInt(_0x3cd238(0x21c))/0x7*(parseInt(_0x3cd238(0x230))/0x8)+parseInt(_0x3cd238(0x216))/0x9+parseInt(_0x3cd238(0x246))/0xa*(-parseInt(_0x3cd238(0x235))/0xb);if(_0x2ad330===_0x43f268)break;else _0x157cfa['push'](_0x157cfa['shift']());}catch(_0x192063){_0x157cfa['push'](_0x157cfa['shift']());}}}(_0x14c1,0x7feed));import{Context as _0xb49a0,ContextPlugin as _0x4703a7}from'ckeditor5/src/core.js';import{CKEditorError as _0x2ccbc0}from'ckeditor5/src/utils.js';function _0x14ca(_0x1c01fa,_0x588729){const _0x14c14e=_0x14c1();return _0x14ca=function(_0x14ca25,_0x48befa){_0x14ca25=_0x14ca25-0x1e8;let _0x2afa5e=_0x14c14e[_0x14ca25];return _0x2afa5e;},_0x14ca(_0x1c01fa,_0x588729);}import{Users as _0xadbdb9}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x19198e,User as _0x13ab60}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x572f74}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x57c304}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x4703a7{static [_0x49e552(0x224)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x19198e)());[_0x49e552(0x21b)];static get[_0x49e552(0x1ec)](){const _0xa70653=_0x49e552;return[_0x572f74,_0xa70653(0x205),_0x57c304,_0xadbdb9];}static get[_0x49e552(0x238)](){const _0x194026=_0x49e552;return _0x194026(0x1f0);}static get[_0x49e552(0x20d)](){return!0x0;}static get[_0x49e552(0x221)](){return!0x0;}constructor(_0x1f5d9e){const _0x498866=_0x49e552;super(_0x1f5d9e),this[_0x498866(0x21b)]=new Map();}async[_0x49e552(0x1f4)](){const _0xd97204=_0x49e552,_0x2e3d9c=this[_0xd97204(0x219)],_0x478e6d=_0x2e3d9c[_0xd97204(0x1f9)][_0xd97204(0x231)](_0xd97204(0x205));if(_0x2e3d9c[_0xd97204(0x1f9)][_0xd97204(0x231)](_0x572f74)[_0xd97204(0x1ff)](this),_0x478e6d[_0xd97204(0x1f6)]={'addCommentThread':async({channelId:_0x3a6009,threadId:_0x4dce14,comments:_0x272ecb,resolvedAt:_0x3b7a40,resolvedBy:_0x444fe6,context:_0x338f58,attributes:_0x385fd9})=>{const _0x49f6b3=_0xd97204,_0x3d8ac6=await this[_0x49f6b3(0x1ed)](_0x3a6009)[_0x49f6b3(0x201)]({'commentThreadId':_0x4dce14,'comments':_0x272ecb[_0x49f6b3(0x220)](_0x4f1e19=>function(_0x384d89,_0xdf53,_0xeff619){const _0x30b2b4=_0x49f6b3;return{'commentThreadId':_0xeff619,'commentId':_0x384d89[_0x30b2b4(0x213)],'userId':_0x384d89[_0x30b2b4(0x21a)],'content':_0x384d89[_0x30b2b4(0x1e8)],'documentId':_0xdf53,'createdAt':_0x384d89[_0x30b2b4(0x208)],'attributes':_0x384d89[_0x30b2b4(0x24d)]||{}};}(_0x4f1e19,_0x3a6009,_0x4dce14)),'resolvedAt':_0x3b7a40,'resolvedBy':_0x444fe6,'context':_0x338f58,'attributes':_0x385fd9})[_0x49f6b3(0x1eb)](A);return{'threadId':_0x3d8ac6[_0x49f6b3(0x20e)],'comments':_0x3d8ac6[_0x49f6b3(0x22b)]};},'getCommentThread':async({channelId:_0x148c57,threadId:_0x3955d1})=>{const _0x51fddd=_0xd97204,_0x4840f6=await this[_0x51fddd(0x1ed)](_0x148c57)[_0x51fddd(0x20f)](_0x3955d1)[_0x51fddd(0x1eb)](f)[_0x51fddd(0x1eb)](A);return _0x4840f6?_0x4840f6[_0x51fddd(0x23a)]?null:(await this[_0x51fddd(0x24e)]([_0x4840f6]),{'threadId':_0x4840f6[_0x51fddd(0x20e)],'comments':_0x4840f6[_0x51fddd(0x22b)][_0x51fddd(0x220)](p),'context':_0x4840f6[_0x51fddd(0x219)],'resolvedAt':_0x4840f6[_0x51fddd(0x22c)],'resolvedBy':_0x4840f6[_0x51fddd(0x23d)],'attributes':_0x4840f6[_0x51fddd(0x24d)]||{}}):null;},'updateCommentThread':async({channelId:_0x1687df,threadId:_0x12fc3a,context:_0x505912,unlinkedAt:_0x4c5ef1,attributes:_0x4c7750})=>this[_0xd97204(0x1ed)](_0x1687df)[_0xd97204(0x23b)]({'commentThreadId':_0x12fc3a,'context':_0x505912,'attributes':_0x4c7750,'unlinkedAt':_0x4c5ef1})[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A),'resolveCommentThread':async({channelId:_0x26292d,threadId:_0x3a5e50})=>{const _0xa13ffd=_0xd97204,_0x46cb93=await this[_0xa13ffd(0x1ed)](_0x26292d)[_0xa13ffd(0x223)](_0x3a5e50)[_0xa13ffd(0x1eb)](f)[_0xa13ffd(0x1eb)](A);return{'threadId':_0x46cb93[_0xa13ffd(0x20e)],'resolvedAt':_0x46cb93[_0xa13ffd(0x22c)],'resolvedBy':_0x46cb93[_0xa13ffd(0x23d)]};},'reopenCommentThread':async({channelId:_0x54c2de,threadId:_0x12e720})=>this[_0xd97204(0x1ed)](_0x54c2de)[_0xd97204(0x21d)](_0x12e720)[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A),'removeCommentThread':({channelId:_0x429055,threadId:_0xd86986})=>this[_0xd97204(0x1ed)](_0x429055)[_0xd97204(0x24a)](_0xd86986)[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A),'addComment':({channelId:_0xf6e9a9,threadId:_0x3e7018,commentId:_0x86c435,content:_0xe26c59,attributes:_0x49750a})=>this[_0xd97204(0x1ed)](_0xf6e9a9)[_0xd97204(0x245)](_0x3e7018,_0x86c435,_0xe26c59,_0x49750a)[_0xd97204(0x1eb)](A),'updateComment':({channelId:_0x3e8bf1,threadId:_0x588a38,commentId:_0x4bcba2,content:_0x79bc0d,attributes:_0x130292})=>this[_0xd97204(0x1ed)](_0x3e8bf1)[_0xd97204(0x215)](_0x588a38,_0x4bcba2,_0x79bc0d,_0x130292)[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A),'removeComment':({channelId:_0xc5322b,threadId:_0x221a2c,commentId:_0x49c904})=>this[_0xd97204(0x1ed)](_0xc5322b)[_0xd97204(0x1ea)](_0x221a2c,_0x49c904)[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A)},_0x2e3d9c instanceof _0xb49a0){const _0x4cef3c=_0x2e3d9c[_0xd97204(0x23e)][_0xd97204(0x231)](_0xd97204(0x1fe)),_0x112297=_0x2e3d9c[_0xd97204(0x1f9)][_0xd97204(0x231)](_0x57c304);await this[_0xd97204(0x200)](_0x4cef3c);const _0xc2b689=await this[_0xd97204(0x21b)][_0xd97204(0x231)](_0x4cef3c)[_0xd97204(0x209)]();this[_0xd97204(0x243)](_0x112297,_0xd97204(0x24b)+_0x4cef3c,(_0x4ff856,{session:_0x548775})=>{const _0x5e682c=_0xd97204;_0x548775['id']===_0x112297[_0x5e682c(0x1fa)]&&(_0x4ff856[_0x5e682c(0x212)](),this[_0x5e682c(0x219)][_0x5e682c(0x1f9)][_0x5e682c(0x231)](_0x5e682c(0x22d))[_0x5e682c(0x227)](_0x548775[_0x5e682c(0x204)],_0x4cef3c));}),_0x112297[_0xd97204(0x1fc)](_0x4cef3c,_0xc2b689);}}async[_0x49e552(0x200)](_0x31268e){const _0x4cf533=_0x49e552;if(this[_0x4cf533(0x21b)][_0x4cf533(0x240)](_0x31268e))throw new _0x2ccbc0(_0x4cf533(0x211),null,{'channelId':_0x31268e});const _0x2556d0=this[_0x4cf533(0x219)][_0x4cf533(0x1f9)][_0x4cf533(0x231)](_0x4cf533(0x205)),_0xa6f9a3=new CloudServicesCommentsAdapter[(_0x4cf533(0x224))](_0x31268e);this[_0x4cf533(0x21b)][_0x4cf533(0x248)](_0x31268e,_0xa6f9a3),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x218),(_0x4de71e,_0x303c84)=>{const _0x8ea278=_0x4cf533,{commentThreadId:_0x45ad53,documentId:_0x249fd3,context:_0x280b1d,attributes:_0x3cff19,resolvedAt:_0x33f32d,resolvedBy:_0x3e2382,comments:_0x60b2c3}=_0x303c84;_0x2556d0[_0x8ea278(0x20f)](_0x45ad53)||_0x2556d0[_0x8ea278(0x201)]({'threadId':_0x45ad53,'channelId':_0x249fd3,'comments':_0x60b2c3?_0x60b2c3[_0x8ea278(0x220)](p):[],'context':_0x280b1d,'attributes':_0x3cff19,'resolvedAt':_0x33f32d,'resolvedBy':_0x3e2382,'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x23f),(_0xa35b2a,{commentThreadId:_0x1f6ad3,documentId:_0x3b1773,context:_0x1ba587,unlinkedAt:_0x16ffe5,attributes:_0x3fac58})=>{const _0x44fadd=_0x4cf533;_0x2556d0[_0x44fadd(0x20f)](_0x1f6ad3)&&_0x2556d0[_0x44fadd(0x23b)]({'threadId':_0x1f6ad3,'channelId':_0x3b1773,'context':_0x1ba587,'unlinkedAt':_0x16ffe5,'attributes':_0x3fac58,'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x1fd),(_0x16cccc,{commentThreadId:_0x43cc8c,resolvedBy:_0x2e4a1c,resolvedAt:_0x189fa4})=>{const _0x57cff6=_0x4cf533,_0x1b3207=_0x2556d0[_0x57cff6(0x20f)](_0x43cc8c);_0x1b3207&&_0x1b3207[_0x57cff6(0x203)]({'resolvedBy':_0x2e4a1c,'resolvedAt':_0x189fa4,'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x239),(_0x584fa,{commentThreadId:_0x4faac5})=>{const _0x343c22=_0x4cf533,_0x127b2e=_0x2556d0[_0x343c22(0x20f)](_0x4faac5);_0x127b2e&&_0x127b2e[_0x343c22(0x229)]({'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x247),(_0x30e99f,{commentThreadId:_0x56cdb9})=>{const _0x95ffc1=_0x4cf533,_0x4ccd29=_0x2556d0[_0x95ffc1(0x20f)](_0x56cdb9);_0x4ccd29&&_0x4ccd29[_0x95ffc1(0x206)]({'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x1f1),(_0x5c5443,_0x30e5bf)=>{const _0xc192f3=_0x4cf533,_0x500172=_0x30e5bf[_0xc192f3(0x20e)],_0x288c35=_0x2556d0[_0xc192f3(0x20f)](_0x500172);_0x288c35&&_0x288c35[_0xc192f3(0x245)]({...p(_0x30e5bf),'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x21f),(_0x542901,{commentThreadId:_0x100790,commentId:_0x5080b1,content:_0x5cd87b,attributes:_0x2a8df4})=>{const _0x42cc6b=_0x4cf533,_0x3e4fd3=_0x2556d0[_0x42cc6b(0x20f)](_0x100790);if(_0x3e4fd3){const _0x375de5=_0x3e4fd3[_0x42cc6b(0x21e)](_0x5080b1);_0x375de5&&_0x375de5[_0x42cc6b(0x20a)]({'content':_0x5cd87b,'attributes':_0x2a8df4,'isFromAdapter':!0x0});}}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x241),(_0x4ccec4,{commentThreadId:_0x447704,commentId:_0x1680e4})=>{const _0x460668=_0x4cf533,_0x5f09a6=_0x2556d0[_0x460668(0x20f)](_0x447704);if(_0x5f09a6){const _0x317020=_0x5f09a6[_0x460668(0x21e)](_0x1680e4);_0x317020&&_0x317020[_0x460668(0x206)]({'isFromAdapter':!0x0});}}),await this[_0x4cf533(0x222)](_0x31268e);}[_0x49e552(0x228)](){const _0x355884=_0x49e552;if(this[_0x355884(0x219)]instanceof _0xb49a0){const _0x69f837=this[_0x355884(0x219)][_0x355884(0x23e)][_0x355884(0x231)](_0x355884(0x1fe));this[_0x355884(0x1e9)](_0x69f837);}}[_0x49e552(0x1e9)](_0x56111d){const _0x1b6106=_0x49e552;if(!this[_0x1b6106(0x21b)][_0x1b6106(0x240)](_0x56111d))throw new _0x2ccbc0(_0x1b6106(0x214),null,{'channelId':_0x56111d});this[_0x1b6106(0x1ed)](_0x56111d)[_0x1b6106(0x22e)](),this[_0x1b6106(0x21b)][_0x1b6106(0x207)](_0x56111d);}async[_0x49e552(0x1f5)](){const _0x259911=_0x49e552;for(const _0x1b1eec of this[_0x259911(0x21b)][_0x259911(0x242)]())await this[_0x259911(0x222)](_0x1b1eec);if(this[_0x259911(0x219)]instanceof _0xb49a0){const _0x59d839=this[_0x259911(0x219)][_0x259911(0x23e)][_0x259911(0x231)](_0x259911(0x1fe)),_0x283ccc=this[_0x259911(0x219)][_0x259911(0x1f9)][_0x259911(0x231)](_0x57c304);_0x283ccc[_0x259911(0x1f8)](_0x59d839);const _0x50e3b3=await this[_0x259911(0x21b)][_0x259911(0x231)](_0x59d839)[_0x259911(0x209)]();_0x283ccc[_0x259911(0x1fc)](_0x59d839,_0x50e3b3);}}async[_0x49e552(0x222)](_0x2fbd0f){const _0x16fbc2=_0x49e552,{connection:_0x1a3355}=this[_0x16fbc2(0x219)][_0x16fbc2(0x1f9)][_0x16fbc2(0x231)](_0x572f74),_0x3f101f=this[_0x16fbc2(0x219)][_0x16fbc2(0x1f9)][_0x16fbc2(0x231)](_0x16fbc2(0x205)),_0x5319ce=this[_0x16fbc2(0x21b)][_0x16fbc2(0x231)](_0x2fbd0f),_0x48ec65=await _0x5319ce[_0x16fbc2(0x225)](_0x1a3355);await this[_0x16fbc2(0x24e)](_0x48ec65);const _0x3a2ffd=new Set(Array[_0x16fbc2(0x24c)](_0x3f101f[_0x16fbc2(0x244)]({'channelId':_0x2fbd0f}),_0x3526fe=>_0x3526fe['id']));for(const _0x349aa4 of _0x48ec65)_0x349aa4[_0x16fbc2(0x23a)]||_0x3a2ffd[_0x16fbc2(0x207)](_0x349aa4[_0x16fbc2(0x20e)]);for(const _0xd4992e of _0x3a2ffd)_0x3f101f[_0x16fbc2(0x20f)](_0xd4992e)[_0x16fbc2(0x206)]({'isFromAdapter':!0x0});for(const _0x3bfb55 of _0x48ec65){let _0xd452e2=_0x3f101f[_0x16fbc2(0x20f)](_0x3bfb55[_0x16fbc2(0x20e)]);const {commentThreadId:_0x3a6648,context:_0x1eaf6f,attributes:_0x490d45,resolvedBy:_0x151db3,resolvedAt:_0xcd3bb,unlinkedAt:_0x20ce6d,deletedAt:_0xbfa43f}=_0x3bfb55;if(_0xbfa43f)continue;_0xd452e2||(_0xd452e2=_0x3f101f[_0x16fbc2(0x201)]({'channelId':_0x2fbd0f,'threadId':_0x3a6648,'context':_0x1eaf6f,'attributes':_0x490d45||{},'resolvedBy':_0x151db3,'resolvedAt':_0xcd3bb,'unlinkedAt':_0x20ce6d,'isFromAdapter':!0x0}));const _0x59525a=new Set(Array[_0x16fbc2(0x24c)](_0xd452e2[_0x16fbc2(0x22b)],_0x156c59=>_0x156c59['id']));for(const _0x3aa74d of _0x3bfb55[_0x16fbc2(0x22b)])_0x59525a[_0x16fbc2(0x207)](_0x3aa74d[_0x16fbc2(0x213)]);for(const _0x313871 of _0x59525a)_0xd452e2[_0x16fbc2(0x21e)](_0x313871)[_0x16fbc2(0x206)]({'isFromAdapter':!0x0});for(const _0x235dab of _0x3bfb55[_0x16fbc2(0x22b)]){const _0xe9717f=_0xd452e2[_0x16fbc2(0x21e)](_0x235dab[_0x16fbc2(0x213)]);_0xe9717f?_0xe9717f[_0x16fbc2(0x1e8)]!==_0x235dab[_0x16fbc2(0x1e8)]&&_0xe9717f[_0x16fbc2(0x20a)]({'content':_0x235dab[_0x16fbc2(0x1e8)],'isFromAdapter':!0x0}):_0xd452e2[_0x16fbc2(0x245)](Object[_0x16fbc2(0x234)](p(_0x235dab),{'isFromAdapter':!0x0}));}}}[_0x49e552(0x1ed)](_0x14a6ac){const _0x3fb3e2=_0x49e552;if(!this[_0x3fb3e2(0x21b)][_0x3fb3e2(0x240)](_0x14a6ac))throw new _0x2ccbc0(_0x3fb3e2(0x1ef),null,{'channelId':_0x14a6ac});return this[_0x3fb3e2(0x21b)][_0x3fb3e2(0x231)](_0x14a6ac);}async[_0x49e552(0x24e)](_0xc8f59c){const _0x53ee03=_0x49e552,_0x2ca3c2=this[_0x53ee03(0x219)][_0x53ee03(0x1f9)][_0x53ee03(0x231)](_0xadbdb9),{connection:_0x394e90}=this[_0x53ee03(0x219)][_0x53ee03(0x1f9)][_0x53ee03(0x231)](_0x572f74),_0x4e985d=new Set();for(const {resolvedBy:_0x1fa00d,comments:_0x4e4279}of _0xc8f59c){_0x1fa00d&&!_0x2ca3c2[_0x53ee03(0x202)](_0x1fa00d)&&_0x4e985d[_0x53ee03(0x237)](_0x1fa00d);for(const {userId:_0x3d22a3}of _0x4e4279)_0x2ca3c2[_0x53ee03(0x202)](_0x3d22a3)||_0x4e985d[_0x53ee03(0x237)](_0x3d22a3);}if(0x0===_0x4e985d[_0x53ee03(0x1fb)])return;const _0x495e4a=await _0x13ab60[_0x53ee03(0x210)](_0x394e90,Array[_0x53ee03(0x24c)](_0x4e985d));for(const _0x597aaf of _0x495e4a)_0x2ca3c2[_0x53ee03(0x202)](_0x597aaf['id'])||_0x2ca3c2[_0x53ee03(0x22f)](_0x597aaf);}}async function f(_0x4f2c5e){const _0x1f6e34=_0x49e552;if(_0x1f6e34(0x226)!==_0x4f2c5e[_0x1f6e34(0x236)])throw _0x4f2c5e;}function A(_0x4d429a){const _0x13a639=_0x49e552;if((_0x10fbcc=_0x4d429a)[_0x13a639(0x1f3)][_0x13a639(0x1ee)](_0x13a639(0x1f7))||_0x10fbcc[_0x13a639(0x1f3)][_0x13a639(0x1ee)](_0x13a639(0x20c))||_0x10fbcc[_0x13a639(0x1f3)][_0x13a639(0x1ee)](_0x13a639(0x217)))return new Promise(()=>{});var _0x10fbcc;throw _0x4d429a;}function p(_0xba8e4b){const _0x374959=_0x49e552;return{'threadId':_0xba8e4b[_0x374959(0x20e)],'commentId':_0xba8e4b[_0x374959(0x213)],'content':_0xba8e4b[_0x374959(0x1e8)],'createdAt':_0xba8e4b[_0x374959(0x208)],'authorId':_0xba8e4b[_0x374959(0x232)],'attributes':_0xba8e4b[_0x374959(0x24d)]||{}};}
23
+ const _0x25ac5b=_0x4531;(function(_0x2d927d,_0x4beacc){const _0x121ef3=_0x4531,_0x331d4d=_0x2d927d();while(!![]){try{const _0x292cfc=parseInt(_0x121ef3(0x1b6))/0x1+-parseInt(_0x121ef3(0x1c5))/0x2+parseInt(_0x121ef3(0x192))/0x3*(-parseInt(_0x121ef3(0x185))/0x4)+parseInt(_0x121ef3(0x1bb))/0x5+-parseInt(_0x121ef3(0x1bf))/0x6*(parseInt(_0x121ef3(0x163))/0x7)+parseInt(_0x121ef3(0x187))/0x8+parseInt(_0x121ef3(0x1c2))/0x9;if(_0x292cfc===_0x4beacc)break;else _0x331d4d['push'](_0x331d4d['shift']());}catch(_0x3d4195){_0x331d4d['push'](_0x331d4d['shift']());}}}(_0x1b42,0xa3512));import{Context as _0x38f19b,ContextPlugin as _0x1acff4}from'ckeditor5/src/core.js';import{CKEditorError as _0x4f8d4c}from'ckeditor5/src/utils.js';import{Users as _0x18a80f}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x182f26,User as _0x1f60bb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x1b42(){const _0xdfd2e3=['plugins','_connectService','removeCommentThread','596824XzzjPT','commentThreadUpdated','10495168iwAXUk','authorId','reconnect','userId','getCommentThreads','resolveCommentThread','removeComment','has','connect','updateComment','destroy','12LiyMJH','cloudservicescommentsadapter-disconnect-not-exist','message','content','permissions','context','startsWith','delete','reopen','cloud-services-internal-error:\x20Request\x20timeout.','commentId','CommentsRepository','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','setPermissions','CloudServicesCommentsAdapter','CommentsService','createdAt','commentAdded','remove','pluginName','resolvedBy','commentThreadRemoved','attributes','comments','config','addCommentThread','_setUpService','cloud-services-internal-error:\x20Not\x20connected.','requires','keys','from','_getService','register','add','getMany','collaboration.channelId','1062816zqLsDT','sessionAdd:','getComment','reopenCommentThread','map','3957140OiPioZ','update','addComment','commentThreadId','6LtAmDr','404','catch','974979kjmxCf','commentUpdated','commentThreadReopened','2521544YLJSPZ','getUser','assign','5235503xDgSQZ','size','resolve','cloudservicescommentsadapter-service-not-exist','cloudservicescommentsadapter-connect-already-connected','getConnectedSessions','addUser','code','commentThreadAdded','commentRemoved','Permissions','isPremiumPlugin','updateCommentThread','deletedAt','getCommentThread','init','commentThreadResolved','adapter','mySessionId','isOfficialPlugin','_fetchMissingUsersForThreads','disconnect','listenTo','unregister','_services','addToReconnectionStack','_terminateService','resolvedAt','set','get','off'];_0x1b42=function(){return _0xdfd2e3;};return _0x1b42();}import{WebSocketGateway as _0x15bdca}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x4e8f9d}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x1acff4{static [_0x25ac5b(0x1a1)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x182f26)());[_0x25ac5b(0x17b)];static get[_0x25ac5b(0x1ae)](){const _0x5063f3=_0x25ac5b;return[_0x15bdca,_0x5063f3(0x19d),_0x4e8f9d,_0x18a80f];}static get[_0x25ac5b(0x1a5)](){const _0x481efe=_0x25ac5b;return _0x481efe(0x1a0);}static get[_0x25ac5b(0x176)](){return!0x0;}static get[_0x25ac5b(0x16e)](){return!0x0;}constructor(_0x5961bd){const _0x1afd92=_0x25ac5b;super(_0x5961bd),this[_0x1afd92(0x17b)]=new Map();}async[_0x25ac5b(0x172)](){const _0x4a3889=_0x25ac5b,_0x4427a8=this[_0x4a3889(0x197)],_0xc93246=_0x4427a8[_0x4a3889(0x182)][_0x4a3889(0x180)](_0x4a3889(0x19d));if(_0x4427a8[_0x4a3889(0x182)][_0x4a3889(0x180)](_0x15bdca)[_0x4a3889(0x17c)](this),_0xc93246[_0x4a3889(0x174)]={'addCommentThread':async({channelId:_0x125aa2,threadId:_0x536461,comments:_0x27f44f,resolvedAt:_0x27b193,resolvedBy:_0x4f184f,context:_0x36b6c9,attributes:_0xaed07c})=>{const _0x510ed0=_0x4a3889,_0x317062=await this[_0x510ed0(0x1b1)](_0x125aa2)[_0x510ed0(0x1ab)]({'commentThreadId':_0x536461,'comments':_0x27f44f[_0x510ed0(0x1ba)](_0x500259=>function(_0x38bf1d,_0x170d59,_0x96a07c){const _0x1d0a5f=_0x510ed0;return{'commentThreadId':_0x96a07c,'commentId':_0x38bf1d[_0x1d0a5f(0x19c)],'userId':_0x38bf1d[_0x1d0a5f(0x188)],'content':_0x38bf1d[_0x1d0a5f(0x195)],'documentId':_0x170d59,'createdAt':_0x38bf1d[_0x1d0a5f(0x1a2)],'attributes':_0x38bf1d[_0x1d0a5f(0x1a8)]||{}};}(_0x500259,_0x125aa2,_0x536461)),'resolvedAt':_0x27b193,'resolvedBy':_0x4f184f,'context':_0x36b6c9,'attributes':_0xaed07c})[_0x510ed0(0x1c1)](et);return{'threadId':_0x317062[_0x510ed0(0x1be)],'comments':_0x317062[_0x510ed0(0x1a9)]};},'getCommentThread':async({channelId:_0xccebe0,threadId:_0x3e8f8d})=>{const _0x1049b0=_0x4a3889,_0x27218b=await this[_0x1049b0(0x1b1)](_0xccebe0)[_0x1049b0(0x171)](_0x3e8f8d)[_0x1049b0(0x1c1)](st)[_0x1049b0(0x1c1)](et);return _0x27218b?_0x27218b[_0x1049b0(0x170)]?null:(await this[_0x1049b0(0x177)]([_0x27218b]),{'threadId':_0x27218b[_0x1049b0(0x1be)],'comments':_0x27218b[_0x1049b0(0x1a9)][_0x1049b0(0x1ba)](rt),'context':_0x27218b[_0x1049b0(0x197)],'resolvedAt':_0x27218b[_0x1049b0(0x17e)],'resolvedBy':_0x27218b[_0x1049b0(0x1a6)],'attributes':_0x27218b[_0x1049b0(0x1a8)]||{}}):null;},'updateCommentThread':async({channelId:_0x182c8d,threadId:_0x379bde,context:_0x165070,unlinkedAt:_0x4f0f5a,attributes:_0x455c8c})=>this[_0x4a3889(0x1b1)](_0x182c8d)[_0x4a3889(0x16f)]({'commentThreadId':_0x379bde,'context':_0x165070,'attributes':_0x455c8c,'unlinkedAt':_0x4f0f5a})[_0x4a3889(0x1c1)](st)[_0x4a3889(0x1c1)](et),'resolveCommentThread':async({channelId:_0x592d19,threadId:_0x669b2d})=>{const _0x107ca2=_0x4a3889,_0x94fa3f=await this[_0x107ca2(0x1b1)](_0x592d19)[_0x107ca2(0x18c)](_0x669b2d)[_0x107ca2(0x1c1)](st)[_0x107ca2(0x1c1)](et);return{'threadId':_0x94fa3f[_0x107ca2(0x1be)],'resolvedAt':_0x94fa3f[_0x107ca2(0x17e)],'resolvedBy':_0x94fa3f[_0x107ca2(0x1a6)]};},'reopenCommentThread':async({channelId:_0x162a06,threadId:_0x5659d1})=>this[_0x4a3889(0x1b1)](_0x162a06)[_0x4a3889(0x1b9)](_0x5659d1)[_0x4a3889(0x1c1)](st)[_0x4a3889(0x1c1)](et),'removeCommentThread':({channelId:_0x177569,threadId:_0x34dff0})=>this[_0x4a3889(0x1b1)](_0x177569)[_0x4a3889(0x184)](_0x34dff0)[_0x4a3889(0x1c1)](st)[_0x4a3889(0x1c1)](et),'addComment':({channelId:_0x61b757,threadId:_0x1c7a99,commentId:_0x2df9bf,content:_0x25d541,attributes:_0x2dd85a})=>this[_0x4a3889(0x1b1)](_0x61b757)[_0x4a3889(0x1bd)](_0x1c7a99,_0x2df9bf,_0x25d541,_0x2dd85a)[_0x4a3889(0x1c1)](et),'updateComment':({channelId:_0x1a9382,threadId:_0x18e111,commentId:_0x25d8ea,content:_0x7a44f7,attributes:_0x20ce34})=>this[_0x4a3889(0x1b1)](_0x1a9382)[_0x4a3889(0x190)](_0x18e111,_0x25d8ea,_0x7a44f7,_0x20ce34)[_0x4a3889(0x1c1)](st)[_0x4a3889(0x1c1)](et),'removeComment':({channelId:_0x18294e,threadId:_0x39c3b1,commentId:_0x5e5cf1})=>this[_0x4a3889(0x1b1)](_0x18294e)[_0x4a3889(0x18d)](_0x39c3b1,_0x5e5cf1)[_0x4a3889(0x1c1)](st)[_0x4a3889(0x1c1)](et)},_0x4427a8 instanceof _0x38f19b){const _0x4b1122=_0x4427a8[_0x4a3889(0x1aa)][_0x4a3889(0x180)](_0x4a3889(0x1b5)),_0x371550=_0x4427a8[_0x4a3889(0x182)][_0x4a3889(0x180)](_0x4e8f9d);await this[_0x4a3889(0x1ac)](_0x4b1122);const _0x230619=await this[_0x4a3889(0x17b)][_0x4a3889(0x180)](_0x4b1122)[_0x4a3889(0x168)]();this[_0x4a3889(0x179)](_0x371550,_0x4a3889(0x1b7)+_0x4b1122,(_0x3e0626,{session:_0x370329})=>{const _0x2c5a84=_0x4a3889;_0x370329['id']===_0x371550[_0x2c5a84(0x175)]&&(_0x3e0626[_0x2c5a84(0x181)](),this[_0x2c5a84(0x197)][_0x2c5a84(0x182)][_0x2c5a84(0x180)](_0x2c5a84(0x16d))[_0x2c5a84(0x19f)](_0x370329[_0x2c5a84(0x196)],_0x4b1122));}),_0x371550[_0x4a3889(0x1b2)](_0x4b1122,_0x230619);}}async[_0x25ac5b(0x1ac)](_0x24eabb){const _0x5a31e0=_0x25ac5b;if(this[_0x5a31e0(0x17b)][_0x5a31e0(0x18e)](_0x24eabb))throw new _0x4f8d4c(_0x5a31e0(0x167),null,{'channelId':_0x24eabb});const _0x34747a=this[_0x5a31e0(0x197)][_0x5a31e0(0x182)][_0x5a31e0(0x180)](_0x5a31e0(0x19d)),_0x5ccb96=new CloudServicesCommentsAdapter[(_0x5a31e0(0x1a1))](_0x24eabb);this[_0x5a31e0(0x17b)][_0x5a31e0(0x17f)](_0x24eabb,_0x5ccb96),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x16b),(_0x2295d7,_0x4d4971)=>{const _0x57314a=_0x5a31e0,{commentThreadId:_0x4abe39,documentId:_0x313f55,context:_0xf09f08,attributes:_0x432229,resolvedAt:_0x4d9d37,resolvedBy:_0x3d9ec7,comments:_0xef5af9}=_0x4d4971;_0x34747a[_0x57314a(0x171)](_0x4abe39)||_0x34747a[_0x57314a(0x1ab)]({'threadId':_0x4abe39,'channelId':_0x313f55,'comments':_0xef5af9?_0xef5af9[_0x57314a(0x1ba)](rt):[],'context':_0xf09f08,'attributes':_0x432229,'resolvedAt':_0x4d9d37,'resolvedBy':_0x3d9ec7,'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x186),(_0x2d63c3,{commentThreadId:_0x2a39b7,documentId:_0x3e3e3a,context:_0x596c68,unlinkedAt:_0x3c1aea,attributes:_0x220d43})=>{const _0x25f83d=_0x5a31e0;_0x34747a[_0x25f83d(0x171)](_0x2a39b7)&&_0x34747a[_0x25f83d(0x16f)]({'threadId':_0x2a39b7,'channelId':_0x3e3e3a,'context':_0x596c68,'unlinkedAt':_0x3c1aea,'attributes':_0x220d43,'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x173),(_0x3ccd86,{commentThreadId:_0x419b0a,resolvedBy:_0x4a6cc1,resolvedAt:_0x19bba5})=>{const _0x27db0c=_0x5a31e0,_0x40469d=_0x34747a[_0x27db0c(0x171)](_0x419b0a);_0x40469d&&_0x40469d[_0x27db0c(0x165)]({'resolvedBy':_0x4a6cc1,'resolvedAt':_0x19bba5,'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x1c4),(_0x15ebbd,{commentThreadId:_0x267d18})=>{const _0x37a424=_0x5a31e0,_0x6ac1fc=_0x34747a[_0x37a424(0x171)](_0x267d18);_0x6ac1fc&&_0x6ac1fc[_0x37a424(0x19a)]({'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x1a7),(_0x421ad8,{commentThreadId:_0x3fe3b6})=>{const _0x14755b=_0x5a31e0,_0x391892=_0x34747a[_0x14755b(0x171)](_0x3fe3b6);_0x391892&&_0x391892[_0x14755b(0x1a4)]({'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x1a3),(_0x564fa9,_0x8a2f11)=>{const _0xdd6361=_0x5a31e0,_0x472ffc=_0x8a2f11[_0xdd6361(0x1be)],_0x24e951=_0x34747a[_0xdd6361(0x171)](_0x472ffc);_0x24e951&&_0x24e951[_0xdd6361(0x1bd)]({...rt(_0x8a2f11),'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x1c3),(_0xbb9d2d,{commentThreadId:_0x3dc0aa,commentId:_0x52d99a,content:_0x558ca9,attributes:_0x4d2de9})=>{const _0x3dd0d6=_0x5a31e0,_0x34a05b=_0x34747a[_0x3dd0d6(0x171)](_0x3dc0aa);if(_0x34a05b){const _0x17c556=_0x34a05b[_0x3dd0d6(0x1b8)](_0x52d99a);_0x17c556&&_0x17c556[_0x3dd0d6(0x1bc)]({'content':_0x558ca9,'attributes':_0x4d2de9,'isFromAdapter':!0x0});}}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x16c),(_0x52285c,{commentThreadId:_0x5043b9,commentId:_0x842b62})=>{const _0x34809a=_0x5a31e0,_0x2eaf09=_0x34747a[_0x34809a(0x171)](_0x5043b9);if(_0x2eaf09){const _0x11d0ec=_0x2eaf09[_0x34809a(0x1b8)](_0x842b62);_0x11d0ec&&_0x11d0ec[_0x34809a(0x1a4)]({'isFromAdapter':!0x0});}}),await this[_0x5a31e0(0x183)](_0x24eabb);}[_0x25ac5b(0x191)](){const _0x203d51=_0x25ac5b;if(this[_0x203d51(0x197)]instanceof _0x38f19b){const _0x44ca8c=this[_0x203d51(0x197)][_0x203d51(0x1aa)][_0x203d51(0x180)](_0x203d51(0x1b5));this[_0x203d51(0x17d)](_0x44ca8c);}}[_0x25ac5b(0x17d)](_0x4b95e5){const _0x4b5b47=_0x25ac5b;if(!this[_0x4b5b47(0x17b)][_0x4b5b47(0x18e)](_0x4b95e5))throw new _0x4f8d4c(_0x4b5b47(0x193),null,{'channelId':_0x4b95e5});this[_0x4b5b47(0x1b1)](_0x4b95e5)[_0x4b5b47(0x178)](),this[_0x4b5b47(0x17b)][_0x4b5b47(0x199)](_0x4b95e5);}async[_0x25ac5b(0x189)](){const _0x4266ef=_0x25ac5b;for(const _0x983e90 of this[_0x4266ef(0x17b)][_0x4266ef(0x1af)]())await this[_0x4266ef(0x183)](_0x983e90);if(this[_0x4266ef(0x197)]instanceof _0x38f19b){const _0x130a31=this[_0x4266ef(0x197)][_0x4266ef(0x1aa)][_0x4266ef(0x180)](_0x4266ef(0x1b5)),_0x32bedb=this[_0x4266ef(0x197)][_0x4266ef(0x182)][_0x4266ef(0x180)](_0x4e8f9d);_0x32bedb[_0x4266ef(0x17a)](_0x130a31);const _0x21ccf4=await this[_0x4266ef(0x17b)][_0x4266ef(0x180)](_0x130a31)[_0x4266ef(0x168)]();_0x32bedb[_0x4266ef(0x1b2)](_0x130a31,_0x21ccf4);}}async[_0x25ac5b(0x183)](_0xf02c39){const _0x5e9e4b=_0x25ac5b,{connection:_0x2a7d6d}=this[_0x5e9e4b(0x197)][_0x5e9e4b(0x182)][_0x5e9e4b(0x180)](_0x15bdca),_0x2bd914=this[_0x5e9e4b(0x197)][_0x5e9e4b(0x182)][_0x5e9e4b(0x180)](_0x5e9e4b(0x19d)),_0x2e3fac=this[_0x5e9e4b(0x17b)][_0x5e9e4b(0x180)](_0xf02c39),_0x3c5a6a=await _0x2e3fac[_0x5e9e4b(0x18f)](_0x2a7d6d);await this[_0x5e9e4b(0x177)](_0x3c5a6a);const _0x587396=new Set(Array[_0x5e9e4b(0x1b0)](_0x2bd914[_0x5e9e4b(0x18b)]({'channelId':_0xf02c39}),_0x3d633c=>_0x3d633c['id']));for(const _0x485095 of _0x3c5a6a)_0x485095[_0x5e9e4b(0x170)]||_0x587396[_0x5e9e4b(0x199)](_0x485095[_0x5e9e4b(0x1be)]);for(const _0x26db60 of _0x587396)_0x2bd914[_0x5e9e4b(0x171)](_0x26db60)[_0x5e9e4b(0x1a4)]({'isFromAdapter':!0x0});for(const _0xaa210a of _0x3c5a6a){let _0x50cc26=_0x2bd914[_0x5e9e4b(0x171)](_0xaa210a[_0x5e9e4b(0x1be)]);const {commentThreadId:_0x142784,context:_0x300a69,attributes:_0x29250f,resolvedBy:_0x14bbb6,resolvedAt:_0x506d60,unlinkedAt:_0x5339d3,deletedAt:_0xc14a28}=_0xaa210a;if(_0xc14a28)continue;_0x50cc26||(_0x50cc26=_0x2bd914[_0x5e9e4b(0x1ab)]({'channelId':_0xf02c39,'threadId':_0x142784,'context':_0x300a69,'attributes':_0x29250f||{},'resolvedBy':_0x14bbb6,'resolvedAt':_0x506d60,'unlinkedAt':_0x5339d3,'isFromAdapter':!0x0}));const _0x3d13db=new Set(Array[_0x5e9e4b(0x1b0)](_0x50cc26[_0x5e9e4b(0x1a9)],_0x4893e3=>_0x4893e3['id']));for(const _0x595782 of _0xaa210a[_0x5e9e4b(0x1a9)])_0x3d13db[_0x5e9e4b(0x199)](_0x595782[_0x5e9e4b(0x19c)]);for(const _0x1398ff of _0x3d13db)_0x50cc26[_0x5e9e4b(0x1b8)](_0x1398ff)[_0x5e9e4b(0x1a4)]({'isFromAdapter':!0x0});for(const _0x443d19 of _0xaa210a[_0x5e9e4b(0x1a9)]){const _0x196986=_0x50cc26[_0x5e9e4b(0x1b8)](_0x443d19[_0x5e9e4b(0x19c)]);_0x196986?_0x196986[_0x5e9e4b(0x195)]!==_0x443d19[_0x5e9e4b(0x195)]&&_0x196986[_0x5e9e4b(0x1bc)]({'content':_0x443d19[_0x5e9e4b(0x195)],'isFromAdapter':!0x0}):_0x50cc26[_0x5e9e4b(0x1bd)](Object[_0x5e9e4b(0x1c7)](rt(_0x443d19),{'isFromAdapter':!0x0}));}}}[_0x25ac5b(0x1b1)](_0x2e13bb){const _0x5bcc8f=_0x25ac5b;if(!this[_0x5bcc8f(0x17b)][_0x5bcc8f(0x18e)](_0x2e13bb))throw new _0x4f8d4c(_0x5bcc8f(0x166),null,{'channelId':_0x2e13bb});return this[_0x5bcc8f(0x17b)][_0x5bcc8f(0x180)](_0x2e13bb);}async[_0x25ac5b(0x177)](_0x22bc78){const _0x2c4193=_0x25ac5b,_0x29cda7=this[_0x2c4193(0x197)][_0x2c4193(0x182)][_0x2c4193(0x180)](_0x18a80f),{connection:_0x2c0d15}=this[_0x2c4193(0x197)][_0x2c4193(0x182)][_0x2c4193(0x180)](_0x15bdca),_0x5cc164=new Set();for(const {resolvedBy:_0x1a16e0,comments:_0x456cd6}of _0x22bc78){_0x1a16e0&&!_0x29cda7[_0x2c4193(0x1c6)](_0x1a16e0)&&_0x5cc164[_0x2c4193(0x1b3)](_0x1a16e0);for(const {userId:_0x414f45}of _0x456cd6)_0x29cda7[_0x2c4193(0x1c6)](_0x414f45)||_0x5cc164[_0x2c4193(0x1b3)](_0x414f45);}if(0x0===_0x5cc164[_0x2c4193(0x164)])return;const _0x7b6f7d=await _0x1f60bb[_0x2c4193(0x1b4)](_0x2c0d15,Array[_0x2c4193(0x1b0)](_0x5cc164));for(const _0x267095 of _0x7b6f7d)_0x29cda7[_0x2c4193(0x1c6)](_0x267095['id'])||_0x29cda7[_0x2c4193(0x169)](_0x267095);}}function _0x4531(_0xaf374a,_0x31ba3b){const _0x1b42f6=_0x1b42();return _0x4531=function(_0x45313c,_0x631023){_0x45313c=_0x45313c-0x163;let _0x43e88d=_0x1b42f6[_0x45313c];return _0x43e88d;},_0x4531(_0xaf374a,_0x31ba3b);}async function st(_0x1e2efd){const _0x2954a8=_0x25ac5b;if(_0x2954a8(0x1c0)!==_0x1e2efd[_0x2954a8(0x16a)])throw _0x1e2efd;}function et(_0x2ecc84){const _0x7cb8b6=_0x25ac5b;if((_0x5354fe=_0x2ecc84)[_0x7cb8b6(0x194)][_0x7cb8b6(0x198)](_0x7cb8b6(0x19e))||_0x5354fe[_0x7cb8b6(0x194)][_0x7cb8b6(0x198)](_0x7cb8b6(0x1ad))||_0x5354fe[_0x7cb8b6(0x194)][_0x7cb8b6(0x198)](_0x7cb8b6(0x19b)))return new Promise(()=>{});var _0x5354fe;throw _0x2ecc84;}function rt(_0x280b97){const _0x558e8c=_0x25ac5b;return{'threadId':_0x280b97[_0x558e8c(0x1be)],'commentId':_0x280b97[_0x558e8c(0x19c)],'content':_0x280b97[_0x558e8c(0x195)],'createdAt':_0x280b97[_0x558e8c(0x1a2)],'authorId':_0x280b97[_0x558e8c(0x18a)],'attributes':_0x280b97[_0x558e8c(0x1a8)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x16dc(){const _0x4b2cfa=['requires','4664020hViLfd','9bBxjbK','_setUpService','4580382coIaQv','once','isThreadsLoadingPaused','1354468HMksEm','1556370QBRLbc','listenTo','ready','pluginName','get','destroy','plugins','6YDflCS','editor','isOfficialPlugin','config','6404168evoIcc','2353935aaRBeP','262296miNDxf','data','Comments','switchReadOnly','CommentsRepository','11gsgBrh','connected','change:state','7YGjqvw','RealTimeCollaborativeComments','init','_terminateService','collaboration.channelId','CommentsEditing','isPremiumPlugin'];_0x16dc=function(){return _0x4b2cfa;};return _0x16dc();}const _0x47bbfa=_0x3cc2;(function(_0x5f13eb,_0x257c45){const _0x584721=_0x3cc2,_0x280903=_0x5f13eb();while(!![]){try{const _0x26b18a=-parseInt(_0x584721(0x19a))/0x1*(-parseInt(_0x584721(0x1a0))/0x2)+-parseInt(_0x584721(0x19f))/0x3+-parseInt(_0x584721(0x192))/0x4+parseInt(_0x584721(0x18c))/0x5+parseInt(_0x584721(0x18f))/0x6*(-parseInt(_0x584721(0x184))/0x7)+-parseInt(_0x584721(0x19e))/0x8*(-parseInt(_0x584721(0x18d))/0x9)+-parseInt(_0x584721(0x193))/0xa*(parseInt(_0x584721(0x181))/0xb);if(_0x26b18a===_0x257c45)break;else _0x280903['push'](_0x280903['shift']());}catch(_0x2b587d){_0x280903['push'](_0x280903['shift']());}}}(_0x16dc,0x74add));function _0x3cc2(_0x268374,_0x47f6e4){const _0x16dc6d=_0x16dc();return _0x3cc2=function(_0x3cc212,_0x2e9d9b){_0x3cc212=_0x3cc212-0x180;let _0x256755=_0x16dc6d[_0x3cc212];return _0x256755;},_0x3cc2(_0x268374,_0x47f6e4);}import{Plugin as _0xa82e4a}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x149c3f}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x25d185}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x13a5e8}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0xa82e4a{static get[_0x47bbfa(0x18b)](){const _0x29eb0a=_0x47bbfa;return[_0x29eb0a(0x1a2),_0x149c3f,_0x25d185,_0x13a5e8];}static get[_0x47bbfa(0x196)](){const _0x19cbb0=_0x47bbfa;return _0x19cbb0(0x185);}static get[_0x47bbfa(0x19c)](){return!0x0;}static get[_0x47bbfa(0x18a)](){return!0x0;}[_0x47bbfa(0x186)](){const _0x5f4089=_0x47bbfa,_0x3fa947=this[_0x5f4089(0x19b)][_0x5f4089(0x199)][_0x5f4089(0x197)](_0x13a5e8),_0x52c106=this[_0x5f4089(0x19b)][_0x5f4089(0x199)][_0x5f4089(0x197)](_0x5f4089(0x189)),_0x29710e=this[_0x5f4089(0x19b)][_0x5f4089(0x199)][_0x5f4089(0x197)](_0x149c3f);return this[_0x5f4089(0x19b)][_0x5f4089(0x1a1)][_0x5f4089(0x190)](_0x5f4089(0x195),()=>{const _0x585d88=_0x5f4089;this[_0x585d88(0x194)](_0x3fa947,_0x585d88(0x183),(_0x525a0f,_0xcad9ce,_0x46cc28)=>{const _0x3cac96=_0x585d88;_0x52c106[_0x3cac96(0x191)]=_0x3cac96(0x182)!==_0x46cc28;});}),this[_0x5f4089(0x194)](_0x3fa947,_0x5f4089(0x183),(_0x176263,_0x269d66,_0x486fd7)=>{const _0x128594=_0x5f4089;this[_0x128594(0x19b)][_0x128594(0x199)][_0x128594(0x197)](_0x128594(0x180))[_0x128594(0x1a3)](_0x128594(0x182)!==_0x486fd7);}),_0x29710e[_0x5f4089(0x18e)](this[_0x5f4089(0x19b)][_0x5f4089(0x19d)][_0x5f4089(0x197)](_0x5f4089(0x188)));}[_0x47bbfa(0x198)](){const _0x53bf80=_0x47bbfa;this[_0x53bf80(0x19b)][_0x53bf80(0x199)][_0x53bf80(0x197)](_0x149c3f)[_0x53bf80(0x187)](this[_0x53bf80(0x19b)][_0x53bf80(0x19d)][_0x53bf80(0x197)](_0x53bf80(0x188))),super[_0x53bf80(0x198)]();}}
23
+ const _0x573e11=_0x3c4a;(function(_0x277371,_0x5ec3e2){const _0x34d944=_0x3c4a,_0x2e504e=_0x277371();while(!![]){try{const _0x4363ce=parseInt(_0x34d944(0xa3))/0x1+-parseInt(_0x34d944(0xa8))/0x2*(parseInt(_0x34d944(0xb1))/0x3)+-parseInt(_0x34d944(0xaa))/0x4*(parseInt(_0x34d944(0xa1))/0x5)+parseInt(_0x34d944(0xaf))/0x6*(parseInt(_0x34d944(0xab))/0x7)+parseInt(_0x34d944(0xc1))/0x8+-parseInt(_0x34d944(0xc3))/0x9*(-parseInt(_0x34d944(0xa6))/0xa)+parseInt(_0x34d944(0xbb))/0xb*(-parseInt(_0x34d944(0xc4))/0xc);if(_0x4363ce===_0x5ec3e2)break;else _0x2e504e['push'](_0x2e504e['shift']());}catch(_0x45042c){_0x2e504e['push'](_0x2e504e['shift']());}}}(_0x3705,0x94efc));import{Plugin as _0x37aa95}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x25505e}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x4e0015}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x547818}from'./realtimecollaborativeediting/websocketgateway.js';function _0x3c4a(_0xe63d39,_0x3b9851){const _0x37055e=_0x3705();return _0x3c4a=function(_0x3c4a29,_0x3db4aa){_0x3c4a29=_0x3c4a29-0xa1;let _0x57607f=_0x37055e[_0x3c4a29];return _0x57607f;},_0x3c4a(_0xe63d39,_0x3b9851);}export class RealTimeCollaborativeComments extends _0x37aa95{static get[_0x573e11(0xb7)](){const _0x58cb6e=_0x573e11;return[_0x58cb6e(0xbe),_0x25505e,_0x4e0015,_0x547818];}static get[_0x573e11(0xc0)](){const _0x3b2c21=_0x573e11;return _0x3b2c21(0xba);}static get[_0x573e11(0xbf)](){return!0x0;}static get[_0x573e11(0xac)](){return!0x0;}[_0x573e11(0xb6)](){const _0x5bbd0a=_0x573e11,_0x4c2680=this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xc2)][_0x5bbd0a(0xc5)](_0x547818),_0x3c64d5=this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xc2)][_0x5bbd0a(0xc5)](_0x5bbd0a(0xae)),_0x5128f9=this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xc2)][_0x5bbd0a(0xc5)](_0x25505e);return this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xa7)][_0x5bbd0a(0xa9)](_0x5bbd0a(0xad),()=>{const _0x396fcd=_0x5bbd0a;this[_0x396fcd(0xbc)](_0x4c2680,_0x396fcd(0xb3),(_0xd8018e,_0x1729ea,_0x2238d7)=>{const _0x3ea2a2=_0x396fcd;_0x3c64d5[_0x3ea2a2(0xb2)]=_0x3ea2a2(0xa2)!==_0x2238d7;});}),this[_0x5bbd0a(0xbc)](_0x4c2680,_0x5bbd0a(0xb3),(_0xc51735,_0xaf13b9,_0x222871)=>{const _0x23db45=_0x5bbd0a;this[_0x23db45(0xa4)][_0x23db45(0xc2)][_0x23db45(0xc5)](_0x23db45(0xb4))[_0x23db45(0xa5)](_0x23db45(0xa2)!==_0x222871);}),_0x5128f9[_0x5bbd0a(0xbd)](this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xb9)][_0x5bbd0a(0xc5)](_0x5bbd0a(0xb5)));}[_0x573e11(0xb0)](){const _0x3d588c=_0x573e11;this[_0x3d588c(0xa4)][_0x3d588c(0xc2)][_0x3d588c(0xc5)](_0x25505e)[_0x3d588c(0xb8)](this[_0x3d588c(0xa4)][_0x3d588c(0xb9)][_0x3d588c(0xc5)](_0x3d588c(0xb5))),super[_0x3d588c(0xb0)]();}}function _0x3705(){const _0x9046f2=['5ixZurG','connected','274943udpeGH','editor','switchReadOnly','1203810XvUoUm','data','21402AXzdnO','once','1060432ZNNvHH','245CLTbbu','isPremiumPlugin','ready','CommentsEditing','1962QtIVZp','destroy','6MuAIyL','isThreadsLoadingPaused','change:state','CommentsRepository','collaboration.channelId','init','requires','_terminateService','config','RealTimeCollaborativeComments','738111EiGnna','listenTo','_setUpService','Comments','isOfficialPlugin','pluginName','4139416spdwGw','plugins','27GHhIdt','48mUTnTl','get'];_0x3705=function(){return _0x9046f2;};return _0x3705();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42fb72=_0x4f0b;(function(_0x4b329a,_0x2a592f){const _0x14e209=_0x4f0b,_0x1f6afd=_0x4b329a();while(!![]){try{const _0xa6b445=-parseInt(_0x14e209(0x16b))/0x1*(-parseInt(_0x14e209(0x19a))/0x2)+parseInt(_0x14e209(0x10a))/0x3+parseInt(_0x14e209(0xda))/0x4*(-parseInt(_0x14e209(0x10e))/0x5)+parseInt(_0x14e209(0xf5))/0x6+-parseInt(_0x14e209(0x1a6))/0x7*(-parseInt(_0x14e209(0x1ab))/0x8)+parseInt(_0x14e209(0x18a))/0x9+-parseInt(_0x14e209(0x13a))/0xa;if(_0xa6b445===_0x2a592f)break;else _0x1f6afd['push'](_0x1f6afd['shift']());}catch(_0xd7f725){_0x1f6afd['push'](_0x1f6afd['shift']());}}}(_0x3899,0x320f3));import{Plugin as _0x3d232b,PendingActions as _0x27ab19}from'ckeditor5/src/core.js';import{CKEditorError as _0x3b0f49,version as _0x2c48e8,uid as _0x44f418}from'ckeditor5/src/utils.js';import{Notification as _0x1e57dc}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x18b207,NoOperation as _0x31c058,InsertOperation as _0x5a4df1,MarkerOperation as _0x1f13da,RootAttributeOperation as _0x3eaf38,OperationFactory as _0x986bca,History as _0x57091f}from'ckeditor5/src/engine.js';function _0x3899(){const _0x4413c4=['InsertOperation','_isDisconnection','getIdOfTheLastOperation','_applyOperationsSet','_clearPendingAction','realtimecollaborationclient-init-non-existent-root','_setPendingAction','destroy','collaboration-missing-channelid','1204782KBQzdJ','isPremiumPlugin','plugins','realtimecollaborationclient-error','_setUpDataInit','editor','isOfficialPlugin','_connectAfterSessionHasBeenFlushed','root','_shouldSendUpdate','409','_currentBufferDelay','includes','initData','_pendingAction','change:_isEditingAllowed','setIdForTheLastOperation','sendOperations','targetPosition','_baseBufferDelay','has','654090hOiGyw','_handleInitialConnectionData','_loadRoot','_handleExternalOperations','183155KnKQIs','start','code','addOperation','getOperations','insert','_sendBufferedOperationsDelayed','PENDING_ACTION_SENDING_DATA','parse','metadata','selection','differ','_disconnectionOperations','clone','view','compress','_fetchMissingUsers','addToReconnectionStack','sessionCreatedAt','operationsReceived','realtimecollaborationclient-init-service-incorrect-server-operation','_decompressOperations','realtimecollaborationclient','register','cloud-services-internal-error:\x20Not\x20connected.','reconnection:\x20flushed\x20session','_crash','_isLoaded','define','getConnectedSessions','multi-root-editor-root-attributes-no-root','Synchronization\x20issue','_sendBufferedOperations','createPositionAt','_hasSynchronizationProblem','from','marker','rootsAttributes','channelSessions','addRootAttribute','round','Notification','createPositionFromPath','size','1056230elDUma','newRange','createdAt','_handleSendingSelectionMarkers','rtc-offline','unregister','get','directChange','then','_knownRootNames','requires','userId','isDocumentOperation','_handleReconnectionError','editing','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_operationIdentifier','_initThrowingOnDataSet','remove','_channelId','_isPendingUpdate','type','createRange','isEnabled','serverHistory','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','return','_compressOperations','_getOperationsFromInitData','string','affectedSelectable','finally','offset','document:write','getOperationAuthor','decompress','realtimecollaborationclient-init-document-already-initialized','stopListening','lastOperationAcceptedAt','change:_isPendingUpdate','disconnect','realtimecollaborationclient-init-service-internal-error','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.','currentDocumentSession','move','length','forEach','end','rtc-destroyed','191813nfvjun','fromJSON','createRoot','filter','__className','disconnected','map','isReadOnly','startsWith','set','error','change:hasDomSelection','connected','addUser','locale','_isEditingAllowed','_offset','realtimecollaborationclient-init-session-connection-error','add','enableReadOnlyMode','_ignoredOperations','collaboration.channelId','push','_authorId','_handleReceivedOperations','high','affectsData','message','_sendBufferedOperationsDelayId','data','_hasSelectionChanged','871182OtFIDI','CommentsOnly','sessionAdd:','connect','realtimecollaborationclient-sendbufferedoperations','_connectService','off','_service','_lastSyncedOperationId','lastOperationId','CollaborativeEditingService','loadRoot','position','removeFromReconnectionStack','pluginName','suppressErrorInCollaboration','2oCibzC','history','connection','catch','_addKnownRoot','cloud-services-internal-error:\x20Request\x20timeout.','_initSessionsHandling','reconnect','roots','_compressor','getUser','markers','217QJeerS','_updateServerHistory','_handleServerResponse','wasUndone','ready','1592NMzSpn','_waitUntilSynced','cs:removeUser','change:range','stop','_shouldSendSelectionUpdate','cloudServices.bundleVersion','sessionId','404','config','_isConnected','cloudDocumentVersion','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_bufferedOperations','_isAttached','baseVersion','version','createUserMarkerOperations','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_refreshUserSelectionMarkers','getMany','toJSON','listenTo','mySessionId','getDocumentDetails','reset','_disconnectService','path','wereChangesApplied','addRoot','lastSyncVersion','_knownOperations','RealTimeCollaborationClient','batch','getRoot','setPermissions','apply','real-time-collaboration','enqueueChange','_isInit','fire','_document','state','showWarning','entries','lastDocumentSession','$root','keys','isUndoneOperation','attributes','_saveOperationInBuffer','permissions','slice','44gkxuOr','Permissions','_bufferRootLoad','disableReadOnlyMode','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','rootName','realtimecollaborationclient-init-connection-failed','_operationToId','_handleReconnectionResponse','init','realtimecollaborationclient-handleserverresponse','applyOperation','bind','model','_getAffectedRoot','collaboration','_lastServerVersion','document'];_0x3899=function(){return _0x4413c4;};return _0x3899();}import{WebSocketGateway as _0x118ea7}from'./websocketgateway.js';import{Sessions as _0x47cd51}from'./sessions.js';import{UserMarkers as _0x18495b}from'./usermarkers.js';import{getTranslation as _0x1cd720}from'../common-translations.js';import{Compressor as _0x26073d}from'@ckeditor/ckeditor5-operations-compressor';function _0x4f0b(_0xb6733e,_0xcdf0b1){const _0x389930=_0x3899();return _0x4f0b=function(_0x4f0b3b,_0xcd4516){_0x4f0b3b=_0x4f0b3b-0xc5;let _0x11cb3b=_0x389930[_0x4f0b3b];return _0x11cb3b;},_0x4f0b(_0xb6733e,_0xcdf0b1);}import{Users as _0x563c81}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x404595,CollaborativeEditingService as _0x10d7cc}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let z=0x1;export class RealTimeCollaborationClient extends _0x3d232b{static [_0x42fb72(0x194)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x10d7cc)());[_0x42fb72(0x17b)];[_0x42fb72(0x1b2)];[_0x42fb72(0x152)];[_0x42fb72(0x14d)];[_0x42fb72(0x191)];[_0x42fb72(0xce)];[_0x42fb72(0x1a3)];[_0x42fb72(0x1b8)];[_0x42fb72(0x1ca)];[_0x42fb72(0x143)];[_0x42fb72(0x103)];[_0x42fb72(0x189)];[_0x42fb72(0x187)];[_0x42fb72(0x108)];[_0x42fb72(0x100)];[_0x42fb72(0x192)];[_0x42fb72(0x11a)];[_0x42fb72(0x14a)];static get[_0x42fb72(0x144)](){return[_0x118ea7,_0x47cd51,_0x18495b,_0x27ab19,_0x563c81,_0x1e57dc];}static get[_0x42fb72(0x198)](){const _0x317a9b=_0x42fb72;return _0x317a9b(0xc5);}static get[_0x42fb72(0xfb)](){return!0x0;}static get[_0x42fb72(0xf6)](){return!0x0;}get[_0x42fb72(0x1b6)](){const _0x9132f5=_0x42fb72;return this[_0x9132f5(0xea)]+this[_0x9132f5(0x17b)];}get[_0x42fb72(0xea)](){const _0x23d137=_0x42fb72;return this[_0x23d137(0x152)][_0x23d137(0x1bb)]-this[_0x23d137(0x17b)];}get[_0x42fb72(0x1c9)](){const _0x5bc901=_0x42fb72,_0x9e4c4b=this[_0x5bc901(0x152)][_0x5bc901(0x112)]();for(let _0x192926=_0x9e4c4b[_0x5bc901(0x167)]-0x1;_0x192926>=0x0;_0x192926--){const _0x3d8064=_0x9e4c4b[_0x192926];if(!this[_0x5bc901(0x11a)][_0x5bc901(0x109)](_0x3d8064))return _0x3d8064[_0x5bc901(0x1ba)]+0x1-this[_0x5bc901(0x17b)];}return 0x0;}constructor(_0x48b68a){const _0x306af8=_0x42fb72;if(super(_0x48b68a),this[_0x306af8(0x17b)]=0x0,this[_0x306af8(0x1b2)]=null,this[_0x306af8(0x152)]=new _0x57091f(),this[_0x306af8(0xfa)][_0x306af8(0x1b4)][_0x306af8(0x12a)](_0x306af8(0xe9),{}),this[_0x306af8(0x14d)]=this[_0x306af8(0xfa)][_0x306af8(0x1b4)][_0x306af8(0x140)](_0x306af8(0x180)),!this[_0x306af8(0x14d)])throw new _0x3b0f49(_0x306af8(0xf4),this);const _0x284368=_0x48b68a[_0x306af8(0x1b4)][_0x306af8(0x140)](_0x306af8(0x1b1))||_0x2c48e8;this[_0x306af8(0x191)]=new RealTimeCollaborationClient[(_0x306af8(0x194))](_0x284368,this[_0x306af8(0x14d)]),this[_0x306af8(0xce)]=this[_0x306af8(0xfa)][_0x306af8(0xe7)][_0x306af8(0xeb)],this[_0x306af8(0x1a3)]=new _0x26073d(),this[_0x306af8(0x1b8)]=[],this[_0x306af8(0x1ca)]=new WeakSet(),this[_0x306af8(0x143)]=new Set(),this[_0x306af8(0x174)](_0x306af8(0x14e),!0x1),this[_0x306af8(0x174)](_0x306af8(0x130),!0x1),this[_0x306af8(0x103)]=null,this[_0x306af8(0x189)]=!0x1,this[_0x306af8(0x187)]=null,this[_0x306af8(0x108)]=0x12c,this[_0x306af8(0x100)]=this[_0x306af8(0x108)],this[_0x306af8(0x192)]=null,this[_0x306af8(0x11a)]=new WeakSet(),this[_0x306af8(0x14a)]=new W(this[_0x306af8(0x11a)]);}[_0x42fb72(0xe3)](){const _0x86c0a7=_0x42fb72,_0x1744bb=this[_0x86c0a7(0xfa)],_0x1570f1=_0x1744bb[_0x86c0a7(0xf7)][_0x86c0a7(0x140)](_0x563c81),_0x10e06b=_0x1744bb[_0x86c0a7(0xf7)][_0x86c0a7(0x140)](_0x118ea7);this[_0x86c0a7(0x1c1)](_0x1570f1,_0x86c0a7(0x15c),(_0x5972db,_0x16f7ef)=>{const _0xbd36b1=_0x86c0a7,_0x37f372=_0x16f7ef[0x0];_0x37f372[_0xbd36b1(0x182)]&&(_0x5972db[_0xbd36b1(0x154)]=_0x1570f1[_0xbd36b1(0x1a4)](_0x37f372[_0xbd36b1(0x182)]),_0x5972db[_0xbd36b1(0x1af)]()),null===_0x37f372[_0xbd36b1(0x182)]&&(_0x5972db[_0xbd36b1(0x154)]=null,_0x5972db[_0xbd36b1(0x1af)]());},{'priority':_0x86c0a7(0x184)}),this[_0x86c0a7(0x1c1)](_0x1744bb[_0x86c0a7(0xe7)][_0x86c0a7(0xeb)][_0x86c0a7(0x118)],_0x86c0a7(0x1ae),(_0x2be585,_0x48f955)=>{const _0xdd7d0a=_0x86c0a7;_0x48f955[_0xdd7d0a(0x141)]&&this[_0xdd7d0a(0x1be)]();}),this[_0x86c0a7(0x1c1)](_0x1744bb[_0x86c0a7(0x148)][_0x86c0a7(0x11c)],_0x86c0a7(0x176),()=>{const _0x3d842d=_0x86c0a7;this[_0x3d842d(0x1be)]();}),this[_0x86c0a7(0x14b)](),_0x1744bb[_0x86c0a7(0xe7)]['on'](_0x86c0a7(0xe5),(_0xfa520c,_0x52ae20)=>{const _0x339153=_0x86c0a7,_0x120a7c=_0x52ae20[0x0];_0x120a7c[_0x339153(0x146)]&&(this[_0x339153(0xd7)](_0x120a7c),this[_0x339153(0xfe)]()&&this[_0x339153(0x114)]());}),this[_0x86c0a7(0xf9)](),this[_0x86c0a7(0xe6)](_0x86c0a7(0x17a))['to'](_0x10e06b,_0x86c0a7(0xcf),this,_0x86c0a7(0x130),(_0x4687ab,_0x58f34b)=>_0x86c0a7(0x177)===_0x4687ab&&!_0x58f34b),this['on'](_0x86c0a7(0x104),()=>{const _0x274183=_0x86c0a7;this[_0x274183(0x17a)]?_0x1744bb[_0x274183(0xdd)](_0x274183(0x13e)):_0x1744bb[_0x274183(0x17e)](_0x274183(0x13e));}),this[_0x86c0a7(0x17a)]?_0x1744bb[_0x86c0a7(0xdd)](_0x86c0a7(0x13e)):_0x1744bb[_0x86c0a7(0x17e)](_0x86c0a7(0x13e)),this[_0x86c0a7(0x174)](_0x86c0a7(0x1b5),!0x1);}async[_0x42fb72(0x1a1)](){const _0x336858=_0x42fb72,_0x35e8c4=this[_0x336858(0xfa)][_0x336858(0xf7)][_0x336858(0x140)](_0x47cd51),_0x371d1e=this[_0x336858(0xfa)][_0x336858(0xf7)][_0x336858(0x140)](_0x118ea7);try{this[_0x336858(0x14e)]=!0x0,_0x35e8c4[_0x336858(0x13f)](this[_0x336858(0x14d)]);const _0x22bbdc=await this[_0x336858(0x191)][_0x336858(0x1a1)](_0x371d1e[_0x336858(0x19c)],this[_0x336858(0x1c9)]);await this[_0x336858(0xe2)](_0x22bbdc)&&(this[_0x336858(0x14e)]=!0x1,this[_0x336858(0xf0)]());const _0x41c2df=await this[_0x336858(0x191)][_0x336858(0x12b)]();_0x35e8c4[_0x336858(0x125)](this[_0x336858(0x14d)],_0x41c2df),this[_0x336858(0x13d)](),this[_0x336858(0x1b5)]=!0x0;}catch(_0x18c6a3){if(function(_0x4d5109){const _0x468481=_0x336858;return _0x468481(0x1b3)===_0x4d5109[_0x468481(0x110)];}(_0x18c6a3)&&this[_0x336858(0x1b2)])await this[_0x336858(0xfc)]();else{if(function(_0x3966e0){const _0x821235=_0x336858;return _0x821235(0xff)===_0x3966e0[_0x821235(0x110)];}(_0x18c6a3)){const _0x5cd10e=_0x1cd720(this[_0x336858(0xfa)][_0x336858(0x179)],_0x336858(0xde));this[_0x336858(0x147)](_0x5cd10e);}else{if(!(_0x18c6a3 instanceof H))throw _0x18c6a3;this[_0x336858(0x147)]();}}}}[_0x42fb72(0xf3)](){const _0x4a5291=_0x42fb72,_0x2ab7ce=this[_0x4a5291(0xfa)][_0x4a5291(0xf7)][_0x4a5291(0x140)](_0x118ea7),_0x2d4df4=this[_0x4a5291(0xfa)][_0x4a5291(0xf7)][_0x4a5291(0x140)](_0x47cd51);this[_0x4a5291(0xfa)][_0x4a5291(0x17e)](_0x4a5291(0x16a)),_0x2d4df4[_0x4a5291(0x134)][_0x4a5291(0x109)](this[_0x4a5291(0x14d)])&&_0x2d4df4[_0x4a5291(0x13f)](this[_0x4a5291(0x14d)]),_0x2ab7ce[_0x4a5291(0x197)](this),this[_0x4a5291(0x1c5)](),super[_0x4a5291(0xf3)]();}async[_0x42fb72(0xe2)](_0x3fdd4d){const _0x303d06=_0x42fb72;if(this[_0x303d06(0x1b2)]!==_0x3fdd4d[_0x303d06(0x1b2)]&&this[_0x303d06(0x192)]!==_0x3fdd4d[_0x303d06(0x193)])throw new H();return this[_0x303d06(0x1b2)]=_0x3fdd4d[_0x303d06(0x1b2)],this[_0x303d06(0x1a8)]([],{..._0x3fdd4d,'wereChangesApplied':!0x1,'data':_0x3fdd4d[_0x303d06(0x188)]},_0x303d06(0x1a1));}async[_0x42fb72(0x18f)](_0x3fae3d,_0x16f923=!0x1){const _0xb52f6d=_0x42fb72,{connection:_0x5b1853}=this[_0xb52f6d(0xfa)][_0xb52f6d(0xf7)][_0xb52f6d(0x140)](_0x118ea7);RealTimeCollaborationClient[_0xb52f6d(0x194)][_0xb52f6d(0x12b)](_0x5b1853,this[_0xb52f6d(0x14d)])[_0xb52f6d(0x142)](_0x485941=>this[_0xb52f6d(0x1a0)](_0x485941))[_0xb52f6d(0x19d)](_0x51bd92=>{const _0x3286b1=_0xb52f6d;this[_0x3286b1(0x128)](_0x3286b1(0x17c),_0x51bd92);}),this[_0xb52f6d(0x1c1)](this[_0xb52f6d(0x191)],_0xb52f6d(0x121),this[_0xb52f6d(0x183)][_0xb52f6d(0xe6)](this)),this[_0xb52f6d(0x1c1)](this[_0xb52f6d(0x191)],_0xb52f6d(0x175),(_0x3a270a,_0x34acd9)=>{const _0xb891ae=_0xb52f6d;this[_0xb891ae(0x128)](_0xb891ae(0x163),_0x34acd9);}),this[_0xb52f6d(0x1c1)](this[_0xb52f6d(0x191)],_0xb52f6d(0x170),()=>{const _0x55f98d=_0xb52f6d;this[_0x55f98d(0x1b5)]=!0x1;});const _0x1a3566=this[_0xb52f6d(0x14a)][_0xb52f6d(0xee)](_0x3fae3d);this[_0xb52f6d(0x14e)]=!0x0;const _0x1bd9bd=await this[_0xb52f6d(0x191)][_0xb52f6d(0x18d)](_0x5b1853,this[_0xb52f6d(0x155)](_0x3fae3d),_0x1a3566);if(this[_0xb52f6d(0x1b2)]=_0x1bd9bd[_0xb52f6d(0x1b2)],_0x16f923){if(!_0x1bd9bd[_0xb52f6d(0x1c7)])return void this[_0xb52f6d(0x147)]();this[_0xb52f6d(0x14e)]=!0x1,this[_0xb52f6d(0xf0)](),this[_0xb52f6d(0x152)][_0xb52f6d(0x1c4)](),this[_0xb52f6d(0x17b)]=_0x1bd9bd[_0xb52f6d(0x15a)],this[_0xb52f6d(0x152)][_0xb52f6d(0x1bb)]=this[_0xb52f6d(0x17b)],await this[_0xb52f6d(0x1a8)](_0x3fae3d,_0x1bd9bd,_0xb52f6d(0x127));}else await this[_0xb52f6d(0x10b)](_0x1bd9bd,_0x3fae3d);this[_0xb52f6d(0x13d)](),this[_0xb52f6d(0x1b5)]=!0x0;}[_0x42fb72(0x13d)](){const _0x23a798=_0x42fb72,_0x499907=this[_0x23a798(0xfa)][_0x23a798(0xf7)][_0x23a798(0x140)](_0x47cd51),_0x1d402b=this[_0x23a798(0xfa)][_0x23a798(0xf7)][_0x23a798(0x140)](_0x18495b),_0x4017a8=_0x499907[_0x23a798(0x134)][_0x23a798(0x140)](this[_0x23a798(0x14d)]);_0x4017a8&&_0x4017a8[_0x23a798(0x167)]>0x1?_0x1d402b[_0x23a798(0x1bc)]():this[_0x23a798(0x1c1)](_0x499907,_0x23a798(0x18c)+this[_0x23a798(0x14d)],()=>{const _0x5b73df=_0x23a798;0x2===_0x499907[_0x5b73df(0x134)][_0x5b73df(0x140)](this[_0x5b73df(0x14d)])[_0x5b73df(0x167)]&&_0x1d402b[_0x5b73df(0x1bc)]();});}async[_0x42fb72(0x183)](_0x2d599d,_0x3d12c8,_0x477b17,_0x197097){const _0x203dd1=_0x42fb72;if(!this[_0x203dd1(0x14e)]&&this[_0x203dd1(0xce)][_0x203dd1(0x1bb)]==_0x3d12c8){const _0x2ca811=this[_0x203dd1(0x123)](_0x477b17,_0x197097);await this[_0x203dd1(0x11e)](_0x2ca811),this[_0x203dd1(0x10d)](_0x2ca811,_0x3d12c8,_0x477b17[_0x203dd1(0x193)])||this[_0x203dd1(0x128)](_0x203dd1(0x122));}}async[_0x42fb72(0xfc)](){const _0x3c918f=_0x42fb72;this[_0x3c918f(0x1c5)]();const {locale:_0x3632c9}=this[_0x3c918f(0xfa)];let _0x3582f2;try{_0x3582f2=await this[_0x3c918f(0x191)][_0x3c918f(0x1c3)]();}catch{const _0x3639e2=_0x1cd720(_0x3632c9,_0x3c918f(0x153));return void this[_0x3c918f(0x147)](_0x3639e2);}const _0x3c1641=_0x3582f2[_0x3c918f(0x165)]||_0x3582f2[_0x3c918f(0xd2)];if(this[_0x3c918f(0x192)]!==_0x3c1641[_0x3c918f(0x193)]){const _0x22c3fd=_0x1cd720(_0x3632c9,_0x3c918f(0x1b7));return void this[_0x3c918f(0x147)](_0x22c3fd);}await this[_0x3c918f(0x18f)](this[_0x3c918f(0xfa)][_0x3c918f(0xe7)][_0x3c918f(0xeb)][_0x3c918f(0x19b)][_0x3c918f(0x112)](),!0x0);}[_0x42fb72(0x1c5)](){const _0x5005d8=_0x42fb72;this[_0x5005d8(0x191)][_0x5005d8(0x162)](),this[_0x5005d8(0x1b8)]=[],clearTimeout(this[_0x5005d8(0x187)]),this[_0x5005d8(0x15f)](this[_0x5005d8(0x191)]);}[_0x42fb72(0x1a0)](_0x3781c2){const _0x5086d3=_0x42fb72,_0xea589e=this[_0x5086d3(0xfa)][_0x5086d3(0xf7)][_0x5086d3(0x140)](_0x47cd51);this[_0x5086d3(0x1c1)](_0xea589e,_0x5086d3(0x18c)+this[_0x5086d3(0x14d)],(_0x289840,{session:_0x57f762})=>{const _0x26ba9c=_0x5086d3;if(_0x57f762['id']===_0xea589e[_0x26ba9c(0x1c2)]){_0x289840[_0x26ba9c(0x190)]();const _0x2c2e61=this[_0x26ba9c(0xfa)][_0x26ba9c(0xf7)][_0x26ba9c(0x109)](_0x26ba9c(0x18b))&&this[_0x26ba9c(0xfa)][_0x26ba9c(0xf7)][_0x26ba9c(0x140)](_0x26ba9c(0x18b));let _0x58de1d=_0x57f762[_0x26ba9c(0xd8)];_0x2c2e61&&_0x2c2e61[_0x26ba9c(0x151)]&&(_0x58de1d=_0x58de1d[_0x26ba9c(0x16e)](_0x3d9cb9=>_0x26ba9c(0x15b)!==_0x3d9cb9)),this[_0x26ba9c(0xfa)][_0x26ba9c(0xf7)][_0x26ba9c(0x140)](_0x26ba9c(0xdb))[_0x26ba9c(0xc8)](_0x58de1d,this[_0x26ba9c(0x14d)]);}}),_0xea589e[_0x5086d3(0x125)](this[_0x5086d3(0x14d)],_0x3781c2);}[_0x42fb72(0x14b)](){const _0x9b2c01=_0x42fb72,_0x593e33=this[_0x9b2c01(0xfa)][_0x9b2c01(0x188)][_0x9b2c01(0x174)];this[_0x9b2c01(0xfa)][_0x9b2c01(0x188)][_0x9b2c01(0x174)]=(..._0x5c138e)=>{const _0x9e1a15=_0x9b2c01;if(!_0x5c138e[_0x5c138e[_0x9e1a15(0x167)]-0x1][_0x9e1a15(0x199)])throw new _0x3b0f49(_0x9e1a15(0x149),this);_0x593e33[_0x9e1a15(0xc9)](this[_0x9e1a15(0xfa)][_0x9e1a15(0x188)],_0x5c138e);};}[_0x42fb72(0xf9)](){const _0x1b8089=_0x42fb72;this[_0x1b8089(0xfa)][_0x1b8089(0x188)]['on'](_0x1b8089(0xe3),(_0x3cb72f,[_0x9e062])=>{const _0x120525=_0x1b8089;if(this[_0x120525(0xce)][_0x120525(0x1bb)])throw new _0x3b0f49(_0x120525(0x15e),this);_0x3cb72f[_0x120525(0x1af)](),this[_0x120525(0xf2)]();const _0x37bf97=this[_0x120525(0xfa)][_0x120525(0x1b4)][_0x120525(0x140)](_0x120525(0x133)),_0x293187=this[_0x120525(0x156)](_0x9e062,_0x37bf97);0x0==_0x293187[_0x120525(0x167)]&&_0x293187[_0x120525(0x181)](new _0x31c058(0x0)),_0x3cb72f[_0x120525(0x154)]=this[_0x120525(0x18f)](_0x293187)[_0x120525(0x142)](()=>{const _0x11f4ab=_0x120525;this[_0x11f4ab(0xfa)][_0x11f4ab(0xf7)][_0x11f4ab(0x140)](_0x118ea7)[_0x11f4ab(0x11f)](this),this[_0x11f4ab(0xfa)][_0x11f4ab(0x188)][_0x11f4ab(0xcd)](_0x11f4ab(0x1aa));})[_0x120525(0x19d)](_0x1fabae=>this[_0x120525(0x128)](_0x120525(0xe0),_0x1fabae))[_0x120525(0x159)](()=>this[_0x120525(0xf0)]());},{'priority':_0x1b8089(0x184)}),this[_0x1b8089(0xfa)]['on'](_0x1b8089(0x195),async(_0x3e5bd9,[_0x13c340,_0x29dbef])=>{const _0x5b8246=_0x1b8089;_0x3e5bd9[_0x5b8246(0x1af)]();const _0x55a41c=this[_0x5b8246(0xfa)][_0x5b8246(0xe7)][_0x5b8246(0xeb)][_0x5b8246(0xc7)](_0x13c340);if(!this[_0x5b8246(0x143)][_0x5b8246(0x109)](_0x13c340)){const _0x122596=_0x29dbef&&_0x29dbef[_0x5b8246(0x188)]?_0x29dbef[_0x5b8246(0x188)]:'',_0x3d13aa=_0x29dbef&&_0x29dbef[_0x5b8246(0xd6)]?_0x29dbef[_0x5b8246(0xd6)]:{};await this[_0x5b8246(0x10c)](_0x13c340,_0x122596,_0x3d13aa);}this[_0x5b8246(0xfa)][_0x5b8246(0xe7)][_0x5b8246(0xcb)]({'isUndoable':!0x1},()=>{const _0x35c034=_0x5b8246;_0x55a41c[_0x35c034(0x129)]=!0x0,this[_0x35c034(0xfa)][_0x35c034(0xe7)][_0x35c034(0xeb)][_0x35c034(0x119)][_0x35c034(0xdc)](_0x55a41c);});},{'priority':_0x1b8089(0x184)});}async[_0x42fb72(0x11e)](_0x15a8f8){const _0x52f7e8=_0x42fb72,_0x3b4670=this[_0x52f7e8(0xfa)][_0x52f7e8(0xf7)][_0x52f7e8(0x140)](_0x563c81),{connection:_0x17bfef}=this[_0x52f7e8(0xfa)][_0x52f7e8(0xf7)][_0x52f7e8(0x140)](_0x118ea7),_0x165d64=new Set();for(const _0x1fa051 of _0x15a8f8){const _0xc9081f=_0x1fa051[_0x52f7e8(0x182)];_0xc9081f&&!_0x3b4670[_0x52f7e8(0x1a4)](_0xc9081f)&&_0x165d64[_0x52f7e8(0x17d)](_0xc9081f);}if(0x0===_0x165d64[_0x52f7e8(0x139)])return;const _0xc9736b=await _0x404595[_0x52f7e8(0x1bf)](_0x17bfef,Array[_0x52f7e8(0x131)](_0x165d64));for(const _0x2931f2 of _0xc9736b)_0x3b4670[_0x52f7e8(0x1a4)](_0x2931f2['id'])||_0x3b4670[_0x52f7e8(0x178)](_0x2931f2);}[_0x42fb72(0x156)](_0x280265,_0x1cc976={}){const _0x163235=_0x42fb72,_0x2739ea=this[_0x163235(0xfa)][_0x163235(0xe7)],_0x4e3898=[];let _0x1ea27f=0x0;const _0x45a429=_0x163235(0x157)==typeof _0x280265?{'main':_0x280265}:_0x280265;for(const _0x3a26c8 of Object[_0x163235(0xd4)](_0x45a429)){if(!this[_0x163235(0xce)][_0x163235(0x1a2)][_0x163235(0x109)](_0x3a26c8))throw new _0x3b0f49(_0x163235(0xf1),this);const _0x2e2f92=this[_0x163235(0xfa)][_0x163235(0x188)][_0x163235(0x116)](_0x45a429[_0x3a26c8]),_0x30dbec=this[_0x163235(0xce)][_0x163235(0xc7)](_0x3a26c8),_0x472b6b=new _0x5a4df1(_0x2739ea[_0x163235(0x12f)](_0x30dbec,0x0),_0x2e2f92,_0x1ea27f++);_0x4e3898[_0x163235(0x181)](_0x472b6b);for(const [_0x159719,_0x497383]of _0x2e2f92[_0x163235(0x1a5)]){const _0x27dbe4=_0x2739ea[_0x163235(0x150)](_0x2739ea[_0x163235(0x138)](_0x30dbec,_0x497383[_0x163235(0x10f)][_0x163235(0x1c6)][_0x163235(0xd9)]()),_0x2739ea[_0x163235(0x138)](_0x30dbec,_0x497383[_0x163235(0x169)][_0x163235(0x1c6)][_0x163235(0xd9)]())),_0x51e87c=new _0x1f13da(_0x159719,null,_0x27dbe4,_0x2739ea[_0x163235(0x1a5)],!0x0,_0x1ea27f++);_0x4e3898[_0x163235(0x181)](_0x51e87c);}}if(_0x1cc976)for(const [_0x5496a1,_0x2e145c]of Object[_0x163235(0xd1)](_0x1cc976)){const _0x4f6487=_0x2739ea[_0x163235(0xeb)][_0x163235(0xc7)](_0x5496a1);if(!_0x4f6487)throw new _0x3b0f49(_0x163235(0x12c),null);for(const [_0x219069,_0x3e5c80]of Object[_0x163235(0xd1)](_0x2e145c))if(null!==_0x3e5c80){const _0x203cfa=new _0x3eaf38(_0x4f6487,_0x219069,null,_0x3e5c80,_0x1ea27f++);_0x4e3898[_0x163235(0x181)](_0x203cfa);}}return _0x4e3898;}async[_0x42fb72(0x10c)](_0x54e1fa,_0xed9d73,_0x4b08f6){const _0x2623b5=_0x42fb72;this[_0x2623b5(0x156)]({[_0x54e1fa]:_0xed9d73},{[_0x54e1fa]:_0x4b08f6})[_0x2623b5(0x168)]((_0x176ee5,_0x1eec73)=>{const _0x2ed57b=_0x2623b5;_0x176ee5[_0x2ed57b(0x1ba)]=this[_0x2ed57b(0xce)][_0x2ed57b(0x1bb)]+_0x1eec73,_0x176ee5[_0x2ed57b(0xcc)]=!0x0,this[_0x2ed57b(0xd7)](_0x176ee5);}),this[_0x2623b5(0x114)](),await this[_0x2623b5(0x1ac)]();}async[_0x42fb72(0x10b)](_0x56355d,_0x33a0b9){const _0x35a590=_0x42fb72;let _0x4f2b81;this[_0x35a590(0x17b)]=_0x56355d[_0x35a590(0x15a)];const _0xcac0c2=_0x56355d[_0x35a590(0x1c7)]&&!_0x56355d[_0x35a590(0x102)],_0x37426f=_0xcac0c2?0x0:_0x56355d[_0x35a590(0x188)][_0x35a590(0x1ba)];if(_0x33a0b9[_0x35a590(0x168)](_0x214370=>{const _0x149310=_0x35a590;_0x214370[_0x149310(0xcc)]=!0x0,_0x214370[_0x149310(0x13c)]=_0x56355d[_0x149310(0x120)],_0x214370[_0x149310(0x182)]=null;}),_0xcac0c2)_0x4f2b81=_0x33a0b9,this[_0x35a590(0xef)](_0x4f2b81,_0xcac0c2);else{if(_0x56355d[_0x35a590(0x102)]){const _0x599b2a=this[_0x35a590(0x156)](_0x56355d[_0x35a590(0x102)]);this[_0x35a590(0xce)][_0x35a590(0x19b)][_0x35a590(0x1bb)]=-_0x599b2a[_0x35a590(0x167)],_0x599b2a[_0x35a590(0x168)](_0x4c6f05=>{const _0x30c06f=_0x35a590;_0x4c6f05[_0x30c06f(0x1ba)]-=_0x599b2a[_0x30c06f(0x167)],_0x4c6f05[_0x30c06f(0x13c)]=_0x56355d[_0x30c06f(0x120)],_0x4c6f05[_0x30c06f(0xcc)]=!0x0,_0x4c6f05[_0x30c06f(0x182)]=null;}),this[_0x35a590(0xef)](_0x599b2a,!0x0),this[_0x35a590(0x152)][_0x35a590(0x1bb)]=-_0x599b2a[_0x35a590(0x167)]+this[_0x35a590(0x17b)],this[_0x35a590(0x1a7)](_0x599b2a);}this[_0x35a590(0xce)][_0x35a590(0x19b)][_0x35a590(0x1bb)]=_0x37426f,_0x4f2b81=this[_0x35a590(0x123)](_0x56355d[_0x35a590(0x188)],_0x56355d[_0x35a590(0x117)]),await this[_0x35a590(0x11e)](_0x4f2b81),this[_0x35a590(0xef)](_0x4f2b81,_0xcac0c2);}_0x56355d[_0x35a590(0x193)]&&(this[_0x35a590(0x14a)][_0x35a590(0x105)](_0x4f2b81,_0x56355d[_0x35a590(0x193)]),this[_0x35a590(0x192)]=_0x56355d[_0x35a590(0x193)]),this[_0x35a590(0x152)][_0x35a590(0x1bb)]=_0x37426f+this[_0x35a590(0x17b)],this[_0x35a590(0x1a7)](_0x4f2b81),_0x33a0b9[_0x35a590(0x16e)](_0x3d5e3d=>{const _0x451109=_0x35a590,_0x287248=this[_0x451109(0xe8)](_0x3d5e3d);return _0x287248&&!this[_0x451109(0x143)][_0x451109(0x109)](_0x287248);})[_0x35a590(0x168)]((_0x3bc73b,_0x1b1db2)=>{const _0x4fc1f6=_0x35a590;_0x3bc73b[_0x4fc1f6(0x1ba)]=this[_0x4fc1f6(0xce)][_0x4fc1f6(0x1bb)]+_0x1b1db2,this[_0x4fc1f6(0xd7)](_0x3bc73b);}),this[_0x35a590(0xfe)]()?(this[_0x35a590(0x100)]=0x0,this[_0x35a590(0x114)](!0x0),await this[_0x35a590(0x1ac)]()):(this[_0x35a590(0x14e)]=!0x1,this[_0x35a590(0xf0)]());}[_0x42fb72(0x128)](_0x356c70,_0x233ff7){const _0x16b42c=_0x42fb72,_0x1bfc21=_0x233ff7&&_0x233ff7[_0x16b42c(0x186)];if(_0x1bfc21&&_0x1bfc21[_0x16b42c(0x173)](_0x16b42c(0x124)))throw _0x233ff7;const _0x1b3084=this[_0x16b42c(0xfa)][_0x16b42c(0xf7)][_0x16b42c(0x140)](_0x118ea7);throw this[_0x16b42c(0x14e)]=!0x0,_0x1b3084[_0x16b42c(0x162)](),this[_0x16b42c(0xfa)][_0x16b42c(0x17e)](_0x16b42c(0xf8)),new _0x3b0f49(_0x356c70,this[_0x16b42c(0xfa)],_0x1bfc21?{'originalError':_0x1bfc21}:void 0x0);}[_0x42fb72(0xd7)](_0x312b87){const _0x405feb=_0x42fb72;this[_0x405feb(0x1ca)][_0x405feb(0x109)](_0x312b87)||(this[_0x405feb(0x1ca)][_0x405feb(0x17d)](_0x312b87),this[_0x405feb(0x1b8)][_0x405feb(0x181)](_0x312b87),this[_0x405feb(0x103)]||_0x405feb(0x132)==_0x312b87[_0x405feb(0x14f)]&&!_0x312b87[_0x405feb(0x185)]||this[_0x405feb(0xf2)]());}[_0x42fb72(0x114)](_0x3d5717=!0x1){const _0x422807=_0x42fb72;!_0x3d5717&&this[_0x422807(0x14e)]||(this[_0x422807(0x14e)]=!0x0,clearTimeout(this[_0x422807(0x187)]),this[_0x422807(0x187)]=setTimeout(()=>{const _0x3c2e2c=_0x422807;this[_0x3c2e2c(0x12e)]()[_0x3c2e2c(0x142)](_0x332274=>{const _0x17488a=_0x3c2e2c;_0x332274&&(this[_0x17488a(0xf0)](),this[_0x17488a(0x14e)]=!0x1);})[_0x3c2e2c(0x19d)](_0xc3661f=>{const _0x51fb34=_0x3c2e2c;this[_0x51fb34(0xf0)](),this[_0x51fb34(0x14e)]=!0x1,function(_0x4da6c6){const _0x5f3d13=_0x51fb34;return _0x4da6c6[_0x5f3d13(0x186)][_0x5f3d13(0x173)](_0x5f3d13(0x126))||_0x4da6c6[_0x5f3d13(0x186)][_0x5f3d13(0x173)](_0x5f3d13(0x1bd))||_0x4da6c6[_0x5f3d13(0x186)][_0x5f3d13(0x173)](_0x5f3d13(0x19f));}(_0xc3661f)||this[_0x51fb34(0x128)](_0xc3661f[_0x51fb34(0x186)],_0xc3661f);});},this[_0x422807(0x100)]));}[_0x42fb72(0x1ac)](){return new Promise(_0x9e3823=>{const _0x30228e=_0x4f0b;this['on'](_0x30228e(0x161),()=>{_0x9e3823();});});}async[_0x42fb72(0x12e)](){const _0x4c39d4=_0x42fb72,_0x1739d4=this[_0x4c39d4(0xfa)][_0x4c39d4(0xf7)][_0x4c39d4(0x140)](_0x18495b);if(this[_0x4c39d4(0x1b0)]()&&(_0x1739d4[_0x4c39d4(0x1bc)](),this[_0x4c39d4(0x189)]=!0x1),!this[_0x4c39d4(0xfe)]())return!0x0;const _0x4e5fc5=[...this[_0x4c39d4(0x1b8)]];for(const _0x4064ce of _0x4e5fc5)_0x4064ce[_0x4c39d4(0x1a9)]=this[_0x4c39d4(0xce)][_0x4c39d4(0x19b)][_0x4c39d4(0xd5)](_0x4064ce);const _0x1ca411=this[_0x4c39d4(0x14a)][_0x4c39d4(0xee)](_0x4e5fc5),_0x37d156=z++,_0x169840=this[_0x4c39d4(0x155)](_0x4e5fc5),_0x549d45=await this[_0x4c39d4(0x191)][_0x4c39d4(0x106)](_0x169840,_0x169840[_0x4c39d4(0x1ba)],_0x1ca411);try{return await this[_0x4c39d4(0x1a8)](_0x4e5fc5,_0x549d45,_0x37d156);}catch(_0xdae8d3){return this[_0x4c39d4(0x128)](_0x4c39d4(0x18e),_0xdae8d3);}}async[_0x42fb72(0x1a8)](_0x5d50cc,_0x1db361,_0xeee274){const _0x26358b=_0x42fb72;if(_0x26358b(0x175)in _0x1db361)throw _0x1db361[_0x26358b(0x175)];let _0x466b9a=!0x1;if(_0x1db361[_0x26358b(0x1c7)]){_0x1db361[_0x26358b(0x193)]&&(this[_0x26358b(0x192)]=_0x1db361[_0x26358b(0x193)]),this[_0x26358b(0x1b8)]=this[_0x26358b(0x1b8)][_0x26358b(0x16e)](_0x3e25c0=>!_0x5d50cc[_0x26358b(0x101)](_0x3e25c0));for(const _0x203b97 of _0x5d50cc)_0x203b97[_0x26358b(0x13c)]=_0x26358b(0x160)in _0x1db361&&_0x1db361[_0x26358b(0x160)]||void 0x0;V(_0x5d50cc,_0x1db361[_0x26358b(0x1bb)]-_0x5d50cc[_0x26358b(0x167)]),this[_0x26358b(0x1a7)](_0x5d50cc);const _0x4c4574=_0x5d50cc[_0x26358b(0x16e)](_0x2be695=>{const _0x1d9de4=_0x26358b;if(!_0x2be695[_0x1d9de4(0xcc)])return!0x1;const _0x155a95=this[_0x1d9de4(0xe8)](_0x2be695);return _0x155a95&&!this[_0x1d9de4(0x143)][_0x1d9de4(0x109)](_0x155a95);});V(_0x4c4574,this[_0x26358b(0xce)][_0x26358b(0x1bb)]),this[_0x26358b(0xef)](_0x4c4574),_0x466b9a=!0x0,this[_0x26358b(0x100)]=this[_0x26358b(0x108)];}else{const _0x4f2893=this[_0x26358b(0x123)](_0x1db361[_0x26358b(0x188)],_0x1db361[_0x26358b(0x117)])[_0x26358b(0x16e)](_0x23381b=>_0x23381b[_0x26358b(0x1ba)]>=this[_0x26358b(0xea)]);_0x4f2893[_0x26358b(0x168)](_0x30e6fa=>this[_0x26358b(0x19e)](_0x30e6fa)),this[_0x26358b(0x1b8)]=this[_0x26358b(0x1b8)][_0x26358b(0x16e)](_0x3d3c75=>!_0x3d3c75[_0x26358b(0xcc)]||!this[_0x26358b(0x143)][_0x26358b(0x109)](this[_0x26358b(0xe8)](_0x3d3c75))),this[_0x26358b(0x1b8)][_0x26358b(0x167)]&&V(this[_0x26358b(0x1b8)],this[_0x26358b(0x1b8)][0x0][_0x26358b(0x1ba)]),await this[_0x26358b(0x11e)](_0x4f2893),_0x466b9a=this[_0x26358b(0x10d)](_0x4f2893,_0x1db361[_0x26358b(0x1bb)],_0x1db361[_0x26358b(0x193)]),this[_0x26358b(0x100)]=Math[_0x26358b(0x136)](this[_0x26358b(0x100)]/0x2);}return _0x466b9a?!this[_0x26358b(0xfe)]()||(this[_0x26358b(0x114)](!0x0),!0x1):this[_0x26358b(0x128)](_0x26358b(0xe4));}[_0x42fb72(0x10d)](_0x26218d,_0x3e963c,_0x4afb31){const _0x196cb1=_0x42fb72;try{const _0x39ddbb={'document':this[_0x196cb1(0xce)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x59c23a,operationsB:_0x3db10c,originalOperations:_0x31346a}=_0x18b207(_0x26218d,this[_0x196cb1(0x1b8)],_0x39ddbb);V(_0x59c23a,this[_0x196cb1(0xce)][_0x196cb1(0x1bb)]),V(_0x3db10c,_0x3e963c);for(const _0x1c2767 of _0x59c23a){const _0x575d2d=_0x31346a[_0x196cb1(0x140)](_0x1c2767);_0x1c2767[_0x196cb1(0x182)]=_0x575d2d?_0x575d2d[_0x196cb1(0x182)]:null;}_0x4afb31&&(this[_0x196cb1(0x14a)][_0x196cb1(0x105)](_0x26218d,_0x4afb31),this[_0x196cb1(0x192)]=_0x4afb31),this[_0x196cb1(0x1b8)]=[..._0x3db10c],this[_0x196cb1(0xef)](_0x59c23a),this[_0x196cb1(0x1a7)](_0x26218d);}catch(_0x26661a){return console[_0x196cb1(0x175)](_0x26661a),!0x1;}return!0x0;}[_0x42fb72(0xef)](_0x486e66,_0x4cf04b=!0x1){const _0x1bfd37=_0x42fb72;this[_0x1bfd37(0xfa)][_0x1bfd37(0xe7)][_0x1bfd37(0xcb)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3ac3c8=>{const _0x3c2ed3=_0x1bfd37;for(const _0x1f413b of _0x486e66)this[_0x3c2ed3(0x1ca)][_0x3c2ed3(0x17d)](_0x1f413b),this[_0x3c2ed3(0x19e)](_0x1f413b),_0x3ac3c8[_0x3c2ed3(0xc6)][_0x3c2ed3(0x111)](_0x1f413b),this[_0x3c2ed3(0xfa)][_0x3c2ed3(0xe7)][_0x3c2ed3(0xe5)](_0x1f413b);});}[_0x42fb72(0x19e)](_0x468675){const _0x4543f5=_0x42fb72,_0x2e9e4e=this[_0x4543f5(0xe8)](_0x468675);_0x2e9e4e&&this[_0x4543f5(0x143)][_0x4543f5(0x17d)](_0x2e9e4e);}[_0x42fb72(0xe8)](_0x35b4c8){const _0x3ec7fa=_0x42fb72;let _0x456860,_0x340666;switch(_0x35b4c8[_0x3ec7fa(0x14f)]){case _0x3ec7fa(0x113):_0x456860=_0x35b4c8[_0x3ec7fa(0x196)][_0x3ec7fa(0xfd)];break;case _0x3ec7fa(0x132):if(_0x340666=_0x35b4c8[_0x3ec7fa(0x13b)],!_0x340666)return null;_0x456860=_0x340666[_0x3ec7fa(0xfd)];break;case _0x3ec7fa(0x135):_0x456860=_0x35b4c8[_0x3ec7fa(0xfd)];break;case _0x3ec7fa(0x1c8):_0x456860=_0x35b4c8[_0x3ec7fa(0x158)];break;case _0x3ec7fa(0x166):_0x456860=_0x35b4c8[_0x3ec7fa(0x107)][_0x3ec7fa(0xfd)];break;default:return null;}return _0x456860[_0x3ec7fa(0xdf)];}[_0x42fb72(0x1a7)](_0x1cac33){const _0x53a3ff=_0x42fb72;_0x1cac33[_0x53a3ff(0x168)](_0x43f485=>{const _0x4303f9=_0x53a3ff,_0x50f17a=_0x43f485[_0x4303f9(0x11b)]();_0x50f17a[_0x4303f9(0x182)]=_0x43f485[_0x4303f9(0x182)],_0x50f17a[_0x4303f9(0xcc)]=!!_0x43f485[_0x4303f9(0xcc)],_0x50f17a[_0x4303f9(0x13c)]=_0x43f485[_0x4303f9(0x13c)],_0x50f17a[_0x4303f9(0x1ba)]+=this[_0x4303f9(0x17b)],_0x43f485[_0x4303f9(0xed)]&&this[_0x4303f9(0x11a)][_0x4303f9(0x17d)](_0x50f17a),this[_0x4303f9(0x152)][_0x4303f9(0x111)](_0x50f17a);});}[_0x42fb72(0x147)](_0x5446ef){const _0x168d8b=_0x42fb72,_0x2535e8=this[_0x168d8b(0xfa)][_0x168d8b(0xf7)][_0x168d8b(0x140)](_0x168d8b(0x137)),_0x356c09=this[_0x168d8b(0xfa)][_0x168d8b(0x179)];_0x5446ef||(_0x5446ef=_0x1cd720(_0x356c09,_0x168d8b(0x164))),_0x2535e8[_0x168d8b(0xd0)](_0x5446ef,{'title':_0x1cd720(_0x356c09,_0x168d8b(0x12d)),'namespace':_0x168d8b(0xca)}),this[_0x168d8b(0x130)]=!0x0,clearTimeout(this[_0x168d8b(0x187)]),this[_0x168d8b(0x1b8)]=[],this[_0x168d8b(0xfa)][_0x168d8b(0xf7)][_0x168d8b(0x140)](_0x118ea7)[_0x168d8b(0x162)]();}[_0x42fb72(0xf2)](){const _0x2b1755=_0x42fb72;this[_0x2b1755(0x103)]||(this[_0x2b1755(0x103)]=this[_0x2b1755(0xfa)][_0x2b1755(0xf7)][_0x2b1755(0x140)](_0x27ab19)[_0x2b1755(0x17d)](_0x1cd720(this[_0x2b1755(0xfa)][_0x2b1755(0x179)],_0x2b1755(0x115))));}[_0x42fb72(0xf0)](){const _0x1d325b=_0x42fb72;this[_0x1d325b(0x103)]&&(this[_0x1d325b(0xfa)][_0x1d325b(0xf7)][_0x1d325b(0x140)](_0x27ab19)[_0x1d325b(0x14c)](this[_0x1d325b(0x103)]),this[_0x1d325b(0x103)]=null);}[_0x42fb72(0x155)](_0x49a993){const _0x304703=_0x42fb72,_0x327ffc=_0x49a993[_0x304703(0x171)](_0x509aaf=>_0x509aaf[_0x304703(0x1c0)]());return this[_0x304703(0x1a3)][_0x304703(0x11d)](_0x327ffc);}[_0x42fb72(0x123)](_0x579e36,_0x13c643){const _0x22c254=_0x42fb72;return this[_0x22c254(0x1a3)][_0x22c254(0x15d)](_0x579e36)[_0x22c254(0x171)]((_0x2918d0,_0x570804)=>{const _0x3ba2ad=_0x22c254,_0x5a163a=_0x3ba2ad(0xe3)==_0x13c643[_0x570804][_0x3ba2ad(0x14f)];if(_0x3ba2ad(0xec)==_0x2918d0[_0x3ba2ad(0x16f)]){const _0x5367e3=_0x2918d0[_0x3ba2ad(0x196)][_0x3ba2ad(0xfd)];!this[_0x3ba2ad(0xce)][_0x3ba2ad(0xc7)](_0x5367e3)&&(this[_0x3ba2ad(0xce)][_0x3ba2ad(0x16d)](_0x3ba2ad(0xd3),_0x5367e3)[_0x3ba2ad(0x1b9)]=!0x1);}const _0x120adc=_0x986bca[_0x3ba2ad(0x16c)](_0x2918d0,this[_0x3ba2ad(0xce)]);return _0x120adc[_0x3ba2ad(0x1a9)]=_0x2918d0[_0x3ba2ad(0x1a9)],_0x120adc[_0x3ba2ad(0xcc)]=_0x5a163a,_0x120adc[_0x3ba2ad(0x182)]=_0x5a163a?null:_0x13c643[_0x570804][_0x3ba2ad(0x145)],_0x120adc[_0x3ba2ad(0xed)]=_0x3ba2ad(0x1ad)===_0x13c643[_0x570804][_0x3ba2ad(0x14f)],_0x120adc[_0x3ba2ad(0x13c)]=_0x13c643[_0x570804][_0x3ba2ad(0x13c)],_0x120adc;});}[_0x42fb72(0x1be)](){const _0x5d29db=_0x42fb72;this[_0x5d29db(0x189)]=!0x0,this[_0x5d29db(0x1b0)]()?this[_0x5d29db(0x114)]():this[_0x5d29db(0x189)]=!0x1;}[_0x42fb72(0x1b0)](){const _0x4e8e16=_0x42fb72,_0x4f8431=this[_0x4e8e16(0xfa)][_0x4e8e16(0xf7)][_0x4e8e16(0x140)](_0x47cd51)[_0x4e8e16(0x134)][_0x4e8e16(0x140)](this[_0x4e8e16(0x14d)]);return!this[_0x4e8e16(0xfa)][_0x4e8e16(0x172)]&&!!_0x4f8431&&_0x4f8431[_0x4e8e16(0x167)]>0x1&&this[_0x4e8e16(0x189)];}[_0x42fb72(0xfe)](){const _0x1b9f46=_0x42fb72;return this[_0x1b9f46(0x1b8)][_0x1b9f46(0x167)]>0x0||this[_0x1b9f46(0x1b0)]();}}class H extends Error{}function V(_0x4f84b9,_0xd7e962){const _0x54cbb0=_0x42fb72;for(const _0x19b358 of _0x4f84b9)_0x19b358[_0x54cbb0(0x1ba)]=_0xd7e962++;}class W{[_0x42fb72(0x17f)];[_0x42fb72(0xe1)];constructor(_0x3f7dd1){const _0x553647=_0x42fb72;this[_0x553647(0x17f)]=_0x3f7dd1,this[_0x553647(0xe1)]=new WeakMap();}[_0x42fb72(0xee)](_0x1e162d){const _0x1aec74=_0x42fb72;let _0x535ae2=_0x1e162d[_0x1aec74(0x167)];for(;_0x535ae2--;){const _0x26fdaf=_0x1e162d[_0x535ae2];if(!this[_0x1aec74(0x17f)][_0x1aec74(0x109)](_0x26fdaf)){if(!this[_0x1aec74(0xe1)][_0x1aec74(0x109)](_0x26fdaf)){const _0x117187=_0x44f418()[_0x1aec74(0xd9)](0x1,0x12);this[_0x1aec74(0xe1)][_0x1aec74(0x174)](_0x26fdaf,_0x117187);}return this[_0x1aec74(0xe1)][_0x1aec74(0x140)](_0x26fdaf);}}}[_0x42fb72(0x105)](_0x434d4c,_0x272040){const _0x3fad16=_0x42fb72;if(!_0x272040)return;let _0x14631c=_0x434d4c[_0x3fad16(0x167)];for(;_0x14631c--;){const _0x449db6=_0x434d4c[_0x14631c];this[_0x3fad16(0x17f)][_0x3fad16(0x109)](_0x449db6)||this[_0x3fad16(0xe1)][_0x3fad16(0x174)](_0x449db6,_0x272040);}}}
23
+ const _0x297c45=_0x17a2;(function(_0x5d7c04,_0x1c5a14){const _0x520088=_0x17a2,_0x565c4b=_0x5d7c04();while(!![]){try{const _0x496d5c=-parseInt(_0x520088(0x1d1))/0x1+-parseInt(_0x520088(0x16c))/0x2*(parseInt(_0x520088(0x22c))/0x3)+-parseInt(_0x520088(0x20e))/0x4*(-parseInt(_0x520088(0x1ff))/0x5)+-parseInt(_0x520088(0x168))/0x6*(-parseInt(_0x520088(0x16d))/0x7)+parseInt(_0x520088(0x243))/0x8+-parseInt(_0x520088(0x19e))/0x9*(parseInt(_0x520088(0x1b6))/0xa)+parseInt(_0x520088(0x226))/0xb*(-parseInt(_0x520088(0x1a6))/0xc);if(_0x496d5c===_0x1c5a14)break;else _0x565c4b['push'](_0x565c4b['shift']());}catch(_0x535379){_0x565c4b['push'](_0x565c4b['shift']());}}}(_0x3106,0x54dce));import{Plugin as _0x4a49fb,PendingActions as _0x4bff20}from'ckeditor5/src/core.js';import{CKEditorError as _0xa2f92a,version as _0x468f59,uid as _0x474dfd}from'ckeditor5/src/utils.js';import{Notification as _0x5df9f9}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x518664,NoOperation as _0x1ac49a,InsertOperation as _0x551dc7,MarkerOperation as _0x59077a,RootAttributeOperation as _0x43056c,OperationFactory as _0x4d9438,History as _0x425ce8}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x2d03da}from'./websocketgateway.js';import{Sessions as _0x21b1bc}from'./sessions.js';import{UserMarkers as _0x301068}from'./usermarkers.js';function _0x17a2(_0x33bdd5,_0x48ead9){const _0x31064d=_0x3106();return _0x17a2=function(_0x17a266,_0x3d5483){_0x17a266=_0x17a266-0x15c;let _0x491f3d=_0x31064d[_0x17a266];return _0x491f3d;},_0x17a2(_0x33bdd5,_0x48ead9);}import{getTranslation as _0x3b0bb0}from'../common-translations.js';import{Compressor as _0x522889}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5e8ae0}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xf4520f,CollaborativeEditingService as _0x52c267}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;export class RealTimeCollaborationClient extends _0x4a49fb{static [_0x297c45(0x1dc)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x52c267)());[_0x297c45(0x21a)];[_0x297c45(0x1e7)];[_0x297c45(0x258)];[_0x297c45(0x217)];[_0x297c45(0x17d)];[_0x297c45(0x19c)];[_0x297c45(0x1f5)];[_0x297c45(0x1e1)];[_0x297c45(0x18c)];[_0x297c45(0x176)];[_0x297c45(0x24d)];[_0x297c45(0x25e)];[_0x297c45(0x1d2)];[_0x297c45(0x253)];[_0x297c45(0x1f0)];[_0x297c45(0x21c)];[_0x297c45(0x15e)];[_0x297c45(0x1d0)];static get[_0x297c45(0x17a)](){return[_0x2d03da,_0x21b1bc,_0x301068,_0x4bff20,_0x5e8ae0,_0x5df9f9];}static get[_0x297c45(0x1c4)](){const _0x29da5a=_0x297c45;return _0x29da5a(0x23c);}static get[_0x297c45(0x161)](){return!0x0;}static get[_0x297c45(0x239)](){return!0x0;}get[_0x297c45(0x182)](){const _0x36815d=_0x297c45;return this[_0x36815d(0x254)]+this[_0x36815d(0x21a)];}get[_0x297c45(0x254)](){const _0x4e9378=_0x297c45;return this[_0x4e9378(0x258)][_0x4e9378(0x248)]-this[_0x4e9378(0x21a)];}get[_0x297c45(0x15f)](){const _0x45ae06=_0x297c45,_0x2291e0=this[_0x45ae06(0x258)][_0x45ae06(0x18d)]();for(let _0x2ab589=_0x2291e0[_0x45ae06(0x15d)]-0x1;_0x2ab589>=0x0;_0x2ab589--){const _0x20e204=_0x2291e0[_0x2ab589];if(!this[_0x45ae06(0x15e)][_0x45ae06(0x1c6)](_0x20e204))return _0x20e204[_0x45ae06(0x1a2)]+0x1-this[_0x45ae06(0x21a)];}return 0x0;}constructor(_0x311a81){const _0x3656b1=_0x297c45;if(super(_0x311a81),this[_0x3656b1(0x21a)]=0x0,this[_0x3656b1(0x1e7)]=null,this[_0x3656b1(0x258)]=new _0x425ce8(),this[_0x3656b1(0x1b8)][_0x3656b1(0x1ad)][_0x3656b1(0x1f3)](_0x3656b1(0x1a4),{}),this[_0x3656b1(0x217)]=this[_0x3656b1(0x1b8)][_0x3656b1(0x1ad)][_0x3656b1(0x190)](_0x3656b1(0x1b5)),!this[_0x3656b1(0x217)])throw new _0xa2f92a(_0x3656b1(0x214),this);const _0x5655fd=_0x311a81[_0x3656b1(0x1ad)][_0x3656b1(0x190)](_0x3656b1(0x1a0))||_0x468f59;this[_0x3656b1(0x17d)]=new RealTimeCollaborationClient[(_0x3656b1(0x1dc))](_0x5655fd,this[_0x3656b1(0x217)]),this[_0x3656b1(0x19c)]=this[_0x3656b1(0x1b8)][_0x3656b1(0x171)][_0x3656b1(0x188)],this[_0x3656b1(0x1f5)]=new _0x522889(),this[_0x3656b1(0x1e1)]=[],this[_0x3656b1(0x18c)]=new WeakSet(),this[_0x3656b1(0x176)]=new Set(),this[_0x3656b1(0x185)](_0x3656b1(0x20b),!0x1),this[_0x3656b1(0x185)](_0x3656b1(0x1a1),!0x1),this[_0x3656b1(0x24d)]=null,this[_0x3656b1(0x25e)]=!0x1,this[_0x3656b1(0x1d2)]=null,this[_0x3656b1(0x253)]=0x12c,this[_0x3656b1(0x1f0)]=this[_0x3656b1(0x253)],this[_0x3656b1(0x21c)]=null,this[_0x3656b1(0x15e)]=new WeakSet(),this[_0x3656b1(0x1d0)]=new F(this[_0x3656b1(0x15e)]);}[_0x297c45(0x250)](){const _0x3ea759=_0x297c45,_0x37a7e1=this[_0x3ea759(0x1b8)],_0xd538a=_0x37a7e1[_0x3ea759(0x1cf)][_0x3ea759(0x190)](_0x5e8ae0),_0x5b46c6=_0x37a7e1[_0x3ea759(0x1cf)][_0x3ea759(0x190)](_0x2d03da);this[_0x3ea759(0x1e5)](_0xd538a,_0x3ea759(0x223),(_0x2caf7c,_0x1a395f)=>{const _0x5e45ae=_0x3ea759,_0xc1649=_0x1a395f[0x0];_0xc1649[_0x5e45ae(0x180)]&&(_0x2caf7c[_0x5e45ae(0x205)]=_0xd538a[_0x5e45ae(0x1b7)](_0xc1649[_0x5e45ae(0x180)]),_0x2caf7c[_0x5e45ae(0x1a7)]()),null===_0xc1649[_0x5e45ae(0x180)]&&(_0x2caf7c[_0x5e45ae(0x205)]=null,_0x2caf7c[_0x5e45ae(0x1a7)]());},{'priority':_0x3ea759(0x23a)}),this[_0x3ea759(0x1e5)](_0x37a7e1[_0x3ea759(0x171)][_0x3ea759(0x188)][_0x3ea759(0x257)],_0x3ea759(0x165),(_0x34a8e4,_0x53de41)=>{const _0x101c03=_0x3ea759;_0x53de41[_0x101c03(0x1f4)]&&this[_0x101c03(0x22e)]();}),this[_0x3ea759(0x1e5)](_0x37a7e1[_0x3ea759(0x1fc)][_0x3ea759(0x246)],_0x3ea759(0x179),()=>{const _0x31504a=_0x3ea759;this[_0x31504a(0x22e)]();}),this[_0x3ea759(0x255)](),_0x37a7e1[_0x3ea759(0x171)]['on'](_0x3ea759(0x219),(_0x27a978,_0x126db9)=>{const _0x3d9d10=_0x3ea759,_0x4c0244=_0x126db9[0x0];_0x4c0244[_0x3d9d10(0x1db)]&&(this[_0x3d9d10(0x1d5)](_0x4c0244),this[_0x3d9d10(0x1af)]()&&this[_0x3d9d10(0x16b)]());}),this[_0x3ea759(0x230)](),this[_0x3ea759(0x1de)](_0x3ea759(0x1ba))['to'](_0x5b46c6,_0x3ea759(0x222),this,_0x3ea759(0x1a1),(_0x2a272a,_0x433711)=>_0x3ea759(0x1aa)===_0x2a272a&&!_0x433711),this['on'](_0x3ea759(0x256),()=>{const _0x513863=_0x3ea759;this[_0x513863(0x1ba)]?_0x37a7e1[_0x513863(0x1b3)](_0x513863(0x196)):_0x37a7e1[_0x513863(0x162)](_0x513863(0x196));}),this[_0x3ea759(0x1ba)]?_0x37a7e1[_0x3ea759(0x1b3)](_0x3ea759(0x196)):_0x37a7e1[_0x3ea759(0x162)](_0x3ea759(0x196)),this[_0x3ea759(0x185)](_0x3ea759(0x20c),!0x1);}async[_0x297c45(0x1da)](){const _0x37fb35=_0x297c45,_0x150b05=this[_0x37fb35(0x1b8)][_0x37fb35(0x1cf)][_0x37fb35(0x190)](_0x21b1bc),_0x2156b3=this[_0x37fb35(0x1b8)][_0x37fb35(0x1cf)][_0x37fb35(0x190)](_0x2d03da);try{this[_0x37fb35(0x20b)]=!0x0,_0x150b05[_0x37fb35(0x1e3)](this[_0x37fb35(0x217)]);const _0x3a98be=await this[_0x37fb35(0x17d)][_0x37fb35(0x1da)](_0x2156b3[_0x37fb35(0x247)],this[_0x37fb35(0x15f)]);await this[_0x37fb35(0x252)](_0x3a98be)&&(this[_0x37fb35(0x20b)]=!0x1,this[_0x37fb35(0x170)]());const _0x12c3b4=await this[_0x37fb35(0x17d)][_0x37fb35(0x235)]();_0x150b05[_0x37fb35(0x183)](this[_0x37fb35(0x217)],_0x12c3b4),this[_0x37fb35(0x1bc)](),this[_0x37fb35(0x20c)]=!0x0;}catch(_0x2ea01b){if(function(_0x43b843){const _0x1b3a0a=_0x37fb35;return _0x1b3a0a(0x1c1)===_0x43b843[_0x1b3a0a(0x1d3)];}(_0x2ea01b)&&this[_0x37fb35(0x1e7)])await this[_0x37fb35(0x172)]();else{if(function(_0x337e25){const _0x64cd2c=_0x37fb35;return _0x64cd2c(0x23b)===_0x337e25[_0x64cd2c(0x1d3)];}(_0x2ea01b)){const _0xcd1f9f=_0x3b0bb0(this[_0x37fb35(0x1b8)][_0x37fb35(0x210)],_0x37fb35(0x1d6));this[_0x37fb35(0x1cc)](_0xcd1f9f);}else{if(!(_0x2ea01b instanceof V))throw _0x2ea01b;this[_0x37fb35(0x1cc)]();}}}}[_0x297c45(0x213)](){const _0x3b6e33=_0x297c45,_0x49aae5=this[_0x3b6e33(0x1b8)][_0x3b6e33(0x1cf)][_0x3b6e33(0x190)](_0x2d03da),_0x223580=this[_0x3b6e33(0x1b8)][_0x3b6e33(0x1cf)][_0x3b6e33(0x190)](_0x21b1bc);this[_0x3b6e33(0x1b8)][_0x3b6e33(0x162)](_0x3b6e33(0x260)),_0x223580[_0x3b6e33(0x1dd)][_0x3b6e33(0x1c6)](this[_0x3b6e33(0x217)])&&_0x223580[_0x3b6e33(0x1e3)](this[_0x3b6e33(0x217)]),_0x49aae5[_0x3b6e33(0x1b9)](this),this[_0x3b6e33(0x166)](),super[_0x3b6e33(0x213)]();}async[_0x297c45(0x252)](_0x2e750f){const _0x22eb8f=_0x297c45;if(this[_0x22eb8f(0x1e7)]!==_0x2e750f[_0x22eb8f(0x1e7)]&&this[_0x22eb8f(0x21c)]!==_0x2e750f[_0x22eb8f(0x23e)])throw new V();return this[_0x22eb8f(0x1e7)]=_0x2e750f[_0x22eb8f(0x1e7)],this[_0x22eb8f(0x18f)]([],{..._0x2e750f,'wereChangesApplied':!0x1,'data':_0x2e750f[_0x22eb8f(0x21b)]},_0x22eb8f(0x1da));}async[_0x297c45(0x1a5)](_0x5213f4,_0x2244ba=!0x1){const _0x37fbde=_0x297c45,{connection:_0x4c158a}=this[_0x37fbde(0x1b8)][_0x37fbde(0x1cf)][_0x37fbde(0x190)](_0x2d03da);RealTimeCollaborationClient[_0x37fbde(0x1dc)][_0x37fbde(0x235)](_0x4c158a,this[_0x37fbde(0x217)])[_0x37fbde(0x1b1)](_0x178f02=>this[_0x37fbde(0x1d8)](_0x178f02))[_0x37fbde(0x16e)](_0x2f99c1=>{const _0x48e6d1=_0x37fbde;this[_0x48e6d1(0x212)](_0x48e6d1(0x220),_0x2f99c1);}),this[_0x37fbde(0x1e5)](this[_0x37fbde(0x17d)],_0x37fbde(0x17c),this[_0x37fbde(0x1bf)][_0x37fbde(0x1de)](this)),this[_0x37fbde(0x1e5)](this[_0x37fbde(0x17d)],_0x37fbde(0x211),(_0x1b52ae,_0x17aa61)=>{const _0x46c090=_0x37fbde;this[_0x46c090(0x212)](_0x46c090(0x19b),_0x17aa61);}),this[_0x37fbde(0x1e5)](this[_0x37fbde(0x17d)],_0x37fbde(0x202),()=>{const _0x57c1e7=_0x37fbde;this[_0x57c1e7(0x20c)]=!0x1;});const _0x40f354=this[_0x37fbde(0x1d0)][_0x37fbde(0x251)](_0x5213f4);this[_0x37fbde(0x20b)]=!0x0;const _0x250326=await this[_0x37fbde(0x17d)][_0x37fbde(0x1cd)](_0x4c158a,this[_0x37fbde(0x201)](_0x5213f4),_0x40f354);if(this[_0x37fbde(0x1e7)]=_0x250326[_0x37fbde(0x1e7)],_0x2244ba){if(!_0x250326[_0x37fbde(0x17e)])return void this[_0x37fbde(0x1cc)]();this[_0x37fbde(0x20b)]=!0x1,this[_0x37fbde(0x170)](),this[_0x37fbde(0x258)][_0x37fbde(0x244)](),this[_0x37fbde(0x21a)]=_0x250326[_0x37fbde(0x195)],this[_0x37fbde(0x258)][_0x37fbde(0x248)]=this[_0x37fbde(0x21a)],await this[_0x37fbde(0x18f)](_0x5213f4,_0x250326,_0x37fbde(0x1fa));}else await this[_0x37fbde(0x19a)](_0x250326,_0x5213f4);this[_0x37fbde(0x1bc)](),this[_0x37fbde(0x20c)]=!0x0;}[_0x297c45(0x1bc)](){const _0xedbecb=_0x297c45,_0x594753=this[_0xedbecb(0x1b8)][_0xedbecb(0x1cf)][_0xedbecb(0x190)](_0x21b1bc),_0x4aee25=this[_0xedbecb(0x1b8)][_0xedbecb(0x1cf)][_0xedbecb(0x190)](_0x301068),_0x56d4dc=_0x594753[_0xedbecb(0x1dd)][_0xedbecb(0x190)](this[_0xedbecb(0x217)]);_0x56d4dc&&_0x56d4dc[_0xedbecb(0x15d)]>0x1?_0x4aee25[_0xedbecb(0x1b4)]():this[_0xedbecb(0x1e5)](_0x594753,_0xedbecb(0x1ee)+this[_0xedbecb(0x217)],()=>{const _0x51d344=_0xedbecb;0x2===_0x594753[_0x51d344(0x1dd)][_0x51d344(0x190)](this[_0x51d344(0x217)])[_0x51d344(0x15d)]&&_0x4aee25[_0x51d344(0x1b4)]();});}async[_0x297c45(0x1bf)](_0x2209a,_0x51b47e,_0x462058,_0x463bd9){const _0x5adca1=_0x297c45;if(!this[_0x5adca1(0x20b)]&&this[_0x5adca1(0x19c)][_0x5adca1(0x248)]==_0x51b47e){const _0x49cc04=this[_0x5adca1(0x229)](_0x462058,_0x463bd9);await this[_0x5adca1(0x262)](_0x49cc04),this[_0x5adca1(0x24b)](_0x49cc04,_0x51b47e,_0x462058[_0x5adca1(0x23e)])||this[_0x5adca1(0x212)](_0x5adca1(0x198));}}async[_0x297c45(0x172)](){const _0x358340=_0x297c45;this[_0x358340(0x166)]();const {locale:_0xd42a20}=this[_0x358340(0x1b8)];let _0x548cc;try{_0x548cc=await this[_0x358340(0x17d)][_0x358340(0x1ae)]();}catch{const _0x20ca1d=_0x3b0bb0(_0xd42a20,_0x358340(0x1b0));return void this[_0x358340(0x1cc)](_0x20ca1d);}const _0x3a78ca=_0x548cc[_0x358340(0x224)]||_0x548cc[_0x358340(0x16f)];if(this[_0x358340(0x21c)]!==_0x3a78ca[_0x358340(0x23e)]){const _0x3b9255=_0x3b0bb0(_0xd42a20,_0x358340(0x1d7));return void this[_0x358340(0x1cc)](_0x3b9255);}await this[_0x358340(0x1a5)](this[_0x358340(0x1b8)][_0x358340(0x171)][_0x358340(0x188)][_0x358340(0x237)][_0x358340(0x18d)](),!0x0);}[_0x297c45(0x166)](){const _0x24d347=_0x297c45;this[_0x24d347(0x17d)][_0x24d347(0x221)](),this[_0x24d347(0x1e1)]=[],clearTimeout(this[_0x24d347(0x1d2)]),this[_0x24d347(0x1eb)](this[_0x24d347(0x17d)]);}[_0x297c45(0x1d8)](_0x475f13){const _0x54b735=_0x297c45,_0x18ae74=this[_0x54b735(0x1b8)][_0x54b735(0x1cf)][_0x54b735(0x190)](_0x21b1bc);this[_0x54b735(0x1e5)](_0x18ae74,_0x54b735(0x1ee)+this[_0x54b735(0x217)],(_0x286d79,{session:_0x18a3e8})=>{const _0x2d1e70=_0x54b735;if(_0x18a3e8['id']===_0x18ae74[_0x2d1e70(0x16a)]){_0x286d79[_0x2d1e70(0x1f8)]();const _0x14e6d3=this[_0x2d1e70(0x1b8)][_0x2d1e70(0x1cf)][_0x2d1e70(0x1c6)](_0x2d1e70(0x21e))&&this[_0x2d1e70(0x1b8)][_0x2d1e70(0x1cf)][_0x2d1e70(0x190)](_0x2d1e70(0x21e));let _0x38e556=_0x18a3e8[_0x2d1e70(0x1e6)];_0x14e6d3&&_0x14e6d3[_0x2d1e70(0x208)]&&(_0x38e556=_0x38e556[_0x2d1e70(0x1b2)](_0x112005=>_0x2d1e70(0x1e2)!==_0x112005)),this[_0x2d1e70(0x1b8)][_0x2d1e70(0x1cf)][_0x2d1e70(0x190)](_0x2d1e70(0x1ce))[_0x2d1e70(0x20f)](_0x38e556,this[_0x2d1e70(0x217)]);}}),_0x18ae74[_0x54b735(0x183)](this[_0x54b735(0x217)],_0x475f13);}[_0x297c45(0x255)](){const _0x3c8879=_0x297c45,_0x12721c=this[_0x3c8879(0x1b8)][_0x3c8879(0x21b)][_0x3c8879(0x185)];this[_0x3c8879(0x1b8)][_0x3c8879(0x21b)][_0x3c8879(0x185)]=(..._0x1109bc)=>{const _0x3dec9d=_0x3c8879;if(!_0x1109bc[_0x1109bc[_0x3dec9d(0x15d)]-0x1][_0x3dec9d(0x22f)])throw new _0xa2f92a(_0x3dec9d(0x1c0),this);_0x12721c[_0x3dec9d(0x236)](this[_0x3dec9d(0x1b8)][_0x3dec9d(0x21b)],_0x1109bc);};}[_0x297c45(0x230)](){const _0x2fe41c=_0x297c45;this[_0x2fe41c(0x1b8)][_0x2fe41c(0x21b)]['on'](_0x2fe41c(0x250),(_0x10a7a3,[_0x2a25d8])=>{const _0x50661f=_0x2fe41c;if(this[_0x50661f(0x19c)][_0x50661f(0x248)])throw new _0xa2f92a(_0x50661f(0x228),this);_0x10a7a3[_0x50661f(0x1a7)](),this[_0x50661f(0x1e8)]();const _0x32e9c5=this[_0x50661f(0x1b8)][_0x50661f(0x1ad)][_0x50661f(0x190)](_0x50661f(0x1c5)),_0x523c68=this[_0x50661f(0x175)](_0x2a25d8,_0x32e9c5);0x0==_0x523c68[_0x50661f(0x15d)]&&_0x523c68[_0x50661f(0x15c)](new _0x1ac49a(0x0)),_0x10a7a3[_0x50661f(0x205)]=this[_0x50661f(0x1a5)](_0x523c68)[_0x50661f(0x1b1)](()=>{const _0x10ac03=_0x50661f;this[_0x10ac03(0x1b8)][_0x10ac03(0x1cf)][_0x10ac03(0x190)](_0x2d03da)[_0x10ac03(0x25a)](this),this[_0x10ac03(0x1b8)][_0x10ac03(0x21b)][_0x10ac03(0x24a)](_0x10ac03(0x24c));})[_0x50661f(0x16e)](_0x123445=>this[_0x50661f(0x212)](_0x50661f(0x1be),_0x123445))[_0x50661f(0x1df)](()=>this[_0x50661f(0x170)]());},{'priority':_0x2fe41c(0x23a)}),this[_0x2fe41c(0x1b8)]['on'](_0x2fe41c(0x233),async(_0x4fd0d0,[_0x39caea,_0x393f9b])=>{const _0x1f5e4f=_0x2fe41c;_0x4fd0d0[_0x1f5e4f(0x1a7)]();const _0x1457af=this[_0x1f5e4f(0x1b8)][_0x1f5e4f(0x171)][_0x1f5e4f(0x188)][_0x1f5e4f(0x225)](_0x39caea);if(!this[_0x1f5e4f(0x176)][_0x1f5e4f(0x1c6)](_0x39caea)){const _0x363ef7=_0x393f9b&&_0x393f9b[_0x1f5e4f(0x21b)]?_0x393f9b[_0x1f5e4f(0x21b)]:'',_0x309adf=_0x393f9b&&_0x393f9b[_0x1f5e4f(0x191)]?_0x393f9b[_0x1f5e4f(0x191)]:{};await this[_0x1f5e4f(0x184)](_0x39caea,_0x363ef7,_0x309adf);}this[_0x1f5e4f(0x1b8)][_0x1f5e4f(0x171)][_0x1f5e4f(0x1ab)]({'isUndoable':!0x1},()=>{const _0x59b881=_0x1f5e4f;_0x1457af[_0x59b881(0x1ac)]=!0x0,this[_0x59b881(0x1b8)][_0x59b881(0x171)][_0x59b881(0x188)][_0x59b881(0x163)][_0x59b881(0x25c)](_0x1457af);});},{'priority':_0x2fe41c(0x23a)});}async[_0x297c45(0x262)](_0x4ec68d){const _0x2c11f6=_0x297c45,_0x4673f5=this[_0x2c11f6(0x1b8)][_0x2c11f6(0x1cf)][_0x2c11f6(0x190)](_0x5e8ae0),{connection:_0x2562db}=this[_0x2c11f6(0x1b8)][_0x2c11f6(0x1cf)][_0x2c11f6(0x190)](_0x2d03da),_0x3dc99b=new Set();for(const _0x39b2d9 of _0x4ec68d){const _0x5e1857=_0x39b2d9[_0x2c11f6(0x180)];_0x5e1857&&!_0x4673f5[_0x2c11f6(0x1b7)](_0x5e1857)&&_0x3dc99b[_0x2c11f6(0x25f)](_0x5e1857);}if(0x0===_0x3dc99b[_0x2c11f6(0x194)])return;const _0xe2718f=await _0xf4520f[_0x2c11f6(0x20d)](_0x2562db,Array[_0x2c11f6(0x189)](_0x3dc99b));for(const _0x4302a4 of _0xe2718f)_0x4673f5[_0x2c11f6(0x1b7)](_0x4302a4['id'])||_0x4673f5[_0x2c11f6(0x17b)](_0x4302a4);}[_0x297c45(0x175)](_0x343d44,_0x166a40={}){const _0x183716=_0x297c45,_0x4eca18=this[_0x183716(0x1b8)][_0x183716(0x171)],_0x48a0ec=[];let _0x2531e1=0x0;const _0x2d7ce7=_0x183716(0x23d)==typeof _0x343d44?{'main':_0x343d44}:_0x343d44;for(const _0x795dec of Object[_0x183716(0x1c7)](_0x2d7ce7)){if(!this[_0x183716(0x19c)][_0x183716(0x1fe)][_0x183716(0x1c6)](_0x795dec))throw new _0xa2f92a(_0x183716(0x18b),this);const _0x3e2a16=this[_0x183716(0x1b8)][_0x183716(0x21b)][_0x183716(0x209)](_0x2d7ce7[_0x795dec]),_0x4c7894=this[_0x183716(0x19c)][_0x183716(0x225)](_0x795dec),_0x51ac30=new _0x551dc7(_0x4eca18[_0x183716(0x19f)](_0x4c7894,0x0),_0x3e2a16,_0x2531e1++);_0x48a0ec[_0x183716(0x15c)](_0x51ac30);for(const [_0x3afffa,_0x226317]of _0x3e2a16[_0x183716(0x169)]){const _0x420ca0=_0x4eca18[_0x183716(0x22b)](_0x4eca18[_0x183716(0x245)](_0x4c7894,_0x226317[_0x183716(0x1ed)][_0x183716(0x1e9)][_0x183716(0x160)]()),_0x4eca18[_0x183716(0x245)](_0x4c7894,_0x226317[_0x183716(0x241)][_0x183716(0x1e9)][_0x183716(0x160)]())),_0x19377b=new _0x59077a(_0x3afffa,null,_0x420ca0,_0x4eca18[_0x183716(0x169)],!0x0,_0x2531e1++);_0x48a0ec[_0x183716(0x15c)](_0x19377b);}}if(_0x166a40)for(const [_0x4fd027,_0x3acd07]of Object[_0x183716(0x177)](_0x166a40)){const _0x576ea8=_0x4eca18[_0x183716(0x188)][_0x183716(0x225)](_0x4fd027);if(!_0x576ea8)throw new _0xa2f92a(_0x183716(0x1e0),null);for(const [_0x241aee,_0x4706ee]of Object[_0x183716(0x177)](_0x3acd07))if(null!==_0x4706ee){const _0x33655b=new _0x43056c(_0x576ea8,_0x241aee,null,_0x4706ee,_0x2531e1++);_0x48a0ec[_0x183716(0x15c)](_0x33655b);}}return _0x48a0ec;}async[_0x297c45(0x184)](_0x530839,_0x3117d9,_0x2434dc){const _0x4e12c0=_0x297c45;this[_0x4e12c0(0x175)]({[_0x530839]:_0x3117d9},{[_0x530839]:_0x2434dc})[_0x4e12c0(0x200)]((_0x7eba5e,_0x1fe710)=>{const _0x37496b=_0x4e12c0;_0x7eba5e[_0x37496b(0x1a2)]=this[_0x37496b(0x19c)][_0x37496b(0x248)]+_0x1fe710,_0x7eba5e[_0x37496b(0x1d9)]=!0x0,this[_0x37496b(0x1d5)](_0x7eba5e);}),this[_0x4e12c0(0x16b)](),await this[_0x4e12c0(0x216)]();}async[_0x297c45(0x19a)](_0x541efe,_0x5aa4f2){const _0x3fd70a=_0x297c45;let _0x3c98b4;this[_0x3fd70a(0x21a)]=_0x541efe[_0x3fd70a(0x195)];const _0x321fb2=_0x541efe[_0x3fd70a(0x17e)]&&!_0x541efe[_0x3fd70a(0x1c2)],_0x4fea14=_0x321fb2?0x0:_0x541efe[_0x3fd70a(0x21b)][_0x3fd70a(0x1a2)];if(_0x5aa4f2[_0x3fd70a(0x200)](_0x3e6b91=>{const _0x10fa5f=_0x3fd70a;_0x3e6b91[_0x10fa5f(0x1d9)]=!0x0,_0x3e6b91[_0x10fa5f(0x25d)]=_0x541efe[_0x10fa5f(0x25b)],_0x3e6b91[_0x10fa5f(0x180)]=null;}),_0x321fb2)_0x3c98b4=_0x5aa4f2,this[_0x3fd70a(0x174)](_0x3c98b4,_0x321fb2);else{if(_0x541efe[_0x3fd70a(0x1c2)]){const _0x15d448=this[_0x3fd70a(0x175)](_0x541efe[_0x3fd70a(0x1c2)]);this[_0x3fd70a(0x19c)][_0x3fd70a(0x237)][_0x3fd70a(0x248)]=-_0x15d448[_0x3fd70a(0x15d)],_0x15d448[_0x3fd70a(0x200)](_0x35000=>{const _0x24b075=_0x3fd70a;_0x35000[_0x24b075(0x1a2)]-=_0x15d448[_0x24b075(0x15d)],_0x35000[_0x24b075(0x25d)]=_0x541efe[_0x24b075(0x25b)],_0x35000[_0x24b075(0x1d9)]=!0x0,_0x35000[_0x24b075(0x180)]=null;}),this[_0x3fd70a(0x174)](_0x15d448,!0x0),this[_0x3fd70a(0x258)][_0x3fd70a(0x248)]=-_0x15d448[_0x3fd70a(0x15d)]+this[_0x3fd70a(0x21a)],this[_0x3fd70a(0x1a9)](_0x15d448);}this[_0x3fd70a(0x19c)][_0x3fd70a(0x237)][_0x3fd70a(0x248)]=_0x4fea14,_0x3c98b4=this[_0x3fd70a(0x229)](_0x541efe[_0x3fd70a(0x21b)],_0x541efe[_0x3fd70a(0x1e4)]),await this[_0x3fd70a(0x262)](_0x3c98b4),this[_0x3fd70a(0x174)](_0x3c98b4,_0x321fb2);}_0x541efe[_0x3fd70a(0x23e)]&&(this[_0x3fd70a(0x1d0)][_0x3fd70a(0x187)](_0x3c98b4,_0x541efe[_0x3fd70a(0x23e)]),this[_0x3fd70a(0x21c)]=_0x541efe[_0x3fd70a(0x23e)]),this[_0x3fd70a(0x258)][_0x3fd70a(0x248)]=_0x4fea14+this[_0x3fd70a(0x21a)],this[_0x3fd70a(0x1a9)](_0x3c98b4),_0x5aa4f2[_0x3fd70a(0x1b2)](_0x53298a=>{const _0x2870bb=_0x3fd70a,_0x3c77d0=this[_0x2870bb(0x1bb)](_0x53298a);return _0x3c77d0&&!this[_0x2870bb(0x176)][_0x2870bb(0x1c6)](_0x3c77d0);})[_0x3fd70a(0x200)]((_0x1b7dc9,_0x52033b)=>{const _0x34796a=_0x3fd70a;_0x1b7dc9[_0x34796a(0x1a2)]=this[_0x34796a(0x19c)][_0x34796a(0x248)]+_0x52033b,this[_0x34796a(0x1d5)](_0x1b7dc9);}),this[_0x3fd70a(0x1af)]()?(this[_0x3fd70a(0x1f0)]=0x0,this[_0x3fd70a(0x16b)](!0x0),await this[_0x3fd70a(0x216)]()):(this[_0x3fd70a(0x20b)]=!0x1,this[_0x3fd70a(0x170)]());}[_0x297c45(0x212)](_0x4df83b,_0x6d31a2){const _0x86d9a4=_0x297c45,_0x2e6d23=_0x6d31a2&&_0x6d31a2[_0x86d9a4(0x22a)];if(_0x2e6d23&&_0x2e6d23[_0x86d9a4(0x215)](_0x86d9a4(0x227)))throw _0x6d31a2;const _0x1bf986=this[_0x86d9a4(0x1b8)][_0x86d9a4(0x1cf)][_0x86d9a4(0x190)](_0x2d03da);throw this[_0x86d9a4(0x20b)]=!0x0,_0x1bf986[_0x86d9a4(0x221)](),this[_0x86d9a4(0x1b8)][_0x86d9a4(0x162)](_0x86d9a4(0x21f)),new _0xa2f92a(_0x4df83b,this[_0x86d9a4(0x1b8)],_0x2e6d23?{'originalError':_0x2e6d23}:void 0x0);}[_0x297c45(0x1d5)](_0x35da32){const _0x3d22e5=_0x297c45;this[_0x3d22e5(0x18c)][_0x3d22e5(0x1c6)](_0x35da32)||(this[_0x3d22e5(0x18c)][_0x3d22e5(0x25f)](_0x35da32),this[_0x3d22e5(0x1e1)][_0x3d22e5(0x15c)](_0x35da32),this[_0x3d22e5(0x24d)]||_0x3d22e5(0x199)==_0x35da32[_0x3d22e5(0x164)]&&!_0x35da32[_0x3d22e5(0x17f)]||this[_0x3d22e5(0x1e8)]());}[_0x297c45(0x16b)](_0x24254d=!0x1){const _0x4c4eaa=_0x297c45;!_0x24254d&&this[_0x4c4eaa(0x20b)]||(this[_0x4c4eaa(0x20b)]=!0x0,clearTimeout(this[_0x4c4eaa(0x1d2)]),this[_0x4c4eaa(0x1d2)]=setTimeout(()=>{const _0x33f7a3=_0x4c4eaa;this[_0x33f7a3(0x192)]()[_0x33f7a3(0x1b1)](_0x31fe72=>{const _0x42d005=_0x33f7a3;_0x31fe72&&(this[_0x42d005(0x170)](),this[_0x42d005(0x20b)]=!0x1);})[_0x33f7a3(0x16e)](_0xa1f9f9=>{const _0xb3edba=_0x33f7a3;this[_0xb3edba(0x170)](),this[_0xb3edba(0x20b)]=!0x1,function(_0x4aab37){const _0x3c89bd=_0xb3edba;return _0x4aab37[_0x3c89bd(0x22a)][_0x3c89bd(0x215)](_0x3c89bd(0x1f1))||_0x4aab37[_0x3c89bd(0x22a)][_0x3c89bd(0x215)](_0x3c89bd(0x259))||_0x4aab37[_0x3c89bd(0x22a)][_0x3c89bd(0x215)](_0x3c89bd(0x1a3));}(_0xa1f9f9)||this[_0xb3edba(0x212)](_0xa1f9f9[_0xb3edba(0x22a)],_0xa1f9f9);});},this[_0x4c4eaa(0x1f0)]));}[_0x297c45(0x216)](){return new Promise(_0x203e3f=>{const _0x2e60f5=_0x17a2;this['on'](_0x2e60f5(0x178),()=>{_0x203e3f();});});}async[_0x297c45(0x192)](){const _0x33c5c5=_0x297c45,_0x59cae7=this[_0x33c5c5(0x1b8)][_0x33c5c5(0x1cf)][_0x33c5c5(0x190)](_0x301068);if(this[_0x33c5c5(0x240)]()&&(_0x59cae7[_0x33c5c5(0x1b4)](),this[_0x33c5c5(0x25e)]=!0x1),!this[_0x33c5c5(0x1af)]())return!0x0;const _0x1e9b52=[...this[_0x33c5c5(0x1e1)]];for(const _0x1bdf7b of _0x1e9b52)_0x1bdf7b[_0x33c5c5(0x218)]=this[_0x33c5c5(0x19c)][_0x33c5c5(0x237)][_0x33c5c5(0x19d)](_0x1bdf7b);const _0x305cf4=this[_0x33c5c5(0x1d0)][_0x33c5c5(0x251)](_0x1e9b52),_0x43727d=H++,_0x472bed=this[_0x33c5c5(0x201)](_0x1e9b52),_0x3694e2=await this[_0x33c5c5(0x17d)][_0x33c5c5(0x1f9)](_0x472bed,_0x472bed[_0x33c5c5(0x1a2)],_0x305cf4);try{return await this[_0x33c5c5(0x18f)](_0x1e9b52,_0x3694e2,_0x43727d);}catch(_0x59854a){return this[_0x33c5c5(0x212)](_0x33c5c5(0x186),_0x59854a);}}async[_0x297c45(0x18f)](_0x383949,_0x369c8b,_0x2ead26){const _0x1c3e49=_0x297c45;if(_0x1c3e49(0x211)in _0x369c8b)throw _0x369c8b[_0x1c3e49(0x211)];let _0x76f76f=!0x1;if(_0x369c8b[_0x1c3e49(0x17e)]){_0x369c8b[_0x1c3e49(0x23e)]&&(this[_0x1c3e49(0x21c)]=_0x369c8b[_0x1c3e49(0x23e)]),this[_0x1c3e49(0x1e1)]=this[_0x1c3e49(0x1e1)][_0x1c3e49(0x1b2)](_0x103702=>!_0x383949[_0x1c3e49(0x1fd)](_0x103702));for(const _0x512234 of _0x383949)_0x512234[_0x1c3e49(0x25d)]=_0x1c3e49(0x23f)in _0x369c8b&&_0x369c8b[_0x1c3e49(0x23f)]||void 0x0;W(_0x383949,_0x369c8b[_0x1c3e49(0x248)]-_0x383949[_0x1c3e49(0x15d)]),this[_0x1c3e49(0x1a9)](_0x383949);const _0xcb327f=_0x383949[_0x1c3e49(0x1b2)](_0x4e912c=>{const _0x12b70c=_0x1c3e49;if(!_0x4e912c[_0x12b70c(0x1d9)])return!0x1;const _0x15144b=this[_0x12b70c(0x1bb)](_0x4e912c);return _0x15144b&&!this[_0x12b70c(0x176)][_0x12b70c(0x1c6)](_0x15144b);});W(_0xcb327f,this[_0x1c3e49(0x19c)][_0x1c3e49(0x248)]),this[_0x1c3e49(0x174)](_0xcb327f),_0x76f76f=!0x0,this[_0x1c3e49(0x1f0)]=this[_0x1c3e49(0x253)];}else{const _0x3e34f4=this[_0x1c3e49(0x229)](_0x369c8b[_0x1c3e49(0x21b)],_0x369c8b[_0x1c3e49(0x1e4)])[_0x1c3e49(0x1b2)](_0x35acf5=>_0x35acf5[_0x1c3e49(0x1a2)]>=this[_0x1c3e49(0x254)]);_0x3e34f4[_0x1c3e49(0x200)](_0x58228b=>this[_0x1c3e49(0x20a)](_0x58228b)),this[_0x1c3e49(0x1e1)]=this[_0x1c3e49(0x1e1)][_0x1c3e49(0x1b2)](_0x4eddb5=>!_0x4eddb5[_0x1c3e49(0x1d9)]||!this[_0x1c3e49(0x176)][_0x1c3e49(0x1c6)](this[_0x1c3e49(0x1bb)](_0x4eddb5))),this[_0x1c3e49(0x1e1)][_0x1c3e49(0x15d)]&&W(this[_0x1c3e49(0x1e1)],this[_0x1c3e49(0x1e1)][0x0][_0x1c3e49(0x1a2)]),await this[_0x1c3e49(0x262)](_0x3e34f4),_0x76f76f=this[_0x1c3e49(0x24b)](_0x3e34f4,_0x369c8b[_0x1c3e49(0x248)],_0x369c8b[_0x1c3e49(0x23e)]),this[_0x1c3e49(0x1f0)]=Math[_0x1c3e49(0x181)](this[_0x1c3e49(0x1f0)]/0x2);}return _0x76f76f?!this[_0x1c3e49(0x1af)]()||(this[_0x1c3e49(0x16b)](!0x0),!0x1):this[_0x1c3e49(0x212)](_0x1c3e49(0x1ea));}[_0x297c45(0x24b)](_0x28d0bf,_0x5df468,_0x261331){const _0x1c8808=_0x297c45;try{const _0x4f573a={'document':this[_0x1c8808(0x19c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x125c44,operationsB:_0x45abc0,originalOperations:_0x286e66}=_0x518664(_0x28d0bf,this[_0x1c8808(0x1e1)],_0x4f573a);W(_0x125c44,this[_0x1c8808(0x19c)][_0x1c8808(0x248)]),W(_0x45abc0,_0x5df468);for(const _0x367a28 of _0x125c44){const _0x577c92=_0x286e66[_0x1c8808(0x190)](_0x367a28);_0x367a28[_0x1c8808(0x180)]=_0x577c92?_0x577c92[_0x1c8808(0x180)]:null;}_0x261331&&(this[_0x1c8808(0x1d0)][_0x1c8808(0x187)](_0x28d0bf,_0x261331),this[_0x1c8808(0x21c)]=_0x261331),this[_0x1c8808(0x1e1)]=[..._0x45abc0],this[_0x1c8808(0x174)](_0x125c44),this[_0x1c8808(0x1a9)](_0x28d0bf);}catch(_0x259f72){return console[_0x1c8808(0x211)](_0x259f72),!0x1;}return!0x0;}[_0x297c45(0x174)](_0x5e7afa,_0x5c1787=!0x1){const _0x5b9648=_0x297c45;this[_0x5b9648(0x1b8)][_0x5b9648(0x171)][_0x5b9648(0x1ab)]({'isUndoable':!0x1,'isLocal':!0x1},_0x351441=>{const _0x440064=_0x5b9648;for(const _0x338d8e of _0x5e7afa)this[_0x440064(0x18c)][_0x440064(0x25f)](_0x338d8e),this[_0x440064(0x20a)](_0x338d8e),_0x351441[_0x440064(0x1c3)][_0x440064(0x1f7)](_0x338d8e),this[_0x440064(0x1b8)][_0x440064(0x171)][_0x440064(0x219)](_0x338d8e);});}[_0x297c45(0x20a)](_0x54caa8){const _0x2574d3=_0x297c45,_0x1aa1cd=this[_0x2574d3(0x1bb)](_0x54caa8);_0x1aa1cd&&this[_0x2574d3(0x176)][_0x2574d3(0x25f)](_0x1aa1cd);}[_0x297c45(0x1bb)](_0x319656){const _0x47a91b=_0x297c45;let _0x47dcbf,_0x4c61ad;switch(_0x319656[_0x47a91b(0x164)]){case _0x47a91b(0x24f):_0x47dcbf=_0x319656[_0x47a91b(0x1f6)][_0x47a91b(0x1ca)];break;case _0x47a91b(0x199):if(_0x4c61ad=_0x319656[_0x47a91b(0x1d4)],!_0x4c61ad)return null;_0x47dcbf=_0x4c61ad[_0x47a91b(0x1ca)];break;case _0x47a91b(0x1cb):_0x47dcbf=_0x319656[_0x47a91b(0x1ca)];break;case _0x47a91b(0x231):_0x47dcbf=_0x319656[_0x47a91b(0x261)];break;case _0x47a91b(0x167):_0x47dcbf=_0x319656[_0x47a91b(0x18a)][_0x47a91b(0x1ca)];break;default:return null;}return _0x47dcbf[_0x47a91b(0x21d)];}[_0x297c45(0x1a9)](_0x5d7297){const _0x23368d=_0x297c45;_0x5d7297[_0x23368d(0x200)](_0x569558=>{const _0xb538ce=_0x23368d,_0x237c14=_0x569558[_0xb538ce(0x173)]();_0x237c14[_0xb538ce(0x180)]=_0x569558[_0xb538ce(0x180)],_0x237c14[_0xb538ce(0x1d9)]=!!_0x569558[_0xb538ce(0x1d9)],_0x237c14[_0xb538ce(0x25d)]=_0x569558[_0xb538ce(0x25d)],_0x237c14[_0xb538ce(0x1a2)]+=this[_0xb538ce(0x21a)],_0x569558[_0xb538ce(0x204)]&&this[_0xb538ce(0x15e)][_0xb538ce(0x25f)](_0x237c14),this[_0xb538ce(0x258)][_0xb538ce(0x1f7)](_0x237c14);});}[_0x297c45(0x1cc)](_0x560de5){const _0x57339b=_0x297c45,_0x41de0f=this[_0x57339b(0x1b8)][_0x57339b(0x1cf)][_0x57339b(0x190)](_0x57339b(0x22d)),_0x3f29c1=this[_0x57339b(0x1b8)][_0x57339b(0x210)];_0x560de5||(_0x560de5=_0x3b0bb0(_0x3f29c1,_0x57339b(0x1a8))),_0x41de0f[_0x57339b(0x206)](_0x560de5,{'title':_0x3b0bb0(_0x3f29c1,_0x57339b(0x242)),'namespace':_0x57339b(0x232)}),this[_0x57339b(0x1a1)]=!0x0,clearTimeout(this[_0x57339b(0x1d2)]),this[_0x57339b(0x1e1)]=[],this[_0x57339b(0x1b8)][_0x57339b(0x1cf)][_0x57339b(0x190)](_0x2d03da)[_0x57339b(0x221)]();}[_0x297c45(0x1e8)](){const _0x45291e=_0x297c45;this[_0x45291e(0x24d)]||(this[_0x45291e(0x24d)]=this[_0x45291e(0x1b8)][_0x45291e(0x1cf)][_0x45291e(0x190)](_0x4bff20)[_0x45291e(0x25f)](_0x3b0bb0(this[_0x45291e(0x1b8)][_0x45291e(0x210)],_0x45291e(0x24e))));}[_0x297c45(0x170)](){const _0xa3d8d8=_0x297c45;this[_0xa3d8d8(0x24d)]&&(this[_0xa3d8d8(0x1b8)][_0xa3d8d8(0x1cf)][_0xa3d8d8(0x190)](_0x4bff20)[_0xa3d8d8(0x207)](this[_0xa3d8d8(0x24d)]),this[_0xa3d8d8(0x24d)]=null);}[_0x297c45(0x201)](_0x2a586a){const _0x544e2e=_0x297c45,_0x3f05f1=_0x2a586a[_0x544e2e(0x1ec)](_0x8da4aa=>_0x8da4aa[_0x544e2e(0x1ef)]());return this[_0x544e2e(0x1f5)][_0x544e2e(0x1bd)](_0x3f05f1);}[_0x297c45(0x229)](_0x1c15a5,_0x5f3dd0){const _0x5a4374=_0x297c45;return this[_0x5a4374(0x1f5)][_0x5a4374(0x238)](_0x1c15a5)[_0x5a4374(0x1ec)]((_0x1a79db,_0x122f9f)=>{const _0x7390c4=_0x5a4374,_0x553b7a=_0x7390c4(0x250)==_0x5f3dd0[_0x122f9f][_0x7390c4(0x164)];if(_0x7390c4(0x193)==_0x1a79db[_0x7390c4(0x1c9)]){const _0x376e6b=_0x1a79db[_0x7390c4(0x1f6)][_0x7390c4(0x1ca)];!this[_0x7390c4(0x19c)][_0x7390c4(0x225)](_0x376e6b)&&(this[_0x7390c4(0x19c)][_0x7390c4(0x18e)](_0x7390c4(0x1fb),_0x376e6b)[_0x7390c4(0x197)]=!0x1);}const _0x3dcf6e=_0x4d9438[_0x7390c4(0x234)](_0x1a79db,this[_0x7390c4(0x19c)]);return _0x3dcf6e[_0x7390c4(0x218)]=_0x1a79db[_0x7390c4(0x218)],_0x3dcf6e[_0x7390c4(0x1d9)]=_0x553b7a,_0x3dcf6e[_0x7390c4(0x180)]=_0x553b7a?null:_0x5f3dd0[_0x122f9f][_0x7390c4(0x249)],_0x3dcf6e[_0x7390c4(0x204)]=_0x7390c4(0x1c8)===_0x5f3dd0[_0x122f9f][_0x7390c4(0x164)],_0x3dcf6e[_0x7390c4(0x25d)]=_0x5f3dd0[_0x122f9f][_0x7390c4(0x25d)],_0x3dcf6e;});}[_0x297c45(0x22e)](){const _0x54bc8d=_0x297c45;this[_0x54bc8d(0x25e)]=!0x0,this[_0x54bc8d(0x240)]()?this[_0x54bc8d(0x16b)]():this[_0x54bc8d(0x25e)]=!0x1;}[_0x297c45(0x240)](){const _0x28edb6=_0x297c45,_0x2be767=this[_0x28edb6(0x1b8)][_0x28edb6(0x1cf)][_0x28edb6(0x190)](_0x21b1bc)[_0x28edb6(0x1dd)][_0x28edb6(0x190)](this[_0x28edb6(0x217)]);return!this[_0x28edb6(0x1b8)][_0x28edb6(0x1f2)]&&!!_0x2be767&&_0x2be767[_0x28edb6(0x15d)]>0x1&&this[_0x28edb6(0x25e)];}[_0x297c45(0x1af)](){const _0x33ea3a=_0x297c45;return this[_0x33ea3a(0x1e1)][_0x33ea3a(0x15d)]>0x0||this[_0x33ea3a(0x240)]();}}class V extends Error{}function W(_0x3821ee,_0x20b778){const _0x32017a=_0x297c45;for(const _0x583343 of _0x3821ee)_0x583343[_0x32017a(0x1a2)]=_0x20b778++;}function _0x3106(){const _0x8bf268=['sendOperations','reconnection:\x20flushed\x20session','$root','editing','includes','roots','1403620qgMEHP','forEach','_compressOperations','disconnected','_ignoredOperations','_isDisconnection','return','showWarning','remove','isEnabled','parse','_addKnownRoot','_isPendingUpdate','_isConnected','getMany','8bDNWzd','setPermissions','locale','error','_crash','destroy','collaboration-missing-channelid','startsWith','_waitUntilSynced','_channelId','wasUndone','applyOperation','_offset','data','_lastSyncedOperationId','rootName','CommentsOnly','realtimecollaborationclient-error','realtimecollaborationclient-init-session-connection-error','disconnect','state','getOperationAuthor','currentDocumentSession','getRoot','11SwxoaU','realtimecollaborationclient','realtimecollaborationclient-init-document-already-initialized','_decompressOperations','message','createRange','3ytAOer','Notification','_refreshUserSelectionMarkers','suppressErrorInCollaboration','_setUpDataInit','addRoot','real-time-collaboration','loadRoot','fromJSON','getConnectedSessions','apply','history','decompress','isPremiumPlugin','high','409','RealTimeCollaborationClient','string','lastOperationId','lastOperationAcceptedAt','_shouldSendSelectionUpdate','end','Synchronization\x20issue','4772064twFLRD','reset','createPositionFromPath','view','connection','version','userId','fire','_handleExternalOperations','ready','_pendingAction','PENDING_ACTION_SENDING_DATA','insert','init','getIdOfTheLastOperation','_handleReconnectionResponse','_baseBufferDelay','_lastServerVersion','_initThrowingOnDataSet','change:_isEditingAllowed','selection','serverHistory','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','addToReconnectionStack','sessionCreatedAt','_bufferRootLoad','createdAt','_hasSelectionChanged','add','rtc-destroyed','affectedSelectable','_fetchMissingUsers','_operationToId','push','length','_disconnectionOperations','lastSyncVersion','slice','isOfficialPlugin','enableReadOnlyMode','differ','type','change:range','_disconnectService','move','24HYTtPi','markers','mySessionId','_sendBufferedOperationsDelayed','389332SzmlQf','478401hElolq','catch','lastDocumentSession','_clearPendingAction','model','_connectAfterSessionHasBeenFlushed','clone','_applyOperationsSet','_getOperationsFromInitData','_knownRootNames','entries','change:_isPendingUpdate','change:hasDomSelection','requires','addUser','operationsReceived','_service','wereChangesApplied','affectsData','_authorId','round','cloudDocumentVersion','register','_loadRoot','set','realtimecollaborationclient-sendbufferedoperations','setIdForTheLastOperation','document','from','targetPosition','realtimecollaborationclient-init-non-existent-root','_knownOperations','getOperations','createRoot','_handleServerResponse','get','attributes','_sendBufferedOperations','InsertOperation','size','offset','rtc-offline','_isAttached','realtimecollaborationclient-init-service-incorrect-server-operation','marker','_handleInitialConnectionData','realtimecollaborationclient-init-service-internal-error','_document','isUndoneOperation','9RQbOSw','createPositionAt','cloudServices.bundleVersion','_hasSynchronizationProblem','baseVersion','cloud-services-internal-error:\x20Request\x20timeout.','collaboration','_connectService','6513204rALomo','stop','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.','_updateServerHistory','connected','enqueueChange','_isLoaded','config','getDocumentDetails','_shouldSendUpdate','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','then','filter','disableReadOnlyMode','createUserMarkerOperations','collaboration.channelId','31210SyRhvL','getUser','editor','removeFromReconnectionStack','_isEditingAllowed','_getAffectedRoot','_handleSendingSelectionMarkers','compress','realtimecollaborationclient-init-connection-failed','_handleReceivedOperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','404','initData','batch','pluginName','rootsAttributes','has','keys','cs:removeUser','__className','root','addRootAttribute','_handleReconnectionError','connect','Permissions','plugins','_operationIdentifier','343176UeJwed','_sendBufferedOperationsDelayId','code','newRange','_saveOperationInBuffer','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','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.','_initSessionsHandling','_isInit','reconnect','isDocumentOperation','CollaborativeEditingService','channelSessions','bind','finally','multi-root-editor-root-attributes-no-root','_bufferedOperations','document:write','unregister','metadata','listenTo','permissions','sessionId','_setPendingAction','path','realtimecollaborationclient-handleserverresponse','stopListening','map','start','sessionAdd:','toJSON','_currentBufferDelay','cloud-services-internal-error:\x20Not\x20connected.','isReadOnly','define','directChange','_compressor','position','addOperation','off'];_0x3106=function(){return _0x8bf268;};return _0x3106();}class F{[_0x297c45(0x203)];[_0x297c45(0x263)];constructor(_0x3eefa8){const _0x3235e9=_0x297c45;this[_0x3235e9(0x203)]=_0x3eefa8,this[_0x3235e9(0x263)]=new WeakMap();}[_0x297c45(0x251)](_0x438f80){const _0x206134=_0x297c45;let _0xec0853=_0x438f80[_0x206134(0x15d)];for(;_0xec0853--;){const _0x3ce445=_0x438f80[_0xec0853];if(!this[_0x206134(0x203)][_0x206134(0x1c6)](_0x3ce445)){if(!this[_0x206134(0x263)][_0x206134(0x1c6)](_0x3ce445)){const _0x470125=_0x474dfd()[_0x206134(0x160)](0x1,0x12);this[_0x206134(0x263)][_0x206134(0x185)](_0x3ce445,_0x470125);}return this[_0x206134(0x263)][_0x206134(0x190)](_0x3ce445);}}}[_0x297c45(0x187)](_0x16755e,_0x2a5e94){const _0x5cc4ce=_0x297c45;if(!_0x2a5e94)return;let _0x1568d2=_0x16755e[_0x5cc4ce(0x15d)];for(;_0x1568d2--;){const _0x379e37=_0x16755e[_0x1568d2];this[_0x5cc4ce(0x203)][_0x5cc4ce(0x1c6)](_0x379e37)||this[_0x5cc4ce(0x263)][_0x5cc4ce(0x185)](_0x379e37,_0x2a5e94);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2278e1=_0x2997;function _0x226f(){const _0x348f72=['1304114RcayIe','set','getUserSessions','forEach','assign','getUser','getUserBySessionId','context','orderNumber','2dFykbj','clear','user','_uniqueUsersCount','mySessionId','values','add','isMe','51038RajpxX','listenTo','connected','12nuYMlA','change:state','role','requires','fire','plugins','channelConnectedUsers','unregister','328552oqDSOG','get','register','_handleSessionAdd','1011520ggJaYt','has','getUserRole','defineMe','sessionAdd:','stopListening','_registeredSessions','sessions-register-already-registered','521994sFdVQc','_handleSessionRemove','connection','Sessions','_createUser','state','size','addUser','sessions-unregister-not-exist','pluginName','init','sessionId','385848OyNhyW','isPremiumPlugin','channelSessions','isOfficialPlugin','2621290rjVgFP','delete','remove','hiddenInPresenceList','_users','allConnectedUsers'];_0x226f=function(){return _0x348f72;};return _0x226f();}(function(_0x5b37fa,_0x380d98){const _0x473817=_0x2997,_0x491a58=_0x5b37fa();while(!![]){try{const _0x56d49b=parseInt(_0x473817(0xdd))/0x1*(parseInt(_0x473817(0xd5))/0x2)+-parseInt(_0x473817(0xf4))/0x3+parseInt(_0x473817(0xec))/0x4+parseInt(_0x473817(0x104))/0x5+parseInt(_0x473817(0xe0))/0x6*(-parseInt(_0x473817(0xcc))/0x7)+-parseInt(_0x473817(0xe8))/0x8+parseInt(_0x473817(0x100))/0x9;if(_0x56d49b===_0x380d98)break;else _0x491a58['push'](_0x491a58['shift']());}catch(_0x9a371e){_0x491a58['push'](_0x491a58['shift']());}}}(_0x226f,0x452f1));import{ContextPlugin as _0x2528b4}from'ckeditor5/src/core.js';import{Collection as _0x137eea,CKEditorError as _0x2fb41a}from'ckeditor5/src/utils.js';function _0x2997(_0x23cd30,_0x5834ab){const _0x226fd9=_0x226f();return _0x2997=function(_0x299762,_0x493266){_0x299762=_0x299762-0xca;let _0x29e125=_0x226fd9[_0x299762];return _0x29e125;},_0x2997(_0x23cd30,_0x5834ab);}import{WebSocketGateway as _0x130ffc}from'./websocketgateway.js';import{Users as _0x1227f2}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2528b4{[_0x2278e1(0x102)];[_0x2278e1(0xe6)];[_0x2278e1(0xcb)];[_0x2278e1(0xf2)];[_0x2278e1(0xd8)];[_0x2278e1(0xca)];static get[_0x2278e1(0xfd)](){const _0x5d72de=_0x2278e1;return _0x5d72de(0xf7);}static get[_0x2278e1(0x103)](){return!0x0;}static get[_0x2278e1(0x101)](){return!0x0;}static get[_0x2278e1(0xe3)](){return[_0x130ffc,_0x1227f2];}constructor(_0x79da68){const _0x4c5682=_0x2278e1;super(_0x79da68),this[_0x4c5682(0x102)]=new Map(),this[_0x4c5682(0xe6)]=new Map(),this[_0x4c5682(0xcb)]=new _0x137eea(),this[_0x4c5682(0xf2)]=new Map(),this[_0x4c5682(0xd8)]=0x0,this[_0x4c5682(0xca)]=this[_0x4c5682(0xd3)][_0x4c5682(0xe5)][_0x4c5682(0xe9)](_0x1227f2);}[_0x2278e1(0xfe)](){const _0x597c41=_0x2278e1,_0x3a92e4=this[_0x597c41(0xd3)][_0x597c41(0xe5)][_0x597c41(0xe9)](_0x130ffc);this[_0x597c41(0xde)](_0x3a92e4,_0x597c41(0xe1),(_0x348794,_0xf4b726,_0x5e5b2d)=>{const _0x2d7bb9=_0x597c41;if(_0x2d7bb9(0xdf)!==_0x5e5b2d)this[_0x2d7bb9(0x102)][_0x2d7bb9(0xcf)](_0x232a4f=>_0x232a4f[_0x2d7bb9(0xd6)]()),this[_0x2d7bb9(0xe6)][_0x2d7bb9(0xcf)](_0x25bf3c=>_0x25bf3c[_0x2d7bb9(0xd6)]()),this[_0x2d7bb9(0xcb)][_0x2d7bb9(0xd6)]();else{for(const [_0x31310c,_0x21872b]of this[_0x2d7bb9(0xf2)])for(const _0x5978a3 of _0x21872b)this[_0x2d7bb9(0xeb)](_0x31310c,_0x5978a3);}}),this[_0x597c41(0xf8)](_0x3a92e4[_0x597c41(0xf6)]['me'],!0x0);}[_0x2278e1(0xea)](_0xddca8f,_0x44997a){const _0xb83212=_0x2278e1;if(this[_0xb83212(0xf2)][_0xb83212(0xed)](_0xddca8f))throw new _0x2fb41a(_0xb83212(0xf3),null,{'channelId':_0xddca8f});this[_0xb83212(0xf2)][_0xb83212(0xcd)](_0xddca8f,_0x44997a),this[_0xb83212(0x102)][_0xb83212(0xcd)](_0xddca8f,new _0x137eea()),this[_0xb83212(0xe6)][_0xb83212(0xcd)](_0xddca8f,new _0x137eea()),this[_0xb83212(0xde)](_0x44997a,_0xb83212(0xdb),(_0x9d8b71,_0x578f3a)=>this[_0xb83212(0xeb)](_0xddca8f,_0x578f3a)),this[_0xb83212(0xde)](_0x44997a,_0xb83212(0x106),(_0x1375c4,_0x52ff2f)=>this[_0xb83212(0xf5)](_0xddca8f,_0x52ff2f));for(const _0x8d76a8 of _0x44997a)this[_0xb83212(0xeb)](_0xddca8f,_0x8d76a8);}[_0x2278e1(0xe7)](_0x51b8c5){const _0x3629fc=_0x2278e1;if(!this[_0x3629fc(0xf2)][_0x3629fc(0xed)](_0x51b8c5))throw new _0x2fb41a(_0x3629fc(0xfc),null,{'channelId':_0x51b8c5});const _0x36c6e3=this[_0x3629fc(0xf2)][_0x3629fc(0xe9)](_0x51b8c5);this[_0x3629fc(0xf1)](_0x36c6e3);for(const _0x17bf7d of _0x36c6e3)_0x3629fc(0xdf)===this[_0x3629fc(0xd3)][_0x3629fc(0xe5)][_0x3629fc(0xe9)](_0x130ffc)[_0x3629fc(0xf9)]&&this[_0x3629fc(0xf5)](_0x51b8c5,_0x17bf7d);this[_0x3629fc(0xf2)][_0x3629fc(0x105)](_0x51b8c5),this[_0x3629fc(0x102)][_0x3629fc(0x105)](_0x51b8c5),this[_0x3629fc(0xe6)][_0x3629fc(0x105)](_0x51b8c5);}get[_0x2278e1(0xd9)](){const _0x1485b1=_0x2278e1;return this[_0x1485b1(0xd3)][_0x1485b1(0xe5)][_0x1485b1(0xe9)](_0x130ffc)[_0x1485b1(0xf6)][_0x1485b1(0xff)];}[_0x2278e1(0xd2)](_0x259c93){const _0x4aed18=_0x2278e1;for(const _0x1d2d5e of this[_0x4aed18(0x102)][_0x4aed18(0xda)]())for(const _0x404041 of _0x1d2d5e)if(_0x404041['id']===_0x259c93)return _0x404041[_0x4aed18(0xd7)];}[_0x2278e1(0xce)](_0x49207a,_0x33cb78){const _0x31117c=_0x2278e1,_0x3f4765=_0x33cb78?[this[_0x31117c(0x102)][_0x31117c(0xe9)](_0x33cb78)]:this[_0x31117c(0x102)][_0x31117c(0xda)](),_0x170acf=new Set();for(const _0x52cdce of _0x3f4765)for(const _0x22d7a4 of _0x52cdce)_0x22d7a4[_0x31117c(0xd7)]['id']===_0x49207a['id']&&_0x170acf[_0x31117c(0xdb)](_0x22d7a4['id']);return _0x170acf;}[_0x2278e1(0xee)](_0x25f3c8){const _0x5daec2=_0x2278e1;for(const _0xa0a43b of this[_0x5daec2(0x102)][_0x5daec2(0xda)]())for(const _0x4635a0 of _0xa0a43b)if(_0x4635a0[_0x5daec2(0xd7)]===_0x25f3c8)return _0x4635a0[_0x5daec2(0xe2)];}[_0x2278e1(0xeb)](_0x17f73c,_0x411629){const _0x88f4c7=_0x2278e1;if(_0x88f4c7(0xdf)!==this[_0x88f4c7(0xd3)][_0x88f4c7(0xe5)][_0x88f4c7(0xe9)](_0x130ffc)[_0x88f4c7(0xf9)])return;const _0x4576b0=_0x411629[_0x88f4c7(0xd7)],_0x32abbb=this[_0x88f4c7(0xca)][_0x88f4c7(0xd1)](_0x4576b0['id'])||this[_0x88f4c7(0xf8)](_0x4576b0),_0x1aac03=Object[_0x88f4c7(0xd0)]({},_0x411629,{'user':_0x32abbb});if(this[_0x88f4c7(0x102)][_0x88f4c7(0xe9)](_0x17f73c)[_0x88f4c7(0xdb)](_0x1aac03),!_0x4576b0[_0x88f4c7(0x107)]){const _0xf3e4cd=this[_0x88f4c7(0xe6)][_0x88f4c7(0xe9)](_0x17f73c);_0xf3e4cd[_0x88f4c7(0xed)](_0x32abbb['id'])||_0xf3e4cd[_0x88f4c7(0xdb)](_0x32abbb),this[_0x88f4c7(0xcb)][_0x88f4c7(0xed)](_0x32abbb['id'])||_0x4576b0[_0x88f4c7(0x107)]||this[_0x88f4c7(0xcb)][_0x88f4c7(0xdb)](_0x32abbb,_0x32abbb[_0x88f4c7(0xdc)]?0x0:void 0x0);}this[_0x88f4c7(0xe4)](_0x88f4c7(0xf0)+_0x17f73c,{'channelId':_0x17f73c,'session':_0x1aac03});}[_0x2278e1(0xf5)](_0x1fadd8,_0x5935ab){const _0x5906b5=_0x2278e1;if(_0x5906b5(0xdf)!==this[_0x5906b5(0xd3)][_0x5906b5(0xe5)][_0x5906b5(0xe9)](_0x130ffc)[_0x5906b5(0xf9)])return;const _0x55e232=this[_0x5906b5(0xe6)][_0x5906b5(0xe9)](_0x1fadd8),_0x3de0e3=_0x5935ab[_0x5906b5(0xd7)];_0x3de0e3['id']&&(this[_0x5906b5(0x102)][_0x5906b5(0xe9)](_0x1fadd8)[_0x5906b5(0x106)](_0x5935ab['id']),_0x55e232[_0x5906b5(0xed)](_0x3de0e3['id'])&&!this[_0x5906b5(0xce)](_0x3de0e3,_0x1fadd8)[_0x5906b5(0xfa)]&&_0x55e232[_0x5906b5(0x106)](_0x3de0e3['id']),this[_0x5906b5(0xcb)][_0x5906b5(0xe9)](_0x3de0e3['id'])&&!this[_0x5906b5(0xce)](_0x3de0e3)[_0x5906b5(0xfa)]&&this[_0x5906b5(0xcb)][_0x5906b5(0x106)](_0x3de0e3['id']));}[_0x2278e1(0xf8)](_0x13744f,_0x1bce84){const _0x587eca=_0x2278e1,_0x23e89f=this[_0x587eca(0xca)][_0x587eca(0xfb)](_0x13744f);return _0x1bce84&&this[_0x587eca(0xca)][_0x587eca(0xef)](_0x13744f['id']),_0x23e89f[_0x587eca(0xd4)]=this[_0x587eca(0xd8)]++,_0x23e89f;}}
23
+ const _0x53b630=_0x193a;function _0x193a(_0x435120,_0x589a43){const _0x3346b1=_0x3346();return _0x193a=function(_0x193a4b,_0x4d0234){_0x193a4b=_0x193a4b-0x1e0;let _0x1e30f8=_0x3346b1[_0x193a4b];return _0x1e30f8;},_0x193a(_0x435120,_0x589a43);}(function(_0x24afbe,_0x2d9a8f){const _0x2aa320=_0x193a,_0x59784d=_0x24afbe();while(!![]){try{const _0x52fc7b=parseInt(_0x2aa320(0x1f3))/0x1+-parseInt(_0x2aa320(0x215))/0x2+-parseInt(_0x2aa320(0x212))/0x3*(parseInt(_0x2aa320(0x1f4))/0x4)+-parseInt(_0x2aa320(0x1e5))/0x5+parseInt(_0x2aa320(0x21c))/0x6+-parseInt(_0x2aa320(0x1ed))/0x7+parseInt(_0x2aa320(0x21a))/0x8;if(_0x52fc7b===_0x2d9a8f)break;else _0x59784d['push'](_0x59784d['shift']());}catch(_0x282b1c){_0x59784d['push'](_0x59784d['shift']());}}}(_0x3346,0xa331b));import{ContextPlugin as _0x2cb0b0}from'ckeditor5/src/core.js';import{Collection as _0x24895b,CKEditorError as _0xf73d60}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x5247ab}from'./websocketgateway.js';import{Users as _0x92e2e6}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2cb0b0{[_0x53b630(0x1f1)];[_0x53b630(0x217)];[_0x53b630(0x208)];[_0x53b630(0x1f2)];[_0x53b630(0x201)];[_0x53b630(0x203)];static get[_0x53b630(0x204)](){const _0x50ee18=_0x53b630;return _0x50ee18(0x1fe);}static get[_0x53b630(0x1ea)](){return!0x0;}static get[_0x53b630(0x213)](){return!0x0;}static get[_0x53b630(0x1f6)](){return[_0x5247ab,_0x92e2e6];}constructor(_0x409f06){const _0x26adec=_0x53b630;super(_0x409f06),this[_0x26adec(0x1f1)]=new Map(),this[_0x26adec(0x217)]=new Map(),this[_0x26adec(0x208)]=new _0x24895b(),this[_0x26adec(0x1f2)]=new Map(),this[_0x26adec(0x201)]=0x0,this[_0x26adec(0x203)]=this[_0x26adec(0x20d)][_0x26adec(0x21b)][_0x26adec(0x1fb)](_0x92e2e6);}[_0x53b630(0x1e6)](){const _0x21c2ca=_0x53b630,_0x991eb4=this[_0x21c2ca(0x20d)][_0x21c2ca(0x21b)][_0x21c2ca(0x1fb)](_0x5247ab);this[_0x21c2ca(0x1eb)](_0x991eb4,_0x21c2ca(0x1e3),(_0x1b1ef6,_0x2db2b8,_0x32b81e)=>{const _0x4180f0=_0x21c2ca;if(_0x4180f0(0x1f9)!==_0x32b81e)this[_0x4180f0(0x1f1)][_0x4180f0(0x1e9)](_0x3c4e42=>_0x3c4e42[_0x4180f0(0x1fd)]()),this[_0x4180f0(0x217)][_0x4180f0(0x1e9)](_0x43d297=>_0x43d297[_0x4180f0(0x1fd)]()),this[_0x4180f0(0x208)][_0x4180f0(0x1fd)]();else{for(const [_0x426199,_0x55a83e]of this[_0x4180f0(0x1f2)])for(const _0x290353 of _0x55a83e)this[_0x4180f0(0x206)](_0x426199,_0x290353);}}),this[_0x21c2ca(0x209)](_0x991eb4[_0x21c2ca(0x1ee)]['me'],!0x0);}[_0x53b630(0x20b)](_0x49af5f,_0x48e24c){const _0x5be668=_0x53b630;if(this[_0x5be668(0x1f2)][_0x5be668(0x1f0)](_0x49af5f))throw new _0xf73d60(_0x5be668(0x216),null,{'channelId':_0x49af5f});this[_0x5be668(0x1f2)][_0x5be668(0x1e4)](_0x49af5f,_0x48e24c),this[_0x5be668(0x1f1)][_0x5be668(0x1e4)](_0x49af5f,new _0x24895b()),this[_0x5be668(0x217)][_0x5be668(0x1e4)](_0x49af5f,new _0x24895b()),this[_0x5be668(0x1eb)](_0x48e24c,_0x5be668(0x1e7),(_0x218a62,_0x27d7a5)=>this[_0x5be668(0x206)](_0x49af5f,_0x27d7a5)),this[_0x5be668(0x1eb)](_0x48e24c,_0x5be668(0x1ff),(_0xc5a780,_0x37b0e8)=>this[_0x5be668(0x1e8)](_0x49af5f,_0x37b0e8));for(const _0x479ccc of _0x48e24c)this[_0x5be668(0x206)](_0x49af5f,_0x479ccc);}[_0x53b630(0x1ef)](_0x5e50f6){const _0xd575cc=_0x53b630;if(!this[_0xd575cc(0x1f2)][_0xd575cc(0x1f0)](_0x5e50f6))throw new _0xf73d60(_0xd575cc(0x1e2),null,{'channelId':_0x5e50f6});const _0xb234df=this[_0xd575cc(0x1f2)][_0xd575cc(0x1fb)](_0x5e50f6);this[_0xd575cc(0x20c)](_0xb234df);for(const _0x46d5ca of _0xb234df)_0xd575cc(0x1f9)===this[_0xd575cc(0x20d)][_0xd575cc(0x21b)][_0xd575cc(0x1fb)](_0x5247ab)[_0xd575cc(0x1fa)]&&this[_0xd575cc(0x1e8)](_0x5e50f6,_0x46d5ca);this[_0xd575cc(0x1f2)][_0xd575cc(0x1e0)](_0x5e50f6),this[_0xd575cc(0x1f1)][_0xd575cc(0x1e0)](_0x5e50f6),this[_0xd575cc(0x217)][_0xd575cc(0x1e0)](_0x5e50f6);}get[_0x53b630(0x219)](){const _0x10a4f4=_0x53b630;return this[_0x10a4f4(0x20d)][_0x10a4f4(0x21b)][_0x10a4f4(0x1fb)](_0x5247ab)[_0x10a4f4(0x1ee)][_0x10a4f4(0x211)];}[_0x53b630(0x207)](_0x150845){const _0x5d9084=_0x53b630;for(const _0x428628 of this[_0x5d9084(0x1f1)][_0x5d9084(0x202)]())for(const _0x28a9e0 of _0x428628)if(_0x28a9e0['id']===_0x150845)return _0x28a9e0[_0x5d9084(0x1f7)];}[_0x53b630(0x1fc)](_0x3866d2,_0x3bd583){const _0x4bb7e2=_0x53b630,_0x38ad4c=_0x3bd583?[this[_0x4bb7e2(0x1f1)][_0x4bb7e2(0x1fb)](_0x3bd583)]:this[_0x4bb7e2(0x1f1)][_0x4bb7e2(0x202)](),_0xa99209=new Set();for(const _0x4af436 of _0x38ad4c)for(const _0x54634c of _0x4af436)_0x54634c[_0x4bb7e2(0x1f7)]['id']===_0x3866d2['id']&&_0xa99209[_0x4bb7e2(0x1e7)](_0x54634c['id']);return _0xa99209;}[_0x53b630(0x20e)](_0x4e7599){const _0x2dec15=_0x53b630;for(const _0x465c61 of this[_0x2dec15(0x1f1)][_0x2dec15(0x202)]())for(const _0x590fa0 of _0x465c61)if(_0x590fa0[_0x2dec15(0x1f7)]===_0x4e7599)return _0x590fa0[_0x2dec15(0x1f5)];}[_0x53b630(0x206)](_0x114de9,_0x996110){const _0x42a075=_0x53b630;if(_0x42a075(0x1f9)!==this[_0x42a075(0x20d)][_0x42a075(0x21b)][_0x42a075(0x1fb)](_0x5247ab)[_0x42a075(0x1fa)])return;const _0x42fd91=_0x996110[_0x42a075(0x1f7)],_0x1fe59a=this[_0x42a075(0x203)][_0x42a075(0x1ec)](_0x42fd91['id'])||this[_0x42a075(0x209)](_0x42fd91),_0x8a09d6=Object[_0x42a075(0x20a)]({},_0x996110,{'user':_0x1fe59a});if(this[_0x42a075(0x1f1)][_0x42a075(0x1fb)](_0x114de9)[_0x42a075(0x1e7)](_0x8a09d6),!_0x42fd91[_0x42a075(0x205)]){const _0x3a0905=this[_0x42a075(0x217)][_0x42a075(0x1fb)](_0x114de9);_0x3a0905[_0x42a075(0x1f0)](_0x1fe59a['id'])||_0x3a0905[_0x42a075(0x1e7)](_0x1fe59a),this[_0x42a075(0x208)][_0x42a075(0x1f0)](_0x1fe59a['id'])||_0x42fd91[_0x42a075(0x205)]||this[_0x42a075(0x208)][_0x42a075(0x1e7)](_0x1fe59a,_0x1fe59a[_0x42a075(0x218)]?0x0:void 0x0);}this[_0x42a075(0x200)](_0x42a075(0x20f)+_0x114de9,{'channelId':_0x114de9,'session':_0x8a09d6});}[_0x53b630(0x1e8)](_0x5c02d1,_0x10f017){const _0x167bc2=_0x53b630;if(_0x167bc2(0x1f9)!==this[_0x167bc2(0x20d)][_0x167bc2(0x21b)][_0x167bc2(0x1fb)](_0x5247ab)[_0x167bc2(0x1fa)])return;const _0x313b08=this[_0x167bc2(0x217)][_0x167bc2(0x1fb)](_0x5c02d1),_0x126966=_0x10f017[_0x167bc2(0x1f7)];_0x126966['id']&&(this[_0x167bc2(0x1f1)][_0x167bc2(0x1fb)](_0x5c02d1)[_0x167bc2(0x1ff)](_0x10f017['id']),_0x313b08[_0x167bc2(0x1f0)](_0x126966['id'])&&!this[_0x167bc2(0x1fc)](_0x126966,_0x5c02d1)[_0x167bc2(0x214)]&&_0x313b08[_0x167bc2(0x1ff)](_0x126966['id']),this[_0x167bc2(0x208)][_0x167bc2(0x1fb)](_0x126966['id'])&&!this[_0x167bc2(0x1fc)](_0x126966)[_0x167bc2(0x214)]&&this[_0x167bc2(0x208)][_0x167bc2(0x1ff)](_0x126966['id']));}[_0x53b630(0x209)](_0x2a6240,_0x374213){const _0x37abe7=_0x53b630,_0x2b49b9=this[_0x37abe7(0x203)][_0x37abe7(0x1f8)](_0x2a6240);return _0x374213&&this[_0x37abe7(0x203)][_0x37abe7(0x210)](_0x2a6240['id']),_0x2b49b9[_0x37abe7(0x1e1)]=this[_0x37abe7(0x201)]++,_0x2b49b9;}}function _0x3346(){const _0x2adb6f=['connection','unregister','has','channelSessions','_registeredSessions','1004367IKeunb','48ETVdXl','role','requires','user','addUser','connected','state','get','getUserSessions','clear','Sessions','remove','fire','_uniqueUsersCount','values','_users','pluginName','hiddenInPresenceList','_handleSessionAdd','getUserBySessionId','allConnectedUsers','_createUser','assign','register','stopListening','context','getUserRole','sessionAdd:','defineMe','sessionId','125676YoVQil','isPremiumPlugin','size','1659204NPhvRm','sessions-register-already-registered','channelConnectedUsers','isMe','mySessionId','11274320MsJckC','plugins','121752hgPQfh','delete','orderNumber','sessions-unregister-not-exist','change:state','set','603150KdmWGi','init','add','_handleSessionRemove','forEach','isOfficialPlugin','listenTo','getUser','2187990qpKZIe'];_0x3346=function(){return _0x2adb6f;};return _0x3346();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x59f2(_0x32ee0c,_0x13144a){const _0x5e6d4f=_0x5e6d();return _0x59f2=function(_0x59f252,_0x232547){_0x59f252=_0x59f252-0x9c;let _0x48c688=_0x5e6d4f[_0x59f252];return _0x48c688;},_0x59f2(_0x32ee0c,_0x13144a);}const _0x53d8b5=_0x59f2;function _0x5e6d(){const _0xb697cb=['stopListening','pluginName','getNearestSelectionRange','getMarkerClass','user:range','listenTo','getContainedElement','span','destroy','editingDowncast','getFirstRange','markerNameToElements','getAttribute','reconvertMarker','detach','clear','plugins','createUserMarkerOperations','size','getCustomProperty','split','$text','render','781300roLBQc','nodeAfter','markerName','set','name','parent','element','type','createElement','enqueueChange','UserMarkers','newRange','mySessionId','Escape','orderNumber','hasContent','requires','update:user:range','mouseenter','marker','init','11108388qwtaJq','document','editing','tableCell','outerHTML','isCollapsed','deletionPosition','selection','false','user:','getPositions','remove','userPositionMarker','isSimilar','isInline','schema','editor','rootName','contenteditable','user:position:','get','$graveyard','afterInit','_createdBatches','118228UoZcwu','oldRange','mouseleave','delete','11dEBZKl','view','fromRange','isLimit','has','ck-user__selection','root','addEventListener','createUIElement','end','removeClass','8Yolhgo','innerHTML','189eSTHVR','markerToHighlight','removeMarker','getRange','change','isOfficialPlugin','setCustomProperty','model','getSelectionClass','ck-user__marker_hovered','toRange','createRange','markerToElement','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getUserBySessionId','conversion','classList','getStart','change:range','startsWith','addMarker','checkChild','markers','isDocumentOperation','setAttribute','spellcheck','hasDomSelection','1099qJifrD','keydown','textContent','color','5916jeSMMw','toDomElement','batch','_domEmitter','markerRange','isObject','user:position','highest','data-session-id','ck-user__marker\x20','start','for','ck-user__marker-tooltip','mapper','153811GUNVfS','updateMarker','undo','isPremiumPlugin','add','7206YdaerU','1162737mKyLkk','applyOperation','15eyMqdB','commands','user:range:'];_0x5e6d=function(){return _0xb697cb;};return _0x5e6d();}(function(_0x3fc3d2,_0x25e1b8){const _0x47db80=_0x59f2,_0x20cb5b=_0x3fc3d2();while(!![]){try{const _0xe2e6b5=-parseInt(_0x47db80(0x10e))/0x1+-parseInt(_0x47db80(0x100))/0x2*(parseInt(_0x47db80(0xe1))/0x3)+-parseInt(_0x47db80(0xd0))/0x4*(parseInt(_0x47db80(0x116))/0x5)+-parseInt(_0x47db80(0x113))/0x6*(parseInt(_0x47db80(0xfc))/0x7)+parseInt(_0x47db80(0xdf))/0x8*(-parseInt(_0x47db80(0x114))/0x9)+-parseInt(_0x47db80(0xa3))/0xa*(parseInt(_0x47db80(0xd4))/0xb)+parseInt(_0x47db80(0xb8))/0xc;if(_0xe2e6b5===_0x25e1b8)break;else _0x20cb5b['push'](_0x20cb5b['shift']());}catch(_0x88b369){_0x20cb5b['push'](_0x20cb5b['shift']());}}}(_0x5e6d,0x18a77));import{Plugin as _0x30bbf1}from'ckeditor5/src/core.js';import{global as _0xd5406d,DomEmitterMixin as _0x3ba06e}from'ckeditor5/src/utils.js';import{Sessions as _0x469db9}from'./sessions.js';import{ModelLiveRange as _0x1f9f9b}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x30bbf1{[_0x53d8b5(0x103)]=new(_0x3ba06e())();static get[_0x53d8b5(0xb3)](){return[_0x469db9];}static get[_0x53d8b5(0x11a)](){const _0x29b60b=_0x53d8b5;return _0x29b60b(0xad);}static get[_0x53d8b5(0xe6)](){return!0x0;}static get[_0x53d8b5(0x111)](){return!0x0;}[_0x53d8b5(0xb7)](){const _0x2e8d74=_0x53d8b5,_0x15fb4d=this[_0x2e8d74(0xc8)],_0x553f67=_0x15fb4d[_0x2e8d74(0x9c)][_0x2e8d74(0xcc)](_0x469db9);_0x15fb4d[_0x2e8d74(0xf0)][_0x2e8d74(0x10b)](_0x2e8d74(0x122))[_0x2e8d74(0xed)]({'model':_0x2e8d74(0x106),'view':(_0xdc2bdc,{writer:_0x2f0bdd})=>function(_0x2fc218,_0x2c691a,_0x3badcf,_0x51b2a4){const _0x28b261=_0x2e8d74,_0x378e05=_0x2fc218[_0x28b261(0xa5)][_0x28b261(0xa0)](':')[0x2],_0x2f7892=_0x3badcf[_0x28b261(0xef)](_0x378e05);if(!_0x2f7892||_0x378e05===_0x3badcf[_0x28b261(0xaf)])return;if(!_0x51b2a4[_0x28b261(0xe8)][_0x28b261(0xc7)][_0x28b261(0xf6)](_0x2fc218[_0x28b261(0x104)][_0x28b261(0x10a)],_0x28b261(0xa1)))return;const _0x55fcab={'class':_0x28b261(0x109)+_0x2f7892[_0x28b261(0xff)][_0x28b261(0x11c)](),'data-name':_0x2f7892[_0x28b261(0xa7)],'data-session-id':_0x378e05},_0x32ad9e=_0x51b2a4[_0x28b261(0xe8)][_0x28b261(0xf7)][_0x28b261(0xcc)](_0x2fc218[_0x28b261(0xa5)]),_0x228ae1=_0x32ad9e[_0x28b261(0xf2)](),_0x2015b2=_0x228ae1[_0x28b261(0xa4)],_0x310c36=_0x51b2a4[_0x28b261(0xe8)][_0x28b261(0xc7)];if(_0x2015b2&&_0x310c36[_0x28b261(0x105)](_0x2015b2)&&_0x310c36[_0x28b261(0xc6)](_0x2015b2)&&!_0x51b2a4[_0x28b261(0xe8)][_0x28b261(0xf7)][_0x28b261(0xcc)](_0x28b261(0x118)+_0x378e05)[_0x28b261(0xe4)]()[_0x28b261(0xbd)])return;const _0x5b3f90=_0x228ae1[_0x28b261(0xa8)];return _0x51b2a4[_0x28b261(0xe8)][_0x28b261(0xc7)][_0x28b261(0xd7)](_0x5b3f90)&&!_0x51b2a4[_0x28b261(0xe8)][_0x28b261(0xb2)](_0x5b3f90)&&(_0x55fcab[_0x28b261(0xca)]=!0x1),function(_0x1ec824,_0x4be0a1,_0x4f489e){const _0x9daee3=_0x28b261,_0x48b68d=_0x1ec824[_0x9daee3(0xdc)](_0x9daee3(0x120),_0x4be0a1);return _0x1ec824[_0x9daee3(0xe7)](_0x9daee3(0xc4),!0x0,_0x48b68d),_0x48b68d[_0x9daee3(0xa2)]=function(_0x51bd11){const _0x46b926=_0x9daee3,_0x4b0ded=this[_0x46b926(0x101)](_0x51bd11),_0x4edae3=document[_0x46b926(0xab)](_0x46b926(0x120));return _0x4edae3[_0x46b926(0xf1)][_0x46b926(0x112)](_0x46b926(0x10c)),_0x4edae3[_0x46b926(0xf9)](_0x46b926(0xca),_0x46b926(0xc0)),_0x4edae3[_0x46b926(0xf9)](_0x46b926(0xfa),_0x46b926(0xc0)),_0x4edae3[_0x46b926(0xfe)]=_0x4f489e[_0x46b926(0xa7)],_0x4b0ded[_0x46b926(0xe0)]=_0x46b926(0xee)+_0x4edae3[_0x46b926(0xbc)]+'⁠',_0x4b0ded[_0x46b926(0xdb)](_0x46b926(0xb5),()=>{const _0x51ebdb=_0x46b926;_0x4b0ded[_0x51ebdb(0xf1)][_0x51ebdb(0x112)](_0x51ebdb(0xea));}),_0x4b0ded[_0x46b926(0xdb)](_0x46b926(0xd2),()=>{const _0x7a3c05=_0x46b926;_0x4b0ded[_0x7a3c05(0xf1)][_0x7a3c05(0xc3)](_0x7a3c05(0xea));}),_0x4b0ded;},_0x48b68d[_0x9daee3(0xc5)]=function(_0x10a53c){const _0x549a3b=_0x9daee3;return!(!this[_0x549a3b(0x9f)](_0x549a3b(0xc4))||!_0x10a53c[_0x549a3b(0x9f)](_0x549a3b(0xc4))||this[_0x549a3b(0x125)](_0x549a3b(0x108))!=_0x10a53c[_0x549a3b(0x125)](_0x549a3b(0x108)));},_0x48b68d;}(_0x2c691a,_0x55fcab,_0x2f7892);}(_0xdc2bdc,_0x2f0bdd,_0x553f67,_0x15fb4d)}),_0x15fb4d[_0x2e8d74(0xf0)][_0x2e8d74(0x10b)](_0x2e8d74(0x122))[_0x2e8d74(0xe2)]({'model':_0x2e8d74(0x11d),'view':_0x3406ec=>function(_0x40d26b,_0x10ab8c){const _0x3f916d=_0x2e8d74,_0x4fdf85=_0x40d26b[_0x3f916d(0xa5)][_0x3f916d(0xa0)](':')[0x2];if(_0x4fdf85===_0x10ab8c[_0x3f916d(0xaf)])return null;const _0x261ee6=_0x10ab8c[_0x3f916d(0xef)](_0x4fdf85);if(!_0x261ee6)return{'id':_0x4fdf85,'classes':[]};return{'id':_0x4fdf85,'classes':[_0x3f916d(0xd9),_0x261ee6[_0x3f916d(0xff)][_0x3f916d(0xe9)]()],'attributes':{'data-session-id':_0x4fdf85},'priority':0x7d0+_0x261ee6[_0x3f916d(0xb1)]};}(_0x3406ec,_0x553f67)}),function(_0x552ea3){const _0x10694f=_0x2e8d74,_0x1f0bf5=_0x552ea3[_0x10694f(0xe8)],_0x34a3c7=new Map(),_0x4f9b7a=_0x552ea3[_0x10694f(0x9c)][_0x10694f(0xcc)](_0x469db9);_0x1f0bf5[_0x10694f(0xf7)]['on'](_0x10694f(0xb4),(_0x4d05e6,_0x575f57,_0x597b7a,_0x5c6568)=>{const _0x344f83=_0x10694f;if(!_0x5c6568&&_0x34a3c7[_0x344f83(0xcc)](_0x575f57[_0x344f83(0xa7)]))return _0x34a3c7[_0x344f83(0xcc)](_0x575f57[_0x344f83(0xa7)])[_0x344f83(0x127)](),void _0x34a3c7[_0x344f83(0xd3)](_0x575f57[_0x344f83(0xa7)]);const _0x54064b=_0x575f57[_0x344f83(0xa7)][_0x344f83(0xa0)](':')[0x2];if(_0x54064b===_0x4f9b7a[_0x344f83(0xaf)])return;const _0x45b778=_0x344f83(0xcb)+_0x54064b;_0x1f0bf5[_0x344f83(0xf7)][_0x344f83(0xd8)](_0x45b778)&&_0x552ea3[_0x344f83(0xba)][_0x344f83(0x126)](_0x45b778),_0x575f57['on'](_0x344f83(0xf3),(_0x496019,_0x5a3463,_0x28a355)=>{const _0x3125cc=_0x344f83;if(_0x3125cc(0xcd)!=_0x5a3463[_0x3125cc(0xda)][_0x3125cc(0xc9)]&&_0x3125cc(0xcd)==_0x575f57[_0x3125cc(0xe4)]()[_0x3125cc(0xda)][_0x3125cc(0xc9)]&&!_0x34a3c7[_0x3125cc(0xd8)](_0x575f57[_0x3125cc(0xa7)])){const _0x20c9b8=_0x1f0bf5[_0x3125cc(0xc7)][_0x3125cc(0x11b)](_0x28a355[_0x3125cc(0xbe)]);if(_0x20c9b8){const _0x521c8f=_0x1f9f9b[_0x3125cc(0xd6)](_0x20c9b8);_0x34a3c7[_0x3125cc(0xa6)](_0x575f57[_0x3125cc(0xa7)],_0x521c8f),_0x521c8f['on'](_0x3125cc(0xf3),(_0x3b3f2c,_0x242cc1,_0x4f9647)=>{const _0x5e04fa=_0x3125cc;if(_0x5e04fa(0xcd)==_0x521c8f[_0x5e04fa(0xda)][_0x5e04fa(0xc9)]){const _0x11602b=_0x1f0bf5[_0x5e04fa(0xc7)][_0x5e04fa(0x11b)](_0x4f9647[_0x5e04fa(0xbe)]);_0x11602b?(_0x521c8f[_0x5e04fa(0x10a)]=_0x11602b[_0x5e04fa(0x10a)],_0x521c8f[_0x5e04fa(0xdd)]=_0x11602b[_0x5e04fa(0xdd)]):(_0x34a3c7[_0x5e04fa(0xd3)](_0x575f57[_0x5e04fa(0xa7)]),_0x521c8f[_0x5e04fa(0x127)]());}});}}});}),_0x1f0bf5[_0x10694f(0xb9)]['on'](_0x10694f(0xe5),()=>{const _0x29334d=_0x10694f;_0x34a3c7[_0x29334d(0x9e)]>0x0&&_0x1f0bf5[_0x29334d(0xac)]({'isUndoable':!0x1},_0x21ed73=>{const _0x2d0af5=_0x29334d;for(const [_0x417ecb,_0x5218fe]of _0x34a3c7)_0x2d0af5(0xcd)==_0x1f0bf5[_0x2d0af5(0xf7)][_0x2d0af5(0xcc)](_0x417ecb)[_0x2d0af5(0xe4)]()[_0x2d0af5(0xda)][_0x2d0af5(0xc9)]&&(J(_0x417ecb[_0x2d0af5(0xa0)](':')[0x2],_0x5218fe[_0x2d0af5(0xeb)](),_0x1f0bf5,_0x21ed73),_0x5218fe[_0x2d0af5(0x127)]());_0x34a3c7[_0x2d0af5(0x128)]();});});}(_0x15fb4d),this[_0x2e8d74(0x103)][_0x2e8d74(0x11e)](_0xd5406d[_0x2e8d74(0xb9)],_0x2e8d74(0xfd),(_0xa7789a,{key:_0x55b94a})=>{const _0x1ef566=_0x2e8d74;_0x1ef566(0xb0)===_0x55b94a&&function(_0x84dd4a){const _0x384605=_0x1ef566;_0x84dd4a[_0x384605(0xba)][_0x384605(0xd5)][_0x384605(0xe5)](_0x2c7fcf=>{const _0x3268c8=_0x384605;for(const _0x568185 of _0x84dd4a[_0x3268c8(0xe8)][_0x3268c8(0xf7)]){if(!_0x568185[_0x3268c8(0xa7)][_0x3268c8(0xf4)](_0x3268c8(0x106)))continue;const _0x3cc5fa=_0x84dd4a[_0x3268c8(0xba)][_0x3268c8(0x10d)][_0x3268c8(0x124)](_0x568185[_0x3268c8(0xa7)]);if(_0x3cc5fa){for(const _0x2e7423 of _0x3cc5fa)_0x2c7fcf[_0x3268c8(0xde)](_0x3268c8(0xea),_0x2e7423);}}});}(_0x15fb4d);},{'useCapture':!0x0});}[_0x53d8b5(0xce)](){const _0x1868fa=_0x53d8b5,_0x505d1e=this[_0x1868fa(0xc8)],_0x3b720d=_0x505d1e[_0x1868fa(0x117)][_0x1868fa(0xcc)](_0x1868fa(0x110));_0x3b720d&&_0x505d1e[_0x1868fa(0xe8)]['on'](_0x1868fa(0x115),(_0x4203b9,_0x2de84c)=>{const _0x18b209=_0x1868fa,_0x55a176=_0x2de84c[0x0];if(!_0x55a176[_0x18b209(0xf8)])return;if(_0x18b209(0xb6)!=_0x55a176[_0x18b209(0xaa)]||!_0x55a176[_0x18b209(0xa7)][_0x18b209(0xf4)](_0x18b209(0xc1)))return;const _0x406b63=_0x55a176[_0x18b209(0x102)];_0x3b720d[_0x18b209(0xcf)][_0x18b209(0xd8)](_0x406b63)&&(_0x55a176[_0x18b209(0xae)]=_0x55a176[_0x18b209(0xd1)]?_0x505d1e[_0x18b209(0xe8)][_0x18b209(0xec)](_0x55a176[_0x18b209(0xd1)][_0x18b209(0x10a)],_0x55a176[_0x18b209(0xd1)][_0x18b209(0xdd)]):null);},{'priority':_0x1868fa(0x107)});}[_0x53d8b5(0x121)](){const _0x27f3f1=_0x53d8b5;return this[_0x27f3f1(0x103)][_0x27f3f1(0x119)](),super[_0x27f3f1(0x121)]();}[_0x53d8b5(0x9d)](){const _0x4720f7=_0x53d8b5,_0x1c0762=this[_0x4720f7(0xc8)],_0x259601=_0x1c0762[_0x4720f7(0xe8)][_0x4720f7(0xb9)],_0x58e32a=_0x1c0762[_0x4720f7(0x9c)][_0x4720f7(0xcc)](_0x469db9);_0x1c0762[_0x4720f7(0xe8)][_0x4720f7(0xac)]({'isUndoable':!0x1},_0x409fb6=>{const _0x4f1846=_0x4720f7,_0x3a9ac2=_0x4f1846(0x118)+_0x58e32a[_0x4f1846(0xaf)],_0x32e9a7=_0x4f1846(0xcb)+_0x58e32a[_0x4f1846(0xaf)],_0x4278dc=_0x1c0762[_0x4f1846(0xe8)][_0x4f1846(0xf7)][_0x4f1846(0xd8)](_0x3a9ac2);_0x1c0762[_0x4f1846(0xba)][_0x4f1846(0xd5)][_0x4f1846(0xfb)]?J(_0x58e32a[_0x4f1846(0xaf)],_0x259601[_0x4f1846(0xbf)][_0x4f1846(0x123)](),_0x1c0762[_0x4f1846(0xe8)],_0x409fb6):_0x4278dc&&(_0x409fb6[_0x4f1846(0xe3)](_0x3a9ac2),_0x409fb6[_0x4f1846(0xe3)](_0x32e9a7));});}}function J(_0x5508df,_0x3decf3,_0x5960b3,_0x4d0d93){const _0x2bd536=_0x53d8b5,_0xfd51e6=_0x2bd536(0x118)+_0x5508df,_0x532829=_0x2bd536(0xcb)+_0x5508df,_0x4f8b78=_0x3decf3[_0x2bd536(0x11f)]();let _0x60f9f=_0x3decf3[_0x2bd536(0x10a)];if(_0x4f8b78&&_0x4f8b78['is'](_0x2bd536(0xa9),_0x2bd536(0xbb))){const _0x2f4020=function(_0x596a65,_0xf13b2){const _0x23b486=_0x2bd536;for(const _0x171553 of _0x596a65[_0x23b486(0xc2)]())if(_0xf13b2[_0x23b486(0xc7)][_0x23b486(0xf6)](_0x171553,_0x23b486(0xa1)))return _0x171553;}(_0x3decf3,_0x5960b3);_0x2f4020&&(_0x60f9f=_0x2f4020,_0x3decf3=_0x4d0d93[_0x2bd536(0xec)](_0x60f9f));}const _0x3de607=_0x4d0d93[_0x2bd536(0xec)](_0x60f9f);_0x5960b3[_0x2bd536(0xf7)][_0x2bd536(0xd8)](_0xfd51e6)?(_0x4d0d93[_0x2bd536(0x10f)](_0xfd51e6,{'range':_0x3decf3}),_0x4d0d93[_0x2bd536(0x10f)](_0x532829,{'range':_0x3de607})):(_0x4d0d93[_0x2bd536(0xf5)](_0xfd51e6,{'range':_0x3decf3,'usingOperation':!0x0}),_0x4d0d93[_0x2bd536(0xf5)](_0x532829,{'range':_0x3de607,'usingOperation':!0x0}));}
23
+ function _0x2a2d(_0x19ff0f,_0x6f7973){const _0xbc7466=_0xbc74();return _0x2a2d=function(_0x2a2d2f,_0x578bd9){_0x2a2d2f=_0x2a2d2f-0x75;let _0x247c7c=_0xbc7466[_0x2a2d2f];return _0x247c7c;},_0x2a2d(_0x19ff0f,_0x6f7973);}const _0x1eae72=_0x2a2d;(function(_0x488d0f,_0x5f0579){const _0x5e2438=_0x2a2d,_0x57b3b6=_0x488d0f();while(!![]){try{const _0x26eaac=parseInt(_0x5e2438(0x97))/0x1+parseInt(_0x5e2438(0xf5))/0x2*(parseInt(_0x5e2438(0xcb))/0x3)+-parseInt(_0x5e2438(0xb0))/0x4+parseInt(_0x5e2438(0xfe))/0x5*(-parseInt(_0x5e2438(0x80))/0x6)+parseInt(_0x5e2438(0xc6))/0x7*(-parseInt(_0x5e2438(0xc1))/0x8)+-parseInt(_0x5e2438(0xd0))/0x9*(-parseInt(_0x5e2438(0x8b))/0xa)+-parseInt(_0x5e2438(0x100))/0xb*(-parseInt(_0x5e2438(0xd4))/0xc);if(_0x26eaac===_0x5f0579)break;else _0x57b3b6['push'](_0x57b3b6['shift']());}catch(_0x1bf675){_0x57b3b6['push'](_0x57b3b6['shift']());}}}(_0xbc74,0x67238));import{Plugin as _0x4f2c55}from'ckeditor5/src/core.js';function _0xbc74(){const _0xbff7cb=['enqueueChange','mapper','applyOperation','user:range:','user:position','get','requires','markerName','5gyNDxj','userPositionMarker','33fBDjXe','user:range','user:','for','toDomElement','addEventListener','isLimit','checkChild','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','split','listenTo','stopListening','newRange','3953238ptHbfm','classList','start','plugins','$graveyard','outerHTML','isDocumentOperation','UserMarkers','render','false','change:range','118420vqNDhf','createUIElement','setAttribute','mySessionId','deletionPosition','destroy','span','getUserBySessionId','init','model','hasContent','size','752332NwiXaQ','_domEmitter','view','clear','updateMarker','set','orderNumber','ck-user__selection','delete','spellcheck','Escape','markerToElement','conversion','isInline','getContainedElement','createElement','isObject','type','setCustomProperty','ck-user__marker\x20','document','isSimilar','parent','schema','change','2639740rSRfAk','markerRange','contenteditable','innerHTML','markers','update:user:range','pluginName','startsWith','nodeAfter','getCustomProperty','oldRange','getStart','ck-user__marker-tooltip','root','end','editor','editing','8WzNYup','getNearestSelectionRange','marker','$text','add','2656787lkktHG','getMarkerClass','selection','afterInit','removeClass','1332DsbCPy','createRange','toRange','getSelectionClass','editingDowncast','72SFoHYp','markerToHighlight','removeMarker','fromRange','3395316GIiOaD','user:position:','highest','getRange','textContent','mouseenter','remove','createUserMarkerOperations','mouseleave','detach','keydown','name','batch','data-session-id','commands','getPositions','isOfficialPlugin','_createdBatches','element','has','color','reconvertMarker','rootName','tableCell','ck-user__marker_hovered','addMarker','isPremiumPlugin','undo','markerNameToElements','getFirstRange','hasDomSelection','getAttribute','isCollapsed','1914sRaSpk'];_0xbc74=function(){return _0xbff7cb;};return _0xbc74();}import{global as _0x5bd093,DomEmitterMixin as _0x103280}from'ckeditor5/src/utils.js';import{Sessions as _0x210814}from'./sessions.js';import{ModelLiveRange as _0x2593a0}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x4f2c55{[_0x1eae72(0x98)]=new(_0x103280())();static get[_0x1eae72(0xfc)](){return[_0x210814];}static get[_0x1eae72(0xb6)](){const _0x29ead1=_0x1eae72;return _0x29ead1(0x87);}static get[_0x1eae72(0xe4)](){return!0x0;}static get[_0x1eae72(0xee)](){return!0x0;}[_0x1eae72(0x93)](){const _0x400323=_0x1eae72,_0x10265e=this[_0x400323(0xbf)],_0x2e45f3=_0x10265e[_0x400323(0x83)][_0x400323(0xfb)](_0x210814);_0x10265e[_0x400323(0xa3)][_0x400323(0x76)](_0x400323(0xcf))[_0x400323(0xa2)]({'model':_0x400323(0xfa),'view':(_0x1411df,{writer:_0x46272e})=>function(_0x516661,_0x1d8945,_0x3423ca,_0x54e46b){const _0xbeabc2=_0x400323,_0x48fe4e=_0x516661[_0xbeabc2(0xfd)][_0xbeabc2(0x7c)](':')[0x2],_0x4f7079=_0x3423ca[_0xbeabc2(0x92)](_0x48fe4e);if(!_0x4f7079||_0x48fe4e===_0x3423ca[_0xbeabc2(0x8e)])return;if(!_0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0xae)][_0xbeabc2(0x7a)](_0x516661[_0xbeabc2(0xb1)][_0xbeabc2(0x82)],_0xbeabc2(0xc4)))return;const _0x31f2ea={'class':_0xbeabc2(0xaa)+_0x4f7079[_0xbeabc2(0xe8)][_0xbeabc2(0xc7)](),'data-name':_0x4f7079[_0xbeabc2(0xdf)],'data-session-id':_0x48fe4e},_0x108a00=_0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0xb4)][_0xbeabc2(0xfb)](_0x516661[_0xbeabc2(0xfd)]),_0x2f4f7d=_0x108a00[_0xbeabc2(0xbb)](),_0x2f8cff=_0x2f4f7d[_0xbeabc2(0xb8)],_0x1160b2=_0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0xae)];if(_0x2f8cff&&_0x1160b2[_0xbeabc2(0xa7)](_0x2f8cff)&&_0x1160b2[_0xbeabc2(0xa4)](_0x2f8cff)&&!_0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0xb4)][_0xbeabc2(0xfb)](_0xbeabc2(0xf9)+_0x48fe4e)[_0xbeabc2(0xd7)]()[_0xbeabc2(0xf4)])return;const _0x151aa4=_0x2f4f7d[_0xbeabc2(0xad)];return _0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0xae)][_0xbeabc2(0x79)](_0x151aa4)&&!_0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0x95)](_0x151aa4)&&(_0x31f2ea[_0xbeabc2(0xb2)]=!0x1),function(_0x50d35b,_0x37528f,_0x3cdb0e){const _0x1982b0=_0xbeabc2,_0x157c60=_0x50d35b[_0x1982b0(0x8c)](_0x1982b0(0x91),_0x37528f);return _0x50d35b[_0x1982b0(0xa9)](_0x1982b0(0xff),!0x0,_0x157c60),_0x157c60[_0x1982b0(0x88)]=function(_0x170e13){const _0x3f0662=_0x1982b0,_0x24c1b0=this[_0x3f0662(0x77)](_0x170e13),_0x347b10=document[_0x3f0662(0xa6)](_0x3f0662(0x91));return _0x347b10[_0x3f0662(0x81)][_0x3f0662(0xc5)](_0x3f0662(0xbc)),_0x347b10[_0x3f0662(0x8d)](_0x3f0662(0xb2),_0x3f0662(0x89)),_0x347b10[_0x3f0662(0x8d)](_0x3f0662(0xa0),_0x3f0662(0x89)),_0x347b10[_0x3f0662(0xd8)]=_0x3cdb0e[_0x3f0662(0xdf)],_0x24c1b0[_0x3f0662(0xb3)]=_0x3f0662(0x7b)+_0x347b10[_0x3f0662(0x85)]+'⁠',_0x24c1b0[_0x3f0662(0x78)](_0x3f0662(0xd9),()=>{const _0x4b2b3a=_0x3f0662;_0x24c1b0[_0x4b2b3a(0x81)][_0x4b2b3a(0xc5)](_0x4b2b3a(0xec));}),_0x24c1b0[_0x3f0662(0x78)](_0x3f0662(0xdc),()=>{const _0x4ec338=_0x3f0662;_0x24c1b0[_0x4ec338(0x81)][_0x4ec338(0xda)](_0x4ec338(0xec));}),_0x24c1b0;},_0x157c60[_0x1982b0(0xac)]=function(_0x4f4211){const _0x48f85e=_0x1982b0;return!(!this[_0x48f85e(0xb9)](_0x48f85e(0xff))||!_0x4f4211[_0x48f85e(0xb9)](_0x48f85e(0xff))||this[_0x48f85e(0xf3)](_0x48f85e(0xe1))!=_0x4f4211[_0x48f85e(0xf3)](_0x48f85e(0xe1)));},_0x157c60;}(_0x1d8945,_0x31f2ea,_0x4f7079);}(_0x1411df,_0x46272e,_0x2e45f3,_0x10265e)}),_0x10265e[_0x400323(0xa3)][_0x400323(0x76)](_0x400323(0xcf))[_0x400323(0xd1)]({'model':_0x400323(0x101),'view':_0x5e1ddd=>function(_0x21c251,_0x4001e8){const _0x34036f=_0x400323,_0x290ac5=_0x21c251[_0x34036f(0xfd)][_0x34036f(0x7c)](':')[0x2];if(_0x290ac5===_0x4001e8[_0x34036f(0x8e)])return null;const _0x2f8d7c=_0x4001e8[_0x34036f(0x92)](_0x290ac5);if(!_0x2f8d7c)return{'id':_0x290ac5,'classes':[]};return{'id':_0x290ac5,'classes':[_0x34036f(0x9e),_0x2f8d7c[_0x34036f(0xe8)][_0x34036f(0xce)]()],'attributes':{'data-session-id':_0x290ac5},'priority':0x7d0+_0x2f8d7c[_0x34036f(0x9d)]};}(_0x5e1ddd,_0x2e45f3)}),function(_0x2039d1){const _0x4a2472=_0x400323,_0x3f09f9=_0x2039d1[_0x4a2472(0x94)],_0x377fe8=new Map(),_0x5df694=_0x2039d1[_0x4a2472(0x83)][_0x4a2472(0xfb)](_0x210814);_0x3f09f9[_0x4a2472(0xb4)]['on'](_0x4a2472(0xb5),(_0x3ec8df,_0x289774,_0x54999c,_0x45839a)=>{const _0x1a2f1f=_0x4a2472;if(!_0x45839a&&_0x377fe8[_0x1a2f1f(0xfb)](_0x289774[_0x1a2f1f(0xdf)]))return _0x377fe8[_0x1a2f1f(0xfb)](_0x289774[_0x1a2f1f(0xdf)])[_0x1a2f1f(0xdd)](),void _0x377fe8[_0x1a2f1f(0x9f)](_0x289774[_0x1a2f1f(0xdf)]);const _0x11e15a=_0x289774[_0x1a2f1f(0xdf)][_0x1a2f1f(0x7c)](':')[0x2];if(_0x11e15a===_0x5df694[_0x1a2f1f(0x8e)])return;const _0x41edf1=_0x1a2f1f(0xd5)+_0x11e15a;_0x3f09f9[_0x1a2f1f(0xb4)][_0x1a2f1f(0xe7)](_0x41edf1)&&_0x2039d1[_0x1a2f1f(0xc0)][_0x1a2f1f(0xe9)](_0x41edf1),_0x289774['on'](_0x1a2f1f(0x8a),(_0x201095,_0x5c1c23,_0x4bcb3d)=>{const _0x40735f=_0x1a2f1f;if(_0x40735f(0x84)!=_0x5c1c23[_0x40735f(0xbd)][_0x40735f(0xea)]&&_0x40735f(0x84)==_0x289774[_0x40735f(0xd7)]()[_0x40735f(0xbd)][_0x40735f(0xea)]&&!_0x377fe8[_0x40735f(0xe7)](_0x289774[_0x40735f(0xdf)])){const _0x3920de=_0x3f09f9[_0x40735f(0xae)][_0x40735f(0xc2)](_0x4bcb3d[_0x40735f(0x8f)]);if(_0x3920de){const _0x37dfea=_0x2593a0[_0x40735f(0xd3)](_0x3920de);_0x377fe8[_0x40735f(0x9c)](_0x289774[_0x40735f(0xdf)],_0x37dfea),_0x37dfea['on'](_0x40735f(0x8a),(_0x5e53fe,_0x231437,_0x343069)=>{const _0x38dfd8=_0x40735f;if(_0x38dfd8(0x84)==_0x37dfea[_0x38dfd8(0xbd)][_0x38dfd8(0xea)]){const _0x53a0af=_0x3f09f9[_0x38dfd8(0xae)][_0x38dfd8(0xc2)](_0x343069[_0x38dfd8(0x8f)]);_0x53a0af?(_0x37dfea[_0x38dfd8(0x82)]=_0x53a0af[_0x38dfd8(0x82)],_0x37dfea[_0x38dfd8(0xbe)]=_0x53a0af[_0x38dfd8(0xbe)]):(_0x377fe8[_0x38dfd8(0x9f)](_0x289774[_0x38dfd8(0xdf)]),_0x37dfea[_0x38dfd8(0xdd)]());}});}}});}),_0x3f09f9[_0x4a2472(0xab)]['on'](_0x4a2472(0xaf),()=>{const _0x33bd46=_0x4a2472;_0x377fe8[_0x33bd46(0x96)]>0x0&&_0x3f09f9[_0x33bd46(0xf6)]({'isUndoable':!0x1},_0x1e2c72=>{const _0x16632f=_0x33bd46;for(const [_0x50e439,_0x4aada1]of _0x377fe8)_0x16632f(0x84)==_0x3f09f9[_0x16632f(0xb4)][_0x16632f(0xfb)](_0x50e439)[_0x16632f(0xd7)]()[_0x16632f(0xbd)][_0x16632f(0xea)]&&(J(_0x50e439[_0x16632f(0x7c)](':')[0x2],_0x4aada1[_0x16632f(0xcd)](),_0x3f09f9,_0x1e2c72),_0x4aada1[_0x16632f(0xdd)]());_0x377fe8[_0x16632f(0x9a)]();});});}(_0x10265e),this[_0x400323(0x98)][_0x400323(0x7d)](_0x5bd093[_0x400323(0xab)],_0x400323(0xde),(_0x719812,{key:_0x318e73})=>{const _0x19cbd3=_0x400323;_0x19cbd3(0xa1)===_0x318e73&&function(_0x5957df){const _0x13b338=_0x19cbd3;_0x5957df[_0x13b338(0xc0)][_0x13b338(0x99)][_0x13b338(0xaf)](_0x25beae=>{const _0x4f5863=_0x13b338;for(const _0x129576 of _0x5957df[_0x4f5863(0x94)][_0x4f5863(0xb4)]){if(!_0x129576[_0x4f5863(0xdf)][_0x4f5863(0xb7)](_0x4f5863(0xfa)))continue;const _0x1fa5c7=_0x5957df[_0x4f5863(0xc0)][_0x4f5863(0xf7)][_0x4f5863(0xf0)](_0x129576[_0x4f5863(0xdf)]);if(_0x1fa5c7){for(const _0x140594 of _0x1fa5c7)_0x25beae[_0x4f5863(0xca)](_0x4f5863(0xec),_0x140594);}}});}(_0x10265e);},{'useCapture':!0x0});}[_0x1eae72(0xc9)](){const _0x3f83d5=_0x1eae72,_0xb5f127=this[_0x3f83d5(0xbf)],_0x36cea8=_0xb5f127[_0x3f83d5(0xe2)][_0x3f83d5(0xfb)](_0x3f83d5(0xef));_0x36cea8&&_0xb5f127[_0x3f83d5(0x94)]['on'](_0x3f83d5(0xf8),(_0x27f259,_0x368435)=>{const _0x1e2c78=_0x3f83d5,_0x16ca9b=_0x368435[0x0];if(!_0x16ca9b[_0x1e2c78(0x86)])return;if(_0x1e2c78(0xc3)!=_0x16ca9b[_0x1e2c78(0xa8)]||!_0x16ca9b[_0x1e2c78(0xdf)][_0x1e2c78(0xb7)](_0x1e2c78(0x75)))return;const _0x52627d=_0x16ca9b[_0x1e2c78(0xe0)];_0x36cea8[_0x1e2c78(0xe5)][_0x1e2c78(0xe7)](_0x52627d)&&(_0x16ca9b[_0x1e2c78(0x7f)]=_0x16ca9b[_0x1e2c78(0xba)]?_0xb5f127[_0x1e2c78(0x94)][_0x1e2c78(0xcc)](_0x16ca9b[_0x1e2c78(0xba)][_0x1e2c78(0x82)],_0x16ca9b[_0x1e2c78(0xba)][_0x1e2c78(0xbe)]):null);},{'priority':_0x3f83d5(0xd6)});}[_0x1eae72(0x90)](){const _0x118d2c=_0x1eae72;return this[_0x118d2c(0x98)][_0x118d2c(0x7e)](),super[_0x118d2c(0x90)]();}[_0x1eae72(0xdb)](){const _0x5bff5e=_0x1eae72,_0x3e0d9b=this[_0x5bff5e(0xbf)],_0x3ac2cc=_0x3e0d9b[_0x5bff5e(0x94)][_0x5bff5e(0xab)],_0x4b2b96=_0x3e0d9b[_0x5bff5e(0x83)][_0x5bff5e(0xfb)](_0x210814);_0x3e0d9b[_0x5bff5e(0x94)][_0x5bff5e(0xf6)]({'isUndoable':!0x1},_0x27444c=>{const _0x2ae132=_0x5bff5e,_0x518cc7=_0x2ae132(0xf9)+_0x4b2b96[_0x2ae132(0x8e)],_0x3454d4=_0x2ae132(0xd5)+_0x4b2b96[_0x2ae132(0x8e)],_0x67535c=_0x3e0d9b[_0x2ae132(0x94)][_0x2ae132(0xb4)][_0x2ae132(0xe7)](_0x518cc7);_0x3e0d9b[_0x2ae132(0xc0)][_0x2ae132(0x99)][_0x2ae132(0xf2)]?J(_0x4b2b96[_0x2ae132(0x8e)],_0x3ac2cc[_0x2ae132(0xc8)][_0x2ae132(0xf1)](),_0x3e0d9b[_0x2ae132(0x94)],_0x27444c):_0x67535c&&(_0x27444c[_0x2ae132(0xd2)](_0x518cc7),_0x27444c[_0x2ae132(0xd2)](_0x3454d4));});}}function J(_0x5ea688,_0x36cb79,_0x6e10cb,_0x4291b5){const _0x1a6ab3=_0x1eae72,_0x46fa6d=_0x1a6ab3(0xf9)+_0x5ea688,_0x29a679=_0x1a6ab3(0xd5)+_0x5ea688,_0x45dc5d=_0x36cb79[_0x1a6ab3(0xa5)]();let _0x277a19=_0x36cb79[_0x1a6ab3(0x82)];if(_0x45dc5d&&_0x45dc5d['is'](_0x1a6ab3(0xe6),_0x1a6ab3(0xeb))){const _0x34657d=function(_0x3775c3,_0x3c7f40){const _0x2be8fb=_0x1a6ab3;for(const _0x4704b5 of _0x3775c3[_0x2be8fb(0xe3)]())if(_0x3c7f40[_0x2be8fb(0xae)][_0x2be8fb(0x7a)](_0x4704b5,_0x2be8fb(0xc4)))return _0x4704b5;}(_0x36cb79,_0x6e10cb);_0x34657d&&(_0x277a19=_0x34657d,_0x36cb79=_0x4291b5[_0x1a6ab3(0xcc)](_0x277a19));}const _0x51932a=_0x4291b5[_0x1a6ab3(0xcc)](_0x277a19);_0x6e10cb[_0x1a6ab3(0xb4)][_0x1a6ab3(0xe7)](_0x46fa6d)?(_0x4291b5[_0x1a6ab3(0x9b)](_0x46fa6d,{'range':_0x36cb79}),_0x4291b5[_0x1a6ab3(0x9b)](_0x29a679,{'range':_0x51932a})):(_0x4291b5[_0x1a6ab3(0xed)](_0x46fa6d,{'range':_0x36cb79,'usingOperation':!0x0}),_0x4291b5[_0x1a6ab3(0xed)](_0x29a679,{'range':_0x51932a,'usingOperation':!0x0}));}