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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2deb(){const _0x3a739a=['querySelector','element','focus','setAttribute','7645941YvsgIj','items','hasPopup','.ck-balloon-panel_with-arrow','fire','setTemplate','render','3208104aiFdsk','contains','change:hasPopup','3623221PFikvq','isExpanded','147248HyqxQf','240236wFTmgQ','createCollection','presencelist:hide','relatedTarget','aria-expanded','5BTUmwd','1240088uMJiNS','bindTemplate','416956OLCWfU','div','presencelist:show','removeAttribute','listenTo','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','Connected\x20users\x20list','6ORxLoA','.ck-presence-list__dropdown-list','keystrokes','set','list','ck-presence-list__list'];_0x2deb=function(){return _0x3a739a;};return _0x2deb();}const _0x7b50ff=_0x3266;function _0x3266(_0xbaae71,_0x1ba9ef){const _0x2debda=_0x2deb();return _0x3266=function(_0x326640,_0x470862){_0x326640=_0x326640-0x6f;let _0x1fc11c=_0x2debda[_0x326640];return _0x1fc11c;},_0x3266(_0xbaae71,_0x1ba9ef);}(function(_0xe2903,_0xd87f55){const _0x112496=_0x3266,_0x334fc0=_0xe2903();while(!![]){try{const _0x10e4fc=parseInt(_0x112496(0x75))/0x1+parseInt(_0x112496(0x7d))/0x2*(-parseInt(_0x112496(0x84))/0x3)+parseInt(_0x112496(0x7b))/0x4*(parseInt(_0x112496(0x7a))/0x5)+parseInt(_0x112496(0x6f))/0x6+parseInt(_0x112496(0x72))/0x7+-parseInt(_0x112496(0x74))/0x8+-parseInt(_0x112496(0x8e))/0x9;if(_0x10e4fc===_0xd87f55)break;else _0x334fc0['push'](_0x334fc0['shift']());}catch(_0x308ba4){_0x334fc0['push'](_0x334fc0['shift']());}}}(_0x2deb,0x4d8c2));import{View as _0xbe12b}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x3e0b2d}from'ckeditor5/src/utils.js';import{getTranslation as _0x4e8788}from'../../common-translations.js';export class PresenceInlineListView extends _0xbe12b{[_0x7b50ff(0x8f)];[_0x7b50ff(0x86)];constructor(_0x4cc93e){const _0x21654b=_0x7b50ff;super(_0x4cc93e);const _0x40e5a9=this[_0x21654b(0x7c)];this[_0x21654b(0x8f)]=this[_0x21654b(0x76)](),this[_0x21654b(0x86)]=new _0x3e0b2d(),this[_0x21654b(0x87)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x21654b(0x93)]({'tag':_0x21654b(0x7e),'attributes':{'aria-haspopup':_0x40e5a9['if'](_0x21654b(0x90)),'aria-expanded':_0x40e5a9['to'](_0x21654b(0x73),_0x2db9a2=>this[_0x21654b(0x90)]&&String(_0x2db9a2)),'aria-label':_0x40e5a9['to'](_0x21654b(0x90),_0x4c9220=>_0x4e8788(_0x4cc93e,_0x4c9220?_0x21654b(0x82):_0x21654b(0x83))),'role':_0x21654b(0x88),'tabindex':_0x40e5a9['to'](_0x21654b(0x90),_0x2e88f5=>!!_0x2e88f5&&0x0),'class':['ck',_0x21654b(0x89)]},'children':this[_0x21654b(0x8f)],'on':{'mouseenter':_0x40e5a9['to'](()=>this[_0x21654b(0x92)](_0x21654b(0x7f))),'mouseleave':_0x40e5a9['to'](_0x591a92=>{const _0x24c930=_0x21654b,_0xbe0ff9=_0x591a92,_0x1502cc=document[_0x24c930(0x8a)](_0x24c930(0x85)),_0x3fc972=document[_0x24c930(0x8a)](_0x24c930(0x91));_0x1502cc?.[_0x24c930(0x70)](_0xbe0ff9[_0x24c930(0x78)])||_0x3fc972?.[_0x24c930(0x70)](_0xbe0ff9[_0x24c930(0x78)])||this[_0x24c930(0x92)](_0x24c930(0x77));})}}),this['on'](_0x21654b(0x71),(_0x1c310c,_0x4bba29,_0x78eb6a)=>{const _0x1833f8=_0x21654b;this[_0x1833f8(0x8b)]&&(_0x78eb6a?this[_0x1833f8(0x8b)][_0x1833f8(0x8d)](_0x1833f8(0x79),String(this[_0x1833f8(0x73)])):this[_0x1833f8(0x8b)][_0x1833f8(0x80)](_0x1833f8(0x79)));});}[_0x7b50ff(0x8c)](){const _0x5c9e24=_0x7b50ff;this[_0x5c9e24(0x8b)][_0x5c9e24(0x8c)]();}[_0x7b50ff(0x94)](){const _0x363e60=_0x7b50ff;super[_0x363e60(0x94)](),this[_0x363e60(0x86)][_0x363e60(0x81)](this[_0x363e60(0x8b)]);}}
23
+ function _0x227b(_0x3b07dd,_0x1bc82d){const _0x205612=_0x2056();return _0x227b=function(_0x227b59,_0x46d9c3){_0x227b59=_0x227b59-0x195;let _0x391b21=_0x205612[_0x227b59];return _0x391b21;},_0x227b(_0x3b07dd,_0x1bc82d);}const _0x78a945=_0x227b;function _0x2056(){const _0x2e7070=['ck-presence-list__list','.ck-presence-list__dropdown-list','15763528HxLROJ','9DYpObf','1454bPMoZc','items','removeAttribute','presencelist:show','focus','contains','1337VAfgWB','40eSHcbv','11207300PRlAfW','.ck-balloon-panel_with-arrow','Connected\x20users\x20list','element','change:hasPopup','aria-expanded','372310vcbuVw','list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','4295247IEiLgL','933DblRsQ','6966616zlHSQO','setTemplate','div','hasPopup','keystrokes','setAttribute','8394OuChJY','set','isExpanded','render','createCollection','listenTo','relatedTarget','querySelector','bindTemplate','fire','presencelist:hide'];_0x2056=function(){return _0x2e7070;};return _0x2056();}(function(_0x59bc9e,_0x144600){const _0x246895=_0x227b,_0x4f2521=_0x59bc9e();while(!![]){try{const _0x584123=-parseInt(_0x246895(0x1b8))/0x1*(-parseInt(_0x246895(0x1a6))/0x2)+parseInt(_0x246895(0x1b7))/0x3+parseInt(_0x246895(0x1ad))/0x4*(parseInt(_0x246895(0x1b4))/0x5)+-parseInt(_0x246895(0x197))/0x6*(parseInt(_0x246895(0x1ac))/0x7)+parseInt(_0x246895(0x1b9))/0x8*(parseInt(_0x246895(0x1a5))/0x9)+-parseInt(_0x246895(0x1ae))/0xa+-parseInt(_0x246895(0x1a4))/0xb;if(_0x584123===_0x144600)break;else _0x4f2521['push'](_0x4f2521['shift']());}catch(_0x2dca83){_0x4f2521['push'](_0x4f2521['shift']());}}}(_0x2056,0xdcd34));import{View as _0x1ebc66}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x3944ed}from'ckeditor5/src/utils.js';import{getTranslation as _0x4c46f3}from'../../common-translations.js';export class PresenceInlineListView extends _0x1ebc66{[_0x78a945(0x1a7)];[_0x78a945(0x195)];constructor(_0xbc2f88){const _0x3ca042=_0x78a945;super(_0xbc2f88);const _0x236e7b=this[_0x3ca042(0x19f)];this[_0x3ca042(0x1a7)]=this[_0x3ca042(0x19b)](),this[_0x3ca042(0x195)]=new _0x3944ed(),this[_0x3ca042(0x198)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x3ca042(0x1ba)]({'tag':_0x3ca042(0x1bb),'attributes':{'aria-haspopup':_0x236e7b['if'](_0x3ca042(0x1bc)),'aria-expanded':_0x236e7b['to'](_0x3ca042(0x199),_0x5174c9=>this[_0x3ca042(0x1bc)]&&String(_0x5174c9)),'aria-label':_0x236e7b['to'](_0x3ca042(0x1bc),_0x43c77c=>_0x4c46f3(_0xbc2f88,_0x43c77c?_0x3ca042(0x1b6):_0x3ca042(0x1b0))),'role':_0x3ca042(0x1b5),'tabindex':_0x236e7b['to'](_0x3ca042(0x1bc),_0x6d55f4=>!!_0x6d55f4&&0x0),'class':['ck',_0x3ca042(0x1a2)]},'children':this[_0x3ca042(0x1a7)],'on':{'mouseenter':_0x236e7b['to'](()=>this[_0x3ca042(0x1a0)](_0x3ca042(0x1a9))),'mouseleave':_0x236e7b['to'](_0xef951f=>{const _0x2d7aaa=_0x3ca042,_0x2dc484=_0xef951f,_0x1ba928=document[_0x2d7aaa(0x19e)](_0x2d7aaa(0x1a3)),_0x1c689b=document[_0x2d7aaa(0x19e)](_0x2d7aaa(0x1af));_0x1ba928?.[_0x2d7aaa(0x1ab)](_0x2dc484[_0x2d7aaa(0x19d)])||_0x1c689b?.[_0x2d7aaa(0x1ab)](_0x2dc484[_0x2d7aaa(0x19d)])||this[_0x2d7aaa(0x1a0)](_0x2d7aaa(0x1a1));})}}),this['on'](_0x3ca042(0x1b2),(_0x33ab94,_0x2cb21e,_0x30c5a7)=>{const _0x4702d8=_0x3ca042;this[_0x4702d8(0x1b1)]&&(_0x30c5a7?this[_0x4702d8(0x1b1)][_0x4702d8(0x196)](_0x4702d8(0x1b3),String(this[_0x4702d8(0x199)])):this[_0x4702d8(0x1b1)][_0x4702d8(0x1a8)](_0x4702d8(0x1b3)));});}[_0x78a945(0x1aa)](){const _0x34a0dd=_0x78a945;this[_0x34a0dd(0x1b1)][_0x34a0dd(0x1aa)]();}[_0x78a945(0x19a)](){const _0x2d7e24=_0x78a945;super[_0x2d7e24(0x19a)](),this[_0x2d7e24(0x195)][_0x2d7e24(0x19c)](this[_0x2d7e24(0x1b1)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42deee=_0x24e4;function _0x10d4(){const _0x13cd45=['hasPopup','listenTo','tooltipPosition','counterView','3185322bhdKWx','div','isCollapsed','set','2561922mmgjVq','ck-presence-list--collapsed','first','32XVfRRA','3419672jLxWfo','setTemplate','791686Xxmgok','2670760XfuRDL','change','43765DnNoLM','ck-rounded-corners','bind','locale','ck-reset','ck-presence-list','bindTemplate','6577260Sujzne','inlineListView','5iobJET','items'];_0x10d4=function(){return _0x13cd45;};return _0x10d4();}(function(_0x197445,_0x7e71e8){const _0x580fec=_0x24e4,_0x5c4430=_0x197445();while(!![]){try{const _0x59441e=parseInt(_0x580fec(0x1ad))/0x1*(-parseInt(_0x580fec(0x1a7))/0x2)+parseInt(_0x580fec(0x1a0))/0x3+-parseInt(_0x580fec(0x1a8))/0x4+-parseInt(_0x580fec(0x1b6))/0x5*(-parseInt(_0x580fec(0x1b4))/0x6)+parseInt(_0x580fec(0x1aa))/0x7+parseInt(_0x580fec(0x1ab))/0x8+-parseInt(_0x580fec(0x1a4))/0x9;if(_0x59441e===_0x7e71e8)break;else _0x5c4430['push'](_0x5c4430['shift']());}catch(_0xd51ebd){_0x5c4430['push'](_0x5c4430['shift']());}}}(_0x10d4,0xbacb7));function _0x24e4(_0x2fc966,_0x301443){const _0x10d4c3=_0x10d4();return _0x24e4=function(_0x24e455,_0x1709d7){_0x24e455=_0x24e455-0x19e;let _0x90e183=_0x10d4c3[_0x24e455];return _0x90e183;},_0x24e4(_0x2fc966,_0x301443);}import{View as _0x124d6e}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x20961a}from'./presencecounterview.js';import{PresenceInlineListView as _0x34f19e}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x124d6e{[_0x42deee(0x19f)];[_0x42deee(0x1b5)];constructor(_0x3be4b1,_0x1d7aee=0x6){const _0x35096a=_0x42deee;super(_0x3be4b1);const _0x14c25a=this[_0x35096a(0x1b3)];this[_0x35096a(0x1a3)](_0x35096a(0x1a2),!0x0),this[_0x35096a(0x19f)]=new _0x20961a(this[_0x35096a(0x1b0)],_0x1d7aee),this[_0x35096a(0x1b5)]=new _0x34f19e(_0x3be4b1),this[_0x35096a(0x1b5)][_0x35096a(0x1af)](_0x35096a(0x1b8))['to'](this,_0x35096a(0x1a2)),this[_0x35096a(0x1b9)](this[_0x35096a(0x1b5)][_0x35096a(0x1b7)],_0x35096a(0x1ac),()=>{const _0x1b9eb3=_0x35096a;for(const _0x49f6c4 of this[_0x1b9eb3(0x1b5)][_0x1b9eb3(0x1b7)])_0x49f6c4[_0x1b9eb3(0x19e)]='s';this[_0x1b9eb3(0x1b5)][_0x1b9eb3(0x1b7)][_0x1b9eb3(0x1a6)]&&(this[_0x1b9eb3(0x1b5)][_0x1b9eb3(0x1b7)][_0x1b9eb3(0x1a6)][_0x1b9eb3(0x19e)]='se');}),this[_0x35096a(0x1a9)]({'tag':_0x35096a(0x1a1),'attributes':{'class':['ck',_0x35096a(0x1b2),_0x35096a(0x1b1),_0x35096a(0x1ae),_0x14c25a['if'](_0x35096a(0x1a2),_0x35096a(0x1a5))]},'children':[this[_0x35096a(0x1b5)]]});}}
23
+ const _0xd72ff4=_0x3e5e;(function(_0x19b572,_0x971c5c){const _0x5a0202=_0x3e5e,_0xaf38a6=_0x19b572();while(!![]){try{const _0x1236d3=parseInt(_0x5a0202(0xed))/0x1+parseInt(_0x5a0202(0xd8))/0x2+-parseInt(_0x5a0202(0xe5))/0x3*(-parseInt(_0x5a0202(0xd9))/0x4)+parseInt(_0x5a0202(0xe9))/0x5+-parseInt(_0x5a0202(0xeb))/0x6+-parseInt(_0x5a0202(0xdf))/0x7*(-parseInt(_0x5a0202(0xe0))/0x8)+-parseInt(_0x5a0202(0xe3))/0x9;if(_0x1236d3===_0x971c5c)break;else _0xaf38a6['push'](_0xaf38a6['shift']());}catch(_0x44180a){_0xaf38a6['push'](_0xaf38a6['shift']());}}}(_0x2c37,0xf0f21));import{View as _0x321972}from'ckeditor5/src/ui.js';function _0x2c37(){const _0x387a27=['counterView','ck-presence-list--collapsed','ck-presence-list','7tXHVgX','500952TuqSkW','ck-rounded-corners','setTemplate','24641883UTpRZp','listenTo','6lpGJkY','first','set','inlineListView','3389580xXXjEE','items','2775120klChhn','bind','896538vVIdgw','tooltipPosition','isCollapsed','hasPopup','locale','div','ck-reset','2921346QksRiW','2179348osUuuq','change','bindTemplate'];_0x2c37=function(){return _0x387a27;};return _0x2c37();}import{PresenceCounterView as _0x476f35}from'./presencecounterview.js';import{PresenceInlineListView as _0x1f5072}from'./presenceinlinelistview.js';function _0x3e5e(_0x5a8bd4,_0x3fd716){const _0x2c372d=_0x2c37();return _0x3e5e=function(_0x3e5e4d,_0x540d4f){_0x3e5e4d=_0x3e5e4d-0xd6;let _0x26350f=_0x2c372d[_0x3e5e4d];return _0x26350f;},_0x3e5e(_0x5a8bd4,_0x3fd716);}import'../../../theme/presencelist.css';export class PresenceListView extends _0x321972{[_0xd72ff4(0xdc)];[_0xd72ff4(0xe8)];constructor(_0x3d40da,_0x1c3080=0x6){const _0x45d4c4=_0xd72ff4;super(_0x3d40da);const _0x4e594e=this[_0x45d4c4(0xdb)];this[_0x45d4c4(0xe7)](_0x45d4c4(0xef),!0x0),this[_0x45d4c4(0xdc)]=new _0x476f35(this[_0x45d4c4(0xf1)],_0x1c3080),this[_0x45d4c4(0xe8)]=new _0x1f5072(_0x3d40da),this[_0x45d4c4(0xe8)][_0x45d4c4(0xec)](_0x45d4c4(0xf0))['to'](this,_0x45d4c4(0xef)),this[_0x45d4c4(0xe4)](this[_0x45d4c4(0xe8)][_0x45d4c4(0xea)],_0x45d4c4(0xda),()=>{const _0xf5ce2=_0x45d4c4;for(const _0x19f6c5 of this[_0xf5ce2(0xe8)][_0xf5ce2(0xea)])_0x19f6c5[_0xf5ce2(0xee)]='s';this[_0xf5ce2(0xe8)][_0xf5ce2(0xea)][_0xf5ce2(0xe6)]&&(this[_0xf5ce2(0xe8)][_0xf5ce2(0xea)][_0xf5ce2(0xe6)][_0xf5ce2(0xee)]='se');}),this[_0x45d4c4(0xe2)]({'tag':_0x45d4c4(0xd6),'attributes':{'class':['ck',_0x45d4c4(0xde),_0x45d4c4(0xd7),_0x45d4c4(0xe1),_0x4e594e['if'](_0x45d4c4(0xef),_0x45d4c4(0xdd))]},'children':[this[_0x45d4c4(0xe8)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2e06a4=_0xc1d5;(function(_0x14da21,_0x24c23f){var _0x292972=_0xc1d5,_0x29b5a4=_0x14da21();while(!![]){try{var _0x32af14=-parseInt(_0x292972(0x95))/0x1+-parseInt(_0x292972(0x94))/0x2+-parseInt(_0x292972(0x92))/0x3*(-parseInt(_0x292972(0x88))/0x4)+parseInt(_0x292972(0x91))/0x5+parseInt(_0x292972(0x8e))/0x6+parseInt(_0x292972(0x8a))/0x7*(-parseInt(_0x292972(0x8b))/0x8)+-parseInt(_0x292972(0x8f))/0x9*(-parseInt(_0x292972(0x8d))/0xa);if(_0x32af14===_0x24c23f)break;else _0x29b5a4['push'](_0x29b5a4['shift']());}catch(_0x505874){_0x29b5a4['push'](_0x29b5a4['shift']());}}}(_0x3179,0xc15b9));import{ContextPlugin as _0x5aa8d4}from'ckeditor5/src/core.js';function _0xc1d5(_0x5beea6,_0xf038b6){var _0x317944=_0x3179();return _0xc1d5=function(_0xc1d520,_0x201a5d){_0xc1d520=_0xc1d520-0x87;var _0x257550=_0x317944[_0xc1d520];return _0x257550;},_0xc1d5(_0x5beea6,_0xf038b6);}import{Sessions as _0x18425a}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x586dbb}from'./presencelist/presencelistui.js';function _0x3179(){var _0x3f1098=['2524wYBXpq','PresenceList','1883KVjYGE','5656ZwwmXw','requires','3230MmlOZk','3608292jKmwAs','3447hbnpDl','isOfficialPlugin','2300970PJiJzD','2352wIPsYj','isPremiumPlugin','663720jTQhTK','365953zucYbY','pluginName'];_0x3179=function(){return _0x3f1098;};return _0x3179();}export class PresenceList extends _0x5aa8d4{static get[_0x2e06a4(0x8c)](){return[_0x18425a,_0x586dbb];}static get[_0x2e06a4(0x87)](){var _0x55cc8b=_0x2e06a4;return _0x55cc8b(0x89);}static get[_0x2e06a4(0x90)](){return!0x0;}static get[_0x2e06a4(0x93)](){return!0x0;}}
23
+ var _0x3fed49=_0x34c8;function _0x34c8(_0x1738e4,_0x2daf0f){var _0xe2ce4d=_0xe2ce();return _0x34c8=function(_0x34c8ec,_0x58e836){_0x34c8ec=_0x34c8ec-0x17c;var _0x29fbd7=_0xe2ce4d[_0x34c8ec];return _0x29fbd7;},_0x34c8(_0x1738e4,_0x2daf0f);}(function(_0x196f0b,_0x5a78fd){var _0x20f5e3=_0x34c8,_0x5aaeb7=_0x196f0b();while(!![]){try{var _0x337834=parseInt(_0x20f5e3(0x186))/0x1*(-parseInt(_0x20f5e3(0x17d))/0x2)+parseInt(_0x20f5e3(0x185))/0x3+-parseInt(_0x20f5e3(0x183))/0x4*(parseInt(_0x20f5e3(0x18b))/0x5)+-parseInt(_0x20f5e3(0x180))/0x6+parseInt(_0x20f5e3(0x187))/0x7+-parseInt(_0x20f5e3(0x188))/0x8*(-parseInt(_0x20f5e3(0x182))/0x9)+parseInt(_0x20f5e3(0x18a))/0xa*(parseInt(_0x20f5e3(0x17e))/0xb);if(_0x337834===_0x5a78fd)break;else _0x5aaeb7['push'](_0x5aaeb7['shift']());}catch(_0x25abb7){_0x5aaeb7['push'](_0x5aaeb7['shift']());}}}(_0xe2ce,0xbf82b));import{ContextPlugin as _0x534bcf}from'ckeditor5/src/core.js';import{Sessions as _0xb50748}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0xe0fcf3}from'./presencelist/presencelistui.js';export class PresenceList extends _0x534bcf{static get[_0x3fed49(0x189)](){return[_0xb50748,_0xe0fcf3];}static get[_0x3fed49(0x181)](){var _0x1a2bad=_0x3fed49;return _0x1a2bad(0x17f);}static get[_0x3fed49(0x17c)](){return!0x0;}static get[_0x3fed49(0x184)](){return!0x0;}}function _0xe2ce(){var _0x1f9264=['77HfcQcs','PresenceList','8104602apHLFI','pluginName','63kczzDu','4EIiieO','isPremiumPlugin','1840962vzhAya','2rDvTGf','3006255YbkjGL','727688hfujKq','requires','2402890WQURyk','6114545EcjugR','isOfficialPlugin','3766QcdMOh'];_0xe2ce=function(){return _0x1f9264;};return _0xe2ce();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59560b=_0x2915;(function(_0x5c1d7f,_0xccb1a0){const _0x34e5eb=_0x2915,_0x1bc5e2=_0x5c1d7f();while(!![]){try{const _0x34c548=parseInt(_0x34e5eb(0x19c))/0x1*(-parseInt(_0x34e5eb(0x1d8))/0x2)+-parseInt(_0x34e5eb(0x1aa))/0x3+-parseInt(_0x34e5eb(0x18a))/0x4+-parseInt(_0x34e5eb(0x185))/0x5+parseInt(_0x34e5eb(0x190))/0x6+parseInt(_0x34e5eb(0x1a6))/0x7+-parseInt(_0x34e5eb(0x1c6))/0x8*(-parseInt(_0x34e5eb(0x1b5))/0x9);if(_0x34c548===_0xccb1a0)break;else _0x1bc5e2['push'](_0x1bc5e2['shift']());}catch(_0x5a120f){_0x1bc5e2['push'](_0x1bc5e2['shift']());}}}(_0x5a26,0x8137b));import{Context as _0x1b680b,ContextPlugin as _0x186001}from'ckeditor5/src/core.js';import{CKEditorError as _0x198a29}from'ckeditor5/src/utils.js';import{Users as _0x44d7d4}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x31e89c,User as _0x346d0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4a078c}from'../realtimecollaborativeediting/websocketgateway.js';function _0x5a26(){const _0x4ae234=['remove','cloud-services-internal-error:\x20Request\x20timeout.','cloud-services-internal-error:\x20Not\x20connected.','commentThreadUpdated','plugins','content','addToReconnectionStack','cloudservicescommentsadapter-disconnect-not-exist','resolveCommentThread','has','requires','commentUpdated','3525340qRtlFC','collaboration.channelId','_fetchMissingUsersForThreads','config','size','3314952FWCELW','init','set','CloudServicesCommentsAdapter','CommentsRepository','authorId','1872816FOfOEk','get','connect','_terminateService','addComment','unregister','listenTo','_setUpService','disconnect','addUser','reopen','register','1njZwiU','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','createdAt','_services','isPremiumPlugin','keys','permissions','startsWith','delete','comments','2317280QXTPAL','catch','isOfficialPlugin','resolvedAt','13581WAfYkC','removeComment','add','setPermissions','sessionAdd:','resolvedBy','userId','reconnect','commentThreadRemoved','off','_getService','2151GmeuQS','commentRemoved','updateCommentThread','message','commentThreadId','Permissions','deletedAt','commentThreadReopened','_connectService','assign','mySessionId','404','addCommentThread','getMany','commentThreadAdded','code','destroy','53848htipOv','CommentsService','update','removeCommentThread','context','getCommentThread','getCommentThreads','attributes','pluginName','updateComment','resolve','getComment','cloudservicescommentsadapter-service-not-exist','commentAdded','commentThreadResolved','reopenCommentThread','cloudservicescommentsadapter-connect-already-connected','getConnectedSessions','368554tvqoTI','commentId','adapter','getUser','map','from'];_0x5a26=function(){return _0x4ae234;};return _0x5a26();}import{Sessions as _0x110410}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x186001{static [_0x59560b(0x1c7)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x31e89c)());[_0x59560b(0x19f)];static get[_0x59560b(0x183)](){const _0x3eb9ad=_0x59560b;return[_0x4a078c,_0x3eb9ad(0x18e),_0x110410,_0x44d7d4];}static get[_0x59560b(0x1ce)](){const _0x5a32b6=_0x59560b;return _0x5a32b6(0x18d);}static get[_0x59560b(0x1a8)](){return!0x0;}static get[_0x59560b(0x1a0)](){return!0x0;}constructor(_0x4215b9){const _0x5cf6d5=_0x59560b;super(_0x4215b9),this[_0x5cf6d5(0x19f)]=new Map();}async[_0x59560b(0x18b)](){const _0x3158ee=_0x59560b,_0x2e7a37=this[_0x3158ee(0x1ca)],_0x36b6ee=_0x2e7a37[_0x3158ee(0x1e2)][_0x3158ee(0x191)](_0x3158ee(0x18e));if(_0x2e7a37[_0x3158ee(0x1e2)][_0x3158ee(0x191)](_0x4a078c)[_0x3158ee(0x1e4)](this),_0x36b6ee[_0x3158ee(0x1da)]={'addCommentThread':async({channelId:_0x534c30,threadId:_0x21c840,comments:_0x2b3b7d,resolvedAt:_0x32e25a,resolvedBy:_0x34fbd7,context:_0x374c8a,attributes:_0x32310d})=>{const _0x5b56a3=_0x3158ee,_0x40999f=await this[_0x5b56a3(0x1b4)](_0x534c30)[_0x5b56a3(0x1c1)]({'commentThreadId':_0x21c840,'comments':_0x2b3b7d[_0x5b56a3(0x1dc)](_0x1ea631=>function(_0x499ad6,_0x5d98a7,_0x5a072c){const _0x24a4aa=_0x5b56a3;return{'commentThreadId':_0x5a072c,'commentId':_0x499ad6[_0x24a4aa(0x1d9)],'userId':_0x499ad6[_0x24a4aa(0x18f)],'content':_0x499ad6[_0x24a4aa(0x1e3)],'documentId':_0x5d98a7,'createdAt':_0x499ad6[_0x24a4aa(0x19e)],'attributes':_0x499ad6[_0x24a4aa(0x1cd)]||{}};}(_0x1ea631,_0x534c30,_0x21c840)),'resolvedAt':_0x32e25a,'resolvedBy':_0x34fbd7,'context':_0x374c8a,'attributes':_0x32310d})[_0x5b56a3(0x1a7)](k);return{'threadId':_0x40999f[_0x5b56a3(0x1b9)],'comments':_0x40999f[_0x5b56a3(0x1a5)]};},'getCommentThread':async({channelId:_0x5eeb60,threadId:_0x2d26ca})=>{const _0x561b88=_0x3158ee,_0x58964f=await this[_0x561b88(0x1b4)](_0x5eeb60)[_0x561b88(0x1cb)](_0x2d26ca)[_0x561b88(0x1a7)](F)[_0x561b88(0x1a7)](k);return _0x58964f?_0x58964f[_0x561b88(0x1bb)]?null:(await this[_0x561b88(0x187)]([_0x58964f]),{'threadId':_0x58964f[_0x561b88(0x1b9)],'comments':_0x58964f[_0x561b88(0x1a5)][_0x561b88(0x1dc)](S),'context':_0x58964f[_0x561b88(0x1ca)],'resolvedAt':_0x58964f[_0x561b88(0x1a9)],'resolvedBy':_0x58964f[_0x561b88(0x1af)],'attributes':_0x58964f[_0x561b88(0x1cd)]||{}}):null;},'updateCommentThread':async({channelId:_0x3449f8,threadId:_0x17bdb1,context:_0x565f84,unlinkedAt:_0x34265c,attributes:_0x26c464})=>this[_0x3158ee(0x1b4)](_0x3449f8)[_0x3158ee(0x1b7)]({'commentThreadId':_0x17bdb1,'context':_0x565f84,'attributes':_0x26c464,'unlinkedAt':_0x34265c})[_0x3158ee(0x1a7)](F)[_0x3158ee(0x1a7)](k),'resolveCommentThread':async({channelId:_0x41f967,threadId:_0xbc715})=>{const _0x4b391f=_0x3158ee,_0x1c28d9=await this[_0x4b391f(0x1b4)](_0x41f967)[_0x4b391f(0x1e6)](_0xbc715)[_0x4b391f(0x1a7)](F)[_0x4b391f(0x1a7)](k);return{'threadId':_0x1c28d9[_0x4b391f(0x1b9)],'resolvedAt':_0x1c28d9[_0x4b391f(0x1a9)],'resolvedBy':_0x1c28d9[_0x4b391f(0x1af)]};},'reopenCommentThread':async({channelId:_0x44b907,threadId:_0xa38127})=>this[_0x3158ee(0x1b4)](_0x44b907)[_0x3158ee(0x1d5)](_0xa38127)[_0x3158ee(0x1a7)](F)[_0x3158ee(0x1a7)](k),'removeCommentThread':({channelId:_0xd4598f,threadId:_0x1724a3})=>this[_0x3158ee(0x1b4)](_0xd4598f)[_0x3158ee(0x1c9)](_0x1724a3)[_0x3158ee(0x1a7)](F)[_0x3158ee(0x1a7)](k),'addComment':({channelId:_0x7f8bc9,threadId:_0x10eefa,commentId:_0x4b0a71,content:_0x50d63f,attributes:_0x1c049e})=>this[_0x3158ee(0x1b4)](_0x7f8bc9)[_0x3158ee(0x194)](_0x10eefa,_0x4b0a71,_0x50d63f,_0x1c049e)[_0x3158ee(0x1a7)](k),'updateComment':({channelId:_0x3604b6,threadId:_0x40c997,commentId:_0x5170ea,content:_0x5ea0d,attributes:_0x39e3ea})=>this[_0x3158ee(0x1b4)](_0x3604b6)[_0x3158ee(0x1cf)](_0x40c997,_0x5170ea,_0x5ea0d,_0x39e3ea)[_0x3158ee(0x1a7)](F)[_0x3158ee(0x1a7)](k),'removeComment':({channelId:_0x3f1257,threadId:_0x2551e3,commentId:_0x589c7e})=>this[_0x3158ee(0x1b4)](_0x3f1257)[_0x3158ee(0x1ab)](_0x2551e3,_0x589c7e)[_0x3158ee(0x1a7)](F)[_0x3158ee(0x1a7)](k)},_0x2e7a37 instanceof _0x1b680b){const _0x61e41a=_0x2e7a37[_0x3158ee(0x188)][_0x3158ee(0x191)](_0x3158ee(0x186)),_0x240f74=_0x2e7a37[_0x3158ee(0x1e2)][_0x3158ee(0x191)](_0x110410);await this[_0x3158ee(0x197)](_0x61e41a);const _0xe56d83=await this[_0x3158ee(0x19f)][_0x3158ee(0x191)](_0x61e41a)[_0x3158ee(0x1d7)]();this[_0x3158ee(0x196)](_0x240f74,_0x3158ee(0x1ae)+_0x61e41a,(_0x2a9731,{session:_0x4c765a})=>{const _0x8adc28=_0x3158ee;_0x4c765a['id']===_0x240f74[_0x8adc28(0x1bf)]&&(_0x2a9731[_0x8adc28(0x1b3)](),this[_0x8adc28(0x1ca)][_0x8adc28(0x1e2)][_0x8adc28(0x191)](_0x8adc28(0x1ba))[_0x8adc28(0x1ad)](_0x4c765a[_0x8adc28(0x1a2)],_0x61e41a));}),_0x240f74[_0x3158ee(0x19b)](_0x61e41a,_0xe56d83);}}async[_0x59560b(0x197)](_0x344175){const _0x2b66a3=_0x59560b;if(this[_0x2b66a3(0x19f)][_0x2b66a3(0x1e7)](_0x344175))throw new _0x198a29(_0x2b66a3(0x1d6),null,{'channelId':_0x344175});const _0x1b853c=this[_0x2b66a3(0x1ca)][_0x2b66a3(0x1e2)][_0x2b66a3(0x191)](_0x2b66a3(0x18e)),_0xb0f6fa=new CloudServicesCommentsAdapter[(_0x2b66a3(0x1c7))](_0x344175);this[_0x2b66a3(0x19f)][_0x2b66a3(0x18c)](_0x344175,_0xb0f6fa),this[_0x2b66a3(0x196)](_0xb0f6fa,_0x2b66a3(0x1c3),(_0x3c1a49,_0x3ed1cd)=>{const _0x2ac772=_0x2b66a3,{commentThreadId:_0x45b477,documentId:_0x131d1f,context:_0x179b7f,attributes:_0x3d5cf9,resolvedAt:_0x3b67da,resolvedBy:_0x5ef00e,comments:_0x2668f2}=_0x3ed1cd;_0x1b853c[_0x2ac772(0x1cb)](_0x45b477)||_0x1b853c[_0x2ac772(0x1c1)]({'threadId':_0x45b477,'channelId':_0x131d1f,'comments':_0x2668f2?_0x2668f2[_0x2ac772(0x1dc)](S):[],'context':_0x179b7f,'attributes':_0x3d5cf9,'resolvedAt':_0x3b67da,'resolvedBy':_0x5ef00e,'isFromAdapter':!0x0});}),this[_0x2b66a3(0x196)](_0xb0f6fa,_0x2b66a3(0x1e1),(_0x53b7b6,{commentThreadId:_0x298582,documentId:_0x5c7e6f,context:_0x43504c,unlinkedAt:_0x506f75,attributes:_0x1d7489})=>{const _0x1e37d6=_0x2b66a3;_0x1b853c[_0x1e37d6(0x1cb)](_0x298582)&&_0x1b853c[_0x1e37d6(0x1b7)]({'threadId':_0x298582,'channelId':_0x5c7e6f,'context':_0x43504c,'unlinkedAt':_0x506f75,'attributes':_0x1d7489,'isFromAdapter':!0x0});}),this[_0x2b66a3(0x196)](_0xb0f6fa,_0x2b66a3(0x1d4),(_0x49045a,{commentThreadId:_0x2e892d,resolvedBy:_0x593fac,resolvedAt:_0x5491d7})=>{const _0x3e9d78=_0x2b66a3,_0x1b2d4c=_0x1b853c[_0x3e9d78(0x1cb)](_0x2e892d);_0x1b2d4c&&_0x1b2d4c[_0x3e9d78(0x1d0)]({'resolvedBy':_0x593fac,'resolvedAt':_0x5491d7,'isFromAdapter':!0x0});}),this[_0x2b66a3(0x196)](_0xb0f6fa,_0x2b66a3(0x1bc),(_0x4efd08,{commentThreadId:_0x1b58da})=>{const _0x5752f4=_0x2b66a3,_0x53c8e3=_0x1b853c[_0x5752f4(0x1cb)](_0x1b58da);_0x53c8e3&&_0x53c8e3[_0x5752f4(0x19a)]({'isFromAdapter':!0x0});}),this[_0x2b66a3(0x196)](_0xb0f6fa,_0x2b66a3(0x1b2),(_0x161b5e,{commentThreadId:_0x108551})=>{const _0xff7edb=_0x2b66a3,_0x45db41=_0x1b853c[_0xff7edb(0x1cb)](_0x108551);_0x45db41&&_0x45db41[_0xff7edb(0x1de)]({'isFromAdapter':!0x0});}),this[_0x2b66a3(0x196)](_0xb0f6fa,_0x2b66a3(0x1d3),(_0x14b49a,_0x388a4b)=>{const _0xa3696e=_0x2b66a3,_0x470bff=_0x388a4b[_0xa3696e(0x1b9)],_0x31ba44=_0x1b853c[_0xa3696e(0x1cb)](_0x470bff);_0x31ba44&&_0x31ba44[_0xa3696e(0x194)]({...S(_0x388a4b),'isFromAdapter':!0x0});}),this[_0x2b66a3(0x196)](_0xb0f6fa,_0x2b66a3(0x184),(_0xc10f76,{commentThreadId:_0x5190db,commentId:_0x270b67,content:_0x1ea495,attributes:_0x2aecfb})=>{const _0x394a75=_0x2b66a3,_0x5cfb56=_0x1b853c[_0x394a75(0x1cb)](_0x5190db);if(_0x5cfb56){const _0x344fe4=_0x5cfb56[_0x394a75(0x1d1)](_0x270b67);_0x344fe4&&_0x344fe4[_0x394a75(0x1c8)]({'content':_0x1ea495,'attributes':_0x2aecfb,'isFromAdapter':!0x0});}}),this[_0x2b66a3(0x196)](_0xb0f6fa,_0x2b66a3(0x1b6),(_0x4539c7,{commentThreadId:_0x1a2c48,commentId:_0x40df64})=>{const _0x3173f3=_0x2b66a3,_0x12de48=_0x1b853c[_0x3173f3(0x1cb)](_0x1a2c48);if(_0x12de48){const _0x2c89c5=_0x12de48[_0x3173f3(0x1d1)](_0x40df64);_0x2c89c5&&_0x2c89c5[_0x3173f3(0x1de)]({'isFromAdapter':!0x0});}}),await this[_0x2b66a3(0x1bd)](_0x344175);}[_0x59560b(0x1c5)](){const _0xc3db4e=_0x59560b;if(this[_0xc3db4e(0x1ca)]instanceof _0x1b680b){const _0x1bf887=this[_0xc3db4e(0x1ca)][_0xc3db4e(0x188)][_0xc3db4e(0x191)](_0xc3db4e(0x186));this[_0xc3db4e(0x193)](_0x1bf887);}}[_0x59560b(0x193)](_0x123ded){const _0xe4aa5e=_0x59560b;if(!this[_0xe4aa5e(0x19f)][_0xe4aa5e(0x1e7)](_0x123ded))throw new _0x198a29(_0xe4aa5e(0x1e5),null,{'channelId':_0x123ded});this[_0xe4aa5e(0x1b4)](_0x123ded)[_0xe4aa5e(0x198)](),this[_0xe4aa5e(0x19f)][_0xe4aa5e(0x1a4)](_0x123ded);}async[_0x59560b(0x1b1)](){const _0x36057e=_0x59560b;for(const _0xb84efd of this[_0x36057e(0x19f)][_0x36057e(0x1a1)]())await this[_0x36057e(0x1bd)](_0xb84efd);if(this[_0x36057e(0x1ca)]instanceof _0x1b680b){const _0x474a3a=this[_0x36057e(0x1ca)][_0x36057e(0x188)][_0x36057e(0x191)](_0x36057e(0x186)),_0xe841af=this[_0x36057e(0x1ca)][_0x36057e(0x1e2)][_0x36057e(0x191)](_0x110410);_0xe841af[_0x36057e(0x195)](_0x474a3a);const _0x3032ab=await this[_0x36057e(0x19f)][_0x36057e(0x191)](_0x474a3a)[_0x36057e(0x1d7)]();_0xe841af[_0x36057e(0x19b)](_0x474a3a,_0x3032ab);}}async[_0x59560b(0x1bd)](_0x5dff26){const _0x491836=_0x59560b,{connection:_0x204fe1}=this[_0x491836(0x1ca)][_0x491836(0x1e2)][_0x491836(0x191)](_0x4a078c),_0x2977cf=this[_0x491836(0x1ca)][_0x491836(0x1e2)][_0x491836(0x191)](_0x491836(0x18e)),_0x4520b3=this[_0x491836(0x19f)][_0x491836(0x191)](_0x5dff26),_0x5cad69=await _0x4520b3[_0x491836(0x192)](_0x204fe1);await this[_0x491836(0x187)](_0x5cad69);const _0x1a25c9=new Set(Array[_0x491836(0x1dd)](_0x2977cf[_0x491836(0x1cc)]({'channelId':_0x5dff26}),_0x345877=>_0x345877['id']));for(const _0xba6579 of _0x5cad69)_0xba6579[_0x491836(0x1bb)]||_0x1a25c9[_0x491836(0x1a4)](_0xba6579[_0x491836(0x1b9)]);for(const _0x52181d of _0x1a25c9)_0x2977cf[_0x491836(0x1cb)](_0x52181d)[_0x491836(0x1de)]({'isFromAdapter':!0x0});for(const _0x3a9b4d of _0x5cad69){let _0xa0a2d8=_0x2977cf[_0x491836(0x1cb)](_0x3a9b4d[_0x491836(0x1b9)]);const {commentThreadId:_0x13537a,context:_0x3a5fa3,attributes:_0x28d150,resolvedBy:_0x1710d4,resolvedAt:_0x490635,unlinkedAt:_0x4991f1,deletedAt:_0x3a5e1a}=_0x3a9b4d;if(_0x3a5e1a)continue;_0xa0a2d8||(_0xa0a2d8=_0x2977cf[_0x491836(0x1c1)]({'channelId':_0x5dff26,'threadId':_0x13537a,'context':_0x3a5fa3,'attributes':_0x28d150||{},'resolvedBy':_0x1710d4,'resolvedAt':_0x490635,'unlinkedAt':_0x4991f1,'isFromAdapter':!0x0}));const _0x399271=new Set(Array[_0x491836(0x1dd)](_0xa0a2d8[_0x491836(0x1a5)],_0x17bc9c=>_0x17bc9c['id']));for(const _0x393a49 of _0x3a9b4d[_0x491836(0x1a5)])_0x399271[_0x491836(0x1a4)](_0x393a49[_0x491836(0x1d9)]);for(const _0x461189 of _0x399271)_0xa0a2d8[_0x491836(0x1d1)](_0x461189)[_0x491836(0x1de)]({'isFromAdapter':!0x0});for(const _0x5f2ed7 of _0x3a9b4d[_0x491836(0x1a5)]){const _0x4b0c5b=_0xa0a2d8[_0x491836(0x1d1)](_0x5f2ed7[_0x491836(0x1d9)]);_0x4b0c5b?_0x4b0c5b[_0x491836(0x1e3)]!==_0x5f2ed7[_0x491836(0x1e3)]&&_0x4b0c5b[_0x491836(0x1c8)]({'content':_0x5f2ed7[_0x491836(0x1e3)],'isFromAdapter':!0x0}):_0xa0a2d8[_0x491836(0x194)](Object[_0x491836(0x1be)](S(_0x5f2ed7),{'isFromAdapter':!0x0}));}}}[_0x59560b(0x1b4)](_0x567443){const _0x465581=_0x59560b;if(!this[_0x465581(0x19f)][_0x465581(0x1e7)](_0x567443))throw new _0x198a29(_0x465581(0x1d2),null,{'channelId':_0x567443});return this[_0x465581(0x19f)][_0x465581(0x191)](_0x567443);}async[_0x59560b(0x187)](_0x3c094e){const _0x21c4cd=_0x59560b,_0x559593=this[_0x21c4cd(0x1ca)][_0x21c4cd(0x1e2)][_0x21c4cd(0x191)](_0x44d7d4),{connection:_0x651fae}=this[_0x21c4cd(0x1ca)][_0x21c4cd(0x1e2)][_0x21c4cd(0x191)](_0x4a078c),_0x22b8a9=new Set();for(const {resolvedBy:_0x2c3e2c,comments:_0xfb24e6}of _0x3c094e){_0x2c3e2c&&!_0x559593[_0x21c4cd(0x1db)](_0x2c3e2c)&&_0x22b8a9[_0x21c4cd(0x1ac)](_0x2c3e2c);for(const {userId:_0x4bff50}of _0xfb24e6)_0x559593[_0x21c4cd(0x1db)](_0x4bff50)||_0x22b8a9[_0x21c4cd(0x1ac)](_0x4bff50);}if(0x0===_0x22b8a9[_0x21c4cd(0x189)])return;const _0x560539=await _0x346d0[_0x21c4cd(0x1c2)](_0x651fae,Array[_0x21c4cd(0x1dd)](_0x22b8a9));for(const _0x38f562 of _0x560539)_0x559593[_0x21c4cd(0x1db)](_0x38f562['id'])||_0x559593[_0x21c4cd(0x199)](_0x38f562);}}function _0x2915(_0x297ae8,_0x48c2d7){const _0x5a263b=_0x5a26();return _0x2915=function(_0x2915cd,_0x32dc84){_0x2915cd=_0x2915cd-0x183;let _0x285864=_0x5a263b[_0x2915cd];return _0x285864;},_0x2915(_0x297ae8,_0x48c2d7);}async function F(_0x25ae7b){const _0x154a20=_0x59560b;if(_0x154a20(0x1c0)!==_0x25ae7b[_0x154a20(0x1c4)])throw _0x25ae7b;}function k(_0x511ca2){const _0x172f65=_0x59560b;if((_0x113678=_0x511ca2)[_0x172f65(0x1b8)][_0x172f65(0x1a3)](_0x172f65(0x19d))||_0x113678[_0x172f65(0x1b8)][_0x172f65(0x1a3)](_0x172f65(0x1e0))||_0x113678[_0x172f65(0x1b8)][_0x172f65(0x1a3)](_0x172f65(0x1df)))return new Promise(()=>{});var _0x113678;throw _0x511ca2;}function S(_0x4b3d30){const _0x350122=_0x59560b;return{'threadId':_0x4b3d30[_0x350122(0x1b9)],'commentId':_0x4b3d30[_0x350122(0x1d9)],'content':_0x4b3d30[_0x350122(0x1e3)],'createdAt':_0x4b3d30[_0x350122(0x19e)],'authorId':_0x4b3d30[_0x350122(0x1b0)],'attributes':_0x4b3d30[_0x350122(0x1cd)]||{}};}
23
+ const _0x1799d2=_0x1109;function _0x438a(){const _0x18f8db=['startsWith','config','reconnect','context','404','register','from','get','listenTo','commentThreadResolved','_setUpService','removeComment','Permissions','commentUpdated','update','destroy','commentThreadAdded','CommentsRepository','addToReconnectionStack','requires','149470KPYIaR','commentThreadUpdated','commentThreadRemoved','_services','isOfficialPlugin','getCommentThread','resolve','collaboration.channelId','_fetchMissingUsersForThreads','commentAdded','assign','getUser','isPremiumPlugin','cloud-services-internal-error:\x20Not\x20connected.','off','6pzcZjx','sessionAdd:','disconnect','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','1334PeepEx','getMany','11KNMwjF','1076120MPEswL','pluginName','cloudservicescommentsadapter-disconnect-not-exist','add','cloudservicescommentsadapter-service-not-exist','CommentsService','deletedAt','reopen','mySessionId','content','unregister','resolveCommentThread','keys','resolvedBy','cloudservicescommentsadapter-connect-already-connected','commentThreadReopened','size','updateCommentThread','setPermissions','permissions','adapter','catch','delete','commentThreadId','connect','userId','3114cNNZIY','commentRemoved','addComment','set','9KLdzdb','_terminateService','map','remove','cloud-services-internal-error:\x20Request\x20timeout.','message','removeCommentThread','reopenCommentThread','commentId','has','CloudServicesCommentsAdapter','getComment','_connectService','code','addCommentThread','comments','createdAt','531527xWUUeG','attributes','resolvedAt','authorId','_getService','addUser','5315751wHRtKZ','3472184WRfRGz','getCommentThreads','getConnectedSessions','init','1754465GaQgjU','plugins','updateComment'];_0x438a=function(){return _0x18f8db;};return _0x438a();}(function(_0x5fad5e,_0x578c89){const _0x140d35=_0x1109,_0x2a0c1a=_0x5fad5e();while(!![]){try{const _0xeec091=-parseInt(_0x140d35(0x163))/0x1+-parseInt(_0x140d35(0x198))/0x2*(-parseInt(_0x140d35(0x1b5))/0x3)+-parseInt(_0x140d35(0x16a))/0x4+parseInt(_0x140d35(0x16e))/0x5*(parseInt(_0x140d35(0x194))/0x6)+parseInt(_0x140d35(0x169))/0x7+-parseInt(_0x140d35(0x19b))/0x8*(-parseInt(_0x140d35(0x1b9))/0x9)+-parseInt(_0x140d35(0x185))/0xa*(-parseInt(_0x140d35(0x19a))/0xb);if(_0xeec091===_0x578c89)break;else _0x2a0c1a['push'](_0x2a0c1a['shift']());}catch(_0xe64dcd){_0x2a0c1a['push'](_0x2a0c1a['shift']());}}}(_0x438a,0x86e49));import{Context as _0x3332f8,ContextPlugin as _0x584720}from'ckeditor5/src/core.js';import{CKEditorError as _0x2de265}from'ckeditor5/src/utils.js';import{Users as _0x3d96a1}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0xe0f9e0,User as _0x37b7f5}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x3e86e4}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x138adb}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x584720{static [_0x1799d2(0x1a0)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0xe0f9e0)());[_0x1799d2(0x188)];static get[_0x1799d2(0x184)](){const _0x13aa72=_0x1799d2;return[_0x3e86e4,_0x13aa72(0x182),_0x138adb,_0x3d96a1];}static get[_0x1799d2(0x19c)](){const _0x1ae5d6=_0x1799d2;return _0x1ae5d6(0x15c);}static get[_0x1799d2(0x189)](){return!0x0;}static get[_0x1799d2(0x191)](){return!0x0;}constructor(_0x182f51){const _0x421b57=_0x1799d2;super(_0x182f51),this[_0x421b57(0x188)]=new Map();}async[_0x1799d2(0x16d)](){const _0x1c258d=_0x1799d2,_0x52b8ad=this[_0x1c258d(0x174)],_0x58e530=_0x52b8ad[_0x1c258d(0x16f)][_0x1c258d(0x178)](_0x1c258d(0x182));if(_0x52b8ad[_0x1c258d(0x16f)][_0x1c258d(0x178)](_0x3e86e4)[_0x1c258d(0x183)](this),_0x58e530[_0x1c258d(0x1af)]={'addCommentThread':async({channelId:_0x2436e3,threadId:_0x4d0d71,comments:_0x4212e7,resolvedAt:_0x57208b,resolvedBy:_0x3a268c,context:_0x2fb992,attributes:_0x107d48})=>{const _0x3eabee=_0x1c258d,_0x2707e3=await this[_0x3eabee(0x167)](_0x2436e3)[_0x3eabee(0x160)]({'commentThreadId':_0x4d0d71,'comments':_0x4212e7[_0x3eabee(0x1bb)](_0x2ff5eb=>function(_0x41f9ff,_0x534b3c,_0x13069e){const _0x4552bd=_0x3eabee;return{'commentThreadId':_0x13069e,'commentId':_0x41f9ff[_0x4552bd(0x15a)],'userId':_0x41f9ff[_0x4552bd(0x166)],'content':_0x41f9ff[_0x4552bd(0x1a4)],'documentId':_0x534b3c,'createdAt':_0x41f9ff[_0x4552bd(0x162)],'attributes':_0x41f9ff[_0x4552bd(0x164)]||{}};}(_0x2ff5eb,_0x2436e3,_0x4d0d71)),'resolvedAt':_0x57208b,'resolvedBy':_0x3a268c,'context':_0x2fb992,'attributes':_0x107d48})[_0x3eabee(0x1b0)](A);return{'threadId':_0x2707e3[_0x3eabee(0x1b2)],'comments':_0x2707e3[_0x3eabee(0x161)]};},'getCommentThread':async({channelId:_0x8de70a,threadId:_0xb12339})=>{const _0x468d62=_0x1c258d,_0xd22cf7=await this[_0x468d62(0x167)](_0x8de70a)[_0x468d62(0x18a)](_0xb12339)[_0x468d62(0x1b0)](f)[_0x468d62(0x1b0)](A);return _0xd22cf7?_0xd22cf7[_0x468d62(0x1a1)]?null:(await this[_0x468d62(0x18d)]([_0xd22cf7]),{'threadId':_0xd22cf7[_0x468d62(0x1b2)],'comments':_0xd22cf7[_0x468d62(0x161)][_0x468d62(0x1bb)](p),'context':_0xd22cf7[_0x468d62(0x174)],'resolvedAt':_0xd22cf7[_0x468d62(0x165)],'resolvedBy':_0xd22cf7[_0x468d62(0x1a8)],'attributes':_0xd22cf7[_0x468d62(0x164)]||{}}):null;},'updateCommentThread':async({channelId:_0x43dc58,threadId:_0xc0a935,context:_0x319ccf,unlinkedAt:_0x341636,attributes:_0x5b709e})=>this[_0x1c258d(0x167)](_0x43dc58)[_0x1c258d(0x1ac)]({'commentThreadId':_0xc0a935,'context':_0x319ccf,'attributes':_0x5b709e,'unlinkedAt':_0x341636})[_0x1c258d(0x1b0)](f)[_0x1c258d(0x1b0)](A),'resolveCommentThread':async({channelId:_0x26b1bc,threadId:_0x10ffa1})=>{const _0x2d3165=_0x1c258d,_0x5b2f8b=await this[_0x2d3165(0x167)](_0x26b1bc)[_0x2d3165(0x1a6)](_0x10ffa1)[_0x2d3165(0x1b0)](f)[_0x2d3165(0x1b0)](A);return{'threadId':_0x5b2f8b[_0x2d3165(0x1b2)],'resolvedAt':_0x5b2f8b[_0x2d3165(0x165)],'resolvedBy':_0x5b2f8b[_0x2d3165(0x1a8)]};},'reopenCommentThread':async({channelId:_0x285acd,threadId:_0xb8a80f})=>this[_0x1c258d(0x167)](_0x285acd)[_0x1c258d(0x1c0)](_0xb8a80f)[_0x1c258d(0x1b0)](f)[_0x1c258d(0x1b0)](A),'removeCommentThread':({channelId:_0x55dae6,threadId:_0x5d89ec})=>this[_0x1c258d(0x167)](_0x55dae6)[_0x1c258d(0x1bf)](_0x5d89ec)[_0x1c258d(0x1b0)](f)[_0x1c258d(0x1b0)](A),'addComment':({channelId:_0x476219,threadId:_0x56c2ec,commentId:_0x2cf907,content:_0x3f3cc3,attributes:_0x44ec5c})=>this[_0x1c258d(0x167)](_0x476219)[_0x1c258d(0x1b7)](_0x56c2ec,_0x2cf907,_0x3f3cc3,_0x44ec5c)[_0x1c258d(0x1b0)](A),'updateComment':({channelId:_0x146391,threadId:_0x3ebc56,commentId:_0x531755,content:_0x5c579e,attributes:_0x30c7cf})=>this[_0x1c258d(0x167)](_0x146391)[_0x1c258d(0x170)](_0x3ebc56,_0x531755,_0x5c579e,_0x30c7cf)[_0x1c258d(0x1b0)](f)[_0x1c258d(0x1b0)](A),'removeComment':({channelId:_0x139c4a,threadId:_0x422c68,commentId:_0x5a4ccb})=>this[_0x1c258d(0x167)](_0x139c4a)[_0x1c258d(0x17c)](_0x422c68,_0x5a4ccb)[_0x1c258d(0x1b0)](f)[_0x1c258d(0x1b0)](A)},_0x52b8ad instanceof _0x3332f8){const _0x563d4c=_0x52b8ad[_0x1c258d(0x172)][_0x1c258d(0x178)](_0x1c258d(0x18c)),_0x1610bc=_0x52b8ad[_0x1c258d(0x16f)][_0x1c258d(0x178)](_0x138adb);await this[_0x1c258d(0x17b)](_0x563d4c);const _0xc36c68=await this[_0x1c258d(0x188)][_0x1c258d(0x178)](_0x563d4c)[_0x1c258d(0x16c)]();this[_0x1c258d(0x179)](_0x1610bc,_0x1c258d(0x195)+_0x563d4c,(_0x1dfb50,{session:_0xa1cfd3})=>{const _0x58a5fd=_0x1c258d;_0xa1cfd3['id']===_0x1610bc[_0x58a5fd(0x1a3)]&&(_0x1dfb50[_0x58a5fd(0x193)](),this[_0x58a5fd(0x174)][_0x58a5fd(0x16f)][_0x58a5fd(0x178)](_0x58a5fd(0x17d))[_0x58a5fd(0x1ad)](_0xa1cfd3[_0x58a5fd(0x1ae)],_0x563d4c));}),_0x1610bc[_0x1c258d(0x176)](_0x563d4c,_0xc36c68);}}async[_0x1799d2(0x17b)](_0x33d530){const _0x450b79=_0x1799d2;if(this[_0x450b79(0x188)][_0x450b79(0x15b)](_0x33d530))throw new _0x2de265(_0x450b79(0x1a9),null,{'channelId':_0x33d530});const _0x158009=this[_0x450b79(0x174)][_0x450b79(0x16f)][_0x450b79(0x178)](_0x450b79(0x182)),_0x8107ad=new CloudServicesCommentsAdapter[(_0x450b79(0x1a0))](_0x33d530);this[_0x450b79(0x188)][_0x450b79(0x1b8)](_0x33d530,_0x8107ad),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x181),(_0x4c09f9,_0x1e19aa)=>{const _0x2edff2=_0x450b79,{commentThreadId:_0x3d2d37,documentId:_0x54fd4f,context:_0x1b2ed4,attributes:_0x5a84c7,resolvedAt:_0x14bf9e,resolvedBy:_0xc9e962,comments:_0x425e08}=_0x1e19aa;_0x158009[_0x2edff2(0x18a)](_0x3d2d37)||_0x158009[_0x2edff2(0x160)]({'threadId':_0x3d2d37,'channelId':_0x54fd4f,'comments':_0x425e08?_0x425e08[_0x2edff2(0x1bb)](p):[],'context':_0x1b2ed4,'attributes':_0x5a84c7,'resolvedAt':_0x14bf9e,'resolvedBy':_0xc9e962,'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x186),(_0x161bf1,{commentThreadId:_0x272a87,documentId:_0xc8974d,context:_0x5d53c9,unlinkedAt:_0x30a98e,attributes:_0x2bae4a})=>{const _0x601629=_0x450b79;_0x158009[_0x601629(0x18a)](_0x272a87)&&_0x158009[_0x601629(0x1ac)]({'threadId':_0x272a87,'channelId':_0xc8974d,'context':_0x5d53c9,'unlinkedAt':_0x30a98e,'attributes':_0x2bae4a,'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x17a),(_0xbfb9ff,{commentThreadId:_0x58a214,resolvedBy:_0x122c9e,resolvedAt:_0x25244b})=>{const _0x48d8eb=_0x450b79,_0x3c02f0=_0x158009[_0x48d8eb(0x18a)](_0x58a214);_0x3c02f0&&_0x3c02f0[_0x48d8eb(0x18b)]({'resolvedBy':_0x122c9e,'resolvedAt':_0x25244b,'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x1aa),(_0x4c2561,{commentThreadId:_0x26a35b})=>{const _0xf8db67=_0x450b79,_0x4c1d31=_0x158009[_0xf8db67(0x18a)](_0x26a35b);_0x4c1d31&&_0x4c1d31[_0xf8db67(0x1a2)]({'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x187),(_0x15f991,{commentThreadId:_0xc4bc08})=>{const _0x2d51e9=_0x450b79,_0x36730a=_0x158009[_0x2d51e9(0x18a)](_0xc4bc08);_0x36730a&&_0x36730a[_0x2d51e9(0x1bc)]({'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x18e),(_0x369483,_0x4510c5)=>{const _0x29a47c=_0x450b79,_0x1adeea=_0x4510c5[_0x29a47c(0x1b2)],_0x201331=_0x158009[_0x29a47c(0x18a)](_0x1adeea);_0x201331&&_0x201331[_0x29a47c(0x1b7)]({...p(_0x4510c5),'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x17e),(_0x36c7af,{commentThreadId:_0x5ca615,commentId:_0x5e53ed,content:_0x3d51ef,attributes:_0x21eb30})=>{const _0x59305e=_0x450b79,_0xb2e9fb=_0x158009[_0x59305e(0x18a)](_0x5ca615);if(_0xb2e9fb){const _0x2eb40c=_0xb2e9fb[_0x59305e(0x15d)](_0x5e53ed);_0x2eb40c&&_0x2eb40c[_0x59305e(0x17f)]({'content':_0x3d51ef,'attributes':_0x21eb30,'isFromAdapter':!0x0});}}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x1b6),(_0x4f7caa,{commentThreadId:_0x790528,commentId:_0x42fe28})=>{const _0xca30e9=_0x450b79,_0x4a9de0=_0x158009[_0xca30e9(0x18a)](_0x790528);if(_0x4a9de0){const _0x444d3d=_0x4a9de0[_0xca30e9(0x15d)](_0x42fe28);_0x444d3d&&_0x444d3d[_0xca30e9(0x1bc)]({'isFromAdapter':!0x0});}}),await this[_0x450b79(0x15e)](_0x33d530);}[_0x1799d2(0x180)](){const _0x25119e=_0x1799d2;if(this[_0x25119e(0x174)]instanceof _0x3332f8){const _0x5e9e3b=this[_0x25119e(0x174)][_0x25119e(0x172)][_0x25119e(0x178)](_0x25119e(0x18c));this[_0x25119e(0x1ba)](_0x5e9e3b);}}[_0x1799d2(0x1ba)](_0x4cbf85){const _0x36ecb0=_0x1799d2;if(!this[_0x36ecb0(0x188)][_0x36ecb0(0x15b)](_0x4cbf85))throw new _0x2de265(_0x36ecb0(0x19d),null,{'channelId':_0x4cbf85});this[_0x36ecb0(0x167)](_0x4cbf85)[_0x36ecb0(0x196)](),this[_0x36ecb0(0x188)][_0x36ecb0(0x1b1)](_0x4cbf85);}async[_0x1799d2(0x173)](){const _0x1b7451=_0x1799d2;for(const _0x3cb3b9 of this[_0x1b7451(0x188)][_0x1b7451(0x1a7)]())await this[_0x1b7451(0x15e)](_0x3cb3b9);if(this[_0x1b7451(0x174)]instanceof _0x3332f8){const _0x1b67f7=this[_0x1b7451(0x174)][_0x1b7451(0x172)][_0x1b7451(0x178)](_0x1b7451(0x18c)),_0x49a8d6=this[_0x1b7451(0x174)][_0x1b7451(0x16f)][_0x1b7451(0x178)](_0x138adb);_0x49a8d6[_0x1b7451(0x1a5)](_0x1b67f7);const _0x43da3b=await this[_0x1b7451(0x188)][_0x1b7451(0x178)](_0x1b67f7)[_0x1b7451(0x16c)]();_0x49a8d6[_0x1b7451(0x176)](_0x1b67f7,_0x43da3b);}}async[_0x1799d2(0x15e)](_0x3efee0){const _0x184dc2=_0x1799d2,{connection:_0x1cc874}=this[_0x184dc2(0x174)][_0x184dc2(0x16f)][_0x184dc2(0x178)](_0x3e86e4),_0x2befdd=this[_0x184dc2(0x174)][_0x184dc2(0x16f)][_0x184dc2(0x178)](_0x184dc2(0x182)),_0x198965=this[_0x184dc2(0x188)][_0x184dc2(0x178)](_0x3efee0),_0x534732=await _0x198965[_0x184dc2(0x1b3)](_0x1cc874);await this[_0x184dc2(0x18d)](_0x534732);const _0x52047e=new Set(Array[_0x184dc2(0x177)](_0x2befdd[_0x184dc2(0x16b)]({'channelId':_0x3efee0}),_0x4bd3b6=>_0x4bd3b6['id']));for(const _0x1311ca of _0x534732)_0x1311ca[_0x184dc2(0x1a1)]||_0x52047e[_0x184dc2(0x1b1)](_0x1311ca[_0x184dc2(0x1b2)]);for(const _0x13e119 of _0x52047e)_0x2befdd[_0x184dc2(0x18a)](_0x13e119)[_0x184dc2(0x1bc)]({'isFromAdapter':!0x0});for(const _0x26e4e5 of _0x534732){let _0x33182a=_0x2befdd[_0x184dc2(0x18a)](_0x26e4e5[_0x184dc2(0x1b2)]);const {commentThreadId:_0x4bac93,context:_0x474b8e,attributes:_0x4a0483,resolvedBy:_0x354834,resolvedAt:_0x54e50b,unlinkedAt:_0x334a88,deletedAt:_0x5bd38f}=_0x26e4e5;if(_0x5bd38f)continue;_0x33182a||(_0x33182a=_0x2befdd[_0x184dc2(0x160)]({'channelId':_0x3efee0,'threadId':_0x4bac93,'context':_0x474b8e,'attributes':_0x4a0483||{},'resolvedBy':_0x354834,'resolvedAt':_0x54e50b,'unlinkedAt':_0x334a88,'isFromAdapter':!0x0}));const _0x2d39b2=new Set(Array[_0x184dc2(0x177)](_0x33182a[_0x184dc2(0x161)],_0x55ef46=>_0x55ef46['id']));for(const _0x23b6ea of _0x26e4e5[_0x184dc2(0x161)])_0x2d39b2[_0x184dc2(0x1b1)](_0x23b6ea[_0x184dc2(0x15a)]);for(const _0x235947 of _0x2d39b2)_0x33182a[_0x184dc2(0x15d)](_0x235947)[_0x184dc2(0x1bc)]({'isFromAdapter':!0x0});for(const _0x5ab7d6 of _0x26e4e5[_0x184dc2(0x161)]){const _0x1738aa=_0x33182a[_0x184dc2(0x15d)](_0x5ab7d6[_0x184dc2(0x15a)]);_0x1738aa?_0x1738aa[_0x184dc2(0x1a4)]!==_0x5ab7d6[_0x184dc2(0x1a4)]&&_0x1738aa[_0x184dc2(0x17f)]({'content':_0x5ab7d6[_0x184dc2(0x1a4)],'isFromAdapter':!0x0}):_0x33182a[_0x184dc2(0x1b7)](Object[_0x184dc2(0x18f)](p(_0x5ab7d6),{'isFromAdapter':!0x0}));}}}[_0x1799d2(0x167)](_0x538cfd){const _0x278505=_0x1799d2;if(!this[_0x278505(0x188)][_0x278505(0x15b)](_0x538cfd))throw new _0x2de265(_0x278505(0x19f),null,{'channelId':_0x538cfd});return this[_0x278505(0x188)][_0x278505(0x178)](_0x538cfd);}async[_0x1799d2(0x18d)](_0x84cb94){const _0x5a229d=_0x1799d2,_0x3d9756=this[_0x5a229d(0x174)][_0x5a229d(0x16f)][_0x5a229d(0x178)](_0x3d96a1),{connection:_0x21b3d2}=this[_0x5a229d(0x174)][_0x5a229d(0x16f)][_0x5a229d(0x178)](_0x3e86e4),_0xb2208c=new Set();for(const {resolvedBy:_0x440a84,comments:_0x496907}of _0x84cb94){_0x440a84&&!_0x3d9756[_0x5a229d(0x190)](_0x440a84)&&_0xb2208c[_0x5a229d(0x19e)](_0x440a84);for(const {userId:_0x106924}of _0x496907)_0x3d9756[_0x5a229d(0x190)](_0x106924)||_0xb2208c[_0x5a229d(0x19e)](_0x106924);}if(0x0===_0xb2208c[_0x5a229d(0x1ab)])return;const _0x5bec96=await _0x37b7f5[_0x5a229d(0x199)](_0x21b3d2,Array[_0x5a229d(0x177)](_0xb2208c));for(const _0x3f97b3 of _0x5bec96)_0x3d9756[_0x5a229d(0x190)](_0x3f97b3['id'])||_0x3d9756[_0x5a229d(0x168)](_0x3f97b3);}}async function f(_0x27d1f2){const _0x57c227=_0x1799d2;if(_0x57c227(0x175)!==_0x27d1f2[_0x57c227(0x15f)])throw _0x27d1f2;}function _0x1109(_0x5c0458,_0xfd5825){const _0x438a96=_0x438a();return _0x1109=function(_0x1109d2,_0x2032aa){_0x1109d2=_0x1109d2-0x15a;let _0x38d512=_0x438a96[_0x1109d2];return _0x38d512;},_0x1109(_0x5c0458,_0xfd5825);}function A(_0x471601){const _0x201a7d=_0x1799d2;if((_0x1507e8=_0x471601)[_0x201a7d(0x1be)][_0x201a7d(0x171)](_0x201a7d(0x197))||_0x1507e8[_0x201a7d(0x1be)][_0x201a7d(0x171)](_0x201a7d(0x192))||_0x1507e8[_0x201a7d(0x1be)][_0x201a7d(0x171)](_0x201a7d(0x1bd)))return new Promise(()=>{});var _0x1507e8;throw _0x471601;}function p(_0x2ae4d0){const _0x1a7f5e=_0x1799d2;return{'threadId':_0x2ae4d0[_0x1a7f5e(0x1b2)],'commentId':_0x2ae4d0[_0x1a7f5e(0x15a)],'content':_0x2ae4d0[_0x1a7f5e(0x1a4)],'createdAt':_0x2ae4d0[_0x1a7f5e(0x162)],'authorId':_0x2ae4d0[_0x1a7f5e(0x1b4)],'attributes':_0x2ae4d0[_0x1a7f5e(0x164)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x310a27=_0x2771;(function(_0x17a77f,_0x8581ae){const _0xf1396e=_0x2771,_0x204bd3=_0x17a77f();while(!![]){try{const _0xa05b1e=-parseInt(_0xf1396e(0xd3))/0x1+-parseInt(_0xf1396e(0xd2))/0x2*(parseInt(_0xf1396e(0xc9))/0x3)+parseInt(_0xf1396e(0xde))/0x4+parseInt(_0xf1396e(0xc7))/0x5+parseInt(_0xf1396e(0xe1))/0x6+-parseInt(_0xf1396e(0xdd))/0x7*(-parseInt(_0xf1396e(0xd7))/0x8)+-parseInt(_0xf1396e(0xd1))/0x9;if(_0xa05b1e===_0x8581ae)break;else _0x204bd3['push'](_0x204bd3['shift']());}catch(_0x1ff5cc){_0x204bd3['push'](_0x204bd3['shift']());}}}(_0x58e8,0x31f4f));import{Plugin as _0x198585}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x4ecbbf}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x58e8(){const _0x8cd730=['editor','config','7136nxCzKL','requires','isPremiumPlugin','init','RealTimeCollaborativeComments','pluginName','2177SwEVDp','1232192zyVqoK','CommentsEditing','switchReadOnly','1593204PAHxUX','ready','_setUpService','isThreadsLoadingPaused','CommentsRepository','connected','Comments','data','1051680XwVhYO','_terminateService','401403SOSzdW','collaboration.channelId','once','plugins','destroy','isOfficialPlugin','listenTo','change:state','1810251ODRrKu','6QmfPPn','254165wIvbJm','get'];_0x58e8=function(){return _0x8cd730;};return _0x58e8();}function _0x2771(_0x57bc65,_0x2f4be0){const _0x58e850=_0x58e8();return _0x2771=function(_0x2771b8,_0x84e1cc){_0x2771b8=_0x2771b8-0xc0;let _0x25f1a2=_0x58e850[_0x2771b8];return _0x25f1a2;},_0x2771(_0x57bc65,_0x2f4be0);}import{RealTimeCollaborativeEditing as _0x1fdcbe}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x9a8007}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x198585{static get[_0x310a27(0xd8)](){const _0x9dd673=_0x310a27;return[_0x9dd673(0xc5),_0x4ecbbf,_0x1fdcbe,_0x9a8007];}static get[_0x310a27(0xdc)](){const _0x35a3d3=_0x310a27;return _0x35a3d3(0xdb);}static get[_0x310a27(0xce)](){return!0x0;}static get[_0x310a27(0xd9)](){return!0x0;}[_0x310a27(0xda)](){const _0x2773a0=_0x310a27,_0x2305dc=this[_0x2773a0(0xd5)][_0x2773a0(0xcc)][_0x2773a0(0xd4)](_0x9a8007),_0x514ee1=this[_0x2773a0(0xd5)][_0x2773a0(0xcc)][_0x2773a0(0xd4)](_0x2773a0(0xdf)),_0x5d49e3=this[_0x2773a0(0xd5)][_0x2773a0(0xcc)][_0x2773a0(0xd4)](_0x4ecbbf);return this[_0x2773a0(0xd5)][_0x2773a0(0xc6)][_0x2773a0(0xcb)](_0x2773a0(0xc0),()=>{const _0x41c772=_0x2773a0;this[_0x41c772(0xcf)](_0x2305dc,_0x41c772(0xd0),(_0x1ecfa9,_0x2e18b5,_0x39bfa9)=>{const _0x5ab157=_0x41c772;_0x514ee1[_0x5ab157(0xc2)]=_0x5ab157(0xc4)!==_0x39bfa9;});}),this[_0x2773a0(0xcf)](_0x2305dc,_0x2773a0(0xd0),(_0x48636a,_0x25a0e0,_0xac10d6)=>{const _0x2fb12f=_0x2773a0;this[_0x2fb12f(0xd5)][_0x2fb12f(0xcc)][_0x2fb12f(0xd4)](_0x2fb12f(0xc3))[_0x2fb12f(0xe0)](_0x2fb12f(0xc4)!==_0xac10d6);}),_0x5d49e3[_0x2773a0(0xc1)](this[_0x2773a0(0xd5)][_0x2773a0(0xd6)][_0x2773a0(0xd4)](_0x2773a0(0xca)));}[_0x310a27(0xcd)](){const _0x47c89b=_0x310a27;this[_0x47c89b(0xd5)][_0x47c89b(0xcc)][_0x47c89b(0xd4)](_0x4ecbbf)[_0x47c89b(0xc8)](this[_0x47c89b(0xd5)][_0x47c89b(0xd6)][_0x47c89b(0xd4)](_0x47c89b(0xca))),super[_0x47c89b(0xcd)]();}}
23
+ function _0x37af(){const _0x2a6287=['destroy','config','Comments','5430990PyILQr','1426878sfcBsU','6RGMrZR','_terminateService','ready','once','listenTo','2271770pTdlMA','requires','13069424BmLxec','init','7BdmsAW','2897525cdlpHv','_setUpService','isOfficialPlugin','767417nGqPsj','connected','plugins','pluginName','get','985272tsYWOq','RealTimeCollaborativeComments','CommentsRepository','data','isThreadsLoadingPaused','editor','isPremiumPlugin','collaboration.channelId','switchReadOnly','change:state','9TIRWdA','CommentsEditing'];_0x37af=function(){return _0x2a6287;};return _0x37af();}const _0x26efbb=_0x2a5d;(function(_0x5d41ed,_0x18dbb5){const _0x1684d2=_0x2a5d,_0x40bccd=_0x5d41ed();while(!![]){try{const _0x27dc13=parseInt(_0x1684d2(0xc2))/0x1+-parseInt(_0x1684d2(0xb4))/0x2+-parseInt(_0x1684d2(0xb3))/0x3+parseInt(_0x1684d2(0xc7))/0x4+-parseInt(_0x1684d2(0xbf))/0x5*(-parseInt(_0x1684d2(0xb5))/0x6)+parseInt(_0x1684d2(0xbe))/0x7*(parseInt(_0x1684d2(0xbc))/0x8)+-parseInt(_0x1684d2(0xae))/0x9*(-parseInt(_0x1684d2(0xba))/0xa);if(_0x27dc13===_0x18dbb5)break;else _0x40bccd['push'](_0x40bccd['shift']());}catch(_0x31126a){_0x40bccd['push'](_0x40bccd['shift']());}}}(_0x37af,0xe3216));import{Plugin as _0xadc5e3}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x2d58a7}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x53a50f}from'./realtimecollaborativeediting.js';function _0x2a5d(_0x35ce52,_0x4a6f5c){const _0x37afdd=_0x37af();return _0x2a5d=function(_0x2a5dd1,_0x489c4b){_0x2a5dd1=_0x2a5dd1-0xa7;let _0x4836d0=_0x37afdd[_0x2a5dd1];return _0x4836d0;},_0x2a5d(_0x35ce52,_0x4a6f5c);}import{WebSocketGateway as _0x4bce6f}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0xadc5e3{static get[_0x26efbb(0xbb)](){const _0x36fcce=_0x26efbb;return[_0x36fcce(0xb2),_0x2d58a7,_0x53a50f,_0x4bce6f];}static get[_0x26efbb(0xc5)](){const _0x51cbaa=_0x26efbb;return _0x51cbaa(0xc8);}static get[_0x26efbb(0xc1)](){return!0x0;}static get[_0x26efbb(0xaa)](){return!0x0;}[_0x26efbb(0xbd)](){const _0x1179b6=_0x26efbb,_0x20d6db=this[_0x1179b6(0xa9)][_0x1179b6(0xc4)][_0x1179b6(0xc6)](_0x4bce6f),_0x416443=this[_0x1179b6(0xa9)][_0x1179b6(0xc4)][_0x1179b6(0xc6)](_0x1179b6(0xaf)),_0x59fc48=this[_0x1179b6(0xa9)][_0x1179b6(0xc4)][_0x1179b6(0xc6)](_0x2d58a7);return this[_0x1179b6(0xa9)][_0x1179b6(0xa7)][_0x1179b6(0xb8)](_0x1179b6(0xb7),()=>{const _0x1c1386=_0x1179b6;this[_0x1c1386(0xb9)](_0x20d6db,_0x1c1386(0xad),(_0x727fbe,_0x450957,_0x3b51bf)=>{const _0x4a979b=_0x1c1386;_0x416443[_0x4a979b(0xa8)]=_0x4a979b(0xc3)!==_0x3b51bf;});}),this[_0x1179b6(0xb9)](_0x20d6db,_0x1179b6(0xad),(_0x332f16,_0x1da212,_0x1f49d9)=>{const _0x564bdc=_0x1179b6;this[_0x564bdc(0xa9)][_0x564bdc(0xc4)][_0x564bdc(0xc6)](_0x564bdc(0xc9))[_0x564bdc(0xac)](_0x564bdc(0xc3)!==_0x1f49d9);}),_0x59fc48[_0x1179b6(0xc0)](this[_0x1179b6(0xa9)][_0x1179b6(0xb1)][_0x1179b6(0xc6)](_0x1179b6(0xab)));}[_0x26efbb(0xb0)](){const _0x36f486=_0x26efbb;this[_0x36f486(0xa9)][_0x36f486(0xc4)][_0x36f486(0xc6)](_0x2d58a7)[_0x36f486(0xb6)](this[_0x36f486(0xa9)][_0x36f486(0xb1)][_0x36f486(0xc6)](_0x36f486(0xab))),super[_0x36f486(0xb0)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c40a1=_0x4bf7;(function(_0xaebadc,_0x35da7e){const _0x5def05=_0x4bf7,_0xc4fec0=_0xaebadc();while(!![]){try{const _0x249360=-parseInt(_0x5def05(0x21f))/0x1+-parseInt(_0x5def05(0x22c))/0x2*(parseInt(_0x5def05(0x261))/0x3)+parseInt(_0x5def05(0x262))/0x4*(parseInt(_0x5def05(0x235))/0x5)+-parseInt(_0x5def05(0x246))/0x6+parseInt(_0x5def05(0x1c6))/0x7*(-parseInt(_0x5def05(0x1af))/0x8)+-parseInt(_0x5def05(0x1ec))/0x9+-parseInt(_0x5def05(0x1c0))/0xa*(-parseInt(_0x5def05(0x1d4))/0xb);if(_0x249360===_0x35da7e)break;else _0xc4fec0['push'](_0xc4fec0['shift']());}catch(_0x574608){_0xc4fec0['push'](_0xc4fec0['shift']());}}}(_0x40c7,0x2a2b2));import{Plugin as _0x198b1f,PendingActions as _0x280cc7}from'ckeditor5/src/core.js';import{CKEditorError as _0x388a76,version as _0x5ac644,uid as _0x22e293}from'ckeditor5/src/utils.js';import{Notification as _0x10e696}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x393205,NoOperation as _0x13597e,InsertOperation as _0x3d0d9f,MarkerOperation as _0x37d428,RootAttributeOperation as _0x1444ec,OperationFactory as _0x4e780b,History as _0x2edf48}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x24223c}from'./websocketgateway.js';function _0x4bf7(_0x6042e9,_0x2413b2){const _0x40c760=_0x40c7();return _0x4bf7=function(_0x4bf722,_0x111978){_0x4bf722=_0x4bf722-0x173;let _0x1e080e=_0x40c760[_0x4bf722];return _0x1e080e;},_0x4bf7(_0x6042e9,_0x2413b2);}import{Sessions as _0x36cd66}from'./sessions.js';import{UserMarkers as _0x45a391}from'./usermarkers.js';import{getTranslation as _0x5175fb}from'../common-translations.js';function _0x40c7(){const _0x92028c=['_isConnected','fire','_knownOperations','_pendingAction','editing','createRange','_handleServerResponse','disableReadOnlyMode','createRoot','isUndoneOperation','addOperation','lastOperationAcceptedAt','createUserMarkerOperations','start','loadRoot','cloudDocumentVersion','10KfSGYD','size','realtimecollaborationclient-sendbufferedoperations','insert','getMany','batch','109956xgVDUT','Permissions','_lastServerVersion','_isAttached','_hasSynchronizationProblem','finally','addRootAttribute','parse','cloud-services-internal-error:\x20Request\x20timeout.','change:range','isOfficialPlugin','toJSON','includes','_compressOperations','6756706YKUkqL','realtimecollaborationclient-init-service-incorrect-server-operation','_channelId','cloudServices.bundleVersion','_currentBufferDelay','return','decompress','rootName','plugins','state','_ignoredOperations','keys','_authorId','multi-root-editor-root-attributes-no-root','$root','_fetchMissingUsers','_compressor','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_applyOperationsSet','lastDocumentSession','_isDisconnection','_knownRootNames','setPermissions','_connectAfterSessionHasBeenFlushed','1433331wxjQlq','404','view','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','define','add','isDocumentOperation','marker','map','409','_isLoaded','catch','locale','wasUndone','getOperations','_offset','_isPendingUpdate','startsWith','version','removeFromReconnectionStack','sendOperations','mySessionId','getOperationAuthor','config','isPremiumPlugin','PENDING_ACTION_SENDING_DATA','_sendBufferedOperationsDelayId','change:_isEditingAllowed','enqueueChange','isReadOnly','real-time-collaboration','_initSessionsHandling','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','model','isEnabled','_handleReceivedOperations','string','listenTo','then','clone','_handleSendingSelectionMarkers','reconnect','document','setIdForTheLastOperation','requires','selection','change:hasDomSelection','connect','destroy','attributes','lastSyncVersion','96981wuvvtB','createdAt','data','connected','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_getOperationsFromInitData','root','Notification','init','_crash','_bufferRootLoad','_service','newRange','274WjADcT','history','Synchronization\x20issue','_setPendingAction','_isEditingAllowed','apply','_connectService','_shouldSendUpdate','permissions','2050aAMJrm','affectsData','createPositionAt','differ','realtimecollaborationclient-error','markers','baseVersion','_operationToId','path','ready','suppressErrorInCollaboration','slice','CommentsOnly','directChange','CollaborativeEditingService','addToReconnectionStack','pluginName','1007826FtCefr','cloud-services-internal-error:\x20Not\x20connected.','_hasSelectionChanged','applyOperation','sessionAdd:','filter','_lastSyncedOperationId','collaboration-missing-channelid','_addKnownRoot','realtimecollaborationclient','reconnection:\x20flushed\x20session','_sendBufferedOperations','_initThrowingOnDataSet','push','reset','_shouldSendSelectionUpdate','affectedSelectable','_updateServerHistory','forEach','type','_decompressOperations','addRoot','_setUpDataInit','end','_waitUntilSynced','metadata','rtc-destroyed','4761eRlyaY','2412Tvupze','offset','realtimecollaborationclient-init-connection-failed','targetPosition','_handleReconnectionResponse','channelSessions','InsertOperation','_getAffectedRoot','RealTimeCollaborationClient','createPositionFromPath','_handleReconnectionError','document:write','stop','_loadRoot','getIdOfTheLastOperation','stopListening','_disconnectService','round','_baseBufferDelay','disconnected','realtimecollaborationclient-init-session-connection-error','rootsAttributes','getConnectedSessions','sessionCreatedAt','enableReadOnlyMode','from','_sendBufferedOperationsDelayed','error','showWarning','editor','userId','lastOperationId','entries','message','serverHistory','register','collaboration.channelId','realtimecollaborationclient-handleserverresponse','has','code','disconnect','get','high','_handleExternalOperations','connection','compress','_handleInitialConnectionData','roots','cs:removeUser','realtimecollaborationclient-init-document-already-initialized','_operationIdentifier','sessionId','realtimecollaborationclient-init-non-existent-root','_disconnectionOperations','position','_bufferedOperations','length','unregister','fromJSON','initData','addUser','getUser','realtimecollaborationclient-init-service-internal-error','operationsReceived','remove','currentDocumentSession','change:_isPendingUpdate','_clearPendingAction','set','_refreshUserSelectionMarkers','wereChangesApplied','getRoot','move','_saveOperationInBuffer','bind','getDocumentDetails','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.','off','_isInit','_document','rtc-offline','__className','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.','collaboration','24YYpVhM'];_0x40c7=function(){return _0x92028c;};return _0x40c7();}import{Compressor as _0x2b9086}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x579fe2}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x10a814,CollaborativeEditingService as _0x56ce84}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let X=0x1;export class RealTimeCollaborationClient extends _0x198b1f{static [_0x4c40a1(0x243)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x56ce84)());[_0x4c40a1(0x1fb)];[_0x4c40a1(0x18e)];[_0x4c40a1(0x17d)];[_0x4c40a1(0x1d6)];[_0x4c40a1(0x22a)];[_0x4c40a1(0x1aa)];[_0x4c40a1(0x1e4)];[_0x4c40a1(0x192)];[_0x4c40a1(0x1b2)];[_0x4c40a1(0x1e9)];[_0x4c40a1(0x1b3)];[_0x4c40a1(0x248)];[_0x4c40a1(0x206)];[_0x4c40a1(0x274)];[_0x4c40a1(0x1d8)];[_0x4c40a1(0x24c)];[_0x4c40a1(0x190)];[_0x4c40a1(0x18d)];static get[_0x4c40a1(0x218)](){return[_0x24223c,_0x36cd66,_0x45a391,_0x280cc7,_0x579fe2,_0x10e696];}static get[_0x4c40a1(0x245)](){const _0x3ff39a=_0x4c40a1;return _0x3ff39a(0x26a);}static get[_0x4c40a1(0x1d0)](){return!0x0;}static get[_0x4c40a1(0x204)](){return!0x0;}get[_0x4c40a1(0x1bf)](){const _0x35c458=_0x4c40a1;return this[_0x35c458(0x1c8)]+this[_0x35c458(0x1fb)];}get[_0x4c40a1(0x1c8)](){const _0x3d675=_0x4c40a1;return this[_0x3d675(0x17d)][_0x3d675(0x1fe)]-this[_0x3d675(0x1fb)];}get[_0x4c40a1(0x21e)](){const _0x94933e=_0x4c40a1,_0x3f2952=this[_0x94933e(0x17d)][_0x94933e(0x1fa)]();for(let _0x367d98=_0x3f2952[_0x94933e(0x193)]-0x1;_0x367d98>=0x0;_0x367d98--){const _0x371239=_0x3f2952[_0x367d98];if(!this[_0x94933e(0x190)][_0x94933e(0x181)](_0x371239))return _0x371239[_0x94933e(0x23b)]+0x1-this[_0x94933e(0x1fb)];}return 0x0;}constructor(_0x476d6e){const _0x140739=_0x4c40a1;if(super(_0x476d6e),this[_0x140739(0x1fb)]=0x0,this[_0x140739(0x18e)]=null,this[_0x140739(0x17d)]=new _0x2edf48(),this[_0x140739(0x178)][_0x140739(0x203)][_0x140739(0x1f0)](_0x140739(0x1ae),{}),this[_0x140739(0x1d6)]=this[_0x140739(0x178)][_0x140739(0x203)][_0x140739(0x184)](_0x140739(0x17f)),!this[_0x140739(0x1d6)])throw new _0x388a76(_0x140739(0x24d),this);const _0x3c3e5b=_0x476d6e[_0x140739(0x203)][_0x140739(0x184)](_0x140739(0x1d7))||_0x5ac644;this[_0x140739(0x22a)]=new RealTimeCollaborationClient[(_0x140739(0x243))](_0x3c3e5b,this[_0x140739(0x1d6)]),this[_0x140739(0x1aa)]=this[_0x140739(0x178)][_0x140739(0x20d)][_0x140739(0x216)],this[_0x140739(0x1e4)]=new _0x2b9086(),this[_0x140739(0x192)]=[],this[_0x140739(0x1b2)]=new WeakSet(),this[_0x140739(0x1e9)]=new Set(),this[_0x140739(0x19f)](_0x140739(0x1fc),!0x1),this[_0x140739(0x19f)](_0x140739(0x1ca),!0x1),this[_0x140739(0x1b3)]=null,this[_0x140739(0x248)]=!0x1,this[_0x140739(0x206)]=null,this[_0x140739(0x274)]=0x12c,this[_0x140739(0x1d8)]=this[_0x140739(0x274)],this[_0x140739(0x24c)]=null,this[_0x140739(0x190)]=new WeakSet(),this[_0x140739(0x18d)]=new tt(this[_0x140739(0x190)]);}[_0x4c40a1(0x227)](){const _0x367da6=_0x4c40a1,_0xfc9250=this[_0x367da6(0x178)],_0xb2b789=_0xfc9250[_0x367da6(0x1dc)][_0x367da6(0x184)](_0x579fe2),_0x103c90=_0xfc9250[_0x367da6(0x1dc)][_0x367da6(0x184)](_0x24223c);this[_0x367da6(0x211)](_0xb2b789,_0x367da6(0x202),(_0x2f394d,_0x584aaa)=>{const _0x56559e=_0x367da6,_0x25bb46=_0x584aaa[0x0];_0x25bb46[_0x56559e(0x1e0)]&&(_0x2f394d[_0x56559e(0x1d9)]=_0xb2b789[_0x56559e(0x198)](_0x25bb46[_0x56559e(0x1e0)]),_0x2f394d[_0x56559e(0x26e)]()),null===_0x25bb46[_0x56559e(0x1e0)]&&(_0x2f394d[_0x56559e(0x1d9)]=null,_0x2f394d[_0x56559e(0x26e)]());},{'priority':_0x367da6(0x185)}),this[_0x367da6(0x211)](_0xfc9250[_0x367da6(0x20d)][_0x367da6(0x216)][_0x367da6(0x219)],_0x367da6(0x1cf),(_0x102404,_0x554153)=>{const _0x4f41a6=_0x367da6;_0x554153[_0x4f41a6(0x242)]&&this[_0x4f41a6(0x1a0)]();}),this[_0x367da6(0x211)](_0xfc9250[_0x367da6(0x1b4)][_0x367da6(0x1ee)],_0x367da6(0x21a),()=>{const _0x35c654=_0x367da6;this[_0x35c654(0x1a0)]();}),this[_0x367da6(0x252)](),_0xfc9250[_0x367da6(0x20d)]['on'](_0x367da6(0x249),(_0x55183e,_0x20ee4f)=>{const _0x6090c7=_0x367da6,_0x202e08=_0x20ee4f[0x0];_0x202e08[_0x6090c7(0x1f2)]&&(this[_0x6090c7(0x1a4)](_0x202e08),this[_0x6090c7(0x233)]()&&this[_0x6090c7(0x175)]());}),this[_0x367da6(0x25c)](),this[_0x367da6(0x1a5)](_0x367da6(0x230))['to'](_0x103c90,_0x367da6(0x1dd),this,_0x367da6(0x1ca),(_0x3f1259,_0xb75d69)=>_0x367da6(0x222)===_0x3f1259&&!_0xb75d69),this['on'](_0x367da6(0x207),()=>{const _0x4747a7=_0x367da6;this[_0x4747a7(0x230)]?_0xfc9250[_0x4747a7(0x1b7)](_0x4747a7(0x1ab)):_0xfc9250[_0x4747a7(0x173)](_0x4747a7(0x1ab));}),this[_0x367da6(0x230)]?_0xfc9250[_0x367da6(0x1b7)](_0x367da6(0x1ab)):_0xfc9250[_0x367da6(0x173)](_0x367da6(0x1ab)),this[_0x367da6(0x19f)](_0x367da6(0x1b0),!0x1);}async[_0x4c40a1(0x215)](){const _0x486dac=_0x4c40a1,_0x57118c=this[_0x486dac(0x178)][_0x486dac(0x1dc)][_0x486dac(0x184)](_0x36cd66),_0x182b8b=this[_0x486dac(0x178)][_0x486dac(0x1dc)][_0x486dac(0x184)](_0x24223c);try{this[_0x486dac(0x1fc)]=!0x0,_0x57118c[_0x486dac(0x194)](this[_0x486dac(0x1d6)]);const _0x530687=await this[_0x486dac(0x22a)][_0x486dac(0x215)](_0x182b8b[_0x486dac(0x187)],this[_0x486dac(0x21e)]);await this[_0x486dac(0x266)](_0x530687)&&(this[_0x486dac(0x1fc)]=!0x1,this[_0x486dac(0x19e)]());const _0x32921a=await this[_0x486dac(0x22a)][_0x486dac(0x278)]();_0x57118c[_0x486dac(0x17e)](this[_0x486dac(0x1d6)],_0x32921a),this[_0x486dac(0x214)](),this[_0x486dac(0x1b0)]=!0x0;}catch(_0x5b46d8){if(function(_0x3a6f51){const _0x29229b=_0x486dac;return _0x29229b(0x1ed)===_0x3a6f51[_0x29229b(0x182)];}(_0x5b46d8)&&this[_0x486dac(0x18e)])await this[_0x486dac(0x1eb)]();else{if(function(_0x21eb3e){const _0xc048b9=_0x486dac;return _0xc048b9(0x1f5)===_0x21eb3e[_0xc048b9(0x182)];}(_0x5b46d8)){const _0x2f2250=_0x5175fb(this[_0x486dac(0x178)][_0x486dac(0x1f8)],_0x486dac(0x1e5));this[_0x486dac(0x26c)](_0x2f2250);}else{if(!(_0x5b46d8 instanceof Y))throw _0x5b46d8;this[_0x486dac(0x26c)]();}}}}[_0x4c40a1(0x21c)](){const _0x33fc6e=_0x4c40a1,_0x23abb1=this[_0x33fc6e(0x178)][_0x33fc6e(0x1dc)][_0x33fc6e(0x184)](_0x24223c),_0x5415d2=this[_0x33fc6e(0x178)][_0x33fc6e(0x1dc)][_0x33fc6e(0x184)](_0x36cd66);this[_0x33fc6e(0x178)][_0x33fc6e(0x173)](_0x33fc6e(0x260)),_0x5415d2[_0x33fc6e(0x267)][_0x33fc6e(0x181)](this[_0x33fc6e(0x1d6)])&&_0x5415d2[_0x33fc6e(0x194)](this[_0x33fc6e(0x1d6)]),_0x23abb1[_0x33fc6e(0x1ff)](this),this[_0x33fc6e(0x272)](),super[_0x33fc6e(0x21c)]();}async[_0x4c40a1(0x266)](_0x4338f2){const _0x43ebf6=_0x4c40a1;if(this[_0x43ebf6(0x18e)]!==_0x4338f2[_0x43ebf6(0x18e)]&&this[_0x43ebf6(0x24c)]!==_0x4338f2[_0x43ebf6(0x17a)])throw new Y();return this[_0x43ebf6(0x18e)]=_0x4338f2[_0x43ebf6(0x18e)],this[_0x43ebf6(0x1b6)]([],{..._0x4338f2,'wereChangesApplied':!0x1,'data':_0x4338f2[_0x43ebf6(0x221)]},_0x43ebf6(0x215));}async[_0x4c40a1(0x232)](_0x3cb421,_0xc60dcd=!0x1){const _0x1b9ab7=_0x4c40a1,{connection:_0x44778b}=this[_0x1b9ab7(0x178)][_0x1b9ab7(0x1dc)][_0x1b9ab7(0x184)](_0x24223c);RealTimeCollaborationClient[_0x1b9ab7(0x243)][_0x1b9ab7(0x278)](_0x44778b,this[_0x1b9ab7(0x1d6)])[_0x1b9ab7(0x212)](_0x1d9f91=>this[_0x1b9ab7(0x20b)](_0x1d9f91))[_0x1b9ab7(0x1f7)](_0x28000c=>{const _0x320e51=_0x1b9ab7;this[_0x320e51(0x228)](_0x320e51(0x276),_0x28000c);}),this[_0x1b9ab7(0x211)](this[_0x1b9ab7(0x22a)],_0x1b9ab7(0x19a),this[_0x1b9ab7(0x20f)][_0x1b9ab7(0x1a5)](this)),this[_0x1b9ab7(0x211)](this[_0x1b9ab7(0x22a)],_0x1b9ab7(0x176),(_0x3adc74,_0x5328e6)=>{const _0x42a261=_0x1b9ab7;this[_0x42a261(0x228)](_0x42a261(0x199),_0x5328e6);}),this[_0x1b9ab7(0x211)](this[_0x1b9ab7(0x22a)],_0x1b9ab7(0x275),()=>{const _0x12cc3a=_0x1b9ab7;this[_0x12cc3a(0x1b0)]=!0x1;});const _0x2b06fe=this[_0x1b9ab7(0x18d)][_0x1b9ab7(0x270)](_0x3cb421);this[_0x1b9ab7(0x1fc)]=!0x0;const _0x58b7ef=await this[_0x1b9ab7(0x22a)][_0x1b9ab7(0x21b)](_0x44778b,this[_0x1b9ab7(0x1d3)](_0x3cb421),_0x2b06fe);if(this[_0x1b9ab7(0x18e)]=_0x58b7ef[_0x1b9ab7(0x18e)],_0xc60dcd){if(!_0x58b7ef[_0x1b9ab7(0x1a1)])return void this[_0x1b9ab7(0x26c)]();this[_0x1b9ab7(0x1fc)]=!0x1,this[_0x1b9ab7(0x19e)](),this[_0x1b9ab7(0x17d)][_0x1b9ab7(0x254)](),this[_0x1b9ab7(0x1fb)]=_0x58b7ef[_0x1b9ab7(0x263)],this[_0x1b9ab7(0x17d)][_0x1b9ab7(0x1fe)]=this[_0x1b9ab7(0x1fb)],await this[_0x1b9ab7(0x1b6)](_0x3cb421,_0x58b7ef,_0x1b9ab7(0x250));}else await this[_0x1b9ab7(0x189)](_0x58b7ef,_0x3cb421);this[_0x1b9ab7(0x214)](),this[_0x1b9ab7(0x1b0)]=!0x0;}[_0x4c40a1(0x214)](){const _0x40f402=_0x4c40a1,_0x7cafca=this[_0x40f402(0x178)][_0x40f402(0x1dc)][_0x40f402(0x184)](_0x36cd66),_0x33cb99=this[_0x40f402(0x178)][_0x40f402(0x1dc)][_0x40f402(0x184)](_0x45a391),_0x598013=_0x7cafca[_0x40f402(0x267)][_0x40f402(0x184)](this[_0x40f402(0x1d6)]);_0x598013&&_0x598013[_0x40f402(0x193)]>0x1?_0x33cb99[_0x40f402(0x1bc)]():this[_0x40f402(0x211)](_0x7cafca,_0x40f402(0x24a)+this[_0x40f402(0x1d6)],()=>{const _0x28b05f=_0x40f402;0x2===_0x7cafca[_0x28b05f(0x267)][_0x28b05f(0x184)](this[_0x28b05f(0x1d6)])[_0x28b05f(0x193)]&&_0x33cb99[_0x28b05f(0x1bc)]();});}async[_0x4c40a1(0x20f)](_0x26675d,_0x82a9ac,_0x1d6a35,_0x5058ef){const _0x249a6c=_0x4c40a1;if(!this[_0x249a6c(0x1fc)]&&this[_0x249a6c(0x1aa)][_0x249a6c(0x1fe)]==_0x82a9ac){const _0x1ab492=this[_0x249a6c(0x25a)](_0x1d6a35,_0x5058ef);await this[_0x249a6c(0x1e3)](_0x1ab492),this[_0x249a6c(0x186)](_0x1ab492,_0x82a9ac,_0x1d6a35[_0x249a6c(0x17a)])||this[_0x249a6c(0x228)](_0x249a6c(0x1d5));}}async[_0x4c40a1(0x1eb)](){const _0x4ac829=_0x4c40a1;this[_0x4ac829(0x272)]();const {locale:_0x3125a3}=this[_0x4ac829(0x178)];let _0x39e2c5;try{_0x39e2c5=await this[_0x4ac829(0x22a)][_0x4ac829(0x1a6)]();}catch{const _0x5c852d=_0x5175fb(_0x3125a3,_0x4ac829(0x1ef));return void this[_0x4ac829(0x26c)](_0x5c852d);}const _0x4fc1ba=_0x39e2c5[_0x4ac829(0x19c)]||_0x39e2c5[_0x4ac829(0x1e7)];if(this[_0x4ac829(0x24c)]!==_0x4fc1ba[_0x4ac829(0x17a)]){const _0x24d5f7=_0x5175fb(_0x3125a3,_0x4ac829(0x1a7));return void this[_0x4ac829(0x26c)](_0x24d5f7);}await this[_0x4ac829(0x232)](this[_0x4ac829(0x178)][_0x4ac829(0x20d)][_0x4ac829(0x216)][_0x4ac829(0x22d)][_0x4ac829(0x1fa)](),!0x0);}[_0x4c40a1(0x272)](){const _0x210c06=_0x4c40a1;this[_0x210c06(0x22a)][_0x210c06(0x183)](),this[_0x210c06(0x192)]=[],clearTimeout(this[_0x210c06(0x206)]),this[_0x210c06(0x271)](this[_0x210c06(0x22a)]);}[_0x4c40a1(0x20b)](_0x1e86de){const _0x2c2ede=_0x4c40a1,_0x2fb50a=this[_0x2c2ede(0x178)][_0x2c2ede(0x1dc)][_0x2c2ede(0x184)](_0x36cd66);this[_0x2c2ede(0x211)](_0x2fb50a,_0x2c2ede(0x24a)+this[_0x2c2ede(0x1d6)],(_0x21cdd4,{session:_0xc010c8})=>{const _0x1e5693=_0x2c2ede;if(_0xc010c8['id']===_0x2fb50a[_0x1e5693(0x201)]){_0x21cdd4[_0x1e5693(0x1a8)]();const _0x107973=this[_0x1e5693(0x178)][_0x1e5693(0x1dc)][_0x1e5693(0x181)](_0x1e5693(0x241))&&this[_0x1e5693(0x178)][_0x1e5693(0x1dc)][_0x1e5693(0x184)](_0x1e5693(0x241));let _0xd1127b=_0xc010c8[_0x1e5693(0x234)];_0x107973&&_0x107973[_0x1e5693(0x20e)]&&(_0xd1127b=_0xd1127b[_0x1e5693(0x24b)](_0xd83dd8=>_0x1e5693(0x26d)!==_0xd83dd8)),this[_0x1e5693(0x178)][_0x1e5693(0x1dc)][_0x1e5693(0x184)](_0x1e5693(0x1c7))[_0x1e5693(0x1ea)](_0xd1127b,this[_0x1e5693(0x1d6)]);}}),_0x2fb50a[_0x2c2ede(0x17e)](this[_0x2c2ede(0x1d6)],_0x1e86de);}[_0x4c40a1(0x252)](){const _0x6e0f9f=_0x4c40a1,_0x5c36cc=this[_0x6e0f9f(0x178)][_0x6e0f9f(0x221)][_0x6e0f9f(0x19f)];this[_0x6e0f9f(0x178)][_0x6e0f9f(0x221)][_0x6e0f9f(0x19f)]=(..._0x5074e5)=>{const _0x448d69=_0x6e0f9f;if(!_0x5074e5[_0x5074e5[_0x448d69(0x193)]-0x1][_0x448d69(0x23f)])throw new _0x388a76(_0x448d69(0x20c),this);_0x5c36cc[_0x448d69(0x231)](this[_0x448d69(0x178)][_0x448d69(0x221)],_0x5074e5);};}[_0x4c40a1(0x25c)](){const _0x37db42=_0x4c40a1;this[_0x37db42(0x178)][_0x37db42(0x221)]['on'](_0x37db42(0x227),(_0x32e7fe,[_0x301121])=>{const _0x5a0b5f=_0x37db42;if(this[_0x5a0b5f(0x1aa)][_0x5a0b5f(0x1fe)])throw new _0x388a76(_0x5a0b5f(0x18c),this);_0x32e7fe[_0x5a0b5f(0x26e)](),this[_0x5a0b5f(0x22f)]();const _0xd1d397=this[_0x5a0b5f(0x178)][_0x5a0b5f(0x203)][_0x5a0b5f(0x184)](_0x5a0b5f(0x277)),_0x463d98=this[_0x5a0b5f(0x224)](_0x301121,_0xd1d397);0x0==_0x463d98[_0x5a0b5f(0x193)]&&_0x463d98[_0x5a0b5f(0x253)](new _0x13597e(0x0)),_0x32e7fe[_0x5a0b5f(0x1d9)]=this[_0x5a0b5f(0x232)](_0x463d98)[_0x5a0b5f(0x212)](()=>{const _0x3eed1d=_0x5a0b5f;this[_0x3eed1d(0x178)][_0x3eed1d(0x1dc)][_0x3eed1d(0x184)](_0x24223c)[_0x3eed1d(0x244)](this),this[_0x3eed1d(0x178)][_0x3eed1d(0x221)][_0x3eed1d(0x1b1)](_0x3eed1d(0x23e));})[_0x5a0b5f(0x1f7)](_0x2e4c9b=>this[_0x5a0b5f(0x228)](_0x5a0b5f(0x264),_0x2e4c9b))[_0x5a0b5f(0x1cb)](()=>this[_0x5a0b5f(0x19e)]());},{'priority':_0x37db42(0x185)}),this[_0x37db42(0x178)]['on'](_0x37db42(0x1be),async(_0x11f069,[_0x1ed813,_0x54b236])=>{const _0x4b8acc=_0x37db42;_0x11f069[_0x4b8acc(0x26e)]();const _0x17271c=this[_0x4b8acc(0x178)][_0x4b8acc(0x20d)][_0x4b8acc(0x216)][_0x4b8acc(0x1a2)](_0x1ed813);if(!this[_0x4b8acc(0x1e9)][_0x4b8acc(0x181)](_0x1ed813)){const _0x26ee80=_0x54b236&&_0x54b236[_0x4b8acc(0x221)]?_0x54b236[_0x4b8acc(0x221)]:'',_0x3565ea=_0x54b236&&_0x54b236[_0x4b8acc(0x21d)]?_0x54b236[_0x4b8acc(0x21d)]:{};await this[_0x4b8acc(0x26f)](_0x1ed813,_0x26ee80,_0x3565ea);}this[_0x4b8acc(0x178)][_0x4b8acc(0x20d)][_0x4b8acc(0x208)]({'isUndoable':!0x1},()=>{const _0x27343f=_0x4b8acc;_0x17271c[_0x27343f(0x1f6)]=!0x0,this[_0x27343f(0x178)][_0x27343f(0x20d)][_0x27343f(0x216)][_0x27343f(0x238)][_0x27343f(0x229)](_0x17271c);});},{'priority':_0x37db42(0x185)});}async[_0x4c40a1(0x1e3)](_0x11080f){const _0x288e28=_0x4c40a1,_0x557c1b=this[_0x288e28(0x178)][_0x288e28(0x1dc)][_0x288e28(0x184)](_0x579fe2),{connection:_0x604c1b}=this[_0x288e28(0x178)][_0x288e28(0x1dc)][_0x288e28(0x184)](_0x24223c),_0x50c5a3=new Set();for(const _0x3d4358 of _0x11080f){const _0x5a9216=_0x3d4358[_0x288e28(0x1e0)];_0x5a9216&&!_0x557c1b[_0x288e28(0x198)](_0x5a9216)&&_0x50c5a3[_0x288e28(0x1f1)](_0x5a9216);}if(0x0===_0x50c5a3[_0x288e28(0x1c1)])return;const _0x5e877b=await _0x10a814[_0x288e28(0x1c4)](_0x604c1b,Array[_0x288e28(0x174)](_0x50c5a3));for(const _0x3f2140 of _0x5e877b)_0x557c1b[_0x288e28(0x198)](_0x3f2140['id'])||_0x557c1b[_0x288e28(0x197)](_0x3f2140);}[_0x4c40a1(0x224)](_0x4602a0,_0x424092={}){const _0x52ea89=_0x4c40a1,_0x58cdd0=this[_0x52ea89(0x178)][_0x52ea89(0x20d)],_0x3b2620=[];let _0x26cf3a=0x0;const _0x5b25ac=_0x52ea89(0x210)==typeof _0x4602a0?{'main':_0x4602a0}:_0x4602a0;for(const _0x665ecd of Object[_0x52ea89(0x1df)](_0x5b25ac)){if(!this[_0x52ea89(0x1aa)][_0x52ea89(0x18a)][_0x52ea89(0x181)](_0x665ecd))throw new _0x388a76(_0x52ea89(0x18f),this);const _0x8a43fe=this[_0x52ea89(0x178)][_0x52ea89(0x221)][_0x52ea89(0x1cd)](_0x5b25ac[_0x665ecd]),_0x386305=this[_0x52ea89(0x1aa)][_0x52ea89(0x1a2)](_0x665ecd),_0x144d7c=new _0x3d0d9f(_0x58cdd0[_0x52ea89(0x237)](_0x386305,0x0),_0x8a43fe,_0x26cf3a++);_0x3b2620[_0x52ea89(0x253)](_0x144d7c);for(const [_0x53fc72,_0x61f556]of _0x8a43fe[_0x52ea89(0x23a)]){const _0x10d019=_0x58cdd0[_0x52ea89(0x1b5)](_0x58cdd0[_0x52ea89(0x26b)](_0x386305,_0x61f556[_0x52ea89(0x1bd)][_0x52ea89(0x23d)][_0x52ea89(0x240)]()),_0x58cdd0[_0x52ea89(0x26b)](_0x386305,_0x61f556[_0x52ea89(0x25d)][_0x52ea89(0x23d)][_0x52ea89(0x240)]())),_0x59c103=new _0x37d428(_0x53fc72,null,_0x10d019,_0x58cdd0[_0x52ea89(0x23a)],!0x0,_0x26cf3a++);_0x3b2620[_0x52ea89(0x253)](_0x59c103);}}if(_0x424092)for(const [_0x1a8000,_0x307c46]of Object[_0x52ea89(0x17b)](_0x424092)){const _0xf81c5b=_0x58cdd0[_0x52ea89(0x216)][_0x52ea89(0x1a2)](_0x1a8000);if(!_0xf81c5b)throw new _0x388a76(_0x52ea89(0x1e1),null);for(const [_0x32911f,_0x320e1a]of Object[_0x52ea89(0x17b)](_0x307c46))if(null!==_0x320e1a){const _0x168549=new _0x1444ec(_0xf81c5b,_0x32911f,null,_0x320e1a,_0x26cf3a++);_0x3b2620[_0x52ea89(0x253)](_0x168549);}}return _0x3b2620;}async[_0x4c40a1(0x26f)](_0x1f3547,_0x3d04af,_0x189848){const _0xaf89a=_0x4c40a1;this[_0xaf89a(0x224)]({[_0x1f3547]:_0x3d04af},{[_0x1f3547]:_0x189848})[_0xaf89a(0x258)]((_0x529f75,_0xe824d9)=>{const _0x587ae3=_0xaf89a;_0x529f75[_0x587ae3(0x23b)]=this[_0x587ae3(0x1aa)][_0x587ae3(0x1fe)]+_0xe824d9,_0x529f75[_0x587ae3(0x1a9)]=!0x0,this[_0x587ae3(0x1a4)](_0x529f75);}),this[_0xaf89a(0x175)](),await this[_0xaf89a(0x25e)]();}async[_0x4c40a1(0x189)](_0x1041cc,_0x24e4dc){const _0x312db2=_0x4c40a1;let _0x52e764;this[_0x312db2(0x1fb)]=_0x1041cc[_0x312db2(0x263)];const _0x450753=_0x1041cc[_0x312db2(0x1a1)]&&!_0x1041cc[_0x312db2(0x196)],_0x196124=_0x450753?0x0:_0x1041cc[_0x312db2(0x221)][_0x312db2(0x23b)];if(_0x24e4dc[_0x312db2(0x258)](_0x53dff1=>{const _0x31fa41=_0x312db2;_0x53dff1[_0x31fa41(0x1a9)]=!0x0,_0x53dff1[_0x31fa41(0x220)]=_0x1041cc[_0x31fa41(0x279)],_0x53dff1[_0x31fa41(0x1e0)]=null;}),_0x450753)_0x52e764=_0x24e4dc,this[_0x312db2(0x1e6)](_0x52e764,_0x450753);else{if(_0x1041cc[_0x312db2(0x196)]){const _0x54ced7=this[_0x312db2(0x224)](_0x1041cc[_0x312db2(0x196)]);this[_0x312db2(0x1aa)][_0x312db2(0x22d)][_0x312db2(0x1fe)]=-_0x54ced7[_0x312db2(0x193)],_0x54ced7[_0x312db2(0x258)](_0x259aa0=>{const _0xa181d2=_0x312db2;_0x259aa0[_0xa181d2(0x23b)]-=_0x54ced7[_0xa181d2(0x193)],_0x259aa0[_0xa181d2(0x220)]=_0x1041cc[_0xa181d2(0x279)],_0x259aa0[_0xa181d2(0x1a9)]=!0x0,_0x259aa0[_0xa181d2(0x1e0)]=null;}),this[_0x312db2(0x1e6)](_0x54ced7,!0x0),this[_0x312db2(0x17d)][_0x312db2(0x1fe)]=-_0x54ced7[_0x312db2(0x193)]+this[_0x312db2(0x1fb)],this[_0x312db2(0x257)](_0x54ced7);}this[_0x312db2(0x1aa)][_0x312db2(0x22d)][_0x312db2(0x1fe)]=_0x196124,_0x52e764=this[_0x312db2(0x25a)](_0x1041cc[_0x312db2(0x221)],_0x1041cc[_0x312db2(0x25f)]),await this[_0x312db2(0x1e3)](_0x52e764),this[_0x312db2(0x1e6)](_0x52e764,_0x450753);}_0x1041cc[_0x312db2(0x17a)]&&(this[_0x312db2(0x18d)][_0x312db2(0x217)](_0x52e764,_0x1041cc[_0x312db2(0x17a)]),this[_0x312db2(0x24c)]=_0x1041cc[_0x312db2(0x17a)]),this[_0x312db2(0x17d)][_0x312db2(0x1fe)]=_0x196124+this[_0x312db2(0x1fb)],this[_0x312db2(0x257)](_0x52e764),_0x24e4dc[_0x312db2(0x24b)](_0x10e81f=>{const _0x45d76a=_0x312db2,_0x2080b1=this[_0x45d76a(0x269)](_0x10e81f);return _0x2080b1&&!this[_0x45d76a(0x1e9)][_0x45d76a(0x181)](_0x2080b1);})[_0x312db2(0x258)]((_0x3340d1,_0x16a801)=>{const _0x9892bf=_0x312db2;_0x3340d1[_0x9892bf(0x23b)]=this[_0x9892bf(0x1aa)][_0x9892bf(0x1fe)]+_0x16a801,this[_0x9892bf(0x1a4)](_0x3340d1);}),this[_0x312db2(0x233)]()?(this[_0x312db2(0x1d8)]=0x0,this[_0x312db2(0x175)](!0x0),await this[_0x312db2(0x25e)]()):(this[_0x312db2(0x1fc)]=!0x1,this[_0x312db2(0x19e)]());}[_0x4c40a1(0x228)](_0x9e66f1,_0x2b6c32){const _0xdaad90=_0x4c40a1,_0x1d79cf=_0x2b6c32&&_0x2b6c32[_0xdaad90(0x17c)];if(_0x1d79cf&&_0x1d79cf[_0xdaad90(0x1fd)](_0xdaad90(0x24f)))throw _0x2b6c32;const _0xe7af84=this[_0xdaad90(0x178)][_0xdaad90(0x1dc)][_0xdaad90(0x184)](_0x24223c);throw this[_0xdaad90(0x1fc)]=!0x0,_0xe7af84[_0xdaad90(0x183)](),this[_0xdaad90(0x178)][_0xdaad90(0x173)](_0xdaad90(0x239)),new _0x388a76(_0x9e66f1,this[_0xdaad90(0x178)],_0x1d79cf?{'originalError':_0x1d79cf}:void 0x0);}[_0x4c40a1(0x1a4)](_0x7cd8bc){const _0xa0ed07=_0x4c40a1;this[_0xa0ed07(0x1b2)][_0xa0ed07(0x181)](_0x7cd8bc)||(this[_0xa0ed07(0x1b2)][_0xa0ed07(0x1f1)](_0x7cd8bc),this[_0xa0ed07(0x192)][_0xa0ed07(0x253)](_0x7cd8bc),this[_0xa0ed07(0x1b3)]||_0xa0ed07(0x1f3)==_0x7cd8bc[_0xa0ed07(0x259)]&&!_0x7cd8bc[_0xa0ed07(0x236)]||this[_0xa0ed07(0x22f)]());}[_0x4c40a1(0x175)](_0x4e7a0d=!0x1){const _0x307dcc=_0x4c40a1;!_0x4e7a0d&&this[_0x307dcc(0x1fc)]||(this[_0x307dcc(0x1fc)]=!0x0,clearTimeout(this[_0x307dcc(0x206)]),this[_0x307dcc(0x206)]=setTimeout(()=>{const _0x5e7652=_0x307dcc;this[_0x5e7652(0x251)]()[_0x5e7652(0x212)](_0x340740=>{const _0xdeaa97=_0x5e7652;_0x340740&&(this[_0xdeaa97(0x19e)](),this[_0xdeaa97(0x1fc)]=!0x1);})[_0x5e7652(0x1f7)](_0x3aab77=>{const _0x3f1509=_0x5e7652;this[_0x3f1509(0x19e)](),this[_0x3f1509(0x1fc)]=!0x1,function(_0x332c7e){const _0x378935=_0x3f1509;return _0x332c7e[_0x378935(0x17c)][_0x378935(0x1fd)](_0x378935(0x247))||_0x332c7e[_0x378935(0x17c)][_0x378935(0x1fd)](_0x378935(0x223))||_0x332c7e[_0x378935(0x17c)][_0x378935(0x1fd)](_0x378935(0x1ce));}(_0x3aab77)||this[_0x3f1509(0x228)](_0x3aab77[_0x3f1509(0x17c)],_0x3aab77);});},this[_0x307dcc(0x1d8)]));}[_0x4c40a1(0x25e)](){return new Promise(_0xf1b9b8=>{const _0x1cc478=_0x4bf7;this['on'](_0x1cc478(0x19d),()=>{_0xf1b9b8();});});}async[_0x4c40a1(0x251)](){const _0x117845=_0x4c40a1,_0x15b6d6=this[_0x117845(0x178)][_0x117845(0x1dc)][_0x117845(0x184)](_0x45a391);if(this[_0x117845(0x255)]()&&(_0x15b6d6[_0x117845(0x1bc)](),this[_0x117845(0x248)]=!0x1),!this[_0x117845(0x233)]())return!0x0;const _0x45747e=[...this[_0x117845(0x192)]];for(const _0x1fed9a of _0x45747e)_0x1fed9a[_0x117845(0x1f9)]=this[_0x117845(0x1aa)][_0x117845(0x22d)][_0x117845(0x1b9)](_0x1fed9a);const _0x112f9e=this[_0x117845(0x18d)][_0x117845(0x270)](_0x45747e),_0x5c1dea=X++,_0xed0bdf=this[_0x117845(0x1d3)](_0x45747e),_0x14e4b0=await this[_0x117845(0x22a)][_0x117845(0x200)](_0xed0bdf,_0xed0bdf[_0x117845(0x23b)],_0x112f9e);try{return await this[_0x117845(0x1b6)](_0x45747e,_0x14e4b0,_0x5c1dea);}catch(_0x5c822f){return this[_0x117845(0x228)](_0x117845(0x1c2),_0x5c822f);}}async[_0x4c40a1(0x1b6)](_0x131789,_0x2f3baf,_0x3b7ca1){const _0x19623f=_0x4c40a1;if(_0x19623f(0x176)in _0x2f3baf)throw _0x2f3baf[_0x19623f(0x176)];let _0x3a2657=!0x1;if(_0x2f3baf[_0x19623f(0x1a1)]){_0x2f3baf[_0x19623f(0x17a)]&&(this[_0x19623f(0x24c)]=_0x2f3baf[_0x19623f(0x17a)]),this[_0x19623f(0x192)]=this[_0x19623f(0x192)][_0x19623f(0x24b)](_0x10bd6c=>!_0x131789[_0x19623f(0x1d2)](_0x10bd6c));for(const _0x5c3760 of _0x131789)_0x5c3760[_0x19623f(0x220)]=_0x19623f(0x1bb)in _0x2f3baf&&_0x2f3baf[_0x19623f(0x1bb)]||void 0x0;Z(_0x131789,_0x2f3baf[_0x19623f(0x1fe)]-_0x131789[_0x19623f(0x193)]),this[_0x19623f(0x257)](_0x131789);const _0x6c7701=_0x131789[_0x19623f(0x24b)](_0x360a08=>{const _0x5498b9=_0x19623f;if(!_0x360a08[_0x5498b9(0x1a9)])return!0x1;const _0x4c4582=this[_0x5498b9(0x269)](_0x360a08);return _0x4c4582&&!this[_0x5498b9(0x1e9)][_0x5498b9(0x181)](_0x4c4582);});Z(_0x6c7701,this[_0x19623f(0x1aa)][_0x19623f(0x1fe)]),this[_0x19623f(0x1e6)](_0x6c7701),_0x3a2657=!0x0,this[_0x19623f(0x1d8)]=this[_0x19623f(0x274)];}else{const _0xd93e75=this[_0x19623f(0x25a)](_0x2f3baf[_0x19623f(0x221)],_0x2f3baf[_0x19623f(0x25f)])[_0x19623f(0x24b)](_0x1a4320=>_0x1a4320[_0x19623f(0x23b)]>=this[_0x19623f(0x1c8)]);_0xd93e75[_0x19623f(0x258)](_0x111add=>this[_0x19623f(0x24e)](_0x111add)),this[_0x19623f(0x192)]=this[_0x19623f(0x192)][_0x19623f(0x24b)](_0x18fa94=>!_0x18fa94[_0x19623f(0x1a9)]||!this[_0x19623f(0x1e9)][_0x19623f(0x181)](this[_0x19623f(0x269)](_0x18fa94))),this[_0x19623f(0x192)][_0x19623f(0x193)]&&Z(this[_0x19623f(0x192)],this[_0x19623f(0x192)][0x0][_0x19623f(0x23b)]),await this[_0x19623f(0x1e3)](_0xd93e75),_0x3a2657=this[_0x19623f(0x186)](_0xd93e75,_0x2f3baf[_0x19623f(0x1fe)],_0x2f3baf[_0x19623f(0x17a)]),this[_0x19623f(0x1d8)]=Math[_0x19623f(0x273)](this[_0x19623f(0x1d8)]/0x2);}return _0x3a2657?!this[_0x19623f(0x233)]()||(this[_0x19623f(0x175)](!0x0),!0x1):this[_0x19623f(0x228)](_0x19623f(0x180));}[_0x4c40a1(0x186)](_0x2be70f,_0x1d94e2,_0x4d0c94){const _0x282e76=_0x4c40a1;try{const _0xf93bcb={'document':this[_0x282e76(0x1aa)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1b8a7d,operationsB:_0x4343de,originalOperations:_0x4de88c}=_0x393205(_0x2be70f,this[_0x282e76(0x192)],_0xf93bcb);Z(_0x1b8a7d,this[_0x282e76(0x1aa)][_0x282e76(0x1fe)]),Z(_0x4343de,_0x1d94e2);for(const _0x2e9058 of _0x1b8a7d){const _0x57eca5=_0x4de88c[_0x282e76(0x184)](_0x2e9058);_0x2e9058[_0x282e76(0x1e0)]=_0x57eca5?_0x57eca5[_0x282e76(0x1e0)]:null;}_0x4d0c94&&(this[_0x282e76(0x18d)][_0x282e76(0x217)](_0x2be70f,_0x4d0c94),this[_0x282e76(0x24c)]=_0x4d0c94),this[_0x282e76(0x192)]=[..._0x4343de],this[_0x282e76(0x1e6)](_0x1b8a7d),this[_0x282e76(0x257)](_0x2be70f);}catch(_0x16b063){return console[_0x282e76(0x176)](_0x16b063),!0x1;}return!0x0;}[_0x4c40a1(0x1e6)](_0x142b36,_0x26d5bf=!0x1){const _0x5a6ce4=_0x4c40a1;this[_0x5a6ce4(0x178)][_0x5a6ce4(0x20d)][_0x5a6ce4(0x208)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3668dd=>{const _0x5d49e3=_0x5a6ce4;for(const _0x2e729b of _0x142b36)this[_0x5d49e3(0x1b2)][_0x5d49e3(0x1f1)](_0x2e729b),this[_0x5d49e3(0x24e)](_0x2e729b),_0x3668dd[_0x5d49e3(0x1c5)][_0x5d49e3(0x1ba)](_0x2e729b),this[_0x5d49e3(0x178)][_0x5d49e3(0x20d)][_0x5d49e3(0x249)](_0x2e729b);});}[_0x4c40a1(0x24e)](_0x1c532d){const _0x2bb65c=_0x4c40a1,_0x5ca6b5=this[_0x2bb65c(0x269)](_0x1c532d);_0x5ca6b5&&this[_0x2bb65c(0x1e9)][_0x2bb65c(0x1f1)](_0x5ca6b5);}[_0x4c40a1(0x269)](_0x37898e){const _0x1e79a5=_0x4c40a1;let _0x23115b,_0x4acafc;switch(_0x37898e[_0x1e79a5(0x259)]){case _0x1e79a5(0x1c3):_0x23115b=_0x37898e[_0x1e79a5(0x191)][_0x1e79a5(0x225)];break;case _0x1e79a5(0x1f3):if(_0x4acafc=_0x37898e[_0x1e79a5(0x22b)],!_0x4acafc)return null;_0x23115b=_0x4acafc[_0x1e79a5(0x225)];break;case _0x1e79a5(0x1cc):_0x23115b=_0x37898e[_0x1e79a5(0x225)];break;case _0x1e79a5(0x25b):_0x23115b=_0x37898e[_0x1e79a5(0x256)];break;case _0x1e79a5(0x1a3):_0x23115b=_0x37898e[_0x1e79a5(0x265)][_0x1e79a5(0x225)];break;default:return null;}return _0x23115b[_0x1e79a5(0x1db)];}[_0x4c40a1(0x257)](_0x2fe4d9){const _0x3d288b=_0x4c40a1;_0x2fe4d9[_0x3d288b(0x258)](_0xfcf686=>{const _0x1799ee=_0x3d288b,_0x46b58e=_0xfcf686[_0x1799ee(0x213)]();_0x46b58e[_0x1799ee(0x1e0)]=_0xfcf686[_0x1799ee(0x1e0)],_0x46b58e[_0x1799ee(0x1a9)]=!!_0xfcf686[_0x1799ee(0x1a9)],_0x46b58e[_0x1799ee(0x220)]=_0xfcf686[_0x1799ee(0x220)],_0x46b58e[_0x1799ee(0x23b)]+=this[_0x1799ee(0x1fb)],_0xfcf686[_0x1799ee(0x1e8)]&&this[_0x1799ee(0x190)][_0x1799ee(0x1f1)](_0x46b58e),this[_0x1799ee(0x17d)][_0x1799ee(0x1ba)](_0x46b58e);});}[_0x4c40a1(0x26c)](_0x40c976){const _0x45d59d=_0x4c40a1,_0x587bc1=this[_0x45d59d(0x178)][_0x45d59d(0x1dc)][_0x45d59d(0x184)](_0x45d59d(0x226)),_0x427e05=this[_0x45d59d(0x178)][_0x45d59d(0x1f8)];_0x40c976||(_0x40c976=_0x5175fb(_0x427e05,_0x45d59d(0x1ad))),_0x587bc1[_0x45d59d(0x177)](_0x40c976,{'title':_0x5175fb(_0x427e05,_0x45d59d(0x22e)),'namespace':_0x45d59d(0x20a)}),this[_0x45d59d(0x1ca)]=!0x0,clearTimeout(this[_0x45d59d(0x206)]),this[_0x45d59d(0x192)]=[],this[_0x45d59d(0x178)][_0x45d59d(0x1dc)][_0x45d59d(0x184)](_0x24223c)[_0x45d59d(0x183)]();}[_0x4c40a1(0x22f)](){const _0x39f115=_0x4c40a1;this[_0x39f115(0x1b3)]||(this[_0x39f115(0x1b3)]=this[_0x39f115(0x178)][_0x39f115(0x1dc)][_0x39f115(0x184)](_0x280cc7)[_0x39f115(0x1f1)](_0x5175fb(this[_0x39f115(0x178)][_0x39f115(0x1f8)],_0x39f115(0x205))));}[_0x4c40a1(0x19e)](){const _0x2d6076=_0x4c40a1;this[_0x2d6076(0x1b3)]&&(this[_0x2d6076(0x178)][_0x2d6076(0x1dc)][_0x2d6076(0x184)](_0x280cc7)[_0x2d6076(0x19b)](this[_0x2d6076(0x1b3)]),this[_0x2d6076(0x1b3)]=null);}[_0x4c40a1(0x1d3)](_0x3d29d0){const _0x15399f=_0x4c40a1,_0x2ca2dd=_0x3d29d0[_0x15399f(0x1f4)](_0x2bcf59=>_0x2bcf59[_0x15399f(0x1d1)]());return this[_0x15399f(0x1e4)][_0x15399f(0x188)](_0x2ca2dd);}[_0x4c40a1(0x25a)](_0x3deff2,_0x1fb371){const _0xb9cc82=_0x4c40a1;return this[_0xb9cc82(0x1e4)][_0xb9cc82(0x1da)](_0x3deff2)[_0xb9cc82(0x1f4)]((_0x140816,_0x169020)=>{const _0x5991c=_0xb9cc82,_0x5ec6e8=_0x5991c(0x227)==_0x1fb371[_0x169020][_0x5991c(0x259)];if(_0x5991c(0x268)==_0x140816[_0x5991c(0x1ac)]){const _0x577911=_0x140816[_0x5991c(0x191)][_0x5991c(0x225)];!this[_0x5991c(0x1aa)][_0x5991c(0x1a2)](_0x577911)&&(this[_0x5991c(0x1aa)][_0x5991c(0x1b8)](_0x5991c(0x1e2),_0x577911)[_0x5991c(0x1c9)]=!0x1);}const _0x3110ea=_0x4e780b[_0x5991c(0x195)](_0x140816,this[_0x5991c(0x1aa)]);return _0x3110ea[_0x5991c(0x1f9)]=_0x140816[_0x5991c(0x1f9)],_0x3110ea[_0x5991c(0x1a9)]=_0x5ec6e8,_0x3110ea[_0x5991c(0x1e0)]=_0x5ec6e8?null:_0x1fb371[_0x169020][_0x5991c(0x179)],_0x3110ea[_0x5991c(0x1e8)]=_0x5991c(0x18b)===_0x1fb371[_0x169020][_0x5991c(0x259)],_0x3110ea[_0x5991c(0x220)]=_0x1fb371[_0x169020][_0x5991c(0x220)],_0x3110ea;});}[_0x4c40a1(0x1a0)](){const _0x1eb68e=_0x4c40a1;this[_0x1eb68e(0x248)]=!0x0,this[_0x1eb68e(0x255)]()?this[_0x1eb68e(0x175)]():this[_0x1eb68e(0x248)]=!0x1;}[_0x4c40a1(0x255)](){const _0x20e527=_0x4c40a1,_0x2b557d=this[_0x20e527(0x178)][_0x20e527(0x1dc)][_0x20e527(0x184)](_0x36cd66)[_0x20e527(0x267)][_0x20e527(0x184)](this[_0x20e527(0x1d6)]);return!this[_0x20e527(0x178)][_0x20e527(0x209)]&&!!_0x2b557d&&_0x2b557d[_0x20e527(0x193)]>0x1&&this[_0x20e527(0x248)];}[_0x4c40a1(0x233)](){const _0x392584=_0x4c40a1;return this[_0x392584(0x192)][_0x392584(0x193)]>0x0||this[_0x392584(0x255)]();}}class Y extends Error{}function Z(_0xa96dd5,_0x3a5a21){const _0x32e8ef=_0x4c40a1;for(const _0x5a5ca8 of _0xa96dd5)_0x5a5ca8[_0x32e8ef(0x23b)]=_0x3a5a21++;}class tt{[_0x4c40a1(0x1de)];[_0x4c40a1(0x23c)];constructor(_0x47c110){const _0x446cb5=_0x4c40a1;this[_0x446cb5(0x1de)]=_0x47c110,this[_0x446cb5(0x23c)]=new WeakMap();}[_0x4c40a1(0x270)](_0x155b4b){const _0x5cc64a=_0x4c40a1;let _0x5b969b=_0x155b4b[_0x5cc64a(0x193)];for(;_0x5b969b--;){const _0x4d8d9b=_0x155b4b[_0x5b969b];if(!this[_0x5cc64a(0x1de)][_0x5cc64a(0x181)](_0x4d8d9b)){if(!this[_0x5cc64a(0x23c)][_0x5cc64a(0x181)](_0x4d8d9b)){const _0x1a1194=_0x22e293()[_0x5cc64a(0x240)](0x1,0x12);this[_0x5cc64a(0x23c)][_0x5cc64a(0x19f)](_0x4d8d9b,_0x1a1194);}return this[_0x5cc64a(0x23c)][_0x5cc64a(0x184)](_0x4d8d9b);}}}[_0x4c40a1(0x217)](_0x355c21,_0x1f8dd6){const _0x11a2c4=_0x4c40a1;if(!_0x1f8dd6)return;let _0x2635f8=_0x355c21[_0x11a2c4(0x193)];for(;_0x2635f8--;){const _0x3c73be=_0x355c21[_0x2635f8];this[_0x11a2c4(0x1de)][_0x11a2c4(0x181)](_0x3c73be)||this[_0x11a2c4(0x23c)][_0x11a2c4(0x19f)](_0x3c73be,_0x1f8dd6);}}}
23
+ const _0x26d242=_0xe5ab;(function(_0x2aa4fd,_0x17d6a4){const _0x3b38c7=_0xe5ab,_0x5556eb=_0x2aa4fd();while(!![]){try{const _0x57d641=-parseInt(_0x3b38c7(0x157))/0x1*(parseInt(_0x3b38c7(0x7b))/0x2)+-parseInt(_0x3b38c7(0x16e))/0x3+-parseInt(_0x3b38c7(0x9f))/0x4+-parseInt(_0x3b38c7(0x111))/0x5*(parseInt(_0x3b38c7(0x127))/0x6)+parseInt(_0x3b38c7(0x165))/0x7*(parseInt(_0x3b38c7(0x17d))/0x8)+parseInt(_0x3b38c7(0xde))/0x9+parseInt(_0x3b38c7(0x101))/0xa;if(_0x57d641===_0x17d6a4)break;else _0x5556eb['push'](_0x5556eb['shift']());}catch(_0x9ea713){_0x5556eb['push'](_0x5556eb['shift']());}}}(_0x1412,0x6736a));function _0xe5ab(_0x5e0751,_0x2b2bfc){const _0x141272=_0x1412();return _0xe5ab=function(_0xe5ab71,_0x298233){_0xe5ab71=_0xe5ab71-0x79;let _0x16c43d=_0x141272[_0xe5ab71];return _0x16c43d;},_0xe5ab(_0x5e0751,_0x2b2bfc);}import{Plugin as _0x36847c,PendingActions as _0x5c3be5}from'ckeditor5/src/core.js';import{CKEditorError as _0x50a0b9,version as _0x29ba18,uid as _0x4a8868}from'ckeditor5/src/utils.js';import{Notification as _0x3ace31}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x30a7c4,NoOperation as _0x328ec9,InsertOperation as _0x5b750a,MarkerOperation as _0x1768ee,RootAttributeOperation as _0x15ff31,OperationFactory as _0x2a60df,History as _0xc52ba0}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x38d046}from'./websocketgateway.js';import{Sessions as _0x1adf10}from'./sessions.js';import{UserMarkers as _0x395f5d}from'./usermarkers.js';import{getTranslation as _0x3e8d08}from'../common-translations.js';import{Compressor as _0x49feac}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5e3fe2}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x21e716,CollaborativeEditingService as _0x570639}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x36847c{static [_0x26d242(0xa6)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x570639)());[_0x26d242(0x16b)];[_0x26d242(0x11c)];[_0x26d242(0x9d)];[_0x26d242(0x105)];[_0x26d242(0xa8)];[_0x26d242(0x16c)];[_0x26d242(0x130)];[_0x26d242(0x7f)];[_0x26d242(0x98)];[_0x26d242(0x137)];[_0x26d242(0xf9)];[_0x26d242(0x169)];[_0x26d242(0x178)];[_0x26d242(0xed)];[_0x26d242(0x110)];[_0x26d242(0x12e)];[_0x26d242(0xf0)];[_0x26d242(0x90)];static get[_0x26d242(0xf4)](){return[_0x38d046,_0x1adf10,_0x395f5d,_0x5c3be5,_0x5e3fe2,_0x3ace31];}static get[_0x26d242(0xea)](){const _0x3043c6=_0x26d242;return _0x3043c6(0x156);}static get[_0x26d242(0x87)](){return!0x0;}static get[_0x26d242(0x97)](){return!0x0;}get[_0x26d242(0xfd)](){const _0x8e7fe0=_0x26d242;return this[_0x8e7fe0(0x14b)]+this[_0x8e7fe0(0x16b)];}get[_0x26d242(0x14b)](){const _0x57e6ad=_0x26d242;return this[_0x57e6ad(0x9d)][_0x57e6ad(0x81)]-this[_0x57e6ad(0x16b)];}get[_0x26d242(0x122)](){const _0x39a84d=_0x26d242,_0x540363=this[_0x39a84d(0x9d)][_0x39a84d(0x166)]();for(let _0x49ec2d=_0x540363[_0x39a84d(0x145)]-0x1;_0x49ec2d>=0x0;_0x49ec2d--){const _0x4ce993=_0x540363[_0x49ec2d];if(!this[_0x39a84d(0xf0)][_0x39a84d(0x14c)](_0x4ce993))return _0x4ce993[_0x39a84d(0xd0)]+0x1-this[_0x39a84d(0x16b)];}return 0x0;}constructor(_0x56da5f){const _0x56d326=_0x26d242;if(super(_0x56da5f),this[_0x56d326(0x16b)]=0x0,this[_0x56d326(0x11c)]=null,this[_0x56d326(0x9d)]=new _0xc52ba0(),this[_0x56d326(0xd2)][_0x56d326(0x126)][_0x56d326(0xab)](_0x56d326(0x150),{}),this[_0x56d326(0x105)]=this[_0x56d326(0xd2)][_0x56d326(0x126)][_0x56d326(0xe3)](_0x56d326(0x7d)),!this[_0x56d326(0x105)])throw new _0x50a0b9(_0x56d326(0x10e),this);const _0x4571e1=_0x56da5f[_0x56d326(0x126)][_0x56d326(0xe3)](_0x56d326(0x179))||_0x29ba18;this[_0x56d326(0xa8)]=new RealTimeCollaborationClient[(_0x56d326(0xa6))](_0x4571e1,this[_0x56d326(0x105)]),this[_0x56d326(0x16c)]=this[_0x56d326(0xd2)][_0x56d326(0xcc)][_0x56d326(0xb6)],this[_0x56d326(0x130)]=new _0x49feac(),this[_0x56d326(0x7f)]=[],this[_0x56d326(0x98)]=new WeakSet(),this[_0x56d326(0x137)]=new Set(),this[_0x56d326(0x92)](_0x56d326(0x8c),!0x1),this[_0x56d326(0x92)](_0x56d326(0xbd),!0x1),this[_0x56d326(0xf9)]=null,this[_0x56d326(0x169)]=!0x1,this[_0x56d326(0x178)]=null,this[_0x56d326(0xed)]=0x12c,this[_0x56d326(0x110)]=this[_0x56d326(0xed)],this[_0x56d326(0x12e)]=null,this[_0x56d326(0xf0)]=new WeakSet(),this[_0x56d326(0x90)]=new J(this[_0x56d326(0xf0)]);}[_0x26d242(0x10f)](){const _0x3e0940=_0x26d242,_0x2f6b6d=this[_0x3e0940(0xd2)],_0x252701=_0x2f6b6d[_0x3e0940(0x11a)][_0x3e0940(0xe3)](_0x5e3fe2),_0x480805=_0x2f6b6d[_0x3e0940(0x11a)][_0x3e0940(0xe3)](_0x38d046);this[_0x3e0940(0x147)](_0x252701,_0x3e0940(0x132),(_0x1310a8,_0x3cbfe6)=>{const _0xa4c316=_0x3e0940,_0x57211c=_0x3cbfe6[0x0];_0x57211c[_0xa4c316(0x11e)]&&(_0x1310a8[_0xa4c316(0xfb)]=_0x252701[_0xa4c316(0x13f)](_0x57211c[_0xa4c316(0x11e)]),_0x1310a8[_0xa4c316(0x96)]()),null===_0x57211c[_0xa4c316(0x11e)]&&(_0x1310a8[_0xa4c316(0xfb)]=null,_0x1310a8[_0xa4c316(0x96)]());},{'priority':_0x3e0940(0xad)}),this[_0x3e0940(0x147)](_0x2f6b6d[_0x3e0940(0xcc)][_0x3e0940(0xb6)][_0x3e0940(0x8b)],_0x3e0940(0x113),(_0x316874,_0x2cf6f0)=>{const _0x32997f=_0x3e0940;_0x2cf6f0[_0x32997f(0xb3)]&&this[_0x32997f(0x121)]();}),this[_0x3e0940(0x147)](_0x2f6b6d[_0x3e0940(0xd8)][_0x3e0940(0x144)],_0x3e0940(0xd6),()=>{const _0x3318ae=_0x3e0940;this[_0x3318ae(0x121)]();}),this[_0x3e0940(0x162)](),_0x2f6b6d[_0x3e0940(0xcc)]['on'](_0x3e0940(0xa9),(_0x29e420,_0x335939)=>{const _0x1784f3=_0x3e0940,_0x2565a2=_0x335939[0x0];_0x2565a2[_0x1784f3(0x161)]&&(this[_0x1784f3(0x15d)](_0x2565a2),this[_0x1784f3(0x173)]()&&this[_0x1784f3(0x152)]());}),this[_0x3e0940(0x14f)](),this[_0x3e0940(0xd7)](_0x3e0940(0x119))['to'](_0x480805,_0x3e0940(0xc4),this,_0x3e0940(0xbd),(_0x5bf17a,_0x40b0ae)=>_0x3e0940(0x8f)===_0x5bf17a&&!_0x40b0ae),this['on'](_0x3e0940(0x13b),()=>{const _0x1899c5=_0x3e0940;this[_0x1899c5(0x119)]?_0x2f6b6d[_0x1899c5(0x83)](_0x1899c5(0x154)):_0x2f6b6d[_0x1899c5(0x9e)](_0x1899c5(0x154));}),this[_0x3e0940(0x119)]?_0x2f6b6d[_0x3e0940(0x83)](_0x3e0940(0x154)):_0x2f6b6d[_0x3e0940(0x9e)](_0x3e0940(0x154)),this[_0x3e0940(0x92)](_0x3e0940(0xc8),!0x1);}async[_0x26d242(0x84)](){const _0x2b67fb=_0x26d242,_0xb387e5=this[_0x2b67fb(0xd2)][_0x2b67fb(0x11a)][_0x2b67fb(0xe3)](_0x1adf10),_0x395039=this[_0x2b67fb(0xd2)][_0x2b67fb(0x11a)][_0x2b67fb(0xe3)](_0x38d046);try{this[_0x2b67fb(0x8c)]=!0x0,_0xb387e5[_0x2b67fb(0x142)](this[_0x2b67fb(0x105)]);const _0x57d8bb=await this[_0x2b67fb(0xa8)][_0x2b67fb(0x84)](_0x395039[_0x2b67fb(0xbb)],this[_0x2b67fb(0x122)]);await this[_0x2b67fb(0x9a)](_0x57d8bb)&&(this[_0x2b67fb(0x8c)]=!0x1,this[_0x2b67fb(0xf5)]());const _0x3d3a08=await this[_0x2b67fb(0xa8)][_0x2b67fb(0x13d)]();_0xb387e5[_0x2b67fb(0xf2)](this[_0x2b67fb(0x105)],_0x3d3a08),this[_0x2b67fb(0x9c)](),this[_0x2b67fb(0xc8)]=!0x0;}catch(_0x2a7e16){if(function(_0x10faae){const _0x2e0ec=_0x2b67fb;return _0x2e0ec(0x138)===_0x10faae[_0x2e0ec(0x135)];}(_0x2a7e16)&&this[_0x2b67fb(0x11c)])await this[_0x2b67fb(0x109)]();else{if(function(_0x468752){const _0x4f0aa0=_0x2b67fb;return _0x4f0aa0(0xbf)===_0x468752[_0x4f0aa0(0x135)];}(_0x2a7e16)){const _0xdc4bd2=_0x3e8d08(this[_0x2b67fb(0xd2)][_0x2b67fb(0xc9)],_0x2b67fb(0x143));this[_0x2b67fb(0x102)](_0xdc4bd2);}else{if(!(_0x2a7e16 instanceof $))throw _0x2a7e16;this[_0x2b67fb(0x102)]();}}}}[_0x26d242(0xd9)](){const _0x11afb2=_0x26d242,_0x288f08=this[_0x11afb2(0xd2)][_0x11afb2(0x11a)][_0x11afb2(0xe3)](_0x38d046),_0x2c7bbc=this[_0x11afb2(0xd2)][_0x11afb2(0x11a)][_0x11afb2(0xe3)](_0x1adf10);this[_0x11afb2(0xd2)][_0x11afb2(0x9e)](_0x11afb2(0xb4)),_0x2c7bbc[_0x11afb2(0x141)][_0x11afb2(0x14c)](this[_0x11afb2(0x105)])&&_0x2c7bbc[_0x11afb2(0x142)](this[_0x11afb2(0x105)]),_0x288f08[_0x11afb2(0xa4)](this),this[_0x11afb2(0x15c)](),super[_0x11afb2(0xd9)]();}async[_0x26d242(0x9a)](_0x467128){const _0x1f28a0=_0x26d242;if(this[_0x1f28a0(0x11c)]!==_0x467128[_0x1f28a0(0x11c)]&&this[_0x1f28a0(0x12e)]!==_0x467128[_0x1f28a0(0x170)])throw new $();return this[_0x1f28a0(0x11c)]=_0x467128[_0x1f28a0(0x11c)],this[_0x1f28a0(0x160)]([],{..._0x467128,'wereChangesApplied':!0x1,'data':_0x467128[_0x1f28a0(0xfa)]},_0x1f28a0(0x84));}async[_0x26d242(0x14a)](_0x35eb46,_0x2f4ebf=!0x1){const _0x523167=_0x26d242,{connection:_0x4ca4ff}=this[_0x523167(0xd2)][_0x523167(0x11a)][_0x523167(0xe3)](_0x38d046);RealTimeCollaborationClient[_0x523167(0xa6)][_0x523167(0x13d)](_0x4ca4ff,this[_0x523167(0x105)])[_0x523167(0xa0)](_0x1d157a=>this[_0x523167(0xce)](_0x1d157a))[_0x523167(0x85)](_0x3ff39c=>{const _0x49ecdb=_0x523167;this[_0x49ecdb(0x82)](_0x49ecdb(0x16a),_0x3ff39c);}),this[_0x523167(0x147)](this[_0x523167(0xa8)],_0x523167(0xae),this[_0x523167(0xda)][_0x523167(0xd7)](this)),this[_0x523167(0x147)](this[_0x523167(0xa8)],_0x523167(0xe6),(_0x576977,_0x444eda)=>{const _0x4d21b0=_0x523167;this[_0x4d21b0(0x82)](_0x4d21b0(0xa1),_0x444eda);}),this[_0x523167(0x147)](this[_0x523167(0xa8)],_0x523167(0xf7),()=>{const _0x54a299=_0x523167;this[_0x54a299(0xc8)]=!0x1;});const _0x36cf79=this[_0x523167(0x90)][_0x523167(0x134)](_0x35eb46);this[_0x523167(0x8c)]=!0x0;const _0x4a07ca=await this[_0x523167(0xa8)][_0x523167(0xe2)](_0x4ca4ff,this[_0x523167(0x93)](_0x35eb46),_0x36cf79);if(this[_0x523167(0x11c)]=_0x4a07ca[_0x523167(0x11c)],_0x2f4ebf){if(!_0x4a07ca[_0x523167(0x139)])return void this[_0x523167(0x102)]();this[_0x523167(0x8c)]=!0x1,this[_0x523167(0xf5)](),this[_0x523167(0x9d)][_0x523167(0x103)](),this[_0x523167(0x16b)]=_0x4a07ca[_0x523167(0xe4)],this[_0x523167(0x9d)][_0x523167(0x81)]=this[_0x523167(0x16b)],await this[_0x523167(0x160)](_0x35eb46,_0x4a07ca,_0x523167(0x167));}else await this[_0x523167(0x174)](_0x4a07ca,_0x35eb46);this[_0x523167(0x9c)](),this[_0x523167(0xc8)]=!0x0;}[_0x26d242(0x9c)](){const _0x404fe3=_0x26d242,_0xe2d9eb=this[_0x404fe3(0xd2)][_0x404fe3(0x11a)][_0x404fe3(0xe3)](_0x1adf10),_0x2cf986=this[_0x404fe3(0xd2)][_0x404fe3(0x11a)][_0x404fe3(0xe3)](_0x395f5d),_0x230d49=_0xe2d9eb[_0x404fe3(0x141)][_0x404fe3(0xe3)](this[_0x404fe3(0x105)]);_0x230d49&&_0x230d49[_0x404fe3(0x145)]>0x1?_0x2cf986[_0x404fe3(0xfc)]():this[_0x404fe3(0x147)](_0xe2d9eb,_0x404fe3(0xeb)+this[_0x404fe3(0x105)],()=>{const _0x21d876=_0x404fe3;0x2===_0xe2d9eb[_0x21d876(0x141)][_0x21d876(0xe3)](this[_0x21d876(0x105)])[_0x21d876(0x145)]&&_0x2cf986[_0x21d876(0xfc)]();});}async[_0x26d242(0xda)](_0x5c8698,_0x7ec980,_0x99aff,_0x8e4cc3){const _0x1b3e8b=_0x26d242;if(!this[_0x1b3e8b(0x8c)]&&this[_0x1b3e8b(0x16c)][_0x1b3e8b(0x81)]==_0x7ec980){const _0x40c36e=this[_0x1b3e8b(0x175)](_0x99aff,_0x8e4cc3);await this[_0x1b3e8b(0x13e)](_0x40c36e),this[_0x1b3e8b(0x7c)](_0x40c36e,_0x7ec980,_0x99aff[_0x1b3e8b(0x170)])||this[_0x1b3e8b(0x82)](_0x1b3e8b(0x16f));}}async[_0x26d242(0x109)](){const _0x5cb841=_0x26d242;this[_0x5cb841(0x15c)]();const {locale:_0x3b4956}=this[_0x5cb841(0xd2)];let _0x3e8b34;try{_0x3e8b34=await this[_0x5cb841(0xa8)][_0x5cb841(0x89)]();}catch{const _0x37c62f=_0x3e8d08(_0x3b4956,_0x5cb841(0x155));return void this[_0x5cb841(0x102)](_0x37c62f);}const _0x2233f2=_0x3e8b34[_0x5cb841(0x17b)]||_0x3e8b34[_0x5cb841(0x10d)];if(this[_0x5cb841(0x12e)]!==_0x2233f2[_0x5cb841(0x170)]){const _0xc0ba58=_0x3e8d08(_0x3b4956,_0x5cb841(0xdc));return void this[_0x5cb841(0x102)](_0xc0ba58);}await this[_0x5cb841(0x14a)](this[_0x5cb841(0xd2)][_0x5cb841(0xcc)][_0x5cb841(0xb6)][_0x5cb841(0x79)][_0x5cb841(0x166)](),!0x0);}[_0x26d242(0x15c)](){const _0x401108=_0x26d242;this[_0x401108(0xa8)][_0x401108(0xdb)](),this[_0x401108(0x7f)]=[],clearTimeout(this[_0x401108(0x178)]),this[_0x401108(0xb9)](this[_0x401108(0xa8)]);}[_0x26d242(0xce)](_0x4b7278){const _0x4ee1df=_0x26d242,_0x142d2e=this[_0x4ee1df(0xd2)][_0x4ee1df(0x11a)][_0x4ee1df(0xe3)](_0x1adf10);this[_0x4ee1df(0x147)](_0x142d2e,_0x4ee1df(0xeb)+this[_0x4ee1df(0x105)],(_0x37906a,{session:_0x3fa1d4})=>{const _0x38a6f0=_0x4ee1df;if(_0x3fa1d4['id']===_0x142d2e[_0x38a6f0(0x10b)]){_0x37906a[_0x38a6f0(0xec)]();const _0x3f5295=this[_0x38a6f0(0xd2)][_0x38a6f0(0x11a)][_0x38a6f0(0x14c)](_0x38a6f0(0x112))&&this[_0x38a6f0(0xd2)][_0x38a6f0(0x11a)][_0x38a6f0(0xe3)](_0x38a6f0(0x112));let _0x5b8f4c=_0x3fa1d4[_0x38a6f0(0xb5)];_0x3f5295&&_0x3f5295[_0x38a6f0(0xe7)]&&(_0x5b8f4c=_0x5b8f4c[_0x38a6f0(0x128)](_0x4d2335=>_0x38a6f0(0xba)!==_0x4d2335)),this[_0x38a6f0(0xd2)][_0x38a6f0(0x11a)][_0x38a6f0(0xe3)](_0x38a6f0(0x12a))[_0x38a6f0(0x8a)](_0x5b8f4c,this[_0x38a6f0(0x105)]);}}),_0x142d2e[_0x4ee1df(0xf2)](this[_0x4ee1df(0x105)],_0x4b7278);}[_0x26d242(0x162)](){const _0x4d2bc5=_0x26d242,_0x2807d3=this[_0x4d2bc5(0xd2)][_0x4d2bc5(0xfa)][_0x4d2bc5(0x92)];this[_0x4d2bc5(0xd2)][_0x4d2bc5(0xfa)][_0x4d2bc5(0x92)]=(..._0x18d4f0)=>{const _0x49f9b0=_0x4d2bc5;if(!_0x18d4f0[_0x18d4f0[_0x49f9b0(0x145)]-0x1][_0x49f9b0(0x11f)])throw new _0x50a0b9(_0x49f9b0(0xb0),this);_0x2807d3[_0x49f9b0(0xcf)](this[_0x49f9b0(0xd2)][_0x49f9b0(0xfa)],_0x18d4f0);};}[_0x26d242(0x14f)](){const _0x1c46dd=_0x26d242;this[_0x1c46dd(0xd2)][_0x1c46dd(0xfa)]['on'](_0x1c46dd(0x10f),(_0x15518b,[_0x7325e])=>{const _0x39f800=_0x1c46dd;if(this[_0x39f800(0x16c)][_0x39f800(0x81)])throw new _0x50a0b9(_0x39f800(0xa3),this);_0x15518b[_0x39f800(0x96)](),this[_0x39f800(0xcb)]();const _0x3dad78=this[_0x39f800(0xd2)][_0x39f800(0x126)][_0x39f800(0xe3)](_0x39f800(0xc7)),_0x506764=this[_0x39f800(0x17c)](_0x7325e,_0x3dad78);0x0==_0x506764[_0x39f800(0x145)]&&_0x506764[_0x39f800(0xb1)](new _0x328ec9(0x0)),_0x15518b[_0x39f800(0xfb)]=this[_0x39f800(0x14a)](_0x506764)[_0x39f800(0xa0)](()=>{const _0x16f3ab=_0x39f800;this[_0x16f3ab(0xd2)][_0x16f3ab(0x11a)][_0x16f3ab(0xe3)](_0x38d046)[_0x16f3ab(0x107)](this),this[_0x16f3ab(0xd2)][_0x16f3ab(0xfa)][_0x16f3ab(0x8d)](_0x16f3ab(0x168));})[_0x39f800(0x85)](_0x496f6b=>this[_0x39f800(0x82)](_0x39f800(0x9b),_0x496f6b))[_0x39f800(0x123)](()=>this[_0x39f800(0xf5)]());},{'priority':_0x1c46dd(0xad)}),this[_0x1c46dd(0xd2)]['on'](_0x1c46dd(0x120),async(_0x45d723,[_0x30239b,_0x689bad])=>{const _0x1e0624=_0x1c46dd;_0x45d723[_0x1e0624(0x96)]();const _0x18b186=this[_0x1e0624(0xd2)][_0x1e0624(0xcc)][_0x1e0624(0xb6)][_0x1e0624(0xd5)](_0x30239b);if(!this[_0x1e0624(0x137)][_0x1e0624(0x14c)](_0x30239b)){const _0x3aad3f=_0x689bad&&_0x689bad[_0x1e0624(0xfa)]?_0x689bad[_0x1e0624(0xfa)]:'',_0x366fda=_0x689bad&&_0x689bad[_0x1e0624(0xc5)]?_0x689bad[_0x1e0624(0xc5)]:{};await this[_0x1e0624(0xa2)](_0x30239b,_0x3aad3f,_0x366fda);}this[_0x1e0624(0xd2)][_0x1e0624(0xcc)][_0x1e0624(0x10a)]({'isUndoable':!0x1},()=>{const _0x5a1e03=_0x1e0624;_0x18b186[_0x5a1e03(0x151)]=!0x0,this[_0x5a1e03(0xd2)][_0x5a1e03(0xcc)][_0x5a1e03(0xb6)][_0x5a1e03(0x116)][_0x5a1e03(0xee)](_0x18b186);});},{'priority':_0x1c46dd(0xad)});}async[_0x26d242(0x13e)](_0x44334a){const _0x4af3b7=_0x26d242,_0x4f8fd3=this[_0x4af3b7(0xd2)][_0x4af3b7(0x11a)][_0x4af3b7(0xe3)](_0x5e3fe2),{connection:_0x311409}=this[_0x4af3b7(0xd2)][_0x4af3b7(0x11a)][_0x4af3b7(0xe3)](_0x38d046),_0x1fcf77=new Set();for(const _0x166266 of _0x44334a){const _0x902ea1=_0x166266[_0x4af3b7(0x11e)];_0x902ea1&&!_0x4f8fd3[_0x4af3b7(0x13f)](_0x902ea1)&&_0x1fcf77[_0x4af3b7(0xf3)](_0x902ea1);}if(0x0===_0x1fcf77[_0x4af3b7(0x7e)])return;const _0x43250f=await _0x21e716[_0x4af3b7(0x171)](_0x311409,Array[_0x4af3b7(0x15a)](_0x1fcf77));for(const _0x177a3a of _0x43250f)_0x4f8fd3[_0x4af3b7(0x13f)](_0x177a3a['id'])||_0x4f8fd3[_0x4af3b7(0x12c)](_0x177a3a);}[_0x26d242(0x17c)](_0x22fd02,_0x1bf133={}){const _0x255f77=_0x26d242,_0x50c800=this[_0x255f77(0xd2)][_0x255f77(0xcc)],_0x100244=[];let _0x402928=0x0;const _0x2bcf68=_0x255f77(0xd1)==typeof _0x22fd02?{'main':_0x22fd02}:_0x22fd02;for(const _0x71d8f8 of Object[_0x255f77(0xe5)](_0x2bcf68)){if(!this[_0x255f77(0x16c)][_0x255f77(0xef)][_0x255f77(0x14c)](_0x71d8f8))throw new _0x50a0b9(_0x255f77(0xa5),this);const _0x14fded=this[_0x255f77(0xd2)][_0x255f77(0xfa)][_0x255f77(0x136)](_0x2bcf68[_0x71d8f8]),_0x11a656=this[_0x255f77(0x16c)][_0x255f77(0xd5)](_0x71d8f8),_0x80227a=new _0x5b750a(_0x50c800[_0x255f77(0xc6)](_0x11a656,0x0),_0x14fded,_0x402928++);_0x100244[_0x255f77(0xb1)](_0x80227a);for(const [_0x5e4041,_0x3a22f6]of _0x14fded[_0x255f77(0xbc)]){const _0x1118de=_0x50c800[_0x255f77(0xe8)](_0x50c800[_0x255f77(0x106)](_0x11a656,_0x3a22f6[_0x255f77(0x17e)][_0x255f77(0xaa)][_0x255f77(0xc0)]()),_0x50c800[_0x255f77(0x106)](_0x11a656,_0x3a22f6[_0x255f77(0xff)][_0x255f77(0xaa)][_0x255f77(0xc0)]())),_0x433edf=new _0x1768ee(_0x5e4041,null,_0x1118de,_0x50c800[_0x255f77(0xbc)],!0x0,_0x402928++);_0x100244[_0x255f77(0xb1)](_0x433edf);}}if(_0x1bf133)for(const [_0x3a5618,_0x1e1115]of Object[_0x255f77(0x15e)](_0x1bf133)){const _0x5335e9=_0x50c800[_0x255f77(0xb6)][_0x255f77(0xd5)](_0x3a5618);if(!_0x5335e9)throw new _0x50a0b9(_0x255f77(0xca),null);for(const [_0x3b3b2f,_0x3cb0fc]of Object[_0x255f77(0x15e)](_0x1e1115))if(null!==_0x3cb0fc){const _0x29073a=new _0x15ff31(_0x5335e9,_0x3b3b2f,null,_0x3cb0fc,_0x402928++);_0x100244[_0x255f77(0xb1)](_0x29073a);}}return _0x100244;}async[_0x26d242(0xa2)](_0x5c10b1,_0x6ed28f,_0xfbe8b8){const _0x3e4ee6=_0x26d242;this[_0x3e4ee6(0x17c)]({[_0x5c10b1]:_0x6ed28f},{[_0x5c10b1]:_0xfbe8b8})[_0x3e4ee6(0xb2)]((_0x4148fc,_0x4525ac)=>{const _0x3f3bd6=_0x3e4ee6;_0x4148fc[_0x3f3bd6(0xd0)]=this[_0x3f3bd6(0x16c)][_0x3f3bd6(0x81)]+_0x4525ac,_0x4148fc[_0x3f3bd6(0xe1)]=!0x0,this[_0x3f3bd6(0x15d)](_0x4148fc);}),this[_0x3e4ee6(0x152)](),await this[_0x3e4ee6(0x158)]();}async[_0x26d242(0x174)](_0x42726a,_0x4a37e4){const _0x508c60=_0x26d242;let _0x3e6f2b;this[_0x508c60(0x16b)]=_0x42726a[_0x508c60(0xe4)];const _0x489c31=_0x42726a[_0x508c60(0x139)]&&!_0x42726a[_0x508c60(0x117)],_0x467bdc=_0x489c31?0x0:_0x42726a[_0x508c60(0xfa)][_0x508c60(0xd0)];if(_0x4a37e4[_0x508c60(0xb2)](_0x2d38e1=>{const _0x5cd501=_0x508c60;_0x2d38e1[_0x5cd501(0xe1)]=!0x0,_0x2d38e1[_0x5cd501(0x153)]=_0x42726a[_0x5cd501(0x91)],_0x2d38e1[_0x5cd501(0x11e)]=null;}),_0x489c31)_0x3e6f2b=_0x4a37e4,this[_0x508c60(0x16d)](_0x3e6f2b,_0x489c31);else{if(_0x42726a[_0x508c60(0x117)]){const _0x20db31=this[_0x508c60(0x17c)](_0x42726a[_0x508c60(0x117)]);this[_0x508c60(0x16c)][_0x508c60(0x79)][_0x508c60(0x81)]=-_0x20db31[_0x508c60(0x145)],_0x20db31[_0x508c60(0xb2)](_0x215280=>{const _0x3b5baa=_0x508c60;_0x215280[_0x3b5baa(0xd0)]-=_0x20db31[_0x3b5baa(0x145)],_0x215280[_0x3b5baa(0x153)]=_0x42726a[_0x3b5baa(0x91)],_0x215280[_0x3b5baa(0xe1)]=!0x0,_0x215280[_0x3b5baa(0x11e)]=null;}),this[_0x508c60(0x16d)](_0x20db31,!0x0),this[_0x508c60(0x9d)][_0x508c60(0x81)]=-_0x20db31[_0x508c60(0x145)]+this[_0x508c60(0x16b)],this[_0x508c60(0x114)](_0x20db31);}this[_0x508c60(0x16c)][_0x508c60(0x79)][_0x508c60(0x81)]=_0x467bdc,_0x3e6f2b=this[_0x508c60(0x175)](_0x42726a[_0x508c60(0xfa)],_0x42726a[_0x508c60(0x13c)]),await this[_0x508c60(0x13e)](_0x3e6f2b),this[_0x508c60(0x16d)](_0x3e6f2b,_0x489c31);}_0x42726a[_0x508c60(0x170)]&&(this[_0x508c60(0x90)][_0x508c60(0xc2)](_0x3e6f2b,_0x42726a[_0x508c60(0x170)]),this[_0x508c60(0x12e)]=_0x42726a[_0x508c60(0x170)]),this[_0x508c60(0x9d)][_0x508c60(0x81)]=_0x467bdc+this[_0x508c60(0x16b)],this[_0x508c60(0x114)](_0x3e6f2b),_0x4a37e4[_0x508c60(0x128)](_0x250c9f=>{const _0x23fea6=_0x508c60,_0x2bab68=this[_0x23fea6(0x17a)](_0x250c9f);return _0x2bab68&&!this[_0x23fea6(0x137)][_0x23fea6(0x14c)](_0x2bab68);})[_0x508c60(0xb2)]((_0x5c4761,_0x2aab75)=>{const _0x14528e=_0x508c60;_0x5c4761[_0x14528e(0xd0)]=this[_0x14528e(0x16c)][_0x14528e(0x81)]+_0x2aab75,this[_0x14528e(0x15d)](_0x5c4761);}),this[_0x508c60(0x173)]()?(this[_0x508c60(0x110)]=0x0,this[_0x508c60(0x152)](!0x0),await this[_0x508c60(0x158)]()):(this[_0x508c60(0x8c)]=!0x1,this[_0x508c60(0xf5)]());}[_0x26d242(0x82)](_0x176bef,_0x460d06){const _0x230c16=_0x26d242,_0x145f36=_0x460d06&&_0x460d06[_0x230c16(0xd4)];if(_0x145f36&&_0x145f36[_0x230c16(0x94)](_0x230c16(0x86)))throw _0x460d06;const _0x1f6ca5=this[_0x230c16(0xd2)][_0x230c16(0x11a)][_0x230c16(0xe3)](_0x38d046);throw this[_0x230c16(0x8c)]=!0x0,_0x1f6ca5[_0x230c16(0xdb)](),this[_0x230c16(0xd2)][_0x230c16(0x9e)](_0x230c16(0x7a)),new _0x50a0b9(_0x176bef,this[_0x230c16(0xd2)],_0x145f36?{'originalError':_0x145f36}:void 0x0);}[_0x26d242(0x15d)](_0x7aa987){const _0x2bbdff=_0x26d242;this[_0x2bbdff(0x98)][_0x2bbdff(0x14c)](_0x7aa987)||(this[_0x2bbdff(0x98)][_0x2bbdff(0xf3)](_0x7aa987),this[_0x2bbdff(0x7f)][_0x2bbdff(0xb1)](_0x7aa987),this[_0x2bbdff(0xf9)]||_0x2bbdff(0x118)==_0x7aa987[_0x2bbdff(0x80)]&&!_0x7aa987[_0x2bbdff(0x104)]||this[_0x2bbdff(0xcb)]());}[_0x26d242(0x152)](_0x41532f=!0x1){const _0x4c0742=_0x26d242;!_0x41532f&&this[_0x4c0742(0x8c)]||(this[_0x4c0742(0x8c)]=!0x0,clearTimeout(this[_0x4c0742(0x178)]),this[_0x4c0742(0x178)]=setTimeout(()=>{const _0x30abcf=_0x4c0742;this[_0x30abcf(0xc3)]()[_0x30abcf(0xa0)](_0x557bbe=>{const _0x4fab7c=_0x30abcf;_0x557bbe&&(this[_0x4fab7c(0xf5)](),this[_0x4fab7c(0x8c)]=!0x1);})[_0x30abcf(0x85)](_0x178ce5=>{const _0x447493=_0x30abcf;this[_0x447493(0xf5)](),this[_0x447493(0x8c)]=!0x1,function(_0x16f665){const _0x35c3a8=_0x447493;return _0x16f665[_0x35c3a8(0xd4)][_0x35c3a8(0x94)](_0x35c3a8(0x15b))||_0x16f665[_0x35c3a8(0xd4)][_0x35c3a8(0x94)](_0x35c3a8(0x159))||_0x16f665[_0x35c3a8(0xd4)][_0x35c3a8(0x94)](_0x35c3a8(0x13a));}(_0x178ce5)||this[_0x447493(0x82)](_0x178ce5[_0x447493(0xd4)],_0x178ce5);});},this[_0x4c0742(0x110)]));}[_0x26d242(0x158)](){return new Promise(_0x3d10d2=>{const _0x1366ca=_0xe5ab;this['on'](_0x1366ca(0xf8),()=>{_0x3d10d2();});});}async[_0x26d242(0xc3)](){const _0x4a6681=_0x26d242,_0x1ef5b9=this[_0x4a6681(0xd2)][_0x4a6681(0x11a)][_0x4a6681(0xe3)](_0x395f5d);if(this[_0x4a6681(0xf1)]()&&(_0x1ef5b9[_0x4a6681(0xfc)](),this[_0x4a6681(0x169)]=!0x1),!this[_0x4a6681(0x173)]())return!0x0;const _0xcb9492=[...this[_0x4a6681(0x7f)]];for(const _0x243732 of _0xcb9492)_0x243732[_0x4a6681(0xb8)]=this[_0x4a6681(0x16c)][_0x4a6681(0x79)][_0x4a6681(0xe9)](_0x243732);const _0x82e743=this[_0x4a6681(0x90)][_0x4a6681(0x134)](_0xcb9492),_0x2762d0=G++,_0x552d9c=this[_0x4a6681(0x93)](_0xcb9492),_0x2358ec=await this[_0x4a6681(0xa8)][_0x4a6681(0x146)](_0x552d9c,_0x552d9c[_0x4a6681(0xd0)],_0x82e743);try{return await this[_0x4a6681(0x160)](_0xcb9492,_0x2358ec,_0x2762d0);}catch(_0x487d17){return this[_0x4a6681(0x82)](_0x4a6681(0x163),_0x487d17);}}async[_0x26d242(0x160)](_0x3d61fa,_0x15c387,_0x1f8ca2){const _0xdb1fe3=_0x26d242;if(_0xdb1fe3(0xe6)in _0x15c387)throw _0x15c387[_0xdb1fe3(0xe6)];let _0x475afa=!0x1;if(_0x15c387[_0xdb1fe3(0x139)]){_0x15c387[_0xdb1fe3(0x170)]&&(this[_0xdb1fe3(0x12e)]=_0x15c387[_0xdb1fe3(0x170)]),this[_0xdb1fe3(0x7f)]=this[_0xdb1fe3(0x7f)][_0xdb1fe3(0x128)](_0x466f0f=>!_0x3d61fa[_0xdb1fe3(0x124)](_0x466f0f));for(const _0x10b93e of _0x3d61fa)_0x10b93e[_0xdb1fe3(0x153)]=_0xdb1fe3(0xfe)in _0x15c387&&_0x15c387[_0xdb1fe3(0xfe)]||void 0x0;K(_0x3d61fa,_0x15c387[_0xdb1fe3(0x81)]-_0x3d61fa[_0xdb1fe3(0x145)]),this[_0xdb1fe3(0x114)](_0x3d61fa);const _0x3fb8d5=_0x3d61fa[_0xdb1fe3(0x128)](_0x1993fb=>{const _0x1b37f9=_0xdb1fe3;if(!_0x1993fb[_0x1b37f9(0xe1)])return!0x1;const _0x4164f7=this[_0x1b37f9(0x17a)](_0x1993fb);return _0x4164f7&&!this[_0x1b37f9(0x137)][_0x1b37f9(0x14c)](_0x4164f7);});K(_0x3fb8d5,this[_0xdb1fe3(0x16c)][_0xdb1fe3(0x81)]),this[_0xdb1fe3(0x16d)](_0x3fb8d5),_0x475afa=!0x0,this[_0xdb1fe3(0x110)]=this[_0xdb1fe3(0xed)];}else{const _0x31b79d=this[_0xdb1fe3(0x175)](_0x15c387[_0xdb1fe3(0xfa)],_0x15c387[_0xdb1fe3(0x13c)])[_0xdb1fe3(0x128)](_0x1e201b=>_0x1e201b[_0xdb1fe3(0xd0)]>=this[_0xdb1fe3(0x14b)]);_0x31b79d[_0xdb1fe3(0xb2)](_0x2cfab8=>this[_0xdb1fe3(0x11d)](_0x2cfab8)),this[_0xdb1fe3(0x7f)]=this[_0xdb1fe3(0x7f)][_0xdb1fe3(0x128)](_0x35c62a=>!_0x35c62a[_0xdb1fe3(0xe1)]||!this[_0xdb1fe3(0x137)][_0xdb1fe3(0x14c)](this[_0xdb1fe3(0x17a)](_0x35c62a))),this[_0xdb1fe3(0x7f)][_0xdb1fe3(0x145)]&&K(this[_0xdb1fe3(0x7f)],this[_0xdb1fe3(0x7f)][0x0][_0xdb1fe3(0xd0)]),await this[_0xdb1fe3(0x13e)](_0x31b79d),_0x475afa=this[_0xdb1fe3(0x7c)](_0x31b79d,_0x15c387[_0xdb1fe3(0x81)],_0x15c387[_0xdb1fe3(0x170)]),this[_0xdb1fe3(0x110)]=Math[_0xdb1fe3(0x172)](this[_0xdb1fe3(0x110)]/0x2);}return _0x475afa?!this[_0xdb1fe3(0x173)]()||(this[_0xdb1fe3(0x152)](!0x0),!0x1):this[_0xdb1fe3(0x82)](_0xdb1fe3(0x88));}[_0x26d242(0x7c)](_0x8ad63b,_0x549acd,_0x44c18c){const _0x5c0ae0=_0x26d242;try{const _0x18a00d={'document':this[_0x5c0ae0(0x16c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x25459e,operationsB:_0x315929,originalOperations:_0x1a88bb}=_0x30a7c4(_0x8ad63b,this[_0x5c0ae0(0x7f)],_0x18a00d);K(_0x25459e,this[_0x5c0ae0(0x16c)][_0x5c0ae0(0x81)]),K(_0x315929,_0x549acd);for(const _0xef920e of _0x25459e){const _0x2613ba=_0x1a88bb[_0x5c0ae0(0xe3)](_0xef920e);_0xef920e[_0x5c0ae0(0x11e)]=_0x2613ba?_0x2613ba[_0x5c0ae0(0x11e)]:null;}_0x44c18c&&(this[_0x5c0ae0(0x90)][_0x5c0ae0(0xc2)](_0x8ad63b,_0x44c18c),this[_0x5c0ae0(0x12e)]=_0x44c18c),this[_0x5c0ae0(0x7f)]=[..._0x315929],this[_0x5c0ae0(0x16d)](_0x25459e),this[_0x5c0ae0(0x114)](_0x8ad63b);}catch(_0x501f0f){return console[_0x5c0ae0(0xe6)](_0x501f0f),!0x1;}return!0x0;}[_0x26d242(0x16d)](_0x1811d5,_0x57d22f=!0x1){const _0x5700ab=_0x26d242;this[_0x5700ab(0xd2)][_0x5700ab(0xcc)][_0x5700ab(0x10a)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5c888b=>{const _0x5b7030=_0x5700ab;for(const _0x2a6ad5 of _0x1811d5)this[_0x5b7030(0x98)][_0x5b7030(0xf3)](_0x2a6ad5),this[_0x5b7030(0x11d)](_0x2a6ad5),_0x5c888b[_0x5b7030(0x148)][_0x5b7030(0xd3)](_0x2a6ad5),this[_0x5b7030(0xd2)][_0x5b7030(0xcc)][_0x5b7030(0xa9)](_0x2a6ad5);});}[_0x26d242(0x11d)](_0xb7e6c9){const _0x507c07=_0x26d242,_0x7f9bba=this[_0x507c07(0x17a)](_0xb7e6c9);_0x7f9bba&&this[_0x507c07(0x137)][_0x507c07(0xf3)](_0x7f9bba);}[_0x26d242(0x17a)](_0x11c7cf){const _0x1509d0=_0x26d242;let _0x6813e5,_0xeff81;switch(_0x11c7cf[_0x1509d0(0x80)]){case _0x1509d0(0x176):_0x6813e5=_0x11c7cf[_0x1509d0(0x15f)][_0x1509d0(0x133)];break;case _0x1509d0(0x118):if(_0xeff81=_0x11c7cf[_0x1509d0(0x11b)],!_0xeff81)return null;_0x6813e5=_0xeff81[_0x1509d0(0x133)];break;case _0x1509d0(0x177):_0x6813e5=_0x11c7cf[_0x1509d0(0x133)];break;case _0x1509d0(0x8e):_0x6813e5=_0x11c7cf[_0x1509d0(0x129)];break;case _0x1509d0(0x125):_0x6813e5=_0x11c7cf[_0x1509d0(0x164)][_0x1509d0(0x133)];break;default:return null;}return _0x6813e5[_0x1509d0(0x10c)];}[_0x26d242(0x114)](_0x5186f9){const _0x48430a=_0x26d242;_0x5186f9[_0x48430a(0xb2)](_0x14c015=>{const _0x5a5917=_0x48430a,_0x516cda=_0x14c015[_0x5a5917(0xb7)]();_0x516cda[_0x5a5917(0x11e)]=_0x14c015[_0x5a5917(0x11e)],_0x516cda[_0x5a5917(0xe1)]=!!_0x14c015[_0x5a5917(0xe1)],_0x516cda[_0x5a5917(0x153)]=_0x14c015[_0x5a5917(0x153)],_0x516cda[_0x5a5917(0xd0)]+=this[_0x5a5917(0x16b)],_0x14c015[_0x5a5917(0x149)]&&this[_0x5a5917(0xf0)][_0x5a5917(0xf3)](_0x516cda),this[_0x5a5917(0x9d)][_0x5a5917(0xd3)](_0x516cda);});}[_0x26d242(0x102)](_0x7c2c95){const _0x3cdd4d=_0x26d242,_0x5478b9=this[_0x3cdd4d(0xd2)][_0x3cdd4d(0x11a)][_0x3cdd4d(0xe3)](_0x3cdd4d(0xdd)),_0x487ee8=this[_0x3cdd4d(0xd2)][_0x3cdd4d(0xc9)];_0x7c2c95||(_0x7c2c95=_0x3e8d08(_0x487ee8,_0x3cdd4d(0x12b))),_0x5478b9[_0x3cdd4d(0x108)](_0x7c2c95,{'title':_0x3e8d08(_0x487ee8,_0x3cdd4d(0xaf)),'namespace':_0x3cdd4d(0xbe)}),this[_0x3cdd4d(0xbd)]=!0x0,clearTimeout(this[_0x3cdd4d(0x178)]),this[_0x3cdd4d(0x7f)]=[],this[_0x3cdd4d(0xd2)][_0x3cdd4d(0x11a)][_0x3cdd4d(0xe3)](_0x38d046)[_0x3cdd4d(0xdb)]();}[_0x26d242(0xcb)](){const _0x311a60=_0x26d242;this[_0x311a60(0xf9)]||(this[_0x311a60(0xf9)]=this[_0x311a60(0xd2)][_0x311a60(0x11a)][_0x311a60(0xe3)](_0x5c3be5)[_0x311a60(0xf3)](_0x3e8d08(this[_0x311a60(0xd2)][_0x311a60(0xc9)],_0x311a60(0xcd))));}[_0x26d242(0xf5)](){const _0x569d0b=_0x26d242;this[_0x569d0b(0xf9)]&&(this[_0x569d0b(0xd2)][_0x569d0b(0x11a)][_0x569d0b(0xe3)](_0x5c3be5)[_0x569d0b(0xf6)](this[_0x569d0b(0xf9)]),this[_0x569d0b(0xf9)]=null);}[_0x26d242(0x93)](_0x2ea370){const _0x209fa1=_0x26d242,_0x413e4b=_0x2ea370[_0x209fa1(0x12f)](_0x13e688=>_0x13e688[_0x209fa1(0xc1)]());return this[_0x209fa1(0x130)][_0x209fa1(0x14e)](_0x413e4b);}[_0x26d242(0x175)](_0x28c597,_0x4e6883){const _0x1a5250=_0x26d242;return this[_0x1a5250(0x130)][_0x1a5250(0xac)](_0x28c597)[_0x1a5250(0x12f)]((_0x21f3e2,_0x21e01b)=>{const _0x4f0dea=_0x1a5250,_0x41fcd1=_0x4f0dea(0x10f)==_0x4e6883[_0x21e01b][_0x4f0dea(0x80)];if(_0x4f0dea(0x99)==_0x21f3e2[_0x4f0dea(0xa7)]){const _0x384839=_0x21f3e2[_0x4f0dea(0x15f)][_0x4f0dea(0x133)];!this[_0x4f0dea(0x16c)][_0x4f0dea(0xd5)](_0x384839)&&(this[_0x4f0dea(0x16c)][_0x4f0dea(0x95)](_0x4f0dea(0x140),_0x384839)[_0x4f0dea(0xdf)]=!0x1);}const _0x50e9f1=_0x2a60df[_0x4f0dea(0x115)](_0x21f3e2,this[_0x4f0dea(0x16c)]);return _0x50e9f1[_0x4f0dea(0xb8)]=_0x21f3e2[_0x4f0dea(0xb8)],_0x50e9f1[_0x4f0dea(0xe1)]=_0x41fcd1,_0x50e9f1[_0x4f0dea(0x11e)]=_0x41fcd1?null:_0x4e6883[_0x21e01b][_0x4f0dea(0x14d)],_0x50e9f1[_0x4f0dea(0x149)]=_0x4f0dea(0x100)===_0x4e6883[_0x21e01b][_0x4f0dea(0x80)],_0x50e9f1[_0x4f0dea(0x153)]=_0x4e6883[_0x21e01b][_0x4f0dea(0x153)],_0x50e9f1;});}[_0x26d242(0x121)](){const _0x2cc285=_0x26d242;this[_0x2cc285(0x169)]=!0x0,this[_0x2cc285(0xf1)]()?this[_0x2cc285(0x152)]():this[_0x2cc285(0x169)]=!0x1;}[_0x26d242(0xf1)](){const _0x6b4f3c=_0x26d242,_0x4714dd=this[_0x6b4f3c(0xd2)][_0x6b4f3c(0x11a)][_0x6b4f3c(0xe3)](_0x1adf10)[_0x6b4f3c(0x141)][_0x6b4f3c(0xe3)](this[_0x6b4f3c(0x105)]);return!this[_0x6b4f3c(0xd2)][_0x6b4f3c(0x131)]&&!!_0x4714dd&&_0x4714dd[_0x6b4f3c(0x145)]>0x1&&this[_0x6b4f3c(0x169)];}[_0x26d242(0x173)](){const _0x5f4277=_0x26d242;return this[_0x5f4277(0x7f)][_0x5f4277(0x145)]>0x0||this[_0x5f4277(0xf1)]();}}class $ extends Error{}function _0x1412(){const _0x483313=['1342164LoPOuu','then','realtimecollaborationclient-init-service-internal-error','_loadRoot','realtimecollaborationclient-init-document-already-initialized','removeFromReconnectionStack','realtimecollaborationclient-init-non-existent-root','CollaborativeEditingService','__className','_service','applyOperation','path','define','decompress','high','operationsReceived','Synchronization\x20issue','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','push','forEach','directChange','rtc-destroyed','permissions','document','clone','wasUndone','stopListening','document:write','connection','markers','_hasSynchronizationProblem','real-time-collaboration','409','slice','toJSON','setIdForTheLastOperation','_sendBufferedOperations','state','attributes','createPositionAt','rootsAttributes','_isConnected','locale','multi-root-editor-root-attributes-no-root','_setPendingAction','model','PENDING_ACTION_SENDING_DATA','_initSessionsHandling','apply','baseVersion','string','editor','addOperation','message','getRoot','change:hasDomSelection','bind','editing','destroy','_handleReceivedOperations','disconnect','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.','Notification','2752254QzlNAY','_isAttached','_ignoredOperations','_isInit','connect','get','offset','keys','error','isEnabled','createRange','isUndoneOperation','pluginName','sessionAdd:','off','_baseBufferDelay','_bufferRootLoad','roots','_disconnectionOperations','_shouldSendSelectionUpdate','register','add','requires','_clearPendingAction','remove','disconnected','change:_isPendingUpdate','_pendingAction','data','return','createUserMarkerOperations','cloudDocumentVersion','lastOperationAcceptedAt','end','cs:removeUser','17333770WGOZam','_handleReconnectionError','reset','affectsData','_channelId','createPositionFromPath','addToReconnectionStack','showWarning','_connectAfterSessionHasBeenFlushed','enqueueChange','mySessionId','rootName','lastDocumentSession','collaboration-missing-channelid','init','_currentBufferDelay','452415HzyVlL','CommentsOnly','change:range','_updateServerHistory','fromJSON','differ','initData','marker','_isEditingAllowed','plugins','newRange','sessionId','_addKnownRoot','_authorId','suppressErrorInCollaboration','loadRoot','_refreshUserSelectionMarkers','lastSyncVersion','finally','includes','move','config','12VeTEeY','filter','affectedSelectable','Permissions','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.','addUser','_operationToId','_lastSyncedOperationId','map','_compressor','isReadOnly','getOperationAuthor','root','getIdOfTheLastOperation','code','parse','_knownRootNames','404','wereChangesApplied','cloud-services-internal-error:\x20Request\x20timeout.','change:_isEditingAllowed','metadata','getConnectedSessions','_fetchMissingUsers','getUser','$root','channelSessions','unregister','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','view','length','sendOperations','listenTo','batch','_isDisconnection','_connectService','_lastServerVersion','has','userId','compress','_setUpDataInit','collaboration','_isLoaded','_sendBufferedOperationsDelayed','createdAt','rtc-offline','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','RealTimeCollaborationClient','183UfCWId','_waitUntilSynced','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','from','cloud-services-internal-error:\x20Not\x20connected.','_disconnectService','_saveOperationInBuffer','entries','position','_handleServerResponse','isDocumentOperation','_initThrowingOnDataSet','realtimecollaborationclient-sendbufferedoperations','targetPosition','29533fcmThg','getOperations','reconnection:\x20flushed\x20session','ready','_hasSelectionChanged','realtimecollaborationclient-init-session-connection-error','_offset','_document','_applyOperationsSet','1485567tdVRED','realtimecollaborationclient-init-service-incorrect-server-operation','lastOperationId','getMany','round','_shouldSendUpdate','_handleInitialConnectionData','_decompressOperations','insert','addRootAttribute','_sendBufferedOperationsDelayId','cloudServices.bundleVersion','_getAffectedRoot','currentDocumentSession','_getOperationsFromInitData','72AyokKU','start','history','realtimecollaborationclient-error','7024poxrBV','_handleExternalOperations','collaboration.channelId','size','_bufferedOperations','type','version','_crash','disableReadOnlyMode','reconnect','catch','realtimecollaborationclient','isOfficialPlugin','realtimecollaborationclient-handleserverresponse','getDocumentDetails','setPermissions','selection','_isPendingUpdate','fire','addRoot','connected','_operationIdentifier','sessionCreatedAt','set','_compressOperations','startsWith','createRoot','stop','isPremiumPlugin','_knownOperations','InsertOperation','_handleReconnectionResponse','realtimecollaborationclient-init-connection-failed','_handleSendingSelectionMarkers','serverHistory','enableReadOnlyMode'];_0x1412=function(){return _0x483313;};return _0x1412();}function K(_0x39e77a,_0x3a2fce){const _0x39fe3e=_0x26d242;for(const _0x462ef4 of _0x39e77a)_0x462ef4[_0x39fe3e(0xd0)]=_0x3a2fce++;}class J{[_0x26d242(0xe0)];[_0x26d242(0x12d)];constructor(_0x3eeecb){const _0x59b898=_0x26d242;this[_0x59b898(0xe0)]=_0x3eeecb,this[_0x59b898(0x12d)]=new WeakMap();}[_0x26d242(0x134)](_0x476851){const _0x16691b=_0x26d242;let _0x23aaae=_0x476851[_0x16691b(0x145)];for(;_0x23aaae--;){const _0x3459c5=_0x476851[_0x23aaae];if(!this[_0x16691b(0xe0)][_0x16691b(0x14c)](_0x3459c5)){if(!this[_0x16691b(0x12d)][_0x16691b(0x14c)](_0x3459c5)){const _0x252263=_0x4a8868()[_0x16691b(0xc0)](0x1,0x12);this[_0x16691b(0x12d)][_0x16691b(0x92)](_0x3459c5,_0x252263);}return this[_0x16691b(0x12d)][_0x16691b(0xe3)](_0x3459c5);}}}[_0x26d242(0xc2)](_0x4b0135,_0x54cec9){const _0x4ebb3f=_0x26d242;if(!_0x54cec9)return;let _0x383ca5=_0x4b0135[_0x4ebb3f(0x145)];for(;_0x383ca5--;){const _0xaaff7a=_0x4b0135[_0x383ca5];this[_0x4ebb3f(0xe0)][_0x4ebb3f(0x14c)](_0xaaff7a)||this[_0x4ebb3f(0x12d)][_0x4ebb3f(0x92)](_0xaaff7a,_0x54cec9);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d3ae3=_0x4dc5;function _0x4dc5(_0xb53bd4,_0x13414f){const _0x57e128=_0x57e1();return _0x4dc5=function(_0x4dc578,_0x2232cc){_0x4dc578=_0x4dc578-0xa2;let _0x42391a=_0x57e128[_0x4dc578];return _0x42391a;},_0x4dc5(_0xb53bd4,_0x13414f);}(function(_0x2aa290,_0xbbedfd){const _0x1aaf97=_0x4dc5,_0x145cf1=_0x2aa290();while(!![]){try{const _0x39cf4a=-parseInt(_0x1aaf97(0xc3))/0x1+parseInt(_0x1aaf97(0xa5))/0x2*(parseInt(_0x1aaf97(0xaf))/0x3)+parseInt(_0x1aaf97(0xbb))/0x4*(-parseInt(_0x1aaf97(0xbd))/0x5)+parseInt(_0x1aaf97(0xc9))/0x6+parseInt(_0x1aaf97(0xba))/0x7+-parseInt(_0x1aaf97(0xdb))/0x8*(parseInt(_0x1aaf97(0xa9))/0x9)+parseInt(_0x1aaf97(0xd3))/0xa*(-parseInt(_0x1aaf97(0xc4))/0xb);if(_0x39cf4a===_0xbbedfd)break;else _0x145cf1['push'](_0x145cf1['shift']());}catch(_0x307e69){_0x145cf1['push'](_0x145cf1['shift']());}}}(_0x57e1,0x42378));import{ContextPlugin as _0xf7069b}from'ckeditor5/src/core.js';import{Collection as _0x1f36b8,CKEditorError as _0x54baf4}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x5c214e}from'./websocketgateway.js';function _0x57e1(){const _0xfb65ef=['init','assign','register','getUserSessions','2mvikMB','isPremiumPlugin','clear','state','98451wCPpKJ','defineMe','sessions-register-already-registered','change:state','unregister','listenTo','1032558zSRAte','forEach','isMe','_handleSessionRemove','Sessions','requires','allConnectedUsers','size','hiddenInPresenceList','_createUser','sessions-unregister-not-exist','1667666vGBvlA','397780VbgkIe','values','15wFwCNK','remove','mySessionId','get','has','sessionId','76811uheTyW','48059xDyozw','connection','channelSessions','_handleSessionAdd','context','2312286cvKYDm','connected','plugins','role','_users','getUser','addUser','orderNumber','channelConnectedUsers','fire','260KXARss','getUserBySessionId','stopListening','user','_registeredSessions','add','getUserRole','delete','152oXlOxX','sessionAdd:','_uniqueUsersCount','set','pluginName','isOfficialPlugin'];_0x57e1=function(){return _0xfb65ef;};return _0x57e1();}import{Users as _0x42ea47}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0xf7069b{[_0x1d3ae3(0xc6)];[_0x1d3ae3(0xd1)];[_0x1d3ae3(0xb5)];[_0x1d3ae3(0xd7)];[_0x1d3ae3(0xdd)];[_0x1d3ae3(0xcd)];static get[_0x1d3ae3(0xdf)](){const _0xf694f3=_0x1d3ae3;return _0xf694f3(0xb3);}static get[_0x1d3ae3(0xe0)](){return!0x0;}static get[_0x1d3ae3(0xa6)](){return!0x0;}static get[_0x1d3ae3(0xb4)](){return[_0x5c214e,_0x42ea47];}constructor(_0x507fb7){const _0x2a811a=_0x1d3ae3;super(_0x507fb7),this[_0x2a811a(0xc6)]=new Map(),this[_0x2a811a(0xd1)]=new Map(),this[_0x2a811a(0xb5)]=new _0x1f36b8(),this[_0x2a811a(0xd7)]=new Map(),this[_0x2a811a(0xdd)]=0x0,this[_0x2a811a(0xcd)]=this[_0x2a811a(0xc8)][_0x2a811a(0xcb)][_0x2a811a(0xc0)](_0x42ea47);}[_0x1d3ae3(0xe1)](){const _0x1b0a5b=_0x1d3ae3,_0x4f9ffd=this[_0x1b0a5b(0xc8)][_0x1b0a5b(0xcb)][_0x1b0a5b(0xc0)](_0x5c214e);this[_0x1b0a5b(0xae)](_0x4f9ffd,_0x1b0a5b(0xac),(_0x29275d,_0x1ae6bd,_0x3a0523)=>{const _0x4933ba=_0x1b0a5b;if(_0x4933ba(0xca)!==_0x3a0523)this[_0x4933ba(0xc6)][_0x4933ba(0xb0)](_0x1260e1=>_0x1260e1[_0x4933ba(0xa7)]()),this[_0x4933ba(0xd1)][_0x4933ba(0xb0)](_0x42d440=>_0x42d440[_0x4933ba(0xa7)]()),this[_0x4933ba(0xb5)][_0x4933ba(0xa7)]();else{for(const [_0x198197,_0x433a32]of this[_0x4933ba(0xd7)])for(const _0x457978 of _0x433a32)this[_0x4933ba(0xc7)](_0x198197,_0x457978);}}),this[_0x1b0a5b(0xb8)](_0x4f9ffd[_0x1b0a5b(0xc5)]['me'],!0x0);}[_0x1d3ae3(0xa3)](_0x556970,_0x4d2e8b){const _0x35ed72=_0x1d3ae3;if(this[_0x35ed72(0xd7)][_0x35ed72(0xc1)](_0x556970))throw new _0x54baf4(_0x35ed72(0xab),null,{'channelId':_0x556970});this[_0x35ed72(0xd7)][_0x35ed72(0xde)](_0x556970,_0x4d2e8b),this[_0x35ed72(0xc6)][_0x35ed72(0xde)](_0x556970,new _0x1f36b8()),this[_0x35ed72(0xd1)][_0x35ed72(0xde)](_0x556970,new _0x1f36b8()),this[_0x35ed72(0xae)](_0x4d2e8b,_0x35ed72(0xd8),(_0x22e189,_0x4425e0)=>this[_0x35ed72(0xc7)](_0x556970,_0x4425e0)),this[_0x35ed72(0xae)](_0x4d2e8b,_0x35ed72(0xbe),(_0x3fddaa,_0x454e46)=>this[_0x35ed72(0xb2)](_0x556970,_0x454e46));for(const _0xb46a99 of _0x4d2e8b)this[_0x35ed72(0xc7)](_0x556970,_0xb46a99);}[_0x1d3ae3(0xad)](_0x59dd58){const _0x310957=_0x1d3ae3;if(!this[_0x310957(0xd7)][_0x310957(0xc1)](_0x59dd58))throw new _0x54baf4(_0x310957(0xb9),null,{'channelId':_0x59dd58});const _0x24f45d=this[_0x310957(0xd7)][_0x310957(0xc0)](_0x59dd58);this[_0x310957(0xd5)](_0x24f45d);for(const _0x524b64 of _0x24f45d)_0x310957(0xca)===this[_0x310957(0xc8)][_0x310957(0xcb)][_0x310957(0xc0)](_0x5c214e)[_0x310957(0xa8)]&&this[_0x310957(0xb2)](_0x59dd58,_0x524b64);this[_0x310957(0xd7)][_0x310957(0xda)](_0x59dd58),this[_0x310957(0xc6)][_0x310957(0xda)](_0x59dd58),this[_0x310957(0xd1)][_0x310957(0xda)](_0x59dd58);}get[_0x1d3ae3(0xbf)](){const _0x28165c=_0x1d3ae3;return this[_0x28165c(0xc8)][_0x28165c(0xcb)][_0x28165c(0xc0)](_0x5c214e)[_0x28165c(0xc5)][_0x28165c(0xc2)];}[_0x1d3ae3(0xd4)](_0x82b01e){const _0x120d59=_0x1d3ae3;for(const _0x2a0606 of this[_0x120d59(0xc6)][_0x120d59(0xbc)]())for(const _0x2b2cf9 of _0x2a0606)if(_0x2b2cf9['id']===_0x82b01e)return _0x2b2cf9[_0x120d59(0xd6)];}[_0x1d3ae3(0xa4)](_0x3569c8,_0x183811){const _0x499d38=_0x1d3ae3,_0x45e447=_0x183811?[this[_0x499d38(0xc6)][_0x499d38(0xc0)](_0x183811)]:this[_0x499d38(0xc6)][_0x499d38(0xbc)](),_0x58bc38=new Set();for(const _0x352017 of _0x45e447)for(const _0x3b05ec of _0x352017)_0x3b05ec[_0x499d38(0xd6)]['id']===_0x3569c8['id']&&_0x58bc38[_0x499d38(0xd8)](_0x3b05ec['id']);return _0x58bc38;}[_0x1d3ae3(0xd9)](_0x1d4554){const _0x46a2b7=_0x1d3ae3;for(const _0x597249 of this[_0x46a2b7(0xc6)][_0x46a2b7(0xbc)]())for(const _0x2a081e of _0x597249)if(_0x2a081e[_0x46a2b7(0xd6)]===_0x1d4554)return _0x2a081e[_0x46a2b7(0xcc)];}[_0x1d3ae3(0xc7)](_0x274338,_0xaebb43){const _0x461d4e=_0x1d3ae3;if(_0x461d4e(0xca)!==this[_0x461d4e(0xc8)][_0x461d4e(0xcb)][_0x461d4e(0xc0)](_0x5c214e)[_0x461d4e(0xa8)])return;const _0x540685=_0xaebb43[_0x461d4e(0xd6)],_0x1ca01c=this[_0x461d4e(0xcd)][_0x461d4e(0xce)](_0x540685['id'])||this[_0x461d4e(0xb8)](_0x540685),_0x4b1f47=Object[_0x461d4e(0xa2)]({},_0xaebb43,{'user':_0x1ca01c});if(this[_0x461d4e(0xc6)][_0x461d4e(0xc0)](_0x274338)[_0x461d4e(0xd8)](_0x4b1f47),!_0x540685[_0x461d4e(0xb7)]){const _0xc86f4b=this[_0x461d4e(0xd1)][_0x461d4e(0xc0)](_0x274338);_0xc86f4b[_0x461d4e(0xc1)](_0x1ca01c['id'])||_0xc86f4b[_0x461d4e(0xd8)](_0x1ca01c),this[_0x461d4e(0xb5)][_0x461d4e(0xc1)](_0x1ca01c['id'])||_0x540685[_0x461d4e(0xb7)]||this[_0x461d4e(0xb5)][_0x461d4e(0xd8)](_0x1ca01c,_0x1ca01c[_0x461d4e(0xb1)]?0x0:void 0x0);}this[_0x461d4e(0xd2)](_0x461d4e(0xdc)+_0x274338,{'channelId':_0x274338,'session':_0x4b1f47});}[_0x1d3ae3(0xb2)](_0x53e18e,_0x5d8643){const _0x5701b6=_0x1d3ae3;if(_0x5701b6(0xca)!==this[_0x5701b6(0xc8)][_0x5701b6(0xcb)][_0x5701b6(0xc0)](_0x5c214e)[_0x5701b6(0xa8)])return;const _0x50b1b7=this[_0x5701b6(0xd1)][_0x5701b6(0xc0)](_0x53e18e),_0x3642be=_0x5d8643[_0x5701b6(0xd6)];_0x3642be['id']&&(this[_0x5701b6(0xc6)][_0x5701b6(0xc0)](_0x53e18e)[_0x5701b6(0xbe)](_0x5d8643['id']),_0x50b1b7[_0x5701b6(0xc1)](_0x3642be['id'])&&!this[_0x5701b6(0xa4)](_0x3642be,_0x53e18e)[_0x5701b6(0xb6)]&&_0x50b1b7[_0x5701b6(0xbe)](_0x3642be['id']),this[_0x5701b6(0xb5)][_0x5701b6(0xc0)](_0x3642be['id'])&&!this[_0x5701b6(0xa4)](_0x3642be)[_0x5701b6(0xb6)]&&this[_0x5701b6(0xb5)][_0x5701b6(0xbe)](_0x3642be['id']));}[_0x1d3ae3(0xb8)](_0x2c2d94,_0x28ed40){const _0xf7a836=_0x1d3ae3,_0x2cf1f9=this[_0xf7a836(0xcd)][_0xf7a836(0xcf)](_0x2c2d94);return _0x28ed40&&this[_0xf7a836(0xcd)][_0xf7a836(0xaa)](_0x2c2d94['id']),_0x2cf1f9[_0xf7a836(0xd0)]=this[_0xf7a836(0xdd)]++,_0x2cf1f9;}}
23
+ const _0x10c694=_0x6342;(function(_0x2a8c15,_0x9ee7fb){const _0x282fd4=_0x6342,_0x70c4b8=_0x2a8c15();while(!![]){try{const _0x1b39bc=-parseInt(_0x282fd4(0x1f9))/0x1*(parseInt(_0x282fd4(0x1d7))/0x2)+-parseInt(_0x282fd4(0x1ee))/0x3*(-parseInt(_0x282fd4(0x1e9))/0x4)+parseInt(_0x282fd4(0x1f7))/0x5+parseInt(_0x282fd4(0x1fe))/0x6+parseInt(_0x282fd4(0x1e4))/0x7+parseInt(_0x282fd4(0x1ec))/0x8*(parseInt(_0x282fd4(0x1f1))/0x9)+parseInt(_0x282fd4(0x1ff))/0xa*(-parseInt(_0x282fd4(0x1e0))/0xb);if(_0x1b39bc===_0x9ee7fb)break;else _0x70c4b8['push'](_0x70c4b8['shift']());}catch(_0x3550ca){_0x70c4b8['push'](_0x70c4b8['shift']());}}}(_0x5efe,0x18bd8));import{ContextPlugin as _0x4b2d74}from'ckeditor5/src/core.js';import{Collection as _0x44db04,CKEditorError as _0x1bf6f8}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3cf548}from'./websocketgateway.js';function _0x6342(_0x3ffab2,_0x5b72fc){const _0x5efe10=_0x5efe();return _0x6342=function(_0x634273,_0x202763){_0x634273=_0x634273-0x1c1;let _0x374f13=_0x5efe10[_0x634273];return _0x374f13;},_0x6342(_0x3ffab2,_0x5b72fc);}import{Users as _0x85de98}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x4b2d74{[_0x10c694(0x1e5)];[_0x10c694(0x1cd)];[_0x10c694(0x1e3)];[_0x10c694(0x1fb)];[_0x10c694(0x1df)];[_0x10c694(0x1c8)];static get[_0x10c694(0x1dd)](){const _0x8ebfd9=_0x10c694;return _0x8ebfd9(0x1fa);}static get[_0x10c694(0x1eb)](){return!0x0;}static get[_0x10c694(0x1f5)](){return!0x0;}static get[_0x10c694(0x1c4)](){return[_0x3cf548,_0x85de98];}constructor(_0x54b884){const _0x5e8d2e=_0x10c694;super(_0x54b884),this[_0x5e8d2e(0x1e5)]=new Map(),this[_0x5e8d2e(0x1cd)]=new Map(),this[_0x5e8d2e(0x1e3)]=new _0x44db04(),this[_0x5e8d2e(0x1fb)]=new Map(),this[_0x5e8d2e(0x1df)]=0x0,this[_0x5e8d2e(0x1c8)]=this[_0x5e8d2e(0x1fd)][_0x5e8d2e(0x1c3)][_0x5e8d2e(0x1e1)](_0x85de98);}[_0x10c694(0x1f2)](){const _0x57e202=_0x10c694,_0x40cbf7=this[_0x57e202(0x1fd)][_0x57e202(0x1c3)][_0x57e202(0x1e1)](_0x3cf548);this[_0x57e202(0x1cf)](_0x40cbf7,_0x57e202(0x1e8),(_0x3a646a,_0x5e63e6,_0x48f832)=>{const _0x110bac=_0x57e202;if(_0x110bac(0x1f6)!==_0x48f832)this[_0x110bac(0x1e5)][_0x110bac(0x1d8)](_0x1e10e4=>_0x1e10e4[_0x110bac(0x1cb)]()),this[_0x110bac(0x1cd)][_0x110bac(0x1d8)](_0x4086d9=>_0x4086d9[_0x110bac(0x1cb)]()),this[_0x110bac(0x1e3)][_0x110bac(0x1cb)]();else{for(const [_0x272590,_0x1e13b3]of this[_0x110bac(0x1fb)])for(const _0x44d237 of _0x1e13b3)this[_0x110bac(0x1c1)](_0x272590,_0x44d237);}}),this[_0x57e202(0x1c5)](_0x40cbf7[_0x57e202(0x1da)]['me'],!0x0);}[_0x10c694(0x1ce)](_0xb996ce,_0x44e8bd){const _0x437f4a=_0x10c694;if(this[_0x437f4a(0x1fb)][_0x437f4a(0x1c9)](_0xb996ce))throw new _0x1bf6f8(_0x437f4a(0x1dc),null,{'channelId':_0xb996ce});this[_0x437f4a(0x1fb)][_0x437f4a(0x1d6)](_0xb996ce,_0x44e8bd),this[_0x437f4a(0x1e5)][_0x437f4a(0x1d6)](_0xb996ce,new _0x44db04()),this[_0x437f4a(0x1cd)][_0x437f4a(0x1d6)](_0xb996ce,new _0x44db04()),this[_0x437f4a(0x1cf)](_0x44e8bd,_0x437f4a(0x1f8),(_0x557e21,_0x549505)=>this[_0x437f4a(0x1c1)](_0xb996ce,_0x549505)),this[_0x437f4a(0x1cf)](_0x44e8bd,_0x437f4a(0x1f3),(_0x56294b,_0x157ba6)=>this[_0x437f4a(0x1d5)](_0xb996ce,_0x157ba6));for(const _0x7ff3a0 of _0x44e8bd)this[_0x437f4a(0x1c1)](_0xb996ce,_0x7ff3a0);}[_0x10c694(0x1cc)](_0x508945){const _0x2474e5=_0x10c694;if(!this[_0x2474e5(0x1fb)][_0x2474e5(0x1c9)](_0x508945))throw new _0x1bf6f8(_0x2474e5(0x1d0),null,{'channelId':_0x508945});const _0x1223ff=this[_0x2474e5(0x1fb)][_0x2474e5(0x1e1)](_0x508945);this[_0x2474e5(0x1d2)](_0x1223ff);for(const _0x3829dd of _0x1223ff)_0x2474e5(0x1f6)===this[_0x2474e5(0x1fd)][_0x2474e5(0x1c3)][_0x2474e5(0x1e1)](_0x3cf548)[_0x2474e5(0x1d9)]&&this[_0x2474e5(0x1d5)](_0x508945,_0x3829dd);this[_0x2474e5(0x1fb)][_0x2474e5(0x1d1)](_0x508945),this[_0x2474e5(0x1e5)][_0x2474e5(0x1d1)](_0x508945),this[_0x2474e5(0x1cd)][_0x2474e5(0x1d1)](_0x508945);}get[_0x10c694(0x1de)](){const _0x4b46e6=_0x10c694;return this[_0x4b46e6(0x1fd)][_0x4b46e6(0x1c3)][_0x4b46e6(0x1e1)](_0x3cf548)[_0x4b46e6(0x1da)][_0x4b46e6(0x1c2)];}[_0x10c694(0x1fc)](_0x5cf68a){const _0x34c8f4=_0x10c694;for(const _0x4f6519 of this[_0x34c8f4(0x1e5)][_0x34c8f4(0x1c7)]())for(const _0x1e3dfb of _0x4f6519)if(_0x1e3dfb['id']===_0x5cf68a)return _0x1e3dfb[_0x34c8f4(0x1d4)];}[_0x10c694(0x1db)](_0x3d19ae,_0x4c40c0){const _0x34f781=_0x10c694,_0x4453c6=_0x4c40c0?[this[_0x34f781(0x1e5)][_0x34f781(0x1e1)](_0x4c40c0)]:this[_0x34f781(0x1e5)][_0x34f781(0x1c7)](),_0x3a53ab=new Set();for(const _0x517d21 of _0x4453c6)for(const _0x4cc705 of _0x517d21)_0x4cc705[_0x34f781(0x1d4)]['id']===_0x3d19ae['id']&&_0x3a53ab[_0x34f781(0x1f8)](_0x4cc705['id']);return _0x3a53ab;}[_0x10c694(0x1ed)](_0x24a2e0){const _0xa71353=_0x10c694;for(const _0x46d2bc of this[_0xa71353(0x1e5)][_0xa71353(0x1c7)]())for(const _0x20918b of _0x46d2bc)if(_0x20918b[_0xa71353(0x1d4)]===_0x24a2e0)return _0x20918b[_0xa71353(0x1f4)];}[_0x10c694(0x1c1)](_0x349581,_0x50d8af){const _0xf7d563=_0x10c694;if(_0xf7d563(0x1f6)!==this[_0xf7d563(0x1fd)][_0xf7d563(0x1c3)][_0xf7d563(0x1e1)](_0x3cf548)[_0xf7d563(0x1d9)])return;const _0x6af260=_0x50d8af[_0xf7d563(0x1d4)],_0x3d661b=this[_0xf7d563(0x1c8)][_0xf7d563(0x1ea)](_0x6af260['id'])||this[_0xf7d563(0x1c5)](_0x6af260),_0x471224=Object[_0xf7d563(0x1c6)]({},_0x50d8af,{'user':_0x3d661b});if(this[_0xf7d563(0x1e5)][_0xf7d563(0x1e1)](_0x349581)[_0xf7d563(0x1f8)](_0x471224),!_0x6af260[_0xf7d563(0x1ca)]){const _0x27fecf=this[_0xf7d563(0x1cd)][_0xf7d563(0x1e1)](_0x349581);_0x27fecf[_0xf7d563(0x1c9)](_0x3d661b['id'])||_0x27fecf[_0xf7d563(0x1f8)](_0x3d661b),this[_0xf7d563(0x1e3)][_0xf7d563(0x1c9)](_0x3d661b['id'])||_0x6af260[_0xf7d563(0x1ca)]||this[_0xf7d563(0x1e3)][_0xf7d563(0x1f8)](_0x3d661b,_0x3d661b[_0xf7d563(0x1d3)]?0x0:void 0x0);}this[_0xf7d563(0x1ef)](_0xf7d563(0x1e6)+_0x349581,{'channelId':_0x349581,'session':_0x471224});}[_0x10c694(0x1d5)](_0x597199,_0xeef927){const _0x2ab852=_0x10c694;if(_0x2ab852(0x1f6)!==this[_0x2ab852(0x1fd)][_0x2ab852(0x1c3)][_0x2ab852(0x1e1)](_0x3cf548)[_0x2ab852(0x1d9)])return;const _0x4edccb=this[_0x2ab852(0x1cd)][_0x2ab852(0x1e1)](_0x597199),_0x11b863=_0xeef927[_0x2ab852(0x1d4)];_0x11b863['id']&&(this[_0x2ab852(0x1e5)][_0x2ab852(0x1e1)](_0x597199)[_0x2ab852(0x1f3)](_0xeef927['id']),_0x4edccb[_0x2ab852(0x1c9)](_0x11b863['id'])&&!this[_0x2ab852(0x1db)](_0x11b863,_0x597199)[_0x2ab852(0x200)]&&_0x4edccb[_0x2ab852(0x1f3)](_0x11b863['id']),this[_0x2ab852(0x1e3)][_0x2ab852(0x1e1)](_0x11b863['id'])&&!this[_0x2ab852(0x1db)](_0x11b863)[_0x2ab852(0x200)]&&this[_0x2ab852(0x1e3)][_0x2ab852(0x1f3)](_0x11b863['id']));}[_0x10c694(0x1c5)](_0x2bb9b5,_0x32079c){const _0x4b501b=_0x10c694,_0x4c3f69=this[_0x4b501b(0x1c8)][_0x4b501b(0x1e2)](_0x2bb9b5);return _0x32079c&&this[_0x4b501b(0x1c8)][_0x4b501b(0x1e7)](_0x2bb9b5['id']),_0x4c3f69[_0x4b501b(0x1f0)]=this[_0x4b501b(0x1df)]++,_0x4c3f69;}}function _0x5efe(){const _0x51618f=['656859vqZhya','channelSessions','sessionAdd:','defineMe','change:state','224OFDSng','getUser','isOfficialPlugin','48424lgVQwG','getUserRole','10257ieyCXi','fire','orderNumber','18SxNlFC','init','remove','role','isPremiumPlugin','connected','153465HoCNHb','add','1lOpQYA','Sessions','_registeredSessions','getUserBySessionId','context','801234LOGQbu','2745590ZWvUib','size','_handleSessionAdd','sessionId','plugins','requires','_createUser','assign','values','_users','has','hiddenInPresenceList','clear','unregister','channelConnectedUsers','register','listenTo','sessions-unregister-not-exist','delete','stopListening','isMe','user','_handleSessionRemove','set','171488Qklmcz','forEach','state','connection','getUserSessions','sessions-register-already-registered','pluginName','mySessionId','_uniqueUsersCount','11lQxEiY','get','addUser','allConnectedUsers'];_0x5efe=function(){return _0x51618f;};return _0x5efe();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x544bde=_0x1322;(function(_0x25e08c,_0xe079e5){const _0x1afb88=_0x1322,_0xd73112=_0x25e08c();while(!![]){try{const _0x32fd89=-parseInt(_0x1afb88(0xcd))/0x1+-parseInt(_0x1afb88(0x86))/0x2*(parseInt(_0x1afb88(0x75))/0x3)+parseInt(_0x1afb88(0xb0))/0x4*(-parseInt(_0x1afb88(0xab))/0x5)+parseInt(_0x1afb88(0xfe))/0x6+parseInt(_0x1afb88(0x77))/0x7+-parseInt(_0x1afb88(0x9d))/0x8*(parseInt(_0x1afb88(0x95))/0x9)+-parseInt(_0x1afb88(0x8f))/0xa*(-parseInt(_0x1afb88(0x7b))/0xb);if(_0x32fd89===_0xe079e5)break;else _0xd73112['push'](_0xd73112['shift']());}catch(_0x21f900){_0xd73112['push'](_0xd73112['shift']());}}}(_0x6503,0xd1d4b));import{Plugin as _0x5507c7}from'ckeditor5/src/core.js';function _0x6503(){const _0x2ed67c=['getNearestSelectionRange','set','user:position:','render','add','34370530TsCjiE','batch','user:position','innerHTML','editing','start','54rRmVSh','_createdBatches','markerName','setAttribute','undo','removeMarker','name','ck-user__marker-tooltip','2167184oZrzZm','afterInit','userPositionMarker','ck-user__marker\x20','stopListening','isOfficialPlugin','getCustomProperty','false','size','user:range:','getUserBySessionId','update:user:range','mySessionId','root','430eiydhj','user:range','highest','parent','createUserMarkerOperations','22440UtMkXf','isObject','outerHTML','updateMarker','listenTo','pluginName','change','destroy','getSelectionClass','toRange','model','oldRange','document','_domEmitter','has','markers','color','get','classList','tableCell','remove','mouseenter','markerToElement','getRange','detach','UserMarkers','editor','init','change:range','713230HesSWo','mouseleave','span','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getAttribute','enqueueChange','Escape','createUIElement','plugins','element','markerToHighlight','user:','addMarker','getFirstRange','isPremiumPlugin','selection','hasDomSelection','removeClass','rootName','type','delete','hasContent','for','commands','ck-user__selection','$text','keydown','conversion','end','markerNameToElements','split','isSimilar','startsWith','data-session-id','createRange','mapper','isCollapsed','nodeAfter','reconvertMarker','newRange','marker','isDocumentOperation','contenteditable','applyOperation','addEventListener','editingDowncast','isLimit','getPositions','$graveyard','564714jEzgKk','markerRange','fromRange','103755JEQVzm','view','5887511VUnCGY','textContent','setCustomProperty','orderNumber','11offDrc','clear','getContainedElement','requires','getMarkerClass','schema','spellcheck','createElement','ck-user__marker_hovered','isInline','checkChild','40yiLjKd','deletionPosition','toDomElement','getStart'];_0x6503=function(){return _0x2ed67c;};return _0x6503();}import{global as _0x3302a4,DomEmitterMixin as _0x16e60c}from'ckeditor5/src/utils.js';import{Sessions as _0x8e81ed}from'./sessions.js';import{ModelLiveRange as _0x124263}from'ckeditor5/src/engine.js';function _0x1322(_0x1ab67d,_0x1976bd){const _0x6503bc=_0x6503();return _0x1322=function(_0x1322a1,_0x50b5ce){_0x1322a1=_0x1322a1-0x75;let _0x361502=_0x6503bc[_0x1322a1];return _0x361502;},_0x1322(_0x1ab67d,_0x1976bd);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x5507c7{[_0x544bde(0xbd)]=new(_0x16e60c())();static get[_0x544bde(0x7e)](){return[_0x8e81ed];}static get[_0x544bde(0xb5)](){const _0x12ddf6=_0x544bde;return _0x12ddf6(0xc9);}static get[_0x544bde(0xa2)](){return!0x0;}static get[_0x544bde(0xdb)](){return!0x0;}[_0x544bde(0xcb)](){const _0x1d50ee=_0x544bde,_0x335627=this[_0x1d50ee(0xca)],_0x32836c=_0x335627[_0x1d50ee(0xd5)][_0x1d50ee(0xc1)](_0x8e81ed);_0x335627[_0x1d50ee(0xe8)][_0x1d50ee(0xe3)](_0x1d50ee(0xfa))[_0x1d50ee(0xc6)]({'model':_0x1d50ee(0x91),'view':(_0x326f1d,{writer:_0x35ab38})=>function(_0x26314a,_0x540138,_0x87a669,_0x2d3a3a){const _0x2dddc3=_0x1d50ee,_0x33a6a3=_0x26314a[_0x2dddc3(0x97)][_0x2dddc3(0xeb)](':')[0x2],_0xf69fdb=_0x87a669[_0x2dddc3(0xa7)](_0x33a6a3);if(!_0xf69fdb||_0x33a6a3===_0x87a669[_0x2dddc3(0xa9)])return;if(!_0x2d3a3a[_0x2dddc3(0xba)][_0x2dddc3(0x80)][_0x2dddc3(0x85)](_0x26314a[_0x2dddc3(0xff)][_0x2dddc3(0x94)],_0x2dddc3(0xe6)))return;const _0x1646a1={'class':_0x2dddc3(0xa0)+_0xf69fdb[_0x2dddc3(0xc0)][_0x2dddc3(0x7f)](),'data-name':_0xf69fdb[_0x2dddc3(0x9b)],'data-session-id':_0x33a6a3},_0x4f15a3=_0x2d3a3a[_0x2dddc3(0xba)][_0x2dddc3(0xbf)][_0x2dddc3(0xc1)](_0x26314a[_0x2dddc3(0x97)]),_0x2a8a3f=_0x4f15a3[_0x2dddc3(0x89)](),_0x3aa902=_0x2a8a3f[_0x2dddc3(0xf2)],_0x515127=_0x2d3a3a[_0x2dddc3(0xba)][_0x2dddc3(0x80)];if(_0x3aa902&&_0x515127[_0x2dddc3(0xb1)](_0x3aa902)&&_0x515127[_0x2dddc3(0x84)](_0x3aa902)&&!_0x2d3a3a[_0x2dddc3(0xba)][_0x2dddc3(0xbf)][_0x2dddc3(0xc1)](_0x2dddc3(0xa6)+_0x33a6a3)[_0x2dddc3(0xc7)]()[_0x2dddc3(0xf1)])return;const _0x25baf2=_0x2a8a3f[_0x2dddc3(0xae)];return _0x2d3a3a[_0x2dddc3(0xba)][_0x2dddc3(0x80)][_0x2dddc3(0xfb)](_0x25baf2)&&!_0x2d3a3a[_0x2dddc3(0xba)][_0x2dddc3(0xe2)](_0x25baf2)&&(_0x1646a1[_0x2dddc3(0xf7)]=!0x1),function(_0x46f188,_0x5cc8cc,_0x3f8140){const _0x25f0cd=_0x2dddc3,_0x30e4fc=_0x46f188[_0x25f0cd(0xd4)](_0x25f0cd(0xcf),_0x5cc8cc);return _0x46f188[_0x25f0cd(0x79)](_0x25f0cd(0x9f),!0x0,_0x30e4fc),_0x30e4fc[_0x25f0cd(0x8d)]=function(_0x2ff906){const _0x514e2f=_0x25f0cd,_0x2c078d=this[_0x514e2f(0x88)](_0x2ff906),_0x5893e6=document[_0x514e2f(0x82)](_0x514e2f(0xcf));return _0x5893e6[_0x514e2f(0xc2)][_0x514e2f(0x8e)](_0x514e2f(0x9c)),_0x5893e6[_0x514e2f(0x98)](_0x514e2f(0xf7),_0x514e2f(0xa4)),_0x5893e6[_0x514e2f(0x98)](_0x514e2f(0x81),_0x514e2f(0xa4)),_0x5893e6[_0x514e2f(0x78)]=_0x3f8140[_0x514e2f(0x9b)],_0x2c078d[_0x514e2f(0x92)]=_0x514e2f(0xd0)+_0x5893e6[_0x514e2f(0xb2)]+'⁠',_0x2c078d[_0x514e2f(0xf9)](_0x514e2f(0xc5),()=>{const _0x51e09a=_0x514e2f;_0x2c078d[_0x51e09a(0xc2)][_0x51e09a(0x8e)](_0x51e09a(0x83));}),_0x2c078d[_0x514e2f(0xf9)](_0x514e2f(0xce),()=>{const _0x2aba2c=_0x514e2f;_0x2c078d[_0x2aba2c(0xc2)][_0x2aba2c(0xc4)](_0x2aba2c(0x83));}),_0x2c078d;},_0x30e4fc[_0x25f0cd(0xec)]=function(_0x1fd249){const _0x350e6a=_0x25f0cd;return!(!this[_0x350e6a(0xa3)](_0x350e6a(0x9f))||!_0x1fd249[_0x350e6a(0xa3)](_0x350e6a(0x9f))||this[_0x350e6a(0xd1)](_0x350e6a(0xee))!=_0x1fd249[_0x350e6a(0xd1)](_0x350e6a(0xee)));},_0x30e4fc;}(_0x540138,_0x1646a1,_0xf69fdb);}(_0x326f1d,_0x35ab38,_0x32836c,_0x335627)}),_0x335627[_0x1d50ee(0xe8)][_0x1d50ee(0xe3)](_0x1d50ee(0xfa))[_0x1d50ee(0xd7)]({'model':_0x1d50ee(0xac),'view':_0x5a9200=>function(_0x16487f,_0x1d055f){const _0x3d6a54=_0x1d50ee,_0x51eed9=_0x16487f[_0x3d6a54(0x97)][_0x3d6a54(0xeb)](':')[0x2];if(_0x51eed9===_0x1d055f[_0x3d6a54(0xa9)])return null;const _0x58b3d4=_0x1d055f[_0x3d6a54(0xa7)](_0x51eed9);if(!_0x58b3d4)return{'id':_0x51eed9,'classes':[]};return{'id':_0x51eed9,'classes':[_0x3d6a54(0xe5),_0x58b3d4[_0x3d6a54(0xc0)][_0x3d6a54(0xb8)]()],'attributes':{'data-session-id':_0x51eed9},'priority':0x7d0+_0x58b3d4[_0x3d6a54(0x7a)]};}(_0x5a9200,_0x32836c)}),function(_0x1b4787){const _0x44e275=_0x1d50ee,_0x107c01=_0x1b4787[_0x44e275(0xba)],_0x19d35b=new Map(),_0x3c1925=_0x1b4787[_0x44e275(0xd5)][_0x44e275(0xc1)](_0x8e81ed);_0x107c01[_0x44e275(0xbf)]['on'](_0x44e275(0xa8),(_0x599fa8,_0x3b5920,_0x198d8f,_0x5bd1da)=>{const _0x48ec7b=_0x44e275;if(!_0x5bd1da&&_0x19d35b[_0x48ec7b(0xc1)](_0x3b5920[_0x48ec7b(0x9b)]))return _0x19d35b[_0x48ec7b(0xc1)](_0x3b5920[_0x48ec7b(0x9b)])[_0x48ec7b(0xc8)](),void _0x19d35b[_0x48ec7b(0xe1)](_0x3b5920[_0x48ec7b(0x9b)]);const _0x470142=_0x3b5920[_0x48ec7b(0x9b)][_0x48ec7b(0xeb)](':')[0x2];if(_0x470142===_0x3c1925[_0x48ec7b(0xa9)])return;const _0x4f928a=_0x48ec7b(0x8c)+_0x470142;_0x107c01[_0x48ec7b(0xbf)][_0x48ec7b(0xbe)](_0x4f928a)&&_0x1b4787[_0x48ec7b(0x93)][_0x48ec7b(0xf3)](_0x4f928a),_0x3b5920['on'](_0x48ec7b(0xcc),(_0xa1a58d,_0x154eaa,_0x4b14f8)=>{const _0x12bd9e=_0x48ec7b;if(_0x12bd9e(0xfd)!=_0x154eaa[_0x12bd9e(0xaa)][_0x12bd9e(0xdf)]&&_0x12bd9e(0xfd)==_0x3b5920[_0x12bd9e(0xc7)]()[_0x12bd9e(0xaa)][_0x12bd9e(0xdf)]&&!_0x19d35b[_0x12bd9e(0xbe)](_0x3b5920[_0x12bd9e(0x9b)])){const _0x700c5d=_0x107c01[_0x12bd9e(0x80)][_0x12bd9e(0x8a)](_0x4b14f8[_0x12bd9e(0x87)]);if(_0x700c5d){const _0x361748=_0x124263[_0x12bd9e(0x100)](_0x700c5d);_0x19d35b[_0x12bd9e(0x8b)](_0x3b5920[_0x12bd9e(0x9b)],_0x361748),_0x361748['on'](_0x12bd9e(0xcc),(_0x302a5f,_0x417b85,_0x52eda4)=>{const _0x33a92c=_0x12bd9e;if(_0x33a92c(0xfd)==_0x361748[_0x33a92c(0xaa)][_0x33a92c(0xdf)]){const _0x4adf06=_0x107c01[_0x33a92c(0x80)][_0x33a92c(0x8a)](_0x52eda4[_0x33a92c(0x87)]);_0x4adf06?(_0x361748[_0x33a92c(0x94)]=_0x4adf06[_0x33a92c(0x94)],_0x361748[_0x33a92c(0xe9)]=_0x4adf06[_0x33a92c(0xe9)]):(_0x19d35b[_0x33a92c(0xe1)](_0x3b5920[_0x33a92c(0x9b)]),_0x361748[_0x33a92c(0xc8)]());}});}}});}),_0x107c01[_0x44e275(0xbc)]['on'](_0x44e275(0xb6),()=>{const _0x416bbb=_0x44e275;_0x19d35b[_0x416bbb(0xa5)]>0x0&&_0x107c01[_0x416bbb(0xd2)]({'isUndoable':!0x1},_0x317665=>{const _0x29438d=_0x416bbb;for(const [_0x4107a3,_0x3e74db]of _0x19d35b)_0x29438d(0xfd)==_0x107c01[_0x29438d(0xbf)][_0x29438d(0xc1)](_0x4107a3)[_0x29438d(0xc7)]()[_0x29438d(0xaa)][_0x29438d(0xdf)]&&(te(_0x4107a3[_0x29438d(0xeb)](':')[0x2],_0x3e74db[_0x29438d(0xb9)](),_0x107c01,_0x317665),_0x3e74db[_0x29438d(0xc8)]());_0x19d35b[_0x29438d(0x7c)]();});});}(_0x335627),this[_0x1d50ee(0xbd)][_0x1d50ee(0xb4)](_0x3302a4[_0x1d50ee(0xbc)],_0x1d50ee(0xe7),(_0xe8475e,{key:_0x576d29})=>{const _0x5dea0a=_0x1d50ee;_0x5dea0a(0xd3)===_0x576d29&&function(_0x380556){const _0x20fc70=_0x5dea0a;_0x380556[_0x20fc70(0x93)][_0x20fc70(0x76)][_0x20fc70(0xb6)](_0x30f083=>{const _0x1e62b3=_0x20fc70;for(const _0x4df536 of _0x380556[_0x1e62b3(0xba)][_0x1e62b3(0xbf)]){if(!_0x4df536[_0x1e62b3(0x9b)][_0x1e62b3(0xed)](_0x1e62b3(0x91)))continue;const _0x398613=_0x380556[_0x1e62b3(0x93)][_0x1e62b3(0xf0)][_0x1e62b3(0xea)](_0x4df536[_0x1e62b3(0x9b)]);if(_0x398613){for(const _0x35f84f of _0x398613)_0x30f083[_0x1e62b3(0xde)](_0x1e62b3(0x83),_0x35f84f);}}});}(_0x335627);},{'useCapture':!0x0});}[_0x544bde(0x9e)](){const _0x146b95=_0x544bde,_0x1dac1b=this[_0x146b95(0xca)],_0x47e7f0=_0x1dac1b[_0x146b95(0xe4)][_0x146b95(0xc1)](_0x146b95(0x99));_0x47e7f0&&_0x1dac1b[_0x146b95(0xba)]['on'](_0x146b95(0xf8),(_0x2405bc,_0x2eec78)=>{const _0x42ca06=_0x146b95,_0x2396ac=_0x2eec78[0x0];if(!_0x2396ac[_0x42ca06(0xf6)])return;if(_0x42ca06(0xf5)!=_0x2396ac[_0x42ca06(0xe0)]||!_0x2396ac[_0x42ca06(0x9b)][_0x42ca06(0xed)](_0x42ca06(0xd8)))return;const _0x1113ed=_0x2396ac[_0x42ca06(0x90)];_0x47e7f0[_0x42ca06(0x96)][_0x42ca06(0xbe)](_0x1113ed)&&(_0x2396ac[_0x42ca06(0xf4)]=_0x2396ac[_0x42ca06(0xbb)]?_0x1dac1b[_0x42ca06(0xba)][_0x42ca06(0xef)](_0x2396ac[_0x42ca06(0xbb)][_0x42ca06(0x94)],_0x2396ac[_0x42ca06(0xbb)][_0x42ca06(0xe9)]):null);},{'priority':_0x146b95(0xad)});}[_0x544bde(0xb7)](){const _0xdf4858=_0x544bde;return this[_0xdf4858(0xbd)][_0xdf4858(0xa1)](),super[_0xdf4858(0xb7)]();}[_0x544bde(0xaf)](){const _0x3ecc9d=_0x544bde,_0x455506=this[_0x3ecc9d(0xca)],_0x4ef40c=_0x455506[_0x3ecc9d(0xba)][_0x3ecc9d(0xbc)],_0x3364e0=_0x455506[_0x3ecc9d(0xd5)][_0x3ecc9d(0xc1)](_0x8e81ed);_0x455506[_0x3ecc9d(0xba)][_0x3ecc9d(0xd2)]({'isUndoable':!0x1},_0xe1f032=>{const _0x5e1756=_0x3ecc9d,_0x300077=_0x5e1756(0xa6)+_0x3364e0[_0x5e1756(0xa9)],_0x299578=_0x5e1756(0x8c)+_0x3364e0[_0x5e1756(0xa9)],_0x44e62e=_0x455506[_0x5e1756(0xba)][_0x5e1756(0xbf)][_0x5e1756(0xbe)](_0x300077);_0x455506[_0x5e1756(0x93)][_0x5e1756(0x76)][_0x5e1756(0xdd)]?te(_0x3364e0[_0x5e1756(0xa9)],_0x4ef40c[_0x5e1756(0xdc)][_0x5e1756(0xda)](),_0x455506[_0x5e1756(0xba)],_0xe1f032):_0x44e62e&&(_0xe1f032[_0x5e1756(0x9a)](_0x300077),_0xe1f032[_0x5e1756(0x9a)](_0x299578));});}}function te(_0x4611d7,_0x3949d8,_0x3266b5,_0x11301e){const _0x3190ed=_0x544bde,_0x957cff=_0x3190ed(0xa6)+_0x4611d7,_0x41ce2e=_0x3190ed(0x8c)+_0x4611d7,_0x5ee254=_0x3949d8[_0x3190ed(0x7d)]();let _0x2e9fcb=_0x3949d8[_0x3190ed(0x94)];if(_0x5ee254&&_0x5ee254['is'](_0x3190ed(0xd6),_0x3190ed(0xc3))){const _0x7db07d=function(_0x5a492a,_0x544f64){const _0x432588=_0x3190ed;for(const _0x496e41 of _0x5a492a[_0x432588(0xfc)]())if(_0x544f64[_0x432588(0x80)][_0x432588(0x85)](_0x496e41,_0x432588(0xe6)))return _0x496e41;}(_0x3949d8,_0x3266b5);_0x7db07d&&(_0x2e9fcb=_0x7db07d,_0x3949d8=_0x11301e[_0x3190ed(0xef)](_0x2e9fcb));}const _0x54e104=_0x11301e[_0x3190ed(0xef)](_0x2e9fcb);_0x3266b5[_0x3190ed(0xbf)][_0x3190ed(0xbe)](_0x957cff)?(_0x11301e[_0x3190ed(0xb3)](_0x957cff,{'range':_0x3949d8}),_0x11301e[_0x3190ed(0xb3)](_0x41ce2e,{'range':_0x54e104})):(_0x11301e[_0x3190ed(0xd9)](_0x957cff,{'range':_0x3949d8,'usingOperation':!0x0}),_0x11301e[_0x3190ed(0xd9)](_0x41ce2e,{'range':_0x54e104,'usingOperation':!0x0}));}
23
+ const _0x2a55e8=_0x58f5;(function(_0x2feb71,_0x29293c){const _0x5dbf4d=_0x58f5,_0xebabd4=_0x2feb71();while(!![]){try{const _0x31ed05=parseInt(_0x5dbf4d(0x77))/0x1*(parseInt(_0x5dbf4d(0x9b))/0x2)+-parseInt(_0x5dbf4d(0xc6))/0x3+-parseInt(_0x5dbf4d(0xa5))/0x4*(parseInt(_0x5dbf4d(0x81))/0x5)+parseInt(_0x5dbf4d(0xb5))/0x6+parseInt(_0x5dbf4d(0x6f))/0x7+parseInt(_0x5dbf4d(0xbd))/0x8*(-parseInt(_0x5dbf4d(0x8b))/0x9)+parseInt(_0x5dbf4d(0x73))/0xa*(parseInt(_0x5dbf4d(0x80))/0xb);if(_0x31ed05===_0x29293c)break;else _0xebabd4['push'](_0xebabd4['shift']());}catch(_0x4d5cc3){_0xebabd4['push'](_0xebabd4['shift']());}}}(_0x10a5,0xb5354));import{Plugin as _0x49c223}from'ckeditor5/src/core.js';import{global as _0xa46b4,DomEmitterMixin as _0x543cd4}from'ckeditor5/src/utils.js';import{Sessions as _0x56389d}from'./sessions.js';function _0x58f5(_0x3f458d,_0x4b8f77){const _0x10a58a=_0x10a5();return _0x58f5=function(_0x58f579,_0x5770c1){_0x58f579=_0x58f579-0x6d;let _0xc328f9=_0x10a58a[_0x58f579];return _0xc328f9;},_0x58f5(_0x3f458d,_0x4b8f77);}import{ModelLiveRange as _0x149c4a}from'ckeditor5/src/engine.js';function _0x10a5(){const _0x57d852=['3561615KyqoIy','startsWith','getPositions','getSelectionClass','plugins','orderNumber','setAttribute','getMarkerClass','getFirstRange','set','markerName','checkChild','markerToHighlight','addMarker','element','hasContent','isSimilar','delete','$text','innerHTML','userPositionMarker','clear','setCustomProperty','change','getUserBySessionId','Escape','stopListening','size','deletionPosition','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getAttribute','ck-user__marker-tooltip','isObject','hasDomSelection','createElement','reconvertMarker','afterInit','editing','detach','isLimit','updateMarker','for','isPremiumPlugin','textContent','span','getContainedElement','start','markerNameToElements','addEventListener','name','mapper','removeMarker','applyOperation','6168834qWyGzX','root','get','schema','370vIqqCo','_domEmitter','batch','getCustomProperty','3387erSnyG','requires','conversion','isDocumentOperation','type','isInline','mouseenter','model','classList','337238uQAVVo','500650vVmxfu','ck-user__selection','destroy','false','tableCell','keydown','getRange','ck-user__marker_hovered','spellcheck','nodeAfter','153lFCuvz','fromRange','newRange','oldRange','editingDowncast','toDomElement','user:','toRange','createUserMarkerOperations','removeClass','markers','mouseleave','init','getNearestSelectionRange','createUIElement','isCollapsed','386zGNzAL','render','has','parent','update:user:range','end','undo','highest','outerHTML','split','48KEtvXN','pluginName','_createdBatches','color','remove','markerRange','user:range:','$graveyard','document','enqueueChange','contenteditable','mySessionId','isOfficialPlugin','editor','add','getStart','7592010mhmnXx','change:range','commands','createRange','view','selection','data-session-id','ck-user__marker\x20','378184ZnqmYN','user:position','UserMarkers','user:range','listenTo','marker','user:position:','markerToElement','rootName'];_0x10a5=function(){return _0x57d852;};return _0x10a5();}import'../../theme/usermarkers.css';export class UserMarkers extends _0x49c223{[_0x2a55e8(0x74)]=new(_0x543cd4())();static get[_0x2a55e8(0x78)](){return[_0x56389d];}static get[_0x2a55e8(0xa6)](){const _0x3e5e38=_0x2a55e8;return _0x3e5e38(0xbf);}static get[_0x2a55e8(0xb1)](){return!0x0;}static get[_0x2a55e8(0xf0)](){return!0x0;}[_0x2a55e8(0x97)](){const _0x91aaed=_0x2a55e8,_0x2214cd=this[_0x91aaed(0xb2)],_0x51f45a=_0x2214cd[_0x91aaed(0xca)][_0x91aaed(0x71)](_0x56389d);_0x2214cd[_0x91aaed(0x79)][_0x91aaed(0xef)](_0x91aaed(0x8f))[_0x91aaed(0xc4)]({'model':_0x91aaed(0xbe),'view':(_0x25197f,{writer:_0x275eb1})=>function(_0x19cc9a,_0x39eb47,_0x3eb26b,_0x28ed57){const _0x1146a6=_0x91aaed,_0x12554d=_0x19cc9a[_0x1146a6(0xd0)][_0x1146a6(0xa4)](':')[0x2],_0x3ca327=_0x3eb26b[_0x1146a6(0xde)](_0x12554d);if(!_0x3ca327||_0x12554d===_0x3eb26b[_0x1146a6(0xb0)])return;if(!_0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0x72)][_0x1146a6(0xd1)](_0x19cc9a[_0x1146a6(0xaa)][_0x1146a6(0xf4)],_0x1146a6(0xd8)))return;const _0xa363cb={'class':_0x1146a6(0xbc)+_0x3ca327[_0x1146a6(0xa8)][_0x1146a6(0xcd)](),'data-name':_0x3ca327[_0x1146a6(0xf7)],'data-session-id':_0x12554d},_0x2527f8=_0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0x95)][_0x1146a6(0x71)](_0x19cc9a[_0x1146a6(0xd0)]),_0x348141=_0x2527f8[_0x1146a6(0xb4)](),_0x38e69f=_0x348141[_0x1146a6(0x8a)],_0x41e62a=_0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0x72)];if(_0x38e69f&&_0x41e62a[_0x1146a6(0xe6)](_0x38e69f)&&_0x41e62a[_0x1146a6(0x7c)](_0x38e69f)&&!_0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0x95)][_0x1146a6(0x71)](_0x1146a6(0xab)+_0x12554d)[_0x1146a6(0x87)]()[_0x1146a6(0x9a)])return;const _0x587dda=_0x348141[_0x1146a6(0x9e)];return _0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0x72)][_0x1146a6(0xed)](_0x587dda)&&!_0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0xd5)](_0x587dda)&&(_0xa363cb[_0x1146a6(0xaf)]=!0x1),function(_0x40255f,_0x5a7ad2,_0x448f20){const _0x4536f6=_0x1146a6,_0x4fe3f0=_0x40255f[_0x4536f6(0x99)](_0x4536f6(0xf2),_0x5a7ad2);return _0x40255f[_0x4536f6(0xdc)](_0x4536f6(0xda),!0x0,_0x4fe3f0),_0x4fe3f0[_0x4536f6(0x9c)]=function(_0x61c869){const _0x27ca26=_0x4536f6,_0x2099ff=this[_0x27ca26(0x90)](_0x61c869),_0x4afea7=document[_0x27ca26(0xe8)](_0x27ca26(0xf2));return _0x4afea7[_0x27ca26(0x7f)][_0x27ca26(0xb3)](_0x27ca26(0xe5)),_0x4afea7[_0x27ca26(0xcc)](_0x27ca26(0xaf),_0x27ca26(0x84)),_0x4afea7[_0x27ca26(0xcc)](_0x27ca26(0x89),_0x27ca26(0x84)),_0x4afea7[_0x27ca26(0xf1)]=_0x448f20[_0x27ca26(0xf7)],_0x2099ff[_0x27ca26(0xd9)]=_0x27ca26(0xe3)+_0x4afea7[_0x27ca26(0xa3)]+'⁠',_0x2099ff[_0x27ca26(0xf6)](_0x27ca26(0x7d),()=>{const _0x202cc2=_0x27ca26;_0x2099ff[_0x202cc2(0x7f)][_0x202cc2(0xb3)](_0x202cc2(0x88));}),_0x2099ff[_0x27ca26(0xf6)](_0x27ca26(0x96),()=>{const _0x55c2f6=_0x27ca26;_0x2099ff[_0x55c2f6(0x7f)][_0x55c2f6(0xa9)](_0x55c2f6(0x88));}),_0x2099ff;},_0x4fe3f0[_0x4536f6(0xd6)]=function(_0x48d392){const _0x2c786e=_0x4536f6;return!(!this[_0x2c786e(0x76)](_0x2c786e(0xda))||!_0x48d392[_0x2c786e(0x76)](_0x2c786e(0xda))||this[_0x2c786e(0xe4)](_0x2c786e(0xbb))!=_0x48d392[_0x2c786e(0xe4)](_0x2c786e(0xbb)));},_0x4fe3f0;}(_0x39eb47,_0xa363cb,_0x3ca327);}(_0x25197f,_0x275eb1,_0x51f45a,_0x2214cd)}),_0x2214cd[_0x91aaed(0x79)][_0x91aaed(0xef)](_0x91aaed(0x8f))[_0x91aaed(0xd2)]({'model':_0x91aaed(0xc0),'view':_0x45bf0e=>function(_0x4e2edf,_0x5f3d3a){const _0x46a8b1=_0x91aaed,_0x4526f4=_0x4e2edf[_0x46a8b1(0xd0)][_0x46a8b1(0xa4)](':')[0x2];if(_0x4526f4===_0x5f3d3a[_0x46a8b1(0xb0)])return null;const _0x3c2601=_0x5f3d3a[_0x46a8b1(0xde)](_0x4526f4);if(!_0x3c2601)return{'id':_0x4526f4,'classes':[]};return{'id':_0x4526f4,'classes':[_0x46a8b1(0x82),_0x3c2601[_0x46a8b1(0xa8)][_0x46a8b1(0xc9)]()],'attributes':{'data-session-id':_0x4526f4},'priority':0x7d0+_0x3c2601[_0x46a8b1(0xcb)]};}(_0x45bf0e,_0x51f45a)}),function(_0x37df2a){const _0x5d9545=_0x91aaed,_0x297f58=_0x37df2a[_0x5d9545(0x7e)],_0x4c8d77=new Map(),_0x5e6b29=_0x37df2a[_0x5d9545(0xca)][_0x5d9545(0x71)](_0x56389d);_0x297f58[_0x5d9545(0x95)]['on'](_0x5d9545(0x9f),(_0x2180d3,_0x16d5e1,_0x6274e2,_0xea5783)=>{const _0x3cf5f6=_0x5d9545;if(!_0xea5783&&_0x4c8d77[_0x3cf5f6(0x71)](_0x16d5e1[_0x3cf5f6(0xf7)]))return _0x4c8d77[_0x3cf5f6(0x71)](_0x16d5e1[_0x3cf5f6(0xf7)])[_0x3cf5f6(0xec)](),void _0x4c8d77[_0x3cf5f6(0xd7)](_0x16d5e1[_0x3cf5f6(0xf7)]);const _0x50ef6a=_0x16d5e1[_0x3cf5f6(0xf7)][_0x3cf5f6(0xa4)](':')[0x2];if(_0x50ef6a===_0x5e6b29[_0x3cf5f6(0xb0)])return;const _0x880d61=_0x3cf5f6(0xc3)+_0x50ef6a;_0x297f58[_0x3cf5f6(0x95)][_0x3cf5f6(0x9d)](_0x880d61)&&_0x37df2a[_0x3cf5f6(0xeb)][_0x3cf5f6(0xe9)](_0x880d61),_0x16d5e1['on'](_0x3cf5f6(0xb6),(_0x2faf2b,_0x51477e,_0x506522)=>{const _0x2b1a6a=_0x3cf5f6;if(_0x2b1a6a(0xac)!=_0x51477e[_0x2b1a6a(0x70)][_0x2b1a6a(0xc5)]&&_0x2b1a6a(0xac)==_0x16d5e1[_0x2b1a6a(0x87)]()[_0x2b1a6a(0x70)][_0x2b1a6a(0xc5)]&&!_0x4c8d77[_0x2b1a6a(0x9d)](_0x16d5e1[_0x2b1a6a(0xf7)])){const _0x414ec2=_0x297f58[_0x2b1a6a(0x72)][_0x2b1a6a(0x98)](_0x506522[_0x2b1a6a(0xe2)]);if(_0x414ec2){const _0x21e14d=_0x149c4a[_0x2b1a6a(0x8c)](_0x414ec2);_0x4c8d77[_0x2b1a6a(0xcf)](_0x16d5e1[_0x2b1a6a(0xf7)],_0x21e14d),_0x21e14d['on'](_0x2b1a6a(0xb6),(_0x15c8b3,_0x2690ef,_0x497ce8)=>{const _0x12fa27=_0x2b1a6a;if(_0x12fa27(0xac)==_0x21e14d[_0x12fa27(0x70)][_0x12fa27(0xc5)]){const _0x537eee=_0x297f58[_0x12fa27(0x72)][_0x12fa27(0x98)](_0x497ce8[_0x12fa27(0xe2)]);_0x537eee?(_0x21e14d[_0x12fa27(0xf4)]=_0x537eee[_0x12fa27(0xf4)],_0x21e14d[_0x12fa27(0xa0)]=_0x537eee[_0x12fa27(0xa0)]):(_0x4c8d77[_0x12fa27(0xd7)](_0x16d5e1[_0x12fa27(0xf7)]),_0x21e14d[_0x12fa27(0xec)]());}});}}});}),_0x297f58[_0x5d9545(0xad)]['on'](_0x5d9545(0xdd),()=>{const _0x553f29=_0x5d9545;_0x4c8d77[_0x553f29(0xe1)]>0x0&&_0x297f58[_0x553f29(0xae)]({'isUndoable':!0x1},_0x466b0a=>{const _0x363b50=_0x553f29;for(const [_0x12780a,_0x26c664]of _0x4c8d77)_0x363b50(0xac)==_0x297f58[_0x363b50(0x95)][_0x363b50(0x71)](_0x12780a)[_0x363b50(0x87)]()[_0x363b50(0x70)][_0x363b50(0xc5)]&&(Z(_0x12780a[_0x363b50(0xa4)](':')[0x2],_0x26c664[_0x363b50(0x92)](),_0x297f58,_0x466b0a),_0x26c664[_0x363b50(0xec)]());_0x4c8d77[_0x363b50(0xdb)]();});});}(_0x2214cd),this[_0x91aaed(0x74)][_0x91aaed(0xc1)](_0xa46b4[_0x91aaed(0xad)],_0x91aaed(0x86),(_0x288d99,{key:_0x422a89})=>{const _0x377870=_0x91aaed;_0x377870(0xdf)===_0x422a89&&function(_0x33f4d9){const _0x5dfb17=_0x377870;_0x33f4d9[_0x5dfb17(0xeb)][_0x5dfb17(0xb9)][_0x5dfb17(0xdd)](_0x1f70b2=>{const _0x37c096=_0x5dfb17;for(const _0x4d4a1e of _0x33f4d9[_0x37c096(0x7e)][_0x37c096(0x95)]){if(!_0x4d4a1e[_0x37c096(0xf7)][_0x37c096(0xc7)](_0x37c096(0xbe)))continue;const _0x3b07fd=_0x33f4d9[_0x37c096(0xeb)][_0x37c096(0xf8)][_0x37c096(0xf5)](_0x4d4a1e[_0x37c096(0xf7)]);if(_0x3b07fd){for(const _0x51b041 of _0x3b07fd)_0x1f70b2[_0x37c096(0x94)](_0x37c096(0x88),_0x51b041);}}});}(_0x2214cd);},{'useCapture':!0x0});}[_0x2a55e8(0xea)](){const _0x3a87e3=_0x2a55e8,_0x40fa5d=this[_0x3a87e3(0xb2)],_0x158d13=_0x40fa5d[_0x3a87e3(0xb7)][_0x3a87e3(0x71)](_0x3a87e3(0xa1));_0x158d13&&_0x40fa5d[_0x3a87e3(0x7e)]['on'](_0x3a87e3(0x6e),(_0x46fc1f,_0x3ecf42)=>{const _0x40b661=_0x3a87e3,_0x4e7217=_0x3ecf42[0x0];if(!_0x4e7217[_0x40b661(0x7a)])return;if(_0x40b661(0xc2)!=_0x4e7217[_0x40b661(0x7b)]||!_0x4e7217[_0x40b661(0xf7)][_0x40b661(0xc7)](_0x40b661(0x91)))return;const _0x1b3254=_0x4e7217[_0x40b661(0x75)];_0x158d13[_0x40b661(0xa7)][_0x40b661(0x9d)](_0x1b3254)&&(_0x4e7217[_0x40b661(0x8d)]=_0x4e7217[_0x40b661(0x8e)]?_0x40fa5d[_0x40b661(0x7e)][_0x40b661(0xb8)](_0x4e7217[_0x40b661(0x8e)][_0x40b661(0xf4)],_0x4e7217[_0x40b661(0x8e)][_0x40b661(0xa0)]):null);},{'priority':_0x3a87e3(0xa2)});}[_0x2a55e8(0x83)](){const _0x15fa10=_0x2a55e8;return this[_0x15fa10(0x74)][_0x15fa10(0xe0)](),super[_0x15fa10(0x83)]();}[_0x2a55e8(0x93)](){const _0x435966=_0x2a55e8,_0x5d4bb7=this[_0x435966(0xb2)],_0x2344d3=_0x5d4bb7[_0x435966(0x7e)][_0x435966(0xad)],_0x395b6c=_0x5d4bb7[_0x435966(0xca)][_0x435966(0x71)](_0x56389d);_0x5d4bb7[_0x435966(0x7e)][_0x435966(0xae)]({'isUndoable':!0x1},_0x86a9ba=>{const _0x119905=_0x435966,_0x539905=_0x119905(0xab)+_0x395b6c[_0x119905(0xb0)],_0x1226b8=_0x119905(0xc3)+_0x395b6c[_0x119905(0xb0)],_0x4e1e72=_0x5d4bb7[_0x119905(0x7e)][_0x119905(0x95)][_0x119905(0x9d)](_0x539905);_0x5d4bb7[_0x119905(0xeb)][_0x119905(0xb9)][_0x119905(0xe7)]?Z(_0x395b6c[_0x119905(0xb0)],_0x2344d3[_0x119905(0xba)][_0x119905(0xce)](),_0x5d4bb7[_0x119905(0x7e)],_0x86a9ba):_0x4e1e72&&(_0x86a9ba[_0x119905(0x6d)](_0x539905),_0x86a9ba[_0x119905(0x6d)](_0x1226b8));});}}function Z(_0x5beab5,_0x3fb664,_0x44eb8d,_0x31af05){const _0x54dc31=_0x2a55e8,_0x1f84eb=_0x54dc31(0xab)+_0x5beab5,_0x36128f=_0x54dc31(0xc3)+_0x5beab5,_0xd02169=_0x3fb664[_0x54dc31(0xf3)]();let _0x564ea9=_0x3fb664[_0x54dc31(0xf4)];if(_0xd02169&&_0xd02169['is'](_0x54dc31(0xd4),_0x54dc31(0x85))){const _0x9022ff=function(_0x26e627,_0x5d5377){const _0x4dadd5=_0x54dc31;for(const _0x2e7d76 of _0x26e627[_0x4dadd5(0xc8)]())if(_0x5d5377[_0x4dadd5(0x72)][_0x4dadd5(0xd1)](_0x2e7d76,_0x4dadd5(0xd8)))return _0x2e7d76;}(_0x3fb664,_0x44eb8d);_0x9022ff&&(_0x564ea9=_0x9022ff,_0x3fb664=_0x31af05[_0x54dc31(0xb8)](_0x564ea9));}const _0x2b05ee=_0x31af05[_0x54dc31(0xb8)](_0x564ea9);_0x44eb8d[_0x54dc31(0x95)][_0x54dc31(0x9d)](_0x1f84eb)?(_0x31af05[_0x54dc31(0xee)](_0x1f84eb,{'range':_0x3fb664}),_0x31af05[_0x54dc31(0xee)](_0x36128f,{'range':_0x2b05ee})):(_0x31af05[_0x54dc31(0xd3)](_0x1f84eb,{'range':_0x3fb664,'usingOperation':!0x0}),_0x31af05[_0x54dc31(0xd3)](_0x36128f,{'range':_0x2b05ee,'usingOperation':!0x0}));}