@ckeditor/ckeditor5-real-time-collaboration 46.0.0-alpha.8 → 46.0.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/build/real-time-collaboration.js +2 -2
  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.d.ts +0 -2
  152. package/src/index.js +1 -1
  153. package/src/presencelist/presencelistui.js +1 -1
  154. package/src/presencelist/view/presencecounterview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  156. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  158. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  159. package/src/presencelist/view/presencelistview.js +1 -1
  160. package/src/presencelist.js +1 -1
  161. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  162. package/src/realtimecollaborativecomments.js +1 -1
  163. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  164. package/src/realtimecollaborativeediting/sessions.js +1 -1
  165. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  166. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  167. package/src/realtimecollaborativeediting.js +1 -1
  168. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  169. package/src/realtimecollaborativerevisionhistory.js +1 -1
  170. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  171. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a09ab=_0x383e;(function(_0x353e5f,_0x366dd4){const _0x525c7b=_0x383e,_0x2da90e=_0x353e5f();while(!![]){try{const _0x1e16a1=-parseInt(_0x525c7b(0x1d3))/0x1*(parseInt(_0x525c7b(0x1d9))/0x2)+parseInt(_0x525c7b(0x1ee))/0x3+-parseInt(_0x525c7b(0x1cd))/0x4*(-parseInt(_0x525c7b(0x1e6))/0x5)+-parseInt(_0x525c7b(0x1f2))/0x6+-parseInt(_0x525c7b(0x1ea))/0x7*(parseInt(_0x525c7b(0x1db))/0x8)+-parseInt(_0x525c7b(0x1ef))/0x9*(-parseInt(_0x525c7b(0x1eb))/0xa)+-parseInt(_0x525c7b(0x1d4))/0xb;if(_0x1e16a1===_0x366dd4)break;else _0x2da90e['push'](_0x2da90e['shift']());}catch(_0x22960b){_0x2da90e['push'](_0x2da90e['shift']());}}}(_0x5667,0xdc7c1));function _0x5667(){const _0x2ab75f=['presencelist:hide','createCollection','render','listenTo','change:hasPopup','467265ZpvTPc','fire','bindTemplate','set','4042962KiqQWL','1588930ZrrMSV','removeAttribute','aria-expanded','4904151FDEVyj','63cxoqKl','element','querySelector','4200342RRLQec','keystrokes','hasPopup','72mGoHcy','setTemplate','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','Connected\x20users\x20list','items','relatedTarget','8TgcYTt','2236652DMSejo','isExpanded','focus','presencelist:show','setAttribute','366874rATTgx','.ck-balloon-panel_with-arrow','16BpSgHQ','div','contains','.ck-presence-list__dropdown-list','list','ck-presence-list__list'];_0x5667=function(){return _0x2ab75f;};return _0x5667();}import{View as _0x18bdb6}from'ckeditor5/src/ui.js';function _0x383e(_0x418ca0,_0x74ad55){const _0x5667c1=_0x5667();return _0x383e=function(_0x383e13,_0x293665){_0x383e13=_0x383e13-0x1cb;let _0x3dca2c=_0x5667c1[_0x383e13];return _0x3dca2c;},_0x383e(_0x418ca0,_0x74ad55);}import{KeystrokeHandler as _0x37f256}from'ckeditor5/src/utils.js';import{getTranslation as _0x1fd5d8}from'../../common-translations.js';export class PresenceInlineListView extends _0x18bdb6{[_0x4a09ab(0x1d1)];[_0x4a09ab(0x1cb)];constructor(_0x319477){const _0x47b88c=_0x4a09ab;super(_0x319477);const _0x28b454=this[_0x47b88c(0x1e8)];this[_0x47b88c(0x1d1)]=this[_0x47b88c(0x1e2)](),this[_0x47b88c(0x1cb)]=new _0x37f256(),this[_0x47b88c(0x1e9)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x47b88c(0x1ce)]({'tag':_0x47b88c(0x1dc),'attributes':{'aria-haspopup':_0x28b454['if'](_0x47b88c(0x1cc)),'aria-expanded':_0x28b454['to'](_0x47b88c(0x1d5),_0x372e31=>this[_0x47b88c(0x1cc)]&&String(_0x372e31)),'aria-label':_0x28b454['to'](_0x47b88c(0x1cc),_0x482c30=>_0x1fd5d8(_0x319477,_0x482c30?_0x47b88c(0x1cf):_0x47b88c(0x1d0))),'role':_0x47b88c(0x1df),'tabindex':_0x28b454['to'](_0x47b88c(0x1cc),_0x24665e=>!!_0x24665e&&0x0),'class':['ck',_0x47b88c(0x1e0)]},'children':this[_0x47b88c(0x1d1)],'on':{'mouseenter':_0x28b454['to'](()=>this[_0x47b88c(0x1e7)](_0x47b88c(0x1d7))),'mouseleave':_0x28b454['to'](_0x188ae2=>{const _0x4c1dd9=_0x47b88c,_0x409e30=_0x188ae2,_0x449d97=document[_0x4c1dd9(0x1f1)](_0x4c1dd9(0x1de)),_0x37ff5d=document[_0x4c1dd9(0x1f1)](_0x4c1dd9(0x1da));_0x449d97?.[_0x4c1dd9(0x1dd)](_0x409e30[_0x4c1dd9(0x1d2)])||_0x37ff5d?.[_0x4c1dd9(0x1dd)](_0x409e30[_0x4c1dd9(0x1d2)])||this[_0x4c1dd9(0x1e7)](_0x4c1dd9(0x1e1));})}}),this['on'](_0x47b88c(0x1e5),(_0x1ec724,_0x4997c9,_0x2bc879)=>{const _0xa6ade9=_0x47b88c;this[_0xa6ade9(0x1f0)]&&(_0x2bc879?this[_0xa6ade9(0x1f0)][_0xa6ade9(0x1d8)](_0xa6ade9(0x1ed),String(this[_0xa6ade9(0x1d5)])):this[_0xa6ade9(0x1f0)][_0xa6ade9(0x1ec)](_0xa6ade9(0x1ed)));});}[_0x4a09ab(0x1d6)](){const _0x50f77a=_0x4a09ab;this[_0x50f77a(0x1f0)][_0x50f77a(0x1d6)]();}[_0x4a09ab(0x1e3)](){const _0xfebf92=_0x4a09ab;super[_0xfebf92(0x1e3)](),this[_0xfebf92(0x1cb)][_0xfebf92(0x1e4)](this[_0xfebf92(0x1f0)]);}}
