@ckeditor/ckeditor5-real-time-collaboration 47.3.0-alpha.6 → 47.3.0-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18dea7=_0x5e65;(function(_0x1bbc39,_0x57f9ec){const _0xf79e39=_0x5e65,_0x27393b=_0x1bbc39();while(!![]){try{const _0x3b55fa=parseInt(_0xf79e39(0x1e3))/0x1*(-parseInt(_0xf79e39(0x1d8))/0x2)+parseInt(_0xf79e39(0x1c5))/0x3+-parseInt(_0xf79e39(0x1ca))/0x4+parseInt(_0xf79e39(0x1cf))/0x5*(-parseInt(_0xf79e39(0x1d7))/0x6)+parseInt(_0xf79e39(0x1dd))/0x7+parseInt(_0xf79e39(0x1c0))/0x8*(-parseInt(_0xf79e39(0x1e0))/0x9)+parseInt(_0xf79e39(0x1c7))/0xa;if(_0x3b55fa===_0x57f9ec)break;else _0x27393b['push'](_0x27393b['shift']());}catch(_0x2cf60c){_0x27393b['push'](_0x27393b['shift']());}}}(_0xcd2d,0xe2ac4));import{View as _0x4ed450}from'ckeditor5/src/ui.js';function _0x5e65(_0x4c4330,_0x43dad6){const _0xcd2dd8=_0xcd2d();return _0x5e65=function(_0x5e6566,_0x2b3f64){_0x5e6566=_0x5e6566-0x1bf;let _0x52c3fe=_0xcd2dd8[_0x5e6566];return _0x52c3fe;},_0x5e65(_0x4c4330,_0x43dad6);}import{KeystrokeHandler as _0x3ae08e}from'ckeditor5/src/utils.js';import{getTranslation as _0x1c5241}from'../../common-translations.js';export class PresenceInlineListView extends _0x4ed450{[_0x18dea7(0x1c6)];[_0x18dea7(0x1e1)];constructor(_0x25e688){const _0x1f6035=_0x18dea7;super(_0x25e688);const _0x31b3df=this[_0x1f6035(0x1c8)];this[_0x1f6035(0x1c6)]=this[_0x1f6035(0x1d9)](),this[_0x1f6035(0x1e1)]=new _0x3ae08e(),this[_0x1f6035(0x1e2)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x1f6035(0x1de)]({'tag':_0x1f6035(0x1dc),'attributes':{'aria-haspopup':_0x31b3df['if'](_0x1f6035(0x1d6)),'aria-expanded':_0x31b3df['to'](_0x1f6035(0x1d1),_0x4e8581=>this[_0x1f6035(0x1d6)]&&String(_0x4e8581)),'aria-label':_0x31b3df['to'](_0x1f6035(0x1d6),_0x5b9c3f=>_0x1c5241(_0x25e688,_0x5b9c3f?_0x1f6035(0x1d2):_0x1f6035(0x1da))),'role':_0x1f6035(0x1c3),'tabindex':_0x31b3df['to'](_0x1f6035(0x1d6),_0xd6f0d9=>!!_0xd6f0d9&&0x0),'class':['ck',_0x1f6035(0x1d5)]},'children':this[_0x1f6035(0x1c6)],'on':{'mouseenter':_0x31b3df['to'](()=>this[_0x1f6035(0x1c2)](_0x1f6035(0x1ce))),'mouseleave':_0x31b3df['to'](_0x1bae2e=>{const _0x57f166=_0x1f6035,_0x1b0b58=_0x1bae2e,_0x199f44=document[_0x57f166(0x1db)](_0x57f166(0x1cb)),_0x42a04c=document[_0x57f166(0x1db)](_0x57f166(0x1c9));_0x199f44?.[_0x57f166(0x1d4)](_0x1b0b58[_0x57f166(0x1e4)])||_0x42a04c?.[_0x57f166(0x1d4)](_0x1b0b58[_0x57f166(0x1e4)])||this[_0x57f166(0x1c2)](_0x57f166(0x1cd));})}}),this['on'](_0x1f6035(0x1bf),(_0x3e9312,_0x1ace31,_0x5b58d3)=>{const _0x5ca130=_0x1f6035;this[_0x5ca130(0x1df)]&&(_0x5b58d3?this[_0x5ca130(0x1df)][_0x5ca130(0x1c1)](_0x5ca130(0x1d0),String(this[_0x5ca130(0x1d1)])):this[_0x5ca130(0x1df)][_0x5ca130(0x1e5)](_0x5ca130(0x1d0)));});}[_0x18dea7(0x1cc)](){const _0x56f9d8=_0x18dea7;this[_0x56f9d8(0x1df)][_0x56f9d8(0x1cc)]();}[_0x18dea7(0x1d3)](){const _0x45bf18=_0x18dea7;super[_0x45bf18(0x1d3)](),this[_0x45bf18(0x1e1)][_0x45bf18(0x1c4)](this[_0x45bf18(0x1df)]);}}function _0xcd2d(){const _0x1878cc=['setTemplate','element','9ZWMTbI','keystrokes','set','1rzGYEf','relatedTarget','removeAttribute','change:hasPopup','11453704SSyetY','setAttribute','fire','list','listenTo','4137264febgLj','items','27826040IZMYpe','bindTemplate','.ck-balloon-panel_with-arrow','6926208cbJusA','.ck-presence-list__dropdown-list','focus','presencelist:hide','presencelist:show','20gKpGOZ','aria-expanded','isExpanded','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','render','contains','ck-presence-list__list','hasPopup','498324zHMwIW','2786938IocHjR','createCollection','Connected\x20users\x20list','querySelector','div','11589970iNTtGy'];_0xcd2d=function(){return _0x1878cc;};return _0xcd2d();}
23
+ const _0x263f01=_0x1e07;function _0x1e07(_0x48183c,_0x196d93){const _0x584525=_0x5845();return _0x1e07=function(_0x1e07e1,_0xa4dbe8){_0x1e07e1=_0x1e07e1-0xfc;let _0x4fbeef=_0x584525[_0x1e07e1];return _0x4fbeef;},_0x1e07(_0x48183c,_0x196d93);}(function(_0x6890aa,_0x19a47b){const _0x44cab1=_0x1e07,_0x25ecca=_0x6890aa();while(!![]){try{const _0x256709=parseInt(_0x44cab1(0xff))/0x1+-parseInt(_0x44cab1(0x10e))/0x2+parseInt(_0x44cab1(0x102))/0x3+-parseInt(_0x44cab1(0xfd))/0x4+parseInt(_0x44cab1(0x118))/0x5+-parseInt(_0x44cab1(0x100))/0x6*(parseInt(_0x44cab1(0x117))/0x7)+-parseInt(_0x44cab1(0x106))/0x8*(-parseInt(_0x44cab1(0x11b))/0x9);if(_0x256709===_0x19a47b)break;else _0x25ecca['push'](_0x25ecca['shift']());}catch(_0x41448e){_0x25ecca['push'](_0x25ecca['shift']());}}}(_0x5845,0xec3a4));import{View as _0x48717e}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x4f81d2}from'ckeditor5/src/utils.js';import{getTranslation as _0x55d980}from'../../common-translations.js';function _0x5845(){const _0x147551=['contains','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','1313703UiQQuZ','removeAttribute','ck-presence-list__list','keystrokes','fire','relatedTarget','items','aria-expanded','7482952bGvZPe','focus','926446qgyaIl','150ruTCSh','querySelector','5700768XePbVN','bindTemplate','.ck-presence-list__dropdown-list','isExpanded','48HoztxE','listenTo','change:hasPopup','.ck-balloon-panel_with-arrow','render','list','hasPopup','set','1400472roKWGu','element','presencelist:hide','setTemplate','createCollection','Connected\x20users\x20list','setAttribute','presencelist:show','div','108227FGpyxq','1112915LGdTuH'];_0x5845=function(){return _0x147551;};return _0x5845();}export class PresenceInlineListView extends _0x48717e{[_0x263f01(0x121)];[_0x263f01(0x11e)];constructor(_0x22577a){const _0x26480e=_0x263f01;super(_0x22577a);const _0x22c74b=this[_0x26480e(0x103)];this[_0x26480e(0x121)]=this[_0x26480e(0x112)](),this[_0x26480e(0x11e)]=new _0x4f81d2(),this[_0x26480e(0x10d)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x26480e(0x111)]({'tag':_0x26480e(0x116),'attributes':{'aria-haspopup':_0x22c74b['if'](_0x26480e(0x10c)),'aria-expanded':_0x22c74b['to'](_0x26480e(0x105),_0x4a31dd=>this[_0x26480e(0x10c)]&&String(_0x4a31dd)),'aria-label':_0x22c74b['to'](_0x26480e(0x10c),_0x3e23eb=>_0x55d980(_0x22577a,_0x3e23eb?_0x26480e(0x11a):_0x26480e(0x113))),'role':_0x26480e(0x10b),'tabindex':_0x22c74b['to'](_0x26480e(0x10c),_0x3c15e4=>!!_0x3c15e4&&0x0),'class':['ck',_0x26480e(0x11d)]},'children':this[_0x26480e(0x121)],'on':{'mouseenter':_0x22c74b['to'](()=>this[_0x26480e(0x11f)](_0x26480e(0x115))),'mouseleave':_0x22c74b['to'](_0xb890de=>{const _0x4d9b97=_0x26480e,_0x43e76d=_0xb890de,_0x4223f8=document[_0x4d9b97(0x101)](_0x4d9b97(0x104)),_0x3aa515=document[_0x4d9b97(0x101)](_0x4d9b97(0x109));_0x4223f8?.[_0x4d9b97(0x119)](_0x43e76d[_0x4d9b97(0x120)])||_0x3aa515?.[_0x4d9b97(0x119)](_0x43e76d[_0x4d9b97(0x120)])||this[_0x4d9b97(0x11f)](_0x4d9b97(0x110));})}}),this['on'](_0x26480e(0x108),(_0x5a362a,_0x54d37f,_0x4203bc)=>{const _0x2a3dec=_0x26480e;this[_0x2a3dec(0x10f)]&&(_0x4203bc?this[_0x2a3dec(0x10f)][_0x2a3dec(0x114)](_0x2a3dec(0xfc),String(this[_0x2a3dec(0x105)])):this[_0x2a3dec(0x10f)][_0x2a3dec(0x11c)](_0x2a3dec(0xfc)));});}[_0x263f01(0xfe)](){const _0x42e367=_0x263f01;this[_0x42e367(0x10f)][_0x42e367(0xfe)]();}[_0x263f01(0x10a)](){const _0x26cc25=_0x263f01;super[_0x26cc25(0x10a)](),this[_0x26cc25(0x11e)][_0x26cc25(0x107)](this[_0x26cc25(0x10f)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2851ad=_0x4193;(function(_0x45b5a7,_0x1951cd){const _0x520772=_0x4193,_0x667393=_0x45b5a7();while(!![]){try{const _0x3a4170=-parseInt(_0x520772(0x1c1))/0x1+parseInt(_0x520772(0x1bb))/0x2+parseInt(_0x520772(0x1bf))/0x3*(-parseInt(_0x520772(0x1b2))/0x4)+parseInt(_0x520772(0x1b8))/0x5*(parseInt(_0x520772(0x1c6))/0x6)+-parseInt(_0x520772(0x1cb))/0x7*(-parseInt(_0x520772(0x1c9))/0x8)+parseInt(_0x520772(0x1bc))/0x9*(-parseInt(_0x520772(0x1af))/0xa)+-parseInt(_0x520772(0x1c3))/0xb*(-parseInt(_0x520772(0x1ca))/0xc);if(_0x3a4170===_0x1951cd)break;else _0x667393['push'](_0x667393['shift']());}catch(_0x21d3ea){_0x667393['push'](_0x667393['shift']());}}}(_0x1f6c,0xe45ec));function _0x1f6c(){const _0x247335=['1558630WKAtVy','locale','ck-reset','1664492YjEPTz','ck-rounded-corners','div','tooltipPosition','ck-presence-list','bind','5bmVmTh','first','hasPopup','1858880MVIJoX','99lZHREE','change','inlineListView','6hnNrtJ','bindTemplate','1582506GvlOgM','items','1180861DIUaJR','listenTo','counterView','411786vxOsxW','set','setTemplate','56rmyIYk','276ZbDHuS','1597505eVaGfV','ck-presence-list--collapsed','isCollapsed'];_0x1f6c=function(){return _0x247335;};return _0x1f6c();}function _0x4193(_0x53fcca,_0x19726f){const _0x1f6cd9=_0x1f6c();return _0x4193=function(_0x419301,_0x23640f){_0x419301=_0x419301-0x1ad;let _0x4f5951=_0x1f6cd9[_0x419301];return _0x4f5951;},_0x4193(_0x53fcca,_0x19726f);}import{View as _0x314a21}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x49c93d}from'./presencecounterview.js';import{PresenceInlineListView as _0x47d07d}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x314a21{[_0x2851ad(0x1c5)];[_0x2851ad(0x1be)];constructor(_0x54405a,_0x4b80b1=0x6){const _0x1ff243=_0x2851ad;super(_0x54405a);const _0x3c873a=this[_0x1ff243(0x1c0)];this[_0x1ff243(0x1c7)](_0x1ff243(0x1ae),!0x0),this[_0x1ff243(0x1c5)]=new _0x49c93d(this[_0x1ff243(0x1b0)],_0x4b80b1),this[_0x1ff243(0x1be)]=new _0x47d07d(_0x54405a),this[_0x1ff243(0x1be)][_0x1ff243(0x1b7)](_0x1ff243(0x1ba))['to'](this,_0x1ff243(0x1ae)),this[_0x1ff243(0x1c4)](this[_0x1ff243(0x1be)][_0x1ff243(0x1c2)],_0x1ff243(0x1bd),()=>{const _0x58dd0a=_0x1ff243;for(const _0x429667 of this[_0x58dd0a(0x1be)][_0x58dd0a(0x1c2)])_0x429667[_0x58dd0a(0x1b5)]='s';this[_0x58dd0a(0x1be)][_0x58dd0a(0x1c2)][_0x58dd0a(0x1b9)]&&(this[_0x58dd0a(0x1be)][_0x58dd0a(0x1c2)][_0x58dd0a(0x1b9)][_0x58dd0a(0x1b5)]='se');}),this[_0x1ff243(0x1c8)]({'tag':_0x1ff243(0x1b4),'attributes':{'class':['ck',_0x1ff243(0x1b6),_0x1ff243(0x1b1),_0x1ff243(0x1b3),_0x3c873a['if'](_0x1ff243(0x1ae),_0x1ff243(0x1ad))]},'children':[this[_0x1ff243(0x1be)]]});}}
23
+ const _0x295431=_0x3b12;function _0x2fb1(){const _0x4b3da3=['change','listenTo','first','isCollapsed','tooltipPosition','2457090IZeJNb','1413146TaTJKQ','items','ck-reset','locale','3152808XiPmuw','ck-rounded-corners','657648BFpXyI','24SFPSHC','ck-presence-list','235191pJxzpS','counterView','inlineListView','ck-presence-list--collapsed','1013654XHTFyq','bindTemplate','72nhLfWS','37413feAHUC','set','bind','setTemplate','div','hasPopup'];_0x2fb1=function(){return _0x4b3da3;};return _0x2fb1();}(function(_0x249710,_0x1ec11f){const _0x5c196c=_0x3b12,_0x51fc61=_0x249710();while(!![]){try{const _0x1aa2a2=-parseInt(_0x5c196c(0x171))/0x1+-parseInt(_0x5c196c(0x175))/0x2+-parseInt(_0x5c196c(0x178))/0x3*(parseInt(_0x5c196c(0x177))/0x4)+parseInt(_0x5c196c(0x183))/0x5+-parseInt(_0x5c196c(0x18a))/0x6+-parseInt(_0x5c196c(0x184))/0x7+-parseInt(_0x5c196c(0x18b))/0x8*(-parseInt(_0x5c196c(0x188))/0x9);if(_0x1aa2a2===_0x1ec11f)break;else _0x51fc61['push'](_0x51fc61['shift']());}catch(_0x99e5a8){_0x51fc61['push'](_0x51fc61['shift']());}}}(_0x2fb1,0x408b4));import{View as _0xfdaa94}from'ckeditor5/src/ui.js';function _0x3b12(_0x2277e6,_0x3ffb37){const _0x2fb160=_0x2fb1();return _0x3b12=function(_0x3b1264,_0x1155e6){_0x3b1264=_0x3b1264-0x170;let _0x258b7b=_0x2fb160[_0x3b1264];return _0x258b7b;},_0x3b12(_0x2277e6,_0x3ffb37);}import{PresenceCounterView as _0x4dc5b6}from'./presencecounterview.js';import{PresenceInlineListView as _0x3bae62}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0xfdaa94{[_0x295431(0x172)];[_0x295431(0x173)];constructor(_0x16a930,_0x35305f=0x6){const _0x11d375=_0x295431;super(_0x16a930);const _0x1f9dd8=this[_0x11d375(0x176)];this[_0x11d375(0x179)](_0x11d375(0x181),!0x0),this[_0x11d375(0x172)]=new _0x4dc5b6(this[_0x11d375(0x187)],_0x35305f),this[_0x11d375(0x173)]=new _0x3bae62(_0x16a930),this[_0x11d375(0x173)][_0x11d375(0x17a)](_0x11d375(0x17d))['to'](this,_0x11d375(0x181)),this[_0x11d375(0x17f)](this[_0x11d375(0x173)][_0x11d375(0x185)],_0x11d375(0x17e),()=>{const _0x5a9a04=_0x11d375;for(const _0xfb7cb0 of this[_0x5a9a04(0x173)][_0x5a9a04(0x185)])_0xfb7cb0[_0x5a9a04(0x182)]='s';this[_0x5a9a04(0x173)][_0x5a9a04(0x185)][_0x5a9a04(0x180)]&&(this[_0x5a9a04(0x173)][_0x5a9a04(0x185)][_0x5a9a04(0x180)][_0x5a9a04(0x182)]='se');}),this[_0x11d375(0x17b)]({'tag':_0x11d375(0x17c),'attributes':{'class':['ck',_0x11d375(0x170),_0x11d375(0x186),_0x11d375(0x189),_0x1f9dd8['if'](_0x11d375(0x181),_0x11d375(0x174))]},'children':[this[_0x11d375(0x173)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5da1(){var _0x57b8ab=['isOfficialPlugin','3WwJbVb','150yjXzcC','8378274VVuCnx','724872jRGtTh','4vPcRzQ','isPremiumPlugin','13347323yIMcZq','requires','PresenceList','788841JJIpwQ','1649755gHrLdG','1355506GBbsBi','pluginName','3926290pupsnO','42VCfulo'];_0x5da1=function(){return _0x57b8ab;};return _0x5da1();}function _0x1635(_0x5b783c,_0x15e977){var _0x5da1a1=_0x5da1();return _0x1635=function(_0x1635f1,_0x19ad5e){_0x1635f1=_0x1635f1-0x101;var _0x3524fe=_0x5da1a1[_0x1635f1];return _0x3524fe;},_0x1635(_0x5b783c,_0x15e977);}var _0x47cdf0=_0x1635;(function(_0x2f33a0,_0x22d383){var _0x245637=_0x1635,_0x135b42=_0x2f33a0();while(!![]){try{var _0x2b7ca4=parseInt(_0x245637(0x10d))/0x1+parseInt(_0x245637(0x10e))/0x2*(-parseInt(_0x245637(0x103))/0x3)+-parseInt(_0x245637(0x107))/0x4*(parseInt(_0x245637(0x110))/0x5)+parseInt(_0x245637(0x105))/0x6+parseInt(_0x245637(0x101))/0x7*(-parseInt(_0x245637(0x106))/0x8)+parseInt(_0x245637(0x10c))/0x9*(-parseInt(_0x245637(0x104))/0xa)+parseInt(_0x245637(0x109))/0xb;if(_0x2b7ca4===_0x22d383)break;else _0x135b42['push'](_0x135b42['shift']());}catch(_0x184c30){_0x135b42['push'](_0x135b42['shift']());}}}(_0x5da1,0xe508f));import{ContextPlugin as _0x14497b}from'ckeditor5/src/core.js';import{Sessions as _0x5012bb}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x2656ff}from'./presencelist/presencelistui.js';export class PresenceList extends _0x14497b{static get[_0x47cdf0(0x10a)](){return[_0x5012bb,_0x2656ff];}static get[_0x47cdf0(0x10f)](){var _0x47db8f=_0x47cdf0;return _0x47db8f(0x10b);}static get[_0x47cdf0(0x102)](){return!0x0;}static get[_0x47cdf0(0x108)](){return!0x0;}}
23
+ var _0xd577be=_0x55cf;function _0x4a8d(){var _0x45de15=['14055734LORMeN','86dNHsSr','19102ZxDdXw','741MEyBGH','2848LMSUDp','8267JRqIUD','7864410moXvDU','pluginName','isOfficialPlugin','isPremiumPlugin','13564jUetZa','requires','5OJyQHG','4279284JxJWUu','PresenceList','264984ppRbrP'];_0x4a8d=function(){return _0x45de15;};return _0x4a8d();}(function(_0x18aa1a,_0x4b09e8){var _0x3e2f6e=_0x55cf,_0x28e80c=_0x18aa1a();while(!![]){try{var _0x5272a9=parseInt(_0x3e2f6e(0x11f))/0x1*(parseInt(_0x3e2f6e(0x120))/0x2)+parseInt(_0x3e2f6e(0x121))/0x3*(-parseInt(_0x3e2f6e(0x128))/0x4)+parseInt(_0x3e2f6e(0x11a))/0x5*(parseInt(_0x3e2f6e(0x11d))/0x6)+parseInt(_0x3e2f6e(0x123))/0x7*(parseInt(_0x3e2f6e(0x122))/0x8)+parseInt(_0x3e2f6e(0x11b))/0x9+parseInt(_0x3e2f6e(0x124))/0xa+-parseInt(_0x3e2f6e(0x11e))/0xb;if(_0x5272a9===_0x4b09e8)break;else _0x28e80c['push'](_0x28e80c['shift']());}catch(_0x44647a){_0x28e80c['push'](_0x28e80c['shift']());}}}(_0x4a8d,0x69994));import{ContextPlugin as _0x175c64}from'ckeditor5/src/core.js';import{Sessions as _0x1ef5b0}from'./realtimecollaborativeediting/sessions.js';function _0x55cf(_0x166a64,_0x14c1fc){var _0x4a8d7d=_0x4a8d();return _0x55cf=function(_0x55cf1f,_0x5350f2){_0x55cf1f=_0x55cf1f-0x119;var _0x2ab1d4=_0x4a8d7d[_0x55cf1f];return _0x2ab1d4;},_0x55cf(_0x166a64,_0x14c1fc);}import{PresenceListUI as _0x5b5e75}from'./presencelist/presencelistui.js';export class PresenceList extends _0x175c64{static get[_0xd577be(0x119)](){return[_0x1ef5b0,_0x5b5e75];}static get[_0xd577be(0x125)](){var _0x14833b=_0xd577be;return _0x14833b(0x11c);}static get[_0xd577be(0x126)](){return!0x0;}static get[_0xd577be(0x127)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2391f3=_0x1851;(function(_0x252353,_0x11a272){const _0x1775ad=_0x1851,_0x134138=_0x252353();while(!![]){try{const _0x2875e5=parseInt(_0x1775ad(0x16b))/0x1*(parseInt(_0x1775ad(0x135))/0x2)+-parseInt(_0x1775ad(0x162))/0x3*(parseInt(_0x1775ad(0x141))/0x4)+-parseInt(_0x1775ad(0x158))/0x5*(parseInt(_0x1775ad(0x19a))/0x6)+-parseInt(_0x1775ad(0x164))/0x7*(-parseInt(_0x1775ad(0x140))/0x8)+-parseInt(_0x1775ad(0x179))/0x9+-parseInt(_0x1775ad(0x139))/0xa+parseInt(_0x1775ad(0x178))/0xb;if(_0x2875e5===_0x11a272)break;else _0x134138['push'](_0x134138['shift']());}catch(_0x248d5e){_0x134138['push'](_0x134138['shift']());}}}(_0x15d4,0x8fee6));import{Context as _0x33dd66,ContextPlugin as _0x28feda}from'ckeditor5/src/core.js';import{CKEditorError as _0x2e86b2}from'ckeditor5/src/utils.js';import{Users as _0x5549c8}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5f4268,User as _0x1e4af4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x47d201}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x436f47}from'../realtimecollaborativeediting/sessions.js';function _0x1851(_0x4d92aa,_0x394276){const _0x15d4b3=_0x15d4();return _0x1851=function(_0x1851ed,_0xfbcc56){_0x1851ed=_0x1851ed-0x134;let _0x3580c5=_0x15d4b3[_0x1851ed];return _0x3580c5;},_0x1851(_0x4d92aa,_0x394276);}export class CloudServicesCommentsAdapter extends _0x28feda{static [_0x2391f3(0x159)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x5f4268)());[_0x2391f3(0x145)];static get[_0x2391f3(0x15f)](){const _0x278fc4=_0x2391f3;return[_0x47d201,_0x278fc4(0x194),_0x436f47,_0x5549c8];}static get[_0x2391f3(0x17e)](){const _0x3712e4=_0x2391f3;return _0x3712e4(0x14a);}static get[_0x2391f3(0x154)](){return!0x0;}static get[_0x2391f3(0x183)](){return!0x0;}constructor(_0x3cbd78){const _0x5d2403=_0x2391f3;super(_0x3cbd78),this[_0x5d2403(0x145)]=new Map();}async[_0x2391f3(0x16c)](){const _0x10a3c0=_0x2391f3,_0x3b971=this[_0x10a3c0(0x15a)],_0x28b4fa=_0x3b971[_0x10a3c0(0x17b)][_0x10a3c0(0x143)](_0x10a3c0(0x194));if(_0x3b971[_0x10a3c0(0x17b)][_0x10a3c0(0x143)](_0x47d201)[_0x10a3c0(0x16a)](this),_0x28b4fa[_0x10a3c0(0x192)]={'addCommentThread':async({channelId:_0x97739b,threadId:_0xe609d7,comments:_0x1cf4bc,resolvedAt:_0x10fc82,resolvedBy:_0x227f21,context:_0x5ae0ca,attributes:_0x190927})=>{const _0x5baab1=_0x10a3c0,_0x3d6933=await this[_0x5baab1(0x18d)](_0x97739b)[_0x5baab1(0x13f)]({'commentThreadId':_0xe609d7,'comments':_0x1cf4bc[_0x5baab1(0x185)](_0x13d1af=>function(_0x3d49bf,_0x32af85,_0x264cb5){const _0x3ef20c=_0x5baab1;return{'commentThreadId':_0x264cb5,'commentId':_0x3d49bf[_0x3ef20c(0x167)],'userId':_0x3d49bf[_0x3ef20c(0x17f)],'content':_0x3d49bf[_0x3ef20c(0x175)],'documentId':_0x32af85,'createdAt':_0x3d49bf[_0x3ef20c(0x155)],'attributes':_0x3d49bf[_0x3ef20c(0x14c)]||{}};}(_0x13d1af,_0x97739b,_0xe609d7)),'resolvedAt':_0x10fc82,'resolvedBy':_0x227f21,'context':_0x5ae0ca,'attributes':_0x190927})[_0x5baab1(0x136)](T);return{'threadId':_0x3d6933[_0x5baab1(0x195)],'comments':_0x3d6933[_0x5baab1(0x170)]};},'getCommentThread':async({channelId:_0x179630,threadId:_0x2c4474})=>{const _0x5dc256=_0x10a3c0,_0x40a1b9=await this[_0x5dc256(0x18d)](_0x179630)[_0x5dc256(0x157)](_0x2c4474)[_0x5dc256(0x136)](ot)[_0x5dc256(0x136)](T);return _0x40a1b9?_0x40a1b9[_0x5dc256(0x148)]?null:(await this[_0x5dc256(0x18b)]([_0x40a1b9]),{'threadId':_0x40a1b9[_0x5dc256(0x195)],'comments':_0x40a1b9[_0x5dc256(0x170)][_0x5dc256(0x185)](nt),'context':_0x40a1b9[_0x5dc256(0x15a)],'resolvedAt':_0x40a1b9[_0x5dc256(0x199)],'resolvedBy':_0x40a1b9[_0x5dc256(0x153)],'attributes':_0x40a1b9[_0x5dc256(0x14c)]||{}}):null;},'updateCommentThread':async({channelId:_0xd8308,threadId:_0x2bd3de,context:_0xeb5254,unlinkedAt:_0x1ca04f,attributes:_0x235760})=>this[_0x10a3c0(0x18d)](_0xd8308)[_0x10a3c0(0x16e)]({'commentThreadId':_0x2bd3de,'context':_0xeb5254,'attributes':_0x235760,'unlinkedAt':_0x1ca04f})[_0x10a3c0(0x136)](ot)[_0x10a3c0(0x136)](T),'resolveCommentThread':async({channelId:_0xcdf114,threadId:_0x15a68a})=>{const _0x3a1b5f=_0x10a3c0,_0x5ccfdd=await this[_0x3a1b5f(0x18d)](_0xcdf114)[_0x3a1b5f(0x15c)](_0x15a68a)[_0x3a1b5f(0x136)](ot)[_0x3a1b5f(0x136)](T);return{'threadId':_0x5ccfdd[_0x3a1b5f(0x195)],'resolvedAt':_0x5ccfdd[_0x3a1b5f(0x199)],'resolvedBy':_0x5ccfdd[_0x3a1b5f(0x153)]};},'reopenCommentThread':async({channelId:_0x3bafa7,threadId:_0x431b94})=>this[_0x10a3c0(0x18d)](_0x3bafa7)[_0x10a3c0(0x14e)](_0x431b94)[_0x10a3c0(0x136)](ot)[_0x10a3c0(0x136)](T),'removeCommentThread':({channelId:_0x2915d,threadId:_0x5a393a})=>this[_0x10a3c0(0x18d)](_0x2915d)[_0x10a3c0(0x16f)](_0x5a393a)[_0x10a3c0(0x136)](ot)[_0x10a3c0(0x136)](T),'addComment':({channelId:_0x238a5e,threadId:_0x359163,commentId:_0x172a76,content:_0x279cc7,attributes:_0x5b6b2c})=>this[_0x10a3c0(0x18d)](_0x238a5e)[_0x10a3c0(0x17c)](_0x359163,_0x172a76,_0x279cc7,_0x5b6b2c)[_0x10a3c0(0x136)](T),'updateComment':({channelId:_0x54f86d,threadId:_0x1ba23e,commentId:_0x2ed9cd,content:_0xbabb0a,attributes:_0x4753f8})=>this[_0x10a3c0(0x18d)](_0x54f86d)[_0x10a3c0(0x193)](_0x1ba23e,_0x2ed9cd,_0xbabb0a,_0x4753f8)[_0x10a3c0(0x136)](ot)[_0x10a3c0(0x136)](T),'removeComment':({channelId:_0x1eb4f9,threadId:_0xf309e9,commentId:_0x1da846})=>this[_0x10a3c0(0x18d)](_0x1eb4f9)[_0x10a3c0(0x190)](_0xf309e9,_0x1da846)[_0x10a3c0(0x136)](ot)[_0x10a3c0(0x136)](T)},_0x3b971 instanceof _0x33dd66){const _0x54862d=_0x3b971[_0x10a3c0(0x17d)][_0x10a3c0(0x143)](_0x10a3c0(0x171)),_0x5358a6=_0x3b971[_0x10a3c0(0x17b)][_0x10a3c0(0x143)](_0x436f47);await this[_0x10a3c0(0x18f)](_0x54862d);const _0x255fed=await this[_0x10a3c0(0x145)][_0x10a3c0(0x143)](_0x54862d)[_0x10a3c0(0x15b)]();this[_0x10a3c0(0x197)](_0x5358a6,_0x10a3c0(0x172)+_0x54862d,(_0x39cd3f,{session:_0x69d02f})=>{const _0x4583d9=_0x10a3c0;_0x69d02f['id']===_0x5358a6[_0x4583d9(0x18c)]&&(_0x39cd3f[_0x4583d9(0x147)](),this[_0x4583d9(0x15a)][_0x4583d9(0x17b)][_0x4583d9(0x143)](_0x4583d9(0x13e))[_0x4583d9(0x142)](_0x69d02f[_0x4583d9(0x174)],_0x54862d));}),_0x5358a6[_0x10a3c0(0x198)](_0x54862d,_0x255fed);}}async[_0x2391f3(0x18f)](_0x45e4fa){const _0x128f88=_0x2391f3;if(this[_0x128f88(0x145)][_0x128f88(0x144)](_0x45e4fa))throw new _0x2e86b2(_0x128f88(0x13b),null,{'channelId':_0x45e4fa});const _0x1a9ee3=this[_0x128f88(0x15a)][_0x128f88(0x17b)][_0x128f88(0x143)](_0x128f88(0x194)),_0x461fed=new CloudServicesCommentsAdapter[(_0x128f88(0x159))](_0x45e4fa);this[_0x128f88(0x145)][_0x128f88(0x161)](_0x45e4fa,_0x461fed),this[_0x128f88(0x197)](_0x461fed,_0x128f88(0x173),(_0x4ee639,_0x397800)=>{const _0x540431=_0x128f88,{commentThreadId:_0x1fad5a,documentId:_0x1e7f2f,context:_0xb762da,attributes:_0x9b54fb,resolvedAt:_0x26e68a,resolvedBy:_0x4530fb,comments:_0x2bdb8e}=_0x397800;_0x1a9ee3[_0x540431(0x157)](_0x1fad5a)||_0x1a9ee3[_0x540431(0x13f)]({'threadId':_0x1fad5a,'channelId':_0x1e7f2f,'comments':_0x2bdb8e?_0x2bdb8e[_0x540431(0x185)](nt):[],'context':_0xb762da,'attributes':_0x9b54fb,'resolvedAt':_0x26e68a,'resolvedBy':_0x4530fb,'isFromAdapter':!0x0});}),this[_0x128f88(0x197)](_0x461fed,_0x128f88(0x13d),(_0x587c0a,{commentThreadId:_0x3ba648,documentId:_0x4836fa,context:_0x13e6bb,unlinkedAt:_0xb20688,attributes:_0x1b6bee})=>{const _0x219550=_0x128f88;_0x1a9ee3[_0x219550(0x157)](_0x3ba648)&&_0x1a9ee3[_0x219550(0x16e)]({'threadId':_0x3ba648,'channelId':_0x4836fa,'context':_0x13e6bb,'unlinkedAt':_0xb20688,'attributes':_0x1b6bee,'isFromAdapter':!0x0});}),this[_0x128f88(0x197)](_0x461fed,_0x128f88(0x191),(_0x16fef1,{commentThreadId:_0x40295b,resolvedBy:_0x343ae9,resolvedAt:_0x16f8cd})=>{const _0x4b8229=_0x128f88,_0x570965=_0x1a9ee3[_0x4b8229(0x157)](_0x40295b);_0x570965&&_0x570965[_0x4b8229(0x176)]({'resolvedBy':_0x343ae9,'resolvedAt':_0x16f8cd,'isFromAdapter':!0x0});}),this[_0x128f88(0x197)](_0x461fed,_0x128f88(0x134),(_0x5e0e26,{commentThreadId:_0xc4b51e})=>{const _0x365eca=_0x128f88,_0x16c1c3=_0x1a9ee3[_0x365eca(0x157)](_0xc4b51e);_0x16c1c3&&_0x16c1c3[_0x365eca(0x189)]({'isFromAdapter':!0x0});}),this[_0x128f88(0x197)](_0x461fed,_0x128f88(0x150),(_0x12e47f,{commentThreadId:_0x5da135})=>{const _0x140f32=_0x128f88,_0x567f02=_0x1a9ee3[_0x140f32(0x157)](_0x5da135);_0x567f02&&_0x567f02[_0x140f32(0x17a)]({'isFromAdapter':!0x0});}),this[_0x128f88(0x197)](_0x461fed,_0x128f88(0x169),(_0x208f28,_0x414e63)=>{const _0x46a13a=_0x128f88,_0xa4c4cb=_0x414e63[_0x46a13a(0x195)],_0x1a90d8=_0x1a9ee3[_0x46a13a(0x157)](_0xa4c4cb);_0x1a90d8&&_0x1a90d8[_0x46a13a(0x17c)]({...nt(_0x414e63),'isFromAdapter':!0x0});}),this[_0x128f88(0x197)](_0x461fed,_0x128f88(0x146),(_0xc698dc,{commentThreadId:_0x27125c,commentId:_0x4bffb5,content:_0x374b02,attributes:_0x1133ca})=>{const _0x2c18d2=_0x128f88,_0x3e9612=_0x1a9ee3[_0x2c18d2(0x157)](_0x27125c);if(_0x3e9612){const _0x47e5cc=_0x3e9612[_0x2c18d2(0x180)](_0x4bffb5);_0x47e5cc&&_0x47e5cc[_0x2c18d2(0x182)]({'content':_0x374b02,'attributes':_0x1133ca,'isFromAdapter':!0x0});}}),this[_0x128f88(0x197)](_0x461fed,_0x128f88(0x13c),(_0x3e3c86,{commentThreadId:_0x4e8c99,commentId:_0x28be86})=>{const _0x542e2e=_0x128f88,_0x5ae847=_0x1a9ee3[_0x542e2e(0x157)](_0x4e8c99);if(_0x5ae847){const _0x1b9ee0=_0x5ae847[_0x542e2e(0x180)](_0x28be86);_0x1b9ee0&&_0x1b9ee0[_0x542e2e(0x17a)]({'isFromAdapter':!0x0});}}),await this[_0x128f88(0x18a)](_0x45e4fa);}[_0x2391f3(0x152)](){const _0x91deba=_0x2391f3;if(this[_0x91deba(0x15a)]instanceof _0x33dd66){const _0xb83472=this[_0x91deba(0x15a)][_0x91deba(0x17d)][_0x91deba(0x143)](_0x91deba(0x171));this[_0x91deba(0x14f)](_0xb83472);}}[_0x2391f3(0x14f)](_0x1c760f){const _0x386449=_0x2391f3;if(!this[_0x386449(0x145)][_0x386449(0x144)](_0x1c760f))throw new _0x2e86b2(_0x386449(0x14b),null,{'channelId':_0x1c760f});this[_0x386449(0x18d)](_0x1c760f)[_0x386449(0x137)](),this[_0x386449(0x145)][_0x386449(0x186)](_0x1c760f);}async[_0x2391f3(0x168)](){const _0x50a344=_0x2391f3;for(const _0x431a96 of this[_0x50a344(0x145)][_0x50a344(0x188)]())await this[_0x50a344(0x18a)](_0x431a96);if(this[_0x50a344(0x15a)]instanceof _0x33dd66){const _0x1b778d=this[_0x50a344(0x15a)][_0x50a344(0x17d)][_0x50a344(0x143)](_0x50a344(0x171)),_0x44f4a7=this[_0x50a344(0x15a)][_0x50a344(0x17b)][_0x50a344(0x143)](_0x436f47);_0x44f4a7[_0x50a344(0x13a)](_0x1b778d);const _0x5df529=await this[_0x50a344(0x145)][_0x50a344(0x143)](_0x1b778d)[_0x50a344(0x15b)]();_0x44f4a7[_0x50a344(0x198)](_0x1b778d,_0x5df529);}}async[_0x2391f3(0x18a)](_0x3ef4a4){const _0x56256e=_0x2391f3,{connection:_0x1077c4}=this[_0x56256e(0x15a)][_0x56256e(0x17b)][_0x56256e(0x143)](_0x47d201),_0x4fc8be=this[_0x56256e(0x15a)][_0x56256e(0x17b)][_0x56256e(0x143)](_0x56256e(0x194)),_0x3712c9=this[_0x56256e(0x145)][_0x56256e(0x143)](_0x3ef4a4),_0x5bc418=await _0x3712c9[_0x56256e(0x15e)](_0x1077c4);await this[_0x56256e(0x18b)](_0x5bc418);const _0xf86890=new Set(Array[_0x56256e(0x149)](_0x4fc8be[_0x56256e(0x196)]({'channelId':_0x3ef4a4}),_0xefd0c5=>_0xefd0c5['id']));for(const _0xf1d068 of _0x5bc418)_0xf1d068[_0x56256e(0x148)]||_0xf86890[_0x56256e(0x186)](_0xf1d068[_0x56256e(0x195)]);for(const _0x31fea4 of _0xf86890)_0x4fc8be[_0x56256e(0x157)](_0x31fea4)[_0x56256e(0x17a)]({'isFromAdapter':!0x0});for(const _0x197e5a of _0x5bc418){let _0x2e34b9=_0x4fc8be[_0x56256e(0x157)](_0x197e5a[_0x56256e(0x195)]);const {commentThreadId:_0x5e327e,context:_0x4eb06b,attributes:_0x3cb767,resolvedBy:_0x4b0bcf,resolvedAt:_0x5e313a,unlinkedAt:_0x542e58,deletedAt:_0x178741}=_0x197e5a;if(_0x178741)continue;_0x2e34b9||(_0x2e34b9=_0x4fc8be[_0x56256e(0x13f)]({'channelId':_0x3ef4a4,'threadId':_0x5e327e,'context':_0x4eb06b,'attributes':_0x3cb767||{},'resolvedBy':_0x4b0bcf,'resolvedAt':_0x5e313a,'unlinkedAt':_0x542e58,'isFromAdapter':!0x0}));const _0x2f34a0=new Set(Array[_0x56256e(0x149)](_0x2e34b9[_0x56256e(0x170)],_0x5ca3a1=>_0x5ca3a1['id']));for(const _0x1c8307 of _0x197e5a[_0x56256e(0x170)])_0x2f34a0[_0x56256e(0x186)](_0x1c8307[_0x56256e(0x167)]);for(const _0x4dee37 of _0x2f34a0)_0x2e34b9[_0x56256e(0x180)](_0x4dee37)[_0x56256e(0x17a)]({'isFromAdapter':!0x0});for(const _0xe3dcad of _0x197e5a[_0x56256e(0x170)]){const _0x5ef52c=_0x2e34b9[_0x56256e(0x180)](_0xe3dcad[_0x56256e(0x167)]);_0x5ef52c?_0x5ef52c[_0x56256e(0x175)]!==_0xe3dcad[_0x56256e(0x175)]&&_0x5ef52c[_0x56256e(0x182)]({'content':_0xe3dcad[_0x56256e(0x175)],'isFromAdapter':!0x0}):_0x2e34b9[_0x56256e(0x17c)](Object[_0x56256e(0x15d)](nt(_0xe3dcad),{'isFromAdapter':!0x0}));}}}[_0x2391f3(0x18d)](_0x158d03){const _0x54735f=_0x2391f3;if(!this[_0x54735f(0x145)][_0x54735f(0x144)](_0x158d03))throw new _0x2e86b2(_0x54735f(0x160),null,{'channelId':_0x158d03});return this[_0x54735f(0x145)][_0x54735f(0x143)](_0x158d03);}async[_0x2391f3(0x18b)](_0x45e38b){const _0x2981c4=_0x2391f3,_0x96a28d=this[_0x2981c4(0x15a)][_0x2981c4(0x17b)][_0x2981c4(0x143)](_0x5549c8),{connection:_0x392c4a}=this[_0x2981c4(0x15a)][_0x2981c4(0x17b)][_0x2981c4(0x143)](_0x47d201),_0x116cac=new Set();for(const {resolvedBy:_0x192611,comments:_0x23f6ef}of _0x45e38b){_0x192611&&!_0x96a28d[_0x2981c4(0x187)](_0x192611)&&_0x116cac[_0x2981c4(0x184)](_0x192611);for(const {userId:_0x131a32}of _0x23f6ef)_0x96a28d[_0x2981c4(0x187)](_0x131a32)||_0x116cac[_0x2981c4(0x184)](_0x131a32);}if(0x0===_0x116cac[_0x2981c4(0x166)])return;const _0x543e4f=await _0x1e4af4[_0x2981c4(0x177)](_0x392c4a,Array[_0x2981c4(0x149)](_0x116cac));for(const _0x5a2c86 of _0x543e4f)_0x96a28d[_0x2981c4(0x187)](_0x5a2c86['id'])||_0x96a28d[_0x2981c4(0x181)](_0x5a2c86);}}async function ot(_0x4e3fc4){const _0x2894fd=_0x2391f3;if(_0x2894fd(0x156)!==_0x4e3fc4[_0x2894fd(0x151)])throw _0x4e3fc4;}function T(_0x482757){const _0x488431=_0x2391f3;if((_0x36b1d8=_0x482757)[_0x488431(0x16d)][_0x488431(0x138)](_0x488431(0x163))||_0x36b1d8[_0x488431(0x16d)][_0x488431(0x138)](_0x488431(0x165))||_0x36b1d8[_0x488431(0x16d)][_0x488431(0x138)](_0x488431(0x18e)))return new Promise(()=>{});var _0x36b1d8;throw _0x482757;}function _0x15d4(){const _0x33b798=['commentThreadAdded','permissions','content','resolve','getMany','20466270ShQXsq','3227103tIhQPE','remove','plugins','addComment','config','pluginName','authorId','getComment','addUser','update','isPremiumPlugin','add','map','delete','getUser','keys','reopen','_connectService','_fetchMissingUsersForThreads','mySessionId','_getService','cloud-services-internal-error:\x20Request\x20timeout.','_setUpService','removeComment','commentThreadResolved','adapter','updateComment','CommentsRepository','commentThreadId','getCommentThreads','listenTo','register','resolvedAt','5326842SxAygS','commentThreadReopened','480838RucEmN','catch','disconnect','startsWith','8112290xOzDlM','unregister','cloudservicescommentsadapter-connect-already-connected','commentRemoved','commentThreadUpdated','Permissions','addCommentThread','51008NtcsIo','168QRPmKz','setPermissions','get','has','_services','commentUpdated','off','deletedAt','from','CloudServicesCommentsAdapter','cloudservicescommentsadapter-disconnect-not-exist','attributes','userId','reopenCommentThread','_terminateService','commentThreadRemoved','code','destroy','resolvedBy','isOfficialPlugin','createdAt','404','getCommentThread','5kpqCpD','CommentsService','context','getConnectedSessions','resolveCommentThread','assign','connect','requires','cloudservicescommentsadapter-service-not-exist','set','52263hZjyxS','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','875mcqeSs','cloud-services-internal-error:\x20Not\x20connected.','size','commentId','reconnect','commentAdded','addToReconnectionStack','3mxOoFy','init','message','updateCommentThread','removeCommentThread','comments','collaboration.channelId','sessionAdd:'];_0x15d4=function(){return _0x33b798;};return _0x15d4();}function nt(_0xa93a74){const _0xcc8ad6=_0x2391f3;return{'threadId':_0xa93a74[_0xcc8ad6(0x195)],'commentId':_0xa93a74[_0xcc8ad6(0x167)],'content':_0xa93a74[_0xcc8ad6(0x175)],'createdAt':_0xa93a74[_0xcc8ad6(0x155)],'authorId':_0xa93a74[_0xcc8ad6(0x14d)],'attributes':_0xa93a74[_0xcc8ad6(0x14c)]||{}};}
23
+ const _0x4763ac=_0x2956;(function(_0x230330,_0x542ec8){const _0x77c316=_0x2956,_0x3faaee=_0x230330();while(!![]){try{const _0x178767=-parseInt(_0x77c316(0x17a))/0x1+-parseInt(_0x77c316(0x175))/0x2*(-parseInt(_0x77c316(0x187))/0x3)+parseInt(_0x77c316(0x198))/0x4*(-parseInt(_0x77c316(0x19a))/0x5)+-parseInt(_0x77c316(0x1b1))/0x6*(parseInt(_0x77c316(0x1a5))/0x7)+-parseInt(_0x77c316(0x19b))/0x8+parseInt(_0x77c316(0x194))/0x9+parseInt(_0x77c316(0x18c))/0xa;if(_0x178767===_0x542ec8)break;else _0x3faaee['push'](_0x3faaee['shift']());}catch(_0x1cdb73){_0x3faaee['push'](_0x3faaee['shift']());}}}(_0x327b,0x4cc24));import{Context as _0x2b5b33,ContextPlugin as _0x11a5c3}from'ckeditor5/src/core.js';import{CKEditorError as _0x17ac7e}from'ckeditor5/src/utils.js';import{Users as _0x1807da}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5a5f91,User as _0x10724c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0xa0e232}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x195845}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x11a5c3{static [_0x4763ac(0x1c0)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5a5f91)());[_0x4763ac(0x1af)];static get[_0x4763ac(0x174)](){const _0x5da240=_0x4763ac;return[_0xa0e232,_0x5da240(0x1a0),_0x195845,_0x1807da];}static get[_0x4763ac(0x1cc)](){const _0xdaa20=_0x4763ac;return _0xdaa20(0x195);}static get[_0x4763ac(0x18f)](){return!0x0;}static get[_0x4763ac(0x1d0)](){return!0x0;}constructor(_0x2be149){const _0x57544c=_0x4763ac;super(_0x2be149),this[_0x57544c(0x1af)]=new Map();}async[_0x4763ac(0x19e)](){const _0x7d66e=_0x4763ac,_0x34c09c=this[_0x7d66e(0x1ad)],_0x4891cf=_0x34c09c[_0x7d66e(0x1d3)][_0x7d66e(0x1ac)](_0x7d66e(0x1a0));if(_0x34c09c[_0x7d66e(0x1d3)][_0x7d66e(0x1ac)](_0xa0e232)[_0x7d66e(0x189)](this),_0x4891cf[_0x7d66e(0x197)]={'addCommentThread':async({channelId:_0x2a6324,threadId:_0x548553,comments:_0x8086c5,resolvedAt:_0xd2016e,resolvedBy:_0x1df798,context:_0x522cab,attributes:_0x9aa698})=>{const _0x2eb25c=_0x7d66e,_0x41856e=await this[_0x2eb25c(0x1d4)](_0x2a6324)[_0x2eb25c(0x1c9)]({'commentThreadId':_0x548553,'comments':_0x8086c5[_0x2eb25c(0x18d)](_0x53052b=>function(_0x3f2ccc,_0x1eab3d,_0x18efe0){const _0x4399af=_0x2eb25c;return{'commentThreadId':_0x18efe0,'commentId':_0x3f2ccc[_0x4399af(0x1b7)],'userId':_0x3f2ccc[_0x4399af(0x1c2)],'content':_0x3f2ccc[_0x4399af(0x1a4)],'documentId':_0x1eab3d,'createdAt':_0x3f2ccc[_0x4399af(0x183)],'attributes':_0x3f2ccc[_0x4399af(0x185)]||{}};}(_0x53052b,_0x2a6324,_0x548553)),'resolvedAt':_0xd2016e,'resolvedBy':_0x1df798,'context':_0x522cab,'attributes':_0x9aa698})[_0x2eb25c(0x1ca)](k);return{'threadId':_0x41856e[_0x2eb25c(0x173)],'comments':_0x41856e[_0x2eb25c(0x172)]};},'getCommentThread':async({channelId:_0x1f0494,threadId:_0x5a45d3})=>{const _0x332e88=_0x7d66e,_0x33c935=await this[_0x332e88(0x1d4)](_0x1f0494)[_0x332e88(0x1bf)](_0x5a45d3)[_0x332e88(0x1ca)](F)[_0x332e88(0x1ca)](k);return _0x33c935?_0x33c935[_0x332e88(0x171)]?null:(await this[_0x332e88(0x18e)]([_0x33c935]),{'threadId':_0x33c935[_0x332e88(0x173)],'comments':_0x33c935[_0x332e88(0x172)][_0x332e88(0x18d)](S),'context':_0x33c935[_0x332e88(0x1ad)],'resolvedAt':_0x33c935[_0x332e88(0x1b5)],'resolvedBy':_0x33c935[_0x332e88(0x1c4)],'attributes':_0x33c935[_0x332e88(0x185)]||{}}):null;},'updateCommentThread':async({channelId:_0x242de5,threadId:_0x3797f4,context:_0x31f54e,unlinkedAt:_0xab0ae9,attributes:_0x41574d})=>this[_0x7d66e(0x1d4)](_0x242de5)[_0x7d66e(0x1b8)]({'commentThreadId':_0x3797f4,'context':_0x31f54e,'attributes':_0x41574d,'unlinkedAt':_0xab0ae9})[_0x7d66e(0x1ca)](F)[_0x7d66e(0x1ca)](k),'resolveCommentThread':async({channelId:_0x30de8a,threadId:_0x4e68e3})=>{const _0x137538=_0x7d66e,_0x15450d=await this[_0x137538(0x1d4)](_0x30de8a)[_0x137538(0x1ba)](_0x4e68e3)[_0x137538(0x1ca)](F)[_0x137538(0x1ca)](k);return{'threadId':_0x15450d[_0x137538(0x173)],'resolvedAt':_0x15450d[_0x137538(0x1b5)],'resolvedBy':_0x15450d[_0x137538(0x1c4)]};},'reopenCommentThread':async({channelId:_0x5abef6,threadId:_0x3522cc})=>this[_0x7d66e(0x1d4)](_0x5abef6)[_0x7d66e(0x1a1)](_0x3522cc)[_0x7d66e(0x1ca)](F)[_0x7d66e(0x1ca)](k),'removeCommentThread':({channelId:_0x4312be,threadId:_0x3f6c37})=>this[_0x7d66e(0x1d4)](_0x4312be)[_0x7d66e(0x199)](_0x3f6c37)[_0x7d66e(0x1ca)](F)[_0x7d66e(0x1ca)](k),'addComment':({channelId:_0x3f3730,threadId:_0x47e75c,commentId:_0x33cded,content:_0x4426b6,attributes:_0x3ed092})=>this[_0x7d66e(0x1d4)](_0x3f3730)[_0x7d66e(0x1a8)](_0x47e75c,_0x33cded,_0x4426b6,_0x3ed092)[_0x7d66e(0x1ca)](k),'updateComment':({channelId:_0x57129f,threadId:_0x4124fb,commentId:_0xf7761b,content:_0x34462f,attributes:_0x1702b7})=>this[_0x7d66e(0x1d4)](_0x57129f)[_0x7d66e(0x1a6)](_0x4124fb,_0xf7761b,_0x34462f,_0x1702b7)[_0x7d66e(0x1ca)](F)[_0x7d66e(0x1ca)](k),'removeComment':({channelId:_0x106ebb,threadId:_0x32a42b,commentId:_0x4b2f82})=>this[_0x7d66e(0x1d4)](_0x106ebb)[_0x7d66e(0x1b3)](_0x32a42b,_0x4b2f82)[_0x7d66e(0x1ca)](F)[_0x7d66e(0x1ca)](k)},_0x34c09c instanceof _0x2b5b33){const _0x476a92=_0x34c09c[_0x7d66e(0x1aa)][_0x7d66e(0x1ac)](_0x7d66e(0x19d)),_0x44f309=_0x34c09c[_0x7d66e(0x1d3)][_0x7d66e(0x1ac)](_0x195845);await this[_0x7d66e(0x1ae)](_0x476a92);const _0x43b5af=await this[_0x7d66e(0x1af)][_0x7d66e(0x1ac)](_0x476a92)[_0x7d66e(0x1bd)]();this[_0x7d66e(0x1bc)](_0x44f309,_0x7d66e(0x1ce)+_0x476a92,(_0x5536c1,{session:_0x86afc3})=>{const _0x39b4e2=_0x7d66e;_0x86afc3['id']===_0x44f309[_0x39b4e2(0x1a3)]&&(_0x5536c1[_0x39b4e2(0x170)](),this[_0x39b4e2(0x1ad)][_0x39b4e2(0x1d3)][_0x39b4e2(0x1ac)](_0x39b4e2(0x1b6))[_0x39b4e2(0x181)](_0x86afc3[_0x39b4e2(0x18b)],_0x476a92));}),_0x44f309[_0x7d66e(0x186)](_0x476a92,_0x43b5af);}}async[_0x4763ac(0x1ae)](_0x31d204){const _0x5913c4=_0x4763ac;if(this[_0x5913c4(0x1af)][_0x5913c4(0x17c)](_0x31d204))throw new _0x17ac7e(_0x5913c4(0x196),null,{'channelId':_0x31d204});const _0x6cb558=this[_0x5913c4(0x1ad)][_0x5913c4(0x1d3)][_0x5913c4(0x1ac)](_0x5913c4(0x1a0)),_0x36519a=new CloudServicesCommentsAdapter[(_0x5913c4(0x1c0))](_0x31d204);this[_0x5913c4(0x1af)][_0x5913c4(0x19c)](_0x31d204,_0x36519a),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x184),(_0x14d559,_0x452fb5)=>{const _0x4702d3=_0x5913c4,{commentThreadId:_0x3129dc,documentId:_0x4e587f,context:_0x1f801c,attributes:_0x5b3472,resolvedAt:_0x316f5d,resolvedBy:_0x32190b,comments:_0x47a133}=_0x452fb5;_0x6cb558[_0x4702d3(0x1bf)](_0x3129dc)||_0x6cb558[_0x4702d3(0x1c9)]({'threadId':_0x3129dc,'channelId':_0x4e587f,'comments':_0x47a133?_0x47a133[_0x4702d3(0x18d)](S):[],'context':_0x1f801c,'attributes':_0x5b3472,'resolvedAt':_0x316f5d,'resolvedBy':_0x32190b,'isFromAdapter':!0x0});}),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x176),(_0x36c1eb,{commentThreadId:_0x3746f7,documentId:_0x2aa327,context:_0x37b29d,unlinkedAt:_0x47c8d4,attributes:_0x4c9d6d})=>{const _0x14f5fd=_0x5913c4;_0x6cb558[_0x14f5fd(0x1bf)](_0x3746f7)&&_0x6cb558[_0x14f5fd(0x1b8)]({'threadId':_0x3746f7,'channelId':_0x2aa327,'context':_0x37b29d,'unlinkedAt':_0x47c8d4,'attributes':_0x4c9d6d,'isFromAdapter':!0x0});}),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x1c6),(_0x12df43,{commentThreadId:_0x1bd62f,resolvedBy:_0x509f89,resolvedAt:_0x3e9acc})=>{const _0x172dd=_0x5913c4,_0x41e5b0=_0x6cb558[_0x172dd(0x1bf)](_0x1bd62f);_0x41e5b0&&_0x41e5b0[_0x172dd(0x1a7)]({'resolvedBy':_0x509f89,'resolvedAt':_0x3e9acc,'isFromAdapter':!0x0});}),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x1c8),(_0x1a54e,{commentThreadId:_0x219381})=>{const _0x499c22=_0x5913c4,_0x3acbae=_0x6cb558[_0x499c22(0x1bf)](_0x219381);_0x3acbae&&_0x3acbae[_0x499c22(0x188)]({'isFromAdapter':!0x0});}),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x179),(_0x3b4c1c,{commentThreadId:_0x18d431})=>{const _0x618f21=_0x5913c4,_0x11faad=_0x6cb558[_0x618f21(0x1bf)](_0x18d431);_0x11faad&&_0x11faad[_0x618f21(0x190)]({'isFromAdapter':!0x0});}),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x178),(_0x18249b,_0x6b67e)=>{const _0x29322c=_0x5913c4,_0x3ffe67=_0x6b67e[_0x29322c(0x173)],_0x2a5c30=_0x6cb558[_0x29322c(0x1bf)](_0x3ffe67);_0x2a5c30&&_0x2a5c30[_0x29322c(0x1a8)]({...S(_0x6b67e),'isFromAdapter':!0x0});}),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x1d2),(_0x99ef32,{commentThreadId:_0x312c93,commentId:_0x4ed431,content:_0x13871e,attributes:_0x36999f})=>{const _0x3285c9=_0x5913c4,_0x498ba0=_0x6cb558[_0x3285c9(0x1bf)](_0x312c93);if(_0x498ba0){const _0x561813=_0x498ba0[_0x3285c9(0x1d5)](_0x4ed431);_0x561813&&_0x561813[_0x3285c9(0x19f)]({'content':_0x13871e,'attributes':_0x36999f,'isFromAdapter':!0x0});}}),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x1a9),(_0x1e751d,{commentThreadId:_0xfff2b7,commentId:_0x28319c})=>{const _0x2d0293=_0x5913c4,_0x5445c8=_0x6cb558[_0x2d0293(0x1bf)](_0xfff2b7);if(_0x5445c8){const _0x33669f=_0x5445c8[_0x2d0293(0x1d5)](_0x28319c);_0x33669f&&_0x33669f[_0x2d0293(0x190)]({'isFromAdapter':!0x0});}}),await this[_0x5913c4(0x1ab)](_0x31d204);}[_0x4763ac(0x1b4)](){const _0x2eb2c6=_0x4763ac;if(this[_0x2eb2c6(0x1ad)]instanceof _0x2b5b33){const _0x16f286=this[_0x2eb2c6(0x1ad)][_0x2eb2c6(0x1aa)][_0x2eb2c6(0x1ac)](_0x2eb2c6(0x19d));this[_0x2eb2c6(0x1b9)](_0x16f286);}}[_0x4763ac(0x1b9)](_0x412077){const _0x1f60ba=_0x4763ac;if(!this[_0x1f60ba(0x1af)][_0x1f60ba(0x17c)](_0x412077))throw new _0x17ac7e(_0x1f60ba(0x1b2),null,{'channelId':_0x412077});this[_0x1f60ba(0x1d4)](_0x412077)[_0x1f60ba(0x1a2)](),this[_0x1f60ba(0x1af)][_0x1f60ba(0x1b0)](_0x412077);}async[_0x4763ac(0x1c5)](){const _0x28dcfe=_0x4763ac;for(const _0x2cfc96 of this[_0x28dcfe(0x1af)][_0x28dcfe(0x17e)]())await this[_0x28dcfe(0x1ab)](_0x2cfc96);if(this[_0x28dcfe(0x1ad)]instanceof _0x2b5b33){const _0x1e7e4e=this[_0x28dcfe(0x1ad)][_0x28dcfe(0x1aa)][_0x28dcfe(0x1ac)](_0x28dcfe(0x19d)),_0x3f4fb4=this[_0x28dcfe(0x1ad)][_0x28dcfe(0x1d3)][_0x28dcfe(0x1ac)](_0x195845);_0x3f4fb4[_0x28dcfe(0x180)](_0x1e7e4e);const _0x79796b=await this[_0x28dcfe(0x1af)][_0x28dcfe(0x1ac)](_0x1e7e4e)[_0x28dcfe(0x1bd)]();_0x3f4fb4[_0x28dcfe(0x186)](_0x1e7e4e,_0x79796b);}}async[_0x4763ac(0x1ab)](_0x1ddd1d){const _0x431d34=_0x4763ac,{connection:_0x161c41}=this[_0x431d34(0x1ad)][_0x431d34(0x1d3)][_0x431d34(0x1ac)](_0xa0e232),_0x4929f0=this[_0x431d34(0x1ad)][_0x431d34(0x1d3)][_0x431d34(0x1ac)](_0x431d34(0x1a0)),_0x4017c3=this[_0x431d34(0x1af)][_0x431d34(0x1ac)](_0x1ddd1d),_0x5e77fc=await _0x4017c3[_0x431d34(0x1cd)](_0x161c41);await this[_0x431d34(0x18e)](_0x5e77fc);const _0x1744f6=new Set(Array[_0x431d34(0x1cf)](_0x4929f0[_0x431d34(0x192)]({'channelId':_0x1ddd1d}),_0x43bb57=>_0x43bb57['id']));for(const _0x11c781 of _0x5e77fc)_0x11c781[_0x431d34(0x171)]||_0x1744f6[_0x431d34(0x1b0)](_0x11c781[_0x431d34(0x173)]);for(const _0x1f5f8e of _0x1744f6)_0x4929f0[_0x431d34(0x1bf)](_0x1f5f8e)[_0x431d34(0x190)]({'isFromAdapter':!0x0});for(const _0x54c851 of _0x5e77fc){let _0x2fb59c=_0x4929f0[_0x431d34(0x1bf)](_0x54c851[_0x431d34(0x173)]);const {commentThreadId:_0x21e442,context:_0x12f494,attributes:_0xcad316,resolvedBy:_0x56b4f6,resolvedAt:_0x7e8bc4,unlinkedAt:_0x22a01f,deletedAt:_0x1a6e0d}=_0x54c851;if(_0x1a6e0d)continue;_0x2fb59c||(_0x2fb59c=_0x4929f0[_0x431d34(0x1c9)]({'channelId':_0x1ddd1d,'threadId':_0x21e442,'context':_0x12f494,'attributes':_0xcad316||{},'resolvedBy':_0x56b4f6,'resolvedAt':_0x7e8bc4,'unlinkedAt':_0x22a01f,'isFromAdapter':!0x0}));const _0x56cb0c=new Set(Array[_0x431d34(0x1cf)](_0x2fb59c[_0x431d34(0x172)],_0x415ebf=>_0x415ebf['id']));for(const _0x549d81 of _0x54c851[_0x431d34(0x172)])_0x56cb0c[_0x431d34(0x1b0)](_0x549d81[_0x431d34(0x1b7)]);for(const _0x617f12 of _0x56cb0c)_0x2fb59c[_0x431d34(0x1d5)](_0x617f12)[_0x431d34(0x190)]({'isFromAdapter':!0x0});for(const _0x4d4b81 of _0x54c851[_0x431d34(0x172)]){const _0x25c40d=_0x2fb59c[_0x431d34(0x1d5)](_0x4d4b81[_0x431d34(0x1b7)]);_0x25c40d?_0x25c40d[_0x431d34(0x1a4)]!==_0x4d4b81[_0x431d34(0x1a4)]&&_0x25c40d[_0x431d34(0x19f)]({'content':_0x4d4b81[_0x431d34(0x1a4)],'isFromAdapter':!0x0}):_0x2fb59c[_0x431d34(0x1a8)](Object[_0x431d34(0x1cb)](S(_0x4d4b81),{'isFromAdapter':!0x0}));}}}[_0x4763ac(0x1d4)](_0x46337d){const _0x58e2f5=_0x4763ac;if(!this[_0x58e2f5(0x1af)][_0x58e2f5(0x17c)](_0x46337d))throw new _0x17ac7e(_0x58e2f5(0x17b),null,{'channelId':_0x46337d});return this[_0x58e2f5(0x1af)][_0x58e2f5(0x1ac)](_0x46337d);}async[_0x4763ac(0x18e)](_0x1274f1){const _0x2f817f=_0x4763ac,_0x12ebc9=this[_0x2f817f(0x1ad)][_0x2f817f(0x1d3)][_0x2f817f(0x1ac)](_0x1807da),{connection:_0x14fb6d}=this[_0x2f817f(0x1ad)][_0x2f817f(0x1d3)][_0x2f817f(0x1ac)](_0xa0e232),_0x3b29ad=new Set();for(const {resolvedBy:_0x28d5b1,comments:_0x14369c}of _0x1274f1){_0x28d5b1&&!_0x12ebc9[_0x2f817f(0x1c3)](_0x28d5b1)&&_0x3b29ad[_0x2f817f(0x193)](_0x28d5b1);for(const {userId:_0x22a68b}of _0x14369c)_0x12ebc9[_0x2f817f(0x1c3)](_0x22a68b)||_0x3b29ad[_0x2f817f(0x193)](_0x22a68b);}if(0x0===_0x3b29ad[_0x2f817f(0x182)])return;const _0x345470=await _0x10724c[_0x2f817f(0x1c7)](_0x14fb6d,Array[_0x2f817f(0x1cf)](_0x3b29ad));for(const _0x3e1eeb of _0x345470)_0x12ebc9[_0x2f817f(0x1c3)](_0x3e1eeb['id'])||_0x12ebc9[_0x2f817f(0x1bb)](_0x3e1eeb);}}function _0x327b(){const _0x2a2675=['removeComment','destroy','resolvedAt','Permissions','commentId','updateCommentThread','_terminateService','resolveCommentThread','addUser','listenTo','getConnectedSessions','cloud-services-internal-error:\x20Not\x20connected.','getCommentThread','CommentsService','startsWith','authorId','getUser','resolvedBy','reconnect','commentThreadResolved','getMany','commentThreadReopened','addCommentThread','catch','assign','pluginName','connect','sessionAdd:','from','isPremiumPlugin','userId','commentUpdated','plugins','_getService','getComment','off','deletedAt','comments','commentThreadId','requires','169876ebHguk','commentThreadUpdated','code','commentAdded','commentThreadRemoved','411571FsFQQn','cloudservicescommentsadapter-service-not-exist','has','404','keys','message','unregister','setPermissions','size','createdAt','commentThreadAdded','attributes','register','6qmjDDP','reopen','addToReconnectionStack','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','permissions','11268290mePTws','map','_fetchMissingUsersForThreads','isOfficialPlugin','remove','cloud-services-internal-error:\x20Request\x20timeout.','getCommentThreads','add','1109007hJphME','CloudServicesCommentsAdapter','cloudservicescommentsadapter-connect-already-connected','adapter','455016XVdQql','removeCommentThread','10VmkKrs','2955816tCFKsf','set','collaboration.channelId','init','update','CommentsRepository','reopenCommentThread','disconnect','mySessionId','content','84847NwGMhr','updateComment','resolve','addComment','commentRemoved','config','_connectService','get','context','_setUpService','_services','delete','48JAZgaz','cloudservicescommentsadapter-disconnect-not-exist'];_0x327b=function(){return _0x2a2675;};return _0x327b();}async function F(_0x4f93f1){const _0x3feade=_0x4763ac;if(_0x3feade(0x17d)!==_0x4f93f1[_0x3feade(0x177)])throw _0x4f93f1;}function k(_0x252d66){const _0x12d602=_0x4763ac;if((_0x1e1d2a=_0x252d66)[_0x12d602(0x17f)][_0x12d602(0x1c1)](_0x12d602(0x18a))||_0x1e1d2a[_0x12d602(0x17f)][_0x12d602(0x1c1)](_0x12d602(0x1be))||_0x1e1d2a[_0x12d602(0x17f)][_0x12d602(0x1c1)](_0x12d602(0x191)))return new Promise(()=>{});var _0x1e1d2a;throw _0x252d66;}function _0x2956(_0x100d47,_0x5acc34){const _0x327b53=_0x327b();return _0x2956=function(_0x29562b,_0x516ac3){_0x29562b=_0x29562b-0x170;let _0x20d0b5=_0x327b53[_0x29562b];return _0x20d0b5;},_0x2956(_0x100d47,_0x5acc34);}function S(_0x398210){const _0x3d045d=_0x4763ac;return{'threadId':_0x398210[_0x3d045d(0x173)],'commentId':_0x398210[_0x3d045d(0x1b7)],'content':_0x398210[_0x3d045d(0x1a4)],'createdAt':_0x398210[_0x3d045d(0x183)],'authorId':_0x398210[_0x3d045d(0x1d1)],'attributes':_0x398210[_0x3d045d(0x185)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ebc9c=_0x2c75;function _0x5b5a(){const _0x4dd142=['isPremiumPlugin','RealTimeCollaborativeComments','2329410XoIiuG','data','ready','Comments','editor','_terminateService','once','isOfficialPlugin','24mtUnpn','785025WEqkfb','1441300kUxYUb','752IVclbs','2830560uvFdbi','destroy','plugins','22563gFymQm','isThreadsLoadingPaused','_setUpService','44SORtXQ','64ZdPYpC','init','2456wtTfdf','pluginName','change:state','switchReadOnly','CommentsEditing','connected','4ZYcpFN','collaboration.channelId','get','2128vnchWD','config','listenTo','requires','CommentsRepository'];_0x5b5a=function(){return _0x4dd142;};return _0x5b5a();}(function(_0x42e305,_0x4e9e08){const _0x2f01d1=_0x2c75,_0x39fdee=_0x42e305();while(!![]){try{const _0x37ea08=-parseInt(_0x2f01d1(0x80))/0x1*(-parseInt(_0x2f01d1(0x82))/0x2)+parseInt(_0x2f01d1(0x9b))/0x3*(parseInt(_0x2f01d1(0x88))/0x4)+parseInt(_0x2f01d1(0x9c))/0x5+parseInt(_0x2f01d1(0x9a))/0x6*(parseInt(_0x2f01d1(0x8b))/0x7)+parseInt(_0x2f01d1(0x78))/0x8*(parseInt(_0x2f01d1(0x7c))/0x9)+parseInt(_0x2f01d1(0x92))/0xa+-parseInt(_0x2f01d1(0x7f))/0xb*(parseInt(_0x2f01d1(0x79))/0xc);if(_0x37ea08===_0x4e9e08)break;else _0x39fdee['push'](_0x39fdee['shift']());}catch(_0x1c50e7){_0x39fdee['push'](_0x39fdee['shift']());}}}(_0x5b5a,0x25cc6));import{Plugin as _0x27dd51}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0xe46e94}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x35a57d}from'./realtimecollaborativeediting.js';function _0x2c75(_0x13b53c,_0xfb057d){const _0x5b5a5e=_0x5b5a();return _0x2c75=function(_0x2c7593,_0x24145b){_0x2c7593=_0x2c7593-0x78;let _0x41c4e8=_0x5b5a5e[_0x2c7593];return _0x41c4e8;},_0x2c75(_0x13b53c,_0xfb057d);}import{WebSocketGateway as _0x2d26d7}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x27dd51{static get[_0x3ebc9c(0x8e)](){const _0x493193=_0x3ebc9c;return[_0x493193(0x95),_0xe46e94,_0x35a57d,_0x2d26d7];}static get[_0x3ebc9c(0x83)](){const _0x1b9b8f=_0x3ebc9c;return _0x1b9b8f(0x91);}static get[_0x3ebc9c(0x99)](){return!0x0;}static get[_0x3ebc9c(0x90)](){return!0x0;}[_0x3ebc9c(0x81)](){const _0x3bcf01=_0x3ebc9c,_0x22fff8=this[_0x3bcf01(0x96)][_0x3bcf01(0x7b)][_0x3bcf01(0x8a)](_0x2d26d7),_0x1c568c=this[_0x3bcf01(0x96)][_0x3bcf01(0x7b)][_0x3bcf01(0x8a)](_0x3bcf01(0x86)),_0x3e040a=this[_0x3bcf01(0x96)][_0x3bcf01(0x7b)][_0x3bcf01(0x8a)](_0xe46e94);return this[_0x3bcf01(0x96)][_0x3bcf01(0x93)][_0x3bcf01(0x98)](_0x3bcf01(0x94),()=>{const _0x2780cb=_0x3bcf01;this[_0x2780cb(0x8d)](_0x22fff8,_0x2780cb(0x84),(_0x2874f5,_0x556da6,_0x4000dc)=>{const _0x3a9048=_0x2780cb;_0x1c568c[_0x3a9048(0x7d)]=_0x3a9048(0x87)!==_0x4000dc;});}),this[_0x3bcf01(0x8d)](_0x22fff8,_0x3bcf01(0x84),(_0x4c8ade,_0x42f78d,_0x4c3428)=>{const _0x5d9e7d=_0x3bcf01;this[_0x5d9e7d(0x96)][_0x5d9e7d(0x7b)][_0x5d9e7d(0x8a)](_0x5d9e7d(0x8f))[_0x5d9e7d(0x85)](_0x5d9e7d(0x87)!==_0x4c3428);}),_0x3e040a[_0x3bcf01(0x7e)](this[_0x3bcf01(0x96)][_0x3bcf01(0x8c)][_0x3bcf01(0x8a)](_0x3bcf01(0x89)));}[_0x3ebc9c(0x7a)](){const _0x1a48e9=_0x3ebc9c;this[_0x1a48e9(0x96)][_0x1a48e9(0x7b)][_0x1a48e9(0x8a)](_0xe46e94)[_0x1a48e9(0x97)](this[_0x1a48e9(0x96)][_0x1a48e9(0x8c)][_0x1a48e9(0x8a)](_0x1a48e9(0x89))),super[_0x1a48e9(0x7a)]();}}
23
+ const _0x41d0df=_0x6ac6;(function(_0x415845,_0x3f8342){const _0x3d9476=_0x6ac6,_0x59af28=_0x415845();while(!![]){try{const _0x760c46=parseInt(_0x3d9476(0x175))/0x1+parseInt(_0x3d9476(0x165))/0x2+parseInt(_0x3d9476(0x169))/0x3*(parseInt(_0x3d9476(0x15f))/0x4)+-parseInt(_0x3d9476(0x15d))/0x5+-parseInt(_0x3d9476(0x16e))/0x6+-parseInt(_0x3d9476(0x171))/0x7+parseInt(_0x3d9476(0x166))/0x8*(parseInt(_0x3d9476(0x172))/0x9);if(_0x760c46===_0x3f8342)break;else _0x59af28['push'](_0x59af28['shift']());}catch(_0x2667dd){_0x59af28['push'](_0x59af28['shift']());}}}(_0x1e63,0x74d79));function _0x6ac6(_0x1dd0a3,_0x612b21){const _0x1e631d=_0x1e63();return _0x6ac6=function(_0x6ac61a,_0x551793){_0x6ac61a=_0x6ac61a-0x156;let _0x4ea790=_0x1e631d[_0x6ac61a];return _0x4ea790;},_0x6ac6(_0x1dd0a3,_0x612b21);}import{Plugin as _0x49fc47}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x4b14ad}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x1e63(){const _0x37e9f1=['RealTimeCollaborativeComments','isThreadsLoadingPaused','get','2936055YeVgIz','destroy','5948vWNdGb','requires','Comments','connected','_setUpService','isOfficialPlugin','786006bEGVSD','8weSkmj','editor','isPremiumPlugin','1524vNBrMf','_terminateService','init','data','pluginName','1555542kKqHds','once','plugins','5984986WvJxXf','5581053HSnowd','ready','CommentsRepository','411535BNybSi','change:state','CommentsEditing','collaboration.channelId','switchReadOnly','config','listenTo'];_0x1e63=function(){return _0x37e9f1;};return _0x1e63();}import{RealTimeCollaborativeEditing as _0x404fc7}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0xf1321b}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x49fc47{static get[_0x41d0df(0x160)](){const _0x373a6a=_0x41d0df;return[_0x373a6a(0x161),_0x4b14ad,_0x404fc7,_0xf1321b];}static get[_0x41d0df(0x16d)](){const _0x12e826=_0x41d0df;return _0x12e826(0x15a);}static get[_0x41d0df(0x164)](){return!0x0;}static get[_0x41d0df(0x168)](){return!0x0;}[_0x41d0df(0x16b)](){const _0x4e4e82=_0x41d0df,_0x4eb8f4=this[_0x4e4e82(0x167)][_0x4e4e82(0x170)][_0x4e4e82(0x15c)](_0xf1321b),_0x7975a0=this[_0x4e4e82(0x167)][_0x4e4e82(0x170)][_0x4e4e82(0x15c)](_0x4e4e82(0x177)),_0x218723=this[_0x4e4e82(0x167)][_0x4e4e82(0x170)][_0x4e4e82(0x15c)](_0x4b14ad);return this[_0x4e4e82(0x167)][_0x4e4e82(0x16c)][_0x4e4e82(0x16f)](_0x4e4e82(0x173),()=>{const _0x4e2c62=_0x4e4e82;this[_0x4e2c62(0x159)](_0x4eb8f4,_0x4e2c62(0x176),(_0x36b557,_0x2b0996,_0x14f559)=>{const _0x2c7b33=_0x4e2c62;_0x7975a0[_0x2c7b33(0x15b)]=_0x2c7b33(0x162)!==_0x14f559;});}),this[_0x4e4e82(0x159)](_0x4eb8f4,_0x4e4e82(0x176),(_0x22e3a4,_0x23127b,_0x5663f4)=>{const _0x84f7c7=_0x4e4e82;this[_0x84f7c7(0x167)][_0x84f7c7(0x170)][_0x84f7c7(0x15c)](_0x84f7c7(0x174))[_0x84f7c7(0x157)](_0x84f7c7(0x162)!==_0x5663f4);}),_0x218723[_0x4e4e82(0x163)](this[_0x4e4e82(0x167)][_0x4e4e82(0x158)][_0x4e4e82(0x15c)](_0x4e4e82(0x156)));}[_0x41d0df(0x15e)](){const _0x52ec2a=_0x41d0df;this[_0x52ec2a(0x167)][_0x52ec2a(0x170)][_0x52ec2a(0x15c)](_0x4b14ad)[_0x52ec2a(0x16a)](this[_0x52ec2a(0x167)][_0x52ec2a(0x158)][_0x52ec2a(0x15c)](_0x52ec2a(0x156))),super[_0x52ec2a(0x15e)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30093b=_0x2cfa;(function(_0x1457fb,_0x1d2546){const _0x37dcbd=_0x2cfa,_0x5ec747=_0x1457fb();while(!![]){try{const _0x2ca4a=-parseInt(_0x37dcbd(0xf3))/0x1*(parseInt(_0x37dcbd(0x16c))/0x2)+parseInt(_0x37dcbd(0x97))/0x3+-parseInt(_0x37dcbd(0x133))/0x4*(parseInt(_0x37dcbd(0x149))/0x5)+parseInt(_0x37dcbd(0xad))/0x6+-parseInt(_0x37dcbd(0xef))/0x7*(-parseInt(_0x37dcbd(0x135))/0x8)+-parseInt(_0x37dcbd(0xa2))/0x9+parseInt(_0x37dcbd(0xb3))/0xa;if(_0x2ca4a===_0x1d2546)break;else _0x5ec747['push'](_0x5ec747['shift']());}catch(_0x2fa917){_0x5ec747['push'](_0x5ec747['shift']());}}}(_0x10bd,0xd1328));import{Plugin as _0x15a34c,PendingActions as _0x126b7e}from'ckeditor5/src/core.js';import{CKEditorError as _0x4e864a,version as _0x41a534,uid as _0x2205fc}from'ckeditor5/src/utils.js';import{Notification as _0x2c114f}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x5ee6a0,NoOperation as _0x34ebe8,InsertOperation as _0x164400,MarkerOperation as _0x11057f,RootAttributeOperation as _0xfc1be0,OperationFactory as _0x3d840e,History as _0x5e087d}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x4e17db}from'./websocketgateway.js';import{Sessions as _0x579f57}from'./sessions.js';import{UserMarkers as _0x4e5777}from'./usermarkers.js';import{getTranslation as _0x1a7925}from'../common-translations.js';import{Compressor as _0x307bf2}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0xe8e57}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4f5753,CollaborativeEditingService as _0x209708}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let $=0x1;export class RealTimeCollaborationClient extends _0x15a34c{static [_0x30093b(0xfb)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x209708)());[_0x30093b(0x14c)];[_0x30093b(0x132)];[_0x30093b(0xe1)];[_0x30093b(0x8d)];[_0x30093b(0x9f)];[_0x30093b(0xa8)];[_0x30093b(0x180)];[_0x30093b(0x15a)];[_0x30093b(0xeb)];[_0x30093b(0x8c)];[_0x30093b(0x90)];[_0x30093b(0xa1)];[_0x30093b(0x88)];[_0x30093b(0xe0)];[_0x30093b(0xa3)];[_0x30093b(0x12c)];[_0x30093b(0x108)];[_0x30093b(0x14a)];static get[_0x30093b(0xbe)](){return[_0x4e17db,_0x579f57,_0x4e5777,_0x126b7e,_0xe8e57,_0x2c114f];}static get[_0x30093b(0x117)](){const _0x350297=_0x30093b;return _0x350297(0x102);}static get[_0x30093b(0x176)](){return!0x0;}static get[_0x30093b(0xf2)](){return!0x0;}get[_0x30093b(0x16d)](){const _0x5f2640=_0x30093b;return this[_0x5f2640(0x17c)]+this[_0x5f2640(0x14c)];}get[_0x30093b(0x17c)](){const _0x512ea8=_0x30093b;return this[_0x512ea8(0xe1)][_0x512ea8(0x13f)]-this[_0x512ea8(0x14c)];}get[_0x30093b(0x143)](){const _0x3a0814=_0x30093b,_0xd56c7c=this[_0x3a0814(0xe1)][_0x3a0814(0x121)]();for(let _0x4f640d=_0xd56c7c[_0x3a0814(0xc4)]-0x1;_0x4f640d>=0x0;_0x4f640d--){const _0x5d3f1a=_0xd56c7c[_0x4f640d];if(!this[_0x3a0814(0x108)][_0x3a0814(0x109)](_0x5d3f1a))return _0x5d3f1a[_0x3a0814(0x10a)]+0x1-this[_0x3a0814(0x14c)];}return 0x0;}constructor(_0x2ab168){const _0xfec1f0=_0x30093b;if(super(_0x2ab168),this[_0xfec1f0(0x14c)]=0x0,this[_0xfec1f0(0x132)]=null,this[_0xfec1f0(0xe1)]=new _0x5e087d(),this[_0xfec1f0(0x145)][_0xfec1f0(0xe7)][_0xfec1f0(0xa9)](_0xfec1f0(0x114),{}),this[_0xfec1f0(0x8d)]=this[_0xfec1f0(0x145)][_0xfec1f0(0xe7)][_0xfec1f0(0x171)](_0xfec1f0(0x188)),!this[_0xfec1f0(0x8d)])throw new _0x4e864a(_0xfec1f0(0x126),this);const _0x86fd48=_0x2ab168[_0xfec1f0(0xe7)][_0xfec1f0(0x171)](_0xfec1f0(0x122))||_0x41a534;this[_0xfec1f0(0x9f)]=new RealTimeCollaborationClient[(_0xfec1f0(0xfb))](_0x86fd48,this[_0xfec1f0(0x8d)]),this[_0xfec1f0(0xa8)]=this[_0xfec1f0(0x145)][_0xfec1f0(0x13a)][_0xfec1f0(0x17e)],this[_0xfec1f0(0x180)]=new _0x307bf2(),this[_0xfec1f0(0x15a)]=[],this[_0xfec1f0(0xeb)]=new WeakSet(),this[_0xfec1f0(0x8c)]=new Set(),this[_0xfec1f0(0x8e)](_0xfec1f0(0x99),!0x1),this[_0xfec1f0(0x8e)](_0xfec1f0(0x12f),!0x1),this[_0xfec1f0(0x90)]=null,this[_0xfec1f0(0xa1)]=!0x1,this[_0xfec1f0(0x88)]=null,this[_0xfec1f0(0xe0)]=0x12c,this[_0xfec1f0(0xa3)]=this[_0xfec1f0(0xe0)],this[_0xfec1f0(0x12c)]=null,this[_0xfec1f0(0x108)]=new WeakSet(),this[_0xfec1f0(0x14a)]=new Q(this[_0xfec1f0(0x108)]);}[_0x30093b(0x89)](){const _0xd573b4=_0x30093b,_0x4097e3=this[_0xd573b4(0x145)],_0x315e6f=_0x4097e3[_0xd573b4(0x129)][_0xd573b4(0x171)](_0xe8e57),_0x5bed5f=_0x4097e3[_0xd573b4(0x129)][_0xd573b4(0x171)](_0x4e17db);this[_0xd573b4(0xde)](_0x315e6f,_0xd573b4(0x87),(_0x5da2f0,_0xfe2337)=>{const _0x370b2f=_0xd573b4,_0x1cb029=_0xfe2337[0x0];_0x1cb029[_0x370b2f(0x10b)]&&(_0x5da2f0[_0x370b2f(0xdb)]=_0x315e6f[_0x370b2f(0x155)](_0x1cb029[_0x370b2f(0x10b)]),_0x5da2f0[_0x370b2f(0x14d)]()),null===_0x1cb029[_0x370b2f(0x10b)]&&(_0x5da2f0[_0x370b2f(0xdb)]=null,_0x5da2f0[_0x370b2f(0x14d)]());},{'priority':_0xd573b4(0x15b)}),this[_0xd573b4(0xde)](_0x4097e3[_0xd573b4(0x13a)][_0xd573b4(0x17e)][_0xd573b4(0x144)],_0xd573b4(0x105),(_0x4d7981,_0x35413c)=>{const _0x81ba90=_0xd573b4;_0x35413c[_0x81ba90(0xd5)]&&this[_0x81ba90(0xb8)]();}),this[_0xd573b4(0xde)](_0x4097e3[_0xd573b4(0xee)][_0xd573b4(0xdd)],_0xd573b4(0x100),()=>{const _0x3b7ba6=_0xd573b4;this[_0x3b7ba6(0xb8)]();}),this[_0xd573b4(0x12d)](),_0x4097e3[_0xd573b4(0x13a)]['on'](_0xd573b4(0x13d),(_0x7b23d3,_0x165abf)=>{const _0x4639e6=_0xd573b4,_0x19667f=_0x165abf[0x0];_0x19667f[_0x4639e6(0xd4)]&&(this[_0x4639e6(0xaa)](_0x19667f),this[_0x4639e6(0x11b)]()&&this[_0x4639e6(0x146)]());}),this[_0xd573b4(0x13b)](),this[_0xd573b4(0x157)](_0xd573b4(0x128))['to'](_0x5bed5f,_0xd573b4(0x11c),this,_0xd573b4(0x12f),(_0x5894b3,_0x463052)=>_0xd573b4(0xfa)===_0x5894b3&&!_0x463052),this['on'](_0xd573b4(0xed),()=>{const _0x2f0973=_0xd573b4;this[_0x2f0973(0x128)]?_0x4097e3[_0x2f0973(0xba)](_0x2f0973(0x107)):_0x4097e3[_0x2f0973(0x165)](_0x2f0973(0x107));}),this[_0xd573b4(0x128)]?_0x4097e3[_0xd573b4(0xba)](_0xd573b4(0x107)):_0x4097e3[_0xd573b4(0x165)](_0xd573b4(0x107)),this[_0xd573b4(0x8e)](_0xd573b4(0xb5),!0x1);}async[_0x30093b(0xd7)](){const _0x2805f6=_0x30093b,_0x25ee4d=this[_0x2805f6(0x145)][_0x2805f6(0x129)][_0x2805f6(0x171)](_0x579f57),_0x562dbf=this[_0x2805f6(0x145)][_0x2805f6(0x129)][_0x2805f6(0x171)](_0x4e17db);try{this[_0x2805f6(0x99)]=!0x0,_0x25ee4d[_0x2805f6(0xa6)](this[_0x2805f6(0x8d)]);const _0x30dbc1=await this[_0x2805f6(0x9f)][_0x2805f6(0xd7)](_0x562dbf[_0x2805f6(0x103)],this[_0x2805f6(0x143)]);await this[_0x2805f6(0xfc)](_0x30dbc1)&&(this[_0x2805f6(0x99)]=!0x1,this[_0x2805f6(0xd2)]());const _0x4114f2=await this[_0x2805f6(0x9f)][_0x2805f6(0x173)]();_0x25ee4d[_0x2805f6(0xbf)](this[_0x2805f6(0x8d)],_0x4114f2),this[_0x2805f6(0x17d)](),this[_0x2805f6(0xb5)]=!0x0;}catch(_0xb75cca){if(function(_0x3dfdf1){const _0x243c7a=_0x2805f6;return _0x243c7a(0x12a)===_0x3dfdf1[_0x243c7a(0xd6)];}(_0xb75cca)&&this[_0x2805f6(0x132)])await this[_0x2805f6(0x17f)]();else{if(function(_0x2e7d81){const _0x4acdfc=_0x2805f6;return _0x4acdfc(0xe6)===_0x2e7d81[_0x4acdfc(0xd6)];}(_0xb75cca)){const _0x29a2e5=_0x1a7925(this[_0x2805f6(0x145)][_0x2805f6(0x11e)],_0x2805f6(0x159));this[_0x2805f6(0x161)](_0x29a2e5);}else{if(!(_0xb75cca instanceof K))throw _0xb75cca;this[_0x2805f6(0x161)]();}}}}[_0x30093b(0xec)](){const _0x6e0bcc=_0x30093b,_0x4b3835=this[_0x6e0bcc(0x145)][_0x6e0bcc(0x129)][_0x6e0bcc(0x171)](_0x4e17db),_0x6be8f4=this[_0x6e0bcc(0x145)][_0x6e0bcc(0x129)][_0x6e0bcc(0x171)](_0x579f57);this[_0x6e0bcc(0x145)][_0x6e0bcc(0x165)](_0x6e0bcc(0xf4)),_0x6be8f4[_0x6e0bcc(0x104)][_0x6e0bcc(0x109)](this[_0x6e0bcc(0x8d)])&&_0x6be8f4[_0x6e0bcc(0xa6)](this[_0x6e0bcc(0x8d)]),_0x4b3835[_0x6e0bcc(0x152)](this),this[_0x6e0bcc(0x8a)](),super[_0x6e0bcc(0xec)]();}async[_0x30093b(0xfc)](_0xb3b36a){const _0x374fd6=_0x30093b;if(this[_0x374fd6(0x132)]!==_0xb3b36a[_0x374fd6(0x132)]&&this[_0x374fd6(0x12c)]!==_0xb3b36a[_0x374fd6(0x10e)])throw new K();return this[_0x374fd6(0x132)]=_0xb3b36a[_0x374fd6(0x132)],this[_0x374fd6(0x189)]([],{..._0xb3b36a,'wereChangesApplied':!0x1,'data':_0xb3b36a[_0x374fd6(0x15c)]},_0x374fd6(0xd7));}async[_0x30093b(0x112)](_0x2e048a,_0xe093cc=!0x1){const _0x3e50c2=_0x30093b,{connection:_0x1e48f5}=this[_0x3e50c2(0x145)][_0x3e50c2(0x129)][_0x3e50c2(0x171)](_0x4e17db);RealTimeCollaborationClient[_0x3e50c2(0xfb)][_0x3e50c2(0x173)](_0x1e48f5,this[_0x3e50c2(0x8d)])[_0x3e50c2(0x120)](_0x5557d3=>this[_0x3e50c2(0xdf)](_0x5557d3))[_0x3e50c2(0x14f)](_0x3e4a55=>{const _0x10efb0=_0x3e50c2;this[_0x10efb0(0x95)](_0x10efb0(0x154),_0x3e4a55);}),this[_0x3e50c2(0xde)](this[_0x3e50c2(0x9f)],_0x3e50c2(0x111),this[_0x3e50c2(0x183)][_0x3e50c2(0x157)](this)),this[_0x3e50c2(0xde)](this[_0x3e50c2(0x9f)],_0x3e50c2(0x182),(_0x36d363,_0x5274f0)=>{const _0x3a8718=_0x3e50c2;this[_0x3a8718(0x95)](_0x3a8718(0x119),_0x5274f0);}),this[_0x3e50c2(0xde)](this[_0x3e50c2(0x9f)],_0x3e50c2(0xf0),()=>{const _0x53bc2e=_0x3e50c2;this[_0x53bc2e(0xb5)]=!0x1;});const _0x101f5b=this[_0x3e50c2(0x14a)][_0x3e50c2(0x123)](_0x2e048a);this[_0x3e50c2(0x99)]=!0x0;const _0x1bef62=await this[_0x3e50c2(0x9f)][_0x3e50c2(0x125)](_0x1e48f5,this[_0x3e50c2(0x141)](_0x2e048a),_0x101f5b);if(this[_0x3e50c2(0x132)]=_0x1bef62[_0x3e50c2(0x132)],_0xe093cc){if(!_0x1bef62[_0x3e50c2(0x138)])return void this[_0x3e50c2(0x161)]();this[_0x3e50c2(0x99)]=!0x1,this[_0x3e50c2(0xd2)](),this[_0x3e50c2(0xe1)][_0x3e50c2(0x162)](),this[_0x3e50c2(0x14c)]=_0x1bef62[_0x3e50c2(0xcc)],this[_0x3e50c2(0xe1)][_0x3e50c2(0x13f)]=this[_0x3e50c2(0x14c)],await this[_0x3e50c2(0x189)](_0x2e048a,_0x1bef62,_0x3e50c2(0x175));}else await this[_0x3e50c2(0x9a)](_0x1bef62,_0x2e048a);this[_0x3e50c2(0x17d)](),this[_0x3e50c2(0xb5)]=!0x0;}[_0x30093b(0x17d)](){const _0x4ec8c9=_0x30093b,_0x257318=this[_0x4ec8c9(0x145)][_0x4ec8c9(0x129)][_0x4ec8c9(0x171)](_0x579f57),_0x40c878=this[_0x4ec8c9(0x145)][_0x4ec8c9(0x129)][_0x4ec8c9(0x171)](_0x4e5777),_0x42450a=_0x257318[_0x4ec8c9(0x104)][_0x4ec8c9(0x171)](this[_0x4ec8c9(0x8d)]);_0x42450a&&_0x42450a[_0x4ec8c9(0xc4)]>0x1?_0x40c878[_0x4ec8c9(0x12b)]():this[_0x4ec8c9(0xde)](_0x257318,_0x4ec8c9(0x169)+this[_0x4ec8c9(0x8d)],()=>{const _0x50c243=_0x4ec8c9;0x2===_0x257318[_0x50c243(0x104)][_0x50c243(0x171)](this[_0x50c243(0x8d)])[_0x50c243(0xc4)]&&_0x40c878[_0x50c243(0x12b)]();});}async[_0x30093b(0x183)](_0x277da2,_0x5e069d,_0x41c7d4,_0x4d534c){const _0x23ed6c=_0x30093b;if(!this[_0x23ed6c(0x99)]&&this[_0x23ed6c(0xa8)][_0x23ed6c(0x13f)]==_0x5e069d){const _0x3882a1=this[_0x23ed6c(0xf1)](_0x41c7d4,_0x4d534c);await this[_0x23ed6c(0xf8)](_0x3882a1),this[_0x23ed6c(0xca)](_0x3882a1,_0x5e069d,_0x41c7d4[_0x23ed6c(0x10e)])||this[_0x23ed6c(0x95)](_0x23ed6c(0x12e));}}async[_0x30093b(0x17f)](){const _0x2b7490=_0x30093b;this[_0x2b7490(0x8a)]();const {locale:_0x4a90d3}=this[_0x2b7490(0x145)];let _0x348420;try{_0x348420=await this[_0x2b7490(0x9f)][_0x2b7490(0x178)]();}catch{const _0x2db13b=_0x1a7925(_0x4a90d3,_0x2b7490(0xa5));return void this[_0x2b7490(0x161)](_0x2db13b);}const _0x3b6c82=_0x348420[_0x2b7490(0x93)]||_0x348420[_0x2b7490(0x127)];if(this[_0x2b7490(0x12c)]!==_0x3b6c82[_0x2b7490(0x10e)]){const _0x4fbfde=_0x1a7925(_0x4a90d3,_0x2b7490(0x16f));return void this[_0x2b7490(0x161)](_0x4fbfde);}await this[_0x2b7490(0x112)](this[_0x2b7490(0x145)][_0x2b7490(0x13a)][_0x2b7490(0x17e)][_0x2b7490(0x137)][_0x2b7490(0x121)](),!0x0);}[_0x30093b(0x8a)](){const _0x530626=_0x30093b;this[_0x530626(0x9f)][_0x530626(0xf9)](),this[_0x530626(0x15a)]=[],clearTimeout(this[_0x530626(0x88)]),this[_0x530626(0xb7)](this[_0x530626(0x9f)]);}[_0x30093b(0xdf)](_0x17af6e){const _0x486c3a=_0x30093b,_0x55f6ae=this[_0x486c3a(0x145)][_0x486c3a(0x129)][_0x486c3a(0x171)](_0x579f57);this[_0x486c3a(0xde)](_0x55f6ae,_0x486c3a(0x169)+this[_0x486c3a(0x8d)],(_0x4dd45f,{session:_0x374b02})=>{const _0x2927dc=_0x486c3a;if(_0x374b02['id']===_0x55f6ae[_0x2927dc(0x106)]){_0x4dd45f[_0x2927dc(0x11d)]();const _0x456334=this[_0x2927dc(0x145)][_0x2927dc(0x129)][_0x2927dc(0x109)](_0x2927dc(0x170))&&this[_0x2927dc(0x145)][_0x2927dc(0x129)][_0x2927dc(0x171)](_0x2927dc(0x170));let _0x2dc9b6=_0x374b02[_0x2927dc(0x148)];_0x456334&&_0x456334[_0x2927dc(0xa4)]&&(_0x2dc9b6=_0x2dc9b6[_0x2927dc(0x142)](_0x299475=>_0x2927dc(0xb9)!==_0x299475)),this[_0x2927dc(0x145)][_0x2927dc(0x129)][_0x2927dc(0x171)](_0x2927dc(0x10f))[_0x2927dc(0xd1)](_0x2dc9b6,this[_0x2927dc(0x8d)]);}}),_0x55f6ae[_0x486c3a(0xbf)](this[_0x486c3a(0x8d)],_0x17af6e);}[_0x30093b(0x12d)](){const _0x5b6ca0=_0x30093b,_0x40c8de=this[_0x5b6ca0(0x145)][_0x5b6ca0(0x15c)][_0x5b6ca0(0x8e)];this[_0x5b6ca0(0x145)][_0x5b6ca0(0x15c)][_0x5b6ca0(0x8e)]=(..._0x57d7d9)=>{const _0x2f1b58=_0x5b6ca0;if(!_0x57d7d9[_0x57d7d9[_0x2f1b58(0xc4)]-0x1][_0x2f1b58(0xc7)])throw new _0x4e864a(_0x2f1b58(0xc9),this);_0x40c8de[_0x2f1b58(0xae)](this[_0x2f1b58(0x145)][_0x2f1b58(0x15c)],_0x57d7d9);};}[_0x30093b(0x13b)](){const _0x1d8429=_0x30093b;this[_0x1d8429(0x145)][_0x1d8429(0x15c)]['on'](_0x1d8429(0x89),(_0x4393c2,[_0x510f18])=>{const _0x36b32b=_0x1d8429;if(this[_0x36b32b(0xa8)][_0x36b32b(0x13f)])throw new _0x4e864a(_0x36b32b(0xdc),this);_0x4393c2[_0x36b32b(0x14d)](),this[_0x36b32b(0xd8)]();const _0x458a66=this[_0x36b32b(0x145)][_0x36b32b(0xe7)][_0x36b32b(0x171)](_0x36b32b(0x14e)),_0x4d8614=this[_0x36b32b(0x186)](_0x510f18,_0x458a66);0x0==_0x4d8614[_0x36b32b(0xc4)]&&_0x4d8614[_0x36b32b(0x16b)](new _0x34ebe8(0x0)),_0x4393c2[_0x36b32b(0xdb)]=this[_0x36b32b(0x112)](_0x4d8614)[_0x36b32b(0x120)](()=>{const _0x254900=_0x36b32b;this[_0x254900(0x145)][_0x254900(0x129)][_0x254900(0x171)](_0x4e17db)[_0x254900(0x101)](this),this[_0x254900(0x145)][_0x254900(0x15c)][_0x254900(0x18a)](_0x254900(0xcd));})[_0x36b32b(0x14f)](_0x5808ae=>this[_0x36b32b(0x95)](_0x36b32b(0xe2),_0x5808ae))[_0x36b32b(0x94)](()=>this[_0x36b32b(0xd2)]());},{'priority':_0x1d8429(0x15b)}),this[_0x1d8429(0x145)]['on'](_0x1d8429(0xb4),async(_0x47f40c,[_0x174133,_0x43b09c])=>{const _0x5d039a=_0x1d8429;_0x47f40c[_0x5d039a(0x14d)]();const _0x21fb47=this[_0x5d039a(0x145)][_0x5d039a(0x13a)][_0x5d039a(0x17e)][_0x5d039a(0x15d)](_0x174133);if(!this[_0x5d039a(0x8c)][_0x5d039a(0x109)](_0x174133)){const _0x5e465b=_0x43b09c&&_0x43b09c[_0x5d039a(0x15c)]?_0x43b09c[_0x5d039a(0x15c)]:'',_0x4a5079=_0x43b09c&&_0x43b09c[_0x5d039a(0xbc)]?_0x43b09c[_0x5d039a(0xbc)]:{};await this[_0x5d039a(0x158)](_0x174133,_0x5e465b,_0x4a5079);}this[_0x5d039a(0x145)][_0x5d039a(0x13a)][_0x5d039a(0x156)]({'isUndoable':!0x1},()=>{const _0x17bc93=_0x5d039a;_0x21fb47[_0x17bc93(0x134)]=!0x0,this[_0x17bc93(0x145)][_0x17bc93(0x13a)][_0x17bc93(0x17e)][_0x17bc93(0x116)][_0x17bc93(0xc0)](_0x21fb47);});},{'priority':_0x1d8429(0x15b)});}async[_0x30093b(0xf8)](_0x3b52ec){const _0x27f05a=_0x30093b,_0x7aee06=this[_0x27f05a(0x145)][_0x27f05a(0x129)][_0x27f05a(0x171)](_0xe8e57),{connection:_0x30949b}=this[_0x27f05a(0x145)][_0x27f05a(0x129)][_0x27f05a(0x171)](_0x4e17db),_0x4eccab=new Set();for(const _0x108d9f of _0x3b52ec){const _0x14087d=_0x108d9f[_0x27f05a(0x10b)];_0x14087d&&!_0x7aee06[_0x27f05a(0x155)](_0x14087d)&&_0x4eccab[_0x27f05a(0x166)](_0x14087d);}if(0x0===_0x4eccab[_0x27f05a(0x130)])return;const _0x5c46f2=await _0x4f5753[_0x27f05a(0x10c)](_0x30949b,Array[_0x27f05a(0x9e)](_0x4eccab));for(const _0x19407f of _0x5c46f2)_0x7aee06[_0x27f05a(0x155)](_0x19407f['id'])||_0x7aee06[_0x27f05a(0xcf)](_0x19407f);}[_0x30093b(0x186)](_0xf2680c,_0x320173={}){const _0x3972ae=_0x30093b,_0x38a0dc=this[_0x3972ae(0x145)][_0x3972ae(0x13a)],_0x3919ce=[];let _0xefc233=0x0;const _0x37869d=_0x3972ae(0x10d)==typeof _0xf2680c?{'main':_0xf2680c}:_0xf2680c;for(const _0x2f7d27 of Object[_0x3972ae(0xc1)](_0x37869d)){if(!this[_0x3972ae(0xa8)][_0x3972ae(0xc8)][_0x3972ae(0x109)](_0x2f7d27))throw new _0x4e864a(_0x3972ae(0x17b),this);const _0x2916b6=this[_0x3972ae(0x145)][_0x3972ae(0x15c)][_0x3972ae(0x13c)](_0x37869d[_0x2f7d27]),_0x5ba548=this[_0x3972ae(0xa8)][_0x3972ae(0x15d)](_0x2f7d27),_0x5105cc=new _0x164400(_0x38a0dc[_0x3972ae(0xe8)](_0x5ba548,0x0),_0x2916b6,_0xefc233++);_0x3919ce[_0x3972ae(0x16b)](_0x5105cc);for(const [_0x17ee1e,_0x4900f2]of _0x2916b6[_0x3972ae(0x11a)]){const _0x2b27bf=_0x38a0dc[_0x3972ae(0xfe)](_0x38a0dc[_0x3972ae(0x113)](_0x5ba548,_0x4900f2[_0x3972ae(0x147)][_0x3972ae(0x177)][_0x3972ae(0x16e)]()),_0x38a0dc[_0x3972ae(0x113)](_0x5ba548,_0x4900f2[_0x3972ae(0x115)][_0x3972ae(0x177)][_0x3972ae(0x16e)]())),_0x4201b1=new _0x11057f(_0x17ee1e,null,_0x2b27bf,_0x38a0dc[_0x3972ae(0x11a)],!0x0,_0xefc233++);_0x3919ce[_0x3972ae(0x16b)](_0x4201b1);}}if(_0x320173)for(const [_0x394bfd,_0x2bef31]of Object[_0x3972ae(0x15f)](_0x320173)){const _0x4eb48a=_0x38a0dc[_0x3972ae(0x17e)][_0x3972ae(0x15d)](_0x394bfd);if(!_0x4eb48a)throw new _0x4e864a(_0x3972ae(0xc6),null);for(const [_0x9c28e5,_0x57fbba]of Object[_0x3972ae(0x15f)](_0x2bef31))if(null!==_0x57fbba){const _0x5cba1d=new _0xfc1be0(_0x4eb48a,_0x9c28e5,null,_0x57fbba,_0xefc233++);_0x3919ce[_0x3972ae(0x16b)](_0x5cba1d);}}return _0x3919ce;}async[_0x30093b(0x158)](_0x5baa7b,_0x5143f7,_0x29250b){const _0x18d938=_0x30093b;this[_0x18d938(0x186)]({[_0x5baa7b]:_0x5143f7},{[_0x5baa7b]:_0x29250b})[_0x18d938(0x124)]((_0x14212c,_0x5f0a05)=>{const _0x2a5da9=_0x18d938;_0x14212c[_0x2a5da9(0x10a)]=this[_0x2a5da9(0xa8)][_0x2a5da9(0x13f)]+_0x5f0a05,_0x14212c[_0x2a5da9(0x8b)]=!0x0,this[_0x2a5da9(0xaa)](_0x14212c);}),this[_0x18d938(0x146)](),await this[_0x18d938(0xd0)]();}async[_0x30093b(0x9a)](_0x33995b,_0x420346){const _0x1f9726=_0x30093b;let _0x5c1e1a;this[_0x1f9726(0x14c)]=_0x33995b[_0x1f9726(0xcc)];const _0x57f038=_0x33995b[_0x1f9726(0x138)]&&!_0x33995b[_0x1f9726(0x167)],_0x23fa1e=_0x57f038?0x0:_0x33995b[_0x1f9726(0x15c)][_0x1f9726(0x10a)];if(_0x420346[_0x1f9726(0x124)](_0x5be1c3=>{const _0x2d7ffa=_0x1f9726;_0x5be1c3[_0x2d7ffa(0x8b)]=!0x0,_0x5be1c3[_0x2d7ffa(0x9c)]=_0x33995b[_0x2d7ffa(0x8f)],_0x5be1c3[_0x2d7ffa(0x10b)]=null;}),_0x57f038)_0x5c1e1a=_0x420346,this[_0x1f9726(0xc3)](_0x5c1e1a,_0x57f038);else{if(_0x33995b[_0x1f9726(0x167)]){const _0x5773e6=this[_0x1f9726(0x186)](_0x33995b[_0x1f9726(0x167)]);this[_0x1f9726(0xa8)][_0x1f9726(0x137)][_0x1f9726(0x13f)]=-_0x5773e6[_0x1f9726(0xc4)],_0x5773e6[_0x1f9726(0x124)](_0x38c209=>{const _0x5bfb74=_0x1f9726;_0x38c209[_0x5bfb74(0x10a)]-=_0x5773e6[_0x5bfb74(0xc4)],_0x38c209[_0x5bfb74(0x9c)]=_0x33995b[_0x5bfb74(0x8f)],_0x38c209[_0x5bfb74(0x8b)]=!0x0,_0x38c209[_0x5bfb74(0x10b)]=null;}),this[_0x1f9726(0xc3)](_0x5773e6,!0x0),this[_0x1f9726(0xe1)][_0x1f9726(0x13f)]=-_0x5773e6[_0x1f9726(0xc4)]+this[_0x1f9726(0x14c)],this[_0x1f9726(0xc5)](_0x5773e6);}this[_0x1f9726(0xa8)][_0x1f9726(0x137)][_0x1f9726(0x13f)]=_0x23fa1e,_0x5c1e1a=this[_0x1f9726(0xf1)](_0x33995b[_0x1f9726(0x15c)],_0x33995b[_0x1f9726(0x118)]),await this[_0x1f9726(0xf8)](_0x5c1e1a),this[_0x1f9726(0xc3)](_0x5c1e1a,_0x57f038);}_0x33995b[_0x1f9726(0x10e)]&&(this[_0x1f9726(0x14a)][_0x1f9726(0x91)](_0x5c1e1a,_0x33995b[_0x1f9726(0x10e)]),this[_0x1f9726(0x12c)]=_0x33995b[_0x1f9726(0x10e)]),this[_0x1f9726(0xe1)][_0x1f9726(0x13f)]=_0x23fa1e+this[_0x1f9726(0x14c)],this[_0x1f9726(0xc5)](_0x5c1e1a),_0x420346[_0x1f9726(0x142)](_0x1d852f=>{const _0x163201=_0x1f9726,_0x168ae7=this[_0x163201(0x151)](_0x1d852f);return _0x168ae7&&!this[_0x163201(0x8c)][_0x163201(0x109)](_0x168ae7);})[_0x1f9726(0x124)]((_0x5a53bb,_0xf60895)=>{const _0x52d620=_0x1f9726;_0x5a53bb[_0x52d620(0x10a)]=this[_0x52d620(0xa8)][_0x52d620(0x13f)]+_0xf60895,this[_0x52d620(0xaa)](_0x5a53bb);}),this[_0x1f9726(0x11b)]()?(this[_0x1f9726(0xa3)]=0x0,this[_0x1f9726(0x146)](!0x0),await this[_0x1f9726(0xd0)]()):(this[_0x1f9726(0x99)]=!0x1,this[_0x1f9726(0xd2)]());}[_0x30093b(0x95)](_0x363bc3,_0x539170){const _0x49766c=_0x30093b,_0x4d2e6b=_0x539170&&_0x539170[_0x49766c(0xa0)];if(_0x4d2e6b&&_0x4d2e6b[_0x49766c(0x13e)](_0x49766c(0xda)))throw _0x539170;const _0xa2b481=this[_0x49766c(0x145)][_0x49766c(0x129)][_0x49766c(0x171)](_0x4e17db);throw this[_0x49766c(0x99)]=!0x0,_0xa2b481[_0x49766c(0xf9)](),this[_0x49766c(0x145)][_0x49766c(0x165)](_0x49766c(0xe9)),new _0x4e864a(_0x363bc3,this[_0x49766c(0x145)],_0x4d2e6b?{'originalError':_0x4d2e6b}:void 0x0);}[_0x30093b(0xaa)](_0x3df02e){const _0x27e6e6=_0x30093b;this[_0x27e6e6(0xeb)][_0x27e6e6(0x109)](_0x3df02e)||(this[_0x27e6e6(0xeb)][_0x27e6e6(0x166)](_0x3df02e),this[_0x27e6e6(0x15a)][_0x27e6e6(0x16b)](_0x3df02e),this[_0x27e6e6(0x90)]||_0x27e6e6(0xe3)==_0x3df02e[_0x27e6e6(0xe4)]&&!_0x3df02e[_0x27e6e6(0x172)]||this[_0x27e6e6(0xd8)]());}[_0x30093b(0x146)](_0x4b8b74=!0x1){const _0x15d1f5=_0x30093b;!_0x4b8b74&&this[_0x15d1f5(0x99)]||(this[_0x15d1f5(0x99)]=!0x0,clearTimeout(this[_0x15d1f5(0x88)]),this[_0x15d1f5(0x88)]=setTimeout(()=>{const _0x2d426f=_0x15d1f5;this[_0x2d426f(0x187)]()[_0x2d426f(0x120)](_0x179d4d=>{const _0x178bd6=_0x2d426f;_0x179d4d&&(this[_0x178bd6(0xd2)](),this[_0x178bd6(0x99)]=!0x1);})[_0x2d426f(0x14f)](_0x32baa2=>{const _0x325c97=_0x2d426f;this[_0x325c97(0xd2)](),this[_0x325c97(0x99)]=!0x1,function(_0x19e44c){const _0x17c50a=_0x325c97;return _0x19e44c[_0x17c50a(0xa0)][_0x17c50a(0x13e)](_0x17c50a(0x136))||_0x19e44c[_0x17c50a(0xa0)][_0x17c50a(0x13e)](_0x17c50a(0xaf))||_0x19e44c[_0x17c50a(0xa0)][_0x17c50a(0x13e)](_0x17c50a(0x98));}(_0x32baa2)||this[_0x325c97(0x95)](_0x32baa2[_0x325c97(0xa0)],_0x32baa2);});},this[_0x15d1f5(0xa3)]));}[_0x30093b(0xd0)](){return new Promise(_0x212d61=>{const _0x10926b=_0x2cfa;this['on'](_0x10926b(0xac),()=>{_0x212d61();});});}async[_0x30093b(0x187)](){const _0x4b821d=_0x30093b,_0x2f9275=this[_0x4b821d(0x145)][_0x4b821d(0x129)][_0x4b821d(0x171)](_0x4e5777);if(this[_0x4b821d(0xff)]()&&(_0x2f9275[_0x4b821d(0x12b)](),this[_0x4b821d(0xa1)]=!0x1),!this[_0x4b821d(0x11b)]())return!0x0;const _0x30a267=[...this[_0x4b821d(0x15a)]];for(const _0x5c5b28 of _0x30a267)_0x5c5b28[_0x4b821d(0x18c)]=this[_0x4b821d(0xa8)][_0x4b821d(0x137)][_0x4b821d(0xf6)](_0x5c5b28);const _0x383ef2=this[_0x4b821d(0x14a)][_0x4b821d(0x123)](_0x30a267),_0xbdee2b=$++,_0x59c92b=this[_0x4b821d(0x141)](_0x30a267),_0x4f4b01=await this[_0x4b821d(0x9f)][_0x4b821d(0xf7)](_0x59c92b,_0x59c92b[_0x4b821d(0x10a)],_0x383ef2);try{return await this[_0x4b821d(0x189)](_0x30a267,_0x4f4b01,_0xbdee2b);}catch(_0x1e698d){return this[_0x4b821d(0x95)](_0x4b821d(0x131),_0x1e698d);}}async[_0x30093b(0x189)](_0x12ab15,_0x324940,_0x3f8b55){const _0xcaf1b1=_0x30093b;if(_0xcaf1b1(0x182)in _0x324940)throw _0x324940[_0xcaf1b1(0x182)];let _0x259788=!0x1;if(_0x324940[_0xcaf1b1(0x138)]){_0x324940[_0xcaf1b1(0x10e)]&&(this[_0xcaf1b1(0x12c)]=_0x324940[_0xcaf1b1(0x10e)]),this[_0xcaf1b1(0x15a)]=this[_0xcaf1b1(0x15a)][_0xcaf1b1(0x142)](_0xd8ffdc=>!_0x12ab15[_0xcaf1b1(0x140)](_0xd8ffdc));for(const _0x220e28 of _0x12ab15)_0x220e28[_0xcaf1b1(0x9c)]=_0xcaf1b1(0x11f)in _0x324940&&_0x324940[_0xcaf1b1(0x11f)]||void 0x0;J(_0x12ab15,_0x324940[_0xcaf1b1(0x13f)]-_0x12ab15[_0xcaf1b1(0xc4)]),this[_0xcaf1b1(0xc5)](_0x12ab15);const _0x1a6aed=_0x12ab15[_0xcaf1b1(0x142)](_0x5aa80c=>{const _0x258f35=_0xcaf1b1;if(!_0x5aa80c[_0x258f35(0x8b)])return!0x1;const _0xa8fe3d=this[_0x258f35(0x151)](_0x5aa80c);return _0xa8fe3d&&!this[_0x258f35(0x8c)][_0x258f35(0x109)](_0xa8fe3d);});J(_0x1a6aed,this[_0xcaf1b1(0xa8)][_0xcaf1b1(0x13f)]),this[_0xcaf1b1(0xc3)](_0x1a6aed),_0x259788=!0x0,this[_0xcaf1b1(0xa3)]=this[_0xcaf1b1(0xe0)];}else{const _0x4d98d5=this[_0xcaf1b1(0xf1)](_0x324940[_0xcaf1b1(0x15c)],_0x324940[_0xcaf1b1(0x118)])[_0xcaf1b1(0x142)](_0x461e0d=>_0x461e0d[_0xcaf1b1(0x10a)]>=this[_0xcaf1b1(0x17c)]);_0x4d98d5[_0xcaf1b1(0x124)](_0x5b49fd=>this[_0xcaf1b1(0xbb)](_0x5b49fd)),this[_0xcaf1b1(0x15a)]=this[_0xcaf1b1(0x15a)][_0xcaf1b1(0x142)](_0x4434c2=>!_0x4434c2[_0xcaf1b1(0x8b)]||!this[_0xcaf1b1(0x8c)][_0xcaf1b1(0x109)](this[_0xcaf1b1(0x151)](_0x4434c2))),this[_0xcaf1b1(0x15a)][_0xcaf1b1(0xc4)]&&J(this[_0xcaf1b1(0x15a)],this[_0xcaf1b1(0x15a)][0x0][_0xcaf1b1(0x10a)]),await this[_0xcaf1b1(0xf8)](_0x4d98d5),_0x259788=this[_0xcaf1b1(0xca)](_0x4d98d5,_0x324940[_0xcaf1b1(0x13f)],_0x324940[_0xcaf1b1(0x10e)]),this[_0xcaf1b1(0xa3)]=Math[_0xcaf1b1(0xab)](this[_0xcaf1b1(0xa3)]/0x2);}return _0x259788?!this[_0xcaf1b1(0x11b)]()||(this[_0xcaf1b1(0x146)](!0x0),!0x1):this[_0xcaf1b1(0x95)](_0xcaf1b1(0x174));}[_0x30093b(0xca)](_0x3108cf,_0x34f916,_0x4d2c89){const _0x40559d=_0x30093b;try{const _0x13d842={'document':this[_0x40559d(0xa8)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x75d4b6,operationsB:_0x38fe2f,originalOperations:_0x170eff}=_0x5ee6a0(_0x3108cf,this[_0x40559d(0x15a)],_0x13d842);J(_0x75d4b6,this[_0x40559d(0xa8)][_0x40559d(0x13f)]),J(_0x38fe2f,_0x34f916);for(const _0x49a9eb of _0x75d4b6){const _0x4ed5d4=_0x170eff[_0x40559d(0x171)](_0x49a9eb);_0x49a9eb[_0x40559d(0x10b)]=_0x4ed5d4?_0x4ed5d4[_0x40559d(0x10b)]:null;}_0x4d2c89&&(this[_0x40559d(0x14a)][_0x40559d(0x91)](_0x3108cf,_0x4d2c89),this[_0x40559d(0x12c)]=_0x4d2c89),this[_0x40559d(0x15a)]=[..._0x38fe2f],this[_0x40559d(0xc3)](_0x75d4b6),this[_0x40559d(0xc5)](_0x3108cf);}catch(_0x24961f){return console[_0x40559d(0x182)](_0x24961f),!0x1;}return!0x0;}[_0x30093b(0xc3)](_0x3c6ab8,_0x1c801d=!0x1){const _0x352a4c=_0x30093b;this[_0x352a4c(0x145)][_0x352a4c(0x13a)][_0x352a4c(0x156)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5e3e00=>{const _0x3b9260=_0x352a4c;for(const _0x5176fc of _0x3c6ab8)this[_0x3b9260(0xeb)][_0x3b9260(0x166)](_0x5176fc),this[_0x3b9260(0xbb)](_0x5176fc),_0x5e3e00[_0x3b9260(0x163)][_0x3b9260(0x185)](_0x5176fc),this[_0x3b9260(0x145)][_0x3b9260(0x13a)][_0x3b9260(0x13d)](_0x5176fc);});}[_0x30093b(0xbb)](_0x52f31d){const _0x10354c=_0x30093b,_0x15e7b1=this[_0x10354c(0x151)](_0x52f31d);_0x15e7b1&&this[_0x10354c(0x8c)][_0x10354c(0x166)](_0x15e7b1);}[_0x30093b(0x151)](_0x357064){const _0x42750c=_0x30093b;let _0x509f68,_0x40c105;switch(_0x357064[_0x42750c(0xe4)]){case _0x42750c(0x181):_0x509f68=_0x357064[_0x42750c(0x18b)][_0x42750c(0xcb)];break;case _0x42750c(0xe3):if(_0x40c105=_0x357064[_0x42750c(0xb2)],!_0x40c105)return null;_0x509f68=_0x40c105[_0x42750c(0xcb)];break;case _0x42750c(0xe5):_0x509f68=_0x357064[_0x42750c(0xcb)];break;case _0x42750c(0x160):_0x509f68=_0x357064[_0x42750c(0x110)];break;case _0x42750c(0x92):_0x509f68=_0x357064[_0x42750c(0x150)][_0x42750c(0xcb)];break;default:return null;}return _0x509f68[_0x42750c(0xbd)];}[_0x30093b(0xc5)](_0x40d708){const _0xcdf526=_0x30093b;_0x40d708[_0xcdf526(0x124)](_0x5210d4=>{const _0x58fb66=_0xcdf526,_0x1f71bf=_0x5210d4[_0x58fb66(0xfd)]();_0x1f71bf[_0x58fb66(0x10b)]=_0x5210d4[_0x58fb66(0x10b)],_0x1f71bf[_0x58fb66(0x8b)]=!!_0x5210d4[_0x58fb66(0x8b)],_0x1f71bf[_0x58fb66(0x9c)]=_0x5210d4[_0x58fb66(0x9c)],_0x1f71bf[_0x58fb66(0x10a)]+=this[_0x58fb66(0x14c)],_0x5210d4[_0x58fb66(0xa7)]&&this[_0x58fb66(0x108)][_0x58fb66(0x166)](_0x1f71bf),this[_0x58fb66(0xe1)][_0x58fb66(0x185)](_0x1f71bf);});}[_0x30093b(0x161)](_0x1397c9){const _0x38a736=_0x30093b,_0x1012ef=this[_0x38a736(0x145)][_0x38a736(0x129)][_0x38a736(0x171)](_0x38a736(0x15e)),_0x595936=this[_0x38a736(0x145)][_0x38a736(0x11e)];_0x1397c9||(_0x1397c9=_0x1a7925(_0x595936,_0x38a736(0x168))),_0x1012ef[_0x38a736(0xb1)](_0x1397c9,{'title':_0x1a7925(_0x595936,_0x38a736(0xb6)),'namespace':_0x38a736(0x179)}),this[_0x38a736(0x12f)]=!0x0,clearTimeout(this[_0x38a736(0x88)]),this[_0x38a736(0x15a)]=[],this[_0x38a736(0x145)][_0x38a736(0x129)][_0x38a736(0x171)](_0x4e17db)[_0x38a736(0xf9)]();}[_0x30093b(0xd8)](){const _0x2c91c5=_0x30093b;this[_0x2c91c5(0x90)]||(this[_0x2c91c5(0x90)]=this[_0x2c91c5(0x145)][_0x2c91c5(0x129)][_0x2c91c5(0x171)](_0x126b7e)[_0x2c91c5(0x166)](_0x1a7925(this[_0x2c91c5(0x145)][_0x2c91c5(0x11e)],_0x2c91c5(0x164))));}[_0x30093b(0xd2)](){const _0x421d08=_0x30093b;this[_0x421d08(0x90)]&&(this[_0x421d08(0x145)][_0x421d08(0x129)][_0x421d08(0x171)](_0x126b7e)[_0x421d08(0x9b)](this[_0x421d08(0x90)]),this[_0x421d08(0x90)]=null);}[_0x30093b(0x141)](_0x188955){const _0x29be3f=_0x30093b,_0x41f46e=_0x188955[_0x29be3f(0xce)](_0x1affa9=>_0x1affa9[_0x29be3f(0x14b)]());return this[_0x29be3f(0x180)][_0x29be3f(0xea)](_0x41f46e);}[_0x30093b(0xf1)](_0x4d7396,_0x95d3f4){const _0x1c53ba=_0x30093b;return this[_0x1c53ba(0x180)][_0x1c53ba(0x153)](_0x4d7396)[_0x1c53ba(0xce)]((_0x4c8f07,_0xad6123)=>{const _0x2c27d7=_0x1c53ba,_0x5525c6=_0x2c27d7(0x89)==_0x95d3f4[_0xad6123][_0x2c27d7(0xe4)];if(_0x2c27d7(0x184)==_0x4c8f07[_0x2c27d7(0xf5)]){const _0x334633=_0x4c8f07[_0x2c27d7(0x18b)][_0x2c27d7(0xcb)];!this[_0x2c27d7(0xa8)][_0x2c27d7(0x15d)](_0x334633)&&(this[_0x2c27d7(0xa8)][_0x2c27d7(0x16a)](_0x2c27d7(0x9d),_0x334633)[_0x2c27d7(0x17a)]=!0x1);}const _0x39efed=_0x3d840e[_0x2c27d7(0x96)](_0x4c8f07,this[_0x2c27d7(0xa8)]);return _0x39efed[_0x2c27d7(0x18c)]=_0x4c8f07[_0x2c27d7(0x18c)],_0x39efed[_0x2c27d7(0x8b)]=_0x5525c6,_0x39efed[_0x2c27d7(0x10b)]=_0x5525c6?null:_0x95d3f4[_0xad6123][_0x2c27d7(0xd9)],_0x39efed[_0x2c27d7(0xa7)]=_0x2c27d7(0xb0)===_0x95d3f4[_0xad6123][_0x2c27d7(0xe4)],_0x39efed[_0x2c27d7(0x9c)]=_0x95d3f4[_0xad6123][_0x2c27d7(0x9c)],_0x39efed;});}[_0x30093b(0xb8)](){const _0x1940e=_0x30093b;this[_0x1940e(0xa1)]=!0x0,this[_0x1940e(0xff)]()?this[_0x1940e(0x146)]():this[_0x1940e(0xa1)]=!0x1;}[_0x30093b(0xff)](){const _0x3d2f1c=_0x30093b,_0x18e7a8=this[_0x3d2f1c(0x145)][_0x3d2f1c(0x129)][_0x3d2f1c(0x171)](_0x579f57)[_0x3d2f1c(0x104)][_0x3d2f1c(0x171)](this[_0x3d2f1c(0x8d)]);return!this[_0x3d2f1c(0x145)][_0x3d2f1c(0x139)]&&!!_0x18e7a8&&_0x18e7a8[_0x3d2f1c(0xc4)]>0x1&&this[_0x3d2f1c(0xa1)];}[_0x30093b(0x11b)](){const _0x41fedb=_0x30093b;return this[_0x41fedb(0x15a)][_0x41fedb(0xc4)]>0x0||this[_0x41fedb(0xff)]();}}class K extends Error{}function _0x2cfa(_0xa3af40,_0x39cf26){const _0x10bdfc=_0x10bd();return _0x2cfa=function(_0x2cfa4d,_0x266c4a){_0x2cfa4d=_0x2cfa4d-0x87;let _0x5ca615=_0x10bdfc[_0x2cfa4d];return _0x5ca615;},_0x2cfa(_0xa3af40,_0x39cf26);}function J(_0x1f3816,_0x265d8f){const _0x27092e=_0x30093b;for(const _0x3fdc05 of _0x1f3816)_0x3fdc05[_0x27092e(0x10a)]=_0x265d8f++;}function _0x10bd(){const _0x8f57b1=['config','createPositionAt','realtimecollaborationclient-error','compress','_knownOperations','destroy','change:_isEditingAllowed','editing','7MfAwrR','disconnected','_decompressOperations','isPremiumPlugin','1VZLnGr','rtc-destroyed','__className','isUndoneOperation','sendOperations','_fetchMissingUsers','disconnect','connected','CollaborativeEditingService','_handleReconnectionResponse','clone','createRange','_shouldSendSelectionUpdate','change:hasDomSelection','addToReconnectionStack','RealTimeCollaborationClient','connection','channelSessions','change:range','mySessionId','rtc-offline','_disconnectionOperations','has','baseVersion','_authorId','getMany','string','lastOperationId','Permissions','affectedSelectable','operationsReceived','_connectService','createPositionFromPath','collaboration','end','differ','pluginName','metadata','realtimecollaborationclient-init-service-internal-error','markers','_shouldSendUpdate','state','off','locale','lastOperationAcceptedAt','then','getOperations','cloudServices.bundleVersion','getIdOfTheLastOperation','forEach','connect','collaboration-missing-channelid','lastDocumentSession','_isEditingAllowed','plugins','404','createUserMarkerOperations','_lastSyncedOperationId','_initThrowingOnDataSet','realtimecollaborationclient-init-service-incorrect-server-operation','_hasSynchronizationProblem','size','realtimecollaborationclient-sendbufferedoperations','sessionId','504328TJkXhr','_isLoaded','7042088bqQKwC','cloud-services-internal-error:\x20Not\x20connected.','history','wereChangesApplied','isReadOnly','model','_setUpDataInit','parse','applyOperation','startsWith','version','includes','_compressOperations','filter','lastSyncVersion','selection','editor','_sendBufferedOperationsDelayed','start','permissions','10cmgirG','_operationIdentifier','toJSON','_offset','stop','rootsAttributes','catch','targetPosition','_getAffectedRoot','removeFromReconnectionStack','decompress','realtimecollaborationclient-init-session-connection-error','getUser','enqueueChange','bind','_loadRoot','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_bufferedOperations','high','data','getRoot','Notification','entries','addRoot','_handleReconnectionError','reset','batch','PENDING_ACTION_SENDING_DATA','enableReadOnlyMode','add','initData','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.','sessionAdd:','createRoot','push','2986930QXlmrl','cloudDocumentVersion','slice','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.','CommentsOnly','get','affectsData','getConnectedSessions','realtimecollaborationclient-handleserverresponse','reconnection:\x20flushed\x20session','isOfficialPlugin','path','getDocumentDetails','real-time-collaboration','_isAttached','realtimecollaborationclient-init-non-existent-root','_lastServerVersion','_handleSendingSelectionMarkers','document','_connectAfterSessionHasBeenFlushed','_compressor','insert','error','_handleReceivedOperations','InsertOperation','addOperation','_getOperationsFromInitData','_sendBufferedOperations','collaboration.channelId','_handleServerResponse','fire','position','wasUndone','getOperationAuthor','_sendBufferedOperationsDelayId','init','_disconnectService','_isInit','_knownRootNames','_channelId','set','sessionCreatedAt','_pendingAction','setIdForTheLastOperation','move','currentDocumentSession','finally','_crash','fromJSON','2908518YOVOQW','cloud-services-internal-error:\x20Request\x20timeout.','_isPendingUpdate','_handleInitialConnectionData','remove','createdAt','$root','from','_service','message','_hasSelectionChanged','12326130GiDaSa','_currentBufferDelay','isEnabled','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','unregister','_isDisconnection','_document','define','_saveOperationInBuffer','round','change:_isPendingUpdate','9555498yHXBAr','apply','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','cs:removeUser','showWarning','newRange','5297210GHBlzm','loadRoot','_isConnected','Synchronization\x20issue','stopListening','_refreshUserSelectionMarkers','document:write','disableReadOnlyMode','_addKnownRoot','attributes','rootName','requires','register','_bufferRootLoad','keys','_operationToId','_applyOperationsSet','length','_updateServerHistory','multi-root-editor-root-attributes-no-root','suppressErrorInCollaboration','roots','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_handleExternalOperations','root','offset','ready','map','addUser','_waitUntilSynced','setPermissions','_clearPendingAction','_ignoredOperations','isDocumentOperation','directChange','code','reconnect','_setPendingAction','userId','realtimecollaborationclient','return','realtimecollaborationclient-init-document-already-initialized','view','listenTo','_initSessionsHandling','_baseBufferDelay','serverHistory','realtimecollaborationclient-init-connection-failed','marker','type','addRootAttribute','409'];_0x10bd=function(){return _0x8f57b1;};return _0x10bd();}class Q{[_0x30093b(0xd3)];[_0x30093b(0xc2)];constructor(_0x31a51b){const _0x483b51=_0x30093b;this[_0x483b51(0xd3)]=_0x31a51b,this[_0x483b51(0xc2)]=new WeakMap();}[_0x30093b(0x123)](_0x3d27f2){const _0x2366f7=_0x30093b;let _0x223188=_0x3d27f2[_0x2366f7(0xc4)];for(;_0x223188--;){const _0x452b1b=_0x3d27f2[_0x223188];if(!this[_0x2366f7(0xd3)][_0x2366f7(0x109)](_0x452b1b)){if(!this[_0x2366f7(0xc2)][_0x2366f7(0x109)](_0x452b1b)){const _0x540af7=_0x2205fc()[_0x2366f7(0x16e)](0x1,0x12);this[_0x2366f7(0xc2)][_0x2366f7(0x8e)](_0x452b1b,_0x540af7);}return this[_0x2366f7(0xc2)][_0x2366f7(0x171)](_0x452b1b);}}}[_0x30093b(0x91)](_0x40f103,_0x2e9255){const _0x2413e9=_0x30093b;if(!_0x2e9255)return;let _0x419d17=_0x40f103[_0x2413e9(0xc4)];for(;_0x419d17--;){const _0x46876c=_0x40f103[_0x419d17];this[_0x2413e9(0xd3)][_0x2413e9(0x109)](_0x46876c)||this[_0x2413e9(0xc2)][_0x2413e9(0x8e)](_0x46876c,_0x2e9255);}}}
23
+ const _0x3f20ce=_0x2fd8;function _0x2fd8(_0x2062dc,_0x24a341){const _0x1cefa4=_0x1cef();return _0x2fd8=function(_0x2fd84a,_0x1d7488){_0x2fd84a=_0x2fd84a-0xbc;let _0x1fcd89=_0x1cefa4[_0x2fd84a];return _0x1fcd89;},_0x2fd8(_0x2062dc,_0x24a341);}(function(_0x13ac9b,_0x5a8564){const _0x190911=_0x2fd8,_0x2425ee=_0x13ac9b();while(!![]){try{const _0x468fe=-parseInt(_0x190911(0xe5))/0x1*(parseInt(_0x190911(0xc5))/0x2)+-parseInt(_0x190911(0x11b))/0x3*(parseInt(_0x190911(0x111))/0x4)+-parseInt(_0x190911(0x186))/0x5*(parseInt(_0x190911(0xf3))/0x6)+parseInt(_0x190911(0x115))/0x7*(-parseInt(_0x190911(0x197))/0x8)+-parseInt(_0x190911(0x14e))/0x9+parseInt(_0x190911(0x154))/0xa+parseInt(_0x190911(0x185))/0xb;if(_0x468fe===_0x5a8564)break;else _0x2425ee['push'](_0x2425ee['shift']());}catch(_0x31f638){_0x2425ee['push'](_0x2425ee['shift']());}}}(_0x1cef,0xb85ea));import{Plugin as _0x465e3d,PendingActions as _0x26c835}from'ckeditor5/src/core.js';import{CKEditorError as _0x4e9e26,version as _0x3fd523,uid as _0xa2d85d}from'ckeditor5/src/utils.js';import{Notification as _0x507419}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x5b3a29,NoOperation as _0x13d4a6,InsertOperation as _0xa9eeb7,MarkerOperation as _0x23ac2e,RootAttributeOperation as _0x104001,OperationFactory as _0x25d0ed,History as _0x194790}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x4bb3c7}from'./websocketgateway.js';import{Sessions as _0x581946}from'./sessions.js';import{UserMarkers as _0x41c88b}from'./usermarkers.js';function _0x1cef(){const _0x2c3666=['mySessionId','66078ffzriS','sessionId','InsertOperation','_isPendingUpdate','return','getOperationAuthor','version','_waitUntilSynced','enqueueChange','toJSON','collaboration.channelId','realtimecollaborationclient-init-document-already-initialized','requires','$root','_ignoredOperations','_updateServerHistory','_decompressOperations','filter','rtc-offline','affectedSelectable','position','_lastSyncedOperationId','409','type','_compressor','map','reconnect','isUndoneOperation','from','_handleServerResponse','CollaborativeEditingService','_sendBufferedOperationsDelayId','length','lastSyncVersion','_disconnectService','cloudDocumentVersion','showWarning','_getOperationsFromInitData','_bufferRootLoad','has','connect','cs:removeUser','createRange','_isConnected','getRoot','lastOperationAcceptedAt','permissions','PENDING_ACTION_SENDING_DATA','directChange','setIdForTheLastOperation','metadata','253638BEOTFe','getConnectedSessions','disconnect','unregister','_connectAfterSessionHasBeenFlushed','finally','5684210xvuDWV','_knownOperations','404','_isDisconnection','baseVersion','stopListening','_operationToId','initData','view','_handleInitialConnectionData','data','keys','document','high','_baseBufferDelay','reconnection:\x20flushed\x20session','_handleExternalOperations','multi-root-editor-root-attributes-no-root','isPremiumPlugin','sessionAdd:','stop','reset','error','ready','_setUpDataInit','_refreshUserSelectionMarkers','path','set','markers','affectsData','_hasSelectionChanged','RealTimeCollaborationClient','sendOperations','end','_shouldSendSelectionUpdate','differ','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.','_compressOperations','enableReadOnlyMode','change:range','addRootAttribute','off','createUserMarkerOperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','addUser','wasUndone','collaboration','userId','change:_isPendingUpdate','52225844jCPauw','2390iQVrOL','_handleSendingSelectionMarkers','model','rtc-destroyed','_lastServerVersion','_getAffectedRoot','_knownRootNames','slice','_isLoaded','attributes','realtimecollaborationclient','_handleReceivedOperations','_isEditingAllowed','pluginName','collaboration-missing-channelid','batch','_connectService','53432WFwqQU','createPositionFromPath','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','root','insert','startsWith','lastOperationId','round','clone','catch','_hasSynchronizationProblem','addOperation','_isAttached','realtimecollaborationclient-init-non-existent-root','bind','getDocumentDetails','createRoot','fromJSON','_channelId','loadRoot','_setPendingAction','config','targetPosition','operationsReceived','Notification','realtimecollaborationclient-init-service-internal-error','currentDocumentSession','suppressErrorInCollaboration','createPositionAt','cloud-services-internal-error:\x20Request\x20timeout.','history','listenTo','channelSessions','plugins','createdAt','includes','real-time-collaboration','_applyOperationsSet','CommentsOnly','cloudServices.bundleVersion','_sendBufferedOperations','rootName','realtimecollaborationclient-sendbufferedoperations','_service','push','_bufferedOperations','selection','_currentBufferDelay','Synchronization\x20issue','compress','locale','getIdOfTheLastOperation','define','1168054fTkIjM','forEach','connected','remove','document:write','_offset','connection','_addKnownRoot','_sendBufferedOperationsDelayed','_initThrowingOnDataSet','sessionCreatedAt','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','register','isReadOnly','add','_document','_initSessionsHandling','decompress','fire','Permissions','lastDocumentSession','realtimecollaborationclient-error','__className','message','get','getUser','_handleReconnectionResponse','marker','roots','init','getOperations','move','2WiuZGN','_operationIdentifier','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','addToReconnectionStack','realtimecollaborationclient-handleserverresponse','isEnabled','disconnected','_fetchMissingUsers','_crash','setPermissions','editor','destroy','parse','rootsAttributes','11652JQppAV','string','cloud-services-internal-error:\x20Not\x20connected.','then','applyOperation','_isInit','start','wereChangesApplied','_pendingAction','code','offset','isOfficialPlugin','newRange','getMany','isDocumentOperation','_authorId','realtimecollaborationclient-init-connection-failed','_disconnectionOperations','editing','change:hasDomSelection','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.','serverHistory','apply','addRoot','realtimecollaborationclient-init-session-connection-error','_loadRoot','realtimecollaborationclient-init-service-incorrect-server-operation','_saveOperationInBuffer','state','size','172VGhwhb','entries','disableReadOnlyMode','_shouldSendUpdate','1561CGpRsK','change:_isEditingAllowed','removeFromReconnectionStack','_handleReconnectionError','_clearPendingAction'];_0x1cef=function(){return _0x2c3666;};return _0x1cef();}import{getTranslation as _0x1338b4}from'../common-translations.js';import{Compressor as _0x42d36a}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1281e4}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x57115b,CollaborativeEditingService as _0x1f74a1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x465e3d{static [_0x3f20ce(0x139)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1f74a1)());[_0x3f20ce(0xca)];[_0x3f20ce(0x11c)];[_0x3f20ce(0x108)];[_0x3f20ce(0x1a9)];[_0x3f20ce(0x1c2)];[_0x3f20ce(0xd4)];[_0x3f20ce(0x133)];[_0x3f20ce(0xbd)];[_0x3f20ce(0x155)];[_0x3f20ce(0x18c)];[_0x3f20ce(0xfb)];[_0x3f20ce(0x172)];[_0x3f20ce(0x13a)];[_0x3f20ce(0x162)];[_0x3f20ce(0xbf)];[_0x3f20ce(0x130)];[_0x3f20ce(0x104)];[_0x3f20ce(0xe6)];static get[_0x3f20ce(0x127)](){return[_0x4bb3c7,_0x581946,_0x41c88b,_0x26c835,_0x1281e4,_0x507419];}static get[_0x3f20ce(0x193)](){const _0x3457cf=_0x3f20ce;return _0x3457cf(0x173);}static get[_0x3f20ce(0xfe)](){return!0x0;}static get[_0x3f20ce(0x166)](){return!0x0;}get[_0x3f20ce(0x13e)](){const _0x2d48ab=_0x3f20ce;return this[_0x2d48ab(0x18a)]+this[_0x2d48ab(0xca)];}get[_0x3f20ce(0x18a)](){const _0x21cd89=_0x3f20ce;return this[_0x21cd89(0x108)][_0x21cd89(0x121)]-this[_0x21cd89(0xca)];}get[_0x3f20ce(0x13c)](){const _0x2c393a=_0x3f20ce,_0x43ce1d=this[_0x2c393a(0x108)][_0x2c393a(0xe3)]();for(let _0x17aa6e=_0x43ce1d[_0x2c393a(0x13b)]-0x1;_0x17aa6e>=0x0;_0x17aa6e--){const _0x11f534=_0x43ce1d[_0x17aa6e];if(!this[_0x2c393a(0x104)][_0x2c393a(0x142)](_0x11f534))return _0x11f534[_0x2c393a(0x158)]+0x1-this[_0x2c393a(0xca)];}return 0x0;}constructor(_0x1720a6){const _0x2cd710=_0x3f20ce;if(super(_0x1720a6),this[_0x2cd710(0xca)]=0x0,this[_0x2cd710(0x11c)]=null,this[_0x2cd710(0x108)]=new _0x194790(),this[_0x2cd710(0xef)][_0x2cd710(0x1ac)][_0x2cd710(0xc4)](_0x2cd710(0x182),{}),this[_0x2cd710(0x1a9)]=this[_0x2cd710(0xef)][_0x2cd710(0x1ac)][_0x2cd710(0xdd)](_0x2cd710(0x125)),!this[_0x2cd710(0x1a9)])throw new _0x4e9e26(_0x2cd710(0x194),this);const _0x2da8fe=_0x1720a6[_0x2cd710(0x1ac)][_0x2cd710(0xdd)](_0x2cd710(0x1be))||_0x3fd523;this[_0x2cd710(0x1c2)]=new RealTimeCollaborationClient[(_0x2cd710(0x139))](_0x2da8fe,this[_0x2cd710(0x1a9)]),this[_0x2cd710(0xd4)]=this[_0x2cd710(0xef)][_0x2cd710(0x188)][_0x2cd710(0x160)],this[_0x2cd710(0x133)]=new _0x42d36a(),this[_0x2cd710(0xbd)]=[],this[_0x2cd710(0x155)]=new WeakSet(),this[_0x2cd710(0x18c)]=new Set(),this[_0x2cd710(0x16f)](_0x2cd710(0x11e),!0x1),this[_0x2cd710(0x16f)](_0x2cd710(0x1a1),!0x1),this[_0x2cd710(0xfb)]=null,this[_0x2cd710(0x172)]=!0x1,this[_0x2cd710(0x13a)]=null,this[_0x2cd710(0x162)]=0x12c,this[_0x2cd710(0xbf)]=this[_0x2cd710(0x162)],this[_0x2cd710(0x130)]=null,this[_0x2cd710(0x104)]=new WeakSet(),this[_0x2cd710(0xe6)]=new J(this[_0x2cd710(0x104)]);}[_0x3f20ce(0xe2)](){const _0x44ff04=_0x3f20ce,_0x5a7c84=this[_0x44ff04(0xef)],_0x185f1b=_0x5a7c84[_0x44ff04(0x1b8)][_0x44ff04(0xdd)](_0x1281e4),_0x5081f9=_0x5a7c84[_0x44ff04(0x1b8)][_0x44ff04(0xdd)](_0x4bb3c7);this[_0x44ff04(0x1b6)](_0x185f1b,_0x44ff04(0x120),(_0x31c597,_0xec394b)=>{const _0x454fc1=_0x44ff04,_0x8b43ce=_0xec394b[0x0];_0x8b43ce[_0x454fc1(0x102)]&&(_0x31c597[_0x454fc1(0x11f)]=_0x185f1b[_0x454fc1(0xde)](_0x8b43ce[_0x454fc1(0x102)]),_0x31c597[_0x454fc1(0x168)]()),null===_0x8b43ce[_0x454fc1(0x102)]&&(_0x31c597[_0x454fc1(0x11f)]=null,_0x31c597[_0x454fc1(0x168)]());},{'priority':_0x44ff04(0x161)}),this[_0x44ff04(0x1b6)](_0x5a7c84[_0x44ff04(0x188)][_0x44ff04(0x160)][_0x44ff04(0xbe)],_0x44ff04(0x17b),(_0x55c607,_0x345ee2)=>{const _0x4d9a20=_0x44ff04;_0x345ee2[_0x4d9a20(0x14b)]&&this[_0x4d9a20(0x16d)]();}),this[_0x44ff04(0x1b6)](_0x5a7c84[_0x44ff04(0x105)][_0x44ff04(0x15c)],_0x44ff04(0x106),()=>{const _0xff6462=_0x44ff04;this[_0xff6462(0x16d)]();}),this[_0x44ff04(0xce)](),_0x5a7c84[_0x44ff04(0x188)]['on'](_0x44ff04(0xf7),(_0x115e48,_0x838e54)=>{const _0x60187b=_0x44ff04,_0x8c5844=_0x838e54[0x0];_0x8c5844[_0x60187b(0x101)]&&(this[_0x60187b(0x10e)](_0x8c5844),this[_0x60187b(0x114)]()&&this[_0x60187b(0xcd)]());}),this[_0x44ff04(0x16c)](),this[_0x44ff04(0x1a5)](_0x44ff04(0x192))['to'](_0x5081f9,_0x44ff04(0x10f),this,_0x44ff04(0x1a1),(_0xe9c6f4,_0x33518e)=>_0x44ff04(0xc7)===_0xe9c6f4&&!_0x33518e),this['on'](_0x44ff04(0x116),()=>{const _0x44dc88=_0x44ff04;this[_0x44dc88(0x192)]?_0x5a7c84[_0x44dc88(0x113)](_0x44dc88(0x12d)):_0x5a7c84[_0x44dc88(0x17a)](_0x44dc88(0x12d));}),this[_0x44ff04(0x192)]?_0x5a7c84[_0x44ff04(0x113)](_0x44ff04(0x12d)):_0x5a7c84[_0x44ff04(0x17a)](_0x44ff04(0x12d)),this[_0x44ff04(0x16f)](_0x44ff04(0x146),!0x1);}async[_0x3f20ce(0x135)](){const _0x44eee6=_0x3f20ce,_0x4cea5a=this[_0x44eee6(0xef)][_0x44eee6(0x1b8)][_0x44eee6(0xdd)](_0x581946),_0x58189f=this[_0x44eee6(0xef)][_0x44eee6(0x1b8)][_0x44eee6(0xdd)](_0x4bb3c7);try{this[_0x44eee6(0x11e)]=!0x0,_0x4cea5a[_0x44eee6(0x151)](this[_0x44eee6(0x1a9)]);const _0x3b4f81=await this[_0x44eee6(0x1c2)][_0x44eee6(0x135)](_0x58189f[_0x44eee6(0xcb)],this[_0x44eee6(0x13c)]);await this[_0x44eee6(0xdf)](_0x3b4f81)&&(this[_0x44eee6(0x11e)]=!0x1,this[_0x44eee6(0x119)]());const _0x23eda7=await this[_0x44eee6(0x1c2)][_0x44eee6(0x14f)]();_0x4cea5a[_0x44eee6(0xd1)](this[_0x44eee6(0x1a9)],_0x23eda7),this[_0x44eee6(0x187)](),this[_0x44eee6(0x146)]=!0x0;}catch(_0x35a188){if(function(_0x37f7fb){const _0x735d8d=_0x44eee6;return _0x735d8d(0x156)===_0x37f7fb[_0x735d8d(0xfc)];}(_0x35a188)&&this[_0x44eee6(0x11c)])await this[_0x44eee6(0x152)]();else{if(function(_0x123842){const _0x130329=_0x44eee6;return _0x130329(0x131)===_0x123842[_0x130329(0xfc)];}(_0x35a188)){const _0x191758=_0x1338b4(this[_0x44eee6(0xef)][_0x44eee6(0xc2)],_0x44eee6(0x17f));this[_0x44eee6(0x118)](_0x191758);}else{if(!(_0x35a188 instanceof $))throw _0x35a188;this[_0x44eee6(0x118)]();}}}}[_0x3f20ce(0xf0)](){const _0x2fbe55=_0x3f20ce,_0x2f1a5e=this[_0x2fbe55(0xef)][_0x2fbe55(0x1b8)][_0x2fbe55(0xdd)](_0x4bb3c7),_0x346594=this[_0x2fbe55(0xef)][_0x2fbe55(0x1b8)][_0x2fbe55(0xdd)](_0x581946);this[_0x2fbe55(0xef)][_0x2fbe55(0x17a)](_0x2fbe55(0x189)),_0x346594[_0x2fbe55(0x1b7)][_0x2fbe55(0x142)](this[_0x2fbe55(0x1a9)])&&_0x346594[_0x2fbe55(0x151)](this[_0x2fbe55(0x1a9)]),_0x2f1a5e[_0x2fbe55(0x117)](this),this[_0x2fbe55(0x13d)](),super[_0x2fbe55(0xf0)]();}async[_0x3f20ce(0xdf)](_0x28e384){const _0x1cf6c9=_0x3f20ce;if(this[_0x1cf6c9(0x11c)]!==_0x28e384[_0x1cf6c9(0x11c)]&&this[_0x1cf6c9(0x130)]!==_0x28e384[_0x1cf6c9(0x19d)])throw new $();return this[_0x1cf6c9(0x11c)]=_0x28e384[_0x1cf6c9(0x11c)],this[_0x1cf6c9(0x138)]([],{..._0x28e384,'wereChangesApplied':!0x1,'data':_0x28e384[_0x1cf6c9(0x15e)]},_0x1cf6c9(0x135));}async[_0x3f20ce(0x196)](_0x34c09e,_0x26eb61=!0x1){const _0x17f599=_0x3f20ce,{connection:_0x3f8991}=this[_0x17f599(0xef)][_0x17f599(0x1b8)][_0x17f599(0xdd)](_0x4bb3c7);RealTimeCollaborationClient[_0x17f599(0x139)][_0x17f599(0x14f)](_0x3f8991,this[_0x17f599(0x1a9)])[_0x17f599(0xf6)](_0x513e68=>this[_0x17f599(0xd5)](_0x513e68))[_0x17f599(0x1a0)](_0x529e59=>{const _0x2586da=_0x17f599;this[_0x2586da(0xed)](_0x2586da(0x10b),_0x529e59);}),this[_0x17f599(0x1b6)](this[_0x17f599(0x1c2)],_0x17f599(0x1ae),this[_0x17f599(0x191)][_0x17f599(0x1a5)](this)),this[_0x17f599(0x1b6)](this[_0x17f599(0x1c2)],_0x17f599(0x16a),(_0x449917,_0x4865c0)=>{const _0xb3bb85=_0x17f599;this[_0xb3bb85(0xed)](_0xb3bb85(0x1b0),_0x4865c0);}),this[_0x17f599(0x1b6)](this[_0x17f599(0x1c2)],_0x17f599(0xeb),()=>{const _0x4c04c0=_0x17f599;this[_0x4c04c0(0x146)]=!0x1;});const _0x5b4611=this[_0x17f599(0xe6)][_0x17f599(0xc3)](_0x34c09e);this[_0x17f599(0x11e)]=!0x0;const _0x37452b=await this[_0x17f599(0x1c2)][_0x17f599(0x143)](_0x3f8991,this[_0x17f599(0x179)](_0x34c09e),_0x5b4611);if(this[_0x17f599(0x11c)]=_0x37452b[_0x17f599(0x11c)],_0x26eb61){if(!_0x37452b[_0x17f599(0xfa)])return void this[_0x17f599(0x118)]();this[_0x17f599(0x11e)]=!0x1,this[_0x17f599(0x119)](),this[_0x17f599(0x108)][_0x17f599(0x169)](),this[_0x17f599(0xca)]=_0x37452b[_0x17f599(0xfd)],this[_0x17f599(0x108)][_0x17f599(0x121)]=this[_0x17f599(0xca)],await this[_0x17f599(0x138)](_0x34c09e,_0x37452b,_0x17f599(0x163));}else await this[_0x17f599(0x15d)](_0x37452b,_0x34c09e);this[_0x17f599(0x187)](),this[_0x17f599(0x146)]=!0x0;}[_0x3f20ce(0x187)](){const _0x25b082=_0x3f20ce,_0x55ff1a=this[_0x25b082(0xef)][_0x25b082(0x1b8)][_0x25b082(0xdd)](_0x581946),_0x350fc3=this[_0x25b082(0xef)][_0x25b082(0x1b8)][_0x25b082(0xdd)](_0x41c88b),_0x110de8=_0x55ff1a[_0x25b082(0x1b7)][_0x25b082(0xdd)](this[_0x25b082(0x1a9)]);_0x110de8&&_0x110de8[_0x25b082(0x13b)]>0x1?_0x350fc3[_0x25b082(0x17e)]():this[_0x25b082(0x1b6)](_0x55ff1a,_0x25b082(0x167)+this[_0x25b082(0x1a9)],()=>{const _0x23d6e0=_0x25b082;0x2===_0x55ff1a[_0x23d6e0(0x1b7)][_0x23d6e0(0xdd)](this[_0x23d6e0(0x1a9)])[_0x23d6e0(0x13b)]&&_0x350fc3[_0x23d6e0(0x17e)]();});}async[_0x3f20ce(0x191)](_0x4d4825,_0x5dd9d0,_0x6ef9c0,_0x939243){const _0x1612ce=_0x3f20ce;if(!this[_0x1612ce(0x11e)]&&this[_0x1612ce(0xd4)][_0x1612ce(0x121)]==_0x5dd9d0){const _0x5b41b0=this[_0x1612ce(0x12b)](_0x6ef9c0,_0x939243);await this[_0x1612ce(0xec)](_0x5b41b0),this[_0x1612ce(0x164)](_0x5b41b0,_0x5dd9d0,_0x6ef9c0[_0x1612ce(0x19d)])||this[_0x1612ce(0xed)](_0x1612ce(0x10d));}}async[_0x3f20ce(0x152)](){const _0x37bfb4=_0x3f20ce;this[_0x37bfb4(0x13d)]();const {locale:_0x7d3261}=this[_0x37bfb4(0xef)];let _0x21c167;try{_0x21c167=await this[_0x37bfb4(0x1c2)][_0x37bfb4(0x1a6)]();}catch{const _0x3ea97f=_0x1338b4(_0x7d3261,_0x37bfb4(0xe7));return void this[_0x37bfb4(0x118)](_0x3ea97f);}const _0xc484cc=_0x21c167[_0x37bfb4(0x1b1)]||_0x21c167[_0x37bfb4(0xd9)];if(this[_0x37bfb4(0x130)]!==_0xc484cc[_0x37bfb4(0x19d)]){const _0x4f3238=_0x1338b4(_0x7d3261,_0x37bfb4(0x178));return void this[_0x37bfb4(0x118)](_0x4f3238);}await this[_0x37bfb4(0x196)](this[_0x37bfb4(0xef)][_0x37bfb4(0x188)][_0x37bfb4(0x160)][_0x37bfb4(0x1b5)][_0x37bfb4(0xe3)](),!0x0);}[_0x3f20ce(0x13d)](){const _0x3fdc63=_0x3f20ce;this[_0x3fdc63(0x1c2)][_0x3fdc63(0x150)](),this[_0x3fdc63(0xbd)]=[],clearTimeout(this[_0x3fdc63(0x13a)]),this[_0x3fdc63(0x159)](this[_0x3fdc63(0x1c2)]);}[_0x3f20ce(0xd5)](_0x5e7eb1){const _0x32833b=_0x3f20ce,_0x58be87=this[_0x32833b(0xef)][_0x32833b(0x1b8)][_0x32833b(0xdd)](_0x581946);this[_0x32833b(0x1b6)](_0x58be87,_0x32833b(0x167)+this[_0x32833b(0x1a9)],(_0x176dd6,{session:_0x4a4a55})=>{const _0x51a340=_0x32833b;if(_0x4a4a55['id']===_0x58be87[_0x51a340(0x11a)]){_0x176dd6[_0x51a340(0x17d)]();const _0x4cda8c=this[_0x51a340(0xef)][_0x51a340(0x1b8)][_0x51a340(0x142)](_0x51a340(0x1bd))&&this[_0x51a340(0xef)][_0x51a340(0x1b8)][_0x51a340(0xdd)](_0x51a340(0x1bd));let _0x4b3377=_0x4a4a55[_0x51a340(0x149)];_0x4cda8c&&_0x4cda8c[_0x51a340(0xea)]&&(_0x4b3377=_0x4b3377[_0x51a340(0x12c)](_0x975785=>_0x51a340(0xc9)!==_0x975785)),this[_0x51a340(0xef)][_0x51a340(0x1b8)][_0x51a340(0xdd)](_0x51a340(0xd8))[_0x51a340(0xee)](_0x4b3377,this[_0x51a340(0x1a9)]);}}),_0x58be87[_0x32833b(0xd1)](this[_0x32833b(0x1a9)],_0x5e7eb1);}[_0x3f20ce(0xce)](){const _0x55f2cd=_0x3f20ce,_0x17551b=this[_0x55f2cd(0xef)][_0x55f2cd(0x15e)][_0x55f2cd(0x16f)];this[_0x55f2cd(0xef)][_0x55f2cd(0x15e)][_0x55f2cd(0x16f)]=(..._0x3db0bd)=>{const _0x81432a=_0x55f2cd;if(!_0x3db0bd[_0x3db0bd[_0x81432a(0x13b)]-0x1][_0x81432a(0x1b2)])throw new _0x4e9e26(_0x81432a(0xd0),this);_0x17551b[_0x81432a(0x109)](this[_0x81432a(0xef)][_0x81432a(0x15e)],_0x3db0bd);};}[_0x3f20ce(0x16c)](){const _0x8e4ef1=_0x3f20ce;this[_0x8e4ef1(0xef)][_0x8e4ef1(0x15e)]['on'](_0x8e4ef1(0xe2),(_0x5ebbeb,[_0x46a943])=>{const _0x2877bc=_0x8e4ef1;if(this[_0x2877bc(0xd4)][_0x2877bc(0x121)])throw new _0x4e9e26(_0x2877bc(0x126),this);_0x5ebbeb[_0x2877bc(0x168)](),this[_0x2877bc(0x1ab)]();const _0x4bc84d=this[_0x2877bc(0xef)][_0x2877bc(0x1ac)][_0x2877bc(0xdd)](_0x2877bc(0xf2)),_0x54fa05=this[_0x2877bc(0x140)](_0x46a943,_0x4bc84d);0x0==_0x54fa05[_0x2877bc(0x13b)]&&_0x54fa05[_0x2877bc(0xbc)](new _0x13d4a6(0x0)),_0x5ebbeb[_0x2877bc(0x11f)]=this[_0x2877bc(0x196)](_0x54fa05)[_0x2877bc(0xf6)](()=>{const _0x2aa82c=_0x2877bc;this[_0x2aa82c(0xef)][_0x2aa82c(0x1b8)][_0x2aa82c(0xdd)](_0x4bb3c7)[_0x2aa82c(0xe8)](this),this[_0x2aa82c(0xef)][_0x2aa82c(0x15e)][_0x2aa82c(0xd7)](_0x2aa82c(0x16b));})[_0x2877bc(0x1a0)](_0x3f06a4=>this[_0x2877bc(0xed)](_0x2877bc(0x103),_0x3f06a4))[_0x2877bc(0x153)](()=>this[_0x2877bc(0x119)]());},{'priority':_0x8e4ef1(0x161)}),this[_0x8e4ef1(0xef)]['on'](_0x8e4ef1(0x1aa),async(_0x437a38,[_0x55c09b,_0x2877ae])=>{const _0x270878=_0x8e4ef1;_0x437a38[_0x270878(0x168)]();const _0x2f9919=this[_0x270878(0xef)][_0x270878(0x188)][_0x270878(0x160)][_0x270878(0x147)](_0x55c09b);if(!this[_0x270878(0x18c)][_0x270878(0x142)](_0x55c09b)){const _0xd5b9a9=_0x2877ae&&_0x2877ae[_0x270878(0x15e)]?_0x2877ae[_0x270878(0x15e)]:'',_0x3a6d05=_0x2877ae&&_0x2877ae[_0x270878(0x18f)]?_0x2877ae[_0x270878(0x18f)]:{};await this[_0x270878(0x10c)](_0x55c09b,_0xd5b9a9,_0x3a6d05);}this[_0x270878(0xef)][_0x270878(0x188)][_0x270878(0x123)]({'isUndoable':!0x1},()=>{const _0x2a6fdd=_0x270878;_0x2f9919[_0x2a6fdd(0x18e)]=!0x0,this[_0x2a6fdd(0xef)][_0x2a6fdd(0x188)][_0x2a6fdd(0x160)][_0x2a6fdd(0x177)][_0x2a6fdd(0x141)](_0x2f9919);});},{'priority':_0x8e4ef1(0x161)});}async[_0x3f20ce(0xec)](_0xfcc13d){const _0x116b0b=_0x3f20ce,_0x394257=this[_0x116b0b(0xef)][_0x116b0b(0x1b8)][_0x116b0b(0xdd)](_0x1281e4),{connection:_0x525128}=this[_0x116b0b(0xef)][_0x116b0b(0x1b8)][_0x116b0b(0xdd)](_0x4bb3c7),_0x8ae2b3=new Set();for(const _0x37adac of _0xfcc13d){const _0x1f1669=_0x37adac[_0x116b0b(0x102)];_0x1f1669&&!_0x394257[_0x116b0b(0xde)](_0x1f1669)&&_0x8ae2b3[_0x116b0b(0xd3)](_0x1f1669);}if(0x0===_0x8ae2b3[_0x116b0b(0x110)])return;const _0x1785b0=await _0x57115b[_0x116b0b(0x100)](_0x525128,Array[_0x116b0b(0x137)](_0x8ae2b3));for(const _0x3771d3 of _0x1785b0)_0x394257[_0x116b0b(0xde)](_0x3771d3['id'])||_0x394257[_0x116b0b(0x180)](_0x3771d3);}[_0x3f20ce(0x140)](_0x1abff7,_0x3448cc={}){const _0xd55fcc=_0x3f20ce,_0x1c093f=this[_0xd55fcc(0xef)][_0xd55fcc(0x188)],_0x266820=[];let _0x1aa40a=0x0;const _0x1a40ae=_0xd55fcc(0xf4)==typeof _0x1abff7?{'main':_0x1abff7}:_0x1abff7;for(const _0x54d865 of Object[_0xd55fcc(0x15f)](_0x1a40ae)){if(!this[_0xd55fcc(0xd4)][_0xd55fcc(0xe1)][_0xd55fcc(0x142)](_0x54d865))throw new _0x4e9e26(_0xd55fcc(0x1a4),this);const _0x200818=this[_0xd55fcc(0xef)][_0xd55fcc(0x15e)][_0xd55fcc(0xf1)](_0x1a40ae[_0x54d865]),_0x117b24=this[_0xd55fcc(0xd4)][_0xd55fcc(0x147)](_0x54d865),_0x19e900=new _0xa9eeb7(_0x1c093f[_0xd55fcc(0x1b3)](_0x117b24,0x0),_0x200818,_0x1aa40a++);_0x266820[_0xd55fcc(0xbc)](_0x19e900);for(const [_0x283dec,_0x3f07af]of _0x200818[_0xd55fcc(0x170)]){const _0xabd7af=_0x1c093f[_0xd55fcc(0x145)](_0x1c093f[_0xd55fcc(0x198)](_0x117b24,_0x3f07af[_0xd55fcc(0xf9)][_0xd55fcc(0x16e)][_0xd55fcc(0x18d)]()),_0x1c093f[_0xd55fcc(0x198)](_0x117b24,_0x3f07af[_0xd55fcc(0x175)][_0xd55fcc(0x16e)][_0xd55fcc(0x18d)]())),_0x5760bf=new _0x23ac2e(_0x283dec,null,_0xabd7af,_0x1c093f[_0xd55fcc(0x170)],!0x0,_0x1aa40a++);_0x266820[_0xd55fcc(0xbc)](_0x5760bf);}}if(_0x3448cc)for(const [_0x15c61e,_0x35a5ea]of Object[_0xd55fcc(0x112)](_0x3448cc)){const _0x459ef5=_0x1c093f[_0xd55fcc(0x160)][_0xd55fcc(0x147)](_0x15c61e);if(!_0x459ef5)throw new _0x4e9e26(_0xd55fcc(0x165),null);for(const [_0x548614,_0x14584f]of Object[_0xd55fcc(0x112)](_0x35a5ea))if(null!==_0x14584f){const _0x450c39=new _0x104001(_0x459ef5,_0x548614,null,_0x14584f,_0x1aa40a++);_0x266820[_0xd55fcc(0xbc)](_0x450c39);}}return _0x266820;}async[_0x3f20ce(0x10c)](_0x36c888,_0xaa195,_0x16142d){const _0x14612c=_0x3f20ce;this[_0x14612c(0x140)]({[_0x36c888]:_0xaa195},{[_0x36c888]:_0x16142d})[_0x14612c(0xc6)]((_0x2fde74,_0x531754)=>{const _0x24e168=_0x14612c;_0x2fde74[_0x24e168(0x158)]=this[_0x24e168(0xd4)][_0x24e168(0x121)]+_0x531754,_0x2fde74[_0x24e168(0xf8)]=!0x0,this[_0x24e168(0x10e)](_0x2fde74);}),this[_0x14612c(0xcd)](),await this[_0x14612c(0x122)]();}async[_0x3f20ce(0x15d)](_0x279fd9,_0x5ac96d){const _0x53753c=_0x3f20ce;let _0x4341f4;this[_0x53753c(0xca)]=_0x279fd9[_0x53753c(0xfd)];const _0x13c428=_0x279fd9[_0x53753c(0xfa)]&&!_0x279fd9[_0x53753c(0x15b)],_0x2c21a6=_0x13c428?0x0:_0x279fd9[_0x53753c(0x15e)][_0x53753c(0x158)];if(_0x5ac96d[_0x53753c(0xc6)](_0x4917c4=>{const _0x24f03f=_0x53753c;_0x4917c4[_0x24f03f(0xf8)]=!0x0,_0x4917c4[_0x24f03f(0x1b9)]=_0x279fd9[_0x24f03f(0xcf)],_0x4917c4[_0x24f03f(0x102)]=null;}),_0x13c428)_0x4341f4=_0x5ac96d,this[_0x53753c(0x1bc)](_0x4341f4,_0x13c428);else{if(_0x279fd9[_0x53753c(0x15b)]){const _0x1e6ccc=this[_0x53753c(0x140)](_0x279fd9[_0x53753c(0x15b)]);this[_0x53753c(0xd4)][_0x53753c(0x1b5)][_0x53753c(0x121)]=-_0x1e6ccc[_0x53753c(0x13b)],_0x1e6ccc[_0x53753c(0xc6)](_0x477a49=>{const _0x3a09d4=_0x53753c;_0x477a49[_0x3a09d4(0x158)]-=_0x1e6ccc[_0x3a09d4(0x13b)],_0x477a49[_0x3a09d4(0x1b9)]=_0x279fd9[_0x3a09d4(0xcf)],_0x477a49[_0x3a09d4(0xf8)]=!0x0,_0x477a49[_0x3a09d4(0x102)]=null;}),this[_0x53753c(0x1bc)](_0x1e6ccc,!0x0),this[_0x53753c(0x108)][_0x53753c(0x121)]=-_0x1e6ccc[_0x53753c(0x13b)]+this[_0x53753c(0xca)],this[_0x53753c(0x12a)](_0x1e6ccc);}this[_0x53753c(0xd4)][_0x53753c(0x1b5)][_0x53753c(0x121)]=_0x2c21a6,_0x4341f4=this[_0x53753c(0x12b)](_0x279fd9[_0x53753c(0x15e)],_0x279fd9[_0x53753c(0x14d)]),await this[_0x53753c(0xec)](_0x4341f4),this[_0x53753c(0x1bc)](_0x4341f4,_0x13c428);}_0x279fd9[_0x53753c(0x19d)]&&(this[_0x53753c(0xe6)][_0x53753c(0x14c)](_0x4341f4,_0x279fd9[_0x53753c(0x19d)]),this[_0x53753c(0x130)]=_0x279fd9[_0x53753c(0x19d)]),this[_0x53753c(0x108)][_0x53753c(0x121)]=_0x2c21a6+this[_0x53753c(0xca)],this[_0x53753c(0x12a)](_0x4341f4),_0x5ac96d[_0x53753c(0x12c)](_0x5470f6=>{const _0x1d4854=_0x53753c,_0x368e75=this[_0x1d4854(0x18b)](_0x5470f6);return _0x368e75&&!this[_0x1d4854(0x18c)][_0x1d4854(0x142)](_0x368e75);})[_0x53753c(0xc6)]((_0x104165,_0x3aeaa8)=>{const _0x4b7398=_0x53753c;_0x104165[_0x4b7398(0x158)]=this[_0x4b7398(0xd4)][_0x4b7398(0x121)]+_0x3aeaa8,this[_0x4b7398(0x10e)](_0x104165);}),this[_0x53753c(0x114)]()?(this[_0x53753c(0xbf)]=0x0,this[_0x53753c(0xcd)](!0x0),await this[_0x53753c(0x122)]()):(this[_0x53753c(0x11e)]=!0x1,this[_0x53753c(0x119)]());}[_0x3f20ce(0xed)](_0x891748,_0x5707ee){const _0x227662=_0x3f20ce,_0x14a1e4=_0x5707ee&&_0x5707ee[_0x227662(0xdc)];if(_0x14a1e4&&_0x14a1e4[_0x227662(0x19c)](_0x227662(0x190)))throw _0x5707ee;const _0x474e3d=this[_0x227662(0xef)][_0x227662(0x1b8)][_0x227662(0xdd)](_0x4bb3c7);throw this[_0x227662(0x11e)]=!0x0,_0x474e3d[_0x227662(0x150)](),this[_0x227662(0xef)][_0x227662(0x17a)](_0x227662(0xda)),new _0x4e9e26(_0x891748,this[_0x227662(0xef)],_0x14a1e4?{'originalError':_0x14a1e4}:void 0x0);}[_0x3f20ce(0x10e)](_0x3e26e0){const _0x18935d=_0x3f20ce;this[_0x18935d(0x155)][_0x18935d(0x142)](_0x3e26e0)||(this[_0x18935d(0x155)][_0x18935d(0xd3)](_0x3e26e0),this[_0x18935d(0xbd)][_0x18935d(0xbc)](_0x3e26e0),this[_0x18935d(0xfb)]||_0x18935d(0xe0)==_0x3e26e0[_0x18935d(0x132)]&&!_0x3e26e0[_0x18935d(0x171)]||this[_0x18935d(0x1ab)]());}[_0x3f20ce(0xcd)](_0x1b03dc=!0x1){const _0x3fd25a=_0x3f20ce;!_0x1b03dc&&this[_0x3fd25a(0x11e)]||(this[_0x3fd25a(0x11e)]=!0x0,clearTimeout(this[_0x3fd25a(0x13a)]),this[_0x3fd25a(0x13a)]=setTimeout(()=>{const _0x49cedf=_0x3fd25a;this[_0x49cedf(0x1bf)]()[_0x49cedf(0xf6)](_0x46afd7=>{const _0x1f3cc3=_0x49cedf;_0x46afd7&&(this[_0x1f3cc3(0x119)](),this[_0x1f3cc3(0x11e)]=!0x1);})[_0x49cedf(0x1a0)](_0x9fea3e=>{const _0x3726b1=_0x49cedf;this[_0x3726b1(0x119)](),this[_0x3726b1(0x11e)]=!0x1,function(_0x3cfc5e){const _0x18257b=_0x3726b1;return _0x3cfc5e[_0x18257b(0xdc)][_0x18257b(0x19c)](_0x18257b(0xf5))||_0x3cfc5e[_0x18257b(0xdc)][_0x18257b(0x19c)](_0x18257b(0x199))||_0x3cfc5e[_0x18257b(0xdc)][_0x18257b(0x19c)](_0x18257b(0x1b4));}(_0x9fea3e)||this[_0x3726b1(0xed)](_0x9fea3e[_0x3726b1(0xdc)],_0x9fea3e);});},this[_0x3fd25a(0xbf)]));}[_0x3f20ce(0x122)](){return new Promise(_0x31b932=>{const _0x5e5c35=_0x2fd8;this['on'](_0x5e5c35(0x184),()=>{_0x31b932();});});}async[_0x3f20ce(0x1bf)](){const _0x24d141=_0x3f20ce,_0x29a2cb=this[_0x24d141(0xef)][_0x24d141(0x1b8)][_0x24d141(0xdd)](_0x41c88b);if(this[_0x24d141(0x176)]()&&(_0x29a2cb[_0x24d141(0x17e)](),this[_0x24d141(0x172)]=!0x1),!this[_0x24d141(0x114)]())return!0x0;const _0x32e165=[...this[_0x24d141(0xbd)]];for(const _0x26ab49 of _0x32e165)_0x26ab49[_0x24d141(0x181)]=this[_0x24d141(0xd4)][_0x24d141(0x1b5)][_0x24d141(0x136)](_0x26ab49);const _0x1ae56d=this[_0x24d141(0xe6)][_0x24d141(0xc3)](_0x32e165),_0x485a09=G++,_0x479dc0=this[_0x24d141(0x179)](_0x32e165),_0x129710=await this[_0x24d141(0x1c2)][_0x24d141(0x174)](_0x479dc0,_0x479dc0[_0x24d141(0x158)],_0x1ae56d);try{return await this[_0x24d141(0x138)](_0x32e165,_0x129710,_0x485a09);}catch(_0x1518d7){return this[_0x24d141(0xed)](_0x24d141(0x1c1),_0x1518d7);}}async[_0x3f20ce(0x138)](_0xb022cc,_0x1e7bc9,_0x1a613c){const _0x3c4835=_0x3f20ce;if(_0x3c4835(0x16a)in _0x1e7bc9)throw _0x1e7bc9[_0x3c4835(0x16a)];let _0x3a1c34=!0x1;if(_0x1e7bc9[_0x3c4835(0xfa)]){_0x1e7bc9[_0x3c4835(0x19d)]&&(this[_0x3c4835(0x130)]=_0x1e7bc9[_0x3c4835(0x19d)]),this[_0x3c4835(0xbd)]=this[_0x3c4835(0xbd)][_0x3c4835(0x12c)](_0x4965ac=>!_0xb022cc[_0x3c4835(0x1ba)](_0x4965ac));for(const _0x93b349 of _0xb022cc)_0x93b349[_0x3c4835(0x1b9)]=_0x3c4835(0x148)in _0x1e7bc9&&_0x1e7bc9[_0x3c4835(0x148)]||void 0x0;K(_0xb022cc,_0x1e7bc9[_0x3c4835(0x121)]-_0xb022cc[_0x3c4835(0x13b)]),this[_0x3c4835(0x12a)](_0xb022cc);const _0xbb6864=_0xb022cc[_0x3c4835(0x12c)](_0x1af319=>{const _0x4e5b06=_0x3c4835;if(!_0x1af319[_0x4e5b06(0xf8)])return!0x1;const _0x33df07=this[_0x4e5b06(0x18b)](_0x1af319);return _0x33df07&&!this[_0x4e5b06(0x18c)][_0x4e5b06(0x142)](_0x33df07);});K(_0xbb6864,this[_0x3c4835(0xd4)][_0x3c4835(0x121)]),this[_0x3c4835(0x1bc)](_0xbb6864),_0x3a1c34=!0x0,this[_0x3c4835(0xbf)]=this[_0x3c4835(0x162)];}else{const _0x4e55fb=this[_0x3c4835(0x12b)](_0x1e7bc9[_0x3c4835(0x15e)],_0x1e7bc9[_0x3c4835(0x14d)])[_0x3c4835(0x12c)](_0x224142=>_0x224142[_0x3c4835(0x158)]>=this[_0x3c4835(0x18a)]);_0x4e55fb[_0x3c4835(0xc6)](_0x32001e=>this[_0x3c4835(0xcc)](_0x32001e)),this[_0x3c4835(0xbd)]=this[_0x3c4835(0xbd)][_0x3c4835(0x12c)](_0x5879a3=>!_0x5879a3[_0x3c4835(0xf8)]||!this[_0x3c4835(0x18c)][_0x3c4835(0x142)](this[_0x3c4835(0x18b)](_0x5879a3))),this[_0x3c4835(0xbd)][_0x3c4835(0x13b)]&&K(this[_0x3c4835(0xbd)],this[_0x3c4835(0xbd)][0x0][_0x3c4835(0x158)]),await this[_0x3c4835(0xec)](_0x4e55fb),_0x3a1c34=this[_0x3c4835(0x164)](_0x4e55fb,_0x1e7bc9[_0x3c4835(0x121)],_0x1e7bc9[_0x3c4835(0x19d)]),this[_0x3c4835(0xbf)]=Math[_0x3c4835(0x19e)](this[_0x3c4835(0xbf)]/0x2);}return _0x3a1c34?!this[_0x3c4835(0x114)]()||(this[_0x3c4835(0xcd)](!0x0),!0x1):this[_0x3c4835(0xed)](_0x3c4835(0xe9));}[_0x3f20ce(0x164)](_0x2e0066,_0x328a04,_0x3f78de){const _0x342f40=_0x3f20ce;try{const _0x85a931={'document':this[_0x342f40(0xd4)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1c695d,operationsB:_0x5a1b3b,originalOperations:_0x29671e}=_0x5b3a29(_0x2e0066,this[_0x342f40(0xbd)],_0x85a931);K(_0x1c695d,this[_0x342f40(0xd4)][_0x342f40(0x121)]),K(_0x5a1b3b,_0x328a04);for(const _0x433463 of _0x1c695d){const _0x4b5280=_0x29671e[_0x342f40(0xdd)](_0x433463);_0x433463[_0x342f40(0x102)]=_0x4b5280?_0x4b5280[_0x342f40(0x102)]:null;}_0x3f78de&&(this[_0x342f40(0xe6)][_0x342f40(0x14c)](_0x2e0066,_0x3f78de),this[_0x342f40(0x130)]=_0x3f78de),this[_0x342f40(0xbd)]=[..._0x5a1b3b],this[_0x342f40(0x1bc)](_0x1c695d),this[_0x342f40(0x12a)](_0x2e0066);}catch(_0x48e21c){return console[_0x342f40(0x16a)](_0x48e21c),!0x1;}return!0x0;}[_0x3f20ce(0x1bc)](_0xba34b1,_0x8a723d=!0x1){const _0x227fe1=_0x3f20ce;this[_0x227fe1(0xef)][_0x227fe1(0x188)][_0x227fe1(0x123)]({'isUndoable':!0x1,'isLocal':!0x1},_0x39f658=>{const _0x42d654=_0x227fe1;for(const _0x5143dc of _0xba34b1)this[_0x42d654(0x155)][_0x42d654(0xd3)](_0x5143dc),this[_0x42d654(0xcc)](_0x5143dc),_0x39f658[_0x42d654(0x195)][_0x42d654(0x1a2)](_0x5143dc),this[_0x42d654(0xef)][_0x42d654(0x188)][_0x42d654(0xf7)](_0x5143dc);});}[_0x3f20ce(0xcc)](_0x16668b){const _0x575540=_0x3f20ce,_0x168463=this[_0x575540(0x18b)](_0x16668b);_0x168463&&this[_0x575540(0x18c)][_0x575540(0xd3)](_0x168463);}[_0x3f20ce(0x18b)](_0x513997){const _0x5725e6=_0x3f20ce;let _0x120628,_0x4db2cf;switch(_0x513997[_0x5725e6(0x132)]){case _0x5725e6(0x19b):_0x120628=_0x513997[_0x5725e6(0x12f)][_0x5725e6(0x19a)];break;case _0x5725e6(0xe0):if(_0x4db2cf=_0x513997[_0x5725e6(0xff)],!_0x4db2cf)return null;_0x120628=_0x4db2cf[_0x5725e6(0x19a)];break;case _0x5725e6(0x17c):_0x120628=_0x513997[_0x5725e6(0x19a)];break;case _0x5725e6(0x10a):_0x120628=_0x513997[_0x5725e6(0x12e)];break;case _0x5725e6(0xe4):_0x120628=_0x513997[_0x5725e6(0x1ad)][_0x5725e6(0x19a)];break;default:return null;}return _0x120628[_0x5725e6(0x1c0)];}[_0x3f20ce(0x12a)](_0xdf05f5){const _0x2fab9d=_0x3f20ce;_0xdf05f5[_0x2fab9d(0xc6)](_0x17e66d=>{const _0x3ce55a=_0x2fab9d,_0x50435b=_0x17e66d[_0x3ce55a(0x19f)]();_0x50435b[_0x3ce55a(0x102)]=_0x17e66d[_0x3ce55a(0x102)],_0x50435b[_0x3ce55a(0xf8)]=!!_0x17e66d[_0x3ce55a(0xf8)],_0x50435b[_0x3ce55a(0x1b9)]=_0x17e66d[_0x3ce55a(0x1b9)],_0x50435b[_0x3ce55a(0x158)]+=this[_0x3ce55a(0xca)],_0x17e66d[_0x3ce55a(0x157)]&&this[_0x3ce55a(0x104)][_0x3ce55a(0xd3)](_0x50435b),this[_0x3ce55a(0x108)][_0x3ce55a(0x1a2)](_0x50435b);});}[_0x3f20ce(0x118)](_0x26093a){const _0x31874f=_0x3f20ce,_0x399956=this[_0x31874f(0xef)][_0x31874f(0x1b8)][_0x31874f(0xdd)](_0x31874f(0x1af)),_0x1e6caf=this[_0x31874f(0xef)][_0x31874f(0xc2)];_0x26093a||(_0x26093a=_0x1338b4(_0x1e6caf,_0x31874f(0x107))),_0x399956[_0x31874f(0x13f)](_0x26093a,{'title':_0x1338b4(_0x1e6caf,_0x31874f(0xc0)),'namespace':_0x31874f(0x1bb)}),this[_0x31874f(0x1a1)]=!0x0,clearTimeout(this[_0x31874f(0x13a)]),this[_0x31874f(0xbd)]=[],this[_0x31874f(0xef)][_0x31874f(0x1b8)][_0x31874f(0xdd)](_0x4bb3c7)[_0x31874f(0x150)]();}[_0x3f20ce(0x1ab)](){const _0x15cd64=_0x3f20ce;this[_0x15cd64(0xfb)]||(this[_0x15cd64(0xfb)]=this[_0x15cd64(0xef)][_0x15cd64(0x1b8)][_0x15cd64(0xdd)](_0x26c835)[_0x15cd64(0xd3)](_0x1338b4(this[_0x15cd64(0xef)][_0x15cd64(0xc2)],_0x15cd64(0x14a))));}[_0x3f20ce(0x119)](){const _0x14567d=_0x3f20ce;this[_0x14567d(0xfb)]&&(this[_0x14567d(0xef)][_0x14567d(0x1b8)][_0x14567d(0xdd)](_0x26c835)[_0x14567d(0xc8)](this[_0x14567d(0xfb)]),this[_0x14567d(0xfb)]=null);}[_0x3f20ce(0x179)](_0x5ddbb4){const _0x36cdc6=_0x3f20ce,_0x509f04=_0x5ddbb4[_0x36cdc6(0x134)](_0x2a1a8b=>_0x2a1a8b[_0x36cdc6(0x124)]());return this[_0x36cdc6(0x133)][_0x36cdc6(0xc1)](_0x509f04);}[_0x3f20ce(0x12b)](_0x244dff,_0x3e16b1){const _0x186363=_0x3f20ce;return this[_0x186363(0x133)][_0x186363(0xd6)](_0x244dff)[_0x186363(0x134)]((_0x1fee35,_0x5b893b)=>{const _0x46333c=_0x186363,_0x3a08e1=_0x46333c(0xe2)==_0x3e16b1[_0x5b893b][_0x46333c(0x132)];if(_0x46333c(0x11d)==_0x1fee35[_0x46333c(0xdb)]){const _0x4ccf20=_0x1fee35[_0x46333c(0x12f)][_0x46333c(0x19a)];!this[_0x46333c(0xd4)][_0x46333c(0x147)](_0x4ccf20)&&(this[_0x46333c(0xd4)][_0x46333c(0x1a7)](_0x46333c(0x128),_0x4ccf20)[_0x46333c(0x1a3)]=!0x1);}const _0x12428a=_0x25d0ed[_0x46333c(0x1a8)](_0x1fee35,this[_0x46333c(0xd4)]);return _0x12428a[_0x46333c(0x181)]=_0x1fee35[_0x46333c(0x181)],_0x12428a[_0x46333c(0xf8)]=_0x3a08e1,_0x12428a[_0x46333c(0x102)]=_0x3a08e1?null:_0x3e16b1[_0x5b893b][_0x46333c(0x183)],_0x12428a[_0x46333c(0x157)]=_0x46333c(0x144)===_0x3e16b1[_0x5b893b][_0x46333c(0x132)],_0x12428a[_0x46333c(0x1b9)]=_0x3e16b1[_0x5b893b][_0x46333c(0x1b9)],_0x12428a;});}[_0x3f20ce(0x16d)](){const _0x309e37=_0x3f20ce;this[_0x309e37(0x172)]=!0x0,this[_0x309e37(0x176)]()?this[_0x309e37(0xcd)]():this[_0x309e37(0x172)]=!0x1;}[_0x3f20ce(0x176)](){const _0x24a41f=_0x3f20ce,_0x14fca6=this[_0x24a41f(0xef)][_0x24a41f(0x1b8)][_0x24a41f(0xdd)](_0x581946)[_0x24a41f(0x1b7)][_0x24a41f(0xdd)](this[_0x24a41f(0x1a9)]);return!this[_0x24a41f(0xef)][_0x24a41f(0xd2)]&&!!_0x14fca6&&_0x14fca6[_0x24a41f(0x13b)]>0x1&&this[_0x24a41f(0x172)];}[_0x3f20ce(0x114)](){const _0x24b39f=_0x3f20ce;return this[_0x24b39f(0xbd)][_0x24b39f(0x13b)]>0x0||this[_0x24b39f(0x176)]();}}class $ extends Error{}function K(_0x1e96a7,_0x35c6cd){const _0x372288=_0x3f20ce;for(const _0x117339 of _0x1e96a7)_0x117339[_0x372288(0x158)]=_0x35c6cd++;}class J{[_0x3f20ce(0x129)];[_0x3f20ce(0x15a)];constructor(_0x121b75){const _0x59bd59=_0x3f20ce;this[_0x59bd59(0x129)]=_0x121b75,this[_0x59bd59(0x15a)]=new WeakMap();}[_0x3f20ce(0xc3)](_0x4a7f74){const _0x49abfa=_0x3f20ce;let _0x23cd6d=_0x4a7f74[_0x49abfa(0x13b)];for(;_0x23cd6d--;){const _0x496d2b=_0x4a7f74[_0x23cd6d];if(!this[_0x49abfa(0x129)][_0x49abfa(0x142)](_0x496d2b)){if(!this[_0x49abfa(0x15a)][_0x49abfa(0x142)](_0x496d2b)){const _0x1e166=_0xa2d85d()[_0x49abfa(0x18d)](0x1,0x12);this[_0x49abfa(0x15a)][_0x49abfa(0x16f)](_0x496d2b,_0x1e166);}return this[_0x49abfa(0x15a)][_0x49abfa(0xdd)](_0x496d2b);}}}[_0x3f20ce(0x14c)](_0x1f48ed,_0x58b0d8){const _0x2b01c0=_0x3f20ce;if(!_0x58b0d8)return;let _0x10186f=_0x1f48ed[_0x2b01c0(0x13b)];for(;_0x10186f--;){const _0x4fc176=_0x1f48ed[_0x10186f];this[_0x2b01c0(0x129)][_0x2b01c0(0x142)](_0x4fc176)||this[_0x2b01c0(0x15a)][_0x2b01c0(0x16f)](_0x4fc176,_0x58b0d8);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3be30e=_0x4a35;(function(_0x411b5c,_0x596dd4){const _0x2a3182=_0x4a35,_0x33cd5b=_0x411b5c();while(!![]){try{const _0x2a63e4=-parseInt(_0x2a3182(0x226))/0x1*(parseInt(_0x2a3182(0x200))/0x2)+parseInt(_0x2a3182(0x1fd))/0x3*(parseInt(_0x2a3182(0x21c))/0x4)+parseInt(_0x2a3182(0x1f8))/0x5*(-parseInt(_0x2a3182(0x1f5))/0x6)+parseInt(_0x2a3182(0x217))/0x7+-parseInt(_0x2a3182(0x225))/0x8+-parseInt(_0x2a3182(0x212))/0x9*(-parseInt(_0x2a3182(0x224))/0xa)+-parseInt(_0x2a3182(0x20b))/0xb*(-parseInt(_0x2a3182(0x1f9))/0xc);if(_0x2a63e4===_0x596dd4)break;else _0x33cd5b['push'](_0x33cd5b['shift']());}catch(_0x4ed910){_0x33cd5b['push'](_0x33cd5b['shift']());}}}(_0x3c81,0x61593));function _0x3c81(){const _0x26e78a=['allConnectedUsers','_handleSessionRemove','init','958584KmmXoU','get','isMe','20bqMLSc','36DElAzs','pluginName','_registeredSessions','sessions-register-already-registered','3xiznYG','change:state','_handleSessionAdd','2SnMIxH','_createUser','clear','getUserSessions','has','sessions-unregister-not-exist','isOfficialPlugin','fire','user','mySessionId','plugins','7687515OAPdIo','orderNumber','defineMe','sessionId','stopListening','getUserBySessionId','connected','126IARosD','channelConnectedUsers','listenTo','sessionAdd:','isPremiumPlugin','819728pamQtC','requires','size','getUserRole','remove','641612FNJRgg','_users','register','_uniqueUsersCount','set','forEach','values','context','110590NZIgjQ','6046336FquLPd','735341lLblYh','addUser','Sessions','connection','delete','add','hiddenInPresenceList','role','unregister','assign','getUser','channelSessions','state'];_0x3c81=function(){return _0x26e78a;};return _0x3c81();}import{ContextPlugin as _0x38d7e1}from'ckeditor5/src/core.js';function _0x4a35(_0x371368,_0x1ea48c){const _0x3c819c=_0x3c81();return _0x4a35=function(_0x4a352c,_0x482afc){_0x4a352c=_0x4a352c-0x1e9;let _0x5aec1c=_0x3c819c[_0x4a352c];return _0x5aec1c;},_0x4a35(_0x371368,_0x1ea48c);}import{Collection as _0x4a73ee,CKEditorError as _0x1c9b43}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x77db04}from'./websocketgateway.js';import{Users as _0x122030}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x38d7e1{[_0x3be30e(0x1f0)];[_0x3be30e(0x213)];[_0x3be30e(0x1f2)];[_0x3be30e(0x1fb)];[_0x3be30e(0x21f)];[_0x3be30e(0x21d)];static get[_0x3be30e(0x1fa)](){const _0x379301=_0x3be30e;return _0x379301(0x228);}static get[_0x3be30e(0x206)](){return!0x0;}static get[_0x3be30e(0x216)](){return!0x0;}static get[_0x3be30e(0x218)](){return[_0x77db04,_0x122030];}constructor(_0x53789d){const _0x3695a5=_0x3be30e;super(_0x53789d),this[_0x3695a5(0x1f0)]=new Map(),this[_0x3695a5(0x213)]=new Map(),this[_0x3695a5(0x1f2)]=new _0x4a73ee(),this[_0x3695a5(0x1fb)]=new Map(),this[_0x3695a5(0x21f)]=0x0,this[_0x3695a5(0x21d)]=this[_0x3695a5(0x223)][_0x3695a5(0x20a)][_0x3695a5(0x1f6)](_0x122030);}[_0x3be30e(0x1f4)](){const _0x55b61f=_0x3be30e,_0x579f5e=this[_0x55b61f(0x223)][_0x55b61f(0x20a)][_0x55b61f(0x1f6)](_0x77db04);this[_0x55b61f(0x214)](_0x579f5e,_0x55b61f(0x1fe),(_0x1506bc,_0x4fd5f1,_0x5988d2)=>{const _0x1054a7=_0x55b61f;if(_0x1054a7(0x211)!==_0x5988d2)this[_0x1054a7(0x1f0)][_0x1054a7(0x221)](_0x1b1c22=>_0x1b1c22[_0x1054a7(0x202)]()),this[_0x1054a7(0x213)][_0x1054a7(0x221)](_0x24504e=>_0x24504e[_0x1054a7(0x202)]()),this[_0x1054a7(0x1f2)][_0x1054a7(0x202)]();else{for(const [_0x138e43,_0x1408e9]of this[_0x1054a7(0x1fb)])for(const _0x339cf7 of _0x1408e9)this[_0x1054a7(0x1ff)](_0x138e43,_0x339cf7);}}),this[_0x55b61f(0x201)](_0x579f5e[_0x55b61f(0x229)]['me'],!0x0);}[_0x3be30e(0x21e)](_0x3915d8,_0x300a67){const _0x565d5=_0x3be30e;if(this[_0x565d5(0x1fb)][_0x565d5(0x204)](_0x3915d8))throw new _0x1c9b43(_0x565d5(0x1fc),null,{'channelId':_0x3915d8});this[_0x565d5(0x1fb)][_0x565d5(0x220)](_0x3915d8,_0x300a67),this[_0x565d5(0x1f0)][_0x565d5(0x220)](_0x3915d8,new _0x4a73ee()),this[_0x565d5(0x213)][_0x565d5(0x220)](_0x3915d8,new _0x4a73ee()),this[_0x565d5(0x214)](_0x300a67,_0x565d5(0x1ea),(_0x456aa1,_0x37a57c)=>this[_0x565d5(0x1ff)](_0x3915d8,_0x37a57c)),this[_0x565d5(0x214)](_0x300a67,_0x565d5(0x21b),(_0x489b17,_0x5a56cb)=>this[_0x565d5(0x1f3)](_0x3915d8,_0x5a56cb));for(const _0x272915 of _0x300a67)this[_0x565d5(0x1ff)](_0x3915d8,_0x272915);}[_0x3be30e(0x1ed)](_0x4da1de){const _0x5bffe0=_0x3be30e;if(!this[_0x5bffe0(0x1fb)][_0x5bffe0(0x204)](_0x4da1de))throw new _0x1c9b43(_0x5bffe0(0x205),null,{'channelId':_0x4da1de});const _0x4a04fe=this[_0x5bffe0(0x1fb)][_0x5bffe0(0x1f6)](_0x4da1de);this[_0x5bffe0(0x20f)](_0x4a04fe);for(const _0x352d3a of _0x4a04fe)_0x5bffe0(0x211)===this[_0x5bffe0(0x223)][_0x5bffe0(0x20a)][_0x5bffe0(0x1f6)](_0x77db04)[_0x5bffe0(0x1f1)]&&this[_0x5bffe0(0x1f3)](_0x4da1de,_0x352d3a);this[_0x5bffe0(0x1fb)][_0x5bffe0(0x1e9)](_0x4da1de),this[_0x5bffe0(0x1f0)][_0x5bffe0(0x1e9)](_0x4da1de),this[_0x5bffe0(0x213)][_0x5bffe0(0x1e9)](_0x4da1de);}get[_0x3be30e(0x209)](){const _0x4d406c=_0x3be30e;return this[_0x4d406c(0x223)][_0x4d406c(0x20a)][_0x4d406c(0x1f6)](_0x77db04)[_0x4d406c(0x229)][_0x4d406c(0x20e)];}[_0x3be30e(0x210)](_0xe1f315){const _0x158ebf=_0x3be30e;for(const _0x322ed8 of this[_0x158ebf(0x1f0)][_0x158ebf(0x222)]())for(const _0x524fcf of _0x322ed8)if(_0x524fcf['id']===_0xe1f315)return _0x524fcf[_0x158ebf(0x208)];}[_0x3be30e(0x203)](_0x327959,_0x1fbe2e){const _0x198e19=_0x3be30e,_0x18d606=_0x1fbe2e?[this[_0x198e19(0x1f0)][_0x198e19(0x1f6)](_0x1fbe2e)]:this[_0x198e19(0x1f0)][_0x198e19(0x222)](),_0x5b96f8=new Set();for(const _0x8100e5 of _0x18d606)for(const _0x3ecbf3 of _0x8100e5)_0x3ecbf3[_0x198e19(0x208)]['id']===_0x327959['id']&&_0x5b96f8[_0x198e19(0x1ea)](_0x3ecbf3['id']);return _0x5b96f8;}[_0x3be30e(0x21a)](_0x3595db){const _0x40279d=_0x3be30e;for(const _0x166982 of this[_0x40279d(0x1f0)][_0x40279d(0x222)]())for(const _0x247b23 of _0x166982)if(_0x247b23[_0x40279d(0x208)]===_0x3595db)return _0x247b23[_0x40279d(0x1ec)];}[_0x3be30e(0x1ff)](_0x1f42de,_0x5c1107){const _0x996870=_0x3be30e;if(_0x996870(0x211)!==this[_0x996870(0x223)][_0x996870(0x20a)][_0x996870(0x1f6)](_0x77db04)[_0x996870(0x1f1)])return;const _0x54c270=_0x5c1107[_0x996870(0x208)],_0xbbf584=this[_0x996870(0x21d)][_0x996870(0x1ef)](_0x54c270['id'])||this[_0x996870(0x201)](_0x54c270),_0x341851=Object[_0x996870(0x1ee)]({},_0x5c1107,{'user':_0xbbf584});if(this[_0x996870(0x1f0)][_0x996870(0x1f6)](_0x1f42de)[_0x996870(0x1ea)](_0x341851),!_0x54c270[_0x996870(0x1eb)]){const _0x4a8f65=this[_0x996870(0x213)][_0x996870(0x1f6)](_0x1f42de);_0x4a8f65[_0x996870(0x204)](_0xbbf584['id'])||_0x4a8f65[_0x996870(0x1ea)](_0xbbf584),this[_0x996870(0x1f2)][_0x996870(0x204)](_0xbbf584['id'])||_0x54c270[_0x996870(0x1eb)]||this[_0x996870(0x1f2)][_0x996870(0x1ea)](_0xbbf584,_0xbbf584[_0x996870(0x1f7)]?0x0:void 0x0);}this[_0x996870(0x207)](_0x996870(0x215)+_0x1f42de,{'channelId':_0x1f42de,'session':_0x341851});}[_0x3be30e(0x1f3)](_0x5ba50e,_0x5c5f1b){const _0x2f4629=_0x3be30e;if(_0x2f4629(0x211)!==this[_0x2f4629(0x223)][_0x2f4629(0x20a)][_0x2f4629(0x1f6)](_0x77db04)[_0x2f4629(0x1f1)])return;const _0x3a191b=this[_0x2f4629(0x213)][_0x2f4629(0x1f6)](_0x5ba50e),_0x41e77d=_0x5c5f1b[_0x2f4629(0x208)];_0x41e77d['id']&&(this[_0x2f4629(0x1f0)][_0x2f4629(0x1f6)](_0x5ba50e)[_0x2f4629(0x21b)](_0x5c5f1b['id']),_0x3a191b[_0x2f4629(0x204)](_0x41e77d['id'])&&!this[_0x2f4629(0x203)](_0x41e77d,_0x5ba50e)[_0x2f4629(0x219)]&&_0x3a191b[_0x2f4629(0x21b)](_0x41e77d['id']),this[_0x2f4629(0x1f2)][_0x2f4629(0x1f6)](_0x41e77d['id'])&&!this[_0x2f4629(0x203)](_0x41e77d)[_0x2f4629(0x219)]&&this[_0x2f4629(0x1f2)][_0x2f4629(0x21b)](_0x41e77d['id']));}[_0x3be30e(0x201)](_0x1e305e,_0xc38a84){const _0x1a5a88=_0x3be30e,_0x459af4=this[_0x1a5a88(0x21d)][_0x1a5a88(0x227)](_0x1e305e);return _0xc38a84&&this[_0x1a5a88(0x21d)][_0x1a5a88(0x20d)](_0x1e305e['id']),_0x459af4[_0x1a5a88(0x20c)]=this[_0x1a5a88(0x21f)]++,_0x459af4;}}
23
+ function _0x23bf(){const _0x48a7b8=['get','getUser','set','listenTo','sessions-unregister-not-exist','21971HWAknq','requires','plugins','sessionId','1694650BMnQuh','delete','state','42OVuNSC','Sessions','897165FMlLGl','remove','channelSessions','getUserBySessionId','_createUser','user','role','getUserSessions','values','connected','_registeredSessions','context','size','4BFSKWb','forEach','11wNYYQu','getUserRole','_users','fire','allConnectedUsers','stopListening','_uniqueUsersCount','1821948qBBYKe','sessions-register-already-registered','sessionAdd:','change:state','addUser','channelConnectedUsers','pluginName','orderNumber','isPremiumPlugin','82074MnJHfP','connection','_handleSessionAdd','_handleSessionRemove','unregister','mySessionId','init','1269569zDuuDM','8cJMmVU','27wzmBTG','3589890qJuLOo','register','assign','add','clear','isOfficialPlugin','isMe','defineMe','has','hiddenInPresenceList'];_0x23bf=function(){return _0x48a7b8;};return _0x23bf();}const _0x5e9961=_0x183e;(function(_0x5482e6,_0x55443e){const _0x21d7a3=_0x183e,_0x9e7cde=_0x5482e6();while(!![]){try{const _0x5a8c51=-parseInt(_0x21d7a3(0x1d1))/0x1*(-parseInt(_0x21d7a3(0x1d8))/0x2)+-parseInt(_0x21d7a3(0x1b8))/0x3+parseInt(_0x21d7a3(0x1e7))/0x4*(parseInt(_0x21d7a3(0x1da))/0x5)+parseInt(_0x21d7a3(0x1c2))/0x6+parseInt(_0x21d7a3(0x1bf))/0x7*(-parseInt(_0x21d7a3(0x1c0))/0x8)+parseInt(_0x21d7a3(0x1c1))/0x9*(-parseInt(_0x21d7a3(0x1d5))/0xa)+parseInt(_0x21d7a3(0x1e9))/0xb*(-parseInt(_0x21d7a3(0x1f0))/0xc);if(_0x5a8c51===_0x55443e)break;else _0x9e7cde['push'](_0x9e7cde['shift']());}catch(_0x118126){_0x9e7cde['push'](_0x9e7cde['shift']());}}}(_0x23bf,0x5a60e));import{ContextPlugin as _0x1ff861}from'ckeditor5/src/core.js';import{Collection as _0x9d80a7,CKEditorError as _0x1029eb}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4ec331}from'./websocketgateway.js';function _0x183e(_0x2610c0,_0x2c2368){const _0x23bfb6=_0x23bf();return _0x183e=function(_0x183ee4,_0x234c2b){_0x183ee4=_0x183ee4-0x1b8;let _0x3990f9=_0x23bfb6[_0x183ee4];return _0x3990f9;},_0x183e(_0x2610c0,_0x2c2368);}import{Users as _0x37163d}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x1ff861{[_0x5e9961(0x1dc)];[_0x5e9961(0x1f5)];[_0x5e9961(0x1ed)];[_0x5e9961(0x1e4)];[_0x5e9961(0x1ef)];[_0x5e9961(0x1eb)];static get[_0x5e9961(0x1f6)](){const _0x4852d9=_0x5e9961;return _0x4852d9(0x1d9);}static get[_0x5e9961(0x1c7)](){return!0x0;}static get[_0x5e9961(0x1f8)](){return!0x0;}static get[_0x5e9961(0x1d2)](){return[_0x4ec331,_0x37163d];}constructor(_0xf4e0e5){const _0x41c53d=_0x5e9961;super(_0xf4e0e5),this[_0x41c53d(0x1dc)]=new Map(),this[_0x41c53d(0x1f5)]=new Map(),this[_0x41c53d(0x1ed)]=new _0x9d80a7(),this[_0x41c53d(0x1e4)]=new Map(),this[_0x41c53d(0x1ef)]=0x0,this[_0x41c53d(0x1eb)]=this[_0x41c53d(0x1e5)][_0x41c53d(0x1d3)][_0x41c53d(0x1cc)](_0x37163d);}[_0x5e9961(0x1be)](){const _0x54291b=_0x5e9961,_0x3ab987=this[_0x54291b(0x1e5)][_0x54291b(0x1d3)][_0x54291b(0x1cc)](_0x4ec331);this[_0x54291b(0x1cf)](_0x3ab987,_0x54291b(0x1f3),(_0x11e05c,_0x3a0059,_0x11a693)=>{const _0xca3ffc=_0x54291b;if(_0xca3ffc(0x1e3)!==_0x11a693)this[_0xca3ffc(0x1dc)][_0xca3ffc(0x1e8)](_0xb567b2=>_0xb567b2[_0xca3ffc(0x1c6)]()),this[_0xca3ffc(0x1f5)][_0xca3ffc(0x1e8)](_0x59ef29=>_0x59ef29[_0xca3ffc(0x1c6)]()),this[_0xca3ffc(0x1ed)][_0xca3ffc(0x1c6)]();else{for(const [_0x8f44aa,_0x4aa5e3]of this[_0xca3ffc(0x1e4)])for(const _0x2d041c of _0x4aa5e3)this[_0xca3ffc(0x1ba)](_0x8f44aa,_0x2d041c);}}),this[_0x54291b(0x1de)](_0x3ab987[_0x54291b(0x1b9)]['me'],!0x0);}[_0x5e9961(0x1c3)](_0x243ec9,_0x58fb4a){const _0x46c8fd=_0x5e9961;if(this[_0x46c8fd(0x1e4)][_0x46c8fd(0x1ca)](_0x243ec9))throw new _0x1029eb(_0x46c8fd(0x1f1),null,{'channelId':_0x243ec9});this[_0x46c8fd(0x1e4)][_0x46c8fd(0x1ce)](_0x243ec9,_0x58fb4a),this[_0x46c8fd(0x1dc)][_0x46c8fd(0x1ce)](_0x243ec9,new _0x9d80a7()),this[_0x46c8fd(0x1f5)][_0x46c8fd(0x1ce)](_0x243ec9,new _0x9d80a7()),this[_0x46c8fd(0x1cf)](_0x58fb4a,_0x46c8fd(0x1c5),(_0x5d63ca,_0xd0ebef)=>this[_0x46c8fd(0x1ba)](_0x243ec9,_0xd0ebef)),this[_0x46c8fd(0x1cf)](_0x58fb4a,_0x46c8fd(0x1db),(_0x4ffede,_0x456546)=>this[_0x46c8fd(0x1bb)](_0x243ec9,_0x456546));for(const _0x3c8fc9 of _0x58fb4a)this[_0x46c8fd(0x1ba)](_0x243ec9,_0x3c8fc9);}[_0x5e9961(0x1bc)](_0x4bd5de){const _0x3b8ce1=_0x5e9961;if(!this[_0x3b8ce1(0x1e4)][_0x3b8ce1(0x1ca)](_0x4bd5de))throw new _0x1029eb(_0x3b8ce1(0x1d0),null,{'channelId':_0x4bd5de});const _0x154a56=this[_0x3b8ce1(0x1e4)][_0x3b8ce1(0x1cc)](_0x4bd5de);this[_0x3b8ce1(0x1ee)](_0x154a56);for(const _0x33352d of _0x154a56)_0x3b8ce1(0x1e3)===this[_0x3b8ce1(0x1e5)][_0x3b8ce1(0x1d3)][_0x3b8ce1(0x1cc)](_0x4ec331)[_0x3b8ce1(0x1d7)]&&this[_0x3b8ce1(0x1bb)](_0x4bd5de,_0x33352d);this[_0x3b8ce1(0x1e4)][_0x3b8ce1(0x1d6)](_0x4bd5de),this[_0x3b8ce1(0x1dc)][_0x3b8ce1(0x1d6)](_0x4bd5de),this[_0x3b8ce1(0x1f5)][_0x3b8ce1(0x1d6)](_0x4bd5de);}get[_0x5e9961(0x1bd)](){const _0x1229a1=_0x5e9961;return this[_0x1229a1(0x1e5)][_0x1229a1(0x1d3)][_0x1229a1(0x1cc)](_0x4ec331)[_0x1229a1(0x1b9)][_0x1229a1(0x1d4)];}[_0x5e9961(0x1dd)](_0x4f6e68){const _0x364d9a=_0x5e9961;for(const _0x2869cb of this[_0x364d9a(0x1dc)][_0x364d9a(0x1e2)]())for(const _0x49bac8 of _0x2869cb)if(_0x49bac8['id']===_0x4f6e68)return _0x49bac8[_0x364d9a(0x1df)];}[_0x5e9961(0x1e1)](_0x29d769,_0x58fe78){const _0x281981=_0x5e9961,_0x8cd440=_0x58fe78?[this[_0x281981(0x1dc)][_0x281981(0x1cc)](_0x58fe78)]:this[_0x281981(0x1dc)][_0x281981(0x1e2)](),_0x16fda4=new Set();for(const _0x4c76a2 of _0x8cd440)for(const _0x10de69 of _0x4c76a2)_0x10de69[_0x281981(0x1df)]['id']===_0x29d769['id']&&_0x16fda4[_0x281981(0x1c5)](_0x10de69['id']);return _0x16fda4;}[_0x5e9961(0x1ea)](_0x272d2c){const _0x3ca505=_0x5e9961;for(const _0x84f86d of this[_0x3ca505(0x1dc)][_0x3ca505(0x1e2)]())for(const _0x2fa8ed of _0x84f86d)if(_0x2fa8ed[_0x3ca505(0x1df)]===_0x272d2c)return _0x2fa8ed[_0x3ca505(0x1e0)];}[_0x5e9961(0x1ba)](_0xb3c266,_0x3f421b){const _0x44ef62=_0x5e9961;if(_0x44ef62(0x1e3)!==this[_0x44ef62(0x1e5)][_0x44ef62(0x1d3)][_0x44ef62(0x1cc)](_0x4ec331)[_0x44ef62(0x1d7)])return;const _0x1ca411=_0x3f421b[_0x44ef62(0x1df)],_0xe05c80=this[_0x44ef62(0x1eb)][_0x44ef62(0x1cd)](_0x1ca411['id'])||this[_0x44ef62(0x1de)](_0x1ca411),_0x2e2523=Object[_0x44ef62(0x1c4)]({},_0x3f421b,{'user':_0xe05c80});if(this[_0x44ef62(0x1dc)][_0x44ef62(0x1cc)](_0xb3c266)[_0x44ef62(0x1c5)](_0x2e2523),!_0x1ca411[_0x44ef62(0x1cb)]){const _0x2cef3c=this[_0x44ef62(0x1f5)][_0x44ef62(0x1cc)](_0xb3c266);_0x2cef3c[_0x44ef62(0x1ca)](_0xe05c80['id'])||_0x2cef3c[_0x44ef62(0x1c5)](_0xe05c80),this[_0x44ef62(0x1ed)][_0x44ef62(0x1ca)](_0xe05c80['id'])||_0x1ca411[_0x44ef62(0x1cb)]||this[_0x44ef62(0x1ed)][_0x44ef62(0x1c5)](_0xe05c80,_0xe05c80[_0x44ef62(0x1c8)]?0x0:void 0x0);}this[_0x44ef62(0x1ec)](_0x44ef62(0x1f2)+_0xb3c266,{'channelId':_0xb3c266,'session':_0x2e2523});}[_0x5e9961(0x1bb)](_0x1f3fe2,_0x379cdf){const _0x4d7839=_0x5e9961;if(_0x4d7839(0x1e3)!==this[_0x4d7839(0x1e5)][_0x4d7839(0x1d3)][_0x4d7839(0x1cc)](_0x4ec331)[_0x4d7839(0x1d7)])return;const _0x90fe39=this[_0x4d7839(0x1f5)][_0x4d7839(0x1cc)](_0x1f3fe2),_0x95be84=_0x379cdf[_0x4d7839(0x1df)];_0x95be84['id']&&(this[_0x4d7839(0x1dc)][_0x4d7839(0x1cc)](_0x1f3fe2)[_0x4d7839(0x1db)](_0x379cdf['id']),_0x90fe39[_0x4d7839(0x1ca)](_0x95be84['id'])&&!this[_0x4d7839(0x1e1)](_0x95be84,_0x1f3fe2)[_0x4d7839(0x1e6)]&&_0x90fe39[_0x4d7839(0x1db)](_0x95be84['id']),this[_0x4d7839(0x1ed)][_0x4d7839(0x1cc)](_0x95be84['id'])&&!this[_0x4d7839(0x1e1)](_0x95be84)[_0x4d7839(0x1e6)]&&this[_0x4d7839(0x1ed)][_0x4d7839(0x1db)](_0x95be84['id']));}[_0x5e9961(0x1de)](_0x26667a,_0x37f219){const _0x51d249=_0x5e9961,_0x3a2912=this[_0x51d249(0x1eb)][_0x51d249(0x1f4)](_0x26667a);return _0x37f219&&this[_0x51d249(0x1eb)][_0x51d249(0x1c9)](_0x26667a['id']),_0x3a2912[_0x51d249(0x1f7)]=this[_0x51d249(0x1ef)]++,_0x3a2912;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2eb675=_0xd2d3;(function(_0x1530e2,_0x140442){const _0x1b256d=_0xd2d3,_0x59ea8e=_0x1530e2();while(!![]){try{const _0x352303=-parseInt(_0x1b256d(0x1b8))/0x1*(parseInt(_0x1b256d(0x191))/0x2)+parseInt(_0x1b256d(0x1c6))/0x3+-parseInt(_0x1b256d(0x1f8))/0x4+-parseInt(_0x1b256d(0x1a3))/0x5+parseInt(_0x1b256d(0x1d2))/0x6*(parseInt(_0x1b256d(0x18b))/0x7)+parseInt(_0x1b256d(0x1e7))/0x8+-parseInt(_0x1b256d(0x1e4))/0x9*(parseInt(_0x1b256d(0x1a2))/0xa);if(_0x352303===_0x140442)break;else _0x59ea8e['push'](_0x59ea8e['shift']());}catch(_0x108d07){_0x59ea8e['push'](_0x59ea8e['shift']());}}}(_0x4acc,0x805ac));import{Plugin as _0x2a36dd}from'ckeditor5/src/core.js';function _0x4acc(){const _0x219855=['innerHTML','parent','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','3997hkYUJg','name','createUIElement','markers','oldRange','nodeAfter','105670vSQttz','user:position:','markerToHighlight','applyOperation','markerNameToElements','ck-user__marker\x20','createRange','$text','getRange','toRange','isPremiumPlugin','getPositions','delete','getMarkerClass','removeMarker','set','user:','30610vVkjOU','415565WOHkWT','isSimilar','getContainedElement','remove','hasContent','add','detach','false','newRange','updateMarker','type','element','reconvertMarker','highest','render','view','markerToElement','span','toDomElement','schema','_createdBatches','1JgXYHI','model','enqueueChange','markerRange','marker','isInline','getFirstRange','color','setAttribute','contenteditable','for','afterInit','size','isOfficialPlugin','2806383eQzOpM','ck-user__marker_hovered','stopListening','document','mouseleave','outerHTML','isCollapsed','removeClass','hasDomSelection','classList','mapper','editor','2850yDiioi','editing','isLimit','setCustomProperty','plugins','Escape','getAttribute','addMarker','change:range','keydown','createElement','isObject','markerName','undo','getStart','clear','spellcheck','data-session-id','1197VkCNBG','init','mouseenter','3501872xtCnSE','getNearestSelectionRange','addEventListener','user:position','startsWith','user:range:','UserMarkers','pluginName','editingDowncast','requires','userPositionMarker','fromRange','getSelectionClass','root','isDocumentOperation','destroy','mySessionId','2302476ZArtbD','orderNumber','getCustomProperty','split','$graveyard','tableCell','start','createUserMarkerOperations','end','batch','ck-user__selection','user:range','ck-user__marker-tooltip','checkChild','change','commands','get','textContent','rootName','_domEmitter','selection','getUserBySessionId','conversion','has','listenTo','deletionPosition','update:user:range'];_0x4acc=function(){return _0x219855;};return _0x4acc();}import{global as _0x3c8aa8,DomEmitterMixin as _0x41cd99}from'ckeditor5/src/utils.js';import{Sessions as _0x52847c}from'./sessions.js';function _0xd2d3(_0x29d036,_0x11250c){const _0x4acce1=_0x4acc();return _0xd2d3=function(_0xd2d34a,_0xdb0dc5){_0xd2d34a=_0xd2d34a-0x17c;let _0x366558=_0x4acce1[_0xd2d34a];return _0x366558;},_0xd2d3(_0x29d036,_0x11250c);}import{ModelLiveRange as _0x38d838}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x2a36dd{[_0x2eb675(0x180)]=new(_0x41cd99())();static get[_0x2eb675(0x1f0)](){return[_0x52847c];}static get[_0x2eb675(0x1ee)](){const _0x1eb841=_0x2eb675;return _0x1eb841(0x1ed);}static get[_0x2eb675(0x1c5)](){return!0x0;}static get[_0x2eb675(0x19b)](){return!0x0;}[_0x2eb675(0x1e5)](){const _0x55ba29=_0x2eb675,_0xe2c91a=this[_0x55ba29(0x1d1)],_0x42d8f0=_0xe2c91a[_0x55ba29(0x1d6)][_0x55ba29(0x17d)](_0x52847c);_0xe2c91a[_0x55ba29(0x183)][_0x55ba29(0x1c2)](_0x55ba29(0x1ef))[_0x55ba29(0x1b3)]({'model':_0x55ba29(0x1ea),'view':(_0x3ea1d1,{writer:_0x487a49})=>function(_0x471420,_0x464d89,_0x1080e4,_0x4bc1e3){const _0x5c5965=_0x55ba29,_0x377a47=_0x471420[_0x5c5965(0x1de)][_0x5c5965(0x1fb)](':')[0x2],_0x3eea61=_0x1080e4[_0x5c5965(0x182)](_0x377a47);if(!_0x3eea61||_0x377a47===_0x1080e4[_0x5c5965(0x1f7)])return;if(!_0x4bc1e3[_0x5c5965(0x1b9)][_0x5c5965(0x1b6)][_0x5c5965(0x205)](_0x471420[_0x5c5965(0x1bb)][_0x5c5965(0x1fe)],_0x5c5965(0x198)))return;const _0x2b7358={'class':_0x5c5965(0x196)+_0x3eea61[_0x5c5965(0x1bf)][_0x5c5965(0x19e)](),'data-name':_0x3eea61[_0x5c5965(0x18c)],'data-session-id':_0x377a47},_0x54aa83=_0x4bc1e3[_0x5c5965(0x1b9)][_0x5c5965(0x18e)][_0x5c5965(0x17d)](_0x471420[_0x5c5965(0x1de)]),_0x23c431=_0x54aa83[_0x5c5965(0x1e0)](),_0x91b419=_0x23c431[_0x5c5965(0x190)],_0x3281b2=_0x4bc1e3[_0x5c5965(0x1b9)][_0x5c5965(0x1b6)];if(_0x91b419&&_0x3281b2[_0x5c5965(0x1dd)](_0x91b419)&&_0x3281b2[_0x5c5965(0x1bd)](_0x91b419)&&!_0x4bc1e3[_0x5c5965(0x1b9)][_0x5c5965(0x18e)][_0x5c5965(0x17d)](_0x5c5965(0x1ec)+_0x377a47)[_0x5c5965(0x199)]()[_0x5c5965(0x1cc)])return;const _0x9ec305=_0x23c431[_0x5c5965(0x189)];return _0x4bc1e3[_0x5c5965(0x1b9)][_0x5c5965(0x1b6)][_0x5c5965(0x1d4)](_0x9ec305)&&!_0x4bc1e3[_0x5c5965(0x1b9)][_0x5c5965(0x1a7)](_0x9ec305)&&(_0x2b7358[_0x5c5965(0x1c1)]=!0x1),function(_0x321c1b,_0x5860e6,_0x4cbbc3){const _0x47fef5=_0x5c5965,_0x2d40d4=_0x321c1b[_0x47fef5(0x18d)](_0x47fef5(0x1b4),_0x5860e6);return _0x321c1b[_0x47fef5(0x1d5)](_0x47fef5(0x1f1),!0x0,_0x2d40d4),_0x2d40d4[_0x47fef5(0x1b1)]=function(_0x344603){const _0x156b7f=_0x47fef5,_0x32069e=this[_0x156b7f(0x1b5)](_0x344603),_0x59a621=document[_0x156b7f(0x1dc)](_0x156b7f(0x1b4));return _0x59a621[_0x156b7f(0x1cf)][_0x156b7f(0x1a8)](_0x156b7f(0x204)),_0x59a621[_0x156b7f(0x1c0)](_0x156b7f(0x1c1),_0x156b7f(0x1aa)),_0x59a621[_0x156b7f(0x1c0)](_0x156b7f(0x1e2),_0x156b7f(0x1aa)),_0x59a621[_0x156b7f(0x17e)]=_0x4cbbc3[_0x156b7f(0x18c)],_0x32069e[_0x156b7f(0x188)]=_0x156b7f(0x18a)+_0x59a621[_0x156b7f(0x1cb)]+'⁠',_0x32069e[_0x156b7f(0x1e9)](_0x156b7f(0x1e6),()=>{const _0x30269c=_0x156b7f;_0x32069e[_0x30269c(0x1cf)][_0x30269c(0x1a8)](_0x30269c(0x1c7));}),_0x32069e[_0x156b7f(0x1e9)](_0x156b7f(0x1ca),()=>{const _0x4e8145=_0x156b7f;_0x32069e[_0x4e8145(0x1cf)][_0x4e8145(0x1a6)](_0x4e8145(0x1c7));}),_0x32069e;},_0x2d40d4[_0x47fef5(0x1a4)]=function(_0x106c80){const _0x881e68=_0x47fef5;return!(!this[_0x881e68(0x1fa)](_0x881e68(0x1f1))||!_0x106c80[_0x881e68(0x1fa)](_0x881e68(0x1f1))||this[_0x881e68(0x1d8)](_0x881e68(0x1e3))!=_0x106c80[_0x881e68(0x1d8)](_0x881e68(0x1e3)));},_0x2d40d4;}(_0x464d89,_0x2b7358,_0x3eea61);}(_0x3ea1d1,_0x487a49,_0x42d8f0,_0xe2c91a)}),_0xe2c91a[_0x55ba29(0x183)][_0x55ba29(0x1c2)](_0x55ba29(0x1ef))[_0x55ba29(0x193)]({'model':_0x55ba29(0x203),'view':_0x9ddf4=>function(_0x206447,_0x2c53ea){const _0x3fec33=_0x55ba29,_0x4eebde=_0x206447[_0x3fec33(0x1de)][_0x3fec33(0x1fb)](':')[0x2];if(_0x4eebde===_0x2c53ea[_0x3fec33(0x1f7)])return null;const _0x171ba0=_0x2c53ea[_0x3fec33(0x182)](_0x4eebde);if(!_0x171ba0)return{'id':_0x4eebde,'classes':[]};return{'id':_0x4eebde,'classes':[_0x3fec33(0x202),_0x171ba0[_0x3fec33(0x1bf)][_0x3fec33(0x1f3)]()],'attributes':{'data-session-id':_0x4eebde},'priority':0x7d0+_0x171ba0[_0x3fec33(0x1f9)]};}(_0x9ddf4,_0x42d8f0)}),function(_0xc515de){const _0x4673bd=_0x55ba29,_0x3e7d10=_0xc515de[_0x4673bd(0x1b9)],_0x5b4678=new Map(),_0x26fe6a=_0xc515de[_0x4673bd(0x1d6)][_0x4673bd(0x17d)](_0x52847c);_0x3e7d10[_0x4673bd(0x18e)]['on'](_0x4673bd(0x187),(_0x2b3c6d,_0x2d7040,_0x17d99e,_0x2667c2)=>{const _0x528037=_0x4673bd;if(!_0x2667c2&&_0x5b4678[_0x528037(0x17d)](_0x2d7040[_0x528037(0x18c)]))return _0x5b4678[_0x528037(0x17d)](_0x2d7040[_0x528037(0x18c)])[_0x528037(0x1a9)](),void _0x5b4678[_0x528037(0x19d)](_0x2d7040[_0x528037(0x18c)]);const _0x104e34=_0x2d7040[_0x528037(0x18c)][_0x528037(0x1fb)](':')[0x2];if(_0x104e34===_0x26fe6a[_0x528037(0x1f7)])return;const _0x23c10d=_0x528037(0x192)+_0x104e34;_0x3e7d10[_0x528037(0x18e)][_0x528037(0x184)](_0x23c10d)&&_0xc515de[_0x528037(0x1d3)][_0x528037(0x1af)](_0x23c10d),_0x2d7040['on'](_0x528037(0x1da),(_0x1ea5c3,_0x47747d,_0x39869f)=>{const _0x38d59e=_0x528037;if(_0x38d59e(0x1fc)!=_0x47747d[_0x38d59e(0x1f4)][_0x38d59e(0x17f)]&&_0x38d59e(0x1fc)==_0x2d7040[_0x38d59e(0x199)]()[_0x38d59e(0x1f4)][_0x38d59e(0x17f)]&&!_0x5b4678[_0x38d59e(0x184)](_0x2d7040[_0x38d59e(0x18c)])){const _0x17cbc1=_0x3e7d10[_0x38d59e(0x1b6)][_0x38d59e(0x1e8)](_0x39869f[_0x38d59e(0x186)]);if(_0x17cbc1){const _0x1df48e=_0x38d838[_0x38d59e(0x1f2)](_0x17cbc1);_0x5b4678[_0x38d59e(0x1a0)](_0x2d7040[_0x38d59e(0x18c)],_0x1df48e),_0x1df48e['on'](_0x38d59e(0x1da),(_0x2f8303,_0x2b6f89,_0x152537)=>{const _0x207c61=_0x38d59e;if(_0x207c61(0x1fc)==_0x1df48e[_0x207c61(0x1f4)][_0x207c61(0x17f)]){const _0x263d00=_0x3e7d10[_0x207c61(0x1b6)][_0x207c61(0x1e8)](_0x152537[_0x207c61(0x186)]);_0x263d00?(_0x1df48e[_0x207c61(0x1fe)]=_0x263d00[_0x207c61(0x1fe)],_0x1df48e[_0x207c61(0x200)]=_0x263d00[_0x207c61(0x200)]):(_0x5b4678[_0x207c61(0x19d)](_0x2d7040[_0x207c61(0x18c)]),_0x1df48e[_0x207c61(0x1a9)]());}});}}});}),_0x3e7d10[_0x4673bd(0x1c9)]['on'](_0x4673bd(0x206),()=>{const _0x39814a=_0x4673bd;_0x5b4678[_0x39814a(0x1c4)]>0x0&&_0x3e7d10[_0x39814a(0x1ba)]({'isUndoable':!0x1},_0x582f27=>{const _0x21d50b=_0x39814a;for(const [_0x5ae3be,_0x19d859]of _0x5b4678)_0x21d50b(0x1fc)==_0x3e7d10[_0x21d50b(0x18e)][_0x21d50b(0x17d)](_0x5ae3be)[_0x21d50b(0x199)]()[_0x21d50b(0x1f4)][_0x21d50b(0x17f)]&&(ee(_0x5ae3be[_0x21d50b(0x1fb)](':')[0x2],_0x19d859[_0x21d50b(0x19a)](),_0x3e7d10,_0x582f27),_0x19d859[_0x21d50b(0x1a9)]());_0x5b4678[_0x21d50b(0x1e1)]();});});}(_0xe2c91a),this[_0x55ba29(0x180)][_0x55ba29(0x185)](_0x3c8aa8[_0x55ba29(0x1c9)],_0x55ba29(0x1db),(_0x3ede08,{key:_0x2e260b})=>{const _0x18407a=_0x55ba29;_0x18407a(0x1d7)===_0x2e260b&&function(_0x151a24){const _0x1362c8=_0x18407a;_0x151a24[_0x1362c8(0x1d3)][_0x1362c8(0x1b2)][_0x1362c8(0x206)](_0x2a77b2=>{const _0x784a86=_0x1362c8;for(const _0x5c198b of _0x151a24[_0x784a86(0x1b9)][_0x784a86(0x18e)]){if(!_0x5c198b[_0x784a86(0x18c)][_0x784a86(0x1eb)](_0x784a86(0x1ea)))continue;const _0x5e2cfe=_0x151a24[_0x784a86(0x1d3)][_0x784a86(0x1d0)][_0x784a86(0x195)](_0x5c198b[_0x784a86(0x18c)]);if(_0x5e2cfe){for(const _0x26fe85 of _0x5e2cfe)_0x2a77b2[_0x784a86(0x1cd)](_0x784a86(0x1c7),_0x26fe85);}}});}(_0xe2c91a);},{'useCapture':!0x0});}[_0x2eb675(0x1c3)](){const _0x14dac7=_0x2eb675,_0x3ac635=this[_0x14dac7(0x1d1)],_0x1222df=_0x3ac635[_0x14dac7(0x17c)][_0x14dac7(0x17d)](_0x14dac7(0x1df));_0x1222df&&_0x3ac635[_0x14dac7(0x1b9)]['on'](_0x14dac7(0x194),(_0x2a6a50,_0xeb7ef8)=>{const _0x1b4132=_0x14dac7,_0x39785c=_0xeb7ef8[0x0];if(!_0x39785c[_0x1b4132(0x1f5)])return;if(_0x1b4132(0x1bc)!=_0x39785c[_0x1b4132(0x1ad)]||!_0x39785c[_0x1b4132(0x18c)][_0x1b4132(0x1eb)](_0x1b4132(0x1a1)))return;const _0x251aef=_0x39785c[_0x1b4132(0x201)];_0x1222df[_0x1b4132(0x1b7)][_0x1b4132(0x184)](_0x251aef)&&(_0x39785c[_0x1b4132(0x1ab)]=_0x39785c[_0x1b4132(0x18f)]?_0x3ac635[_0x1b4132(0x1b9)][_0x1b4132(0x197)](_0x39785c[_0x1b4132(0x18f)][_0x1b4132(0x1fe)],_0x39785c[_0x1b4132(0x18f)][_0x1b4132(0x200)]):null);},{'priority':_0x14dac7(0x1b0)});}[_0x2eb675(0x1f6)](){const _0x10325b=_0x2eb675;return this[_0x10325b(0x180)][_0x10325b(0x1c8)](),super[_0x10325b(0x1f6)]();}[_0x2eb675(0x1ff)](){const _0x13546b=_0x2eb675,_0x29f0c3=this[_0x13546b(0x1d1)],_0x2fcfce=_0x29f0c3[_0x13546b(0x1b9)][_0x13546b(0x1c9)],_0x334543=_0x29f0c3[_0x13546b(0x1d6)][_0x13546b(0x17d)](_0x52847c);_0x29f0c3[_0x13546b(0x1b9)][_0x13546b(0x1ba)]({'isUndoable':!0x1},_0x48947c=>{const _0xa7aebf=_0x13546b,_0x3570dd=_0xa7aebf(0x1ec)+_0x334543[_0xa7aebf(0x1f7)],_0x8b9c44=_0xa7aebf(0x192)+_0x334543[_0xa7aebf(0x1f7)],_0xe82153=_0x29f0c3[_0xa7aebf(0x1b9)][_0xa7aebf(0x18e)][_0xa7aebf(0x184)](_0x3570dd);_0x29f0c3[_0xa7aebf(0x1d3)][_0xa7aebf(0x1b2)][_0xa7aebf(0x1ce)]?ee(_0x334543[_0xa7aebf(0x1f7)],_0x2fcfce[_0xa7aebf(0x181)][_0xa7aebf(0x1be)](),_0x29f0c3[_0xa7aebf(0x1b9)],_0x48947c):_0xe82153&&(_0x48947c[_0xa7aebf(0x19f)](_0x3570dd),_0x48947c[_0xa7aebf(0x19f)](_0x8b9c44));});}}function ee(_0x4c0032,_0x2e8755,_0x46cb26,_0x580c9b){const _0x140a88=_0x2eb675,_0x5c226b=_0x140a88(0x1ec)+_0x4c0032,_0xdeb8ec=_0x140a88(0x192)+_0x4c0032,_0x3a95db=_0x2e8755[_0x140a88(0x1a5)]();let _0x550948=_0x2e8755[_0x140a88(0x1fe)];if(_0x3a95db&&_0x3a95db['is'](_0x140a88(0x1ae),_0x140a88(0x1fd))){const _0x3af927=function(_0x3496aa,_0x10cae3){const _0x57200b=_0x140a88;for(const _0xf7c003 of _0x3496aa[_0x57200b(0x19c)]())if(_0x10cae3[_0x57200b(0x1b6)][_0x57200b(0x205)](_0xf7c003,_0x57200b(0x198)))return _0xf7c003;}(_0x2e8755,_0x46cb26);_0x3af927&&(_0x550948=_0x3af927,_0x2e8755=_0x580c9b[_0x140a88(0x197)](_0x550948));}const _0x146abc=_0x580c9b[_0x140a88(0x197)](_0x550948);_0x46cb26[_0x140a88(0x18e)][_0x140a88(0x184)](_0x5c226b)?(_0x580c9b[_0x140a88(0x1ac)](_0x5c226b,{'range':_0x2e8755}),_0x580c9b[_0x140a88(0x1ac)](_0xdeb8ec,{'range':_0x146abc})):(_0x580c9b[_0x140a88(0x1d9)](_0x5c226b,{'range':_0x2e8755,'usingOperation':!0x0}),_0x580c9b[_0x140a88(0x1d9)](_0xdeb8ec,{'range':_0x146abc,'usingOperation':!0x0}));}
23
+ function _0x3c33(){const _0x3024e3=['change','isInline','isObject','Escape','_domEmitter','name','destroy','stopListening','3267126QfMXBh','end','rootName','classList','span','setCustomProperty','markerName','getNearestSelectionRange','createElement','ck-user__selection','document','getRange','isDocumentOperation','marker','hasContent','split','updateMarker','enqueueChange','batch','tableCell','markerRange','892967YKrTpN','681357YBoNIn','set','isPremiumPlugin','type','2010272Rrciix','innerHTML','color','getContainedElement','oldRange','spellcheck','editing','user:position','size','commands','hasDomSelection','setAttribute','mySessionId','reconvertMarker','isLimit','markers','data-session-id','getPositions','highest','clear','editor','createUserMarkerOperations','parent','afterInit','conversion','render','deletionPosition','$graveyard','fromRange','mouseenter','12614616cLyZsP','addMarker','toRange','change:range','isSimilar','user:range:','toDomElement','ck-user__marker_hovered','removeMarker','getFirstRange','selection','view','user:range','newRange','applyOperation','nodeAfter','isCollapsed','createUIElement','for','remove','startsWith','markerToElement','getAttribute','element','schema','UserMarkers','contenteditable','checkChild','getCustomProperty','editingDowncast','17350056sKhxKY','createRange','update:user:range','has','detach','undo','getSelectionClass','mapper','userPositionMarker','mouseleave','addEventListener','getStart','requires','removeClass','getMarkerClass','root','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','_createdBatches','orderNumber','model','delete','listenTo','markerToHighlight','start','10RPbGBs','textContent','ck-user__marker-tooltip','get','isOfficialPlugin','false','plugins','outerHTML','init','getUserBySessionId','markerNameToElements','1500774qeixCW','keydown','user:position:','$text','user:','add','32WZCdOX','pluginName','ck-user__marker\x20'];_0x3c33=function(){return _0x3024e3;};return _0x3c33();}function _0x3527(_0x467a12,_0xcf9f3c){const _0x3c33e1=_0x3c33();return _0x3527=function(_0x3527e1,_0x3445c3){_0x3527e1=_0x3527e1-0x16e;let _0x2815fa=_0x3c33e1[_0x3527e1];return _0x2815fa;},_0x3527(_0x467a12,_0xcf9f3c);}const _0x581e5e=_0x3527;(function(_0xb3146d,_0x240403){const _0x340d80=_0x3527,_0x226d02=_0xb3146d();while(!![]){try{const _0x137e9c=parseInt(_0x340d80(0x193))/0x1+-parseInt(_0x340d80(0x17e))/0x2+-parseInt(_0x340d80(0x194))/0x3*(parseInt(_0x340d80(0x173))/0x4)+-parseInt(_0x340d80(0x1ec))/0x5*(parseInt(_0x340d80(0x1f7))/0x6)+parseInt(_0x340d80(0x1b6))/0x7+parseInt(_0x340d80(0x198))/0x8+parseInt(_0x340d80(0x1d4))/0x9;if(_0x137e9c===_0x240403)break;else _0x226d02['push'](_0x226d02['shift']());}catch(_0x5870b0){_0x226d02['push'](_0x226d02['shift']());}}}(_0x3c33,0xe16d6));import{Plugin as _0x2a19e5}from'ckeditor5/src/core.js';import{global as _0x369916,DomEmitterMixin as _0x105b5f}from'ckeditor5/src/utils.js';import{Sessions as _0x4c7916}from'./sessions.js';import{ModelLiveRange as _0x19c483}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x2a19e5{[_0x581e5e(0x17a)]=new(_0x105b5f())();static get[_0x581e5e(0x1e0)](){return[_0x4c7916];}static get[_0x581e5e(0x174)](){const _0x786022=_0x581e5e;return _0x786022(0x1cf);}static get[_0x581e5e(0x1f0)](){return!0x0;}static get[_0x581e5e(0x196)](){return!0x0;}[_0x581e5e(0x1f4)](){const _0x505ba8=_0x581e5e,_0x4d1aa5=this[_0x505ba8(0x1ac)],_0x398f64=_0x4d1aa5[_0x505ba8(0x1f2)][_0x505ba8(0x1ef)](_0x4c7916);_0x4d1aa5[_0x505ba8(0x1b0)][_0x505ba8(0x1c8)](_0x505ba8(0x1d3))[_0x505ba8(0x1cb)]({'model':_0x505ba8(0x19f),'view':(_0x18bb07,{writer:_0x17f9fe})=>function(_0x476ab6,_0x2e37ba,_0x2980d9,_0x3e5ede){const _0x4269af=_0x505ba8,_0x4e6a36=_0x476ab6[_0x4269af(0x184)][_0x4269af(0x18d)](':')[0x2],_0x2a125f=_0x2980d9[_0x4269af(0x1f5)](_0x4e6a36);if(!_0x2a125f||_0x4e6a36===_0x2980d9[_0x4269af(0x1a4)])return;if(!_0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x1ce)][_0x4269af(0x1d1)](_0x476ab6[_0x4269af(0x192)][_0x4269af(0x1eb)],_0x4269af(0x170)))return;const _0x1c2b61={'class':_0x4269af(0x175)+_0x2a125f[_0x4269af(0x19a)][_0x4269af(0x1e2)](),'data-name':_0x2a125f[_0x4269af(0x17b)],'data-session-id':_0x4e6a36},_0x50e671=_0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x1a7)][_0x4269af(0x1ef)](_0x476ab6[_0x4269af(0x184)]),_0x2f4d0c=_0x50e671[_0x4269af(0x1df)](),_0x3c0426=_0x2f4d0c[_0x4269af(0x1c5)],_0x2f3b0d=_0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x1ce)];if(_0x3c0426&&_0x2f3b0d[_0x4269af(0x178)](_0x3c0426)&&_0x2f3b0d[_0x4269af(0x177)](_0x3c0426)&&!_0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x1a7)][_0x4269af(0x1ef)](_0x4269af(0x1bb)+_0x4e6a36)[_0x4269af(0x189)]()[_0x4269af(0x1c6)])return;const _0x7979ba=_0x2f4d0c[_0x4269af(0x1ae)];return _0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x1ce)][_0x4269af(0x1a6)](_0x7979ba)&&!_0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x18c)](_0x7979ba)&&(_0x1c2b61[_0x4269af(0x1d0)]=!0x1),function(_0x506c9d,_0x57251a,_0xbe5b49){const _0x3a9b7d=_0x4269af,_0x1ea753=_0x506c9d[_0x3a9b7d(0x1c7)](_0x3a9b7d(0x182),_0x57251a);return _0x506c9d[_0x3a9b7d(0x183)](_0x3a9b7d(0x1dc),!0x0,_0x1ea753),_0x1ea753[_0x3a9b7d(0x1b1)]=function(_0x1940d8){const _0x3d667f=_0x3a9b7d,_0x2d5f74=this[_0x3d667f(0x1bc)](_0x1940d8),_0x4a8439=document[_0x3d667f(0x186)](_0x3d667f(0x182));return _0x4a8439[_0x3d667f(0x181)][_0x3d667f(0x172)](_0x3d667f(0x1ee)),_0x4a8439[_0x3d667f(0x1a3)](_0x3d667f(0x1d0),_0x3d667f(0x1f1)),_0x4a8439[_0x3d667f(0x1a3)](_0x3d667f(0x19d),_0x3d667f(0x1f1)),_0x4a8439[_0x3d667f(0x1ed)]=_0xbe5b49[_0x3d667f(0x17b)],_0x2d5f74[_0x3d667f(0x199)]=_0x3d667f(0x1e4)+_0x4a8439[_0x3d667f(0x1f3)]+'⁠',_0x2d5f74[_0x3d667f(0x1de)](_0x3d667f(0x1b5),()=>{const _0x4b55a6=_0x3d667f;_0x2d5f74[_0x4b55a6(0x181)][_0x4b55a6(0x172)](_0x4b55a6(0x1bd));}),_0x2d5f74[_0x3d667f(0x1de)](_0x3d667f(0x1dd),()=>{const _0x5573f6=_0x3d667f;_0x2d5f74[_0x5573f6(0x181)][_0x5573f6(0x1c9)](_0x5573f6(0x1bd));}),_0x2d5f74;},_0x1ea753[_0x3a9b7d(0x1ba)]=function(_0x3188a2){const _0x2f0bdb=_0x3a9b7d;return!(!this[_0x2f0bdb(0x1d2)](_0x2f0bdb(0x1dc))||!_0x3188a2[_0x2f0bdb(0x1d2)](_0x2f0bdb(0x1dc))||this[_0x2f0bdb(0x1cc)](_0x2f0bdb(0x1a8))!=_0x3188a2[_0x2f0bdb(0x1cc)](_0x2f0bdb(0x1a8)));},_0x1ea753;}(_0x2e37ba,_0x1c2b61,_0x2a125f);}(_0x18bb07,_0x17f9fe,_0x398f64,_0x4d1aa5)}),_0x4d1aa5[_0x505ba8(0x1b0)][_0x505ba8(0x1c8)](_0x505ba8(0x1d3))[_0x505ba8(0x1ea)]({'model':_0x505ba8(0x1c2),'view':_0x3eab43=>function(_0x3a9248,_0x325319){const _0x54aa04=_0x505ba8,_0xda1a1d=_0x3a9248[_0x54aa04(0x184)][_0x54aa04(0x18d)](':')[0x2];if(_0xda1a1d===_0x325319[_0x54aa04(0x1a4)])return null;const _0x1467bf=_0x325319[_0x54aa04(0x1f5)](_0xda1a1d);if(!_0x1467bf)return{'id':_0xda1a1d,'classes':[]};return{'id':_0xda1a1d,'classes':[_0x54aa04(0x187),_0x1467bf[_0x54aa04(0x19a)][_0x54aa04(0x1da)]()],'attributes':{'data-session-id':_0xda1a1d},'priority':0x7d0+_0x1467bf[_0x54aa04(0x1e6)]};}(_0x3eab43,_0x398f64)}),function(_0x28aa25){const _0x5a608e=_0x505ba8,_0x5a9587=_0x28aa25[_0x5a608e(0x1e7)],_0x18e62d=new Map(),_0x378110=_0x28aa25[_0x5a608e(0x1f2)][_0x5a608e(0x1ef)](_0x4c7916);_0x5a9587[_0x5a608e(0x1a7)]['on'](_0x5a608e(0x1d6),(_0xfa9eeb,_0x4b01ec,_0x2919bb,_0x380479)=>{const _0x4fafec=_0x5a608e;if(!_0x380479&&_0x18e62d[_0x4fafec(0x1ef)](_0x4b01ec[_0x4fafec(0x17b)]))return _0x18e62d[_0x4fafec(0x1ef)](_0x4b01ec[_0x4fafec(0x17b)])[_0x4fafec(0x1d8)](),void _0x18e62d[_0x4fafec(0x1e8)](_0x4b01ec[_0x4fafec(0x17b)]);const _0x405b31=_0x4b01ec[_0x4fafec(0x17b)][_0x4fafec(0x18d)](':')[0x2];if(_0x405b31===_0x378110[_0x4fafec(0x1a4)])return;const _0x30c23a=_0x4fafec(0x16f)+_0x405b31;_0x5a9587[_0x4fafec(0x1a7)][_0x4fafec(0x1d7)](_0x30c23a)&&_0x28aa25[_0x4fafec(0x19e)][_0x4fafec(0x1a5)](_0x30c23a),_0x4b01ec['on'](_0x4fafec(0x1b9),(_0x3fb7c4,_0x2f0e64,_0x445230)=>{const _0x5e0487=_0x4fafec;if(_0x5e0487(0x1b3)!=_0x2f0e64[_0x5e0487(0x1e3)][_0x5e0487(0x180)]&&_0x5e0487(0x1b3)==_0x4b01ec[_0x5e0487(0x189)]()[_0x5e0487(0x1e3)][_0x5e0487(0x180)]&&!_0x18e62d[_0x5e0487(0x1d7)](_0x4b01ec[_0x5e0487(0x17b)])){const _0x3a9492=_0x5a9587[_0x5e0487(0x1ce)][_0x5e0487(0x185)](_0x445230[_0x5e0487(0x1b2)]);if(_0x3a9492){const _0x3e6889=_0x19c483[_0x5e0487(0x1b4)](_0x3a9492);_0x18e62d[_0x5e0487(0x195)](_0x4b01ec[_0x5e0487(0x17b)],_0x3e6889),_0x3e6889['on'](_0x5e0487(0x1b9),(_0x44c87f,_0x799d1f,_0x794ddc)=>{const _0x463c44=_0x5e0487;if(_0x463c44(0x1b3)==_0x3e6889[_0x463c44(0x1e3)][_0x463c44(0x180)]){const _0x26c643=_0x5a9587[_0x463c44(0x1ce)][_0x463c44(0x185)](_0x794ddc[_0x463c44(0x1b2)]);_0x26c643?(_0x3e6889[_0x463c44(0x1eb)]=_0x26c643[_0x463c44(0x1eb)],_0x3e6889[_0x463c44(0x17f)]=_0x26c643[_0x463c44(0x17f)]):(_0x18e62d[_0x463c44(0x1e8)](_0x4b01ec[_0x463c44(0x17b)]),_0x3e6889[_0x463c44(0x1d8)]());}});}}});}),_0x5a9587[_0x5a608e(0x188)]['on'](_0x5a608e(0x176),()=>{const _0x42c05d=_0x5a608e;_0x18e62d[_0x42c05d(0x1a0)]>0x0&&_0x5a9587[_0x42c05d(0x18f)]({'isUndoable':!0x1},_0x575822=>{const _0x3760ab=_0x42c05d;for(const [_0x2b8a91,_0x4d865e]of _0x18e62d)_0x3760ab(0x1b3)==_0x5a9587[_0x3760ab(0x1a7)][_0x3760ab(0x1ef)](_0x2b8a91)[_0x3760ab(0x189)]()[_0x3760ab(0x1e3)][_0x3760ab(0x180)]&&(Z(_0x2b8a91[_0x3760ab(0x18d)](':')[0x2],_0x4d865e[_0x3760ab(0x1b8)](),_0x5a9587,_0x575822),_0x4d865e[_0x3760ab(0x1d8)]());_0x18e62d[_0x3760ab(0x1ab)]();});});}(_0x4d1aa5),this[_0x505ba8(0x17a)][_0x505ba8(0x1e9)](_0x369916[_0x505ba8(0x188)],_0x505ba8(0x16e),(_0x503fc3,{key:_0x3bfd56})=>{const _0x4daeaf=_0x505ba8;_0x4daeaf(0x179)===_0x3bfd56&&function(_0x3ed013){const _0x2937d6=_0x4daeaf;_0x3ed013[_0x2937d6(0x19e)][_0x2937d6(0x1c1)][_0x2937d6(0x176)](_0x250997=>{const _0x441cb6=_0x2937d6;for(const _0x41453c of _0x3ed013[_0x441cb6(0x1e7)][_0x441cb6(0x1a7)]){if(!_0x41453c[_0x441cb6(0x17b)][_0x441cb6(0x1ca)](_0x441cb6(0x19f)))continue;const _0x45384c=_0x3ed013[_0x441cb6(0x19e)][_0x441cb6(0x1db)][_0x441cb6(0x1f6)](_0x41453c[_0x441cb6(0x17b)]);if(_0x45384c){for(const _0x3628d8 of _0x45384c)_0x250997[_0x441cb6(0x1e1)](_0x441cb6(0x1bd),_0x3628d8);}}});}(_0x4d1aa5);},{'useCapture':!0x0});}[_0x581e5e(0x1af)](){const _0x1f4376=_0x581e5e,_0x5b1a21=this[_0x1f4376(0x1ac)],_0x4fd8f2=_0x5b1a21[_0x1f4376(0x1a1)][_0x1f4376(0x1ef)](_0x1f4376(0x1d9));_0x4fd8f2&&_0x5b1a21[_0x1f4376(0x1e7)]['on'](_0x1f4376(0x1c4),(_0x56e71e,_0x3266ac)=>{const _0x3fe465=_0x1f4376,_0x659d3e=_0x3266ac[0x0];if(!_0x659d3e[_0x3fe465(0x18a)])return;if(_0x3fe465(0x18b)!=_0x659d3e[_0x3fe465(0x197)]||!_0x659d3e[_0x3fe465(0x17b)][_0x3fe465(0x1ca)](_0x3fe465(0x171)))return;const _0x3b3ca0=_0x659d3e[_0x3fe465(0x190)];_0x4fd8f2[_0x3fe465(0x1e5)][_0x3fe465(0x1d7)](_0x3b3ca0)&&(_0x659d3e[_0x3fe465(0x1c3)]=_0x659d3e[_0x3fe465(0x19c)]?_0x5b1a21[_0x3fe465(0x1e7)][_0x3fe465(0x1d5)](_0x659d3e[_0x3fe465(0x19c)][_0x3fe465(0x1eb)],_0x659d3e[_0x3fe465(0x19c)][_0x3fe465(0x17f)]):null);},{'priority':_0x1f4376(0x1aa)});}[_0x581e5e(0x17c)](){const _0x1176eb=_0x581e5e;return this[_0x1176eb(0x17a)][_0x1176eb(0x17d)](),super[_0x1176eb(0x17c)]();}[_0x581e5e(0x1ad)](){const _0x2aa289=_0x581e5e,_0x3b241a=this[_0x2aa289(0x1ac)],_0x546e5f=_0x3b241a[_0x2aa289(0x1e7)][_0x2aa289(0x188)],_0x2480be=_0x3b241a[_0x2aa289(0x1f2)][_0x2aa289(0x1ef)](_0x4c7916);_0x3b241a[_0x2aa289(0x1e7)][_0x2aa289(0x18f)]({'isUndoable':!0x1},_0x3e60e2=>{const _0x107efd=_0x2aa289,_0xad21f1=_0x107efd(0x1bb)+_0x2480be[_0x107efd(0x1a4)],_0x10a419=_0x107efd(0x16f)+_0x2480be[_0x107efd(0x1a4)],_0x139847=_0x3b241a[_0x107efd(0x1e7)][_0x107efd(0x1a7)][_0x107efd(0x1d7)](_0xad21f1);_0x3b241a[_0x107efd(0x19e)][_0x107efd(0x1c1)][_0x107efd(0x1a2)]?Z(_0x2480be[_0x107efd(0x1a4)],_0x546e5f[_0x107efd(0x1c0)][_0x107efd(0x1bf)](),_0x3b241a[_0x107efd(0x1e7)],_0x3e60e2):_0x139847&&(_0x3e60e2[_0x107efd(0x1be)](_0xad21f1),_0x3e60e2[_0x107efd(0x1be)](_0x10a419));});}}function Z(_0x271a9b,_0x2d16d6,_0x60d5fd,_0x3a35d5){const _0x415d49=_0x581e5e,_0x50fc2a=_0x415d49(0x1bb)+_0x271a9b,_0x3a8c79=_0x415d49(0x16f)+_0x271a9b,_0x634e19=_0x2d16d6[_0x415d49(0x19b)]();let _0x45aea9=_0x2d16d6[_0x415d49(0x1eb)];if(_0x634e19&&_0x634e19['is'](_0x415d49(0x1cd),_0x415d49(0x191))){const _0x332c63=function(_0x5b9b27,_0x47af7a){const _0x4946fc=_0x415d49;for(const _0x19c0aa of _0x5b9b27[_0x4946fc(0x1a9)]())if(_0x47af7a[_0x4946fc(0x1ce)][_0x4946fc(0x1d1)](_0x19c0aa,_0x4946fc(0x170)))return _0x19c0aa;}(_0x2d16d6,_0x60d5fd);_0x332c63&&(_0x45aea9=_0x332c63,_0x2d16d6=_0x3a35d5[_0x415d49(0x1d5)](_0x45aea9));}const _0x3c803a=_0x3a35d5[_0x415d49(0x1d5)](_0x45aea9);_0x60d5fd[_0x415d49(0x1a7)][_0x415d49(0x1d7)](_0x50fc2a)?(_0x3a35d5[_0x415d49(0x18e)](_0x50fc2a,{'range':_0x2d16d6}),_0x3a35d5[_0x415d49(0x18e)](_0x3a8c79,{'range':_0x3c803a})):(_0x3a35d5[_0x415d49(0x1b7)](_0x50fc2a,{'range':_0x2d16d6,'usingOperation':!0x0}),_0x3a35d5[_0x415d49(0x1b7)](_0x3a8c79,{'range':_0x3c803a,'usingOperation':!0x0}));}