@ckeditor/ckeditor5-real-time-collaboration 47.7.0-alpha.2 → 47.7.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e0c87=_0x217b;(function(_0x5efcb5,_0x1728e0){const _0x44c2ed=_0x217b,_0x288765=_0x5efcb5();while(!![]){try{const _0x3387a3=-parseInt(_0x44c2ed(0x1e1))/0x1+-parseInt(_0x44c2ed(0x1df))/0x2*(-parseInt(_0x44c2ed(0x201))/0x3)+parseInt(_0x44c2ed(0x1fe))/0x4+-parseInt(_0x44c2ed(0x1e3))/0x5+-parseInt(_0x44c2ed(0x1dc))/0x6+parseInt(_0x44c2ed(0x1fd))/0x7+parseInt(_0x44c2ed(0x1f3))/0x8*(-parseInt(_0x44c2ed(0x1ea))/0x9);if(_0x3387a3===_0x1728e0)break;else _0x288765['push'](_0x288765['shift']());}catch(_0x19ee39){_0x288765['push'](_0x288765['shift']());}}}(_0x4dd5,0x81ece));import{View as _0x18ebc0}from'ckeditor5/src/ui.js';function _0x217b(_0x30ec14,_0x1408f2){const _0x4dd501=_0x4dd5();return _0x217b=function(_0x217b44,_0x186358){_0x217b44=_0x217b44-0x1dc;let _0x58f1e5=_0x4dd501[_0x217b44];return _0x58f1e5;},_0x217b(_0x30ec14,_0x1408f2);}import{KeystrokeHandler as _0x3e3f49}from'ckeditor5/src/utils.js';function _0x4dd5(){const _0x3dbacc=['ck-presence-list__list','focus','aria-expanded','.ck-presence-list__dropdown-list','keystrokes','set','bindTemplate','6942873hClTlU','738480trRQWc','setTemplate','relatedTarget','3DGtDIe','4624506crSiQU','listenTo','contains','1729110nwsgoi','hasPopup','205477XAgjRy','items','2501720ZHdMgo','isExpanded','.ck-balloon-panel_with-arrow','list','querySelector','render','removeAttribute','290412WmJqea','change:hasPopup','presencelist:show','element','setAttribute','div','fire','Connected\x20users\x20list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','8yNtxzO','createCollection','presencelist:hide'];_0x4dd5=function(){return _0x3dbacc;};return _0x4dd5();}import{getTranslation as _0x47763d}from'../../common-translations.js';export class PresenceInlineListView extends _0x18ebc0{[_0x3e0c87(0x1e2)];[_0x3e0c87(0x1fa)];constructor(_0x23ad9){const _0x4866ad=_0x3e0c87;super(_0x23ad9);const _0x5207f9=this[_0x4866ad(0x1fc)];this[_0x4866ad(0x1e2)]=this[_0x4866ad(0x1f4)](),this[_0x4866ad(0x1fa)]=new _0x3e3f49(),this[_0x4866ad(0x1fb)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x4866ad(0x1ff)]({'tag':_0x4866ad(0x1ef),'attributes':{'aria-haspopup':_0x5207f9['if'](_0x4866ad(0x1e0)),'aria-expanded':_0x5207f9['to'](_0x4866ad(0x1e4),_0x1b4ee0=>this[_0x4866ad(0x1e0)]&&String(_0x1b4ee0)),'aria-label':_0x5207f9['to'](_0x4866ad(0x1e0),_0x179ee1=>_0x47763d(_0x23ad9,_0x179ee1?_0x4866ad(0x1f2):_0x4866ad(0x1f1))),'role':_0x4866ad(0x1e6),'tabindex':_0x5207f9['to'](_0x4866ad(0x1e0),_0x148279=>!!_0x148279&&0x0),'class':['ck',_0x4866ad(0x1f6)]},'children':this[_0x4866ad(0x1e2)],'on':{'mouseenter':_0x5207f9['to'](()=>this[_0x4866ad(0x1f0)](_0x4866ad(0x1ec))),'mouseleave':_0x5207f9['to'](_0x50369e=>{const _0x15bf0c=_0x4866ad,_0x4f1b2e=_0x50369e,_0x40965b=document[_0x15bf0c(0x1e7)](_0x15bf0c(0x1f9)),_0x684af2=document[_0x15bf0c(0x1e7)](_0x15bf0c(0x1e5));_0x40965b?.[_0x15bf0c(0x1de)](_0x4f1b2e[_0x15bf0c(0x200)])||_0x684af2?.[_0x15bf0c(0x1de)](_0x4f1b2e[_0x15bf0c(0x200)])||this[_0x15bf0c(0x1f0)](_0x15bf0c(0x1f5));})}}),this['on'](_0x4866ad(0x1eb),(_0x3c5244,_0x4a769f,_0x309c54)=>{const _0x42cadc=_0x4866ad;this[_0x42cadc(0x1ed)]&&(_0x309c54?this[_0x42cadc(0x1ed)][_0x42cadc(0x1ee)](_0x42cadc(0x1f8),String(this[_0x42cadc(0x1e4)])):this[_0x42cadc(0x1ed)][_0x42cadc(0x1e9)](_0x42cadc(0x1f8)));});}[_0x3e0c87(0x1f7)](){const _0x34ecec=_0x3e0c87;this[_0x34ecec(0x1ed)][_0x34ecec(0x1f7)]();}[_0x3e0c87(0x1e8)](){const _0x16b714=_0x3e0c87;super[_0x16b714(0x1e8)](),this[_0x16b714(0x1fa)][_0x16b714(0x1dd)](this[_0x16b714(0x1ed)]);}}
23
+ const _0x2e167e=_0x5d18;(function(_0x46eb9d,_0x460ca1){const _0x518b88=_0x5d18,_0x4d1cad=_0x46eb9d();while(!![]){try{const _0x4b123f=parseInt(_0x518b88(0x1aa))/0x1*(parseInt(_0x518b88(0x1a8))/0x2)+-parseInt(_0x518b88(0x19d))/0x3+-parseInt(_0x518b88(0x1af))/0x4+-parseInt(_0x518b88(0x1b6))/0x5*(-parseInt(_0x518b88(0x1a9))/0x6)+-parseInt(_0x518b88(0x19f))/0x7*(parseInt(_0x518b88(0x1a2))/0x8)+parseInt(_0x518b88(0x1ae))/0x9*(parseInt(_0x518b88(0x199))/0xa)+parseInt(_0x518b88(0x1a7))/0xb*(parseInt(_0x518b88(0x1b9))/0xc);if(_0x4b123f===_0x460ca1)break;else _0x4d1cad['push'](_0x4d1cad['shift']());}catch(_0x5ccb18){_0x4d1cad['push'](_0x4d1cad['shift']());}}}(_0x7da7,0xcfc0c));import{View as _0x5477a3}from'ckeditor5/src/ui.js';function _0x5d18(_0x2162ae,_0x549dce){const _0x7da78e=_0x7da7();return _0x5d18=function(_0x5d18a2,_0x1e415d){_0x5d18a2=_0x5d18a2-0x198;let _0x551f4b=_0x7da78e[_0x5d18a2];return _0x551f4b;},_0x5d18(_0x2162ae,_0x549dce);}function _0x7da7(){const _0x4ec115=['contains','hasPopup','presencelist:hide','set','div','10zQpIiJ','keystrokes','bindTemplate','removeAttribute','2804904hjcSpY','ck-presence-list__list','3823561tEjsjf','createCollection','setAttribute','8NABhkI','aria-expanded','render','change:hasPopup','.ck-balloon-panel_with-arrow','550zKbEgb','2dBnEiB','6QbVOUr','624521SoRTkU','.ck-presence-list__dropdown-list','items','listenTo','3372183KHgkPR','6642384hTynpe','Connected\x20users\x20list','relatedTarget','fire','presencelist:show','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','isExpanded','492925bMHNcW','focus','element','694788dIuRrp','querySelector','list','setTemplate'];_0x7da7=function(){return _0x4ec115;};return _0x7da7();}import{KeystrokeHandler as _0x33bd30}from'ckeditor5/src/utils.js';import{getTranslation as _0x180e78}from'../../common-translations.js';export class PresenceInlineListView extends _0x5477a3{[_0x2e167e(0x1ac)];[_0x2e167e(0x19a)];constructor(_0x4622ac){const _0x40f7ce=_0x2e167e;super(_0x4622ac);const _0x47dd60=this[_0x40f7ce(0x19b)];this[_0x40f7ce(0x1ac)]=this[_0x40f7ce(0x1a0)](),this[_0x40f7ce(0x19a)]=new _0x33bd30(),this[_0x40f7ce(0x1c0)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x40f7ce(0x1bc)]({'tag':_0x40f7ce(0x198),'attributes':{'aria-haspopup':_0x47dd60['if'](_0x40f7ce(0x1be)),'aria-expanded':_0x47dd60['to'](_0x40f7ce(0x1b5),_0x9b40a5=>this[_0x40f7ce(0x1be)]&&String(_0x9b40a5)),'aria-label':_0x47dd60['to'](_0x40f7ce(0x1be),_0x5494a2=>_0x180e78(_0x4622ac,_0x5494a2?_0x40f7ce(0x1b4):_0x40f7ce(0x1b0))),'role':_0x40f7ce(0x1bb),'tabindex':_0x47dd60['to'](_0x40f7ce(0x1be),_0x5d7f89=>!!_0x5d7f89&&0x0),'class':['ck',_0x40f7ce(0x19e)]},'children':this[_0x40f7ce(0x1ac)],'on':{'mouseenter':_0x47dd60['to'](()=>this[_0x40f7ce(0x1b2)](_0x40f7ce(0x1b3))),'mouseleave':_0x47dd60['to'](_0x80564c=>{const _0x1cbcd7=_0x40f7ce,_0x494ef2=_0x80564c,_0x1aa404=document[_0x1cbcd7(0x1ba)](_0x1cbcd7(0x1ab)),_0x1c5755=document[_0x1cbcd7(0x1ba)](_0x1cbcd7(0x1a6));_0x1aa404?.[_0x1cbcd7(0x1bd)](_0x494ef2[_0x1cbcd7(0x1b1)])||_0x1c5755?.[_0x1cbcd7(0x1bd)](_0x494ef2[_0x1cbcd7(0x1b1)])||this[_0x1cbcd7(0x1b2)](_0x1cbcd7(0x1bf));})}}),this['on'](_0x40f7ce(0x1a5),(_0x29491b,_0x439af1,_0x276dc5)=>{const _0x42b1e3=_0x40f7ce;this[_0x42b1e3(0x1b8)]&&(_0x276dc5?this[_0x42b1e3(0x1b8)][_0x42b1e3(0x1a1)](_0x42b1e3(0x1a3),String(this[_0x42b1e3(0x1b5)])):this[_0x42b1e3(0x1b8)][_0x42b1e3(0x19c)](_0x42b1e3(0x1a3)));});}[_0x2e167e(0x1b7)](){const _0x4d9ec3=_0x2e167e;this[_0x4d9ec3(0x1b8)][_0x4d9ec3(0x1b7)]();}[_0x2e167e(0x1a4)](){const _0x21719f=_0x2e167e;super[_0x21719f(0x1a4)](),this[_0x21719f(0x19a)][_0x21719f(0x1ad)](this[_0x21719f(0x1b8)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1acaf3=_0x165f;function _0x5673(){const _0x221713=['6hnjwwY','listenTo','8oeEGkS','hasPopup','1220560aNdZcw','div','inlineListView','change','isCollapsed','ck-presence-list--collapsed','items','3939201eSpgxm','bindTemplate','bind','1886305YJNnSs','580041NSyGnO','ck-presence-list','counterView','setTemplate','first','1474881XVlwZz','set','tooltipPosition','ck-reset','locale','ck-rounded-corners','1915526HZbGsA','3026695uMQivd'];_0x5673=function(){return _0x221713;};return _0x5673();}function _0x165f(_0x46d31c,_0x40d706){const _0x5673c9=_0x5673();return _0x165f=function(_0x165f85,_0x7f20fe){_0x165f85=_0x165f85-0xf3;let _0x29e4c7=_0x5673c9[_0x165f85];return _0x29e4c7;},_0x165f(_0x46d31c,_0x40d706);}(function(_0x35204a,_0x442b2f){const _0x579b48=_0x165f,_0x5e4839=_0x35204a();while(!![]){try{const _0x1b965f=-parseInt(_0x579b48(0xff))/0x1+-parseInt(_0x579b48(0x10a))/0x2+parseInt(_0x579b48(0x104))/0x3+parseInt(_0x579b48(0xf4))/0x4+parseInt(_0x579b48(0xfe))/0x5*(parseInt(_0x579b48(0x10c))/0x6)+-parseInt(_0x579b48(0x10b))/0x7*(-parseInt(_0x579b48(0x10e))/0x8)+parseInt(_0x579b48(0xfb))/0x9;if(_0x1b965f===_0x442b2f)break;else _0x5e4839['push'](_0x5e4839['shift']());}catch(_0x5b1138){_0x5e4839['push'](_0x5e4839['shift']());}}}(_0x5673,0x7b9ba));import{View as _0x58057b}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x45acde}from'./presencecounterview.js';import{PresenceInlineListView as _0x364c5e}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x58057b{[_0x1acaf3(0x101)];[_0x1acaf3(0xf6)];constructor(_0x239d2d,_0x33237d=0x6){const _0x7cc7f8=_0x1acaf3;super(_0x239d2d);const _0x1c6ada=this[_0x7cc7f8(0xfc)];this[_0x7cc7f8(0x105)](_0x7cc7f8(0xf8),!0x0),this[_0x7cc7f8(0x101)]=new _0x45acde(this[_0x7cc7f8(0x108)],_0x33237d),this[_0x7cc7f8(0xf6)]=new _0x364c5e(_0x239d2d),this[_0x7cc7f8(0xf6)][_0x7cc7f8(0xfd)](_0x7cc7f8(0xf3))['to'](this,_0x7cc7f8(0xf8)),this[_0x7cc7f8(0x10d)](this[_0x7cc7f8(0xf6)][_0x7cc7f8(0xfa)],_0x7cc7f8(0xf7),()=>{const _0x495f4e=_0x7cc7f8;for(const _0x1287c6 of this[_0x495f4e(0xf6)][_0x495f4e(0xfa)])_0x1287c6[_0x495f4e(0x106)]='s';this[_0x495f4e(0xf6)][_0x495f4e(0xfa)][_0x495f4e(0x103)]&&(this[_0x495f4e(0xf6)][_0x495f4e(0xfa)][_0x495f4e(0x103)][_0x495f4e(0x106)]='se');}),this[_0x7cc7f8(0x102)]({'tag':_0x7cc7f8(0xf5),'attributes':{'class':['ck',_0x7cc7f8(0x100),_0x7cc7f8(0x107),_0x7cc7f8(0x109),_0x1c6ada['if'](_0x7cc7f8(0xf8),_0x7cc7f8(0xf9))]},'children':[this[_0x7cc7f8(0xf6)]]});}}
23
+ const _0x37bf1a=_0x5e0c;function _0x38b2(){const _0x4ce91f=['2800xAXCKS','listenTo','tooltipPosition','533244chfkJr','40518COAlOq','isCollapsed','first','5664IJFfID','8vLQKOX','counterView','2050CogRuU','ck-presence-list--collapsed','set','change','inlineListView','setTemplate','652858vTIrDt','locale','22452ynczcN','ck-reset','ck-rounded-corners','1352064uFnbKu','hasPopup','items','bind','ck-presence-list','bindTemplate','2929780NqsbGu','div'];_0x38b2=function(){return _0x4ce91f;};return _0x38b2();}function _0x5e0c(_0x13260b,_0x5678e4){const _0x38b2ab=_0x38b2();return _0x5e0c=function(_0x5e0c97,_0x50c3c0){_0x5e0c97=_0x5e0c97-0x1c0;let _0x38aa74=_0x38b2ab[_0x5e0c97];return _0x38aa74;},_0x5e0c(_0x13260b,_0x5678e4);}(function(_0x55f1fc,_0x1aa114){const _0x1f6d6b=_0x5e0c,_0x41f596=_0x55f1fc();while(!![]){try{const _0x422ada=-parseInt(_0x1f6d6b(0x1c4))/0x1+parseInt(_0x1f6d6b(0x1d1))/0x2+parseInt(_0x1f6d6b(0x1d3))/0x3*(-parseInt(_0x1f6d6b(0x1c9))/0x4)+-parseInt(_0x1f6d6b(0x1dc))/0x5+-parseInt(_0x1f6d6b(0x1c8))/0x6*(-parseInt(_0x1f6d6b(0x1c1))/0x7)+-parseInt(_0x1f6d6b(0x1d6))/0x8+parseInt(_0x1f6d6b(0x1c5))/0x9*(parseInt(_0x1f6d6b(0x1cb))/0xa);if(_0x422ada===_0x1aa114)break;else _0x41f596['push'](_0x41f596['shift']());}catch(_0x2204ca){_0x41f596['push'](_0x41f596['shift']());}}}(_0x38b2,0x4f0b3));import{View as _0x53fa01}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x79488d}from'./presencecounterview.js';import{PresenceInlineListView as _0x5902fe}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x53fa01{[_0x37bf1a(0x1ca)];[_0x37bf1a(0x1cf)];constructor(_0x55613c,_0x56d3b6=0x6){const _0x2dc0b1=_0x37bf1a;super(_0x55613c);const _0x39488f=this[_0x2dc0b1(0x1db)];this[_0x2dc0b1(0x1cd)](_0x2dc0b1(0x1c6),!0x0),this[_0x2dc0b1(0x1ca)]=new _0x79488d(this[_0x2dc0b1(0x1d2)],_0x56d3b6),this[_0x2dc0b1(0x1cf)]=new _0x5902fe(_0x55613c),this[_0x2dc0b1(0x1cf)][_0x2dc0b1(0x1d9)](_0x2dc0b1(0x1d7))['to'](this,_0x2dc0b1(0x1c6)),this[_0x2dc0b1(0x1c2)](this[_0x2dc0b1(0x1cf)][_0x2dc0b1(0x1d8)],_0x2dc0b1(0x1ce),()=>{const _0x5d216a=_0x2dc0b1;for(const _0x692394 of this[_0x5d216a(0x1cf)][_0x5d216a(0x1d8)])_0x692394[_0x5d216a(0x1c3)]='s';this[_0x5d216a(0x1cf)][_0x5d216a(0x1d8)][_0x5d216a(0x1c7)]&&(this[_0x5d216a(0x1cf)][_0x5d216a(0x1d8)][_0x5d216a(0x1c7)][_0x5d216a(0x1c3)]='se');}),this[_0x2dc0b1(0x1d0)]({'tag':_0x2dc0b1(0x1c0),'attributes':{'class':['ck',_0x2dc0b1(0x1da),_0x2dc0b1(0x1d4),_0x2dc0b1(0x1d5),_0x39488f['if'](_0x2dc0b1(0x1c6),_0x2dc0b1(0x1cc))]},'children':[this[_0x2dc0b1(0x1cf)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2e06a4=_0xc1d5;(function(_0x14da21,_0x24c23f){var _0x292972=_0xc1d5,_0x29b5a4=_0x14da21();while(!![]){try{var _0x32af14=-parseInt(_0x292972(0x95))/0x1+-parseInt(_0x292972(0x94))/0x2+-parseInt(_0x292972(0x92))/0x3*(-parseInt(_0x292972(0x88))/0x4)+parseInt(_0x292972(0x91))/0x5+parseInt(_0x292972(0x8e))/0x6+parseInt(_0x292972(0x8a))/0x7*(-parseInt(_0x292972(0x8b))/0x8)+-parseInt(_0x292972(0x8f))/0x9*(-parseInt(_0x292972(0x8d))/0xa);if(_0x32af14===_0x24c23f)break;else _0x29b5a4['push'](_0x29b5a4['shift']());}catch(_0x505874){_0x29b5a4['push'](_0x29b5a4['shift']());}}}(_0x3179,0xc15b9));import{ContextPlugin as _0x5aa8d4}from'ckeditor5/src/core.js';function _0xc1d5(_0x5beea6,_0xf038b6){var _0x317944=_0x3179();return _0xc1d5=function(_0xc1d520,_0x201a5d){_0xc1d520=_0xc1d520-0x87;var _0x257550=_0x317944[_0xc1d520];return _0x257550;},_0xc1d5(_0x5beea6,_0xf038b6);}import{Sessions as _0x18425a}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x586dbb}from'./presencelist/presencelistui.js';function _0x3179(){var _0x3f1098=['2524wYBXpq','PresenceList','1883KVjYGE','5656ZwwmXw','requires','3230MmlOZk','3608292jKmwAs','3447hbnpDl','isOfficialPlugin','2300970PJiJzD','2352wIPsYj','isPremiumPlugin','663720jTQhTK','365953zucYbY','pluginName'];_0x3179=function(){return _0x3f1098;};return _0x3179();}export class PresenceList extends _0x5aa8d4{static get[_0x2e06a4(0x8c)](){return[_0x18425a,_0x586dbb];}static get[_0x2e06a4(0x87)](){var _0x55cc8b=_0x2e06a4;return _0x55cc8b(0x89);}static get[_0x2e06a4(0x90)](){return!0x0;}static get[_0x2e06a4(0x93)](){return!0x0;}}
23
+ var _0x3fed49=_0x34c8;function _0x34c8(_0x1738e4,_0x2daf0f){var _0xe2ce4d=_0xe2ce();return _0x34c8=function(_0x34c8ec,_0x58e836){_0x34c8ec=_0x34c8ec-0x17c;var _0x29fbd7=_0xe2ce4d[_0x34c8ec];return _0x29fbd7;},_0x34c8(_0x1738e4,_0x2daf0f);}(function(_0x196f0b,_0x5a78fd){var _0x20f5e3=_0x34c8,_0x5aaeb7=_0x196f0b();while(!![]){try{var _0x337834=parseInt(_0x20f5e3(0x186))/0x1*(-parseInt(_0x20f5e3(0x17d))/0x2)+parseInt(_0x20f5e3(0x185))/0x3+-parseInt(_0x20f5e3(0x183))/0x4*(parseInt(_0x20f5e3(0x18b))/0x5)+-parseInt(_0x20f5e3(0x180))/0x6+parseInt(_0x20f5e3(0x187))/0x7+-parseInt(_0x20f5e3(0x188))/0x8*(-parseInt(_0x20f5e3(0x182))/0x9)+parseInt(_0x20f5e3(0x18a))/0xa*(parseInt(_0x20f5e3(0x17e))/0xb);if(_0x337834===_0x5a78fd)break;else _0x5aaeb7['push'](_0x5aaeb7['shift']());}catch(_0x25abb7){_0x5aaeb7['push'](_0x5aaeb7['shift']());}}}(_0xe2ce,0xbf82b));import{ContextPlugin as _0x534bcf}from'ckeditor5/src/core.js';import{Sessions as _0xb50748}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0xe0fcf3}from'./presencelist/presencelistui.js';export class PresenceList extends _0x534bcf{static get[_0x3fed49(0x189)](){return[_0xb50748,_0xe0fcf3];}static get[_0x3fed49(0x181)](){var _0x1a2bad=_0x3fed49;return _0x1a2bad(0x17f);}static get[_0x3fed49(0x17c)](){return!0x0;}static get[_0x3fed49(0x184)](){return!0x0;}}function _0xe2ce(){var _0x1f9264=['77HfcQcs','PresenceList','8104602apHLFI','pluginName','63kczzDu','4EIiieO','isPremiumPlugin','1840962vzhAya','2rDvTGf','3006255YbkjGL','727688hfujKq','requires','2402890WQURyk','6114545EcjugR','isOfficialPlugin','3766QcdMOh'];_0xe2ce=function(){return _0x1f9264;};return _0xe2ce();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x595455=_0x2a60;(function(_0x4e84d7,_0x5ec62c){const _0x3fcd54=_0x2a60,_0x227439=_0x4e84d7();while(!![]){try{const _0x51b47c=parseInt(_0x3fcd54(0x1c1))/0x1+parseInt(_0x3fcd54(0x1b4))/0x2*(-parseInt(_0x3fcd54(0x1d9))/0x3)+parseInt(_0x3fcd54(0x1ce))/0x4+parseInt(_0x3fcd54(0x195))/0x5*(-parseInt(_0x3fcd54(0x1c0))/0x6)+-parseInt(_0x3fcd54(0x1e3))/0x7+-parseInt(_0x3fcd54(0x1cf))/0x8+parseInt(_0x3fcd54(0x1ea))/0x9;if(_0x51b47c===_0x5ec62c)break;else _0x227439['push'](_0x227439['shift']());}catch(_0x1c85fa){_0x227439['push'](_0x227439['shift']());}}}(_0x5c34,0xbea4b));function _0x2a60(_0x36e309,_0x5dbe91){const _0x5c34f6=_0x5c34();return _0x2a60=function(_0x2a6090,_0x22a2e2){_0x2a6090=_0x2a6090-0x189;let _0x416490=_0x5c34f6[_0x2a6090];return _0x416490;},_0x2a60(_0x36e309,_0x5dbe91);}import{Context as _0x2a4c82,ContextPlugin as _0x2badf9}from'ckeditor5/src/core.js';import{CKEditorError as _0x226f06}from'ckeditor5/src/utils.js';import{Users as _0xf05050}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x55c174,User as _0x13dd30}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x101abd}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x14914d}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x2badf9{static [_0x595455(0x19c)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x55c174)());[_0x595455(0x1c7)];static get[_0x595455(0x1e2)](){const _0x34d5e2=_0x595455;return[_0x101abd,_0x34d5e2(0x1d7),_0x14914d,_0xf05050];}static get[_0x595455(0x1a0)](){const _0x309438=_0x595455;return _0x309438(0x1d5);}static get[_0x595455(0x1a8)](){return!0x0;}static get[_0x595455(0x189)](){return!0x0;}constructor(_0xb15e88){const _0x4bdf65=_0x595455;super(_0xb15e88),this[_0x4bdf65(0x1c7)]=new Map();}async[_0x595455(0x1de)](){const _0x67492d=_0x595455,_0x441149=this[_0x67492d(0x1bc)],_0x4e7ab6=_0x441149[_0x67492d(0x1b0)][_0x67492d(0x1e9)](_0x67492d(0x1d7));if(_0x441149[_0x67492d(0x1b0)][_0x67492d(0x1e9)](_0x101abd)[_0x67492d(0x18d)](this),_0x4e7ab6[_0x67492d(0x1cb)]={'addCommentThread':async({channelId:_0x946c34,threadId:_0x229b66,comments:_0x3e7e79,resolvedAt:_0x4a16f6,resolvedBy:_0x22d5f6,context:_0x121f43,attributes:_0x3e8af2})=>{const _0x290f22=_0x67492d,_0x597684=await this[_0x290f22(0x1ed)](_0x946c34)[_0x290f22(0x1a1)]({'commentThreadId':_0x229b66,'comments':_0x3e7e79[_0x290f22(0x1c9)](_0x43f141=>function(_0x5d894f,_0x5767e3,_0x182473){const _0x4d323f=_0x290f22;return{'commentThreadId':_0x182473,'commentId':_0x5d894f[_0x4d323f(0x1e8)],'userId':_0x5d894f[_0x4d323f(0x1a2)],'content':_0x5d894f[_0x4d323f(0x196)],'documentId':_0x5767e3,'createdAt':_0x5d894f[_0x4d323f(0x1da)],'attributes':_0x5d894f[_0x4d323f(0x1a5)]||{}};}(_0x43f141,_0x946c34,_0x229b66)),'resolvedAt':_0x4a16f6,'resolvedBy':_0x22d5f6,'context':_0x121f43,'attributes':_0x3e8af2})[_0x290f22(0x19e)](A);return{'threadId':_0x597684[_0x290f22(0x1b5)],'comments':_0x597684[_0x290f22(0x1be)]};},'getCommentThread':async({channelId:_0x41db9d,threadId:_0x193b18})=>{const _0x368a51=_0x67492d,_0x22d341=await this[_0x368a51(0x1ed)](_0x41db9d)[_0x368a51(0x190)](_0x193b18)[_0x368a51(0x19e)](f)[_0x368a51(0x19e)](A);return _0x22d341?_0x22d341[_0x368a51(0x1c3)]?null:(await this[_0x368a51(0x1b2)]([_0x22d341]),{'threadId':_0x22d341[_0x368a51(0x1b5)],'comments':_0x22d341[_0x368a51(0x1be)][_0x368a51(0x1c9)](p),'context':_0x22d341[_0x368a51(0x1bc)],'resolvedAt':_0x22d341[_0x368a51(0x1bf)],'resolvedBy':_0x22d341[_0x368a51(0x1a9)],'attributes':_0x22d341[_0x368a51(0x1a5)]||{}}):null;},'updateCommentThread':async({channelId:_0x12cbcd,threadId:_0x53b634,context:_0x3e8a1f,unlinkedAt:_0x1932ec,attributes:_0x10ca2a})=>this[_0x67492d(0x1ed)](_0x12cbcd)[_0x67492d(0x1c4)]({'commentThreadId':_0x53b634,'context':_0x3e8a1f,'attributes':_0x10ca2a,'unlinkedAt':_0x1932ec})[_0x67492d(0x19e)](f)[_0x67492d(0x19e)](A),'resolveCommentThread':async({channelId:_0x320461,threadId:_0x3c6ee3})=>{const _0x151038=_0x67492d,_0x301a65=await this[_0x151038(0x1ed)](_0x320461)[_0x151038(0x1c8)](_0x3c6ee3)[_0x151038(0x19e)](f)[_0x151038(0x19e)](A);return{'threadId':_0x301a65[_0x151038(0x1b5)],'resolvedAt':_0x301a65[_0x151038(0x1bf)],'resolvedBy':_0x301a65[_0x151038(0x1a9)]};},'reopenCommentThread':async({channelId:_0x3bd9bf,threadId:_0xf851ef})=>this[_0x67492d(0x1ed)](_0x3bd9bf)[_0x67492d(0x1e1)](_0xf851ef)[_0x67492d(0x19e)](f)[_0x67492d(0x19e)](A),'removeCommentThread':({channelId:_0xac37f7,threadId:_0xde90f7})=>this[_0x67492d(0x1ed)](_0xac37f7)[_0x67492d(0x1e7)](_0xde90f7)[_0x67492d(0x19e)](f)[_0x67492d(0x19e)](A),'addComment':({channelId:_0x5479f9,threadId:_0x462699,commentId:_0x4cc0fb,content:_0x2fe0da,attributes:_0x2bf6b1})=>this[_0x67492d(0x1ed)](_0x5479f9)[_0x67492d(0x1b7)](_0x462699,_0x4cc0fb,_0x2fe0da,_0x2bf6b1)[_0x67492d(0x19e)](A),'updateComment':({channelId:_0x5892ee,threadId:_0x32af59,commentId:_0x4b2ed4,content:_0x1dc8b9,attributes:_0x51d18b})=>this[_0x67492d(0x1ed)](_0x5892ee)[_0x67492d(0x1d8)](_0x32af59,_0x4b2ed4,_0x1dc8b9,_0x51d18b)[_0x67492d(0x19e)](f)[_0x67492d(0x19e)](A),'removeComment':({channelId:_0x161a79,threadId:_0x32ee4d,commentId:_0x37ac6c})=>this[_0x67492d(0x1ed)](_0x161a79)[_0x67492d(0x1ab)](_0x32ee4d,_0x37ac6c)[_0x67492d(0x19e)](f)[_0x67492d(0x19e)](A)},_0x441149 instanceof _0x2a4c82){const _0x1b95e6=_0x441149[_0x67492d(0x1c6)][_0x67492d(0x1e9)](_0x67492d(0x1b8)),_0x4e1501=_0x441149[_0x67492d(0x1b0)][_0x67492d(0x1e9)](_0x14914d);await this[_0x67492d(0x19f)](_0x1b95e6);const _0x19eff0=await this[_0x67492d(0x1c7)][_0x67492d(0x1e9)](_0x1b95e6)[_0x67492d(0x1b3)]();this[_0x67492d(0x1ad)](_0x4e1501,_0x67492d(0x1bd)+_0x1b95e6,(_0x1f4f56,{session:_0x2ce5b4})=>{const _0xf2e67a=_0x67492d;_0x2ce5b4['id']===_0x4e1501[_0xf2e67a(0x1af)]&&(_0x1f4f56[_0xf2e67a(0x1ae)](),this[_0xf2e67a(0x1bc)][_0xf2e67a(0x1b0)][_0xf2e67a(0x1e9)](_0xf2e67a(0x194))[_0xf2e67a(0x191)](_0x2ce5b4[_0xf2e67a(0x18e)],_0x1b95e6));}),_0x4e1501[_0x67492d(0x1b9)](_0x1b95e6,_0x19eff0);}}async[_0x595455(0x19f)](_0x2d0e44){const _0x480308=_0x595455;if(this[_0x480308(0x1c7)][_0x480308(0x1d4)](_0x2d0e44))throw new _0x226f06(_0x480308(0x19b),null,{'channelId':_0x2d0e44});const _0x5d70c8=this[_0x480308(0x1bc)][_0x480308(0x1b0)][_0x480308(0x1e9)](_0x480308(0x1d7)),_0x11fc84=new CloudServicesCommentsAdapter[(_0x480308(0x19c))](_0x2d0e44);this[_0x480308(0x1c7)][_0x480308(0x1cc)](_0x2d0e44,_0x11fc84),this[_0x480308(0x1ad)](_0x11fc84,_0x480308(0x1ba),(_0x469eb4,_0x41bde6)=>{const _0x10be52=_0x480308,{commentThreadId:_0x48334f,documentId:_0x3e6461,context:_0x246a68,attributes:_0x6ccbd8,resolvedAt:_0x2db993,resolvedBy:_0x4054b4,comments:_0x2867b7}=_0x41bde6;_0x5d70c8[_0x10be52(0x190)](_0x48334f)||_0x5d70c8[_0x10be52(0x1a1)]({'threadId':_0x48334f,'channelId':_0x3e6461,'comments':_0x2867b7?_0x2867b7[_0x10be52(0x1c9)](p):[],'context':_0x246a68,'attributes':_0x6ccbd8,'resolvedAt':_0x2db993,'resolvedBy':_0x4054b4,'isFromAdapter':!0x0});}),this[_0x480308(0x1ad)](_0x11fc84,_0x480308(0x1a7),(_0x50f2c9,{commentThreadId:_0x1ba8c0,documentId:_0x447ad3,context:_0x5a1c9b,unlinkedAt:_0x4e5016,attributes:_0x2f344f})=>{const _0x3843c1=_0x480308;_0x5d70c8[_0x3843c1(0x190)](_0x1ba8c0)&&_0x5d70c8[_0x3843c1(0x1c4)]({'threadId':_0x1ba8c0,'channelId':_0x447ad3,'context':_0x5a1c9b,'unlinkedAt':_0x4e5016,'attributes':_0x2f344f,'isFromAdapter':!0x0});}),this[_0x480308(0x1ad)](_0x11fc84,_0x480308(0x1ac),(_0x4732ba,{commentThreadId:_0x194207,resolvedBy:_0x476e84,resolvedAt:_0x34674f})=>{const _0x27ac3a=_0x480308,_0x3f41e5=_0x5d70c8[_0x27ac3a(0x190)](_0x194207);_0x3f41e5&&_0x3f41e5[_0x27ac3a(0x1c5)]({'resolvedBy':_0x476e84,'resolvedAt':_0x34674f,'isFromAdapter':!0x0});}),this[_0x480308(0x1ad)](_0x11fc84,_0x480308(0x198),(_0x172799,{commentThreadId:_0x4531db})=>{const _0x5a882d=_0x480308,_0x4690f5=_0x5d70c8[_0x5a882d(0x190)](_0x4531db);_0x4690f5&&_0x4690f5[_0x5a882d(0x1e6)]({'isFromAdapter':!0x0});}),this[_0x480308(0x1ad)](_0x11fc84,_0x480308(0x192),(_0x4089d3,{commentThreadId:_0x1f445a})=>{const _0x504316=_0x480308,_0x14fbcd=_0x5d70c8[_0x504316(0x190)](_0x1f445a);_0x14fbcd&&_0x14fbcd[_0x504316(0x1eb)]({'isFromAdapter':!0x0});}),this[_0x480308(0x1ad)](_0x11fc84,_0x480308(0x1e5),(_0x154544,_0x2205fc)=>{const _0xa85f2d=_0x480308,_0x4c7622=_0x2205fc[_0xa85f2d(0x1b5)],_0x286a89=_0x5d70c8[_0xa85f2d(0x190)](_0x4c7622);_0x286a89&&_0x286a89[_0xa85f2d(0x1b7)]({...p(_0x2205fc),'isFromAdapter':!0x0});}),this[_0x480308(0x1ad)](_0x11fc84,_0x480308(0x1b1),(_0x406158,{commentThreadId:_0x4ceddb,commentId:_0x2dc59c,content:_0x5aa378,attributes:_0x5ab058})=>{const _0x1ee2e2=_0x480308,_0x4bfdb6=_0x5d70c8[_0x1ee2e2(0x190)](_0x4ceddb);if(_0x4bfdb6){const _0x34d36f=_0x4bfdb6[_0x1ee2e2(0x1a4)](_0x2dc59c);_0x34d36f&&_0x34d36f[_0x1ee2e2(0x1d3)]({'content':_0x5aa378,'attributes':_0x5ab058,'isFromAdapter':!0x0});}}),this[_0x480308(0x1ad)](_0x11fc84,_0x480308(0x1db),(_0x50fedc,{commentThreadId:_0x4acd61,commentId:_0x40c2c1})=>{const _0x5ea00b=_0x480308,_0x291fb1=_0x5d70c8[_0x5ea00b(0x190)](_0x4acd61);if(_0x291fb1){const _0x4f3156=_0x291fb1[_0x5ea00b(0x1a4)](_0x40c2c1);_0x4f3156&&_0x4f3156[_0x5ea00b(0x1eb)]({'isFromAdapter':!0x0});}}),await this[_0x480308(0x1d6)](_0x2d0e44);}[_0x595455(0x1bb)](){const _0x36eb3d=_0x595455;if(this[_0x36eb3d(0x1bc)]instanceof _0x2a4c82){const _0x1378a7=this[_0x36eb3d(0x1bc)][_0x36eb3d(0x1c6)][_0x36eb3d(0x1e9)](_0x36eb3d(0x1b8));this[_0x36eb3d(0x19d)](_0x1378a7);}}[_0x595455(0x19d)](_0x217d43){const _0x377c01=_0x595455;if(!this[_0x377c01(0x1c7)][_0x377c01(0x1d4)](_0x217d43))throw new _0x226f06(_0x377c01(0x193),null,{'channelId':_0x217d43});this[_0x377c01(0x1ed)](_0x217d43)[_0x377c01(0x18a)](),this[_0x377c01(0x1c7)][_0x377c01(0x1a6)](_0x217d43);}async[_0x595455(0x1ca)](){const _0x10ff66=_0x595455;for(const _0x24453e of this[_0x10ff66(0x1c7)][_0x10ff66(0x1a3)]())await this[_0x10ff66(0x1d6)](_0x24453e);if(this[_0x10ff66(0x1bc)]instanceof _0x2a4c82){const _0x37fd1f=this[_0x10ff66(0x1bc)][_0x10ff66(0x1c6)][_0x10ff66(0x1e9)](_0x10ff66(0x1b8)),_0x5d8dbc=this[_0x10ff66(0x1bc)][_0x10ff66(0x1b0)][_0x10ff66(0x1e9)](_0x14914d);_0x5d8dbc[_0x10ff66(0x1d1)](_0x37fd1f);const _0x4e0fd2=await this[_0x10ff66(0x1c7)][_0x10ff66(0x1e9)](_0x37fd1f)[_0x10ff66(0x1b3)]();_0x5d8dbc[_0x10ff66(0x1b9)](_0x37fd1f,_0x4e0fd2);}}async[_0x595455(0x1d6)](_0x109d9a){const _0x594ec5=_0x595455,{connection:_0x5d8c90}=this[_0x594ec5(0x1bc)][_0x594ec5(0x1b0)][_0x594ec5(0x1e9)](_0x101abd),_0xf997b5=this[_0x594ec5(0x1bc)][_0x594ec5(0x1b0)][_0x594ec5(0x1e9)](_0x594ec5(0x1d7)),_0x2d64ce=this[_0x594ec5(0x1c7)][_0x594ec5(0x1e9)](_0x109d9a),_0x3c5c2a=await _0x2d64ce[_0x594ec5(0x1c2)](_0x5d8c90);await this[_0x594ec5(0x1b2)](_0x3c5c2a);const _0x506f06=new Set(Array[_0x594ec5(0x18c)](_0xf997b5[_0x594ec5(0x18f)]({'channelId':_0x109d9a}),_0x2b4fe8=>_0x2b4fe8['id']));for(const _0x3d7b8a of _0x3c5c2a)_0x3d7b8a[_0x594ec5(0x1c3)]||_0x506f06[_0x594ec5(0x1a6)](_0x3d7b8a[_0x594ec5(0x1b5)]);for(const _0x361563 of _0x506f06)_0xf997b5[_0x594ec5(0x190)](_0x361563)[_0x594ec5(0x1eb)]({'isFromAdapter':!0x0});for(const _0x586b2a of _0x3c5c2a){let _0x450810=_0xf997b5[_0x594ec5(0x190)](_0x586b2a[_0x594ec5(0x1b5)]);const {commentThreadId:_0xeb5d8,context:_0x4762bd,attributes:_0x4a230b,resolvedBy:_0x2d6f5d,resolvedAt:_0x44512b,unlinkedAt:_0x576a0c,deletedAt:_0x2875e0}=_0x586b2a;if(_0x2875e0)continue;_0x450810||(_0x450810=_0xf997b5[_0x594ec5(0x1a1)]({'channelId':_0x109d9a,'threadId':_0xeb5d8,'context':_0x4762bd,'attributes':_0x4a230b||{},'resolvedBy':_0x2d6f5d,'resolvedAt':_0x44512b,'unlinkedAt':_0x576a0c,'isFromAdapter':!0x0}));const _0x45a16b=new Set(Array[_0x594ec5(0x18c)](_0x450810[_0x594ec5(0x1be)],_0x4351c3=>_0x4351c3['id']));for(const _0x3eaa5d of _0x586b2a[_0x594ec5(0x1be)])_0x45a16b[_0x594ec5(0x1a6)](_0x3eaa5d[_0x594ec5(0x1e8)]);for(const _0x1eb6f5 of _0x45a16b)_0x450810[_0x594ec5(0x1a4)](_0x1eb6f5)[_0x594ec5(0x1eb)]({'isFromAdapter':!0x0});for(const _0x4c478a of _0x586b2a[_0x594ec5(0x1be)]){const _0x1f3a13=_0x450810[_0x594ec5(0x1a4)](_0x4c478a[_0x594ec5(0x1e8)]);_0x1f3a13?_0x1f3a13[_0x594ec5(0x196)]!==_0x4c478a[_0x594ec5(0x196)]&&_0x1f3a13[_0x594ec5(0x1d3)]({'content':_0x4c478a[_0x594ec5(0x196)],'isFromAdapter':!0x0}):_0x450810[_0x594ec5(0x1b7)](Object[_0x594ec5(0x199)](p(_0x4c478a),{'isFromAdapter':!0x0}));}}}[_0x595455(0x1ed)](_0x406d18){const _0x811d3d=_0x595455;if(!this[_0x811d3d(0x1c7)][_0x811d3d(0x1d4)](_0x406d18))throw new _0x226f06(_0x811d3d(0x1dc),null,{'channelId':_0x406d18});return this[_0x811d3d(0x1c7)][_0x811d3d(0x1e9)](_0x406d18);}async[_0x595455(0x1b2)](_0x10bff0){const _0x52d6f9=_0x595455,_0xf9881b=this[_0x52d6f9(0x1bc)][_0x52d6f9(0x1b0)][_0x52d6f9(0x1e9)](_0xf05050),{connection:_0x1e9023}=this[_0x52d6f9(0x1bc)][_0x52d6f9(0x1b0)][_0x52d6f9(0x1e9)](_0x101abd),_0x29b42b=new Set();for(const {resolvedBy:_0xaeee9b,comments:_0xddca51}of _0x10bff0){_0xaeee9b&&!_0xf9881b[_0x52d6f9(0x19a)](_0xaeee9b)&&_0x29b42b[_0x52d6f9(0x1df)](_0xaeee9b);for(const {userId:_0x56147d}of _0xddca51)_0xf9881b[_0x52d6f9(0x19a)](_0x56147d)||_0x29b42b[_0x52d6f9(0x1df)](_0x56147d);}if(0x0===_0x29b42b[_0x52d6f9(0x1d2)])return;const _0x336d63=await _0x13dd30[_0x52d6f9(0x18b)](_0x1e9023,Array[_0x52d6f9(0x18c)](_0x29b42b));for(const _0x5daa36 of _0x336d63)_0xf9881b[_0x52d6f9(0x19a)](_0x5daa36['id'])||_0xf9881b[_0x52d6f9(0x1b6)](_0x5daa36);}}function _0x5c34(){const _0x57b4db=['plugins','commentUpdated','_fetchMissingUsersForThreads','getConnectedSessions','2YrmwyT','commentThreadId','addUser','addComment','collaboration.channelId','register','commentThreadAdded','destroy','context','sessionAdd:','comments','resolvedAt','294876zanGSY','195223zyKqxz','connect','deletedAt','updateCommentThread','resolve','config','_services','resolveCommentThread','map','reconnect','adapter','set','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','3916460RtvAjo','4881696jObfMZ','cloud-services-internal-error:\x20Request\x20timeout.','unregister','size','update','has','CloudServicesCommentsAdapter','_connectService','CommentsRepository','updateComment','2827527iCxlbs','createdAt','commentRemoved','cloudservicescommentsadapter-service-not-exist','userId','init','add','startsWith','reopenCommentThread','requires','5836439DFasfi','message','commentAdded','reopen','removeCommentThread','commentId','get','30322107nTFUxU','remove','404','_getService','isPremiumPlugin','disconnect','getMany','from','addToReconnectionStack','permissions','getCommentThreads','getCommentThread','setPermissions','commentThreadRemoved','cloudservicescommentsadapter-disconnect-not-exist','Permissions','140SSmTyY','content','code','commentThreadReopened','assign','getUser','cloudservicescommentsadapter-connect-already-connected','CommentsService','_terminateService','catch','_setUpService','pluginName','addCommentThread','authorId','keys','getComment','attributes','delete','commentThreadUpdated','isOfficialPlugin','resolvedBy','cloud-services-internal-error:\x20Not\x20connected.','removeComment','commentThreadResolved','listenTo','off','mySessionId'];_0x5c34=function(){return _0x57b4db;};return _0x5c34();}async function f(_0x40a20d){const _0xf5854b=_0x595455;if(_0xf5854b(0x1ec)!==_0x40a20d[_0xf5854b(0x197)])throw _0x40a20d;}function A(_0x4237c7){const _0x1a43d3=_0x595455;if((_0xf121d7=_0x4237c7)[_0x1a43d3(0x1e4)][_0x1a43d3(0x1e0)](_0x1a43d3(0x1cd))||_0xf121d7[_0x1a43d3(0x1e4)][_0x1a43d3(0x1e0)](_0x1a43d3(0x1aa))||_0xf121d7[_0x1a43d3(0x1e4)][_0x1a43d3(0x1e0)](_0x1a43d3(0x1d0)))return new Promise(()=>{});var _0xf121d7;throw _0x4237c7;}function p(_0x3da1c3){const _0xfdfcd3=_0x595455;return{'threadId':_0x3da1c3[_0xfdfcd3(0x1b5)],'commentId':_0x3da1c3[_0xfdfcd3(0x1e8)],'content':_0x3da1c3[_0xfdfcd3(0x196)],'createdAt':_0x3da1c3[_0xfdfcd3(0x1da)],'authorId':_0x3da1c3[_0xfdfcd3(0x1dd)],'attributes':_0x3da1c3[_0xfdfcd3(0x1a5)]||{}};}
23
+ const _0x45707b=_0x4c32;(function(_0x41cb48,_0x913e34){const _0x495f36=_0x4c32,_0x1fca65=_0x41cb48();while(!![]){try{const _0x3aecbd=-parseInt(_0x495f36(0xf2))/0x1+-parseInt(_0x495f36(0x129))/0x2+parseInt(_0x495f36(0x117))/0x3+parseInt(_0x495f36(0xfa))/0x4+parseInt(_0x495f36(0x116))/0x5+-parseInt(_0x495f36(0xeb))/0x6*(parseInt(_0x495f36(0x13f))/0x7)+parseInt(_0x495f36(0x113))/0x8;if(_0x3aecbd===_0x913e34)break;else _0x1fca65['push'](_0x1fca65['shift']());}catch(_0x415538){_0x1fca65['push'](_0x1fca65['shift']());}}}(_0x20ea,0x79a32));import{Context as _0x432bf2,ContextPlugin as _0x1bc21c}from'ckeditor5/src/core.js';import{CKEditorError as _0x8e9554}from'ckeditor5/src/utils.js';import{Users as _0x461c54}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x169234,User as _0x47d435}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x160a24}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x531399}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x1bc21c{static [_0x45707b(0x13a)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x169234)());[_0x45707b(0xef)];static get[_0x45707b(0x111)](){const _0x332479=_0x45707b;return[_0x160a24,_0x332479(0xea),_0x531399,_0x461c54];}static get[_0x45707b(0x13d)](){const _0x54d0f5=_0x45707b;return _0x54d0f5(0xee);}static get[_0x45707b(0x114)](){return!0x0;}static get[_0x45707b(0x12f)](){return!0x0;}constructor(_0x4fa0e4){const _0x1bdfa8=_0x45707b;super(_0x4fa0e4),this[_0x1bdfa8(0xef)]=new Map();}async[_0x45707b(0x11a)](){const _0x54089b=_0x45707b,_0x110a6a=this[_0x54089b(0x122)],_0x33109c=_0x110a6a[_0x54089b(0xfb)][_0x54089b(0x144)](_0x54089b(0xea));if(_0x110a6a[_0x54089b(0xfb)][_0x54089b(0x144)](_0x160a24)[_0x54089b(0x139)](this),_0x33109c[_0x54089b(0x134)]={'addCommentThread':async({channelId:_0x105acd,threadId:_0x89ee0a,comments:_0x3fc1f5,resolvedAt:_0x4525fe,resolvedBy:_0x5ed3c6,context:_0x4f33dc,attributes:_0x2477c5})=>{const _0x37e8ab=_0x54089b,_0xb1da6e=await this[_0x37e8ab(0x121)](_0x105acd)[_0x37e8ab(0xf9)]({'commentThreadId':_0x89ee0a,'comments':_0x3fc1f5[_0x37e8ab(0x118)](_0x55934a=>function(_0x316ca7,_0x495bb2,_0x44ae74){const _0x1b723c=_0x37e8ab;return{'commentThreadId':_0x44ae74,'commentId':_0x316ca7[_0x1b723c(0x107)],'userId':_0x316ca7[_0x1b723c(0xe5)],'content':_0x316ca7[_0x1b723c(0x123)],'documentId':_0x495bb2,'createdAt':_0x316ca7[_0x1b723c(0x10f)],'attributes':_0x316ca7[_0x1b723c(0x125)]||{}};}(_0x55934a,_0x105acd,_0x89ee0a)),'resolvedAt':_0x4525fe,'resolvedBy':_0x5ed3c6,'context':_0x4f33dc,'attributes':_0x2477c5})[_0x37e8ab(0x135)](k);return{'threadId':_0xb1da6e[_0x37e8ab(0xf7)],'comments':_0xb1da6e[_0x37e8ab(0x115)]};},'getCommentThread':async({channelId:_0x8ba509,threadId:_0x4273ee})=>{const _0x410d52=_0x54089b,_0x3217f1=await this[_0x410d52(0x121)](_0x8ba509)[_0x410d52(0xe6)](_0x4273ee)[_0x410d52(0x135)](F)[_0x410d52(0x135)](k);return _0x3217f1?_0x3217f1[_0x410d52(0x10a)]?null:(await this[_0x410d52(0x102)]([_0x3217f1]),{'threadId':_0x3217f1[_0x410d52(0xf7)],'comments':_0x3217f1[_0x410d52(0x115)][_0x410d52(0x118)](S),'context':_0x3217f1[_0x410d52(0x122)],'resolvedAt':_0x3217f1[_0x410d52(0x10e)],'resolvedBy':_0x3217f1[_0x410d52(0x11c)],'attributes':_0x3217f1[_0x410d52(0x125)]||{}}):null;},'updateCommentThread':async({channelId:_0x21795f,threadId:_0x14a902,context:_0x4c5aba,unlinkedAt:_0x40b6f6,attributes:_0x41a535})=>this[_0x54089b(0x121)](_0x21795f)[_0x54089b(0x138)]({'commentThreadId':_0x14a902,'context':_0x4c5aba,'attributes':_0x41a535,'unlinkedAt':_0x40b6f6})[_0x54089b(0x135)](F)[_0x54089b(0x135)](k),'resolveCommentThread':async({channelId:_0x36a31d,threadId:_0x33ff91})=>{const _0x1a44da=_0x54089b,_0x516ffc=await this[_0x1a44da(0x121)](_0x36a31d)[_0x1a44da(0x133)](_0x33ff91)[_0x1a44da(0x135)](F)[_0x1a44da(0x135)](k);return{'threadId':_0x516ffc[_0x1a44da(0xf7)],'resolvedAt':_0x516ffc[_0x1a44da(0x10e)],'resolvedBy':_0x516ffc[_0x1a44da(0x11c)]};},'reopenCommentThread':async({channelId:_0x56fd19,threadId:_0x193173})=>this[_0x54089b(0x121)](_0x56fd19)[_0x54089b(0xe3)](_0x193173)[_0x54089b(0x135)](F)[_0x54089b(0x135)](k),'removeCommentThread':({channelId:_0xd69d3,threadId:_0x34288})=>this[_0x54089b(0x121)](_0xd69d3)[_0x54089b(0x12c)](_0x34288)[_0x54089b(0x135)](F)[_0x54089b(0x135)](k),'addComment':({channelId:_0x1a0e32,threadId:_0x4c1e76,commentId:_0x1787d5,content:_0xab1a48,attributes:_0x4703a6})=>this[_0x54089b(0x121)](_0x1a0e32)[_0x54089b(0xe7)](_0x4c1e76,_0x1787d5,_0xab1a48,_0x4703a6)[_0x54089b(0x135)](k),'updateComment':({channelId:_0x106894,threadId:_0x588b55,commentId:_0x4668f2,content:_0x38f850,attributes:_0x320fcc})=>this[_0x54089b(0x121)](_0x106894)[_0x54089b(0x142)](_0x588b55,_0x4668f2,_0x38f850,_0x320fcc)[_0x54089b(0x135)](F)[_0x54089b(0x135)](k),'removeComment':({channelId:_0x54a3be,threadId:_0x473bff,commentId:_0x508a16})=>this[_0x54089b(0x121)](_0x54a3be)[_0x54089b(0x10b)](_0x473bff,_0x508a16)[_0x54089b(0x135)](F)[_0x54089b(0x135)](k)},_0x110a6a instanceof _0x432bf2){const _0x5099c9=_0x110a6a[_0x54089b(0x108)][_0x54089b(0x144)](_0x54089b(0x103)),_0xf415dc=_0x110a6a[_0x54089b(0xfb)][_0x54089b(0x144)](_0x531399);await this[_0x54089b(0xff)](_0x5099c9);const _0x17318b=await this[_0x54089b(0xef)][_0x54089b(0x144)](_0x5099c9)[_0x54089b(0x141)]();this[_0x54089b(0x11f)](_0xf415dc,_0x54089b(0x10d)+_0x5099c9,(_0x198e53,{session:_0x16cf93})=>{const _0x39fc17=_0x54089b;_0x16cf93['id']===_0xf415dc[_0x39fc17(0x124)]&&(_0x198e53[_0x39fc17(0x126)](),this[_0x39fc17(0x122)][_0x39fc17(0xfb)][_0x39fc17(0x144)](_0x39fc17(0x12e))[_0x39fc17(0xf1)](_0x16cf93[_0x39fc17(0x143)],_0x5099c9));}),_0xf415dc[_0x54089b(0xf3)](_0x5099c9,_0x17318b);}}async[_0x45707b(0xff)](_0x123443){const _0x34a28c=_0x45707b;if(this[_0x34a28c(0xef)][_0x34a28c(0xe9)](_0x123443))throw new _0x8e9554(_0x34a28c(0x131),null,{'channelId':_0x123443});const _0x2c52ca=this[_0x34a28c(0x122)][_0x34a28c(0xfb)][_0x34a28c(0x144)](_0x34a28c(0xea)),_0x2444f0=new CloudServicesCommentsAdapter[(_0x34a28c(0x13a))](_0x123443);this[_0x34a28c(0xef)][_0x34a28c(0xfc)](_0x123443,_0x2444f0),this[_0x34a28c(0x11f)](_0x2444f0,_0x34a28c(0xf0),(_0x39171c,_0x2095f7)=>{const _0x48bba0=_0x34a28c,{commentThreadId:_0x2580bf,documentId:_0x551fe0,context:_0x10ac70,attributes:_0x4d1fdb,resolvedAt:_0x14b2d4,resolvedBy:_0x34e312,comments:_0x100fee}=_0x2095f7;_0x2c52ca[_0x48bba0(0xe6)](_0x2580bf)||_0x2c52ca[_0x48bba0(0xf9)]({'threadId':_0x2580bf,'channelId':_0x551fe0,'comments':_0x100fee?_0x100fee[_0x48bba0(0x118)](S):[],'context':_0x10ac70,'attributes':_0x4d1fdb,'resolvedAt':_0x14b2d4,'resolvedBy':_0x34e312,'isFromAdapter':!0x0});}),this[_0x34a28c(0x11f)](_0x2444f0,_0x34a28c(0x140),(_0x455c5e,{commentThreadId:_0x3681d4,documentId:_0x474fd7,context:_0x1c96ef,unlinkedAt:_0x743048,attributes:_0x391234})=>{const _0x215a0b=_0x34a28c;_0x2c52ca[_0x215a0b(0xe6)](_0x3681d4)&&_0x2c52ca[_0x215a0b(0x138)]({'threadId':_0x3681d4,'channelId':_0x474fd7,'context':_0x1c96ef,'unlinkedAt':_0x743048,'attributes':_0x391234,'isFromAdapter':!0x0});}),this[_0x34a28c(0x11f)](_0x2444f0,_0x34a28c(0x104),(_0x31ec09,{commentThreadId:_0x1ce407,resolvedBy:_0x207919,resolvedAt:_0x2d2f04})=>{const _0xad182a=_0x34a28c,_0x4ce6d4=_0x2c52ca[_0xad182a(0xe6)](_0x1ce407);_0x4ce6d4&&_0x4ce6d4[_0xad182a(0x110)]({'resolvedBy':_0x207919,'resolvedAt':_0x2d2f04,'isFromAdapter':!0x0});}),this[_0x34a28c(0x11f)](_0x2444f0,_0x34a28c(0x130),(_0x524fcf,{commentThreadId:_0x371abb})=>{const _0x45d665=_0x34a28c,_0x57d949=_0x2c52ca[_0x45d665(0xe6)](_0x371abb);_0x57d949&&_0x57d949[_0x45d665(0xf4)]({'isFromAdapter':!0x0});}),this[_0x34a28c(0x11f)](_0x2444f0,_0x34a28c(0x100),(_0xa9f6ac,{commentThreadId:_0x3db1c2})=>{const _0x3aabd4=_0x34a28c,_0x5dd01e=_0x2c52ca[_0x3aabd4(0xe6)](_0x3db1c2);_0x5dd01e&&_0x5dd01e[_0x3aabd4(0x109)]({'isFromAdapter':!0x0});}),this[_0x34a28c(0x11f)](_0x2444f0,_0x34a28c(0x119),(_0x9a4c63,_0x46cc77)=>{const _0x4c0eeb=_0x34a28c,_0xd6319d=_0x46cc77[_0x4c0eeb(0xf7)],_0x574260=_0x2c52ca[_0x4c0eeb(0xe6)](_0xd6319d);_0x574260&&_0x574260[_0x4c0eeb(0xe7)]({...S(_0x46cc77),'isFromAdapter':!0x0});}),this[_0x34a28c(0x11f)](_0x2444f0,_0x34a28c(0x11b),(_0x1eec71,{commentThreadId:_0x1b1727,commentId:_0x36bd61,content:_0x1e382a,attributes:_0x331090})=>{const _0x298892=_0x34a28c,_0x57a016=_0x2c52ca[_0x298892(0xe6)](_0x1b1727);if(_0x57a016){const _0x67c049=_0x57a016[_0x298892(0x128)](_0x36bd61);_0x67c049&&_0x67c049[_0x298892(0x12a)]({'content':_0x1e382a,'attributes':_0x331090,'isFromAdapter':!0x0});}}),this[_0x34a28c(0x11f)](_0x2444f0,_0x34a28c(0x101),(_0x4ec384,{commentThreadId:_0x8c2677,commentId:_0x50492b})=>{const _0x2b6f30=_0x34a28c,_0x45b184=_0x2c52ca[_0x2b6f30(0xe6)](_0x8c2677);if(_0x45b184){const _0x379d40=_0x45b184[_0x2b6f30(0x128)](_0x50492b);_0x379d40&&_0x379d40[_0x2b6f30(0x109)]({'isFromAdapter':!0x0});}}),await this[_0x34a28c(0x13e)](_0x123443);}[_0x45707b(0x132)](){const _0x35ddb4=_0x45707b;if(this[_0x35ddb4(0x122)]instanceof _0x432bf2){const _0x43e2f4=this[_0x35ddb4(0x122)][_0x35ddb4(0x108)][_0x35ddb4(0x144)](_0x35ddb4(0x103));this[_0x35ddb4(0xe1)](_0x43e2f4);}}[_0x45707b(0xe1)](_0x2a75cd){const _0x2ef00e=_0x45707b;if(!this[_0x2ef00e(0xef)][_0x2ef00e(0xe9)](_0x2a75cd))throw new _0x8e9554(_0x2ef00e(0x120),null,{'channelId':_0x2a75cd});this[_0x2ef00e(0x121)](_0x2a75cd)[_0x2ef00e(0x10c)](),this[_0x2ef00e(0xef)][_0x2ef00e(0xfe)](_0x2a75cd);}async[_0x45707b(0x137)](){const _0x160024=_0x45707b;for(const _0xf2a3ac of this[_0x160024(0xef)][_0x160024(0x105)]())await this[_0x160024(0x13e)](_0xf2a3ac);if(this[_0x160024(0x122)]instanceof _0x432bf2){const _0x5e703e=this[_0x160024(0x122)][_0x160024(0x108)][_0x160024(0x144)](_0x160024(0x103)),_0x3f5c16=this[_0x160024(0x122)][_0x160024(0xfb)][_0x160024(0x144)](_0x531399);_0x3f5c16[_0x160024(0x12b)](_0x5e703e);const _0x3298fe=await this[_0x160024(0xef)][_0x160024(0x144)](_0x5e703e)[_0x160024(0x141)]();_0x3f5c16[_0x160024(0xf3)](_0x5e703e,_0x3298fe);}}async[_0x45707b(0x13e)](_0x352333){const _0x150050=_0x45707b,{connection:_0x100b24}=this[_0x150050(0x122)][_0x150050(0xfb)][_0x150050(0x144)](_0x160a24),_0x525ccf=this[_0x150050(0x122)][_0x150050(0xfb)][_0x150050(0x144)](_0x150050(0xea)),_0x2cae2e=this[_0x150050(0xef)][_0x150050(0x144)](_0x352333),_0x42d1b0=await _0x2cae2e[_0x150050(0xe4)](_0x100b24);await this[_0x150050(0x102)](_0x42d1b0);const _0x5934d1=new Set(Array[_0x150050(0x13c)](_0x525ccf[_0x150050(0x106)]({'channelId':_0x352333}),_0x50cc5d=>_0x50cc5d['id']));for(const _0x154992 of _0x42d1b0)_0x154992[_0x150050(0x10a)]||_0x5934d1[_0x150050(0xfe)](_0x154992[_0x150050(0xf7)]);for(const _0x3ef369 of _0x5934d1)_0x525ccf[_0x150050(0xe6)](_0x3ef369)[_0x150050(0x109)]({'isFromAdapter':!0x0});for(const _0x55b284 of _0x42d1b0){let _0x1924af=_0x525ccf[_0x150050(0xe6)](_0x55b284[_0x150050(0xf7)]);const {commentThreadId:_0x35be20,context:_0x22c870,attributes:_0x11b97a,resolvedBy:_0x179721,resolvedAt:_0x59c167,unlinkedAt:_0x67b4c6,deletedAt:_0x4cb312}=_0x55b284;if(_0x4cb312)continue;_0x1924af||(_0x1924af=_0x525ccf[_0x150050(0xf9)]({'channelId':_0x352333,'threadId':_0x35be20,'context':_0x22c870,'attributes':_0x11b97a||{},'resolvedBy':_0x179721,'resolvedAt':_0x59c167,'unlinkedAt':_0x67b4c6,'isFromAdapter':!0x0}));const _0x8b0eb4=new Set(Array[_0x150050(0x13c)](_0x1924af[_0x150050(0x115)],_0x3e1855=>_0x3e1855['id']));for(const _0x2057f9 of _0x55b284[_0x150050(0x115)])_0x8b0eb4[_0x150050(0xfe)](_0x2057f9[_0x150050(0x107)]);for(const _0x4e1534 of _0x8b0eb4)_0x1924af[_0x150050(0x128)](_0x4e1534)[_0x150050(0x109)]({'isFromAdapter':!0x0});for(const _0x2d10c2 of _0x55b284[_0x150050(0x115)]){const _0xdb0c01=_0x1924af[_0x150050(0x128)](_0x2d10c2[_0x150050(0x107)]);_0xdb0c01?_0xdb0c01[_0x150050(0x123)]!==_0x2d10c2[_0x150050(0x123)]&&_0xdb0c01[_0x150050(0x12a)]({'content':_0x2d10c2[_0x150050(0x123)],'isFromAdapter':!0x0}):_0x1924af[_0x150050(0xe7)](Object[_0x150050(0x11d)](S(_0x2d10c2),{'isFromAdapter':!0x0}));}}}[_0x45707b(0x121)](_0x3f70e2){const _0x31cf9b=_0x45707b;if(!this[_0x31cf9b(0xef)][_0x31cf9b(0xe9)](_0x3f70e2))throw new _0x8e9554(_0x31cf9b(0xe8),null,{'channelId':_0x3f70e2});return this[_0x31cf9b(0xef)][_0x31cf9b(0x144)](_0x3f70e2);}async[_0x45707b(0x102)](_0x5d8da8){const _0x50548a=_0x45707b,_0x25365e=this[_0x50548a(0x122)][_0x50548a(0xfb)][_0x50548a(0x144)](_0x461c54),{connection:_0x513ad7}=this[_0x50548a(0x122)][_0x50548a(0xfb)][_0x50548a(0x144)](_0x160a24),_0x59e999=new Set();for(const {resolvedBy:_0x2b7c87,comments:_0x130dae}of _0x5d8da8){_0x2b7c87&&!_0x25365e[_0x50548a(0x11e)](_0x2b7c87)&&_0x59e999[_0x50548a(0xed)](_0x2b7c87);for(const {userId:_0x2ec792}of _0x130dae)_0x25365e[_0x50548a(0x11e)](_0x2ec792)||_0x59e999[_0x50548a(0xed)](_0x2ec792);}if(0x0===_0x59e999[_0x50548a(0x136)])return;const _0x2c1601=await _0x47d435[_0x50548a(0xfd)](_0x513ad7,Array[_0x50548a(0x13c)](_0x59e999));for(const _0x4a5ad8 of _0x2c1601)_0x25365e[_0x50548a(0x11e)](_0x4a5ad8['id'])||_0x25365e[_0x50548a(0xec)](_0x4a5ad8);}}async function F(_0x4f532c){const _0x1be3c9=_0x45707b;if(_0x1be3c9(0xf6)!==_0x4f532c[_0x1be3c9(0xe2)])throw _0x4f532c;}function _0x4c32(_0x3ef486,_0x2a9c32){const _0x20eac9=_0x20ea();return _0x4c32=function(_0x4c321b,_0x252fd1){_0x4c321b=_0x4c321b-0xe1;let _0x29836b=_0x20eac9[_0x4c321b];return _0x29836b;},_0x4c32(_0x3ef486,_0x2a9c32);}function k(_0x5cdcb7){const _0x340927=_0x45707b;if((_0xf0d639=_0x5cdcb7)[_0x340927(0x127)][_0x340927(0xf8)](_0x340927(0xf5))||_0xf0d639[_0x340927(0x127)][_0x340927(0xf8)](_0x340927(0x13b))||_0xf0d639[_0x340927(0x127)][_0x340927(0xf8)](_0x340927(0x112)))return new Promise(()=>{});var _0xf0d639;throw _0x5cdcb7;}function _0x20ea(){const _0x3bc08e=['CommentsRepository','1464eNIMRa','addUser','add','CloudServicesCommentsAdapter','_services','commentThreadAdded','setPermissions','361718bJQdWB','register','reopen','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','404','commentThreadId','startsWith','addCommentThread','576060WrsPyk','plugins','set','getMany','delete','_setUpService','commentThreadRemoved','commentRemoved','_fetchMissingUsersForThreads','collaboration.channelId','commentThreadResolved','keys','getCommentThreads','commentId','config','remove','deletedAt','removeComment','disconnect','sessionAdd:','resolvedAt','createdAt','resolve','requires','cloud-services-internal-error:\x20Request\x20timeout.','5948424fuscaf','isOfficialPlugin','comments','4816840xibNTw','1614216HCdqMS','map','commentAdded','init','commentUpdated','resolvedBy','assign','getUser','listenTo','cloudservicescommentsadapter-disconnect-not-exist','_getService','context','content','mySessionId','attributes','off','message','getComment','1932800gdocCM','update','unregister','removeCommentThread','userId','Permissions','isPremiumPlugin','commentThreadReopened','cloudservicescommentsadapter-connect-already-connected','destroy','resolveCommentThread','adapter','catch','size','reconnect','updateCommentThread','addToReconnectionStack','CommentsService','cloud-services-internal-error:\x20Not\x20connected.','from','pluginName','_connectService','16142czBAwQ','commentThreadUpdated','getConnectedSessions','updateComment','permissions','get','_terminateService','code','reopenCommentThread','connect','authorId','getCommentThread','addComment','cloudservicescommentsadapter-service-not-exist','has'];_0x20ea=function(){return _0x3bc08e;};return _0x20ea();}function S(_0x5480f0){const _0xa4ecff=_0x45707b;return{'threadId':_0x5480f0[_0xa4ecff(0xf7)],'commentId':_0x5480f0[_0xa4ecff(0x107)],'content':_0x5480f0[_0xa4ecff(0x123)],'createdAt':_0x5480f0[_0xa4ecff(0x10f)],'authorId':_0x5480f0[_0xa4ecff(0x12d)],'attributes':_0x5480f0[_0xa4ecff(0x125)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x310a27=_0x2771;(function(_0x17a77f,_0x8581ae){const _0xf1396e=_0x2771,_0x204bd3=_0x17a77f();while(!![]){try{const _0xa05b1e=-parseInt(_0xf1396e(0xd3))/0x1+-parseInt(_0xf1396e(0xd2))/0x2*(parseInt(_0xf1396e(0xc9))/0x3)+parseInt(_0xf1396e(0xde))/0x4+parseInt(_0xf1396e(0xc7))/0x5+parseInt(_0xf1396e(0xe1))/0x6+-parseInt(_0xf1396e(0xdd))/0x7*(-parseInt(_0xf1396e(0xd7))/0x8)+-parseInt(_0xf1396e(0xd1))/0x9;if(_0xa05b1e===_0x8581ae)break;else _0x204bd3['push'](_0x204bd3['shift']());}catch(_0x1ff5cc){_0x204bd3['push'](_0x204bd3['shift']());}}}(_0x58e8,0x31f4f));import{Plugin as _0x198585}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x4ecbbf}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x58e8(){const _0x8cd730=['editor','config','7136nxCzKL','requires','isPremiumPlugin','init','RealTimeCollaborativeComments','pluginName','2177SwEVDp','1232192zyVqoK','CommentsEditing','switchReadOnly','1593204PAHxUX','ready','_setUpService','isThreadsLoadingPaused','CommentsRepository','connected','Comments','data','1051680XwVhYO','_terminateService','401403SOSzdW','collaboration.channelId','once','plugins','destroy','isOfficialPlugin','listenTo','change:state','1810251ODRrKu','6QmfPPn','254165wIvbJm','get'];_0x58e8=function(){return _0x8cd730;};return _0x58e8();}function _0x2771(_0x57bc65,_0x2f4be0){const _0x58e850=_0x58e8();return _0x2771=function(_0x2771b8,_0x84e1cc){_0x2771b8=_0x2771b8-0xc0;let _0x25f1a2=_0x58e850[_0x2771b8];return _0x25f1a2;},_0x2771(_0x57bc65,_0x2f4be0);}import{RealTimeCollaborativeEditing as _0x1fdcbe}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x9a8007}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x198585{static get[_0x310a27(0xd8)](){const _0x9dd673=_0x310a27;return[_0x9dd673(0xc5),_0x4ecbbf,_0x1fdcbe,_0x9a8007];}static get[_0x310a27(0xdc)](){const _0x35a3d3=_0x310a27;return _0x35a3d3(0xdb);}static get[_0x310a27(0xce)](){return!0x0;}static get[_0x310a27(0xd9)](){return!0x0;}[_0x310a27(0xda)](){const _0x2773a0=_0x310a27,_0x2305dc=this[_0x2773a0(0xd5)][_0x2773a0(0xcc)][_0x2773a0(0xd4)](_0x9a8007),_0x514ee1=this[_0x2773a0(0xd5)][_0x2773a0(0xcc)][_0x2773a0(0xd4)](_0x2773a0(0xdf)),_0x5d49e3=this[_0x2773a0(0xd5)][_0x2773a0(0xcc)][_0x2773a0(0xd4)](_0x4ecbbf);return this[_0x2773a0(0xd5)][_0x2773a0(0xc6)][_0x2773a0(0xcb)](_0x2773a0(0xc0),()=>{const _0x41c772=_0x2773a0;this[_0x41c772(0xcf)](_0x2305dc,_0x41c772(0xd0),(_0x1ecfa9,_0x2e18b5,_0x39bfa9)=>{const _0x5ab157=_0x41c772;_0x514ee1[_0x5ab157(0xc2)]=_0x5ab157(0xc4)!==_0x39bfa9;});}),this[_0x2773a0(0xcf)](_0x2305dc,_0x2773a0(0xd0),(_0x48636a,_0x25a0e0,_0xac10d6)=>{const _0x2fb12f=_0x2773a0;this[_0x2fb12f(0xd5)][_0x2fb12f(0xcc)][_0x2fb12f(0xd4)](_0x2fb12f(0xc3))[_0x2fb12f(0xe0)](_0x2fb12f(0xc4)!==_0xac10d6);}),_0x5d49e3[_0x2773a0(0xc1)](this[_0x2773a0(0xd5)][_0x2773a0(0xd6)][_0x2773a0(0xd4)](_0x2773a0(0xca)));}[_0x310a27(0xcd)](){const _0x47c89b=_0x310a27;this[_0x47c89b(0xd5)][_0x47c89b(0xcc)][_0x47c89b(0xd4)](_0x4ecbbf)[_0x47c89b(0xc8)](this[_0x47c89b(0xd5)][_0x47c89b(0xd6)][_0x47c89b(0xd4)](_0x47c89b(0xca))),super[_0x47c89b(0xcd)]();}}
23
+ function _0x37af(){const _0x2a6287=['destroy','config','Comments','5430990PyILQr','1426878sfcBsU','6RGMrZR','_terminateService','ready','once','listenTo','2271770pTdlMA','requires','13069424BmLxec','init','7BdmsAW','2897525cdlpHv','_setUpService','isOfficialPlugin','767417nGqPsj','connected','plugins','pluginName','get','985272tsYWOq','RealTimeCollaborativeComments','CommentsRepository','data','isThreadsLoadingPaused','editor','isPremiumPlugin','collaboration.channelId','switchReadOnly','change:state','9TIRWdA','CommentsEditing'];_0x37af=function(){return _0x2a6287;};return _0x37af();}const _0x26efbb=_0x2a5d;(function(_0x5d41ed,_0x18dbb5){const _0x1684d2=_0x2a5d,_0x40bccd=_0x5d41ed();while(!![]){try{const _0x27dc13=parseInt(_0x1684d2(0xc2))/0x1+-parseInt(_0x1684d2(0xb4))/0x2+-parseInt(_0x1684d2(0xb3))/0x3+parseInt(_0x1684d2(0xc7))/0x4+-parseInt(_0x1684d2(0xbf))/0x5*(-parseInt(_0x1684d2(0xb5))/0x6)+parseInt(_0x1684d2(0xbe))/0x7*(parseInt(_0x1684d2(0xbc))/0x8)+-parseInt(_0x1684d2(0xae))/0x9*(-parseInt(_0x1684d2(0xba))/0xa);if(_0x27dc13===_0x18dbb5)break;else _0x40bccd['push'](_0x40bccd['shift']());}catch(_0x31126a){_0x40bccd['push'](_0x40bccd['shift']());}}}(_0x37af,0xe3216));import{Plugin as _0xadc5e3}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x2d58a7}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x53a50f}from'./realtimecollaborativeediting.js';function _0x2a5d(_0x35ce52,_0x4a6f5c){const _0x37afdd=_0x37af();return _0x2a5d=function(_0x2a5dd1,_0x489c4b){_0x2a5dd1=_0x2a5dd1-0xa7;let _0x4836d0=_0x37afdd[_0x2a5dd1];return _0x4836d0;},_0x2a5d(_0x35ce52,_0x4a6f5c);}import{WebSocketGateway as _0x4bce6f}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0xadc5e3{static get[_0x26efbb(0xbb)](){const _0x36fcce=_0x26efbb;return[_0x36fcce(0xb2),_0x2d58a7,_0x53a50f,_0x4bce6f];}static get[_0x26efbb(0xc5)](){const _0x51cbaa=_0x26efbb;return _0x51cbaa(0xc8);}static get[_0x26efbb(0xc1)](){return!0x0;}static get[_0x26efbb(0xaa)](){return!0x0;}[_0x26efbb(0xbd)](){const _0x1179b6=_0x26efbb,_0x20d6db=this[_0x1179b6(0xa9)][_0x1179b6(0xc4)][_0x1179b6(0xc6)](_0x4bce6f),_0x416443=this[_0x1179b6(0xa9)][_0x1179b6(0xc4)][_0x1179b6(0xc6)](_0x1179b6(0xaf)),_0x59fc48=this[_0x1179b6(0xa9)][_0x1179b6(0xc4)][_0x1179b6(0xc6)](_0x2d58a7);return this[_0x1179b6(0xa9)][_0x1179b6(0xa7)][_0x1179b6(0xb8)](_0x1179b6(0xb7),()=>{const _0x1c1386=_0x1179b6;this[_0x1c1386(0xb9)](_0x20d6db,_0x1c1386(0xad),(_0x727fbe,_0x450957,_0x3b51bf)=>{const _0x4a979b=_0x1c1386;_0x416443[_0x4a979b(0xa8)]=_0x4a979b(0xc3)!==_0x3b51bf;});}),this[_0x1179b6(0xb9)](_0x20d6db,_0x1179b6(0xad),(_0x332f16,_0x1da212,_0x1f49d9)=>{const _0x564bdc=_0x1179b6;this[_0x564bdc(0xa9)][_0x564bdc(0xc4)][_0x564bdc(0xc6)](_0x564bdc(0xc9))[_0x564bdc(0xac)](_0x564bdc(0xc3)!==_0x1f49d9);}),_0x59fc48[_0x1179b6(0xc0)](this[_0x1179b6(0xa9)][_0x1179b6(0xb1)][_0x1179b6(0xc6)](_0x1179b6(0xab)));}[_0x26efbb(0xb0)](){const _0x36f486=_0x26efbb;this[_0x36f486(0xa9)][_0x36f486(0xc4)][_0x36f486(0xc6)](_0x2d58a7)[_0x36f486(0xb6)](this[_0x36f486(0xa9)][_0x36f486(0xb1)][_0x36f486(0xc6)](_0x36f486(0xab))),super[_0x36f486(0xb0)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2702c9=_0xf43f;(function(_0x14cecb,_0x455839){const _0x422a9c=_0xf43f,_0x45f3e4=_0x14cecb();while(!![]){try{const _0x384b21=parseInt(_0x422a9c(0x157))/0x1+parseInt(_0x422a9c(0xcd))/0x2*(parseInt(_0x422a9c(0x155))/0x3)+parseInt(_0x422a9c(0x102))/0x4*(-parseInt(_0x422a9c(0xf8))/0x5)+-parseInt(_0x422a9c(0xf9))/0x6+parseInt(_0x422a9c(0x70))/0x7+-parseInt(_0x422a9c(0x13c))/0x8*(parseInt(_0x422a9c(0xc9))/0x9)+-parseInt(_0x422a9c(0x8a))/0xa*(-parseInt(_0x422a9c(0x12b))/0xb);if(_0x384b21===_0x455839)break;else _0x45f3e4['push'](_0x45f3e4['shift']());}catch(_0x391d3){_0x45f3e4['push'](_0x45f3e4['shift']());}}}(_0x103f,0xbec0b));import{Plugin as _0x2beda7,PendingActions as _0x45e76d}from'ckeditor5/src/core.js';import{CKEditorError as _0x247870,version as _0x3b8590,uid as _0x525b35}from'ckeditor5/src/utils.js';function _0x103f(){const _0x2acbb6=['getMany','decompress','targetPosition','high','batch','initData','push','_handleServerResponse','setIdForTheLastOperation','differ','locale','includes','message','_shouldSendSelectionUpdate','enableReadOnlyMode','_compressOperations','_crash','_refreshUserSelectionMarkers','mySessionId','wereChangesApplied','change:_isPendingUpdate','collaboration','395817NiOqQI','realtimecollaborationclient-init-connection-failed','581821wSMUyc','config','Permissions','fire','_clearPendingAction','cloud-services-internal-error:\x20Not\x20connected.','addOperation','sessionAdd:','affectsData','getOperationAuthor','_fetchMissingUsers','applyOperation','change:range','getDocumentDetails','_pendingAction','getIdOfTheLastOperation','getConnectedSessions','reconnect','round','isEnabled','_disconnectionOperations','_knownOperations','_bufferedOperations','catch','directChange','parse','$root','slice','unregister','_waitUntilSynced','remove','createRoot','2163749UvJeGj','roots','getRoot','409','set','serverHistory','PENDING_ACTION_SENDING_DATA','_knownRootNames','model','compress','_lastSyncedOperationId','404','setPermissions','_isConnected','apply','init','root','_service','_channelId','showWarning','startsWith','rtc-offline','move','editing','_isInit','suppressErrorInCollaboration','19413390rHtIgp','_disconnectService','rootsAttributes','isPremiumPlugin','selection','insert','realtimecollaborationclient-error','CollaborativeEditingService','createUserMarkerOperations','baseVersion','createRange','change:_isEditingAllowed','disconnected','plugins','rtc-destroyed','attributes','filter','history','isDocumentOperation','pluginName','listenTo','stopListening','permissions','forEach','realtimecollaborationclient-sendbufferedoperations','ready','InsertOperation','_operationToId','sessionCreatedAt','multi-root-editor-root-attributes-no-root','addRootAttribute','realtimecollaborationclient-handleserverresponse','document:write','collaboration-missing-channelid','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_connectService','_hasSelectionChanged','start','connect','_updateServerHistory','path','destroy','real-time-collaboration','_isLoaded','reconnection:\x20flushed\x20session','_handleReconnectionResponse','_handleReconnectionError','lastDocumentSession','createPositionAt','get','_handleExternalOperations','cloud-services-internal-error:\x20Request\x20timeout.','isOfficialPlugin','clone','realtimecollaborationclient-init-session-connection-error','addRoot','realtimecollaborationclient-init-document-already-initialized','_connectAfterSessionHasBeenFlushed','has','_sendBufferedOperationsDelayed','_handleReceivedOperations','rootName','_handleInitialConnectionData','6282783gYfYkz','length','map','_isPendingUpdate','4VVOrnW','createPositionFromPath','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.','_operationIdentifier','lastSyncVersion','markers','_sendBufferedOperations','requires','getOperations','realtimecollaborationclient','createdAt','_bufferRootLoad','currentDocumentSession','_applyOperationsSet','cs:removeUser','disableReadOnlyMode','_shouldSendUpdate','Notification','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','document','_document','type','data','isUndoneOperation','cloudServices.bundleVersion','finally','_lastServerVersion','_initThrowingOnDataSet','_compressor','change:hasDomSelection','channelSessions','end','state','error','editor','return','code','userId','_handleSendingSelectionMarkers','RealTimeCollaborationClient','bind','then','stop','44910PQHERz','5335158qjxQzc','from','addUser','cloudDocumentVersion','connected','loadRoot','connection','_loadRoot','_baseBufferDelay','324TelhzU','off','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_setPendingAction','__className','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','offset','_saveOperationInBuffer','lastOperationId','_sendBufferedOperationsDelayId','realtimecollaborationclient-init-service-incorrect-server-operation','keys','_offset','register','_getOperationsFromInitData','size','view','lastOperationAcceptedAt','_hasSynchronizationProblem','_isAttached','entries','_addKnownRoot','_isDisconnection','sessionId','position','getUser','realtimecollaborationclient-init-service-internal-error','enqueueChange','isReadOnly','_setUpDataInit','_decompressOperations','operationsReceived','_initSessionsHandling','_currentBufferDelay','define','toJSON','wasUndone','version','addToReconnectionStack','string','reset','11cJEwme','CommentsOnly','newRange','_getAffectedRoot','add','metadata','realtimecollaborationclient-init-non-existent-root','_ignoredOperations','fromJSON','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.','Synchronization\x20issue','removeFromReconnectionStack','_isEditingAllowed','marker','collaboration.channelId','sendOperations','_authorId','8oLziNX','disconnect','affectedSelectable'];_0x103f=function(){return _0x2acbb6;};return _0x103f();}function _0xf43f(_0x5a9783,_0x3fc4e3){const _0x103fd4=_0x103f();return _0xf43f=function(_0xf43fd7,_0x5ba43d){_0xf43fd7=_0xf43fd7-0x70;let _0x2bb049=_0x103fd4[_0xf43fd7];return _0x2bb049;},_0xf43f(_0x5a9783,_0x3fc4e3);}import{Notification as _0x35019e}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x42b252,NoOperation as _0x2bca64,InsertOperation as _0x55aa4a,MarkerOperation as _0x2efda1,RootAttributeOperation as _0x58d181,OperationFactory as _0x94aada,History as _0x384ee1}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0xc15432}from'./websocketgateway.js';import{Sessions as _0x282bbe}from'./sessions.js';import{UserMarkers as _0x4b672f}from'./usermarkers.js';import{getTranslation as _0x251b37}from'../common-translations.js';import{Compressor as _0x18bb5b}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x455895}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x55dfd2,CollaborativeEditingService as _0x2a2d02}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;export class RealTimeCollaborationClient extends _0x2beda7{static [_0x2702c9(0x91)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x2a2d02)());[_0x2702c9(0x10e)];[_0x2702c9(0x119)];[_0x2702c9(0x75)];[_0x2702c9(0x82)];[_0x2702c9(0x81)];[_0x2702c9(0xe1)];[_0x2702c9(0xe9)];[_0x2702c9(0x16d)];[_0x2702c9(0x16c)];[_0x2702c9(0x77)];[_0x2702c9(0x165)];[_0x2702c9(0xae)];[_0x2702c9(0x10b)];[_0x2702c9(0x101)];[_0x2702c9(0x123)];[_0x2702c9(0x7a)];[_0x2702c9(0x16b)];[_0x2702c9(0xd0)];static get[_0x2702c9(0xd4)](){return[_0xc15432,_0x282bbe,_0x4b672f,_0x45e76d,_0x455895,_0x35019e];}static get[_0x2702c9(0x9d)](){const _0x415e06=_0x2702c9;return _0x415e06(0xf4);}static get[_0x2702c9(0xbe)](){return!0x0;}static get[_0x2702c9(0x8d)](){return!0x0;}get[_0x2702c9(0xfc)](){const _0x355992=_0x2702c9;return this[_0x355992(0xe7)]+this[_0x355992(0x10e)];}get[_0x2702c9(0xe7)](){const _0x622ab7=_0x2702c9;return this[_0x622ab7(0x75)][_0x622ab7(0x127)]-this[_0x622ab7(0x10e)];}get[_0x2702c9(0xd1)](){const _0xbab2b3=_0x2702c9,_0x1807b2=this[_0xbab2b3(0x75)][_0xbab2b3(0xd5)]();for(let _0xa61c53=_0x1807b2[_0xbab2b3(0xca)]-0x1;_0xa61c53>=0x0;_0xa61c53--){const _0x1c2b6a=_0x1807b2[_0xa61c53];if(!this[_0xbab2b3(0x16b)][_0xbab2b3(0xc4)](_0x1c2b6a))return _0x1c2b6a[_0xbab2b3(0x93)]+0x1-this[_0xbab2b3(0x10e)];}return 0x0;}constructor(_0x28ca41){const _0x3c1c2c=_0x2702c9;if(super(_0x28ca41),this[_0x3c1c2c(0x10e)]=0x0,this[_0x3c1c2c(0x119)]=null,this[_0x3c1c2c(0x75)]=new _0x384ee1(),this[_0x3c1c2c(0xef)][_0x3c1c2c(0x158)][_0x3c1c2c(0x124)](_0x3c1c2c(0x154),{}),this[_0x3c1c2c(0x82)]=this[_0x3c1c2c(0xef)][_0x3c1c2c(0x158)][_0x3c1c2c(0xbb)](_0x3c1c2c(0x139)),!this[_0x3c1c2c(0x82)])throw new _0x247870(_0x3c1c2c(0xab),this);const _0x141e8c=_0x28ca41[_0x3c1c2c(0x158)][_0x3c1c2c(0xbb)](_0x3c1c2c(0xe5))||_0x3b8590;this[_0x3c1c2c(0x81)]=new RealTimeCollaborationClient[(_0x3c1c2c(0x91))](_0x141e8c,this[_0x3c1c2c(0x82)]),this[_0x3c1c2c(0xe1)]=this[_0x3c1c2c(0xef)][_0x3c1c2c(0x78)][_0x3c1c2c(0xe0)],this[_0x3c1c2c(0xe9)]=new _0x18bb5b(),this[_0x3c1c2c(0x16d)]=[],this[_0x3c1c2c(0x16c)]=new WeakSet(),this[_0x3c1c2c(0x77)]=new Set(),this[_0x3c1c2c(0x74)](_0x3c1c2c(0xcc),!0x1),this[_0x3c1c2c(0x74)](_0x3c1c2c(0x114),!0x1),this[_0x3c1c2c(0x165)]=null,this[_0x3c1c2c(0xae)]=!0x1,this[_0x3c1c2c(0x10b)]=null,this[_0x3c1c2c(0x101)]=0x12c,this[_0x3c1c2c(0x123)]=this[_0x3c1c2c(0x101)],this[_0x3c1c2c(0x7a)]=null,this[_0x3c1c2c(0x16b)]=new WeakSet(),this[_0x3c1c2c(0xd0)]=new Z(this[_0x3c1c2c(0x16b)]);}[_0x2702c9(0x7f)](){const _0x4f91ad=_0x2702c9,_0x2c566d=this[_0x4f91ad(0xef)],_0x4ddb6f=_0x2c566d[_0x4f91ad(0x97)][_0x4f91ad(0xbb)](_0x455895),_0x40702b=_0x2c566d[_0x4f91ad(0x97)][_0x4f91ad(0xbb)](_0xc15432);this[_0x4f91ad(0x9e)](_0x4ddb6f,_0x4f91ad(0x160),(_0x47e56e,_0x38932f)=>{const _0x245dfc=_0x4f91ad,_0x3d8703=_0x38932f[0x0];_0x3d8703[_0x245dfc(0x13b)]&&(_0x47e56e[_0x245dfc(0xf0)]=_0x4ddb6f[_0x245dfc(0x11b)](_0x3d8703[_0x245dfc(0x13b)]),_0x47e56e[_0x245dfc(0xf7)]()),null===_0x3d8703[_0x245dfc(0x13b)]&&(_0x47e56e[_0x245dfc(0xf0)]=null,_0x47e56e[_0x245dfc(0xf7)]());},{'priority':_0x4f91ad(0x142)}),this[_0x4f91ad(0x9e)](_0x2c566d[_0x4f91ad(0x78)][_0x4f91ad(0xe0)][_0x4f91ad(0x8e)],_0x4f91ad(0x163),(_0x37a80b,_0x586fc1)=>{const _0x3139cc=_0x4f91ad;_0x586fc1[_0x3139cc(0x16f)]&&this[_0x3139cc(0x150)]();}),this[_0x4f91ad(0x9e)](_0x2c566d[_0x4f91ad(0x87)][_0x4f91ad(0x112)],_0x4f91ad(0xea),()=>{const _0xf1c953=_0x4f91ad;this[_0xf1c953(0x150)]();}),this[_0x4f91ad(0xe8)](),_0x2c566d[_0x4f91ad(0x78)]['on'](_0x4f91ad(0x162),(_0x17109b,_0x517264)=>{const _0x51f807=_0x4f91ad,_0x517572=_0x517264[0x0];_0x517572[_0x51f807(0x9c)]&&(this[_0x51f807(0x109)](_0x517572),this[_0x51f807(0xdd)]()&&this[_0x51f807(0xc5)]());}),this[_0x4f91ad(0x11f)](),this[_0x4f91ad(0xf5)](_0x4f91ad(0x137))['to'](_0x40702b,_0x4f91ad(0xed),this,_0x4f91ad(0x114),(_0x4c9ccb,_0x4cf9cb)=>_0x4f91ad(0xfd)===_0x4c9ccb&&!_0x4cf9cb),this['on'](_0x4f91ad(0x95),()=>{const _0x53ecb1=_0x4f91ad;this[_0x53ecb1(0x137)]?_0x2c566d[_0x53ecb1(0xdc)](_0x53ecb1(0x85)):_0x2c566d[_0x53ecb1(0x14d)](_0x53ecb1(0x85));}),this[_0x4f91ad(0x137)]?_0x2c566d[_0x4f91ad(0xdc)](_0x4f91ad(0x85)):_0x2c566d[_0x4f91ad(0x14d)](_0x4f91ad(0x85)),this[_0x4f91ad(0x74)](_0x4f91ad(0x7d),!0x1);}async[_0x2702c9(0x168)](){const _0xf9d521=_0x2702c9,_0x4ce274=this[_0xf9d521(0xef)][_0xf9d521(0x97)][_0xf9d521(0xbb)](_0x282bbe),_0x5b3bf7=this[_0xf9d521(0xef)][_0xf9d521(0x97)][_0xf9d521(0xbb)](_0xc15432);try{this[_0xf9d521(0xcc)]=!0x0,_0x4ce274[_0xf9d521(0x173)](this[_0xf9d521(0x82)]);const _0x45f249=await this[_0xf9d521(0x81)][_0xf9d521(0x168)](_0x5b3bf7[_0xf9d521(0xff)],this[_0xf9d521(0xd1)]);await this[_0xf9d521(0xb7)](_0x45f249)&&(this[_0xf9d521(0xcc)]=!0x1,this[_0xf9d521(0x15b)]());const _0x4329d4=await this[_0xf9d521(0x81)][_0xf9d521(0x167)]();_0x4ce274[_0xf9d521(0x10f)](this[_0xf9d521(0x82)],_0x4329d4),this[_0xf9d521(0xf3)](),this[_0xf9d521(0x7d)]=!0x0;}catch(_0x5309bd){if(function(_0x530fb8){const _0xbf7b5f=_0xf9d521;return _0xbf7b5f(0x7b)===_0x530fb8[_0xbf7b5f(0xf1)];}(_0x5309bd)&&this[_0xf9d521(0x119)])await this[_0xf9d521(0xc3)]();else{if(function(_0x42ebc0){const _0x470337=_0xf9d521;return _0x470337(0x73)===_0x42ebc0[_0x470337(0xf1)];}(_0x5309bd)){const _0xb15d56=_0x251b37(this[_0xf9d521(0xef)][_0xf9d521(0x149)],_0xf9d521(0xac));this[_0xf9d521(0xb8)](_0xb15d56);}else{if(!(_0x5309bd instanceof X))throw _0x5309bd;this[_0xf9d521(0xb8)]();}}}}[_0x2702c9(0xb3)](){const _0x354c48=_0x2702c9,_0x368e4c=this[_0x354c48(0xef)][_0x354c48(0x97)][_0x354c48(0xbb)](_0xc15432),_0x5ee959=this[_0x354c48(0xef)][_0x354c48(0x97)][_0x354c48(0xbb)](_0x282bbe);this[_0x354c48(0xef)][_0x354c48(0x14d)](_0x354c48(0x98)),_0x5ee959[_0x354c48(0xeb)][_0x354c48(0xc4)](this[_0x354c48(0x82)])&&_0x5ee959[_0x354c48(0x173)](this[_0x354c48(0x82)]),_0x368e4c[_0x354c48(0x136)](this),this[_0x354c48(0x8b)](),super[_0x354c48(0xb3)]();}async[_0x2702c9(0xb7)](_0x40b727){const _0x3c296f=_0x2702c9;if(this[_0x3c296f(0x119)]!==_0x40b727[_0x3c296f(0x119)]&&this[_0x3c296f(0x7a)]!==_0x40b727[_0x3c296f(0x10a)])throw new X();return this[_0x3c296f(0x119)]=_0x40b727[_0x3c296f(0x119)],this[_0x3c296f(0x146)]([],{..._0x40b727,'wereChangesApplied':!0x1,'data':_0x40b727[_0x3c296f(0xe3)]},_0x3c296f(0x168));}async[_0x2702c9(0xad)](_0x161935,_0x4b63ad=!0x1){const _0x3d01e5=_0x2702c9,{connection:_0x320ef7}=this[_0x3d01e5(0xef)][_0x3d01e5(0x97)][_0x3d01e5(0xbb)](_0xc15432);RealTimeCollaborationClient[_0x3d01e5(0x91)][_0x3d01e5(0x167)](_0x320ef7,this[_0x3d01e5(0x82)])[_0x3d01e5(0xf6)](_0x1a0036=>this[_0x3d01e5(0x122)](_0x1a0036))[_0x3d01e5(0x16e)](_0x1cfc96=>{const _0x46ccca=_0x3d01e5;this[_0x46ccca(0x14f)](_0x46ccca(0xc0),_0x1cfc96);}),this[_0x3d01e5(0x9e)](this[_0x3d01e5(0x81)],_0x3d01e5(0x121),this[_0x3d01e5(0xc6)][_0x3d01e5(0xf5)](this)),this[_0x3d01e5(0x9e)](this[_0x3d01e5(0x81)],_0x3d01e5(0xee),(_0x15f297,_0x4503f3)=>{const _0x40a6b6=_0x3d01e5;this[_0x40a6b6(0x14f)](_0x40a6b6(0x11c),_0x4503f3);}),this[_0x3d01e5(0x9e)](this[_0x3d01e5(0x81)],_0x3d01e5(0x96),()=>{const _0x56df5c=_0x3d01e5;this[_0x56df5c(0x7d)]=!0x1;});const _0x5cc502=this[_0x3d01e5(0xd0)][_0x3d01e5(0x166)](_0x161935);this[_0x3d01e5(0xcc)]=!0x0;const _0x1d46dc=await this[_0x3d01e5(0x81)][_0x3d01e5(0xb0)](_0x320ef7,this[_0x3d01e5(0x14e)](_0x161935),_0x5cc502);if(this[_0x3d01e5(0x119)]=_0x1d46dc[_0x3d01e5(0x119)],_0x4b63ad){if(!_0x1d46dc[_0x3d01e5(0x152)])return void this[_0x3d01e5(0xb8)]();this[_0x3d01e5(0xcc)]=!0x1,this[_0x3d01e5(0x15b)](),this[_0x3d01e5(0x75)][_0x3d01e5(0x12a)](),this[_0x3d01e5(0x10e)]=_0x1d46dc[_0x3d01e5(0x108)],this[_0x3d01e5(0x75)][_0x3d01e5(0x127)]=this[_0x3d01e5(0x10e)],await this[_0x3d01e5(0x146)](_0x161935,_0x1d46dc,_0x3d01e5(0xb6));}else await this[_0x3d01e5(0xc8)](_0x1d46dc,_0x161935);this[_0x3d01e5(0xf3)](),this[_0x3d01e5(0x7d)]=!0x0;}[_0x2702c9(0xf3)](){const _0x54fb76=_0x2702c9,_0x9b941f=this[_0x54fb76(0xef)][_0x54fb76(0x97)][_0x54fb76(0xbb)](_0x282bbe),_0x43ab2f=this[_0x54fb76(0xef)][_0x54fb76(0x97)][_0x54fb76(0xbb)](_0x4b672f),_0x2402ac=_0x9b941f[_0x54fb76(0xeb)][_0x54fb76(0xbb)](this[_0x54fb76(0x82)]);_0x2402ac&&_0x2402ac[_0x54fb76(0xca)]>0x1?_0x43ab2f[_0x54fb76(0x92)]():this[_0x54fb76(0x9e)](_0x9b941f,_0x54fb76(0x15e)+this[_0x54fb76(0x82)],()=>{const _0x1e16b4=_0x54fb76;0x2===_0x9b941f[_0x1e16b4(0xeb)][_0x1e16b4(0xbb)](this[_0x1e16b4(0x82)])[_0x1e16b4(0xca)]&&_0x43ab2f[_0x1e16b4(0x92)]();});}async[_0x2702c9(0xc6)](_0x184fdb,_0x12122b,_0x1edfc8,_0x55e56a){const _0x3052e0=_0x2702c9;if(!this[_0x3052e0(0xcc)]&&this[_0x3052e0(0xe1)][_0x3052e0(0x127)]==_0x12122b){const _0x432858=this[_0x3052e0(0x120)](_0x1edfc8,_0x55e56a);await this[_0x3052e0(0x161)](_0x432858),this[_0x3052e0(0xbc)](_0x432858,_0x12122b,_0x1edfc8[_0x3052e0(0x10a)])||this[_0x3052e0(0x14f)](_0x3052e0(0x10c));}}async[_0x2702c9(0xc3)](){const _0x2760b2=_0x2702c9;this[_0x2760b2(0x8b)]();const {locale:_0x3dc807}=this[_0x2760b2(0xef)];let _0x4c0b10;try{_0x4c0b10=await this[_0x2760b2(0x81)][_0x2760b2(0x164)]();}catch{const _0x5e608a=_0x251b37(_0x3dc807,_0x2760b2(0x107));return void this[_0x2760b2(0xb8)](_0x5e608a);}const _0x248fd1=_0x4c0b10[_0x2760b2(0xd9)]||_0x4c0b10[_0x2760b2(0xb9)];if(this[_0x2760b2(0x7a)]!==_0x248fd1[_0x2760b2(0x10a)]){const _0x199431=_0x251b37(_0x3dc807,_0x2760b2(0x134));return void this[_0x2760b2(0xb8)](_0x199431);}await this[_0x2760b2(0xad)](this[_0x2760b2(0xef)][_0x2760b2(0x78)][_0x2760b2(0xe0)][_0x2760b2(0x9b)][_0x2760b2(0xd5)](),!0x0);}[_0x2702c9(0x8b)](){const _0x56c7a7=_0x2702c9;this[_0x56c7a7(0x81)][_0x56c7a7(0x13d)](),this[_0x56c7a7(0x16d)]=[],clearTimeout(this[_0x56c7a7(0x10b)]),this[_0x56c7a7(0x9f)](this[_0x56c7a7(0x81)]);}[_0x2702c9(0x122)](_0x10190e){const _0x2ae09d=_0x2702c9,_0x361811=this[_0x2ae09d(0xef)][_0x2ae09d(0x97)][_0x2ae09d(0xbb)](_0x282bbe);this[_0x2ae09d(0x9e)](_0x361811,_0x2ae09d(0x15e)+this[_0x2ae09d(0x82)],(_0x1fa937,{session:_0x45f7ef})=>{const _0x1da68d=_0x2ae09d;if(_0x45f7ef['id']===_0x361811[_0x1da68d(0x151)]){_0x1fa937[_0x1da68d(0x103)]();const _0x287c08=this[_0x1da68d(0xef)][_0x1da68d(0x97)][_0x1da68d(0xc4)](_0x1da68d(0x12c))&&this[_0x1da68d(0xef)][_0x1da68d(0x97)][_0x1da68d(0xbb)](_0x1da68d(0x12c));let _0x51be5b=_0x45f7ef[_0x1da68d(0xa0)];_0x287c08&&_0x287c08[_0x1da68d(0x16a)]&&(_0x51be5b=_0x51be5b[_0x1da68d(0x9a)](_0xb37f1b=>_0x1da68d(0xaa)!==_0xb37f1b)),this[_0x1da68d(0xef)][_0x1da68d(0x97)][_0x1da68d(0xbb)](_0x1da68d(0x159))[_0x1da68d(0x7c)](_0x51be5b,this[_0x1da68d(0x82)]);}}),_0x361811[_0x2ae09d(0x10f)](this[_0x2ae09d(0x82)],_0x10190e);}[_0x2702c9(0xe8)](){const _0x1e0563=_0x2702c9,_0x2c6c01=this[_0x1e0563(0xef)][_0x1e0563(0xe3)][_0x1e0563(0x74)];this[_0x1e0563(0xef)][_0x1e0563(0xe3)][_0x1e0563(0x74)]=(..._0x5a3d84)=>{const _0x12035b=_0x1e0563;if(!_0x5a3d84[_0x5a3d84[_0x12035b(0xca)]-0x1][_0x12035b(0x89)])throw new _0x247870(_0x12035b(0xdf),this);_0x2c6c01[_0x12035b(0x7e)](this[_0x12035b(0xef)][_0x12035b(0xe3)],_0x5a3d84);};}[_0x2702c9(0x11f)](){const _0x4bfbb9=_0x2702c9;this[_0x4bfbb9(0xef)][_0x4bfbb9(0xe3)]['on'](_0x4bfbb9(0x7f),(_0x1e9566,[_0x4702fe])=>{const _0x174074=_0x4bfbb9;if(this[_0x174074(0xe1)][_0x174074(0x127)])throw new _0x247870(_0x174074(0xc2),this);_0x1e9566[_0x174074(0xf7)](),this[_0x174074(0x105)]();const _0x46d1c6=this[_0x174074(0xef)][_0x174074(0x158)][_0x174074(0xbb)](_0x174074(0x8c)),_0x16ab96=this[_0x174074(0x110)](_0x4702fe,_0x46d1c6);0x0==_0x16ab96[_0x174074(0xca)]&&_0x16ab96[_0x174074(0x145)](new _0x2bca64(0x0)),_0x1e9566[_0x174074(0xf0)]=this[_0x174074(0xad)](_0x16ab96)[_0x174074(0xf6)](()=>{const _0x57888c=_0x174074;this[_0x57888c(0xef)][_0x57888c(0x97)][_0x57888c(0xbb)](_0xc15432)[_0x57888c(0x128)](this),this[_0x57888c(0xef)][_0x57888c(0xe3)][_0x57888c(0x15a)](_0x57888c(0xa3));})[_0x174074(0x16e)](_0x3f13be=>this[_0x174074(0x14f)](_0x174074(0x156),_0x3f13be))[_0x174074(0xe6)](()=>this[_0x174074(0x15b)]());},{'priority':_0x4bfbb9(0x142)}),this[_0x4bfbb9(0xef)]['on'](_0x4bfbb9(0xfe),async(_0x5cc025,[_0x3ed6b7,_0x30a711])=>{const _0x3680a1=_0x4bfbb9;_0x5cc025[_0x3680a1(0xf7)]();const _0xd3fb9d=this[_0x3680a1(0xef)][_0x3680a1(0x78)][_0x3680a1(0xe0)][_0x3680a1(0x72)](_0x3ed6b7);if(!this[_0x3680a1(0x77)][_0x3680a1(0xc4)](_0x3ed6b7)){const _0x25efd6=_0x30a711&&_0x30a711[_0x3680a1(0xe3)]?_0x30a711[_0x3680a1(0xe3)]:'',_0x10943e=_0x30a711&&_0x30a711[_0x3680a1(0x99)]?_0x30a711[_0x3680a1(0x99)]:{};await this[_0x3680a1(0x100)](_0x3ed6b7,_0x25efd6,_0x10943e);}this[_0x3680a1(0xef)][_0x3680a1(0x78)][_0x3680a1(0x11d)]({'isUndoable':!0x1},()=>{const _0x334aa9=_0x3680a1;_0xd3fb9d[_0x334aa9(0xb5)]=!0x0,this[_0x334aa9(0xef)][_0x334aa9(0x78)][_0x334aa9(0xe0)][_0x334aa9(0x148)][_0x334aa9(0xd8)](_0xd3fb9d);});},{'priority':_0x4bfbb9(0x142)});}async[_0x2702c9(0x161)](_0x1787a3){const _0x3141ff=_0x2702c9,_0x2256ec=this[_0x3141ff(0xef)][_0x3141ff(0x97)][_0x3141ff(0xbb)](_0x455895),{connection:_0x3b7f9b}=this[_0x3141ff(0xef)][_0x3141ff(0x97)][_0x3141ff(0xbb)](_0xc15432),_0xbb802=new Set();for(const _0x3ea6f3 of _0x1787a3){const _0x793e9a=_0x3ea6f3[_0x3141ff(0x13b)];_0x793e9a&&!_0x2256ec[_0x3141ff(0x11b)](_0x793e9a)&&_0xbb802[_0x3141ff(0x12f)](_0x793e9a);}if(0x0===_0xbb802[_0x3141ff(0x111)])return;const _0x4b10c0=await _0x55dfd2[_0x3141ff(0x13f)](_0x3b7f9b,Array[_0x3141ff(0xfa)](_0xbb802));for(const _0x51c917 of _0x4b10c0)_0x2256ec[_0x3141ff(0x11b)](_0x51c917['id'])||_0x2256ec[_0x3141ff(0xfb)](_0x51c917);}[_0x2702c9(0x110)](_0x24e9c5,_0x403e01={}){const _0x3ff4e1=_0x2702c9,_0x27084c=this[_0x3ff4e1(0xef)][_0x3ff4e1(0x78)],_0x440b4f=[];let _0x1a4144=0x0;const _0x19d8d1=_0x3ff4e1(0x129)==typeof _0x24e9c5?{'main':_0x24e9c5}:_0x24e9c5;for(const _0x31eeeb of Object[_0x3ff4e1(0x10d)](_0x19d8d1)){if(!this[_0x3ff4e1(0xe1)][_0x3ff4e1(0x71)][_0x3ff4e1(0xc4)](_0x31eeeb))throw new _0x247870(_0x3ff4e1(0x131),this);const _0x29c9a1=this[_0x3ff4e1(0xef)][_0x3ff4e1(0xe3)][_0x3ff4e1(0x170)](_0x19d8d1[_0x31eeeb]),_0x2568cb=this[_0x3ff4e1(0xe1)][_0x3ff4e1(0x72)](_0x31eeeb),_0x41d17f=new _0x55aa4a(_0x27084c[_0x3ff4e1(0xba)](_0x2568cb,0x0),_0x29c9a1,_0x1a4144++);_0x440b4f[_0x3ff4e1(0x145)](_0x41d17f);for(const [_0x8883c9,_0x350e52]of _0x29c9a1[_0x3ff4e1(0xd2)]){const _0x5d8ff8=_0x27084c[_0x3ff4e1(0x94)](_0x27084c[_0x3ff4e1(0xce)](_0x2568cb,_0x350e52[_0x3ff4e1(0xaf)][_0x3ff4e1(0xb2)][_0x3ff4e1(0x172)]()),_0x27084c[_0x3ff4e1(0xce)](_0x2568cb,_0x350e52[_0x3ff4e1(0xec)][_0x3ff4e1(0xb2)][_0x3ff4e1(0x172)]())),_0x3903b1=new _0x2efda1(_0x8883c9,null,_0x5d8ff8,_0x27084c[_0x3ff4e1(0xd2)],!0x0,_0x1a4144++);_0x440b4f[_0x3ff4e1(0x145)](_0x3903b1);}}if(_0x403e01)for(const [_0x3079f0,_0x154e6d]of Object[_0x3ff4e1(0x116)](_0x403e01)){const _0x3a4cb3=_0x27084c[_0x3ff4e1(0xe0)][_0x3ff4e1(0x72)](_0x3079f0);if(!_0x3a4cb3)throw new _0x247870(_0x3ff4e1(0xa7),null);for(const [_0x23bbe5,_0x4643e8]of Object[_0x3ff4e1(0x116)](_0x154e6d))if(null!==_0x4643e8){const _0x1da47b=new _0x58d181(_0x3a4cb3,_0x23bbe5,null,_0x4643e8,_0x1a4144++);_0x440b4f[_0x3ff4e1(0x145)](_0x1da47b);}}return _0x440b4f;}async[_0x2702c9(0x100)](_0xc2d104,_0x52da60,_0x49bd3e){const _0xade973=_0x2702c9;this[_0xade973(0x110)]({[_0xc2d104]:_0x52da60},{[_0xc2d104]:_0x49bd3e})[_0xade973(0xa1)]((_0x32073d,_0xa5d489)=>{const _0x4cff4c=_0xade973;_0x32073d[_0x4cff4c(0x93)]=this[_0x4cff4c(0xe1)][_0x4cff4c(0x127)]+_0xa5d489,_0x32073d[_0x4cff4c(0x88)]=!0x0,this[_0x4cff4c(0x109)](_0x32073d);}),this[_0xade973(0xc5)](),await this[_0xade973(0x174)]();}async[_0x2702c9(0xc8)](_0x22e4fa,_0x4a82b1){const _0x52ec15=_0x2702c9;let _0x5dc2f7;this[_0x52ec15(0x10e)]=_0x22e4fa[_0x52ec15(0x108)];const _0x3fcee6=_0x22e4fa[_0x52ec15(0x152)]&&!_0x22e4fa[_0x52ec15(0x144)],_0x20b23e=_0x3fcee6?0x0:_0x22e4fa[_0x52ec15(0xe3)][_0x52ec15(0x93)];if(_0x4a82b1[_0x52ec15(0xa1)](_0x1ab57e=>{const _0x47d08d=_0x52ec15;_0x1ab57e[_0x47d08d(0x88)]=!0x0,_0x1ab57e[_0x47d08d(0xd7)]=_0x22e4fa[_0x47d08d(0xa6)],_0x1ab57e[_0x47d08d(0x13b)]=null;}),_0x3fcee6)_0x5dc2f7=_0x4a82b1,this[_0x52ec15(0xda)](_0x5dc2f7,_0x3fcee6);else{if(_0x22e4fa[_0x52ec15(0x144)]){const _0x198b9b=this[_0x52ec15(0x110)](_0x22e4fa[_0x52ec15(0x144)]);this[_0x52ec15(0xe1)][_0x52ec15(0x9b)][_0x52ec15(0x127)]=-_0x198b9b[_0x52ec15(0xca)],_0x198b9b[_0x52ec15(0xa1)](_0x1a5958=>{const _0x22ec4e=_0x52ec15;_0x1a5958[_0x22ec4e(0x93)]-=_0x198b9b[_0x22ec4e(0xca)],_0x1a5958[_0x22ec4e(0xd7)]=_0x22e4fa[_0x22ec4e(0xa6)],_0x1a5958[_0x22ec4e(0x88)]=!0x0,_0x1a5958[_0x22ec4e(0x13b)]=null;}),this[_0x52ec15(0xda)](_0x198b9b,!0x0),this[_0x52ec15(0x75)][_0x52ec15(0x127)]=-_0x198b9b[_0x52ec15(0xca)]+this[_0x52ec15(0x10e)],this[_0x52ec15(0xb1)](_0x198b9b);}this[_0x52ec15(0xe1)][_0x52ec15(0x9b)][_0x52ec15(0x127)]=_0x20b23e,_0x5dc2f7=this[_0x52ec15(0x120)](_0x22e4fa[_0x52ec15(0xe3)],_0x22e4fa[_0x52ec15(0x130)]),await this[_0x52ec15(0x161)](_0x5dc2f7),this[_0x52ec15(0xda)](_0x5dc2f7,_0x3fcee6);}_0x22e4fa[_0x52ec15(0x10a)]&&(this[_0x52ec15(0xd0)][_0x52ec15(0x147)](_0x5dc2f7,_0x22e4fa[_0x52ec15(0x10a)]),this[_0x52ec15(0x7a)]=_0x22e4fa[_0x52ec15(0x10a)]),this[_0x52ec15(0x75)][_0x52ec15(0x127)]=_0x20b23e+this[_0x52ec15(0x10e)],this[_0x52ec15(0xb1)](_0x5dc2f7),_0x4a82b1[_0x52ec15(0x9a)](_0x1a36e5=>{const _0x3ec030=_0x52ec15,_0x14572c=this[_0x3ec030(0x12e)](_0x1a36e5);return _0x14572c&&!this[_0x3ec030(0x77)][_0x3ec030(0xc4)](_0x14572c);})[_0x52ec15(0xa1)]((_0x51c90f,_0x20f593)=>{const _0x38d8af=_0x52ec15;_0x51c90f[_0x38d8af(0x93)]=this[_0x38d8af(0xe1)][_0x38d8af(0x127)]+_0x20f593,this[_0x38d8af(0x109)](_0x51c90f);}),this[_0x52ec15(0xdd)]()?(this[_0x52ec15(0x123)]=0x0,this[_0x52ec15(0xc5)](!0x0),await this[_0x52ec15(0x174)]()):(this[_0x52ec15(0xcc)]=!0x1,this[_0x52ec15(0x15b)]());}[_0x2702c9(0x14f)](_0x1b32f3,_0x421dab){const _0x5d4d33=_0x2702c9,_0x626ea=_0x421dab&&_0x421dab[_0x5d4d33(0x14b)];if(_0x626ea&&_0x626ea[_0x5d4d33(0x84)](_0x5d4d33(0xd6)))throw _0x421dab;const _0x5053ca=this[_0x5d4d33(0xef)][_0x5d4d33(0x97)][_0x5d4d33(0xbb)](_0xc15432);throw this[_0x5d4d33(0xcc)]=!0x0,_0x5053ca[_0x5d4d33(0x13d)](),this[_0x5d4d33(0xef)][_0x5d4d33(0x14d)](_0x5d4d33(0x90)),new _0x247870(_0x1b32f3,this[_0x5d4d33(0xef)],_0x626ea?{'originalError':_0x626ea}:void 0x0);}[_0x2702c9(0x109)](_0x42f281){const _0x305185=_0x2702c9;this[_0x305185(0x16c)][_0x305185(0xc4)](_0x42f281)||(this[_0x305185(0x16c)][_0x305185(0x12f)](_0x42f281),this[_0x305185(0x16d)][_0x305185(0x145)](_0x42f281),this[_0x305185(0x165)]||_0x305185(0x138)==_0x42f281[_0x305185(0xe2)]&&!_0x42f281[_0x305185(0x15f)]||this[_0x305185(0x105)]());}[_0x2702c9(0xc5)](_0x33794a=!0x1){const _0x29b357=_0x2702c9;!_0x33794a&&this[_0x29b357(0xcc)]||(this[_0x29b357(0xcc)]=!0x0,clearTimeout(this[_0x29b357(0x10b)]),this[_0x29b357(0x10b)]=setTimeout(()=>{const _0x1d8b02=_0x29b357;this[_0x1d8b02(0xd3)]()[_0x1d8b02(0xf6)](_0x39a4c4=>{const _0x4b5432=_0x1d8b02;_0x39a4c4&&(this[_0x4b5432(0x15b)](),this[_0x4b5432(0xcc)]=!0x1);})[_0x1d8b02(0x16e)](_0x1bfbab=>{const _0x1192f4=_0x1d8b02;this[_0x1192f4(0x15b)](),this[_0x1192f4(0xcc)]=!0x1,function(_0x5f0519){const _0x53d90c=_0x1192f4;return _0x5f0519[_0x53d90c(0x14b)][_0x53d90c(0x84)](_0x53d90c(0x15c))||_0x5f0519[_0x53d90c(0x14b)][_0x53d90c(0x84)](_0x53d90c(0x104))||_0x5f0519[_0x53d90c(0x14b)][_0x53d90c(0x84)](_0x53d90c(0xbd));}(_0x1bfbab)||this[_0x1192f4(0x14f)](_0x1bfbab[_0x1192f4(0x14b)],_0x1bfbab);});},this[_0x29b357(0x123)]));}[_0x2702c9(0x174)](){return new Promise(_0x1f37bf=>{const _0x1979a3=_0xf43f;this['on'](_0x1979a3(0x153),()=>{_0x1f37bf();});});}async[_0x2702c9(0xd3)](){const _0x58bc55=_0x2702c9,_0x27f259=this[_0x58bc55(0xef)][_0x58bc55(0x97)][_0x58bc55(0xbb)](_0x4b672f);if(this[_0x58bc55(0x14c)]()&&(_0x27f259[_0x58bc55(0x92)](),this[_0x58bc55(0xae)]=!0x1),!this[_0x58bc55(0xdd)]())return!0x0;const _0x1eb2c4=[...this[_0x58bc55(0x16d)]];for(const _0xa0e12e of _0x1eb2c4)_0xa0e12e[_0x58bc55(0x126)]=this[_0x58bc55(0xe1)][_0x58bc55(0x9b)][_0x58bc55(0xe4)](_0xa0e12e);const _0x3fc250=this[_0x58bc55(0xd0)][_0x58bc55(0x166)](_0x1eb2c4),_0x4df63d=Q++,_0x471e82=this[_0x58bc55(0x14e)](_0x1eb2c4),_0x46ec3f=await this[_0x58bc55(0x81)][_0x58bc55(0x13a)](_0x471e82,_0x471e82[_0x58bc55(0x93)],_0x3fc250);try{return await this[_0x58bc55(0x146)](_0x1eb2c4,_0x46ec3f,_0x4df63d);}catch(_0x2db6a8){return this[_0x58bc55(0x14f)](_0x58bc55(0xa2),_0x2db6a8);}}async[_0x2702c9(0x146)](_0x1b73d8,_0x2768bc,_0x33a9b3){const _0x2d3ad9=_0x2702c9;if(_0x2d3ad9(0xee)in _0x2768bc)throw _0x2768bc[_0x2d3ad9(0xee)];let _0x4cbf6b=!0x1;if(_0x2768bc[_0x2d3ad9(0x152)]){_0x2768bc[_0x2d3ad9(0x10a)]&&(this[_0x2d3ad9(0x7a)]=_0x2768bc[_0x2d3ad9(0x10a)]),this[_0x2d3ad9(0x16d)]=this[_0x2d3ad9(0x16d)][_0x2d3ad9(0x9a)](_0xdc0669=>!_0x1b73d8[_0x2d3ad9(0x14a)](_0xdc0669));for(const _0x31502f of _0x1b73d8)_0x31502f[_0x2d3ad9(0xd7)]=_0x2d3ad9(0x113)in _0x2768bc&&_0x2768bc[_0x2d3ad9(0x113)]||void 0x0;Y(_0x1b73d8,_0x2768bc[_0x2d3ad9(0x127)]-_0x1b73d8[_0x2d3ad9(0xca)]),this[_0x2d3ad9(0xb1)](_0x1b73d8);const _0xeb4fa0=_0x1b73d8[_0x2d3ad9(0x9a)](_0x30834d=>{const _0x231d52=_0x2d3ad9;if(!_0x30834d[_0x231d52(0x88)])return!0x1;const _0x3eebdf=this[_0x231d52(0x12e)](_0x30834d);return _0x3eebdf&&!this[_0x231d52(0x77)][_0x231d52(0xc4)](_0x3eebdf);});Y(_0xeb4fa0,this[_0x2d3ad9(0xe1)][_0x2d3ad9(0x127)]),this[_0x2d3ad9(0xda)](_0xeb4fa0),_0x4cbf6b=!0x0,this[_0x2d3ad9(0x123)]=this[_0x2d3ad9(0x101)];}else{const _0x1b6ecf=this[_0x2d3ad9(0x120)](_0x2768bc[_0x2d3ad9(0xe3)],_0x2768bc[_0x2d3ad9(0x130)])[_0x2d3ad9(0x9a)](_0x48d2d9=>_0x48d2d9[_0x2d3ad9(0x93)]>=this[_0x2d3ad9(0xe7)]);_0x1b6ecf[_0x2d3ad9(0xa1)](_0x4c3796=>this[_0x2d3ad9(0x117)](_0x4c3796)),this[_0x2d3ad9(0x16d)]=this[_0x2d3ad9(0x16d)][_0x2d3ad9(0x9a)](_0x183467=>!_0x183467[_0x2d3ad9(0x88)]||!this[_0x2d3ad9(0x77)][_0x2d3ad9(0xc4)](this[_0x2d3ad9(0x12e)](_0x183467))),this[_0x2d3ad9(0x16d)][_0x2d3ad9(0xca)]&&Y(this[_0x2d3ad9(0x16d)],this[_0x2d3ad9(0x16d)][0x0][_0x2d3ad9(0x93)]),await this[_0x2d3ad9(0x161)](_0x1b6ecf),_0x4cbf6b=this[_0x2d3ad9(0xbc)](_0x1b6ecf,_0x2768bc[_0x2d3ad9(0x127)],_0x2768bc[_0x2d3ad9(0x10a)]),this[_0x2d3ad9(0x123)]=Math[_0x2d3ad9(0x169)](this[_0x2d3ad9(0x123)]/0x2);}return _0x4cbf6b?!this[_0x2d3ad9(0xdd)]()||(this[_0x2d3ad9(0xc5)](!0x0),!0x1):this[_0x2d3ad9(0x14f)](_0x2d3ad9(0xa9));}[_0x2702c9(0xbc)](_0x221702,_0x456d1e,_0x3bd3c7){const _0x482126=_0x2702c9;try{const _0x224ab1={'document':this[_0x482126(0xe1)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x370a52,operationsB:_0x126a47,originalOperations:_0x42ee68}=_0x42b252(_0x221702,this[_0x482126(0x16d)],_0x224ab1);Y(_0x370a52,this[_0x482126(0xe1)][_0x482126(0x127)]),Y(_0x126a47,_0x456d1e);for(const _0x50fecc of _0x370a52){const _0x5d5876=_0x42ee68[_0x482126(0xbb)](_0x50fecc);_0x50fecc[_0x482126(0x13b)]=_0x5d5876?_0x5d5876[_0x482126(0x13b)]:null;}_0x3bd3c7&&(this[_0x482126(0xd0)][_0x482126(0x147)](_0x221702,_0x3bd3c7),this[_0x482126(0x7a)]=_0x3bd3c7),this[_0x482126(0x16d)]=[..._0x126a47],this[_0x482126(0xda)](_0x370a52),this[_0x482126(0xb1)](_0x221702);}catch(_0x2bc9c5){return console[_0x482126(0xee)](_0x2bc9c5),!0x1;}return!0x0;}[_0x2702c9(0xda)](_0xdee83c,_0x120d77=!0x1){const _0x55c339=_0x2702c9;this[_0x55c339(0xef)][_0x55c339(0x78)][_0x55c339(0x11d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1fe167=>{const _0x4d978f=_0x55c339;for(const _0x505ebe of _0xdee83c)this[_0x4d978f(0x16c)][_0x4d978f(0x12f)](_0x505ebe),this[_0x4d978f(0x117)](_0x505ebe),_0x1fe167[_0x4d978f(0x143)][_0x4d978f(0x15d)](_0x505ebe),this[_0x4d978f(0xef)][_0x4d978f(0x78)][_0x4d978f(0x162)](_0x505ebe);});}[_0x2702c9(0x117)](_0x109871){const _0x1581b9=_0x2702c9,_0x21b6df=this[_0x1581b9(0x12e)](_0x109871);_0x21b6df&&this[_0x1581b9(0x77)][_0x1581b9(0x12f)](_0x21b6df);}[_0x2702c9(0x12e)](_0x3a9251){const _0x22c9c4=_0x2702c9;let _0x1899ae,_0x22e5af;switch(_0x3a9251[_0x22c9c4(0xe2)]){case _0x22c9c4(0x8f):_0x1899ae=_0x3a9251[_0x22c9c4(0x11a)][_0x22c9c4(0x80)];break;case _0x22c9c4(0x138):if(_0x22e5af=_0x3a9251[_0x22c9c4(0x12d)],!_0x22e5af)return null;_0x1899ae=_0x22e5af[_0x22c9c4(0x80)];break;case _0x22c9c4(0xa8):_0x1899ae=_0x3a9251[_0x22c9c4(0x80)];break;case _0x22c9c4(0xc1):_0x1899ae=_0x3a9251[_0x22c9c4(0x13e)];break;case _0x22c9c4(0x86):_0x1899ae=_0x3a9251[_0x22c9c4(0x141)][_0x22c9c4(0x80)];break;default:return null;}return _0x1899ae[_0x22c9c4(0xc7)];}[_0x2702c9(0xb1)](_0x51db2d){const _0x349ca3=_0x2702c9;_0x51db2d[_0x349ca3(0xa1)](_0x5052e6=>{const _0x42d055=_0x349ca3,_0x23f31b=_0x5052e6[_0x42d055(0xbf)]();_0x23f31b[_0x42d055(0x13b)]=_0x5052e6[_0x42d055(0x13b)],_0x23f31b[_0x42d055(0x88)]=!!_0x5052e6[_0x42d055(0x88)],_0x23f31b[_0x42d055(0xd7)]=_0x5052e6[_0x42d055(0xd7)],_0x23f31b[_0x42d055(0x93)]+=this[_0x42d055(0x10e)],_0x5052e6[_0x42d055(0x118)]&&this[_0x42d055(0x16b)][_0x42d055(0x12f)](_0x23f31b),this[_0x42d055(0x75)][_0x42d055(0x15d)](_0x23f31b);});}[_0x2702c9(0xb8)](_0x18b799){const _0x21e56a=_0x2702c9,_0xa7e1a3=this[_0x21e56a(0xef)][_0x21e56a(0x97)][_0x21e56a(0xbb)](_0x21e56a(0xde)),_0x376f1a=this[_0x21e56a(0xef)][_0x21e56a(0x149)];_0x18b799||(_0x18b799=_0x251b37(_0x376f1a,_0x21e56a(0xcf))),_0xa7e1a3[_0x21e56a(0x83)](_0x18b799,{'title':_0x251b37(_0x376f1a,_0x21e56a(0x135)),'namespace':_0x21e56a(0xb4)}),this[_0x21e56a(0x114)]=!0x0,clearTimeout(this[_0x21e56a(0x10b)]),this[_0x21e56a(0x16d)]=[],this[_0x21e56a(0xef)][_0x21e56a(0x97)][_0x21e56a(0xbb)](_0xc15432)[_0x21e56a(0x13d)]();}[_0x2702c9(0x105)](){const _0xa52670=_0x2702c9;this[_0xa52670(0x165)]||(this[_0xa52670(0x165)]=this[_0xa52670(0xef)][_0xa52670(0x97)][_0xa52670(0xbb)](_0x45e76d)[_0xa52670(0x12f)](_0x251b37(this[_0xa52670(0xef)][_0xa52670(0x149)],_0xa52670(0x76))));}[_0x2702c9(0x15b)](){const _0x1839d9=_0x2702c9;this[_0x1839d9(0x165)]&&(this[_0x1839d9(0xef)][_0x1839d9(0x97)][_0x1839d9(0xbb)](_0x45e76d)[_0x1839d9(0x175)](this[_0x1839d9(0x165)]),this[_0x1839d9(0x165)]=null);}[_0x2702c9(0x14e)](_0x59c80d){const _0x26511d=_0x2702c9,_0x1ffeca=_0x59c80d[_0x26511d(0xcb)](_0x45d343=>_0x45d343[_0x26511d(0x125)]());return this[_0x26511d(0xe9)][_0x26511d(0x79)](_0x1ffeca);}[_0x2702c9(0x120)](_0x5b9cb4,_0x2fc185){const _0x8a9ec2=_0x2702c9;return this[_0x8a9ec2(0xe9)][_0x8a9ec2(0x140)](_0x5b9cb4)[_0x8a9ec2(0xcb)]((_0x4ff337,_0x19e45a)=>{const _0x3ca07d=_0x8a9ec2,_0x53ab19=_0x3ca07d(0x7f)==_0x2fc185[_0x19e45a][_0x3ca07d(0xe2)];if(_0x3ca07d(0xa4)==_0x4ff337[_0x3ca07d(0x106)]){const _0x35559d=_0x4ff337[_0x3ca07d(0x11a)][_0x3ca07d(0x80)];!this[_0x3ca07d(0xe1)][_0x3ca07d(0x72)](_0x35559d)&&(this[_0x3ca07d(0xe1)][_0x3ca07d(0x176)](_0x3ca07d(0x171),_0x35559d)[_0x3ca07d(0x115)]=!0x1);}const _0x13d595=_0x94aada[_0x3ca07d(0x133)](_0x4ff337,this[_0x3ca07d(0xe1)]);return _0x13d595[_0x3ca07d(0x126)]=_0x4ff337[_0x3ca07d(0x126)],_0x13d595[_0x3ca07d(0x88)]=_0x53ab19,_0x13d595[_0x3ca07d(0x13b)]=_0x53ab19?null:_0x2fc185[_0x19e45a][_0x3ca07d(0xf2)],_0x13d595[_0x3ca07d(0x118)]=_0x3ca07d(0xdb)===_0x2fc185[_0x19e45a][_0x3ca07d(0xe2)],_0x13d595[_0x3ca07d(0xd7)]=_0x2fc185[_0x19e45a][_0x3ca07d(0xd7)],_0x13d595;});}[_0x2702c9(0x150)](){const _0x17d6a2=_0x2702c9;this[_0x17d6a2(0xae)]=!0x0,this[_0x17d6a2(0x14c)]()?this[_0x17d6a2(0xc5)]():this[_0x17d6a2(0xae)]=!0x1;}[_0x2702c9(0x14c)](){const _0x3cd80b=_0x2702c9,_0x2acff2=this[_0x3cd80b(0xef)][_0x3cd80b(0x97)][_0x3cd80b(0xbb)](_0x282bbe)[_0x3cd80b(0xeb)][_0x3cd80b(0xbb)](this[_0x3cd80b(0x82)]);return!this[_0x3cd80b(0xef)][_0x3cd80b(0x11e)]&&!!_0x2acff2&&_0x2acff2[_0x3cd80b(0xca)]>0x1&&this[_0x3cd80b(0xae)];}[_0x2702c9(0xdd)](){const _0x4006cb=_0x2702c9;return this[_0x4006cb(0x16d)][_0x4006cb(0xca)]>0x0||this[_0x4006cb(0x14c)]();}}class X extends Error{}function Y(_0x59b9c8,_0x2c9765){const _0x375f64=_0x2702c9;for(const _0x41cf1d of _0x59b9c8)_0x41cf1d[_0x375f64(0x93)]=_0x2c9765++;}class Z{[_0x2702c9(0x132)];[_0x2702c9(0xa5)];constructor(_0x3ea92e){const _0x216a81=_0x2702c9;this[_0x216a81(0x132)]=_0x3ea92e,this[_0x216a81(0xa5)]=new WeakMap();}[_0x2702c9(0x166)](_0x420e6b){const _0x26f4c4=_0x2702c9;let _0xb0cf77=_0x420e6b[_0x26f4c4(0xca)];for(;_0xb0cf77--;){const _0xfc7c6c=_0x420e6b[_0xb0cf77];if(!this[_0x26f4c4(0x132)][_0x26f4c4(0xc4)](_0xfc7c6c)){if(!this[_0x26f4c4(0xa5)][_0x26f4c4(0xc4)](_0xfc7c6c)){const _0xd7cfeb=_0x525b35()[_0x26f4c4(0x172)](0x1,0x12);this[_0x26f4c4(0xa5)][_0x26f4c4(0x74)](_0xfc7c6c,_0xd7cfeb);}return this[_0x26f4c4(0xa5)][_0x26f4c4(0xbb)](_0xfc7c6c);}}}[_0x2702c9(0x147)](_0x3f64e6,_0x1e4dcb){const _0x4841b1=_0x2702c9;if(!_0x1e4dcb)return;let _0x156ea7=_0x3f64e6[_0x4841b1(0xca)];for(;_0x156ea7--;){const _0x5d59db=_0x3f64e6[_0x156ea7];this[_0x4841b1(0x132)][_0x4841b1(0xc4)](_0x5d59db)||this[_0x4841b1(0xa5)][_0x4841b1(0x74)](_0x5d59db,_0x1e4dcb);}}}
23
+ function _0x9c01(_0x3168d0,_0x3a0c1a){const _0x2dfaef=_0x2dfa();return _0x9c01=function(_0x9c0187,_0xdcaec2){_0x9c0187=_0x9c0187-0x17b;let _0x4273a9=_0x2dfaef[_0x9c0187];return _0x4273a9;},_0x9c01(_0x3168d0,_0x3a0c1a);}const _0xdd566d=_0x9c01;(function(_0x12557d,_0x3c5434){const _0x363d22=_0x9c01,_0x9d4168=_0x12557d();while(!![]){try{const _0x12bf8f=-parseInt(_0x363d22(0x243))/0x1+parseInt(_0x363d22(0x18c))/0x2*(parseInt(_0x363d22(0x223))/0x3)+parseInt(_0x363d22(0x26b))/0x4*(-parseInt(_0x363d22(0x230))/0x5)+parseInt(_0x363d22(0x193))/0x6*(-parseInt(_0x363d22(0x1c9))/0x7)+-parseInt(_0x363d22(0x208))/0x8*(parseInt(_0x363d22(0x239))/0x9)+-parseInt(_0x363d22(0x190))/0xa+parseInt(_0x363d22(0x227))/0xb*(parseInt(_0x363d22(0x268))/0xc);if(_0x12bf8f===_0x3c5434)break;else _0x9d4168['push'](_0x9d4168['shift']());}catch(_0x1f994f){_0x9d4168['push'](_0x9d4168['shift']());}}}(_0x2dfa,0x438f3));import{Plugin as _0x3383ad,PendingActions as _0x5b3dcc}from'ckeditor5/src/core.js';import{CKEditorError as _0x38e951,version as _0x53f41e,uid as _0x3f4501}from'ckeditor5/src/utils.js';import{Notification as _0x3ea53e}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x4f981b,NoOperation as _0x23b90a,InsertOperation as _0x4f7e19,MarkerOperation as _0x266eef,RootAttributeOperation as _0x333028,OperationFactory as _0x15886e,History as _0x540fac}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x56fbb6}from'./websocketgateway.js';function _0x2dfa(){const _0x5476bf=['position','sendOperations','fire','rtc-offline','_channelId','getIdOfTheLastOperation','_handleReconnectionResponse','setPermissions','affectedSelectable','currentDocumentSession','clone','apply','connected','plugins','realtimecollaborationclient-init-service-incorrect-server-operation','model','_handleSendingSelectionMarkers','off','size','start','getUser','getRoot','_currentBufferDelay','_operationToId','reset','history','editing','entries','map','fromJSON','_isPendingUpdate','multi-root-editor-root-attributes-no-root','includes','_bufferRootLoad','data','error','change:range','409','listenTo','_sendBufferedOperationsDelayId','104TuYQxr','_isInit','toJSON','_loadRoot','createPositionFromPath','realtimecollaborationclient-handleserverresponse','_sendBufferedOperations','filter','wasUndone','_operationIdentifier','InsertOperation','compress','addUser','_isLoaded','connect','locale','realtimecollaborationclient-init-connection-failed','reconnection:\x20flushed\x20session','_hasSynchronizationProblem','view','_bufferedOperations','editor','_initSessionsHandling','_clearPendingAction','add','code','length','9onzrPa','_handleInitialConnectionData','_applyOperationsSet','channelSessions','11RkemrP','_isConnected','realtimecollaborationclient-init-session-connection-error','cloudDocumentVersion','_fetchMissingUsers','ready','_disconnectService','_shouldSendSelectionUpdate','message','693165WTQyUl','createPositionAt','high','_hasSelectionChanged','realtimecollaborationclient-init-non-existent-root','keys','catch','real-time-collaboration','round','49482bnWugU','disconnect','suppressErrorInCollaboration','_setPendingAction','_handleExternalOperations','_baseBufferDelay','createRoot','_isAttached','_lastSyncedOperationId','realtimecollaborationclient-sendbufferedoperations','247036LMfnEI','disableReadOnlyMode','_pendingAction','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.','_shouldSendUpdate','rtc-destroyed','has','removeFromReconnectionStack','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.','sessionCreatedAt','_disconnectionOperations','directChange','parse','_connectAfterSessionHasBeenFlushed','_waitUntilSynced','_getOperationsFromInitData','move','getOperationAuthor','decompress','rootsAttributes','affectsData','targetPosition','requires','CollaborativeEditingService','showWarning','mySessionId','CommentsOnly','__className','metadata','slice','createRange','_saveOperationInBuffer','_connectService','document','_sendBufferedOperationsDelayed','serverHistory','insert','16352484wVyHsm','bind','_updateServerHistory','4WOJisw','version','userId','initData','isOfficialPlugin','finally','_setUpDataInit','cs:removeUser','_refreshUserSelectionMarkers','root','define','Notification','isUndoneOperation','permissions','batch','differ','path','_document','getDocumentDetails','_authorId','sessionId','_handleReconnectionError','stopListening','PENDING_ACTION_SENDING_DATA','getOperations','$root','attributes','loadRoot','applyOperation','newRange','operationsReceived','change:_isPendingUpdate','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isReadOnly','connection','addRoot','realtimecollaborationclient-init-service-internal-error','_lastServerVersion','Permissions','pluginName','_isDisconnection','186114XQniVL','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','realtimecollaborationclient-error','type','4403810yXDqFO','baseVersion','collaboration','4194HSdXwy','addRootAttribute','marker','selection','lastOperationId','forEach','getConnectedSessions','_isEditingAllowed','then','_ignoredOperations','_knownRootNames','addOperation','config','_initThrowingOnDataSet','createdAt','roots','get','404','push','change:hasDomSelection','remove','lastOperationAcceptedAt','_compressOperations','wereChangesApplied','_offset','setIdForTheLastOperation','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient','_handleReceivedOperations','_handleServerResponse','init','register','lastDocumentSession','_getAffectedRoot','_compressor','reconnect','startsWith','offset','cloud-services-internal-error:\x20Not\x20connected.','disconnected','markers','_decompressOperations','enqueueChange','_service','stop','collaboration-missing-channelid','unregister','_knownOperations','return','collaboration.channelId','destroy','sessionAdd:','createUserMarkerOperations','getMany','4683IVgoLR','isEnabled','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','set','isPremiumPlugin','lastSyncVersion','RealTimeCollaborationClient','rootName','addToReconnectionStack','realtimecollaborationclient-init-document-already-initialized','Synchronization\x20issue','isDocumentOperation','cloud-services-internal-error:\x20Request\x20timeout.','_addKnownRoot','document:write','cloudServices.bundleVersion','string','change:_isEditingAllowed','_crash','from','state','enableReadOnlyMode','end'];_0x2dfa=function(){return _0x5476bf;};return _0x2dfa();}import{Sessions as _0x2007a9}from'./sessions.js';import{UserMarkers as _0x3dab96}from'./usermarkers.js';import{getTranslation as _0x30f3a8}from'../common-translations.js';import{Compressor as _0x257f9a}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2651c1}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x209b01,CollaborativeEditingService as _0x19d834}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x3383ad{static [_0xdd566d(0x25a)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x19d834)());[_0xdd566d(0x1ab)];[_0xdd566d(0x27f)];[_0xdd566d(0x266)];[_0xdd566d(0x1e4)];[_0xdd566d(0x1be)];[_0xdd566d(0x27c)];[_0xdd566d(0x1b5)];[_0xdd566d(0x21c)];[_0xdd566d(0x1c2)];[_0xdd566d(0x19d)];[_0xdd566d(0x245)];[_0xdd566d(0x233)];[_0xdd566d(0x207)];[_0xdd566d(0x23e)];[_0xdd566d(0x1f6)];[_0xdd566d(0x241)];[_0xdd566d(0x24d)];[_0xdd566d(0x211)];static get[_0xdd566d(0x259)](){return[_0x56fbb6,_0x2007a9,_0x3dab96,_0x5b3dcc,_0x2651c1,_0x3ea53e];}static get[_0xdd566d(0x18a)](){const _0x245766=_0xdd566d;return _0x245766(0x1cf);}static get[_0xdd566d(0x26f)](){return!0x0;}static get[_0xdd566d(0x1cd)](){return!0x0;}get[_0xdd566d(0x22a)](){const _0x4c3bd2=_0xdd566d;return this[_0x4c3bd2(0x188)]+this[_0x4c3bd2(0x1ab)];}get[_0xdd566d(0x188)](){const _0x3b34b2=_0xdd566d;return this[_0x3b34b2(0x266)][_0x3b34b2(0x26c)]-this[_0x3b34b2(0x1ab)];}get[_0xdd566d(0x1ce)](){const _0x3c9ce8=_0xdd566d,_0x1c1318=this[_0x3c9ce8(0x266)][_0x3c9ce8(0x17b)]();for(let _0x1fefa5=_0x1c1318[_0x3c9ce8(0x222)]-0x1;_0x1fefa5>=0x0;_0x1fefa5--){const _0x277190=_0x1c1318[_0x1fefa5];if(!this[_0x3c9ce8(0x24d)][_0x3c9ce8(0x249)](_0x277190))return _0x277190[_0x3c9ce8(0x191)]+0x1-this[_0x3c9ce8(0x1ab)];}return 0x0;}constructor(_0x3a1bb1){const _0x2fff98=_0xdd566d;if(super(_0x3a1bb1),this[_0x2fff98(0x1ab)]=0x0,this[_0x2fff98(0x27f)]=null,this[_0x2fff98(0x266)]=new _0x540fac(),this[_0x2fff98(0x21d)][_0x2fff98(0x19f)][_0x2fff98(0x275)](_0x2fff98(0x192),{}),this[_0x2fff98(0x1e4)]=this[_0x2fff98(0x21d)][_0x2fff98(0x19f)][_0x2fff98(0x1a3)](_0x2fff98(0x1c4)),!this[_0x2fff98(0x1e4)])throw new _0x38e951(_0x2fff98(0x1c0),this);const _0x541604=_0x3a1bb1[_0x2fff98(0x19f)][_0x2fff98(0x1a3)](_0x2fff98(0x1d8))||_0x53f41e;this[_0x2fff98(0x1be)]=new RealTimeCollaborationClient[(_0x2fff98(0x25a))](_0x541604,this[_0x2fff98(0x1e4)]),this[_0x2fff98(0x27c)]=this[_0x2fff98(0x21d)][_0x2fff98(0x1ef)][_0x2fff98(0x264)],this[_0x2fff98(0x1b5)]=new _0x257f9a(),this[_0x2fff98(0x21c)]=[],this[_0x2fff98(0x1c2)]=new WeakSet(),this[_0x2fff98(0x19d)]=new Set(),this[_0x2fff98(0x1cc)](_0x2fff98(0x1fe),!0x1),this[_0x2fff98(0x1cc)](_0x2fff98(0x21a),!0x1),this[_0x2fff98(0x245)]=null,this[_0x2fff98(0x233)]=!0x1,this[_0x2fff98(0x207)]=null,this[_0x2fff98(0x23e)]=0x12c,this[_0x2fff98(0x1f6)]=this[_0x2fff98(0x23e)],this[_0x2fff98(0x241)]=null,this[_0x2fff98(0x24d)]=new WeakSet(),this[_0x2fff98(0x211)]=new J(this[_0x2fff98(0x24d)]);}[_0xdd566d(0x1b1)](){const _0x4cb710=_0xdd566d,_0x28d192=this[_0x4cb710(0x21d)],_0x134081=_0x28d192[_0x4cb710(0x1ed)][_0x4cb710(0x1a3)](_0x2651c1),_0x4cd0bf=_0x28d192[_0x4cb710(0x1ed)][_0x4cb710(0x1a3)](_0x56fbb6);this[_0x4cb710(0x206)](_0x134081,_0x4cb710(0x254),(_0x532c4f,_0x3911bf)=>{const _0x5d08e8=_0x4cb710,_0x47c75a=_0x3911bf[0x0];_0x47c75a[_0x5d08e8(0x27e)]&&(_0x532c4f[_0x5d08e8(0x1c3)]=_0x134081[_0x5d08e8(0x1f4)](_0x47c75a[_0x5d08e8(0x27e)]),_0x532c4f[_0x5d08e8(0x1bf)]()),null===_0x47c75a[_0x5d08e8(0x27e)]&&(_0x532c4f[_0x5d08e8(0x1c3)]=null,_0x532c4f[_0x5d08e8(0x1bf)]());},{'priority':_0x4cb710(0x232)}),this[_0x4cb710(0x206)](_0x28d192[_0x4cb710(0x1ef)][_0x4cb710(0x264)][_0x4cb710(0x196)],_0x4cb710(0x204),(_0x82b7cb,_0x20cb67)=>{const _0x2c4fdf=_0x4cb710;_0x20cb67[_0x2c4fdf(0x24e)]&&this[_0x2c4fdf(0x273)]();}),this[_0x4cb710(0x206)](_0x28d192[_0x4cb710(0x1fa)][_0x4cb710(0x21b)],_0x4cb710(0x1a6),()=>{const _0x2c6553=_0x4cb710;this[_0x2c6553(0x273)]();}),this[_0x4cb710(0x1a0)](),_0x28d192[_0x4cb710(0x1ef)]['on'](_0x4cb710(0x17f),(_0x13cb50,_0x548a26)=>{const _0x510a97=_0x4cb710,_0x3c2387=_0x548a26[0x0];_0x3c2387[_0x510a97(0x1d4)]&&(this[_0x510a97(0x262)](_0x3c2387),this[_0x510a97(0x247)]()&&this[_0x510a97(0x265)]());}),this[_0x4cb710(0x271)](),this[_0x4cb710(0x269)](_0x4cb710(0x19a))['to'](_0x4cd0bf,_0x4cb710(0x1dd),this,_0x4cb710(0x21a),(_0x2ec9e2,_0x25af18)=>_0x4cb710(0x1ec)===_0x2ec9e2&&!_0x25af18),this['on'](_0x4cb710(0x1da),()=>{const _0x4104d6=_0x4cb710;this[_0x4104d6(0x19a)]?_0x28d192[_0x4104d6(0x244)](_0x4104d6(0x1e3)):_0x28d192[_0x4104d6(0x1de)](_0x4104d6(0x1e3));}),this[_0x4cb710(0x19a)]?_0x28d192[_0x4cb710(0x244)](_0x4cb710(0x1e3)):_0x28d192[_0x4cb710(0x1de)](_0x4cb710(0x1e3)),this[_0x4cb710(0x1cc)](_0x4cb710(0x228),!0x1);}async[_0xdd566d(0x1b6)](){const _0x5cb746=_0xdd566d,_0xe0a26b=this[_0x5cb746(0x21d)][_0x5cb746(0x1ed)][_0x5cb746(0x1a3)](_0x2007a9),_0x456ae5=this[_0x5cb746(0x21d)][_0x5cb746(0x1ed)][_0x5cb746(0x1a3)](_0x56fbb6);try{this[_0x5cb746(0x1fe)]=!0x0,_0xe0a26b[_0x5cb746(0x1c1)](this[_0x5cb746(0x1e4)]);const _0x47ab2a=await this[_0x5cb746(0x1be)][_0x5cb746(0x1b6)](_0x456ae5[_0x5cb746(0x185)],this[_0x5cb746(0x1ce)]);await this[_0x5cb746(0x1e6)](_0x47ab2a)&&(this[_0x5cb746(0x1fe)]=!0x1,this[_0x5cb746(0x21f)]());const _0x34d7cd=await this[_0x5cb746(0x1be)][_0x5cb746(0x199)]();_0xe0a26b[_0x5cb746(0x1b2)](this[_0x5cb746(0x1e4)],_0x34d7cd),this[_0x5cb746(0x1f0)](),this[_0x5cb746(0x228)]=!0x0;}catch(_0x56f231){if(function(_0x562bb0){const _0xa9858c=_0x5cb746;return _0xa9858c(0x1a4)===_0x562bb0[_0xa9858c(0x221)];}(_0x56f231)&&this[_0x5cb746(0x27f)])await this[_0x5cb746(0x250)]();else{if(function(_0x234703){const _0x9903e0=_0x5cb746;return _0x9903e0(0x205)===_0x234703[_0x9903e0(0x221)];}(_0x56f231)){const _0x54352c=_0x30f3a8(this[_0x5cb746(0x21d)][_0x5cb746(0x217)],_0x5cb746(0x183));this[_0x5cb746(0x280)](_0x54352c);}else{if(!(_0x56f231 instanceof $))throw _0x56f231;this[_0x5cb746(0x280)]();}}}}[_0xdd566d(0x1c5)](){const _0x87aa57=_0xdd566d,_0x510886=this[_0x87aa57(0x21d)][_0x87aa57(0x1ed)][_0x87aa57(0x1a3)](_0x56fbb6),_0x2c44ca=this[_0x87aa57(0x21d)][_0x87aa57(0x1ed)][_0x87aa57(0x1a3)](_0x2007a9);this[_0x87aa57(0x21d)][_0x87aa57(0x1de)](_0x87aa57(0x248)),_0x2c44ca[_0x87aa57(0x226)][_0x87aa57(0x249)](this[_0x87aa57(0x1e4)])&&_0x2c44ca[_0x87aa57(0x1c1)](this[_0x87aa57(0x1e4)]),_0x510886[_0x87aa57(0x24a)](this),this[_0x87aa57(0x22d)](),super[_0x87aa57(0x1c5)]();}async[_0xdd566d(0x1e6)](_0x3c1d5c){const _0x4acb84=_0xdd566d;if(this[_0x4acb84(0x27f)]!==_0x3c1d5c[_0x4acb84(0x27f)]&&this[_0x4acb84(0x241)]!==_0x3c1d5c[_0x4acb84(0x197)])throw new $();return this[_0x4acb84(0x27f)]=_0x3c1d5c[_0x4acb84(0x27f)],this[_0x4acb84(0x1b0)]([],{..._0x3c1d5c,'wereChangesApplied':!0x1,'data':_0x3c1d5c[_0x4acb84(0x202)]},_0x4acb84(0x1b6));}async[_0xdd566d(0x263)](_0x3a9574,_0x237416=!0x1){const _0x32320f=_0xdd566d,{connection:_0x276751}=this[_0x32320f(0x21d)][_0x32320f(0x1ed)][_0x32320f(0x1a3)](_0x56fbb6);RealTimeCollaborationClient[_0x32320f(0x25a)][_0x32320f(0x199)](_0x276751,this[_0x32320f(0x1e4)])[_0x32320f(0x19b)](_0x1d4190=>this[_0x32320f(0x21e)](_0x1d4190))[_0x32320f(0x236)](_0x36bab5=>{const _0x3ee85e=_0x32320f;this[_0x3ee85e(0x1db)](_0x3ee85e(0x229),_0x36bab5);}),this[_0x32320f(0x206)](this[_0x32320f(0x1be)],_0x32320f(0x181),this[_0x32320f(0x1af)][_0x32320f(0x269)](this)),this[_0x32320f(0x206)](this[_0x32320f(0x1be)],_0x32320f(0x203),(_0x526e22,_0x449217)=>{const _0x518759=_0x32320f;this[_0x518759(0x1db)](_0x518759(0x187),_0x449217);}),this[_0x32320f(0x206)](this[_0x32320f(0x1be)],_0x32320f(0x1ba),()=>{const _0x267463=_0x32320f;this[_0x267463(0x228)]=!0x1;});const _0x430b02=this[_0x32320f(0x211)][_0x32320f(0x1e5)](_0x3a9574);this[_0x32320f(0x1fe)]=!0x0;const _0x4fcb2e=await this[_0x32320f(0x1be)][_0x32320f(0x216)](_0x276751,this[_0x32320f(0x1a9)](_0x3a9574),_0x430b02);if(this[_0x32320f(0x27f)]=_0x4fcb2e[_0x32320f(0x27f)],_0x237416){if(!_0x4fcb2e[_0x32320f(0x1aa)])return void this[_0x32320f(0x280)]();this[_0x32320f(0x1fe)]=!0x1,this[_0x32320f(0x21f)](),this[_0x32320f(0x266)][_0x32320f(0x1f8)](),this[_0x32320f(0x1ab)]=_0x4fcb2e[_0x32320f(0x1b8)],this[_0x32320f(0x266)][_0x32320f(0x26c)]=this[_0x32320f(0x1ab)],await this[_0x32320f(0x1b0)](_0x3a9574,_0x4fcb2e,_0x32320f(0x219));}else await this[_0x32320f(0x224)](_0x4fcb2e,_0x3a9574);this[_0x32320f(0x1f0)](),this[_0x32320f(0x228)]=!0x0;}[_0xdd566d(0x1f0)](){const _0x53f0c5=_0xdd566d,_0x1b49e2=this[_0x53f0c5(0x21d)][_0x53f0c5(0x1ed)][_0x53f0c5(0x1a3)](_0x2007a9),_0x2c1612=this[_0x53f0c5(0x21d)][_0x53f0c5(0x1ed)][_0x53f0c5(0x1a3)](_0x3dab96),_0x2b1275=_0x1b49e2[_0x53f0c5(0x226)][_0x53f0c5(0x1a3)](this[_0x53f0c5(0x1e4)]);_0x2b1275&&_0x2b1275[_0x53f0c5(0x222)]>0x1?_0x2c1612[_0x53f0c5(0x1c7)]():this[_0x53f0c5(0x206)](_0x1b49e2,_0x53f0c5(0x1c6)+this[_0x53f0c5(0x1e4)],()=>{const _0x4d6437=_0x53f0c5;0x2===_0x1b49e2[_0x4d6437(0x226)][_0x4d6437(0x1a3)](this[_0x4d6437(0x1e4)])[_0x4d6437(0x222)]&&_0x2c1612[_0x4d6437(0x1c7)]();});}async[_0xdd566d(0x1af)](_0xf11c6e,_0x5dd5f8,_0x1ff6fe,_0x4b360e){const _0x10ae31=_0xdd566d;if(!this[_0x10ae31(0x1fe)]&&this[_0x10ae31(0x27c)][_0x10ae31(0x26c)]==_0x5dd5f8){const _0x2c0a5e=this[_0x10ae31(0x1bc)](_0x1ff6fe,_0x4b360e);await this[_0x10ae31(0x22b)](_0x2c0a5e),this[_0x10ae31(0x23d)](_0x2c0a5e,_0x5dd5f8,_0x1ff6fe[_0x10ae31(0x197)])||this[_0x10ae31(0x1db)](_0x10ae31(0x1ee));}}async[_0xdd566d(0x250)](){const _0x3f0cbb=_0xdd566d;this[_0x3f0cbb(0x22d)]();const {locale:_0x24ce5f}=this[_0x3f0cbb(0x21d)];let _0x8e0c28;try{_0x8e0c28=await this[_0x3f0cbb(0x1be)][_0x3f0cbb(0x27d)]();}catch{const _0x7a3e8c=_0x30f3a8(_0x24ce5f,_0x3f0cbb(0x1ad));return void this[_0x3f0cbb(0x280)](_0x7a3e8c);}const _0x5ea198=_0x8e0c28[_0x3f0cbb(0x1e9)]||_0x8e0c28[_0x3f0cbb(0x1b3)];if(this[_0x3f0cbb(0x241)]!==_0x5ea198[_0x3f0cbb(0x197)]){const _0x3a3ea3=_0x30f3a8(_0x24ce5f,_0x3f0cbb(0x246));return void this[_0x3f0cbb(0x280)](_0x3a3ea3);}await this[_0x3f0cbb(0x263)](this[_0x3f0cbb(0x21d)][_0x3f0cbb(0x1ef)][_0x3f0cbb(0x264)][_0x3f0cbb(0x1f9)][_0x3f0cbb(0x17b)](),!0x0);}[_0xdd566d(0x22d)](){const _0x543565=_0xdd566d;this[_0x543565(0x1be)][_0x543565(0x23a)](),this[_0x543565(0x21c)]=[],clearTimeout(this[_0x543565(0x207)]),this[_0x543565(0x281)](this[_0x543565(0x1be)]);}[_0xdd566d(0x21e)](_0x403817){const _0x26d558=_0xdd566d,_0x48842f=this[_0x26d558(0x21d)][_0x26d558(0x1ed)][_0x26d558(0x1a3)](_0x2007a9);this[_0x26d558(0x206)](_0x48842f,_0x26d558(0x1c6)+this[_0x26d558(0x1e4)],(_0x8a54f,{session:_0x27452f})=>{const _0x49990f=_0x26d558;if(_0x27452f['id']===_0x48842f[_0x49990f(0x25c)]){_0x8a54f[_0x49990f(0x1f1)]();const _0x742a1e=this[_0x49990f(0x21d)][_0x49990f(0x1ed)][_0x49990f(0x249)](_0x49990f(0x25d))&&this[_0x49990f(0x21d)][_0x49990f(0x1ed)][_0x49990f(0x1a3)](_0x49990f(0x25d));let _0x1212d9=_0x27452f[_0x49990f(0x278)];_0x742a1e&&_0x742a1e[_0x49990f(0x1ca)]&&(_0x1212d9=_0x1212d9[_0x49990f(0x20f)](_0xf1613d=>_0x49990f(0x1d7)!==_0xf1613d)),this[_0x49990f(0x21d)][_0x49990f(0x1ed)][_0x49990f(0x1a3)](_0x49990f(0x189))[_0x49990f(0x1e7)](_0x1212d9,this[_0x49990f(0x1e4)]);}}),_0x48842f[_0x26d558(0x1b2)](this[_0x26d558(0x1e4)],_0x403817);}[_0xdd566d(0x1a0)](){const _0x4f7452=_0xdd566d,_0x4330fd=this[_0x4f7452(0x21d)][_0x4f7452(0x202)][_0x4f7452(0x1cc)];this[_0x4f7452(0x21d)][_0x4f7452(0x202)][_0x4f7452(0x1cc)]=(..._0x41ca5a)=>{const _0x114852=_0x4f7452;if(!_0x41ca5a[_0x41ca5a[_0x114852(0x222)]-0x1][_0x114852(0x23b)])throw new _0x38e951(_0x114852(0x1cb),this);_0x4330fd[_0x114852(0x1eb)](this[_0x114852(0x21d)][_0x114852(0x202)],_0x41ca5a);};}[_0xdd566d(0x271)](){const _0x5414e5=_0xdd566d;this[_0x5414e5(0x21d)][_0x5414e5(0x202)]['on'](_0x5414e5(0x1b1),(_0x34ba12,[_0x28b04c])=>{const _0x4af5b3=_0x5414e5;if(this[_0x4af5b3(0x27c)][_0x4af5b3(0x26c)])throw new _0x38e951(_0x4af5b3(0x1d2),this);_0x34ba12[_0x4af5b3(0x1bf)](),this[_0x4af5b3(0x23c)]();const _0x78115c=this[_0x4af5b3(0x21d)][_0x4af5b3(0x19f)][_0x4af5b3(0x1a3)](_0x4af5b3(0x256)),_0x1436ef=this[_0x4af5b3(0x252)](_0x28b04c,_0x78115c);0x0==_0x1436ef[_0x4af5b3(0x222)]&&_0x1436ef[_0x4af5b3(0x1a5)](new _0x23b90a(0x0)),_0x34ba12[_0x4af5b3(0x1c3)]=this[_0x4af5b3(0x263)](_0x1436ef)[_0x4af5b3(0x19b)](()=>{const _0x5e947d=_0x4af5b3;this[_0x5e947d(0x21d)][_0x5e947d(0x1ed)][_0x5e947d(0x1a3)](_0x56fbb6)[_0x5e947d(0x1d1)](this),this[_0x5e947d(0x21d)][_0x5e947d(0x202)][_0x5e947d(0x1e2)](_0x5e947d(0x22c));})[_0x4af5b3(0x236)](_0x1c481c=>this[_0x4af5b3(0x1db)](_0x4af5b3(0x218),_0x1c481c))[_0x4af5b3(0x270)](()=>this[_0x4af5b3(0x21f)]());},{'priority':_0x5414e5(0x232)}),this[_0x5414e5(0x21d)]['on'](_0x5414e5(0x17e),async(_0x5be481,[_0x5cf177,_0x3b238c])=>{const _0x27dc30=_0x5414e5;_0x5be481[_0x27dc30(0x1bf)]();const _0x35f06f=this[_0x27dc30(0x21d)][_0x27dc30(0x1ef)][_0x27dc30(0x264)][_0x27dc30(0x1f5)](_0x5cf177);if(!this[_0x27dc30(0x19d)][_0x27dc30(0x249)](_0x5cf177)){const _0x278cff=_0x3b238c&&_0x3b238c[_0x27dc30(0x202)]?_0x3b238c[_0x27dc30(0x202)]:'',_0x518696=_0x3b238c&&_0x3b238c[_0x27dc30(0x17d)]?_0x3b238c[_0x27dc30(0x17d)]:{};await this[_0x27dc30(0x20b)](_0x5cf177,_0x278cff,_0x518696);}this[_0x27dc30(0x21d)][_0x27dc30(0x1ef)][_0x27dc30(0x1bd)]({'isUndoable':!0x1},()=>{const _0x5dff02=_0x27dc30;_0x35f06f[_0x5dff02(0x215)]=!0x0,this[_0x5dff02(0x21d)][_0x5dff02(0x1ef)][_0x5dff02(0x264)][_0x5dff02(0x27a)][_0x5dff02(0x201)](_0x35f06f);});},{'priority':_0x5414e5(0x232)});}async[_0xdd566d(0x22b)](_0x3e423a){const _0x41a36c=_0xdd566d,_0x55fb13=this[_0x41a36c(0x21d)][_0x41a36c(0x1ed)][_0x41a36c(0x1a3)](_0x2651c1),{connection:_0x2cec62}=this[_0x41a36c(0x21d)][_0x41a36c(0x1ed)][_0x41a36c(0x1a3)](_0x56fbb6),_0x3b1b2d=new Set();for(const _0xfaec31 of _0x3e423a){const _0x25517b=_0xfaec31[_0x41a36c(0x27e)];_0x25517b&&!_0x55fb13[_0x41a36c(0x1f4)](_0x25517b)&&_0x3b1b2d[_0x41a36c(0x220)](_0x25517b);}if(0x0===_0x3b1b2d[_0x41a36c(0x1f2)])return;const _0x6f3403=await _0x209b01[_0x41a36c(0x1c8)](_0x2cec62,Array[_0x41a36c(0x1dc)](_0x3b1b2d));for(const _0x458a84 of _0x6f3403)_0x55fb13[_0x41a36c(0x1f4)](_0x458a84['id'])||_0x55fb13[_0x41a36c(0x214)](_0x458a84);}[_0xdd566d(0x252)](_0x4cb29a,_0x1db2a2={}){const _0x4a5cb1=_0xdd566d,_0x20531b=this[_0x4a5cb1(0x21d)][_0x4a5cb1(0x1ef)],_0x18b624=[];let _0x1a2e68=0x0;const _0x17df7c=_0x4a5cb1(0x1d9)==typeof _0x4cb29a?{'main':_0x4cb29a}:_0x4cb29a;for(const _0x193bcf of Object[_0x4a5cb1(0x235)](_0x17df7c)){if(!this[_0x4a5cb1(0x27c)][_0x4a5cb1(0x1a2)][_0x4a5cb1(0x249)](_0x193bcf))throw new _0x38e951(_0x4a5cb1(0x234),this);const _0x283391=this[_0x4a5cb1(0x21d)][_0x4a5cb1(0x202)][_0x4a5cb1(0x24f)](_0x17df7c[_0x193bcf]),_0x1b203a=this[_0x4a5cb1(0x27c)][_0x4a5cb1(0x1f5)](_0x193bcf),_0x96dd43=new _0x4f7e19(_0x20531b[_0x4a5cb1(0x231)](_0x1b203a,0x0),_0x283391,_0x1a2e68++);_0x18b624[_0x4a5cb1(0x1a5)](_0x96dd43);for(const [_0x17c8f2,_0x50137e]of _0x283391[_0x4a5cb1(0x1bb)]){const _0x559a39=_0x20531b[_0x4a5cb1(0x261)](_0x20531b[_0x4a5cb1(0x20c)](_0x1b203a,_0x50137e[_0x4a5cb1(0x1f3)][_0x4a5cb1(0x27b)][_0x4a5cb1(0x260)]()),_0x20531b[_0x4a5cb1(0x20c)](_0x1b203a,_0x50137e[_0x4a5cb1(0x1df)][_0x4a5cb1(0x27b)][_0x4a5cb1(0x260)]())),_0x453e22=new _0x266eef(_0x17c8f2,null,_0x559a39,_0x20531b[_0x4a5cb1(0x1bb)],!0x0,_0x1a2e68++);_0x18b624[_0x4a5cb1(0x1a5)](_0x453e22);}}if(_0x1db2a2)for(const [_0x200b04,_0x133017]of Object[_0x4a5cb1(0x1fb)](_0x1db2a2)){const _0x5bb602=_0x20531b[_0x4a5cb1(0x264)][_0x4a5cb1(0x1f5)](_0x200b04);if(!_0x5bb602)throw new _0x38e951(_0x4a5cb1(0x1ff),null);for(const [_0x197902,_0x5094c6]of Object[_0x4a5cb1(0x1fb)](_0x133017))if(null!==_0x5094c6){const _0x1271db=new _0x333028(_0x5bb602,_0x197902,null,_0x5094c6,_0x1a2e68++);_0x18b624[_0x4a5cb1(0x1a5)](_0x1271db);}}return _0x18b624;}async[_0xdd566d(0x20b)](_0x18c8f9,_0x51e4b9,_0x162915){const _0xdad1ae=_0xdd566d;this[_0xdad1ae(0x252)]({[_0x18c8f9]:_0x51e4b9},{[_0x18c8f9]:_0x162915})[_0xdad1ae(0x198)]((_0x3025d9,_0x5ab036)=>{const _0x20269c=_0xdad1ae;_0x3025d9[_0x20269c(0x191)]=this[_0x20269c(0x27c)][_0x20269c(0x26c)]+_0x5ab036,_0x3025d9[_0x20269c(0x209)]=!0x0,this[_0x20269c(0x262)](_0x3025d9);}),this[_0xdad1ae(0x265)](),await this[_0xdad1ae(0x251)]();}async[_0xdd566d(0x224)](_0x108450,_0x14822e){const _0x2478a7=_0xdd566d;let _0x10e1c3;this[_0x2478a7(0x1ab)]=_0x108450[_0x2478a7(0x1b8)];const _0x4da875=_0x108450[_0x2478a7(0x1aa)]&&!_0x108450[_0x2478a7(0x26e)],_0x3b8de2=_0x4da875?0x0:_0x108450[_0x2478a7(0x202)][_0x2478a7(0x191)];if(_0x14822e[_0x2478a7(0x198)](_0x437131=>{const _0x1e944c=_0x2478a7;_0x437131[_0x1e944c(0x209)]=!0x0,_0x437131[_0x1e944c(0x1a1)]=_0x108450[_0x1e944c(0x24c)],_0x437131[_0x1e944c(0x27e)]=null;}),_0x4da875)_0x10e1c3=_0x14822e,this[_0x2478a7(0x225)](_0x10e1c3,_0x4da875);else{if(_0x108450[_0x2478a7(0x26e)]){const _0x2649e0=this[_0x2478a7(0x252)](_0x108450[_0x2478a7(0x26e)]);this[_0x2478a7(0x27c)][_0x2478a7(0x1f9)][_0x2478a7(0x26c)]=-_0x2649e0[_0x2478a7(0x222)],_0x2649e0[_0x2478a7(0x198)](_0x3edac8=>{const _0x4337ae=_0x2478a7;_0x3edac8[_0x4337ae(0x191)]-=_0x2649e0[_0x4337ae(0x222)],_0x3edac8[_0x4337ae(0x1a1)]=_0x108450[_0x4337ae(0x24c)],_0x3edac8[_0x4337ae(0x209)]=!0x0,_0x3edac8[_0x4337ae(0x27e)]=null;}),this[_0x2478a7(0x225)](_0x2649e0,!0x0),this[_0x2478a7(0x266)][_0x2478a7(0x26c)]=-_0x2649e0[_0x2478a7(0x222)]+this[_0x2478a7(0x1ab)],this[_0x2478a7(0x26a)](_0x2649e0);}this[_0x2478a7(0x27c)][_0x2478a7(0x1f9)][_0x2478a7(0x26c)]=_0x3b8de2,_0x10e1c3=this[_0x2478a7(0x1bc)](_0x108450[_0x2478a7(0x202)],_0x108450[_0x2478a7(0x25f)]),await this[_0x2478a7(0x22b)](_0x10e1c3),this[_0x2478a7(0x225)](_0x10e1c3,_0x4da875);}_0x108450[_0x2478a7(0x197)]&&(this[_0x2478a7(0x211)][_0x2478a7(0x1ac)](_0x10e1c3,_0x108450[_0x2478a7(0x197)]),this[_0x2478a7(0x241)]=_0x108450[_0x2478a7(0x197)]),this[_0x2478a7(0x266)][_0x2478a7(0x26c)]=_0x3b8de2+this[_0x2478a7(0x1ab)],this[_0x2478a7(0x26a)](_0x10e1c3),_0x14822e[_0x2478a7(0x20f)](_0x4a055f=>{const _0x343587=_0x2478a7,_0x17b12b=this[_0x343587(0x1b4)](_0x4a055f);return _0x17b12b&&!this[_0x343587(0x19d)][_0x343587(0x249)](_0x17b12b);})[_0x2478a7(0x198)]((_0x1c6853,_0x3714ec)=>{const _0x236f0b=_0x2478a7;_0x1c6853[_0x236f0b(0x191)]=this[_0x236f0b(0x27c)][_0x236f0b(0x26c)]+_0x3714ec,this[_0x236f0b(0x262)](_0x1c6853);}),this[_0x2478a7(0x247)]()?(this[_0x2478a7(0x1f6)]=0x0,this[_0x2478a7(0x265)](!0x0),await this[_0x2478a7(0x251)]()):(this[_0x2478a7(0x1fe)]=!0x1,this[_0x2478a7(0x21f)]());}[_0xdd566d(0x1db)](_0x572177,_0x6123ff){const _0x1652cf=_0xdd566d,_0x558d34=_0x6123ff&&_0x6123ff[_0x1652cf(0x22f)];if(_0x558d34&&_0x558d34[_0x1652cf(0x1b7)](_0x1652cf(0x1ae)))throw _0x6123ff;const _0x19e5dd=this[_0x1652cf(0x21d)][_0x1652cf(0x1ed)][_0x1652cf(0x1a3)](_0x56fbb6);throw this[_0x1652cf(0x1fe)]=!0x0,_0x19e5dd[_0x1652cf(0x23a)](),this[_0x1652cf(0x21d)][_0x1652cf(0x1de)](_0x1652cf(0x18e)),new _0x38e951(_0x572177,this[_0x1652cf(0x21d)],_0x558d34?{'originalError':_0x558d34}:void 0x0);}[_0xdd566d(0x262)](_0x494e7d){const _0x2113f5=_0xdd566d;this[_0x2113f5(0x1c2)][_0x2113f5(0x249)](_0x494e7d)||(this[_0x2113f5(0x1c2)][_0x2113f5(0x220)](_0x494e7d),this[_0x2113f5(0x21c)][_0x2113f5(0x1a5)](_0x494e7d),this[_0x2113f5(0x245)]||_0x2113f5(0x195)==_0x494e7d[_0x2113f5(0x18f)]&&!_0x494e7d[_0x2113f5(0x257)]||this[_0x2113f5(0x23c)]());}[_0xdd566d(0x265)](_0x3c2dc0=!0x1){const _0x5cd3ce=_0xdd566d;!_0x3c2dc0&&this[_0x5cd3ce(0x1fe)]||(this[_0x5cd3ce(0x1fe)]=!0x0,clearTimeout(this[_0x5cd3ce(0x207)]),this[_0x5cd3ce(0x207)]=setTimeout(()=>{const _0x2766ff=_0x5cd3ce;this[_0x2766ff(0x20e)]()[_0x2766ff(0x19b)](_0x3d58e9=>{const _0x50b7fd=_0x2766ff;_0x3d58e9&&(this[_0x50b7fd(0x21f)](),this[_0x50b7fd(0x1fe)]=!0x1);})[_0x2766ff(0x236)](_0x17f99f=>{const _0x1e24b6=_0x2766ff;this[_0x1e24b6(0x21f)](),this[_0x1e24b6(0x1fe)]=!0x1,function(_0x52545b){const _0x4b154c=_0x1e24b6;return _0x52545b[_0x4b154c(0x22f)][_0x4b154c(0x1b7)](_0x4b154c(0x1b9))||_0x52545b[_0x4b154c(0x22f)][_0x4b154c(0x1b7)](_0x4b154c(0x18d))||_0x52545b[_0x4b154c(0x22f)][_0x4b154c(0x1b7)](_0x4b154c(0x1d5));}(_0x17f99f)||this[_0x1e24b6(0x1db)](_0x17f99f[_0x1e24b6(0x22f)],_0x17f99f);});},this[_0x5cd3ce(0x1f6)]));}[_0xdd566d(0x251)](){return new Promise(_0x43cf80=>{const _0x10cd50=_0x9c01;this['on'](_0x10cd50(0x182),()=>{_0x43cf80();});});}async[_0xdd566d(0x20e)](){const _0x187036=_0xdd566d,_0x5f596f=this[_0x187036(0x21d)][_0x187036(0x1ed)][_0x187036(0x1a3)](_0x3dab96);if(this[_0x187036(0x22e)]()&&(_0x5f596f[_0x187036(0x1c7)](),this[_0x187036(0x233)]=!0x1),!this[_0x187036(0x247)]())return!0x0;const _0x476e5b=[...this[_0x187036(0x21c)]];for(const _0x492845 of _0x476e5b)_0x492845[_0x187036(0x210)]=this[_0x187036(0x27c)][_0x187036(0x1f9)][_0x187036(0x277)](_0x492845);const _0x258431=this[_0x187036(0x211)][_0x187036(0x1e5)](_0x476e5b),_0x403f9e=G++,_0x332409=this[_0x187036(0x1a9)](_0x476e5b),_0x15f00c=await this[_0x187036(0x1be)][_0x187036(0x1e1)](_0x332409,_0x332409[_0x187036(0x191)],_0x258431);try{return await this[_0x187036(0x1b0)](_0x476e5b,_0x15f00c,_0x403f9e);}catch(_0x1eabdb){return this[_0x187036(0x1db)](_0x187036(0x242),_0x1eabdb);}}async[_0xdd566d(0x1b0)](_0x650dd9,_0x58c3b4,_0x59e8e8){const _0x49e58c=_0xdd566d;if(_0x49e58c(0x203)in _0x58c3b4)throw _0x58c3b4[_0x49e58c(0x203)];let _0x49cff0=!0x1;if(_0x58c3b4[_0x49e58c(0x1aa)]){_0x58c3b4[_0x49e58c(0x197)]&&(this[_0x49e58c(0x241)]=_0x58c3b4[_0x49e58c(0x197)]),this[_0x49e58c(0x21c)]=this[_0x49e58c(0x21c)][_0x49e58c(0x20f)](_0x1d4855=>!_0x650dd9[_0x49e58c(0x200)](_0x1d4855));for(const _0x3ba834 of _0x650dd9)_0x3ba834[_0x49e58c(0x1a1)]=_0x49e58c(0x1a8)in _0x58c3b4&&_0x58c3b4[_0x49e58c(0x1a8)]||void 0x0;K(_0x650dd9,_0x58c3b4[_0x49e58c(0x26c)]-_0x650dd9[_0x49e58c(0x222)]),this[_0x49e58c(0x26a)](_0x650dd9);const _0x2c332c=_0x650dd9[_0x49e58c(0x20f)](_0x5c4540=>{const _0x2c2993=_0x49e58c;if(!_0x5c4540[_0x2c2993(0x209)])return!0x1;const _0x432546=this[_0x2c2993(0x1b4)](_0x5c4540);return _0x432546&&!this[_0x2c2993(0x19d)][_0x2c2993(0x249)](_0x432546);});K(_0x2c332c,this[_0x49e58c(0x27c)][_0x49e58c(0x26c)]),this[_0x49e58c(0x225)](_0x2c332c),_0x49cff0=!0x0,this[_0x49e58c(0x1f6)]=this[_0x49e58c(0x23e)];}else{const _0x4826d6=this[_0x49e58c(0x1bc)](_0x58c3b4[_0x49e58c(0x202)],_0x58c3b4[_0x49e58c(0x25f)])[_0x49e58c(0x20f)](_0x1de21b=>_0x1de21b[_0x49e58c(0x191)]>=this[_0x49e58c(0x188)]);_0x4826d6[_0x49e58c(0x198)](_0x2b7118=>this[_0x49e58c(0x1d6)](_0x2b7118)),this[_0x49e58c(0x21c)]=this[_0x49e58c(0x21c)][_0x49e58c(0x20f)](_0x45b3ba=>!_0x45b3ba[_0x49e58c(0x209)]||!this[_0x49e58c(0x19d)][_0x49e58c(0x249)](this[_0x49e58c(0x1b4)](_0x45b3ba))),this[_0x49e58c(0x21c)][_0x49e58c(0x222)]&&K(this[_0x49e58c(0x21c)],this[_0x49e58c(0x21c)][0x0][_0x49e58c(0x191)]),await this[_0x49e58c(0x22b)](_0x4826d6),_0x49cff0=this[_0x49e58c(0x23d)](_0x4826d6,_0x58c3b4[_0x49e58c(0x26c)],_0x58c3b4[_0x49e58c(0x197)]),this[_0x49e58c(0x1f6)]=Math[_0x49e58c(0x238)](this[_0x49e58c(0x1f6)]/0x2);}return _0x49cff0?!this[_0x49e58c(0x247)]()||(this[_0x49e58c(0x265)](!0x0),!0x1):this[_0x49e58c(0x1db)](_0x49e58c(0x20d));}[_0xdd566d(0x23d)](_0x515f9e,_0x2fb16b,_0x318a81){const _0x2032ac=_0xdd566d;try{const _0x4450c0={'document':this[_0x2032ac(0x27c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x44e8e9,operationsB:_0x3a9eec,originalOperations:_0x12f989}=_0x4f981b(_0x515f9e,this[_0x2032ac(0x21c)],_0x4450c0);K(_0x44e8e9,this[_0x2032ac(0x27c)][_0x2032ac(0x26c)]),K(_0x3a9eec,_0x2fb16b);for(const _0x2b7996 of _0x44e8e9){const _0x32d884=_0x12f989[_0x2032ac(0x1a3)](_0x2b7996);_0x2b7996[_0x2032ac(0x27e)]=_0x32d884?_0x32d884[_0x2032ac(0x27e)]:null;}_0x318a81&&(this[_0x2032ac(0x211)][_0x2032ac(0x1ac)](_0x515f9e,_0x318a81),this[_0x2032ac(0x241)]=_0x318a81),this[_0x2032ac(0x21c)]=[..._0x3a9eec],this[_0x2032ac(0x225)](_0x44e8e9),this[_0x2032ac(0x26a)](_0x515f9e);}catch(_0x34c093){return console[_0x2032ac(0x203)](_0x34c093),!0x1;}return!0x0;}[_0xdd566d(0x225)](_0x47a7f0,_0xe1bb34=!0x1){const _0x1b554d=_0xdd566d;this[_0x1b554d(0x21d)][_0x1b554d(0x1ef)][_0x1b554d(0x1bd)]({'isUndoable':!0x1,'isLocal':!0x1},_0x11b2b2=>{const _0x224830=_0x1b554d;for(const _0xa16a3b of _0x47a7f0)this[_0x224830(0x1c2)][_0x224830(0x220)](_0xa16a3b),this[_0x224830(0x1d6)](_0xa16a3b),_0x11b2b2[_0x224830(0x279)][_0x224830(0x19e)](_0xa16a3b),this[_0x224830(0x21d)][_0x224830(0x1ef)][_0x224830(0x17f)](_0xa16a3b);});}[_0xdd566d(0x1d6)](_0x59fee1){const _0x5d7022=_0xdd566d,_0x56d47c=this[_0x5d7022(0x1b4)](_0x59fee1);_0x56d47c&&this[_0x5d7022(0x19d)][_0x5d7022(0x220)](_0x56d47c);}[_0xdd566d(0x1b4)](_0x29ac54){const _0x25a217=_0xdd566d;let _0x2738dd,_0x56f5f5;switch(_0x29ac54[_0x25a217(0x18f)]){case _0x25a217(0x267):_0x2738dd=_0x29ac54[_0x25a217(0x1e0)][_0x25a217(0x274)];break;case _0x25a217(0x195):if(_0x56f5f5=_0x29ac54[_0x25a217(0x180)],!_0x56f5f5)return null;_0x2738dd=_0x56f5f5[_0x25a217(0x274)];break;case _0x25a217(0x194):_0x2738dd=_0x29ac54[_0x25a217(0x274)];break;case _0x25a217(0x186):_0x2738dd=_0x29ac54[_0x25a217(0x1e8)];break;case _0x25a217(0x253):_0x2738dd=_0x29ac54[_0x25a217(0x258)][_0x25a217(0x274)];break;default:return null;}return _0x2738dd[_0x25a217(0x1d0)];}[_0xdd566d(0x26a)](_0x8e97e3){const _0x1fdc23=_0xdd566d;_0x8e97e3[_0x1fdc23(0x198)](_0x26f9fd=>{const _0x4902a1=_0x1fdc23,_0x2fed00=_0x26f9fd[_0x4902a1(0x1ea)]();_0x2fed00[_0x4902a1(0x27e)]=_0x26f9fd[_0x4902a1(0x27e)],_0x2fed00[_0x4902a1(0x209)]=!!_0x26f9fd[_0x4902a1(0x209)],_0x2fed00[_0x4902a1(0x1a1)]=_0x26f9fd[_0x4902a1(0x1a1)],_0x2fed00[_0x4902a1(0x191)]+=this[_0x4902a1(0x1ab)],_0x26f9fd[_0x4902a1(0x18b)]&&this[_0x4902a1(0x24d)][_0x4902a1(0x220)](_0x2fed00),this[_0x4902a1(0x266)][_0x4902a1(0x19e)](_0x2fed00);});}[_0xdd566d(0x280)](_0x57fab6){const _0x2f6400=_0xdd566d,_0x54356f=this[_0x2f6400(0x21d)][_0x2f6400(0x1ed)][_0x2f6400(0x1a3)](_0x2f6400(0x276)),_0xd3eeeb=this[_0x2f6400(0x21d)][_0x2f6400(0x217)];_0x57fab6||(_0x57fab6=_0x30f3a8(_0xd3eeeb,_0x2f6400(0x24b))),_0x54356f[_0x2f6400(0x25b)](_0x57fab6,{'title':_0x30f3a8(_0xd3eeeb,_0x2f6400(0x1d3)),'namespace':_0x2f6400(0x237)}),this[_0x2f6400(0x21a)]=!0x0,clearTimeout(this[_0x2f6400(0x207)]),this[_0x2f6400(0x21c)]=[],this[_0x2f6400(0x21d)][_0x2f6400(0x1ed)][_0x2f6400(0x1a3)](_0x56fbb6)[_0x2f6400(0x23a)]();}[_0xdd566d(0x23c)](){const _0x1da7df=_0xdd566d;this[_0x1da7df(0x245)]||(this[_0x1da7df(0x245)]=this[_0x1da7df(0x21d)][_0x1da7df(0x1ed)][_0x1da7df(0x1a3)](_0x5b3dcc)[_0x1da7df(0x220)](_0x30f3a8(this[_0x1da7df(0x21d)][_0x1da7df(0x217)],_0x1da7df(0x282))));}[_0xdd566d(0x21f)](){const _0x4e78ff=_0xdd566d;this[_0x4e78ff(0x245)]&&(this[_0x4e78ff(0x21d)][_0x4e78ff(0x1ed)][_0x4e78ff(0x1a3)](_0x5b3dcc)[_0x4e78ff(0x1a7)](this[_0x4e78ff(0x245)]),this[_0x4e78ff(0x245)]=null);}[_0xdd566d(0x1a9)](_0x1b642e){const _0x1a07b3=_0xdd566d,_0x2e0fef=_0x1b642e[_0x1a07b3(0x1fc)](_0x6a3596=>_0x6a3596[_0x1a07b3(0x20a)]());return this[_0x1a07b3(0x1b5)][_0x1a07b3(0x213)](_0x2e0fef);}[_0xdd566d(0x1bc)](_0x15dd45,_0x25ffaa){const _0x5eac2a=_0xdd566d;return this[_0x5eac2a(0x1b5)][_0x5eac2a(0x255)](_0x15dd45)[_0x5eac2a(0x1fc)]((_0x5458cf,_0x284d0b)=>{const _0x2512ed=_0x5eac2a,_0x3ec991=_0x2512ed(0x1b1)==_0x25ffaa[_0x284d0b][_0x2512ed(0x18f)];if(_0x2512ed(0x212)==_0x5458cf[_0x2512ed(0x25e)]){const _0x39c4fd=_0x5458cf[_0x2512ed(0x1e0)][_0x2512ed(0x274)];!this[_0x2512ed(0x27c)][_0x2512ed(0x1f5)](_0x39c4fd)&&(this[_0x2512ed(0x27c)][_0x2512ed(0x23f)](_0x2512ed(0x17c),_0x39c4fd)[_0x2512ed(0x240)]=!0x1);}const _0x4be57c=_0x15886e[_0x2512ed(0x1fd)](_0x5458cf,this[_0x2512ed(0x27c)]);return _0x4be57c[_0x2512ed(0x210)]=_0x5458cf[_0x2512ed(0x210)],_0x4be57c[_0x2512ed(0x209)]=_0x3ec991,_0x4be57c[_0x2512ed(0x27e)]=_0x3ec991?null:_0x25ffaa[_0x284d0b][_0x2512ed(0x26d)],_0x4be57c[_0x2512ed(0x18b)]=_0x2512ed(0x272)===_0x25ffaa[_0x284d0b][_0x2512ed(0x18f)],_0x4be57c[_0x2512ed(0x1a1)]=_0x25ffaa[_0x284d0b][_0x2512ed(0x1a1)],_0x4be57c;});}[_0xdd566d(0x273)](){const _0x358174=_0xdd566d;this[_0x358174(0x233)]=!0x0,this[_0x358174(0x22e)]()?this[_0x358174(0x265)]():this[_0x358174(0x233)]=!0x1;}[_0xdd566d(0x22e)](){const _0x1b2a6a=_0xdd566d,_0x3ec87c=this[_0x1b2a6a(0x21d)][_0x1b2a6a(0x1ed)][_0x1b2a6a(0x1a3)](_0x2007a9)[_0x1b2a6a(0x226)][_0x1b2a6a(0x1a3)](this[_0x1b2a6a(0x1e4)]);return!this[_0x1b2a6a(0x21d)][_0x1b2a6a(0x184)]&&!!_0x3ec87c&&_0x3ec87c[_0x1b2a6a(0x222)]>0x1&&this[_0x1b2a6a(0x233)];}[_0xdd566d(0x247)](){const _0x1319f1=_0xdd566d;return this[_0x1319f1(0x21c)][_0x1319f1(0x222)]>0x0||this[_0x1319f1(0x22e)]();}}class $ extends Error{}function K(_0x2e8943,_0x469de0){const _0x894cc4=_0xdd566d;for(const _0xfb6492 of _0x2e8943)_0xfb6492[_0x894cc4(0x191)]=_0x469de0++;}class J{[_0xdd566d(0x19c)];[_0xdd566d(0x1f7)];constructor(_0x40af30){const _0x5f3ce8=_0xdd566d;this[_0x5f3ce8(0x19c)]=_0x40af30,this[_0x5f3ce8(0x1f7)]=new WeakMap();}[_0xdd566d(0x1e5)](_0xc51199){const _0x7d2faa=_0xdd566d;let _0x483b3c=_0xc51199[_0x7d2faa(0x222)];for(;_0x483b3c--;){const _0x4f19ed=_0xc51199[_0x483b3c];if(!this[_0x7d2faa(0x19c)][_0x7d2faa(0x249)](_0x4f19ed)){if(!this[_0x7d2faa(0x1f7)][_0x7d2faa(0x249)](_0x4f19ed)){const _0x2252ad=_0x3f4501()[_0x7d2faa(0x260)](0x1,0x12);this[_0x7d2faa(0x1f7)][_0x7d2faa(0x1cc)](_0x4f19ed,_0x2252ad);}return this[_0x7d2faa(0x1f7)][_0x7d2faa(0x1a3)](_0x4f19ed);}}}[_0xdd566d(0x1ac)](_0x1e46a4,_0x36c882){const _0x375f2a=_0xdd566d;if(!_0x36c882)return;let _0x430e1c=_0x1e46a4[_0x375f2a(0x222)];for(;_0x430e1c--;){const _0x24f7e0=_0x1e46a4[_0x430e1c];this[_0x375f2a(0x19c)][_0x375f2a(0x249)](_0x24f7e0)||this[_0x375f2a(0x1f7)][_0x375f2a(0x1cc)](_0x24f7e0,_0x36c882);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14c311=_0x4c5a;(function(_0x18f9f5,_0x56becb){const _0x4e7d9b=_0x4c5a,_0x1c37cf=_0x18f9f5();while(!![]){try{const _0x29f0e3=parseInt(_0x4e7d9b(0x9c))/0x1*(parseInt(_0x4e7d9b(0x9f))/0x2)+parseInt(_0x4e7d9b(0x95))/0x3+parseInt(_0x4e7d9b(0x8e))/0x4+parseInt(_0x4e7d9b(0x9b))/0x5+-parseInt(_0x4e7d9b(0x78))/0x6*(-parseInt(_0x4e7d9b(0xb2))/0x7)+-parseInt(_0x4e7d9b(0xa9))/0x8+-parseInt(_0x4e7d9b(0x84))/0x9;if(_0x29f0e3===_0x56becb)break;else _0x1c37cf['push'](_0x1c37cf['shift']());}catch(_0x19d8f6){_0x1c37cf['push'](_0x1c37cf['shift']());}}}(_0x47f8,0xe84df));function _0x47f8(){const _0x39b45d=['connected','allConnectedUsers','connection','_registeredSessions','context','27163530tztKJS','clear','_users','channelSessions','isMe','get','has','remove','add','Sessions','6584844rOzbWG','role','orderNumber','addUser','plugins','sessions-unregister-not-exist','size','239589cAQPmK','assign','state','unregister','values','mySessionId','1894320eNEuSL','3ZosmvA','isOfficialPlugin','isPremiumPlugin','1211746oBugfe','_createUser','sessionId','stopListening','sessionAdd:','change:state','hiddenInPresenceList','requires','listenTo','delete','4912544IlKomz','getUserBySessionId','_handleSessionRemove','sessions-register-already-registered','set','user','channelConnectedUsers','getUserRole','fire','60900QXoNfm','getUser','pluginName','init','456ZtoFsT','_handleSessionAdd','forEach','register','defineMe','_uniqueUsersCount','getUserSessions'];_0x47f8=function(){return _0x39b45d;};return _0x47f8();}import{ContextPlugin as _0x51a42f}from'ckeditor5/src/core.js';import{Collection as _0x22e113,CKEditorError as _0x3f63c3}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x86758f}from'./websocketgateway.js';import{Users as _0x2529b1}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4c5a(_0x559524,_0x4d8f59){const _0x47f826=_0x47f8();return _0x4c5a=function(_0x4c5ae5,_0x41ac03){_0x4c5ae5=_0x4c5ae5-0x77;let _0xc29834=_0x47f826[_0x4c5ae5];return _0xc29834;},_0x4c5a(_0x559524,_0x4d8f59);}export class Sessions extends _0x51a42f{[_0x14c311(0x87)];[_0x14c311(0xaf)];[_0x14c311(0x80)];[_0x14c311(0x82)];[_0x14c311(0x7d)];[_0x14c311(0x86)];static get[_0x14c311(0xb4)](){const _0x48ac97=_0x14c311;return _0x48ac97(0x8d);}static get[_0x14c311(0x9d)](){return!0x0;}static get[_0x14c311(0x9e)](){return!0x0;}static get[_0x14c311(0xa6)](){return[_0x86758f,_0x2529b1];}constructor(_0x1a815c){const _0x26ec46=_0x14c311;super(_0x1a815c),this[_0x26ec46(0x87)]=new Map(),this[_0x26ec46(0xaf)]=new Map(),this[_0x26ec46(0x80)]=new _0x22e113(),this[_0x26ec46(0x82)]=new Map(),this[_0x26ec46(0x7d)]=0x0,this[_0x26ec46(0x86)]=this[_0x26ec46(0x83)][_0x26ec46(0x92)][_0x26ec46(0x89)](_0x2529b1);}[_0x14c311(0x77)](){const _0x4194ca=_0x14c311,_0x258cc2=this[_0x4194ca(0x83)][_0x4194ca(0x92)][_0x4194ca(0x89)](_0x86758f);this[_0x4194ca(0xa7)](_0x258cc2,_0x4194ca(0xa4),(_0x463077,_0x6bd776,_0x392d21)=>{const _0x29993b=_0x4194ca;if(_0x29993b(0x7f)!==_0x392d21)this[_0x29993b(0x87)][_0x29993b(0x7a)](_0x5317e8=>_0x5317e8[_0x29993b(0x85)]()),this[_0x29993b(0xaf)][_0x29993b(0x7a)](_0x1cca37=>_0x1cca37[_0x29993b(0x85)]()),this[_0x29993b(0x80)][_0x29993b(0x85)]();else{for(const [_0x558fa3,_0xada35c]of this[_0x29993b(0x82)])for(const _0x364717 of _0xada35c)this[_0x29993b(0x79)](_0x558fa3,_0x364717);}}),this[_0x4194ca(0xa0)](_0x258cc2[_0x4194ca(0x81)]['me'],!0x0);}[_0x14c311(0x7b)](_0x4300c3,_0x4d58bc){const _0x5d4385=_0x14c311;if(this[_0x5d4385(0x82)][_0x5d4385(0x8a)](_0x4300c3))throw new _0x3f63c3(_0x5d4385(0xac),null,{'channelId':_0x4300c3});this[_0x5d4385(0x82)][_0x5d4385(0xad)](_0x4300c3,_0x4d58bc),this[_0x5d4385(0x87)][_0x5d4385(0xad)](_0x4300c3,new _0x22e113()),this[_0x5d4385(0xaf)][_0x5d4385(0xad)](_0x4300c3,new _0x22e113()),this[_0x5d4385(0xa7)](_0x4d58bc,_0x5d4385(0x8c),(_0x7323ef,_0x3be002)=>this[_0x5d4385(0x79)](_0x4300c3,_0x3be002)),this[_0x5d4385(0xa7)](_0x4d58bc,_0x5d4385(0x8b),(_0x19087e,_0x5b7b4a)=>this[_0x5d4385(0xab)](_0x4300c3,_0x5b7b4a));for(const _0x59e394 of _0x4d58bc)this[_0x5d4385(0x79)](_0x4300c3,_0x59e394);}[_0x14c311(0x98)](_0x4e7632){const _0x344a57=_0x14c311;if(!this[_0x344a57(0x82)][_0x344a57(0x8a)](_0x4e7632))throw new _0x3f63c3(_0x344a57(0x93),null,{'channelId':_0x4e7632});const _0x4e2435=this[_0x344a57(0x82)][_0x344a57(0x89)](_0x4e7632);this[_0x344a57(0xa2)](_0x4e2435);for(const _0x1d47a8 of _0x4e2435)_0x344a57(0x7f)===this[_0x344a57(0x83)][_0x344a57(0x92)][_0x344a57(0x89)](_0x86758f)[_0x344a57(0x97)]&&this[_0x344a57(0xab)](_0x4e7632,_0x1d47a8);this[_0x344a57(0x82)][_0x344a57(0xa8)](_0x4e7632),this[_0x344a57(0x87)][_0x344a57(0xa8)](_0x4e7632),this[_0x344a57(0xaf)][_0x344a57(0xa8)](_0x4e7632);}get[_0x14c311(0x9a)](){const _0x2555da=_0x14c311;return this[_0x2555da(0x83)][_0x2555da(0x92)][_0x2555da(0x89)](_0x86758f)[_0x2555da(0x81)][_0x2555da(0xa1)];}[_0x14c311(0xaa)](_0x4ff647){const _0x5b348b=_0x14c311;for(const _0x565b75 of this[_0x5b348b(0x87)][_0x5b348b(0x99)]())for(const _0x43ba65 of _0x565b75)if(_0x43ba65['id']===_0x4ff647)return _0x43ba65[_0x5b348b(0xae)];}[_0x14c311(0x7e)](_0x59c57d,_0x5536b3){const _0x4b57e8=_0x14c311,_0x16a2e7=_0x5536b3?[this[_0x4b57e8(0x87)][_0x4b57e8(0x89)](_0x5536b3)]:this[_0x4b57e8(0x87)][_0x4b57e8(0x99)](),_0x5ae762=new Set();for(const _0x25aa41 of _0x16a2e7)for(const _0x5b0207 of _0x25aa41)_0x5b0207[_0x4b57e8(0xae)]['id']===_0x59c57d['id']&&_0x5ae762[_0x4b57e8(0x8c)](_0x5b0207['id']);return _0x5ae762;}[_0x14c311(0xb0)](_0x1429b0){const _0x37bcdd=_0x14c311;for(const _0x2e5833 of this[_0x37bcdd(0x87)][_0x37bcdd(0x99)]())for(const _0x40a9bc of _0x2e5833)if(_0x40a9bc[_0x37bcdd(0xae)]===_0x1429b0)return _0x40a9bc[_0x37bcdd(0x8f)];}[_0x14c311(0x79)](_0x4aa010,_0x4374f0){const _0x80e4c4=_0x14c311;if(_0x80e4c4(0x7f)!==this[_0x80e4c4(0x83)][_0x80e4c4(0x92)][_0x80e4c4(0x89)](_0x86758f)[_0x80e4c4(0x97)])return;const _0x400921=_0x4374f0[_0x80e4c4(0xae)],_0x49969b=this[_0x80e4c4(0x86)][_0x80e4c4(0xb3)](_0x400921['id'])||this[_0x80e4c4(0xa0)](_0x400921),_0x5df1d2=Object[_0x80e4c4(0x96)]({},_0x4374f0,{'user':_0x49969b});if(this[_0x80e4c4(0x87)][_0x80e4c4(0x89)](_0x4aa010)[_0x80e4c4(0x8c)](_0x5df1d2),!_0x400921[_0x80e4c4(0xa5)]){const _0x1c28c1=this[_0x80e4c4(0xaf)][_0x80e4c4(0x89)](_0x4aa010);_0x1c28c1[_0x80e4c4(0x8a)](_0x49969b['id'])||_0x1c28c1[_0x80e4c4(0x8c)](_0x49969b),this[_0x80e4c4(0x80)][_0x80e4c4(0x8a)](_0x49969b['id'])||_0x400921[_0x80e4c4(0xa5)]||this[_0x80e4c4(0x80)][_0x80e4c4(0x8c)](_0x49969b,_0x49969b[_0x80e4c4(0x88)]?0x0:void 0x0);}this[_0x80e4c4(0xb1)](_0x80e4c4(0xa3)+_0x4aa010,{'channelId':_0x4aa010,'session':_0x5df1d2});}[_0x14c311(0xab)](_0x4cd399,_0x3b8979){const _0x202e5f=_0x14c311;if(_0x202e5f(0x7f)!==this[_0x202e5f(0x83)][_0x202e5f(0x92)][_0x202e5f(0x89)](_0x86758f)[_0x202e5f(0x97)])return;const _0x412c18=this[_0x202e5f(0xaf)][_0x202e5f(0x89)](_0x4cd399),_0x308f67=_0x3b8979[_0x202e5f(0xae)];_0x308f67['id']&&(this[_0x202e5f(0x87)][_0x202e5f(0x89)](_0x4cd399)[_0x202e5f(0x8b)](_0x3b8979['id']),_0x412c18[_0x202e5f(0x8a)](_0x308f67['id'])&&!this[_0x202e5f(0x7e)](_0x308f67,_0x4cd399)[_0x202e5f(0x94)]&&_0x412c18[_0x202e5f(0x8b)](_0x308f67['id']),this[_0x202e5f(0x80)][_0x202e5f(0x89)](_0x308f67['id'])&&!this[_0x202e5f(0x7e)](_0x308f67)[_0x202e5f(0x94)]&&this[_0x202e5f(0x80)][_0x202e5f(0x8b)](_0x308f67['id']));}[_0x14c311(0xa0)](_0x1b07e3,_0x49dc03){const _0x113a97=_0x14c311,_0x54e304=this[_0x113a97(0x86)][_0x113a97(0x91)](_0x1b07e3);return _0x49dc03&&this[_0x113a97(0x86)][_0x113a97(0x7c)](_0x1b07e3['id']),_0x54e304[_0x113a97(0x90)]=this[_0x113a97(0x7d)]++,_0x54e304;}}
23
+ const _0x375f9a=_0x3e18;(function(_0x2c2fcc,_0x184bf0){const _0x7c85e8=_0x3e18,_0x3d4d19=_0x2c2fcc();while(!![]){try{const _0x332243=parseInt(_0x7c85e8(0x205))/0x1*(parseInt(_0x7c85e8(0x208))/0x2)+-parseInt(_0x7c85e8(0x20e))/0x3+-parseInt(_0x7c85e8(0x211))/0x4+-parseInt(_0x7c85e8(0x1d7))/0x5+-parseInt(_0x7c85e8(0x1ec))/0x6*(parseInt(_0x7c85e8(0x1f6))/0x7)+parseInt(_0x7c85e8(0x1f5))/0x8*(parseInt(_0x7c85e8(0x1ff))/0x9)+parseInt(_0x7c85e8(0x201))/0xa;if(_0x332243===_0x184bf0)break;else _0x3d4d19['push'](_0x3d4d19['shift']());}catch(_0x1cf1a0){_0x3d4d19['push'](_0x3d4d19['shift']());}}}(_0x41c4,0x5ee87));import{ContextPlugin as _0x1e1a05}from'ckeditor5/src/core.js';function _0x3e18(_0x531aaa,_0x5c35ea){const _0x41c48b=_0x41c4();return _0x3e18=function(_0x3e1887,_0x4c33fc){_0x3e1887=_0x3e1887-0x1d6;let _0x2c8572=_0x41c48b[_0x3e1887];return _0x2c8572;},_0x3e18(_0x531aaa,_0x5c35ea);}import{Collection as _0x417896,CKEditorError as _0x562b86}from'ckeditor5/src/utils.js';function _0x41c4(){const _0x4bcaea=['pluginName','add','isMe','sessionAdd:','user','change:state','27JEqqWK','defineMe','18860890GIngDh','isOfficialPlugin','getUserRole','connection','12428CduUUk','orderNumber','getUserSessions','46Oxnjpf','assign','hiddenInPresenceList','getUserBySessionId','requires','addUser','1439364ZztXjl','_uniqueUsersCount','sessions-unregister-not-exist','1876824JVFZcZ','listenTo','delete','forEach','sessions-register-already-registered','1457845sRDdYv','_registeredSessions','unregister','_createUser','_handleSessionAdd','mySessionId','size','remove','Sessions','_handleSessionRemove','_users','context','clear','state','set','fire','allConnectedUsers','role','has','stopListening','values','228MTfYpT','channelSessions','channelConnectedUsers','getUser','get','isPremiumPlugin','sessionId','plugins','connected','303224FXmTAq','120904xpLIQu','register','init'];_0x41c4=function(){return _0x4bcaea;};return _0x41c4();}import{WebSocketGateway as _0x5f3912}from'./websocketgateway.js';import{Users as _0x49ca41}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x1e1a05{[_0x375f9a(0x1ed)];[_0x375f9a(0x1ee)];[_0x375f9a(0x1e7)];[_0x375f9a(0x1d8)];[_0x375f9a(0x20f)];[_0x375f9a(0x1e1)];static get[_0x375f9a(0x1f9)](){const _0x517fa3=_0x375f9a;return _0x517fa3(0x1df);}static get[_0x375f9a(0x202)](){return!0x0;}static get[_0x375f9a(0x1f1)](){return!0x0;}static get[_0x375f9a(0x20c)](){return[_0x5f3912,_0x49ca41];}constructor(_0x1f737c){const _0x554653=_0x375f9a;super(_0x1f737c),this[_0x554653(0x1ed)]=new Map(),this[_0x554653(0x1ee)]=new Map(),this[_0x554653(0x1e7)]=new _0x417896(),this[_0x554653(0x1d8)]=new Map(),this[_0x554653(0x20f)]=0x0,this[_0x554653(0x1e1)]=this[_0x554653(0x1e2)][_0x554653(0x1f3)][_0x554653(0x1f0)](_0x49ca41);}[_0x375f9a(0x1f8)](){const _0xf8d37b=_0x375f9a,_0x671068=this[_0xf8d37b(0x1e2)][_0xf8d37b(0x1f3)][_0xf8d37b(0x1f0)](_0x5f3912);this[_0xf8d37b(0x212)](_0x671068,_0xf8d37b(0x1fe),(_0x5dc80e,_0x57173e,_0x1ea477)=>{const _0x482ee6=_0xf8d37b;if(_0x482ee6(0x1f4)!==_0x1ea477)this[_0x482ee6(0x1ed)][_0x482ee6(0x214)](_0x553277=>_0x553277[_0x482ee6(0x1e3)]()),this[_0x482ee6(0x1ee)][_0x482ee6(0x214)](_0x108c8f=>_0x108c8f[_0x482ee6(0x1e3)]()),this[_0x482ee6(0x1e7)][_0x482ee6(0x1e3)]();else{for(const [_0x294fb8,_0x1941df]of this[_0x482ee6(0x1d8)])for(const _0x276d7c of _0x1941df)this[_0x482ee6(0x1db)](_0x294fb8,_0x276d7c);}}),this[_0xf8d37b(0x1da)](_0x671068[_0xf8d37b(0x204)]['me'],!0x0);}[_0x375f9a(0x1f7)](_0x5d56a9,_0x1626d7){const _0x160e81=_0x375f9a;if(this[_0x160e81(0x1d8)][_0x160e81(0x1e9)](_0x5d56a9))throw new _0x562b86(_0x160e81(0x1d6),null,{'channelId':_0x5d56a9});this[_0x160e81(0x1d8)][_0x160e81(0x1e5)](_0x5d56a9,_0x1626d7),this[_0x160e81(0x1ed)][_0x160e81(0x1e5)](_0x5d56a9,new _0x417896()),this[_0x160e81(0x1ee)][_0x160e81(0x1e5)](_0x5d56a9,new _0x417896()),this[_0x160e81(0x212)](_0x1626d7,_0x160e81(0x1fa),(_0x1c2b4f,_0x379714)=>this[_0x160e81(0x1db)](_0x5d56a9,_0x379714)),this[_0x160e81(0x212)](_0x1626d7,_0x160e81(0x1de),(_0x9dadfd,_0x5e9f1f)=>this[_0x160e81(0x1e0)](_0x5d56a9,_0x5e9f1f));for(const _0x28652e of _0x1626d7)this[_0x160e81(0x1db)](_0x5d56a9,_0x28652e);}[_0x375f9a(0x1d9)](_0x408d9d){const _0x2de15b=_0x375f9a;if(!this[_0x2de15b(0x1d8)][_0x2de15b(0x1e9)](_0x408d9d))throw new _0x562b86(_0x2de15b(0x210),null,{'channelId':_0x408d9d});const _0x95425b=this[_0x2de15b(0x1d8)][_0x2de15b(0x1f0)](_0x408d9d);this[_0x2de15b(0x1ea)](_0x95425b);for(const _0x4a0db7 of _0x95425b)_0x2de15b(0x1f4)===this[_0x2de15b(0x1e2)][_0x2de15b(0x1f3)][_0x2de15b(0x1f0)](_0x5f3912)[_0x2de15b(0x1e4)]&&this[_0x2de15b(0x1e0)](_0x408d9d,_0x4a0db7);this[_0x2de15b(0x1d8)][_0x2de15b(0x213)](_0x408d9d),this[_0x2de15b(0x1ed)][_0x2de15b(0x213)](_0x408d9d),this[_0x2de15b(0x1ee)][_0x2de15b(0x213)](_0x408d9d);}get[_0x375f9a(0x1dc)](){const _0x2d7e80=_0x375f9a;return this[_0x2d7e80(0x1e2)][_0x2d7e80(0x1f3)][_0x2d7e80(0x1f0)](_0x5f3912)[_0x2d7e80(0x204)][_0x2d7e80(0x1f2)];}[_0x375f9a(0x20b)](_0xabd1f8){const _0x3bfa4f=_0x375f9a;for(const _0x2d49b0 of this[_0x3bfa4f(0x1ed)][_0x3bfa4f(0x1eb)]())for(const _0x1983da of _0x2d49b0)if(_0x1983da['id']===_0xabd1f8)return _0x1983da[_0x3bfa4f(0x1fd)];}[_0x375f9a(0x207)](_0x5a8cb7,_0x538687){const _0x4fa191=_0x375f9a,_0x287d0c=_0x538687?[this[_0x4fa191(0x1ed)][_0x4fa191(0x1f0)](_0x538687)]:this[_0x4fa191(0x1ed)][_0x4fa191(0x1eb)](),_0x5861b7=new Set();for(const _0x271454 of _0x287d0c)for(const _0x5c4680 of _0x271454)_0x5c4680[_0x4fa191(0x1fd)]['id']===_0x5a8cb7['id']&&_0x5861b7[_0x4fa191(0x1fa)](_0x5c4680['id']);return _0x5861b7;}[_0x375f9a(0x203)](_0x55c279){const _0x17bb13=_0x375f9a;for(const _0x151aad of this[_0x17bb13(0x1ed)][_0x17bb13(0x1eb)]())for(const _0x1d9f9e of _0x151aad)if(_0x1d9f9e[_0x17bb13(0x1fd)]===_0x55c279)return _0x1d9f9e[_0x17bb13(0x1e8)];}[_0x375f9a(0x1db)](_0x5d4845,_0x4e1449){const _0x1638b4=_0x375f9a;if(_0x1638b4(0x1f4)!==this[_0x1638b4(0x1e2)][_0x1638b4(0x1f3)][_0x1638b4(0x1f0)](_0x5f3912)[_0x1638b4(0x1e4)])return;const _0x3aba06=_0x4e1449[_0x1638b4(0x1fd)],_0x250101=this[_0x1638b4(0x1e1)][_0x1638b4(0x1ef)](_0x3aba06['id'])||this[_0x1638b4(0x1da)](_0x3aba06),_0x1392a1=Object[_0x1638b4(0x209)]({},_0x4e1449,{'user':_0x250101});if(this[_0x1638b4(0x1ed)][_0x1638b4(0x1f0)](_0x5d4845)[_0x1638b4(0x1fa)](_0x1392a1),!_0x3aba06[_0x1638b4(0x20a)]){const _0x56c81c=this[_0x1638b4(0x1ee)][_0x1638b4(0x1f0)](_0x5d4845);_0x56c81c[_0x1638b4(0x1e9)](_0x250101['id'])||_0x56c81c[_0x1638b4(0x1fa)](_0x250101),this[_0x1638b4(0x1e7)][_0x1638b4(0x1e9)](_0x250101['id'])||_0x3aba06[_0x1638b4(0x20a)]||this[_0x1638b4(0x1e7)][_0x1638b4(0x1fa)](_0x250101,_0x250101[_0x1638b4(0x1fb)]?0x0:void 0x0);}this[_0x1638b4(0x1e6)](_0x1638b4(0x1fc)+_0x5d4845,{'channelId':_0x5d4845,'session':_0x1392a1});}[_0x375f9a(0x1e0)](_0x233968,_0x105279){const _0x18d5e0=_0x375f9a;if(_0x18d5e0(0x1f4)!==this[_0x18d5e0(0x1e2)][_0x18d5e0(0x1f3)][_0x18d5e0(0x1f0)](_0x5f3912)[_0x18d5e0(0x1e4)])return;const _0x42c3e7=this[_0x18d5e0(0x1ee)][_0x18d5e0(0x1f0)](_0x233968),_0x2eb250=_0x105279[_0x18d5e0(0x1fd)];_0x2eb250['id']&&(this[_0x18d5e0(0x1ed)][_0x18d5e0(0x1f0)](_0x233968)[_0x18d5e0(0x1de)](_0x105279['id']),_0x42c3e7[_0x18d5e0(0x1e9)](_0x2eb250['id'])&&!this[_0x18d5e0(0x207)](_0x2eb250,_0x233968)[_0x18d5e0(0x1dd)]&&_0x42c3e7[_0x18d5e0(0x1de)](_0x2eb250['id']),this[_0x18d5e0(0x1e7)][_0x18d5e0(0x1f0)](_0x2eb250['id'])&&!this[_0x18d5e0(0x207)](_0x2eb250)[_0x18d5e0(0x1dd)]&&this[_0x18d5e0(0x1e7)][_0x18d5e0(0x1de)](_0x2eb250['id']));}[_0x375f9a(0x1da)](_0xafb89f,_0x187665){const _0x5a845a=_0x375f9a,_0x1c16ab=this[_0x5a845a(0x1e1)][_0x5a845a(0x20d)](_0xafb89f);return _0x187665&&this[_0x5a845a(0x1e1)][_0x5a845a(0x200)](_0xafb89f['id']),_0x1c16ab[_0x5a845a(0x206)]=this[_0x5a845a(0x20f)]++,_0x1c16ab;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x544bde=_0x1322;(function(_0x25e08c,_0xe079e5){const _0x1afb88=_0x1322,_0xd73112=_0x25e08c();while(!![]){try{const _0x32fd89=-parseInt(_0x1afb88(0xcd))/0x1+-parseInt(_0x1afb88(0x86))/0x2*(parseInt(_0x1afb88(0x75))/0x3)+parseInt(_0x1afb88(0xb0))/0x4*(-parseInt(_0x1afb88(0xab))/0x5)+parseInt(_0x1afb88(0xfe))/0x6+parseInt(_0x1afb88(0x77))/0x7+-parseInt(_0x1afb88(0x9d))/0x8*(parseInt(_0x1afb88(0x95))/0x9)+-parseInt(_0x1afb88(0x8f))/0xa*(-parseInt(_0x1afb88(0x7b))/0xb);if(_0x32fd89===_0xe079e5)break;else _0xd73112['push'](_0xd73112['shift']());}catch(_0x21f900){_0xd73112['push'](_0xd73112['shift']());}}}(_0x6503,0xd1d4b));import{Plugin as _0x5507c7}from'ckeditor5/src/core.js';function _0x6503(){const _0x2ed67c=['getNearestSelectionRange','set','user:position:','render','add','34370530TsCjiE','batch','user:position','innerHTML','editing','start','54rRmVSh','_createdBatches','markerName','setAttribute','undo','removeMarker','name','ck-user__marker-tooltip','2167184oZrzZm','afterInit','userPositionMarker','ck-user__marker\x20','stopListening','isOfficialPlugin','getCustomProperty','false','size','user:range:','getUserBySessionId','update:user:range','mySessionId','root','430eiydhj','user:range','highest','parent','createUserMarkerOperations','22440UtMkXf','isObject','outerHTML','updateMarker','listenTo','pluginName','change','destroy','getSelectionClass','toRange','model','oldRange','document','_domEmitter','has','markers','color','get','classList','tableCell','remove','mouseenter','markerToElement','getRange','detach','UserMarkers','editor','init','change:range','713230HesSWo','mouseleave','span','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getAttribute','enqueueChange','Escape','createUIElement','plugins','element','markerToHighlight','user:','addMarker','getFirstRange','isPremiumPlugin','selection','hasDomSelection','removeClass','rootName','type','delete','hasContent','for','commands','ck-user__selection','$text','keydown','conversion','end','markerNameToElements','split','isSimilar','startsWith','data-session-id','createRange','mapper','isCollapsed','nodeAfter','reconvertMarker','newRange','marker','isDocumentOperation','contenteditable','applyOperation','addEventListener','editingDowncast','isLimit','getPositions','$graveyard','564714jEzgKk','markerRange','fromRange','103755JEQVzm','view','5887511VUnCGY','textContent','setCustomProperty','orderNumber','11offDrc','clear','getContainedElement','requires','getMarkerClass','schema','spellcheck','createElement','ck-user__marker_hovered','isInline','checkChild','40yiLjKd','deletionPosition','toDomElement','getStart'];_0x6503=function(){return _0x2ed67c;};return _0x6503();}import{global as _0x3302a4,DomEmitterMixin as _0x16e60c}from'ckeditor5/src/utils.js';import{Sessions as _0x8e81ed}from'./sessions.js';import{ModelLiveRange as _0x124263}from'ckeditor5/src/engine.js';function _0x1322(_0x1ab67d,_0x1976bd){const _0x6503bc=_0x6503();return _0x1322=function(_0x1322a1,_0x50b5ce){_0x1322a1=_0x1322a1-0x75;let _0x361502=_0x6503bc[_0x1322a1];return _0x361502;},_0x1322(_0x1ab67d,_0x1976bd);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x5507c7{[_0x544bde(0xbd)]=new(_0x16e60c())();static get[_0x544bde(0x7e)](){return[_0x8e81ed];}static get[_0x544bde(0xb5)](){const _0x12ddf6=_0x544bde;return _0x12ddf6(0xc9);}static get[_0x544bde(0xa2)](){return!0x0;}static get[_0x544bde(0xdb)](){return!0x0;}[_0x544bde(0xcb)](){const _0x1d50ee=_0x544bde,_0x335627=this[_0x1d50ee(0xca)],_0x32836c=_0x335627[_0x1d50ee(0xd5)][_0x1d50ee(0xc1)](_0x8e81ed);_0x335627[_0x1d50ee(0xe8)][_0x1d50ee(0xe3)](_0x1d50ee(0xfa))[_0x1d50ee(0xc6)]({'model':_0x1d50ee(0x91),'view':(_0x326f1d,{writer:_0x35ab38})=>function(_0x26314a,_0x540138,_0x87a669,_0x2d3a3a){const _0x2dddc3=_0x1d50ee,_0x33a6a3=_0x26314a[_0x2dddc3(0x97)][_0x2dddc3(0xeb)](':')[0x2],_0xf69fdb=_0x87a669[_0x2dddc3(0xa7)](_0x33a6a3);if(!_0xf69fdb||_0x33a6a3===_0x87a669[_0x2dddc3(0xa9)])return;if(!_0x2d3a3a[_0x2dddc3(0xba)][_0x2dddc3(0x80)][_0x2dddc3(0x85)](_0x26314a[_0x2dddc3(0xff)][_0x2dddc3(0x94)],_0x2dddc3(0xe6)))return;const _0x1646a1={'class':_0x2dddc3(0xa0)+_0xf69fdb[_0x2dddc3(0xc0)][_0x2dddc3(0x7f)](),'data-name':_0xf69fdb[_0x2dddc3(0x9b)],'data-session-id':_0x33a6a3},_0x4f15a3=_0x2d3a3a[_0x2dddc3(0xba)][_0x2dddc3(0xbf)][_0x2dddc3(0xc1)](_0x26314a[_0x2dddc3(0x97)]),_0x2a8a3f=_0x4f15a3[_0x2dddc3(0x89)](),_0x3aa902=_0x2a8a3f[_0x2dddc3(0xf2)],_0x515127=_0x2d3a3a[_0x2dddc3(0xba)][_0x2dddc3(0x80)];if(_0x3aa902&&_0x515127[_0x2dddc3(0xb1)](_0x3aa902)&&_0x515127[_0x2dddc3(0x84)](_0x3aa902)&&!_0x2d3a3a[_0x2dddc3(0xba)][_0x2dddc3(0xbf)][_0x2dddc3(0xc1)](_0x2dddc3(0xa6)+_0x33a6a3)[_0x2dddc3(0xc7)]()[_0x2dddc3(0xf1)])return;const _0x25baf2=_0x2a8a3f[_0x2dddc3(0xae)];return _0x2d3a3a[_0x2dddc3(0xba)][_0x2dddc3(0x80)][_0x2dddc3(0xfb)](_0x25baf2)&&!_0x2d3a3a[_0x2dddc3(0xba)][_0x2dddc3(0xe2)](_0x25baf2)&&(_0x1646a1[_0x2dddc3(0xf7)]=!0x1),function(_0x46f188,_0x5cc8cc,_0x3f8140){const _0x25f0cd=_0x2dddc3,_0x30e4fc=_0x46f188[_0x25f0cd(0xd4)](_0x25f0cd(0xcf),_0x5cc8cc);return _0x46f188[_0x25f0cd(0x79)](_0x25f0cd(0x9f),!0x0,_0x30e4fc),_0x30e4fc[_0x25f0cd(0x8d)]=function(_0x2ff906){const _0x514e2f=_0x25f0cd,_0x2c078d=this[_0x514e2f(0x88)](_0x2ff906),_0x5893e6=document[_0x514e2f(0x82)](_0x514e2f(0xcf));return _0x5893e6[_0x514e2f(0xc2)][_0x514e2f(0x8e)](_0x514e2f(0x9c)),_0x5893e6[_0x514e2f(0x98)](_0x514e2f(0xf7),_0x514e2f(0xa4)),_0x5893e6[_0x514e2f(0x98)](_0x514e2f(0x81),_0x514e2f(0xa4)),_0x5893e6[_0x514e2f(0x78)]=_0x3f8140[_0x514e2f(0x9b)],_0x2c078d[_0x514e2f(0x92)]=_0x514e2f(0xd0)+_0x5893e6[_0x514e2f(0xb2)]+'⁠',_0x2c078d[_0x514e2f(0xf9)](_0x514e2f(0xc5),()=>{const _0x51e09a=_0x514e2f;_0x2c078d[_0x51e09a(0xc2)][_0x51e09a(0x8e)](_0x51e09a(0x83));}),_0x2c078d[_0x514e2f(0xf9)](_0x514e2f(0xce),()=>{const _0x2aba2c=_0x514e2f;_0x2c078d[_0x2aba2c(0xc2)][_0x2aba2c(0xc4)](_0x2aba2c(0x83));}),_0x2c078d;},_0x30e4fc[_0x25f0cd(0xec)]=function(_0x1fd249){const _0x350e6a=_0x25f0cd;return!(!this[_0x350e6a(0xa3)](_0x350e6a(0x9f))||!_0x1fd249[_0x350e6a(0xa3)](_0x350e6a(0x9f))||this[_0x350e6a(0xd1)](_0x350e6a(0xee))!=_0x1fd249[_0x350e6a(0xd1)](_0x350e6a(0xee)));},_0x30e4fc;}(_0x540138,_0x1646a1,_0xf69fdb);}(_0x326f1d,_0x35ab38,_0x32836c,_0x335627)}),_0x335627[_0x1d50ee(0xe8)][_0x1d50ee(0xe3)](_0x1d50ee(0xfa))[_0x1d50ee(0xd7)]({'model':_0x1d50ee(0xac),'view':_0x5a9200=>function(_0x16487f,_0x1d055f){const _0x3d6a54=_0x1d50ee,_0x51eed9=_0x16487f[_0x3d6a54(0x97)][_0x3d6a54(0xeb)](':')[0x2];if(_0x51eed9===_0x1d055f[_0x3d6a54(0xa9)])return null;const _0x58b3d4=_0x1d055f[_0x3d6a54(0xa7)](_0x51eed9);if(!_0x58b3d4)return{'id':_0x51eed9,'classes':[]};return{'id':_0x51eed9,'classes':[_0x3d6a54(0xe5),_0x58b3d4[_0x3d6a54(0xc0)][_0x3d6a54(0xb8)]()],'attributes':{'data-session-id':_0x51eed9},'priority':0x7d0+_0x58b3d4[_0x3d6a54(0x7a)]};}(_0x5a9200,_0x32836c)}),function(_0x1b4787){const _0x44e275=_0x1d50ee,_0x107c01=_0x1b4787[_0x44e275(0xba)],_0x19d35b=new Map(),_0x3c1925=_0x1b4787[_0x44e275(0xd5)][_0x44e275(0xc1)](_0x8e81ed);_0x107c01[_0x44e275(0xbf)]['on'](_0x44e275(0xa8),(_0x599fa8,_0x3b5920,_0x198d8f,_0x5bd1da)=>{const _0x48ec7b=_0x44e275;if(!_0x5bd1da&&_0x19d35b[_0x48ec7b(0xc1)](_0x3b5920[_0x48ec7b(0x9b)]))return _0x19d35b[_0x48ec7b(0xc1)](_0x3b5920[_0x48ec7b(0x9b)])[_0x48ec7b(0xc8)](),void _0x19d35b[_0x48ec7b(0xe1)](_0x3b5920[_0x48ec7b(0x9b)]);const _0x470142=_0x3b5920[_0x48ec7b(0x9b)][_0x48ec7b(0xeb)](':')[0x2];if(_0x470142===_0x3c1925[_0x48ec7b(0xa9)])return;const _0x4f928a=_0x48ec7b(0x8c)+_0x470142;_0x107c01[_0x48ec7b(0xbf)][_0x48ec7b(0xbe)](_0x4f928a)&&_0x1b4787[_0x48ec7b(0x93)][_0x48ec7b(0xf3)](_0x4f928a),_0x3b5920['on'](_0x48ec7b(0xcc),(_0xa1a58d,_0x154eaa,_0x4b14f8)=>{const _0x12bd9e=_0x48ec7b;if(_0x12bd9e(0xfd)!=_0x154eaa[_0x12bd9e(0xaa)][_0x12bd9e(0xdf)]&&_0x12bd9e(0xfd)==_0x3b5920[_0x12bd9e(0xc7)]()[_0x12bd9e(0xaa)][_0x12bd9e(0xdf)]&&!_0x19d35b[_0x12bd9e(0xbe)](_0x3b5920[_0x12bd9e(0x9b)])){const _0x700c5d=_0x107c01[_0x12bd9e(0x80)][_0x12bd9e(0x8a)](_0x4b14f8[_0x12bd9e(0x87)]);if(_0x700c5d){const _0x361748=_0x124263[_0x12bd9e(0x100)](_0x700c5d);_0x19d35b[_0x12bd9e(0x8b)](_0x3b5920[_0x12bd9e(0x9b)],_0x361748),_0x361748['on'](_0x12bd9e(0xcc),(_0x302a5f,_0x417b85,_0x52eda4)=>{const _0x33a92c=_0x12bd9e;if(_0x33a92c(0xfd)==_0x361748[_0x33a92c(0xaa)][_0x33a92c(0xdf)]){const _0x4adf06=_0x107c01[_0x33a92c(0x80)][_0x33a92c(0x8a)](_0x52eda4[_0x33a92c(0x87)]);_0x4adf06?(_0x361748[_0x33a92c(0x94)]=_0x4adf06[_0x33a92c(0x94)],_0x361748[_0x33a92c(0xe9)]=_0x4adf06[_0x33a92c(0xe9)]):(_0x19d35b[_0x33a92c(0xe1)](_0x3b5920[_0x33a92c(0x9b)]),_0x361748[_0x33a92c(0xc8)]());}});}}});}),_0x107c01[_0x44e275(0xbc)]['on'](_0x44e275(0xb6),()=>{const _0x416bbb=_0x44e275;_0x19d35b[_0x416bbb(0xa5)]>0x0&&_0x107c01[_0x416bbb(0xd2)]({'isUndoable':!0x1},_0x317665=>{const _0x29438d=_0x416bbb;for(const [_0x4107a3,_0x3e74db]of _0x19d35b)_0x29438d(0xfd)==_0x107c01[_0x29438d(0xbf)][_0x29438d(0xc1)](_0x4107a3)[_0x29438d(0xc7)]()[_0x29438d(0xaa)][_0x29438d(0xdf)]&&(te(_0x4107a3[_0x29438d(0xeb)](':')[0x2],_0x3e74db[_0x29438d(0xb9)](),_0x107c01,_0x317665),_0x3e74db[_0x29438d(0xc8)]());_0x19d35b[_0x29438d(0x7c)]();});});}(_0x335627),this[_0x1d50ee(0xbd)][_0x1d50ee(0xb4)](_0x3302a4[_0x1d50ee(0xbc)],_0x1d50ee(0xe7),(_0xe8475e,{key:_0x576d29})=>{const _0x5dea0a=_0x1d50ee;_0x5dea0a(0xd3)===_0x576d29&&function(_0x380556){const _0x20fc70=_0x5dea0a;_0x380556[_0x20fc70(0x93)][_0x20fc70(0x76)][_0x20fc70(0xb6)](_0x30f083=>{const _0x1e62b3=_0x20fc70;for(const _0x4df536 of _0x380556[_0x1e62b3(0xba)][_0x1e62b3(0xbf)]){if(!_0x4df536[_0x1e62b3(0x9b)][_0x1e62b3(0xed)](_0x1e62b3(0x91)))continue;const _0x398613=_0x380556[_0x1e62b3(0x93)][_0x1e62b3(0xf0)][_0x1e62b3(0xea)](_0x4df536[_0x1e62b3(0x9b)]);if(_0x398613){for(const _0x35f84f of _0x398613)_0x30f083[_0x1e62b3(0xde)](_0x1e62b3(0x83),_0x35f84f);}}});}(_0x335627);},{'useCapture':!0x0});}[_0x544bde(0x9e)](){const _0x146b95=_0x544bde,_0x1dac1b=this[_0x146b95(0xca)],_0x47e7f0=_0x1dac1b[_0x146b95(0xe4)][_0x146b95(0xc1)](_0x146b95(0x99));_0x47e7f0&&_0x1dac1b[_0x146b95(0xba)]['on'](_0x146b95(0xf8),(_0x2405bc,_0x2eec78)=>{const _0x42ca06=_0x146b95,_0x2396ac=_0x2eec78[0x0];if(!_0x2396ac[_0x42ca06(0xf6)])return;if(_0x42ca06(0xf5)!=_0x2396ac[_0x42ca06(0xe0)]||!_0x2396ac[_0x42ca06(0x9b)][_0x42ca06(0xed)](_0x42ca06(0xd8)))return;const _0x1113ed=_0x2396ac[_0x42ca06(0x90)];_0x47e7f0[_0x42ca06(0x96)][_0x42ca06(0xbe)](_0x1113ed)&&(_0x2396ac[_0x42ca06(0xf4)]=_0x2396ac[_0x42ca06(0xbb)]?_0x1dac1b[_0x42ca06(0xba)][_0x42ca06(0xef)](_0x2396ac[_0x42ca06(0xbb)][_0x42ca06(0x94)],_0x2396ac[_0x42ca06(0xbb)][_0x42ca06(0xe9)]):null);},{'priority':_0x146b95(0xad)});}[_0x544bde(0xb7)](){const _0xdf4858=_0x544bde;return this[_0xdf4858(0xbd)][_0xdf4858(0xa1)](),super[_0xdf4858(0xb7)]();}[_0x544bde(0xaf)](){const _0x3ecc9d=_0x544bde,_0x455506=this[_0x3ecc9d(0xca)],_0x4ef40c=_0x455506[_0x3ecc9d(0xba)][_0x3ecc9d(0xbc)],_0x3364e0=_0x455506[_0x3ecc9d(0xd5)][_0x3ecc9d(0xc1)](_0x8e81ed);_0x455506[_0x3ecc9d(0xba)][_0x3ecc9d(0xd2)]({'isUndoable':!0x1},_0xe1f032=>{const _0x5e1756=_0x3ecc9d,_0x300077=_0x5e1756(0xa6)+_0x3364e0[_0x5e1756(0xa9)],_0x299578=_0x5e1756(0x8c)+_0x3364e0[_0x5e1756(0xa9)],_0x44e62e=_0x455506[_0x5e1756(0xba)][_0x5e1756(0xbf)][_0x5e1756(0xbe)](_0x300077);_0x455506[_0x5e1756(0x93)][_0x5e1756(0x76)][_0x5e1756(0xdd)]?te(_0x3364e0[_0x5e1756(0xa9)],_0x4ef40c[_0x5e1756(0xdc)][_0x5e1756(0xda)](),_0x455506[_0x5e1756(0xba)],_0xe1f032):_0x44e62e&&(_0xe1f032[_0x5e1756(0x9a)](_0x300077),_0xe1f032[_0x5e1756(0x9a)](_0x299578));});}}function te(_0x4611d7,_0x3949d8,_0x3266b5,_0x11301e){const _0x3190ed=_0x544bde,_0x957cff=_0x3190ed(0xa6)+_0x4611d7,_0x41ce2e=_0x3190ed(0x8c)+_0x4611d7,_0x5ee254=_0x3949d8[_0x3190ed(0x7d)]();let _0x2e9fcb=_0x3949d8[_0x3190ed(0x94)];if(_0x5ee254&&_0x5ee254['is'](_0x3190ed(0xd6),_0x3190ed(0xc3))){const _0x7db07d=function(_0x5a492a,_0x544f64){const _0x432588=_0x3190ed;for(const _0x496e41 of _0x5a492a[_0x432588(0xfc)]())if(_0x544f64[_0x432588(0x80)][_0x432588(0x85)](_0x496e41,_0x432588(0xe6)))return _0x496e41;}(_0x3949d8,_0x3266b5);_0x7db07d&&(_0x2e9fcb=_0x7db07d,_0x3949d8=_0x11301e[_0x3190ed(0xef)](_0x2e9fcb));}const _0x54e104=_0x11301e[_0x3190ed(0xef)](_0x2e9fcb);_0x3266b5[_0x3190ed(0xbf)][_0x3190ed(0xbe)](_0x957cff)?(_0x11301e[_0x3190ed(0xb3)](_0x957cff,{'range':_0x3949d8}),_0x11301e[_0x3190ed(0xb3)](_0x41ce2e,{'range':_0x54e104})):(_0x11301e[_0x3190ed(0xd9)](_0x957cff,{'range':_0x3949d8,'usingOperation':!0x0}),_0x11301e[_0x3190ed(0xd9)](_0x41ce2e,{'range':_0x54e104,'usingOperation':!0x0}));}
23
+ const _0x2a55e8=_0x58f5;(function(_0x2feb71,_0x29293c){const _0x5dbf4d=_0x58f5,_0xebabd4=_0x2feb71();while(!![]){try{const _0x31ed05=parseInt(_0x5dbf4d(0x77))/0x1*(parseInt(_0x5dbf4d(0x9b))/0x2)+-parseInt(_0x5dbf4d(0xc6))/0x3+-parseInt(_0x5dbf4d(0xa5))/0x4*(parseInt(_0x5dbf4d(0x81))/0x5)+parseInt(_0x5dbf4d(0xb5))/0x6+parseInt(_0x5dbf4d(0x6f))/0x7+parseInt(_0x5dbf4d(0xbd))/0x8*(-parseInt(_0x5dbf4d(0x8b))/0x9)+parseInt(_0x5dbf4d(0x73))/0xa*(parseInt(_0x5dbf4d(0x80))/0xb);if(_0x31ed05===_0x29293c)break;else _0xebabd4['push'](_0xebabd4['shift']());}catch(_0x4d5cc3){_0xebabd4['push'](_0xebabd4['shift']());}}}(_0x10a5,0xb5354));import{Plugin as _0x49c223}from'ckeditor5/src/core.js';import{global as _0xa46b4,DomEmitterMixin as _0x543cd4}from'ckeditor5/src/utils.js';import{Sessions as _0x56389d}from'./sessions.js';function _0x58f5(_0x3f458d,_0x4b8f77){const _0x10a58a=_0x10a5();return _0x58f5=function(_0x58f579,_0x5770c1){_0x58f579=_0x58f579-0x6d;let _0xc328f9=_0x10a58a[_0x58f579];return _0xc328f9;},_0x58f5(_0x3f458d,_0x4b8f77);}import{ModelLiveRange as _0x149c4a}from'ckeditor5/src/engine.js';function _0x10a5(){const _0x57d852=['3561615KyqoIy','startsWith','getPositions','getSelectionClass','plugins','orderNumber','setAttribute','getMarkerClass','getFirstRange','set','markerName','checkChild','markerToHighlight','addMarker','element','hasContent','isSimilar','delete','$text','innerHTML','userPositionMarker','clear','setCustomProperty','change','getUserBySessionId','Escape','stopListening','size','deletionPosition','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getAttribute','ck-user__marker-tooltip','isObject','hasDomSelection','createElement','reconvertMarker','afterInit','editing','detach','isLimit','updateMarker','for','isPremiumPlugin','textContent','span','getContainedElement','start','markerNameToElements','addEventListener','name','mapper','removeMarker','applyOperation','6168834qWyGzX','root','get','schema','370vIqqCo','_domEmitter','batch','getCustomProperty','3387erSnyG','requires','conversion','isDocumentOperation','type','isInline','mouseenter','model','classList','337238uQAVVo','500650vVmxfu','ck-user__selection','destroy','false','tableCell','keydown','getRange','ck-user__marker_hovered','spellcheck','nodeAfter','153lFCuvz','fromRange','newRange','oldRange','editingDowncast','toDomElement','user:','toRange','createUserMarkerOperations','removeClass','markers','mouseleave','init','getNearestSelectionRange','createUIElement','isCollapsed','386zGNzAL','render','has','parent','update:user:range','end','undo','highest','outerHTML','split','48KEtvXN','pluginName','_createdBatches','color','remove','markerRange','user:range:','$graveyard','document','enqueueChange','contenteditable','mySessionId','isOfficialPlugin','editor','add','getStart','7592010mhmnXx','change:range','commands','createRange','view','selection','data-session-id','ck-user__marker\x20','378184ZnqmYN','user:position','UserMarkers','user:range','listenTo','marker','user:position:','markerToElement','rootName'];_0x10a5=function(){return _0x57d852;};return _0x10a5();}import'../../theme/usermarkers.css';export class UserMarkers extends _0x49c223{[_0x2a55e8(0x74)]=new(_0x543cd4())();static get[_0x2a55e8(0x78)](){return[_0x56389d];}static get[_0x2a55e8(0xa6)](){const _0x3e5e38=_0x2a55e8;return _0x3e5e38(0xbf);}static get[_0x2a55e8(0xb1)](){return!0x0;}static get[_0x2a55e8(0xf0)](){return!0x0;}[_0x2a55e8(0x97)](){const _0x91aaed=_0x2a55e8,_0x2214cd=this[_0x91aaed(0xb2)],_0x51f45a=_0x2214cd[_0x91aaed(0xca)][_0x91aaed(0x71)](_0x56389d);_0x2214cd[_0x91aaed(0x79)][_0x91aaed(0xef)](_0x91aaed(0x8f))[_0x91aaed(0xc4)]({'model':_0x91aaed(0xbe),'view':(_0x25197f,{writer:_0x275eb1})=>function(_0x19cc9a,_0x39eb47,_0x3eb26b,_0x28ed57){const _0x1146a6=_0x91aaed,_0x12554d=_0x19cc9a[_0x1146a6(0xd0)][_0x1146a6(0xa4)](':')[0x2],_0x3ca327=_0x3eb26b[_0x1146a6(0xde)](_0x12554d);if(!_0x3ca327||_0x12554d===_0x3eb26b[_0x1146a6(0xb0)])return;if(!_0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0x72)][_0x1146a6(0xd1)](_0x19cc9a[_0x1146a6(0xaa)][_0x1146a6(0xf4)],_0x1146a6(0xd8)))return;const _0xa363cb={'class':_0x1146a6(0xbc)+_0x3ca327[_0x1146a6(0xa8)][_0x1146a6(0xcd)](),'data-name':_0x3ca327[_0x1146a6(0xf7)],'data-session-id':_0x12554d},_0x2527f8=_0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0x95)][_0x1146a6(0x71)](_0x19cc9a[_0x1146a6(0xd0)]),_0x348141=_0x2527f8[_0x1146a6(0xb4)](),_0x38e69f=_0x348141[_0x1146a6(0x8a)],_0x41e62a=_0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0x72)];if(_0x38e69f&&_0x41e62a[_0x1146a6(0xe6)](_0x38e69f)&&_0x41e62a[_0x1146a6(0x7c)](_0x38e69f)&&!_0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0x95)][_0x1146a6(0x71)](_0x1146a6(0xab)+_0x12554d)[_0x1146a6(0x87)]()[_0x1146a6(0x9a)])return;const _0x587dda=_0x348141[_0x1146a6(0x9e)];return _0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0x72)][_0x1146a6(0xed)](_0x587dda)&&!_0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0xd5)](_0x587dda)&&(_0xa363cb[_0x1146a6(0xaf)]=!0x1),function(_0x40255f,_0x5a7ad2,_0x448f20){const _0x4536f6=_0x1146a6,_0x4fe3f0=_0x40255f[_0x4536f6(0x99)](_0x4536f6(0xf2),_0x5a7ad2);return _0x40255f[_0x4536f6(0xdc)](_0x4536f6(0xda),!0x0,_0x4fe3f0),_0x4fe3f0[_0x4536f6(0x9c)]=function(_0x61c869){const _0x27ca26=_0x4536f6,_0x2099ff=this[_0x27ca26(0x90)](_0x61c869),_0x4afea7=document[_0x27ca26(0xe8)](_0x27ca26(0xf2));return _0x4afea7[_0x27ca26(0x7f)][_0x27ca26(0xb3)](_0x27ca26(0xe5)),_0x4afea7[_0x27ca26(0xcc)](_0x27ca26(0xaf),_0x27ca26(0x84)),_0x4afea7[_0x27ca26(0xcc)](_0x27ca26(0x89),_0x27ca26(0x84)),_0x4afea7[_0x27ca26(0xf1)]=_0x448f20[_0x27ca26(0xf7)],_0x2099ff[_0x27ca26(0xd9)]=_0x27ca26(0xe3)+_0x4afea7[_0x27ca26(0xa3)]+'⁠',_0x2099ff[_0x27ca26(0xf6)](_0x27ca26(0x7d),()=>{const _0x202cc2=_0x27ca26;_0x2099ff[_0x202cc2(0x7f)][_0x202cc2(0xb3)](_0x202cc2(0x88));}),_0x2099ff[_0x27ca26(0xf6)](_0x27ca26(0x96),()=>{const _0x55c2f6=_0x27ca26;_0x2099ff[_0x55c2f6(0x7f)][_0x55c2f6(0xa9)](_0x55c2f6(0x88));}),_0x2099ff;},_0x4fe3f0[_0x4536f6(0xd6)]=function(_0x48d392){const _0x2c786e=_0x4536f6;return!(!this[_0x2c786e(0x76)](_0x2c786e(0xda))||!_0x48d392[_0x2c786e(0x76)](_0x2c786e(0xda))||this[_0x2c786e(0xe4)](_0x2c786e(0xbb))!=_0x48d392[_0x2c786e(0xe4)](_0x2c786e(0xbb)));},_0x4fe3f0;}(_0x39eb47,_0xa363cb,_0x3ca327);}(_0x25197f,_0x275eb1,_0x51f45a,_0x2214cd)}),_0x2214cd[_0x91aaed(0x79)][_0x91aaed(0xef)](_0x91aaed(0x8f))[_0x91aaed(0xd2)]({'model':_0x91aaed(0xc0),'view':_0x45bf0e=>function(_0x4e2edf,_0x5f3d3a){const _0x46a8b1=_0x91aaed,_0x4526f4=_0x4e2edf[_0x46a8b1(0xd0)][_0x46a8b1(0xa4)](':')[0x2];if(_0x4526f4===_0x5f3d3a[_0x46a8b1(0xb0)])return null;const _0x3c2601=_0x5f3d3a[_0x46a8b1(0xde)](_0x4526f4);if(!_0x3c2601)return{'id':_0x4526f4,'classes':[]};return{'id':_0x4526f4,'classes':[_0x46a8b1(0x82),_0x3c2601[_0x46a8b1(0xa8)][_0x46a8b1(0xc9)]()],'attributes':{'data-session-id':_0x4526f4},'priority':0x7d0+_0x3c2601[_0x46a8b1(0xcb)]};}(_0x45bf0e,_0x51f45a)}),function(_0x37df2a){const _0x5d9545=_0x91aaed,_0x297f58=_0x37df2a[_0x5d9545(0x7e)],_0x4c8d77=new Map(),_0x5e6b29=_0x37df2a[_0x5d9545(0xca)][_0x5d9545(0x71)](_0x56389d);_0x297f58[_0x5d9545(0x95)]['on'](_0x5d9545(0x9f),(_0x2180d3,_0x16d5e1,_0x6274e2,_0xea5783)=>{const _0x3cf5f6=_0x5d9545;if(!_0xea5783&&_0x4c8d77[_0x3cf5f6(0x71)](_0x16d5e1[_0x3cf5f6(0xf7)]))return _0x4c8d77[_0x3cf5f6(0x71)](_0x16d5e1[_0x3cf5f6(0xf7)])[_0x3cf5f6(0xec)](),void _0x4c8d77[_0x3cf5f6(0xd7)](_0x16d5e1[_0x3cf5f6(0xf7)]);const _0x50ef6a=_0x16d5e1[_0x3cf5f6(0xf7)][_0x3cf5f6(0xa4)](':')[0x2];if(_0x50ef6a===_0x5e6b29[_0x3cf5f6(0xb0)])return;const _0x880d61=_0x3cf5f6(0xc3)+_0x50ef6a;_0x297f58[_0x3cf5f6(0x95)][_0x3cf5f6(0x9d)](_0x880d61)&&_0x37df2a[_0x3cf5f6(0xeb)][_0x3cf5f6(0xe9)](_0x880d61),_0x16d5e1['on'](_0x3cf5f6(0xb6),(_0x2faf2b,_0x51477e,_0x506522)=>{const _0x2b1a6a=_0x3cf5f6;if(_0x2b1a6a(0xac)!=_0x51477e[_0x2b1a6a(0x70)][_0x2b1a6a(0xc5)]&&_0x2b1a6a(0xac)==_0x16d5e1[_0x2b1a6a(0x87)]()[_0x2b1a6a(0x70)][_0x2b1a6a(0xc5)]&&!_0x4c8d77[_0x2b1a6a(0x9d)](_0x16d5e1[_0x2b1a6a(0xf7)])){const _0x414ec2=_0x297f58[_0x2b1a6a(0x72)][_0x2b1a6a(0x98)](_0x506522[_0x2b1a6a(0xe2)]);if(_0x414ec2){const _0x21e14d=_0x149c4a[_0x2b1a6a(0x8c)](_0x414ec2);_0x4c8d77[_0x2b1a6a(0xcf)](_0x16d5e1[_0x2b1a6a(0xf7)],_0x21e14d),_0x21e14d['on'](_0x2b1a6a(0xb6),(_0x15c8b3,_0x2690ef,_0x497ce8)=>{const _0x12fa27=_0x2b1a6a;if(_0x12fa27(0xac)==_0x21e14d[_0x12fa27(0x70)][_0x12fa27(0xc5)]){const _0x537eee=_0x297f58[_0x12fa27(0x72)][_0x12fa27(0x98)](_0x497ce8[_0x12fa27(0xe2)]);_0x537eee?(_0x21e14d[_0x12fa27(0xf4)]=_0x537eee[_0x12fa27(0xf4)],_0x21e14d[_0x12fa27(0xa0)]=_0x537eee[_0x12fa27(0xa0)]):(_0x4c8d77[_0x12fa27(0xd7)](_0x16d5e1[_0x12fa27(0xf7)]),_0x21e14d[_0x12fa27(0xec)]());}});}}});}),_0x297f58[_0x5d9545(0xad)]['on'](_0x5d9545(0xdd),()=>{const _0x553f29=_0x5d9545;_0x4c8d77[_0x553f29(0xe1)]>0x0&&_0x297f58[_0x553f29(0xae)]({'isUndoable':!0x1},_0x466b0a=>{const _0x363b50=_0x553f29;for(const [_0x12780a,_0x26c664]of _0x4c8d77)_0x363b50(0xac)==_0x297f58[_0x363b50(0x95)][_0x363b50(0x71)](_0x12780a)[_0x363b50(0x87)]()[_0x363b50(0x70)][_0x363b50(0xc5)]&&(Z(_0x12780a[_0x363b50(0xa4)](':')[0x2],_0x26c664[_0x363b50(0x92)](),_0x297f58,_0x466b0a),_0x26c664[_0x363b50(0xec)]());_0x4c8d77[_0x363b50(0xdb)]();});});}(_0x2214cd),this[_0x91aaed(0x74)][_0x91aaed(0xc1)](_0xa46b4[_0x91aaed(0xad)],_0x91aaed(0x86),(_0x288d99,{key:_0x422a89})=>{const _0x377870=_0x91aaed;_0x377870(0xdf)===_0x422a89&&function(_0x33f4d9){const _0x5dfb17=_0x377870;_0x33f4d9[_0x5dfb17(0xeb)][_0x5dfb17(0xb9)][_0x5dfb17(0xdd)](_0x1f70b2=>{const _0x37c096=_0x5dfb17;for(const _0x4d4a1e of _0x33f4d9[_0x37c096(0x7e)][_0x37c096(0x95)]){if(!_0x4d4a1e[_0x37c096(0xf7)][_0x37c096(0xc7)](_0x37c096(0xbe)))continue;const _0x3b07fd=_0x33f4d9[_0x37c096(0xeb)][_0x37c096(0xf8)][_0x37c096(0xf5)](_0x4d4a1e[_0x37c096(0xf7)]);if(_0x3b07fd){for(const _0x51b041 of _0x3b07fd)_0x1f70b2[_0x37c096(0x94)](_0x37c096(0x88),_0x51b041);}}});}(_0x2214cd);},{'useCapture':!0x0});}[_0x2a55e8(0xea)](){const _0x3a87e3=_0x2a55e8,_0x40fa5d=this[_0x3a87e3(0xb2)],_0x158d13=_0x40fa5d[_0x3a87e3(0xb7)][_0x3a87e3(0x71)](_0x3a87e3(0xa1));_0x158d13&&_0x40fa5d[_0x3a87e3(0x7e)]['on'](_0x3a87e3(0x6e),(_0x46fc1f,_0x3ecf42)=>{const _0x40b661=_0x3a87e3,_0x4e7217=_0x3ecf42[0x0];if(!_0x4e7217[_0x40b661(0x7a)])return;if(_0x40b661(0xc2)!=_0x4e7217[_0x40b661(0x7b)]||!_0x4e7217[_0x40b661(0xf7)][_0x40b661(0xc7)](_0x40b661(0x91)))return;const _0x1b3254=_0x4e7217[_0x40b661(0x75)];_0x158d13[_0x40b661(0xa7)][_0x40b661(0x9d)](_0x1b3254)&&(_0x4e7217[_0x40b661(0x8d)]=_0x4e7217[_0x40b661(0x8e)]?_0x40fa5d[_0x40b661(0x7e)][_0x40b661(0xb8)](_0x4e7217[_0x40b661(0x8e)][_0x40b661(0xf4)],_0x4e7217[_0x40b661(0x8e)][_0x40b661(0xa0)]):null);},{'priority':_0x3a87e3(0xa2)});}[_0x2a55e8(0x83)](){const _0x15fa10=_0x2a55e8;return this[_0x15fa10(0x74)][_0x15fa10(0xe0)](),super[_0x15fa10(0x83)]();}[_0x2a55e8(0x93)](){const _0x435966=_0x2a55e8,_0x5d4bb7=this[_0x435966(0xb2)],_0x2344d3=_0x5d4bb7[_0x435966(0x7e)][_0x435966(0xad)],_0x395b6c=_0x5d4bb7[_0x435966(0xca)][_0x435966(0x71)](_0x56389d);_0x5d4bb7[_0x435966(0x7e)][_0x435966(0xae)]({'isUndoable':!0x1},_0x86a9ba=>{const _0x119905=_0x435966,_0x539905=_0x119905(0xab)+_0x395b6c[_0x119905(0xb0)],_0x1226b8=_0x119905(0xc3)+_0x395b6c[_0x119905(0xb0)],_0x4e1e72=_0x5d4bb7[_0x119905(0x7e)][_0x119905(0x95)][_0x119905(0x9d)](_0x539905);_0x5d4bb7[_0x119905(0xeb)][_0x119905(0xb9)][_0x119905(0xe7)]?Z(_0x395b6c[_0x119905(0xb0)],_0x2344d3[_0x119905(0xba)][_0x119905(0xce)](),_0x5d4bb7[_0x119905(0x7e)],_0x86a9ba):_0x4e1e72&&(_0x86a9ba[_0x119905(0x6d)](_0x539905),_0x86a9ba[_0x119905(0x6d)](_0x1226b8));});}}function Z(_0x5beab5,_0x3fb664,_0x44eb8d,_0x31af05){const _0x54dc31=_0x2a55e8,_0x1f84eb=_0x54dc31(0xab)+_0x5beab5,_0x36128f=_0x54dc31(0xc3)+_0x5beab5,_0xd02169=_0x3fb664[_0x54dc31(0xf3)]();let _0x564ea9=_0x3fb664[_0x54dc31(0xf4)];if(_0xd02169&&_0xd02169['is'](_0x54dc31(0xd4),_0x54dc31(0x85))){const _0x9022ff=function(_0x26e627,_0x5d5377){const _0x4dadd5=_0x54dc31;for(const _0x2e7d76 of _0x26e627[_0x4dadd5(0xc8)]())if(_0x5d5377[_0x4dadd5(0x72)][_0x4dadd5(0xd1)](_0x2e7d76,_0x4dadd5(0xd8)))return _0x2e7d76;}(_0x3fb664,_0x44eb8d);_0x9022ff&&(_0x564ea9=_0x9022ff,_0x3fb664=_0x31af05[_0x54dc31(0xb8)](_0x564ea9));}const _0x2b05ee=_0x31af05[_0x54dc31(0xb8)](_0x564ea9);_0x44eb8d[_0x54dc31(0x95)][_0x54dc31(0x9d)](_0x1f84eb)?(_0x31af05[_0x54dc31(0xee)](_0x1f84eb,{'range':_0x3fb664}),_0x31af05[_0x54dc31(0xee)](_0x36128f,{'range':_0x2b05ee})):(_0x31af05[_0x54dc31(0xd3)](_0x1f84eb,{'range':_0x3fb664,'usingOperation':!0x0}),_0x31af05[_0x54dc31(0xd3)](_0x36128f,{'range':_0x2b05ee,'usingOperation':!0x0}));}