23
+ const _0x4b58fc=_0x1b63;function _0x1b63(_0x387174,_0x2e8d44){const _0x1d488e=_0x1d48();return _0x1b63=function(_0x1b6379,_0x177225){_0x1b6379=_0x1b6379-0x144;let _0x1286ec=_0x1d488e[_0x1b6379];return _0x1286ec;},_0x1b63(_0x387174,_0x2e8d44);}(function(_0x17be1c,_0x31ccd3){const _0x4cc32f=_0x1b63,_0x160e34=_0x17be1c();while(!![]){try{const _0x118b13=-parseInt(_0x4cc32f(0x169))/0x1+-parseInt(_0x4cc32f(0x16b))/0x2+-parseInt(_0x4cc32f(0x158))/0x3*(parseInt(_0x4cc32f(0x152))/0x4)+-parseInt(_0x4cc32f(0x157))/0x5+parseInt(_0x4cc32f(0x14c))/0x6*(parseInt(_0x4cc32f(0x163))/0x7)+parseInt(_0x4cc32f(0x14d))/0x8*(parseInt(_0x4cc32f(0x16a))/0x9)+parseInt(_0x4cc32f(0x165))/0xa*(parseInt(_0x4cc32f(0x164))/0xb);if(_0x118b13===_0x31ccd3)break;else _0x160e34['push'](_0x160e34['shift']());}catch(_0x4ce835){_0x160e34['push'](_0x160e34['shift']());}}}(_0x1d48,0xa2d12));function _0x1d48(){const _0x3276fc=['ck-presence-list__list','isExpanded','presencelist:hide','presencelist:show','setAttribute','7fnxGIg','36220316gLSmts','10uaRjAC','set','querySelector','relatedTarget','811830dOizlx','287658NLrilN','232446AXTmmF','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','.ck-presence-list__dropdown-list','items','bindTemplate','Connected\x20users\x20list','setTemplate','list','fire','1756962zJzORP','8LpwApm','removeAttribute','createCollection','element','contains','20Bguwkh','listenTo','render','change:hasPopup','.ck-balloon-panel_with-arrow','6264545BZMjFj','461811XYAloY','aria-expanded','keystrokes','div','focus','hasPopup'];_0x1d48=function(){return _0x3276fc;};return _0x1d48();}import{View as _0x5ea355}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x27001a}from'ckeditor5/src/utils.js';import{getTranslation as _0x15cd8c}from'../../common-translations.js';export class PresenceInlineListView extends _0x5ea355{[_0x4b58fc(0x146)];[_0x4b58fc(0x15a)];constructor(_0x57bf75){const _0x5a631c=_0x4b58fc;super(_0x57bf75);const _0xd690c6=this[_0x5a631c(0x147)];this[_0x5a631c(0x146)]=this[_0x5a631c(0x14f)](),this[_0x5a631c(0x15a)]=new _0x27001a(),this[_0x5a631c(0x166)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x5a631c(0x149)]({'tag':_0x5a631c(0x15b),'attributes':{'aria-haspopup':_0xd690c6['if'](_0x5a631c(0x15d)),'aria-expanded':_0xd690c6['to'](_0x5a631c(0x15f),_0x27f01e=>this[_0x5a631c(0x15d)]&&String(_0x27f01e)),'aria-label':_0xd690c6['to'](_0x5a631c(0x15d),_0x1097cb=>_0x15cd8c(_0x57bf75,_0x1097cb?_0x5a631c(0x144):_0x5a631c(0x148))),'role':_0x5a631c(0x14a),'tabindex':_0xd690c6['to'](_0x5a631c(0x15d),_0x4fad5f=>!!_0x4fad5f&&0x0),'class':['ck',_0x5a631c(0x15e)]},'children':this[_0x5a631c(0x146)],'on':{'mouseenter':_0xd690c6['to'](()=>this[_0x5a631c(0x14b)](_0x5a631c(0x161))),'mouseleave':_0xd690c6['to'](_0x2e51e6=>{const _0x34eb87=_0x5a631c,_0x30d66d=_0x2e51e6,_0x1d083e=document[_0x34eb87(0x167)](_0x34eb87(0x145)),_0x31433d=document[_0x34eb87(0x167)](_0x34eb87(0x156));_0x1d083e?.[_0x34eb87(0x151)](_0x30d66d[_0x34eb87(0x168)])||_0x31433d?.[_0x34eb87(0x151)](_0x30d66d[_0x34eb87(0x168)])||this[_0x34eb87(0x14b)](_0x34eb87(0x160));})}}),this['on'](_0x5a631c(0x155),(_0x474fa2,_0x596f2d,_0x12027c)=>{const _0x56cf9e=_0x5a631c;this[_0x56cf9e(0x150)]&&(_0x12027c?this[_0x56cf9e(0x150)][_0x56cf9e(0x162)](_0x56cf9e(0x159),String(this[_0x56cf9e(0x15f)])):this[_0x56cf9e(0x150)][_0x56cf9e(0x14e)](_0x56cf9e(0x159)));});}[_0x4b58fc(0x15c)](){const _0xf58161=_0x4b58fc;this[_0xf58161(0x150)][_0xf58161(0x15c)]();}[_0x4b58fc(0x154)](){const _0x26ecd9=_0x4b58fc;super[_0x26ecd9(0x154)](),this[_0x26ecd9(0x15a)][_0x26ecd9(0x153)](this[_0x26ecd9(0x150)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a7c29=_0x5648;function _0x5648(_0x25b9a2,_0x12f0de){const _0x10dcee=_0x10dc();return _0x5648=function(_0x564859,_0x3c3f4a){_0x564859=_0x564859-0x92;let _0x52c5db=_0x10dcee[_0x564859];return _0x52c5db;},_0x5648(_0x25b9a2,_0x12f0de);}(function(_0x569a89,_0x14aea6){const _0x3e2ea1=_0x5648,_0xbab10d=_0x569a89();while(!![]){try{const _0x484758=parseInt(_0x3e2ea1(0xab))/0x1*(-parseInt(_0x3e2ea1(0xa8))/0x2)+parseInt(_0x3e2ea1(0x96))/0x3+parseInt(_0x3e2ea1(0x9b))/0x4+parseInt(_0x3e2ea1(0xac))/0x5+-parseInt(_0x3e2ea1(0xae))/0x6*(-parseInt(_0x3e2ea1(0xa9))/0x7)+-parseInt(_0x3e2ea1(0xa1))/0x8+parseInt(_0x3e2ea1(0xa0))/0x9*(parseInt(_0x3e2ea1(0x92))/0xa);if(_0x484758===_0x14aea6)break;else _0xbab10d['push'](_0xbab10d['shift']());}catch(_0x4e9a41){_0xbab10d['push'](_0xbab10d['shift']());}}}(_0x10dc,0xb2fcf));import{View as _0x39d19c}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x207363}from'./presencecounterview.js';import{PresenceInlineListView as _0x5408ec}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x39d19c{[_0x5a7c29(0x9e)];[_0x5a7c29(0x9f)];constructor(_0x4a2a8d,_0x14e4bc=0x6){const _0x4557af=_0x5a7c29;super(_0x4a2a8d);const _0x25f56d=this[_0x4557af(0xa4)];this[_0x4557af(0x9d)](_0x4557af(0x99),!0x0),this[_0x4557af(0x9e)]=new _0x207363(this[_0x4557af(0xad)],_0x14e4bc),this[_0x4557af(0x9f)]=new _0x5408ec(_0x4a2a8d),this[_0x4557af(0x9f)][_0x4557af(0x95)](_0x4557af(0xa6))['to'](this,_0x4557af(0x99)),this[_0x4557af(0x93)](this[_0x4557af(0x9f)][_0x4557af(0x97)],_0x4557af(0xa3),()=>{const _0x488b93=_0x4557af;for(const _0x4f5883 of this[_0x488b93(0x9f)][_0x488b93(0x97)])_0x4f5883[_0x488b93(0xa5)]='s';this[_0x488b93(0x9f)][_0x488b93(0x97)][_0x488b93(0x9c)]&&(this[_0x488b93(0x9f)][_0x488b93(0x97)][_0x488b93(0x9c)][_0x488b93(0xa5)]='se');}),this[_0x4557af(0xaa)]({'tag':_0x4557af(0xa2),'attributes':{'class':['ck',_0x4557af(0x98),_0x4557af(0x9a),_0x4557af(0x94),_0x25f56d['if'](_0x4557af(0x99),_0x4557af(0xa7))]},'children':[this[_0x4557af(0x9f)]]});}}function _0x10dc(){const _0x1a91d3=['change','bindTemplate','tooltipPosition','hasPopup','ck-presence-list--collapsed','102562RwxhSn','615398xsTWUc','setTemplate','14zNixoE','2781065NWiTGy','locale','42KTosiL','182510MwdTmF','listenTo','ck-rounded-corners','bind','31098dNlgtK','items','ck-presence-list','isCollapsed','ck-reset','2738476YEWrdb','first','set','counterView','inlineListView','81dpFDLN','4638288QEARZP','div'];_0x10dc=function(){return _0x1a91d3;};return _0x10dc();}
23
+ const _0x26f75f=_0x4bb7;(function(_0x23936b,_0x2d401e){const _0x1b9647=_0x4bb7,_0x3921c2=_0x23936b();while(!![]){try{const _0x2207d7=parseInt(_0x1b9647(0x19d))/0x1*(-parseInt(_0x1b9647(0x192))/0x2)+-parseInt(_0x1b9647(0x197))/0x3+-parseInt(_0x1b9647(0x19c))/0x4*(-parseInt(_0x1b9647(0x19e))/0x5)+-parseInt(_0x1b9647(0x194))/0x6+-parseInt(_0x1b9647(0x195))/0x7*(parseInt(_0x1b9647(0x199))/0x8)+-parseInt(_0x1b9647(0x18c))/0x9+-parseInt(_0x1b9647(0x191))/0xa*(-parseInt(_0x1b9647(0x198))/0xb);if(_0x2207d7===_0x2d401e)break;else _0x3921c2['push'](_0x3921c2['shift']());}catch(_0x2b27c5){_0x3921c2['push'](_0x3921c2['shift']());}}}(_0x5e76,0x3f29b));import{View as _0x5dfce5}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x35a605}from'./presencecounterview.js';function _0x5e76(){const _0x3fcd67=['2505519UOYbEA','ck-reset','inlineListView','ck-presence-list--collapsed','setTemplate','73370Uvlbxw','2mBZhME','items','1484700MKjZbf','1381863jdkCSY','listenTo','554022oKdQlO','1782QyyIGX','8dRmjWE','hasPopup','bindTemplate','4zkyJoQ','142778HGhRMU','604115SzXhBs','first','ck-presence-list','isCollapsed','locale','tooltipPosition','div','counterView','set','change','bind','ck-rounded-corners'];_0x5e76=function(){return _0x3fcd67;};return _0x5e76();}import{PresenceInlineListView as _0x266ff7}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x4bb7(_0x41cca4,_0x2dbabd){const _0x5e7668=_0x5e76();return _0x4bb7=function(_0x4bb7e1,_0x25c951){_0x4bb7e1=_0x4bb7e1-0x182;let _0x184244=_0x5e7668[_0x4bb7e1];return _0x184244;},_0x4bb7(_0x41cca4,_0x2dbabd);}export class PresenceListView extends _0x5dfce5{[_0x26f75f(0x187)];[_0x26f75f(0x18e)];constructor(_0x1ddbd1,_0x1d86ea=0x6){const _0x24d348=_0x26f75f;super(_0x1ddbd1);const _0x2754d0=this[_0x24d348(0x19b)];this[_0x24d348(0x188)](_0x24d348(0x183),!0x0),this[_0x24d348(0x187)]=new _0x35a605(this[_0x24d348(0x184)],_0x1d86ea),this[_0x24d348(0x18e)]=new _0x266ff7(_0x1ddbd1),this[_0x24d348(0x18e)][_0x24d348(0x18a)](_0x24d348(0x19a))['to'](this,_0x24d348(0x183)),this[_0x24d348(0x196)](this[_0x24d348(0x18e)][_0x24d348(0x193)],_0x24d348(0x189),()=>{const _0x3e8619=_0x24d348;for(const _0x9245c4 of this[_0x3e8619(0x18e)][_0x3e8619(0x193)])_0x9245c4[_0x3e8619(0x185)]='s';this[_0x3e8619(0x18e)][_0x3e8619(0x193)][_0x3e8619(0x19f)]&&(this[_0x3e8619(0x18e)][_0x3e8619(0x193)][_0x3e8619(0x19f)][_0x3e8619(0x185)]='se');}),this[_0x24d348(0x190)]({'tag':_0x24d348(0x186),'attributes':{'class':['ck',_0x24d348(0x182),_0x24d348(0x18d),_0x24d348(0x18b),_0x2754d0['if'](_0x24d348(0x183),_0x24d348(0x18f))]},'children':[this[_0x24d348(0x18e)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2cb0(_0x13113a,_0x5967b9){var _0xcc2606=_0xcc26();return _0x2cb0=function(_0x2cb0df,_0x20d449){_0x2cb0df=_0x2cb0df-0x9c;var _0x14e304=_0xcc2606[_0x2cb0df];return _0x14e304;},_0x2cb0(_0x13113a,_0x5967b9);}var _0x1b8fd2=_0x2cb0;(function(_0x5eb4d3,_0x1cf87d){var _0x22956d=_0x2cb0,_0x315c94=_0x5eb4d3();while(!![]){try{var _0x5afffb=-parseInt(_0x22956d(0xa5))/0x1*(-parseInt(_0x22956d(0xa9))/0x2)+-parseInt(_0x22956d(0xab))/0x3*(parseInt(_0x22956d(0xaa))/0x4)+-parseInt(_0x22956d(0xa2))/0x5+parseInt(_0x22956d(0xa4))/0x6*(parseInt(_0x22956d(0x9c))/0x7)+-parseInt(_0x22956d(0xa6))/0x8+parseInt(_0x22956d(0x9d))/0x9+parseInt(_0x22956d(0xa0))/0xa*(parseInt(_0x22956d(0xa8))/0xb);if(_0x5afffb===_0x1cf87d)break;else _0x315c94['push'](_0x315c94['shift']());}catch(_0x47db27){_0x315c94['push'](_0x315c94['shift']());}}}(_0xcc26,0x7b65b));import{ContextPlugin as _0x453d74}from'ckeditor5/src/core.js';import{Sessions as _0x40c434}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x4c56ad}from'./presencelist/presencelistui.js';function _0xcc26(){var _0x4d723e=['3060496Uqokgv','isPremiumPlugin','11jjgoAG','21594jCxCaG','208imvfLW','28722NyiUOV','7OdSEQa','1763604AHGfkY','isOfficialPlugin','pluginName','6508070hZuryi','requires','278905ZQnVWL','PresenceList','3050922SymCDL','8kKePvY'];_0xcc26=function(){return _0x4d723e;};return _0xcc26();}export class PresenceList extends _0x453d74{static get[_0x1b8fd2(0xa1)](){return[_0x40c434,_0x4c56ad];}static get[_0x1b8fd2(0x9f)](){var _0x2c1653=_0x1b8fd2;return _0x2c1653(0xa3);}static get[_0x1b8fd2(0x9e)](){return!0x0;}static get[_0x1b8fd2(0xa7)](){return!0x0;}}
23
+ function _0x1403(_0x3a0a93,_0x49d153){var _0x21ad51=_0x21ad();return _0x1403=function(_0x1403d3,_0x175ee0){_0x1403d3=_0x1403d3-0x174;var _0xedeaff=_0x21ad51[_0x1403d3];return _0xedeaff;},_0x1403(_0x3a0a93,_0x49d153);}var _0x4cecdc=_0x1403;(function(_0x1f45b4,_0x1d2fc6){var _0x29e921=_0x1403,_0x57aca8=_0x1f45b4();while(!![]){try{var _0x331d8c=-parseInt(_0x29e921(0x177))/0x1+-parseInt(_0x29e921(0x17e))/0x2*(-parseInt(_0x29e921(0x181))/0x3)+parseInt(_0x29e921(0x17a))/0x4*(-parseInt(_0x29e921(0x17d))/0x5)+-parseInt(_0x29e921(0x182))/0x6+-parseInt(_0x29e921(0x178))/0x7+parseInt(_0x29e921(0x179))/0x8*(parseInt(_0x29e921(0x174))/0x9)+parseInt(_0x29e921(0x17f))/0xa;if(_0x331d8c===_0x1d2fc6)break;else _0x57aca8['push'](_0x57aca8['shift']());}catch(_0x1c1a70){_0x57aca8['push'](_0x57aca8['shift']());}}}(_0x21ad,0x85e7e));import{ContextPlugin as _0x182c45}from'ckeditor5/src/core.js';import{Sessions as _0x30048f}from'./realtimecollaborativeediting/sessions.js';function _0x21ad(){var _0x456780=['527780ItCqzK','746xcvAdc','12349110HciPhm','pluginName','144fNFEtU','706326NOAHuI','1422xzopsA','requires','PresenceList','100970lpWnFT','1972026jiYaEC','37776FMHYEE','36GvtotR','isPremiumPlugin','isOfficialPlugin'];_0x21ad=function(){return _0x456780;};return _0x21ad();}import{PresenceListUI as _0x34c966}from'./presencelist/presencelistui.js';export class PresenceList extends _0x182c45{static get[_0x4cecdc(0x175)](){return[_0x30048f,_0x34c966];}static get[_0x4cecdc(0x180)](){var _0x46c341=_0x4cecdc;return _0x46c341(0x176);}static get[_0x4cecdc(0x17c)](){return!0x0;}static get[_0x4cecdc(0x17b)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x40cabb=_0x2b10;(function(_0x3ea6f3,_0xd9b3d2){const _0x1200f7=_0x2b10,_0x5a3873=_0x3ea6f3();while(!![]){try{const _0x1858e6=-parseInt(_0x1200f7(0x1dd))/0x1*(parseInt(_0x1200f7(0x19c))/0x2)+-parseInt(_0x1200f7(0x1b8))/0x3+parseInt(_0x1200f7(0x1f2))/0x4+parseInt(_0x1200f7(0x1db))/0x5*(-parseInt(_0x1200f7(0x1c4))/0x6)+-parseInt(_0x1200f7(0x1bb))/0x7*(-parseInt(_0x1200f7(0x1c8))/0x8)+-parseInt(_0x1200f7(0x1cb))/0x9+-parseInt(_0x1200f7(0x200))/0xa*(-parseInt(_0x1200f7(0x1a9))/0xb);if(_0x1858e6===_0xd9b3d2)break;else _0x5a3873['push'](_0x5a3873['shift']());}catch(_0xcb480d){_0x5a3873['push'](_0x5a3873['shift']());}}}(_0x6057,0x65e24));function _0x2b10(_0x103917,_0x1dad93){const _0x6057c=_0x6057();return _0x2b10=function(_0x2b1087,_0x6ef38d){_0x2b1087=_0x2b1087-0x19c;let _0x174726=_0x6057c[_0x2b1087];return _0x174726;},_0x2b10(_0x103917,_0x1dad93);}import{Context as _0x338402,ContextPlugin as _0x1f48d1}from'ckeditor5/src/core.js';import{CKEditorError as _0x2a4f64}from'ckeditor5/src/utils.js';import{Users as _0x13861e}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5d09f2,User as _0x3e1cd6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x164178}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x3edf86}from'../realtimecollaborativeediting/sessions.js';class s extends _0x1f48d1{static [_0x40cabb(0x1b0)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x5d09f2)());[_0x40cabb(0x1e1)];static get[_0x40cabb(0x1ce)](){const _0x53a62b=_0x40cabb;return[_0x164178,_0x53a62b(0x1ea),_0x3edf86,_0x13861e];}static get[_0x40cabb(0x1ac)](){const _0x499777=_0x40cabb;return _0x499777(0x1c9);}static get[_0x40cabb(0x1ed)](){return!0x0;}static get[_0x40cabb(0x1e5)](){return!0x0;}constructor(_0x2d6b32){const _0x118ed8=_0x40cabb;super(_0x2d6b32),this[_0x118ed8(0x1e1)]=new Map();}async[_0x40cabb(0x1d6)](){const _0x15c631=_0x40cabb,_0x218058=this[_0x15c631(0x1a6)],_0x3f6dbb=_0x218058[_0x15c631(0x1b3)][_0x15c631(0x1e2)](_0x15c631(0x1ea));if(_0x218058[_0x15c631(0x1b3)][_0x15c631(0x1e2)](_0x164178)[_0x15c631(0x1e3)](this),_0x3f6dbb[_0x15c631(0x1da)]={'addCommentThread':async({channelId:_0xc8321f,threadId:_0x591f67,comments:_0x5e12cf,resolvedAt:_0x13553c,resolvedBy:_0x462575,context:_0x60016a,attributes:_0x1362fa})=>{const _0x58d8e6=_0x15c631,_0x36df8f=await this[_0x58d8e6(0x1d4)](_0xc8321f)[_0x58d8e6(0x1a1)]({'commentThreadId':_0x591f67,'comments':_0x5e12cf[_0x58d8e6(0x1a5)](_0x41186e=>function(_0x578d62,_0x54f2c0,_0x30e0f4){const _0xc58010=_0x58d8e6;return{'commentThreadId':_0x30e0f4,'commentId':_0x578d62[_0xc58010(0x1e6)],'userId':_0x578d62[_0xc58010(0x1b1)],'content':_0x578d62[_0xc58010(0x1f4)],'documentId':_0x54f2c0,'createdAt':_0x578d62[_0xc58010(0x1a3)],'attributes':_0x578d62[_0xc58010(0x1ee)]||{}};}(_0x41186e,_0xc8321f,_0x591f67)),'resolvedAt':_0x13553c,'resolvedBy':_0x462575,'context':_0x60016a,'attributes':_0x1362fa})[_0x58d8e6(0x1fd)](A);return{'threadId':_0x36df8f[_0x58d8e6(0x1d3)],'comments':_0x36df8f[_0x58d8e6(0x1d0)]};},'getCommentThread':async({channelId:_0x585576,threadId:_0x430b86})=>{const _0x1ba292=_0x15c631,_0x79df8b=await this[_0x1ba292(0x1d4)](_0x585576)[_0x1ba292(0x1f7)](_0x430b86)[_0x1ba292(0x1fd)](A);return _0x79df8b[_0x1ba292(0x1f1)]?null:(await this[_0x1ba292(0x1c2)]([_0x79df8b]),{'threadId':_0x79df8b[_0x1ba292(0x1d3)],'comments':_0x79df8b[_0x1ba292(0x1d0)][_0x1ba292(0x1a5)](p),'context':_0x79df8b[_0x1ba292(0x1a6)],'resolvedAt':_0x79df8b[_0x1ba292(0x1ec)],'resolvedBy':_0x79df8b[_0x1ba292(0x1a0)],'attributes':_0x79df8b[_0x1ba292(0x1ee)]||{}});},'updateCommentThread':async({channelId:_0x4632e7,threadId:_0xde6741,context:_0x1b2919,unlinkedAt:_0x2a7fa4,attributes:_0x54c778})=>this[_0x15c631(0x1d4)](_0x4632e7)[_0x15c631(0x1e9)]({'commentThreadId':_0xde6741,'context':_0x1b2919,'attributes':_0x54c778,'unlinkedAt':_0x2a7fa4})[_0x15c631(0x1fd)](v)[_0x15c631(0x1fd)](A),'resolveCommentThread':async({channelId:_0x2c7f58,threadId:_0x31ab32})=>{const _0x410b7f=_0x15c631,_0x7dad3c=await this[_0x410b7f(0x1d4)](_0x2c7f58)[_0x410b7f(0x1bf)](_0x31ab32)[_0x410b7f(0x1fd)](v)[_0x410b7f(0x1fd)](A);return{'threadId':_0x7dad3c[_0x410b7f(0x1d3)],'resolvedAt':_0x7dad3c[_0x410b7f(0x1ec)],'resolvedBy':_0x7dad3c[_0x410b7f(0x1a0)]};},'reopenCommentThread':async({channelId:_0x43c17c,threadId:_0x326ed7})=>this[_0x15c631(0x1d4)](_0x43c17c)[_0x15c631(0x1ad)](_0x326ed7)[_0x15c631(0x1fd)](v)[_0x15c631(0x1fd)](A),'removeCommentThread':({channelId:_0x54a066,threadId:_0x15ce2e})=>this[_0x15c631(0x1d4)](_0x54a066)[_0x15c631(0x1b4)](_0x15ce2e)[_0x15c631(0x1fd)](v)[_0x15c631(0x1fd)](A),'addComment':({channelId:_0x4db9ff,threadId:_0x36db22,commentId:_0x45ff80,content:_0x2e7b45,attributes:_0x294379})=>this[_0x15c631(0x1d4)](_0x4db9ff)[_0x15c631(0x1c5)](_0x36db22,_0x45ff80,_0x2e7b45,_0x294379)[_0x15c631(0x1fd)](A),'updateComment':({channelId:_0x1c6e8c,threadId:_0x4203a0,commentId:_0x18b7cf,content:_0x41e7dc,attributes:_0x424d8f})=>this[_0x15c631(0x1d4)](_0x1c6e8c)[_0x15c631(0x19f)](_0x4203a0,_0x18b7cf,_0x41e7dc,_0x424d8f)[_0x15c631(0x1fd)](v)[_0x15c631(0x1fd)](A),'removeComment':({channelId:_0x3d5bcc,threadId:_0x3f7d99,commentId:_0x1f47a0})=>this[_0x15c631(0x1d4)](_0x3d5bcc)[_0x15c631(0x1af)](_0x3f7d99,_0x1f47a0)[_0x15c631(0x1fd)](v)[_0x15c631(0x1fd)](A)},_0x218058 instanceof _0x338402){const _0x12ef27=_0x218058[_0x15c631(0x1f5)][_0x15c631(0x1e2)](_0x15c631(0x1f0)),_0x504cd2=_0x218058[_0x15c631(0x1b3)][_0x15c631(0x1e2)](_0x3edf86);await this[_0x15c631(0x1d5)](_0x12ef27);const _0x2b7cab=await this[_0x15c631(0x1e1)][_0x15c631(0x1e2)](_0x12ef27)[_0x15c631(0x1ff)]();this[_0x15c631(0x1cd)](_0x504cd2,_0x15c631(0x1f8)+_0x12ef27,(_0xbd1491,{session:_0x6a611d})=>{const _0x53eb10=_0x15c631;_0x6a611d['id']===_0x504cd2[_0x53eb10(0x1b7)]&&(_0xbd1491[_0x53eb10(0x1d2)](),this[_0x53eb10(0x1a6)][_0x53eb10(0x1b3)][_0x53eb10(0x1e2)](_0x53eb10(0x1fa))[_0x53eb10(0x1b9)](_0x6a611d[_0x53eb10(0x1e7)],_0x12ef27));}),_0x504cd2[_0x15c631(0x1fb)](_0x12ef27,_0x2b7cab);}}async[_0x40cabb(0x1d5)](_0x5bc118){const _0x5e858c=_0x40cabb;if(this[_0x5e858c(0x1e1)][_0x5e858c(0x19e)](_0x5bc118))throw new _0x2a4f64(_0x5e858c(0x1a2),null,{'channelId':_0x5bc118});const _0x1fe016=this[_0x5e858c(0x1a6)][_0x5e858c(0x1b3)][_0x5e858c(0x1e2)](_0x5e858c(0x1ea)),_0x36d613=new s[(_0x5e858c(0x1b0))](_0x5bc118);this[_0x5e858c(0x1e1)][_0x5e858c(0x1e0)](_0x5bc118,_0x36d613),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1bd),(_0x6b3697,_0x480f3c)=>{const _0x35312b=_0x5e858c,{commentThreadId:_0x5d9b87,documentId:_0x36fa45,context:_0x23beda,attributes:_0x2d4052,resolvedAt:_0x160d5c,resolvedBy:_0x318b51,comments:_0x25c033}=_0x480f3c;_0x1fe016[_0x35312b(0x1f7)](_0x5d9b87)||_0x1fe016[_0x35312b(0x1a1)]({'threadId':_0x5d9b87,'channelId':_0x36fa45,'comments':_0x25c033?_0x25c033[_0x35312b(0x1a5)](p):[],'context':_0x23beda,'attributes':_0x2d4052,'resolvedAt':_0x160d5c,'resolvedBy':_0x318b51,'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1aa),(_0x3dd98d,{commentThreadId:_0x5db90f,documentId:_0x379943,context:_0x451ef9,unlinkedAt:_0x11c01b,attributes:_0x4dad95})=>{const _0x561735=_0x5e858c;_0x1fe016[_0x561735(0x1f7)](_0x5db90f)&&_0x1fe016[_0x561735(0x1e9)]({'threadId':_0x5db90f,'channelId':_0x379943,'context':_0x451ef9,'unlinkedAt':_0x11c01b,'attributes':_0x4dad95,'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1d1),(_0x2d77d6,{commentThreadId:_0x2135f5,resolvedBy:_0x4e1332,resolvedAt:_0x3f1846})=>{const _0x180b0a=_0x5e858c,_0x295d8f=_0x1fe016[_0x180b0a(0x1f7)](_0x2135f5);_0x295d8f&&_0x295d8f[_0x180b0a(0x1ba)]({'resolvedBy':_0x4e1332,'resolvedAt':_0x3f1846,'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1b2),(_0x27a645,{commentThreadId:_0x70fd20})=>{const _0x59dad7=_0x5e858c,_0x3e1e26=_0x1fe016[_0x59dad7(0x1f7)](_0x70fd20);_0x3e1e26&&_0x3e1e26[_0x59dad7(0x1eb)]({'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1c7),(_0x11f8f3,{commentThreadId:_0x1834b6})=>{const _0x18be86=_0x5e858c,_0x59f9e9=_0x1fe016[_0x18be86(0x1f7)](_0x1834b6);_0x59f9e9&&_0x59f9e9[_0x18be86(0x1a4)]({'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1f6),(_0x46f6f9,_0x4f8c2b)=>{const _0x34762f=_0x5e858c,_0x586632=_0x4f8c2b[_0x34762f(0x1d3)],_0x3bfae1=_0x1fe016[_0x34762f(0x1f7)](_0x586632);_0x3bfae1&&_0x3bfae1[_0x34762f(0x1c5)]({...p(_0x4f8c2b),'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1ab),(_0x572cf7,{commentThreadId:_0x585a13,commentId:_0x3cfef7,content:_0x5c5926,attributes:_0x414f72})=>{const _0x500a72=_0x5e858c,_0x182b0c=_0x1fe016[_0x500a72(0x1f7)](_0x585a13);if(_0x182b0c){const _0x4b55a5=_0x182b0c[_0x500a72(0x1dc)](_0x3cfef7);_0x4b55a5&&_0x4b55a5[_0x500a72(0x1ca)]({'content':_0x5c5926,'attributes':_0x414f72,'isFromAdapter':!0x0});}}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1cf),(_0x2d7247,{commentThreadId:_0x24cb81,commentId:_0x307bc3})=>{const _0xd11629=_0x5e858c,_0x1fa424=_0x1fe016[_0xd11629(0x1f7)](_0x24cb81);if(_0x1fa424){const _0x2ba3eb=_0x1fa424[_0xd11629(0x1dc)](_0x307bc3);_0x2ba3eb&&_0x2ba3eb[_0xd11629(0x1a4)]({'isFromAdapter':!0x0});}}),await this[_0x5e858c(0x201)](_0x5bc118);}[_0x40cabb(0x19d)](){const _0x133dc0=_0x40cabb;if(this[_0x133dc0(0x1a6)]instanceof _0x338402){const _0x5cbef3=this[_0x133dc0(0x1a6)][_0x133dc0(0x1f5)][_0x133dc0(0x1e2)](_0x133dc0(0x1f0));this[_0x133dc0(0x1f9)](_0x5cbef3);}}[_0x40cabb(0x1f9)](_0x2ddb48){const _0x5bccf8=_0x40cabb;if(!this[_0x5bccf8(0x1e1)][_0x5bccf8(0x19e)](_0x2ddb48))throw new _0x2a4f64(_0x5bccf8(0x1a7),null,{'channelId':_0x2ddb48});this[_0x5bccf8(0x1d4)](_0x2ddb48)[_0x5bccf8(0x1ef)](),this[_0x5bccf8(0x1e1)][_0x5bccf8(0x1fe)](_0x2ddb48);}async[_0x40cabb(0x1be)](){const _0x43fcc9=_0x40cabb;for(const _0x326bf1 of this[_0x43fcc9(0x1e1)][_0x43fcc9(0x1e4)]())await this[_0x43fcc9(0x201)](_0x326bf1);if(this[_0x43fcc9(0x1a6)]instanceof _0x338402){const _0x47a574=this[_0x43fcc9(0x1a6)][_0x43fcc9(0x1f5)][_0x43fcc9(0x1e2)](_0x43fcc9(0x1f0)),_0x14b1ed=this[_0x43fcc9(0x1a6)][_0x43fcc9(0x1b3)][_0x43fcc9(0x1e2)](_0x3edf86);_0x14b1ed[_0x43fcc9(0x1fc)](_0x47a574);const _0x3f8c7d=await this[_0x43fcc9(0x1e1)][_0x43fcc9(0x1e2)](_0x47a574)[_0x43fcc9(0x1ff)]();_0x14b1ed[_0x43fcc9(0x1fb)](_0x47a574,_0x3f8c7d);}}async[_0x40cabb(0x201)](_0x1247d2){const _0x3bb187=_0x40cabb,{connection:_0x2409c9}=this[_0x3bb187(0x1a6)][_0x3bb187(0x1b3)][_0x3bb187(0x1e2)](_0x164178),_0x32efed=this[_0x3bb187(0x1a6)][_0x3bb187(0x1b3)][_0x3bb187(0x1e2)](_0x3bb187(0x1ea)),_0x56b0eb=this[_0x3bb187(0x1e1)][_0x3bb187(0x1e2)](_0x1247d2),_0x1b5ddc=await _0x56b0eb[_0x3bb187(0x1c6)](_0x2409c9);await this[_0x3bb187(0x1c2)](_0x1b5ddc);const _0xb909b1=new Set(Array[_0x3bb187(0x1d8)](_0x32efed[_0x3bb187(0x1d7)]({'channelId':_0x1247d2}),_0x588d9c=>_0x588d9c['id']));for(const _0x31c18b of _0x1b5ddc)_0x31c18b[_0x3bb187(0x1f1)]||_0xb909b1[_0x3bb187(0x1fe)](_0x31c18b[_0x3bb187(0x1d3)]);for(const _0x3d9836 of _0xb909b1)_0x32efed[_0x3bb187(0x1f7)](_0x3d9836)[_0x3bb187(0x1a4)]({'isFromAdapter':!0x0});for(const _0x3134a2 of _0x1b5ddc){let _0x15e1d6=_0x32efed[_0x3bb187(0x1f7)](_0x3134a2[_0x3bb187(0x1d3)]);const {commentThreadId:_0xeb7682,context:_0x3affc6,attributes:_0x47b1f5,resolvedBy:_0x2c252b,resolvedAt:_0x45018b,unlinkedAt:_0x206ad8,deletedAt:_0x17e735}=_0x3134a2;if(_0x17e735)continue;_0x15e1d6||(_0x15e1d6=_0x32efed[_0x3bb187(0x1a1)]({'channelId':_0x1247d2,'threadId':_0xeb7682,'context':_0x3affc6,'attributes':_0x47b1f5||{},'resolvedBy':_0x2c252b,'resolvedAt':_0x45018b,'unlinkedAt':_0x206ad8,'isFromAdapter':!0x0}));const _0x512d9c=new Set(Array[_0x3bb187(0x1d8)](_0x15e1d6[_0x3bb187(0x1d0)],_0x9f8a93=>_0x9f8a93['id']));for(const _0x4ea6f9 of _0x3134a2[_0x3bb187(0x1d0)])_0x512d9c[_0x3bb187(0x1fe)](_0x4ea6f9[_0x3bb187(0x1e6)]);for(const _0x825bb8 of _0x512d9c)_0x15e1d6[_0x3bb187(0x1dc)](_0x825bb8)[_0x3bb187(0x1a4)]({'isFromAdapter':!0x0});for(const _0x5956e4 of _0x3134a2[_0x3bb187(0x1d0)]){const _0x481298=_0x15e1d6[_0x3bb187(0x1dc)](_0x5956e4[_0x3bb187(0x1e6)]);_0x481298?_0x481298[_0x3bb187(0x1f4)]!==_0x5956e4[_0x3bb187(0x1f4)]&&_0x481298[_0x3bb187(0x1ca)]({'content':_0x5956e4[_0x3bb187(0x1f4)],'isFromAdapter':!0x0}):_0x15e1d6[_0x3bb187(0x1c5)](Object[_0x3bb187(0x1bc)](p(_0x5956e4),{'isFromAdapter':!0x0}));}}}[_0x40cabb(0x1d4)](_0x5876d8){const _0x32b236=_0x40cabb;if(!this[_0x32b236(0x1e1)][_0x32b236(0x19e)](_0x5876d8))throw new _0x2a4f64(_0x32b236(0x1d9),null,{'channelId':_0x5876d8});return this[_0x32b236(0x1e1)][_0x32b236(0x1e2)](_0x5876d8);}async[_0x40cabb(0x1c2)](_0x37c6a2){const _0x32d084=_0x40cabb,_0x13b967=this[_0x32d084(0x1a6)][_0x32d084(0x1b3)][_0x32d084(0x1e2)](_0x13861e),{connection:_0x16e7dd}=this[_0x32d084(0x1a6)][_0x32d084(0x1b3)][_0x32d084(0x1e2)](_0x164178),_0x12a593=new Set();for(const {resolvedBy:_0x38d703,comments:_0x306db4}of _0x37c6a2){_0x38d703&&!_0x13b967[_0x32d084(0x202)](_0x38d703)&&_0x12a593[_0x32d084(0x1df)](_0x38d703);for(const {userId:_0x242363}of _0x306db4)_0x13b967[_0x32d084(0x202)](_0x242363)||_0x12a593[_0x32d084(0x1df)](_0x242363);}if(0x0===_0x12a593[_0x32d084(0x1cc)])return;const _0x2ac380=await _0x3e1cd6[_0x32d084(0x1c0)](_0x16e7dd,Array[_0x32d084(0x1d8)](_0x12a593));for(const _0x56c575 of _0x2ac380)_0x13b967[_0x32d084(0x202)](_0x56c575['id'])||_0x13b967[_0x32d084(0x1c3)](_0x56c575);}}export{s as CloudServicesCommentsAdapter};async function v(_0x39991c){const _0x4756a4=_0x40cabb;if(_0x4756a4(0x1b5)!==_0x39991c[_0x4756a4(0x1c1)])throw _0x39991c;}function A(_0x476d9d){const _0x1c5611=_0x40cabb;if((_0x30186c=_0x476d9d)[_0x1c5611(0x1f3)][_0x1c5611(0x1ae)](_0x1c5611(0x1de))||_0x30186c[_0x1c5611(0x1f3)][_0x1c5611(0x1ae)](_0x1c5611(0x1e8))||_0x30186c[_0x1c5611(0x1f3)][_0x1c5611(0x1ae)](_0x1c5611(0x1b6)))return new Promise(()=>{});var _0x30186c;throw _0x476d9d;}function p(_0x1fe630){const _0x201cac=_0x40cabb;return{'threadId':_0x1fe630[_0x201cac(0x1d3)],'commentId':_0x1fe630[_0x201cac(0x1e6)],'content':_0x1fe630[_0x201cac(0x1f4)],'createdAt':_0x1fe630[_0x201cac(0x1a3)],'authorId':_0x1fe630[_0x201cac(0x1a8)],'attributes':_0x1fe630[_0x201cac(0x1ee)]||{}};}function _0x6057(){const _0x51a3db=['resolvedAt','isOfficialPlugin','attributes','disconnect','collaboration.channelId','deletedAt','1508708eurNli','message','content','config','commentAdded','getCommentThread','sessionAdd:','_terminateService','Permissions','register','unregister','catch','delete','getConnectedSessions','20sjguSs','_connectService','getUser','31262BHeqio','destroy','has','updateComment','resolvedBy','addCommentThread','cloudservicescommentsadapter-connect-already-connected','createdAt','remove','map','context','cloudservicescommentsadapter-disconnect-not-exist','userId','8021651IDzjIX','commentThreadUpdated','commentUpdated','pluginName','reopenCommentThread','startsWith','removeComment','CommentsService','authorId','commentThreadReopened','plugins','removeCommentThread','404','cloud-services-internal-error:\x20Request\x20timeout.','mySessionId','1326654wNWTyq','setPermissions','resolve','17647LKtcnn','assign','commentThreadAdded','reconnect','resolveCommentThread','getMany','code','_fetchMissingUsersForThreads','addUser','990tximDF','addComment','connect','commentThreadRemoved','184nJnXnO','CloudServicesCommentsAdapter','update','5590512FWFuAu','size','listenTo','requires','commentRemoved','comments','commentThreadResolved','off','commentThreadId','_getService','_setUpService','init','getCommentThreads','from','cloudservicescommentsadapter-service-not-exist','adapter','10145hjGNph','getComment','5KRwmFr','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','add','set','_services','get','addToReconnectionStack','keys','isPremiumPlugin','commentId','permissions','cloud-services-internal-error:\x20Not\x20connected.','updateCommentThread','CommentsRepository','reopen'];_0x6057=function(){return _0x51a3db;};return _0x6057();}
23
+ const _0x253042=_0x9a33;(function(_0x4363cd,_0x4fe229){const _0x2ee86a=_0x9a33,_0x1c0351=_0x4363cd();while(!![]){try{const _0x338eeb=-parseInt(_0x2ee86a(0x19e))/0x1+parseInt(_0x2ee86a(0x1b2))/0x2*(-parseInt(_0x2ee86a(0x1a0))/0x3)+-parseInt(_0x2ee86a(0x19a))/0x4+-parseInt(_0x2ee86a(0x15b))/0x5*(parseInt(_0x2ee86a(0x15e))/0x6)+-parseInt(_0x2ee86a(0x1a9))/0x7+parseInt(_0x2ee86a(0x16a))/0x8*(-parseInt(_0x2ee86a(0x160))/0x9)+-parseInt(_0x2ee86a(0x18d))/0xa*(-parseInt(_0x2ee86a(0x1a3))/0xb);if(_0x338eeb===_0x4fe229)break;else _0x1c0351['push'](_0x1c0351['shift']());}catch(_0x3aaaf0){_0x1c0351['push'](_0x1c0351['shift']());}}}(_0x5d7a,0x3405e));function _0x9a33(_0x1bbea6,_0x32c2a0){const _0x5d7ac4=_0x5d7a();return _0x9a33=function(_0x9a33a1,_0x29b486){_0x9a33a1=_0x9a33a1-0x159;let _0x44269a=_0x5d7ac4[_0x9a33a1];return _0x44269a;},_0x9a33(_0x1bbea6,_0x32c2a0);}import{Context as _0x54af93,ContextPlugin as _0x304f8e}from'ckeditor5/src/core.js';import{CKEditorError as _0xc48a6f}from'ckeditor5/src/utils.js';import{Users as _0x434c12}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x17cb90,User as _0x55d0b0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x489c5b}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5b5a0b}from'../realtimecollaborativeediting/sessions.js';class s extends _0x304f8e{static [_0x253042(0x191)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x17cb90)());[_0x253042(0x187)];static get[_0x253042(0x1a6)](){const _0x5d0074=_0x253042;return[_0x489c5b,_0x5d0074(0x1bd),_0x5b5a0b,_0x434c12];}static get[_0x253042(0x193)](){const _0x412a93=_0x253042;return _0x412a93(0x179);}static get[_0x253042(0x1bc)](){return!0x0;}static get[_0x253042(0x1b9)](){return!0x0;}constructor(_0x3ff6d5){const _0x1b61a3=_0x253042;super(_0x3ff6d5),this[_0x1b61a3(0x187)]=new Map();}async[_0x253042(0x18c)](){const _0x2ff66a=_0x253042,_0x97adee=this[_0x2ff66a(0x170)],_0x518c4b=_0x97adee[_0x2ff66a(0x16d)][_0x2ff66a(0x1b0)](_0x2ff66a(0x1bd));if(_0x97adee[_0x2ff66a(0x16d)][_0x2ff66a(0x1b0)](_0x489c5b)[_0x2ff66a(0x1bf)](this),_0x518c4b[_0x2ff66a(0x1b5)]={'addCommentThread':async({channelId:_0x21778a,threadId:_0x46ba53,comments:_0x2b7154,resolvedAt:_0x30224a,resolvedBy:_0xbbd2fd,context:_0x3017c5,attributes:_0x4fbda6})=>{const _0x2107b0=_0x2ff66a,_0x5057d5=await this[_0x2107b0(0x1aa)](_0x21778a)[_0x2107b0(0x171)]({'commentThreadId':_0x46ba53,'comments':_0x2b7154[_0x2107b0(0x197)](_0x1c8911=>function(_0x273a50,_0x470a8f,_0x148c71){const _0x37962c=_0x2107b0;return{'commentThreadId':_0x148c71,'commentId':_0x273a50[_0x37962c(0x1b8)],'userId':_0x273a50[_0x37962c(0x195)],'content':_0x273a50[_0x37962c(0x163)],'documentId':_0x470a8f,'createdAt':_0x273a50[_0x37962c(0x19d)],'attributes':_0x273a50[_0x37962c(0x1be)]||{}};}(_0x1c8911,_0x21778a,_0x46ba53)),'resolvedAt':_0x30224a,'resolvedBy':_0xbbd2fd,'context':_0x3017c5,'attributes':_0x4fbda6})[_0x2107b0(0x17b)](A);return{'threadId':_0x5057d5[_0x2107b0(0x1a5)],'comments':_0x5057d5[_0x2107b0(0x184)]};},'getCommentThread':async({channelId:_0x3e78fe,threadId:_0x28513f})=>{const _0x4b38f2=_0x2ff66a,_0x1dc108=await this[_0x4b38f2(0x1aa)](_0x3e78fe)[_0x4b38f2(0x162)](_0x28513f)[_0x4b38f2(0x17b)](A);return _0x1dc108[_0x4b38f2(0x174)]?null:(await this[_0x4b38f2(0x16b)]([_0x1dc108]),{'threadId':_0x1dc108[_0x4b38f2(0x1a5)],'comments':_0x1dc108[_0x4b38f2(0x184)][_0x4b38f2(0x197)](p),'context':_0x1dc108[_0x4b38f2(0x170)],'resolvedAt':_0x1dc108[_0x4b38f2(0x166)],'resolvedBy':_0x1dc108[_0x4b38f2(0x16f)],'attributes':_0x1dc108[_0x4b38f2(0x1be)]||{}});},'updateCommentThread':async({channelId:_0x1640ae,threadId:_0x530c17,context:_0x1b6d69,unlinkedAt:_0x390b6f,attributes:_0x1f698e})=>this[_0x2ff66a(0x1aa)](_0x1640ae)[_0x2ff66a(0x19f)]({'commentThreadId':_0x530c17,'context':_0x1b6d69,'attributes':_0x1f698e,'unlinkedAt':_0x390b6f})[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A),'resolveCommentThread':async({channelId:_0x39eee1,threadId:_0x1c9797})=>{const _0x2e390a=_0x2ff66a,_0x4d0f59=await this[_0x2e390a(0x1aa)](_0x39eee1)[_0x2e390a(0x189)](_0x1c9797)[_0x2e390a(0x17b)](v)[_0x2e390a(0x17b)](A);return{'threadId':_0x4d0f59[_0x2e390a(0x1a5)],'resolvedAt':_0x4d0f59[_0x2e390a(0x166)],'resolvedBy':_0x4d0f59[_0x2e390a(0x16f)]};},'reopenCommentThread':async({channelId:_0x33472c,threadId:_0x15ad71})=>this[_0x2ff66a(0x1aa)](_0x33472c)[_0x2ff66a(0x1ad)](_0x15ad71)[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A),'removeCommentThread':({channelId:_0x223af8,threadId:_0x3c81b8})=>this[_0x2ff66a(0x1aa)](_0x223af8)[_0x2ff66a(0x167)](_0x3c81b8)[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A),'addComment':({channelId:_0x516dc4,threadId:_0x284309,commentId:_0x14d9d6,content:_0x33dd10,attributes:_0x2dcaf5})=>this[_0x2ff66a(0x1aa)](_0x516dc4)[_0x2ff66a(0x185)](_0x284309,_0x14d9d6,_0x33dd10,_0x2dcaf5)[_0x2ff66a(0x17b)](A),'updateComment':({channelId:_0xb49b25,threadId:_0x506214,commentId:_0x5e6bd8,content:_0x2c9a72,attributes:_0x336108})=>this[_0x2ff66a(0x1aa)](_0xb49b25)[_0x2ff66a(0x1af)](_0x506214,_0x5e6bd8,_0x2c9a72,_0x336108)[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A),'removeComment':({channelId:_0x4e6344,threadId:_0x48339d,commentId:_0x5bfb59})=>this[_0x2ff66a(0x1aa)](_0x4e6344)[_0x2ff66a(0x19b)](_0x48339d,_0x5bfb59)[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A)},_0x97adee instanceof _0x54af93){const _0x240ec0=_0x97adee[_0x2ff66a(0x164)][_0x2ff66a(0x1b0)](_0x2ff66a(0x1b3)),_0x25ebc7=_0x97adee[_0x2ff66a(0x16d)][_0x2ff66a(0x1b0)](_0x5b5a0b);await this[_0x2ff66a(0x186)](_0x240ec0);const _0x4eafb4=await this[_0x2ff66a(0x187)][_0x2ff66a(0x1b0)](_0x240ec0)[_0x2ff66a(0x15c)]();this[_0x2ff66a(0x15a)](_0x25ebc7,_0x2ff66a(0x1b7)+_0x240ec0,(_0x22dc90,{session:_0x1f1522})=>{const _0x4a0a06=_0x2ff66a;_0x1f1522['id']===_0x25ebc7[_0x4a0a06(0x198)]&&(_0x22dc90[_0x4a0a06(0x1a1)](),this[_0x4a0a06(0x170)][_0x4a0a06(0x16d)][_0x4a0a06(0x1b0)](_0x4a0a06(0x16c))[_0x4a0a06(0x1ba)](_0x1f1522[_0x4a0a06(0x1a2)],_0x240ec0));}),_0x25ebc7[_0x2ff66a(0x1a7)](_0x240ec0,_0x4eafb4);}}async[_0x253042(0x186)](_0x578925){const _0x57cad2=_0x253042;if(this[_0x57cad2(0x187)][_0x57cad2(0x17e)](_0x578925))throw new _0xc48a6f(_0x57cad2(0x159),null,{'channelId':_0x578925});const _0x4044c5=this[_0x57cad2(0x170)][_0x57cad2(0x16d)][_0x57cad2(0x1b0)](_0x57cad2(0x1bd)),_0xd18a04=new s[(_0x57cad2(0x191))](_0x578925);this[_0x57cad2(0x187)][_0x57cad2(0x178)](_0x578925,_0xd18a04),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x18e),(_0x1a1482,_0x9dd339)=>{const _0x53a41f=_0x57cad2,{commentThreadId:_0x4465eb,documentId:_0x457558,context:_0x17d42e,attributes:_0x144b13,resolvedAt:_0x54f3aa,resolvedBy:_0x3ed9bc,comments:_0x57ab45}=_0x9dd339;_0x4044c5[_0x53a41f(0x162)](_0x4465eb)||_0x4044c5[_0x53a41f(0x171)]({'threadId':_0x4465eb,'channelId':_0x457558,'comments':_0x57ab45?_0x57ab45[_0x53a41f(0x197)](p):[],'context':_0x17d42e,'attributes':_0x144b13,'resolvedAt':_0x54f3aa,'resolvedBy':_0x3ed9bc,'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x18a),(_0x4a0174,{commentThreadId:_0x24dd52,documentId:_0x7b5157,context:_0x3c5072,unlinkedAt:_0x3e77b9,attributes:_0x4b2da6})=>{const _0x38e494=_0x57cad2;_0x4044c5[_0x38e494(0x162)](_0x24dd52)&&_0x4044c5[_0x38e494(0x19f)]({'threadId':_0x24dd52,'channelId':_0x7b5157,'context':_0x3c5072,'unlinkedAt':_0x3e77b9,'attributes':_0x4b2da6,'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x169),(_0x1eacbd,{commentThreadId:_0x48afd8,resolvedBy:_0x2b24cf,resolvedAt:_0x22a247})=>{const _0x16a294=_0x57cad2,_0x325a40=_0x4044c5[_0x16a294(0x162)](_0x48afd8);_0x325a40&&_0x325a40[_0x16a294(0x194)]({'resolvedBy':_0x2b24cf,'resolvedAt':_0x22a247,'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x16e),(_0x511723,{commentThreadId:_0x4edc09})=>{const _0x4e4bfc=_0x57cad2,_0x5333a9=_0x4044c5[_0x4e4bfc(0x162)](_0x4edc09);_0x5333a9&&_0x5333a9[_0x4e4bfc(0x15f)]({'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x17a),(_0x21bff7,{commentThreadId:_0x63e87c})=>{const _0x1f6100=_0x57cad2,_0x12423c=_0x4044c5[_0x1f6100(0x162)](_0x63e87c);_0x12423c&&_0x12423c[_0x1f6100(0x17d)]({'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x172),(_0x594600,_0x1d3fa6)=>{const _0x362def=_0x57cad2,_0x78f69b=_0x1d3fa6[_0x362def(0x1a5)],_0x5c3be4=_0x4044c5[_0x362def(0x162)](_0x78f69b);_0x5c3be4&&_0x5c3be4[_0x362def(0x185)]({...p(_0x1d3fa6),'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x1b1),(_0x36fb79,{commentThreadId:_0x56ad0e,commentId:_0x5350c5,content:_0x4d9fea,attributes:_0x4f528a})=>{const _0x5f390a=_0x57cad2,_0x399483=_0x4044c5[_0x5f390a(0x162)](_0x56ad0e);if(_0x399483){const _0x24c278=_0x399483[_0x5f390a(0x188)](_0x5350c5);_0x24c278&&_0x24c278[_0x5f390a(0x181)]({'content':_0x4d9fea,'attributes':_0x4f528a,'isFromAdapter':!0x0});}}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x1ae),(_0x5acc95,{commentThreadId:_0x4eedf6,commentId:_0x115404})=>{const _0x505ee3=_0x57cad2,_0x3b4a47=_0x4044c5[_0x505ee3(0x162)](_0x4eedf6);if(_0x3b4a47){const _0x1f5c90=_0x3b4a47[_0x505ee3(0x188)](_0x115404);_0x1f5c90&&_0x1f5c90[_0x505ee3(0x17d)]({'isFromAdapter':!0x0});}}),await this[_0x57cad2(0x1b4)](_0x578925);}[_0x253042(0x1bb)](){const _0x41981e=_0x253042;if(this[_0x41981e(0x170)]instanceof _0x54af93){const _0x541084=this[_0x41981e(0x170)][_0x41981e(0x164)][_0x41981e(0x1b0)](_0x41981e(0x1b3));this[_0x41981e(0x182)](_0x541084);}}[_0x253042(0x182)](_0x1f163f){const _0x6488c5=_0x253042;if(!this[_0x6488c5(0x187)][_0x6488c5(0x17e)](_0x1f163f))throw new _0xc48a6f(_0x6488c5(0x196),null,{'channelId':_0x1f163f});this[_0x6488c5(0x1aa)](_0x1f163f)[_0x6488c5(0x165)](),this[_0x6488c5(0x187)][_0x6488c5(0x1ac)](_0x1f163f);}async[_0x253042(0x177)](){const _0x5db5c0=_0x253042;for(const _0x5bdebf of this[_0x5db5c0(0x187)][_0x5db5c0(0x199)]())await this[_0x5db5c0(0x1b4)](_0x5bdebf);if(this[_0x5db5c0(0x170)]instanceof _0x54af93){const _0x3946ae=this[_0x5db5c0(0x170)][_0x5db5c0(0x164)][_0x5db5c0(0x1b0)](_0x5db5c0(0x1b3)),_0x29d442=this[_0x5db5c0(0x170)][_0x5db5c0(0x16d)][_0x5db5c0(0x1b0)](_0x5b5a0b);_0x29d442[_0x5db5c0(0x161)](_0x3946ae);const _0x5d30c2=await this[_0x5db5c0(0x187)][_0x5db5c0(0x1b0)](_0x3946ae)[_0x5db5c0(0x15c)]();_0x29d442[_0x5db5c0(0x1a7)](_0x3946ae,_0x5d30c2);}}async[_0x253042(0x1b4)](_0x4b39b7){const _0x1160da=_0x253042,{connection:_0x2cd781}=this[_0x1160da(0x170)][_0x1160da(0x16d)][_0x1160da(0x1b0)](_0x489c5b),_0x320e12=this[_0x1160da(0x170)][_0x1160da(0x16d)][_0x1160da(0x1b0)](_0x1160da(0x1bd)),_0x19cc5e=this[_0x1160da(0x187)][_0x1160da(0x1b0)](_0x4b39b7),_0x293509=await _0x19cc5e[_0x1160da(0x168)](_0x2cd781);await this[_0x1160da(0x16b)](_0x293509);const _0x3841e9=new Set(Array[_0x1160da(0x18f)](_0x320e12[_0x1160da(0x17c)]({'channelId':_0x4b39b7}),_0x2d4a8f=>_0x2d4a8f['id']));for(const _0x5e0ad4 of _0x293509)_0x5e0ad4[_0x1160da(0x174)]||_0x3841e9[_0x1160da(0x1ac)](_0x5e0ad4[_0x1160da(0x1a5)]);for(const _0x2af326 of _0x3841e9)_0x320e12[_0x1160da(0x162)](_0x2af326)[_0x1160da(0x17d)]({'isFromAdapter':!0x0});for(const _0x1f20d9 of _0x293509){let _0x33b8e5=_0x320e12[_0x1160da(0x162)](_0x1f20d9[_0x1160da(0x1a5)]);const {commentThreadId:_0x944204,context:_0x4214aa,attributes:_0x12b730,resolvedBy:_0x41a63b,resolvedAt:_0x393406,unlinkedAt:_0x26696a,deletedAt:_0x842da0}=_0x1f20d9;if(_0x842da0)continue;_0x33b8e5||(_0x33b8e5=_0x320e12[_0x1160da(0x171)]({'channelId':_0x4b39b7,'threadId':_0x944204,'context':_0x4214aa,'attributes':_0x12b730||{},'resolvedBy':_0x41a63b,'resolvedAt':_0x393406,'unlinkedAt':_0x26696a,'isFromAdapter':!0x0}));const _0x4ad1d8=new Set(Array[_0x1160da(0x18f)](_0x33b8e5[_0x1160da(0x184)],_0x583234=>_0x583234['id']));for(const _0x292968 of _0x1f20d9[_0x1160da(0x184)])_0x4ad1d8[_0x1160da(0x1ac)](_0x292968[_0x1160da(0x1b8)]);for(const _0x1a2030 of _0x4ad1d8)_0x33b8e5[_0x1160da(0x188)](_0x1a2030)[_0x1160da(0x17d)]({'isFromAdapter':!0x0});for(const _0x16b84c of _0x1f20d9[_0x1160da(0x184)]){const _0x8dccda=_0x33b8e5[_0x1160da(0x188)](_0x16b84c[_0x1160da(0x1b8)]);_0x8dccda?_0x8dccda[_0x1160da(0x163)]!==_0x16b84c[_0x1160da(0x163)]&&_0x8dccda[_0x1160da(0x181)]({'content':_0x16b84c[_0x1160da(0x163)],'isFromAdapter':!0x0}):_0x33b8e5[_0x1160da(0x185)](Object[_0x1160da(0x1b6)](p(_0x16b84c),{'isFromAdapter':!0x0}));}}}[_0x253042(0x1aa)](_0xf0a474){const _0x445fd3=_0x253042;if(!this[_0x445fd3(0x187)][_0x445fd3(0x17e)](_0xf0a474))throw new _0xc48a6f(_0x445fd3(0x17f),null,{'channelId':_0xf0a474});return this[_0x445fd3(0x187)][_0x445fd3(0x1b0)](_0xf0a474);}async[_0x253042(0x16b)](_0x1825f3){const _0x4d8a49=_0x253042,_0x5b5944=this[_0x4d8a49(0x170)][_0x4d8a49(0x16d)][_0x4d8a49(0x1b0)](_0x434c12),{connection:_0xcd880c}=this[_0x4d8a49(0x170)][_0x4d8a49(0x16d)][_0x4d8a49(0x1b0)](_0x489c5b),_0xe47080=new Set();for(const {resolvedBy:_0x5488e0,comments:_0x1179e7}of _0x1825f3){_0x5488e0&&!_0x5b5944[_0x4d8a49(0x175)](_0x5488e0)&&_0xe47080[_0x4d8a49(0x192)](_0x5488e0);for(const {userId:_0xf070ab}of _0x1179e7)_0x5b5944[_0x4d8a49(0x175)](_0xf070ab)||_0xe47080[_0x4d8a49(0x192)](_0xf070ab);}if(0x0===_0xe47080[_0x4d8a49(0x183)])return;const _0x5f1346=await _0x55d0b0[_0x4d8a49(0x1a8)](_0xcd880c,Array[_0x4d8a49(0x18f)](_0xe47080));for(const _0x59bf62 of _0x5f1346)_0x5b5944[_0x4d8a49(0x175)](_0x59bf62['id'])||_0x5b5944[_0x4d8a49(0x15d)](_0x59bf62);}}export{s as CloudServicesCommentsAdapter};async function v(_0x5922e3){const _0x1e1a34=_0x253042;if(_0x1e1a34(0x190)!==_0x5922e3[_0x1e1a34(0x1ab)])throw _0x5922e3;}function _0x5d7a(){const _0xf470c4=['cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','reconnect','set','CloudServicesCommentsAdapter','commentThreadRemoved','catch','getCommentThreads','remove','has','cloudservicescommentsadapter-service-not-exist','cloud-services-internal-error:\x20Request\x20timeout.','update','_terminateService','size','comments','addComment','_setUpService','_services','getComment','resolveCommentThread','commentThreadUpdated','message','init','432930qQZZMU','commentThreadAdded','from','404','CommentsService','add','pluginName','resolve','authorId','cloudservicescommentsadapter-disconnect-not-exist','map','mySessionId','keys','254364cDsQTN','removeComment','userId','createdAt','189202LNtKaH','updateCommentThread','9792QWwgzH','off','permissions','385bmaiDP','startsWith','commentThreadId','requires','register','getMany','1128757urHcJy','_getService','code','delete','reopenCommentThread','commentRemoved','updateComment','get','commentUpdated','124ySbVOx','collaboration.channelId','_connectService','adapter','assign','sessionAdd:','commentId','isPremiumPlugin','setPermissions','destroy','isOfficialPlugin','CommentsRepository','attributes','addToReconnectionStack','cloudservicescommentsadapter-connect-already-connected','listenTo','7255NQZeVR','getConnectedSessions','addUser','1734JiXagA','reopen','7011mKAvsm','unregister','getCommentThread','content','config','disconnect','resolvedAt','removeCommentThread','connect','commentThreadResolved','2736pOnGVD','_fetchMissingUsersForThreads','Permissions','plugins','commentThreadReopened','resolvedBy','context','addCommentThread','commentAdded','cloud-services-internal-error:\x20Not\x20connected.','deletedAt','getUser'];_0x5d7a=function(){return _0xf470c4;};return _0x5d7a();}function A(_0x16677d){const _0x57e445=_0x253042;if((_0x2e9004=_0x16677d)[_0x57e445(0x18b)][_0x57e445(0x1a4)](_0x57e445(0x176))||_0x2e9004[_0x57e445(0x18b)][_0x57e445(0x1a4)](_0x57e445(0x173))||_0x2e9004[_0x57e445(0x18b)][_0x57e445(0x1a4)](_0x57e445(0x180)))return new Promise(()=>{});var _0x2e9004;throw _0x16677d;}function p(_0x165119){const _0x1c32dc=_0x253042;return{'threadId':_0x165119[_0x1c32dc(0x1a5)],'commentId':_0x165119[_0x1c32dc(0x1b8)],'content':_0x165119[_0x1c32dc(0x163)],'createdAt':_0x165119[_0x1c32dc(0x19d)],'authorId':_0x165119[_0x1c32dc(0x19c)],'attributes':_0x165119[_0x1c32dc(0x1be)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5ee9(){const _0x358cf9=['_setUpService','editor','get','change:state','12CMTojU','data','connected','requires','103587ojifFw','9804510WBHEOt','collaboration.channelId','switchReadOnly','15uYDuNH','1733154wsgJtG','destroy','CommentsRepository','isOfficialPlugin','Comments','once','isPremiumPlugin','CommentsEditing','config','2813724cpmWKZ','init','912212PDQQIw','1068933woHaVZ','plugins','_terminateService','ready','RealTimeCollaborativeComments','isThreadsLoadingPaused','3416808CKAkGi','listenTo','pluginName'];_0x5ee9=function(){return _0x358cf9;};return _0x5ee9();}const _0x28835f=_0x4153;(function(_0x601448,_0xd10496){const _0x3390c8=_0x4153,_0xc8f8b=_0x601448();while(!![]){try{const _0x433128=-parseInt(_0x3390c8(0xbd))/0x1+parseInt(_0x3390c8(0xcb))/0x2+parseInt(_0x3390c8(0xce))/0x3*(parseInt(_0x3390c8(0xdb))/0x4)+parseInt(_0x3390c8(0xc1))/0x5*(-parseInt(_0x3390c8(0xc2))/0x6)+-parseInt(_0x3390c8(0xcd))/0x7+parseInt(_0x3390c8(0xd4))/0x8+-parseInt(_0x3390c8(0xbe))/0x9;if(_0x433128===_0xd10496)break;else _0xc8f8b['push'](_0xc8f8b['shift']());}catch(_0x24b106){_0xc8f8b['push'](_0xc8f8b['shift']());}}}(_0x5ee9,0xae142));import{Plugin as _0x3e885b}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x2eb697}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x49fff1}from'./realtimecollaborativeediting.js';function _0x4153(_0xe138e,_0x4e1fed){const _0x5ee90d=_0x5ee9();return _0x4153=function(_0x4153d2,_0xec1f84){_0x4153d2=_0x4153d2-0xbd;let _0x1fb672=_0x5ee90d[_0x4153d2];return _0x1fb672;},_0x4153(_0xe138e,_0x4e1fed);}import{WebSocketGateway as _0x1174b4}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x3e885b{static get[_0x28835f(0xde)](){const _0x4fe2d1=_0x28835f;return[_0x4fe2d1(0xc6),_0x2eb697,_0x49fff1,_0x1174b4];}static get[_0x28835f(0xd6)](){const _0xb05295=_0x28835f;return _0xb05295(0xd2);}static get[_0x28835f(0xc5)](){return!0x0;}static get[_0x28835f(0xc8)](){return!0x0;}[_0x28835f(0xcc)](){const _0x134612=_0x28835f,_0x41d39a=this[_0x134612(0xd8)][_0x134612(0xcf)][_0x134612(0xd9)](_0x1174b4),_0x55c02b=this[_0x134612(0xd8)][_0x134612(0xcf)][_0x134612(0xd9)](_0x134612(0xc9)),_0x24c4d4=this[_0x134612(0xd8)][_0x134612(0xcf)][_0x134612(0xd9)](_0x2eb697);return this[_0x134612(0xd8)][_0x134612(0xdc)][_0x134612(0xc7)](_0x134612(0xd1),()=>{const _0x3b67dc=_0x134612;this[_0x3b67dc(0xd5)](_0x41d39a,_0x3b67dc(0xda),(_0x58d468,_0x5cafa0,_0x22ab0a)=>{const _0x50f43a=_0x3b67dc;_0x55c02b[_0x50f43a(0xd3)]=_0x50f43a(0xdd)!==_0x22ab0a;});}),this[_0x134612(0xd5)](_0x41d39a,_0x134612(0xda),(_0x5b4d18,_0x2d303a,_0x2f8770)=>{const _0x19890e=_0x134612;this[_0x19890e(0xd8)][_0x19890e(0xcf)][_0x19890e(0xd9)](_0x19890e(0xc4))[_0x19890e(0xc0)](_0x19890e(0xdd)!==_0x2f8770);}),_0x24c4d4[_0x134612(0xd7)](this[_0x134612(0xd8)][_0x134612(0xca)][_0x134612(0xd9)](_0x134612(0xbf)));}[_0x28835f(0xc3)](){const _0x47c8bc=_0x28835f;this[_0x47c8bc(0xd8)][_0x47c8bc(0xcf)][_0x47c8bc(0xd9)](_0x2eb697)[_0x47c8bc(0xd0)](this[_0x47c8bc(0xd8)][_0x47c8bc(0xca)][_0x47c8bc(0xd9)](_0x47c8bc(0xbf))),super[_0x47c8bc(0xc3)]();}}
23
+ const _0xb8697d=_0x1181;function _0x2735(){const _0x69ef58=['16KPTslX','change:state','listenTo','9olERzW','get','Comments','644176ayiatO','once','879450Zapvom','CommentsRepository','CommentsEditing','data','requires','RealTimeCollaborativeComments','_terminateService','init','config','collaboration.channelId','7WHwkyR','destroy','isPremiumPlugin','137868mKUpfu','_setUpService','ready','pluginName','editor','switchReadOnly','isOfficialPlugin','46119mWgsYt','1516320bWuugZ','152728HQEWVr','3680830bkUkIx','connected','plugins','isThreadsLoadingPaused'];_0x2735=function(){return _0x69ef58;};return _0x2735();}(function(_0x31d8db,_0x1e4050){const _0x5d33ce=_0x1181,_0x3f09c1=_0x31d8db();while(!![]){try{const _0x5f48df=parseInt(_0x5d33ce(0x7f))/0x1+-parseInt(_0x5d33ce(0x76))/0x2+parseInt(_0x5d33ce(0x7d))/0x3*(parseInt(_0x5d33ce(0x84))/0x4)+-parseInt(_0x5d33ce(0x69))/0x5+-parseInt(_0x5d33ce(0x7e))/0x6+parseInt(_0x5d33ce(0x73))/0x7*(parseInt(_0x5d33ce(0x67))/0x8)+parseInt(_0x5d33ce(0x87))/0x9*(parseInt(_0x5d33ce(0x80))/0xa);if(_0x5f48df===_0x1e4050)break;else _0x3f09c1['push'](_0x3f09c1['shift']());}catch(_0xf50062){_0x3f09c1['push'](_0x3f09c1['shift']());}}}(_0x2735,0x285a1));import{Plugin as _0x4a6a5d}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0xa75dae}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x3b91ed}from'./realtimecollaborativeediting.js';function _0x1181(_0x3c91ae,_0x1886d6){const _0x27355f=_0x2735();return _0x1181=function(_0x1181df,_0x5d6c22){_0x1181df=_0x1181df-0x65;let _0x3ecbf0=_0x27355f[_0x1181df];return _0x3ecbf0;},_0x1181(_0x3c91ae,_0x1886d6);}import{WebSocketGateway as _0x50c3f6}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4a6a5d{static get[_0xb8697d(0x6d)](){const _0x6d1d2d=_0xb8697d;return[_0x6d1d2d(0x66),_0xa75dae,_0x3b91ed,_0x50c3f6];}static get[_0xb8697d(0x79)](){const _0x212b28=_0xb8697d;return _0x212b28(0x6e);}static get[_0xb8697d(0x7c)](){return!0x0;}static get[_0xb8697d(0x75)](){return!0x0;}[_0xb8697d(0x70)](){const _0x45ecf8=_0xb8697d,_0x4cab46=this[_0x45ecf8(0x7a)][_0x45ecf8(0x82)][_0x45ecf8(0x65)](_0x50c3f6),_0x4abbf9=this[_0x45ecf8(0x7a)][_0x45ecf8(0x82)][_0x45ecf8(0x65)](_0x45ecf8(0x6b)),_0x1abb2d=this[_0x45ecf8(0x7a)][_0x45ecf8(0x82)][_0x45ecf8(0x65)](_0xa75dae);return this[_0x45ecf8(0x7a)][_0x45ecf8(0x6c)][_0x45ecf8(0x68)](_0x45ecf8(0x78),()=>{const _0x432913=_0x45ecf8;this[_0x432913(0x86)](_0x4cab46,_0x432913(0x85),(_0x30b1b7,_0x53c82b,_0x560ba4)=>{const _0x333939=_0x432913;_0x4abbf9[_0x333939(0x83)]=_0x333939(0x81)!==_0x560ba4;});}),this[_0x45ecf8(0x86)](_0x4cab46,_0x45ecf8(0x85),(_0x2ff41c,_0xe35eb7,_0xa46c0b)=>{const _0x3746d9=_0x45ecf8;this[_0x3746d9(0x7a)][_0x3746d9(0x82)][_0x3746d9(0x65)](_0x3746d9(0x6a))[_0x3746d9(0x7b)](_0x3746d9(0x81)!==_0xa46c0b);}),_0x1abb2d[_0x45ecf8(0x77)](this[_0x45ecf8(0x7a)][_0x45ecf8(0x71)][_0x45ecf8(0x65)](_0x45ecf8(0x72)));}[_0xb8697d(0x74)](){const _0x293eec=_0xb8697d;this[_0x293eec(0x7a)][_0x293eec(0x82)][_0x293eec(0x65)](_0xa75dae)[_0x293eec(0x6f)](this[_0x293eec(0x7a)][_0x293eec(0x71)][_0x293eec(0x65)](_0x293eec(0x72))),super[_0x293eec(0x74)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c6e6e=_0x11a5;(function(_0x3c8c25,_0x538b68){const _0x1a3c37=_0x11a5,_0x15eb96=_0x3c8c25();while(!![]){try{const _0x2ba4bb=parseInt(_0x1a3c37(0x1d4))/0x1+-parseInt(_0x1a3c37(0x18f))/0x2*(parseInt(_0x1a3c37(0x155))/0x3)+parseInt(_0x1a3c37(0x1f6))/0x4+parseInt(_0x1a3c37(0x11a))/0x5*(parseInt(_0x1a3c37(0x177))/0x6)+parseInt(_0x1a3c37(0x1d9))/0x7*(-parseInt(_0x1a3c37(0x171))/0x8)+parseInt(_0x1a3c37(0x18d))/0x9*(-parseInt(_0x1a3c37(0x211))/0xa)+parseInt(_0x1a3c37(0x1bf))/0xb*(parseInt(_0x1a3c37(0x162))/0xc);if(_0x2ba4bb===_0x538b68)break;else _0x15eb96['push'](_0x15eb96['shift']());}catch(_0x17844c){_0x15eb96['push'](_0x15eb96['shift']());}}}(_0x36cc,0xd5906));import{Plugin as _0x49dc6c,PendingActions as _0xbad72d}from'ckeditor5/src/core.js';import{CKEditorError as _0x485afc,version as _0x53fba9,uid as _0x44d963}from'ckeditor5/src/utils.js';import{Notification as _0x3f7127}from'ckeditor5/src/ui.js';import{transformOperationSets as _0xf34b17,NoOperation as _0x23c417,InsertOperation as _0x4397e8,MarkerOperation as _0x13c377,RootAttributeOperation as _0x96c981,OperationFactory as _0x4ae083,History as _0x419320}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1ceaf1}from'./websocketgateway.js';function _0x36cc(){const _0x564398=['listenTo','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','connected','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','add','isDocumentOperation','init','_operationIdentifier','decompress','_addKnownRoot','reconnect','collaboration-missing-channelid','__className','stop','_isEditingAllowed','message','filter','getRoot','sessionCreatedAt','realtimecollaborationclient-handleserverresponse','createPositionAt','4156912PtACCq','_refreshUserSelectionMarkers','connection','_handleReconnectionResponse','requires','cloudServices.bundleVersion','end','realtimecollaborationclient-init-connection-failed','_saveOperationInBuffer','PENDING_ACTION_SENDING_DATA','push','_handleServerResponse','register','startsWith','set','_connectService','position','applyOperation','offset','disconnected','slice','disconnect','_handleInitialConnectionData','cs:removeUser','cloud-services-internal-error:\x20Request\x20timeout.','newRange','_waitUntilSynced','7939790YmdAzm','createRange','map','_lastSyncedOperationId','apply','getConnectedSessions','CollaborativeEditingService','view','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.','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','rootName','_lastServerVersion','_handleSendingSelectionMarkers','move','RealTimeCollaborationClient','pluginName','operationsReceived','186385FRrZmD','_isLoaded','roots','Permissions','Synchronization\x20issue','_loadRoot','reconnection:\x20flushed\x20session','change:range','enableReadOnlyMode','initData','clone','404','model','code','_channelId','data','catch','realtimecollaborationclient-init-service-incorrect-server-operation','metadata','realtimecollaborationclient-sendbufferedoperations','_disconnectionOperations','return','getIdOfTheLastOperation','rtc-offline','keys','wasUndone','sendOperations','_compressor','409','rtc-destroyed','isOfficialPlugin','lastDocumentSession','_sendBufferedOperations','targetPosition','lastOperationAcceptedAt','_isPendingUpdate','_handleExternalOperations','size','realtimecollaborationclient-init-document-already-initialized','differ','high','_shouldSendUpdate','_fetchMissingUsers','type','_isDisconnection','Notification','length','_bufferRootLoad','_getOperationsFromInitData','userId','change:_isEditingAllowed','round','loadRoot','rootsAttributes','_setUpDataInit','reset','_connectAfterSessionHasBeenFlushed','fire','version','303iSkusQ','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.','from','sessionAdd:','collaboration','cloud-services-internal-error:\x20Not\x20connected.','_isAttached','currentDocumentSession','enqueueChange','_initSessionsHandling','state','locale','setPermissions','948lKfnpz','stopListening','collaboration.channelId','string','config','document','bind','lastSyncVersion','_updateServerHistory','_pendingAction','_isInit','_authorId','compress','addUser','_sendBufferedOperationsDelayId','28896QpRShq','change:hasDomSelection','_handleReceivedOperations','getDocumentDetails','change:_isPendingUpdate','_initThrowingOnDataSet','114wPviOR','isEnabled','has','_compressOperations','setIdForTheLastOperation','realtimecollaborationclient','_hasSynchronizationProblem','getUser','remove','addRoot','real-time-collaboration','includes','ready','createPositionFromPath','insert','get','define','suppressErrorInCollaboration','marker','$root','_shouldSendSelectionUpdate','unregister','9JJVkFh','toJSON','15686YHLVYM','_disconnectService','_knownOperations','connect','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isPremiumPlugin','_baseBufferDelay','affectsData','_ignoredOperations','_isConnected','_getAffectedRoot','_clearPendingAction','batch','realtimecollaborationclient-init-session-connection-error','parse','permissions','_bufferedOperations','document:write','disableReadOnlyMode','createUserMarkerOperations','mySessionId','_sendBufferedOperationsDelayed','lastOperationId','then','isUndoneOperation','baseVersion','path','_hasSelectionChanged','destroy','plugins','removeFromReconnectionStack','attributes','addRootAttribute','_crash','channelSessions','markers','_currentBufferDelay','_offset','root','createRoot','realtimecollaborationclient-init-non-existent-root','realtimecollaborationclient-init-service-internal-error','directChange','multi-root-editor-root-attributes-no-root','_handleReconnectionError','isReadOnly','addOperation','_decompressOperations','146377XwLtYk','realtimecollaborationclient-error','getOperationAuthor','_operationToId','finally','showWarning','history','_knownRootNames','fromJSON','affectedSelectable','forEach','editor','selection','createdAt','_applyOperationsSet','start','getOperations','serverHistory','CommentsOnly','off','entries','84740uMLTnN','addToReconnectionStack','_setPendingAction','InsertOperation','_service','819lTILzs','getMany','wereChangesApplied','_document','error','editing','sessionId','cloudDocumentVersion'];_0x36cc=function(){return _0x564398;};return _0x36cc();}import{Sessions as _0x588e59}from'./sessions.js';import{UserMarkers as _0x8e76f3}from'./usermarkers.js';import{getTranslation as _0x7aa812}from'../common-translations.js';import{Compressor as _0xe6d7d5}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1feb15}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x11a5(_0xa22d41,_0x585fd8){const _0x36cc1b=_0x36cc();return _0x11a5=function(_0x11a5e9,_0x5dc4d7){_0x11a5e9=_0x11a5e9-0x110;let _0x2def7d=_0x36cc1b[_0x11a5e9];return _0x2def7d;},_0x11a5(_0xa22d41,_0x585fd8);}import{User as _0x2abcd9,CollaborativeEditingService as _0xcaf64}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;class l extends _0x49dc6c{static [_0x5c6e6e(0x217)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0xcaf64)());[_0x5c6e6e(0x1b4)];[_0x5c6e6e(0x1df)];[_0x5c6e6e(0x1d0)];[_0x5c6e6e(0x128)];[_0x5c6e6e(0x1d8)];[_0x5c6e6e(0x1dc)];[_0x5c6e6e(0x135)];[_0x5c6e6e(0x19f)];[_0x5c6e6e(0x191)];[_0x5c6e6e(0x1c6)];[_0x5c6e6e(0x16b)];[_0x5c6e6e(0x1aa)];[_0x5c6e6e(0x170)];[_0x5c6e6e(0x195)];[_0x5c6e6e(0x1b3)];[_0x5c6e6e(0x214)];[_0x5c6e6e(0x12e)];[_0x5c6e6e(0x1e8)];static get[_0x5c6e6e(0x1fa)](){return[_0x1ceaf1,_0x588e59,_0x8e76f3,_0xbad72d,_0x1feb15,_0x3f7127];}static get[_0x5c6e6e(0x118)](){const _0x2ed39a=_0x5c6e6e;return _0x2ed39a(0x117);}static get[_0x5c6e6e(0x138)](){return!0x0;}static get[_0x5c6e6e(0x194)](){return!0x0;}get[_0x5c6e6e(0x1e0)](){const _0x4995b6=_0x5c6e6e;return this[_0x4995b6(0x114)]+this[_0x4995b6(0x1b4)];}get[_0x5c6e6e(0x114)](){const _0x1d0efa=_0x5c6e6e;return this[_0x1d0efa(0x1d0)][_0x1d0efa(0x154)]-this[_0x1d0efa(0x1b4)];}get[_0x5c6e6e(0x169)](){const _0x388451=_0x5c6e6e,_0x1faea4=this[_0x388451(0x1d0)][_0x388451(0x1cf)]();for(let _0x34b3aa=_0x1faea4[_0x388451(0x148)]-0x1;_0x34b3aa>=0x0;_0x34b3aa--){const _0x3f7be5=_0x1faea4[_0x34b3aa];if(!this[_0x388451(0x12e)][_0x388451(0x179)](_0x3f7be5))return _0x3f7be5[_0x388451(0x1a8)]+0x1-this[_0x388451(0x1b4)];}return 0x0;}constructor(_0x14680d){const _0x480000=_0x5c6e6e;if(super(_0x14680d),this[_0x480000(0x1b4)]=0x0,this[_0x480000(0x1df)]=null,this[_0x480000(0x1d0)]=new _0x419320(),this[_0x480000(0x1ca)][_0x480000(0x166)][_0x480000(0x187)](_0x480000(0x159),{}),this[_0x480000(0x128)]=this[_0x480000(0x1ca)][_0x480000(0x166)][_0x480000(0x186)](_0x480000(0x164)),!this[_0x480000(0x128)])throw new _0x485afc(_0x480000(0x1ec),this);const _0x2809ec=_0x14680d[_0x480000(0x166)][_0x480000(0x186)](_0x480000(0x1fb))||_0x53fba9;this[_0x480000(0x1d8)]=new l[(_0x480000(0x217))](_0x2809ec,this[_0x480000(0x128)]),this[_0x480000(0x1dc)]=this[_0x480000(0x1ca)][_0x480000(0x126)][_0x480000(0x167)],this[_0x480000(0x135)]=new _0xe6d7d5(),this[_0x480000(0x19f)]=[],this[_0x480000(0x191)]=new WeakSet(),this[_0x480000(0x1c6)]=new Set(),this[_0x480000(0x204)](_0x480000(0x13d),!0x1),this[_0x480000(0x204)](_0x480000(0x17d),!0x1),this[_0x480000(0x16b)]=null,this[_0x480000(0x1aa)]=!0x1,this[_0x480000(0x170)]=null,this[_0x480000(0x195)]=0x12c,this[_0x480000(0x1b3)]=this[_0x480000(0x195)],this[_0x480000(0x214)]=null,this[_0x480000(0x12e)]=new WeakSet(),this[_0x480000(0x1e8)]=new J(this[_0x480000(0x12e)]);}[_0x5c6e6e(0x1e7)](){const _0x2cb371=_0x5c6e6e,_0x555bd7=this[_0x2cb371(0x1ca)],_0x5bb1b2=_0x555bd7[_0x2cb371(0x1ac)][_0x2cb371(0x186)](_0x1feb15),_0x410b8c=_0x555bd7[_0x2cb371(0x1ac)][_0x2cb371(0x186)](_0x1ceaf1);this[_0x2cb371(0x1e1)](_0x5bb1b2,_0x2cb371(0x1c1),(_0x516806,_0x20e4ea)=>{const _0x2f0a38=_0x2cb371,_0x168fa8=_0x20e4ea[0x0];_0x168fa8[_0x2f0a38(0x16d)]&&(_0x516806[_0x2f0a38(0x12f)]=_0x5bb1b2[_0x2f0a38(0x17e)](_0x168fa8[_0x2f0a38(0x16d)]),_0x516806[_0x2f0a38(0x1ee)]()),null===_0x168fa8[_0x2f0a38(0x16d)]&&(_0x516806[_0x2f0a38(0x12f)]=null,_0x516806[_0x2f0a38(0x1ee)]());},{'priority':_0x2cb371(0x142)}),this[_0x2cb371(0x1e1)](_0x555bd7[_0x2cb371(0x126)][_0x2cb371(0x167)][_0x2cb371(0x1cb)],_0x2cb371(0x121),(_0x4a4344,_0x825af7)=>{const _0x4ec09c=_0x2cb371;_0x825af7[_0x4ec09c(0x1b9)]&&this[_0x4ec09c(0x1f7)]();}),this[_0x2cb371(0x1e1)](_0x555bd7[_0x2cb371(0x1de)][_0x2cb371(0x110)],_0x2cb371(0x172),()=>{const _0x5ce123=_0x2cb371;this[_0x5ce123(0x1f7)]();}),this[_0x2cb371(0x176)](),_0x555bd7[_0x2cb371(0x126)]['on'](_0x2cb371(0x207),(_0x3674e5,_0x15204c)=>{const _0x8ad7a2=_0x2cb371,_0x4ecf02=_0x15204c[0x0];_0x4ecf02[_0x8ad7a2(0x1e6)]&&(this[_0x8ad7a2(0x1fe)](_0x4ecf02),this[_0x8ad7a2(0x143)]()&&this[_0x8ad7a2(0x1a4)]());}),this[_0x2cb371(0x150)](),this[_0x2cb371(0x168)](_0x2cb371(0x1ef))['to'](_0x410b8c,_0x2cb371(0x15f),this,_0x2cb371(0x17d),(_0x9bb8d5,_0x1a4467)=>_0x2cb371(0x1e3)===_0x9bb8d5&&!_0x1a4467),this['on'](_0x2cb371(0x14c),()=>{const _0x4a7b89=_0x2cb371;this[_0x4a7b89(0x1ef)]?_0x555bd7[_0x4a7b89(0x1a1)](_0x4a7b89(0x131)):_0x555bd7[_0x4a7b89(0x122)](_0x4a7b89(0x131));}),this[_0x2cb371(0x1ef)]?_0x555bd7[_0x2cb371(0x1a1)](_0x2cb371(0x131)):_0x555bd7[_0x2cb371(0x122)](_0x2cb371(0x131)),this[_0x2cb371(0x204)](_0x2cb371(0x198),!0x1);}async[_0x5c6e6e(0x1eb)](){const _0x2a3eaf=_0x5c6e6e,_0xeea6e8=this[_0x2a3eaf(0x1ca)][_0x2a3eaf(0x1ac)][_0x2a3eaf(0x186)](_0x588e59),_0x30304d=this[_0x2a3eaf(0x1ca)][_0x2a3eaf(0x1ac)][_0x2a3eaf(0x186)](_0x1ceaf1);try{this[_0x2a3eaf(0x13d)]=!0x0,_0xeea6e8[_0x2a3eaf(0x18c)](this[_0x2a3eaf(0x128)]);const _0x15d62d=await this[_0x2a3eaf(0x1d8)][_0x2a3eaf(0x1eb)](_0x30304d[_0x2a3eaf(0x1f8)],this[_0x2a3eaf(0x169)]);await this[_0x2a3eaf(0x1f9)](_0x15d62d)&&(this[_0x2a3eaf(0x13d)]=!0x1,this[_0x2a3eaf(0x19a)]());const _0x2269e5=await this[_0x2a3eaf(0x1d8)][_0x2a3eaf(0x216)]();_0xeea6e8[_0x2a3eaf(0x202)](this[_0x2a3eaf(0x128)],_0x2269e5),this[_0x2a3eaf(0x115)](),this[_0x2a3eaf(0x198)]=!0x0;}catch(_0x150517){if(function(_0x50f1f0){const _0x13eb45=_0x2a3eaf;return _0x13eb45(0x125)===_0x50f1f0[_0x13eb45(0x127)];}(_0x150517)&&this[_0x2a3eaf(0x1df)])await this[_0x2a3eaf(0x152)]();else{if(function(_0x5858f8){const _0x248721=_0x2a3eaf;return _0x248721(0x136)===_0x5858f8[_0x248721(0x127)];}(_0x150517)){const _0x5557af=_0x7aa812(this[_0x2a3eaf(0x1ca)][_0x2a3eaf(0x160)],_0x2a3eaf(0x1e4));this[_0x2a3eaf(0x1bb)](_0x5557af);}else{if(!(_0x150517 instanceof $))throw _0x150517;this[_0x2a3eaf(0x1bb)]();}}}}[_0x5c6e6e(0x1ab)](){const _0x4d5a7b=_0x5c6e6e,_0x5b2ae1=this[_0x4d5a7b(0x1ca)][_0x4d5a7b(0x1ac)][_0x4d5a7b(0x186)](_0x1ceaf1),_0x6e3430=this[_0x4d5a7b(0x1ca)][_0x4d5a7b(0x1ac)][_0x4d5a7b(0x186)](_0x588e59);this[_0x4d5a7b(0x1ca)][_0x4d5a7b(0x122)](_0x4d5a7b(0x137)),_0x6e3430[_0x4d5a7b(0x1b1)][_0x4d5a7b(0x179)](this[_0x4d5a7b(0x128)])&&_0x6e3430[_0x4d5a7b(0x18c)](this[_0x4d5a7b(0x128)]),_0x5b2ae1[_0x4d5a7b(0x1ad)](this),this[_0x4d5a7b(0x190)](),super[_0x4d5a7b(0x1ab)]();}async[_0x5c6e6e(0x1f9)](_0x50a47f){const _0x900d39=_0x5c6e6e;if(this[_0x900d39(0x1df)]!==_0x50a47f[_0x900d39(0x1df)]&&this[_0x900d39(0x214)]!==_0x50a47f[_0x900d39(0x1a5)])throw new $();return this[_0x900d39(0x1df)]=_0x50a47f[_0x900d39(0x1df)],this[_0x900d39(0x201)]([],{..._0x50a47f,'wereChangesApplied':!0x1,'data':_0x50a47f[_0x900d39(0x129)]},_0x900d39(0x1eb));}async[_0x5c6e6e(0x205)](_0x1d63a0,_0x4f3965=!0x1){const _0x51365d=_0x5c6e6e,{connection:_0x6b0181}=this[_0x51365d(0x1ca)][_0x51365d(0x1ac)][_0x51365d(0x186)](_0x1ceaf1);l[_0x51365d(0x217)][_0x51365d(0x216)](_0x6b0181,this[_0x51365d(0x128)])[_0x51365d(0x1a6)](_0x583abd=>this[_0x51365d(0x15e)](_0x583abd))[_0x51365d(0x12a)](_0x87ceb5=>{const _0x17e4c6=_0x51365d;this[_0x17e4c6(0x1b0)](_0x17e4c6(0x19c),_0x87ceb5);}),this[_0x51365d(0x1e1)](this[_0x51365d(0x1d8)],_0x51365d(0x119),this[_0x51365d(0x173)][_0x51365d(0x168)](this)),this[_0x51365d(0x1e1)](this[_0x51365d(0x1d8)],_0x51365d(0x1dd),(_0x48430e,_0x4f5da1)=>{const _0x293ffc=_0x51365d;this[_0x293ffc(0x1b0)](_0x293ffc(0x1b8),_0x4f5da1);}),this[_0x51365d(0x1e1)](this[_0x51365d(0x1d8)],_0x51365d(0x209),()=>{const _0x46ab25=_0x51365d;this[_0x46ab25(0x198)]=!0x1;});const _0x533c7e=this[_0x51365d(0x1e8)][_0x51365d(0x130)](_0x1d63a0);this[_0x51365d(0x13d)]=!0x0;const _0x4a0b83=await this[_0x51365d(0x1d8)][_0x51365d(0x192)](_0x6b0181,this[_0x51365d(0x17a)](_0x1d63a0),_0x533c7e);if(this[_0x51365d(0x1df)]=_0x4a0b83[_0x51365d(0x1df)],_0x4f3965){if(!_0x4a0b83[_0x51365d(0x1db)])return void this[_0x51365d(0x1bb)]();this[_0x51365d(0x13d)]=!0x1,this[_0x51365d(0x19a)](),this[_0x51365d(0x1d0)][_0x51365d(0x151)](),this[_0x51365d(0x1b4)]=_0x4a0b83[_0x51365d(0x208)],this[_0x51365d(0x1d0)][_0x51365d(0x154)]=this[_0x51365d(0x1b4)],await this[_0x51365d(0x201)](_0x1d63a0,_0x4a0b83,_0x51365d(0x120));}else await this[_0x51365d(0x20c)](_0x4a0b83,_0x1d63a0);this[_0x51365d(0x115)](),this[_0x51365d(0x198)]=!0x0;}[_0x5c6e6e(0x115)](){const _0x69099b=_0x5c6e6e,_0x37c3e4=this[_0x69099b(0x1ca)][_0x69099b(0x1ac)][_0x69099b(0x186)](_0x588e59),_0x53cc8d=this[_0x69099b(0x1ca)][_0x69099b(0x1ac)][_0x69099b(0x186)](_0x8e76f3),_0x518797=_0x37c3e4[_0x69099b(0x1b1)][_0x69099b(0x186)](this[_0x69099b(0x128)]);_0x518797&&_0x518797[_0x69099b(0x148)]>0x1?_0x53cc8d[_0x69099b(0x1a2)]():this[_0x69099b(0x1e1)](_0x37c3e4,_0x69099b(0x158)+this[_0x69099b(0x128)],()=>{const _0x2c6f8f=_0x69099b;0x2===_0x37c3e4[_0x2c6f8f(0x1b1)][_0x2c6f8f(0x186)](this[_0x2c6f8f(0x128)])[_0x2c6f8f(0x148)]&&_0x53cc8d[_0x2c6f8f(0x1a2)]();});}async[_0x5c6e6e(0x173)](_0x100a61,_0xb6035c,_0x2d4d02,_0x1def25){const _0x3d187d=_0x5c6e6e;if(!this[_0x3d187d(0x13d)]&&this[_0x3d187d(0x1dc)][_0x3d187d(0x154)]==_0xb6035c){const _0x26d594=this[_0x3d187d(0x1be)](_0x2d4d02,_0x1def25);await this[_0x3d187d(0x144)](_0x26d594),this[_0x3d187d(0x13e)](_0x26d594,_0xb6035c,_0x2d4d02[_0x3d187d(0x1a5)])||this[_0x3d187d(0x1b0)](_0x3d187d(0x12b));}}async[_0x5c6e6e(0x152)](){const _0x411858=_0x5c6e6e;this[_0x411858(0x190)]();const {locale:_0x2a64d6}=this[_0x411858(0x1ca)];let _0x1f84b7;try{_0x1f84b7=await this[_0x411858(0x1d8)][_0x411858(0x174)]();}catch{const _0x5e04ae=_0x7aa812(_0x2a64d6,_0x411858(0x193));return void this[_0x411858(0x1bb)](_0x5e04ae);}const _0xfd8d0b=_0x1f84b7[_0x411858(0x15c)]||_0x1f84b7[_0x411858(0x139)];if(this[_0x411858(0x214)]!==_0xfd8d0b[_0x411858(0x1a5)]){const _0x478a37=_0x7aa812(_0x2a64d6,_0x411858(0x111));return void this[_0x411858(0x1bb)](_0x478a37);}await this[_0x411858(0x205)](this[_0x411858(0x1ca)][_0x411858(0x126)][_0x411858(0x167)][_0x411858(0x1c5)][_0x411858(0x1cf)](),!0x0);}[_0x5c6e6e(0x190)](){const _0x18530a=_0x5c6e6e;this[_0x18530a(0x1d8)][_0x18530a(0x20b)](),this[_0x18530a(0x19f)]=[],clearTimeout(this[_0x18530a(0x170)]),this[_0x18530a(0x163)](this[_0x18530a(0x1d8)]);}[_0x5c6e6e(0x15e)](_0x76cff5){const _0x154b1e=_0x5c6e6e,_0x4a5570=this[_0x154b1e(0x1ca)][_0x154b1e(0x1ac)][_0x154b1e(0x186)](_0x588e59);this[_0x154b1e(0x1e1)](_0x4a5570,_0x154b1e(0x158)+this[_0x154b1e(0x128)],(_0x1e0ad3,{session:_0x49d16c})=>{const _0x3150b9=_0x154b1e;if(_0x49d16c['id']===_0x4a5570[_0x3150b9(0x1a3)]){_0x1e0ad3[_0x3150b9(0x1d2)]();const _0xbc652c=this[_0x3150b9(0x1ca)][_0x3150b9(0x1ac)][_0x3150b9(0x179)](_0x3150b9(0x1d1))&&this[_0x3150b9(0x1ca)][_0x3150b9(0x1ac)][_0x3150b9(0x186)](_0x3150b9(0x1d1));let _0x194f40=_0x49d16c[_0x3150b9(0x19e)];_0xbc652c&&_0xbc652c[_0x3150b9(0x178)]&&(_0x194f40=_0x194f40[_0x3150b9(0x1f1)](_0x29a33f=>_0x3150b9(0x1a0)!==_0x29a33f)),this[_0x3150b9(0x1ca)][_0x3150b9(0x1ac)][_0x3150b9(0x186)](_0x3150b9(0x11d))[_0x3150b9(0x161)](_0x194f40,this[_0x3150b9(0x128)]);}}),_0x4a5570[_0x154b1e(0x202)](this[_0x154b1e(0x128)],_0x76cff5);}[_0x5c6e6e(0x176)](){const _0x1683f4=_0x5c6e6e,_0x5da799=this[_0x1683f4(0x1ca)][_0x1683f4(0x129)][_0x1683f4(0x204)];this[_0x1683f4(0x1ca)][_0x1683f4(0x129)][_0x1683f4(0x204)]=(..._0x766051)=>{const _0x51fe07=_0x1683f4;if(!_0x766051[_0x766051[_0x51fe07(0x148)]-0x1][_0x51fe07(0x188)])throw new _0x485afc(_0x51fe07(0x1e2),this);_0x5da799[_0x51fe07(0x215)](this[_0x51fe07(0x1ca)][_0x51fe07(0x129)],_0x766051);};}[_0x5c6e6e(0x150)](){const _0x3e03d9=_0x5c6e6e;this[_0x3e03d9(0x1ca)][_0x3e03d9(0x129)]['on'](_0x3e03d9(0x1e7),(_0x5b6bf5,[_0x16e527])=>{const _0x3c8566=_0x3e03d9;if(this[_0x3c8566(0x1dc)][_0x3c8566(0x154)])throw new _0x485afc(_0x3c8566(0x140),this);_0x5b6bf5[_0x3c8566(0x1ee)](),this[_0x3c8566(0x1d6)]();const _0x572ec9=this[_0x3c8566(0x1ca)][_0x3c8566(0x166)][_0x3c8566(0x186)](_0x3c8566(0x14f)),_0x101b45=this[_0x3c8566(0x14a)](_0x16e527,_0x572ec9);0x0==_0x101b45[_0x3c8566(0x148)]&&_0x101b45[_0x3c8566(0x200)](new _0x23c417(0x0)),_0x5b6bf5[_0x3c8566(0x12f)]=this[_0x3c8566(0x205)](_0x101b45)[_0x3c8566(0x1a6)](()=>{const _0x9c4676=_0x3c8566;this[_0x9c4676(0x1ca)][_0x9c4676(0x1ac)][_0x9c4676(0x186)](_0x1ceaf1)[_0x9c4676(0x1d5)](this),this[_0x9c4676(0x1ca)][_0x9c4676(0x129)][_0x9c4676(0x153)](_0x9c4676(0x183));})[_0x3c8566(0x12a)](_0x5ce398=>this[_0x3c8566(0x1b0)](_0x3c8566(0x1fd),_0x5ce398))[_0x3c8566(0x1c3)](()=>this[_0x3c8566(0x19a)]());},{'priority':_0x3e03d9(0x142)}),this[_0x3e03d9(0x1ca)]['on'](_0x3e03d9(0x14e),async(_0x37a341,[_0x318289,_0x106ef0])=>{const _0x22ddc9=_0x3e03d9;_0x37a341[_0x22ddc9(0x1ee)]();const _0x3c5007=this[_0x22ddc9(0x1ca)][_0x22ddc9(0x126)][_0x22ddc9(0x167)][_0x22ddc9(0x1f2)](_0x318289);if(!this[_0x22ddc9(0x1c6)][_0x22ddc9(0x179)](_0x318289)){const _0x48dd8f=_0x106ef0&&_0x106ef0[_0x22ddc9(0x129)]?_0x106ef0[_0x22ddc9(0x129)]:'',_0x20d374=_0x106ef0&&_0x106ef0[_0x22ddc9(0x1ae)]?_0x106ef0[_0x22ddc9(0x1ae)]:{};await this[_0x22ddc9(0x11f)](_0x318289,_0x48dd8f,_0x20d374);}this[_0x22ddc9(0x1ca)][_0x22ddc9(0x126)][_0x22ddc9(0x15d)]({'isUndoable':!0x1},()=>{const _0xf46223=_0x22ddc9;_0x3c5007[_0xf46223(0x11b)]=!0x0,this[_0xf46223(0x1ca)][_0xf46223(0x126)][_0xf46223(0x167)][_0xf46223(0x141)][_0xf46223(0x149)](_0x3c5007);});},{'priority':_0x3e03d9(0x142)});}async[_0x5c6e6e(0x144)](_0x10cb9e){const _0x313e5d=_0x5c6e6e,_0x1d00b8=this[_0x313e5d(0x1ca)][_0x313e5d(0x1ac)][_0x313e5d(0x186)](_0x1feb15),{connection:_0x1b2fd5}=this[_0x313e5d(0x1ca)][_0x313e5d(0x1ac)][_0x313e5d(0x186)](_0x1ceaf1),_0x2cf9ce=new Set();for(const _0x220e31 of _0x10cb9e){const _0x956bfd=_0x220e31[_0x313e5d(0x16d)];_0x956bfd&&!_0x1d00b8[_0x313e5d(0x17e)](_0x956bfd)&&_0x2cf9ce[_0x313e5d(0x1e5)](_0x956bfd);}if(0x0===_0x2cf9ce[_0x313e5d(0x13f)])return;const _0x3a18d5=await _0x2abcd9[_0x313e5d(0x1da)](_0x1b2fd5,Array[_0x313e5d(0x157)](_0x2cf9ce));for(const _0x4f7cea of _0x3a18d5)_0x1d00b8[_0x313e5d(0x17e)](_0x4f7cea['id'])||_0x1d00b8[_0x313e5d(0x16f)](_0x4f7cea);}[_0x5c6e6e(0x14a)](_0xb28c7e,_0x479081={}){const _0x58ad61=_0x5c6e6e,_0x4fef03=this[_0x58ad61(0x1ca)][_0x58ad61(0x126)],_0x48379d=[];let _0x457893=0x0;const _0x3bec1a=_0x58ad61(0x165)==typeof _0xb28c7e?{'main':_0xb28c7e}:_0xb28c7e;for(const _0x320304 of Object[_0x58ad61(0x132)](_0x3bec1a)){if(!this[_0x58ad61(0x1dc)][_0x58ad61(0x11c)][_0x58ad61(0x179)](_0x320304))throw new _0x485afc(_0x58ad61(0x1b7),this);const _0x1df2cb=this[_0x58ad61(0x1ca)][_0x58ad61(0x129)][_0x58ad61(0x19d)](_0x3bec1a[_0x320304]),_0x513cab=this[_0x58ad61(0x1dc)][_0x58ad61(0x1f2)](_0x320304),_0x5e70d4=new _0x4397e8(_0x4fef03[_0x58ad61(0x1f5)](_0x513cab,0x0),_0x1df2cb,_0x457893++);_0x48379d[_0x58ad61(0x200)](_0x5e70d4);for(const [_0x5d3d15,_0x13cdb1]of _0x1df2cb[_0x58ad61(0x1b2)]){const _0x27ed5f=_0x4fef03[_0x58ad61(0x212)](_0x4fef03[_0x58ad61(0x184)](_0x513cab,_0x13cdb1[_0x58ad61(0x1ce)][_0x58ad61(0x1a9)][_0x58ad61(0x20a)]()),_0x4fef03[_0x58ad61(0x184)](_0x513cab,_0x13cdb1[_0x58ad61(0x1fc)][_0x58ad61(0x1a9)][_0x58ad61(0x20a)]())),_0x93675=new _0x13c377(_0x5d3d15,null,_0x27ed5f,_0x4fef03[_0x58ad61(0x1b2)],!0x0,_0x457893++);_0x48379d[_0x58ad61(0x200)](_0x93675);}}if(_0x479081)for(const [_0x3d5410,_0xeb981a]of Object[_0x58ad61(0x1d3)](_0x479081)){const _0x4a59d1=_0x4fef03[_0x58ad61(0x167)][_0x58ad61(0x1f2)](_0x3d5410);if(!_0x4a59d1)throw new _0x485afc(_0x58ad61(0x1ba),null);for(const [_0x2ac55c,_0x2b6741]of Object[_0x58ad61(0x1d3)](_0xeb981a))if(null!==_0x2b6741){const _0x42b7dd=new _0x96c981(_0x4a59d1,_0x2ac55c,null,_0x2b6741,_0x457893++);_0x48379d[_0x58ad61(0x200)](_0x42b7dd);}}return _0x48379d;}async[_0x5c6e6e(0x11f)](_0x23cf90,_0x961e68,_0x538705){const _0x1a3e60=_0x5c6e6e;this[_0x1a3e60(0x14a)]({[_0x23cf90]:_0x961e68},{[_0x23cf90]:_0x538705})[_0x1a3e60(0x1c9)]((_0x4c9d43,_0x5baeaf)=>{const _0x4affd1=_0x1a3e60;_0x4c9d43[_0x4affd1(0x1a8)]=this[_0x4affd1(0x1dc)][_0x4affd1(0x154)]+_0x5baeaf,_0x4c9d43[_0x4affd1(0x16c)]=!0x0,this[_0x4affd1(0x1fe)](_0x4c9d43);}),this[_0x1a3e60(0x1a4)](),await this[_0x1a3e60(0x210)]();}async[_0x5c6e6e(0x20c)](_0x1da66a,_0x4e2718){const _0x423fcc=_0x5c6e6e;let _0xc7c133;this[_0x423fcc(0x1b4)]=_0x1da66a[_0x423fcc(0x208)];const _0x5f083=_0x1da66a[_0x423fcc(0x1db)]&&!_0x1da66a[_0x423fcc(0x123)],_0x96672b=_0x5f083?0x0:_0x1da66a[_0x423fcc(0x129)][_0x423fcc(0x1a8)];if(_0x4e2718[_0x423fcc(0x1c9)](_0xeb77a6=>{const _0x5b89af=_0x423fcc;_0xeb77a6[_0x5b89af(0x16c)]=!0x0,_0xeb77a6[_0x5b89af(0x1cc)]=_0x1da66a[_0x5b89af(0x1f3)],_0xeb77a6[_0x5b89af(0x16d)]=null;}),_0x5f083)_0xc7c133=_0x4e2718,this[_0x423fcc(0x1cd)](_0xc7c133,_0x5f083);else{if(_0x1da66a[_0x423fcc(0x123)]){const _0x7e8235=this[_0x423fcc(0x14a)](_0x1da66a[_0x423fcc(0x123)]);this[_0x423fcc(0x1dc)][_0x423fcc(0x1c5)][_0x423fcc(0x154)]=-_0x7e8235[_0x423fcc(0x148)],_0x7e8235[_0x423fcc(0x1c9)](_0x3a36b8=>{const _0x54f5e8=_0x423fcc;_0x3a36b8[_0x54f5e8(0x1a8)]-=_0x7e8235[_0x54f5e8(0x148)],_0x3a36b8[_0x54f5e8(0x1cc)]=_0x1da66a[_0x54f5e8(0x1f3)],_0x3a36b8[_0x54f5e8(0x16c)]=!0x0,_0x3a36b8[_0x54f5e8(0x16d)]=null;}),this[_0x423fcc(0x1cd)](_0x7e8235,!0x0),this[_0x423fcc(0x1d0)][_0x423fcc(0x154)]=-_0x7e8235[_0x423fcc(0x148)]+this[_0x423fcc(0x1b4)],this[_0x423fcc(0x16a)](_0x7e8235);}this[_0x423fcc(0x1dc)][_0x423fcc(0x1c5)][_0x423fcc(0x154)]=_0x96672b,_0xc7c133=this[_0x423fcc(0x1be)](_0x1da66a[_0x423fcc(0x129)],_0x1da66a[_0x423fcc(0x12c)]),await this[_0x423fcc(0x144)](_0xc7c133),this[_0x423fcc(0x1cd)](_0xc7c133,_0x5f083);}_0x1da66a[_0x423fcc(0x1a5)]&&(this[_0x423fcc(0x1e8)][_0x423fcc(0x17b)](_0xc7c133,_0x1da66a[_0x423fcc(0x1a5)]),this[_0x423fcc(0x214)]=_0x1da66a[_0x423fcc(0x1a5)]),this[_0x423fcc(0x1d0)][_0x423fcc(0x154)]=_0x96672b+this[_0x423fcc(0x1b4)],this[_0x423fcc(0x16a)](_0xc7c133),_0x4e2718[_0x423fcc(0x1f1)](_0x386fb6=>{const _0x376427=_0x423fcc,_0x333c4c=this[_0x376427(0x199)](_0x386fb6);return _0x333c4c&&!this[_0x376427(0x1c6)][_0x376427(0x179)](_0x333c4c);})[_0x423fcc(0x1c9)]((_0x4cc4c0,_0x5f5eae)=>{const _0x2aa659=_0x423fcc;_0x4cc4c0[_0x2aa659(0x1a8)]=this[_0x2aa659(0x1dc)][_0x2aa659(0x154)]+_0x5f5eae,this[_0x2aa659(0x1fe)](_0x4cc4c0);}),this[_0x423fcc(0x143)]()?(this[_0x423fcc(0x1b3)]=0x0,this[_0x423fcc(0x1a4)](!0x0),await this[_0x423fcc(0x210)]()):(this[_0x423fcc(0x13d)]=!0x1,this[_0x423fcc(0x19a)]());}[_0x5c6e6e(0x1b0)](_0x3e9d99,_0x191ef8){const _0x53ccb8=_0x5c6e6e,_0x278c3f=_0x191ef8&&_0x191ef8[_0x53ccb8(0x1f0)];if(_0x278c3f&&_0x278c3f[_0x53ccb8(0x203)](_0x53ccb8(0x17c)))throw _0x191ef8;const _0x5a1436=this[_0x53ccb8(0x1ca)][_0x53ccb8(0x1ac)][_0x53ccb8(0x186)](_0x1ceaf1);throw this[_0x53ccb8(0x13d)]=!0x0,_0x5a1436[_0x53ccb8(0x20b)](),this[_0x53ccb8(0x1ca)][_0x53ccb8(0x122)](_0x53ccb8(0x1c0)),new _0x485afc(_0x3e9d99,this[_0x53ccb8(0x1ca)],_0x278c3f?{'originalError':_0x278c3f}:void 0x0);}[_0x5c6e6e(0x1fe)](_0x3744b8){const _0x4f73bb=_0x5c6e6e;this[_0x4f73bb(0x191)][_0x4f73bb(0x179)](_0x3744b8)||(this[_0x4f73bb(0x191)][_0x4f73bb(0x1e5)](_0x3744b8),this[_0x4f73bb(0x19f)][_0x4f73bb(0x200)](_0x3744b8),this[_0x4f73bb(0x16b)]||_0x4f73bb(0x189)==_0x3744b8[_0x4f73bb(0x145)]&&!_0x3744b8[_0x4f73bb(0x196)]||this[_0x4f73bb(0x1d6)]());}[_0x5c6e6e(0x1a4)](_0x35cb4c=!0x1){const _0x232273=_0x5c6e6e;!_0x35cb4c&&this[_0x232273(0x13d)]||(this[_0x232273(0x13d)]=!0x0,clearTimeout(this[_0x232273(0x170)]),this[_0x232273(0x170)]=setTimeout(()=>{const _0x1f0389=_0x232273;this[_0x1f0389(0x13a)]()[_0x1f0389(0x1a6)](_0x454b92=>{const _0x21f58e=_0x1f0389;_0x454b92&&(this[_0x21f58e(0x19a)](),this[_0x21f58e(0x13d)]=!0x1);})[_0x1f0389(0x12a)](_0x57b1c2=>{const _0x223b1c=_0x1f0389;this[_0x223b1c(0x19a)](),this[_0x223b1c(0x13d)]=!0x1,function(_0x2e4c4f){const _0x3a92da=_0x223b1c;return _0x2e4c4f[_0x3a92da(0x1f0)][_0x3a92da(0x203)](_0x3a92da(0x15a))||_0x2e4c4f[_0x3a92da(0x1f0)][_0x3a92da(0x203)](_0x3a92da(0x112))||_0x2e4c4f[_0x3a92da(0x1f0)][_0x3a92da(0x203)](_0x3a92da(0x20e));}(_0x57b1c2)||this[_0x223b1c(0x1b0)](_0x57b1c2[_0x223b1c(0x1f0)],_0x57b1c2);});},this[_0x232273(0x1b3)]));}[_0x5c6e6e(0x210)](){return new Promise(_0x27484b=>{const _0x3f113a=_0x11a5;this['on'](_0x3f113a(0x175),()=>{_0x27484b();});});}async[_0x5c6e6e(0x13a)](){const _0x2d17b2=_0x5c6e6e,_0x1d8fc0=this[_0x2d17b2(0x1ca)][_0x2d17b2(0x1ac)][_0x2d17b2(0x186)](_0x8e76f3);if(this[_0x2d17b2(0x18b)]()&&(_0x1d8fc0[_0x2d17b2(0x1a2)](),this[_0x2d17b2(0x1aa)]=!0x1),!this[_0x2d17b2(0x143)]())return!0x0;const _0x2cbf36=[...this[_0x2d17b2(0x19f)]];for(const _0x17bd92 of _0x2cbf36)_0x17bd92[_0x2d17b2(0x133)]=this[_0x2d17b2(0x1dc)][_0x2d17b2(0x1c5)][_0x2d17b2(0x1a7)](_0x17bd92);const _0x4f6be1=this[_0x2d17b2(0x1e8)][_0x2d17b2(0x130)](_0x2cbf36),_0x5d940b=G++,_0x5c0e61=this[_0x2d17b2(0x17a)](_0x2cbf36),_0xabec56=await this[_0x2d17b2(0x1d8)][_0x2d17b2(0x134)](_0x5c0e61,_0x5c0e61[_0x2d17b2(0x1a8)],_0x4f6be1);try{return await this[_0x2d17b2(0x201)](_0x2cbf36,_0xabec56,_0x5d940b);}catch(_0x4c8824){return this[_0x2d17b2(0x1b0)](_0x2d17b2(0x12d),_0x4c8824);}}async[_0x5c6e6e(0x201)](_0x28819a,_0x1244b1,_0x25be87){const _0x4267dd=_0x5c6e6e;if(_0x4267dd(0x1dd)in _0x1244b1)throw _0x1244b1[_0x4267dd(0x1dd)];let _0x54a472=!0x1;if(_0x1244b1[_0x4267dd(0x1db)]){_0x1244b1[_0x4267dd(0x1a5)]&&(this[_0x4267dd(0x214)]=_0x1244b1[_0x4267dd(0x1a5)]),this[_0x4267dd(0x19f)]=this[_0x4267dd(0x19f)][_0x4267dd(0x1f1)](_0x5503ec=>!_0x28819a[_0x4267dd(0x182)](_0x5503ec));for(const _0x12e645 of _0x28819a)_0x12e645[_0x4267dd(0x1cc)]=_0x4267dd(0x13c)in _0x1244b1&&_0x1244b1[_0x4267dd(0x13c)]||void 0x0;K(_0x28819a,_0x1244b1[_0x4267dd(0x154)]-_0x28819a[_0x4267dd(0x148)]),this[_0x4267dd(0x16a)](_0x28819a);const _0x26aaad=_0x28819a[_0x4267dd(0x1f1)](_0x5eced0=>{const _0x37ec76=_0x4267dd;if(!_0x5eced0[_0x37ec76(0x16c)])return!0x1;const _0xcc8ec5=this[_0x37ec76(0x199)](_0x5eced0);return _0xcc8ec5&&!this[_0x37ec76(0x1c6)][_0x37ec76(0x179)](_0xcc8ec5);});K(_0x26aaad,this[_0x4267dd(0x1dc)][_0x4267dd(0x154)]),this[_0x4267dd(0x1cd)](_0x26aaad),_0x54a472=!0x0,this[_0x4267dd(0x1b3)]=this[_0x4267dd(0x195)];}else{const _0x3808f9=this[_0x4267dd(0x1be)](_0x1244b1[_0x4267dd(0x129)],_0x1244b1[_0x4267dd(0x12c)])[_0x4267dd(0x1f1)](_0x5dc1cf=>_0x5dc1cf[_0x4267dd(0x1a8)]>=this[_0x4267dd(0x114)]);_0x3808f9[_0x4267dd(0x1c9)](_0x1ee4b2=>this[_0x4267dd(0x1ea)](_0x1ee4b2)),this[_0x4267dd(0x19f)]=this[_0x4267dd(0x19f)][_0x4267dd(0x1f1)](_0x50514a=>!_0x50514a[_0x4267dd(0x16c)]||!this[_0x4267dd(0x1c6)][_0x4267dd(0x179)](this[_0x4267dd(0x199)](_0x50514a))),this[_0x4267dd(0x19f)][_0x4267dd(0x148)]&&K(this[_0x4267dd(0x19f)],this[_0x4267dd(0x19f)][0x0][_0x4267dd(0x1a8)]),await this[_0x4267dd(0x144)](_0x3808f9),_0x54a472=this[_0x4267dd(0x13e)](_0x3808f9,_0x1244b1[_0x4267dd(0x154)],_0x1244b1[_0x4267dd(0x1a5)]),this[_0x4267dd(0x1b3)]=Math[_0x4267dd(0x14d)](this[_0x4267dd(0x1b3)]/0x2);}return _0x54a472?!this[_0x4267dd(0x143)]()||(this[_0x4267dd(0x1a4)](!0x0),!0x1):this[_0x4267dd(0x1b0)](_0x4267dd(0x1f4));}[_0x5c6e6e(0x13e)](_0x354a95,_0x2f1682,_0x280516){const _0xfa2867=_0x5c6e6e;try{const _0x1182ff={'document':this[_0xfa2867(0x1dc)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5108db,operationsB:_0x4a7982,originalOperations:_0xa42101}=_0xf34b17(_0x354a95,this[_0xfa2867(0x19f)],_0x1182ff);K(_0x5108db,this[_0xfa2867(0x1dc)][_0xfa2867(0x154)]),K(_0x4a7982,_0x2f1682);for(const _0x24425e of _0x5108db){const _0x38e0ee=_0xa42101[_0xfa2867(0x186)](_0x24425e);_0x24425e[_0xfa2867(0x16d)]=_0x38e0ee?_0x38e0ee[_0xfa2867(0x16d)]:null;}_0x280516&&(this[_0xfa2867(0x1e8)][_0xfa2867(0x17b)](_0x354a95,_0x280516),this[_0xfa2867(0x214)]=_0x280516),this[_0xfa2867(0x19f)]=[..._0x4a7982],this[_0xfa2867(0x1cd)](_0x5108db),this[_0xfa2867(0x16a)](_0x354a95);}catch(_0x2567f0){return console[_0xfa2867(0x1dd)](_0x2567f0),!0x1;}return!0x0;}[_0x5c6e6e(0x1cd)](_0x39ab4e,_0x593ce7=!0x1){const _0x34827e=_0x5c6e6e;this[_0x34827e(0x1ca)][_0x34827e(0x126)][_0x34827e(0x15d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2540b6=>{const _0x58e696=_0x34827e;for(const _0x3e5a56 of _0x39ab4e)this[_0x58e696(0x191)][_0x58e696(0x1e5)](_0x3e5a56),this[_0x58e696(0x1ea)](_0x3e5a56),_0x2540b6[_0x58e696(0x19b)][_0x58e696(0x1bd)](_0x3e5a56),this[_0x58e696(0x1ca)][_0x58e696(0x126)][_0x58e696(0x207)](_0x3e5a56);});}[_0x5c6e6e(0x1ea)](_0x49d9ac){const _0x4f2a47=_0x5c6e6e,_0x3465dc=this[_0x4f2a47(0x199)](_0x49d9ac);_0x3465dc&&this[_0x4f2a47(0x1c6)][_0x4f2a47(0x1e5)](_0x3465dc);}[_0x5c6e6e(0x199)](_0x220c9a){const _0x1bfb56=_0x5c6e6e;let _0x1611a5,_0x48cdc5;switch(_0x220c9a[_0x1bfb56(0x145)]){case _0x1bfb56(0x185):_0x1611a5=_0x220c9a[_0x1bfb56(0x206)][_0x1bfb56(0x1b5)];break;case _0x1bfb56(0x189):if(_0x48cdc5=_0x220c9a[_0x1bfb56(0x20f)],!_0x48cdc5)return null;_0x1611a5=_0x48cdc5[_0x1bfb56(0x1b5)];break;case _0x1bfb56(0x1af):_0x1611a5=_0x220c9a[_0x1bfb56(0x1b5)];break;case _0x1bfb56(0x180):_0x1611a5=_0x220c9a[_0x1bfb56(0x1c8)];break;case _0x1bfb56(0x116):_0x1611a5=_0x220c9a[_0x1bfb56(0x13b)][_0x1bfb56(0x1b5)];break;default:return null;}return _0x1611a5[_0x1bfb56(0x113)];}[_0x5c6e6e(0x16a)](_0x5d23ad){const _0x225f8b=_0x5c6e6e;_0x5d23ad[_0x225f8b(0x1c9)](_0x5b1509=>{const _0x494699=_0x225f8b,_0x3dac89=_0x5b1509[_0x494699(0x124)]();_0x3dac89[_0x494699(0x16d)]=_0x5b1509[_0x494699(0x16d)],_0x3dac89[_0x494699(0x16c)]=!!_0x5b1509[_0x494699(0x16c)],_0x3dac89[_0x494699(0x1cc)]=_0x5b1509[_0x494699(0x1cc)],_0x3dac89[_0x494699(0x1a8)]+=this[_0x494699(0x1b4)],_0x5b1509[_0x494699(0x146)]&&this[_0x494699(0x12e)][_0x494699(0x1e5)](_0x3dac89),this[_0x494699(0x1d0)][_0x494699(0x1bd)](_0x3dac89);});}[_0x5c6e6e(0x1bb)](_0x40f924){const _0x7800db=_0x5c6e6e,_0x36d842=this[_0x7800db(0x1ca)][_0x7800db(0x1ac)][_0x7800db(0x186)](_0x7800db(0x147)),_0x367de5=this[_0x7800db(0x1ca)][_0x7800db(0x160)];_0x40f924||(_0x40f924=_0x7aa812(_0x367de5,_0x7800db(0x156))),_0x36d842[_0x7800db(0x1c4)](_0x40f924,{'title':_0x7aa812(_0x367de5,_0x7800db(0x11e)),'namespace':_0x7800db(0x181)}),this[_0x7800db(0x17d)]=!0x0,clearTimeout(this[_0x7800db(0x170)]),this[_0x7800db(0x19f)]=[],this[_0x7800db(0x1ca)][_0x7800db(0x1ac)][_0x7800db(0x186)](_0x1ceaf1)[_0x7800db(0x20b)]();}[_0x5c6e6e(0x1d6)](){const _0x4393f1=_0x5c6e6e;this[_0x4393f1(0x16b)]||(this[_0x4393f1(0x16b)]=this[_0x4393f1(0x1ca)][_0x4393f1(0x1ac)][_0x4393f1(0x186)](_0xbad72d)[_0x4393f1(0x1e5)](_0x7aa812(this[_0x4393f1(0x1ca)][_0x4393f1(0x160)],_0x4393f1(0x1ff))));}[_0x5c6e6e(0x19a)](){const _0x2f3626=_0x5c6e6e;this[_0x2f3626(0x16b)]&&(this[_0x2f3626(0x1ca)][_0x2f3626(0x1ac)][_0x2f3626(0x186)](_0xbad72d)[_0x2f3626(0x17f)](this[_0x2f3626(0x16b)]),this[_0x2f3626(0x16b)]=null);}[_0x5c6e6e(0x17a)](_0x5849f2){const _0x1e78e3=_0x5c6e6e,_0x2453a7=_0x5849f2[_0x1e78e3(0x213)](_0x9edceb=>_0x9edceb[_0x1e78e3(0x18e)]());return this[_0x1e78e3(0x135)][_0x1e78e3(0x16e)](_0x2453a7);}[_0x5c6e6e(0x1be)](_0xbce8bf,_0x22e7d1){const _0x6a64bd=_0x5c6e6e;return this[_0x6a64bd(0x135)][_0x6a64bd(0x1e9)](_0xbce8bf)[_0x6a64bd(0x213)]((_0x1d2e68,_0x1710e6)=>{const _0xbe5c91=_0x6a64bd,_0x7f8d9f=_0xbe5c91(0x1e7)==_0x22e7d1[_0x1710e6][_0xbe5c91(0x145)];if(_0xbe5c91(0x1d7)==_0x1d2e68[_0xbe5c91(0x1ed)]){const _0x311277=_0x1d2e68[_0xbe5c91(0x206)][_0xbe5c91(0x1b5)];!this[_0xbe5c91(0x1dc)][_0xbe5c91(0x1f2)](_0x311277)&&(this[_0xbe5c91(0x1dc)][_0xbe5c91(0x1b6)](_0xbe5c91(0x18a),_0x311277)[_0xbe5c91(0x15b)]=!0x1);}const _0x4ab232=_0x4ae083[_0xbe5c91(0x1c7)](_0x1d2e68,this[_0xbe5c91(0x1dc)]);return _0x4ab232[_0xbe5c91(0x133)]=_0x1d2e68[_0xbe5c91(0x133)],_0x4ab232[_0xbe5c91(0x16c)]=_0x7f8d9f,_0x4ab232[_0xbe5c91(0x16d)]=_0x7f8d9f?null:_0x22e7d1[_0x1710e6][_0xbe5c91(0x14b)],_0x4ab232[_0xbe5c91(0x146)]=_0xbe5c91(0x20d)===_0x22e7d1[_0x1710e6][_0xbe5c91(0x145)],_0x4ab232[_0xbe5c91(0x1cc)]=_0x22e7d1[_0x1710e6][_0xbe5c91(0x1cc)],_0x4ab232;});}[_0x5c6e6e(0x1f7)](){const _0x509e05=_0x5c6e6e;this[_0x509e05(0x1aa)]=!0x0,this[_0x509e05(0x18b)]()?this[_0x509e05(0x1a4)]():this[_0x509e05(0x1aa)]=!0x1;}[_0x5c6e6e(0x18b)](){const _0x451ce2=_0x5c6e6e,_0x329fd6=this[_0x451ce2(0x1ca)][_0x451ce2(0x1ac)][_0x451ce2(0x186)](_0x588e59)[_0x451ce2(0x1b1)][_0x451ce2(0x186)](this[_0x451ce2(0x128)]);return!this[_0x451ce2(0x1ca)][_0x451ce2(0x1bc)]&&!!_0x329fd6&&_0x329fd6[_0x451ce2(0x148)]>0x1&&this[_0x451ce2(0x1aa)];}[_0x5c6e6e(0x143)](){const _0x2892bd=_0x5c6e6e;return this[_0x2892bd(0x19f)][_0x2892bd(0x148)]>0x0||this[_0x2892bd(0x18b)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x5bb683,_0x4c163c){const _0x315027=_0x5c6e6e;for(const _0x4d134c of _0x5bb683)_0x4d134c[_0x315027(0x1a8)]=_0x4c163c++;}class J{[_0x5c6e6e(0x197)];[_0x5c6e6e(0x1c2)];constructor(_0x3cd041){const _0x2f427d=_0x5c6e6e;this[_0x2f427d(0x197)]=_0x3cd041,this[_0x2f427d(0x1c2)]=new WeakMap();}[_0x5c6e6e(0x130)](_0x277960){const _0x5540ab=_0x5c6e6e;let _0xc1457b=_0x277960[_0x5540ab(0x148)];for(;_0xc1457b--;){const _0x564aac=_0x277960[_0xc1457b];if(!this[_0x5540ab(0x197)][_0x5540ab(0x179)](_0x564aac)){if(!this[_0x5540ab(0x1c2)][_0x5540ab(0x179)](_0x564aac)){const _0x44d0a8=_0x44d963()[_0x5540ab(0x20a)](0x1,0x12);this[_0x5540ab(0x1c2)][_0x5540ab(0x204)](_0x564aac,_0x44d0a8);}return this[_0x5540ab(0x1c2)][_0x5540ab(0x186)](_0x564aac);}}}[_0x5c6e6e(0x17b)](_0x410695,_0x2515f3){const _0x1e3c46=_0x5c6e6e;if(!_0x2515f3)return;let _0x59f0f0=_0x410695[_0x1e3c46(0x148)];for(;_0x59f0f0--;){const _0x7ad912=_0x410695[_0x59f0f0];this[_0x1e3c46(0x197)][_0x1e3c46(0x179)](_0x7ad912)||this[_0x1e3c46(0x1c2)][_0x1e3c46(0x204)](_0x7ad912,_0x2515f3);}}}
23
+ const _0x563395=_0x4a75;function _0x4a75(_0x22c43f,_0x52b276){const _0x487114=_0x4871();return _0x4a75=function(_0x4a750a,_0xb42bf5){_0x4a750a=_0x4a750a-0x1c5;let _0xe36a3d=_0x487114[_0x4a750a];return _0xe36a3d;},_0x4a75(_0x22c43f,_0x52b276);}(function(_0x3c6f72,_0x3b3272){const _0x5d17ac=_0x4a75,_0xa9c712=_0x3c6f72();while(!![]){try{const _0x2422b4=-parseInt(_0x5d17ac(0x289))/0x1+-parseInt(_0x5d17ac(0x226))/0x2+parseInt(_0x5d17ac(0x285))/0x3*(-parseInt(_0x5d17ac(0x237))/0x4)+-parseInt(_0x5d17ac(0x1d0))/0x5+-parseInt(_0x5d17ac(0x244))/0x6+-parseInt(_0x5d17ac(0x2b7))/0x7+parseInt(_0x5d17ac(0x200))/0x8;if(_0x2422b4===_0x3b3272)break;else _0xa9c712['push'](_0xa9c712['shift']());}catch(_0x7070df){_0xa9c712['push'](_0xa9c712['shift']());}}}(_0x4871,0x9ebd5));import{Plugin as _0x35520c,PendingActions as _0x27b87e}from'ckeditor5/src/core.js';import{CKEditorError as _0x3ed81d,version as _0x456c12,uid as _0x1f7307}from'ckeditor5/src/utils.js';import{Notification as _0x52a8e8}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x24882b,NoOperation as _0x2f9c27,InsertOperation as _0x2fdfca,MarkerOperation as _0x26f800,RootAttributeOperation as _0x141fa3,OperationFactory as _0x23f92f,History as _0x584afd}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x27bbb7}from'./websocketgateway.js';import{Sessions as _0x476ffd}from'./sessions.js';import{UserMarkers as _0x1cf422}from'./usermarkers.js';import{getTranslation as _0x4651ae}from'../common-translations.js';import{Compressor as _0xb4b325}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x8da8de}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x58ffd5,CollaborativeEditingService as _0x18bac9}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;class l extends _0x35520c{static [_0x563395(0x276)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x18bac9)());[_0x563395(0x2aa)];[_0x563395(0x223)];[_0x563395(0x217)];[_0x563395(0x2ad)];[_0x563395(0x205)];[_0x563395(0x299)];[_0x563395(0x26f)];[_0x563395(0x1db)];[_0x563395(0x294)];[_0x563395(0x29b)];[_0x563395(0x284)];[_0x563395(0x2b8)];[_0x563395(0x271)];[_0x563395(0x263)];[_0x563395(0x261)];[_0x563395(0x1fa)];[_0x563395(0x264)];[_0x563395(0x1e6)];static get[_0x563395(0x215)](){return[_0x27bbb7,_0x476ffd,_0x1cf422,_0x27b87e,_0x8da8de,_0x52a8e8];}static get[_0x563395(0x238)](){const _0x5d9405=_0x563395;return _0x5d9405(0x256);}static get[_0x563395(0x267)](){return!0x0;}static get[_0x563395(0x1d5)](){return!0x0;}get[_0x563395(0x24b)](){const _0x5b8d56=_0x563395;return this[_0x5b8d56(0x2ba)]+this[_0x5b8d56(0x2aa)];}get[_0x563395(0x2ba)](){const _0x5541e7=_0x563395;return this[_0x5541e7(0x217)][_0x5541e7(0x287)]-this[_0x5541e7(0x2aa)];}get[_0x563395(0x1d9)](){const _0x4df1ce=_0x563395,_0x7abd2d=this[_0x4df1ce(0x217)][_0x4df1ce(0x1ea)]();for(let _0x15fb24=_0x7abd2d[_0x4df1ce(0x2bb)]-0x1;_0x15fb24>=0x0;_0x15fb24--){const _0x2e2587=_0x7abd2d[_0x15fb24];if(!this[_0x4df1ce(0x264)][_0x4df1ce(0x22e)](_0x2e2587))return _0x2e2587[_0x4df1ce(0x2c6)]+0x1-this[_0x4df1ce(0x2aa)];}return 0x0;}constructor(_0x21d5a9){const _0x53eb74=_0x563395;if(super(_0x21d5a9),this[_0x53eb74(0x2aa)]=0x0,this[_0x53eb74(0x223)]=null,this[_0x53eb74(0x217)]=new _0x584afd(),this[_0x53eb74(0x272)][_0x53eb74(0x203)][_0x53eb74(0x1f4)](_0x53eb74(0x2b2),{}),this[_0x53eb74(0x2ad)]=this[_0x53eb74(0x272)][_0x53eb74(0x203)][_0x53eb74(0x1c7)](_0x53eb74(0x2af)),!this[_0x53eb74(0x2ad)])throw new _0x3ed81d(_0x53eb74(0x2a3),this);const _0x2f33cf=_0x21d5a9[_0x53eb74(0x203)][_0x53eb74(0x1c7)](_0x53eb74(0x27e))||_0x456c12;this[_0x53eb74(0x205)]=new l[(_0x53eb74(0x276))](_0x2f33cf,this[_0x53eb74(0x2ad)]),this[_0x53eb74(0x299)]=this[_0x53eb74(0x272)][_0x53eb74(0x2a1)][_0x53eb74(0x2b5)],this[_0x53eb74(0x26f)]=new _0xb4b325(),this[_0x53eb74(0x1db)]=[],this[_0x53eb74(0x294)]=new WeakSet(),this[_0x53eb74(0x29b)]=new Set(),this[_0x53eb74(0x1ed)](_0x53eb74(0x1cf),!0x1),this[_0x53eb74(0x1ed)](_0x53eb74(0x2a8),!0x1),this[_0x53eb74(0x284)]=null,this[_0x53eb74(0x2b8)]=!0x1,this[_0x53eb74(0x271)]=null,this[_0x53eb74(0x263)]=0x12c,this[_0x53eb74(0x261)]=this[_0x53eb74(0x263)],this[_0x53eb74(0x1fa)]=null,this[_0x53eb74(0x264)]=new WeakSet(),this[_0x53eb74(0x1e6)]=new J(this[_0x53eb74(0x264)]);}[_0x563395(0x23d)](){const _0x589769=_0x563395,_0x4f8de1=this[_0x589769(0x272)],_0x225a7d=_0x4f8de1[_0x589769(0x275)][_0x589769(0x1c7)](_0x8da8de),_0x51490f=_0x4f8de1[_0x589769(0x275)][_0x589769(0x1c7)](_0x27bbb7);this[_0x589769(0x23a)](_0x225a7d,_0x589769(0x201),(_0x26f614,_0xf8de86)=>{const _0x37f217=_0x589769,_0x284e19=_0xf8de86[0x0];_0x284e19[_0x37f217(0x1d1)]&&(_0x26f614[_0x37f217(0x211)]=_0x225a7d[_0x37f217(0x210)](_0x284e19[_0x37f217(0x1d1)]),_0x26f614[_0x37f217(0x2ae)]()),null===_0x284e19[_0x37f217(0x1d1)]&&(_0x26f614[_0x37f217(0x211)]=null,_0x26f614[_0x37f217(0x2ae)]());},{'priority':_0x589769(0x2bc)}),this[_0x589769(0x23a)](_0x4f8de1[_0x589769(0x2a1)][_0x589769(0x2b5)][_0x589769(0x23e)],_0x589769(0x25c),(_0xd5ff5a,_0x2b3d2f)=>{const _0x2cfdac=_0x589769;_0x2b3d2f[_0x2cfdac(0x29d)]&&this[_0x2cfdac(0x28d)]();}),this[_0x589769(0x23a)](_0x4f8de1[_0x589769(0x291)][_0x589769(0x1c6)],_0x589769(0x20f),()=>{const _0x5aaade=_0x589769;this[_0x5aaade(0x28d)]();}),this[_0x589769(0x23c)](),_0x4f8de1[_0x589769(0x2a1)]['on'](_0x589769(0x208),(_0x5e481d,_0x310fd7)=>{const _0x1b0ec1=_0x589769,_0x4da998=_0x310fd7[0x0];_0x4da998[_0x1b0ec1(0x1c5)]&&(this[_0x1b0ec1(0x1f2)](_0x4da998),this[_0x1b0ec1(0x248)]()&&this[_0x1b0ec1(0x27d)]());}),this[_0x589769(0x234)](),this[_0x589769(0x1d6)](_0x589769(0x242))['to'](_0x51490f,_0x589769(0x260),this,_0x589769(0x2a8),(_0x5ca473,_0x388b9e)=>_0x589769(0x2a4)===_0x5ca473&&!_0x388b9e),this['on'](_0x589769(0x26e),()=>{const _0x1b058d=_0x589769;this[_0x1b058d(0x242)]?_0x4f8de1[_0x1b058d(0x229)](_0x1b058d(0x1c8)):_0x4f8de1[_0x1b058d(0x26a)](_0x1b058d(0x1c8));}),this[_0x589769(0x242)]?_0x4f8de1[_0x589769(0x229)](_0x589769(0x1c8)):_0x4f8de1[_0x589769(0x26a)](_0x589769(0x1c8)),this[_0x589769(0x1ed)](_0x589769(0x1f7),!0x1);}async[_0x563395(0x259)](){const _0x1183a6=_0x563395,_0x2dbae2=this[_0x1183a6(0x272)][_0x1183a6(0x275)][_0x1183a6(0x1c7)](_0x476ffd),_0x392bad=this[_0x1183a6(0x272)][_0x1183a6(0x275)][_0x1183a6(0x1c7)](_0x27bbb7);try{this[_0x1183a6(0x1cf)]=!0x0,_0x2dbae2[_0x1183a6(0x1e9)](this[_0x1183a6(0x2ad)]);const _0x3cc861=await this[_0x1183a6(0x205)][_0x1183a6(0x259)](_0x392bad[_0x1183a6(0x265)],this[_0x1183a6(0x1d9)]);await this[_0x1183a6(0x239)](_0x3cc861)&&(this[_0x1183a6(0x1cf)]=!0x1,this[_0x1183a6(0x206)]());const _0x49076c=await this[_0x1183a6(0x205)][_0x1183a6(0x1f8)]();_0x2dbae2[_0x1183a6(0x247)](this[_0x1183a6(0x2ad)],_0x49076c),this[_0x1183a6(0x1fd)](),this[_0x1183a6(0x1f7)]=!0x0;}catch(_0x3c4e7c){if(function(_0x4dad8f){const _0xa3af00=_0x1183a6;return _0xa3af00(0x22d)===_0x4dad8f[_0xa3af00(0x283)];}(_0x3c4e7c)&&this[_0x1183a6(0x223)])await this[_0x1183a6(0x253)]();else{if(function(_0x5a60ba){const _0x414cfa=_0x1183a6;return _0x414cfa(0x245)===_0x5a60ba[_0x414cfa(0x283)];}(_0x3c4e7c)){const _0x13ad2c=_0x4651ae(this[_0x1183a6(0x272)][_0x1183a6(0x202)],_0x1183a6(0x2c3));this[_0x1183a6(0x1c9)](_0x13ad2c);}else{if(!(_0x3c4e7c instanceof $))throw _0x3c4e7c;this[_0x1183a6(0x1c9)]();}}}}[_0x563395(0x1da)](){const _0x5dde4f=_0x563395,_0x501fbd=this[_0x5dde4f(0x272)][_0x5dde4f(0x275)][_0x5dde4f(0x1c7)](_0x27bbb7),_0x29bbf6=this[_0x5dde4f(0x272)][_0x5dde4f(0x275)][_0x5dde4f(0x1c7)](_0x476ffd);this[_0x5dde4f(0x272)][_0x5dde4f(0x26a)](_0x5dde4f(0x230)),_0x29bbf6[_0x5dde4f(0x1f0)][_0x5dde4f(0x22e)](this[_0x5dde4f(0x2ad)])&&_0x29bbf6[_0x5dde4f(0x1e9)](this[_0x5dde4f(0x2ad)]),_0x501fbd[_0x5dde4f(0x1ff)](this),this[_0x5dde4f(0x219)](),super[_0x5dde4f(0x1da)]();}async[_0x563395(0x239)](_0x4f84bc){const _0x258df6=_0x563395;if(this[_0x258df6(0x223)]!==_0x4f84bc[_0x258df6(0x223)]&&this[_0x258df6(0x1fa)]!==_0x4f84bc[_0x258df6(0x2a2)])throw new $();return this[_0x258df6(0x223)]=_0x4f84bc[_0x258df6(0x223)],this[_0x258df6(0x236)]([],{..._0x4f84bc,'wereChangesApplied':!0x1,'data':_0x4f84bc[_0x258df6(0x21d)]},_0x258df6(0x259));}async[_0x563395(0x292)](_0x51540e,_0x2ca268=!0x1){const _0x5165fa=_0x563395,{connection:_0x1e99b3}=this[_0x5165fa(0x272)][_0x5165fa(0x275)][_0x5165fa(0x1c7)](_0x27bbb7);l[_0x5165fa(0x276)][_0x5165fa(0x1f8)](_0x1e99b3,this[_0x5165fa(0x2ad)])[_0x5165fa(0x222)](_0x243dd2=>this[_0x5165fa(0x207)](_0x243dd2))[_0x5165fa(0x1f9)](_0x472704=>{const _0x6e8577=_0x5165fa;this[_0x6e8577(0x2b1)](_0x6e8577(0x25b),_0x472704);}),this[_0x5165fa(0x23a)](this[_0x5165fa(0x205)],_0x5165fa(0x273),this[_0x5165fa(0x212)][_0x5165fa(0x1d6)](this)),this[_0x5165fa(0x23a)](this[_0x5165fa(0x205)],_0x5165fa(0x252),(_0x2e76bc,_0xdc18eb)=>{const _0x5de763=_0x5165fa;this[_0x5de763(0x2b1)](_0x5de763(0x2b9),_0xdc18eb);}),this[_0x5165fa(0x23a)](this[_0x5165fa(0x205)],_0x5165fa(0x1f3),()=>{const _0x267525=_0x5165fa;this[_0x267525(0x1f7)]=!0x1;});const _0x187940=this[_0x5165fa(0x1e6)][_0x5165fa(0x1d7)](_0x51540e);this[_0x5165fa(0x1cf)]=!0x0;const _0x27eafb=await this[_0x5165fa(0x205)][_0x5165fa(0x1cd)](_0x1e99b3,this[_0x5165fa(0x28b)](_0x51540e),_0x187940);if(this[_0x5165fa(0x223)]=_0x27eafb[_0x5165fa(0x223)],_0x2ca268){if(!_0x27eafb[_0x5165fa(0x280)])return void this[_0x5165fa(0x1c9)]();this[_0x5165fa(0x1cf)]=!0x1,this[_0x5165fa(0x206)](),this[_0x5165fa(0x217)][_0x5165fa(0x26b)](),this[_0x5165fa(0x2aa)]=_0x27eafb[_0x5165fa(0x228)],this[_0x5165fa(0x217)][_0x5165fa(0x287)]=this[_0x5165fa(0x2aa)],await this[_0x5165fa(0x236)](_0x51540e,_0x27eafb,_0x5165fa(0x249));}else await this[_0x5165fa(0x22c)](_0x27eafb,_0x51540e);this[_0x5165fa(0x1fd)](),this[_0x5165fa(0x1f7)]=!0x0;}[_0x563395(0x1fd)](){const _0x447978=_0x563395,_0x1f7758=this[_0x447978(0x272)][_0x447978(0x275)][_0x447978(0x1c7)](_0x476ffd),_0x594eba=this[_0x447978(0x272)][_0x447978(0x275)][_0x447978(0x1c7)](_0x1cf422),_0x4dba16=_0x1f7758[_0x447978(0x1f0)][_0x447978(0x1c7)](this[_0x447978(0x2ad)]);_0x4dba16&&_0x4dba16[_0x447978(0x2bb)]>0x1?_0x594eba[_0x447978(0x2a6)]():this[_0x447978(0x23a)](_0x1f7758,_0x447978(0x251)+this[_0x447978(0x2ad)],()=>{const _0x4d1eec=_0x447978;0x2===_0x1f7758[_0x4d1eec(0x1f0)][_0x4d1eec(0x1c7)](this[_0x4d1eec(0x2ad)])[_0x4d1eec(0x2bb)]&&_0x594eba[_0x4d1eec(0x2a6)]();});}async[_0x563395(0x212)](_0x4da756,_0x262150,_0x6c4cfe,_0x5a8714){const _0x244016=_0x563395;if(!this[_0x244016(0x1cf)]&&this[_0x244016(0x299)][_0x244016(0x287)]==_0x262150){const _0x391fad=this[_0x244016(0x28e)](_0x6c4cfe,_0x5a8714);await this[_0x244016(0x2ab)](_0x391fad),this[_0x244016(0x25f)](_0x391fad,_0x262150,_0x6c4cfe[_0x244016(0x2a2)])||this[_0x244016(0x2b1)](_0x244016(0x2bf));}}async[_0x563395(0x253)](){const _0x487ac9=_0x563395;this[_0x487ac9(0x219)]();const {locale:_0x4535a2}=this[_0x487ac9(0x272)];let _0x450376;try{_0x450376=await this[_0x487ac9(0x205)][_0x487ac9(0x25a)]();}catch{const _0x5c9258=_0x4651ae(_0x4535a2,_0x487ac9(0x246));return void this[_0x487ac9(0x1c9)](_0x5c9258);}const _0x292f2e=_0x450376[_0x487ac9(0x286)]||_0x450376[_0x487ac9(0x2bd)];if(this[_0x487ac9(0x1fa)]!==_0x292f2e[_0x487ac9(0x2a2)]){const _0xf7f97c=_0x4651ae(_0x4535a2,_0x487ac9(0x2a9));return void this[_0x487ac9(0x1c9)](_0xf7f97c);}await this[_0x487ac9(0x292)](this[_0x487ac9(0x272)][_0x487ac9(0x2a1)][_0x487ac9(0x2b5)][_0x487ac9(0x27f)][_0x487ac9(0x1ea)](),!0x0);}[_0x563395(0x219)](){const _0x38ef91=_0x563395;this[_0x38ef91(0x205)][_0x38ef91(0x27a)](),this[_0x38ef91(0x1db)]=[],clearTimeout(this[_0x38ef91(0x271)]),this[_0x38ef91(0x1ec)](this[_0x38ef91(0x205)]);}[_0x563395(0x207)](_0x57a9e5){const _0x435dd6=_0x563395,_0x13413c=this[_0x435dd6(0x272)][_0x435dd6(0x275)][_0x435dd6(0x1c7)](_0x476ffd);this[_0x435dd6(0x23a)](_0x13413c,_0x435dd6(0x251)+this[_0x435dd6(0x2ad)],(_0x361607,{session:_0x28a346})=>{const _0x25477e=_0x435dd6;if(_0x28a346['id']===_0x13413c[_0x25477e(0x2b0)]){_0x361607[_0x25477e(0x1df)]();const _0x21db62=this[_0x25477e(0x272)][_0x25477e(0x275)][_0x25477e(0x22e)](_0x25477e(0x2c5))&&this[_0x25477e(0x272)][_0x25477e(0x275)][_0x25477e(0x1c7)](_0x25477e(0x2c5));let _0x46f6de=_0x28a346[_0x25477e(0x27c)];_0x21db62&&_0x21db62[_0x25477e(0x21b)]&&(_0x46f6de=_0x46f6de[_0x25477e(0x20b)](_0x26b315=>_0x25477e(0x1ee)!==_0x26b315)),this[_0x25477e(0x272)][_0x25477e(0x275)][_0x25477e(0x1c7)](_0x25477e(0x220))[_0x25477e(0x24c)](_0x46f6de,this[_0x25477e(0x2ad)]);}}),_0x13413c[_0x435dd6(0x247)](this[_0x435dd6(0x2ad)],_0x57a9e5);}[_0x563395(0x23c)](){const _0x5ae56e=_0x563395,_0x4d627a=this[_0x5ae56e(0x272)][_0x5ae56e(0x21d)][_0x5ae56e(0x1ed)];this[_0x5ae56e(0x272)][_0x5ae56e(0x21d)][_0x5ae56e(0x1ed)]=(..._0x12a5b1)=>{const _0x80c65a=_0x5ae56e;if(!_0x12a5b1[_0x12a5b1[_0x80c65a(0x2bb)]-0x1][_0x80c65a(0x20e)])throw new _0x3ed81d(_0x80c65a(0x290),this);_0x4d627a[_0x80c65a(0x22f)](this[_0x80c65a(0x272)][_0x80c65a(0x21d)],_0x12a5b1);};}[_0x563395(0x234)](){const _0x2a2a96=_0x563395;this[_0x2a2a96(0x272)][_0x2a2a96(0x21d)]['on'](_0x2a2a96(0x23d),(_0x1f4864,[_0x2d99ed])=>{const _0x2abc27=_0x2a2a96;if(this[_0x2abc27(0x299)][_0x2abc27(0x287)])throw new _0x3ed81d(_0x2abc27(0x270),this);_0x1f4864[_0x2abc27(0x2ae)](),this[_0x2abc27(0x1dd)]();const _0x4c294f=this[_0x2abc27(0x272)][_0x2abc27(0x203)][_0x2abc27(0x1c7)](_0x2abc27(0x24a)),_0xd07ed1=this[_0x2abc27(0x274)](_0x2d99ed,_0x4c294f);0x0==_0xd07ed1[_0x2abc27(0x2bb)]&&_0xd07ed1[_0x2abc27(0x1fe)](new _0x2f9c27(0x0)),_0x1f4864[_0x2abc27(0x211)]=this[_0x2abc27(0x292)](_0xd07ed1)[_0x2abc27(0x222)](()=>{const _0x1f6c8d=_0x2abc27;this[_0x1f6c8d(0x272)][_0x1f6c8d(0x275)][_0x1f6c8d(0x1c7)](_0x27bbb7)[_0x1f6c8d(0x213)](this),this[_0x1f6c8d(0x272)][_0x1f6c8d(0x21d)][_0x1f6c8d(0x250)](_0x1f6c8d(0x279));})[_0x2abc27(0x1f9)](_0x3f4234=>this[_0x2abc27(0x2b1)](_0x2abc27(0x2b3),_0x3f4234))[_0x2abc27(0x1e2)](()=>this[_0x2abc27(0x206)]());},{'priority':_0x2a2a96(0x2bc)}),this[_0x2a2a96(0x272)]['on'](_0x2a2a96(0x257),async(_0xca538a,[_0x244646,_0x19d540])=>{const _0x2be052=_0x2a2a96;_0xca538a[_0x2be052(0x2ae)]();const _0x17e3bb=this[_0x2be052(0x272)][_0x2be052(0x2a1)][_0x2be052(0x2b5)][_0x2be052(0x227)](_0x244646);if(!this[_0x2be052(0x29b)][_0x2be052(0x22e)](_0x244646)){const _0x3da448=_0x19d540&&_0x19d540[_0x2be052(0x21d)]?_0x19d540[_0x2be052(0x21d)]:'',_0x2b5204=_0x19d540&&_0x19d540[_0x2be052(0x1ef)]?_0x19d540[_0x2be052(0x1ef)]:{};await this[_0x2be052(0x1cb)](_0x244646,_0x3da448,_0x2b5204);}this[_0x2be052(0x272)][_0x2be052(0x2a1)][_0x2be052(0x26c)]({'isUndoable':!0x1},()=>{const _0x12d91f=_0x2be052;_0x17e3bb[_0x12d91f(0x22a)]=!0x0,this[_0x12d91f(0x272)][_0x12d91f(0x2a1)][_0x12d91f(0x2b5)][_0x12d91f(0x278)][_0x12d91f(0x25d)](_0x17e3bb);});},{'priority':_0x2a2a96(0x2bc)});}async[_0x563395(0x2ab)](_0x558543){const _0x4ef48c=_0x563395,_0x230cea=this[_0x4ef48c(0x272)][_0x4ef48c(0x275)][_0x4ef48c(0x1c7)](_0x8da8de),{connection:_0x321e7d}=this[_0x4ef48c(0x272)][_0x4ef48c(0x275)][_0x4ef48c(0x1c7)](_0x27bbb7),_0x4b11b8=new Set();for(const _0x57a08c of _0x558543){const _0x56e2ac=_0x57a08c[_0x4ef48c(0x1d1)];_0x56e2ac&&!_0x230cea[_0x4ef48c(0x210)](_0x56e2ac)&&_0x4b11b8[_0x4ef48c(0x2a7)](_0x56e2ac);}if(0x0===_0x4b11b8[_0x4ef48c(0x2c7)])return;const _0x51e836=await _0x58ffd5[_0x4ef48c(0x27b)](_0x321e7d,Array[_0x4ef48c(0x218)](_0x4b11b8));for(const _0x87c399 of _0x51e836)_0x230cea[_0x4ef48c(0x210)](_0x87c399['id'])||_0x230cea[_0x4ef48c(0x277)](_0x87c399);}[_0x563395(0x274)](_0x4f8e3d,_0xc07dac={}){const _0x3e05cd=_0x563395,_0x37a619=this[_0x3e05cd(0x272)][_0x3e05cd(0x2a1)],_0x506f61=[];let _0x18fc49=0x0;const _0x6b2149=_0x3e05cd(0x225)==typeof _0x4f8e3d?{'main':_0x4f8e3d}:_0x4f8e3d;for(const _0x49f9c7 of Object[_0x3e05cd(0x268)](_0x6b2149)){if(!this[_0x3e05cd(0x299)][_0x3e05cd(0x221)][_0x3e05cd(0x22e)](_0x49f9c7))throw new _0x3ed81d(_0x3e05cd(0x24d),this);const _0x3cbeb0=this[_0x3e05cd(0x272)][_0x3e05cd(0x21d)][_0x3e05cd(0x1f6)](_0x6b2149[_0x49f9c7]),_0x2a7bfb=this[_0x3e05cd(0x299)][_0x3e05cd(0x227)](_0x49f9c7),_0x2cdee4=new _0x2fdfca(_0x37a619[_0x3e05cd(0x235)](_0x2a7bfb,0x0),_0x3cbeb0,_0x18fc49++);_0x506f61[_0x3e05cd(0x1fe)](_0x2cdee4);for(const [_0x294b82,_0x324459]of _0x3cbeb0[_0x3e05cd(0x1e3)]){const _0x4849c5=_0x37a619[_0x3e05cd(0x1f5)](_0x37a619[_0x3e05cd(0x216)](_0x2a7bfb,_0x324459[_0x3e05cd(0x233)][_0x3e05cd(0x2ac)][_0x3e05cd(0x22b)]()),_0x37a619[_0x3e05cd(0x216)](_0x2a7bfb,_0x324459[_0x3e05cd(0x243)][_0x3e05cd(0x2ac)][_0x3e05cd(0x22b)]())),_0x16123d=new _0x26f800(_0x294b82,null,_0x4849c5,_0x37a619[_0x3e05cd(0x1e3)],!0x0,_0x18fc49++);_0x506f61[_0x3e05cd(0x1fe)](_0x16123d);}}if(_0xc07dac)for(const [_0x5b9f98,_0x5cfc86]of Object[_0x3e05cd(0x2a5)](_0xc07dac)){const _0x52c524=_0x37a619[_0x3e05cd(0x2b5)][_0x3e05cd(0x227)](_0x5b9f98);if(!_0x52c524)throw new _0x3ed81d(_0x3e05cd(0x1cc),null);for(const [_0x3e6ae7,_0x4e3f4f]of Object[_0x3e05cd(0x2a5)](_0x5cfc86))if(null!==_0x4e3f4f){const _0x540166=new _0x141fa3(_0x52c524,_0x3e6ae7,null,_0x4e3f4f,_0x18fc49++);_0x506f61[_0x3e05cd(0x1fe)](_0x540166);}}return _0x506f61;}async[_0x563395(0x1cb)](_0x30a4ea,_0x244ab6,_0x1766a0){const _0x26ab34=_0x563395;this[_0x26ab34(0x274)]({[_0x30a4ea]:_0x244ab6},{[_0x30a4ea]:_0x1766a0})[_0x26ab34(0x262)]((_0x3e6296,_0x548229)=>{const _0x312d36=_0x26ab34;_0x3e6296[_0x312d36(0x2c6)]=this[_0x312d36(0x299)][_0x312d36(0x287)]+_0x548229,_0x3e6296[_0x312d36(0x1e5)]=!0x0,this[_0x312d36(0x1f2)](_0x3e6296);}),this[_0x26ab34(0x27d)](),await this[_0x26ab34(0x2c0)]();}async[_0x563395(0x22c)](_0x446b9d,_0x37bca0){const _0x168fea=_0x563395;let _0x4d5c61;this[_0x168fea(0x2aa)]=_0x446b9d[_0x168fea(0x228)];const _0x23da1e=_0x446b9d[_0x168fea(0x280)]&&!_0x446b9d[_0x168fea(0x1e8)],_0x913f1b=_0x23da1e?0x0:_0x446b9d[_0x168fea(0x21d)][_0x168fea(0x2c6)];if(_0x37bca0[_0x168fea(0x262)](_0x37e772=>{const _0x127876=_0x168fea;_0x37e772[_0x127876(0x1e5)]=!0x0,_0x37e772[_0x127876(0x204)]=_0x446b9d[_0x127876(0x224)],_0x37e772[_0x127876(0x1d1)]=null;}),_0x23da1e)_0x4d5c61=_0x37bca0,this[_0x168fea(0x231)](_0x4d5c61,_0x23da1e);else{if(_0x446b9d[_0x168fea(0x1e8)]){const _0x1fca48=this[_0x168fea(0x274)](_0x446b9d[_0x168fea(0x1e8)]);this[_0x168fea(0x299)][_0x168fea(0x27f)][_0x168fea(0x287)]=-_0x1fca48[_0x168fea(0x2bb)],_0x1fca48[_0x168fea(0x262)](_0xae380f=>{const _0x221d3b=_0x168fea;_0xae380f[_0x221d3b(0x2c6)]-=_0x1fca48[_0x221d3b(0x2bb)],_0xae380f[_0x221d3b(0x204)]=_0x446b9d[_0x221d3b(0x224)],_0xae380f[_0x221d3b(0x1e5)]=!0x0,_0xae380f[_0x221d3b(0x1d1)]=null;}),this[_0x168fea(0x231)](_0x1fca48,!0x0),this[_0x168fea(0x217)][_0x168fea(0x287)]=-_0x1fca48[_0x168fea(0x2bb)]+this[_0x168fea(0x2aa)],this[_0x168fea(0x297)](_0x1fca48);}this[_0x168fea(0x299)][_0x168fea(0x27f)][_0x168fea(0x287)]=_0x913f1b,_0x4d5c61=this[_0x168fea(0x28e)](_0x446b9d[_0x168fea(0x21d)],_0x446b9d[_0x168fea(0x24f)]),await this[_0x168fea(0x2ab)](_0x4d5c61),this[_0x168fea(0x231)](_0x4d5c61,_0x23da1e);}_0x446b9d[_0x168fea(0x2a2)]&&(this[_0x168fea(0x1e6)][_0x168fea(0x1fc)](_0x4d5c61,_0x446b9d[_0x168fea(0x2a2)]),this[_0x168fea(0x1fa)]=_0x446b9d[_0x168fea(0x2a2)]),this[_0x168fea(0x217)][_0x168fea(0x287)]=_0x913f1b+this[_0x168fea(0x2aa)],this[_0x168fea(0x297)](_0x4d5c61),_0x37bca0[_0x168fea(0x20b)](_0x4563f8=>{const _0x1e85f7=_0x168fea,_0x224fbd=this[_0x1e85f7(0x2c8)](_0x4563f8);return _0x224fbd&&!this[_0x1e85f7(0x29b)][_0x1e85f7(0x22e)](_0x224fbd);})[_0x168fea(0x262)]((_0x1bbf05,_0x5f13ed)=>{const _0xd1f00c=_0x168fea;_0x1bbf05[_0xd1f00c(0x2c6)]=this[_0xd1f00c(0x299)][_0xd1f00c(0x287)]+_0x5f13ed,this[_0xd1f00c(0x1f2)](_0x1bbf05);}),this[_0x168fea(0x248)]()?(this[_0x168fea(0x261)]=0x0,this[_0x168fea(0x27d)](!0x0),await this[_0x168fea(0x2c0)]()):(this[_0x168fea(0x1cf)]=!0x1,this[_0x168fea(0x206)]());}[_0x563395(0x2b1)](_0x7cc935,_0x38d1da){const _0x3be4f0=_0x563395,_0x9f8543=_0x38d1da&&_0x38d1da[_0x3be4f0(0x240)];if(_0x9f8543&&_0x9f8543[_0x3be4f0(0x29f)](_0x3be4f0(0x26d)))throw _0x38d1da;const _0x5329a1=this[_0x3be4f0(0x272)][_0x3be4f0(0x275)][_0x3be4f0(0x1c7)](_0x27bbb7);throw this[_0x3be4f0(0x1cf)]=!0x0,_0x5329a1[_0x3be4f0(0x27a)](),this[_0x3be4f0(0x272)][_0x3be4f0(0x26a)](_0x3be4f0(0x282)),new _0x3ed81d(_0x7cc935,this[_0x3be4f0(0x272)],_0x9f8543?{'originalError':_0x9f8543}:void 0x0);}[_0x563395(0x1f2)](_0x2ff70a){const _0x2cbc9d=_0x563395;this[_0x2cbc9d(0x294)][_0x2cbc9d(0x22e)](_0x2ff70a)||(this[_0x2cbc9d(0x294)][_0x2cbc9d(0x2a7)](_0x2ff70a),this[_0x2cbc9d(0x1db)][_0x2cbc9d(0x1fe)](_0x2ff70a),this[_0x2cbc9d(0x284)]||_0x2cbc9d(0x1e4)==_0x2ff70a[_0x2cbc9d(0x295)]&&!_0x2ff70a[_0x2cbc9d(0x1e0)]||this[_0x2cbc9d(0x1dd)]());}[_0x563395(0x27d)](_0x3e2de7=!0x1){const _0x5d7e73=_0x563395;!_0x3e2de7&&this[_0x5d7e73(0x1cf)]||(this[_0x5d7e73(0x1cf)]=!0x0,clearTimeout(this[_0x5d7e73(0x271)]),this[_0x5d7e73(0x271)]=setTimeout(()=>{const _0x213d63=_0x5d7e73;this[_0x213d63(0x2c4)]()[_0x213d63(0x222)](_0x5454b5=>{const _0xc737e8=_0x213d63;_0x5454b5&&(this[_0xc737e8(0x206)](),this[_0xc737e8(0x1cf)]=!0x1);})[_0x213d63(0x1f9)](_0x359b31=>{const _0x54e0e8=_0x213d63;this[_0x54e0e8(0x206)](),this[_0x54e0e8(0x1cf)]=!0x1,function(_0xe0837){const _0x13877a=_0x54e0e8;return _0xe0837[_0x13877a(0x240)][_0x13877a(0x29f)](_0x13877a(0x288))||_0xe0837[_0x13877a(0x240)][_0x13877a(0x29f)](_0x13877a(0x2b4))||_0xe0837[_0x13877a(0x240)][_0x13877a(0x29f)](_0x13877a(0x298));}(_0x359b31)||this[_0x54e0e8(0x2b1)](_0x359b31[_0x54e0e8(0x240)],_0x359b31);});},this[_0x5d7e73(0x261)]));}[_0x563395(0x2c0)](){return new Promise(_0x2edb9a=>{const _0xb2be77=_0x4a75;this['on'](_0xb2be77(0x21f),()=>{_0x2edb9a();});});}async[_0x563395(0x2c4)](){const _0x5d719e=_0x563395,_0x20014f=this[_0x5d719e(0x272)][_0x5d719e(0x275)][_0x5d719e(0x1c7)](_0x1cf422);if(this[_0x5d719e(0x2b6)]()&&(_0x20014f[_0x5d719e(0x2a6)](),this[_0x5d719e(0x2b8)]=!0x1),!this[_0x5d719e(0x248)]())return!0x0;const _0x165ff6=[...this[_0x5d719e(0x1db)]];for(const _0x43c9aa of _0x165ff6)_0x43c9aa[_0x5d719e(0x296)]=this[_0x5d719e(0x299)][_0x5d719e(0x27f)][_0x5d719e(0x255)](_0x43c9aa);const _0x470821=this[_0x5d719e(0x1e6)][_0x5d719e(0x1d7)](_0x165ff6),_0x5af77d=G++,_0x3c44a9=this[_0x5d719e(0x28b)](_0x165ff6),_0x3039cf=await this[_0x5d719e(0x205)][_0x5d719e(0x1de)](_0x3c44a9,_0x3c44a9[_0x5d719e(0x2c6)],_0x470821);try{return await this[_0x5d719e(0x236)](_0x165ff6,_0x3039cf,_0x5af77d);}catch(_0x51efea){return this[_0x5d719e(0x2b1)](_0x5d719e(0x266),_0x51efea);}}async[_0x563395(0x236)](_0x56745b,_0x2ace21,_0x50e9e4){const _0x15194c=_0x563395;if(_0x15194c(0x252)in _0x2ace21)throw _0x2ace21[_0x15194c(0x252)];let _0x435ff6=!0x1;if(_0x2ace21[_0x15194c(0x280)]){_0x2ace21[_0x15194c(0x2a2)]&&(this[_0x15194c(0x1fa)]=_0x2ace21[_0x15194c(0x2a2)]),this[_0x15194c(0x1db)]=this[_0x15194c(0x1db)][_0x15194c(0x20b)](_0x40299b=>!_0x56745b[_0x15194c(0x28c)](_0x40299b));for(const _0x42adb5 of _0x56745b)_0x42adb5[_0x15194c(0x204)]=_0x15194c(0x20c)in _0x2ace21&&_0x2ace21[_0x15194c(0x20c)]||void 0x0;K(_0x56745b,_0x2ace21[_0x15194c(0x287)]-_0x56745b[_0x15194c(0x2bb)]),this[_0x15194c(0x297)](_0x56745b);const _0x51bed6=_0x56745b[_0x15194c(0x20b)](_0x1c637f=>{const _0x324e86=_0x15194c;if(!_0x1c637f[_0x324e86(0x1e5)])return!0x1;const _0xb1f6=this[_0x324e86(0x2c8)](_0x1c637f);return _0xb1f6&&!this[_0x324e86(0x29b)][_0x324e86(0x22e)](_0xb1f6);});K(_0x51bed6,this[_0x15194c(0x299)][_0x15194c(0x287)]),this[_0x15194c(0x231)](_0x51bed6),_0x435ff6=!0x0,this[_0x15194c(0x261)]=this[_0x15194c(0x263)];}else{const _0x350bb7=this[_0x15194c(0x28e)](_0x2ace21[_0x15194c(0x21d)],_0x2ace21[_0x15194c(0x24f)])[_0x15194c(0x20b)](_0x38899f=>_0x38899f[_0x15194c(0x2c6)]>=this[_0x15194c(0x2ba)]);_0x350bb7[_0x15194c(0x262)](_0x5ec007=>this[_0x15194c(0x1e1)](_0x5ec007)),this[_0x15194c(0x1db)]=this[_0x15194c(0x1db)][_0x15194c(0x20b)](_0x569fda=>!_0x569fda[_0x15194c(0x1e5)]||!this[_0x15194c(0x29b)][_0x15194c(0x22e)](this[_0x15194c(0x2c8)](_0x569fda))),this[_0x15194c(0x1db)][_0x15194c(0x2bb)]&&K(this[_0x15194c(0x1db)],this[_0x15194c(0x1db)][0x0][_0x15194c(0x2c6)]),await this[_0x15194c(0x2ab)](_0x350bb7),_0x435ff6=this[_0x15194c(0x25f)](_0x350bb7,_0x2ace21[_0x15194c(0x287)],_0x2ace21[_0x15194c(0x2a2)]),this[_0x15194c(0x261)]=Math[_0x15194c(0x1d2)](this[_0x15194c(0x261)]/0x2);}return _0x435ff6?!this[_0x15194c(0x248)]()||(this[_0x15194c(0x27d)](!0x0),!0x1):this[_0x15194c(0x2b1)](_0x15194c(0x1d4));}[_0x563395(0x25f)](_0x1978aa,_0x57206e,_0x314bd3){const _0x2753b6=_0x563395;try{const _0x2dbd15={'document':this[_0x2753b6(0x299)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1b3245,operationsB:_0x378498,originalOperations:_0x5aa04b}=_0x24882b(_0x1978aa,this[_0x2753b6(0x1db)],_0x2dbd15);K(_0x1b3245,this[_0x2753b6(0x299)][_0x2753b6(0x287)]),K(_0x378498,_0x57206e);for(const _0x12b111 of _0x1b3245){const _0x5315e9=_0x5aa04b[_0x2753b6(0x1c7)](_0x12b111);_0x12b111[_0x2753b6(0x1d1)]=_0x5315e9?_0x5315e9[_0x2753b6(0x1d1)]:null;}_0x314bd3&&(this[_0x2753b6(0x1e6)][_0x2753b6(0x1fc)](_0x1978aa,_0x314bd3),this[_0x2753b6(0x1fa)]=_0x314bd3),this[_0x2753b6(0x1db)]=[..._0x378498],this[_0x2753b6(0x231)](_0x1b3245),this[_0x2753b6(0x297)](_0x1978aa);}catch(_0x286634){return console[_0x2753b6(0x252)](_0x286634),!0x1;}return!0x0;}[_0x563395(0x231)](_0x41530b,_0x158a2b=!0x1){const _0x936675=_0x563395;this[_0x936675(0x272)][_0x936675(0x2a1)][_0x936675(0x26c)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5917bc=>{const _0x294a84=_0x936675;for(const _0x379bfd of _0x41530b)this[_0x294a84(0x294)][_0x294a84(0x2a7)](_0x379bfd),this[_0x294a84(0x1e1)](_0x379bfd),_0x5917bc[_0x294a84(0x1dc)][_0x294a84(0x1ce)](_0x379bfd),this[_0x294a84(0x272)][_0x294a84(0x2a1)][_0x294a84(0x208)](_0x379bfd);});}[_0x563395(0x1e1)](_0x5e2fbe){const _0x5ee9ab=_0x563395,_0x34d8a3=this[_0x5ee9ab(0x2c8)](_0x5e2fbe);_0x34d8a3&&this[_0x5ee9ab(0x29b)][_0x5ee9ab(0x2a7)](_0x34d8a3);}[_0x563395(0x2c8)](_0x29d9fc){const _0x20229b=_0x563395;let _0x415782,_0x3137b2;switch(_0x29d9fc[_0x20229b(0x295)]){case _0x20229b(0x2c2):_0x415782=_0x29d9fc[_0x20229b(0x28a)][_0x20229b(0x21e)];break;case _0x20229b(0x1e4):if(_0x3137b2=_0x29d9fc[_0x20229b(0x209)],!_0x3137b2)return null;_0x415782=_0x3137b2[_0x20229b(0x21e)];break;case _0x20229b(0x1eb):_0x415782=_0x29d9fc[_0x20229b(0x21e)];break;case _0x20229b(0x1fb):_0x415782=_0x29d9fc[_0x20229b(0x29e)];break;case _0x20229b(0x2be):_0x415782=_0x29d9fc[_0x20229b(0x25e)][_0x20229b(0x21e)];break;default:return null;}return _0x415782[_0x20229b(0x24e)];}[_0x563395(0x297)](_0x4d2b70){const _0x2c21e7=_0x563395;_0x4d2b70[_0x2c21e7(0x262)](_0x500fae=>{const _0x52a5e6=_0x2c21e7,_0x50daac=_0x500fae[_0x52a5e6(0x232)]();_0x50daac[_0x52a5e6(0x1d1)]=_0x500fae[_0x52a5e6(0x1d1)],_0x50daac[_0x52a5e6(0x1e5)]=!!_0x500fae[_0x52a5e6(0x1e5)],_0x50daac[_0x52a5e6(0x204)]=_0x500fae[_0x52a5e6(0x204)],_0x50daac[_0x52a5e6(0x2c6)]+=this[_0x52a5e6(0x2aa)],_0x500fae[_0x52a5e6(0x23f)]&&this[_0x52a5e6(0x264)][_0x52a5e6(0x2a7)](_0x50daac),this[_0x52a5e6(0x217)][_0x52a5e6(0x1ce)](_0x50daac);});}[_0x563395(0x1c9)](_0x46ce8a){const _0x1e04dd=_0x563395,_0x2478e7=this[_0x1e04dd(0x272)][_0x1e04dd(0x275)][_0x1e04dd(0x1c7)](_0x1e04dd(0x29c)),_0x7f07df=this[_0x1e04dd(0x272)][_0x1e04dd(0x202)];_0x46ce8a||(_0x46ce8a=_0x4651ae(_0x7f07df,_0x1e04dd(0x28f))),_0x2478e7[_0x1e04dd(0x2a0)](_0x46ce8a,{'title':_0x4651ae(_0x7f07df,_0x1e04dd(0x269)),'namespace':_0x1e04dd(0x1ca)}),this[_0x1e04dd(0x2a8)]=!0x0,clearTimeout(this[_0x1e04dd(0x271)]),this[_0x1e04dd(0x1db)]=[],this[_0x1e04dd(0x272)][_0x1e04dd(0x275)][_0x1e04dd(0x1c7)](_0x27bbb7)[_0x1e04dd(0x27a)]();}[_0x563395(0x1dd)](){const _0x5d3aeb=_0x563395;this[_0x5d3aeb(0x284)]||(this[_0x5d3aeb(0x284)]=this[_0x5d3aeb(0x272)][_0x5d3aeb(0x275)][_0x5d3aeb(0x1c7)](_0x27b87e)[_0x5d3aeb(0x2a7)](_0x4651ae(this[_0x5d3aeb(0x272)][_0x5d3aeb(0x202)],_0x5d3aeb(0x258))));}[_0x563395(0x206)](){const _0x321e78=_0x563395;this[_0x321e78(0x284)]&&(this[_0x321e78(0x272)][_0x321e78(0x275)][_0x321e78(0x1c7)](_0x27b87e)[_0x321e78(0x21c)](this[_0x321e78(0x284)]),this[_0x321e78(0x284)]=null);}[_0x563395(0x28b)](_0x11d602){const _0x2fe138=_0x563395,_0x2ff158=_0x11d602[_0x2fe138(0x293)](_0x3d3748=>_0x3d3748[_0x2fe138(0x20d)]());return this[_0x2fe138(0x26f)][_0x2fe138(0x241)](_0x2ff158);}[_0x563395(0x28e)](_0x4fbb8b,_0xbd269e){const _0x1caea6=_0x563395;return this[_0x1caea6(0x26f)][_0x1caea6(0x1e7)](_0x4fbb8b)[_0x1caea6(0x293)]((_0x31092d,_0x98faa8)=>{const _0xe28982=_0x1caea6,_0x3377ff=_0xe28982(0x23d)==_0xbd269e[_0x98faa8][_0xe28982(0x295)];if(_0xe28982(0x1f1)==_0x31092d[_0xe28982(0x1d3)]){const _0x458a3a=_0x31092d[_0xe28982(0x28a)][_0xe28982(0x21e)];!this[_0xe28982(0x299)][_0xe28982(0x227)](_0x458a3a)&&(this[_0xe28982(0x299)][_0xe28982(0x281)](_0xe28982(0x23b),_0x458a3a)[_0xe28982(0x254)]=!0x1);}const _0x367c3a=_0x23f92f[_0xe28982(0x1d8)](_0x31092d,this[_0xe28982(0x299)]);return _0x367c3a[_0xe28982(0x296)]=_0x31092d[_0xe28982(0x296)],_0x367c3a[_0xe28982(0x1e5)]=_0x3377ff,_0x367c3a[_0xe28982(0x1d1)]=_0x3377ff?null:_0xbd269e[_0x98faa8][_0xe28982(0x214)],_0x367c3a[_0xe28982(0x23f)]=_0xe28982(0x29a)===_0xbd269e[_0x98faa8][_0xe28982(0x295)],_0x367c3a[_0xe28982(0x204)]=_0xbd269e[_0x98faa8][_0xe28982(0x204)],_0x367c3a;});}[_0x563395(0x28d)](){const _0x268dfc=_0x563395;this[_0x268dfc(0x2b8)]=!0x0,this[_0x268dfc(0x2b6)]()?this[_0x268dfc(0x27d)]():this[_0x268dfc(0x2b8)]=!0x1;}[_0x563395(0x2b6)](){const _0x322b68=_0x563395,_0x26cd89=this[_0x322b68(0x272)][_0x322b68(0x275)][_0x322b68(0x1c7)](_0x476ffd)[_0x322b68(0x1f0)][_0x322b68(0x1c7)](this[_0x322b68(0x2ad)]);return!this[_0x322b68(0x272)][_0x322b68(0x20a)]&&!!_0x26cd89&&_0x26cd89[_0x322b68(0x2bb)]>0x1&&this[_0x322b68(0x2b8)];}[_0x563395(0x248)](){const _0x580b90=_0x563395;return this[_0x580b90(0x1db)][_0x580b90(0x2bb)]>0x0||this[_0x580b90(0x2b6)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x49f93c,_0x536e2f){const _0x165453=_0x563395;for(const _0x5576f2 of _0x49f93c)_0x5576f2[_0x165453(0x2c6)]=_0x536e2f++;}function _0x4871(){const _0x3f3e7e=['_handleSendingSelectionMarkers','push','removeFromReconnectionStack','30618672DKPAaG','getOperationAuthor','locale','config','createdAt','_service','_clearPendingAction','_initSessionsHandling','applyOperation','newRange','isReadOnly','filter','lastOperationAcceptedAt','toJSON','suppressErrorInCollaboration','change:hasDomSelection','getUser','return','_handleReceivedOperations','addToReconnectionStack','userId','requires','createPositionFromPath','serverHistory','from','_disconnectService','_ignoredOperations','isEnabled','remove','data','root','change:_isPendingUpdate','Permissions','roots','then','sessionId','sessionCreatedAt','string','842672hcIFkT','getRoot','offset','disableReadOnlyMode','_isLoaded','slice','_handleInitialConnectionData','404','has','apply','rtc-destroyed','_applyOperationsSet','clone','start','_setUpDataInit','createPositionAt','_handleServerResponse','1260740RtKONx','pluginName','_handleReconnectionResponse','listenTo','$root','_initThrowingOnDataSet','init','selection','_isDisconnection','message','compress','_isEditingAllowed','end','7795164FHzWZB','409','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','register','_shouldSendUpdate','reconnection:\x20flushed\x20session','rootsAttributes','cloudDocumentVersion','setPermissions','realtimecollaborationclient-init-non-existent-root','rootName','metadata','fire','sessionAdd:','error','_connectAfterSessionHasBeenFlushed','_isAttached','isUndoneOperation','RealTimeCollaborationClient','loadRoot','PENDING_ACTION_SENDING_DATA','reconnect','getDocumentDetails','realtimecollaborationclient-init-session-connection-error','change:range','_bufferRootLoad','targetPosition','_handleExternalOperations','state','_currentBufferDelay','forEach','_baseBufferDelay','_disconnectionOperations','connection','realtimecollaborationclient-sendbufferedoperations','isOfficialPlugin','keys','Synchronization\x20issue','enableReadOnlyMode','reset','enqueueChange','realtimecollaborationclient','change:_isEditingAllowed','_compressor','realtimecollaborationclient-init-document-already-initialized','_sendBufferedOperationsDelayId','editor','operationsReceived','_getOperationsFromInitData','plugins','CollaborativeEditingService','addUser','differ','ready','disconnect','getMany','permissions','_sendBufferedOperationsDelayed','cloudServices.bundleVersion','history','wereChangesApplied','createRoot','realtimecollaborationclient-error','code','_pendingAction','3hjRCFj','currentDocumentSession','version','cloud-services-internal-error:\x20Not\x20connected.','29346jlhSrZ','position','_compressOperations','includes','_refreshUserSelectionMarkers','_decompressOperations','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','editing','_connectService','map','_knownOperations','type','wasUndone','_updateServerHistory','cloud-services-internal-error:\x20Request\x20timeout.','_document','cs:removeUser','_knownRootNames','Notification','directChange','affectedSelectable','startsWith','showWarning','model','lastOperationId','collaboration-missing-channelid','connected','entries','createUserMarkerOperations','add','_hasSynchronizationProblem','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.','_offset','_fetchMissingUsers','path','_channelId','stop','collaboration.channelId','mySessionId','_crash','collaboration','realtimecollaborationclient-init-connection-failed','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','document','_shouldSendSelectionUpdate','3978002rZOQSB','_hasSelectionChanged','realtimecollaborationclient-init-service-internal-error','_lastServerVersion','length','high','lastDocumentSession','move','realtimecollaborationclient-init-service-incorrect-server-operation','_waitUntilSynced','_operationToId','insert','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_sendBufferedOperations','CommentsOnly','baseVersion','size','_getAffectedRoot','isDocumentOperation','view','get','rtc-offline','_handleReconnectionError','real-time-collaboration','_loadRoot','multi-root-editor-root-attributes-no-root','connect','addOperation','_isPendingUpdate','2718950YxpEwv','_authorId','round','__className','realtimecollaborationclient-handleserverresponse','isPremiumPlugin','bind','getIdOfTheLastOperation','fromJSON','lastSyncVersion','destroy','_bufferedOperations','batch','_setPendingAction','sendOperations','off','affectsData','_addKnownRoot','finally','markers','marker','_isInit','_operationIdentifier','decompress','initData','unregister','getOperations','addRootAttribute','stopListening','set','document:write','attributes','channelSessions','InsertOperation','_saveOperationInBuffer','disconnected','define','createRange','parse','_isConnected','getConnectedSessions','catch','_lastSyncedOperationId','addRoot','setIdForTheLastOperation'];_0x4871=function(){return _0x3f3e7e;};return _0x4871();}class J{[_0x563395(0x21a)];[_0x563395(0x2c1)];constructor(_0x4a315c){const _0x12c4d0=_0x563395;this[_0x12c4d0(0x21a)]=_0x4a315c,this[_0x12c4d0(0x2c1)]=new WeakMap();}[_0x563395(0x1d7)](_0xd4ac11){const _0x3f12a5=_0x563395;let _0x4b6e48=_0xd4ac11[_0x3f12a5(0x2bb)];for(;_0x4b6e48--;){const _0x790509=_0xd4ac11[_0x4b6e48];if(!this[_0x3f12a5(0x21a)][_0x3f12a5(0x22e)](_0x790509)){if(!this[_0x3f12a5(0x2c1)][_0x3f12a5(0x22e)](_0x790509)){const _0x3df27=_0x1f7307()[_0x3f12a5(0x22b)](0x1,0x12);this[_0x3f12a5(0x2c1)][_0x3f12a5(0x1ed)](_0x790509,_0x3df27);}return this[_0x3f12a5(0x2c1)][_0x3f12a5(0x1c7)](_0x790509);}}}[_0x563395(0x1fc)](_0x4152fb,_0x447127){const _0x37142a=_0x563395;if(!_0x447127)return;let _0xd37b36=_0x4152fb[_0x37142a(0x2bb)];for(;_0xd37b36--;){const _0x1aa219=_0x4152fb[_0xd37b36];this[_0x37142a(0x21a)][_0x37142a(0x22e)](_0x1aa219)||this[_0x37142a(0x2c1)][_0x37142a(0x1ed)](_0x1aa219,_0x447127);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x58de(){const _0x3eea16=['connection','getUserBySessionId','_handleSessionAdd','isPremiumPlugin','670125lGTCbc','context','addUser','7OUCxCg','_handleSessionRemove','plugins','sessionAdd:','fire','3794106QpTZpL','set','register','add','listenTo','allConnectedUsers','clear','size','delete','Sessions','_uniqueUsersCount','stopListening','remove','user','assign','isOfficialPlugin','change:state','role','12qKGbwE','sessions-register-already-registered','getUserRole','2vCRLnx','_users','isMe','requires','_createUser','14945iDattw','90490bZVfjT','channelSessions','defineMe','getUser','channelConnectedUsers','sessionId','init','get','1460sdpsbM','orderNumber','values','forEach','629370hskXas','pluginName','22120461FeWhPs','getUserSessions','7805688iZXauw','state','_registeredSessions','unregister','675zXMbdw','sessions-unregister-not-exist','connected','mySessionId','has'];_0x58de=function(){return _0x3eea16;};return _0x58de();}const _0x583bc6=_0x1ae9;function _0x1ae9(_0x3f42e9,_0x2aed47){const _0x58debd=_0x58de();return _0x1ae9=function(_0x1ae952,_0x2e9c10){_0x1ae952=_0x1ae952-0x100;let _0x1529b1=_0x58debd[_0x1ae952];return _0x1529b1;},_0x1ae9(_0x3f42e9,_0x2aed47);}(function(_0x3af1de,_0x1fad99){const _0x276ddf=_0x1ae9,_0x50fdf3=_0x3af1de();while(!![]){try{const _0x476f8d=-parseInt(_0x276ddf(0x13c))/0x1*(-parseInt(_0x276ddf(0x12a))/0x2)+parseInt(_0x276ddf(0x10d))/0x3+parseInt(_0x276ddf(0x138))/0x4*(-parseInt(_0x276ddf(0x12f))/0x5)+parseInt(_0x276ddf(0x115))/0x6*(-parseInt(_0x276ddf(0x110))/0x7)+-parseInt(_0x276ddf(0x100))/0x8+-parseInt(_0x276ddf(0x104))/0x9*(-parseInt(_0x276ddf(0x130))/0xa)+-parseInt(_0x276ddf(0x13e))/0xb*(-parseInt(_0x276ddf(0x127))/0xc);if(_0x476f8d===_0x1fad99)break;else _0x50fdf3['push'](_0x50fdf3['shift']());}catch(_0xb0e9f3){_0x50fdf3['push'](_0x50fdf3['shift']());}}}(_0x58de,0xcde3c));import{ContextPlugin as _0x53d091}from'ckeditor5/src/core.js';import{Collection as _0x50ae6f,CKEditorError as _0x1577da}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x2bdeca}from'./websocketgateway.js';import{Users as _0x3f5848}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x53d091{[_0x583bc6(0x131)];[_0x583bc6(0x134)];[_0x583bc6(0x11a)];[_0x583bc6(0x102)];[_0x583bc6(0x11f)];[_0x583bc6(0x12b)];static get[_0x583bc6(0x13d)](){const _0x379b2e=_0x583bc6;return _0x379b2e(0x11e);}static get[_0x583bc6(0x124)](){return!0x0;}static get[_0x583bc6(0x10c)](){return!0x0;}static get[_0x583bc6(0x12d)](){return[_0x2bdeca,_0x3f5848];}constructor(_0x2dcd28){const _0x4deb79=_0x583bc6;super(_0x2dcd28),this[_0x4deb79(0x131)]=new Map(),this[_0x4deb79(0x134)]=new Map(),this[_0x4deb79(0x11a)]=new _0x50ae6f(),this[_0x4deb79(0x102)]=new Map(),this[_0x4deb79(0x11f)]=0x0,this[_0x4deb79(0x12b)]=this[_0x4deb79(0x10e)][_0x4deb79(0x112)][_0x4deb79(0x137)](_0x3f5848);}[_0x583bc6(0x136)](){const _0x5cc2c4=_0x583bc6,_0x5b9a9a=this[_0x5cc2c4(0x10e)][_0x5cc2c4(0x112)][_0x5cc2c4(0x137)](_0x2bdeca);this[_0x5cc2c4(0x119)](_0x5b9a9a,_0x5cc2c4(0x125),(_0x21a087,_0x38849f,_0x30a87a)=>{const _0x2707a9=_0x5cc2c4;if(_0x2707a9(0x106)!==_0x30a87a)this[_0x2707a9(0x131)][_0x2707a9(0x13b)](_0x487e9d=>_0x487e9d[_0x2707a9(0x11b)]()),this[_0x2707a9(0x134)][_0x2707a9(0x13b)](_0x295954=>_0x295954[_0x2707a9(0x11b)]()),this[_0x2707a9(0x11a)][_0x2707a9(0x11b)]();else{for(const [_0x691ff1,_0x4ebf63]of this[_0x2707a9(0x102)])for(const _0x4a5168 of _0x4ebf63)this[_0x2707a9(0x10b)](_0x691ff1,_0x4a5168);}}),this[_0x5cc2c4(0x12e)](_0x5b9a9a[_0x5cc2c4(0x109)]['me'],!0x0);}[_0x583bc6(0x117)](_0x1ce5b7,_0x224d31){const _0x31b2ac=_0x583bc6;if(this[_0x31b2ac(0x102)][_0x31b2ac(0x108)](_0x1ce5b7))throw new _0x1577da(_0x31b2ac(0x128),null,{'channelId':_0x1ce5b7});this[_0x31b2ac(0x102)][_0x31b2ac(0x116)](_0x1ce5b7,_0x224d31),this[_0x31b2ac(0x131)][_0x31b2ac(0x116)](_0x1ce5b7,new _0x50ae6f()),this[_0x31b2ac(0x134)][_0x31b2ac(0x116)](_0x1ce5b7,new _0x50ae6f()),this[_0x31b2ac(0x119)](_0x224d31,_0x31b2ac(0x118),(_0x3ca22f,_0x5e1a7d)=>this[_0x31b2ac(0x10b)](_0x1ce5b7,_0x5e1a7d)),this[_0x31b2ac(0x119)](_0x224d31,_0x31b2ac(0x121),(_0x223385,_0x4521a4)=>this[_0x31b2ac(0x111)](_0x1ce5b7,_0x4521a4));for(const _0xbf7a0 of _0x224d31)this[_0x31b2ac(0x10b)](_0x1ce5b7,_0xbf7a0);}[_0x583bc6(0x103)](_0x25a2e9){const _0x371db4=_0x583bc6;if(!this[_0x371db4(0x102)][_0x371db4(0x108)](_0x25a2e9))throw new _0x1577da(_0x371db4(0x105),null,{'channelId':_0x25a2e9});const _0x11adec=this[_0x371db4(0x102)][_0x371db4(0x137)](_0x25a2e9);this[_0x371db4(0x120)](_0x11adec);for(const _0x5a6921 of _0x11adec)_0x371db4(0x106)===this[_0x371db4(0x10e)][_0x371db4(0x112)][_0x371db4(0x137)](_0x2bdeca)[_0x371db4(0x101)]&&this[_0x371db4(0x111)](_0x25a2e9,_0x5a6921);this[_0x371db4(0x102)][_0x371db4(0x11d)](_0x25a2e9),this[_0x371db4(0x131)][_0x371db4(0x11d)](_0x25a2e9),this[_0x371db4(0x134)][_0x371db4(0x11d)](_0x25a2e9);}get[_0x583bc6(0x107)](){const _0x24ee68=_0x583bc6;return this[_0x24ee68(0x10e)][_0x24ee68(0x112)][_0x24ee68(0x137)](_0x2bdeca)[_0x24ee68(0x109)][_0x24ee68(0x135)];}[_0x583bc6(0x10a)](_0x9819f8){const _0x5eb9ff=_0x583bc6;for(const _0x1e9c7c of this[_0x5eb9ff(0x131)][_0x5eb9ff(0x13a)]())for(const _0x9229e3 of _0x1e9c7c)if(_0x9229e3['id']===_0x9819f8)return _0x9229e3[_0x5eb9ff(0x122)];}[_0x583bc6(0x13f)](_0x4725c8,_0x21cf0e){const _0x11a87c=_0x583bc6,_0x102f1d=_0x21cf0e?[this[_0x11a87c(0x131)][_0x11a87c(0x137)](_0x21cf0e)]:this[_0x11a87c(0x131)][_0x11a87c(0x13a)](),_0x5e23a9=new Set();for(const _0x54e75 of _0x102f1d)for(const _0x43c581 of _0x54e75)_0x43c581[_0x11a87c(0x122)]['id']===_0x4725c8['id']&&_0x5e23a9[_0x11a87c(0x118)](_0x43c581['id']);return _0x5e23a9;}[_0x583bc6(0x129)](_0x377910){const _0x536ad9=_0x583bc6;for(const _0x4db49b of this[_0x536ad9(0x131)][_0x536ad9(0x13a)]())for(const _0x5c0bec of _0x4db49b)if(_0x5c0bec[_0x536ad9(0x122)]===_0x377910)return _0x5c0bec[_0x536ad9(0x126)];}[_0x583bc6(0x10b)](_0x4ccc97,_0x26c0ab){const _0xf473e9=_0x583bc6;if(_0xf473e9(0x106)!==this[_0xf473e9(0x10e)][_0xf473e9(0x112)][_0xf473e9(0x137)](_0x2bdeca)[_0xf473e9(0x101)])return;const _0x3419d1=_0x26c0ab[_0xf473e9(0x122)],_0x3909b3=this[_0xf473e9(0x12b)][_0xf473e9(0x133)](_0x3419d1['id'])||this[_0xf473e9(0x12e)](_0x3419d1),_0x1f9b5b=Object[_0xf473e9(0x123)]({},_0x26c0ab,{'user':_0x3909b3});this[_0xf473e9(0x131)][_0xf473e9(0x137)](_0x4ccc97)[_0xf473e9(0x118)](_0x1f9b5b);const _0x3bcc23=this[_0xf473e9(0x134)][_0xf473e9(0x137)](_0x4ccc97);_0x3bcc23[_0xf473e9(0x108)](_0x3909b3['id'])||_0x3bcc23[_0xf473e9(0x118)](_0x3909b3),this[_0xf473e9(0x11a)][_0xf473e9(0x108)](_0x3909b3['id'])||this[_0xf473e9(0x11a)][_0xf473e9(0x118)](_0x3909b3,_0x3909b3[_0xf473e9(0x12c)]?0x0:void 0x0),this[_0xf473e9(0x114)](_0xf473e9(0x113)+_0x4ccc97,{'channelId':_0x4ccc97,'session':_0x1f9b5b});}[_0x583bc6(0x111)](_0x3d6f01,_0x38e5b1){const _0x4d36a1=_0x583bc6;if(_0x4d36a1(0x106)!==this[_0x4d36a1(0x10e)][_0x4d36a1(0x112)][_0x4d36a1(0x137)](_0x2bdeca)[_0x4d36a1(0x101)])return;const _0x17528c=this[_0x4d36a1(0x134)][_0x4d36a1(0x137)](_0x3d6f01),_0x1855b1=_0x38e5b1[_0x4d36a1(0x122)];_0x1855b1['id']&&(this[_0x4d36a1(0x131)][_0x4d36a1(0x137)](_0x3d6f01)[_0x4d36a1(0x121)](_0x38e5b1['id']),_0x17528c[_0x4d36a1(0x108)](_0x1855b1['id'])&&!this[_0x4d36a1(0x13f)](_0x1855b1,_0x3d6f01)[_0x4d36a1(0x11c)]&&_0x17528c[_0x4d36a1(0x121)](_0x1855b1['id']),this[_0x4d36a1(0x11a)][_0x4d36a1(0x137)](_0x1855b1['id'])&&!this[_0x4d36a1(0x13f)](_0x1855b1)[_0x4d36a1(0x11c)]&&this[_0x4d36a1(0x11a)][_0x4d36a1(0x121)](_0x1855b1['id']));}[_0x583bc6(0x12e)](_0x4f3c0d,_0x551711){const _0x5ba7a1=_0x583bc6,_0x34cf60=this[_0x5ba7a1(0x12b)][_0x5ba7a1(0x10f)](_0x4f3c0d);return _0x551711&&this[_0x5ba7a1(0x12b)][_0x5ba7a1(0x132)](_0x4f3c0d['id']),_0x34cf60[_0x5ba7a1(0x139)]=this[_0x5ba7a1(0x11f)]++,_0x34cf60;}}
23
+ function _0x5f41(_0x247cf0,_0x221ce4){const _0x21997b=_0x2199();return _0x5f41=function(_0x5f41af,_0x2509b4){_0x5f41af=_0x5f41af-0xc0;let _0x1f1f73=_0x21997b[_0x5f41af];return _0x1f1f73;},_0x5f41(_0x247cf0,_0x221ce4);}const _0x486c7d=_0x5f41;(function(_0x5392df,_0x312dcf){const _0x592d36=_0x5f41,_0x3e58ba=_0x5392df();while(!![]){try{const _0x257981=-parseInt(_0x592d36(0xf5))/0x1*(parseInt(_0x592d36(0xed))/0x2)+-parseInt(_0x592d36(0xf3))/0x3+parseInt(_0x592d36(0xc0))/0x4+-parseInt(_0x592d36(0xe2))/0x5*(-parseInt(_0x592d36(0xd4))/0x6)+parseInt(_0x592d36(0xca))/0x7+parseInt(_0x592d36(0xec))/0x8+parseInt(_0x592d36(0xe7))/0x9*(parseInt(_0x592d36(0xc6))/0xa);if(_0x257981===_0x312dcf)break;else _0x3e58ba['push'](_0x3e58ba['shift']());}catch(_0x2aae74){_0x3e58ba['push'](_0x3e58ba['shift']());}}}(_0x2199,0x4f260));import{ContextPlugin as _0x5e3f13}from'ckeditor5/src/core.js';import{Collection as _0x4515e1,CKEditorError as _0x20de7b}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x2627e2}from'./websocketgateway.js';import{Users as _0x48a61a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2199(){const _0x22d31b=['Sessions','isOfficialPlugin','get','sessionAdd:','register','1347945WGwbIg','fire','4pzTOBr','_handleSessionAdd','assign','_users','role','clear','mySessionId','requires','_registeredSessions','745816MLnvKM','getUserBySessionId','channelConnectedUsers','orderNumber','sessions-register-already-registered','sessions-unregister-not-exist','60010vgMpzU','state','defineMe','forEach','1094254NXWLhr','pluginName','init','sessionId','connection','getUser','set','_createUser','size','add','6LGYLCr','_handleSessionRemove','values','isPremiumPlugin','delete','_uniqueUsersCount','context','remove','isMe','stopListening','change:state','getUserRole','connected','channelSessions','524465pjIjrY','listenTo','allConnectedUsers','getUserSessions','plugins','873wqFZBT','has','addUser','unregister','user','1364872sphuTA','213434KstDCg'];_0x2199=function(){return _0x22d31b;};return _0x2199();}export class Sessions extends _0x5e3f13{[_0x486c7d(0xe1)];[_0x486c7d(0xc2)];[_0x486c7d(0xe4)];[_0x486c7d(0xfd)];[_0x486c7d(0xd9)];[_0x486c7d(0xf8)];static get[_0x486c7d(0xcb)](){const _0x4d7970=_0x486c7d;return _0x4d7970(0xee);}static get[_0x486c7d(0xef)](){return!0x0;}static get[_0x486c7d(0xd7)](){return!0x0;}static get[_0x486c7d(0xfc)](){return[_0x2627e2,_0x48a61a];}constructor(_0x329208){const _0x49fc37=_0x486c7d;super(_0x329208),this[_0x49fc37(0xe1)]=new Map(),this[_0x49fc37(0xc2)]=new Map(),this[_0x49fc37(0xe4)]=new _0x4515e1(),this[_0x49fc37(0xfd)]=new Map(),this[_0x49fc37(0xd9)]=0x0,this[_0x49fc37(0xf8)]=this[_0x49fc37(0xda)][_0x49fc37(0xe6)][_0x49fc37(0xf0)](_0x48a61a);}[_0x486c7d(0xcc)](){const _0x30ad82=_0x486c7d,_0x455c94=this[_0x30ad82(0xda)][_0x30ad82(0xe6)][_0x30ad82(0xf0)](_0x2627e2);this[_0x30ad82(0xe3)](_0x455c94,_0x30ad82(0xde),(_0x5b7178,_0x313cba,_0x506e95)=>{const _0x1b4a02=_0x30ad82;if(_0x1b4a02(0xe0)!==_0x506e95)this[_0x1b4a02(0xe1)][_0x1b4a02(0xc9)](_0x3c1239=>_0x3c1239[_0x1b4a02(0xfa)]()),this[_0x1b4a02(0xc2)][_0x1b4a02(0xc9)](_0x193f10=>_0x193f10[_0x1b4a02(0xfa)]()),this[_0x1b4a02(0xe4)][_0x1b4a02(0xfa)]();else{for(const [_0x536940,_0xef3358]of this[_0x1b4a02(0xfd)])for(const _0x24b999 of _0xef3358)this[_0x1b4a02(0xf6)](_0x536940,_0x24b999);}}),this[_0x30ad82(0xd1)](_0x455c94[_0x30ad82(0xce)]['me'],!0x0);}[_0x486c7d(0xf2)](_0x3d23d4,_0x2dea95){const _0x4d51e6=_0x486c7d;if(this[_0x4d51e6(0xfd)][_0x4d51e6(0xe8)](_0x3d23d4))throw new _0x20de7b(_0x4d51e6(0xc4),null,{'channelId':_0x3d23d4});this[_0x4d51e6(0xfd)][_0x4d51e6(0xd0)](_0x3d23d4,_0x2dea95),this[_0x4d51e6(0xe1)][_0x4d51e6(0xd0)](_0x3d23d4,new _0x4515e1()),this[_0x4d51e6(0xc2)][_0x4d51e6(0xd0)](_0x3d23d4,new _0x4515e1()),this[_0x4d51e6(0xe3)](_0x2dea95,_0x4d51e6(0xd3),(_0x2f990b,_0x46baba)=>this[_0x4d51e6(0xf6)](_0x3d23d4,_0x46baba)),this[_0x4d51e6(0xe3)](_0x2dea95,_0x4d51e6(0xdb),(_0x37f094,_0x459e9e)=>this[_0x4d51e6(0xd5)](_0x3d23d4,_0x459e9e));for(const _0x4cadd8 of _0x2dea95)this[_0x4d51e6(0xf6)](_0x3d23d4,_0x4cadd8);}[_0x486c7d(0xea)](_0xcd4eff){const _0x8c039=_0x486c7d;if(!this[_0x8c039(0xfd)][_0x8c039(0xe8)](_0xcd4eff))throw new _0x20de7b(_0x8c039(0xc5),null,{'channelId':_0xcd4eff});const _0x43501e=this[_0x8c039(0xfd)][_0x8c039(0xf0)](_0xcd4eff);this[_0x8c039(0xdd)](_0x43501e);for(const _0x21fc8c of _0x43501e)_0x8c039(0xe0)===this[_0x8c039(0xda)][_0x8c039(0xe6)][_0x8c039(0xf0)](_0x2627e2)[_0x8c039(0xc7)]&&this[_0x8c039(0xd5)](_0xcd4eff,_0x21fc8c);this[_0x8c039(0xfd)][_0x8c039(0xd8)](_0xcd4eff),this[_0x8c039(0xe1)][_0x8c039(0xd8)](_0xcd4eff),this[_0x8c039(0xc2)][_0x8c039(0xd8)](_0xcd4eff);}get[_0x486c7d(0xfb)](){const _0x112ac7=_0x486c7d;return this[_0x112ac7(0xda)][_0x112ac7(0xe6)][_0x112ac7(0xf0)](_0x2627e2)[_0x112ac7(0xce)][_0x112ac7(0xcd)];}[_0x486c7d(0xc1)](_0x40cf7e){const _0x3a0c24=_0x486c7d;for(const _0x38f855 of this[_0x3a0c24(0xe1)][_0x3a0c24(0xd6)]())for(const _0xa8998f of _0x38f855)if(_0xa8998f['id']===_0x40cf7e)return _0xa8998f[_0x3a0c24(0xeb)];}[_0x486c7d(0xe5)](_0x25931c,_0x42f923){const _0x22d6f2=_0x486c7d,_0x57bd43=_0x42f923?[this[_0x22d6f2(0xe1)][_0x22d6f2(0xf0)](_0x42f923)]:this[_0x22d6f2(0xe1)][_0x22d6f2(0xd6)](),_0x241b74=new Set();for(const _0x58a985 of _0x57bd43)for(const _0x44f20f of _0x58a985)_0x44f20f[_0x22d6f2(0xeb)]['id']===_0x25931c['id']&&_0x241b74[_0x22d6f2(0xd3)](_0x44f20f['id']);return _0x241b74;}[_0x486c7d(0xdf)](_0x18bd88){const _0xa6e985=_0x486c7d;for(const _0x4a3670 of this[_0xa6e985(0xe1)][_0xa6e985(0xd6)]())for(const _0x374ba3 of _0x4a3670)if(_0x374ba3[_0xa6e985(0xeb)]===_0x18bd88)return _0x374ba3[_0xa6e985(0xf9)];}[_0x486c7d(0xf6)](_0x5c6f0d,_0x4ae146){const _0x105d91=_0x486c7d;if(_0x105d91(0xe0)!==this[_0x105d91(0xda)][_0x105d91(0xe6)][_0x105d91(0xf0)](_0x2627e2)[_0x105d91(0xc7)])return;const _0x8e8f57=_0x4ae146[_0x105d91(0xeb)],_0x2f315c=this[_0x105d91(0xf8)][_0x105d91(0xcf)](_0x8e8f57['id'])||this[_0x105d91(0xd1)](_0x8e8f57),_0x31bc49=Object[_0x105d91(0xf7)]({},_0x4ae146,{'user':_0x2f315c});this[_0x105d91(0xe1)][_0x105d91(0xf0)](_0x5c6f0d)[_0x105d91(0xd3)](_0x31bc49);const _0x182321=this[_0x105d91(0xc2)][_0x105d91(0xf0)](_0x5c6f0d);_0x182321[_0x105d91(0xe8)](_0x2f315c['id'])||_0x182321[_0x105d91(0xd3)](_0x2f315c),this[_0x105d91(0xe4)][_0x105d91(0xe8)](_0x2f315c['id'])||this[_0x105d91(0xe4)][_0x105d91(0xd3)](_0x2f315c,_0x2f315c[_0x105d91(0xdc)]?0x0:void 0x0),this[_0x105d91(0xf4)](_0x105d91(0xf1)+_0x5c6f0d,{'channelId':_0x5c6f0d,'session':_0x31bc49});}[_0x486c7d(0xd5)](_0x2c3f87,_0x50e86e){const _0x5a89d0=_0x486c7d;if(_0x5a89d0(0xe0)!==this[_0x5a89d0(0xda)][_0x5a89d0(0xe6)][_0x5a89d0(0xf0)](_0x2627e2)[_0x5a89d0(0xc7)])return;const _0x38a3dd=this[_0x5a89d0(0xc2)][_0x5a89d0(0xf0)](_0x2c3f87),_0x3b91b2=_0x50e86e[_0x5a89d0(0xeb)];_0x3b91b2['id']&&(this[_0x5a89d0(0xe1)][_0x5a89d0(0xf0)](_0x2c3f87)[_0x5a89d0(0xdb)](_0x50e86e['id']),_0x38a3dd[_0x5a89d0(0xe8)](_0x3b91b2['id'])&&!this[_0x5a89d0(0xe5)](_0x3b91b2,_0x2c3f87)[_0x5a89d0(0xd2)]&&_0x38a3dd[_0x5a89d0(0xdb)](_0x3b91b2['id']),this[_0x5a89d0(0xe4)][_0x5a89d0(0xf0)](_0x3b91b2['id'])&&!this[_0x5a89d0(0xe5)](_0x3b91b2)[_0x5a89d0(0xd2)]&&this[_0x5a89d0(0xe4)][_0x5a89d0(0xdb)](_0x3b91b2['id']));}[_0x486c7d(0xd1)](_0x559f1f,_0x540713){const _0x2aca8e=_0x486c7d,_0x22f335=this[_0x2aca8e(0xf8)][_0x2aca8e(0xe9)](_0x559f1f);return _0x540713&&this[_0x2aca8e(0xf8)][_0x2aca8e(0xc8)](_0x559f1f['id']),_0x22f335[_0x2aca8e(0xc3)]=this[_0x2aca8e(0xd9)]++,_0x22f335;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb425=_0x3332;(function(_0x4281f4,_0x274f70){const _0x22c757=_0x3332,_0x47d8e9=_0x4281f4();while(!![]){try{const _0x2cda75=-parseInt(_0x22c757(0xba))/0x1*(parseInt(_0x22c757(0x101))/0x2)+-parseInt(_0x22c757(0x98))/0x3*(parseInt(_0x22c757(0xb6))/0x4)+-parseInt(_0x22c757(0xe0))/0x5*(parseInt(_0x22c757(0xdb))/0x6)+-parseInt(_0x22c757(0xd8))/0x7+parseInt(_0x22c757(0xd7))/0x8+-parseInt(_0x22c757(0xfb))/0x9*(parseInt(_0x22c757(0xab))/0xa)+parseInt(_0x22c757(0xbd))/0xb;if(_0x2cda75===_0x274f70)break;else _0x47d8e9['push'](_0x47d8e9['shift']());}catch(_0x108090){_0x47d8e9['push'](_0x47d8e9['shift']());}}}(_0x48ab,0x6e89a));function _0x48ab(){const _0x135671=['markerToElement','applyOperation','mouseenter','size','add','editor','markerToHighlight','Escape','stopListening','document','isLimit','ck-user__marker\x20','UserMarkers','user:range','change','getFirstRange','140goehQo','has','get','editingDowncast','start','batch','toRange','getCustomProperty','ck-user__marker_hovered','getRange','for','439356xWeeDO','selection','enqueueChange','init','1009OwECGq','user:range:','ck-user__selection','26448312ozXLUo','setCustomProperty','addMarker','mouseleave','color','user:position:','getUserBySessionId','set','fromRange','render','change:range','rootName','oldRange','createUserMarkerOperations','createElement','name','removeMarker','createRange','getNearestSelectionRange','editing','mapper','isInline','getMarkerClass','user:position','element','span','3481928YLnipU','3085271NzPdiB','hasDomSelection','clear','6hOFGcU','schema','toDomElement','ck-user__marker-tooltip','startsWith','4358590TEwmvv','destroy','_createdBatches','view','delete','$graveyard','pluginName','addEventListener','markerNameToElements','isDocumentOperation','false','isCollapsed','_domEmitter','newRange','nodeAfter','root','user:','userPositionMarker','requires','marker','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','reconvertMarker','isObject','createUIElement','mySessionId','split','classList','454671QFokvV','conversion','model','update:user:range','isOfficialPlugin','commands','510cwwDDX','contenteditable','updateMarker','remove','deletionPosition','getStart','orderNumber','data-session-id','type','innerHTML','plugins','removeClass','$text','highest','spellcheck','isSimilar','keydown','textContent','getAttribute','checkChild','hasContent','isPremiumPlugin','getSelectionClass','parent','getContainedElement','setAttribute','getPositions','undo','markerRange','tableCell','detach','markers','end','listenTo','afterInit','3oeCWWK','markerName','outerHTML'];_0x48ab=function(){return _0x135671;};return _0x48ab();}import{Plugin as _0x17bd42}from'ckeditor5/src/core.js';import{global as _0x4de3d9,DomEmitterMixin as _0x4da6f1}from'ckeditor5/src/utils.js';import{Sessions as _0x14faa7}from'./sessions.js';import{ModelLiveRange as _0x38ded7}from'ckeditor5/src/engine.js';function _0x3332(_0x1ad65b,_0x1fa3c5){const _0x48ab94=_0x48ab();return _0x3332=function(_0x3332de,_0x2a9964){_0x3332de=_0x3332de-0x8d;let _0x341176=_0x48ab94[_0x3332de];return _0x341176;},_0x3332(_0x1ad65b,_0x1fa3c5);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x17bd42{[_0xb425(0xec)]=new(_0x4da6f1())();static get[_0xb425(0xf2)](){return[_0x14faa7];}static get[_0xb425(0xe6)](){const _0x5339d7=_0xb425;return _0x5339d7(0xa7);}static get[_0xb425(0xff)](){return!0x0;}static get[_0xb425(0x116)](){return!0x0;}[_0xb425(0xb9)](){const _0xd57f09=_0xb425,_0x2b3c6a=this[_0xd57f09(0xa0)],_0xd6f8de=_0x2b3c6a[_0xd57f09(0x10b)][_0xd57f09(0xad)](_0x14faa7);_0x2b3c6a[_0xd57f09(0xfc)][_0xd57f09(0xb5)](_0xd57f09(0xae))[_0xd57f09(0x9b)]({'model':_0xd57f09(0xd4),'view':(_0x3439e5,{writer:_0x1e7ce9})=>function(_0x8b1d93,_0x190170,_0x57d2b9,_0xd2f129){const _0x2f6a71=_0xd57f09,_0xf18b9a=_0x8b1d93[_0x2f6a71(0x99)][_0x2f6a71(0xf9)](':')[0x2],_0x28ac99=_0x57d2b9[_0x2f6a71(0xc3)](_0xf18b9a);if(!_0x28ac99||_0xf18b9a===_0x57d2b9[_0x2f6a71(0xf8)])return;if(!_0xd2f129[_0x2f6a71(0xfd)][_0x2f6a71(0xdc)][_0x2f6a71(0x114)](_0x8b1d93[_0x2f6a71(0x91)][_0x2f6a71(0xaf)],_0x2f6a71(0x10d)))return;const _0x54f1fe={'class':_0x2f6a71(0xa6)+_0x28ac99[_0x2f6a71(0xc1)][_0x2f6a71(0xd3)](),'data-name':_0x28ac99[_0x2f6a71(0xcc)],'data-session-id':_0xf18b9a},_0x395abc=_0xd2f129[_0x2f6a71(0xfd)][_0x2f6a71(0x94)][_0x2f6a71(0xad)](_0x8b1d93[_0x2f6a71(0x99)]),_0xcda499=_0x395abc[_0x2f6a71(0x106)](),_0x57efef=_0xcda499[_0x2f6a71(0xee)],_0x90e740=_0xd2f129[_0x2f6a71(0xfd)][_0x2f6a71(0xdc)];if(_0x57efef&&_0x90e740[_0x2f6a71(0xf6)](_0x57efef)&&_0x90e740[_0x2f6a71(0xd2)](_0x57efef)&&!_0xd2f129[_0x2f6a71(0xfd)][_0x2f6a71(0x94)][_0x2f6a71(0xad)](_0x2f6a71(0xbb)+_0xf18b9a)[_0x2f6a71(0xb4)]()[_0x2f6a71(0xeb)])return;const _0x346f5f=_0xcda499[_0x2f6a71(0x118)];return _0xd2f129[_0x2f6a71(0xfd)][_0x2f6a71(0xdc)][_0x2f6a71(0xa5)](_0x346f5f)&&!_0xd2f129[_0x2f6a71(0xfd)][_0x2f6a71(0x115)](_0x346f5f)&&(_0x54f1fe[_0x2f6a71(0x102)]=!0x1),function(_0x26e544,_0x40864e,_0x5807de){const _0xe693e1=_0x2f6a71,_0x3cdcbf=_0x26e544[_0xe693e1(0xf7)](_0xe693e1(0xd6),_0x40864e);return _0x26e544[_0xe693e1(0xbe)](_0xe693e1(0xf1),!0x0,_0x3cdcbf),_0x3cdcbf[_0xe693e1(0xc6)]=function(_0x580df3){const _0x57a96f=_0xe693e1,_0x376515=this[_0x57a96f(0xdd)](_0x580df3),_0x53ba2f=document[_0x57a96f(0xcb)](_0x57a96f(0xd6));return _0x53ba2f[_0x57a96f(0xfa)][_0x57a96f(0x9f)](_0x57a96f(0xde)),_0x53ba2f[_0x57a96f(0x8e)](_0x57a96f(0x102),_0x57a96f(0xea)),_0x53ba2f[_0x57a96f(0x8e)](_0x57a96f(0x10f),_0x57a96f(0xea)),_0x53ba2f[_0x57a96f(0x112)]=_0x5807de[_0x57a96f(0xcc)],_0x376515[_0x57a96f(0x10a)]=_0x57a96f(0xf4)+_0x53ba2f[_0x57a96f(0x9a)]+'⁠',_0x376515[_0x57a96f(0xe7)](_0x57a96f(0x9d),()=>{const _0x1e5c91=_0x57a96f;_0x376515[_0x1e5c91(0xfa)][_0x1e5c91(0x9f)](_0x1e5c91(0xb3));}),_0x376515[_0x57a96f(0xe7)](_0x57a96f(0xc0),()=>{const _0x45086a=_0x57a96f;_0x376515[_0x45086a(0xfa)][_0x45086a(0x104)](_0x45086a(0xb3));}),_0x376515;},_0x3cdcbf[_0xe693e1(0x110)]=function(_0x4f627f){const _0x507099=_0xe693e1;return!(!this[_0x507099(0xb2)](_0x507099(0xf1))||!_0x4f627f[_0x507099(0xb2)](_0x507099(0xf1))||this[_0x507099(0x113)](_0x507099(0x108))!=_0x4f627f[_0x507099(0x113)](_0x507099(0x108)));},_0x3cdcbf;}(_0x190170,_0x54f1fe,_0x28ac99);}(_0x3439e5,_0x1e7ce9,_0xd6f8de,_0x2b3c6a)}),_0x2b3c6a[_0xd57f09(0xfc)][_0xd57f09(0xb5)](_0xd57f09(0xae))[_0xd57f09(0xa1)]({'model':_0xd57f09(0xa8),'view':_0x294443=>function(_0x5c2cbc,_0x5a37f5){const _0x48938c=_0xd57f09,_0x3917e0=_0x5c2cbc[_0x48938c(0x99)][_0x48938c(0xf9)](':')[0x2];if(_0x3917e0===_0x5a37f5[_0x48938c(0xf8)])return null;const _0x46854b=_0x5a37f5[_0x48938c(0xc3)](_0x3917e0);if(!_0x46854b)return{'id':_0x3917e0,'classes':[]};return{'id':_0x3917e0,'classes':[_0x48938c(0xbc),_0x46854b[_0x48938c(0xc1)][_0x48938c(0x117)]()],'attributes':{'data-session-id':_0x3917e0},'priority':0x7d0+_0x46854b[_0x48938c(0x107)]};}(_0x294443,_0xd6f8de)}),function(_0x459340){const _0x37bfb6=_0xd57f09,_0x297ec5=_0x459340[_0x37bfb6(0xfd)],_0x285028=new Map(),_0x285cb4=_0x459340[_0x37bfb6(0x10b)][_0x37bfb6(0xad)](_0x14faa7);_0x297ec5[_0x37bfb6(0x94)]['on'](_0x37bfb6(0xfe),(_0x5736b0,_0x58337c,_0x2ebe42,_0x57a768)=>{const _0x40fda2=_0x37bfb6;if(!_0x57a768&&_0x285028[_0x40fda2(0xad)](_0x58337c[_0x40fda2(0xcc)]))return _0x285028[_0x40fda2(0xad)](_0x58337c[_0x40fda2(0xcc)])[_0x40fda2(0x93)](),void _0x285028[_0x40fda2(0xe4)](_0x58337c[_0x40fda2(0xcc)]);const _0x33214c=_0x58337c[_0x40fda2(0xcc)][_0x40fda2(0xf9)](':')[0x2];if(_0x33214c===_0x285cb4[_0x40fda2(0xf8)])return;const _0x2054d0=_0x40fda2(0xc2)+_0x33214c;_0x297ec5[_0x40fda2(0x94)][_0x40fda2(0xac)](_0x2054d0)&&_0x459340[_0x40fda2(0xd0)][_0x40fda2(0xf5)](_0x2054d0),_0x58337c['on'](_0x40fda2(0xc7),(_0x3897c0,_0x40fb05,_0x4e80d3)=>{const _0x3cd595=_0x40fda2;if(_0x3cd595(0xe5)!=_0x40fb05[_0x3cd595(0xef)][_0x3cd595(0xc8)]&&_0x3cd595(0xe5)==_0x58337c[_0x3cd595(0xb4)]()[_0x3cd595(0xef)][_0x3cd595(0xc8)]&&!_0x285028[_0x3cd595(0xac)](_0x58337c[_0x3cd595(0xcc)])){const _0x150e2e=_0x297ec5[_0x3cd595(0xdc)][_0x3cd595(0xcf)](_0x4e80d3[_0x3cd595(0x105)]);if(_0x150e2e){const _0x1aca1b=_0x38ded7[_0x3cd595(0xc5)](_0x150e2e);_0x285028[_0x3cd595(0xc4)](_0x58337c[_0x3cd595(0xcc)],_0x1aca1b),_0x1aca1b['on'](_0x3cd595(0xc7),(_0x56165c,_0x66030e,_0x454221)=>{const _0x37b731=_0x3cd595;if(_0x37b731(0xe5)==_0x1aca1b[_0x37b731(0xef)][_0x37b731(0xc8)]){const _0x48d365=_0x297ec5[_0x37b731(0xdc)][_0x37b731(0xcf)](_0x454221[_0x37b731(0x105)]);_0x48d365?(_0x1aca1b[_0x37b731(0xaf)]=_0x48d365[_0x37b731(0xaf)],_0x1aca1b[_0x37b731(0x95)]=_0x48d365[_0x37b731(0x95)]):(_0x285028[_0x37b731(0xe4)](_0x58337c[_0x37b731(0xcc)]),_0x1aca1b[_0x37b731(0x93)]());}});}}});}),_0x297ec5[_0x37bfb6(0xa4)]['on'](_0x37bfb6(0xa9),()=>{const _0x182968=_0x37bfb6;_0x285028[_0x182968(0x9e)]>0x0&&_0x297ec5[_0x182968(0xb8)]({'isUndoable':!0x1},_0x5cdc8d=>{const _0x5582a1=_0x182968;for(const [_0x361d3a,_0x50b16b]of _0x285028)_0x5582a1(0xe5)==_0x297ec5[_0x5582a1(0x94)][_0x5582a1(0xad)](_0x361d3a)[_0x5582a1(0xb4)]()[_0x5582a1(0xef)][_0x5582a1(0xc8)]&&(Z(_0x361d3a[_0x5582a1(0xf9)](':')[0x2],_0x50b16b[_0x5582a1(0xb1)](),_0x297ec5,_0x5cdc8d),_0x50b16b[_0x5582a1(0x93)]());_0x285028[_0x5582a1(0xda)]();});});}(_0x2b3c6a),this[_0xd57f09(0xec)][_0xd57f09(0x96)](_0x4de3d9[_0xd57f09(0xa4)],_0xd57f09(0x111),(_0x4b37aa,{key:_0x1f3a27})=>{const _0x1d9e09=_0xd57f09;_0x1d9e09(0xa2)===_0x1f3a27&&function(_0x184628){const _0x198e99=_0x1d9e09;_0x184628[_0x198e99(0xd0)][_0x198e99(0xe3)][_0x198e99(0xa9)](_0x5f471a=>{const _0x4a63d1=_0x198e99;for(const _0x1eb798 of _0x184628[_0x4a63d1(0xfd)][_0x4a63d1(0x94)]){if(!_0x1eb798[_0x4a63d1(0xcc)][_0x4a63d1(0xdf)](_0x4a63d1(0xd4)))continue;const _0x5eb722=_0x184628[_0x4a63d1(0xd0)][_0x4a63d1(0xd1)][_0x4a63d1(0xe8)](_0x1eb798[_0x4a63d1(0xcc)]);if(_0x5eb722){for(const _0x5c4ca3 of _0x5eb722)_0x5f471a[_0x4a63d1(0x10c)](_0x4a63d1(0xb3),_0x5c4ca3);}}});}(_0x2b3c6a);},{'useCapture':!0x0});}[_0xb425(0x97)](){const _0x5a3458=_0xb425,_0xd81ddd=this[_0x5a3458(0xa0)],_0x6b160b=_0xd81ddd[_0x5a3458(0x100)][_0x5a3458(0xad)](_0x5a3458(0x90));_0x6b160b&&_0xd81ddd[_0x5a3458(0xfd)]['on'](_0x5a3458(0x9c),(_0x42114e,_0x3209e7)=>{const _0x68c238=_0x5a3458,_0x31b0bf=_0x3209e7[0x0];if(!_0x31b0bf[_0x68c238(0xe9)])return;if(_0x68c238(0xf3)!=_0x31b0bf[_0x68c238(0x109)]||!_0x31b0bf[_0x68c238(0xcc)][_0x68c238(0xdf)](_0x68c238(0xf0)))return;const _0x4a53e9=_0x31b0bf[_0x68c238(0xb0)];_0x6b160b[_0x68c238(0xe2)][_0x68c238(0xac)](_0x4a53e9)&&(_0x31b0bf[_0x68c238(0xed)]=_0x31b0bf[_0x68c238(0xc9)]?_0xd81ddd[_0x68c238(0xfd)][_0x68c238(0xce)](_0x31b0bf[_0x68c238(0xc9)][_0x68c238(0xaf)],_0x31b0bf[_0x68c238(0xc9)][_0x68c238(0x95)]):null);},{'priority':_0x5a3458(0x10e)});}[_0xb425(0xe1)](){const _0x56f586=_0xb425;return this[_0x56f586(0xec)][_0x56f586(0xa3)](),super[_0x56f586(0xe1)]();}[_0xb425(0xca)](){const _0x3ae413=_0xb425,_0x1c7ff0=this[_0x3ae413(0xa0)],_0x9a1ca6=_0x1c7ff0[_0x3ae413(0xfd)][_0x3ae413(0xa4)],_0xd2a5e8=_0x1c7ff0[_0x3ae413(0x10b)][_0x3ae413(0xad)](_0x14faa7);_0x1c7ff0[_0x3ae413(0xfd)][_0x3ae413(0xb8)]({'isUndoable':!0x1},_0x16ccf6=>{const _0x49b278=_0x3ae413,_0x2a9e9b=_0x49b278(0xbb)+_0xd2a5e8[_0x49b278(0xf8)],_0x482631=_0x49b278(0xc2)+_0xd2a5e8[_0x49b278(0xf8)],_0x4832dc=_0x1c7ff0[_0x49b278(0xfd)][_0x49b278(0x94)][_0x49b278(0xac)](_0x2a9e9b);_0x1c7ff0[_0x49b278(0xd0)][_0x49b278(0xe3)][_0x49b278(0xd9)]?Z(_0xd2a5e8[_0x49b278(0xf8)],_0x9a1ca6[_0x49b278(0xb7)][_0x49b278(0xaa)](),_0x1c7ff0[_0x49b278(0xfd)],_0x16ccf6):_0x4832dc&&(_0x16ccf6[_0x49b278(0xcd)](_0x2a9e9b),_0x16ccf6[_0x49b278(0xcd)](_0x482631));});}}function Z(_0x2fc1cb,_0x622ac4,_0x29ee1c,_0x5e7730){const _0x4ef4c9=_0xb425,_0x5f5347=_0x4ef4c9(0xbb)+_0x2fc1cb,_0x1e9096=_0x4ef4c9(0xc2)+_0x2fc1cb,_0x13ad6b=_0x622ac4[_0x4ef4c9(0x8d)]();let _0x4938eb=_0x622ac4[_0x4ef4c9(0xaf)];if(_0x13ad6b&&_0x13ad6b['is'](_0x4ef4c9(0xd5),_0x4ef4c9(0x92))){const _0x25e5cd=function(_0xb33380,_0x305b4b){const _0x4a0846=_0x4ef4c9;for(const _0x4b3ef1 of _0xb33380[_0x4a0846(0x8f)]())if(_0x305b4b[_0x4a0846(0xdc)][_0x4a0846(0x114)](_0x4b3ef1,_0x4a0846(0x10d)))return _0x4b3ef1;}(_0x622ac4,_0x29ee1c);_0x25e5cd&&(_0x4938eb=_0x25e5cd,_0x622ac4=_0x5e7730[_0x4ef4c9(0xce)](_0x4938eb));}const _0x5b1a92=_0x5e7730[_0x4ef4c9(0xce)](_0x4938eb);_0x29ee1c[_0x4ef4c9(0x94)][_0x4ef4c9(0xac)](_0x5f5347)?(_0x5e7730[_0x4ef4c9(0x103)](_0x5f5347,{'range':_0x622ac4}),_0x5e7730[_0x4ef4c9(0x103)](_0x1e9096,{'range':_0x5b1a92})):(_0x5e7730[_0x4ef4c9(0xbf)](_0x5f5347,{'range':_0x622ac4,'usingOperation':!0x0}),_0x5e7730[_0x4ef4c9(0xbf)](_0x1e9096,{'range':_0x5b1a92,'usingOperation':!0x0}));}
23
+ function _0x1b99(){const _0x3f6610=['markerToHighlight','update:user:range','327990zKLjwh','isCollapsed','remove','tableCell','name','mySessionId','getPositions','markers','isLimit','markerRange','isDocumentOperation','oldRange','listenTo','getCustomProperty','user:','mapper','size','innerHTML','createUIElement','ck-user__marker\x20','hasContent','editor','enqueueChange','stopListening','color','isInline','setAttribute','600028izKICG','mouseenter','fromRange','selection','highest','mouseleave','type','removeClass','_createdBatches','set','getFirstRange','orderNumber','requires','getSelectionClass','2220NVKECs','6qMOeSl','ck-user__marker-tooltip','document','9416GUXUvK','markerToElement','isPremiumPlugin','conversion','removeMarker','$text','marker','end','keydown','textContent','add','1916925UVIHlb','reconvertMarker','split','for','setCustomProperty','markerNameToElements','detach','deletionPosition','startsWith','hasDomSelection','_domEmitter','getNearestSelectionRange','model','updateMarker','getMarkerClass','root','classList','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','batch','afterInit','editing','isSimilar','147585CeySaN','isObject','pluginName','isOfficialPlugin','6ACxNGv','init','change:range','delete','element','parent','user:range','plugins','contenteditable','schema','view','userPositionMarker','addMarker','addEventListener','getStart','undo','nodeAfter','has','getUserBySessionId','18CvauMj','span','6486312RYSZyD','getContainedElement','ck-user__selection','render','destroy','commands','getRange','start','get','clear','createElement','createUserMarkerOperations','$graveyard','spellcheck','getAttribute','toRange','UserMarkers','createRange','false','outerHTML','user:range:','checkChild','applyOperation','toDomElement','data-session-id','newRange','markerName','user:position:','ck-user__marker_hovered','rootName','user:position','editingDowncast','7070248UkquVO','change','Escape'];_0x1b99=function(){return _0x3f6610;};return _0x1b99();}const _0x415507=_0x5523;(function(_0x1ab840,_0x306bb7){const _0x11c7cc=_0x5523,_0x449847=_0x1ab840();while(!![]){try{const _0x12b234=parseInt(_0x11c7cc(0x215))/0x1+parseInt(_0x11c7cc(0x1b3))/0x2*(parseInt(_0x11c7cc(0x1d7))/0x3)+parseInt(_0x11c7cc(0x1a4))/0x4+-parseInt(_0x11c7cc(0x1c1))/0x5+parseInt(_0x11c7cc(0x1db))/0x6*(-parseInt(_0x11c7cc(0x1f0))/0x7)+-parseInt(_0x11c7cc(0x210))/0x8*(-parseInt(_0x11c7cc(0x1ee))/0x9)+-parseInt(_0x11c7cc(0x1b2))/0xa*(parseInt(_0x11c7cc(0x1b6))/0xb);if(_0x12b234===_0x306bb7)break;else _0x449847['push'](_0x449847['shift']());}catch(_0x1b0295){_0x449847['push'](_0x449847['shift']());}}}(_0x1b99,0xda0b7));import{Plugin as _0x39a480}from'ckeditor5/src/core.js';import{global as _0x563d8f,DomEmitterMixin as _0x1ebc40}from'ckeditor5/src/utils.js';import{Sessions as _0x9b4e7f}from'./sessions.js';import{ModelLiveRange as _0x464264}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x5523(_0x285302,_0x3e8030){const _0x1b9949=_0x1b99();return _0x5523=function(_0x552307,_0x32b6a2){_0x552307=_0x552307-0x18b;let _0x50123d=_0x1b9949[_0x552307];return _0x50123d;},_0x5523(_0x285302,_0x3e8030);}export class UserMarkers extends _0x39a480{[_0x415507(0x1cb)]=new(_0x1ebc40())();static get[_0x415507(0x1b0)](){return[_0x9b4e7f];}static get[_0x415507(0x1d9)](){const _0x357737=_0x415507;return _0x357737(0x200);}static get[_0x415507(0x1da)](){return!0x0;}static get[_0x415507(0x1b8)](){return!0x0;}[_0x415507(0x1dc)](){const _0xbdacf4=_0x415507,_0x36cc79=this[_0xbdacf4(0x19e)],_0x1ec1a1=_0x36cc79[_0xbdacf4(0x1e2)][_0xbdacf4(0x1f8)](_0x9b4e7f);_0x36cc79[_0xbdacf4(0x1b9)][_0xbdacf4(0x1c4)](_0xbdacf4(0x20f))[_0xbdacf4(0x1b7)]({'model':_0xbdacf4(0x20e),'view':(_0xb13797,{writer:_0x5d4123})=>function(_0xb83b0a,_0x2ef077,_0x242794,_0x460dc9){const _0x98b15f=_0xbdacf4,_0x56a7f5=_0xb83b0a[_0x98b15f(0x20a)][_0x98b15f(0x1c3)](':')[0x2],_0x3c3675=_0x242794[_0x98b15f(0x1ed)](_0x56a7f5);if(!_0x3c3675||_0x56a7f5===_0x242794[_0x98b15f(0x18e)])return;if(!_0x460dc9[_0x98b15f(0x1cd)][_0x98b15f(0x1e4)][_0x98b15f(0x205)](_0xb83b0a[_0x98b15f(0x192)][_0x98b15f(0x1f7)],_0x98b15f(0x1bb)))return;const _0x37b5a0={'class':_0x98b15f(0x19c)+_0x3c3675[_0x98b15f(0x1a1)][_0x98b15f(0x1cf)](),'data-name':_0x3c3675[_0x98b15f(0x18d)],'data-session-id':_0x56a7f5},_0x1de6c8=_0x460dc9[_0x98b15f(0x1cd)][_0x98b15f(0x190)][_0x98b15f(0x1f8)](_0xb83b0a[_0x98b15f(0x20a)]),_0x4439d6=_0x1de6c8[_0x98b15f(0x1e9)](),_0x4a41e1=_0x4439d6[_0x98b15f(0x1eb)],_0x992044=_0x460dc9[_0x98b15f(0x1cd)][_0x98b15f(0x1e4)];if(_0x4a41e1&&_0x992044[_0x98b15f(0x1d8)](_0x4a41e1)&&_0x992044[_0x98b15f(0x1a2)](_0x4a41e1)&&!_0x460dc9[_0x98b15f(0x1cd)][_0x98b15f(0x190)][_0x98b15f(0x1f8)](_0x98b15f(0x204)+_0x56a7f5)[_0x98b15f(0x1f6)]()[_0x98b15f(0x216)])return;const _0x29f6c5=_0x4439d6[_0x98b15f(0x1e0)];return _0x460dc9[_0x98b15f(0x1cd)][_0x98b15f(0x1e4)][_0x98b15f(0x191)](_0x29f6c5)&&!_0x460dc9[_0x98b15f(0x1cd)][_0x98b15f(0x19d)](_0x29f6c5)&&(_0x37b5a0[_0x98b15f(0x1e3)]=!0x1),function(_0x27b795,_0x2d422b,_0x3e23bf){const _0x26012a=_0x98b15f,_0x7edfe1=_0x27b795[_0x26012a(0x19b)](_0x26012a(0x1ef),_0x2d422b);return _0x27b795[_0x26012a(0x1c5)](_0x26012a(0x1e6),!0x0,_0x7edfe1),_0x7edfe1[_0x26012a(0x1f3)]=function(_0x3e65ae){const _0x23a5cc=_0x26012a,_0x596cdc=this[_0x23a5cc(0x207)](_0x3e65ae),_0x1e1ed0=document[_0x23a5cc(0x1fa)](_0x23a5cc(0x1ef));return _0x1e1ed0[_0x23a5cc(0x1d1)][_0x23a5cc(0x1c0)](_0x23a5cc(0x1b4)),_0x1e1ed0[_0x23a5cc(0x1a3)](_0x23a5cc(0x1e3),_0x23a5cc(0x202)),_0x1e1ed0[_0x23a5cc(0x1a3)](_0x23a5cc(0x1fd),_0x23a5cc(0x202)),_0x1e1ed0[_0x23a5cc(0x1bf)]=_0x3e23bf[_0x23a5cc(0x18d)],_0x596cdc[_0x23a5cc(0x19a)]=_0x23a5cc(0x1d2)+_0x1e1ed0[_0x23a5cc(0x203)]+'⁠',_0x596cdc[_0x23a5cc(0x1e8)](_0x23a5cc(0x1a5),()=>{const _0x4739fc=_0x23a5cc;_0x596cdc[_0x4739fc(0x1d1)][_0x4739fc(0x1c0)](_0x4739fc(0x20c));}),_0x596cdc[_0x23a5cc(0x1e8)](_0x23a5cc(0x1a9),()=>{const _0x24a3bb=_0x23a5cc;_0x596cdc[_0x24a3bb(0x1d1)][_0x24a3bb(0x18b)](_0x24a3bb(0x20c));}),_0x596cdc;},_0x7edfe1[_0x26012a(0x1d6)]=function(_0x186fc7){const _0x18aac3=_0x26012a;return!(!this[_0x18aac3(0x196)](_0x18aac3(0x1e6))||!_0x186fc7[_0x18aac3(0x196)](_0x18aac3(0x1e6))||this[_0x18aac3(0x1fe)](_0x18aac3(0x208))!=_0x186fc7[_0x18aac3(0x1fe)](_0x18aac3(0x208)));},_0x7edfe1;}(_0x2ef077,_0x37b5a0,_0x3c3675);}(_0xb13797,_0x5d4123,_0x1ec1a1,_0x36cc79)}),_0x36cc79[_0xbdacf4(0x1b9)][_0xbdacf4(0x1c4)](_0xbdacf4(0x20f))[_0xbdacf4(0x213)]({'model':_0xbdacf4(0x1e1),'view':_0x20613d=>function(_0x46e797,_0x32691b){const _0x5389c3=_0xbdacf4,_0x401da6=_0x46e797[_0x5389c3(0x20a)][_0x5389c3(0x1c3)](':')[0x2];if(_0x401da6===_0x32691b[_0x5389c3(0x18e)])return null;const _0x482bff=_0x32691b[_0x5389c3(0x1ed)](_0x401da6);if(!_0x482bff)return{'id':_0x401da6,'classes':[]};return{'id':_0x401da6,'classes':[_0x5389c3(0x1f2),_0x482bff[_0x5389c3(0x1a1)][_0x5389c3(0x1b1)]()],'attributes':{'data-session-id':_0x401da6},'priority':0x7d0+_0x482bff[_0x5389c3(0x1af)]};}(_0x20613d,_0x1ec1a1)}),function(_0x5d5a1d){const _0x5bf1c9=_0xbdacf4,_0xfe4b44=_0x5d5a1d[_0x5bf1c9(0x1cd)],_0x167ea4=new Map(),_0x44a296=_0x5d5a1d[_0x5bf1c9(0x1e2)][_0x5bf1c9(0x1f8)](_0x9b4e7f);_0xfe4b44[_0x5bf1c9(0x190)]['on'](_0x5bf1c9(0x214),(_0xbcd540,_0x98557,_0x28e436,_0x5589ce)=>{const _0x236c7d=_0x5bf1c9;if(!_0x5589ce&&_0x167ea4[_0x236c7d(0x1f8)](_0x98557[_0x236c7d(0x18d)]))return _0x167ea4[_0x236c7d(0x1f8)](_0x98557[_0x236c7d(0x18d)])[_0x236c7d(0x1c7)](),void _0x167ea4[_0x236c7d(0x1de)](_0x98557[_0x236c7d(0x18d)]);const _0x251501=_0x98557[_0x236c7d(0x18d)][_0x236c7d(0x1c3)](':')[0x2];if(_0x251501===_0x44a296[_0x236c7d(0x18e)])return;const _0x3dbc96=_0x236c7d(0x20b)+_0x251501;_0xfe4b44[_0x236c7d(0x190)][_0x236c7d(0x1ec)](_0x3dbc96)&&_0x5d5a1d[_0x236c7d(0x1d5)][_0x236c7d(0x1c2)](_0x3dbc96),_0x98557['on'](_0x236c7d(0x1dd),(_0x3f743d,_0x16d7dd,_0x4b9d8a)=>{const _0x4f3e64=_0x236c7d;if(_0x4f3e64(0x1fc)!=_0x16d7dd[_0x4f3e64(0x1d0)][_0x4f3e64(0x20d)]&&_0x4f3e64(0x1fc)==_0x98557[_0x4f3e64(0x1f6)]()[_0x4f3e64(0x1d0)][_0x4f3e64(0x20d)]&&!_0x167ea4[_0x4f3e64(0x1ec)](_0x98557[_0x4f3e64(0x18d)])){const _0x422f08=_0xfe4b44[_0x4f3e64(0x1e4)][_0x4f3e64(0x1cc)](_0x4b9d8a[_0x4f3e64(0x1c8)]);if(_0x422f08){const _0x1603c9=_0x464264[_0x4f3e64(0x1a6)](_0x422f08);_0x167ea4[_0x4f3e64(0x1ad)](_0x98557[_0x4f3e64(0x18d)],_0x1603c9),_0x1603c9['on'](_0x4f3e64(0x1dd),(_0x44d17e,_0x4d666b,_0x48b721)=>{const _0x29972a=_0x4f3e64;if(_0x29972a(0x1fc)==_0x1603c9[_0x29972a(0x1d0)][_0x29972a(0x20d)]){const _0x4212eb=_0xfe4b44[_0x29972a(0x1e4)][_0x29972a(0x1cc)](_0x48b721[_0x29972a(0x1c8)]);_0x4212eb?(_0x1603c9[_0x29972a(0x1f7)]=_0x4212eb[_0x29972a(0x1f7)],_0x1603c9[_0x29972a(0x1bd)]=_0x4212eb[_0x29972a(0x1bd)]):(_0x167ea4[_0x29972a(0x1de)](_0x98557[_0x29972a(0x18d)]),_0x1603c9[_0x29972a(0x1c7)]());}});}}});}),_0xfe4b44[_0x5bf1c9(0x1b5)]['on'](_0x5bf1c9(0x211),()=>{const _0x47a3dd=_0x5bf1c9;_0x167ea4[_0x47a3dd(0x199)]>0x0&&_0xfe4b44[_0x47a3dd(0x19f)]({'isUndoable':!0x1},_0x48263c=>{const _0x537639=_0x47a3dd;for(const [_0xfe1f93,_0x181b63]of _0x167ea4)_0x537639(0x1fc)==_0xfe4b44[_0x537639(0x190)][_0x537639(0x1f8)](_0xfe1f93)[_0x537639(0x1f6)]()[_0x537639(0x1d0)][_0x537639(0x20d)]&&(Z(_0xfe1f93[_0x537639(0x1c3)](':')[0x2],_0x181b63[_0x537639(0x1ff)](),_0xfe4b44,_0x48263c),_0x181b63[_0x537639(0x1c7)]());_0x167ea4[_0x537639(0x1f9)]();});});}(_0x36cc79),this[_0xbdacf4(0x1cb)][_0xbdacf4(0x195)](_0x563d8f[_0xbdacf4(0x1b5)],_0xbdacf4(0x1be),(_0x154b7d,{key:_0x2f1736})=>{const _0x4857e9=_0xbdacf4;_0x4857e9(0x212)===_0x2f1736&&function(_0x32eb85){const _0x3608db=_0x4857e9;_0x32eb85[_0x3608db(0x1d5)][_0x3608db(0x1e5)][_0x3608db(0x211)](_0x24f24e=>{const _0x3ecc08=_0x3608db;for(const _0x4eee5c of _0x32eb85[_0x3ecc08(0x1cd)][_0x3ecc08(0x190)]){if(!_0x4eee5c[_0x3ecc08(0x18d)][_0x3ecc08(0x1c9)](_0x3ecc08(0x20e)))continue;const _0xa1c7c4=_0x32eb85[_0x3ecc08(0x1d5)][_0x3ecc08(0x198)][_0x3ecc08(0x1c6)](_0x4eee5c[_0x3ecc08(0x18d)]);if(_0xa1c7c4){for(const _0x4f942e of _0xa1c7c4)_0x24f24e[_0x3ecc08(0x1ab)](_0x3ecc08(0x20c),_0x4f942e);}}});}(_0x36cc79);},{'useCapture':!0x0});}[_0x415507(0x1d4)](){const _0x3a289e=_0x415507,_0x3f5a58=this[_0x3a289e(0x19e)],_0x32da60=_0x3f5a58[_0x3a289e(0x1f5)][_0x3a289e(0x1f8)](_0x3a289e(0x1ea));_0x32da60&&_0x3f5a58[_0x3a289e(0x1cd)]['on'](_0x3a289e(0x206),(_0x2bb791,_0x2c3006)=>{const _0x491320=_0x3a289e,_0x41c1f7=_0x2c3006[0x0];if(!_0x41c1f7[_0x491320(0x193)])return;if(_0x491320(0x1bc)!=_0x41c1f7[_0x491320(0x1aa)]||!_0x41c1f7[_0x491320(0x18d)][_0x491320(0x1c9)](_0x491320(0x197)))return;const _0x31178d=_0x41c1f7[_0x491320(0x1d3)];_0x32da60[_0x491320(0x1ac)][_0x491320(0x1ec)](_0x31178d)&&(_0x41c1f7[_0x491320(0x209)]=_0x41c1f7[_0x491320(0x194)]?_0x3f5a58[_0x491320(0x1cd)][_0x491320(0x201)](_0x41c1f7[_0x491320(0x194)][_0x491320(0x1f7)],_0x41c1f7[_0x491320(0x194)][_0x491320(0x1bd)]):null);},{'priority':_0x3a289e(0x1a8)});}[_0x415507(0x1f4)](){const _0x25db28=_0x415507;return this[_0x25db28(0x1cb)][_0x25db28(0x1a0)](),super[_0x25db28(0x1f4)]();}[_0x415507(0x1fb)](){const _0x494b14=_0x415507,_0x30a0f4=this[_0x494b14(0x19e)],_0x430a23=_0x30a0f4[_0x494b14(0x1cd)][_0x494b14(0x1b5)],_0x502b5a=_0x30a0f4[_0x494b14(0x1e2)][_0x494b14(0x1f8)](_0x9b4e7f);_0x30a0f4[_0x494b14(0x1cd)][_0x494b14(0x19f)]({'isUndoable':!0x1},_0x5c56fd=>{const _0x1394bb=_0x494b14,_0x1840b5=_0x1394bb(0x204)+_0x502b5a[_0x1394bb(0x18e)],_0x29cbe9=_0x1394bb(0x20b)+_0x502b5a[_0x1394bb(0x18e)],_0xa16f2c=_0x30a0f4[_0x1394bb(0x1cd)][_0x1394bb(0x190)][_0x1394bb(0x1ec)](_0x1840b5);_0x30a0f4[_0x1394bb(0x1d5)][_0x1394bb(0x1e5)][_0x1394bb(0x1ca)]?Z(_0x502b5a[_0x1394bb(0x18e)],_0x430a23[_0x1394bb(0x1a7)][_0x1394bb(0x1ae)](),_0x30a0f4[_0x1394bb(0x1cd)],_0x5c56fd):_0xa16f2c&&(_0x5c56fd[_0x1394bb(0x1ba)](_0x1840b5),_0x5c56fd[_0x1394bb(0x1ba)](_0x29cbe9));});}}function Z(_0x58b7f5,_0x26aa1e,_0x414c78,_0x4cc20d){const _0x431d36=_0x415507,_0x4ccd65=_0x431d36(0x204)+_0x58b7f5,_0x142d8b=_0x431d36(0x20b)+_0x58b7f5,_0x25c1ec=_0x26aa1e[_0x431d36(0x1f1)]();let _0x24f840=_0x26aa1e[_0x431d36(0x1f7)];if(_0x25c1ec&&_0x25c1ec['is'](_0x431d36(0x1df),_0x431d36(0x18c))){const _0x443e72=function(_0x59c1ba,_0x1b0419){const _0x16351f=_0x431d36;for(const _0x50e82b of _0x59c1ba[_0x16351f(0x18f)]())if(_0x1b0419[_0x16351f(0x1e4)][_0x16351f(0x205)](_0x50e82b,_0x16351f(0x1bb)))return _0x50e82b;}(_0x26aa1e,_0x414c78);_0x443e72&&(_0x24f840=_0x443e72,_0x26aa1e=_0x4cc20d[_0x431d36(0x201)](_0x24f840));}const _0x86d717=_0x4cc20d[_0x431d36(0x201)](_0x24f840);_0x414c78[_0x431d36(0x190)][_0x431d36(0x1ec)](_0x4ccd65)?(_0x4cc20d[_0x431d36(0x1ce)](_0x4ccd65,{'range':_0x26aa1e}),_0x4cc20d[_0x431d36(0x1ce)](_0x142d8b,{'range':_0x86d717})):(_0x4cc20d[_0x431d36(0x1e7)](_0x4ccd65,{'range':_0x26aa1e,'usingOperation':!0x0}),_0x4cc20d[_0x431d36(0x1e7)](_0x142d8b,{'range':_0x86d717,'usingOperation':!0x0}));}