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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xb43d(_0x4727d8,_0x4eef7f){const _0x2f1e23=_0x2f1e();return _0xb43d=function(_0xb43d43,_0x3ae032){_0xb43d43=_0xb43d43-0xca;let _0x4c9614=_0x2f1e23[_0xb43d43];return _0x4c9614;},_0xb43d(_0x4727d8,_0x4eef7f);}const _0x394620=_0xb43d;(function(_0x22310a,_0x50eb28){const _0x4c51e9=_0xb43d,_0x54d718=_0x22310a();while(!![]){try{const _0x142196=-parseInt(_0x4c51e9(0xd8))/0x1*(parseInt(_0x4c51e9(0xd3))/0x2)+-parseInt(_0x4c51e9(0xca))/0x3*(parseInt(_0x4c51e9(0xdf))/0x4)+parseInt(_0x4c51e9(0xd4))/0x5*(parseInt(_0x4c51e9(0xcf))/0x6)+parseInt(_0x4c51e9(0xdd))/0x7*(parseInt(_0x4c51e9(0xec))/0x8)+-parseInt(_0x4c51e9(0xe4))/0x9+parseInt(_0x4c51e9(0xf0))/0xa+parseInt(_0x4c51e9(0xef))/0xb;if(_0x142196===_0x50eb28)break;else _0x54d718['push'](_0x54d718['shift']());}catch(_0x2bc21d){_0x54d718['push'](_0x54d718['shift']());}}}(_0x2f1e,0xaa0b3));function _0x2f1e(){const _0x3a3cdd=['presencelist:hide','27010390zpAJCx','12758000lAlawQ','render','3tmtHnP','removeAttribute','listenTo','setAttribute','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','947616lOkeLI','change:hasPopup','hasPopup','fire','2Hdmlgb','10RjWjjU','relatedTarget','items','.ck-balloon-panel_with-arrow','1205197vnDjHk','contains','aria-expanded','div','keystrokes','973jRowNS','ck-presence-list__list','4096564oivRwW','set','isExpanded','setTemplate','Connected\x20users\x20list','10370898GpRbmG','bindTemplate','.ck-presence-list__dropdown-list','querySelector','createCollection','focus','list','element','1784pMJFVS','presencelist:show'];_0x2f1e=function(){return _0x3a3cdd;};return _0x2f1e();}import{View as _0x178831}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x5420c5}from'ckeditor5/src/utils.js';import{getTranslation as _0x43bbb9}from'../../common-translations.js';export class PresenceInlineListView extends _0x178831{[_0x394620(0xd6)];[_0x394620(0xdc)];constructor(_0x51373b){const _0x3210d2=_0x394620;super(_0x51373b);const _0x905dcb=this[_0x3210d2(0xe5)];this[_0x3210d2(0xd6)]=this[_0x3210d2(0xe8)](),this[_0x3210d2(0xdc)]=new _0x5420c5(),this[_0x3210d2(0xe0)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x3210d2(0xe2)]({'tag':_0x3210d2(0xdb),'attributes':{'aria-haspopup':_0x905dcb['if'](_0x3210d2(0xd1)),'aria-expanded':_0x905dcb['to'](_0x3210d2(0xe1),_0x3e6b64=>this[_0x3210d2(0xd1)]&&String(_0x3e6b64)),'aria-label':_0x905dcb['to'](_0x3210d2(0xd1),_0x17debe=>_0x43bbb9(_0x51373b,_0x17debe?_0x3210d2(0xce):_0x3210d2(0xe3))),'role':_0x3210d2(0xea),'tabindex':_0x905dcb['to'](_0x3210d2(0xd1),_0x4248a8=>!!_0x4248a8&&0x0),'class':['ck',_0x3210d2(0xde)]},'children':this[_0x3210d2(0xd6)],'on':{'mouseenter':_0x905dcb['to'](()=>this[_0x3210d2(0xd2)](_0x3210d2(0xed))),'mouseleave':_0x905dcb['to'](_0xf1cd55=>{const _0xcf725e=_0x3210d2,_0xe9df28=_0xf1cd55,_0x34809d=document[_0xcf725e(0xe7)](_0xcf725e(0xe6)),_0x127548=document[_0xcf725e(0xe7)](_0xcf725e(0xd7));_0x34809d?.[_0xcf725e(0xd9)](_0xe9df28[_0xcf725e(0xd5)])||_0x127548?.[_0xcf725e(0xd9)](_0xe9df28[_0xcf725e(0xd5)])||this[_0xcf725e(0xd2)](_0xcf725e(0xee));})}}),this['on'](_0x3210d2(0xd0),(_0xa8828a,_0x550e9b,_0x2d35f6)=>{const _0x3ba175=_0x3210d2;this[_0x3ba175(0xeb)]&&(_0x2d35f6?this[_0x3ba175(0xeb)][_0x3ba175(0xcd)](_0x3ba175(0xda),String(this[_0x3ba175(0xe1)])):this[_0x3ba175(0xeb)][_0x3ba175(0xcb)](_0x3ba175(0xda)));});}[_0x394620(0xe9)](){const _0x13329d=_0x394620;this[_0x13329d(0xeb)][_0x13329d(0xe9)]();}[_0x394620(0xf1)](){const _0x36533a=_0x394620;super[_0x36533a(0xf1)](),this[_0x36533a(0xdc)][_0x36533a(0xcc)](this[_0x36533a(0xeb)]);}}
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();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35cf9e=_0x43a9;function _0x531e(){const _0x37042f=['7mRXciV','507870xMlAFv','set','5JoZkma','32IkhKlf','first','hasPopup','26370gieLFm','setTemplate','4452140FtAQpM','1078781AZakdC','isCollapsed','ck-presence-list','bind','div','bindTemplate','11772XHjZei','ck-reset','counterView','items','1922370LSqCUv','inlineListView','locale','tooltipPosition','4DRcntO','listenTo','change','2731768HQhZbT','ck-rounded-corners','ck-presence-list--collapsed'];_0x531e=function(){return _0x37042f;};return _0x531e();}(function(_0x44b3c0,_0x380301){const _0xaabe42=_0x43a9,_0xa9a1ac=_0x44b3c0();while(!![]){try{const _0x4969df=parseInt(_0xaabe42(0x7e))/0x1*(-parseInt(_0xaabe42(0x76))/0x2)+-parseInt(_0xaabe42(0x6d))/0x3*(parseInt(_0xaabe42(0x88))/0x4)+-parseInt(_0xaabe42(0x87))/0x5*(-parseInt(_0xaabe42(0x7a))/0x6)+parseInt(_0xaabe42(0x84))/0x7*(-parseInt(_0xaabe42(0x81))/0x8)+parseInt(_0xaabe42(0x85))/0x9+parseInt(_0xaabe42(0x6f))/0xa+-parseInt(_0xaabe42(0x70))/0xb;if(_0x4969df===_0x380301)break;else _0xa9a1ac['push'](_0xa9a1ac['shift']());}catch(_0x2702ae){_0xa9a1ac['push'](_0xa9a1ac['shift']());}}}(_0x531e,0x46779));import{View as _0x471b2c}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x34c2a9}from'./presencecounterview.js';function _0x43a9(_0x1ffefa,_0x483e62){const _0x531eab=_0x531e();return _0x43a9=function(_0x43a9c1,_0x1e46c2){_0x43a9c1=_0x43a9c1-0x6b;let _0x3e3f7e=_0x531eab[_0x43a9c1];return _0x3e3f7e;},_0x43a9(_0x1ffefa,_0x483e62);}import{PresenceInlineListView as _0x1c8cac}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x471b2c{[_0x35cf9e(0x78)];[_0x35cf9e(0x7b)];constructor(_0x3e51a0,_0x215398=0x6){const _0x3f191f=_0x35cf9e;super(_0x3e51a0);const _0x52f780=this[_0x3f191f(0x75)];this[_0x3f191f(0x86)](_0x3f191f(0x71),!0x0),this[_0x3f191f(0x78)]=new _0x34c2a9(this[_0x3f191f(0x7c)],_0x215398),this[_0x3f191f(0x7b)]=new _0x1c8cac(_0x3e51a0),this[_0x3f191f(0x7b)][_0x3f191f(0x73)](_0x3f191f(0x6c))['to'](this,_0x3f191f(0x71)),this[_0x3f191f(0x7f)](this[_0x3f191f(0x7b)][_0x3f191f(0x79)],_0x3f191f(0x80),()=>{const _0x5edcb3=_0x3f191f;for(const _0x2ae487 of this[_0x5edcb3(0x7b)][_0x5edcb3(0x79)])_0x2ae487[_0x5edcb3(0x7d)]='s';this[_0x5edcb3(0x7b)][_0x5edcb3(0x79)][_0x5edcb3(0x6b)]&&(this[_0x5edcb3(0x7b)][_0x5edcb3(0x79)][_0x5edcb3(0x6b)][_0x5edcb3(0x7d)]='se');}),this[_0x3f191f(0x6e)]({'tag':_0x3f191f(0x74),'attributes':{'class':['ck',_0x3f191f(0x72),_0x3f191f(0x77),_0x3f191f(0x82),_0x52f780['if'](_0x3f191f(0x71),_0x3f191f(0x83))]},'children':[this[_0x3f191f(0x7b)]]});}}
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)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x322d35=_0x5d3d;(function(_0x1c1c09,_0x170295){var _0x91e66e=_0x5d3d,_0x48e8d6=_0x1c1c09();while(!![]){try{var _0x1efd1b=-parseInt(_0x91e66e(0x82))/0x1+-parseInt(_0x91e66e(0x84))/0x2+parseInt(_0x91e66e(0x80))/0x3+-parseInt(_0x91e66e(0x87))/0x4+parseInt(_0x91e66e(0x86))/0x5+parseInt(_0x91e66e(0x8b))/0x6+-parseInt(_0x91e66e(0x89))/0x7*(-parseInt(_0x91e66e(0x83))/0x8);if(_0x1efd1b===_0x170295)break;else _0x48e8d6['push'](_0x48e8d6['shift']());}catch(_0x2fbfeb){_0x48e8d6['push'](_0x48e8d6['shift']());}}}(_0x3f80,0x1d3e5));function _0x5d3d(_0x2a72fc,_0x1d2a28){var _0x3f801d=_0x3f80();return _0x5d3d=function(_0x5d3d00,_0xd8e389){_0x5d3d00=_0x5d3d00-0x7f;var _0x4f2b11=_0x3f801d[_0x5d3d00];return _0x4f2b11;},_0x5d3d(_0x2a72fc,_0x1d2a28);}import{ContextPlugin as _0x341ea7}from'ckeditor5/src/core.js';function _0x3f80(){var _0x3cca9=['pluginName','652236UbkNBj','PresenceList','344055roaSar','requires','215106wxYYFs','1592XWzhXB','364588sRLnzQ','isOfficialPlugin','11610MaCVTm','81460TXHPnR','isPremiumPlugin','10969FQcVhc'];_0x3f80=function(){return _0x3cca9;};return _0x3f80();}import{Sessions as _0x20ba6d}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x9aa0b1}from'./presencelist/presencelistui.js';export class PresenceList extends _0x341ea7{static get[_0x322d35(0x81)](){return[_0x20ba6d,_0x9aa0b1];}static get[_0x322d35(0x8a)](){var _0x49935c=_0x322d35;return _0x49935c(0x7f);}static get[_0x322d35(0x85)](){return!0x0;}static get[_0x322d35(0x88)](){return!0x0;}}
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;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x395a89=_0x5986;function _0x5986(_0x4ec580,_0x597b4e){const _0x5be6f4=_0x5be6();return _0x5986=function(_0x598628,_0x241353){_0x598628=_0x598628-0x14d;let _0x1319a5=_0x5be6f4[_0x598628];return _0x1319a5;},_0x5986(_0x4ec580,_0x597b4e);}(function(_0x551cda,_0x332721){const _0x5f323d=_0x5986,_0x324280=_0x551cda();while(!![]){try{const _0x39a8c2=-parseInt(_0x5f323d(0x19c))/0x1+parseInt(_0x5f323d(0x19d))/0x2*(parseInt(_0x5f323d(0x16b))/0x3)+-parseInt(_0x5f323d(0x15b))/0x4*(-parseInt(_0x5f323d(0x18c))/0x5)+parseInt(_0x5f323d(0x19b))/0x6*(parseInt(_0x5f323d(0x16f))/0x7)+parseInt(_0x5f323d(0x17a))/0x8*(parseInt(_0x5f323d(0x153))/0x9)+parseInt(_0x5f323d(0x170))/0xa*(-parseInt(_0x5f323d(0x15c))/0xb)+parseInt(_0x5f323d(0x18d))/0xc*(-parseInt(_0x5f323d(0x1ac))/0xd);if(_0x39a8c2===_0x332721)break;else _0x324280['push'](_0x324280['shift']());}catch(_0x223b38){_0x324280['push'](_0x324280['shift']());}}}(_0x5be6,0x3d882));import{Context as _0x4a82c1,ContextPlugin as _0x282924}from'ckeditor5/src/core.js';import{CKEditorError as _0x5e5b48}from'ckeditor5/src/utils.js';import{Users as _0x1c0558}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x3e7882,User as _0x446602}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0xcbbf97}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x440716}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x282924{static [_0x395a89(0x19e)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x3e7882)());[_0x395a89(0x152)];static get[_0x395a89(0x18b)](){const _0x370855=_0x395a89;return[_0xcbbf97,_0x370855(0x191),_0x440716,_0x1c0558];}static get[_0x395a89(0x1a1)](){const _0x532588=_0x395a89;return _0x532588(0x164);}static get[_0x395a89(0x1a7)](){return!0x0;}static get[_0x395a89(0x154)](){return!0x0;}constructor(_0x5928f9){const _0x3d2ed2=_0x395a89;super(_0x5928f9),this[_0x3d2ed2(0x152)]=new Map();}async[_0x395a89(0x182)](){const _0x24bb37=_0x395a89,_0x468bf6=this[_0x24bb37(0x16d)],_0x1bf06d=_0x468bf6[_0x24bb37(0x159)][_0x24bb37(0x14e)](_0x24bb37(0x191));if(_0x468bf6[_0x24bb37(0x159)][_0x24bb37(0x14e)](_0xcbbf97)[_0x24bb37(0x192)](this),_0x1bf06d[_0x24bb37(0x1a0)]={'addCommentThread':async({channelId:_0x5abfc8,threadId:_0x3fdbdb,comments:_0x89f7e6,resolvedAt:_0x3d0430,resolvedBy:_0x26a527,context:_0x4f626b,attributes:_0x448ca4})=>{const _0x15a1db=_0x24bb37,_0x26e6c9=await this[_0x15a1db(0x17d)](_0x5abfc8)[_0x15a1db(0x190)]({'commentThreadId':_0x3fdbdb,'comments':_0x89f7e6[_0x15a1db(0x19a)](_0x99e15d=>function(_0x37ae0c,_0x38650d,_0xb08707){const _0x364abb=_0x15a1db;return{'commentThreadId':_0xb08707,'commentId':_0x37ae0c[_0x364abb(0x15f)],'userId':_0x37ae0c[_0x364abb(0x1b3)],'content':_0x37ae0c[_0x364abb(0x178)],'documentId':_0x38650d,'createdAt':_0x37ae0c[_0x364abb(0x177)],'attributes':_0x37ae0c[_0x364abb(0x16a)]||{}};}(_0x99e15d,_0x5abfc8,_0x3fdbdb)),'resolvedAt':_0x3d0430,'resolvedBy':_0x26a527,'context':_0x4f626b,'attributes':_0x448ca4})[_0x15a1db(0x1b5)](nt);return{'threadId':_0x26e6c9[_0x15a1db(0x174)],'comments':_0x26e6c9[_0x15a1db(0x15a)]};},'getCommentThread':async({channelId:_0x536324,threadId:_0x43c3f4})=>{const _0x25056b=_0x24bb37,_0x25c7d9=await this[_0x25056b(0x17d)](_0x536324)[_0x25056b(0x14d)](_0x43c3f4)[_0x25056b(0x1b5)](ot)[_0x25056b(0x1b5)](nt);return _0x25c7d9?_0x25c7d9[_0x25056b(0x18e)]?null:(await this[_0x25056b(0x16e)]([_0x25c7d9]),{'threadId':_0x25c7d9[_0x25056b(0x174)],'comments':_0x25c7d9[_0x25056b(0x15a)][_0x25056b(0x19a)](st),'context':_0x25c7d9[_0x25056b(0x16d)],'resolvedAt':_0x25c7d9[_0x25056b(0x1ad)],'resolvedBy':_0x25c7d9[_0x25056b(0x17f)],'attributes':_0x25c7d9[_0x25056b(0x16a)]||{}}):null;},'updateCommentThread':async({channelId:_0x24a62e,threadId:_0x52aeac,context:_0x436f91,unlinkedAt:_0x487fd8,attributes:_0x3c7bfd})=>this[_0x24bb37(0x17d)](_0x24a62e)[_0x24bb37(0x175)]({'commentThreadId':_0x52aeac,'context':_0x436f91,'attributes':_0x3c7bfd,'unlinkedAt':_0x487fd8})[_0x24bb37(0x1b5)](ot)[_0x24bb37(0x1b5)](nt),'resolveCommentThread':async({channelId:_0x582a4c,threadId:_0x15c76d})=>{const _0xb56ea=_0x24bb37,_0x270fc6=await this[_0xb56ea(0x17d)](_0x582a4c)[_0xb56ea(0x19f)](_0x15c76d)[_0xb56ea(0x1b5)](ot)[_0xb56ea(0x1b5)](nt);return{'threadId':_0x270fc6[_0xb56ea(0x174)],'resolvedAt':_0x270fc6[_0xb56ea(0x1ad)],'resolvedBy':_0x270fc6[_0xb56ea(0x17f)]};},'reopenCommentThread':async({channelId:_0x3a181b,threadId:_0x244362})=>this[_0x24bb37(0x17d)](_0x3a181b)[_0x24bb37(0x17c)](_0x244362)[_0x24bb37(0x1b5)](ot)[_0x24bb37(0x1b5)](nt),'removeCommentThread':({channelId:_0x481f29,threadId:_0x14ff52})=>this[_0x24bb37(0x17d)](_0x481f29)[_0x24bb37(0x1b1)](_0x14ff52)[_0x24bb37(0x1b5)](ot)[_0x24bb37(0x1b5)](nt),'addComment':({channelId:_0x6e8a59,threadId:_0x24104d,commentId:_0x5f45d0,content:_0x4200f5,attributes:_0x4cffc7})=>this[_0x24bb37(0x17d)](_0x6e8a59)[_0x24bb37(0x165)](_0x24104d,_0x5f45d0,_0x4200f5,_0x4cffc7)[_0x24bb37(0x1b5)](nt),'updateComment':({channelId:_0x45eaad,threadId:_0xd93de3,commentId:_0xfe510a,content:_0x5176c2,attributes:_0x5999a9})=>this[_0x24bb37(0x17d)](_0x45eaad)[_0x24bb37(0x1a8)](_0xd93de3,_0xfe510a,_0x5176c2,_0x5999a9)[_0x24bb37(0x1b5)](ot)[_0x24bb37(0x1b5)](nt),'removeComment':({channelId:_0x5a3953,threadId:_0x570790,commentId:_0x11dd33})=>this[_0x24bb37(0x17d)](_0x5a3953)[_0x24bb37(0x199)](_0x570790,_0x11dd33)[_0x24bb37(0x1b5)](ot)[_0x24bb37(0x1b5)](nt)},_0x468bf6 instanceof _0x4a82c1){const _0x379dca=_0x468bf6[_0x24bb37(0x194)][_0x24bb37(0x14e)](_0x24bb37(0x166)),_0x49b7ba=_0x468bf6[_0x24bb37(0x159)][_0x24bb37(0x14e)](_0x440716);await this[_0x24bb37(0x193)](_0x379dca);const _0x12205c=await this[_0x24bb37(0x152)][_0x24bb37(0x14e)](_0x379dca)[_0x24bb37(0x172)]();this[_0x24bb37(0x150)](_0x49b7ba,_0x24bb37(0x17e)+_0x379dca,(_0x534518,{session:_0xfead6f})=>{const _0xd1cd2d=_0x24bb37;_0xfead6f['id']===_0x49b7ba[_0xd1cd2d(0x1b0)]&&(_0x534518[_0xd1cd2d(0x18f)](),this[_0xd1cd2d(0x16d)][_0xd1cd2d(0x159)][_0xd1cd2d(0x14e)](_0xd1cd2d(0x157))[_0xd1cd2d(0x17b)](_0xfead6f[_0xd1cd2d(0x176)],_0x379dca));}),_0x49b7ba[_0x24bb37(0x1ae)](_0x379dca,_0x12205c);}}async[_0x395a89(0x193)](_0x1c54ca){const _0x553ba0=_0x395a89;if(this[_0x553ba0(0x152)][_0x553ba0(0x18a)](_0x1c54ca))throw new _0x5e5b48(_0x553ba0(0x14f),null,{'channelId':_0x1c54ca});const _0x2aa4af=this[_0x553ba0(0x16d)][_0x553ba0(0x159)][_0x553ba0(0x14e)](_0x553ba0(0x191)),_0x5625a0=new CloudServicesCommentsAdapter[(_0x553ba0(0x19e))](_0x1c54ca);this[_0x553ba0(0x152)][_0x553ba0(0x16c)](_0x1c54ca,_0x5625a0),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x1a3),(_0x4be659,_0x472b8a)=>{const _0x397506=_0x553ba0,{commentThreadId:_0x5658c6,documentId:_0x3ce62a,context:_0x474965,attributes:_0x39be7a,resolvedAt:_0x1e9ac9,resolvedBy:_0x1f0ba7,comments:_0x4446a4}=_0x472b8a;_0x2aa4af[_0x397506(0x14d)](_0x5658c6)||_0x2aa4af[_0x397506(0x190)]({'threadId':_0x5658c6,'channelId':_0x3ce62a,'comments':_0x4446a4?_0x4446a4[_0x397506(0x19a)](st):[],'context':_0x474965,'attributes':_0x39be7a,'resolvedAt':_0x1e9ac9,'resolvedBy':_0x1f0ba7,'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x160),(_0x1d7000,{commentThreadId:_0x5a5fd0,documentId:_0x3aecc5,context:_0x412292,unlinkedAt:_0x5f1ade,attributes:_0x26856a})=>{const _0xd3c2f8=_0x553ba0;_0x2aa4af[_0xd3c2f8(0x14d)](_0x5a5fd0)&&_0x2aa4af[_0xd3c2f8(0x175)]({'threadId':_0x5a5fd0,'channelId':_0x3aecc5,'context':_0x412292,'unlinkedAt':_0x5f1ade,'attributes':_0x26856a,'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x151),(_0x1bae88,{commentThreadId:_0x55667b,resolvedBy:_0x687b58,resolvedAt:_0x1f1424})=>{const _0x1bd897=_0x553ba0,_0x23da21=_0x2aa4af[_0x1bd897(0x14d)](_0x55667b);_0x23da21&&_0x23da21[_0x1bd897(0x15d)]({'resolvedBy':_0x687b58,'resolvedAt':_0x1f1424,'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x162),(_0x51b7bc,{commentThreadId:_0x1b82a3})=>{const _0x58f5c9=_0x553ba0,_0x45c7d7=_0x2aa4af[_0x58f5c9(0x14d)](_0x1b82a3);_0x45c7d7&&_0x45c7d7[_0x58f5c9(0x163)]({'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x1a5),(_0x37654c,{commentThreadId:_0x246d46})=>{const _0x50b145=_0x553ba0,_0x5d3a0c=_0x2aa4af[_0x50b145(0x14d)](_0x246d46);_0x5d3a0c&&_0x5d3a0c[_0x50b145(0x195)]({'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x179),(_0x32670a,_0x4663ef)=>{const _0x3f55e3=_0x553ba0,_0x2cc9a4=_0x4663ef[_0x3f55e3(0x174)],_0x239b93=_0x2aa4af[_0x3f55e3(0x14d)](_0x2cc9a4);_0x239b93&&_0x239b93[_0x3f55e3(0x165)]({...st(_0x4663ef),'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x1af),(_0x261924,{commentThreadId:_0x9a4e2b,commentId:_0x538786,content:_0x1a7435,attributes:_0x3e3ca7})=>{const _0x161424=_0x553ba0,_0xf5e3f4=_0x2aa4af[_0x161424(0x14d)](_0x9a4e2b);if(_0xf5e3f4){const _0x62c3ba=_0xf5e3f4[_0x161424(0x1a4)](_0x538786);_0x62c3ba&&_0x62c3ba[_0x161424(0x169)]({'content':_0x1a7435,'attributes':_0x3e3ca7,'isFromAdapter':!0x0});}}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x168),(_0xd68f1f,{commentThreadId:_0x5e5444,commentId:_0x200a97})=>{const _0x2b1841=_0x553ba0,_0x151225=_0x2aa4af[_0x2b1841(0x14d)](_0x5e5444);if(_0x151225){const _0x1ff815=_0x151225[_0x2b1841(0x1a4)](_0x200a97);_0x1ff815&&_0x1ff815[_0x2b1841(0x195)]({'isFromAdapter':!0x0});}}),await this[_0x553ba0(0x156)](_0x1c54ca);}[_0x395a89(0x1a2)](){const _0x38ee87=_0x395a89;if(this[_0x38ee87(0x16d)]instanceof _0x4a82c1){const _0x2fbb2a=this[_0x38ee87(0x16d)][_0x38ee87(0x194)][_0x38ee87(0x14e)](_0x38ee87(0x166));this[_0x38ee87(0x1b4)](_0x2fbb2a);}}[_0x395a89(0x1b4)](_0x22d196){const _0x2f785e=_0x395a89;if(!this[_0x2f785e(0x152)][_0x2f785e(0x18a)](_0x22d196))throw new _0x5e5b48(_0x2f785e(0x155),null,{'channelId':_0x22d196});this[_0x2f785e(0x17d)](_0x22d196)[_0x2f785e(0x183)](),this[_0x2f785e(0x152)][_0x2f785e(0x185)](_0x22d196);}async[_0x395a89(0x167)](){const _0x131d73=_0x395a89;for(const _0x381c54 of this[_0x131d73(0x152)][_0x131d73(0x181)]())await this[_0x131d73(0x156)](_0x381c54);if(this[_0x131d73(0x16d)]instanceof _0x4a82c1){const _0x57e68a=this[_0x131d73(0x16d)][_0x131d73(0x194)][_0x131d73(0x14e)](_0x131d73(0x166)),_0x40478a=this[_0x131d73(0x16d)][_0x131d73(0x159)][_0x131d73(0x14e)](_0x440716);_0x40478a[_0x131d73(0x180)](_0x57e68a);const _0x19e611=await this[_0x131d73(0x152)][_0x131d73(0x14e)](_0x57e68a)[_0x131d73(0x172)]();_0x40478a[_0x131d73(0x1ae)](_0x57e68a,_0x19e611);}}async[_0x395a89(0x156)](_0x4c17f1){const _0x2b41bf=_0x395a89,{connection:_0x893182}=this[_0x2b41bf(0x16d)][_0x2b41bf(0x159)][_0x2b41bf(0x14e)](_0xcbbf97),_0x4bd74b=this[_0x2b41bf(0x16d)][_0x2b41bf(0x159)][_0x2b41bf(0x14e)](_0x2b41bf(0x191)),_0x5d441c=this[_0x2b41bf(0x152)][_0x2b41bf(0x14e)](_0x4c17f1),_0x2e557c=await _0x5d441c[_0x2b41bf(0x1aa)](_0x893182);await this[_0x2b41bf(0x16e)](_0x2e557c);const _0x5ca0c5=new Set(Array[_0x2b41bf(0x188)](_0x4bd74b[_0x2b41bf(0x173)]({'channelId':_0x4c17f1}),_0x3f1fae=>_0x3f1fae['id']));for(const _0x98b52b of _0x2e557c)_0x98b52b[_0x2b41bf(0x18e)]||_0x5ca0c5[_0x2b41bf(0x185)](_0x98b52b[_0x2b41bf(0x174)]);for(const _0x42b04f of _0x5ca0c5)_0x4bd74b[_0x2b41bf(0x14d)](_0x42b04f)[_0x2b41bf(0x195)]({'isFromAdapter':!0x0});for(const _0x469753 of _0x2e557c){let _0x19d35c=_0x4bd74b[_0x2b41bf(0x14d)](_0x469753[_0x2b41bf(0x174)]);const {commentThreadId:_0x32aed6,context:_0x398e35,attributes:_0xb94970,resolvedBy:_0x4443be,resolvedAt:_0x474150,unlinkedAt:_0x385c3b,deletedAt:_0x35e33b}=_0x469753;if(_0x35e33b)continue;_0x19d35c||(_0x19d35c=_0x4bd74b[_0x2b41bf(0x190)]({'channelId':_0x4c17f1,'threadId':_0x32aed6,'context':_0x398e35,'attributes':_0xb94970||{},'resolvedBy':_0x4443be,'resolvedAt':_0x474150,'unlinkedAt':_0x385c3b,'isFromAdapter':!0x0}));const _0x5eecf2=new Set(Array[_0x2b41bf(0x188)](_0x19d35c[_0x2b41bf(0x15a)],_0x3c9cf9=>_0x3c9cf9['id']));for(const _0x33eae5 of _0x469753[_0x2b41bf(0x15a)])_0x5eecf2[_0x2b41bf(0x185)](_0x33eae5[_0x2b41bf(0x15f)]);for(const _0x14287e of _0x5eecf2)_0x19d35c[_0x2b41bf(0x1a4)](_0x14287e)[_0x2b41bf(0x195)]({'isFromAdapter':!0x0});for(const _0x1d50e8 of _0x469753[_0x2b41bf(0x15a)]){const _0x3b2a71=_0x19d35c[_0x2b41bf(0x1a4)](_0x1d50e8[_0x2b41bf(0x15f)]);_0x3b2a71?_0x3b2a71[_0x2b41bf(0x178)]!==_0x1d50e8[_0x2b41bf(0x178)]&&_0x3b2a71[_0x2b41bf(0x169)]({'content':_0x1d50e8[_0x2b41bf(0x178)],'isFromAdapter':!0x0}):_0x19d35c[_0x2b41bf(0x165)](Object[_0x2b41bf(0x171)](st(_0x1d50e8),{'isFromAdapter':!0x0}));}}}[_0x395a89(0x17d)](_0x4b4426){const _0x58647f=_0x395a89;if(!this[_0x58647f(0x152)][_0x58647f(0x18a)](_0x4b4426))throw new _0x5e5b48(_0x58647f(0x1a9),null,{'channelId':_0x4b4426});return this[_0x58647f(0x152)][_0x58647f(0x14e)](_0x4b4426);}async[_0x395a89(0x16e)](_0xb7098e){const _0x51d47f=_0x395a89,_0x247010=this[_0x51d47f(0x16d)][_0x51d47f(0x159)][_0x51d47f(0x14e)](_0x1c0558),{connection:_0x46ee7b}=this[_0x51d47f(0x16d)][_0x51d47f(0x159)][_0x51d47f(0x14e)](_0xcbbf97),_0x1f47f3=new Set();for(const {resolvedBy:_0x2f9408,comments:_0x5d0e03}of _0xb7098e){_0x2f9408&&!_0x247010[_0x51d47f(0x186)](_0x2f9408)&&_0x1f47f3[_0x51d47f(0x184)](_0x2f9408);for(const {userId:_0x522194}of _0x5d0e03)_0x247010[_0x51d47f(0x186)](_0x522194)||_0x1f47f3[_0x51d47f(0x184)](_0x522194);}if(0x0===_0x1f47f3[_0x51d47f(0x197)])return;const _0x1b49e0=await _0x446602[_0x51d47f(0x158)](_0x46ee7b,Array[_0x51d47f(0x188)](_0x1f47f3));for(const _0x5860cf of _0x1b49e0)_0x247010[_0x51d47f(0x186)](_0x5860cf['id'])||_0x247010[_0x51d47f(0x189)](_0x5860cf);}}async function ot(_0x9ab7cd){const _0x3db1cc=_0x395a89;if(_0x3db1cc(0x187)!==_0x9ab7cd[_0x3db1cc(0x198)])throw _0x9ab7cd;}function nt(_0xcf907d){const _0x3757a5=_0x395a89;if((_0x434f56=_0xcf907d)[_0x3757a5(0x1a6)][_0x3757a5(0x161)](_0x3757a5(0x1b2))||_0x434f56[_0x3757a5(0x1a6)][_0x3757a5(0x161)](_0x3757a5(0x196))||_0x434f56[_0x3757a5(0x1a6)][_0x3757a5(0x161)](_0x3757a5(0x1ab)))return new Promise(()=>{});var _0x434f56;throw _0xcf907d;}function st(_0xcf2fe6){const _0x17bc7a=_0x395a89;return{'threadId':_0xcf2fe6[_0x17bc7a(0x174)],'commentId':_0xcf2fe6[_0x17bc7a(0x15f)],'content':_0xcf2fe6[_0x17bc7a(0x178)],'createdAt':_0xcf2fe6[_0x17bc7a(0x177)],'authorId':_0xcf2fe6[_0x17bc7a(0x15e)],'attributes':_0xcf2fe6[_0x17bc7a(0x16a)]||{}};}function _0x5be6(){const _0x4460b5=['cloudservicescommentsadapter-disconnect-not-exist','_connectService','Permissions','getMany','plugins','comments','4DeWjml','253AFmClv','resolve','userId','commentId','commentThreadUpdated','startsWith','commentThreadReopened','reopen','CloudServicesCommentsAdapter','addComment','collaboration.channelId','reconnect','commentRemoved','update','attributes','3eBTeli','set','context','_fetchMissingUsersForThreads','132433weqRWr','91710RNtCad','assign','getConnectedSessions','getCommentThreads','commentThreadId','updateCommentThread','permissions','createdAt','content','commentAdded','3179672sWKRix','setPermissions','reopenCommentThread','_getService','sessionAdd:','resolvedBy','unregister','keys','init','disconnect','add','delete','getUser','404','from','addUser','has','requires','1242090gbLxXO','217440hypLOR','deletedAt','off','addCommentThread','CommentsRepository','addToReconnectionStack','_setUpService','config','remove','cloud-services-internal-error:\x20Not\x20connected.','size','code','removeComment','map','150DOEYXV','171550CvEaUd','952050LJhRKp','CommentsService','resolveCommentThread','adapter','pluginName','destroy','commentThreadAdded','getComment','commentThreadRemoved','message','isOfficialPlugin','updateComment','cloudservicescommentsadapter-service-not-exist','connect','cloud-services-internal-error:\x20Request\x20timeout.','689jiBssx','resolvedAt','register','commentUpdated','mySessionId','removeCommentThread','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','authorId','_terminateService','catch','getCommentThread','get','cloudservicescommentsadapter-connect-already-connected','listenTo','commentThreadResolved','_services','9DnqGuK','isPremiumPlugin'];_0x5be6=function(){return _0x4460b5;};return _0x5be6();}
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)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x149916=_0x10a3;(function(_0xf05162,_0x2b5534){const _0x2ce173=_0x10a3,_0x586427=_0xf05162();while(!![]){try{const _0x50cf44=parseInt(_0x2ce173(0x8b))/0x1+-parseInt(_0x2ce173(0x8a))/0x2+-parseInt(_0x2ce173(0x6d))/0x3+-parseInt(_0x2ce173(0x6f))/0x4+-parseInt(_0x2ce173(0x80))/0x5+-parseInt(_0x2ce173(0x7c))/0x6+-parseInt(_0x2ce173(0x81))/0x7*(-parseInt(_0x2ce173(0x74))/0x8);if(_0x50cf44===_0x2b5534)break;else _0x586427['push'](_0x586427['shift']());}catch(_0x2e1048){_0x586427['push'](_0x586427['shift']());}}}(_0x1efe,0x7ad20));import{Plugin as _0x3c1ce7}from'ckeditor5/src/core.js';function _0x1efe(){const _0x345e47=['collaboration.channelId','ready','config','CommentsRepository','isOfficialPlugin','355088cwsqgs','831127aoYQjU','destroy','pluginName','944910gRjLaZ','_setUpService','3565412HfWoEU','listenTo','isPremiumPlugin','change:state','RealTimeCollaborativeComments','200bCgvoM','requires','init','_terminateService','data','isThreadsLoadingPaused','once','plugins','2434368qMwyAc','switchReadOnly','get','editor','1907425YvFZiQ','516047MevSAm','CommentsEditing','connected','Comments'];_0x1efe=function(){return _0x345e47;};return _0x1efe();}import{CloudServicesCommentsAdapter as _0x4ae009}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x30cb36}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x5d238d}from'./realtimecollaborativeediting/websocketgateway.js';function _0x10a3(_0x2b1bad,_0x201431){const _0x1efe37=_0x1efe();return _0x10a3=function(_0x10a32c,_0x49e802){_0x10a32c=_0x10a32c-0x6d;let _0x53973e=_0x1efe37[_0x10a32c];return _0x53973e;},_0x10a3(_0x2b1bad,_0x201431);}export class RealTimeCollaborativeComments extends _0x3c1ce7{static get[_0x149916(0x75)](){const _0x4f4ee7=_0x149916;return[_0x4f4ee7(0x84),_0x4ae009,_0x30cb36,_0x5d238d];}static get[_0x149916(0x8d)](){const _0x48a807=_0x149916;return _0x48a807(0x73);}static get[_0x149916(0x89)](){return!0x0;}static get[_0x149916(0x71)](){return!0x0;}[_0x149916(0x76)](){const _0xbbf5fe=_0x149916,_0x271c0d=this[_0xbbf5fe(0x7f)][_0xbbf5fe(0x7b)][_0xbbf5fe(0x7e)](_0x5d238d),_0x1ef73=this[_0xbbf5fe(0x7f)][_0xbbf5fe(0x7b)][_0xbbf5fe(0x7e)](_0xbbf5fe(0x82)),_0x5d7d99=this[_0xbbf5fe(0x7f)][_0xbbf5fe(0x7b)][_0xbbf5fe(0x7e)](_0x4ae009);return this[_0xbbf5fe(0x7f)][_0xbbf5fe(0x78)][_0xbbf5fe(0x7a)](_0xbbf5fe(0x86),()=>{const _0x4355f9=_0xbbf5fe;this[_0x4355f9(0x70)](_0x271c0d,_0x4355f9(0x72),(_0x33ad9,_0x3eff55,_0x572882)=>{const _0x17ec8f=_0x4355f9;_0x1ef73[_0x17ec8f(0x79)]=_0x17ec8f(0x83)!==_0x572882;});}),this[_0xbbf5fe(0x70)](_0x271c0d,_0xbbf5fe(0x72),(_0x10e367,_0x2fef05,_0x573d44)=>{const _0x205da7=_0xbbf5fe;this[_0x205da7(0x7f)][_0x205da7(0x7b)][_0x205da7(0x7e)](_0x205da7(0x88))[_0x205da7(0x7d)](_0x205da7(0x83)!==_0x573d44);}),_0x5d7d99[_0xbbf5fe(0x6e)](this[_0xbbf5fe(0x7f)][_0xbbf5fe(0x87)][_0xbbf5fe(0x7e)](_0xbbf5fe(0x85)));}[_0x149916(0x8c)](){const _0x1912be=_0x149916;this[_0x1912be(0x7f)][_0x1912be(0x7b)][_0x1912be(0x7e)](_0x4ae009)[_0x1912be(0x77)](this[_0x1912be(0x7f)][_0x1912be(0x87)][_0x1912be(0x7e)](_0x1912be(0x85))),super[_0x1912be(0x8c)]();}}
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)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3182f5=_0x5b2d;function _0x5b2d(_0x19cfb9,_0x4cf455){const _0x546266=_0x5462();return _0x5b2d=function(_0x5b2da0,_0x2291d3){_0x5b2da0=_0x5b2da0-0x193;let _0x4ca7dc=_0x546266[_0x5b2da0];return _0x4ca7dc;},_0x5b2d(_0x19cfb9,_0x4cf455);}(function(_0x22be42,_0x13d7a1){const _0x10da80=_0x5b2d,_0x9b76b2=_0x22be42();while(!![]){try{const _0x5cce72=parseInt(_0x10da80(0x1e3))/0x1*(-parseInt(_0x10da80(0x26a))/0x2)+-parseInt(_0x10da80(0x1e5))/0x3+-parseInt(_0x10da80(0x212))/0x4*(parseInt(_0x10da80(0x253))/0x5)+parseInt(_0x10da80(0x226))/0x6*(parseInt(_0x10da80(0x1a7))/0x7)+-parseInt(_0x10da80(0x20b))/0x8+-parseInt(_0x10da80(0x271))/0x9+-parseInt(_0x10da80(0x233))/0xa*(-parseInt(_0x10da80(0x1ef))/0xb);if(_0x5cce72===_0x13d7a1)break;else _0x9b76b2['push'](_0x9b76b2['shift']());}catch(_0x84cba4){_0x9b76b2['push'](_0x9b76b2['shift']());}}}(_0x5462,0xa0756));import{Plugin as _0x562e47,PendingActions as _0x46d007}from'ckeditor5/src/core.js';import{CKEditorError as _0x3be5a2,version as _0x23bb04,uid as _0x1a3efb}from'ckeditor5/src/utils.js';import{Notification as _0x3c6c18}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x3d47f4,NoOperation as _0x3acab2,InsertOperation as _0x3aff7d,MarkerOperation as _0x9ab32,RootAttributeOperation as _0x3cdcd9,OperationFactory as _0x2643fb,History as _0x5dcdaf}from'ckeditor5/src/engine.js';function _0x5462(){const _0x57d036=['_crash','showWarning','realtimecollaborationclient-init-service-internal-error','getUser','_hasSelectionChanged','lastOperationId','decompress','marker','_setPendingAction','cloud-services-internal-error:\x20Not\x20connected.','wasUndone','userId','_applyOperationsSet','409','516344UffPEi','_refreshUserSelectionMarkers','_operationIdentifier','_connectService','_clearPendingAction','connect','realtimecollaborationclient-init-document-already-initialized','22220eEnEYH','affectedSelectable','isEnabled','insert','stop','high','_initSessionsHandling','sendOperations','clone','realtimecollaborationclient-init-non-existent-root','collaboration.channelId','CollaborativeEditingService','lastSyncVersion','parse','Notification','cs:removeUser','_connectAfterSessionHasBeenFlushed','404','isReadOnly','suppressErrorInCollaboration','38706FNOdet','unregister','startsWith','currentDocumentSession','push','realtimecollaborationclient-sendbufferedoperations','model','add','_waitUntilSynced','_handleReconnectionError','sessionCreatedAt','PENDING_ACTION_SENDING_DATA','isPremiumPlugin','1330gGzJDi','connection','createRange','serverHistory','_operationToId','data','connected','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.','_handleServerResponse','_hasSynchronizationProblem','_lastSyncedOperationId','_decompressOperations','_fetchMissingUsers','_isDisconnection','realtimecollaborationclient-init-connection-failed','_isPendingUpdate','getOperationAuthor','_getOperationsFromInitData','_bufferedOperations','map','set','_offset','_compressOperations','enableReadOnlyMode','reconnection:\x20flushed\x20session','loadRoot','permissions','_service','bind','document:write','_isLoaded','fire','115vyCPaA','reconnect','realtimecollaborationclient','baseVersion','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_saveOperationInBuffer','realtimecollaborationclient-init-service-incorrect-server-operation','fromJSON','disableReadOnlyMode','config','return','_isAttached','start','_document','getRoot','change:hasDomSelection','initData','removeFromReconnectionStack','compress','_updateServerHistory','cloud-services-internal-error:\x20Request\x20timeout.','getDocumentDetails','_sendBufferedOperationsDelayId','22xFRrQw','includes','apply','cloudServices.bundleVersion','newRange','_handleExternalOperations','root','6195897rIYrTK','mySessionId','view','rtc-offline','_compressor','slice','createUserMarkerOperations','CommentsOnly','from','isOfficialPlugin','then','destroy','createPositionFromPath','init','_initThrowingOnDataSet','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','toJSON','addOperation','length','plugins','off','history','addUser','cloudDocumentVersion','listenTo','_shouldSendSelectionUpdate','wereChangesApplied','addRootAttribute','selection','size','Synchronization\x20issue','has','stopListening','disconnect','_lastServerVersion','isUndoneOperation','createPositionAt','editor','setIdForTheLastOperation','getOperations','getIdOfTheLastOperation','version','locale','RealTimeCollaborationClient','realtimecollaborationclient-error','_ignoredOperations','enqueueChange','real-time-collaboration','message','metadata','_sendBufferedOperations','sessionAdd:','state','__className','lastOperationAcceptedAt','_knownOperations','position','define','batch','_getAffectedRoot','addRoot','1127rrKuRg','forEach','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','path','_knownRootNames','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','ready','_isEditingAllowed','multi-root-editor-root-attributes-no-root','_handleInitialConnectionData','_handleSendingSelectionMarkers','editing','InsertOperation','_baseBufferDelay','change:_isEditingAllowed','Permissions','requires','realtimecollaborationclient-handleserverresponse','offset','_shouldSendUpdate','register','_setUpDataInit','collaboration-missing-channelid','_disconnectionOperations','get','sessionId','round','string','_handleReceivedOperations','operationsReceived','_sendBufferedOperationsDelayed','keys','markers','directChange','createRoot','reset','_isConnected','move','getMany','rootsAttributes','document','remove','_currentBufferDelay','_channelId','end','attributes','error','disconnected','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.','rtc-destroyed','finally','pluginName','_bufferRootLoad','_authorId','targetPosition','realtimecollaborationclient-init-session-connection-error','filter','applyOperation','_isInit','$root','9885PKLamv','differ','1862052TLCPSl','roots','channelSessions','createdAt','change:range','_disconnectService','entries','affectsData','_handleReconnectionResponse','lastDocumentSession','101629BFHXQj','getConnectedSessions','_pendingAction','catch','code','isDocumentOperation','collaboration','type','addToReconnectionStack','setPermissions','rootName','change:_isPendingUpdate','_addKnownRoot','_loadRoot'];_0x5462=function(){return _0x57d036;};return _0x5462();}import{WebSocketGateway as _0x539b14}from'./websocketgateway.js';import{Sessions as _0x1a2418}from'./sessions.js';import{UserMarkers as _0x40942f}from'./usermarkers.js';import{getTranslation as _0x4e7cd5}from'../common-translations.js';import{Compressor as _0x503de4}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2a01f7}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xb723dc,CollaborativeEditingService as _0x3f6b18}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;export class RealTimeCollaborationClient extends _0x562e47{static [_0x3182f5(0x21d)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x3f6b18)());[_0x3182f5(0x248)];[_0x3182f5(0x1c0)];[_0x3182f5(0x236)];[_0x3182f5(0x1d2)];[_0x3182f5(0x24e)];[_0x3182f5(0x260)];[_0x3182f5(0x275)];[_0x3182f5(0x245)];[_0x3182f5(0x1a1)];[_0x3182f5(0x1ab)];[_0x3182f5(0x1f1)];[_0x3182f5(0x201)];[_0x3182f5(0x269)];[_0x3182f5(0x1b4)];[_0x3182f5(0x1d1)];[_0x3182f5(0x23d)];[_0x3182f5(0x1be)];[_0x3182f5(0x20d)];static get[_0x3182f5(0x1b7)](){return[_0x539b14,_0x1a2418,_0x40942f,_0x46d007,_0x2a01f7,_0x3c6c18];}static get[_0x3182f5(0x1da)](){const _0xd736d7=_0x3182f5;return _0xd736d7(0x195);}static get[_0x3182f5(0x27a)](){return!0x0;}static get[_0x3182f5(0x232)](){return!0x0;}get[_0x3182f5(0x288)](){const _0xb764d2=_0x3182f5;return this[_0xb764d2(0x293)]+this[_0xb764d2(0x248)];}get[_0x3182f5(0x293)](){const _0xa5c1aa=_0x3182f5;return this[_0xa5c1aa(0x236)][_0xa5c1aa(0x193)]-this[_0xa5c1aa(0x248)];}get[_0x3182f5(0x21e)](){const _0x361363=_0x3182f5,_0x165451=this[_0x361363(0x236)][_0x361363(0x298)]();for(let _0x20a2e7=_0x165451[_0x361363(0x283)]-0x1;_0x20a2e7>=0x0;_0x20a2e7--){const _0x4e30cb=_0x165451[_0x20a2e7];if(!this[_0x361363(0x1be)][_0x361363(0x290)](_0x4e30cb))return _0x4e30cb[_0x361363(0x256)]+0x1-this[_0x361363(0x248)];}return 0x0;}constructor(_0x32d680){const _0x4507e0=_0x3182f5;if(super(_0x32d680),this[_0x4507e0(0x248)]=0x0,this[_0x4507e0(0x1c0)]=null,this[_0x4507e0(0x236)]=new _0x5dcdaf(),this[_0x4507e0(0x296)][_0x4507e0(0x25c)][_0x4507e0(0x1a3)](_0x4507e0(0x1f5),{}),this[_0x4507e0(0x1d2)]=this[_0x4507e0(0x296)][_0x4507e0(0x25c)][_0x4507e0(0x1bf)](_0x4507e0(0x21c)),!this[_0x4507e0(0x1d2)])throw new _0x3be5a2(_0x4507e0(0x1bd),this);const _0xfb8c26=_0x32d680[_0x4507e0(0x25c)][_0x4507e0(0x1bf)](_0x4507e0(0x26d))||_0x23bb04;this[_0x4507e0(0x24e)]=new RealTimeCollaborationClient[(_0x4507e0(0x21d))](_0xfb8c26,this[_0x4507e0(0x1d2)]),this[_0x4507e0(0x260)]=this[_0x4507e0(0x296)][_0x4507e0(0x22c)][_0x4507e0(0x1cf)],this[_0x4507e0(0x275)]=new _0x503de4(),this[_0x4507e0(0x245)]=[],this[_0x4507e0(0x1a1)]=new WeakSet(),this[_0x4507e0(0x1ab)]=new Set(),this[_0x4507e0(0x247)](_0x4507e0(0x242),!0x1),this[_0x4507e0(0x247)](_0x4507e0(0x23c),!0x1),this[_0x4507e0(0x1f1)]=null,this[_0x4507e0(0x201)]=!0x1,this[_0x4507e0(0x269)]=null,this[_0x4507e0(0x1b4)]=0x12c,this[_0x4507e0(0x1d1)]=this[_0x4507e0(0x1b4)],this[_0x4507e0(0x23d)]=null,this[_0x4507e0(0x1be)]=new WeakSet(),this[_0x4507e0(0x20d)]=new F(this[_0x4507e0(0x1be)]);}[_0x3182f5(0x27e)](){const _0x3b6f82=_0x3182f5,_0x5ebc62=this[_0x3b6f82(0x296)],_0x55e151=_0x5ebc62[_0x3b6f82(0x284)][_0x3b6f82(0x1bf)](_0x2a01f7),_0x2e8398=_0x5ebc62[_0x3b6f82(0x284)][_0x3b6f82(0x1bf)](_0x539b14);this[_0x3b6f82(0x289)](_0x55e151,_0x3b6f82(0x243),(_0x197d3f,_0x1a2c3d)=>{const _0x18d6ae=_0x3b6f82,_0x28574b=_0x1a2c3d[0x0];_0x28574b[_0x18d6ae(0x1dc)]&&(_0x197d3f[_0x18d6ae(0x25d)]=_0x55e151[_0x18d6ae(0x200)](_0x28574b[_0x18d6ae(0x1dc)]),_0x197d3f[_0x18d6ae(0x216)]()),null===_0x28574b[_0x18d6ae(0x1dc)]&&(_0x197d3f[_0x18d6ae(0x25d)]=null,_0x197d3f[_0x18d6ae(0x216)]());},{'priority':_0x3b6f82(0x217)}),this[_0x3b6f82(0x289)](_0x5ebc62[_0x3b6f82(0x22c)][_0x3b6f82(0x1cf)][_0x3b6f82(0x28d)],_0x3b6f82(0x1e9),(_0x49aff6,_0x486403)=>{const _0x5b44f1=_0x3b6f82;_0x486403[_0x5b44f1(0x1c8)]&&this[_0x5b44f1(0x20c)]();}),this[_0x3b6f82(0x289)](_0x5ebc62[_0x3b6f82(0x1b2)][_0x3b6f82(0x273)],_0x3b6f82(0x262),()=>{const _0x28a98e=_0x3b6f82;this[_0x28a98e(0x20c)]();}),this[_0x3b6f82(0x27f)](),_0x5ebc62[_0x3b6f82(0x22c)]['on'](_0x3b6f82(0x1e0),(_0x35e5c6,_0x5ea908)=>{const _0x3168ef=_0x3b6f82,_0x4dd7c6=_0x5ea908[0x0];_0x4dd7c6[_0x3168ef(0x1f4)]&&(this[_0x3168ef(0x258)](_0x4dd7c6),this[_0x3168ef(0x1ba)]()&&this[_0x3168ef(0x1c5)]());}),this[_0x3b6f82(0x1bc)](),this[_0x3b6f82(0x24f)](_0x3b6f82(0x1ae))['to'](_0x2e8398,_0x3b6f82(0x19e),this,_0x3b6f82(0x23c),(_0xdb5e04,_0x537a96)=>_0x3b6f82(0x239)===_0xdb5e04&&!_0x537a96),this['on'](_0x3b6f82(0x1b5),()=>{const _0x49280f=_0x3b6f82;this[_0x49280f(0x1ae)]?_0x5ebc62[_0x49280f(0x25b)](_0x49280f(0x274)):_0x5ebc62[_0x49280f(0x24a)](_0x49280f(0x274));}),this[_0x3b6f82(0x1ae)]?_0x5ebc62[_0x3b6f82(0x25b)](_0x3b6f82(0x274)):_0x5ebc62[_0x3b6f82(0x24a)](_0x3b6f82(0x274)),this[_0x3b6f82(0x247)](_0x3b6f82(0x1cb),!0x1);}async[_0x3182f5(0x254)](){const _0x1246ae=_0x3182f5,_0x4c2f8b=this[_0x1246ae(0x296)][_0x1246ae(0x284)][_0x1246ae(0x1bf)](_0x1a2418),_0x2522b8=this[_0x1246ae(0x296)][_0x1246ae(0x284)][_0x1246ae(0x1bf)](_0x539b14);try{this[_0x1246ae(0x242)]=!0x0,_0x4c2f8b[_0x1246ae(0x227)](this[_0x1246ae(0x1d2)]);const _0x17bd5d=await this[_0x1246ae(0x24e)][_0x1246ae(0x254)](_0x2522b8[_0x1246ae(0x234)],this[_0x1246ae(0x21e)]);await this[_0x1246ae(0x1ed)](_0x17bd5d)&&(this[_0x1246ae(0x242)]=!0x1,this[_0x1246ae(0x20f)]());const _0x2a0913=await this[_0x1246ae(0x24e)][_0x1246ae(0x1f0)]();_0x4c2f8b[_0x1246ae(0x1bb)](this[_0x1246ae(0x1d2)],_0x2a0913),this[_0x1246ae(0x1b1)](),this[_0x1246ae(0x1cb)]=!0x0;}catch(_0x4023cc){if(function(_0x4a3b1f){const _0x3e707c=_0x1246ae;return _0x3e707c(0x223)===_0x4a3b1f[_0x3e707c(0x1f3)];}(_0x4023cc)&&this[_0x1246ae(0x1c0)])await this[_0x1246ae(0x222)]();else{if(function(_0x259e01){const _0x2bcc8c=_0x1246ae;return _0x2bcc8c(0x20a)===_0x259e01[_0x2bcc8c(0x1f3)];}(_0x4023cc)){const _0x27df2c=_0x4e7cd5(this[_0x1246ae(0x296)][_0x1246ae(0x194)],_0x1246ae(0x1a9));this[_0x1246ae(0x22f)](_0x27df2c);}else{if(!(_0x4023cc instanceof V))throw _0x4023cc;this[_0x1246ae(0x22f)]();}}}}[_0x3182f5(0x27c)](){const _0x3c6a1a=_0x3182f5,_0x2299c2=this[_0x3c6a1a(0x296)][_0x3c6a1a(0x284)][_0x3c6a1a(0x1bf)](_0x539b14),_0x2f6f31=this[_0x3c6a1a(0x296)][_0x3c6a1a(0x284)][_0x3c6a1a(0x1bf)](_0x1a2418);this[_0x3c6a1a(0x296)][_0x3c6a1a(0x24a)](_0x3c6a1a(0x1d8)),_0x2f6f31[_0x3c6a1a(0x1e7)][_0x3c6a1a(0x290)](this[_0x3c6a1a(0x1d2)])&&_0x2f6f31[_0x3c6a1a(0x227)](this[_0x3c6a1a(0x1d2)]),_0x2299c2[_0x3c6a1a(0x264)](this),this[_0x3c6a1a(0x1ea)](),super[_0x3c6a1a(0x27c)]();}async[_0x3182f5(0x1ed)](_0x1e8977){const _0x2cafaf=_0x3182f5;if(this[_0x2cafaf(0x1c0)]!==_0x1e8977[_0x2cafaf(0x1c0)]&&this[_0x2cafaf(0x23d)]!==_0x1e8977[_0x2cafaf(0x202)])throw new V();return this[_0x2cafaf(0x1c0)]=_0x1e8977[_0x2cafaf(0x1c0)],this[_0x2cafaf(0x23b)]([],{..._0x1e8977,'wereChangesApplied':!0x1,'data':_0x1e8977[_0x2cafaf(0x238)]},_0x2cafaf(0x254));}async[_0x3182f5(0x20e)](_0x27ef8e,_0x4179a0=!0x1){const _0x186560=_0x3182f5,{connection:_0x10c0eb}=this[_0x186560(0x296)][_0x186560(0x284)][_0x186560(0x1bf)](_0x539b14);RealTimeCollaborationClient[_0x186560(0x21d)][_0x186560(0x1f0)](_0x10c0eb,this[_0x186560(0x1d2)])[_0x186560(0x27b)](_0x4591e4=>this[_0x186560(0x218)](_0x4591e4))[_0x186560(0x1f2)](_0x511a67=>{const _0x53e22d=_0x186560;this[_0x53e22d(0x1fd)](_0x53e22d(0x1de),_0x511a67);}),this[_0x186560(0x289)](this[_0x186560(0x24e)],_0x186560(0x1c4),this[_0x186560(0x1c3)][_0x186560(0x24f)](this)),this[_0x186560(0x289)](this[_0x186560(0x24e)],_0x186560(0x1d5),(_0x4d5a9a,_0x3f9baa)=>{const _0x55c038=_0x186560;this[_0x55c038(0x1fd)](_0x55c038(0x1ff),_0x3f9baa);}),this[_0x186560(0x289)](this[_0x186560(0x24e)],_0x186560(0x1d6),()=>{const _0x1153c7=_0x186560;this[_0x1153c7(0x1cb)]=!0x1;});const _0x344c35=this[_0x186560(0x20d)][_0x186560(0x299)](_0x27ef8e);this[_0x186560(0x242)]=!0x0;const _0x38d0e3=await this[_0x186560(0x24e)][_0x186560(0x210)](_0x10c0eb,this[_0x186560(0x249)](_0x27ef8e),_0x344c35);if(this[_0x186560(0x1c0)]=_0x38d0e3[_0x186560(0x1c0)],_0x4179a0){if(!_0x38d0e3[_0x186560(0x28b)])return void this[_0x186560(0x22f)]();this[_0x186560(0x242)]=!0x1,this[_0x186560(0x20f)](),this[_0x186560(0x236)][_0x186560(0x1ca)](),this[_0x186560(0x248)]=_0x38d0e3[_0x186560(0x1b9)],this[_0x186560(0x236)][_0x186560(0x193)]=this[_0x186560(0x248)],await this[_0x186560(0x23b)](_0x27ef8e,_0x38d0e3,_0x186560(0x24b));}else await this[_0x186560(0x1b0)](_0x38d0e3,_0x27ef8e);this[_0x186560(0x1b1)](),this[_0x186560(0x1cb)]=!0x0;}[_0x3182f5(0x1b1)](){const _0x56c61f=_0x3182f5,_0x44c3f3=this[_0x56c61f(0x296)][_0x56c61f(0x284)][_0x56c61f(0x1bf)](_0x1a2418),_0x4a9e65=this[_0x56c61f(0x296)][_0x56c61f(0x284)][_0x56c61f(0x1bf)](_0x40942f),_0x340670=_0x44c3f3[_0x56c61f(0x1e7)][_0x56c61f(0x1bf)](this[_0x56c61f(0x1d2)]);_0x340670&&_0x340670[_0x56c61f(0x283)]>0x1?_0x4a9e65[_0x56c61f(0x277)]():this[_0x56c61f(0x289)](_0x44c3f3,_0x56c61f(0x19d)+this[_0x56c61f(0x1d2)],()=>{const _0x3ece57=_0x56c61f;0x2===_0x44c3f3[_0x3ece57(0x1e7)][_0x3ece57(0x1bf)](this[_0x3ece57(0x1d2)])[_0x3ece57(0x283)]&&_0x4a9e65[_0x3ece57(0x277)]();});}async[_0x3182f5(0x1c3)](_0x555600,_0xe0c993,_0xd667f9,_0x178c34){const _0x4c4a3d=_0x3182f5;if(!this[_0x4c4a3d(0x242)]&&this[_0x4c4a3d(0x260)][_0x4c4a3d(0x193)]==_0xe0c993){const _0x5ccee5=this[_0x4c4a3d(0x23e)](_0xd667f9,_0x178c34);await this[_0x4c4a3d(0x23f)](_0x5ccee5),this[_0x4c4a3d(0x26f)](_0x5ccee5,_0xe0c993,_0xd667f9[_0x4c4a3d(0x202)])||this[_0x4c4a3d(0x1fd)](_0x4c4a3d(0x259));}}async[_0x3182f5(0x222)](){const _0x58de0c=_0x3182f5;this[_0x58de0c(0x1ea)]();const {locale:_0x139f41}=this[_0x58de0c(0x296)];let _0x1c37aa;try{_0x1c37aa=await this[_0x58de0c(0x24e)][_0x58de0c(0x268)]();}catch{const _0x2b699f=_0x4e7cd5(_0x139f41,_0x58de0c(0x280));return void this[_0x58de0c(0x22f)](_0x2b699f);}const _0x9a331=_0x1c37aa[_0x58de0c(0x229)]||_0x1c37aa[_0x58de0c(0x1ee)];if(this[_0x58de0c(0x23d)]!==_0x9a331[_0x58de0c(0x202)]){const _0x196b2c=_0x4e7cd5(_0x139f41,_0x58de0c(0x1d7));return void this[_0x58de0c(0x22f)](_0x196b2c);}await this[_0x58de0c(0x20e)](this[_0x58de0c(0x296)][_0x58de0c(0x22c)][_0x58de0c(0x1cf)][_0x58de0c(0x286)][_0x58de0c(0x298)](),!0x0);}[_0x3182f5(0x1ea)](){const _0x320835=_0x3182f5;this[_0x320835(0x24e)][_0x320835(0x292)](),this[_0x320835(0x245)]=[],clearTimeout(this[_0x320835(0x269)]),this[_0x320835(0x291)](this[_0x320835(0x24e)]);}[_0x3182f5(0x218)](_0x3b16c2){const _0x1a8080=_0x3182f5,_0x26f90=this[_0x1a8080(0x296)][_0x1a8080(0x284)][_0x1a8080(0x1bf)](_0x1a2418);this[_0x1a8080(0x289)](_0x26f90,_0x1a8080(0x19d)+this[_0x1a8080(0x1d2)],(_0x564ffd,{session:_0x26555d})=>{const _0x143832=_0x1a8080;if(_0x26555d['id']===_0x26f90[_0x143832(0x272)]){_0x564ffd[_0x143832(0x285)]();const _0x5929a3=this[_0x143832(0x296)][_0x143832(0x284)][_0x143832(0x290)](_0x143832(0x278))&&this[_0x143832(0x296)][_0x143832(0x284)][_0x143832(0x1bf)](_0x143832(0x278));let _0x272b55=_0x26555d[_0x143832(0x24d)];_0x5929a3&&_0x5929a3[_0x143832(0x214)]&&(_0x272b55=_0x272b55[_0x143832(0x1df)](_0x4ee6b8=>_0x143832(0x250)!==_0x4ee6b8)),this[_0x143832(0x296)][_0x143832(0x284)][_0x143832(0x1bf)](_0x143832(0x1b6))[_0x143832(0x1f8)](_0x272b55,this[_0x143832(0x1d2)]);}}),_0x26f90[_0x1a8080(0x1bb)](this[_0x1a8080(0x1d2)],_0x3b16c2);}[_0x3182f5(0x27f)](){const _0x146c7d=_0x3182f5,_0x2e3775=this[_0x146c7d(0x296)][_0x146c7d(0x238)][_0x146c7d(0x247)];this[_0x146c7d(0x296)][_0x146c7d(0x238)][_0x146c7d(0x247)]=(..._0x5c6a92)=>{const _0x54f6ac=_0x146c7d;if(!_0x5c6a92[_0x5c6a92[_0x54f6ac(0x283)]-0x1][_0x54f6ac(0x225)])throw new _0x3be5a2(_0x54f6ac(0x257),this);_0x2e3775[_0x54f6ac(0x26c)](this[_0x54f6ac(0x296)][_0x54f6ac(0x238)],_0x5c6a92);};}[_0x3182f5(0x1bc)](){const _0x276812=_0x3182f5;this[_0x276812(0x296)][_0x276812(0x238)]['on'](_0x276812(0x27e),(_0x401cbe,[_0x4a4b8f])=>{const _0x2c1bb9=_0x276812;if(this[_0x2c1bb9(0x260)][_0x2c1bb9(0x193)])throw new _0x3be5a2(_0x2c1bb9(0x211),this);_0x401cbe[_0x2c1bb9(0x216)](),this[_0x2c1bb9(0x205)]();const _0x5555bb=this[_0x2c1bb9(0x296)][_0x2c1bb9(0x25c)][_0x2c1bb9(0x1bf)](_0x2c1bb9(0x1ce)),_0x1e4f63=this[_0x2c1bb9(0x244)](_0x4a4b8f,_0x5555bb);0x0==_0x1e4f63[_0x2c1bb9(0x283)]&&_0x1e4f63[_0x2c1bb9(0x22a)](new _0x3acab2(0x0)),_0x401cbe[_0x2c1bb9(0x25d)]=this[_0x2c1bb9(0x20e)](_0x1e4f63)[_0x2c1bb9(0x27b)](()=>{const _0x38bb86=_0x2c1bb9;this[_0x38bb86(0x296)][_0x38bb86(0x284)][_0x38bb86(0x1bf)](_0x539b14)[_0x38bb86(0x1f7)](this),this[_0x38bb86(0x296)][_0x38bb86(0x238)][_0x38bb86(0x252)](_0x38bb86(0x1ad));})[_0x2c1bb9(0x1f2)](_0x103068=>this[_0x2c1bb9(0x1fd)](_0x2c1bb9(0x241),_0x103068))[_0x2c1bb9(0x1d9)](()=>this[_0x2c1bb9(0x20f)]());},{'priority':_0x276812(0x217)}),this[_0x276812(0x296)]['on'](_0x276812(0x24c),async(_0xc74787,[_0x2b9ac4,_0x278fc1])=>{const _0x54d303=_0x276812;_0xc74787[_0x54d303(0x216)]();const _0x4321e3=this[_0x54d303(0x296)][_0x54d303(0x22c)][_0x54d303(0x1cf)][_0x54d303(0x261)](_0x2b9ac4);if(!this[_0x54d303(0x1ab)][_0x54d303(0x290)](_0x2b9ac4)){const _0x37d52=_0x278fc1&&_0x278fc1[_0x54d303(0x238)]?_0x278fc1[_0x54d303(0x238)]:'',_0x225f9a=_0x278fc1&&_0x278fc1[_0x54d303(0x1d4)]?_0x278fc1[_0x54d303(0x1d4)]:{};await this[_0x54d303(0x1fc)](_0x2b9ac4,_0x37d52,_0x225f9a);}this[_0x54d303(0x296)][_0x54d303(0x22c)][_0x54d303(0x198)]({'isUndoable':!0x1},()=>{const _0x2f8ecd=_0x54d303;_0x4321e3[_0x2f8ecd(0x251)]=!0x0,this[_0x2f8ecd(0x296)][_0x2f8ecd(0x22c)][_0x2f8ecd(0x1cf)][_0x2f8ecd(0x1e4)][_0x2f8ecd(0x1db)](_0x4321e3);});},{'priority':_0x276812(0x217)});}async[_0x3182f5(0x23f)](_0x24b4e7){const _0x18228=_0x3182f5,_0x44b22d=this[_0x18228(0x296)][_0x18228(0x284)][_0x18228(0x1bf)](_0x2a01f7),{connection:_0x6932b5}=this[_0x18228(0x296)][_0x18228(0x284)][_0x18228(0x1bf)](_0x539b14),_0x5e6fe0=new Set();for(const _0x26db2d of _0x24b4e7){const _0x16f424=_0x26db2d[_0x18228(0x1dc)];_0x16f424&&!_0x44b22d[_0x18228(0x200)](_0x16f424)&&_0x5e6fe0[_0x18228(0x22d)](_0x16f424);}if(0x0===_0x5e6fe0[_0x18228(0x28e)])return;const _0x554fcf=await _0xb723dc[_0x18228(0x1cd)](_0x6932b5,Array[_0x18228(0x279)](_0x5e6fe0));for(const _0x59ca6c of _0x554fcf)_0x44b22d[_0x18228(0x200)](_0x59ca6c['id'])||_0x44b22d[_0x18228(0x287)](_0x59ca6c);}[_0x3182f5(0x244)](_0x19dd66,_0x3e8f29={}){const _0x4ae48b=_0x3182f5,_0x68b489=this[_0x4ae48b(0x296)][_0x4ae48b(0x22c)],_0x1e4c41=[];let _0x201cbd=0x0;const _0x19d9ac=_0x4ae48b(0x1c2)==typeof _0x19dd66?{'main':_0x19dd66}:_0x19dd66;for(const _0x3deb76 of Object[_0x4ae48b(0x1c6)](_0x19d9ac)){if(!this[_0x4ae48b(0x260)][_0x4ae48b(0x1e6)][_0x4ae48b(0x290)](_0x3deb76))throw new _0x3be5a2(_0x4ae48b(0x21b),this);const _0x4c257b=this[_0x4ae48b(0x296)][_0x4ae48b(0x238)][_0x4ae48b(0x21f)](_0x19d9ac[_0x3deb76]),_0x47e052=this[_0x4ae48b(0x260)][_0x4ae48b(0x261)](_0x3deb76),_0x3e0c2a=new _0x3aff7d(_0x68b489[_0x4ae48b(0x295)](_0x47e052,0x0),_0x4c257b,_0x201cbd++);_0x1e4c41[_0x4ae48b(0x22a)](_0x3e0c2a);for(const [_0x50cfee,_0x8602d8]of _0x4c257b[_0x4ae48b(0x1c7)]){const _0x2bd6cb=_0x68b489[_0x4ae48b(0x235)](_0x68b489[_0x4ae48b(0x27d)](_0x47e052,_0x8602d8[_0x4ae48b(0x25f)][_0x4ae48b(0x1aa)][_0x4ae48b(0x276)]()),_0x68b489[_0x4ae48b(0x27d)](_0x47e052,_0x8602d8[_0x4ae48b(0x1d3)][_0x4ae48b(0x1aa)][_0x4ae48b(0x276)]())),_0x1d976e=new _0x9ab32(_0x50cfee,null,_0x2bd6cb,_0x68b489[_0x4ae48b(0x1c7)],!0x0,_0x201cbd++);_0x1e4c41[_0x4ae48b(0x22a)](_0x1d976e);}}if(_0x3e8f29)for(const [_0x381f7f,_0x37db0c]of Object[_0x4ae48b(0x1eb)](_0x3e8f29)){const _0x2ce717=_0x68b489[_0x4ae48b(0x1cf)][_0x4ae48b(0x261)](_0x381f7f);if(!_0x2ce717)throw new _0x3be5a2(_0x4ae48b(0x1af),null);for(const [_0x10e8c1,_0x28fea5]of Object[_0x4ae48b(0x1eb)](_0x37db0c))if(null!==_0x28fea5){const _0x555b9d=new _0x3cdcd9(_0x2ce717,_0x10e8c1,null,_0x28fea5,_0x201cbd++);_0x1e4c41[_0x4ae48b(0x22a)](_0x555b9d);}}return _0x1e4c41;}async[_0x3182f5(0x1fc)](_0x41e2db,_0xf24f16,_0x59a46f){const _0x2ccd52=_0x3182f5;this[_0x2ccd52(0x244)]({[_0x41e2db]:_0xf24f16},{[_0x41e2db]:_0x59a46f})[_0x2ccd52(0x1a8)]((_0x1d8e94,_0x310db5)=>{const _0x29327e=_0x2ccd52;_0x1d8e94[_0x29327e(0x256)]=this[_0x29327e(0x260)][_0x29327e(0x193)]+_0x310db5,_0x1d8e94[_0x29327e(0x1e1)]=!0x0,this[_0x29327e(0x258)](_0x1d8e94);}),this[_0x2ccd52(0x1c5)](),await this[_0x2ccd52(0x22e)]();}async[_0x3182f5(0x1b0)](_0x2a5ea4,_0x307346){const _0x17a8e9=_0x3182f5;let _0x4db944;this[_0x17a8e9(0x248)]=_0x2a5ea4[_0x17a8e9(0x1b9)];const _0x5b5ff5=_0x2a5ea4[_0x17a8e9(0x28b)]&&!_0x2a5ea4[_0x17a8e9(0x263)],_0x16ee2d=_0x5b5ff5?0x0:_0x2a5ea4[_0x17a8e9(0x238)][_0x17a8e9(0x256)];if(_0x307346[_0x17a8e9(0x1a8)](_0x2b6dd4=>{const _0x1991c9=_0x17a8e9;_0x2b6dd4[_0x1991c9(0x1e1)]=!0x0,_0x2b6dd4[_0x1991c9(0x1e8)]=_0x2a5ea4[_0x1991c9(0x230)],_0x2b6dd4[_0x1991c9(0x1dc)]=null;}),_0x5b5ff5)_0x4db944=_0x307346,this[_0x17a8e9(0x209)](_0x4db944,_0x5b5ff5);else{if(_0x2a5ea4[_0x17a8e9(0x263)]){const _0x2896b9=this[_0x17a8e9(0x244)](_0x2a5ea4[_0x17a8e9(0x263)]);this[_0x17a8e9(0x260)][_0x17a8e9(0x286)][_0x17a8e9(0x193)]=-_0x2896b9[_0x17a8e9(0x283)],_0x2896b9[_0x17a8e9(0x1a8)](_0x2a3166=>{const _0x3c7687=_0x17a8e9;_0x2a3166[_0x3c7687(0x256)]-=_0x2896b9[_0x3c7687(0x283)],_0x2a3166[_0x3c7687(0x1e8)]=_0x2a5ea4[_0x3c7687(0x230)],_0x2a3166[_0x3c7687(0x1e1)]=!0x0,_0x2a3166[_0x3c7687(0x1dc)]=null;}),this[_0x17a8e9(0x209)](_0x2896b9,!0x0),this[_0x17a8e9(0x236)][_0x17a8e9(0x193)]=-_0x2896b9[_0x17a8e9(0x283)]+this[_0x17a8e9(0x248)],this[_0x17a8e9(0x266)](_0x2896b9);}this[_0x17a8e9(0x260)][_0x17a8e9(0x286)][_0x17a8e9(0x193)]=_0x16ee2d,_0x4db944=this[_0x17a8e9(0x23e)](_0x2a5ea4[_0x17a8e9(0x238)],_0x2a5ea4[_0x17a8e9(0x19b)]),await this[_0x17a8e9(0x23f)](_0x4db944),this[_0x17a8e9(0x209)](_0x4db944,_0x5b5ff5);}_0x2a5ea4[_0x17a8e9(0x202)]&&(this[_0x17a8e9(0x20d)][_0x17a8e9(0x297)](_0x4db944,_0x2a5ea4[_0x17a8e9(0x202)]),this[_0x17a8e9(0x23d)]=_0x2a5ea4[_0x17a8e9(0x202)]),this[_0x17a8e9(0x236)][_0x17a8e9(0x193)]=_0x16ee2d+this[_0x17a8e9(0x248)],this[_0x17a8e9(0x266)](_0x4db944),_0x307346[_0x17a8e9(0x1df)](_0x415222=>{const _0x2eb2a7=_0x17a8e9,_0x5bb3a0=this[_0x2eb2a7(0x1a5)](_0x415222);return _0x5bb3a0&&!this[_0x2eb2a7(0x1ab)][_0x2eb2a7(0x290)](_0x5bb3a0);})[_0x17a8e9(0x1a8)]((_0x186a3b,_0xea0f5)=>{const _0x12b485=_0x17a8e9;_0x186a3b[_0x12b485(0x256)]=this[_0x12b485(0x260)][_0x12b485(0x193)]+_0xea0f5,this[_0x12b485(0x258)](_0x186a3b);}),this[_0x17a8e9(0x1ba)]()?(this[_0x17a8e9(0x1d1)]=0x0,this[_0x17a8e9(0x1c5)](!0x0),await this[_0x17a8e9(0x22e)]()):(this[_0x17a8e9(0x242)]=!0x1,this[_0x17a8e9(0x20f)]());}[_0x3182f5(0x1fd)](_0x58bdfa,_0xead500){const _0x236db5=_0x3182f5,_0x3068f4=_0xead500&&_0xead500[_0x236db5(0x19a)];if(_0x3068f4&&_0x3068f4[_0x236db5(0x228)](_0x236db5(0x255)))throw _0xead500;const _0x1647e4=this[_0x236db5(0x296)][_0x236db5(0x284)][_0x236db5(0x1bf)](_0x539b14);throw this[_0x236db5(0x242)]=!0x0,_0x1647e4[_0x236db5(0x292)](),this[_0x236db5(0x296)][_0x236db5(0x24a)](_0x236db5(0x196)),new _0x3be5a2(_0x58bdfa,this[_0x236db5(0x296)],_0x3068f4?{'originalError':_0x3068f4}:void 0x0);}[_0x3182f5(0x258)](_0x467af3){const _0x5a7e71=_0x3182f5;this[_0x5a7e71(0x1a1)][_0x5a7e71(0x290)](_0x467af3)||(this[_0x5a7e71(0x1a1)][_0x5a7e71(0x22d)](_0x467af3),this[_0x5a7e71(0x245)][_0x5a7e71(0x22a)](_0x467af3),this[_0x5a7e71(0x1f1)]||_0x5a7e71(0x204)==_0x467af3[_0x5a7e71(0x1f6)]&&!_0x467af3[_0x5a7e71(0x1ec)]||this[_0x5a7e71(0x205)]());}[_0x3182f5(0x1c5)](_0x32bc48=!0x1){const _0x6210e=_0x3182f5;!_0x32bc48&&this[_0x6210e(0x242)]||(this[_0x6210e(0x242)]=!0x0,clearTimeout(this[_0x6210e(0x269)]),this[_0x6210e(0x269)]=setTimeout(()=>{const _0x1378bf=_0x6210e;this[_0x1378bf(0x19c)]()[_0x1378bf(0x27b)](_0x2eecdb=>{const _0x5527e9=_0x1378bf;_0x2eecdb&&(this[_0x5527e9(0x20f)](),this[_0x5527e9(0x242)]=!0x1);})[_0x1378bf(0x1f2)](_0x5ccd41=>{const _0x543b19=_0x1378bf;this[_0x543b19(0x20f)](),this[_0x543b19(0x242)]=!0x1,function(_0x14623f){const _0x41cfe0=_0x543b19;return _0x14623f[_0x41cfe0(0x19a)][_0x41cfe0(0x228)](_0x41cfe0(0x206))||_0x14623f[_0x41cfe0(0x19a)][_0x41cfe0(0x228)](_0x41cfe0(0x1ac))||_0x14623f[_0x41cfe0(0x19a)][_0x41cfe0(0x228)](_0x41cfe0(0x267));}(_0x5ccd41)||this[_0x543b19(0x1fd)](_0x5ccd41[_0x543b19(0x19a)],_0x5ccd41);});},this[_0x6210e(0x1d1)]));}[_0x3182f5(0x22e)](){return new Promise(_0x4cc80f=>{const _0x5bd90c=_0x5b2d;this['on'](_0x5bd90c(0x1fa),()=>{_0x4cc80f();});});}async[_0x3182f5(0x19c)](){const _0x4d25f3=_0x3182f5,_0x501a97=this[_0x4d25f3(0x296)][_0x4d25f3(0x284)][_0x4d25f3(0x1bf)](_0x40942f);if(this[_0x4d25f3(0x28a)]()&&(_0x501a97[_0x4d25f3(0x277)](),this[_0x4d25f3(0x201)]=!0x1),!this[_0x4d25f3(0x1ba)]())return!0x0;const _0x3cd61d=[...this[_0x4d25f3(0x245)]];for(const _0xd17e97 of _0x3cd61d)_0xd17e97[_0x4d25f3(0x207)]=this[_0x4d25f3(0x260)][_0x4d25f3(0x286)][_0x4d25f3(0x294)](_0xd17e97);const _0x19bd59=this[_0x4d25f3(0x20d)][_0x4d25f3(0x299)](_0x3cd61d),_0x111f95=H++,_0x2fa9bc=this[_0x4d25f3(0x249)](_0x3cd61d),_0x41a1a3=await this[_0x4d25f3(0x24e)][_0x4d25f3(0x219)](_0x2fa9bc,_0x2fa9bc[_0x4d25f3(0x256)],_0x19bd59);try{return await this[_0x4d25f3(0x23b)](_0x3cd61d,_0x41a1a3,_0x111f95);}catch(_0x409043){return this[_0x4d25f3(0x1fd)](_0x4d25f3(0x22b),_0x409043);}}async[_0x3182f5(0x23b)](_0x10b45d,_0x16095c,_0x22a6a0){const _0x572031=_0x3182f5;if(_0x572031(0x1d5)in _0x16095c)throw _0x16095c[_0x572031(0x1d5)];let _0x30f4a9=!0x1;if(_0x16095c[_0x572031(0x28b)]){_0x16095c[_0x572031(0x202)]&&(this[_0x572031(0x23d)]=_0x16095c[_0x572031(0x202)]),this[_0x572031(0x245)]=this[_0x572031(0x245)][_0x572031(0x1df)](_0x234b3f=>!_0x10b45d[_0x572031(0x26b)](_0x234b3f));for(const _0x7698fa of _0x10b45d)_0x7698fa[_0x572031(0x1e8)]=_0x572031(0x1a0)in _0x16095c&&_0x16095c[_0x572031(0x1a0)]||void 0x0;W(_0x10b45d,_0x16095c[_0x572031(0x193)]-_0x10b45d[_0x572031(0x283)]),this[_0x572031(0x266)](_0x10b45d);const _0x2b550d=_0x10b45d[_0x572031(0x1df)](_0x50c98e=>{const _0x4903cf=_0x572031;if(!_0x50c98e[_0x4903cf(0x1e1)])return!0x1;const _0x4a118b=this[_0x4903cf(0x1a5)](_0x50c98e);return _0x4a118b&&!this[_0x4903cf(0x1ab)][_0x4903cf(0x290)](_0x4a118b);});W(_0x2b550d,this[_0x572031(0x260)][_0x572031(0x193)]),this[_0x572031(0x209)](_0x2b550d),_0x30f4a9=!0x0,this[_0x572031(0x1d1)]=this[_0x572031(0x1b4)];}else{const _0x31316e=this[_0x572031(0x23e)](_0x16095c[_0x572031(0x238)],_0x16095c[_0x572031(0x19b)])[_0x572031(0x1df)](_0x563042=>_0x563042[_0x572031(0x256)]>=this[_0x572031(0x293)]);_0x31316e[_0x572031(0x1a8)](_0xd1a494=>this[_0x572031(0x1fb)](_0xd1a494)),this[_0x572031(0x245)]=this[_0x572031(0x245)][_0x572031(0x1df)](_0x55ed07=>!_0x55ed07[_0x572031(0x1e1)]||!this[_0x572031(0x1ab)][_0x572031(0x290)](this[_0x572031(0x1a5)](_0x55ed07))),this[_0x572031(0x245)][_0x572031(0x283)]&&W(this[_0x572031(0x245)],this[_0x572031(0x245)][0x0][_0x572031(0x256)]),await this[_0x572031(0x23f)](_0x31316e),_0x30f4a9=this[_0x572031(0x26f)](_0x31316e,_0x16095c[_0x572031(0x193)],_0x16095c[_0x572031(0x202)]),this[_0x572031(0x1d1)]=Math[_0x572031(0x1c1)](this[_0x572031(0x1d1)]/0x2);}return _0x30f4a9?!this[_0x572031(0x1ba)]()||(this[_0x572031(0x1c5)](!0x0),!0x1):this[_0x572031(0x1fd)](_0x572031(0x1b8));}[_0x3182f5(0x26f)](_0x14f7c4,_0x3de5ad,_0x1aab56){const _0x56cab6=_0x3182f5;try{const _0x2d2843={'document':this[_0x56cab6(0x260)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2aabd4,operationsB:_0xb4cc5e,originalOperations:_0x1a0ac6}=_0x3d47f4(_0x14f7c4,this[_0x56cab6(0x245)],_0x2d2843);W(_0x2aabd4,this[_0x56cab6(0x260)][_0x56cab6(0x193)]),W(_0xb4cc5e,_0x3de5ad);for(const _0x53e548 of _0x2aabd4){const _0x16fe10=_0x1a0ac6[_0x56cab6(0x1bf)](_0x53e548);_0x53e548[_0x56cab6(0x1dc)]=_0x16fe10?_0x16fe10[_0x56cab6(0x1dc)]:null;}_0x1aab56&&(this[_0x56cab6(0x20d)][_0x56cab6(0x297)](_0x14f7c4,_0x1aab56),this[_0x56cab6(0x23d)]=_0x1aab56),this[_0x56cab6(0x245)]=[..._0xb4cc5e],this[_0x56cab6(0x209)](_0x2aabd4),this[_0x56cab6(0x266)](_0x14f7c4);}catch(_0x42c424){return console[_0x56cab6(0x1d5)](_0x42c424),!0x1;}return!0x0;}[_0x3182f5(0x209)](_0x3666d8,_0x30c717=!0x1){const _0xdd4d51=_0x3182f5;this[_0xdd4d51(0x296)][_0xdd4d51(0x22c)][_0xdd4d51(0x198)]({'isUndoable':!0x1,'isLocal':!0x1},_0x450601=>{const _0x5869ea=_0xdd4d51;for(const _0x42d87d of _0x3666d8)this[_0x5869ea(0x1a1)][_0x5869ea(0x22d)](_0x42d87d),this[_0x5869ea(0x1fb)](_0x42d87d),_0x450601[_0x5869ea(0x1a4)][_0x5869ea(0x282)](_0x42d87d),this[_0x5869ea(0x296)][_0x5869ea(0x22c)][_0x5869ea(0x1e0)](_0x42d87d);});}[_0x3182f5(0x1fb)](_0xadb1c3){const _0xda9da6=_0x3182f5,_0xb1e023=this[_0xda9da6(0x1a5)](_0xadb1c3);_0xb1e023&&this[_0xda9da6(0x1ab)][_0xda9da6(0x22d)](_0xb1e023);}[_0x3182f5(0x1a5)](_0x16e467){const _0x4cf12e=_0x3182f5;let _0xa0d589,_0x298cc2;switch(_0x16e467[_0x4cf12e(0x1f6)]){case _0x4cf12e(0x215):_0xa0d589=_0x16e467[_0x4cf12e(0x1a2)][_0x4cf12e(0x270)];break;case _0x4cf12e(0x204):if(_0x298cc2=_0x16e467[_0x4cf12e(0x26e)],!_0x298cc2)return null;_0xa0d589=_0x298cc2[_0x4cf12e(0x270)];break;case _0x4cf12e(0x28c):_0xa0d589=_0x16e467[_0x4cf12e(0x270)];break;case _0x4cf12e(0x1a6):_0xa0d589=_0x16e467[_0x4cf12e(0x213)];break;case _0x4cf12e(0x1cc):_0xa0d589=_0x16e467[_0x4cf12e(0x1dd)][_0x4cf12e(0x270)];break;default:return null;}return _0xa0d589[_0x4cf12e(0x1f9)];}[_0x3182f5(0x266)](_0x1a45d6){const _0x5cba4f=_0x3182f5;_0x1a45d6[_0x5cba4f(0x1a8)](_0x28d9f3=>{const _0x2c8e04=_0x5cba4f,_0x2b5b3f=_0x28d9f3[_0x2c8e04(0x21a)]();_0x2b5b3f[_0x2c8e04(0x1dc)]=_0x28d9f3[_0x2c8e04(0x1dc)],_0x2b5b3f[_0x2c8e04(0x1e1)]=!!_0x28d9f3[_0x2c8e04(0x1e1)],_0x2b5b3f[_0x2c8e04(0x1e8)]=_0x28d9f3[_0x2c8e04(0x1e8)],_0x2b5b3f[_0x2c8e04(0x256)]+=this[_0x2c8e04(0x248)],_0x28d9f3[_0x2c8e04(0x240)]&&this[_0x2c8e04(0x1be)][_0x2c8e04(0x22d)](_0x2b5b3f),this[_0x2c8e04(0x236)][_0x2c8e04(0x282)](_0x2b5b3f);});}[_0x3182f5(0x22f)](_0x135e28){const _0x2833d4=_0x3182f5,_0x163ea9=this[_0x2833d4(0x296)][_0x2833d4(0x284)][_0x2833d4(0x1bf)](_0x2833d4(0x220)),_0xcf9ccb=this[_0x2833d4(0x296)][_0x2833d4(0x194)];_0x135e28||(_0x135e28=_0x4e7cd5(_0xcf9ccb,_0x2833d4(0x23a))),_0x163ea9[_0x2833d4(0x1fe)](_0x135e28,{'title':_0x4e7cd5(_0xcf9ccb,_0x2833d4(0x28f)),'namespace':_0x2833d4(0x199)}),this[_0x2833d4(0x23c)]=!0x0,clearTimeout(this[_0x2833d4(0x269)]),this[_0x2833d4(0x245)]=[],this[_0x2833d4(0x296)][_0x2833d4(0x284)][_0x2833d4(0x1bf)](_0x539b14)[_0x2833d4(0x292)]();}[_0x3182f5(0x205)](){const _0x236d1a=_0x3182f5;this[_0x236d1a(0x1f1)]||(this[_0x236d1a(0x1f1)]=this[_0x236d1a(0x296)][_0x236d1a(0x284)][_0x236d1a(0x1bf)](_0x46d007)[_0x236d1a(0x22d)](_0x4e7cd5(this[_0x236d1a(0x296)][_0x236d1a(0x194)],_0x236d1a(0x231))));}[_0x3182f5(0x20f)](){const _0x311e26=_0x3182f5;this[_0x311e26(0x1f1)]&&(this[_0x311e26(0x296)][_0x311e26(0x284)][_0x311e26(0x1bf)](_0x46d007)[_0x311e26(0x1d0)](this[_0x311e26(0x1f1)]),this[_0x311e26(0x1f1)]=null);}[_0x3182f5(0x249)](_0x1c0fac){const _0xacc555=_0x3182f5,_0xd71b48=_0x1c0fac[_0xacc555(0x246)](_0x321814=>_0x321814[_0xacc555(0x281)]());return this[_0xacc555(0x275)][_0xacc555(0x265)](_0xd71b48);}[_0x3182f5(0x23e)](_0x529f43,_0x2b40f3){const _0x167a18=_0x3182f5;return this[_0x167a18(0x275)][_0x167a18(0x203)](_0x529f43)[_0x167a18(0x246)]((_0x1dbda1,_0x54cceb)=>{const _0x44866b=_0x167a18,_0x306f38=_0x44866b(0x27e)==_0x2b40f3[_0x54cceb][_0x44866b(0x1f6)];if(_0x44866b(0x1b3)==_0x1dbda1[_0x44866b(0x19f)]){const _0x11e75d=_0x1dbda1[_0x44866b(0x1a2)][_0x44866b(0x270)];!this[_0x44866b(0x260)][_0x44866b(0x261)](_0x11e75d)&&(this[_0x44866b(0x260)][_0x44866b(0x1c9)](_0x44866b(0x1e2),_0x11e75d)[_0x44866b(0x25e)]=!0x1);}const _0x25f9a5=_0x2643fb[_0x44866b(0x25a)](_0x1dbda1,this[_0x44866b(0x260)]);return _0x25f9a5[_0x44866b(0x207)]=_0x1dbda1[_0x44866b(0x207)],_0x25f9a5[_0x44866b(0x1e1)]=_0x306f38,_0x25f9a5[_0x44866b(0x1dc)]=_0x306f38?null:_0x2b40f3[_0x54cceb][_0x44866b(0x208)],_0x25f9a5[_0x44866b(0x240)]=_0x44866b(0x221)===_0x2b40f3[_0x54cceb][_0x44866b(0x1f6)],_0x25f9a5[_0x44866b(0x1e8)]=_0x2b40f3[_0x54cceb][_0x44866b(0x1e8)],_0x25f9a5;});}[_0x3182f5(0x20c)](){const _0x56bf84=_0x3182f5;this[_0x56bf84(0x201)]=!0x0,this[_0x56bf84(0x28a)]()?this[_0x56bf84(0x1c5)]():this[_0x56bf84(0x201)]=!0x1;}[_0x3182f5(0x28a)](){const _0x4c8c39=_0x3182f5,_0x490458=this[_0x4c8c39(0x296)][_0x4c8c39(0x284)][_0x4c8c39(0x1bf)](_0x1a2418)[_0x4c8c39(0x1e7)][_0x4c8c39(0x1bf)](this[_0x4c8c39(0x1d2)]);return!this[_0x4c8c39(0x296)][_0x4c8c39(0x224)]&&!!_0x490458&&_0x490458[_0x4c8c39(0x283)]>0x1&&this[_0x4c8c39(0x201)];}[_0x3182f5(0x1ba)](){const _0x58a347=_0x3182f5;return this[_0x58a347(0x245)][_0x58a347(0x283)]>0x0||this[_0x58a347(0x28a)]();}}class V extends Error{}function W(_0x962fa4,_0x5caac2){const _0x1c109a=_0x3182f5;for(const _0x5dbeae of _0x962fa4)_0x5dbeae[_0x1c109a(0x256)]=_0x5caac2++;}class F{[_0x3182f5(0x197)];[_0x3182f5(0x237)];constructor(_0x473a2e){const _0xfc9c50=_0x3182f5;this[_0xfc9c50(0x197)]=_0x473a2e,this[_0xfc9c50(0x237)]=new WeakMap();}[_0x3182f5(0x299)](_0x404c4a){const _0x1f34ab=_0x3182f5;let _0x457248=_0x404c4a[_0x1f34ab(0x283)];for(;_0x457248--;){const _0x98eb18=_0x404c4a[_0x457248];if(!this[_0x1f34ab(0x197)][_0x1f34ab(0x290)](_0x98eb18)){if(!this[_0x1f34ab(0x237)][_0x1f34ab(0x290)](_0x98eb18)){const _0x585635=_0x1a3efb()[_0x1f34ab(0x276)](0x1,0x12);this[_0x1f34ab(0x237)][_0x1f34ab(0x247)](_0x98eb18,_0x585635);}return this[_0x1f34ab(0x237)][_0x1f34ab(0x1bf)](_0x98eb18);}}}[_0x3182f5(0x297)](_0x4ad709,_0x5806c7){const _0x3389bc=_0x3182f5;if(!_0x5806c7)return;let _0x19a11e=_0x4ad709[_0x3389bc(0x283)];for(;_0x19a11e--;){const _0x41b764=_0x4ad709[_0x19a11e];this[_0x3389bc(0x197)][_0x3389bc(0x290)](_0x41b764)||this[_0x3389bc(0x237)][_0x3389bc(0x247)](_0x41b764,_0x5806c7);}}}
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);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b65d9=_0xf769;(function(_0x568cbc,_0xec3631){const _0x2e4f7e=_0xf769,_0x3fc3ad=_0x568cbc();while(!![]){try{const _0x458a93=-parseInt(_0x2e4f7e(0xe6))/0x1+-parseInt(_0x2e4f7e(0x105))/0x2+-parseInt(_0x2e4f7e(0xf8))/0x3+parseInt(_0x2e4f7e(0xe5))/0x4+parseInt(_0x2e4f7e(0xd7))/0x5+-parseInt(_0x2e4f7e(0xef))/0x6*(-parseInt(_0x2e4f7e(0x103))/0x7)+parseInt(_0x2e4f7e(0x109))/0x8;if(_0x458a93===_0xec3631)break;else _0x3fc3ad['push'](_0x3fc3ad['shift']());}catch(_0x5e32f8){_0x3fc3ad['push'](_0x3fc3ad['shift']());}}}(_0x22ed,0x8fbc6));function _0xf769(_0x1dd0fe,_0x4090cb){const _0x22edfe=_0x22ed();return _0xf769=function(_0xf7697b,_0x57e5db){_0xf7697b=_0xf7697b-0xcd;let _0xcc0b5e=_0x22edfe[_0xf7697b];return _0xcc0b5e;},_0xf769(_0x1dd0fe,_0x4090cb);}import{ContextPlugin as _0x2a2a34}from'ckeditor5/src/core.js';import{Collection as _0x470be1,CKEditorError as _0x25aa46}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x38ee87}from'./websocketgateway.js';function _0x22ed(){const _0xe2f5e7=['1497445OLJqsH','stopListening','sessions-register-already-registered','register','set','orderNumber','_users','isPremiumPlugin','assign','context','defineMe','has','fire','clear','1765372xjcQCK','494722bGmmqp','user','_handleSessionRemove','channelConnectedUsers','hiddenInPresenceList','_uniqueUsersCount','change:state','isMe','connection','30138qZRrdb','getUserSessions','getUserRole','connected','channelSessions','get','listenTo','mySessionId','addUser','1823943gizFaN','allConnectedUsers','sessionAdd:','_handleSessionAdd','getUserBySessionId','sessions-unregister-not-exist','state','delete','add','getUser','init','1351xJzpjf','forEach','1413446ablPjD','pluginName','requires','unregister','5503176BoUMEo','isOfficialPlugin','remove','sessionId','role','_registeredSessions','values','Sessions','plugins','size','_createUser'];_0x22ed=function(){return _0xe2f5e7;};return _0x22ed();}import{Users as _0x32a93a}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2a2a34{[_0x4b65d9(0xf3)];[_0x4b65d9(0xe9)];[_0x4b65d9(0xf9)];[_0x4b65d9(0xd1)];[_0x4b65d9(0xeb)];[_0x4b65d9(0xdd)];static get[_0x4b65d9(0x106)](){const _0x4a7a2d=_0x4b65d9;return _0x4a7a2d(0xd3);}static get[_0x4b65d9(0xcd)](){return!0x0;}static get[_0x4b65d9(0xde)](){return!0x0;}static get[_0x4b65d9(0x107)](){return[_0x38ee87,_0x32a93a];}constructor(_0x52f0b5){const _0x376141=_0x4b65d9;super(_0x52f0b5),this[_0x376141(0xf3)]=new Map(),this[_0x376141(0xe9)]=new Map(),this[_0x376141(0xf9)]=new _0x470be1(),this[_0x376141(0xd1)]=new Map(),this[_0x376141(0xeb)]=0x0,this[_0x376141(0xdd)]=this[_0x376141(0xe0)][_0x376141(0xd4)][_0x376141(0xf4)](_0x32a93a);}[_0x4b65d9(0x102)](){const _0x11955f=_0x4b65d9,_0xbf781=this[_0x11955f(0xe0)][_0x11955f(0xd4)][_0x11955f(0xf4)](_0x38ee87);this[_0x11955f(0xf5)](_0xbf781,_0x11955f(0xec),(_0x2c2bc4,_0x152fce,_0x280819)=>{const _0x389058=_0x11955f;if(_0x389058(0xf2)!==_0x280819)this[_0x389058(0xf3)][_0x389058(0x104)](_0x296e3c=>_0x296e3c[_0x389058(0xe4)]()),this[_0x389058(0xe9)][_0x389058(0x104)](_0x3b25ec=>_0x3b25ec[_0x389058(0xe4)]()),this[_0x389058(0xf9)][_0x389058(0xe4)]();else{for(const [_0x261994,_0x36fe1b]of this[_0x389058(0xd1)])for(const _0x3b5e3b of _0x36fe1b)this[_0x389058(0xfb)](_0x261994,_0x3b5e3b);}}),this[_0x11955f(0xd6)](_0xbf781[_0x11955f(0xee)]['me'],!0x0);}[_0x4b65d9(0xda)](_0x1e33d2,_0x4ac80a){const _0x46d513=_0x4b65d9;if(this[_0x46d513(0xd1)][_0x46d513(0xe2)](_0x1e33d2))throw new _0x25aa46(_0x46d513(0xd9),null,{'channelId':_0x1e33d2});this[_0x46d513(0xd1)][_0x46d513(0xdb)](_0x1e33d2,_0x4ac80a),this[_0x46d513(0xf3)][_0x46d513(0xdb)](_0x1e33d2,new _0x470be1()),this[_0x46d513(0xe9)][_0x46d513(0xdb)](_0x1e33d2,new _0x470be1()),this[_0x46d513(0xf5)](_0x4ac80a,_0x46d513(0x100),(_0x3e84ec,_0x355f1d)=>this[_0x46d513(0xfb)](_0x1e33d2,_0x355f1d)),this[_0x46d513(0xf5)](_0x4ac80a,_0x46d513(0xce),(_0x4f4d19,_0x4a14f5)=>this[_0x46d513(0xe8)](_0x1e33d2,_0x4a14f5));for(const _0xd1f81f of _0x4ac80a)this[_0x46d513(0xfb)](_0x1e33d2,_0xd1f81f);}[_0x4b65d9(0x108)](_0x2e711a){const _0x3e1e65=_0x4b65d9;if(!this[_0x3e1e65(0xd1)][_0x3e1e65(0xe2)](_0x2e711a))throw new _0x25aa46(_0x3e1e65(0xfd),null,{'channelId':_0x2e711a});const _0x5357eb=this[_0x3e1e65(0xd1)][_0x3e1e65(0xf4)](_0x2e711a);this[_0x3e1e65(0xd8)](_0x5357eb);for(const _0x3f7f6b of _0x5357eb)_0x3e1e65(0xf2)===this[_0x3e1e65(0xe0)][_0x3e1e65(0xd4)][_0x3e1e65(0xf4)](_0x38ee87)[_0x3e1e65(0xfe)]&&this[_0x3e1e65(0xe8)](_0x2e711a,_0x3f7f6b);this[_0x3e1e65(0xd1)][_0x3e1e65(0xff)](_0x2e711a),this[_0x3e1e65(0xf3)][_0x3e1e65(0xff)](_0x2e711a),this[_0x3e1e65(0xe9)][_0x3e1e65(0xff)](_0x2e711a);}get[_0x4b65d9(0xf6)](){const _0x23b7e3=_0x4b65d9;return this[_0x23b7e3(0xe0)][_0x23b7e3(0xd4)][_0x23b7e3(0xf4)](_0x38ee87)[_0x23b7e3(0xee)][_0x23b7e3(0xcf)];}[_0x4b65d9(0xfc)](_0x4e3bff){const _0x19b3a1=_0x4b65d9;for(const _0x24ec0c of this[_0x19b3a1(0xf3)][_0x19b3a1(0xd2)]())for(const _0x1b6c10 of _0x24ec0c)if(_0x1b6c10['id']===_0x4e3bff)return _0x1b6c10[_0x19b3a1(0xe7)];}[_0x4b65d9(0xf0)](_0x99c39d,_0x2b89c2){const _0x1b3a0d=_0x4b65d9,_0xfdabbe=_0x2b89c2?[this[_0x1b3a0d(0xf3)][_0x1b3a0d(0xf4)](_0x2b89c2)]:this[_0x1b3a0d(0xf3)][_0x1b3a0d(0xd2)](),_0x180727=new Set();for(const _0x5a9b1f of _0xfdabbe)for(const _0x73b4ca of _0x5a9b1f)_0x73b4ca[_0x1b3a0d(0xe7)]['id']===_0x99c39d['id']&&_0x180727[_0x1b3a0d(0x100)](_0x73b4ca['id']);return _0x180727;}[_0x4b65d9(0xf1)](_0x3b2fe0){const _0xb9bb26=_0x4b65d9;for(const _0x27b984 of this[_0xb9bb26(0xf3)][_0xb9bb26(0xd2)]())for(const _0x8ad34b of _0x27b984)if(_0x8ad34b[_0xb9bb26(0xe7)]===_0x3b2fe0)return _0x8ad34b[_0xb9bb26(0xd0)];}[_0x4b65d9(0xfb)](_0x2a41f7,_0xad57fa){const _0x342d87=_0x4b65d9;if(_0x342d87(0xf2)!==this[_0x342d87(0xe0)][_0x342d87(0xd4)][_0x342d87(0xf4)](_0x38ee87)[_0x342d87(0xfe)])return;const _0x3d35a9=_0xad57fa[_0x342d87(0xe7)],_0x2668c5=this[_0x342d87(0xdd)][_0x342d87(0x101)](_0x3d35a9['id'])||this[_0x342d87(0xd6)](_0x3d35a9),_0xb063c1=Object[_0x342d87(0xdf)]({},_0xad57fa,{'user':_0x2668c5});if(this[_0x342d87(0xf3)][_0x342d87(0xf4)](_0x2a41f7)[_0x342d87(0x100)](_0xb063c1),!_0x3d35a9[_0x342d87(0xea)]){const _0x339caf=this[_0x342d87(0xe9)][_0x342d87(0xf4)](_0x2a41f7);_0x339caf[_0x342d87(0xe2)](_0x2668c5['id'])||_0x339caf[_0x342d87(0x100)](_0x2668c5),this[_0x342d87(0xf9)][_0x342d87(0xe2)](_0x2668c5['id'])||_0x3d35a9[_0x342d87(0xea)]||this[_0x342d87(0xf9)][_0x342d87(0x100)](_0x2668c5,_0x2668c5[_0x342d87(0xed)]?0x0:void 0x0);}this[_0x342d87(0xe3)](_0x342d87(0xfa)+_0x2a41f7,{'channelId':_0x2a41f7,'session':_0xb063c1});}[_0x4b65d9(0xe8)](_0x5bb0c6,_0x42a49f){const _0x53bc=_0x4b65d9;if(_0x53bc(0xf2)!==this[_0x53bc(0xe0)][_0x53bc(0xd4)][_0x53bc(0xf4)](_0x38ee87)[_0x53bc(0xfe)])return;const _0x367363=this[_0x53bc(0xe9)][_0x53bc(0xf4)](_0x5bb0c6),_0x365082=_0x42a49f[_0x53bc(0xe7)];_0x365082['id']&&(this[_0x53bc(0xf3)][_0x53bc(0xf4)](_0x5bb0c6)[_0x53bc(0xce)](_0x42a49f['id']),_0x367363[_0x53bc(0xe2)](_0x365082['id'])&&!this[_0x53bc(0xf0)](_0x365082,_0x5bb0c6)[_0x53bc(0xd5)]&&_0x367363[_0x53bc(0xce)](_0x365082['id']),this[_0x53bc(0xf9)][_0x53bc(0xf4)](_0x365082['id'])&&!this[_0x53bc(0xf0)](_0x365082)[_0x53bc(0xd5)]&&this[_0x53bc(0xf9)][_0x53bc(0xce)](_0x365082['id']));}[_0x4b65d9(0xd6)](_0x3e7923,_0x1e88f0){const _0x1f3ffe=_0x4b65d9,_0x13d230=this[_0x1f3ffe(0xdd)][_0x1f3ffe(0xf7)](_0x3e7923);return _0x1e88f0&&this[_0x1f3ffe(0xdd)][_0x1f3ffe(0xe1)](_0x3e7923['id']),_0x13d230[_0x1f3ffe(0xdc)]=this[_0x1f3ffe(0xeb)]++,_0x13d230;}}
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;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x385907=_0x47f4;(function(_0x4a114b,_0x285272){const _0xddb5f9=_0x47f4,_0x21680c=_0x4a114b();while(!![]){try{const _0xc8b4e2=-parseInt(_0xddb5f9(0x1aa))/0x1*(parseInt(_0xddb5f9(0x1b5))/0x2)+-parseInt(_0xddb5f9(0x16f))/0x3*(parseInt(_0xddb5f9(0x1bc))/0x4)+-parseInt(_0xddb5f9(0x143))/0x5*(parseInt(_0xddb5f9(0x164))/0x6)+-parseInt(_0xddb5f9(0x193))/0x7+-parseInt(_0xddb5f9(0x16a))/0x8+parseInt(_0xddb5f9(0x1ab))/0x9+parseInt(_0xddb5f9(0x1a3))/0xa*(parseInt(_0xddb5f9(0x199))/0xb);if(_0xc8b4e2===_0x285272)break;else _0x21680c['push'](_0x21680c['shift']());}catch(_0x28470a){_0x21680c['push'](_0x21680c['shift']());}}}(_0xae7c,0x52513));function _0x47f4(_0x432574,_0x419641){const _0xae7c83=_0xae7c();return _0x47f4=function(_0x47f41f,_0x226219){_0x47f41f=_0x47f41f-0x141;let _0x27b1a1=_0xae7c83[_0x47f41f];return _0x27b1a1;},_0x47f4(_0x432574,_0x419641);}function _0xae7c(){const _0x59d271=['markers','undo','has','detach','isObject','nodeAfter','color','end','span','ck-user__marker\x20','mouseleave','change','fromRange','stopListening','isOfficialPlugin','rootName','start','getFirstRange','requires','parent','enqueueChange','schema','163902wTVZHf','spellcheck','remove','document','oldRange','isInline','3214696CLULIy','applyOperation','getNearestSelectionRange','userPositionMarker','change:range','94398AXpaWQ','_domEmitter','getContainedElement','getRange','plugins','UserMarkers','afterInit','getPositions','user:range:','render','markerName','startsWith','isDocumentOperation','marker','getMarkerClass','user:range','newRange','textContent','addEventListener','editing','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','tableCell','reconvertMarker','hasContent','user:','toDomElement','size','element','data-session-id','destroy','setAttribute','markerToElement','init','outerHTML','classList','root','2265949HrWyaR','ck-user__marker_hovered','getUserBySessionId','createElement','update:user:range','user:position:','7211006EygAgy','type','mySessionId','name','listenTo','delete','checkChild','hasDomSelection','split','createRange','20aShByu','isLimit','orderNumber','false','batch','removeClass','mapper','5irULHh','4150476aSKYlz','mouseenter','getStart','pluginName','getCustomProperty','markerNameToElements','toRange','Escape','isSimilar','_createdBatches','93082xXRhAi','setCustomProperty','addMarker','updateMarker','set','removeMarker','get','12MwxVCi','markerRange','isCollapsed','createUserMarkerOperations','clear','$graveyard','innerHTML','editor','for','getSelectionClass','ck-user__marker-tooltip','$text','contenteditable','isPremiumPlugin','editingDowncast','conversion','model','view','keydown','70EcwOhb','ck-user__selection','getAttribute','highest','add','selection','user:position','deletionPosition','createUIElement','markerToHighlight','commands'];_0xae7c=function(){return _0x59d271;};return _0xae7c();}import{Plugin as _0x10cea1}from'ckeditor5/src/core.js';import{global as _0x4a3b52,DomEmitterMixin as _0x5cbe43}from'ckeditor5/src/utils.js';import{Sessions as _0x46994d}from'./sessions.js';import{ModelLiveRange as _0x2ef08f}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x10cea1{[_0x385907(0x170)]=new(_0x5cbe43())();static get[_0x385907(0x160)](){return[_0x46994d];}static get[_0x385907(0x1ae)](){const _0x618b64=_0x385907;return _0x618b64(0x174);}static get[_0x385907(0x15c)](){return!0x0;}static get[_0x385907(0x1c9)](){return!0x0;}[_0x385907(0x18f)](){const _0x1c0ce9=_0x385907,_0x423735=this[_0x1c0ce9(0x1c3)],_0x21da80=_0x423735[_0x1c0ce9(0x173)][_0x1c0ce9(0x1bb)](_0x46994d);_0x423735[_0x1c0ce9(0x1cb)][_0x1c0ce9(0x1c4)](_0x1c0ce9(0x1ca))[_0x1c0ce9(0x18e)]({'model':_0x1c0ce9(0x149),'view':(_0x3ad24e,{writer:_0x564150})=>function(_0x348738,_0x24404d,_0x5f3a0f,_0x4e4454){const _0x3fe490=_0x1c0ce9,_0x55b757=_0x348738[_0x3fe490(0x179)][_0x3fe490(0x1a1)](':')[0x2],_0x3aa47b=_0x5f3a0f[_0x3fe490(0x195)](_0x55b757);if(!_0x3aa47b||_0x55b757===_0x5f3a0f[_0x3fe490(0x19b)])return;if(!_0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x163)][_0x3fe490(0x19f)](_0x348738[_0x3fe490(0x1bd)][_0x3fe490(0x15e)],_0x3fe490(0x1c7)))return;const _0xdaba2a={'class':_0x3fe490(0x157)+_0x3aa47b[_0x3fe490(0x154)][_0x3fe490(0x17d)](),'data-name':_0x3aa47b[_0x3fe490(0x19c)],'data-session-id':_0x55b757},_0x2b84a8=_0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x14e)][_0x3fe490(0x1bb)](_0x348738[_0x3fe490(0x179)]),_0x169fd6=_0x2b84a8[_0x3fe490(0x1ad)](),_0x203b40=_0x169fd6[_0x3fe490(0x153)],_0x4a4191=_0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x163)];if(_0x203b40&&_0x4a4191[_0x3fe490(0x152)](_0x203b40)&&_0x4a4191[_0x3fe490(0x169)](_0x203b40)&&!_0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x14e)][_0x3fe490(0x1bb)](_0x3fe490(0x177)+_0x55b757)[_0x3fe490(0x172)]()[_0x3fe490(0x1be)])return;const _0x55457c=_0x169fd6[_0x3fe490(0x161)];return _0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x163)][_0x3fe490(0x1a4)](_0x55457c)&&!_0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x186)](_0x55457c)&&(_0xdaba2a[_0x3fe490(0x1c8)]=!0x1),function(_0xc36cf2,_0x91f814,_0x49cc65){const _0x1da163=_0x3fe490,_0x39edb4=_0xc36cf2[_0x1da163(0x14b)](_0x1da163(0x156),_0x91f814);return _0xc36cf2[_0x1da163(0x1b6)](_0x1da163(0x16d),!0x0,_0x39edb4),_0x39edb4[_0x1da163(0x178)]=function(_0x569aca){const _0x7b72af=_0x1da163,_0x1582c6=this[_0x7b72af(0x188)](_0x569aca),_0x39e0d5=document[_0x7b72af(0x196)](_0x7b72af(0x156));return _0x39e0d5[_0x7b72af(0x191)][_0x7b72af(0x147)](_0x7b72af(0x1c6)),_0x39e0d5[_0x7b72af(0x18d)](_0x7b72af(0x1c8),_0x7b72af(0x1a6)),_0x39e0d5[_0x7b72af(0x18d)](_0x7b72af(0x165),_0x7b72af(0x1a6)),_0x39e0d5[_0x7b72af(0x180)]=_0x49cc65[_0x7b72af(0x19c)],_0x1582c6[_0x7b72af(0x1c2)]=_0x7b72af(0x183)+_0x39e0d5[_0x7b72af(0x190)]+'⁠',_0x1582c6[_0x7b72af(0x181)](_0x7b72af(0x1ac),()=>{const _0xbe57dd=_0x7b72af;_0x1582c6[_0xbe57dd(0x191)][_0xbe57dd(0x147)](_0xbe57dd(0x194));}),_0x1582c6[_0x7b72af(0x181)](_0x7b72af(0x158),()=>{const _0x154581=_0x7b72af;_0x1582c6[_0x154581(0x191)][_0x154581(0x166)](_0x154581(0x194));}),_0x1582c6;},_0x39edb4[_0x1da163(0x1b3)]=function(_0x147636){const _0x9569e5=_0x1da163;return!(!this[_0x9569e5(0x1af)](_0x9569e5(0x16d))||!_0x147636[_0x9569e5(0x1af)](_0x9569e5(0x16d))||this[_0x9569e5(0x145)](_0x9569e5(0x18b))!=_0x147636[_0x9569e5(0x145)](_0x9569e5(0x18b)));},_0x39edb4;}(_0x24404d,_0xdaba2a,_0x3aa47b);}(_0x3ad24e,_0x564150,_0x21da80,_0x423735)}),_0x423735[_0x1c0ce9(0x1cb)][_0x1c0ce9(0x1c4)](_0x1c0ce9(0x1ca))[_0x1c0ce9(0x14c)]({'model':_0x1c0ce9(0x17e),'view':_0x246635=>function(_0x479f56,_0x4addeb){const _0x46ece2=_0x1c0ce9,_0x3fbb27=_0x479f56[_0x46ece2(0x179)][_0x46ece2(0x1a1)](':')[0x2];if(_0x3fbb27===_0x4addeb[_0x46ece2(0x19b)])return null;const _0x3a09ae=_0x4addeb[_0x46ece2(0x195)](_0x3fbb27);if(!_0x3a09ae)return{'id':_0x3fbb27,'classes':[]};return{'id':_0x3fbb27,'classes':[_0x46ece2(0x144),_0x3a09ae[_0x46ece2(0x154)][_0x46ece2(0x1c5)]()],'attributes':{'data-session-id':_0x3fbb27},'priority':0x7d0+_0x3a09ae[_0x46ece2(0x1a5)]};}(_0x246635,_0x21da80)}),function(_0x95f5a9){const _0x411803=_0x1c0ce9,_0x3c3036=_0x95f5a9[_0x411803(0x1cc)],_0x6d7c09=new Map(),_0x5ef537=_0x95f5a9[_0x411803(0x173)][_0x411803(0x1bb)](_0x46994d);_0x3c3036[_0x411803(0x14e)]['on'](_0x411803(0x197),(_0xa045da,_0x22170b,_0x20f199,_0x3256e8)=>{const _0xb91b2d=_0x411803;if(!_0x3256e8&&_0x6d7c09[_0xb91b2d(0x1bb)](_0x22170b[_0xb91b2d(0x19c)]))return _0x6d7c09[_0xb91b2d(0x1bb)](_0x22170b[_0xb91b2d(0x19c)])[_0xb91b2d(0x151)](),void _0x6d7c09[_0xb91b2d(0x19e)](_0x22170b[_0xb91b2d(0x19c)]);const _0x5e46e3=_0x22170b[_0xb91b2d(0x19c)][_0xb91b2d(0x1a1)](':')[0x2];if(_0x5e46e3===_0x5ef537[_0xb91b2d(0x19b)])return;const _0x4f9331=_0xb91b2d(0x198)+_0x5e46e3;_0x3c3036[_0xb91b2d(0x14e)][_0xb91b2d(0x150)](_0x4f9331)&&_0x95f5a9[_0xb91b2d(0x182)][_0xb91b2d(0x185)](_0x4f9331),_0x22170b['on'](_0xb91b2d(0x16e),(_0x289765,_0x439b82,_0x39f1e6)=>{const _0x54a5c3=_0xb91b2d;if(_0x54a5c3(0x1c1)!=_0x439b82[_0x54a5c3(0x192)][_0x54a5c3(0x15d)]&&_0x54a5c3(0x1c1)==_0x22170b[_0x54a5c3(0x172)]()[_0x54a5c3(0x192)][_0x54a5c3(0x15d)]&&!_0x6d7c09[_0x54a5c3(0x150)](_0x22170b[_0x54a5c3(0x19c)])){const _0x1b203f=_0x3c3036[_0x54a5c3(0x163)][_0x54a5c3(0x16c)](_0x39f1e6[_0x54a5c3(0x14a)]);if(_0x1b203f){const _0xfd6b39=_0x2ef08f[_0x54a5c3(0x15a)](_0x1b203f);_0x6d7c09[_0x54a5c3(0x1b9)](_0x22170b[_0x54a5c3(0x19c)],_0xfd6b39),_0xfd6b39['on'](_0x54a5c3(0x16e),(_0x47982e,_0x3e70c2,_0x44f07f)=>{const _0x5e1729=_0x54a5c3;if(_0x5e1729(0x1c1)==_0xfd6b39[_0x5e1729(0x192)][_0x5e1729(0x15d)]){const _0x14de9b=_0x3c3036[_0x5e1729(0x163)][_0x5e1729(0x16c)](_0x44f07f[_0x5e1729(0x14a)]);_0x14de9b?(_0xfd6b39[_0x5e1729(0x15e)]=_0x14de9b[_0x5e1729(0x15e)],_0xfd6b39[_0x5e1729(0x155)]=_0x14de9b[_0x5e1729(0x155)]):(_0x6d7c09[_0x5e1729(0x19e)](_0x22170b[_0x5e1729(0x19c)]),_0xfd6b39[_0x5e1729(0x151)]());}});}}});}),_0x3c3036[_0x411803(0x167)]['on'](_0x411803(0x159),()=>{const _0x5f1174=_0x411803;_0x6d7c09[_0x5f1174(0x189)]>0x0&&_0x3c3036[_0x5f1174(0x162)]({'isUndoable':!0x1},_0x3d9b6d=>{const _0x40ceeb=_0x5f1174;for(const [_0x20c4f4,_0xf52454]of _0x6d7c09)_0x40ceeb(0x1c1)==_0x3c3036[_0x40ceeb(0x14e)][_0x40ceeb(0x1bb)](_0x20c4f4)[_0x40ceeb(0x172)]()[_0x40ceeb(0x192)][_0x40ceeb(0x15d)]&&(J(_0x20c4f4[_0x40ceeb(0x1a1)](':')[0x2],_0xf52454[_0x40ceeb(0x1b1)](),_0x3c3036,_0x3d9b6d),_0xf52454[_0x40ceeb(0x151)]());_0x6d7c09[_0x40ceeb(0x1c0)]();});});}(_0x423735),this[_0x1c0ce9(0x170)][_0x1c0ce9(0x19d)](_0x4a3b52[_0x1c0ce9(0x167)],_0x1c0ce9(0x142),(_0x27d992,{key:_0x3679b5})=>{const _0xbb5683=_0x1c0ce9;_0xbb5683(0x1b2)===_0x3679b5&&function(_0x371a5e){const _0x1130a9=_0xbb5683;_0x371a5e[_0x1130a9(0x182)][_0x1130a9(0x141)][_0x1130a9(0x159)](_0x3ca263=>{const _0x583773=_0x1130a9;for(const _0x58e236 of _0x371a5e[_0x583773(0x1cc)][_0x583773(0x14e)]){if(!_0x58e236[_0x583773(0x19c)][_0x583773(0x17a)](_0x583773(0x149)))continue;const _0x13fe5e=_0x371a5e[_0x583773(0x182)][_0x583773(0x1a9)][_0x583773(0x1b0)](_0x58e236[_0x583773(0x19c)]);if(_0x13fe5e){for(const _0x48f77e of _0x13fe5e)_0x3ca263[_0x583773(0x1a8)](_0x583773(0x194),_0x48f77e);}}});}(_0x423735);},{'useCapture':!0x0});}[_0x385907(0x175)](){const _0x31a232=_0x385907,_0x207eba=this[_0x31a232(0x1c3)],_0x3e1b67=_0x207eba[_0x31a232(0x14d)][_0x31a232(0x1bb)](_0x31a232(0x14f));_0x3e1b67&&_0x207eba[_0x31a232(0x1cc)]['on'](_0x31a232(0x16b),(_0xddc74d,_0x265809)=>{const _0x34c8b1=_0x31a232,_0x3a018e=_0x265809[0x0];if(!_0x3a018e[_0x34c8b1(0x17b)])return;if(_0x34c8b1(0x17c)!=_0x3a018e[_0x34c8b1(0x19a)]||!_0x3a018e[_0x34c8b1(0x19c)][_0x34c8b1(0x17a)](_0x34c8b1(0x187)))return;const _0x1d830a=_0x3a018e[_0x34c8b1(0x1a7)];_0x3e1b67[_0x34c8b1(0x1b4)][_0x34c8b1(0x150)](_0x1d830a)&&(_0x3a018e[_0x34c8b1(0x17f)]=_0x3a018e[_0x34c8b1(0x168)]?_0x207eba[_0x34c8b1(0x1cc)][_0x34c8b1(0x1a2)](_0x3a018e[_0x34c8b1(0x168)][_0x34c8b1(0x15e)],_0x3a018e[_0x34c8b1(0x168)][_0x34c8b1(0x155)]):null);},{'priority':_0x31a232(0x146)});}[_0x385907(0x18c)](){const _0x543fcd=_0x385907;return this[_0x543fcd(0x170)][_0x543fcd(0x15b)](),super[_0x543fcd(0x18c)]();}[_0x385907(0x1bf)](){const _0x237b82=_0x385907,_0x4c7f63=this[_0x237b82(0x1c3)],_0x365e36=_0x4c7f63[_0x237b82(0x1cc)][_0x237b82(0x167)],_0x427ffe=_0x4c7f63[_0x237b82(0x173)][_0x237b82(0x1bb)](_0x46994d);_0x4c7f63[_0x237b82(0x1cc)][_0x237b82(0x162)]({'isUndoable':!0x1},_0x4f2286=>{const _0x13bbad=_0x237b82,_0x4e73a6=_0x13bbad(0x177)+_0x427ffe[_0x13bbad(0x19b)],_0x49b070=_0x13bbad(0x198)+_0x427ffe[_0x13bbad(0x19b)],_0xdd7743=_0x4c7f63[_0x13bbad(0x1cc)][_0x13bbad(0x14e)][_0x13bbad(0x150)](_0x4e73a6);_0x4c7f63[_0x13bbad(0x182)][_0x13bbad(0x141)][_0x13bbad(0x1a0)]?J(_0x427ffe[_0x13bbad(0x19b)],_0x365e36[_0x13bbad(0x148)][_0x13bbad(0x15f)](),_0x4c7f63[_0x13bbad(0x1cc)],_0x4f2286):_0xdd7743&&(_0x4f2286[_0x13bbad(0x1ba)](_0x4e73a6),_0x4f2286[_0x13bbad(0x1ba)](_0x49b070));});}}function J(_0x490596,_0x4c4cf4,_0xf6b81b,_0x1656dc){const _0x410a19=_0x385907,_0x1350dd=_0x410a19(0x177)+_0x490596,_0x36ac5c=_0x410a19(0x198)+_0x490596,_0x4d9919=_0x4c4cf4[_0x410a19(0x171)]();let _0x3ccfa3=_0x4c4cf4[_0x410a19(0x15e)];if(_0x4d9919&&_0x4d9919['is'](_0x410a19(0x18a),_0x410a19(0x184))){const _0x53bb50=function(_0x59f3c7,_0x241689){const _0x3040c9=_0x410a19;for(const _0x57d67b of _0x59f3c7[_0x3040c9(0x176)]())if(_0x241689[_0x3040c9(0x163)][_0x3040c9(0x19f)](_0x57d67b,_0x3040c9(0x1c7)))return _0x57d67b;}(_0x4c4cf4,_0xf6b81b);_0x53bb50&&(_0x3ccfa3=_0x53bb50,_0x4c4cf4=_0x1656dc[_0x410a19(0x1a2)](_0x3ccfa3));}const _0x4a65ac=_0x1656dc[_0x410a19(0x1a2)](_0x3ccfa3);_0xf6b81b[_0x410a19(0x14e)][_0x410a19(0x150)](_0x1350dd)?(_0x1656dc[_0x410a19(0x1b8)](_0x1350dd,{'range':_0x4c4cf4}),_0x1656dc[_0x410a19(0x1b8)](_0x36ac5c,{'range':_0x4a65ac})):(_0x1656dc[_0x410a19(0x1b7)](_0x1350dd,{'range':_0x4c4cf4,'usingOperation':!0x0}),_0x1656dc[_0x410a19(0x1b7)](_0x36ac5c,{'range':_0x4a65ac,'usingOperation':!0x0}));}
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}));}