@ckeditor/ckeditor5-real-time-collaboration 46.0.0-alpha.1 → 46.0.0-alpha.3

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 +2 -2
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.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 _0x4ed799=_0xa9ed;(function(_0x229748,_0xae6ef0){const _0x380c55=_0xa9ed,_0x346350=_0x229748();while(!![]){try{const _0x4dd14d=-parseInt(_0x380c55(0x1b0))/0x1+-parseInt(_0x380c55(0x1ca))/0x2+parseInt(_0x380c55(0x1b1))/0x3+-parseInt(_0x380c55(0x1c9))/0x4+parseInt(_0x380c55(0x1c4))/0x5*(parseInt(_0x380c55(0x1bf))/0x6)+parseInt(_0x380c55(0x1a6))/0x7+parseInt(_0x380c55(0x1ae))/0x8*(parseInt(_0x380c55(0x1ba))/0x9);if(_0x4dd14d===_0xae6ef0)break;else _0x346350['push'](_0x346350['shift']());}catch(_0x39d73b){_0x346350['push'](_0x346350['shift']());}}}(_0x15ce,0x25ded));import{View as _0x3f5ee3}from'ckeditor5/src/ui.js';function _0xa9ed(_0x1c484c,_0x4979b9){const _0x15ce19=_0x15ce();return _0xa9ed=function(_0xa9edb1,_0xb36139){_0xa9edb1=_0xa9edb1-0x1a5;let _0x3c86e1=_0x15ce19[_0xa9edb1];return _0x3c86e1;},_0xa9ed(_0x1c484c,_0x4979b9);}function _0x15ce(){const _0x54d619=['items','ck-presence-list__list','297764ZRGosZ','53956TZOovn','contains','441413bcFOsC','isExpanded','element','keystrokes','aria-expanded','presencelist:show','presencelist:hide','relatedTarget','16bAffaq','div','177221JUVZtv','304104TKXMtc','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','hasPopup','setTemplate','fire','.ck-presence-list__dropdown-list','bindTemplate','createCollection','querySelector','30249nSApEA','setAttribute','set','Connected\x20users\x20list','focus','393912XtMWxO','.ck-balloon-panel_with-arrow','render','removeAttribute','change:hasPopup','20xIirXQ','listenTo','list'];_0x15ce=function(){return _0x54d619;};return _0x15ce();}import{KeystrokeHandler as _0x2eb67b}from'ckeditor5/src/utils.js';import{getTranslation as _0x17f35b}from'../../common-translations.js';export class PresenceInlineListView extends _0x3f5ee3{[_0x4ed799(0x1c7)];[_0x4ed799(0x1a9)];constructor(_0x1b641f){const _0x2dd51a=_0x4ed799;super(_0x1b641f);const _0x118d1e=this[_0x2dd51a(0x1b7)];this[_0x2dd51a(0x1c7)]=this[_0x2dd51a(0x1b8)](),this[_0x2dd51a(0x1a9)]=new _0x2eb67b(),this[_0x2dd51a(0x1bc)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2dd51a(0x1b4)]({'tag':_0x2dd51a(0x1af),'attributes':{'aria-haspopup':_0x118d1e['if'](_0x2dd51a(0x1b3)),'aria-expanded':_0x118d1e['to'](_0x2dd51a(0x1a7),_0xec6b6f=>this[_0x2dd51a(0x1b3)]&&String(_0xec6b6f)),'aria-label':_0x118d1e['to'](_0x2dd51a(0x1b3),_0x5ec4bc=>_0x17f35b(_0x1b641f,_0x5ec4bc?_0x2dd51a(0x1b2):_0x2dd51a(0x1bd))),'role':_0x2dd51a(0x1c6),'tabindex':_0x118d1e['to'](_0x2dd51a(0x1b3),_0x43cb9e=>!!_0x43cb9e&&0x0),'class':['ck',_0x2dd51a(0x1c8)]},'children':this[_0x2dd51a(0x1c7)],'on':{'mouseenter':_0x118d1e['to'](()=>this[_0x2dd51a(0x1b5)](_0x2dd51a(0x1ab))),'mouseleave':_0x118d1e['to'](_0x556a64=>{const _0x3aab6e=_0x2dd51a,_0x466d72=_0x556a64,_0x273572=document[_0x3aab6e(0x1b9)](_0x3aab6e(0x1b6)),_0x2f2673=document[_0x3aab6e(0x1b9)](_0x3aab6e(0x1c0));_0x273572?.[_0x3aab6e(0x1a5)](_0x466d72[_0x3aab6e(0x1ad)])||_0x2f2673?.[_0x3aab6e(0x1a5)](_0x466d72[_0x3aab6e(0x1ad)])||this[_0x3aab6e(0x1b5)](_0x3aab6e(0x1ac));})}}),this['on'](_0x2dd51a(0x1c3),(_0x1dee2b,_0x1dd5f9,_0x5412a2)=>{const _0x36e12a=_0x2dd51a;this[_0x36e12a(0x1a8)]&&(_0x5412a2?this[_0x36e12a(0x1a8)][_0x36e12a(0x1bb)](_0x36e12a(0x1aa),String(this[_0x36e12a(0x1a7)])):this[_0x36e12a(0x1a8)][_0x36e12a(0x1c2)](_0x36e12a(0x1aa)));});}[_0x4ed799(0x1be)](){const _0x428add=_0x4ed799;this[_0x428add(0x1a8)][_0x428add(0x1be)]();}[_0x4ed799(0x1c1)](){const _0x253e98=_0x4ed799;super[_0x253e98(0x1c1)](),this[_0x253e98(0x1a9)][_0x253e98(0x1c5)](this[_0x253e98(0x1a8)]);}}
23
+ function _0x3680(){const _0x180320=['presencelist:show','render','1563020CrkAGq','createCollection','fire','element','157OnejaN','presencelist:hide','1411420mEftqR','list','ck-presence-list__list','1169644rEFwAW','isExpanded','set','3212025nidIgz','keystrokes','removeAttribute','12674IoInHQ','querySelector','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','setTemplate','contains','focus','376hXeVtQ','listenTo','.ck-presence-list__dropdown-list','change:hasPopup','setAttribute','relatedTarget','3106554YKOBjT','.ck-balloon-panel_with-arrow','108GPUkeh','Connected\x20users\x20list','div','129731WyBjSR','bindTemplate','hasPopup','items','aria-expanded'];_0x3680=function(){return _0x180320;};return _0x3680();}function _0x2a96(_0x2200ca,_0x11b4a7){const _0x368015=_0x3680();return _0x2a96=function(_0x2a966a,_0x2b90fe){_0x2a966a=_0x2a966a-0x175;let _0x5bd7a4=_0x368015[_0x2a966a];return _0x5bd7a4;},_0x2a96(_0x2200ca,_0x11b4a7);}const _0x422a84=_0x2a96;(function(_0x5701b4,_0x255608){const _0x19548f=_0x2a96,_0x3f2b73=_0x5701b4();while(!![]){try{const _0x2d05c3=parseInt(_0x19548f(0x179))/0x1*(parseInt(_0x19548f(0x184))/0x2)+parseInt(_0x19548f(0x181))/0x3+parseInt(_0x19548f(0x17e))/0x4+-parseInt(_0x19548f(0x17b))/0x5+-parseInt(_0x19548f(0x190))/0x6+-parseInt(_0x19548f(0x195))/0x7*(-parseInt(_0x19548f(0x18a))/0x8)+parseInt(_0x19548f(0x192))/0x9*(-parseInt(_0x19548f(0x175))/0xa);if(_0x2d05c3===_0x255608)break;else _0x3f2b73['push'](_0x3f2b73['shift']());}catch(_0x2d990f){_0x3f2b73['push'](_0x3f2b73['shift']());}}}(_0x3680,0x871a3));import{View as _0x56e911}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x5eae40}from'ckeditor5/src/utils.js';import{getTranslation as _0x51762f}from'../../common-translations.js';export class PresenceInlineListView extends _0x56e911{[_0x422a84(0x198)];[_0x422a84(0x182)];constructor(_0x26fdad){const _0x1a9500=_0x422a84;super(_0x26fdad);const _0x3a8e68=this[_0x1a9500(0x196)];this[_0x1a9500(0x198)]=this[_0x1a9500(0x176)](),this[_0x1a9500(0x182)]=new _0x5eae40(),this[_0x1a9500(0x180)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x1a9500(0x187)]({'tag':_0x1a9500(0x194),'attributes':{'aria-haspopup':_0x3a8e68['if'](_0x1a9500(0x197)),'aria-expanded':_0x3a8e68['to'](_0x1a9500(0x17f),_0x400476=>this[_0x1a9500(0x197)]&&String(_0x400476)),'aria-label':_0x3a8e68['to'](_0x1a9500(0x197),_0x52e4bb=>_0x51762f(_0x26fdad,_0x52e4bb?_0x1a9500(0x186):_0x1a9500(0x193))),'role':_0x1a9500(0x17c),'tabindex':_0x3a8e68['to'](_0x1a9500(0x197),_0x3c2d45=>!!_0x3c2d45&&0x0),'class':['ck',_0x1a9500(0x17d)]},'children':this[_0x1a9500(0x198)],'on':{'mouseenter':_0x3a8e68['to'](()=>this[_0x1a9500(0x177)](_0x1a9500(0x19a))),'mouseleave':_0x3a8e68['to'](_0x1a68c8=>{const _0x3c67ba=_0x1a9500,_0x4b6219=_0x1a68c8,_0xe2f506=document[_0x3c67ba(0x185)](_0x3c67ba(0x18c)),_0x5dd9e3=document[_0x3c67ba(0x185)](_0x3c67ba(0x191));_0xe2f506?.[_0x3c67ba(0x188)](_0x4b6219[_0x3c67ba(0x18f)])||_0x5dd9e3?.[_0x3c67ba(0x188)](_0x4b6219[_0x3c67ba(0x18f)])||this[_0x3c67ba(0x177)](_0x3c67ba(0x17a));})}}),this['on'](_0x1a9500(0x18d),(_0x24b9c4,_0xaf2ea7,_0x3f8079)=>{const _0x2dcf4e=_0x1a9500;this[_0x2dcf4e(0x178)]&&(_0x3f8079?this[_0x2dcf4e(0x178)][_0x2dcf4e(0x18e)](_0x2dcf4e(0x199),String(this[_0x2dcf4e(0x17f)])):this[_0x2dcf4e(0x178)][_0x2dcf4e(0x183)](_0x2dcf4e(0x199)));});}[_0x422a84(0x189)](){const _0x36104d=_0x422a84;this[_0x36104d(0x178)][_0x36104d(0x189)]();}[_0x422a84(0x19b)](){const _0x13d66c=_0x422a84;super[_0x13d66c(0x19b)](),this[_0x13d66c(0x182)][_0x13d66c(0x18b)](this[_0x13d66c(0x178)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a9e46=_0x4c63;(function(_0x199d34,_0x21e938){const _0x425e64=_0x4c63,_0x13542b=_0x199d34();while(!![]){try{const _0x1369db=-parseInt(_0x425e64(0x1b8))/0x1+parseInt(_0x425e64(0x1ae))/0x2*(-parseInt(_0x425e64(0x1bf))/0x3)+-parseInt(_0x425e64(0x1bb))/0x4+parseInt(_0x425e64(0x1b9))/0x5*(-parseInt(_0x425e64(0x1b1))/0x6)+parseInt(_0x425e64(0x1b5))/0x7*(-parseInt(_0x425e64(0x1c2))/0x8)+parseInt(_0x425e64(0x1b2))/0x9+parseInt(_0x425e64(0x1b4))/0xa;if(_0x1369db===_0x21e938)break;else _0x13542b['push'](_0x13542b['shift']());}catch(_0x56a17c){_0x13542b['push'](_0x13542b['shift']());}}}(_0x3036,0xe016a));import{View as _0x25e0e7}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x5bf10e}from'./presencecounterview.js';function _0x3036(){const _0x2c3c11=['items','hasPopup','692217JDNbGz','set','ck-presence-list','3696AOwPvh','tooltipPosition','ck-reset','ck-rounded-corners','counterView','locale','ck-presence-list--collapsed','div','inlineListView','2xTwbAV','change','isCollapsed','2025378oFKrHZ','14435910Khgdqi','bindTemplate','20572290yXWJbm','2170bJiNKX','bind','listenTo','284933FyFauM','5xsOGqB','first','6987592KZgBTH','setTemplate'];_0x3036=function(){return _0x2c3c11;};return _0x3036();}import{PresenceInlineListView as _0xe098a1}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x4c63(_0x3a7a5a,_0xc40884){const _0x303649=_0x3036();return _0x4c63=function(_0x4c6345,_0x59086f){_0x4c6345=_0x4c6345-0x1a6;let _0x85aaea=_0x303649[_0x4c6345];return _0x85aaea;},_0x4c63(_0x3a7a5a,_0xc40884);}export class PresenceListView extends _0x25e0e7{[_0x2a9e46(0x1a9)];[_0x2a9e46(0x1ad)];constructor(_0x5319e3,_0x54be8c=0x6){const _0x339a91=_0x2a9e46;super(_0x5319e3);const _0x59e10d=this[_0x339a91(0x1b3)];this[_0x339a91(0x1c0)](_0x339a91(0x1b0),!0x0),this[_0x339a91(0x1a9)]=new _0x5bf10e(this[_0x339a91(0x1aa)],_0x54be8c),this[_0x339a91(0x1ad)]=new _0xe098a1(_0x5319e3),this[_0x339a91(0x1ad)][_0x339a91(0x1b6)](_0x339a91(0x1be))['to'](this,_0x339a91(0x1b0)),this[_0x339a91(0x1b7)](this[_0x339a91(0x1ad)][_0x339a91(0x1bd)],_0x339a91(0x1af),()=>{const _0x12e044=_0x339a91;for(const _0x19fc21 of this[_0x12e044(0x1ad)][_0x12e044(0x1bd)])_0x19fc21[_0x12e044(0x1a6)]='s';this[_0x12e044(0x1ad)][_0x12e044(0x1bd)][_0x12e044(0x1ba)]&&(this[_0x12e044(0x1ad)][_0x12e044(0x1bd)][_0x12e044(0x1ba)][_0x12e044(0x1a6)]='se');}),this[_0x339a91(0x1bc)]({'tag':_0x339a91(0x1ac),'attributes':{'class':['ck',_0x339a91(0x1c1),_0x339a91(0x1a7),_0x339a91(0x1a8),_0x59e10d['if'](_0x339a91(0x1b0),_0x339a91(0x1ab))]},'children':[this[_0x339a91(0x1ad)]]});}}
23
+ const _0x8bfc94=_0x3b98;(function(_0x803fee,_0xf050a2){const _0x36f7ba=_0x3b98,_0x2f9d41=_0x803fee();while(!![]){try{const _0x4cb4b9=-parseInt(_0x36f7ba(0x182))/0x1*(-parseInt(_0x36f7ba(0x183))/0x2)+-parseInt(_0x36f7ba(0x180))/0x3+-parseInt(_0x36f7ba(0x17c))/0x4+-parseInt(_0x36f7ba(0x18c))/0x5*(-parseInt(_0x36f7ba(0x17f))/0x6)+-parseInt(_0x36f7ba(0x17b))/0x7+-parseInt(_0x36f7ba(0x17e))/0x8+parseInt(_0x36f7ba(0x18b))/0x9;if(_0x4cb4b9===_0xf050a2)break;else _0x2f9d41['push'](_0x2f9d41['shift']());}catch(_0x23fdd4){_0x2f9d41['push'](_0x2f9d41['shift']());}}}(_0x3d59,0xb1246));import{View as _0x4ea375}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x1fa208}from'./presencecounterview.js';function _0x3d59(){const _0x252490=['hasPopup','setTemplate','7200242XTXfPp','979996TTrJii','set','3528424xmCxfy','84IRTQVY','1112115DmJhPq','items','1TBPMCS','373058LJXaTQ','inlineListView','first','change','ck-presence-list--collapsed','locale','bind','ck-rounded-corners','12383118KOuxlM','445895wWQOsy','tooltipPosition','ck-presence-list','div','counterView','ck-reset','listenTo','isCollapsed','bindTemplate'];_0x3d59=function(){return _0x252490;};return _0x3d59();}function _0x3b98(_0xc8d16e,_0x45a9f9){const _0x3d598f=_0x3d59();return _0x3b98=function(_0x3b9870,_0x18d200){_0x3b9870=_0x3b9870-0x174;let _0x281d16=_0x3d598f[_0x3b9870];return _0x281d16;},_0x3b98(_0xc8d16e,_0x45a9f9);}import{PresenceInlineListView as _0x13a334}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x4ea375{[_0x8bfc94(0x174)];[_0x8bfc94(0x184)];constructor(_0x55edfd,_0x204ab7=0x6){const _0x53fa04=_0x8bfc94;super(_0x55edfd);const _0x3f72ff=this[_0x53fa04(0x178)];this[_0x53fa04(0x17d)](_0x53fa04(0x177),!0x0),this[_0x53fa04(0x174)]=new _0x1fa208(this[_0x53fa04(0x188)],_0x204ab7),this[_0x53fa04(0x184)]=new _0x13a334(_0x55edfd),this[_0x53fa04(0x184)][_0x53fa04(0x189)](_0x53fa04(0x179))['to'](this,_0x53fa04(0x177)),this[_0x53fa04(0x176)](this[_0x53fa04(0x184)][_0x53fa04(0x181)],_0x53fa04(0x186),()=>{const _0x35a8f7=_0x53fa04;for(const _0x29c058 of this[_0x35a8f7(0x184)][_0x35a8f7(0x181)])_0x29c058[_0x35a8f7(0x18d)]='s';this[_0x35a8f7(0x184)][_0x35a8f7(0x181)][_0x35a8f7(0x185)]&&(this[_0x35a8f7(0x184)][_0x35a8f7(0x181)][_0x35a8f7(0x185)][_0x35a8f7(0x18d)]='se');}),this[_0x53fa04(0x17a)]({'tag':_0x53fa04(0x18f),'attributes':{'class':['ck',_0x53fa04(0x18e),_0x53fa04(0x175),_0x53fa04(0x18a),_0x3f72ff['if'](_0x53fa04(0x177),_0x53fa04(0x187))]},'children':[this[_0x53fa04(0x184)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x452f21=_0x2ef9;(function(_0x36f3c0,_0x31b7f){var _0x3c5d56=_0x2ef9,_0x36155e=_0x36f3c0();while(!![]){try{var _0x46d194=-parseInt(_0x3c5d56(0x139))/0x1+parseInt(_0x3c5d56(0x13d))/0x2*(-parseInt(_0x3c5d56(0x138))/0x3)+parseInt(_0x3c5d56(0x13b))/0x4*(-parseInt(_0x3c5d56(0x141))/0x5)+-parseInt(_0x3c5d56(0x142))/0x6+-parseInt(_0x3c5d56(0x148))/0x7*(-parseInt(_0x3c5d56(0x13c))/0x8)+-parseInt(_0x3c5d56(0x13e))/0x9*(-parseInt(_0x3c5d56(0x147))/0xa)+parseInt(_0x3c5d56(0x143))/0xb*(parseInt(_0x3c5d56(0x144))/0xc);if(_0x46d194===_0x31b7f)break;else _0x36155e['push'](_0x36155e['shift']());}catch(_0x4be1fe){_0x36155e['push'](_0x36155e['shift']());}}}(_0x2683,0xa6b64));function _0x2683(){var _0x58b31b=['4089113kfnMWe','3eXaPSq','232335ZAqzMG','PresenceList','1420932hyEOKZ','8WldgbA','2383710tciWGB','68589tFwixl','requires','isOfficialPlugin','5Ugkfyq','1890876HkwbUI','396fNSVZE','431328aYRtnD','pluginName','isPremiumPlugin','1180nzgSKy'];_0x2683=function(){return _0x58b31b;};return _0x2683();}import{ContextPlugin as _0xd7c170}from'ckeditor5/src/core.js';import{Sessions as _0x28d790}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x221a35}from'./presencelist/presencelistui.js';function _0x2ef9(_0xc3da10,_0x399303){var _0x268320=_0x2683();return _0x2ef9=function(_0x2ef9d8,_0x3b6e7c){_0x2ef9d8=_0x2ef9d8-0x138;var _0x1385d9=_0x268320[_0x2ef9d8];return _0x1385d9;},_0x2ef9(_0xc3da10,_0x399303);}export class PresenceList extends _0xd7c170{static get[_0x452f21(0x13f)](){return[_0x28d790,_0x221a35];}static get[_0x452f21(0x145)](){var _0x51027d=_0x452f21;return _0x51027d(0x13a);}static get[_0x452f21(0x140)](){return!0x0;}static get[_0x452f21(0x146)](){return!0x0;}}
23
+ function _0x349e(_0x59f9e5,_0x1d2fe7){var _0x179a75=_0x179a();return _0x349e=function(_0x349e7b,_0x1506d9){_0x349e7b=_0x349e7b-0x78;var _0x646246=_0x179a75[_0x349e7b];return _0x646246;},_0x349e(_0x59f9e5,_0x1d2fe7);}var _0xf212f0=_0x349e;(function(_0x2e294b,_0x1c9d27){var _0xedf339=_0x349e,_0xb80163=_0x2e294b();while(!![]){try{var _0x42b763=-parseInt(_0xedf339(0x84))/0x1*(parseInt(_0xedf339(0x7f))/0x2)+-parseInt(_0xedf339(0x7d))/0x3+parseInt(_0xedf339(0x82))/0x4+parseInt(_0xedf339(0x78))/0x5*(-parseInt(_0xedf339(0x7b))/0x6)+parseInt(_0xedf339(0x7e))/0x7+parseInt(_0xedf339(0x81))/0x8*(parseInt(_0xedf339(0x80))/0x9)+-parseInt(_0xedf339(0x7a))/0xa;if(_0x42b763===_0x1c9d27)break;else _0xb80163['push'](_0xb80163['shift']());}catch(_0x3ebf05){_0xb80163['push'](_0xb80163['shift']());}}}(_0x179a,0xec4a5));function _0x179a(){var _0x21613f=['isOfficialPlugin','PresenceList','100uPAThs','isPremiumPlugin','8566150UmFCLo','325188oTjeIz','requires','1375911XRyrll','5919368HBxggE','18SVEHui','81612vwKEtB','1240UWnYuw','5048644GTlneh','pluginName','16252kmMOPJ'];_0x179a=function(){return _0x21613f;};return _0x179a();}import{ContextPlugin as _0xa10687}from'ckeditor5/src/core.js';import{Sessions as _0x47110c}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x1a704d}from'./presencelist/presencelistui.js';export class PresenceList extends _0xa10687{static get[_0xf212f0(0x7c)](){return[_0x47110c,_0x1a704d];}static get[_0xf212f0(0x83)](){var _0x3a5f70=_0xf212f0;return _0x3a5f70(0x86);}static get[_0xf212f0(0x85)](){return!0x0;}static get[_0xf212f0(0x79)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f4ff0=_0x40d1;(function(_0x3fd9b3,_0x492adf){const _0x4ac898=_0x40d1,_0x356562=_0x3fd9b3();while(!![]){try{const _0x4c543a=parseInt(_0x4ac898(0x1e8))/0x1+-parseInt(_0x4ac898(0x1cd))/0x2*(parseInt(_0x4ac898(0x200))/0x3)+parseInt(_0x4ac898(0x1f9))/0x4+parseInt(_0x4ac898(0x203))/0x5+parseInt(_0x4ac898(0x1c6))/0x6+-parseInt(_0x4ac898(0x1e7))/0x7+parseInt(_0x4ac898(0x1c7))/0x8*(parseInt(_0x4ac898(0x1ca))/0x9);if(_0x4c543a===_0x492adf)break;else _0x356562['push'](_0x356562['shift']());}catch(_0x469767){_0x356562['push'](_0x356562['shift']());}}}(_0xee24,0xed761));import{Context as _0x2cc1ba,ContextPlugin as _0x56d4bd}from'ckeditor5/src/core.js';import{CKEditorError as _0xe6358f}from'ckeditor5/src/utils.js';function _0xee24(){const _0x5db0b7=['4654300EswAhm','requires','context','set','off','destroy','resolve','CloudServicesCommentsAdapter','resolvedBy','404','commentId','startsWith','assign','remove','from','userId','updateCommentThread','cloudservicescommentsadapter-disconnect-not-exist','collaboration.channelId','deletedAt','getConnectedSessions','commentThreadAdded','isOfficialPlugin','authorId','connect','add','keys','size','mySessionId','commentThreadId','unregister','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','Permissions','adapter','resolveCommentThread','getMany','cloud-services-internal-error:\x20Not\x20connected.','config','delete','removeCommentThread','1116534HzxYoF','7956232YAgEpV','disconnect','commentThreadResolved','9jEsAKP','plugins','getCommentThread','2VprSMS','catch','removeComment','resolvedAt','cloudservicescommentsadapter-connect-already-connected','get','reopenCommentThread','createdAt','addUser','commentThreadReopened','_connectService','permissions','register','_fetchMissingUsersForThreads','updateComment','attributes','sessionAdd:','content','comments','commentAdded','commentUpdated','commentThreadUpdated','setPermissions','update','commentThreadRemoved','map','13223231dvXoAD','1230499FLmVyB','cloudservicescommentsadapter-service-not-exist','getComment','_terminateService','reopen','commentRemoved','isPremiumPlugin','listenTo','addComment','message','_services','cloud-services-internal-error:\x20Request\x20timeout.','addToReconnectionStack','addCommentThread','CommentsService','getUser','_getService','5225712oZEDTU','_setUpService','CommentsRepository','pluginName','code','has','getCommentThreads','5360193draYcu','init','reconnect'];_0xee24=function(){return _0x5db0b7;};return _0xee24();}import{Users as _0x2987d5}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x40d1(_0x237aed,_0x3c0c16){const _0xee24f=_0xee24();return _0x40d1=function(_0x40d106,_0x48fe48){_0x40d106=_0x40d106-0x1b4;let _0x224951=_0xee24f[_0x40d106];return _0x224951;},_0x40d1(_0x237aed,_0x3c0c16);}import{CommentsService as _0x14a4e4,User as _0x32e93}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x5c4384}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x3a5202}from'../realtimecollaborativeediting/sessions.js';class s extends _0x56d4bd{static [_0x4f4ff0(0x1f6)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x14a4e4)());[_0x4f4ff0(0x1f2)];static get[_0x4f4ff0(0x204)](){const _0x5b04d9=_0x4f4ff0;return[_0x5c4384,_0x5b04d9(0x1fb),_0x3a5202,_0x2987d5];}static get[_0x4f4ff0(0x1fc)](){const _0x573c04=_0x4f4ff0;return _0x573c04(0x20a);}static get[_0x4f4ff0(0x1b4)](){return!0x0;}static get[_0x4f4ff0(0x1ee)](){return!0x0;}constructor(_0x42bbe3){const _0x23c063=_0x4f4ff0;super(_0x42bbe3),this[_0x23c063(0x1f2)]=new Map();}async[_0x4f4ff0(0x201)](){const _0x45bf98=_0x4f4ff0,_0x3b5663=this[_0x45bf98(0x205)],_0x487898=_0x3b5663[_0x45bf98(0x1cb)][_0x45bf98(0x1d2)](_0x45bf98(0x1fb));if(_0x3b5663[_0x45bf98(0x1cb)][_0x45bf98(0x1d2)](_0x5c4384)[_0x45bf98(0x1f4)](this),_0x487898[_0x45bf98(0x1bf)]={'addCommentThread':async({channelId:_0x11befb,threadId:_0x51deca,comments:_0x25a781,resolvedAt:_0x1adfda,resolvedBy:_0x436da1,context:_0x51d695,attributes:_0x1831cc})=>{const _0x1d325d=_0x45bf98,_0x38ab48=await this[_0x1d325d(0x1f8)](_0x11befb)[_0x1d325d(0x1f5)]({'commentThreadId':_0x51deca,'comments':_0x25a781[_0x1d325d(0x1e6)](_0xb25668=>function(_0x2fabb9,_0x3a88d6,_0x537af0){const _0x2981f1=_0x1d325d;return{'commentThreadId':_0x537af0,'commentId':_0x2fabb9[_0x2981f1(0x20d)],'userId':_0x2fabb9[_0x2981f1(0x1b5)],'content':_0x2fabb9[_0x2981f1(0x1de)],'documentId':_0x3a88d6,'createdAt':_0x2fabb9[_0x2981f1(0x1d4)],'attributes':_0x2fabb9[_0x2981f1(0x1dc)]||{}};}(_0xb25668,_0x11befb,_0x51deca)),'resolvedAt':_0x1adfda,'resolvedBy':_0x436da1,'context':_0x51d695,'attributes':_0x1831cc})[_0x1d325d(0x1ce)](k);return{'threadId':_0x38ab48[_0x1d325d(0x1bb)],'comments':_0x38ab48[_0x1d325d(0x1df)]};},'getCommentThread':async({channelId:_0x359f62,threadId:_0xee073a})=>{const _0x1a0f04=_0x45bf98,_0x155a1a=await this[_0x1a0f04(0x1f8)](_0x359f62)[_0x1a0f04(0x1cc)](_0xee073a)[_0x1a0f04(0x1ce)](k);return _0x155a1a[_0x1a0f04(0x216)]?null:(await this[_0x1a0f04(0x1da)]([_0x155a1a]),{'threadId':_0x155a1a[_0x1a0f04(0x1bb)],'comments':_0x155a1a[_0x1a0f04(0x1df)][_0x1a0f04(0x1e6)](B),'context':_0x155a1a[_0x1a0f04(0x205)],'resolvedAt':_0x155a1a[_0x1a0f04(0x1d0)],'resolvedBy':_0x155a1a[_0x1a0f04(0x20b)],'attributes':_0x155a1a[_0x1a0f04(0x1dc)]||{}});},'updateCommentThread':async({channelId:_0x5095a8,threadId:_0x1eeff4,context:_0x366f5d,unlinkedAt:_0x3c02b7,attributes:_0x50387b})=>this[_0x45bf98(0x1f8)](_0x5095a8)[_0x45bf98(0x213)]({'commentThreadId':_0x1eeff4,'context':_0x366f5d,'attributes':_0x50387b,'unlinkedAt':_0x3c02b7})[_0x45bf98(0x1ce)](F)[_0x45bf98(0x1ce)](k),'resolveCommentThread':async({channelId:_0x30c93d,threadId:_0x23424e})=>{const _0x8416da=_0x45bf98,_0x112560=await this[_0x8416da(0x1f8)](_0x30c93d)[_0x8416da(0x1c0)](_0x23424e)[_0x8416da(0x1ce)](F)[_0x8416da(0x1ce)](k);return{'threadId':_0x112560[_0x8416da(0x1bb)],'resolvedAt':_0x112560[_0x8416da(0x1d0)],'resolvedBy':_0x112560[_0x8416da(0x20b)]};},'reopenCommentThread':async({channelId:_0x15e23c,threadId:_0xddb858})=>this[_0x45bf98(0x1f8)](_0x15e23c)[_0x45bf98(0x1d3)](_0xddb858)[_0x45bf98(0x1ce)](F)[_0x45bf98(0x1ce)](k),'removeCommentThread':({channelId:_0x2d2f2c,threadId:_0x1b9a19})=>this[_0x45bf98(0x1f8)](_0x2d2f2c)[_0x45bf98(0x1c5)](_0x1b9a19)[_0x45bf98(0x1ce)](F)[_0x45bf98(0x1ce)](k),'addComment':({channelId:_0x13aea8,threadId:_0x2e5b09,commentId:_0x4af9ea,content:_0x58600e,attributes:_0x24e30b})=>this[_0x45bf98(0x1f8)](_0x13aea8)[_0x45bf98(0x1f0)](_0x2e5b09,_0x4af9ea,_0x58600e,_0x24e30b)[_0x45bf98(0x1ce)](k),'updateComment':({channelId:_0x17c973,threadId:_0x28f08f,commentId:_0x1b864c,content:_0x13784a,attributes:_0x10d337})=>this[_0x45bf98(0x1f8)](_0x17c973)[_0x45bf98(0x1db)](_0x28f08f,_0x1b864c,_0x13784a,_0x10d337)[_0x45bf98(0x1ce)](F)[_0x45bf98(0x1ce)](k),'removeComment':({channelId:_0x256ca6,threadId:_0x1b1f4f,commentId:_0x4fe482})=>this[_0x45bf98(0x1f8)](_0x256ca6)[_0x45bf98(0x1cf)](_0x1b1f4f,_0x4fe482)[_0x45bf98(0x1ce)](F)[_0x45bf98(0x1ce)](k)},_0x3b5663 instanceof _0x2cc1ba){const _0x6f60d2=_0x3b5663[_0x45bf98(0x1c3)][_0x45bf98(0x1d2)](_0x45bf98(0x215)),_0x37517f=_0x3b5663[_0x45bf98(0x1cb)][_0x45bf98(0x1d2)](_0x3a5202);await this[_0x45bf98(0x1fa)](_0x6f60d2);const _0x1f1621=await this[_0x45bf98(0x1f2)][_0x45bf98(0x1d2)](_0x6f60d2)[_0x45bf98(0x217)]();this[_0x45bf98(0x1ef)](_0x37517f,_0x45bf98(0x1dd)+_0x6f60d2,(_0x5d56ec,{session:_0xd2cd44})=>{const _0x3ccb8f=_0x45bf98;_0xd2cd44['id']===_0x37517f[_0x3ccb8f(0x1ba)]&&(_0x5d56ec[_0x3ccb8f(0x207)](),this[_0x3ccb8f(0x205)][_0x3ccb8f(0x1cb)][_0x3ccb8f(0x1d2)](_0x3ccb8f(0x1be))[_0x3ccb8f(0x1e3)](_0xd2cd44[_0x3ccb8f(0x1d8)],_0x6f60d2));}),_0x37517f[_0x45bf98(0x1d9)](_0x6f60d2,_0x1f1621);}}async[_0x4f4ff0(0x1fa)](_0x54e4f6){const _0x4799a7=_0x4f4ff0;if(this[_0x4799a7(0x1f2)][_0x4799a7(0x1fe)](_0x54e4f6))throw new _0xe6358f(_0x4799a7(0x1d1),null,{'channelId':_0x54e4f6});const _0x15395a=this[_0x4799a7(0x205)][_0x4799a7(0x1cb)][_0x4799a7(0x1d2)](_0x4799a7(0x1fb)),_0x57b5a2=new s[(_0x4799a7(0x1f6))](_0x54e4f6);this[_0x4799a7(0x1f2)][_0x4799a7(0x206)](_0x54e4f6,_0x57b5a2),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x218),(_0x50a1e2,_0x4e3346)=>{const _0x2f5bfe=_0x4799a7,{commentThreadId:_0x5b5a35,documentId:_0x36ecd4,context:_0x3371ce,attributes:_0x3a7b99,resolvedAt:_0x3c1e14,resolvedBy:_0x4a3e35,comments:_0x9a9063}=_0x4e3346;_0x15395a[_0x2f5bfe(0x1cc)](_0x5b5a35)||_0x15395a[_0x2f5bfe(0x1f5)]({'threadId':_0x5b5a35,'channelId':_0x36ecd4,'comments':_0x9a9063?_0x9a9063[_0x2f5bfe(0x1e6)](B):[],'context':_0x3371ce,'attributes':_0x3a7b99,'resolvedAt':_0x3c1e14,'resolvedBy':_0x4a3e35,'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1e2),(_0x15bbdf,{commentThreadId:_0x3ca403,documentId:_0x469c89,context:_0x3a8ff8,unlinkedAt:_0x5622fc,attributes:_0x44cfc7})=>{const _0x192092=_0x4799a7;_0x15395a[_0x192092(0x1cc)](_0x3ca403)&&_0x15395a[_0x192092(0x213)]({'threadId':_0x3ca403,'channelId':_0x469c89,'context':_0x3a8ff8,'unlinkedAt':_0x5622fc,'attributes':_0x44cfc7,'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1c9),(_0x2414c1,{commentThreadId:_0x29e6c3,resolvedBy:_0xc00fe6,resolvedAt:_0x127def})=>{const _0x1d1b67=_0x4799a7,_0x31a0a0=_0x15395a[_0x1d1b67(0x1cc)](_0x29e6c3);_0x31a0a0&&_0x31a0a0[_0x1d1b67(0x209)]({'resolvedBy':_0xc00fe6,'resolvedAt':_0x127def,'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1d6),(_0x513fe4,{commentThreadId:_0xd93415})=>{const _0x53f386=_0x4799a7,_0x257022=_0x15395a[_0x53f386(0x1cc)](_0xd93415);_0x257022&&_0x257022[_0x53f386(0x1ec)]({'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1e5),(_0x28336e,{commentThreadId:_0x3ee4ab})=>{const _0x50d4a0=_0x4799a7,_0x59ac8b=_0x15395a[_0x50d4a0(0x1cc)](_0x3ee4ab);_0x59ac8b&&_0x59ac8b[_0x50d4a0(0x210)]({'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1e0),(_0x1c2881,_0x461d25)=>{const _0x2aef35=_0x4799a7,_0x50c22f=_0x461d25[_0x2aef35(0x1bb)],_0x337f25=_0x15395a[_0x2aef35(0x1cc)](_0x50c22f);_0x337f25&&_0x337f25[_0x2aef35(0x1f0)]({...B(_0x461d25),'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1e1),(_0x3ba5f6,{commentThreadId:_0x13b113,commentId:_0x3de5ff,content:_0x14ad26,attributes:_0x4ec2c5})=>{const _0x5006b6=_0x4799a7,_0x454652=_0x15395a[_0x5006b6(0x1cc)](_0x13b113);if(_0x454652){const _0x4481a4=_0x454652[_0x5006b6(0x1ea)](_0x3de5ff);_0x4481a4&&_0x4481a4[_0x5006b6(0x1e4)]({'content':_0x14ad26,'attributes':_0x4ec2c5,'isFromAdapter':!0x0});}}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1ed),(_0x58982b,{commentThreadId:_0x29dd5f,commentId:_0x16a414})=>{const _0x3973ca=_0x4799a7,_0x380791=_0x15395a[_0x3973ca(0x1cc)](_0x29dd5f);if(_0x380791){const _0x32df62=_0x380791[_0x3973ca(0x1ea)](_0x16a414);_0x32df62&&_0x32df62[_0x3973ca(0x210)]({'isFromAdapter':!0x0});}}),await this[_0x4799a7(0x1d7)](_0x54e4f6);}[_0x4f4ff0(0x208)](){const _0x146270=_0x4f4ff0;if(this[_0x146270(0x205)]instanceof _0x2cc1ba){const _0x204c1e=this[_0x146270(0x205)][_0x146270(0x1c3)][_0x146270(0x1d2)](_0x146270(0x215));this[_0x146270(0x1eb)](_0x204c1e);}}[_0x4f4ff0(0x1eb)](_0x42fcc1){const _0x3849ac=_0x4f4ff0;if(!this[_0x3849ac(0x1f2)][_0x3849ac(0x1fe)](_0x42fcc1))throw new _0xe6358f(_0x3849ac(0x214),null,{'channelId':_0x42fcc1});this[_0x3849ac(0x1f8)](_0x42fcc1)[_0x3849ac(0x1c8)](),this[_0x3849ac(0x1f2)][_0x3849ac(0x1c4)](_0x42fcc1);}async[_0x4f4ff0(0x202)](){const _0x1b2077=_0x4f4ff0;for(const _0x27933b of this[_0x1b2077(0x1f2)][_0x1b2077(0x1b8)]())await this[_0x1b2077(0x1d7)](_0x27933b);if(this[_0x1b2077(0x205)]instanceof _0x2cc1ba){const _0x4428f9=this[_0x1b2077(0x205)][_0x1b2077(0x1c3)][_0x1b2077(0x1d2)](_0x1b2077(0x215)),_0x37897f=this[_0x1b2077(0x205)][_0x1b2077(0x1cb)][_0x1b2077(0x1d2)](_0x3a5202);_0x37897f[_0x1b2077(0x1bc)](_0x4428f9);const _0x555222=await this[_0x1b2077(0x1f2)][_0x1b2077(0x1d2)](_0x4428f9)[_0x1b2077(0x217)]();_0x37897f[_0x1b2077(0x1d9)](_0x4428f9,_0x555222);}}async[_0x4f4ff0(0x1d7)](_0x1af5aa){const _0x544fac=_0x4f4ff0,{connection:_0x5293ba}=this[_0x544fac(0x205)][_0x544fac(0x1cb)][_0x544fac(0x1d2)](_0x5c4384),_0x504702=this[_0x544fac(0x205)][_0x544fac(0x1cb)][_0x544fac(0x1d2)](_0x544fac(0x1fb)),_0x550b5d=this[_0x544fac(0x1f2)][_0x544fac(0x1d2)](_0x1af5aa),_0x54c708=await _0x550b5d[_0x544fac(0x1b6)](_0x5293ba);await this[_0x544fac(0x1da)](_0x54c708);const _0x136b0a=new Set(Array[_0x544fac(0x211)](_0x504702[_0x544fac(0x1ff)]({'channelId':_0x1af5aa}),_0x3de92f=>_0x3de92f['id']));for(const _0x1858b2 of _0x54c708)_0x1858b2[_0x544fac(0x216)]||_0x136b0a[_0x544fac(0x1c4)](_0x1858b2[_0x544fac(0x1bb)]);for(const _0x4f80bb of _0x136b0a)_0x504702[_0x544fac(0x1cc)](_0x4f80bb)[_0x544fac(0x210)]({'isFromAdapter':!0x0});for(const _0x5c679f of _0x54c708){let _0xf739d=_0x504702[_0x544fac(0x1cc)](_0x5c679f[_0x544fac(0x1bb)]);const {commentThreadId:_0x5b69c1,context:_0x5d6bde,attributes:_0x289d92,resolvedBy:_0x1155be,resolvedAt:_0x282b5a,unlinkedAt:_0x2699c1,deletedAt:_0x1e61d2}=_0x5c679f;if(_0x1e61d2)continue;_0xf739d||(_0xf739d=_0x504702[_0x544fac(0x1f5)]({'channelId':_0x1af5aa,'threadId':_0x5b69c1,'context':_0x5d6bde,'attributes':_0x289d92||{},'resolvedBy':_0x1155be,'resolvedAt':_0x282b5a,'unlinkedAt':_0x2699c1,'isFromAdapter':!0x0}));const _0x38b09e=new Set(Array[_0x544fac(0x211)](_0xf739d[_0x544fac(0x1df)],_0x996678=>_0x996678['id']));for(const _0x2e22ed of _0x5c679f[_0x544fac(0x1df)])_0x38b09e[_0x544fac(0x1c4)](_0x2e22ed[_0x544fac(0x20d)]);for(const _0x276de0 of _0x38b09e)_0xf739d[_0x544fac(0x1ea)](_0x276de0)[_0x544fac(0x210)]({'isFromAdapter':!0x0});for(const _0x6f832f of _0x5c679f[_0x544fac(0x1df)]){const _0x5ef2ff=_0xf739d[_0x544fac(0x1ea)](_0x6f832f[_0x544fac(0x20d)]);_0x5ef2ff?_0x5ef2ff[_0x544fac(0x1de)]!==_0x6f832f[_0x544fac(0x1de)]&&_0x5ef2ff[_0x544fac(0x1e4)]({'content':_0x6f832f[_0x544fac(0x1de)],'isFromAdapter':!0x0}):_0xf739d[_0x544fac(0x1f0)](Object[_0x544fac(0x20f)](B(_0x6f832f),{'isFromAdapter':!0x0}));}}}[_0x4f4ff0(0x1f8)](_0xcd9dae){const _0x34f027=_0x4f4ff0;if(!this[_0x34f027(0x1f2)][_0x34f027(0x1fe)](_0xcd9dae))throw new _0xe6358f(_0x34f027(0x1e9),null,{'channelId':_0xcd9dae});return this[_0x34f027(0x1f2)][_0x34f027(0x1d2)](_0xcd9dae);}async[_0x4f4ff0(0x1da)](_0x2a1ffc){const _0x254e1d=_0x4f4ff0,_0xfcc028=this[_0x254e1d(0x205)][_0x254e1d(0x1cb)][_0x254e1d(0x1d2)](_0x2987d5),{connection:_0x4f84ae}=this[_0x254e1d(0x205)][_0x254e1d(0x1cb)][_0x254e1d(0x1d2)](_0x5c4384),_0x22a39f=new Set();for(const {resolvedBy:_0x21a3a0,comments:_0x3d8d4c}of _0x2a1ffc){_0x21a3a0&&!_0xfcc028[_0x254e1d(0x1f7)](_0x21a3a0)&&_0x22a39f[_0x254e1d(0x1b7)](_0x21a3a0);for(const {userId:_0x63af33}of _0x3d8d4c)_0xfcc028[_0x254e1d(0x1f7)](_0x63af33)||_0x22a39f[_0x254e1d(0x1b7)](_0x63af33);}if(0x0===_0x22a39f[_0x254e1d(0x1b9)])return;const _0x2e7def=await _0x32e93[_0x254e1d(0x1c1)](_0x4f84ae,Array[_0x254e1d(0x211)](_0x22a39f));for(const _0x304a7a of _0x2e7def)_0xfcc028[_0x254e1d(0x1f7)](_0x304a7a['id'])||_0xfcc028[_0x254e1d(0x1d5)](_0x304a7a);}}export{s as CloudServicesCommentsAdapter};async function F(_0x39139a){const _0x3451fc=_0x4f4ff0;if(_0x3451fc(0x20c)!==_0x39139a[_0x3451fc(0x1fd)])throw _0x39139a;}function k(_0x17f055){const _0x1f0f90=_0x4f4ff0;if((_0x278b9d=_0x17f055)[_0x1f0f90(0x1f1)][_0x1f0f90(0x20e)](_0x1f0f90(0x1bd))||_0x278b9d[_0x1f0f90(0x1f1)][_0x1f0f90(0x20e)](_0x1f0f90(0x1c2))||_0x278b9d[_0x1f0f90(0x1f1)][_0x1f0f90(0x20e)](_0x1f0f90(0x1f3)))return new Promise(()=>{});var _0x278b9d;throw _0x17f055;}function B(_0x550708){const _0x5a0b6a=_0x4f4ff0;return{'threadId':_0x550708[_0x5a0b6a(0x1bb)],'commentId':_0x550708[_0x5a0b6a(0x20d)],'content':_0x550708[_0x5a0b6a(0x1de)],'createdAt':_0x550708[_0x5a0b6a(0x1d4)],'authorId':_0x550708[_0x5a0b6a(0x212)],'attributes':_0x550708[_0x5a0b6a(0x1dc)]||{}};}
23
+ const _0x4224ad=_0x49ff;(function(_0x100544,_0x14bc5e){const _0x2ab009=_0x49ff,_0x6fb275=_0x100544();while(!![]){try{const _0x237dcb=-parseInt(_0x2ab009(0x133))/0x1+parseInt(_0x2ab009(0x127))/0x2+parseInt(_0x2ab009(0x13d))/0x3+-parseInt(_0x2ab009(0xdf))/0x4*(-parseInt(_0x2ab009(0x10a))/0x5)+-parseInt(_0x2ab009(0x137))/0x6*(-parseInt(_0x2ab009(0x139))/0x7)+parseInt(_0x2ab009(0xff))/0x8*(-parseInt(_0x2ab009(0xfb))/0x9)+parseInt(_0x2ab009(0xfd))/0xa*(-parseInt(_0x2ab009(0x121))/0xb);if(_0x237dcb===_0x14bc5e)break;else _0x6fb275['push'](_0x6fb275['shift']());}catch(_0x3a70e){_0x6fb275['push'](_0x6fb275['shift']());}}}(_0x2aaa,0x1b976));import{Context as _0x321968,ContextPlugin as _0x2241ee}from'ckeditor5/src/core.js';function _0x49ff(_0xf7f190,_0x145778){const _0x2aaadd=_0x2aaa();return _0x49ff=function(_0x49ff72,_0x23b65d){_0x49ff72=_0x49ff72-0xd8;let _0x3291a4=_0x2aaadd[_0x49ff72];return _0x3291a4;},_0x49ff(_0xf7f190,_0x145778);}import{CKEditorError as _0x9a9c4}from'ckeditor5/src/utils.js';import{Users as _0x5e3cb0}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0xe59d4,User as _0x14e34d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x283d34}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x3d53a0}from'../realtimecollaborativeediting/sessions.js';class s extends _0x2241ee{static [_0x4224ad(0xeb)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0xe59d4)());[_0x4224ad(0x104)];static get[_0x4224ad(0xed)](){const _0x34a668=_0x4224ad;return[_0x283d34,_0x34a668(0x134),_0x3d53a0,_0x5e3cb0];}static get[_0x4224ad(0x115)](){const _0x37b31d=_0x4224ad;return _0x37b31d(0x105);}static get[_0x4224ad(0xf6)](){return!0x0;}static get[_0x4224ad(0xf2)](){return!0x0;}constructor(_0x5208f4){const _0x385edf=_0x4224ad;super(_0x5208f4),this[_0x385edf(0x104)]=new Map();}async[_0x4224ad(0x135)](){const _0x37ff6c=_0x4224ad,_0x30723f=this[_0x37ff6c(0xe2)],_0x4dfffe=_0x30723f[_0x37ff6c(0x12d)][_0x37ff6c(0xe7)](_0x37ff6c(0x134));if(_0x30723f[_0x37ff6c(0x12d)][_0x37ff6c(0xe7)](_0x283d34)[_0x37ff6c(0x103)](this),_0x4dfffe[_0x37ff6c(0xe3)]={'addCommentThread':async({channelId:_0x157183,threadId:_0x623d49,comments:_0x4599aa,resolvedAt:_0x1c3bed,resolvedBy:_0x59f225,context:_0x437d17,attributes:_0x46af08})=>{const _0x1cae80=_0x37ff6c,_0x30f4b7=await this[_0x1cae80(0xf9)](_0x157183)[_0x1cae80(0x13a)]({'commentThreadId':_0x623d49,'comments':_0x4599aa[_0x1cae80(0xfe)](_0x51bfa2=>function(_0x191ab9,_0x18f173,_0x15f07e){const _0x2ab583=_0x1cae80;return{'commentThreadId':_0x15f07e,'commentId':_0x191ab9[_0x2ab583(0x123)],'userId':_0x191ab9[_0x2ab583(0x111)],'content':_0x191ab9[_0x2ab583(0xf7)],'documentId':_0x18f173,'createdAt':_0x191ab9[_0x2ab583(0x13b)],'attributes':_0x191ab9[_0x2ab583(0x11f)]||{}};}(_0x51bfa2,_0x157183,_0x623d49)),'resolvedAt':_0x1c3bed,'resolvedBy':_0x59f225,'context':_0x437d17,'attributes':_0x46af08})[_0x1cae80(0x110)](tt);return{'threadId':_0x30f4b7[_0x1cae80(0x113)],'comments':_0x30f4b7[_0x1cae80(0xf8)]};},'getCommentThread':async({channelId:_0x2f2b92,threadId:_0x25aed0})=>{const _0x5e117d=_0x37ff6c,_0x5ee477=await this[_0x5e117d(0xf9)](_0x2f2b92)[_0x5e117d(0x124)](_0x25aed0)[_0x5e117d(0x110)](tt);return _0x5ee477[_0x5e117d(0x12c)]?null:(await this[_0x5e117d(0xee)]([_0x5ee477]),{'threadId':_0x5ee477[_0x5e117d(0x113)],'comments':_0x5ee477[_0x5e117d(0xf8)][_0x5e117d(0xfe)](et),'context':_0x5ee477[_0x5e117d(0xe2)],'resolvedAt':_0x5ee477[_0x5e117d(0x109)],'resolvedBy':_0x5ee477[_0x5e117d(0xe4)],'attributes':_0x5ee477[_0x5e117d(0x11f)]||{}});},'updateCommentThread':async({channelId:_0x195032,threadId:_0x495d29,context:_0x195a63,unlinkedAt:_0x3ce574,attributes:_0x28086a})=>this[_0x37ff6c(0xf9)](_0x195032)[_0x37ff6c(0xf3)]({'commentThreadId':_0x495d29,'context':_0x195a63,'attributes':_0x28086a,'unlinkedAt':_0x3ce574})[_0x37ff6c(0x110)](Z)[_0x37ff6c(0x110)](tt),'resolveCommentThread':async({channelId:_0x560d84,threadId:_0x500457})=>{const _0x36eb98=_0x37ff6c,_0x457520=await this[_0x36eb98(0xf9)](_0x560d84)[_0x36eb98(0xec)](_0x500457)[_0x36eb98(0x110)](Z)[_0x36eb98(0x110)](tt);return{'threadId':_0x457520[_0x36eb98(0x113)],'resolvedAt':_0x457520[_0x36eb98(0x109)],'resolvedBy':_0x457520[_0x36eb98(0xe4)]};},'reopenCommentThread':async({channelId:_0x4d5e5b,threadId:_0x6ba342})=>this[_0x37ff6c(0xf9)](_0x4d5e5b)[_0x37ff6c(0x128)](_0x6ba342)[_0x37ff6c(0x110)](Z)[_0x37ff6c(0x110)](tt),'removeCommentThread':({channelId:_0x2961d9,threadId:_0x1f8de9})=>this[_0x37ff6c(0xf9)](_0x2961d9)[_0x37ff6c(0x132)](_0x1f8de9)[_0x37ff6c(0x110)](Z)[_0x37ff6c(0x110)](tt),'addComment':({channelId:_0x3343b8,threadId:_0x23de67,commentId:_0x5d8ee1,content:_0x18adb8,attributes:_0xba4958})=>this[_0x37ff6c(0xf9)](_0x3343b8)[_0x37ff6c(0x114)](_0x23de67,_0x5d8ee1,_0x18adb8,_0xba4958)[_0x37ff6c(0x110)](tt),'updateComment':({channelId:_0x2787c8,threadId:_0x4f90d3,commentId:_0x7c9b0d,content:_0x5cbf30,attributes:_0x35a76c})=>this[_0x37ff6c(0xf9)](_0x2787c8)[_0x37ff6c(0x10e)](_0x4f90d3,_0x7c9b0d,_0x5cbf30,_0x35a76c)[_0x37ff6c(0x110)](Z)[_0x37ff6c(0x110)](tt),'removeComment':({channelId:_0x16188b,threadId:_0x183d7f,commentId:_0x36066c})=>this[_0x37ff6c(0xf9)](_0x16188b)[_0x37ff6c(0xd8)](_0x183d7f,_0x36066c)[_0x37ff6c(0x110)](Z)[_0x37ff6c(0x110)](tt)},_0x30723f instanceof _0x321968){const _0x2b1bf0=_0x30723f[_0x37ff6c(0xdc)][_0x37ff6c(0xe7)](_0x37ff6c(0x11e)),_0x1721da=_0x30723f[_0x37ff6c(0x12d)][_0x37ff6c(0xe7)](_0x3d53a0);await this[_0x37ff6c(0xda)](_0x2b1bf0);const _0x1e3c3d=await this[_0x37ff6c(0x104)][_0x37ff6c(0xe7)](_0x2b1bf0)[_0x37ff6c(0x116)]();this[_0x37ff6c(0xfa)](_0x1721da,_0x37ff6c(0xef)+_0x2b1bf0,(_0x2d915c,{session:_0x52cecf})=>{const _0x2b1e28=_0x37ff6c;_0x52cecf['id']===_0x1721da[_0x2b1e28(0x10f)]&&(_0x2d915c[_0x2b1e28(0x125)](),this[_0x2b1e28(0xe2)][_0x2b1e28(0x12d)][_0x2b1e28(0xe7)](_0x2b1e28(0xe5))[_0x2b1e28(0x122)](_0x52cecf[_0x2b1e28(0x10c)],_0x2b1bf0));}),_0x1721da[_0x37ff6c(0x13c)](_0x2b1bf0,_0x1e3c3d);}}async[_0x4224ad(0xda)](_0x38067c){const _0x470897=_0x4224ad;if(this[_0x470897(0x104)][_0x470897(0x108)](_0x38067c))throw new _0x9a9c4(_0x470897(0x11a),null,{'channelId':_0x38067c});const _0x5afccb=this[_0x470897(0xe2)][_0x470897(0x12d)][_0x470897(0xe7)](_0x470897(0x134)),_0x26e9cb=new s[(_0x470897(0xeb))](_0x38067c);this[_0x470897(0x104)][_0x470897(0x136)](_0x38067c,_0x26e9cb),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0x12e),(_0x2bee45,_0x350473)=>{const _0x2b289c=_0x470897,{commentThreadId:_0x460e65,documentId:_0x409434,context:_0x5b28af,attributes:_0x4b97bc,resolvedAt:_0x10cfdf,resolvedBy:_0xa5256a,comments:_0xecf561}=_0x350473;_0x5afccb[_0x2b289c(0x124)](_0x460e65)||_0x5afccb[_0x2b289c(0x13a)]({'threadId':_0x460e65,'channelId':_0x409434,'comments':_0xecf561?_0xecf561[_0x2b289c(0xfe)](et):[],'context':_0x5b28af,'attributes':_0x4b97bc,'resolvedAt':_0x10cfdf,'resolvedBy':_0xa5256a,'isFromAdapter':!0x0});}),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0x12b),(_0x5ae9df,{commentThreadId:_0xf903da,documentId:_0x372ea0,context:_0x525de7,unlinkedAt:_0x448638,attributes:_0x4b0c7c})=>{const _0x412eb5=_0x470897;_0x5afccb[_0x412eb5(0x124)](_0xf903da)&&_0x5afccb[_0x412eb5(0xf3)]({'threadId':_0xf903da,'channelId':_0x372ea0,'context':_0x525de7,'unlinkedAt':_0x448638,'attributes':_0x4b0c7c,'isFromAdapter':!0x0});}),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0x11c),(_0x1bcaa5,{commentThreadId:_0xfd02c5,resolvedBy:_0x1c3071,resolvedAt:_0x2e4858})=>{const _0x380d4c=_0x470897,_0x2e4674=_0x5afccb[_0x380d4c(0x124)](_0xfd02c5);_0x2e4674&&_0x2e4674[_0x380d4c(0x119)]({'resolvedBy':_0x1c3071,'resolvedAt':_0x2e4858,'isFromAdapter':!0x0});}),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0xf1),(_0x22ba63,{commentThreadId:_0x48f48e})=>{const _0x85a4a4=_0x470897,_0x4998ae=_0x5afccb[_0x85a4a4(0x124)](_0x48f48e);_0x4998ae&&_0x4998ae[_0x85a4a4(0xf4)]({'isFromAdapter':!0x0});}),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0x102),(_0x409ed1,{commentThreadId:_0x3ee2c4})=>{const _0x1c5fc1=_0x470897,_0x500ff9=_0x5afccb[_0x1c5fc1(0x124)](_0x3ee2c4);_0x500ff9&&_0x500ff9[_0x1c5fc1(0x10d)]({'isFromAdapter':!0x0});}),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0xe6),(_0x2cc947,_0x299ef6)=>{const _0x5077ba=_0x470897,_0x3fe324=_0x299ef6[_0x5077ba(0x113)],_0x47bec5=_0x5afccb[_0x5077ba(0x124)](_0x3fe324);_0x47bec5&&_0x47bec5[_0x5077ba(0x114)]({...et(_0x299ef6),'isFromAdapter':!0x0});}),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0xe9),(_0x4f8497,{commentThreadId:_0xb48e81,commentId:_0x254fce,content:_0x38de3a,attributes:_0x49d8c8})=>{const _0x559bbf=_0x470897,_0x32494d=_0x5afccb[_0x559bbf(0x124)](_0xb48e81);if(_0x32494d){const _0x21bc72=_0x32494d[_0x559bbf(0x100)](_0x254fce);_0x21bc72&&_0x21bc72[_0x559bbf(0xe0)]({'content':_0x38de3a,'attributes':_0x49d8c8,'isFromAdapter':!0x0});}}),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0xf5),(_0x76431a,{commentThreadId:_0x2f5481,commentId:_0x1719ea})=>{const _0x47e191=_0x470897,_0x2765d9=_0x5afccb[_0x47e191(0x124)](_0x2f5481);if(_0x2765d9){const _0x3cd085=_0x2765d9[_0x47e191(0x100)](_0x1719ea);_0x3cd085&&_0x3cd085[_0x47e191(0x10d)]({'isFromAdapter':!0x0});}}),await this[_0x470897(0xe1)](_0x38067c);}[_0x4224ad(0xd9)](){const _0x1db6c6=_0x4224ad;if(this[_0x1db6c6(0xe2)]instanceof _0x321968){const _0x50a65d=this[_0x1db6c6(0xe2)][_0x1db6c6(0xdc)][_0x1db6c6(0xe7)](_0x1db6c6(0x11e));this[_0x1db6c6(0xea)](_0x50a65d);}}[_0x4224ad(0xea)](_0x353dd5){const _0x64d9fe=_0x4224ad;if(!this[_0x64d9fe(0x104)][_0x64d9fe(0x108)](_0x353dd5))throw new _0x9a9c4(_0x64d9fe(0x107),null,{'channelId':_0x353dd5});this[_0x64d9fe(0xf9)](_0x353dd5)[_0x64d9fe(0x11b)](),this[_0x64d9fe(0x104)][_0x64d9fe(0x131)](_0x353dd5);}async[_0x4224ad(0x126)](){const _0x431952=_0x4224ad;for(const _0x55dd3c of this[_0x431952(0x104)][_0x431952(0xf0)]())await this[_0x431952(0xe1)](_0x55dd3c);if(this[_0x431952(0xe2)]instanceof _0x321968){const _0xb78b60=this[_0x431952(0xe2)][_0x431952(0xdc)][_0x431952(0xe7)](_0x431952(0x11e)),_0x49752d=this[_0x431952(0xe2)][_0x431952(0x12d)][_0x431952(0xe7)](_0x3d53a0);_0x49752d[_0x431952(0xde)](_0xb78b60);const _0x2390b4=await this[_0x431952(0x104)][_0x431952(0xe7)](_0xb78b60)[_0x431952(0x116)]();_0x49752d[_0x431952(0x13c)](_0xb78b60,_0x2390b4);}}async[_0x4224ad(0xe1)](_0x2da181){const _0x57e201=_0x4224ad,{connection:_0x44542f}=this[_0x57e201(0xe2)][_0x57e201(0x12d)][_0x57e201(0xe7)](_0x283d34),_0x2d3e6b=this[_0x57e201(0xe2)][_0x57e201(0x12d)][_0x57e201(0xe7)](_0x57e201(0x134)),_0x15690f=this[_0x57e201(0x104)][_0x57e201(0xe7)](_0x2da181),_0x104147=await _0x15690f[_0x57e201(0x130)](_0x44542f);await this[_0x57e201(0xee)](_0x104147);const _0x21dbb4=new Set(Array[_0x57e201(0xfc)](_0x2d3e6b[_0x57e201(0x129)]({'channelId':_0x2da181}),_0x4e764e=>_0x4e764e['id']));for(const _0x4b9139 of _0x104147)_0x4b9139[_0x57e201(0x12c)]||_0x21dbb4[_0x57e201(0x131)](_0x4b9139[_0x57e201(0x113)]);for(const _0x253d3d of _0x21dbb4)_0x2d3e6b[_0x57e201(0x124)](_0x253d3d)[_0x57e201(0x10d)]({'isFromAdapter':!0x0});for(const _0x5be771 of _0x104147){let _0x314f6a=_0x2d3e6b[_0x57e201(0x124)](_0x5be771[_0x57e201(0x113)]);const {commentThreadId:_0x2c1652,context:_0x5f2cd8,attributes:_0x320551,resolvedBy:_0x5dae51,resolvedAt:_0x22cccd,unlinkedAt:_0xa184aa,deletedAt:_0x36103e}=_0x5be771;if(_0x36103e)continue;_0x314f6a||(_0x314f6a=_0x2d3e6b[_0x57e201(0x13a)]({'channelId':_0x2da181,'threadId':_0x2c1652,'context':_0x5f2cd8,'attributes':_0x320551||{},'resolvedBy':_0x5dae51,'resolvedAt':_0x22cccd,'unlinkedAt':_0xa184aa,'isFromAdapter':!0x0}));const _0x52c8e3=new Set(Array[_0x57e201(0xfc)](_0x314f6a[_0x57e201(0xf8)],_0x589aa3=>_0x589aa3['id']));for(const _0x58e6fe of _0x5be771[_0x57e201(0xf8)])_0x52c8e3[_0x57e201(0x131)](_0x58e6fe[_0x57e201(0x123)]);for(const _0x56d72a of _0x52c8e3)_0x314f6a[_0x57e201(0x100)](_0x56d72a)[_0x57e201(0x10d)]({'isFromAdapter':!0x0});for(const _0x86e1c8 of _0x5be771[_0x57e201(0xf8)]){const _0x1f7ce5=_0x314f6a[_0x57e201(0x100)](_0x86e1c8[_0x57e201(0x123)]);_0x1f7ce5?_0x1f7ce5[_0x57e201(0xf7)]!==_0x86e1c8[_0x57e201(0xf7)]&&_0x1f7ce5[_0x57e201(0xe0)]({'content':_0x86e1c8[_0x57e201(0xf7)],'isFromAdapter':!0x0}):_0x314f6a[_0x57e201(0x114)](Object[_0x57e201(0x117)](et(_0x86e1c8),{'isFromAdapter':!0x0}));}}}[_0x4224ad(0xf9)](_0x56ff99){const _0x497dfa=_0x4224ad;if(!this[_0x497dfa(0x104)][_0x497dfa(0x108)](_0x56ff99))throw new _0x9a9c4(_0x497dfa(0xe8),null,{'channelId':_0x56ff99});return this[_0x497dfa(0x104)][_0x497dfa(0xe7)](_0x56ff99);}async[_0x4224ad(0xee)](_0x4649b1){const _0x1f5caf=_0x4224ad,_0x450d3c=this[_0x1f5caf(0xe2)][_0x1f5caf(0x12d)][_0x1f5caf(0xe7)](_0x5e3cb0),{connection:_0x3f309c}=this[_0x1f5caf(0xe2)][_0x1f5caf(0x12d)][_0x1f5caf(0xe7)](_0x283d34),_0x583a19=new Set();for(const {resolvedBy:_0x25c25f,comments:_0x51d80c}of _0x4649b1){_0x25c25f&&!_0x450d3c[_0x1f5caf(0x106)](_0x25c25f)&&_0x583a19[_0x1f5caf(0x11d)](_0x25c25f);for(const {userId:_0x2bc6fb}of _0x51d80c)_0x450d3c[_0x1f5caf(0x106)](_0x2bc6fb)||_0x583a19[_0x1f5caf(0x11d)](_0x2bc6fb);}if(0x0===_0x583a19[_0x1f5caf(0x10b)])return;const _0x24e697=await _0x14e34d[_0x1f5caf(0x101)](_0x3f309c,Array[_0x1f5caf(0xfc)](_0x583a19));for(const _0x3f3c95 of _0x24e697)_0x450d3c[_0x1f5caf(0x106)](_0x3f3c95['id'])||_0x450d3c[_0x1f5caf(0x13e)](_0x3f3c95);}}export{s as CloudServicesCommentsAdapter};function _0x2aaa(){const _0x3032fd=['resolvedAt','138000UkzGge','size','permissions','remove','updateComment','mySessionId','catch','authorId','cloud-services-internal-error:\x20Not\x20connected.','commentThreadId','addComment','pluginName','getConnectedSessions','assign','code','resolve','cloudservicescommentsadapter-connect-already-connected','disconnect','commentThreadResolved','add','collaboration.channelId','attributes','message','425755WasRgE','setPermissions','commentId','getCommentThread','off','reconnect','424852OcINwF','reopenCommentThread','getCommentThreads','userId','commentThreadUpdated','deletedAt','plugins','commentThreadAdded','404','connect','delete','removeCommentThread','35076uIRjiL','CommentsRepository','init','set','668232ltVLoM','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','14DQRrYp','addCommentThread','createdAt','register','135390zqJrsQ','addUser','removeComment','destroy','_setUpService','startsWith','config','cloud-services-internal-error:\x20Request\x20timeout.','unregister','8FloufG','update','_connectService','context','adapter','resolvedBy','Permissions','commentAdded','get','cloudservicescommentsadapter-service-not-exist','commentUpdated','_terminateService','CommentsService','resolveCommentThread','requires','_fetchMissingUsersForThreads','sessionAdd:','keys','commentThreadReopened','isPremiumPlugin','updateCommentThread','reopen','commentRemoved','isOfficialPlugin','content','comments','_getService','listenTo','69831hwvUbY','from','60vdacfv','map','160BgsDrJ','getComment','getMany','commentThreadRemoved','addToReconnectionStack','_services','CloudServicesCommentsAdapter','getUser','cloudservicescommentsadapter-disconnect-not-exist','has'];_0x2aaa=function(){return _0x3032fd;};return _0x2aaa();}async function Z(_0x39e103){const _0x3e451d=_0x4224ad;if(_0x3e451d(0x12f)!==_0x39e103[_0x3e451d(0x118)])throw _0x39e103;}function tt(_0x1c3e28){const _0x2da6f3=_0x4224ad;if((_0x4cabb0=_0x1c3e28)[_0x2da6f3(0x120)][_0x2da6f3(0xdb)](_0x2da6f3(0x138))||_0x4cabb0[_0x2da6f3(0x120)][_0x2da6f3(0xdb)](_0x2da6f3(0x112))||_0x4cabb0[_0x2da6f3(0x120)][_0x2da6f3(0xdb)](_0x2da6f3(0xdd)))return new Promise(()=>{});var _0x4cabb0;throw _0x1c3e28;}function et(_0x1c08a8){const _0xf422a9=_0x4224ad;return{'threadId':_0x1c08a8[_0xf422a9(0x113)],'commentId':_0x1c08a8[_0xf422a9(0x123)],'content':_0x1c08a8[_0xf422a9(0xf7)],'createdAt':_0x1c08a8[_0xf422a9(0x13b)],'authorId':_0x1c08a8[_0xf422a9(0x12a)],'attributes':_0x1c08a8[_0xf422a9(0x11f)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3406(_0x401c0a,_0x2a9289){const _0x1fc9d1=_0x1fc9();return _0x3406=function(_0x34063b,_0x3360df){_0x34063b=_0x34063b-0xd0;let _0x42b514=_0x1fc9d1[_0x34063b];return _0x42b514;},_0x3406(_0x401c0a,_0x2a9289);}const _0x2f39cd=_0x3406;(function(_0x181c4a,_0x1da38a){const _0x39a4b4=_0x3406,_0x47b728=_0x181c4a();while(!![]){try{const _0x5a8393=-parseInt(_0x39a4b4(0xec))/0x1*(parseInt(_0x39a4b4(0xd6))/0x2)+parseInt(_0x39a4b4(0xd9))/0x3*(-parseInt(_0x39a4b4(0xd5))/0x4)+-parseInt(_0x39a4b4(0xef))/0x5*(parseInt(_0x39a4b4(0xe0))/0x6)+parseInt(_0x39a4b4(0xf3))/0x7+-parseInt(_0x39a4b4(0xdc))/0x8+parseInt(_0x39a4b4(0xe3))/0x9*(-parseInt(_0x39a4b4(0xe7))/0xa)+parseInt(_0x39a4b4(0xe6))/0xb;if(_0x5a8393===_0x1da38a)break;else _0x47b728['push'](_0x47b728['shift']());}catch(_0x28fbb0){_0x47b728['push'](_0x47b728['shift']());}}}(_0x1fc9,0xea53f));import{Plugin as _0x51c646}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x3b5a2b}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x298b95}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x4af96a}from'./realtimecollaborativeediting/websocketgateway.js';function _0x1fc9(){const _0x9aac3a=['CommentsRepository','11294976bXWkyj','pluginName','requires','get','switchReadOnly','ready','60ESsaMy','2RAhLzU','isPremiumPlugin','CommentsEditing','156855joavjS','change:state','isOfficialPlugin','526768zbvhYE','data','destroy','Comments','102hTqtGp','editor','init','234vlxgsU','plugins','RealTimeCollaborativeComments','56661836achGhv','641440sZgQMW','once','isThreadsLoadingPaused','_terminateService','connected','1491330yxHfPw','collaboration.channelId','_setUpService','528130WPwPqr','config','listenTo'];_0x1fc9=function(){return _0x9aac3a;};return _0x1fc9();}export class RealTimeCollaborativeComments extends _0x51c646{static get[_0x2f39cd(0xd1)](){const _0x55fa7a=_0x2f39cd;return[_0x55fa7a(0xdf),_0x3b5a2b,_0x298b95,_0x4af96a];}static get[_0x2f39cd(0xd0)](){const _0xdc5745=_0x2f39cd;return _0xdc5745(0xe5);}static get[_0x2f39cd(0xdb)](){return!0x0;}static get[_0x2f39cd(0xd7)](){return!0x0;}[_0x2f39cd(0xe2)](){const _0x6e0124=_0x2f39cd,_0xfc2574=this[_0x6e0124(0xe1)][_0x6e0124(0xe4)][_0x6e0124(0xd2)](_0x4af96a),_0x8523aa=this[_0x6e0124(0xe1)][_0x6e0124(0xe4)][_0x6e0124(0xd2)](_0x6e0124(0xd8)),_0x4d7b7b=this[_0x6e0124(0xe1)][_0x6e0124(0xe4)][_0x6e0124(0xd2)](_0x3b5a2b);return this[_0x6e0124(0xe1)][_0x6e0124(0xdd)][_0x6e0124(0xe8)](_0x6e0124(0xd4),()=>{const _0x382066=_0x6e0124;this[_0x382066(0xf1)](_0xfc2574,_0x382066(0xda),(_0x4ba2a2,_0x265952,_0x5af6d6)=>{const _0x4bf3db=_0x382066;_0x8523aa[_0x4bf3db(0xe9)]=_0x4bf3db(0xeb)!==_0x5af6d6;});}),this[_0x6e0124(0xf1)](_0xfc2574,_0x6e0124(0xda),(_0x2d86a0,_0x2d917a,_0x6cdf2f)=>{const _0x463de5=_0x6e0124;this[_0x463de5(0xe1)][_0x463de5(0xe4)][_0x463de5(0xd2)](_0x463de5(0xf2))[_0x463de5(0xd3)](_0x463de5(0xeb)!==_0x6cdf2f);}),_0x4d7b7b[_0x6e0124(0xee)](this[_0x6e0124(0xe1)][_0x6e0124(0xf0)][_0x6e0124(0xd2)](_0x6e0124(0xed)));}[_0x2f39cd(0xde)](){const _0x257ec6=_0x2f39cd;this[_0x257ec6(0xe1)][_0x257ec6(0xe4)][_0x257ec6(0xd2)](_0x3b5a2b)[_0x257ec6(0xea)](this[_0x257ec6(0xe1)][_0x257ec6(0xf0)][_0x257ec6(0xd2)](_0x257ec6(0xed))),super[_0x257ec6(0xde)]();}}
23
+ const _0x3157ea=_0x14b5;(function(_0x2e6fdb,_0x1ee197){const _0x27d182=_0x14b5,_0x5f31f0=_0x2e6fdb();while(!![]){try{const _0x3095e5=-parseInt(_0x27d182(0x141))/0x1+parseInt(_0x27d182(0x13f))/0x2*(parseInt(_0x27d182(0x138))/0x3)+-parseInt(_0x27d182(0x149))/0x4+parseInt(_0x27d182(0x13e))/0x5+parseInt(_0x27d182(0x140))/0x6+-parseInt(_0x27d182(0x143))/0x7*(-parseInt(_0x27d182(0x14f))/0x8)+-parseInt(_0x27d182(0x14a))/0x9;if(_0x3095e5===_0x1ee197)break;else _0x5f31f0['push'](_0x5f31f0['shift']());}catch(_0x37dcf9){_0x5f31f0['push'](_0x5f31f0['shift']());}}}(_0x322d,0x1b02f));function _0x322d(){const _0x4614cc=['data','collaboration.channelId','switchReadOnly','_terminateService','plugins','once','141YxoBnw','CommentsEditing','RealTimeCollaborativeComments','editor','destroy','isPremiumPlugin','648890OldoJO','4424bFAqFW','1060674kZJhAG','133668mrMBDg','CommentsRepository','35iCrFqM','connected','isOfficialPlugin','init','requires','change:state','483836sIXxOk','1872900sceSOi','isThreadsLoadingPaused','pluginName','Comments','ready','260552KPdYbk','_setUpService','listenTo','config','get'];_0x322d=function(){return _0x4614cc;};return _0x322d();}function _0x14b5(_0x36df51,_0x14a97c){const _0x322d22=_0x322d();return _0x14b5=function(_0x14b5de,_0x57d829){_0x14b5de=_0x14b5de-0x132;let _0x5ebc9f=_0x322d22[_0x14b5de];return _0x5ebc9f;},_0x14b5(_0x36df51,_0x14a97c);}import{Plugin as _0x6c6bf5}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x5780c5}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x4ae01c}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x27835d}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x6c6bf5{static get[_0x3157ea(0x147)](){const _0x34f839=_0x3157ea;return[_0x34f839(0x14d),_0x5780c5,_0x4ae01c,_0x27835d];}static get[_0x3157ea(0x14c)](){const _0x505f46=_0x3157ea;return _0x505f46(0x13a);}static get[_0x3157ea(0x145)](){return!0x0;}static get[_0x3157ea(0x13d)](){return!0x0;}[_0x3157ea(0x146)](){const _0x40fbeb=_0x3157ea,_0x18aa4c=this[_0x40fbeb(0x13b)][_0x40fbeb(0x136)][_0x40fbeb(0x153)](_0x27835d),_0x57e8bb=this[_0x40fbeb(0x13b)][_0x40fbeb(0x136)][_0x40fbeb(0x153)](_0x40fbeb(0x139)),_0x1d20bb=this[_0x40fbeb(0x13b)][_0x40fbeb(0x136)][_0x40fbeb(0x153)](_0x5780c5);return this[_0x40fbeb(0x13b)][_0x40fbeb(0x132)][_0x40fbeb(0x137)](_0x40fbeb(0x14e),()=>{const _0x115487=_0x40fbeb;this[_0x115487(0x151)](_0x18aa4c,_0x115487(0x148),(_0x1e6d2b,_0x740b2,_0x2694a5)=>{const _0x1ee8ed=_0x115487;_0x57e8bb[_0x1ee8ed(0x14b)]=_0x1ee8ed(0x144)!==_0x2694a5;});}),this[_0x40fbeb(0x151)](_0x18aa4c,_0x40fbeb(0x148),(_0xad632a,_0x432f9a,_0x5283b9)=>{const _0x348f3c=_0x40fbeb;this[_0x348f3c(0x13b)][_0x348f3c(0x136)][_0x348f3c(0x153)](_0x348f3c(0x142))[_0x348f3c(0x134)](_0x348f3c(0x144)!==_0x5283b9);}),_0x1d20bb[_0x40fbeb(0x150)](this[_0x40fbeb(0x13b)][_0x40fbeb(0x152)][_0x40fbeb(0x153)](_0x40fbeb(0x133)));}[_0x3157ea(0x13c)](){const _0x21b1e7=_0x3157ea;this[_0x21b1e7(0x13b)][_0x21b1e7(0x136)][_0x21b1e7(0x153)](_0x5780c5)[_0x21b1e7(0x135)](this[_0x21b1e7(0x13b)][_0x21b1e7(0x152)][_0x21b1e7(0x153)](_0x21b1e7(0x133))),super[_0x21b1e7(0x13c)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48cf25=_0x1b51;function _0x1b51(_0x15e972,_0x43c72e){const _0x509558=_0x5095();return _0x1b51=function(_0x1b51db,_0x2b85f9){_0x1b51db=_0x1b51db-0xc9;let _0x246110=_0x509558[_0x1b51db];return _0x246110;},_0x1b51(_0x15e972,_0x43c72e);}(function(_0x276868,_0x1ccfc9){const _0x2b4bba=_0x1b51,_0x266e22=_0x276868();while(!![]){try{const _0x1a9175=parseInt(_0x2b4bba(0x11f))/0x1+parseInt(_0x2b4bba(0xd2))/0x2*(-parseInt(_0x2b4bba(0x16d))/0x3)+-parseInt(_0x2b4bba(0xf7))/0x4+parseInt(_0x2b4bba(0x179))/0x5*(parseInt(_0x2b4bba(0x1b1))/0x6)+parseInt(_0x2b4bba(0x1a3))/0x7*(parseInt(_0x2b4bba(0x1c2))/0x8)+-parseInt(_0x2b4bba(0xf3))/0x9+-parseInt(_0x2b4bba(0x111))/0xa*(-parseInt(_0x2b4bba(0x15e))/0xb);if(_0x1a9175===_0x1ccfc9)break;else _0x266e22['push'](_0x266e22['shift']());}catch(_0x38fcd9){_0x266e22['push'](_0x266e22['shift']());}}}(_0x5095,0x9cabc));import{Plugin as _0xb1f595,PendingActions as _0x2b5d75}from'ckeditor5/src/core.js';import{CKEditorError as _0x287132,version as _0x336758,uid as _0x3c0256}from'ckeditor5/src/utils.js';import{Notification as _0x477077}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x2e7ce9,NoOperation as _0x447d9e,InsertOperation as _0x47bbca,MarkerOperation as _0x5f31cd,RootAttributeOperation as _0xcabfeb,OperationFactory as _0x1d9a29,History as _0x260ce5}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x5615bf}from'./websocketgateway.js';import{Sessions as _0x166e79}from'./sessions.js';import{UserMarkers as _0x4f70a5}from'./usermarkers.js';import{getTranslation as _0x3894e8}from'../common-translations.js';import{Compressor as _0x3333ae}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x18fbdd}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x3b1967,CollaborativeEditingService as _0x2592db}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;class l extends _0xb1f595{static [_0x48cf25(0xe5)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x2592db)());[_0x48cf25(0x17a)];[_0x48cf25(0x160)];[_0x48cf25(0x12f)];[_0x48cf25(0xe7)];[_0x48cf25(0x1c6)];[_0x48cf25(0xcf)];[_0x48cf25(0x18f)];[_0x48cf25(0x158)];[_0x48cf25(0x106)];[_0x48cf25(0x124)];[_0x48cf25(0xcd)];[_0x48cf25(0x129)];[_0x48cf25(0x1c8)];[_0x48cf25(0x14b)];[_0x48cf25(0x169)];[_0x48cf25(0x130)];[_0x48cf25(0xd9)];[_0x48cf25(0xe4)];static get[_0x48cf25(0x1b7)](){return[_0x5615bf,_0x166e79,_0x4f70a5,_0x2b5d75,_0x18fbdd,_0x477077];}static get[_0x48cf25(0x181)](){const _0x25d461=_0x48cf25;return _0x25d461(0x1a6);}static get[_0x48cf25(0x16e)](){return!0x0;}static get[_0x48cf25(0xc9)](){return!0x0;}get[_0x48cf25(0x187)](){const _0x89545a=_0x48cf25;return this[_0x89545a(0xf2)]+this[_0x89545a(0x17a)];}get[_0x48cf25(0xf2)](){const _0x3eba1=_0x48cf25;return this[_0x3eba1(0x12f)][_0x3eba1(0xcb)]-this[_0x3eba1(0x17a)];}get[_0x48cf25(0x1ab)](){const _0x32a0c6=_0x48cf25,_0x14e2a8=this[_0x32a0c6(0x12f)][_0x32a0c6(0x1b5)]();for(let _0x25c556=_0x14e2a8[_0x32a0c6(0x16f)]-0x1;_0x25c556>=0x0;_0x25c556--){const _0x443ef8=_0x14e2a8[_0x25c556];if(!this[_0x32a0c6(0xd9)][_0x32a0c6(0xfe)](_0x443ef8))return _0x443ef8[_0x32a0c6(0x126)]+0x1-this[_0x32a0c6(0x17a)];}return 0x0;}constructor(_0x4378bf){const _0x9f426b=_0x48cf25;if(super(_0x4378bf),this[_0x9f426b(0x17a)]=0x0,this[_0x9f426b(0x160)]=null,this[_0x9f426b(0x12f)]=new _0x260ce5(),this[_0x9f426b(0x110)][_0x9f426b(0x190)][_0x9f426b(0x162)](_0x9f426b(0x136),{}),this[_0x9f426b(0xe7)]=this[_0x9f426b(0x110)][_0x9f426b(0x190)][_0x9f426b(0xdb)](_0x9f426b(0x116)),!this[_0x9f426b(0xe7)])throw new _0x287132(_0x9f426b(0x14d),this);const _0x5872fa=_0x4378bf[_0x9f426b(0x190)][_0x9f426b(0xdb)](_0x9f426b(0x1a4))||_0x336758;this[_0x9f426b(0x1c6)]=new l[(_0x9f426b(0xe5))](_0x5872fa,this[_0x9f426b(0xe7)]),this[_0x9f426b(0xcf)]=this[_0x9f426b(0x110)][_0x9f426b(0xd6)][_0x9f426b(0x193)],this[_0x9f426b(0x18f)]=new _0x3333ae(),this[_0x9f426b(0x158)]=[],this[_0x9f426b(0x106)]=new WeakSet(),this[_0x9f426b(0x124)]=new Set(),this[_0x9f426b(0x152)](_0x9f426b(0x178),!0x1),this[_0x9f426b(0x152)](_0x9f426b(0x13b),!0x1),this[_0x9f426b(0xcd)]=null,this[_0x9f426b(0x129)]=!0x1,this[_0x9f426b(0x1c8)]=null,this[_0x9f426b(0x14b)]=0x12c,this[_0x9f426b(0x169)]=this[_0x9f426b(0x14b)],this[_0x9f426b(0x130)]=null,this[_0x9f426b(0xd9)]=new WeakSet(),this[_0x9f426b(0xe4)]=new J(this[_0x9f426b(0xd9)]);}[_0x48cf25(0x1a5)](){const _0x43a168=_0x48cf25,_0x151ae3=this[_0x43a168(0x110)],_0x296e65=_0x151ae3[_0x43a168(0xd0)][_0x43a168(0xdb)](_0x18fbdd),_0x1d348a=_0x151ae3[_0x43a168(0xd0)][_0x43a168(0xdb)](_0x5615bf);this[_0x43a168(0x12b)](_0x296e65,_0x43a168(0x17b),(_0x559ad0,_0x4260d3)=>{const _0x5c39c0=_0x43a168,_0x54003d=_0x4260d3[0x0];_0x54003d[_0x5c39c0(0x1ce)]&&(_0x559ad0[_0x5c39c0(0xce)]=_0x296e65[_0x5c39c0(0xe6)](_0x54003d[_0x5c39c0(0x1ce)]),_0x559ad0[_0x5c39c0(0xca)]()),null===_0x54003d[_0x5c39c0(0x1ce)]&&(_0x559ad0[_0x5c39c0(0xce)]=null,_0x559ad0[_0x5c39c0(0xca)]());},{'priority':_0x43a168(0x114)}),this[_0x43a168(0x12b)](_0x151ae3[_0x43a168(0xd6)][_0x43a168(0x193)][_0x43a168(0x182)],_0x43a168(0x1b2),(_0x5e9bce,_0xe97140)=>{const _0x4f794d=_0x43a168;_0xe97140[_0x4f794d(0x137)]&&this[_0x4f794d(0xea)]();}),this[_0x43a168(0x12b)](_0x151ae3[_0x43a168(0xfc)][_0x43a168(0x196)],_0x43a168(0x1c0),()=>{const _0x151810=_0x43a168;this[_0x151810(0xea)]();}),this[_0x43a168(0xf9)](),_0x151ae3[_0x43a168(0xd6)]['on'](_0x43a168(0x135),(_0x5d4219,_0x4f22d7)=>{const _0x526ce0=_0x43a168,_0x425148=_0x4f22d7[0x0];_0x425148[_0x526ce0(0x1b0)]&&(this[_0x526ce0(0x148)](_0x425148),this[_0x526ce0(0x175)]()&&this[_0x526ce0(0xf6)]());}),this[_0x43a168(0x14a)](),this[_0x43a168(0x103)](_0x43a168(0x15b))['to'](_0x1d348a,_0x43a168(0x15c),this,_0x43a168(0x13b),(_0x1cc5ed,_0x24d8d4)=>_0x43a168(0x17c)===_0x1cc5ed&&!_0x24d8d4),this['on'](_0x43a168(0x1ad),()=>{const _0x4c1fae=_0x43a168;this[_0x4c1fae(0x15b)]?_0x151ae3[_0x4c1fae(0x120)](_0x4c1fae(0x142)):_0x151ae3[_0x4c1fae(0x18d)](_0x4c1fae(0x142));}),this[_0x43a168(0x15b)]?_0x151ae3[_0x43a168(0x120)](_0x43a168(0x142)):_0x151ae3[_0x43a168(0x18d)](_0x43a168(0x142)),this[_0x43a168(0x152)](_0x43a168(0xeb),!0x1);}async[_0x48cf25(0x101)](){const _0x88884e=_0x48cf25,_0x4eb2a7=this[_0x88884e(0x110)][_0x88884e(0xd0)][_0x88884e(0xdb)](_0x166e79),_0x74e575=this[_0x88884e(0x110)][_0x88884e(0xd0)][_0x88884e(0xdb)](_0x5615bf);try{this[_0x88884e(0x178)]=!0x0,_0x4eb2a7[_0x88884e(0x13c)](this[_0x88884e(0xe7)]);const _0x4e8c6f=await this[_0x88884e(0x1c6)][_0x88884e(0x101)](_0x74e575[_0x88884e(0x191)],this[_0x88884e(0x1ab)]);await this[_0x88884e(0xdd)](_0x4e8c6f)&&(this[_0x88884e(0x178)]=!0x1,this[_0x88884e(0x17d)]());const _0x554511=await this[_0x88884e(0x1c6)][_0x88884e(0x1cd)]();_0x4eb2a7[_0x88884e(0x109)](this[_0x88884e(0xe7)],_0x554511),this[_0x88884e(0x132)](),this[_0x88884e(0xeb)]=!0x0;}catch(_0x21c741){if(function(_0x507ed1){const _0x47a349=_0x88884e;return _0x47a349(0x121)===_0x507ed1[_0x47a349(0xd8)];}(_0x21c741)&&this[_0x88884e(0x160)])await this[_0x88884e(0xef)]();else{if(function(_0x583289){const _0x6f99bb=_0x88884e;return _0x6f99bb(0x159)===_0x583289[_0x6f99bb(0xd8)];}(_0x21c741)){const _0x4ef3fa=_0x3894e8(this[_0x88884e(0x110)][_0x88884e(0x1a2)],_0x88884e(0x194));this[_0x88884e(0x185)](_0x4ef3fa);}else{if(!(_0x21c741 instanceof $))throw _0x21c741;this[_0x88884e(0x185)]();}}}}[_0x48cf25(0xf5)](){const _0x4482da=_0x48cf25,_0x1c7eb5=this[_0x4482da(0x110)][_0x4482da(0xd0)][_0x4482da(0xdb)](_0x5615bf),_0x177f7a=this[_0x4482da(0x110)][_0x4482da(0xd0)][_0x4482da(0xdb)](_0x166e79);this[_0x4482da(0x110)][_0x4482da(0x18d)](_0x4482da(0x1c1)),_0x177f7a[_0x4482da(0x15a)][_0x4482da(0xfe)](this[_0x4482da(0xe7)])&&_0x177f7a[_0x4482da(0x13c)](this[_0x4482da(0xe7)]),_0x1c7eb5[_0x4482da(0x138)](this),this[_0x4482da(0xe2)](),super[_0x4482da(0xf5)]();}async[_0x48cf25(0xdd)](_0x42dde8){const _0x1ca6fb=_0x48cf25;if(this[_0x1ca6fb(0x160)]!==_0x42dde8[_0x1ca6fb(0x160)]&&this[_0x1ca6fb(0x130)]!==_0x42dde8[_0x1ca6fb(0x10a)])throw new $();return this[_0x1ca6fb(0x160)]=_0x42dde8[_0x1ca6fb(0x160)],this[_0x1ca6fb(0x13a)]([],{..._0x42dde8,'wereChangesApplied':!0x1,'data':_0x42dde8[_0x1ca6fb(0x11a)]},_0x1ca6fb(0x101));}async[_0x48cf25(0x149)](_0x11cef2,_0xbb8d5f=!0x1){const _0x183318=_0x48cf25,{connection:_0x548377}=this[_0x183318(0x110)][_0x183318(0xd0)][_0x183318(0xdb)](_0x5615bf);l[_0x183318(0xe5)][_0x183318(0x1cd)](_0x548377,this[_0x183318(0xe7)])[_0x183318(0x1bd)](_0xd0648f=>this[_0x183318(0x1ae)](_0xd0648f))[_0x183318(0x133)](_0x453117=>{const _0x36db8b=_0x183318;this[_0x36db8b(0xda)](_0x36db8b(0x167),_0x453117);}),this[_0x183318(0x12b)](this[_0x183318(0x1c6)],_0x183318(0x177),this[_0x183318(0x105)][_0x183318(0x103)](this)),this[_0x183318(0x12b)](this[_0x183318(0x1c6)],_0x183318(0x139),(_0x4c04b8,_0x191191)=>{const _0x187d83=_0x183318;this[_0x187d83(0xda)](_0x187d83(0x1bc),_0x191191);}),this[_0x183318(0x12b)](this[_0x183318(0x1c6)],_0x183318(0x122),()=>{const _0x5db957=_0x183318;this[_0x5db957(0xeb)]=!0x1;});const _0x3fc3bf=this[_0x183318(0xe4)][_0x183318(0x1a9)](_0x11cef2);this[_0x183318(0x178)]=!0x0;const _0x92d15f=await this[_0x183318(0x1c6)][_0x183318(0x10e)](_0x548377,this[_0x183318(0x1b9)](_0x11cef2),_0x3fc3bf);if(this[_0x183318(0x160)]=_0x92d15f[_0x183318(0x160)],_0xbb8d5f){if(!_0x92d15f[_0x183318(0x11c)])return void this[_0x183318(0x185)]();this[_0x183318(0x178)]=!0x1,this[_0x183318(0x17d)](),this[_0x183318(0x12f)][_0x183318(0x1c9)](),this[_0x183318(0x17a)]=_0x92d15f[_0x183318(0x163)],this[_0x183318(0x12f)][_0x183318(0xcb)]=this[_0x183318(0x17a)],await this[_0x183318(0x13a)](_0x11cef2,_0x92d15f,_0x183318(0xf4));}else await this[_0x183318(0x115)](_0x92d15f,_0x11cef2);this[_0x183318(0x132)](),this[_0x183318(0xeb)]=!0x0;}[_0x48cf25(0x132)](){const _0x49654c=_0x48cf25,_0x255d7e=this[_0x49654c(0x110)][_0x49654c(0xd0)][_0x49654c(0xdb)](_0x166e79),_0x471a35=this[_0x49654c(0x110)][_0x49654c(0xd0)][_0x49654c(0xdb)](_0x4f70a5),_0x95d067=_0x255d7e[_0x49654c(0x15a)][_0x49654c(0xdb)](this[_0x49654c(0xe7)]);_0x95d067&&_0x95d067[_0x49654c(0x16f)]>0x1?_0x471a35[_0x49654c(0x18b)]():this[_0x49654c(0x12b)](_0x255d7e,_0x49654c(0x188)+this[_0x49654c(0xe7)],()=>{const _0x491871=_0x49654c;0x2===_0x255d7e[_0x491871(0x15a)][_0x491871(0xdb)](this[_0x491871(0xe7)])[_0x491871(0x16f)]&&_0x471a35[_0x491871(0x18b)]();});}async[_0x48cf25(0x105)](_0x2a8457,_0x54ae78,_0x136a1f,_0x5c1afe){const _0x3ef2ff=_0x48cf25;if(!this[_0x3ef2ff(0x178)]&&this[_0x3ef2ff(0xcf)][_0x3ef2ff(0xcb)]==_0x54ae78){const _0x2ca0c9=this[_0x3ef2ff(0x12a)](_0x136a1f,_0x5c1afe);await this[_0x3ef2ff(0xf0)](_0x2ca0c9),this[_0x3ef2ff(0x1ba)](_0x2ca0c9,_0x54ae78,_0x136a1f[_0x3ef2ff(0x10a)])||this[_0x3ef2ff(0xda)](_0x3ef2ff(0x104));}}async[_0x48cf25(0xef)](){const _0xedb21a=_0x48cf25;this[_0xedb21a(0xe2)]();const {locale:_0x3b75d8}=this[_0xedb21a(0x110)];let _0xc439e0;try{_0xc439e0=await this[_0xedb21a(0x1c6)][_0xedb21a(0x10f)]();}catch{const _0x31bba8=_0x3894e8(_0x3b75d8,_0xedb21a(0x186));return void this[_0xedb21a(0x185)](_0x31bba8);}const _0x35dfe7=_0xc439e0[_0xedb21a(0xe3)]||_0xc439e0[_0xedb21a(0x15d)];if(this[_0xedb21a(0x130)]!==_0x35dfe7[_0xedb21a(0x10a)]){const _0x6064c7=_0x3894e8(_0x3b75d8,_0xedb21a(0x184));return void this[_0xedb21a(0x185)](_0x6064c7);}await this[_0xedb21a(0x149)](this[_0xedb21a(0x110)][_0xedb21a(0xd6)][_0xedb21a(0x193)][_0xedb21a(0xe8)][_0xedb21a(0x1b5)](),!0x0);}[_0x48cf25(0xe2)](){const _0x5292c9=_0x48cf25;this[_0x5292c9(0x1c6)][_0x5292c9(0x1bf)](),this[_0x5292c9(0x158)]=[],clearTimeout(this[_0x5292c9(0x1c8)]),this[_0x5292c9(0x1af)](this[_0x5292c9(0x1c6)]);}[_0x48cf25(0x1ae)](_0x50ca8b){const _0xc73b6b=_0x48cf25,_0x59a70c=this[_0xc73b6b(0x110)][_0xc73b6b(0xd0)][_0xc73b6b(0xdb)](_0x166e79);this[_0xc73b6b(0x12b)](_0x59a70c,_0xc73b6b(0x188)+this[_0xc73b6b(0xe7)],(_0x1994a2,{session:_0x2715e3})=>{const _0x2986b6=_0xc73b6b;if(_0x2715e3['id']===_0x59a70c[_0x2986b6(0x17e)]){_0x1994a2[_0x2986b6(0x18c)]();const _0x2ce3a1=this[_0x2986b6(0x110)][_0x2986b6(0xd0)][_0x2986b6(0xfe)](_0x2986b6(0xdc))&&this[_0x2986b6(0x110)][_0x2986b6(0xd0)][_0x2986b6(0xdb)](_0x2986b6(0xdc));let _0x136600=_0x2715e3[_0x2986b6(0x166)];_0x2ce3a1&&_0x2ce3a1[_0x2986b6(0xee)]&&(_0x136600=_0x136600[_0x2986b6(0x1c4)](_0x2ba24b=>_0x2986b6(0x1b6)!==_0x2ba24b)),this[_0x2986b6(0x110)][_0x2986b6(0xd0)][_0x2986b6(0xdb)](_0x2986b6(0x1aa))[_0x2986b6(0x199)](_0x136600,this[_0x2986b6(0xe7)]);}}),_0x59a70c[_0xc73b6b(0x109)](this[_0xc73b6b(0xe7)],_0x50ca8b);}[_0x48cf25(0xf9)](){const _0x2811d1=_0x48cf25,_0x3c26b1=this[_0x2811d1(0x110)][_0x2811d1(0x11a)][_0x2811d1(0x152)];this[_0x2811d1(0x110)][_0x2811d1(0x11a)][_0x2811d1(0x152)]=(..._0x5db2dd)=>{const _0x249ec5=_0x2811d1;if(!_0x5db2dd[_0x5db2dd[_0x249ec5(0x16f)]-0x1][_0x249ec5(0x146)])throw new _0x287132(_0x249ec5(0xd1),this);_0x3c26b1[_0x249ec5(0x150)](this[_0x249ec5(0x110)][_0x249ec5(0x11a)],_0x5db2dd);};}[_0x48cf25(0x14a)](){const _0x3e59d8=_0x48cf25;this[_0x3e59d8(0x110)][_0x3e59d8(0x11a)]['on'](_0x3e59d8(0x1a5),(_0x2554db,[_0x538f07])=>{const _0x40c9d4=_0x3e59d8;if(this[_0x40c9d4(0xcf)][_0x40c9d4(0xcb)])throw new _0x287132(_0x40c9d4(0x164),this);_0x2554db[_0x40c9d4(0xca)](),this[_0x40c9d4(0x1cc)]();const _0x1bb284=this[_0x40c9d4(0x110)][_0x40c9d4(0x190)][_0x40c9d4(0xdb)](_0x40c9d4(0x117)),_0x375a04=this[_0x40c9d4(0x170)](_0x538f07,_0x1bb284);0x0==_0x375a04[_0x40c9d4(0x16f)]&&_0x375a04[_0x40c9d4(0x168)](new _0x447d9e(0x0)),_0x2554db[_0x40c9d4(0xce)]=this[_0x40c9d4(0x149)](_0x375a04)[_0x40c9d4(0x1bd)](()=>{const _0x1ac630=_0x40c9d4;this[_0x1ac630(0x110)][_0x1ac630(0xd0)][_0x1ac630(0xdb)](_0x5615bf)[_0x1ac630(0xf1)](this),this[_0x1ac630(0x110)][_0x1ac630(0x11a)][_0x1ac630(0x10b)](_0x1ac630(0xed));})[_0x40c9d4(0x133)](_0x2064cf=>this[_0x40c9d4(0xda)](_0x40c9d4(0x112),_0x2064cf))[_0x40c9d4(0x19b)](()=>this[_0x40c9d4(0x17d)]());},{'priority':_0x3e59d8(0x114)}),this[_0x3e59d8(0x110)]['on'](_0x3e59d8(0x183),async(_0x50f97f,[_0xdcefe4,_0x4b419b])=>{const _0x2d515a=_0x3e59d8;_0x50f97f[_0x2d515a(0xca)]();const _0x3d11e2=this[_0x2d515a(0x110)][_0x2d515a(0xd6)][_0x2d515a(0x193)][_0x2d515a(0x107)](_0xdcefe4);if(!this[_0x2d515a(0x124)][_0x2d515a(0xfe)](_0xdcefe4)){const _0x498a47=_0x4b419b&&_0x4b419b[_0x2d515a(0x11a)]?_0x4b419b[_0x2d515a(0x11a)]:'',_0x5db500=_0x4b419b&&_0x4b419b[_0x2d515a(0xd3)]?_0x4b419b[_0x2d515a(0xd3)]:{};await this[_0x2d515a(0x14f)](_0xdcefe4,_0x498a47,_0x5db500);}this[_0x2d515a(0x110)][_0x2d515a(0xd6)][_0x2d515a(0x173)]({'isUndoable':!0x1},()=>{const _0x4b0aeb=_0x2d515a;_0x3d11e2[_0x4b0aeb(0x19a)]=!0x0,this[_0x4b0aeb(0x110)][_0x4b0aeb(0xd6)][_0x4b0aeb(0x193)][_0x4b0aeb(0xe1)][_0x4b0aeb(0x16c)](_0x3d11e2);});},{'priority':_0x3e59d8(0x114)});}async[_0x48cf25(0xf0)](_0x3bff05){const _0x140357=_0x48cf25,_0x511ce0=this[_0x140357(0x110)][_0x140357(0xd0)][_0x140357(0xdb)](_0x18fbdd),{connection:_0x2c59ee}=this[_0x140357(0x110)][_0x140357(0xd0)][_0x140357(0xdb)](_0x5615bf),_0x4d3c0e=new Set();for(const _0x5bd676 of _0x3bff05){const _0x3c4c14=_0x5bd676[_0x140357(0x1ce)];_0x3c4c14&&!_0x511ce0[_0x140357(0xe6)](_0x3c4c14)&&_0x4d3c0e[_0x140357(0x11e)](_0x3c4c14);}if(0x0===_0x4d3c0e[_0x140357(0x113)])return;const _0x5e9727=await _0x3b1967[_0x140357(0xe9)](_0x2c59ee,Array[_0x140357(0x195)](_0x4d3c0e));for(const _0x1c3c45 of _0x5e9727)_0x511ce0[_0x140357(0xe6)](_0x1c3c45['id'])||_0x511ce0[_0x140357(0x128)](_0x1c3c45);}[_0x48cf25(0x170)](_0x4584fa,_0x4244bd={}){const _0x1f5eca=_0x48cf25,_0x19f334=this[_0x1f5eca(0x110)][_0x1f5eca(0xd6)],_0x207434=[];let _0x19a94f=0x0;const _0x35d6c7=_0x1f5eca(0x144)==typeof _0x4584fa?{'main':_0x4584fa}:_0x4584fa;for(const _0x35c88f of Object[_0x1f5eca(0x19c)](_0x35d6c7)){if(!this[_0x1f5eca(0xcf)][_0x1f5eca(0x165)][_0x1f5eca(0xfe)](_0x35c88f))throw new _0x287132(_0x1f5eca(0x180),this);const _0x1adbae=this[_0x1f5eca(0x110)][_0x1f5eca(0x11a)][_0x1f5eca(0x12e)](_0x35d6c7[_0x35c88f]),_0x637b76=this[_0x1f5eca(0xcf)][_0x1f5eca(0x107)](_0x35c88f),_0x14a11b=new _0x47bbca(_0x19f334[_0x1f5eca(0xcc)](_0x637b76,0x0),_0x1adbae,_0x19a94f++);_0x207434[_0x1f5eca(0x168)](_0x14a11b);for(const [_0x53d848,_0x315bc6]of _0x1adbae[_0x1f5eca(0xec)]){const _0x481324=_0x19f334[_0x1f5eca(0xd5)](_0x19f334[_0x1f5eca(0x108)](_0x637b76,_0x315bc6[_0x1f5eca(0x123)][_0x1f5eca(0xfd)][_0x1f5eca(0xfa)]()),_0x19f334[_0x1f5eca(0x108)](_0x637b76,_0x315bc6[_0x1f5eca(0x1cb)][_0x1f5eca(0xfd)][_0x1f5eca(0xfa)]())),_0x2ad104=new _0x5f31cd(_0x53d848,null,_0x481324,_0x19f334[_0x1f5eca(0xec)],!0x0,_0x19a94f++);_0x207434[_0x1f5eca(0x168)](_0x2ad104);}}if(_0x4244bd)for(const [_0x16ab17,_0xd1849c]of Object[_0x1f5eca(0x192)](_0x4244bd)){const _0x440bbd=_0x19f334[_0x1f5eca(0x193)][_0x1f5eca(0x107)](_0x16ab17);if(!_0x440bbd)throw new _0x287132(_0x1f5eca(0xde),null);for(const [_0x506e03,_0x48c2cc]of Object[_0x1f5eca(0x192)](_0xd1849c))if(null!==_0x48c2cc){const _0x231f79=new _0xcabfeb(_0x440bbd,_0x506e03,null,_0x48c2cc,_0x19a94f++);_0x207434[_0x1f5eca(0x168)](_0x231f79);}}return _0x207434;}async[_0x48cf25(0x14f)](_0x1ceb68,_0x1c7bab,_0x543be5){const _0xf5a06a=_0x48cf25;this[_0xf5a06a(0x170)]({[_0x1ceb68]:_0x1c7bab},{[_0x1ceb68]:_0x543be5})[_0xf5a06a(0x1c7)]((_0x290e79,_0x2407bd)=>{const _0x5d2890=_0xf5a06a;_0x290e79[_0x5d2890(0x126)]=this[_0x5d2890(0xcf)][_0x5d2890(0xcb)]+_0x2407bd,_0x290e79[_0x5d2890(0x154)]=!0x0,this[_0x5d2890(0x148)](_0x290e79);}),this[_0xf5a06a(0xf6)](),await this[_0xf5a06a(0x11b)]();}async[_0x48cf25(0x115)](_0x3b6ad1,_0x2697a3){const _0x3f203f=_0x48cf25;let _0x17a0d9;this[_0x3f203f(0x17a)]=_0x3b6ad1[_0x3f203f(0x163)];const _0x5a548a=_0x3b6ad1[_0x3f203f(0x11c)]&&!_0x3b6ad1[_0x3f203f(0x1a1)],_0x40914b=_0x5a548a?0x0:_0x3b6ad1[_0x3f203f(0x11a)][_0x3f203f(0x126)];if(_0x2697a3[_0x3f203f(0x1c7)](_0x1e7067=>{const _0x135682=_0x3f203f;_0x1e7067[_0x135682(0x154)]=!0x0,_0x1e7067[_0x135682(0x151)]=_0x3b6ad1[_0x135682(0x174)],_0x1e7067[_0x135682(0x1ce)]=null;}),_0x5a548a)_0x17a0d9=_0x2697a3,this[_0x3f203f(0xd7)](_0x17a0d9,_0x5a548a);else{if(_0x3b6ad1[_0x3f203f(0x1a1)]){const _0x150e51=this[_0x3f203f(0x170)](_0x3b6ad1[_0x3f203f(0x1a1)]);this[_0x3f203f(0xcf)][_0x3f203f(0xe8)][_0x3f203f(0xcb)]=-_0x150e51[_0x3f203f(0x16f)],_0x150e51[_0x3f203f(0x1c7)](_0x4998e0=>{const _0x14ba84=_0x3f203f;_0x4998e0[_0x14ba84(0x126)]-=_0x150e51[_0x14ba84(0x16f)],_0x4998e0[_0x14ba84(0x151)]=_0x3b6ad1[_0x14ba84(0x174)],_0x4998e0[_0x14ba84(0x154)]=!0x0,_0x4998e0[_0x14ba84(0x1ce)]=null;}),this[_0x3f203f(0xd7)](_0x150e51,!0x0),this[_0x3f203f(0x12f)][_0x3f203f(0xcb)]=-_0x150e51[_0x3f203f(0x16f)]+this[_0x3f203f(0x17a)],this[_0x3f203f(0xd4)](_0x150e51);}this[_0x3f203f(0xcf)][_0x3f203f(0xe8)][_0x3f203f(0xcb)]=_0x40914b,_0x17a0d9=this[_0x3f203f(0x12a)](_0x3b6ad1[_0x3f203f(0x11a)],_0x3b6ad1[_0x3f203f(0x161)]),await this[_0x3f203f(0xf0)](_0x17a0d9),this[_0x3f203f(0xd7)](_0x17a0d9,_0x5a548a);}_0x3b6ad1[_0x3f203f(0x10a)]&&(this[_0x3f203f(0xe4)][_0x3f203f(0x14c)](_0x17a0d9,_0x3b6ad1[_0x3f203f(0x10a)]),this[_0x3f203f(0x130)]=_0x3b6ad1[_0x3f203f(0x10a)]),this[_0x3f203f(0x12f)][_0x3f203f(0xcb)]=_0x40914b+this[_0x3f203f(0x17a)],this[_0x3f203f(0xd4)](_0x17a0d9),_0x2697a3[_0x3f203f(0x1c4)](_0x46a1dd=>{const _0x3a3c65=_0x3f203f,_0x34a399=this[_0x3a3c65(0x11d)](_0x46a1dd);return _0x34a399&&!this[_0x3a3c65(0x124)][_0x3a3c65(0xfe)](_0x34a399);})[_0x3f203f(0x1c7)]((_0x2eea9d,_0x3f26ed)=>{const _0x3e0bbb=_0x3f203f;_0x2eea9d[_0x3e0bbb(0x126)]=this[_0x3e0bbb(0xcf)][_0x3e0bbb(0xcb)]+_0x3f26ed,this[_0x3e0bbb(0x148)](_0x2eea9d);}),this[_0x3f203f(0x175)]()?(this[_0x3f203f(0x169)]=0x0,this[_0x3f203f(0xf6)](!0x0),await this[_0x3f203f(0x11b)]()):(this[_0x3f203f(0x178)]=!0x1,this[_0x3f203f(0x17d)]());}[_0x48cf25(0xda)](_0x258dee,_0x4924f8){const _0x45c052=_0x48cf25,_0x164c1f=_0x4924f8&&_0x4924f8[_0x45c052(0x118)];if(_0x164c1f&&_0x164c1f[_0x45c052(0x1c3)](_0x45c052(0x1c5)))throw _0x4924f8;const _0x5dd9c0=this[_0x45c052(0x110)][_0x45c052(0xd0)][_0x45c052(0xdb)](_0x5615bf);throw this[_0x45c052(0x178)]=!0x0,_0x5dd9c0[_0x45c052(0x1bf)](),this[_0x45c052(0x110)][_0x45c052(0x18d)](_0x45c052(0xff)),new _0x287132(_0x258dee,this[_0x45c052(0x110)],_0x164c1f?{'originalError':_0x164c1f}:void 0x0);}[_0x48cf25(0x148)](_0x930360){const _0x38989f=_0x48cf25;this[_0x38989f(0x106)][_0x38989f(0xfe)](_0x930360)||(this[_0x38989f(0x106)][_0x38989f(0x11e)](_0x930360),this[_0x38989f(0x158)][_0x38989f(0x168)](_0x930360),this[_0x38989f(0xcd)]||_0x38989f(0x16a)==_0x930360[_0x38989f(0x143)]&&!_0x930360[_0x38989f(0x145)]||this[_0x38989f(0x1cc)]());}[_0x48cf25(0xf6)](_0x1eb5f9=!0x1){const _0x3495eb=_0x48cf25;!_0x1eb5f9&&this[_0x3495eb(0x178)]||(this[_0x3495eb(0x178)]=!0x0,clearTimeout(this[_0x3495eb(0x1c8)]),this[_0x3495eb(0x1c8)]=setTimeout(()=>{const _0x3a0145=_0x3495eb;this[_0x3a0145(0x1a8)]()[_0x3a0145(0x1bd)](_0x2f9e51=>{const _0x3e3438=_0x3a0145;_0x2f9e51&&(this[_0x3e3438(0x17d)](),this[_0x3e3438(0x178)]=!0x1);})[_0x3a0145(0x133)](_0x545a0a=>{const _0x473923=_0x3a0145;this[_0x473923(0x17d)](),this[_0x473923(0x178)]=!0x1,function(_0x871ece){const _0x2d4468=_0x473923;return _0x871ece[_0x2d4468(0x118)][_0x2d4468(0x1c3)](_0x2d4468(0x16b))||_0x871ece[_0x2d4468(0x118)][_0x2d4468(0x1c3)](_0x2d4468(0x13e))||_0x871ece[_0x2d4468(0x118)][_0x2d4468(0x1c3)](_0x2d4468(0x198));}(_0x545a0a)||this[_0x473923(0xda)](_0x545a0a[_0x473923(0x118)],_0x545a0a);});},this[_0x3495eb(0x169)]));}[_0x48cf25(0x11b)](){return new Promise(_0xe30d53=>{const _0x1d5933=_0x1b51;this['on'](_0x1d5933(0x134),()=>{_0xe30d53();});});}async[_0x48cf25(0x1a8)](){const _0x325227=_0x48cf25,_0x4e3f68=this[_0x325227(0x110)][_0x325227(0xd0)][_0x325227(0xdb)](_0x4f70a5);if(this[_0x325227(0x13f)]()&&(_0x4e3f68[_0x325227(0x18b)](),this[_0x325227(0x129)]=!0x1),!this[_0x325227(0x175)]())return!0x0;const _0x25c217=[...this[_0x325227(0x158)]];for(const _0x486d2f of _0x25c217)_0x486d2f[_0x325227(0x19d)]=this[_0x325227(0xcf)][_0x325227(0xe8)][_0x325227(0x10d)](_0x486d2f);const _0x1dec62=this[_0x325227(0xe4)][_0x325227(0x1a9)](_0x25c217),_0x3bdf03=G++,_0x2f93aa=this[_0x325227(0x1b9)](_0x25c217),_0x45ddcd=await this[_0x325227(0x1c6)][_0x325227(0x125)](_0x2f93aa,_0x2f93aa[_0x325227(0x126)],_0x1dec62);try{return await this[_0x325227(0x13a)](_0x25c217,_0x45ddcd,_0x3bdf03);}catch(_0x5652e1){return this[_0x325227(0xda)](_0x325227(0x189),_0x5652e1);}}async[_0x48cf25(0x13a)](_0x2a209f,_0xc57dd2,_0x1565e8){const _0x5ee3b9=_0x48cf25;if(_0x5ee3b9(0x139)in _0xc57dd2)throw _0xc57dd2[_0x5ee3b9(0x139)];let _0x15c987=!0x1;if(_0xc57dd2[_0x5ee3b9(0x11c)]){_0xc57dd2[_0x5ee3b9(0x10a)]&&(this[_0x5ee3b9(0x130)]=_0xc57dd2[_0x5ee3b9(0x10a)]),this[_0x5ee3b9(0x158)]=this[_0x5ee3b9(0x158)][_0x5ee3b9(0x1c4)](_0x560ed0=>!_0x2a209f[_0x5ee3b9(0x1a0)](_0x560ed0));for(const _0x3a622d of _0x2a209f)_0x3a622d[_0x5ee3b9(0x151)]=_0x5ee3b9(0x13d)in _0xc57dd2&&_0xc57dd2[_0x5ee3b9(0x13d)]||void 0x0;K(_0x2a209f,_0xc57dd2[_0x5ee3b9(0xcb)]-_0x2a209f[_0x5ee3b9(0x16f)]),this[_0x5ee3b9(0xd4)](_0x2a209f);const _0x566aa9=_0x2a209f[_0x5ee3b9(0x1c4)](_0x176ed6=>{const _0x36dd2b=_0x5ee3b9;if(!_0x176ed6[_0x36dd2b(0x154)])return!0x1;const _0x1c6000=this[_0x36dd2b(0x11d)](_0x176ed6);return _0x1c6000&&!this[_0x36dd2b(0x124)][_0x36dd2b(0xfe)](_0x1c6000);});K(_0x566aa9,this[_0x5ee3b9(0xcf)][_0x5ee3b9(0xcb)]),this[_0x5ee3b9(0xd7)](_0x566aa9),_0x15c987=!0x0,this[_0x5ee3b9(0x169)]=this[_0x5ee3b9(0x14b)];}else{const _0x29dbe3=this[_0x5ee3b9(0x12a)](_0xc57dd2[_0x5ee3b9(0x11a)],_0xc57dd2[_0x5ee3b9(0x161)])[_0x5ee3b9(0x1c4)](_0xc85670=>_0xc85670[_0x5ee3b9(0x126)]>=this[_0x5ee3b9(0xf2)]);_0x29dbe3[_0x5ee3b9(0x1c7)](_0x5195ac=>this[_0x5ee3b9(0x10c)](_0x5195ac)),this[_0x5ee3b9(0x158)]=this[_0x5ee3b9(0x158)][_0x5ee3b9(0x1c4)](_0x44a638=>!_0x44a638[_0x5ee3b9(0x154)]||!this[_0x5ee3b9(0x124)][_0x5ee3b9(0xfe)](this[_0x5ee3b9(0x11d)](_0x44a638))),this[_0x5ee3b9(0x158)][_0x5ee3b9(0x16f)]&&K(this[_0x5ee3b9(0x158)],this[_0x5ee3b9(0x158)][0x0][_0x5ee3b9(0x126)]),await this[_0x5ee3b9(0xf0)](_0x29dbe3),_0x15c987=this[_0x5ee3b9(0x1ba)](_0x29dbe3,_0xc57dd2[_0x5ee3b9(0xcb)],_0xc57dd2[_0x5ee3b9(0x10a)]),this[_0x5ee3b9(0x169)]=Math[_0x5ee3b9(0xfb)](this[_0x5ee3b9(0x169)]/0x2);}return _0x15c987?!this[_0x5ee3b9(0x175)]()||(this[_0x5ee3b9(0xf6)](!0x0),!0x1):this[_0x5ee3b9(0xda)](_0x5ee3b9(0xdf));}[_0x48cf25(0x1ba)](_0x54b651,_0x11f022,_0x4cbfb0){const _0x28f87e=_0x48cf25;try{const _0x4185a3={'document':this[_0x28f87e(0xcf)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x8a5be,operationsB:_0x413e88,originalOperations:_0x3a017a}=_0x2e7ce9(_0x54b651,this[_0x28f87e(0x158)],_0x4185a3);K(_0x8a5be,this[_0x28f87e(0xcf)][_0x28f87e(0xcb)]),K(_0x413e88,_0x11f022);for(const _0x58add2 of _0x8a5be){const _0x44bc21=_0x3a017a[_0x28f87e(0xdb)](_0x58add2);_0x58add2[_0x28f87e(0x1ce)]=_0x44bc21?_0x44bc21[_0x28f87e(0x1ce)]:null;}_0x4cbfb0&&(this[_0x28f87e(0xe4)][_0x28f87e(0x14c)](_0x54b651,_0x4cbfb0),this[_0x28f87e(0x130)]=_0x4cbfb0),this[_0x28f87e(0x158)]=[..._0x413e88],this[_0x28f87e(0xd7)](_0x8a5be),this[_0x28f87e(0xd4)](_0x54b651);}catch(_0x245871){return console[_0x28f87e(0x139)](_0x245871),!0x1;}return!0x0;}[_0x48cf25(0xd7)](_0x110f3d,_0x5a0aca=!0x1){const _0x310f4a=_0x48cf25;this[_0x310f4a(0x110)][_0x310f4a(0xd6)][_0x310f4a(0x173)]({'isUndoable':!0x1,'isLocal':!0x1},_0x357c53=>{const _0x2d6ffe=_0x310f4a;for(const _0x10d191 of _0x110f3d)this[_0x2d6ffe(0x106)][_0x2d6ffe(0x11e)](_0x10d191),this[_0x2d6ffe(0x10c)](_0x10d191),_0x357c53[_0x2d6ffe(0x12d)][_0x2d6ffe(0x1be)](_0x10d191),this[_0x2d6ffe(0x110)][_0x2d6ffe(0xd6)][_0x2d6ffe(0x135)](_0x10d191);});}[_0x48cf25(0x10c)](_0x4d2c2f){const _0x110503=_0x48cf25,_0x510b43=this[_0x110503(0x11d)](_0x4d2c2f);_0x510b43&&this[_0x110503(0x124)][_0x110503(0x11e)](_0x510b43);}[_0x48cf25(0x11d)](_0x324ff3){const _0x234dd2=_0x48cf25;let _0x269866,_0x54a3e2;switch(_0x324ff3[_0x234dd2(0x143)]){case _0x234dd2(0x1b8):_0x269866=_0x324ff3[_0x234dd2(0xf8)][_0x234dd2(0x197)];break;case _0x234dd2(0x16a):if(_0x54a3e2=_0x324ff3[_0x234dd2(0x155)],!_0x54a3e2)return null;_0x269866=_0x54a3e2[_0x234dd2(0x197)];break;case _0x234dd2(0x176):_0x269866=_0x324ff3[_0x234dd2(0x197)];break;case _0x234dd2(0x1ac):_0x269866=_0x324ff3[_0x234dd2(0xe0)];break;case _0x234dd2(0x1cf):_0x269866=_0x324ff3[_0x234dd2(0x1b4)][_0x234dd2(0x197)];break;default:return null;}return _0x269866[_0x234dd2(0x171)];}[_0x48cf25(0xd4)](_0x5730db){const _0xec85c9=_0x48cf25;_0x5730db[_0xec85c9(0x1c7)](_0x35aca7=>{const _0x13f292=_0xec85c9,_0x5d4c50=_0x35aca7[_0x13f292(0x100)]();_0x5d4c50[_0x13f292(0x1ce)]=_0x35aca7[_0x13f292(0x1ce)],_0x5d4c50[_0x13f292(0x154)]=!!_0x35aca7[_0x13f292(0x154)],_0x5d4c50[_0x13f292(0x151)]=_0x35aca7[_0x13f292(0x151)],_0x5d4c50[_0x13f292(0x126)]+=this[_0x13f292(0x17a)],_0x35aca7[_0x13f292(0x102)]&&this[_0x13f292(0xd9)][_0x13f292(0x11e)](_0x5d4c50),this[_0x13f292(0x12f)][_0x13f292(0x1be)](_0x5d4c50);});}[_0x48cf25(0x185)](_0x101174){const _0x463703=_0x48cf25,_0x4e39ea=this[_0x463703(0x110)][_0x463703(0xd0)][_0x463703(0xdb)](_0x463703(0x1bb)),_0x402f20=this[_0x463703(0x110)][_0x463703(0x1a2)];_0x101174||(_0x101174=_0x3894e8(_0x402f20,_0x463703(0x140))),_0x4e39ea[_0x463703(0x1ca)](_0x101174,{'title':_0x3894e8(_0x402f20,_0x463703(0x119)),'namespace':_0x463703(0x12c)}),this[_0x463703(0x13b)]=!0x0,clearTimeout(this[_0x463703(0x1c8)]),this[_0x463703(0x158)]=[],this[_0x463703(0x110)][_0x463703(0xd0)][_0x463703(0xdb)](_0x5615bf)[_0x463703(0x1bf)]();}[_0x48cf25(0x1cc)](){const _0x125e4a=_0x48cf25;this[_0x125e4a(0xcd)]||(this[_0x125e4a(0xcd)]=this[_0x125e4a(0x110)][_0x125e4a(0xd0)][_0x125e4a(0xdb)](_0x2b5d75)[_0x125e4a(0x11e)](_0x3894e8(this[_0x125e4a(0x110)][_0x125e4a(0x1a2)],_0x125e4a(0x141))));}[_0x48cf25(0x17d)](){const _0xc31c9b=_0x48cf25;this[_0xc31c9b(0xcd)]&&(this[_0xc31c9b(0x110)][_0xc31c9b(0xd0)][_0xc31c9b(0xdb)](_0x2b5d75)[_0xc31c9b(0x14e)](this[_0xc31c9b(0xcd)]),this[_0xc31c9b(0xcd)]=null);}[_0x48cf25(0x1b9)](_0x59a297){const _0x2cd318=_0x48cf25,_0x5c311c=_0x59a297[_0x2cd318(0x172)](_0x14bebd=>_0x14bebd[_0x2cd318(0x131)]());return this[_0x2cd318(0x18f)][_0x2cd318(0x19e)](_0x5c311c);}[_0x48cf25(0x12a)](_0x402776,_0x186a92){const _0x5e7c0c=_0x48cf25;return this[_0x5e7c0c(0x18f)][_0x5e7c0c(0x1a7)](_0x402776)[_0x5e7c0c(0x172)]((_0x14fecd,_0x58cd65)=>{const _0x2b67d9=_0x5e7c0c,_0x5be2a9=_0x2b67d9(0x1a5)==_0x186a92[_0x58cd65][_0x2b67d9(0x143)];if(_0x2b67d9(0x1b3)==_0x14fecd[_0x2b67d9(0x19f)]){const _0x1dc95f=_0x14fecd[_0x2b67d9(0xf8)][_0x2b67d9(0x197)];!this[_0x2b67d9(0xcf)][_0x2b67d9(0x107)](_0x1dc95f)&&(this[_0x2b67d9(0xcf)][_0x2b67d9(0x18e)](_0x2b67d9(0x157),_0x1dc95f)[_0x2b67d9(0x156)]=!0x1);}const _0x2aafcc=_0x1d9a29[_0x2b67d9(0x17f)](_0x14fecd,this[_0x2b67d9(0xcf)]);return _0x2aafcc[_0x2b67d9(0x19d)]=_0x14fecd[_0x2b67d9(0x19d)],_0x2aafcc[_0x2b67d9(0x154)]=_0x5be2a9,_0x2aafcc[_0x2b67d9(0x1ce)]=_0x5be2a9?null:_0x186a92[_0x58cd65][_0x2b67d9(0x18a)],_0x2aafcc[_0x2b67d9(0x102)]=_0x2b67d9(0x147)===_0x186a92[_0x58cd65][_0x2b67d9(0x143)],_0x2aafcc[_0x2b67d9(0x151)]=_0x186a92[_0x58cd65][_0x2b67d9(0x151)],_0x2aafcc;});}[_0x48cf25(0xea)](){const _0x4a88ea=_0x48cf25;this[_0x4a88ea(0x129)]=!0x0,this[_0x4a88ea(0x13f)]()?this[_0x4a88ea(0xf6)]():this[_0x4a88ea(0x129)]=!0x1;}[_0x48cf25(0x13f)](){const _0x3d0249=_0x48cf25,_0x12a49a=this[_0x3d0249(0x110)][_0x3d0249(0xd0)][_0x3d0249(0xdb)](_0x166e79)[_0x3d0249(0x15a)][_0x3d0249(0xdb)](this[_0x3d0249(0xe7)]);return!this[_0x3d0249(0x110)][_0x3d0249(0x153)]&&!!_0x12a49a&&_0x12a49a[_0x3d0249(0x16f)]>0x1&&this[_0x3d0249(0x129)];}[_0x48cf25(0x175)](){const _0x22a451=_0x48cf25;return this[_0x22a451(0x158)][_0x22a451(0x16f)]>0x0||this[_0x22a451(0x13f)]();}}function _0x5095(){const _0x2467c0=['2497tazQdy','_ignoredOperations','sessionId','metadata','define','offset','realtimecollaborationclient-init-document-already-initialized','roots','permissions','realtimecollaborationclient-init-session-connection-error','push','_currentBufferDelay','marker','cloud-services-internal-error:\x20Not\x20connected.','_bufferRootLoad','22719QphCtg','isOfficialPlugin','length','_getOperationsFromInitData','rootName','map','enqueueChange','sessionCreatedAt','_shouldSendUpdate','addRootAttribute','operationsReceived','_isPendingUpdate','1660eACTIl','_offset','getOperationAuthor','connected','_clearPendingAction','mySessionId','fromJSON','realtimecollaborationclient-init-non-existent-root','pluginName','selection','loadRoot','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.','_handleReconnectionError','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','cloudDocumentVersion','sessionAdd:','realtimecollaborationclient-sendbufferedoperations','userId','createUserMarkerOperations','off','enableReadOnlyMode','createRoot','_compressor','config','connection','entries','document','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','from','view','root','cloud-services-internal-error:\x20Request\x20timeout.','setPermissions','_isLoaded','finally','keys','wasUndone','compress','__className','includes','initData','locale','51457gRKqXC','cloudServices.bundleVersion','init','RealTimeCollaborationClient','decompress','_sendBufferedOperations','getIdOfTheLastOperation','Permissions','lastSyncVersion','addRoot','change:_isEditingAllowed','_initSessionsHandling','stopListening','isDocumentOperation','1668OTBsyS','change:range','InsertOperation','targetPosition','getOperations','document:write','requires','insert','_compressOperations','_handleExternalOperations','Notification','realtimecollaborationclient-init-service-internal-error','then','addOperation','disconnect','change:hasDomSelection','rtc-destroyed','1328ANLqVU','startsWith','filter','realtimecollaborationclient','_service','forEach','_sendBufferedOperationsDelayId','reset','showWarning','end','_setPendingAction','getConnectedSessions','_authorId','move','isPremiumPlugin','stop','version','createPositionAt','_pendingAction','return','_document','plugins','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','214OEnZoK','attributes','_updateServerHistory','createRange','model','_applyOperationsSet','code','_disconnectionOperations','_crash','get','CommentsOnly','_handleReconnectionResponse','multi-root-editor-root-attributes-no-root','realtimecollaborationclient-handleserverresponse','affectedSelectable','differ','_disconnectService','currentDocumentSession','_operationIdentifier','CollaborativeEditingService','getUser','_channelId','history','getMany','_refreshUserSelectionMarkers','_isConnected','markers','ready','isEnabled','_connectAfterSessionHasBeenFlushed','_fetchMissingUsers','addToReconnectionStack','_lastServerVersion','10217313QrmOKP','reconnection:\x20flushed\x20session','destroy','_sendBufferedOperationsDelayed','2361648vXfiJO','position','_initThrowingOnDataSet','slice','round','editing','path','has','realtimecollaborationclient-error','clone','reconnect','_isDisconnection','bind','realtimecollaborationclient-init-service-incorrect-server-operation','_handleReceivedOperations','_knownOperations','getRoot','createPositionFromPath','register','lastOperationId','fire','_addKnownRoot','isUndoneOperation','connect','getDocumentDetails','editor','81340eVFUsz','realtimecollaborationclient-init-connection-failed','size','high','_handleInitialConnectionData','collaboration.channelId','rootsAttributes','message','Synchronization\x20issue','data','_waitUntilSynced','wereChangesApplied','_getAffectedRoot','add','18724lgjZui','disableReadOnlyMode','404','disconnected','start','_knownRootNames','sendOperations','baseVersion','_operationToId','addUser','_hasSelectionChanged','_decompressOperations','listenTo','real-time-collaboration','batch','parse','serverHistory','_lastSyncedOperationId','toJSON','_handleSendingSelectionMarkers','catch','change:_isPendingUpdate','applyOperation','collaboration','directChange','removeFromReconnectionStack','error','_handleServerResponse','_hasSynchronizationProblem','unregister','lastOperationAcceptedAt','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_shouldSendSelectionUpdate','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.','PENDING_ACTION_SENDING_DATA','rtc-offline','type','string','affectsData','suppressErrorInCollaboration','cs:removeUser','_saveOperationInBuffer','_connectService','_setUpDataInit','_baseBufferDelay','setIdForTheLastOperation','collaboration-missing-channelid','remove','_loadRoot','apply','createdAt','set','isReadOnly','_isInit','newRange','_isAttached','$root','_bufferedOperations','409','channelSessions','_isEditingAllowed','state','lastDocumentSession'];_0x5095=function(){return _0x2467c0;};return _0x5095();}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x438d19,_0x4369bb){const _0x2be03b=_0x48cf25;for(const _0x6a9e2a of _0x438d19)_0x6a9e2a[_0x2be03b(0x126)]=_0x4369bb++;}class J{[_0x48cf25(0x15f)];[_0x48cf25(0x127)];constructor(_0x3c6a16){const _0x1404e9=_0x48cf25;this[_0x1404e9(0x15f)]=_0x3c6a16,this[_0x1404e9(0x127)]=new WeakMap();}[_0x48cf25(0x1a9)](_0x1fb3a9){const _0x20e356=_0x48cf25;let _0x2722ae=_0x1fb3a9[_0x20e356(0x16f)];for(;_0x2722ae--;){const _0x5c1623=_0x1fb3a9[_0x2722ae];if(!this[_0x20e356(0x15f)][_0x20e356(0xfe)](_0x5c1623)){if(!this[_0x20e356(0x127)][_0x20e356(0xfe)](_0x5c1623)){const _0x3da428=_0x3c0256()[_0x20e356(0xfa)](0x1,0x12);this[_0x20e356(0x127)][_0x20e356(0x152)](_0x5c1623,_0x3da428);}return this[_0x20e356(0x127)][_0x20e356(0xdb)](_0x5c1623);}}}[_0x48cf25(0x14c)](_0x4b6472,_0x30016b){const _0x1beae4=_0x48cf25;if(!_0x30016b)return;let _0x1db0a5=_0x4b6472[_0x1beae4(0x16f)];for(;_0x1db0a5--;){const _0x1bb0d6=_0x4b6472[_0x1db0a5];this[_0x1beae4(0x15f)][_0x1beae4(0xfe)](_0x1bb0d6)||this[_0x1beae4(0x127)][_0x1beae4(0x152)](_0x1bb0d6,_0x30016b);}}}
23
+ const _0x159529=_0x31c8;(function(_0x2e0e98,_0x424913){const _0xdc2e04=_0x31c8,_0x548db6=_0x2e0e98();while(!![]){try{const _0x2085e9=-parseInt(_0xdc2e04(0xa4))/0x1*(-parseInt(_0xdc2e04(0x11f))/0x2)+-parseInt(_0xdc2e04(0xec))/0x3+-parseInt(_0xdc2e04(0x190))/0x4*(parseInt(_0xdc2e04(0x11d))/0x5)+parseInt(_0xdc2e04(0x124))/0x6+parseInt(_0xdc2e04(0x178))/0x7+parseInt(_0xdc2e04(0xe1))/0x8+parseInt(_0xdc2e04(0x12c))/0x9*(parseInt(_0xdc2e04(0xf8))/0xa);if(_0x2085e9===_0x424913)break;else _0x548db6['push'](_0x548db6['shift']());}catch(_0x103188){_0x548db6['push'](_0x548db6['shift']());}}}(_0x1d67,0x6907f));import{Plugin as _0x11c049,PendingActions as _0x1e5774}from'ckeditor5/src/core.js';import{CKEditorError as _0x375b1,version as _0x6e04ea,uid as _0x1d5413}from'ckeditor5/src/utils.js';import{Notification as _0x2b1f9f}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x15f012,NoOperation as _0x1ec415,InsertOperation as _0x3fa1d8,MarkerOperation as _0x3c0c0b,RootAttributeOperation as _0x28272e,OperationFactory as _0x408bf8,History as _0x20c63f}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x272763}from'./websocketgateway.js';import{Sessions as _0x43facc}from'./sessions.js';import{UserMarkers as _0x1284d0}from'./usermarkers.js';import{getTranslation as _0x36eb0e}from'../common-translations.js';function _0x31c8(_0x12d8d1,_0x3ef69b){const _0x1d67cb=_0x1d67();return _0x31c8=function(_0x31c814,_0x2e18b9){_0x31c814=_0x31c814-0xa1;let _0x5efa03=_0x1d67cb[_0x31c814];return _0x5efa03;},_0x31c8(_0x12d8d1,_0x3ef69b);}import{Compressor as _0x50ab3f}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0xba7229}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x31cf61,CollaborativeEditingService as _0x358367}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;class l extends _0x11c049{static [_0x159529(0xdb)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x358367)());[_0x159529(0x15d)];[_0x159529(0xf7)];[_0x159529(0x12b)];[_0x159529(0x100)];[_0x159529(0x125)];[_0x159529(0xcf)];[_0x159529(0x19e)];[_0x159529(0x154)];[_0x159529(0xc7)];[_0x159529(0x186)];[_0x159529(0xc4)];[_0x159529(0x15b)];[_0x159529(0x1a0)];[_0x159529(0xe0)];[_0x159529(0xae)];[_0x159529(0x161)];[_0x159529(0x187)];[_0x159529(0xcd)];static get[_0x159529(0xa5)](){return[_0x272763,_0x43facc,_0x1284d0,_0x1e5774,_0xba7229,_0x2b1f9f];}static get[_0x159529(0xee)](){const _0x457683=_0x159529;return _0x457683(0x111);}static get[_0x159529(0x129)](){return!0x0;}static get[_0x159529(0x196)](){return!0x0;}get[_0x159529(0x148)](){const _0x1cf239=_0x159529;return this[_0x1cf239(0x171)]+this[_0x1cf239(0x15d)];}get[_0x159529(0x171)](){const _0x17044c=_0x159529;return this[_0x17044c(0x12b)][_0x17044c(0x152)]-this[_0x17044c(0x15d)];}get[_0x159529(0x1a1)](){const _0x30bfef=_0x159529,_0xd74f7f=this[_0x30bfef(0x12b)][_0x30bfef(0x188)]();for(let _0x523592=_0xd74f7f[_0x30bfef(0x10e)]-0x1;_0x523592>=0x0;_0x523592--){const _0x176c3f=_0xd74f7f[_0x523592];if(!this[_0x30bfef(0x187)][_0x30bfef(0xb9)](_0x176c3f))return _0x176c3f[_0x30bfef(0xab)]+0x1-this[_0x30bfef(0x15d)];}return 0x0;}constructor(_0x144d82){const _0x3a5914=_0x159529;if(super(_0x144d82),this[_0x3a5914(0x15d)]=0x0,this[_0x3a5914(0xf7)]=null,this[_0x3a5914(0x12b)]=new _0x20c63f(),this[_0x3a5914(0x1a5)][_0x3a5914(0x1a2)][_0x3a5914(0xa8)](_0x3a5914(0x141),{}),this[_0x3a5914(0x100)]=this[_0x3a5914(0x1a5)][_0x3a5914(0x1a2)][_0x3a5914(0x109)](_0x3a5914(0x14a)),!this[_0x3a5914(0x100)])throw new _0x375b1(_0x3a5914(0x146),this);const _0x2802a8=_0x144d82[_0x3a5914(0x1a2)][_0x3a5914(0x109)](_0x3a5914(0xb2))||_0x6e04ea;this[_0x3a5914(0x125)]=new l[(_0x3a5914(0xdb))](_0x2802a8,this[_0x3a5914(0x100)]),this[_0x3a5914(0xcf)]=this[_0x3a5914(0x1a5)][_0x3a5914(0xdf)][_0x3a5914(0xc2)],this[_0x3a5914(0x19e)]=new _0x50ab3f(),this[_0x3a5914(0x154)]=[],this[_0x3a5914(0xc7)]=new WeakSet(),this[_0x3a5914(0x186)]=new Set(),this[_0x3a5914(0x14d)](_0x3a5914(0x137),!0x1),this[_0x3a5914(0x14d)](_0x3a5914(0xa1),!0x1),this[_0x3a5914(0xc4)]=null,this[_0x3a5914(0x15b)]=!0x1,this[_0x3a5914(0x1a0)]=null,this[_0x3a5914(0xe0)]=0x12c,this[_0x3a5914(0xae)]=this[_0x3a5914(0xe0)],this[_0x3a5914(0x161)]=null,this[_0x3a5914(0x187)]=new WeakSet(),this[_0x3a5914(0xcd)]=new F(this[_0x3a5914(0x187)]);}[_0x159529(0x16e)](){const _0x20f7b9=_0x159529,_0x5e3b97=this[_0x20f7b9(0x1a5)],_0x488d5a=_0x5e3b97[_0x20f7b9(0xd4)][_0x20f7b9(0x109)](_0xba7229),_0x59b95b=_0x5e3b97[_0x20f7b9(0xd4)][_0x20f7b9(0x109)](_0x272763);this[_0x20f7b9(0xc8)](_0x488d5a,_0x20f7b9(0x170),(_0x599a08,_0x2bef35)=>{const _0x10e98c=_0x20f7b9,_0x3cac98=_0x2bef35[0x0];_0x3cac98[_0x10e98c(0x120)]&&(_0x599a08[_0x10e98c(0x17e)]=_0x488d5a[_0x10e98c(0x13a)](_0x3cac98[_0x10e98c(0x120)]),_0x599a08[_0x10e98c(0x12a)]()),null===_0x3cac98[_0x10e98c(0x120)]&&(_0x599a08[_0x10e98c(0x17e)]=null,_0x599a08[_0x10e98c(0x12a)]());},{'priority':_0x20f7b9(0x19d)}),this[_0x20f7b9(0xc8)](_0x5e3b97[_0x20f7b9(0xdf)][_0x20f7b9(0xc2)][_0x20f7b9(0x182)],_0x20f7b9(0xc9),(_0x594f8e,_0x5659cd)=>{const _0x2bc194=_0x20f7b9;_0x5659cd[_0x2bc194(0x123)]&&this[_0x2bc194(0x18b)]();}),this[_0x20f7b9(0xc8)](_0x5e3b97[_0x20f7b9(0x17d)][_0x20f7b9(0x127)],_0x20f7b9(0x119),()=>{const _0x11d34d=_0x20f7b9;this[_0x11d34d(0x18b)]();}),this[_0x20f7b9(0x10a)](),_0x5e3b97[_0x20f7b9(0xdf)]['on'](_0x20f7b9(0x193),(_0x1894a7,_0xf9d36b)=>{const _0x547570=_0x20f7b9,_0x11cc22=_0xf9d36b[0x0];_0x11cc22[_0x547570(0xe3)]&&(this[_0x547570(0x11e)](_0x11cc22),this[_0x547570(0xef)]()&&this[_0x547570(0xad)]());}),this[_0x20f7b9(0xca)](),this[_0x20f7b9(0x118)](_0x20f7b9(0x112))['to'](_0x59b95b,_0x20f7b9(0x172),this,_0x20f7b9(0xa1),(_0x4b6841,_0xf49784)=>_0x20f7b9(0xd9)===_0x4b6841&&!_0xf49784),this['on'](_0x20f7b9(0xda),()=>{const _0x5ba721=_0x20f7b9;this[_0x5ba721(0x112)]?_0x5e3b97[_0x5ba721(0xe5)](_0x5ba721(0x189)):_0x5e3b97[_0x5ba721(0xf4)](_0x5ba721(0x189));}),this[_0x20f7b9(0x112)]?_0x5e3b97[_0x20f7b9(0xe5)](_0x20f7b9(0x189)):_0x5e3b97[_0x20f7b9(0xf4)](_0x20f7b9(0x189)),this[_0x20f7b9(0x14d)](_0x20f7b9(0x140),!0x1);}async[_0x159529(0x11b)](){const _0x150090=_0x159529,_0x472f23=this[_0x150090(0x1a5)][_0x150090(0xd4)][_0x150090(0x109)](_0x43facc),_0x2f335b=this[_0x150090(0x1a5)][_0x150090(0xd4)][_0x150090(0x109)](_0x272763);try{this[_0x150090(0x137)]=!0x0,_0x472f23[_0x150090(0xac)](this[_0x150090(0x100)]);const _0x2babd2=await this[_0x150090(0x125)][_0x150090(0x11b)](_0x2f335b[_0x150090(0xea)],this[_0x150090(0x1a1)]);await this[_0x150090(0x19c)](_0x2babd2)&&(this[_0x150090(0x137)]=!0x1,this[_0x150090(0xe6)]());const _0x20528d=await this[_0x150090(0x125)][_0x150090(0x19f)]();_0x472f23[_0x150090(0x19b)](this[_0x150090(0x100)],_0x20528d),this[_0x150090(0x197)](),this[_0x150090(0x140)]=!0x0;}catch(_0x19635f){if(function(_0x44ae12){const _0x343533=_0x150090;return _0x343533(0x116)===_0x44ae12[_0x343533(0x13f)];}(_0x19635f)&&this[_0x150090(0xf7)])await this[_0x150090(0xfc)]();else{if(function(_0x535392){const _0x20a363=_0x150090;return _0x20a363(0xfe)===_0x535392[_0x20a363(0x13f)];}(_0x19635f)){const _0x417237=_0x36eb0e(this[_0x150090(0x1a5)][_0x150090(0x19a)],_0x150090(0x155));this[_0x150090(0xff)](_0x417237);}else{if(!(_0x19635f instanceof V))throw _0x19635f;this[_0x150090(0xff)]();}}}}[_0x159529(0x139)](){const _0x56d31c=_0x159529,_0x4e65a8=this[_0x56d31c(0x1a5)][_0x56d31c(0xd4)][_0x56d31c(0x109)](_0x272763),_0x524277=this[_0x56d31c(0x1a5)][_0x56d31c(0xd4)][_0x56d31c(0x109)](_0x43facc);this[_0x56d31c(0x1a5)][_0x56d31c(0xf4)](_0x56d31c(0x184)),_0x524277[_0x56d31c(0x157)][_0x56d31c(0xb9)](this[_0x56d31c(0x100)])&&_0x524277[_0x56d31c(0xac)](this[_0x56d31c(0x100)]),_0x4e65a8[_0x56d31c(0xd7)](this),this[_0x56d31c(0x132)](),super[_0x56d31c(0x139)]();}async[_0x159529(0x19c)](_0x5b4ca1){const _0x246934=_0x159529;if(this[_0x246934(0xf7)]!==_0x5b4ca1[_0x246934(0xf7)]&&this[_0x246934(0x161)]!==_0x5b4ca1[_0x246934(0xc6)])throw new V();return this[_0x246934(0xf7)]=_0x5b4ca1[_0x246934(0xf7)],this[_0x246934(0x12f)]([],{..._0x5b4ca1,'wereChangesApplied':!0x1,'data':_0x5b4ca1[_0x246934(0x16a)]},_0x246934(0x11b));}async[_0x159529(0xb5)](_0x134d4d,_0x4e9802=!0x1){const _0x2833a3=_0x159529,{connection:_0x12ca58}=this[_0x2833a3(0x1a5)][_0x2833a3(0xd4)][_0x2833a3(0x109)](_0x272763);l[_0x2833a3(0xdb)][_0x2833a3(0x19f)](_0x12ca58,this[_0x2833a3(0x100)])[_0x2833a3(0x121)](_0x42e9b7=>this[_0x2833a3(0x138)](_0x42e9b7))[_0x2833a3(0x14f)](_0x51d01b=>{const _0x584e3e=_0x2833a3;this[_0x584e3e(0xf1)](_0x584e3e(0x17b),_0x51d01b);}),this[_0x2833a3(0xc8)](this[_0x2833a3(0x125)],_0x2833a3(0x181),this[_0x2833a3(0x130)][_0x2833a3(0x118)](this)),this[_0x2833a3(0xc8)](this[_0x2833a3(0x125)],_0x2833a3(0x113),(_0x489f09,_0x2846e2)=>{const _0x50c0cf=_0x2833a3;this[_0x50c0cf(0xf1)](_0x50c0cf(0xce),_0x2846e2);}),this[_0x2833a3(0xc8)](this[_0x2833a3(0x125)],_0x2833a3(0xa3),()=>{const _0x553dd8=_0x2833a3;this[_0x553dd8(0x140)]=!0x1;});const _0xaf0b2e=this[_0x2833a3(0xcd)][_0x2833a3(0xa6)](_0x134d4d);this[_0x2833a3(0x137)]=!0x0;const _0x2738a5=await this[_0x2833a3(0x125)][_0x2833a3(0x1a4)](_0x12ca58,this[_0x2833a3(0xdd)](_0x134d4d),_0xaf0b2e);if(this[_0x2833a3(0xf7)]=_0x2738a5[_0x2833a3(0xf7)],_0x4e9802){if(!_0x2738a5[_0x2833a3(0x15c)])return void this[_0x2833a3(0xff)]();this[_0x2833a3(0x137)]=!0x1,this[_0x2833a3(0xe6)](),this[_0x2833a3(0x12b)][_0x2833a3(0x136)](),this[_0x2833a3(0x15d)]=_0x2738a5[_0x2833a3(0x1a3)],this[_0x2833a3(0x12b)][_0x2833a3(0x152)]=this[_0x2833a3(0x15d)],await this[_0x2833a3(0x12f)](_0x134d4d,_0x2738a5,_0x2833a3(0x110));}else await this[_0x2833a3(0x159)](_0x2738a5,_0x134d4d);this[_0x2833a3(0x197)](),this[_0x2833a3(0x140)]=!0x0;}[_0x159529(0x197)](){const _0x4eaa66=_0x159529,_0x3a86d7=this[_0x4eaa66(0x1a5)][_0x4eaa66(0xd4)][_0x4eaa66(0x109)](_0x43facc),_0xeddeb=this[_0x4eaa66(0x1a5)][_0x4eaa66(0xd4)][_0x4eaa66(0x109)](_0x1284d0),_0x1eb83c=_0x3a86d7[_0x4eaa66(0x157)][_0x4eaa66(0x109)](this[_0x4eaa66(0x100)]);_0x1eb83c&&_0x1eb83c[_0x4eaa66(0x10e)]>0x1?_0xeddeb[_0x4eaa66(0xe8)]():this[_0x4eaa66(0xc8)](_0x3a86d7,_0x4eaa66(0x126)+this[_0x4eaa66(0x100)],()=>{const _0x11b804=_0x4eaa66;0x2===_0x3a86d7[_0x11b804(0x157)][_0x11b804(0x109)](this[_0x11b804(0x100)])[_0x11b804(0x10e)]&&_0xeddeb[_0x11b804(0xe8)]();});}async[_0x159529(0x130)](_0x45d018,_0x1cd0e3,_0x1d9b78,_0x3eb5c7){const _0x1576a0=_0x159529;if(!this[_0x1576a0(0x137)]&&this[_0x1576a0(0xcf)][_0x1576a0(0x152)]==_0x1cd0e3){const _0x191f4d=this[_0x1576a0(0xd6)](_0x1d9b78,_0x3eb5c7);await this[_0x1576a0(0xa9)](_0x191f4d),this[_0x1576a0(0xbe)](_0x191f4d,_0x1cd0e3,_0x1d9b78[_0x1576a0(0xc6)])||this[_0x1576a0(0xf1)](_0x1576a0(0xd3));}}async[_0x159529(0xfc)](){const _0x23ac79=_0x159529;this[_0x23ac79(0x132)]();const {locale:_0x6342d8}=this[_0x23ac79(0x1a5)];let _0x7b6a93;try{_0x7b6a93=await this[_0x23ac79(0x125)][_0x23ac79(0xbd)]();}catch{const _0x47f124=_0x36eb0e(_0x6342d8,_0x23ac79(0x199));return void this[_0x23ac79(0xff)](_0x47f124);}const _0x172785=_0x7b6a93[_0x23ac79(0xc1)]||_0x7b6a93[_0x23ac79(0xf9)];if(this[_0x23ac79(0x161)]!==_0x172785[_0x23ac79(0xc6)]){const _0x45beba=_0x36eb0e(_0x6342d8,_0x23ac79(0x13c));return void this[_0x23ac79(0xff)](_0x45beba);}await this[_0x23ac79(0xb5)](this[_0x23ac79(0x1a5)][_0x23ac79(0xdf)][_0x23ac79(0xc2)][_0x23ac79(0x14e)][_0x23ac79(0x188)](),!0x0);}[_0x159529(0x132)](){const _0xbfaf50=_0x159529;this[_0xbfaf50(0x125)][_0xbfaf50(0x191)](),this[_0xbfaf50(0x154)]=[],clearTimeout(this[_0xbfaf50(0x1a0)]),this[_0xbfaf50(0x162)](this[_0xbfaf50(0x125)]);}[_0x159529(0x138)](_0x564b81){const _0x3fe5e6=_0x159529,_0x1623d7=this[_0x3fe5e6(0x1a5)][_0x3fe5e6(0xd4)][_0x3fe5e6(0x109)](_0x43facc);this[_0x3fe5e6(0xc8)](_0x1623d7,_0x3fe5e6(0x126)+this[_0x3fe5e6(0x100)],(_0x160a27,{session:_0x5f0c45})=>{const _0x28356f=_0x3fe5e6;if(_0x5f0c45['id']===_0x1623d7[_0x28356f(0xf5)]){_0x160a27[_0x28356f(0x195)]();const _0x555940=this[_0x28356f(0x1a5)][_0x28356f(0xd4)][_0x28356f(0xb9)](_0x28356f(0xb4))&&this[_0x28356f(0x1a5)][_0x28356f(0xd4)][_0x28356f(0x109)](_0x28356f(0xb4));let _0x1cf325=_0x5f0c45[_0x28356f(0x18d)];_0x555940&&_0x555940[_0x28356f(0xfa)]&&(_0x1cf325=_0x1cf325[_0x28356f(0x131)](_0x126f9f=>_0x28356f(0xf2)!==_0x126f9f)),this[_0x28356f(0x1a5)][_0x28356f(0xd4)][_0x28356f(0x109)](_0x28356f(0xc5))[_0x28356f(0x102)](_0x1cf325,this[_0x28356f(0x100)]);}}),_0x1623d7[_0x3fe5e6(0x19b)](this[_0x3fe5e6(0x100)],_0x564b81);}[_0x159529(0x10a)](){const _0x1cce6e=_0x159529,_0x252213=this[_0x1cce6e(0x1a5)][_0x1cce6e(0x16a)][_0x1cce6e(0x14d)];this[_0x1cce6e(0x1a5)][_0x1cce6e(0x16a)][_0x1cce6e(0x14d)]=(..._0x444bcb)=>{const _0x4a5989=_0x1cce6e;if(!_0x444bcb[_0x444bcb[_0x4a5989(0x10e)]-0x1][_0x4a5989(0x13e)])throw new _0x375b1(_0x4a5989(0xcc),this);_0x252213[_0x4a5989(0x18f)](this[_0x4a5989(0x1a5)][_0x4a5989(0x16a)],_0x444bcb);};}[_0x159529(0xca)](){const _0x5e136e=_0x159529;this[_0x5e136e(0x1a5)][_0x5e136e(0x16a)]['on'](_0x5e136e(0x16e),(_0x1822be,[_0x487c83])=>{const _0x273e85=_0x5e136e;if(this[_0x273e85(0xcf)][_0x273e85(0x152)])throw new _0x375b1(_0x273e85(0x105),this);_0x1822be[_0x273e85(0x12a)](),this[_0x273e85(0x153)]();const _0xd01c2b=this[_0x273e85(0x1a5)][_0x273e85(0x1a2)][_0x273e85(0x109)](_0x273e85(0x144)),_0x41a5e2=this[_0x273e85(0x164)](_0x487c83,_0xd01c2b);0x0==_0x41a5e2[_0x273e85(0x10e)]&&_0x41a5e2[_0x273e85(0x176)](new _0x1ec415(0x0)),_0x1822be[_0x273e85(0x17e)]=this[_0x273e85(0xb5)](_0x41a5e2)[_0x273e85(0x121)](()=>{const _0x56f041=_0x273e85;this[_0x56f041(0x1a5)][_0x56f041(0xd4)][_0x56f041(0x109)](_0x272763)[_0x56f041(0xaa)](this),this[_0x56f041(0x1a5)][_0x56f041(0x16a)][_0x56f041(0x177)](_0x56f041(0x185));})[_0x273e85(0x14f)](_0x5ce653=>this[_0x273e85(0xf1)](_0x273e85(0x158),_0x5ce653))[_0x273e85(0x194)](()=>this[_0x273e85(0xe6)]());},{'priority':_0x5e136e(0x19d)}),this[_0x5e136e(0x1a5)]['on'](_0x5e136e(0x169),async(_0x485ed8,[_0x28847c,_0x40ab56])=>{const _0x51ef54=_0x5e136e;_0x485ed8[_0x51ef54(0x12a)]();const _0x4cf137=this[_0x51ef54(0x1a5)][_0x51ef54(0xdf)][_0x51ef54(0xc2)][_0x51ef54(0x168)](_0x28847c);if(!this[_0x51ef54(0x186)][_0x51ef54(0xb9)](_0x28847c)){const _0x3f23c6=_0x40ab56&&_0x40ab56[_0x51ef54(0x16a)]?_0x40ab56[_0x51ef54(0x16a)]:'',_0x53f9f6=_0x40ab56&&_0x40ab56[_0x51ef54(0x117)]?_0x40ab56[_0x51ef54(0x117)]:{};await this[_0x51ef54(0x128)](_0x28847c,_0x3f23c6,_0x53f9f6);}this[_0x51ef54(0x1a5)][_0x51ef54(0xdf)][_0x51ef54(0xeb)]({'isUndoable':!0x1},()=>{const _0x519650=_0x51ef54;_0x4cf137[_0x519650(0xd8)]=!0x0,this[_0x519650(0x1a5)][_0x519650(0xdf)][_0x519650(0xc2)][_0x519650(0x16d)][_0x519650(0xb1)](_0x4cf137);});},{'priority':_0x5e136e(0x19d)});}async[_0x159529(0xa9)](_0x3f2a6f){const _0x54f9fe=_0x159529,_0x41c085=this[_0x54f9fe(0x1a5)][_0x54f9fe(0xd4)][_0x54f9fe(0x109)](_0xba7229),{connection:_0x25f8af}=this[_0x54f9fe(0x1a5)][_0x54f9fe(0xd4)][_0x54f9fe(0x109)](_0x272763),_0x3858f7=new Set();for(const _0x265110 of _0x3f2a6f){const _0x3437df=_0x265110[_0x54f9fe(0x120)];_0x3437df&&!_0x41c085[_0x54f9fe(0x13a)](_0x3437df)&&_0x3858f7[_0x54f9fe(0x101)](_0x3437df);}if(0x0===_0x3858f7[_0x54f9fe(0x149)])return;const _0x2f37e5=await _0x31cf61[_0x54f9fe(0xf0)](_0x25f8af,Array[_0x54f9fe(0xfd)](_0x3858f7));for(const _0x144326 of _0x2f37e5)_0x41c085[_0x54f9fe(0x13a)](_0x144326['id'])||_0x41c085[_0x54f9fe(0x14c)](_0x144326);}[_0x159529(0x164)](_0x170683,_0x379004={}){const _0x28286f=_0x159529,_0x1aacd9=this[_0x28286f(0x1a5)][_0x28286f(0xdf)],_0x32fd6d=[];let _0x346b8a=0x0;const _0x209d7b=_0x28286f(0x160)==typeof _0x170683?{'main':_0x170683}:_0x170683;for(const _0x4c04cc of Object[_0x28286f(0xb0)](_0x209d7b)){if(!this[_0x28286f(0xcf)][_0x28286f(0x108)][_0x28286f(0xb9)](_0x4c04cc))throw new _0x375b1(_0x28286f(0x183),this);const _0x241ba4=this[_0x28286f(0x1a5)][_0x28286f(0x16a)][_0x28286f(0xe4)](_0x209d7b[_0x4c04cc]),_0x591d44=this[_0x28286f(0xcf)][_0x28286f(0x168)](_0x4c04cc),_0x37372f=new _0x3fa1d8(_0x1aacd9[_0x28286f(0x165)](_0x591d44,0x0),_0x241ba4,_0x346b8a++);_0x32fd6d[_0x28286f(0x176)](_0x37372f);for(const [_0x4529c7,_0x479928]of _0x241ba4[_0x28286f(0xaf)]){const _0x35dd16=_0x1aacd9[_0x28286f(0x163)](_0x1aacd9[_0x28286f(0x133)](_0x591d44,_0x479928[_0x28286f(0x16b)][_0x28286f(0x10b)][_0x28286f(0xba)]()),_0x1aacd9[_0x28286f(0x133)](_0x591d44,_0x479928[_0x28286f(0x174)][_0x28286f(0x10b)][_0x28286f(0xba)]())),_0x3be28d=new _0x3c0c0b(_0x4529c7,null,_0x35dd16,_0x1aacd9[_0x28286f(0xaf)],!0x0,_0x346b8a++);_0x32fd6d[_0x28286f(0x176)](_0x3be28d);}}if(_0x379004)for(const [_0x386bb6,_0x2cdb3b]of Object[_0x28286f(0xfb)](_0x379004)){const _0x5566b7=_0x1aacd9[_0x28286f(0xc2)][_0x28286f(0x168)](_0x386bb6);if(!_0x5566b7)throw new _0x375b1(_0x28286f(0x134),null);for(const [_0x10a1cd,_0x375b9f]of Object[_0x28286f(0xfb)](_0x2cdb3b))if(null!==_0x375b9f){const _0x4a767e=new _0x28272e(_0x5566b7,_0x10a1cd,null,_0x375b9f,_0x346b8a++);_0x32fd6d[_0x28286f(0x176)](_0x4a767e);}}return _0x32fd6d;}async[_0x159529(0x128)](_0x1afc63,_0x6fbd56,_0xa0950c){const _0x5847ad=_0x159529;this[_0x5847ad(0x164)]({[_0x1afc63]:_0x6fbd56},{[_0x1afc63]:_0xa0950c})[_0x5847ad(0xb6)]((_0x52f6a4,_0x10ba69)=>{const _0x1f20b9=_0x5847ad;_0x52f6a4[_0x1f20b9(0xab)]=this[_0x1f20b9(0xcf)][_0x1f20b9(0x152)]+_0x10ba69,_0x52f6a4[_0x1f20b9(0xdc)]=!0x0,this[_0x1f20b9(0x11e)](_0x52f6a4);}),this[_0x5847ad(0xad)](),await this[_0x5847ad(0xb3)]();}async[_0x159529(0x159)](_0x10f137,_0x23f733){const _0x44adc8=_0x159529;let _0x2ca85f;this[_0x44adc8(0x15d)]=_0x10f137[_0x44adc8(0x1a3)];const _0x44abd9=_0x10f137[_0x44adc8(0x15c)]&&!_0x10f137[_0x44adc8(0x147)],_0x478b85=_0x44abd9?0x0:_0x10f137[_0x44adc8(0x16a)][_0x44adc8(0xab)];if(_0x23f733[_0x44adc8(0xb6)](_0x1a86bf=>{const _0x30e1cb=_0x44adc8;_0x1a86bf[_0x30e1cb(0xdc)]=!0x0,_0x1a86bf[_0x30e1cb(0x15a)]=_0x10f137[_0x30e1cb(0x179)],_0x1a86bf[_0x30e1cb(0x120)]=null;}),_0x44abd9)_0x2ca85f=_0x23f733,this[_0x44adc8(0x114)](_0x2ca85f,_0x44abd9);else{if(_0x10f137[_0x44adc8(0x147)]){const _0xcd0a0a=this[_0x44adc8(0x164)](_0x10f137[_0x44adc8(0x147)]);this[_0x44adc8(0xcf)][_0x44adc8(0x14e)][_0x44adc8(0x152)]=-_0xcd0a0a[_0x44adc8(0x10e)],_0xcd0a0a[_0x44adc8(0xb6)](_0x5249ad=>{const _0x33d756=_0x44adc8;_0x5249ad[_0x33d756(0xab)]-=_0xcd0a0a[_0x33d756(0x10e)],_0x5249ad[_0x33d756(0x15a)]=_0x10f137[_0x33d756(0x179)],_0x5249ad[_0x33d756(0xdc)]=!0x0,_0x5249ad[_0x33d756(0x120)]=null;}),this[_0x44adc8(0x114)](_0xcd0a0a,!0x0),this[_0x44adc8(0x12b)][_0x44adc8(0x152)]=-_0xcd0a0a[_0x44adc8(0x10e)]+this[_0x44adc8(0x15d)],this[_0x44adc8(0x17c)](_0xcd0a0a);}this[_0x44adc8(0xcf)][_0x44adc8(0x14e)][_0x44adc8(0x152)]=_0x478b85,_0x2ca85f=this[_0x44adc8(0xd6)](_0x10f137[_0x44adc8(0x16a)],_0x10f137[_0x44adc8(0x10c)]),await this[_0x44adc8(0xa9)](_0x2ca85f),this[_0x44adc8(0x114)](_0x2ca85f,_0x44abd9);}_0x10f137[_0x44adc8(0xc6)]&&(this[_0x44adc8(0xcd)][_0x44adc8(0xc3)](_0x2ca85f,_0x10f137[_0x44adc8(0xc6)]),this[_0x44adc8(0x161)]=_0x10f137[_0x44adc8(0xc6)]),this[_0x44adc8(0x12b)][_0x44adc8(0x152)]=_0x478b85+this[_0x44adc8(0x15d)],this[_0x44adc8(0x17c)](_0x2ca85f),_0x23f733[_0x44adc8(0x131)](_0xc2f03c=>{const _0x59afe1=_0x44adc8,_0x412b5f=this[_0x59afe1(0x150)](_0xc2f03c);return _0x412b5f&&!this[_0x59afe1(0x186)][_0x59afe1(0xb9)](_0x412b5f);})[_0x44adc8(0xb6)]((_0x6755c8,_0x28a939)=>{const _0x3549fe=_0x44adc8;_0x6755c8[_0x3549fe(0xab)]=this[_0x3549fe(0xcf)][_0x3549fe(0x152)]+_0x28a939,this[_0x3549fe(0x11e)](_0x6755c8);}),this[_0x44adc8(0xef)]()?(this[_0x44adc8(0xae)]=0x0,this[_0x44adc8(0xad)](!0x0),await this[_0x44adc8(0xb3)]()):(this[_0x44adc8(0x137)]=!0x1,this[_0x44adc8(0xe6)]());}[_0x159529(0xf1)](_0x113dc2,_0x4f1478){const _0x5bc319=_0x159529,_0x92a76=_0x4f1478&&_0x4f1478[_0x5bc319(0x145)];if(_0x92a76&&_0x92a76[_0x5bc319(0xbc)](_0x5bc319(0x1a6)))throw _0x4f1478;const _0x39fc7d=this[_0x5bc319(0x1a5)][_0x5bc319(0xd4)][_0x5bc319(0x109)](_0x272763);throw this[_0x5bc319(0x137)]=!0x0,_0x39fc7d[_0x5bc319(0x191)](),this[_0x5bc319(0x1a5)][_0x5bc319(0xf4)](_0x5bc319(0x166)),new _0x375b1(_0x113dc2,this[_0x5bc319(0x1a5)],_0x92a76?{'originalError':_0x92a76}:void 0x0);}[_0x159529(0x11e)](_0x24f6f2){const _0x100ae1=_0x159529;this[_0x100ae1(0xc7)][_0x100ae1(0xb9)](_0x24f6f2)||(this[_0x100ae1(0xc7)][_0x100ae1(0x101)](_0x24f6f2),this[_0x100ae1(0x154)][_0x100ae1(0x176)](_0x24f6f2),this[_0x100ae1(0xc4)]||_0x100ae1(0x135)==_0x24f6f2[_0x100ae1(0x18e)]&&!_0x24f6f2[_0x100ae1(0x15e)]||this[_0x100ae1(0x153)]());}[_0x159529(0xad)](_0x435b80=!0x1){const _0x51a728=_0x159529;!_0x435b80&&this[_0x51a728(0x137)]||(this[_0x51a728(0x137)]=!0x0,clearTimeout(this[_0x51a728(0x1a0)]),this[_0x51a728(0x1a0)]=setTimeout(()=>{const _0x4e924c=_0x51a728;this[_0x4e924c(0x198)]()[_0x4e924c(0x121)](_0x4bb549=>{const _0x5719f0=_0x4e924c;_0x4bb549&&(this[_0x5719f0(0xe6)](),this[_0x5719f0(0x137)]=!0x1);})[_0x4e924c(0x14f)](_0xb55395=>{const _0x2b0907=_0x4e924c;this[_0x2b0907(0xe6)](),this[_0x2b0907(0x137)]=!0x1,function(_0x5f0766){const _0x2f28f1=_0x2b0907;return _0x5f0766[_0x2f28f1(0x145)][_0x2f28f1(0xbc)](_0x2f28f1(0xe7))||_0x5f0766[_0x2f28f1(0x145)][_0x2f28f1(0xbc)](_0x2f28f1(0xd0))||_0x5f0766[_0x2f28f1(0x145)][_0x2f28f1(0xbc)](_0x2f28f1(0x151));}(_0xb55395)||this[_0x2b0907(0xf1)](_0xb55395[_0x2b0907(0x145)],_0xb55395);});},this[_0x51a728(0xae)]));}[_0x159529(0xb3)](){return new Promise(_0x5cb6f4=>{const _0x5a03f2=_0x31c8;this['on'](_0x5a03f2(0x122),()=>{_0x5cb6f4();});});}async[_0x159529(0x198)](){const _0x5d023a=_0x159529,_0x23774e=this[_0x5d023a(0x1a5)][_0x5d023a(0xd4)][_0x5d023a(0x109)](_0x1284d0);if(this[_0x5d023a(0xd5)]()&&(_0x23774e[_0x5d023a(0xe8)](),this[_0x5d023a(0x15b)]=!0x1),!this[_0x5d023a(0xef)]())return!0x0;const _0x25f437=[...this[_0x5d023a(0x154)]];for(const _0x2620f7 of _0x25f437)_0x2620f7[_0x5d023a(0x17f)]=this[_0x5d023a(0xcf)][_0x5d023a(0x14e)][_0x5d023a(0xde)](_0x2620f7);const _0x15731d=this[_0x5d023a(0xcd)][_0x5d023a(0xa6)](_0x25f437),_0x334e9a=H++,_0x143805=this[_0x5d023a(0xdd)](_0x25f437),_0x48152c=await this[_0x5d023a(0x125)][_0x5d023a(0x103)](_0x143805,_0x143805[_0x5d023a(0xab)],_0x15731d);try{return await this[_0x5d023a(0x12f)](_0x25f437,_0x48152c,_0x334e9a);}catch(_0x5819ea){return this[_0x5d023a(0xf1)](_0x5d023a(0x104),_0x5819ea);}}async[_0x159529(0x12f)](_0x39dc4f,_0x43addb,_0x3fe6bc){const _0x34c1b9=_0x159529;if(_0x34c1b9(0x113)in _0x43addb)throw _0x43addb[_0x34c1b9(0x113)];let _0x3c6ac4=!0x1;if(_0x43addb[_0x34c1b9(0x15c)]){_0x43addb[_0x34c1b9(0xc6)]&&(this[_0x34c1b9(0x161)]=_0x43addb[_0x34c1b9(0xc6)]),this[_0x34c1b9(0x154)]=this[_0x34c1b9(0x154)][_0x34c1b9(0x131)](_0xa37279=>!_0x39dc4f[_0x34c1b9(0x16f)](_0xa37279));for(const _0x535574 of _0x39dc4f)_0x535574[_0x34c1b9(0x15a)]=_0x34c1b9(0x143)in _0x43addb&&_0x43addb[_0x34c1b9(0x143)]||void 0x0;W(_0x39dc4f,_0x43addb[_0x34c1b9(0x152)]-_0x39dc4f[_0x34c1b9(0x10e)]),this[_0x34c1b9(0x17c)](_0x39dc4f);const _0x239984=_0x39dc4f[_0x34c1b9(0x131)](_0xc2bb2b=>{const _0x2779e2=_0x34c1b9;if(!_0xc2bb2b[_0x2779e2(0xdc)])return!0x1;const _0x5ab7ca=this[_0x2779e2(0x150)](_0xc2bb2b);return _0x5ab7ca&&!this[_0x2779e2(0x186)][_0x2779e2(0xb9)](_0x5ab7ca);});W(_0x239984,this[_0x34c1b9(0xcf)][_0x34c1b9(0x152)]),this[_0x34c1b9(0x114)](_0x239984),_0x3c6ac4=!0x0,this[_0x34c1b9(0xae)]=this[_0x34c1b9(0xe0)];}else{const _0x21abba=this[_0x34c1b9(0xd6)](_0x43addb[_0x34c1b9(0x16a)],_0x43addb[_0x34c1b9(0x10c)])[_0x34c1b9(0x131)](_0xbc8ed5=>_0xbc8ed5[_0x34c1b9(0xab)]>=this[_0x34c1b9(0x171)]);_0x21abba[_0x34c1b9(0xb6)](_0x2e3d30=>this[_0x34c1b9(0xbb)](_0x2e3d30)),this[_0x34c1b9(0x154)]=this[_0x34c1b9(0x154)][_0x34c1b9(0x131)](_0x5069eb=>!_0x5069eb[_0x34c1b9(0xdc)]||!this[_0x34c1b9(0x186)][_0x34c1b9(0xb9)](this[_0x34c1b9(0x150)](_0x5069eb))),this[_0x34c1b9(0x154)][_0x34c1b9(0x10e)]&&W(this[_0x34c1b9(0x154)],this[_0x34c1b9(0x154)][0x0][_0x34c1b9(0xab)]),await this[_0x34c1b9(0xa9)](_0x21abba),_0x3c6ac4=this[_0x34c1b9(0xbe)](_0x21abba,_0x43addb[_0x34c1b9(0x152)],_0x43addb[_0x34c1b9(0xc6)]),this[_0x34c1b9(0xae)]=Math[_0x34c1b9(0x156)](this[_0x34c1b9(0xae)]/0x2);}return _0x3c6ac4?!this[_0x34c1b9(0xef)]()||(this[_0x34c1b9(0xad)](!0x0),!0x1):this[_0x34c1b9(0xf1)](_0x34c1b9(0x11a));}[_0x159529(0xbe)](_0x5a2b0d,_0x57fded,_0x16c2e7){const _0x5a0601=_0x159529;try{const _0x446921={'document':this[_0x5a0601(0xcf)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5eacf7,operationsB:_0x5cbd60,originalOperations:_0x47e681}=_0x15f012(_0x5a2b0d,this[_0x5a0601(0x154)],_0x446921);W(_0x5eacf7,this[_0x5a0601(0xcf)][_0x5a0601(0x152)]),W(_0x5cbd60,_0x57fded);for(const _0x87dd41 of _0x5eacf7){const _0x2b1f96=_0x47e681[_0x5a0601(0x109)](_0x87dd41);_0x87dd41[_0x5a0601(0x120)]=_0x2b1f96?_0x2b1f96[_0x5a0601(0x120)]:null;}_0x16c2e7&&(this[_0x5a0601(0xcd)][_0x5a0601(0xc3)](_0x5a2b0d,_0x16c2e7),this[_0x5a0601(0x161)]=_0x16c2e7),this[_0x5a0601(0x154)]=[..._0x5cbd60],this[_0x5a0601(0x114)](_0x5eacf7),this[_0x5a0601(0x17c)](_0x5a2b0d);}catch(_0x424cd5){return console[_0x5a0601(0x113)](_0x424cd5),!0x1;}return!0x0;}[_0x159529(0x114)](_0x33a3cf,_0x120550=!0x1){const _0xd31ddb=_0x159529;this[_0xd31ddb(0x1a5)][_0xd31ddb(0xdf)][_0xd31ddb(0xeb)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3e3f25=>{const _0x3248cf=_0xd31ddb;for(const _0x39ad6b of _0x33a3cf)this[_0x3248cf(0xc7)][_0x3248cf(0x101)](_0x39ad6b),this[_0x3248cf(0xbb)](_0x39ad6b),_0x3e3f25[_0x3248cf(0x106)][_0x3248cf(0x175)](_0x39ad6b),this[_0x3248cf(0x1a5)][_0x3248cf(0xdf)][_0x3248cf(0x193)](_0x39ad6b);});}[_0x159529(0xbb)](_0x2601c2){const _0x29773b=_0x159529,_0xcd5a75=this[_0x29773b(0x150)](_0x2601c2);_0xcd5a75&&this[_0x29773b(0x186)][_0x29773b(0x101)](_0xcd5a75);}[_0x159529(0x150)](_0x5101da){const _0x26f382=_0x159529;let _0x3295f5,_0x119ff2;switch(_0x5101da[_0x26f382(0x18e)]){case _0x26f382(0xf6):_0x3295f5=_0x5101da[_0x26f382(0xe2)][_0x26f382(0x107)];break;case _0x26f382(0x135):if(_0x119ff2=_0x5101da[_0x26f382(0xd1)],!_0x119ff2)return null;_0x3295f5=_0x119ff2[_0x26f382(0x107)];break;case _0x26f382(0x192):_0x3295f5=_0x5101da[_0x26f382(0x107)];break;case _0x26f382(0x10d):_0x3295f5=_0x5101da[_0x26f382(0xe9)];break;case _0x26f382(0x142):_0x3295f5=_0x5101da[_0x26f382(0x13b)][_0x26f382(0x107)];break;default:return null;}return _0x3295f5[_0x26f382(0xbf)];}[_0x159529(0x17c)](_0x31e455){const _0x38281f=_0x159529;_0x31e455[_0x38281f(0xb6)](_0x2831fe=>{const _0x4b70d7=_0x38281f,_0x4e62c6=_0x2831fe[_0x4b70d7(0x10f)]();_0x4e62c6[_0x4b70d7(0x120)]=_0x2831fe[_0x4b70d7(0x120)],_0x4e62c6[_0x4b70d7(0xdc)]=!!_0x2831fe[_0x4b70d7(0xdc)],_0x4e62c6[_0x4b70d7(0x15a)]=_0x2831fe[_0x4b70d7(0x15a)],_0x4e62c6[_0x4b70d7(0xab)]+=this[_0x4b70d7(0x15d)],_0x2831fe[_0x4b70d7(0x18c)]&&this[_0x4b70d7(0x187)][_0x4b70d7(0x101)](_0x4e62c6),this[_0x4b70d7(0x12b)][_0x4b70d7(0x175)](_0x4e62c6);});}[_0x159529(0xff)](_0x5826a3){const _0x201df5=_0x159529,_0x1d869d=this[_0x201df5(0x1a5)][_0x201df5(0xd4)][_0x201df5(0x109)](_0x201df5(0x18a)),_0x7aad9=this[_0x201df5(0x1a5)][_0x201df5(0x19a)];_0x5826a3||(_0x5826a3=_0x36eb0e(_0x7aad9,_0x201df5(0xed))),_0x1d869d[_0x201df5(0xb8)](_0x5826a3,{'title':_0x36eb0e(_0x7aad9,_0x201df5(0xd2)),'namespace':_0x201df5(0xc0)}),this[_0x201df5(0xa1)]=!0x0,clearTimeout(this[_0x201df5(0x1a0)]),this[_0x201df5(0x154)]=[],this[_0x201df5(0x1a5)][_0x201df5(0xd4)][_0x201df5(0x109)](_0x272763)[_0x201df5(0x191)]();}[_0x159529(0x153)](){const _0x232ba8=_0x159529;this[_0x232ba8(0xc4)]||(this[_0x232ba8(0xc4)]=this[_0x232ba8(0x1a5)][_0x232ba8(0xd4)][_0x232ba8(0x109)](_0x1e5774)[_0x232ba8(0x101)](_0x36eb0e(this[_0x232ba8(0x1a5)][_0x232ba8(0x19a)],_0x232ba8(0x14b))));}[_0x159529(0xe6)](){const _0x10e1f1=_0x159529;this[_0x10e1f1(0xc4)]&&(this[_0x10e1f1(0x1a5)][_0x10e1f1(0xd4)][_0x10e1f1(0x109)](_0x1e5774)[_0x10e1f1(0xf3)](this[_0x10e1f1(0xc4)]),this[_0x10e1f1(0xc4)]=null);}[_0x159529(0xdd)](_0x1a14fe){const _0x4288f7=_0x159529,_0xa73dc2=_0x1a14fe[_0x4288f7(0x12d)](_0x30fc9f=>_0x30fc9f[_0x4288f7(0x16c)]());return this[_0x4288f7(0x19e)][_0x4288f7(0x15f)](_0xa73dc2);}[_0x159529(0xd6)](_0x2b088f,_0x2f0fbe){const _0xe2d87d=_0x159529;return this[_0xe2d87d(0x19e)][_0xe2d87d(0x115)](_0x2b088f)[_0xe2d87d(0x12d)]((_0x5a49e,_0x530b22)=>{const _0x48bc05=_0xe2d87d,_0xfea694=_0x48bc05(0x16e)==_0x2f0fbe[_0x530b22][_0x48bc05(0x18e)];if(_0x48bc05(0x17a)==_0x5a49e[_0x48bc05(0xa7)]){const _0x422802=_0x5a49e[_0x48bc05(0xe2)][_0x48bc05(0x107)];!this[_0x48bc05(0xcf)][_0x48bc05(0x168)](_0x422802)&&(this[_0x48bc05(0xcf)][_0x48bc05(0x173)](_0x48bc05(0x180),_0x422802)[_0x48bc05(0x13d)]=!0x1);}const _0x53a921=_0x408bf8[_0x48bc05(0xcb)](_0x5a49e,this[_0x48bc05(0xcf)]);return _0x53a921[_0x48bc05(0x17f)]=_0x5a49e[_0x48bc05(0x17f)],_0x53a921[_0x48bc05(0xdc)]=_0xfea694,_0x53a921[_0x48bc05(0x120)]=_0xfea694?null:_0x2f0fbe[_0x530b22][_0x48bc05(0x12e)],_0x53a921[_0x48bc05(0x18c)]=_0x48bc05(0xa2)===_0x2f0fbe[_0x530b22][_0x48bc05(0x18e)],_0x53a921[_0x48bc05(0x15a)]=_0x2f0fbe[_0x530b22][_0x48bc05(0x15a)],_0x53a921;});}[_0x159529(0x18b)](){const _0x1c668c=_0x159529;this[_0x1c668c(0x15b)]=!0x0,this[_0x1c668c(0xd5)]()?this[_0x1c668c(0xad)]():this[_0x1c668c(0x15b)]=!0x1;}[_0x159529(0xd5)](){const _0x1faffc=_0x159529,_0x504dab=this[_0x1faffc(0x1a5)][_0x1faffc(0xd4)][_0x1faffc(0x109)](_0x43facc)[_0x1faffc(0x157)][_0x1faffc(0x109)](this[_0x1faffc(0x100)]);return!this[_0x1faffc(0x1a5)][_0x1faffc(0x11c)]&&!!_0x504dab&&_0x504dab[_0x1faffc(0x10e)]>0x1&&this[_0x1faffc(0x15b)];}[_0x159529(0xef)](){const _0x510fbd=_0x159529;return this[_0x510fbd(0x154)][_0x510fbd(0x10e)]>0x0||this[_0x510fbd(0xd5)]();}}export{l as RealTimeCollaborationClient};class V extends Error{}function W(_0x2814bd,_0x3007f2){const _0xdbfd66=_0x159529;for(const _0x26f8da of _0x2814bd)_0x26f8da[_0xdbfd66(0xab)]=_0x3007f2++;}function _0x1d67(){const _0x3ec1e0=['userId','_handleServerResponse','_handleReceivedOperations','filter','_disconnectService','createPositionFromPath','multi-root-editor-root-attributes-no-root','marker','reset','_isPendingUpdate','_initSessionsHandling','destroy','getUser','targetPosition','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.','_isAttached','suppressErrorInCollaboration','code','_isConnected','collaboration','move','lastOperationAcceptedAt','rootsAttributes','message','collaboration-missing-channelid','initData','cloudDocumentVersion','size','collaboration.channelId','PENDING_ACTION_SENDING_DATA','addUser','set','history','catch','_getAffectedRoot','cloud-services-internal-error:\x20Request\x20timeout.','version','_setPendingAction','_bufferedOperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','round','channelSessions','realtimecollaborationclient-init-connection-failed','_handleInitialConnectionData','createdAt','_hasSelectionChanged','wereChangesApplied','_offset','affectsData','compress','string','_lastSyncedOperationId','stopListening','createRange','_getOperationsFromInitData','createPositionAt','realtimecollaborationclient-error','_ignoredOperations','getRoot','loadRoot','data','start','toJSON','differ','init','includes','getOperationAuthor','_lastServerVersion','state','createRoot','end','addOperation','push','fire','3801245mZnJzh','sessionCreatedAt','InsertOperation','realtimecollaborationclient-init-session-connection-error','_updateServerHistory','editing','return','wasUndone','$root','operationsReceived','selection','realtimecollaborationclient-init-non-existent-root','rtc-destroyed','ready','_knownRootNames','_disconnectionOperations','getOperations','rtc-offline','Notification','_refreshUserSelectionMarkers','_isDisconnection','permissions','type','apply','2588OHjpHd','disconnect','addRootAttribute','applyOperation','finally','off','isPremiumPlugin','_handleSendingSelectionMarkers','_sendBufferedOperations','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','locale','register','_handleReconnectionResponse','high','_compressor','getConnectedSessions','_sendBufferedOperationsDelayId','lastSyncVersion','config','offset','connect','editor','realtimecollaborationclient','_hasSynchronizationProblem','cs:removeUser','disconnected','722418YmOMWw','requires','getIdOfTheLastOperation','__className','define','_fetchMissingUsers','addToReconnectionStack','baseVersion','unregister','_sendBufferedOperationsDelayed','_currentBufferDelay','markers','keys','_bufferRootLoad','cloudServices.bundleVersion','_waitUntilSynced','CommentsOnly','_connectService','forEach','_operationToId','showWarning','has','slice','_addKnownRoot','startsWith','getDocumentDetails','_handleExternalOperations','rootName','real-time-collaboration','currentDocumentSession','document','setIdForTheLastOperation','_pendingAction','Permissions','lastOperationId','_knownOperations','listenTo','change:range','_setUpDataInit','fromJSON','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_operationIdentifier','realtimecollaborationclient-init-service-internal-error','_document','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','newRange','Synchronization\x20issue','realtimecollaborationclient-init-service-incorrect-server-operation','plugins','_shouldSendSelectionUpdate','_decompressOperations','removeFromReconnectionStack','_isLoaded','connected','change:_isEditingAllowed','CollaborativeEditingService','_isInit','_compressOperations','isUndoneOperation','model','_baseBufferDelay','1887960WUtfcm','position','isDocumentOperation','parse','disableReadOnlyMode','_clearPendingAction','cloud-services-internal-error:\x20Not\x20connected.','createUserMarkerOperations','affectedSelectable','connection','enqueueChange','2252364sSzxbm','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.','pluginName','_shouldSendUpdate','getMany','_crash','document:write','remove','enableReadOnlyMode','mySessionId','insert','sessionId','6970CShALl','lastDocumentSession','isEnabled','entries','_connectAfterSessionHasBeenFlushed','from','409','_handleReconnectionError','_channelId','add','setPermissions','sendOperations','realtimecollaborationclient-sendbufferedoperations','realtimecollaborationclient-init-document-already-initialized','batch','root','roots','get','_initThrowingOnDataSet','path','metadata','addRoot','length','clone','reconnection:\x20flushed\x20session','RealTimeCollaborationClient','_isEditingAllowed','error','_applyOperationsSet','decompress','404','attributes','bind','change:hasDomSelection','realtimecollaborationclient-handleserverresponse','reconnect','isReadOnly','4405acRmaV','_saveOperationInBuffer','2SECmDA','_authorId','then','change:_isPendingUpdate','directChange','953664zcaDJU','_service','sessionAdd:','view','_loadRoot','isOfficialPlugin','stop','serverHistory','1170pZsqZY','map'];_0x1d67=function(){return _0x3ec1e0;};return _0x1d67();}class F{[_0x159529(0x167)];[_0x159529(0xb7)];constructor(_0x3570c2){const _0x62e5e2=_0x159529;this[_0x62e5e2(0x167)]=_0x3570c2,this[_0x62e5e2(0xb7)]=new WeakMap();}[_0x159529(0xa6)](_0x224ceb){const _0x469e8c=_0x159529;let _0x18acf2=_0x224ceb[_0x469e8c(0x10e)];for(;_0x18acf2--;){const _0x43492c=_0x224ceb[_0x18acf2];if(!this[_0x469e8c(0x167)][_0x469e8c(0xb9)](_0x43492c)){if(!this[_0x469e8c(0xb7)][_0x469e8c(0xb9)](_0x43492c)){const _0x1b9726=_0x1d5413()[_0x469e8c(0xba)](0x1,0x12);this[_0x469e8c(0xb7)][_0x469e8c(0x14d)](_0x43492c,_0x1b9726);}return this[_0x469e8c(0xb7)][_0x469e8c(0x109)](_0x43492c);}}}[_0x159529(0xc3)](_0x296f78,_0x14b436){const _0xd9be74=_0x159529;if(!_0x14b436)return;let _0x49766a=_0x296f78[_0xd9be74(0x10e)];for(;_0x49766a--;){const _0x5abffa=_0x296f78[_0x49766a];this[_0xd9be74(0x167)][_0xd9be74(0xb9)](_0x5abffa)||this[_0xd9be74(0xb7)][_0xd9be74(0x14d)](_0x5abffa,_0x14b436);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a1f4e=_0x4d19;(function(_0x1ceb89,_0xba3f2a){const _0x206798=_0x4d19,_0x2e7473=_0x1ceb89();while(!![]){try{const _0x5ac10d=-parseInt(_0x206798(0xd5))/0x1+parseInt(_0x206798(0xcf))/0x2+parseInt(_0x206798(0xde))/0x3*(-parseInt(_0x206798(0xb4))/0x4)+parseInt(_0x206798(0xdd))/0x5*(-parseInt(_0x206798(0xe2))/0x6)+parseInt(_0x206798(0xb8))/0x7*(parseInt(_0x206798(0xea))/0x8)+-parseInt(_0x206798(0xbe))/0x9+parseInt(_0x206798(0xe5))/0xa;if(_0x5ac10d===_0xba3f2a)break;else _0x2e7473['push'](_0x2e7473['shift']());}catch(_0x3daa0c){_0x2e7473['push'](_0x2e7473['shift']());}}}(_0x1cd1,0x51706));import{ContextPlugin as _0x35f650}from'ckeditor5/src/core.js';function _0x1cd1(){const _0x2e0505=['requires','5655888ZxzXya','set','_handleSessionAdd','register','_handleSessionRemove','state','clear','Sessions','role','context','defineMe','getUser','assign','pluginName','fire','forEach','channelConnectedUsers','566998xqnyuT','isOfficialPlugin','add','listenTo','_createUser','plugins','528019LURLIy','allConnectedUsers','sessions-unregister-not-exist','sessions-register-already-registered','stopListening','channelSessions','orderNumber','change:state','1209055IaARLT','2241wZhnBb','getUserBySessionId','remove','connection','6CSwYRd','delete','getUserSessions','11405610IqNvSI','get','sessionAdd:','mySessionId','connected','3962184wjiQOG','isMe','getUserRole','sessionId','user','values','_users','has','1004TizTCn','_uniqueUsersCount','unregister','_registeredSessions','7JqMxys','addUser','isPremiumPlugin','init','size'];_0x1cd1=function(){return _0x2e0505;};return _0x1cd1();}import{Collection as _0x2ff111,CKEditorError as _0x38965a}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x5998bd}from'./websocketgateway.js';import{Users as _0x4d6cd7}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4d19(_0x214c1b,_0x4b3886){const _0x1cd10e=_0x1cd1();return _0x4d19=function(_0x4d19af,_0x236c3d){_0x4d19af=_0x4d19af-0xb1;let _0x1b7982=_0x1cd10e[_0x4d19af];return _0x1b7982;},_0x4d19(_0x214c1b,_0x4b3886);}export class Sessions extends _0x35f650{[_0x4a1f4e(0xda)];[_0x4a1f4e(0xce)];[_0x4a1f4e(0xd6)];[_0x4a1f4e(0xb7)];[_0x4a1f4e(0xb5)];[_0x4a1f4e(0xb2)];static get[_0x4a1f4e(0xcb)](){const _0x2c08c8=_0x4a1f4e;return _0x2c08c8(0xc5);}static get[_0x4a1f4e(0xd0)](){return!0x0;}static get[_0x4a1f4e(0xba)](){return!0x0;}static get[_0x4a1f4e(0xbd)](){return[_0x5998bd,_0x4d6cd7];}constructor(_0x90d0e9){const _0x19c47f=_0x4a1f4e;super(_0x90d0e9),this[_0x19c47f(0xda)]=new Map(),this[_0x19c47f(0xce)]=new Map(),this[_0x19c47f(0xd6)]=new _0x2ff111(),this[_0x19c47f(0xb7)]=new Map(),this[_0x19c47f(0xb5)]=0x0,this[_0x19c47f(0xb2)]=this[_0x19c47f(0xc7)][_0x19c47f(0xd4)][_0x19c47f(0xe6)](_0x4d6cd7);}[_0x4a1f4e(0xbb)](){const _0x202701=_0x4a1f4e,_0x58fa67=this[_0x202701(0xc7)][_0x202701(0xd4)][_0x202701(0xe6)](_0x5998bd);this[_0x202701(0xd2)](_0x58fa67,_0x202701(0xdc),(_0x36070f,_0x4c145d,_0x3ff66f)=>{const _0x21165d=_0x202701;if(_0x21165d(0xe9)!==_0x3ff66f)this[_0x21165d(0xda)][_0x21165d(0xcd)](_0x36392b=>_0x36392b[_0x21165d(0xc4)]()),this[_0x21165d(0xce)][_0x21165d(0xcd)](_0x31545d=>_0x31545d[_0x21165d(0xc4)]()),this[_0x21165d(0xd6)][_0x21165d(0xc4)]();else{for(const [_0x5eb14e,_0x41568d]of this[_0x21165d(0xb7)])for(const _0x4e6ba6 of _0x41568d)this[_0x21165d(0xc0)](_0x5eb14e,_0x4e6ba6);}}),this[_0x202701(0xd3)](_0x58fa67[_0x202701(0xe1)]['me'],!0x0);}[_0x4a1f4e(0xc1)](_0x3d11f6,_0x2f78de){const _0x5c0e7b=_0x4a1f4e;if(this[_0x5c0e7b(0xb7)][_0x5c0e7b(0xb3)](_0x3d11f6))throw new _0x38965a(_0x5c0e7b(0xd8),null,{'channelId':_0x3d11f6});this[_0x5c0e7b(0xb7)][_0x5c0e7b(0xbf)](_0x3d11f6,_0x2f78de),this[_0x5c0e7b(0xda)][_0x5c0e7b(0xbf)](_0x3d11f6,new _0x2ff111()),this[_0x5c0e7b(0xce)][_0x5c0e7b(0xbf)](_0x3d11f6,new _0x2ff111()),this[_0x5c0e7b(0xd2)](_0x2f78de,_0x5c0e7b(0xd1),(_0x285d95,_0x2f4f1f)=>this[_0x5c0e7b(0xc0)](_0x3d11f6,_0x2f4f1f)),this[_0x5c0e7b(0xd2)](_0x2f78de,_0x5c0e7b(0xe0),(_0x2be0a8,_0x47c295)=>this[_0x5c0e7b(0xc2)](_0x3d11f6,_0x47c295));for(const _0x1eeb17 of _0x2f78de)this[_0x5c0e7b(0xc0)](_0x3d11f6,_0x1eeb17);}[_0x4a1f4e(0xb6)](_0x41159c){const _0x4f6410=_0x4a1f4e;if(!this[_0x4f6410(0xb7)][_0x4f6410(0xb3)](_0x41159c))throw new _0x38965a(_0x4f6410(0xd7),null,{'channelId':_0x41159c});const _0x5b2369=this[_0x4f6410(0xb7)][_0x4f6410(0xe6)](_0x41159c);this[_0x4f6410(0xd9)](_0x5b2369);for(const _0x599c64 of _0x5b2369)_0x4f6410(0xe9)===this[_0x4f6410(0xc7)][_0x4f6410(0xd4)][_0x4f6410(0xe6)](_0x5998bd)[_0x4f6410(0xc3)]&&this[_0x4f6410(0xc2)](_0x41159c,_0x599c64);this[_0x4f6410(0xb7)][_0x4f6410(0xe3)](_0x41159c),this[_0x4f6410(0xda)][_0x4f6410(0xe3)](_0x41159c),this[_0x4f6410(0xce)][_0x4f6410(0xe3)](_0x41159c);}get[_0x4a1f4e(0xe8)](){const _0x219fd4=_0x4a1f4e;return this[_0x219fd4(0xc7)][_0x219fd4(0xd4)][_0x219fd4(0xe6)](_0x5998bd)[_0x219fd4(0xe1)][_0x219fd4(0xed)];}[_0x4a1f4e(0xdf)](_0x472d89){const _0xd04cc6=_0x4a1f4e;for(const _0x414d73 of this[_0xd04cc6(0xda)][_0xd04cc6(0xb1)]())for(const _0x158953 of _0x414d73)if(_0x158953['id']===_0x472d89)return _0x158953[_0xd04cc6(0xee)];}[_0x4a1f4e(0xe4)](_0x18b921,_0x4c2256){const _0x29f026=_0x4a1f4e,_0x3bf7d0=_0x4c2256?[this[_0x29f026(0xda)][_0x29f026(0xe6)](_0x4c2256)]:this[_0x29f026(0xda)][_0x29f026(0xb1)](),_0x587551=new Set();for(const _0x53293f of _0x3bf7d0)for(const _0xab4727 of _0x53293f)_0xab4727[_0x29f026(0xee)]['id']===_0x18b921['id']&&_0x587551[_0x29f026(0xd1)](_0xab4727['id']);return _0x587551;}[_0x4a1f4e(0xec)](_0x2c87fc){const _0x2b64f3=_0x4a1f4e;for(const _0x5b33b0 of this[_0x2b64f3(0xda)][_0x2b64f3(0xb1)]())for(const _0x1d9f4f of _0x5b33b0)if(_0x1d9f4f[_0x2b64f3(0xee)]===_0x2c87fc)return _0x1d9f4f[_0x2b64f3(0xc6)];}[_0x4a1f4e(0xc0)](_0x56c879,_0x473326){const _0x401491=_0x4a1f4e;if(_0x401491(0xe9)!==this[_0x401491(0xc7)][_0x401491(0xd4)][_0x401491(0xe6)](_0x5998bd)[_0x401491(0xc3)])return;const _0x4eeaac=_0x473326[_0x401491(0xee)],_0x55db3a=this[_0x401491(0xb2)][_0x401491(0xc9)](_0x4eeaac['id'])||this[_0x401491(0xd3)](_0x4eeaac),_0x37eb29=Object[_0x401491(0xca)]({},_0x473326,{'user':_0x55db3a});this[_0x401491(0xda)][_0x401491(0xe6)](_0x56c879)[_0x401491(0xd1)](_0x37eb29);const _0x185262=this[_0x401491(0xce)][_0x401491(0xe6)](_0x56c879);_0x185262[_0x401491(0xb3)](_0x55db3a['id'])||_0x185262[_0x401491(0xd1)](_0x55db3a),this[_0x401491(0xd6)][_0x401491(0xb3)](_0x55db3a['id'])||this[_0x401491(0xd6)][_0x401491(0xd1)](_0x55db3a,_0x55db3a[_0x401491(0xeb)]?0x0:void 0x0),this[_0x401491(0xcc)](_0x401491(0xe7)+_0x56c879,{'channelId':_0x56c879,'session':_0x37eb29});}[_0x4a1f4e(0xc2)](_0xa4ac64,_0xd423d4){const _0x22d3af=_0x4a1f4e;if(_0x22d3af(0xe9)!==this[_0x22d3af(0xc7)][_0x22d3af(0xd4)][_0x22d3af(0xe6)](_0x5998bd)[_0x22d3af(0xc3)])return;const _0x36b112=this[_0x22d3af(0xce)][_0x22d3af(0xe6)](_0xa4ac64),_0x5373e9=_0xd423d4[_0x22d3af(0xee)];_0x5373e9['id']&&(this[_0x22d3af(0xda)][_0x22d3af(0xe6)](_0xa4ac64)[_0x22d3af(0xe0)](_0xd423d4['id']),_0x36b112[_0x22d3af(0xb3)](_0x5373e9['id'])&&!this[_0x22d3af(0xe4)](_0x5373e9,_0xa4ac64)[_0x22d3af(0xbc)]&&_0x36b112[_0x22d3af(0xe0)](_0x5373e9['id']),this[_0x22d3af(0xd6)][_0x22d3af(0xe6)](_0x5373e9['id'])&&!this[_0x22d3af(0xe4)](_0x5373e9)[_0x22d3af(0xbc)]&&this[_0x22d3af(0xd6)][_0x22d3af(0xe0)](_0x5373e9['id']));}[_0x4a1f4e(0xd3)](_0x73474,_0xc7754f){const _0x5d45bd=_0x4a1f4e,_0x360ff4=this[_0x5d45bd(0xb2)][_0x5d45bd(0xb9)](_0x73474);return _0xc7754f&&this[_0x5d45bd(0xb2)][_0x5d45bd(0xc8)](_0x73474['id']),_0x360ff4[_0x5d45bd(0xdb)]=this[_0x5d45bd(0xb5)]++,_0x360ff4;}}
23
+ const _0x108bac=_0x5823;(function(_0x238316,_0x30f1b5){const _0x56b47c=_0x5823,_0x1eadf8=_0x238316();while(!![]){try{const _0x1af2b2=parseInt(_0x56b47c(0x108))/0x1+-parseInt(_0x56b47c(0x112))/0x2+parseInt(_0x56b47c(0x111))/0x3*(parseInt(_0x56b47c(0xff))/0x4)+parseInt(_0x56b47c(0x107))/0x5*(parseInt(_0x56b47c(0xf1))/0x6)+parseInt(_0x56b47c(0x100))/0x7+-parseInt(_0x56b47c(0xe7))/0x8*(-parseInt(_0x56b47c(0xf6))/0x9)+parseInt(_0x56b47c(0x105))/0xa*(-parseInt(_0x56b47c(0xfe))/0xb);if(_0x1af2b2===_0x30f1b5)break;else _0x1eadf8['push'](_0x1eadf8['shift']());}catch(_0x39b0c6){_0x1eadf8['push'](_0x1eadf8['shift']());}}}(_0x2d6a,0x6da89));function _0x5823(_0x27b81e,_0x444f4a){const _0x2d6a08=_0x2d6a();return _0x5823=function(_0x582383,_0x109867){_0x582383=_0x582383-0xe2;let _0x3d6cbc=_0x2d6a08[_0x582383];return _0x3d6cbc;},_0x5823(_0x27b81e,_0x444f4a);}import{ContextPlugin as _0x5363de}from'ckeditor5/src/core.js';import{Collection as _0x38fd6b,CKEditorError as _0x2bb562}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4b97de}from'./websocketgateway.js';import{Users as _0x3a812c}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2d6a(){const _0x57f77d=['5EWzLRQ','764207JvPLAU','remove','listenTo','allConnectedUsers','_users','unregister','getUserBySessionId','_registeredSessions','_handleSessionAdd','51kbqgXs','1683514oKYepx','forEach','init','state','channelSessions','isMe','role','orderNumber','requires','fire','getUser','sessionAdd:','Sessions','register','getUserSessions','clear','_handleSessionRemove','has','plugins','sessionId','8EgTqeq','context','get','assign','addUser','sessions-register-already-registered','values','stopListening','pluginName','set','1539834osqqaZ','change:state','delete','_uniqueUsersCount','sessions-unregister-not-exist','3939543TLKvbE','defineMe','channelConnectedUsers','size','isOfficialPlugin','add','_createUser','connected','1727fpovRt','67708miXvGS','3176411fPojvr','getUserRole','connection','mySessionId','user','57910sQtHmZ','isPremiumPlugin'];_0x2d6a=function(){return _0x57f77d;};return _0x2d6a();}export class Sessions extends _0x5363de{[_0x108bac(0x116)];[_0x108bac(0xf8)];[_0x108bac(0x10b)];[_0x108bac(0x10f)];[_0x108bac(0xf4)];[_0x108bac(0x10c)];static get[_0x108bac(0xef)](){const _0x3746fe=_0x108bac;return _0x3746fe(0x11e);}static get[_0x108bac(0xfa)](){return!0x0;}static get[_0x108bac(0x106)](){return!0x0;}static get[_0x108bac(0x11a)](){return[_0x4b97de,_0x3a812c];}constructor(_0x5c60fc){const _0xa075e1=_0x108bac;super(_0x5c60fc),this[_0xa075e1(0x116)]=new Map(),this[_0xa075e1(0xf8)]=new Map(),this[_0xa075e1(0x10b)]=new _0x38fd6b(),this[_0xa075e1(0x10f)]=new Map(),this[_0xa075e1(0xf4)]=0x0,this[_0xa075e1(0x10c)]=this[_0xa075e1(0xe8)][_0xa075e1(0xe5)][_0xa075e1(0xe9)](_0x3a812c);}[_0x108bac(0x114)](){const _0x5e51d6=_0x108bac,_0x337cd1=this[_0x5e51d6(0xe8)][_0x5e51d6(0xe5)][_0x5e51d6(0xe9)](_0x4b97de);this[_0x5e51d6(0x10a)](_0x337cd1,_0x5e51d6(0xf2),(_0x389b93,_0x48c522,_0x1507b7)=>{const _0x2992f3=_0x5e51d6;if(_0x2992f3(0xfd)!==_0x1507b7)this[_0x2992f3(0x116)][_0x2992f3(0x113)](_0x53162c=>_0x53162c[_0x2992f3(0xe2)]()),this[_0x2992f3(0xf8)][_0x2992f3(0x113)](_0x54888a=>_0x54888a[_0x2992f3(0xe2)]()),this[_0x2992f3(0x10b)][_0x2992f3(0xe2)]();else{for(const [_0x34900c,_0x4d03b4]of this[_0x2992f3(0x10f)])for(const _0x333948 of _0x4d03b4)this[_0x2992f3(0x110)](_0x34900c,_0x333948);}}),this[_0x5e51d6(0xfc)](_0x337cd1[_0x5e51d6(0x102)]['me'],!0x0);}[_0x108bac(0x11f)](_0x53a40f,_0x1c3ae8){const _0x46dfe0=_0x108bac;if(this[_0x46dfe0(0x10f)][_0x46dfe0(0xe4)](_0x53a40f))throw new _0x2bb562(_0x46dfe0(0xec),null,{'channelId':_0x53a40f});this[_0x46dfe0(0x10f)][_0x46dfe0(0xf0)](_0x53a40f,_0x1c3ae8),this[_0x46dfe0(0x116)][_0x46dfe0(0xf0)](_0x53a40f,new _0x38fd6b()),this[_0x46dfe0(0xf8)][_0x46dfe0(0xf0)](_0x53a40f,new _0x38fd6b()),this[_0x46dfe0(0x10a)](_0x1c3ae8,_0x46dfe0(0xfb),(_0x47e921,_0x2840c1)=>this[_0x46dfe0(0x110)](_0x53a40f,_0x2840c1)),this[_0x46dfe0(0x10a)](_0x1c3ae8,_0x46dfe0(0x109),(_0x440e49,_0x53d386)=>this[_0x46dfe0(0xe3)](_0x53a40f,_0x53d386));for(const _0x328063 of _0x1c3ae8)this[_0x46dfe0(0x110)](_0x53a40f,_0x328063);}[_0x108bac(0x10d)](_0x4ebb54){const _0x115acb=_0x108bac;if(!this[_0x115acb(0x10f)][_0x115acb(0xe4)](_0x4ebb54))throw new _0x2bb562(_0x115acb(0xf5),null,{'channelId':_0x4ebb54});const _0x5028de=this[_0x115acb(0x10f)][_0x115acb(0xe9)](_0x4ebb54);this[_0x115acb(0xee)](_0x5028de);for(const _0xbb1a24 of _0x5028de)_0x115acb(0xfd)===this[_0x115acb(0xe8)][_0x115acb(0xe5)][_0x115acb(0xe9)](_0x4b97de)[_0x115acb(0x115)]&&this[_0x115acb(0xe3)](_0x4ebb54,_0xbb1a24);this[_0x115acb(0x10f)][_0x115acb(0xf3)](_0x4ebb54),this[_0x115acb(0x116)][_0x115acb(0xf3)](_0x4ebb54),this[_0x115acb(0xf8)][_0x115acb(0xf3)](_0x4ebb54);}get[_0x108bac(0x103)](){const _0xcd7270=_0x108bac;return this[_0xcd7270(0xe8)][_0xcd7270(0xe5)][_0xcd7270(0xe9)](_0x4b97de)[_0xcd7270(0x102)][_0xcd7270(0xe6)];}[_0x108bac(0x10e)](_0x51e673){const _0x1cebea=_0x108bac;for(const _0x427cdb of this[_0x1cebea(0x116)][_0x1cebea(0xed)]())for(const _0x5a559 of _0x427cdb)if(_0x5a559['id']===_0x51e673)return _0x5a559[_0x1cebea(0x104)];}[_0x108bac(0x120)](_0x38e5dd,_0x22a411){const _0x6411e5=_0x108bac,_0xf8f3b=_0x22a411?[this[_0x6411e5(0x116)][_0x6411e5(0xe9)](_0x22a411)]:this[_0x6411e5(0x116)][_0x6411e5(0xed)](),_0x834c1e=new Set();for(const _0x2445c1 of _0xf8f3b)for(const _0x2002d3 of _0x2445c1)_0x2002d3[_0x6411e5(0x104)]['id']===_0x38e5dd['id']&&_0x834c1e[_0x6411e5(0xfb)](_0x2002d3['id']);return _0x834c1e;}[_0x108bac(0x101)](_0x2be227){const _0x20e4c9=_0x108bac;for(const _0xb486fd of this[_0x20e4c9(0x116)][_0x20e4c9(0xed)]())for(const _0x52c7f6 of _0xb486fd)if(_0x52c7f6[_0x20e4c9(0x104)]===_0x2be227)return _0x52c7f6[_0x20e4c9(0x118)];}[_0x108bac(0x110)](_0x29cf70,_0xe4362c){const _0x3b6617=_0x108bac;if(_0x3b6617(0xfd)!==this[_0x3b6617(0xe8)][_0x3b6617(0xe5)][_0x3b6617(0xe9)](_0x4b97de)[_0x3b6617(0x115)])return;const _0x437fd1=_0xe4362c[_0x3b6617(0x104)],_0x2e16bb=this[_0x3b6617(0x10c)][_0x3b6617(0x11c)](_0x437fd1['id'])||this[_0x3b6617(0xfc)](_0x437fd1),_0x10a5da=Object[_0x3b6617(0xea)]({},_0xe4362c,{'user':_0x2e16bb});this[_0x3b6617(0x116)][_0x3b6617(0xe9)](_0x29cf70)[_0x3b6617(0xfb)](_0x10a5da);const _0xe383bb=this[_0x3b6617(0xf8)][_0x3b6617(0xe9)](_0x29cf70);_0xe383bb[_0x3b6617(0xe4)](_0x2e16bb['id'])||_0xe383bb[_0x3b6617(0xfb)](_0x2e16bb),this[_0x3b6617(0x10b)][_0x3b6617(0xe4)](_0x2e16bb['id'])||this[_0x3b6617(0x10b)][_0x3b6617(0xfb)](_0x2e16bb,_0x2e16bb[_0x3b6617(0x117)]?0x0:void 0x0),this[_0x3b6617(0x11b)](_0x3b6617(0x11d)+_0x29cf70,{'channelId':_0x29cf70,'session':_0x10a5da});}[_0x108bac(0xe3)](_0x214def,_0x27f73d){const _0x332660=_0x108bac;if(_0x332660(0xfd)!==this[_0x332660(0xe8)][_0x332660(0xe5)][_0x332660(0xe9)](_0x4b97de)[_0x332660(0x115)])return;const _0x26f951=this[_0x332660(0xf8)][_0x332660(0xe9)](_0x214def),_0x56005e=_0x27f73d[_0x332660(0x104)];_0x56005e['id']&&(this[_0x332660(0x116)][_0x332660(0xe9)](_0x214def)[_0x332660(0x109)](_0x27f73d['id']),_0x26f951[_0x332660(0xe4)](_0x56005e['id'])&&!this[_0x332660(0x120)](_0x56005e,_0x214def)[_0x332660(0xf9)]&&_0x26f951[_0x332660(0x109)](_0x56005e['id']),this[_0x332660(0x10b)][_0x332660(0xe9)](_0x56005e['id'])&&!this[_0x332660(0x120)](_0x56005e)[_0x332660(0xf9)]&&this[_0x332660(0x10b)][_0x332660(0x109)](_0x56005e['id']));}[_0x108bac(0xfc)](_0xd6f47a,_0x3f6b95){const _0x81f168=_0x108bac,_0x340298=this[_0x81f168(0x10c)][_0x81f168(0xeb)](_0xd6f47a);return _0x3f6b95&&this[_0x81f168(0x10c)][_0x81f168(0xf7)](_0xd6f47a['id']),_0x340298[_0x81f168(0x119)]=this[_0x81f168(0xf4)]++,_0x340298;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x55d7(){const _0x1f8285=['root','$graveyard','afterInit','getMarkerClass','remove','toRange','hasDomSelection','document','getFirstRange','has','newRange','schema','isObject','createUserMarkerOperations','createUIElement','markerRange','827776QzQEEs','getRange','ck-user__selection','reconvertMarker','addEventListener','markers','createElement','classList','element','isLimit','editingDowncast','Escape','change','change:range','UserMarkers','addMarker','9egfjPb','model','setCustomProperty','start','add','applyOperation','createRange','nodeAfter','getNearestSelectionRange','isDocumentOperation','editor','mouseleave','isSimilar','36810Qouocm','rootName','innerHTML','560PXCWZo','stopListening','false','13745430AlcFVN','oldRange','ck-user__marker-tooltip','removeClass','type','userPositionMarker','editing','isCollapsed','update:user:range','11bQAuQJ','highest','delete','undo','20728368XIaLGR','mySessionId','_createdBatches','108INVTQn','selection','parent','isOfficialPlugin','requires','spellcheck','view','span','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','contenteditable','getSelectionClass','batch','pluginName','mouseenter','textContent','$text','getCustomProperty','conversion','markerName','465074ilZgeo','removeMarker','getContainedElement','user:range','startsWith','getStart','deletionPosition','updateMarker','enqueueChange','isInline','ck-user__marker_hovered','data-session-id','size','ck-user__marker\x20','commands','destroy','getUserBySessionId','markerToElement','markerToHighlight','checkChild','user:position','111eoTSbE','for','clear','color','user:','user:range:','user:position:','fromRange','tableCell','init','split','hasContent','listenTo','render','_domEmitter','name','marker','markerNameToElements','end','orderNumber','detach','get','toDomElement','isPremiumPlugin','48748TLdWxh','getPositions','mapper','set','15379jDifnf','setAttribute','outerHTML','getAttribute','keydown','plugins'];_0x55d7=function(){return _0x1f8285;};return _0x55d7();}const _0x559e8d=_0x56be;(function(_0x1e79f2,_0x310bde){const _0x3f8b59=_0x56be,_0xaefa8b=_0x1e79f2();while(!![]){try{const _0x2b338=parseInt(_0x3f8b59(0x18c))/0x1+parseInt(_0x3f8b59(0x163))/0x2*(-parseInt(_0x3f8b59(0x1a1))/0x3)+-parseInt(_0x3f8b59(0x12c))/0x4*(-parseInt(_0x3f8b59(0x166))/0x5)+-parseInt(_0x3f8b59(0x179))/0x6*(-parseInt(_0x3f8b59(0x130))/0x7)+parseInt(_0x3f8b59(0x146))/0x8*(-parseInt(_0x3f8b59(0x156))/0x9)+parseInt(_0x3f8b59(0x169))/0xa+-parseInt(_0x3f8b59(0x172))/0xb*(parseInt(_0x3f8b59(0x176))/0xc);if(_0x2b338===_0x310bde)break;else _0xaefa8b['push'](_0xaefa8b['shift']());}catch(_0x59ddca){_0xaefa8b['push'](_0xaefa8b['shift']());}}}(_0x55d7,0xb2c7e));import{Plugin as _0x420643}from'ckeditor5/src/core.js';function _0x56be(_0x29a153,_0x113a4b){const _0x55d789=_0x55d7();return _0x56be=function(_0x56bee4,_0x1ab2c7){_0x56bee4=_0x56bee4-0x116;let _0x5fac7=_0x55d789[_0x56bee4];return _0x5fac7;},_0x56be(_0x29a153,_0x113a4b);}import{global as _0x456a78,DomEmitterMixin as _0x13fe45}from'ckeditor5/src/utils.js';import{Sessions as _0x2df1ed}from'./sessions.js';import{ModelLiveRange as _0x153383}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x420643{[_0x559e8d(0x122)]=new(_0x13fe45())();static get[_0x559e8d(0x17d)](){return[_0x2df1ed];}static get[_0x559e8d(0x185)](){const _0x139e8f=_0x559e8d;return _0x139e8f(0x154);}static get[_0x559e8d(0x17c)](){return!0x0;}static get[_0x559e8d(0x12b)](){return!0x0;}[_0x559e8d(0x11d)](){const _0x4fe195=_0x559e8d,_0x6fbc6d=this[_0x4fe195(0x160)],_0x419444=_0x6fbc6d[_0x4fe195(0x135)][_0x4fe195(0x129)](_0x2df1ed);_0x6fbc6d[_0x4fe195(0x18a)][_0x4fe195(0x1a2)](_0x4fe195(0x150))[_0x4fe195(0x19d)]({'model':_0x4fe195(0x1a0),'view':(_0x10d9d9,{writer:_0x288073})=>function(_0x8f4598,_0xcd2495,_0x169f1c,_0x504f2f){const _0x577ded=_0x4fe195,_0x3a2860=_0x8f4598[_0x577ded(0x18b)][_0x577ded(0x11e)](':')[0x2],_0x3ac7ad=_0x169f1c[_0x577ded(0x19c)](_0x3a2860);if(!_0x3ac7ad||_0x3a2860===_0x169f1c[_0x577ded(0x177)])return;if(!_0x504f2f[_0x577ded(0x157)][_0x577ded(0x141)][_0x577ded(0x19f)](_0x8f4598[_0x577ded(0x145)][_0x577ded(0x159)],_0x577ded(0x188)))return;const _0x129f6f={'class':_0x577ded(0x199)+_0x3ac7ad[_0x577ded(0x117)][_0x577ded(0x139)](),'data-name':_0x3ac7ad[_0x577ded(0x123)],'data-session-id':_0x3a2860},_0x5a8fff=_0x504f2f[_0x577ded(0x157)][_0x577ded(0x14b)][_0x577ded(0x129)](_0x8f4598[_0x577ded(0x18b)]),_0xf061e7=_0x5a8fff[_0x577ded(0x191)](),_0x57f3d2=_0xf061e7[_0x577ded(0x15d)],_0x3dd8d7=_0x504f2f[_0x577ded(0x157)][_0x577ded(0x141)];if(_0x57f3d2&&_0x3dd8d7[_0x577ded(0x142)](_0x57f3d2)&&_0x3dd8d7[_0x577ded(0x195)](_0x57f3d2)&&!_0x504f2f[_0x577ded(0x157)][_0x577ded(0x14b)][_0x577ded(0x129)](_0x577ded(0x119)+_0x3a2860)[_0x577ded(0x147)]()[_0x577ded(0x170)])return;const _0x216598=_0xf061e7[_0x577ded(0x17b)];return _0x504f2f[_0x577ded(0x157)][_0x577ded(0x141)][_0x577ded(0x14f)](_0x216598)&&!_0x504f2f[_0x577ded(0x157)][_0x577ded(0x11f)](_0x216598)&&(_0x129f6f[_0x577ded(0x182)]=!0x1),function(_0x1574b3,_0x3ff069,_0x42f60f){const _0x1ebe5b=_0x577ded,_0x5060c6=_0x1574b3[_0x1ebe5b(0x144)](_0x1ebe5b(0x180),_0x3ff069);return _0x1574b3[_0x1ebe5b(0x158)](_0x1ebe5b(0x16e),!0x0,_0x5060c6),_0x5060c6[_0x1ebe5b(0x121)]=function(_0x502e19){const _0x221a49=_0x1ebe5b,_0x4e475c=this[_0x221a49(0x12a)](_0x502e19),_0x315511=document[_0x221a49(0x14c)](_0x221a49(0x180));return _0x315511[_0x221a49(0x14d)][_0x221a49(0x15a)](_0x221a49(0x16b)),_0x315511[_0x221a49(0x131)](_0x221a49(0x182),_0x221a49(0x168)),_0x315511[_0x221a49(0x131)](_0x221a49(0x17e),_0x221a49(0x168)),_0x315511[_0x221a49(0x187)]=_0x42f60f[_0x221a49(0x123)],_0x4e475c[_0x221a49(0x165)]=_0x221a49(0x181)+_0x315511[_0x221a49(0x132)]+'⁠',_0x4e475c[_0x221a49(0x14a)](_0x221a49(0x186),()=>{const _0x18a39a=_0x221a49;_0x4e475c[_0x18a39a(0x14d)][_0x18a39a(0x15a)](_0x18a39a(0x196));}),_0x4e475c[_0x221a49(0x14a)](_0x221a49(0x161),()=>{const _0x58e061=_0x221a49;_0x4e475c[_0x58e061(0x14d)][_0x58e061(0x13a)](_0x58e061(0x196));}),_0x4e475c;},_0x5060c6[_0x1ebe5b(0x162)]=function(_0x5c1225){const _0x3d137a=_0x1ebe5b;return!(!this[_0x3d137a(0x189)](_0x3d137a(0x16e))||!_0x5c1225[_0x3d137a(0x189)](_0x3d137a(0x16e))||this[_0x3d137a(0x133)](_0x3d137a(0x197))!=_0x5c1225[_0x3d137a(0x133)](_0x3d137a(0x197)));},_0x5060c6;}(_0xcd2495,_0x129f6f,_0x3ac7ad);}(_0x10d9d9,_0x288073,_0x419444,_0x6fbc6d)}),_0x6fbc6d[_0x4fe195(0x18a)][_0x4fe195(0x1a2)](_0x4fe195(0x150))[_0x4fe195(0x19e)]({'model':_0x4fe195(0x18f),'view':_0x501738=>function(_0x273dc1,_0x7c71ed){const _0x2b8ef3=_0x4fe195,_0x1629ee=_0x273dc1[_0x2b8ef3(0x18b)][_0x2b8ef3(0x11e)](':')[0x2];if(_0x1629ee===_0x7c71ed[_0x2b8ef3(0x177)])return null;const _0x26a2f9=_0x7c71ed[_0x2b8ef3(0x19c)](_0x1629ee);if(!_0x26a2f9)return{'id':_0x1629ee,'classes':[]};return{'id':_0x1629ee,'classes':[_0x2b8ef3(0x148),_0x26a2f9[_0x2b8ef3(0x117)][_0x2b8ef3(0x183)]()],'attributes':{'data-session-id':_0x1629ee},'priority':0x7d0+_0x26a2f9[_0x2b8ef3(0x127)]};}(_0x501738,_0x419444)}),function(_0x3a856f){const _0x23bee7=_0x4fe195,_0xe607e8=_0x3a856f[_0x23bee7(0x157)],_0x4109b0=new Map(),_0x22b985=_0x3a856f[_0x23bee7(0x135)][_0x23bee7(0x129)](_0x2df1ed);_0xe607e8[_0x23bee7(0x14b)]['on'](_0x23bee7(0x171),(_0x3f67fd,_0x421c39,_0x197f78,_0x14ce88)=>{const _0x190dd1=_0x23bee7;if(!_0x14ce88&&_0x4109b0[_0x190dd1(0x129)](_0x421c39[_0x190dd1(0x123)]))return _0x4109b0[_0x190dd1(0x129)](_0x421c39[_0x190dd1(0x123)])[_0x190dd1(0x128)](),void _0x4109b0[_0x190dd1(0x174)](_0x421c39[_0x190dd1(0x123)]);const _0x5051a6=_0x421c39[_0x190dd1(0x123)][_0x190dd1(0x11e)](':')[0x2];if(_0x5051a6===_0x22b985[_0x190dd1(0x177)])return;const _0xda82bc=_0x190dd1(0x11a)+_0x5051a6;_0xe607e8[_0x190dd1(0x14b)][_0x190dd1(0x13f)](_0xda82bc)&&_0x3a856f[_0x190dd1(0x16f)][_0x190dd1(0x149)](_0xda82bc),_0x421c39['on'](_0x190dd1(0x153),(_0x38b79c,_0x5be864,_0x2388df)=>{const _0x362028=_0x190dd1;if(_0x362028(0x137)!=_0x5be864[_0x362028(0x136)][_0x362028(0x164)]&&_0x362028(0x137)==_0x421c39[_0x362028(0x147)]()[_0x362028(0x136)][_0x362028(0x164)]&&!_0x4109b0[_0x362028(0x13f)](_0x421c39[_0x362028(0x123)])){const _0x4b88f7=_0xe607e8[_0x362028(0x141)][_0x362028(0x15e)](_0x2388df[_0x362028(0x192)]);if(_0x4b88f7){const _0x5e722f=_0x153383[_0x362028(0x11b)](_0x4b88f7);_0x4109b0[_0x362028(0x12f)](_0x421c39[_0x362028(0x123)],_0x5e722f),_0x5e722f['on'](_0x362028(0x153),(_0x78df24,_0x488477,_0x43a31d)=>{const _0x402a5a=_0x362028;if(_0x402a5a(0x137)==_0x5e722f[_0x402a5a(0x136)][_0x402a5a(0x164)]){const _0x46235c=_0xe607e8[_0x402a5a(0x141)][_0x402a5a(0x15e)](_0x43a31d[_0x402a5a(0x192)]);_0x46235c?(_0x5e722f[_0x402a5a(0x159)]=_0x46235c[_0x402a5a(0x159)],_0x5e722f[_0x402a5a(0x126)]=_0x46235c[_0x402a5a(0x126)]):(_0x4109b0[_0x402a5a(0x174)](_0x421c39[_0x402a5a(0x123)]),_0x5e722f[_0x402a5a(0x128)]());}});}}});}),_0xe607e8[_0x23bee7(0x13d)]['on'](_0x23bee7(0x152),()=>{const _0x315a79=_0x23bee7;_0x4109b0[_0x315a79(0x198)]>0x0&&_0xe607e8[_0x315a79(0x194)]({'isUndoable':!0x1},_0x57b650=>{const _0x59f80c=_0x315a79;for(const [_0x4ce052,_0x3bd485]of _0x4109b0)_0x59f80c(0x137)==_0xe607e8[_0x59f80c(0x14b)][_0x59f80c(0x129)](_0x4ce052)[_0x59f80c(0x147)]()[_0x59f80c(0x136)][_0x59f80c(0x164)]&&(Z(_0x4ce052[_0x59f80c(0x11e)](':')[0x2],_0x3bd485[_0x59f80c(0x13b)](),_0xe607e8,_0x57b650),_0x3bd485[_0x59f80c(0x128)]());_0x4109b0[_0x59f80c(0x116)]();});});}(_0x6fbc6d),this[_0x4fe195(0x122)][_0x4fe195(0x120)](_0x456a78[_0x4fe195(0x13d)],_0x4fe195(0x134),(_0x55defa,{key:_0x4d34eb})=>{const _0x451b1e=_0x4fe195;_0x451b1e(0x151)===_0x4d34eb&&function(_0x56a218){const _0x21106f=_0x451b1e;_0x56a218[_0x21106f(0x16f)][_0x21106f(0x17f)][_0x21106f(0x152)](_0x4c7427=>{const _0x2dc302=_0x21106f;for(const _0xf5fda3 of _0x56a218[_0x2dc302(0x157)][_0x2dc302(0x14b)]){if(!_0xf5fda3[_0x2dc302(0x123)][_0x2dc302(0x190)](_0x2dc302(0x1a0)))continue;const _0x5e275f=_0x56a218[_0x2dc302(0x16f)][_0x2dc302(0x12e)][_0x2dc302(0x125)](_0xf5fda3[_0x2dc302(0x123)]);if(_0x5e275f){for(const _0x37f5ba of _0x5e275f)_0x4c7427[_0x2dc302(0x16c)](_0x2dc302(0x196),_0x37f5ba);}}});}(_0x6fbc6d);},{'useCapture':!0x0});}[_0x559e8d(0x138)](){const _0x2a9845=_0x559e8d,_0x4abcd7=this[_0x2a9845(0x160)],_0x270e82=_0x4abcd7[_0x2a9845(0x19a)][_0x2a9845(0x129)](_0x2a9845(0x175));_0x270e82&&_0x4abcd7[_0x2a9845(0x157)]['on'](_0x2a9845(0x15b),(_0x5cdfeb,_0x2889b5)=>{const _0x4d4202=_0x2a9845,_0x2cf725=_0x2889b5[0x0];if(!_0x2cf725[_0x4d4202(0x15f)])return;if(_0x4d4202(0x124)!=_0x2cf725[_0x4d4202(0x16d)]||!_0x2cf725[_0x4d4202(0x123)][_0x4d4202(0x190)](_0x4d4202(0x118)))return;const _0x4ea7e1=_0x2cf725[_0x4d4202(0x184)];_0x270e82[_0x4d4202(0x178)][_0x4d4202(0x13f)](_0x4ea7e1)&&(_0x2cf725[_0x4d4202(0x140)]=_0x2cf725[_0x4d4202(0x16a)]?_0x4abcd7[_0x4d4202(0x157)][_0x4d4202(0x15c)](_0x2cf725[_0x4d4202(0x16a)][_0x4d4202(0x159)],_0x2cf725[_0x4d4202(0x16a)][_0x4d4202(0x126)]):null);},{'priority':_0x2a9845(0x173)});}[_0x559e8d(0x19b)](){const _0x5b4ff3=_0x559e8d;return this[_0x5b4ff3(0x122)][_0x5b4ff3(0x167)](),super[_0x5b4ff3(0x19b)]();}[_0x559e8d(0x143)](){const _0xd94565=_0x559e8d,_0xda28c2=this[_0xd94565(0x160)],_0x1262bc=_0xda28c2[_0xd94565(0x157)][_0xd94565(0x13d)],_0x12f4df=_0xda28c2[_0xd94565(0x135)][_0xd94565(0x129)](_0x2df1ed);_0xda28c2[_0xd94565(0x157)][_0xd94565(0x194)]({'isUndoable':!0x1},_0x497bc2=>{const _0xa4dfad=_0xd94565,_0x39d06b=_0xa4dfad(0x119)+_0x12f4df[_0xa4dfad(0x177)],_0x37d971=_0xa4dfad(0x11a)+_0x12f4df[_0xa4dfad(0x177)],_0x512f6d=_0xda28c2[_0xa4dfad(0x157)][_0xa4dfad(0x14b)][_0xa4dfad(0x13f)](_0x39d06b);_0xda28c2[_0xa4dfad(0x16f)][_0xa4dfad(0x17f)][_0xa4dfad(0x13c)]?Z(_0x12f4df[_0xa4dfad(0x177)],_0x1262bc[_0xa4dfad(0x17a)][_0xa4dfad(0x13e)](),_0xda28c2[_0xa4dfad(0x157)],_0x497bc2):_0x512f6d&&(_0x497bc2[_0xa4dfad(0x18d)](_0x39d06b),_0x497bc2[_0xa4dfad(0x18d)](_0x37d971));});}}function Z(_0x34b39d,_0x7b826b,_0x5bbfc5,_0x10f455){const _0x50faea=_0x559e8d,_0x22c605=_0x50faea(0x119)+_0x34b39d,_0x46bb6a=_0x50faea(0x11a)+_0x34b39d,_0x1546e8=_0x7b826b[_0x50faea(0x18e)]();let _0x2e0399=_0x7b826b[_0x50faea(0x159)];if(_0x1546e8&&_0x1546e8['is'](_0x50faea(0x14e),_0x50faea(0x11c))){const _0x2865fc=function(_0x4444a7,_0xb5a05d){const _0x256b35=_0x50faea;for(const _0x604d73 of _0x4444a7[_0x256b35(0x12d)]())if(_0xb5a05d[_0x256b35(0x141)][_0x256b35(0x19f)](_0x604d73,_0x256b35(0x188)))return _0x604d73;}(_0x7b826b,_0x5bbfc5);_0x2865fc&&(_0x2e0399=_0x2865fc,_0x7b826b=_0x10f455[_0x50faea(0x15c)](_0x2e0399));}const _0x34a290=_0x10f455[_0x50faea(0x15c)](_0x2e0399);_0x5bbfc5[_0x50faea(0x14b)][_0x50faea(0x13f)](_0x22c605)?(_0x10f455[_0x50faea(0x193)](_0x22c605,{'range':_0x7b826b}),_0x10f455[_0x50faea(0x193)](_0x46bb6a,{'range':_0x34a290})):(_0x10f455[_0x50faea(0x155)](_0x22c605,{'range':_0x7b826b,'usingOperation':!0x0}),_0x10f455[_0x50faea(0x155)](_0x46bb6a,{'range':_0x34a290,'usingOperation':!0x0}));}
23
+ const _0x482868=_0x22c4;(function(_0x51715f,_0x389b6d){const _0xaba87d=_0x22c4,_0x51aa27=_0x51715f();while(!![]){try{const _0x3b9dbc=-parseInt(_0xaba87d(0xea))/0x1*(-parseInt(_0xaba87d(0xa2))/0x2)+-parseInt(_0xaba87d(0x9c))/0x3*(parseInt(_0xaba87d(0x9d))/0x4)+-parseInt(_0xaba87d(0xb8))/0x5+-parseInt(_0xaba87d(0xc1))/0x6+parseInt(_0xaba87d(0xdc))/0x7+parseInt(_0xaba87d(0xe2))/0x8+-parseInt(_0xaba87d(0xc9))/0x9*(-parseInt(_0xaba87d(0xd3))/0xa);if(_0x3b9dbc===_0x389b6d)break;else _0x51aa27['push'](_0x51aa27['shift']());}catch(_0x450340){_0x51aa27['push'](_0x51aa27['shift']());}}}(_0x129b,0xbf41a));function _0x129b(){const _0x28db56=['getAttribute','user:range:','undo','init','newRange','user:position:','toDomElement','plugins','contenteditable','stopListening','isCollapsed','requires','createElement','checkChild','classList','mouseleave','getContainedElement','detach','highest','delete','getPositions','isObject','applyOperation','getFirstRange','parent','batch','rootName','set','selection','hasContent','end','for','change','markerNameToElements','user:','editor','15vWKwzn','819028iqPDTR','_createdBatches','destroy','reconvertMarker','isDocumentOperation','196EtrtQk','root','_domEmitter','createUserMarkerOperations','view','keydown','isInline','markerRange','markerToElement','clear','toRange','marker','addMarker','false','getNearestSelectionRange','commands','setAttribute','spellcheck','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','updateMarker','textContent','isOfficialPlugin','4515825JsDTVT','enqueueChange','userPositionMarker','nodeAfter','removeClass','markers','isLimit','getUserBySessionId','setCustomProperty','5457168bfSpOJ','editing','getCustomProperty','element','listenTo','markerName','get','mapper','147213ySasOD','deletionPosition','mySessionId','remove','conversion','getMarkerClass','name','data-session-id','outerHTML','update:user:range','510sBWcUX','isSimilar','user:range','startsWith','getSelectionClass','type','$text','schema','getRange','538419mQZgnF','split','innerHTML','ck-user__selection','pluginName','removeMarker','10426576iiVWwG','add','start','createRange','change:range','editingDowncast','render','orderNumber','14341PCZQkE','isPremiumPlugin','mouseenter','tableCell','ck-user__marker_hovered','hasDomSelection','UserMarkers','afterInit','model','fromRange','getStart','user:position','ck-user__marker\x20','color','document','span','$graveyard','addEventListener','Escape','ck-user__marker-tooltip','createUIElement','has','oldRange','size','markerToHighlight'];_0x129b=function(){return _0x28db56;};return _0x129b();}import{Plugin as _0x4534fc}from'ckeditor5/src/core.js';import{global as _0x22f48b,DomEmitterMixin as _0x802dcb}from'ckeditor5/src/utils.js';import{Sessions as _0x38fa51}from'./sessions.js';import{ModelLiveRange as _0x3bd113}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x22c4(_0x517bf6,_0x55bb6a){const _0x129baf=_0x129b();return _0x22c4=function(_0x22c420,_0x150ef5){_0x22c420=_0x22c420-0x73;let _0xe84ddd=_0x129baf[_0x22c420];return _0xe84ddd;},_0x22c4(_0x517bf6,_0x55bb6a);}export class UserMarkers extends _0x4534fc{[_0x482868(0xa4)]=new(_0x802dcb())();static get[_0x482868(0x83)](){return[_0x38fa51];}static get[_0x482868(0xe0)](){const _0x294c6f=_0x482868;return _0x294c6f(0xf0);}static get[_0x482868(0xb7)](){return!0x0;}static get[_0x482868(0xeb)](){return!0x0;}[_0x482868(0x7b)](){const _0x390f7d=_0x482868,_0x394bcd=this[_0x390f7d(0x9b)],_0x1b80b6=_0x394bcd[_0x390f7d(0x7f)][_0x390f7d(0xc7)](_0x38fa51);_0x394bcd[_0x390f7d(0xcd)][_0x390f7d(0x97)](_0x390f7d(0xe7))[_0x390f7d(0xaa)]({'model':_0x390f7d(0xf5),'view':(_0x3c70fb,{writer:_0x299932})=>function(_0x1880fc,_0x18761e,_0x4a8762,_0x5634ed){const _0x30a3c4=_0x390f7d,_0x79b54a=_0x1880fc[_0x30a3c4(0xc6)][_0x30a3c4(0xdd)](':')[0x2],_0x476358=_0x4a8762[_0x30a3c4(0xbf)](_0x79b54a);if(!_0x476358||_0x79b54a===_0x4a8762[_0x30a3c4(0xcb)])return;if(!_0x5634ed[_0x30a3c4(0xf2)][_0x30a3c4(0xda)][_0x30a3c4(0x85)](_0x1880fc[_0x30a3c4(0xa9)][_0x30a3c4(0xe4)],_0x30a3c4(0xd9)))return;const _0x20b74f={'class':_0x30a3c4(0xf6)+_0x476358[_0x30a3c4(0xf7)][_0x30a3c4(0xce)](),'data-name':_0x476358[_0x30a3c4(0xcf)],'data-session-id':_0x79b54a},_0x2ae594=_0x5634ed[_0x30a3c4(0xf2)][_0x30a3c4(0xbd)][_0x30a3c4(0xc7)](_0x1880fc[_0x30a3c4(0xc6)]),_0x583bad=_0x2ae594[_0x30a3c4(0xf4)](),_0x1e2dee=_0x583bad[_0x30a3c4(0xbb)],_0x29de2c=_0x5634ed[_0x30a3c4(0xf2)][_0x30a3c4(0xda)];if(_0x1e2dee&&_0x29de2c[_0x30a3c4(0x8d)](_0x1e2dee)&&_0x29de2c[_0x30a3c4(0xa8)](_0x1e2dee)&&!_0x5634ed[_0x30a3c4(0xf2)][_0x30a3c4(0xbd)][_0x30a3c4(0xc7)](_0x30a3c4(0x79)+_0x79b54a)[_0x30a3c4(0xdb)]()[_0x30a3c4(0x82)])return;const _0x4d86af=_0x583bad[_0x30a3c4(0x90)];return _0x5634ed[_0x30a3c4(0xf2)][_0x30a3c4(0xda)][_0x30a3c4(0xbe)](_0x4d86af)&&!_0x5634ed[_0x30a3c4(0xf2)][_0x30a3c4(0x95)](_0x4d86af)&&(_0x20b74f[_0x30a3c4(0x80)]=!0x1),function(_0xcda66f,_0x3b0181,_0x2145c9){const _0x16d009=_0x30a3c4,_0x337187=_0xcda66f[_0x16d009(0x73)](_0x16d009(0xf9),_0x3b0181);return _0xcda66f[_0x16d009(0xc0)](_0x16d009(0xba),!0x0,_0x337187),_0x337187[_0x16d009(0xe8)]=function(_0x5de661){const _0x2a030c=_0x16d009,_0x577bfc=this[_0x2a030c(0x7e)](_0x5de661),_0x40f031=document[_0x2a030c(0x84)](_0x2a030c(0xf9));return _0x40f031[_0x2a030c(0x86)][_0x2a030c(0xe3)](_0x2a030c(0xfd)),_0x40f031[_0x2a030c(0xb2)](_0x2a030c(0x80),_0x2a030c(0xaf)),_0x40f031[_0x2a030c(0xb2)](_0x2a030c(0xb3),_0x2a030c(0xaf)),_0x40f031[_0x2a030c(0xb6)]=_0x2145c9[_0x2a030c(0xcf)],_0x577bfc[_0x2a030c(0xde)]=_0x2a030c(0xb4)+_0x40f031[_0x2a030c(0xd1)]+'⁠',_0x577bfc[_0x2a030c(0xfb)](_0x2a030c(0xec),()=>{const _0xee5764=_0x2a030c;_0x577bfc[_0xee5764(0x86)][_0xee5764(0xe3)](_0xee5764(0xee));}),_0x577bfc[_0x2a030c(0xfb)](_0x2a030c(0x87),()=>{const _0x162423=_0x2a030c;_0x577bfc[_0x162423(0x86)][_0x162423(0xcc)](_0x162423(0xee));}),_0x577bfc;},_0x337187[_0x16d009(0xd4)]=function(_0x569187){const _0x1f814b=_0x16d009;return!(!this[_0x1f814b(0xc3)](_0x1f814b(0xba))||!_0x569187[_0x1f814b(0xc3)](_0x1f814b(0xba))||this[_0x1f814b(0x78)](_0x1f814b(0xd0))!=_0x569187[_0x1f814b(0x78)](_0x1f814b(0xd0)));},_0x337187;}(_0x18761e,_0x20b74f,_0x476358);}(_0x3c70fb,_0x299932,_0x1b80b6,_0x394bcd)}),_0x394bcd[_0x390f7d(0xcd)][_0x390f7d(0x97)](_0x390f7d(0xe7))[_0x390f7d(0x77)]({'model':_0x390f7d(0xd5),'view':_0x4d70d5=>function(_0x691bce,_0x3e9a40){const _0x37697b=_0x390f7d,_0x22ac1e=_0x691bce[_0x37697b(0xc6)][_0x37697b(0xdd)](':')[0x2];if(_0x22ac1e===_0x3e9a40[_0x37697b(0xcb)])return null;const _0x449c85=_0x3e9a40[_0x37697b(0xbf)](_0x22ac1e);if(!_0x449c85)return{'id':_0x22ac1e,'classes':[]};return{'id':_0x22ac1e,'classes':[_0x37697b(0xdf),_0x449c85[_0x37697b(0xf7)][_0x37697b(0xd7)]()],'attributes':{'data-session-id':_0x22ac1e},'priority':0x7d0+_0x449c85[_0x37697b(0xe9)]};}(_0x4d70d5,_0x1b80b6)}),function(_0x4eae79){const _0x5484d4=_0x390f7d,_0x2b842f=_0x4eae79[_0x5484d4(0xf2)],_0x289482=new Map(),_0x598626=_0x4eae79[_0x5484d4(0x7f)][_0x5484d4(0xc7)](_0x38fa51);_0x2b842f[_0x5484d4(0xbd)]['on'](_0x5484d4(0xd2),(_0x3c29fa,_0x2fabcc,_0x482322,_0xde53b1)=>{const _0x4ef5f1=_0x5484d4;if(!_0xde53b1&&_0x289482[_0x4ef5f1(0xc7)](_0x2fabcc[_0x4ef5f1(0xcf)]))return _0x289482[_0x4ef5f1(0xc7)](_0x2fabcc[_0x4ef5f1(0xcf)])[_0x4ef5f1(0x89)](),void _0x289482[_0x4ef5f1(0x8b)](_0x2fabcc[_0x4ef5f1(0xcf)]);const _0x43d517=_0x2fabcc[_0x4ef5f1(0xcf)][_0x4ef5f1(0xdd)](':')[0x2];if(_0x43d517===_0x598626[_0x4ef5f1(0xcb)])return;const _0x4c0ca1=_0x4ef5f1(0x7d)+_0x43d517;_0x2b842f[_0x4ef5f1(0xbd)][_0x4ef5f1(0x74)](_0x4c0ca1)&&_0x4eae79[_0x4ef5f1(0xc2)][_0x4ef5f1(0xa0)](_0x4c0ca1),_0x2fabcc['on'](_0x4ef5f1(0xe6),(_0x39fd29,_0x1b5c9c,_0x29e7cb)=>{const _0x5a7e36=_0x4ef5f1;if(_0x5a7e36(0xfa)!=_0x1b5c9c[_0x5a7e36(0xa3)][_0x5a7e36(0x92)]&&_0x5a7e36(0xfa)==_0x2fabcc[_0x5a7e36(0xdb)]()[_0x5a7e36(0xa3)][_0x5a7e36(0x92)]&&!_0x289482[_0x5a7e36(0x74)](_0x2fabcc[_0x5a7e36(0xcf)])){const _0xad5be0=_0x2b842f[_0x5a7e36(0xda)][_0x5a7e36(0xb0)](_0x29e7cb[_0x5a7e36(0xca)]);if(_0xad5be0){const _0x5a1c7c=_0x3bd113[_0x5a7e36(0xf3)](_0xad5be0);_0x289482[_0x5a7e36(0x93)](_0x2fabcc[_0x5a7e36(0xcf)],_0x5a1c7c),_0x5a1c7c['on'](_0x5a7e36(0xe6),(_0x3e680a,_0x4396d0,_0x15f50c)=>{const _0x57adbe=_0x5a7e36;if(_0x57adbe(0xfa)==_0x5a1c7c[_0x57adbe(0xa3)][_0x57adbe(0x92)]){const _0x2410b4=_0x2b842f[_0x57adbe(0xda)][_0x57adbe(0xb0)](_0x15f50c[_0x57adbe(0xca)]);_0x2410b4?(_0x5a1c7c[_0x57adbe(0xe4)]=_0x2410b4[_0x57adbe(0xe4)],_0x5a1c7c[_0x57adbe(0x96)]=_0x2410b4[_0x57adbe(0x96)]):(_0x289482[_0x57adbe(0x8b)](_0x2fabcc[_0x57adbe(0xcf)]),_0x5a1c7c[_0x57adbe(0x89)]());}});}}});}),_0x2b842f[_0x5484d4(0xf8)]['on'](_0x5484d4(0x98),()=>{const _0x514249=_0x5484d4;_0x289482[_0x514249(0x76)]>0x0&&_0x2b842f[_0x514249(0xb9)]({'isUndoable':!0x1},_0x4e288b=>{const _0x18e0ea=_0x514249;for(const [_0x15b110,_0x35568c]of _0x289482)_0x18e0ea(0xfa)==_0x2b842f[_0x18e0ea(0xbd)][_0x18e0ea(0xc7)](_0x15b110)[_0x18e0ea(0xdb)]()[_0x18e0ea(0xa3)][_0x18e0ea(0x92)]&&(J(_0x15b110[_0x18e0ea(0xdd)](':')[0x2],_0x35568c[_0x18e0ea(0xac)](),_0x2b842f,_0x4e288b),_0x35568c[_0x18e0ea(0x89)]());_0x289482[_0x18e0ea(0xab)]();});});}(_0x394bcd),this[_0x390f7d(0xa4)][_0x390f7d(0xc5)](_0x22f48b[_0x390f7d(0xf8)],_0x390f7d(0xa7),(_0x16f8c1,{key:_0x2ddb89})=>{const _0x3ae48c=_0x390f7d;_0x3ae48c(0xfc)===_0x2ddb89&&function(_0x4a337f){const _0x46a585=_0x3ae48c;_0x4a337f[_0x46a585(0xc2)][_0x46a585(0xa6)][_0x46a585(0x98)](_0x23b0d6=>{const _0x29726f=_0x46a585;for(const _0x5759e6 of _0x4a337f[_0x29726f(0xf2)][_0x29726f(0xbd)]){if(!_0x5759e6[_0x29726f(0xcf)][_0x29726f(0xd6)](_0x29726f(0xf5)))continue;const _0x145224=_0x4a337f[_0x29726f(0xc2)][_0x29726f(0xc8)][_0x29726f(0x99)](_0x5759e6[_0x29726f(0xcf)]);if(_0x145224){for(const _0x4f45d2 of _0x145224)_0x23b0d6[_0x29726f(0xbc)](_0x29726f(0xee),_0x4f45d2);}}});}(_0x394bcd);},{'useCapture':!0x0});}[_0x482868(0xf1)](){const _0xf5c2c2=_0x482868,_0x1d35bc=this[_0xf5c2c2(0x9b)],_0x136d1a=_0x1d35bc[_0xf5c2c2(0xb1)][_0xf5c2c2(0xc7)](_0xf5c2c2(0x7a));_0x136d1a&&_0x1d35bc[_0xf5c2c2(0xf2)]['on'](_0xf5c2c2(0x8e),(_0x530890,_0x352b19)=>{const _0x364dd6=_0xf5c2c2,_0x199634=_0x352b19[0x0];if(!_0x199634[_0x364dd6(0xa1)])return;if(_0x364dd6(0xad)!=_0x199634[_0x364dd6(0xd8)]||!_0x199634[_0x364dd6(0xcf)][_0x364dd6(0xd6)](_0x364dd6(0x9a)))return;const _0x3cb64d=_0x199634[_0x364dd6(0x91)];_0x136d1a[_0x364dd6(0x9e)][_0x364dd6(0x74)](_0x3cb64d)&&(_0x199634[_0x364dd6(0x7c)]=_0x199634[_0x364dd6(0x75)]?_0x1d35bc[_0x364dd6(0xf2)][_0x364dd6(0xe5)](_0x199634[_0x364dd6(0x75)][_0x364dd6(0xe4)],_0x199634[_0x364dd6(0x75)][_0x364dd6(0x96)]):null);},{'priority':_0xf5c2c2(0x8a)});}[_0x482868(0x9f)](){const _0x53eefb=_0x482868;return this[_0x53eefb(0xa4)][_0x53eefb(0x81)](),super[_0x53eefb(0x9f)]();}[_0x482868(0xa5)](){const _0x35a4c6=_0x482868,_0x19ba90=this[_0x35a4c6(0x9b)],_0x1779bd=_0x19ba90[_0x35a4c6(0xf2)][_0x35a4c6(0xf8)],_0x562ee8=_0x19ba90[_0x35a4c6(0x7f)][_0x35a4c6(0xc7)](_0x38fa51);_0x19ba90[_0x35a4c6(0xf2)][_0x35a4c6(0xb9)]({'isUndoable':!0x1},_0x31377c=>{const _0x5b3a44=_0x35a4c6,_0x1bc627=_0x5b3a44(0x79)+_0x562ee8[_0x5b3a44(0xcb)],_0x201924=_0x5b3a44(0x7d)+_0x562ee8[_0x5b3a44(0xcb)],_0xd24388=_0x19ba90[_0x5b3a44(0xf2)][_0x5b3a44(0xbd)][_0x5b3a44(0x74)](_0x1bc627);_0x19ba90[_0x5b3a44(0xc2)][_0x5b3a44(0xa6)][_0x5b3a44(0xef)]?J(_0x562ee8[_0x5b3a44(0xcb)],_0x1779bd[_0x5b3a44(0x94)][_0x5b3a44(0x8f)](),_0x19ba90[_0x5b3a44(0xf2)],_0x31377c):_0xd24388&&(_0x31377c[_0x5b3a44(0xe1)](_0x1bc627),_0x31377c[_0x5b3a44(0xe1)](_0x201924));});}}function J(_0x3922ed,_0x538e67,_0x21d24d,_0x12c22d){const _0x3a2565=_0x482868,_0x68a786=_0x3a2565(0x79)+_0x3922ed,_0x5de20f=_0x3a2565(0x7d)+_0x3922ed,_0x3d5ef3=_0x538e67[_0x3a2565(0x88)]();let _0x19657e=_0x538e67[_0x3a2565(0xe4)];if(_0x3d5ef3&&_0x3d5ef3['is'](_0x3a2565(0xc4),_0x3a2565(0xed))){const _0x337715=function(_0x1a1044,_0x2326ba){const _0x1607b1=_0x3a2565;for(const _0x1e1d0d of _0x1a1044[_0x1607b1(0x8c)]())if(_0x2326ba[_0x1607b1(0xda)][_0x1607b1(0x85)](_0x1e1d0d,_0x1607b1(0xd9)))return _0x1e1d0d;}(_0x538e67,_0x21d24d);_0x337715&&(_0x19657e=_0x337715,_0x538e67=_0x12c22d[_0x3a2565(0xe5)](_0x19657e));}const _0x25df51=_0x12c22d[_0x3a2565(0xe5)](_0x19657e);_0x21d24d[_0x3a2565(0xbd)][_0x3a2565(0x74)](_0x68a786)?(_0x12c22d[_0x3a2565(0xb5)](_0x68a786,{'range':_0x538e67}),_0x12c22d[_0x3a2565(0xb5)](_0x5de20f,{'range':_0x25df51})):(_0x12c22d[_0x3a2565(0xae)](_0x68a786,{'range':_0x538e67,'usingOperation':!0x0}),_0x12c22d[_0x3a2565(0xae)](_0x5de20f,{'range':_0x25df51,'usingOperation':!0x0}));}