@ckeditor/ckeditor5-real-time-collaboration 46.0.3 → 46.1.0-alpha.1

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 +15 -15
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f9a3e=_0x4c21;(function(_0x9d2a46,_0x20b063){const _0xacd05=_0x4c21,_0x58dc10=_0x9d2a46();while(!![]){try{const _0x5d8cd7=-parseInt(_0xacd05(0xc5))/0x1*(-parseInt(_0xacd05(0xd4))/0x2)+parseInt(_0xacd05(0xbb))/0x3+parseInt(_0xacd05(0xbf))/0x4+parseInt(_0xacd05(0xcf))/0x5+-parseInt(_0xacd05(0xc8))/0x6*(parseInt(_0xacd05(0xc1))/0x7)+parseInt(_0xacd05(0xc0))/0x8*(-parseInt(_0xacd05(0xbd))/0x9)+-parseInt(_0xacd05(0xb8))/0xa;if(_0x5d8cd7===_0x20b063)break;else _0x58dc10['push'](_0x58dc10['shift']());}catch(_0x53f944){_0x58dc10['push'](_0x58dc10['shift']());}}}(_0x52bc,0x675eb));import{View as _0x5da6f9}from'ckeditor5/src/ui.js';function _0x4c21(_0x289b59,_0x2fe3e8){const _0x52bc16=_0x52bc();return _0x4c21=function(_0x4c21b1,_0x120270){_0x4c21b1=_0x4c21b1-0xaf;let _0xe3eb1f=_0x52bc16[_0x4c21b1];return _0xe3eb1f;},_0x4c21(_0x289b59,_0x2fe3e8);}import{KeystrokeHandler as _0x572c14}from'ckeditor5/src/utils.js';import{getTranslation as _0x48347b}from'../../common-translations.js';export class PresenceInlineListView extends _0x5da6f9{[_0x4f9a3e(0xbc)];[_0x4f9a3e(0xb2)];constructor(_0x5cf63c){const _0x48e281=_0x4f9a3e;super(_0x5cf63c);const _0x5befc6=this[_0x48e281(0xcc)];this[_0x48e281(0xbc)]=this[_0x48e281(0xd5)](),this[_0x48e281(0xb2)]=new _0x572c14(),this[_0x48e281(0xd3)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x48e281(0xb9)]({'tag':_0x48e281(0xb1),'attributes':{'aria-haspopup':_0x5befc6['if'](_0x48e281(0xcb)),'aria-expanded':_0x5befc6['to'](_0x48e281(0xce),_0x3ec5a5=>this[_0x48e281(0xcb)]&&String(_0x3ec5a5)),'aria-label':_0x5befc6['to'](_0x48e281(0xcb),_0x4dd9ad=>_0x48347b(_0x5cf63c,_0x4dd9ad?_0x48e281(0xb4):_0x48e281(0xca))),'role':_0x48e281(0xc4),'tabindex':_0x5befc6['to'](_0x48e281(0xcb),_0x3639aa=>!!_0x3639aa&&0x0),'class':['ck',_0x48e281(0xcd)]},'children':this[_0x48e281(0xbc)],'on':{'mouseenter':_0x5befc6['to'](()=>this[_0x48e281(0xb6)](_0x48e281(0xb0))),'mouseleave':_0x5befc6['to'](_0x4b7763=>{const _0x38d429=_0x48e281,_0x4dc64a=_0x4b7763,_0xbecb08=document[_0x38d429(0xb3)](_0x38d429(0xc6)),_0xcf329d=document[_0x38d429(0xb3)](_0x38d429(0xba));_0xbecb08?.[_0x38d429(0xaf)](_0x4dc64a[_0x38d429(0xc9)])||_0xcf329d?.[_0x38d429(0xaf)](_0x4dc64a[_0x38d429(0xc9)])||this[_0x38d429(0xb6)](_0x38d429(0xb7));})}}),this['on'](_0x48e281(0xd1),(_0x375704,_0xedb2a8,_0x474e44)=>{const _0x5bdf6f=_0x48e281;this[_0x5bdf6f(0xd0)]&&(_0x474e44?this[_0x5bdf6f(0xd0)][_0x5bdf6f(0xb5)](_0x5bdf6f(0xbe),String(this[_0x5bdf6f(0xce)])):this[_0x5bdf6f(0xd0)][_0x5bdf6f(0xc7)](_0x5bdf6f(0xbe)));});}[_0x4f9a3e(0xc3)](){const _0x580615=_0x4f9a3e;this[_0x580615(0xd0)][_0x580615(0xc3)]();}[_0x4f9a3e(0xd2)](){const _0x3ef57c=_0x4f9a3e;super[_0x3ef57c(0xd2)](),this[_0x3ef57c(0xb2)][_0x3ef57c(0xc2)](this[_0x3ef57c(0xd0)]);}}function _0x52bc(){const _0x7f8fb0=['setAttribute','fire','presencelist:hide','10912560InYdQE','setTemplate','.ck-balloon-panel_with-arrow','1636035fiKXBe','items','1962VIiXlt','aria-expanded','2106628NUjqzT','4672oJcHzo','11158OvfZjB','listenTo','focus','list','266003zrVBqn','.ck-presence-list__dropdown-list','removeAttribute','2484JLurbH','relatedTarget','Connected\x20users\x20list','hasPopup','bindTemplate','ck-presence-list__list','isExpanded','3489395PACqFF','element','change:hasPopup','render','set','4QhcROP','createCollection','contains','presencelist:show','div','keystrokes','querySelector','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)'];_0x52bc=function(){return _0x7f8fb0;};return _0x52bc();}
23
+ const _0x21cdf9=_0x3b0e;(function(_0x2ac573,_0x4c2b4c){const _0x58d47a=_0x3b0e,_0x155171=_0x2ac573();while(!![]){try{const _0x267a67=parseInt(_0x58d47a(0xbf))/0x1+-parseInt(_0x58d47a(0xd9))/0x2+parseInt(_0x58d47a(0xdf))/0x3+parseInt(_0x58d47a(0xbc))/0x4*(-parseInt(_0x58d47a(0xce))/0x5)+-parseInt(_0x58d47a(0xc8))/0x6*(parseInt(_0x58d47a(0xbe))/0x7)+-parseInt(_0x58d47a(0xca))/0x8+parseInt(_0x58d47a(0xdb))/0x9;if(_0x267a67===_0x4c2b4c)break;else _0x155171['push'](_0x155171['shift']());}catch(_0x40da0b){_0x155171['push'](_0x155171['shift']());}}}(_0x209b,0x42a5c));import{View as _0x3c0f3e}from'ckeditor5/src/ui.js';function _0x209b(){const _0x45b986=['Connected\x20users\x20list','setAttribute','change:hasPopup','aria-expanded','items','createCollection','1037654ySCaUy','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','13377816SEaTOC','ck-presence-list__list','hasPopup','removeAttribute','986511WgZSPM','set','fire','4sjeUbA','contains','203biCPFe','92882poaDit','setTemplate','relatedTarget','render','presencelist:show','focus','listenTo','element','.ck-presence-list__dropdown-list','101328LwzhOu','.ck-balloon-panel_with-arrow','3978960rfFiFD','querySelector','keystrokes','isExpanded','646030jeEAwm','div','presencelist:hide','bindTemplate','list'];_0x209b=function(){return _0x45b986;};return _0x209b();}import{KeystrokeHandler as _0x4f820b}from'ckeditor5/src/utils.js';import{getTranslation as _0x43c6b9}from'../../common-translations.js';function _0x3b0e(_0x2d205e,_0x48125f){const _0x209b71=_0x209b();return _0x3b0e=function(_0x3b0e37,_0x1d3949){_0x3b0e37=_0x3b0e37-0xbc;let _0x1f6a44=_0x209b71[_0x3b0e37];return _0x1f6a44;},_0x3b0e(_0x2d205e,_0x48125f);}export class PresenceInlineListView extends _0x3c0f3e{[_0x21cdf9(0xd7)];[_0x21cdf9(0xcc)];constructor(_0x50c046){const _0x16f99c=_0x21cdf9;super(_0x50c046);const _0x86e410=this[_0x16f99c(0xd1)];this[_0x16f99c(0xd7)]=this[_0x16f99c(0xd8)](),this[_0x16f99c(0xcc)]=new _0x4f820b(),this[_0x16f99c(0xe0)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x16f99c(0xc0)]({'tag':_0x16f99c(0xcf),'attributes':{'aria-haspopup':_0x86e410['if'](_0x16f99c(0xdd)),'aria-expanded':_0x86e410['to'](_0x16f99c(0xcd),_0x3efe27=>this[_0x16f99c(0xdd)]&&String(_0x3efe27)),'aria-label':_0x86e410['to'](_0x16f99c(0xdd),_0x3c03c7=>_0x43c6b9(_0x50c046,_0x3c03c7?_0x16f99c(0xda):_0x16f99c(0xd3))),'role':_0x16f99c(0xd2),'tabindex':_0x86e410['to'](_0x16f99c(0xdd),_0x3b30ad=>!!_0x3b30ad&&0x0),'class':['ck',_0x16f99c(0xdc)]},'children':this[_0x16f99c(0xd7)],'on':{'mouseenter':_0x86e410['to'](()=>this[_0x16f99c(0xe1)](_0x16f99c(0xc3))),'mouseleave':_0x86e410['to'](_0x2056f1=>{const _0x14010b=_0x16f99c,_0x1254ac=_0x2056f1,_0x2b8e45=document[_0x14010b(0xcb)](_0x14010b(0xc7)),_0x2f9f46=document[_0x14010b(0xcb)](_0x14010b(0xc9));_0x2b8e45?.[_0x14010b(0xbd)](_0x1254ac[_0x14010b(0xc1)])||_0x2f9f46?.[_0x14010b(0xbd)](_0x1254ac[_0x14010b(0xc1)])||this[_0x14010b(0xe1)](_0x14010b(0xd0));})}}),this['on'](_0x16f99c(0xd5),(_0x47a66c,_0x59f7fc,_0x4f3664)=>{const _0x2bfec1=_0x16f99c;this[_0x2bfec1(0xc6)]&&(_0x4f3664?this[_0x2bfec1(0xc6)][_0x2bfec1(0xd4)](_0x2bfec1(0xd6),String(this[_0x2bfec1(0xcd)])):this[_0x2bfec1(0xc6)][_0x2bfec1(0xde)](_0x2bfec1(0xd6)));});}[_0x21cdf9(0xc4)](){const _0x1b56e7=_0x21cdf9;this[_0x1b56e7(0xc6)][_0x1b56e7(0xc4)]();}[_0x21cdf9(0xc2)](){const _0x43a838=_0x21cdf9;super[_0x43a838(0xc2)](),this[_0x43a838(0xcc)][_0x43a838(0xc5)](this[_0x43a838(0xc6)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xed8c6b=_0x3e51;function _0x28ce(){const _0x53e43f=['tooltipPosition','192MxjowD','4SxnevM','change','10609902NoKudi','inlineListView','1178222IcvRwF','3437457OMmFzt','locale','6182245bPUCbG','ck-rounded-corners','2UsUYIZ','div','items','setTemplate','first','705470jEMSxZ','7795888NdNpXa','hasPopup','listenTo','isCollapsed','bind','77rlLPTL','ck-presence-list--collapsed','ck-presence-list','set','counterView','bindTemplate','186382rpxCUg','ck-reset'];_0x28ce=function(){return _0x53e43f;};return _0x28ce();}(function(_0x311ac4,_0x2d5375){const _0x4d0aaa=_0x3e51,_0x2975a9=_0x311ac4();while(!![]){try{const _0x444026=parseInt(_0x4d0aaa(0x1e7))/0x1*(-parseInt(_0x4d0aaa(0x1ec))/0x2)+parseInt(_0x4d0aaa(0x1e8))/0x3+-parseInt(_0x4d0aaa(0x1e3))/0x4*(-parseInt(_0x4d0aaa(0x1ea))/0x5)+parseInt(_0x4d0aaa(0x1e2))/0x6*(-parseInt(_0x4d0aaa(0x1df))/0x7)+parseInt(_0x4d0aaa(0x1f2))/0x8+-parseInt(_0x4d0aaa(0x1e5))/0x9+parseInt(_0x4d0aaa(0x1f1))/0xa*(parseInt(_0x4d0aaa(0x1d9))/0xb);if(_0x444026===_0x2d5375)break;else _0x2975a9['push'](_0x2975a9['shift']());}catch(_0x5d5961){_0x2975a9['push'](_0x2975a9['shift']());}}}(_0x28ce,0x9c9ab));import{View as _0x1d1af0}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x5549be}from'./presencecounterview.js';import{PresenceInlineListView as _0x3956a5}from'./presenceinlinelistview.js';function _0x3e51(_0x1a47ff,_0x53894a){const _0x28ce2f=_0x28ce();return _0x3e51=function(_0x3e515f,_0x3d95f2){_0x3e515f=_0x3e515f-0x1d8;let _0x337e9d=_0x28ce2f[_0x3e515f];return _0x337e9d;},_0x3e51(_0x1a47ff,_0x53894a);}import'../../../theme/presencelist.css';export class PresenceListView extends _0x1d1af0{[_0xed8c6b(0x1dd)];[_0xed8c6b(0x1e6)];constructor(_0x332e60,_0x3eecf1=0x6){const _0x303c16=_0xed8c6b;super(_0x332e60);const _0x1a272d=this[_0x303c16(0x1de)];this[_0x303c16(0x1dc)](_0x303c16(0x1f5),!0x0),this[_0x303c16(0x1dd)]=new _0x5549be(this[_0x303c16(0x1e9)],_0x3eecf1),this[_0x303c16(0x1e6)]=new _0x3956a5(_0x332e60),this[_0x303c16(0x1e6)][_0x303c16(0x1d8)](_0x303c16(0x1f3))['to'](this,_0x303c16(0x1f5)),this[_0x303c16(0x1f4)](this[_0x303c16(0x1e6)][_0x303c16(0x1ee)],_0x303c16(0x1e4),()=>{const _0x5a23d9=_0x303c16;for(const _0x89e19a of this[_0x5a23d9(0x1e6)][_0x5a23d9(0x1ee)])_0x89e19a[_0x5a23d9(0x1e1)]='s';this[_0x5a23d9(0x1e6)][_0x5a23d9(0x1ee)][_0x5a23d9(0x1f0)]&&(this[_0x5a23d9(0x1e6)][_0x5a23d9(0x1ee)][_0x5a23d9(0x1f0)][_0x5a23d9(0x1e1)]='se');}),this[_0x303c16(0x1ef)]({'tag':_0x303c16(0x1ed),'attributes':{'class':['ck',_0x303c16(0x1db),_0x303c16(0x1e0),_0x303c16(0x1eb),_0x1a272d['if'](_0x303c16(0x1f5),_0x303c16(0x1da))]},'children':[this[_0x303c16(0x1e6)]]});}}
23
+ const _0x2deccf=_0x14da;function _0x1703(){const _0x105dba=['27bpaIYA','32666010UIxfRw','counterView','bindTemplate','1110308yRYcvC','ck-presence-list','listenTo','203238yqZMVC','1289278MOLpim','2686824uVdkKg','isCollapsed','inlineListView','set','ck-rounded-corners','1aYYbMJ','25LCvChR','first','tooltipPosition','items','ck-reset','3754618hSsMsf','div','hasPopup','bind','locale','ck-presence-list--collapsed','change','1097760OLgjXa','setTemplate'];_0x1703=function(){return _0x105dba;};return _0x1703();}function _0x14da(_0x338a3d,_0x2e9853){const _0x1703d0=_0x1703();return _0x14da=function(_0x14da8c,_0x1056fa){_0x14da8c=_0x14da8c-0x9d;let _0xc0f205=_0x1703d0[_0x14da8c];return _0xc0f205;},_0x14da(_0x338a3d,_0x2e9853);}(function(_0x4b7e26,_0x50d671){const _0x2e7bda=_0x14da,_0x362b37=_0x4b7e26();while(!![]){try{const _0x9e9114=parseInt(_0x2e7bda(0xb4))/0x1*(-parseInt(_0x2e7bda(0xae))/0x2)+parseInt(_0x2e7bda(0xad))/0x3+-parseInt(_0x2e7bda(0xaa))/0x4*(parseInt(_0x2e7bda(0xb5))/0x5)+parseInt(_0x2e7bda(0xaf))/0x6+-parseInt(_0x2e7bda(0x9d))/0x7+parseInt(_0x2e7bda(0xa4))/0x8*(-parseInt(_0x2e7bda(0xa6))/0x9)+parseInt(_0x2e7bda(0xa7))/0xa;if(_0x9e9114===_0x50d671)break;else _0x362b37['push'](_0x362b37['shift']());}catch(_0x2afc93){_0x362b37['push'](_0x362b37['shift']());}}}(_0x1703,0xc3b39));import{View as _0x56a8cc}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x4601f7}from'./presencecounterview.js';import{PresenceInlineListView as _0x64aee4}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x56a8cc{[_0x2deccf(0xa8)];[_0x2deccf(0xb1)];constructor(_0x5d6fe3,_0x108e29=0x6){const _0x2e11eb=_0x2deccf;super(_0x5d6fe3);const _0x2dc675=this[_0x2e11eb(0xa9)];this[_0x2e11eb(0xb2)](_0x2e11eb(0xb0),!0x0),this[_0x2e11eb(0xa8)]=new _0x4601f7(this[_0x2e11eb(0xa1)],_0x108e29),this[_0x2e11eb(0xb1)]=new _0x64aee4(_0x5d6fe3),this[_0x2e11eb(0xb1)][_0x2e11eb(0xa0)](_0x2e11eb(0x9f))['to'](this,_0x2e11eb(0xb0)),this[_0x2e11eb(0xac)](this[_0x2e11eb(0xb1)][_0x2e11eb(0xb8)],_0x2e11eb(0xa3),()=>{const _0x43eca6=_0x2e11eb;for(const _0x5da002 of this[_0x43eca6(0xb1)][_0x43eca6(0xb8)])_0x5da002[_0x43eca6(0xb7)]='s';this[_0x43eca6(0xb1)][_0x43eca6(0xb8)][_0x43eca6(0xb6)]&&(this[_0x43eca6(0xb1)][_0x43eca6(0xb8)][_0x43eca6(0xb6)][_0x43eca6(0xb7)]='se');}),this[_0x2e11eb(0xa5)]({'tag':_0x2e11eb(0x9e),'attributes':{'class':['ck',_0x2e11eb(0xab),_0x2e11eb(0xb9),_0x2e11eb(0xb3),_0x2dc675['if'](_0x2e11eb(0xb0),_0x2e11eb(0xa2))]},'children':[this[_0x2e11eb(0xb1)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3989(_0x57d68c,_0x46d8e5){var _0x1e734a=_0x1e73();return _0x3989=function(_0x3989c6,_0x5e8ba6){_0x3989c6=_0x3989c6-0x13a;var _0x2b10c4=_0x1e734a[_0x3989c6];return _0x2b10c4;},_0x3989(_0x57d68c,_0x46d8e5);}var _0x26a4a8=_0x3989;(function(_0x282649,_0x488c46){var _0x40a173=_0x3989,_0x3a1916=_0x282649();while(!![]){try{var _0x1c7aef=parseInt(_0x40a173(0x13e))/0x1*(parseInt(_0x40a173(0x13a))/0x2)+parseInt(_0x40a173(0x13c))/0x3+-parseInt(_0x40a173(0x142))/0x4*(parseInt(_0x40a173(0x149))/0x5)+parseInt(_0x40a173(0x140))/0x6*(-parseInt(_0x40a173(0x147))/0x7)+-parseInt(_0x40a173(0x143))/0x8*(-parseInt(_0x40a173(0x145))/0x9)+parseInt(_0x40a173(0x13f))/0xa*(parseInt(_0x40a173(0x144))/0xb)+-parseInt(_0x40a173(0x141))/0xc;if(_0x1c7aef===_0x488c46)break;else _0x3a1916['push'](_0x3a1916['shift']());}catch(_0x15e3cb){_0x3a1916['push'](_0x3a1916['shift']());}}}(_0x1e73,0x2baa2));import{ContextPlugin as _0x419782}from'ckeditor5/src/core.js';function _0x1e73(){var _0x42f278=['27OGaSrb','PresenceList','441889IqFjzO','pluginName','32090asPWNY','isPremiumPlugin','109734CcfySh','requires','850839gTZcym','isOfficialPlugin','3ShlGzO','3288590NMPnjV','6wMyfKc','5582328UBKYON','44OgdvZo','1856cYdsBM','11XXJWGK'];_0x1e73=function(){return _0x42f278;};return _0x1e73();}import{Sessions as _0x3b50fd}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x2021d6}from'./presencelist/presencelistui.js';export class PresenceList extends _0x419782{static get[_0x26a4a8(0x13b)](){return[_0x3b50fd,_0x2021d6];}static get[_0x26a4a8(0x148)](){var _0xc79488=_0x26a4a8;return _0xc79488(0x146);}static get[_0x26a4a8(0x13d)](){return!0x0;}static get[_0x26a4a8(0x14a)](){return!0x0;}}
23
+ var _0x2d04b1=_0x2088;function _0x5743(){var _0x3a6b96=['3592824tklScA','isPremiumPlugin','pluginName','7305516yCIQVc','7482025RquwTM','728gFFimt','isOfficialPlugin','9MwqGjg','406647jSAigO','4QvVzZk','requires','16hmeYZQ','70LGaamk','PresenceList','2123737koynbv','7aeJpTZ','474360wPtjlZ','172510yJuXqt'];_0x5743=function(){return _0x3a6b96;};return _0x5743();}function _0x2088(_0x259dc0,_0x54b2f4){var _0x574335=_0x5743();return _0x2088=function(_0x2088b4,_0x2a3d71){_0x2088b4=_0x2088b4-0x181;var _0x1d9fb4=_0x574335[_0x2088b4];return _0x1d9fb4;},_0x2088(_0x259dc0,_0x54b2f4);}(function(_0x19f4f2,_0x41df0b){var _0x4b9844=_0x2088,_0x449a78=_0x19f4f2();while(!![]){try{var _0x3f5a78=-parseInt(_0x4b9844(0x18f))/0x1*(parseInt(_0x4b9844(0x187))/0x2)+parseInt(_0x4b9844(0x188))/0x3+-parseInt(_0x4b9844(0x191))/0x4*(parseInt(_0x4b9844(0x18c))/0x5)+parseInt(_0x4b9844(0x18b))/0x6*(parseInt(_0x4b9844(0x185))/0x7)+parseInt(_0x4b9844(0x181))/0x8*(-parseInt(_0x4b9844(0x190))/0x9)+parseInt(_0x4b9844(0x182))/0xa*(-parseInt(_0x4b9844(0x184))/0xb)+parseInt(_0x4b9844(0x186))/0xc*(parseInt(_0x4b9844(0x18d))/0xd);if(_0x3f5a78===_0x41df0b)break;else _0x449a78['push'](_0x449a78['shift']());}catch(_0xa155bd){_0x449a78['push'](_0x449a78['shift']());}}}(_0x5743,0xdf3a3));import{ContextPlugin as _0x4be4a7}from'ckeditor5/src/core.js';import{Sessions as _0xff90e1}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x263d70}from'./presencelist/presencelistui.js';export class PresenceList extends _0x4be4a7{static get[_0x2d04b1(0x192)](){return[_0xff90e1,_0x263d70];}static get[_0x2d04b1(0x18a)](){var _0x3cdcaf=_0x2d04b1;return _0x3cdcaf(0x183);}static get[_0x2d04b1(0x18e)](){return!0x0;}static get[_0x2d04b1(0x189)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cdeae=_0x2f6c;(function(_0x449abf,_0x3f9884){const _0x5f2b2c=_0x2f6c,_0x581e38=_0x449abf();while(!![]){try{const _0x2d0925=parseInt(_0x5f2b2c(0x21f))/0x1+parseInt(_0x5f2b2c(0x1f3))/0x2*(parseInt(_0x5f2b2c(0x1f7))/0x3)+parseInt(_0x5f2b2c(0x225))/0x4*(parseInt(_0x5f2b2c(0x216))/0x5)+parseInt(_0x5f2b2c(0x23c))/0x6+-parseInt(_0x5f2b2c(0x209))/0x7+parseInt(_0x5f2b2c(0x235))/0x8*(parseInt(_0x5f2b2c(0x203))/0x9)+-parseInt(_0x5f2b2c(0x239))/0xa;if(_0x2d0925===_0x3f9884)break;else _0x581e38['push'](_0x581e38['shift']());}catch(_0x4d1a5a){_0x581e38['push'](_0x581e38['shift']());}}}(_0x1ebc,0x804c7));import{Context as _0xb8c2d8,ContextPlugin as _0x39c876}from'ckeditor5/src/core.js';import{CKEditorError as _0xf29afb}from'ckeditor5/src/utils.js';import{Users as _0x45208d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1ebc(){const _0xba406c=['mySessionId','addUser','sessionAdd:','CommentsRepository','commentAdded','deletedAt','commentId','cloud-services-internal-error:\x20Not\x20connected.','connect','CommentsService','7655QMLdXa','register','assign','message','getMany','from','_services','getUser','authorId','885874FYwzbF','updateComment','keys','startsWith','userId','requires','1468OSMRVw','reconnect','commentThreadReopened','add','destroy','resolvedAt','init','catch','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','_getService','pluginName','reopen','commentThreadId','commentThreadRemoved','addToReconnectionStack','getConnectedSessions','3730280maDTZE','context','get','disconnect','15326940nqRzbt','_fetchMissingUsersForThreads','config','3635568NjKNrf','comments','_connectService','addCommentThread','isOfficialPlugin','createdAt','unregister','getCommentThreads','isPremiumPlugin','setPermissions','cloud-services-internal-error:\x20Request\x20timeout.','delete','collaboration.channelId','permissions','commentThreadAdded','getComment','adapter','commentThreadResolved','cloudservicescommentsadapter-disconnect-not-exist','resolve','remove','plugins','cloudservicescommentsadapter-service-not-exist','cloudservicescommentsadapter-connect-already-connected','resolveCommentThread','updateCommentThread','404','removeCommentThread','_terminateService','8NaqzAH','code','map','Permissions','210774SWFFHg','set','commentRemoved','resolvedBy','commentUpdated','off','attributes','addComment','removeComment','size','update','listenTo','9OpAOgI','content','CloudServicesCommentsAdapter','has','getCommentThread','reopenCommentThread','5199537gdaUQa','_setUpService','commentThreadUpdated'];_0x1ebc=function(){return _0xba406c;};return _0x1ebc();}import{CommentsService as _0x237c26,User as _0x12b2cb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x2f6c(_0x4de9dd,_0x5e183e){const _0x1ebc2d=_0x1ebc();return _0x2f6c=function(_0x2f6c8c,_0xd02c15){_0x2f6c8c=_0x2f6c8c-0x1e5;let _0x466157=_0x1ebc2d[_0x2f6c8c];return _0x466157;},_0x2f6c(_0x4de9dd,_0x5e183e);}import{WebSocketGateway as _0x4158e6}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5b1a09}from'../realtimecollaborativeediting/sessions.js';class s extends _0x39c876{static [_0x5cdeae(0x215)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x237c26)());[_0x5cdeae(0x21c)];static get[_0x5cdeae(0x224)](){const _0x243f98=_0x5cdeae;return[_0x4158e6,_0x243f98(0x20f),_0x5b1a09,_0x45208d];}static get[_0x5cdeae(0x22f)](){const _0xe65ed=_0x5cdeae;return _0xe65ed(0x205);}static get[_0x5cdeae(0x240)](){return!0x0;}static get[_0x5cdeae(0x244)](){return!0x0;}constructor(_0x18063b){const _0x11ba0a=_0x5cdeae;super(_0x18063b),this[_0x11ba0a(0x21c)]=new Map();}async[_0x5cdeae(0x22b)](){const _0x374afe=_0x5cdeae,_0x15f45b=this[_0x374afe(0x236)],_0x409a91=_0x15f45b[_0x374afe(0x1eb)][_0x374afe(0x237)](_0x374afe(0x20f));if(_0x15f45b[_0x374afe(0x1eb)][_0x374afe(0x237)](_0x4158e6)[_0x374afe(0x233)](this),_0x409a91[_0x374afe(0x1e6)]={'addCommentThread':async({channelId:_0x1bf8e0,threadId:_0x5e2567,comments:_0x57debf,resolvedAt:_0x1361f8,resolvedBy:_0x41672d,context:_0x51b624,attributes:_0x5d83d4})=>{const _0x34f02f=_0x374afe,_0x5c2bf3=await this[_0x34f02f(0x22e)](_0x1bf8e0)[_0x34f02f(0x23f)]({'commentThreadId':_0x5e2567,'comments':_0x57debf[_0x34f02f(0x1f5)](_0x29ba41=>function(_0x796015,_0x5089a8,_0x2ee46a){const _0x2d7e17=_0x34f02f;return{'commentThreadId':_0x2ee46a,'commentId':_0x796015[_0x2d7e17(0x212)],'userId':_0x796015[_0x2d7e17(0x21e)],'content':_0x796015[_0x2d7e17(0x204)],'documentId':_0x5089a8,'createdAt':_0x796015[_0x2d7e17(0x241)],'attributes':_0x796015[_0x2d7e17(0x1fd)]||{}};}(_0x29ba41,_0x1bf8e0,_0x5e2567)),'resolvedAt':_0x1361f8,'resolvedBy':_0x41672d,'context':_0x51b624,'attributes':_0x5d83d4})[_0x34f02f(0x22c)](B);return{'threadId':_0x5c2bf3[_0x34f02f(0x231)],'comments':_0x5c2bf3[_0x34f02f(0x23d)]};},'getCommentThread':async({channelId:_0x378765,threadId:_0x2cdc2f})=>{const _0xb5fd05=_0x374afe,_0x426690=await this[_0xb5fd05(0x22e)](_0x378765)[_0xb5fd05(0x207)](_0x2cdc2f)[_0xb5fd05(0x22c)](B);return _0x426690[_0xb5fd05(0x211)]?null:(await this[_0xb5fd05(0x23a)]([_0x426690]),{'threadId':_0x426690[_0xb5fd05(0x231)],'comments':_0x426690[_0xb5fd05(0x23d)][_0xb5fd05(0x1f5)](U),'context':_0x426690[_0xb5fd05(0x236)],'resolvedAt':_0x426690[_0xb5fd05(0x22a)],'resolvedBy':_0x426690[_0xb5fd05(0x1fa)],'attributes':_0x426690[_0xb5fd05(0x1fd)]||{}});},'updateCommentThread':async({channelId:_0x34f397,threadId:_0x2f27f1,context:_0x48d482,unlinkedAt:_0x35d044,attributes:_0x1a0708})=>this[_0x374afe(0x22e)](_0x34f397)[_0x374afe(0x1ef)]({'commentThreadId':_0x2f27f1,'context':_0x48d482,'attributes':_0x1a0708,'unlinkedAt':_0x35d044})[_0x374afe(0x22c)](F)[_0x374afe(0x22c)](B),'resolveCommentThread':async({channelId:_0x359bd0,threadId:_0x147f80})=>{const _0x47cc7f=_0x374afe,_0x4108c2=await this[_0x47cc7f(0x22e)](_0x359bd0)[_0x47cc7f(0x1ee)](_0x147f80)[_0x47cc7f(0x22c)](F)[_0x47cc7f(0x22c)](B);return{'threadId':_0x4108c2[_0x47cc7f(0x231)],'resolvedAt':_0x4108c2[_0x47cc7f(0x22a)],'resolvedBy':_0x4108c2[_0x47cc7f(0x1fa)]};},'reopenCommentThread':async({channelId:_0x49ec4e,threadId:_0x29ed23})=>this[_0x374afe(0x22e)](_0x49ec4e)[_0x374afe(0x208)](_0x29ed23)[_0x374afe(0x22c)](F)[_0x374afe(0x22c)](B),'removeCommentThread':({channelId:_0x408d0d,threadId:_0x17f1e5})=>this[_0x374afe(0x22e)](_0x408d0d)[_0x374afe(0x1f1)](_0x17f1e5)[_0x374afe(0x22c)](F)[_0x374afe(0x22c)](B),'addComment':({channelId:_0x2eff79,threadId:_0x428399,commentId:_0x2e7bd6,content:_0xf102db,attributes:_0x677fdd})=>this[_0x374afe(0x22e)](_0x2eff79)[_0x374afe(0x1fe)](_0x428399,_0x2e7bd6,_0xf102db,_0x677fdd)[_0x374afe(0x22c)](B),'updateComment':({channelId:_0xa3ce11,threadId:_0x19895f,commentId:_0x719f4b,content:_0x4aad36,attributes:_0x54e7b8})=>this[_0x374afe(0x22e)](_0xa3ce11)[_0x374afe(0x220)](_0x19895f,_0x719f4b,_0x4aad36,_0x54e7b8)[_0x374afe(0x22c)](F)[_0x374afe(0x22c)](B),'removeComment':({channelId:_0x25f7d1,threadId:_0x51057a,commentId:_0x5e4673})=>this[_0x374afe(0x22e)](_0x25f7d1)[_0x374afe(0x1ff)](_0x51057a,_0x5e4673)[_0x374afe(0x22c)](F)[_0x374afe(0x22c)](B)},_0x15f45b instanceof _0xb8c2d8){const _0x1f1ea2=_0x15f45b[_0x374afe(0x23b)][_0x374afe(0x237)](_0x374afe(0x248)),_0x5277de=_0x15f45b[_0x374afe(0x1eb)][_0x374afe(0x237)](_0x5b1a09);await this[_0x374afe(0x20a)](_0x1f1ea2);const _0x1fbcad=await this[_0x374afe(0x21c)][_0x374afe(0x237)](_0x1f1ea2)[_0x374afe(0x234)]();this[_0x374afe(0x202)](_0x5277de,_0x374afe(0x20e)+_0x1f1ea2,(_0x1f6e09,{session:_0x38bf3f})=>{const _0x1273a9=_0x374afe;_0x38bf3f['id']===_0x5277de[_0x1273a9(0x20c)]&&(_0x1f6e09[_0x1273a9(0x1fc)](),this[_0x1273a9(0x236)][_0x1273a9(0x1eb)][_0x1273a9(0x237)](_0x1273a9(0x1f6))[_0x1273a9(0x245)](_0x38bf3f[_0x1273a9(0x249)],_0x1f1ea2));}),_0x5277de[_0x374afe(0x217)](_0x1f1ea2,_0x1fbcad);}}async[_0x5cdeae(0x20a)](_0x46c7c1){const _0x17594b=_0x5cdeae;if(this[_0x17594b(0x21c)][_0x17594b(0x206)](_0x46c7c1))throw new _0xf29afb(_0x17594b(0x1ed),null,{'channelId':_0x46c7c1});const _0x4736d3=this[_0x17594b(0x236)][_0x17594b(0x1eb)][_0x17594b(0x237)](_0x17594b(0x20f)),_0x4d483d=new s[(_0x17594b(0x215))](_0x46c7c1);this[_0x17594b(0x21c)][_0x17594b(0x1f8)](_0x46c7c1,_0x4d483d),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x24a),(_0x62e229,_0x4721aa)=>{const _0x215805=_0x17594b,{commentThreadId:_0x545678,documentId:_0x4de0b8,context:_0x3c8210,attributes:_0x5a3da7,resolvedAt:_0x31eaa6,resolvedBy:_0x4ecfe8,comments:_0x4f3ae8}=_0x4721aa;_0x4736d3[_0x215805(0x207)](_0x545678)||_0x4736d3[_0x215805(0x23f)]({'threadId':_0x545678,'channelId':_0x4de0b8,'comments':_0x4f3ae8?_0x4f3ae8[_0x215805(0x1f5)](U):[],'context':_0x3c8210,'attributes':_0x5a3da7,'resolvedAt':_0x31eaa6,'resolvedBy':_0x4ecfe8,'isFromAdapter':!0x0});}),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x20b),(_0x3df745,{commentThreadId:_0x5ae550,documentId:_0x5dc52f,context:_0x2009e3,unlinkedAt:_0x3333c4,attributes:_0xf23751})=>{const _0x585c3b=_0x17594b;_0x4736d3[_0x585c3b(0x207)](_0x5ae550)&&_0x4736d3[_0x585c3b(0x1ef)]({'threadId':_0x5ae550,'channelId':_0x5dc52f,'context':_0x2009e3,'unlinkedAt':_0x3333c4,'attributes':_0xf23751,'isFromAdapter':!0x0});}),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x1e7),(_0x15c1c1,{commentThreadId:_0x20bc72,resolvedBy:_0x3618a9,resolvedAt:_0x59edfa})=>{const _0x48ad1f=_0x17594b,_0x414552=_0x4736d3[_0x48ad1f(0x207)](_0x20bc72);_0x414552&&_0x414552[_0x48ad1f(0x1e9)]({'resolvedBy':_0x3618a9,'resolvedAt':_0x59edfa,'isFromAdapter':!0x0});}),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x227),(_0x82b597,{commentThreadId:_0x58b9ae})=>{const _0x268b34=_0x17594b,_0x379471=_0x4736d3[_0x268b34(0x207)](_0x58b9ae);_0x379471&&_0x379471[_0x268b34(0x230)]({'isFromAdapter':!0x0});}),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x232),(_0x3a9833,{commentThreadId:_0x33824a})=>{const _0x192600=_0x17594b,_0x464b59=_0x4736d3[_0x192600(0x207)](_0x33824a);_0x464b59&&_0x464b59[_0x192600(0x1ea)]({'isFromAdapter':!0x0});}),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x210),(_0x41b3b2,_0x3d5028)=>{const _0x5dcc18=_0x17594b,_0x2d7f4a=_0x3d5028[_0x5dcc18(0x231)],_0x4ac4d7=_0x4736d3[_0x5dcc18(0x207)](_0x2d7f4a);_0x4ac4d7&&_0x4ac4d7[_0x5dcc18(0x1fe)]({...U(_0x3d5028),'isFromAdapter':!0x0});}),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x1fb),(_0x2d13ee,{commentThreadId:_0xd566b1,commentId:_0x31a0ee,content:_0xa1f1ab,attributes:_0x36a0c1})=>{const _0x23ae55=_0x17594b,_0x266a64=_0x4736d3[_0x23ae55(0x207)](_0xd566b1);if(_0x266a64){const _0xaf920=_0x266a64[_0x23ae55(0x1e5)](_0x31a0ee);_0xaf920&&_0xaf920[_0x23ae55(0x201)]({'content':_0xa1f1ab,'attributes':_0x36a0c1,'isFromAdapter':!0x0});}}),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x1f9),(_0x5f2872,{commentThreadId:_0x70cdd6,commentId:_0x2f6f6a})=>{const _0x45ca0e=_0x17594b,_0x4fd7ae=_0x4736d3[_0x45ca0e(0x207)](_0x70cdd6);if(_0x4fd7ae){const _0x240311=_0x4fd7ae[_0x45ca0e(0x1e5)](_0x2f6f6a);_0x240311&&_0x240311[_0x45ca0e(0x1ea)]({'isFromAdapter':!0x0});}}),await this[_0x17594b(0x23e)](_0x46c7c1);}[_0x5cdeae(0x229)](){const _0x42a233=_0x5cdeae;if(this[_0x42a233(0x236)]instanceof _0xb8c2d8){const _0xe29c16=this[_0x42a233(0x236)][_0x42a233(0x23b)][_0x42a233(0x237)](_0x42a233(0x248));this[_0x42a233(0x1f2)](_0xe29c16);}}[_0x5cdeae(0x1f2)](_0x5a9e4c){const _0x508498=_0x5cdeae;if(!this[_0x508498(0x21c)][_0x508498(0x206)](_0x5a9e4c))throw new _0xf29afb(_0x508498(0x1e8),null,{'channelId':_0x5a9e4c});this[_0x508498(0x22e)](_0x5a9e4c)[_0x508498(0x238)](),this[_0x508498(0x21c)][_0x508498(0x247)](_0x5a9e4c);}async[_0x5cdeae(0x226)](){const _0x46623c=_0x5cdeae;for(const _0x1687c4 of this[_0x46623c(0x21c)][_0x46623c(0x221)]())await this[_0x46623c(0x23e)](_0x1687c4);if(this[_0x46623c(0x236)]instanceof _0xb8c2d8){const _0x3420c8=this[_0x46623c(0x236)][_0x46623c(0x23b)][_0x46623c(0x237)](_0x46623c(0x248)),_0x48de23=this[_0x46623c(0x236)][_0x46623c(0x1eb)][_0x46623c(0x237)](_0x5b1a09);_0x48de23[_0x46623c(0x242)](_0x3420c8);const _0x1f211c=await this[_0x46623c(0x21c)][_0x46623c(0x237)](_0x3420c8)[_0x46623c(0x234)]();_0x48de23[_0x46623c(0x217)](_0x3420c8,_0x1f211c);}}async[_0x5cdeae(0x23e)](_0x4b9243){const _0x2939de=_0x5cdeae,{connection:_0x2ebdaa}=this[_0x2939de(0x236)][_0x2939de(0x1eb)][_0x2939de(0x237)](_0x4158e6),_0x169fd9=this[_0x2939de(0x236)][_0x2939de(0x1eb)][_0x2939de(0x237)](_0x2939de(0x20f)),_0x3401f0=this[_0x2939de(0x21c)][_0x2939de(0x237)](_0x4b9243),_0x23d986=await _0x3401f0[_0x2939de(0x214)](_0x2ebdaa);await this[_0x2939de(0x23a)](_0x23d986);const _0x13e618=new Set(Array[_0x2939de(0x21b)](_0x169fd9[_0x2939de(0x243)]({'channelId':_0x4b9243}),_0x478e6d=>_0x478e6d['id']));for(const _0x1698d2 of _0x23d986)_0x1698d2[_0x2939de(0x211)]||_0x13e618[_0x2939de(0x247)](_0x1698d2[_0x2939de(0x231)]);for(const _0x30859b of _0x13e618)_0x169fd9[_0x2939de(0x207)](_0x30859b)[_0x2939de(0x1ea)]({'isFromAdapter':!0x0});for(const _0x3596ab of _0x23d986){let _0x3fca04=_0x169fd9[_0x2939de(0x207)](_0x3596ab[_0x2939de(0x231)]);const {commentThreadId:_0x2bb57a,context:_0x3d1d22,attributes:_0x14fd1a,resolvedBy:_0x37f80f,resolvedAt:_0x32d79f,unlinkedAt:_0x4fea85,deletedAt:_0x18a938}=_0x3596ab;if(_0x18a938)continue;_0x3fca04||(_0x3fca04=_0x169fd9[_0x2939de(0x23f)]({'channelId':_0x4b9243,'threadId':_0x2bb57a,'context':_0x3d1d22,'attributes':_0x14fd1a||{},'resolvedBy':_0x37f80f,'resolvedAt':_0x32d79f,'unlinkedAt':_0x4fea85,'isFromAdapter':!0x0}));const _0x1771be=new Set(Array[_0x2939de(0x21b)](_0x3fca04[_0x2939de(0x23d)],_0x8d5f0e=>_0x8d5f0e['id']));for(const _0x131d36 of _0x3596ab[_0x2939de(0x23d)])_0x1771be[_0x2939de(0x247)](_0x131d36[_0x2939de(0x212)]);for(const _0x3e2dd8 of _0x1771be)_0x3fca04[_0x2939de(0x1e5)](_0x3e2dd8)[_0x2939de(0x1ea)]({'isFromAdapter':!0x0});for(const _0x594537 of _0x3596ab[_0x2939de(0x23d)]){const _0x36acfe=_0x3fca04[_0x2939de(0x1e5)](_0x594537[_0x2939de(0x212)]);_0x36acfe?_0x36acfe[_0x2939de(0x204)]!==_0x594537[_0x2939de(0x204)]&&_0x36acfe[_0x2939de(0x201)]({'content':_0x594537[_0x2939de(0x204)],'isFromAdapter':!0x0}):_0x3fca04[_0x2939de(0x1fe)](Object[_0x2939de(0x218)](U(_0x594537),{'isFromAdapter':!0x0}));}}}[_0x5cdeae(0x22e)](_0x45268f){const _0xadabce=_0x5cdeae;if(!this[_0xadabce(0x21c)][_0xadabce(0x206)](_0x45268f))throw new _0xf29afb(_0xadabce(0x1ec),null,{'channelId':_0x45268f});return this[_0xadabce(0x21c)][_0xadabce(0x237)](_0x45268f);}async[_0x5cdeae(0x23a)](_0x3137b4){const _0x57d8ee=_0x5cdeae,_0x7fcde7=this[_0x57d8ee(0x236)][_0x57d8ee(0x1eb)][_0x57d8ee(0x237)](_0x45208d),{connection:_0x4ec6da}=this[_0x57d8ee(0x236)][_0x57d8ee(0x1eb)][_0x57d8ee(0x237)](_0x4158e6),_0x2c17c0=new Set();for(const {resolvedBy:_0x1f9415,comments:_0x2ba1ca}of _0x3137b4){_0x1f9415&&!_0x7fcde7[_0x57d8ee(0x21d)](_0x1f9415)&&_0x2c17c0[_0x57d8ee(0x228)](_0x1f9415);for(const {userId:_0x2eb3a9}of _0x2ba1ca)_0x7fcde7[_0x57d8ee(0x21d)](_0x2eb3a9)||_0x2c17c0[_0x57d8ee(0x228)](_0x2eb3a9);}if(0x0===_0x2c17c0[_0x57d8ee(0x200)])return;const _0x473bdd=await _0x12b2cb[_0x57d8ee(0x21a)](_0x4ec6da,Array[_0x57d8ee(0x21b)](_0x2c17c0));for(const _0x3b4908 of _0x473bdd)_0x7fcde7[_0x57d8ee(0x21d)](_0x3b4908['id'])||_0x7fcde7[_0x57d8ee(0x20d)](_0x3b4908);}}export{s as CloudServicesCommentsAdapter};async function F(_0x62fdd5){const _0xf1cb8a=_0x5cdeae;if(_0xf1cb8a(0x1f0)!==_0x62fdd5[_0xf1cb8a(0x1f4)])throw _0x62fdd5;}function B(_0xd346c){const _0x48e0b1=_0x5cdeae;if((_0x48d68a=_0xd346c)[_0x48e0b1(0x219)][_0x48e0b1(0x222)](_0x48e0b1(0x22d))||_0x48d68a[_0x48e0b1(0x219)][_0x48e0b1(0x222)](_0x48e0b1(0x213))||_0x48d68a[_0x48e0b1(0x219)][_0x48e0b1(0x222)](_0x48e0b1(0x246)))return new Promise(()=>{});var _0x48d68a;throw _0xd346c;}function U(_0x2c6878){const _0x1e79b0=_0x5cdeae;return{'threadId':_0x2c6878[_0x1e79b0(0x231)],'commentId':_0x2c6878[_0x1e79b0(0x212)],'content':_0x2c6878[_0x1e79b0(0x204)],'createdAt':_0x2c6878[_0x1e79b0(0x241)],'authorId':_0x2c6878[_0x1e79b0(0x223)],'attributes':_0x2c6878[_0x1e79b0(0x1fd)]||{}};}
23
+ function _0x5276(_0x3c5083,_0x1faf11){const _0x40a306=_0x40a3();return _0x5276=function(_0x527633,_0xca946c){_0x527633=_0x527633-0x106;let _0x1e3982=_0x40a306[_0x527633];return _0x1e3982;},_0x5276(_0x3c5083,_0x1faf11);}const _0x1e0912=_0x5276;(function(_0x296d63,_0x428466){const _0x31bed4=_0x5276,_0x141059=_0x296d63();while(!![]){try{const _0x3ce593=parseInt(_0x31bed4(0x14e))/0x1*(-parseInt(_0x31bed4(0x12c))/0x2)+-parseInt(_0x31bed4(0x150))/0x3+-parseInt(_0x31bed4(0x108))/0x4*(-parseInt(_0x31bed4(0x10e))/0x5)+parseInt(_0x31bed4(0x114))/0x6+parseInt(_0x31bed4(0x110))/0x7+parseInt(_0x31bed4(0x127))/0x8+-parseInt(_0x31bed4(0x13f))/0x9*(parseInt(_0x31bed4(0x12a))/0xa);if(_0x3ce593===_0x428466)break;else _0x141059['push'](_0x141059['shift']());}catch(_0x1ccee1){_0x141059['push'](_0x141059['shift']());}}}(_0x40a3,0x192c0));import{Context as _0x4b9e9,ContextPlugin as _0x183bea}from'ckeditor5/src/core.js';import{CKEditorError as _0x1bbc76}from'ckeditor5/src/utils.js';import{Users as _0x2eb7dd}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x10a965,User as _0x224393}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x40a3(){const _0x24b641=['commentThreadRemoved','adapter','30KvdYyB','getComment','2GGLBpK','delete','commentUpdated','createdAt','off','getConnectedSessions','_services','_connectService','reopen','permissions','commentThreadUpdated','getUser','cloud-services-internal-error:\x20Not\x20connected.','commentAdded','register','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','init','addComment','attributes','314586MqWoXk','content','remove','commentThreadAdded','commentId','collaboration.channelId','add','getCommentThread','isOfficialPlugin','code','config','updateCommentThread','plugins','_terminateService','cloudservicescommentsadapter-service-not-exist','78583yThRXO','reopenCommentThread','300759sTeHwj','setPermissions','cloudservicescommentsadapter-disconnect-not-exist','resolveCommentThread','unregister','reconnect','startsWith','sessionAdd:','catch','commentThreadId','commentRemoved','pluginName','_setUpService','updateComment','message','connect','keys','removeComment','deletedAt','get','addToReconnectionStack','listenTo','resolve','assign','destroy','CommentsService','requires','update','userId','cloudservicescommentsadapter-connect-already-connected','310664MLdlSY','addCommentThread','_fetchMissingUsersForThreads','has','CommentsRepository','cloud-services-internal-error:\x20Request\x20timeout.','5zBZJQa','CloudServicesCommentsAdapter','631841gqYrbv','authorId','size','comments','499266yJQMQI','addUser','from','getMany','404','commentThreadReopened','resolvedBy','resolvedAt','Permissions','context','commentThreadResolved','isPremiumPlugin','map','set','_getService','removeCommentThread','disconnect','getCommentThreads','mySessionId','1085296JDVObU'];_0x40a3=function(){return _0x24b641;};return _0x40a3();}import{WebSocketGateway as _0x518ec5}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x3fc0ec}from'../realtimecollaborativeediting/sessions.js';class s extends _0x183bea{static [_0x1e0912(0x169)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x10a965)());[_0x1e0912(0x132)];static get[_0x1e0912(0x16a)](){const _0xa75286=_0x1e0912;return[_0x518ec5,_0xa75286(0x10c),_0x3fc0ec,_0x2eb7dd];}static get[_0x1e0912(0x15b)](){const _0x89d248=_0x1e0912;return _0x89d248(0x10f);}static get[_0x1e0912(0x147)](){return!0x0;}static get[_0x1e0912(0x11f)](){return!0x0;}constructor(_0xd5d977){const _0x53111f=_0x1e0912;super(_0xd5d977),this[_0x53111f(0x132)]=new Map();}async[_0x1e0912(0x13c)](){const _0xf589a9=_0x1e0912,_0x4c060b=this[_0xf589a9(0x11d)],_0x4b6ada=_0x4c060b[_0xf589a9(0x14b)][_0xf589a9(0x163)](_0xf589a9(0x10c));if(_0x4c060b[_0xf589a9(0x14b)][_0xf589a9(0x163)](_0x518ec5)[_0xf589a9(0x164)](this),_0x4b6ada[_0xf589a9(0x129)]={'addCommentThread':async({channelId:_0x41e1e6,threadId:_0x16f2c6,comments:_0x1d4550,resolvedAt:_0x56db34,resolvedBy:_0x37e630,context:_0x232c4d,attributes:_0x3c46a2})=>{const _0x34ecef=_0xf589a9,_0x5f515f=await this[_0x34ecef(0x122)](_0x41e1e6)[_0x34ecef(0x109)]({'commentThreadId':_0x16f2c6,'comments':_0x1d4550[_0x34ecef(0x120)](_0x14a1c5=>function(_0x320257,_0x1a3889,_0x210b3e){const _0x4b45f1=_0x34ecef;return{'commentThreadId':_0x210b3e,'commentId':_0x320257[_0x4b45f1(0x143)],'userId':_0x320257[_0x4b45f1(0x111)],'content':_0x320257[_0x4b45f1(0x140)],'documentId':_0x1a3889,'createdAt':_0x320257[_0x4b45f1(0x12f)],'attributes':_0x320257[_0x4b45f1(0x13e)]||{}};}(_0x14a1c5,_0x41e1e6,_0x16f2c6)),'resolvedAt':_0x56db34,'resolvedBy':_0x37e630,'context':_0x232c4d,'attributes':_0x3c46a2})[_0x34ecef(0x158)](k);return{'threadId':_0x5f515f[_0x34ecef(0x159)],'comments':_0x5f515f[_0x34ecef(0x113)]};},'getCommentThread':async({channelId:_0x3b4ddc,threadId:_0x3a8441})=>{const _0x49cd10=_0xf589a9,_0x14e9ff=await this[_0x49cd10(0x122)](_0x3b4ddc)[_0x49cd10(0x146)](_0x3a8441)[_0x49cd10(0x158)](F)[_0x49cd10(0x158)](k);return _0x14e9ff?_0x14e9ff[_0x49cd10(0x162)]?null:(await this[_0x49cd10(0x10a)]([_0x14e9ff]),{'threadId':_0x14e9ff[_0x49cd10(0x159)],'comments':_0x14e9ff[_0x49cd10(0x113)][_0x49cd10(0x120)](B),'context':_0x14e9ff[_0x49cd10(0x11d)],'resolvedAt':_0x14e9ff[_0x49cd10(0x11b)],'resolvedBy':_0x14e9ff[_0x49cd10(0x11a)],'attributes':_0x14e9ff[_0x49cd10(0x13e)]||{}}):null;},'updateCommentThread':async({channelId:_0x5f2c94,threadId:_0x2b8b15,context:_0x4ca562,unlinkedAt:_0x4a9497,attributes:_0x4693d8})=>this[_0xf589a9(0x122)](_0x5f2c94)[_0xf589a9(0x14a)]({'commentThreadId':_0x2b8b15,'context':_0x4ca562,'attributes':_0x4693d8,'unlinkedAt':_0x4a9497})[_0xf589a9(0x158)](F)[_0xf589a9(0x158)](k),'resolveCommentThread':async({channelId:_0x3858db,threadId:_0x5a34a0})=>{const _0x2898d7=_0xf589a9,_0x44002d=await this[_0x2898d7(0x122)](_0x3858db)[_0x2898d7(0x153)](_0x5a34a0)[_0x2898d7(0x158)](F)[_0x2898d7(0x158)](k);return{'threadId':_0x44002d[_0x2898d7(0x159)],'resolvedAt':_0x44002d[_0x2898d7(0x11b)],'resolvedBy':_0x44002d[_0x2898d7(0x11a)]};},'reopenCommentThread':async({channelId:_0x415439,threadId:_0x43435b})=>this[_0xf589a9(0x122)](_0x415439)[_0xf589a9(0x14f)](_0x43435b)[_0xf589a9(0x158)](F)[_0xf589a9(0x158)](k),'removeCommentThread':({channelId:_0x518425,threadId:_0xd9389e})=>this[_0xf589a9(0x122)](_0x518425)[_0xf589a9(0x123)](_0xd9389e)[_0xf589a9(0x158)](F)[_0xf589a9(0x158)](k),'addComment':({channelId:_0x46d6f3,threadId:_0x44d4ac,commentId:_0x308152,content:_0x1b1d31,attributes:_0x32c634})=>this[_0xf589a9(0x122)](_0x46d6f3)[_0xf589a9(0x13d)](_0x44d4ac,_0x308152,_0x1b1d31,_0x32c634)[_0xf589a9(0x158)](k),'updateComment':({channelId:_0x4efbc8,threadId:_0x187fde,commentId:_0x355097,content:_0x4245a2,attributes:_0x50f428})=>this[_0xf589a9(0x122)](_0x4efbc8)[_0xf589a9(0x15d)](_0x187fde,_0x355097,_0x4245a2,_0x50f428)[_0xf589a9(0x158)](F)[_0xf589a9(0x158)](k),'removeComment':({channelId:_0x2d0361,threadId:_0x11be0c,commentId:_0x43bb66})=>this[_0xf589a9(0x122)](_0x2d0361)[_0xf589a9(0x161)](_0x11be0c,_0x43bb66)[_0xf589a9(0x158)](F)[_0xf589a9(0x158)](k)},_0x4c060b instanceof _0x4b9e9){const _0x18d3cd=_0x4c060b[_0xf589a9(0x149)][_0xf589a9(0x163)](_0xf589a9(0x144)),_0x228068=_0x4c060b[_0xf589a9(0x14b)][_0xf589a9(0x163)](_0x3fc0ec);await this[_0xf589a9(0x15c)](_0x18d3cd);const _0x22b62d=await this[_0xf589a9(0x132)][_0xf589a9(0x163)](_0x18d3cd)[_0xf589a9(0x131)]();this[_0xf589a9(0x165)](_0x228068,_0xf589a9(0x157)+_0x18d3cd,(_0x8cfd7a,{session:_0x673ad1})=>{const _0x3a1fab=_0xf589a9;_0x673ad1['id']===_0x228068[_0x3a1fab(0x126)]&&(_0x8cfd7a[_0x3a1fab(0x130)](),this[_0x3a1fab(0x11d)][_0x3a1fab(0x14b)][_0x3a1fab(0x163)](_0x3a1fab(0x11c))[_0x3a1fab(0x151)](_0x673ad1[_0x3a1fab(0x135)],_0x18d3cd));}),_0x228068[_0xf589a9(0x13a)](_0x18d3cd,_0x22b62d);}}async[_0x1e0912(0x15c)](_0x58b648){const _0x2c52dd=_0x1e0912;if(this[_0x2c52dd(0x132)][_0x2c52dd(0x10b)](_0x58b648))throw new _0x1bbc76(_0x2c52dd(0x107),null,{'channelId':_0x58b648});const _0x456849=this[_0x2c52dd(0x11d)][_0x2c52dd(0x14b)][_0x2c52dd(0x163)](_0x2c52dd(0x10c)),_0x2e9c1b=new s[(_0x2c52dd(0x169))](_0x58b648);this[_0x2c52dd(0x132)][_0x2c52dd(0x121)](_0x58b648,_0x2e9c1b),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x142),(_0x13899c,_0x226738)=>{const _0x442ac4=_0x2c52dd,{commentThreadId:_0x2d3dc3,documentId:_0x10fac8,context:_0x1ce843,attributes:_0x21076d,resolvedAt:_0x2159eb,resolvedBy:_0xb29625,comments:_0x2c63e9}=_0x226738;_0x456849[_0x442ac4(0x146)](_0x2d3dc3)||_0x456849[_0x442ac4(0x109)]({'threadId':_0x2d3dc3,'channelId':_0x10fac8,'comments':_0x2c63e9?_0x2c63e9[_0x442ac4(0x120)](B):[],'context':_0x1ce843,'attributes':_0x21076d,'resolvedAt':_0x2159eb,'resolvedBy':_0xb29625,'isFromAdapter':!0x0});}),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x136),(_0x3ead4a,{commentThreadId:_0x1d014a,documentId:_0x50d7f1,context:_0x5f5360,unlinkedAt:_0x45edbb,attributes:_0x367e35})=>{const _0x10de8a=_0x2c52dd;_0x456849[_0x10de8a(0x146)](_0x1d014a)&&_0x456849[_0x10de8a(0x14a)]({'threadId':_0x1d014a,'channelId':_0x50d7f1,'context':_0x5f5360,'unlinkedAt':_0x45edbb,'attributes':_0x367e35,'isFromAdapter':!0x0});}),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x11e),(_0x12e9f9,{commentThreadId:_0x3dcfcd,resolvedBy:_0x3df38d,resolvedAt:_0x43d002})=>{const _0x5bc27e=_0x2c52dd,_0x2a3c7b=_0x456849[_0x5bc27e(0x146)](_0x3dcfcd);_0x2a3c7b&&_0x2a3c7b[_0x5bc27e(0x166)]({'resolvedBy':_0x3df38d,'resolvedAt':_0x43d002,'isFromAdapter':!0x0});}),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x119),(_0x4458b9,{commentThreadId:_0x57ca91})=>{const _0x2a0898=_0x2c52dd,_0x505da0=_0x456849[_0x2a0898(0x146)](_0x57ca91);_0x505da0&&_0x505da0[_0x2a0898(0x134)]({'isFromAdapter':!0x0});}),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x128),(_0x34e037,{commentThreadId:_0x2ebb35})=>{const _0x16adf0=_0x2c52dd,_0x50eecc=_0x456849[_0x16adf0(0x146)](_0x2ebb35);_0x50eecc&&_0x50eecc[_0x16adf0(0x141)]({'isFromAdapter':!0x0});}),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x139),(_0x25fe1c,_0x39f36b)=>{const _0x233588=_0x2c52dd,_0x1be920=_0x39f36b[_0x233588(0x159)],_0x191347=_0x456849[_0x233588(0x146)](_0x1be920);_0x191347&&_0x191347[_0x233588(0x13d)]({...B(_0x39f36b),'isFromAdapter':!0x0});}),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x12e),(_0x219336,{commentThreadId:_0x20cffa,commentId:_0x190e24,content:_0x2340a4,attributes:_0x53d754})=>{const _0x4df7c4=_0x2c52dd,_0x2fd03e=_0x456849[_0x4df7c4(0x146)](_0x20cffa);if(_0x2fd03e){const _0x9314a2=_0x2fd03e[_0x4df7c4(0x12b)](_0x190e24);_0x9314a2&&_0x9314a2[_0x4df7c4(0x16b)]({'content':_0x2340a4,'attributes':_0x53d754,'isFromAdapter':!0x0});}}),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x15a),(_0x5c9f41,{commentThreadId:_0x15d733,commentId:_0x2e424b})=>{const _0x2b3d74=_0x2c52dd,_0x3de68b=_0x456849[_0x2b3d74(0x146)](_0x15d733);if(_0x3de68b){const _0x48543a=_0x3de68b[_0x2b3d74(0x12b)](_0x2e424b);_0x48543a&&_0x48543a[_0x2b3d74(0x141)]({'isFromAdapter':!0x0});}}),await this[_0x2c52dd(0x133)](_0x58b648);}[_0x1e0912(0x168)](){const _0x26de90=_0x1e0912;if(this[_0x26de90(0x11d)]instanceof _0x4b9e9){const _0x374ab0=this[_0x26de90(0x11d)][_0x26de90(0x149)][_0x26de90(0x163)](_0x26de90(0x144));this[_0x26de90(0x14c)](_0x374ab0);}}[_0x1e0912(0x14c)](_0x1ee743){const _0x1e758e=_0x1e0912;if(!this[_0x1e758e(0x132)][_0x1e758e(0x10b)](_0x1ee743))throw new _0x1bbc76(_0x1e758e(0x152),null,{'channelId':_0x1ee743});this[_0x1e758e(0x122)](_0x1ee743)[_0x1e758e(0x124)](),this[_0x1e758e(0x132)][_0x1e758e(0x12d)](_0x1ee743);}async[_0x1e0912(0x155)](){const _0x3f1213=_0x1e0912;for(const _0x5242a9 of this[_0x3f1213(0x132)][_0x3f1213(0x160)]())await this[_0x3f1213(0x133)](_0x5242a9);if(this[_0x3f1213(0x11d)]instanceof _0x4b9e9){const _0x46c3ba=this[_0x3f1213(0x11d)][_0x3f1213(0x149)][_0x3f1213(0x163)](_0x3f1213(0x144)),_0x24655b=this[_0x3f1213(0x11d)][_0x3f1213(0x14b)][_0x3f1213(0x163)](_0x3fc0ec);_0x24655b[_0x3f1213(0x154)](_0x46c3ba);const _0x401381=await this[_0x3f1213(0x132)][_0x3f1213(0x163)](_0x46c3ba)[_0x3f1213(0x131)]();_0x24655b[_0x3f1213(0x13a)](_0x46c3ba,_0x401381);}}async[_0x1e0912(0x133)](_0x4d9f31){const _0x5f2be4=_0x1e0912,{connection:_0x28082e}=this[_0x5f2be4(0x11d)][_0x5f2be4(0x14b)][_0x5f2be4(0x163)](_0x518ec5),_0x1c0f50=this[_0x5f2be4(0x11d)][_0x5f2be4(0x14b)][_0x5f2be4(0x163)](_0x5f2be4(0x10c)),_0x4d2600=this[_0x5f2be4(0x132)][_0x5f2be4(0x163)](_0x4d9f31),_0x16b608=await _0x4d2600[_0x5f2be4(0x15f)](_0x28082e);await this[_0x5f2be4(0x10a)](_0x16b608);const _0x585706=new Set(Array[_0x5f2be4(0x116)](_0x1c0f50[_0x5f2be4(0x125)]({'channelId':_0x4d9f31}),_0x57708f=>_0x57708f['id']));for(const _0x1f2e76 of _0x16b608)_0x1f2e76[_0x5f2be4(0x162)]||_0x585706[_0x5f2be4(0x12d)](_0x1f2e76[_0x5f2be4(0x159)]);for(const _0x5acf6b of _0x585706)_0x1c0f50[_0x5f2be4(0x146)](_0x5acf6b)[_0x5f2be4(0x141)]({'isFromAdapter':!0x0});for(const _0x5233c4 of _0x16b608){let _0x52c978=_0x1c0f50[_0x5f2be4(0x146)](_0x5233c4[_0x5f2be4(0x159)]);const {commentThreadId:_0x5ad864,context:_0x5176a8,attributes:_0x35d663,resolvedBy:_0x501016,resolvedAt:_0x5a94df,unlinkedAt:_0x275c09,deletedAt:_0x1ab6fc}=_0x5233c4;if(_0x1ab6fc)continue;_0x52c978||(_0x52c978=_0x1c0f50[_0x5f2be4(0x109)]({'channelId':_0x4d9f31,'threadId':_0x5ad864,'context':_0x5176a8,'attributes':_0x35d663||{},'resolvedBy':_0x501016,'resolvedAt':_0x5a94df,'unlinkedAt':_0x275c09,'isFromAdapter':!0x0}));const _0x37cb1c=new Set(Array[_0x5f2be4(0x116)](_0x52c978[_0x5f2be4(0x113)],_0x410ae0=>_0x410ae0['id']));for(const _0x2f1e63 of _0x5233c4[_0x5f2be4(0x113)])_0x37cb1c[_0x5f2be4(0x12d)](_0x2f1e63[_0x5f2be4(0x143)]);for(const _0x4d0574 of _0x37cb1c)_0x52c978[_0x5f2be4(0x12b)](_0x4d0574)[_0x5f2be4(0x141)]({'isFromAdapter':!0x0});for(const _0x1fb108 of _0x5233c4[_0x5f2be4(0x113)]){const _0x11372a=_0x52c978[_0x5f2be4(0x12b)](_0x1fb108[_0x5f2be4(0x143)]);_0x11372a?_0x11372a[_0x5f2be4(0x140)]!==_0x1fb108[_0x5f2be4(0x140)]&&_0x11372a[_0x5f2be4(0x16b)]({'content':_0x1fb108[_0x5f2be4(0x140)],'isFromAdapter':!0x0}):_0x52c978[_0x5f2be4(0x13d)](Object[_0x5f2be4(0x167)](B(_0x1fb108),{'isFromAdapter':!0x0}));}}}[_0x1e0912(0x122)](_0x54049e){const _0x1a1dd9=_0x1e0912;if(!this[_0x1a1dd9(0x132)][_0x1a1dd9(0x10b)](_0x54049e))throw new _0x1bbc76(_0x1a1dd9(0x14d),null,{'channelId':_0x54049e});return this[_0x1a1dd9(0x132)][_0x1a1dd9(0x163)](_0x54049e);}async[_0x1e0912(0x10a)](_0x17f02a){const _0x3c0f09=_0x1e0912,_0x1ca585=this[_0x3c0f09(0x11d)][_0x3c0f09(0x14b)][_0x3c0f09(0x163)](_0x2eb7dd),{connection:_0x17c712}=this[_0x3c0f09(0x11d)][_0x3c0f09(0x14b)][_0x3c0f09(0x163)](_0x518ec5),_0x2c77a7=new Set();for(const {resolvedBy:_0x2ffc43,comments:_0xb75b28}of _0x17f02a){_0x2ffc43&&!_0x1ca585[_0x3c0f09(0x137)](_0x2ffc43)&&_0x2c77a7[_0x3c0f09(0x145)](_0x2ffc43);for(const {userId:_0x25471b}of _0xb75b28)_0x1ca585[_0x3c0f09(0x137)](_0x25471b)||_0x2c77a7[_0x3c0f09(0x145)](_0x25471b);}if(0x0===_0x2c77a7[_0x3c0f09(0x112)])return;const _0x13928b=await _0x224393[_0x3c0f09(0x117)](_0x17c712,Array[_0x3c0f09(0x116)](_0x2c77a7));for(const _0x1f9e39 of _0x13928b)_0x1ca585[_0x3c0f09(0x137)](_0x1f9e39['id'])||_0x1ca585[_0x3c0f09(0x115)](_0x1f9e39);}}export{s as CloudServicesCommentsAdapter};async function F(_0x34fe5a){const _0x5f3b73=_0x1e0912;if(_0x5f3b73(0x118)!==_0x34fe5a[_0x5f3b73(0x148)])throw _0x34fe5a;}function k(_0x1b2354){const _0x3dfe1f=_0x1e0912;if((_0x3cffbe=_0x1b2354)[_0x3dfe1f(0x15e)][_0x3dfe1f(0x156)](_0x3dfe1f(0x13b))||_0x3cffbe[_0x3dfe1f(0x15e)][_0x3dfe1f(0x156)](_0x3dfe1f(0x138))||_0x3cffbe[_0x3dfe1f(0x15e)][_0x3dfe1f(0x156)](_0x3dfe1f(0x10d)))return new Promise(()=>{});var _0x3cffbe;throw _0x1b2354;}function B(_0x273970){const _0x21dfcd=_0x1e0912;return{'threadId':_0x273970[_0x21dfcd(0x159)],'commentId':_0x273970[_0x21dfcd(0x143)],'content':_0x273970[_0x21dfcd(0x140)],'createdAt':_0x273970[_0x21dfcd(0x12f)],'authorId':_0x273970[_0x21dfcd(0x106)],'attributes':_0x273970[_0x21dfcd(0x13e)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19218e=_0x1a1f;function _0x908b(){const _0x4f20e9=['listenTo','612916haAPzg','collaboration.channelId','editor','2974614XVXGkk','2wnzFUQ','99HdUBzK','isOfficialPlugin','once','plugins','638589VMfYxZ','switchReadOnly','665272MfmCos','2477646IbECFS','pluginName','requires','5fbbRqp','config','get','init','111190dZbZiu','CommentsEditing','connected','CommentsRepository','isPremiumPlugin','change:state','RealTimeCollaborativeComments','_setUpService','3892553QCgkxo','_terminateService','data','ready','destroy','Comments','isThreadsLoadingPaused'];_0x908b=function(){return _0x4f20e9;};return _0x908b();}(function(_0xa8ecd5,_0x1d6fd9){const _0x1b8d29=_0x1a1f,_0x5daa33=_0xa8ecd5();while(!![]){try{const _0x1e760f=-parseInt(_0x1b8d29(0x95))/0x1+-parseInt(_0x1b8d29(0x90))/0x2*(-parseInt(_0x1b8d29(0x8f))/0x3)+parseInt(_0x1b8d29(0x8c))/0x4+parseInt(_0x1b8d29(0x9b))/0x5*(-parseInt(_0x1b8d29(0x98))/0x6)+parseInt(_0x1b8d29(0x84))/0x7+parseInt(_0x1b8d29(0x97))/0x8+parseInt(_0x1b8d29(0x91))/0x9*(parseInt(_0x1b8d29(0x9f))/0xa);if(_0x1e760f===_0x1d6fd9)break;else _0x5daa33['push'](_0x5daa33['shift']());}catch(_0x3b929f){_0x5daa33['push'](_0x5daa33['shift']());}}}(_0x908b,0xd0b00));import{Plugin as _0x274199}from'ckeditor5/src/core.js';function _0x1a1f(_0x3d7fda,_0x4d3b13){const _0x908b8d=_0x908b();return _0x1a1f=function(_0x1a1f9f,_0x5a7a70){_0x1a1f9f=_0x1a1f9f-0x7e;let _0x1da7ca=_0x908b8d[_0x1a1f9f];return _0x1da7ca;},_0x1a1f(_0x3d7fda,_0x4d3b13);}import{CloudServicesCommentsAdapter as _0x3340f4}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x5c56ec}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x5b6e06}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x274199{static get[_0x19218e(0x9a)](){const _0x90438a=_0x19218e;return[_0x90438a(0x89),_0x3340f4,_0x5c56ec,_0x5b6e06];}static get[_0x19218e(0x99)](){const _0xf22c7a=_0x19218e;return _0xf22c7a(0x82);}static get[_0x19218e(0x92)](){return!0x0;}static get[_0x19218e(0x80)](){return!0x0;}[_0x19218e(0x9e)](){const _0x1153a7=_0x19218e,_0x13fb6b=this[_0x1153a7(0x8e)][_0x1153a7(0x94)][_0x1153a7(0x9d)](_0x5b6e06),_0x1260c4=this[_0x1153a7(0x8e)][_0x1153a7(0x94)][_0x1153a7(0x9d)](_0x1153a7(0xa0)),_0x43dad1=this[_0x1153a7(0x8e)][_0x1153a7(0x94)][_0x1153a7(0x9d)](_0x3340f4);return this[_0x1153a7(0x8e)][_0x1153a7(0x86)][_0x1153a7(0x93)](_0x1153a7(0x87),()=>{const _0x5a4907=_0x1153a7;this[_0x5a4907(0x8b)](_0x13fb6b,_0x5a4907(0x81),(_0x256eef,_0x3ee45d,_0x5546ae)=>{const _0x4dab26=_0x5a4907;_0x1260c4[_0x4dab26(0x8a)]=_0x4dab26(0x7e)!==_0x5546ae;});}),this[_0x1153a7(0x8b)](_0x13fb6b,_0x1153a7(0x81),(_0x22711d,_0x1f27fc,_0x17b65a)=>{const _0x4f5c29=_0x1153a7;this[_0x4f5c29(0x8e)][_0x4f5c29(0x94)][_0x4f5c29(0x9d)](_0x4f5c29(0x7f))[_0x4f5c29(0x96)](_0x4f5c29(0x7e)!==_0x17b65a);}),_0x43dad1[_0x1153a7(0x83)](this[_0x1153a7(0x8e)][_0x1153a7(0x9c)][_0x1153a7(0x9d)](_0x1153a7(0x8d)));}[_0x19218e(0x88)](){const _0x303964=_0x19218e;this[_0x303964(0x8e)][_0x303964(0x94)][_0x303964(0x9d)](_0x3340f4)[_0x303964(0x85)](this[_0x303964(0x8e)][_0x303964(0x9c)][_0x303964(0x9d)](_0x303964(0x8d))),super[_0x303964(0x88)]();}}
23
+ const _0x357f2c=_0x5288;(function(_0x3acf49,_0xe2d09d){const _0x6fdf0e=_0x5288,_0x38bd81=_0x3acf49();while(!![]){try{const _0x28f808=-parseInt(_0x6fdf0e(0x118))/0x1*(parseInt(_0x6fdf0e(0x111))/0x2)+-parseInt(_0x6fdf0e(0x10b))/0x3*(-parseInt(_0x6fdf0e(0x119))/0x4)+parseInt(_0x6fdf0e(0x108))/0x5+-parseInt(_0x6fdf0e(0xfa))/0x6+-parseInt(_0x6fdf0e(0x106))/0x7+-parseInt(_0x6fdf0e(0xff))/0x8+-parseInt(_0x6fdf0e(0x10d))/0x9*(-parseInt(_0x6fdf0e(0x115))/0xa);if(_0x28f808===_0xe2d09d)break;else _0x38bd81['push'](_0x38bd81['shift']());}catch(_0x5319e3){_0x38bd81['push'](_0x38bd81['shift']());}}}(_0x4a89,0x31b84));function _0x4a89(){const _0x403d75=['621621NzsBou','change:state','connected','CommentsRepository','372EUcGEn','switchReadOnly','destroy','pluginName','20lcDKkv','collaboration.channelId','Comments','643NCBimx','28060QnRFSd','listenTo','isOfficialPlugin','_setUpService','782352HBikjR','isPremiumPlugin','requires','isThreadsLoadingPaused','editor','321856xnQDjo','_terminateService','plugins','config','data','init','CommentsEditing','240450KCiPvX','ready','336980fPvdZd','once','get','138BuYuxC','RealTimeCollaborativeComments'];_0x4a89=function(){return _0x403d75;};return _0x4a89();}import{Plugin as _0x3f5400}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x278a4c}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x5288(_0xc5b698,_0x24deb1){const _0x4a8987=_0x4a89();return _0x5288=function(_0x528899,_0x39ebcd){_0x528899=_0x528899-0xf9;let _0x2b398b=_0x4a8987[_0x528899];return _0x2b398b;},_0x5288(_0xc5b698,_0x24deb1);}import{RealTimeCollaborativeEditing as _0x3192d3}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x1a700b}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x3f5400{static get[_0x357f2c(0xfc)](){const _0x52fad5=_0x357f2c;return[_0x52fad5(0x117),_0x278a4c,_0x3192d3,_0x1a700b];}static get[_0x357f2c(0x114)](){const _0x4fb75c=_0x357f2c;return _0x4fb75c(0x10c);}static get[_0x357f2c(0x11b)](){return!0x0;}static get[_0x357f2c(0xfb)](){return!0x0;}[_0x357f2c(0x104)](){const _0x4021f1=_0x357f2c,_0xa6dfe6=this[_0x4021f1(0xfe)][_0x4021f1(0x101)][_0x4021f1(0x10a)](_0x1a700b),_0x59f3ff=this[_0x4021f1(0xfe)][_0x4021f1(0x101)][_0x4021f1(0x10a)](_0x4021f1(0x105)),_0x554292=this[_0x4021f1(0xfe)][_0x4021f1(0x101)][_0x4021f1(0x10a)](_0x278a4c);return this[_0x4021f1(0xfe)][_0x4021f1(0x103)][_0x4021f1(0x109)](_0x4021f1(0x107),()=>{const _0x537088=_0x4021f1;this[_0x537088(0x11a)](_0xa6dfe6,_0x537088(0x10e),(_0x3dba06,_0x969f80,_0x542189)=>{const _0x1492c3=_0x537088;_0x59f3ff[_0x1492c3(0xfd)]=_0x1492c3(0x10f)!==_0x542189;});}),this[_0x4021f1(0x11a)](_0xa6dfe6,_0x4021f1(0x10e),(_0x11ac8c,_0x30476f,_0x2af57d)=>{const _0x277ad4=_0x4021f1;this[_0x277ad4(0xfe)][_0x277ad4(0x101)][_0x277ad4(0x10a)](_0x277ad4(0x110))[_0x277ad4(0x112)](_0x277ad4(0x10f)!==_0x2af57d);}),_0x554292[_0x4021f1(0xf9)](this[_0x4021f1(0xfe)][_0x4021f1(0x102)][_0x4021f1(0x10a)](_0x4021f1(0x116)));}[_0x357f2c(0x113)](){const _0x6e69e=_0x357f2c;this[_0x6e69e(0xfe)][_0x6e69e(0x101)][_0x6e69e(0x10a)](_0x278a4c)[_0x6e69e(0x100)](this[_0x6e69e(0xfe)][_0x6e69e(0x102)][_0x6e69e(0x10a)](_0x6e69e(0x116))),super[_0x6e69e(0x113)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x415db6=_0x5c3b;(function(_0x4cddbb,_0x519dfd){const _0x461c64=_0x5c3b,_0x214dc8=_0x4cddbb();while(!![]){try{const _0x598d35=-parseInt(_0x461c64(0x24b))/0x1*(-parseInt(_0x461c64(0x178))/0x2)+parseInt(_0x461c64(0x213))/0x3+-parseInt(_0x461c64(0x19e))/0x4+-parseInt(_0x461c64(0x18b))/0x5*(-parseInt(_0x461c64(0x24f))/0x6)+parseInt(_0x461c64(0x1a8))/0x7+parseInt(_0x461c64(0x1e3))/0x8*(parseInt(_0x461c64(0x23a))/0x9)+-parseInt(_0x461c64(0x1da))/0xa;if(_0x598d35===_0x519dfd)break;else _0x214dc8['push'](_0x214dc8['shift']());}catch(_0x422018){_0x214dc8['push'](_0x214dc8['shift']());}}}(_0x541a,0x22f6c));import{Plugin as _0x511373,PendingActions as _0x4ab8b6}from'ckeditor5/src/core.js';function _0x541a(){const _0x403e90=['fire','_handleSendingSelectionMarkers','size','startsWith','wereChangesApplied','_knownOperations','addToReconnectionStack','_decompressOperations','_handleInitialConnectionData','apply','_lastSyncedOperationId','then','createRange','_waitUntilSynced','filter','message','error','RealTimeCollaborationClient','_applyOperationsSet','318338riBCYc','finally','_pendingAction','_baseBufferDelay','addOperation','register','connected','userId','model','end','forEach','reconnection:\x20flushed\x20session','$root','showWarning','_lastServerVersion','_fetchMissingUsers','__className','realtimecollaborationclient-handleserverresponse','getIdOfTheLastOperation','1555OGHXSv','get','_setPendingAction','includes','_service','_offset','rtc-offline','getMany','realtimecollaborationclient-init-non-existent-root','_isLoaded','remove','selection','_refreshUserSelectionMarkers','sessionAdd:','_operationToId','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.','rootName','createPositionFromPath','cloudDocumentVersion','733040VUXWWt','_sendBufferedOperationsDelayId','realtimecollaborationclient-init-service-incorrect-server-operation','_sendBufferedOperationsDelayed','string','return','_isPendingUpdate','sessionCreatedAt','_authorId','enableReadOnlyMode','1335621AwXXIO','loadRoot','_handleServerResponse','enqueueChange','move','unregister','keys','markers','permissions','change:hasDomSelection','Permissions','_currentBufferDelay','length','history','_sendBufferedOperations','_ignoredOperations','sessionId','sendOperations','createPositionAt','collaboration.channelId','realtimecollaborationclient','multi-root-editor-root-attributes-no-root','getConnectedSessions','_disconnectionOperations','currentDocumentSession','Synchronization\x20issue','removeFromReconnectionStack','marker','_handleReconnectionError','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient-error','compress','listenTo','_disconnectService','realtimecollaborationclient-init-connection-failed','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.','real-time-collaboration','_getOperationsFromInitData','_compressor','_isConnected','parse','_isEditingAllowed','isDocumentOperation','affectedSelectable','isOfficialPlugin','addRootAttribute','_bufferRootLoad','toJSON','metadata','requires','2636070elCvLP','define','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','getUser','reconnect','_connectService','_knownRootNames','applyOperation','directChange','3032xKYmvg','from','isUndoneOperation','collaboration-missing-channelid','position','document','isEnabled','realtimecollaborationclient-init-session-connection-error','cloud-services-internal-error:\x20Not\x20connected.','push','data','_channelId','clone','off','_getAffectedRoot','roots','connect','_setUpDataInit','_isAttached','reset','slice','_compressOperations','ready','connection','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','baseVersion','createUserMarkerOperations','high','add','409','view','cs:removeUser','_updateServerHistory','404','_clearPendingAction','lastDocumentSession','insert','document:write','cloudServices.bundleVersion','realtimecollaborationclient-init-document-already-initialized','createRoot','_initSessionsHandling','_shouldSendSelectionUpdate','Notification','suppressErrorInCollaboration','_handleExternalOperations','_isInit','_crash','585831mWUcWL','set','fromJSON','_addKnownRoot','destroy','entries','config','disableReadOnlyMode','state','attributes','channelSessions','setPermissions','differ','catch','_loadRoot','editing','InsertOperation','realtimecollaborationclient-sendbufferedoperations','type','rootsAttributes','lastOperationAcceptedAt','_saveOperationInBuffer','bind','mySessionId','_isDisconnection','change:_isPendingUpdate','disconnect','createdAt','lastSyncVersion','locale','getDocumentDetails','root','_handleReceivedOperations','getRoot','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','CommentsOnly','setIdForTheLastOperation','_hasSynchronizationProblem','offset','747pTnKaw','PENDING_ACTION_SENDING_DATA','initData','newRange','wasUndone','realtimecollaborationclient-init-service-internal-error','version','_bufferedOperations','plugins','getOperationAuthor','path','targetPosition','change:_isEditingAllowed','code','addUser','rtc-destroyed','_operationIdentifier','1VNoSSy','_document','isPremiumPlugin','disconnected','258MhlOHz','_handleReconnectionResponse','change:range','_initThrowingOnDataSet','round','stop','isReadOnly','init','_hasSelectionChanged','_connectAfterSessionHasBeenFlushed','decompress','editor','has','getOperations','_shouldSendUpdate','lastOperationId','operationsReceived','serverHistory','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','addRoot','collaboration','pluginName','stopListening','start','affectsData','map','batch','CollaborativeEditingService'];_0x541a=function(){return _0x403e90;};return _0x541a();}import{CKEditorError as _0x1de61a,version as _0xb4be9,uid as _0x4eb336}from'ckeditor5/src/utils.js';import{Notification as _0x25600e}from'ckeditor5/src/ui.js';function _0x5c3b(_0x494451,_0x5d1ce6){const _0x541a5b=_0x541a();return _0x5c3b=function(_0x5c3b41,_0x51a241){_0x5c3b41=_0x5c3b41-0x14d;let _0x69f11=_0x541a5b[_0x5c3b41];return _0x69f11;},_0x5c3b(_0x494451,_0x5d1ce6);}import{transformOperationSets as _0x43378e,NoOperation as _0x3daa21,InsertOperation as _0x4f2b26,MarkerOperation as _0x4b7ccf,RootAttributeOperation as _0x138385,OperationFactory as _0x432e73,History as _0x37ba2d}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1b5284}from'./websocketgateway.js';import{Sessions as _0x48e3ec}from'./sessions.js';import{UserMarkers as _0x1aac3d}from'./usermarkers.js';import{getTranslation as _0x360a9e}from'../common-translations.js';import{Compressor as _0xf2a304}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0xe2c763}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x2f2b0b,CollaborativeEditingService as _0x555c02}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;class l extends _0x511373{static [_0x415db6(0x164)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x555c02)());[_0x415db6(0x190)];[_0x415db6(0x1b8)];[_0x415db6(0x15a)];[_0x415db6(0x1ee)];[_0x415db6(0x18f)];[_0x415db6(0x24c)];[_0x415db6(0x1ce)];[_0x415db6(0x241)];[_0x415db6(0x16a)];[_0x415db6(0x1e0)];[_0x415db6(0x17a)];[_0x415db6(0x151)];[_0x415db6(0x19f)];[_0x415db6(0x17b)];[_0x415db6(0x1b3)];[_0x415db6(0x16f)];[_0x415db6(0x1bf)];[_0x415db6(0x24a)];static get[_0x415db6(0x1d9)](){return[_0x1b5284,_0x48e3ec,_0x1aac3d,_0x4ab8b6,_0xe2c763,_0x25600e];}static get[_0x415db6(0x15e)](){const _0x9c7c5c=_0x415db6;return _0x9c7c5c(0x176);}static get[_0x415db6(0x1d4)](){return!0x0;}static get[_0x415db6(0x24d)](){return!0x0;}get[_0x415db6(0x19d)](){const _0x3f49da=_0x415db6;return this[_0x3f49da(0x186)]+this[_0x3f49da(0x190)];}get[_0x415db6(0x186)](){const _0x5ed2df=_0x415db6;return this[_0x5ed2df(0x15a)][_0x5ed2df(0x240)]-this[_0x5ed2df(0x190)];}get[_0x415db6(0x22f)](){const _0x25fb30=_0x415db6,_0x5b205f=this[_0x25fb30(0x15a)][_0x25fb30(0x156)]();for(let _0x4bc4c2=_0x5b205f[_0x25fb30(0x1b4)]-0x1;_0x4bc4c2>=0x0;_0x4bc4c2--){const _0x6599be=_0x5b205f[_0x4bc4c2];if(!this[_0x25fb30(0x1bf)][_0x25fb30(0x155)](_0x6599be))return _0x6599be[_0x25fb30(0x1fc)]+0x1-this[_0x25fb30(0x190)];}return 0x0;}constructor(_0x117720){const _0x56a2a2=_0x415db6;if(super(_0x117720),this[_0x56a2a2(0x190)]=0x0,this[_0x56a2a2(0x1b8)]=null,this[_0x56a2a2(0x15a)]=new _0x37ba2d(),this[_0x56a2a2(0x154)][_0x56a2a2(0x219)][_0x56a2a2(0x1db)](_0x56a2a2(0x15d),{}),this[_0x56a2a2(0x1ee)]=this[_0x56a2a2(0x154)][_0x56a2a2(0x219)][_0x56a2a2(0x18c)](_0x56a2a2(0x1bb)),!this[_0x56a2a2(0x1ee)])throw new _0x1de61a(_0x56a2a2(0x1e6),this);const _0x5324d7=_0x117720[_0x56a2a2(0x219)][_0x56a2a2(0x18c)](_0x56a2a2(0x209))||_0xb4be9;this[_0x56a2a2(0x18f)]=new l[(_0x56a2a2(0x164))](_0x5324d7,this[_0x56a2a2(0x1ee)]),this[_0x56a2a2(0x24c)]=this[_0x56a2a2(0x154)][_0x56a2a2(0x180)][_0x56a2a2(0x1e8)],this[_0x56a2a2(0x1ce)]=new _0xf2a304(),this[_0x56a2a2(0x241)]=[],this[_0x56a2a2(0x16a)]=new WeakSet(),this[_0x56a2a2(0x1e0)]=new Set(),this[_0x56a2a2(0x214)](_0x56a2a2(0x1a4),!0x1),this[_0x56a2a2(0x214)](_0x56a2a2(0x238),!0x1),this[_0x56a2a2(0x17a)]=null,this[_0x56a2a2(0x151)]=!0x1,this[_0x56a2a2(0x19f)]=null,this[_0x56a2a2(0x17b)]=0x12c,this[_0x56a2a2(0x1b3)]=this[_0x56a2a2(0x17b)],this[_0x56a2a2(0x16f)]=null,this[_0x56a2a2(0x1bf)]=new WeakSet(),this[_0x56a2a2(0x24a)]=new Z(this[_0x56a2a2(0x1bf)]);}[_0x415db6(0x150)](){const _0x1ab8ab=_0x415db6,_0x58638e=this[_0x1ab8ab(0x154)],_0x5200cb=_0x58638e[_0x1ab8ab(0x242)][_0x1ab8ab(0x18c)](_0xe2c763),_0x57c122=_0x58638e[_0x1ab8ab(0x242)][_0x1ab8ab(0x18c)](_0x1b5284);this[_0x1ab8ab(0x1c8)](_0x5200cb,_0x1ab8ab(0x243),(_0xf9d08b,_0x5a6c13)=>{const _0x42b7ca=_0x1ab8ab,_0x134960=_0x5a6c13[0x0];_0x134960[_0x42b7ca(0x1a6)]&&(_0xf9d08b[_0x42b7ca(0x1a3)]=_0x5200cb[_0x42b7ca(0x1dd)](_0x134960[_0x42b7ca(0x1a6)]),_0xf9d08b[_0x42b7ca(0x14e)]()),null===_0x134960[_0x42b7ca(0x1a6)]&&(_0xf9d08b[_0x42b7ca(0x1a3)]=null,_0xf9d08b[_0x42b7ca(0x14e)]());},{'priority':_0x1ab8ab(0x1fe)}),this[_0x1ab8ab(0x1c8)](_0x58638e[_0x1ab8ab(0x180)][_0x1ab8ab(0x1e8)][_0x1ab8ab(0x196)],_0x1ab8ab(0x251),(_0x36c6b6,_0x1703fd)=>{const _0x493601=_0x1ab8ab;_0x1703fd[_0x493601(0x1e2)]&&this[_0x493601(0x197)]();}),this[_0x1ab8ab(0x1c8)](_0x58638e[_0x1ab8ab(0x222)][_0x1ab8ab(0x201)],_0x1ab8ab(0x1b1),()=>{const _0x39c620=_0x1ab8ab;this[_0x39c620(0x197)]();}),this[_0x1ab8ab(0x252)](),_0x58638e[_0x1ab8ab(0x180)]['on'](_0x1ab8ab(0x1e1),(_0x4a9a3d,_0x446604)=>{const _0x5e6207=_0x1ab8ab,_0xe2f9ca=_0x446604[0x0];_0xe2f9ca[_0x5e6207(0x1d2)]&&(this[_0x5e6207(0x228)](_0xe2f9ca),this[_0x5e6207(0x157)]()&&this[_0x5e6207(0x1a1)]());}),this[_0x1ab8ab(0x1f4)](),this[_0x1ab8ab(0x229)](_0x1ab8ab(0x1d1))['to'](_0x57c122,_0x1ab8ab(0x21b),this,_0x1ab8ab(0x238),(_0x54bf54,_0x1d1247)=>_0x1ab8ab(0x17e)===_0x54bf54&&!_0x1d1247),this['on'](_0x1ab8ab(0x246),()=>{const _0x540139=_0x1ab8ab;this[_0x540139(0x1d1)]?_0x58638e[_0x540139(0x21a)](_0x540139(0x191)):_0x58638e[_0x540139(0x1a7)](_0x540139(0x191));}),this[_0x1ab8ab(0x1d1)]?_0x58638e[_0x1ab8ab(0x21a)](_0x1ab8ab(0x191)):_0x58638e[_0x1ab8ab(0x1a7)](_0x1ab8ab(0x191)),this[_0x1ab8ab(0x214)](_0x1ab8ab(0x1cf),!0x1);}async[_0x415db6(0x1de)](){const _0x6cd860=_0x415db6,_0xb35da4=this[_0x6cd860(0x154)][_0x6cd860(0x242)][_0x6cd860(0x18c)](_0x48e3ec),_0x1ea8e9=this[_0x6cd860(0x154)][_0x6cd860(0x242)][_0x6cd860(0x18c)](_0x1b5284);try{this[_0x6cd860(0x1a4)]=!0x0,_0xb35da4[_0x6cd860(0x1ad)](this[_0x6cd860(0x1ee)]);const _0x23d599=await this[_0x6cd860(0x18f)][_0x6cd860(0x1de)](_0x1ea8e9[_0x6cd860(0x1fa)],this[_0x6cd860(0x22f)]);await this[_0x6cd860(0x250)](_0x23d599)&&(this[_0x6cd860(0x1a4)]=!0x1,this[_0x6cd860(0x205)]());const _0x5d804f=await this[_0x6cd860(0x18f)][_0x6cd860(0x1be)]();_0xb35da4[_0x6cd860(0x17d)](this[_0x6cd860(0x1ee)],_0x5d804f),this[_0x6cd860(0x166)](),this[_0x6cd860(0x1cf)]=!0x0;}catch(_0xe21ec7){if(function(_0x35ce01){const _0x59fb88=_0x6cd860;return _0x59fb88(0x204)===_0x35ce01[_0x59fb88(0x247)];}(_0xe21ec7)&&this[_0x6cd860(0x1b8)])await this[_0x6cd860(0x152)]();else{if(function(_0x37409c){const _0x67a2df=_0x6cd860;return _0x67a2df(0x200)===_0x37409c[_0x67a2df(0x247)];}(_0xe21ec7)){const _0x266607=_0x360a9e(this[_0x6cd860(0x154)][_0x6cd860(0x230)],_0x6cd860(0x235));this[_0x6cd860(0x1c4)](_0x266607);}else{if(!(_0xe21ec7 instanceof X))throw _0xe21ec7;this[_0x6cd860(0x1c4)]();}}}}[_0x415db6(0x217)](){const _0x3f3dc1=_0x415db6,_0x3d9169=this[_0x3f3dc1(0x154)][_0x3f3dc1(0x242)][_0x3f3dc1(0x18c)](_0x1b5284),_0x36dddc=this[_0x3f3dc1(0x154)][_0x3f3dc1(0x242)][_0x3f3dc1(0x18c)](_0x48e3ec);this[_0x3f3dc1(0x154)][_0x3f3dc1(0x1a7)](_0x3f3dc1(0x249)),_0x36dddc[_0x3f3dc1(0x21d)][_0x3f3dc1(0x155)](this[_0x3f3dc1(0x1ee)])&&_0x36dddc[_0x3f3dc1(0x1ad)](this[_0x3f3dc1(0x1ee)]),_0x3d9169[_0x3f3dc1(0x1c2)](this),this[_0x3f3dc1(0x1c9)](),super[_0x3f3dc1(0x217)]();}async[_0x415db6(0x250)](_0x371c2c){const _0x516dc5=_0x415db6;if(this[_0x516dc5(0x1b8)]!==_0x371c2c[_0x516dc5(0x1b8)]&&this[_0x516dc5(0x16f)]!==_0x371c2c[_0x516dc5(0x158)])throw new X();return this[_0x516dc5(0x1b8)]=_0x371c2c[_0x516dc5(0x1b8)],this[_0x516dc5(0x1aa)]([],{..._0x371c2c,'wereChangesApplied':!0x1,'data':_0x371c2c[_0x516dc5(0x1ed)]},_0x516dc5(0x1de));}async[_0x415db6(0x1df)](_0x917dd8,_0x82972a=!0x1){const _0x502eac=_0x415db6,{connection:_0x817962}=this[_0x502eac(0x154)][_0x502eac(0x242)][_0x502eac(0x18c)](_0x1b5284);l[_0x502eac(0x164)][_0x502eac(0x1be)](_0x817962,this[_0x502eac(0x1ee)])[_0x502eac(0x170)](_0xf74184=>this[_0x502eac(0x20c)](_0xf74184))[_0x502eac(0x220)](_0x13cd35=>{const _0x45b25f=_0x502eac;this[_0x45b25f(0x212)](_0x45b25f(0x1ea),_0x13cd35);}),this[_0x502eac(0x1c8)](this[_0x502eac(0x18f)],_0x502eac(0x159),this[_0x502eac(0x233)][_0x502eac(0x229)](this)),this[_0x502eac(0x1c8)](this[_0x502eac(0x18f)],_0x502eac(0x175),(_0x4f0e28,_0x105fc9)=>{const _0x56f713=_0x502eac;this[_0x56f713(0x212)](_0x56f713(0x23f),_0x105fc9);}),this[_0x502eac(0x1c8)](this[_0x502eac(0x18f)],_0x502eac(0x24e),()=>{const _0x377db0=_0x502eac;this[_0x377db0(0x1cf)]=!0x1;});const _0x19c12f=this[_0x502eac(0x24a)][_0x502eac(0x18a)](_0x917dd8);this[_0x502eac(0x1a4)]=!0x0;const _0x5d7f35=await this[_0x502eac(0x18f)][_0x502eac(0x1f3)](_0x817962,this[_0x502eac(0x1f8)](_0x917dd8),_0x19c12f);if(this[_0x502eac(0x1b8)]=_0x5d7f35[_0x502eac(0x1b8)],_0x82972a){if(!_0x5d7f35[_0x502eac(0x169)])return void this[_0x502eac(0x1c4)]();this[_0x502eac(0x1a4)]=!0x1,this[_0x502eac(0x205)](),this[_0x502eac(0x15a)][_0x502eac(0x1f6)](),this[_0x502eac(0x190)]=_0x5d7f35[_0x502eac(0x239)],this[_0x502eac(0x15a)][_0x502eac(0x240)]=this[_0x502eac(0x190)],await this[_0x502eac(0x1aa)](_0x917dd8,_0x5d7f35,_0x502eac(0x183));}else await this[_0x502eac(0x16d)](_0x5d7f35,_0x917dd8);this[_0x502eac(0x166)](),this[_0x502eac(0x1cf)]=!0x0;}[_0x415db6(0x166)](){const _0x371437=_0x415db6,_0x3e9e6f=this[_0x371437(0x154)][_0x371437(0x242)][_0x371437(0x18c)](_0x48e3ec),_0x5cf6ef=this[_0x371437(0x154)][_0x371437(0x242)][_0x371437(0x18c)](_0x1aac3d),_0x435c8c=_0x3e9e6f[_0x371437(0x21d)][_0x371437(0x18c)](this[_0x371437(0x1ee)]);_0x435c8c&&_0x435c8c[_0x371437(0x1b4)]>0x1?_0x5cf6ef[_0x371437(0x1fd)]():this[_0x371437(0x1c8)](_0x3e9e6f,_0x371437(0x198)+this[_0x371437(0x1ee)],()=>{const _0x2a7a31=_0x371437;0x2===_0x3e9e6f[_0x2a7a31(0x21d)][_0x2a7a31(0x18c)](this[_0x2a7a31(0x1ee)])[_0x2a7a31(0x1b4)]&&_0x5cf6ef[_0x2a7a31(0x1fd)]();});}async[_0x415db6(0x233)](_0x3ba97f,_0x49de66,_0x44352c,_0x2a02dc){const _0x530515=_0x415db6;if(!this[_0x530515(0x1a4)]&&this[_0x530515(0x24c)][_0x530515(0x240)]==_0x49de66){const _0x4c73bc=this[_0x530515(0x16c)](_0x44352c,_0x2a02dc);await this[_0x530515(0x187)](_0x4c73bc),this[_0x530515(0x210)](_0x4c73bc,_0x49de66,_0x44352c[_0x530515(0x158)])||this[_0x530515(0x212)](_0x530515(0x1a0));}}async[_0x415db6(0x152)](){const _0x27f8d8=_0x415db6;this[_0x27f8d8(0x1c9)]();const {locale:_0x3bc02e}=this[_0x27f8d8(0x154)];let _0x92ced9;try{_0x92ced9=await this[_0x27f8d8(0x18f)][_0x27f8d8(0x231)]();}catch{const _0x2aa897=_0x360a9e(_0x3bc02e,_0x27f8d8(0x15b));return void this[_0x27f8d8(0x1c4)](_0x2aa897);}const _0x134436=_0x92ced9[_0x27f8d8(0x1c0)]||_0x92ced9[_0x27f8d8(0x206)];if(this[_0x27f8d8(0x16f)]!==_0x134436[_0x27f8d8(0x158)]){const _0x5829aa=_0x360a9e(_0x3bc02e,_0x27f8d8(0x19a));return void this[_0x27f8d8(0x1c4)](_0x5829aa);}await this[_0x27f8d8(0x1df)](this[_0x27f8d8(0x154)][_0x27f8d8(0x180)][_0x27f8d8(0x1e8)][_0x27f8d8(0x1b5)][_0x27f8d8(0x156)](),!0x0);}[_0x415db6(0x1c9)](){const _0x178825=_0x415db6;this[_0x178825(0x18f)][_0x178825(0x22d)](),this[_0x178825(0x241)]=[],clearTimeout(this[_0x178825(0x19f)]),this[_0x178825(0x15f)](this[_0x178825(0x18f)]);}[_0x415db6(0x20c)](_0x506234){const _0x30ae6a=_0x415db6,_0x49f22e=this[_0x30ae6a(0x154)][_0x30ae6a(0x242)][_0x30ae6a(0x18c)](_0x48e3ec);this[_0x30ae6a(0x1c8)](_0x49f22e,_0x30ae6a(0x198)+this[_0x30ae6a(0x1ee)],(_0x49ad97,{session:_0x104f7d})=>{const _0x45f418=_0x30ae6a;if(_0x104f7d['id']===_0x49f22e[_0x45f418(0x22a)]){_0x49ad97[_0x45f418(0x1f0)]();const _0x324b3c=this[_0x45f418(0x154)][_0x45f418(0x242)][_0x45f418(0x155)](_0x45f418(0x236))&&this[_0x45f418(0x154)][_0x45f418(0x242)][_0x45f418(0x18c)](_0x45f418(0x236));let _0x446c49=_0x104f7d[_0x45f418(0x1b0)];_0x324b3c&&_0x324b3c[_0x45f418(0x1e9)]&&(_0x446c49=_0x446c49[_0x45f418(0x173)](_0x1951e2=>_0x45f418(0x208)!==_0x1951e2)),this[_0x45f418(0x154)][_0x45f418(0x242)][_0x45f418(0x18c)](_0x45f418(0x1b2))[_0x45f418(0x21e)](_0x446c49,this[_0x45f418(0x1ee)]);}}),_0x49f22e[_0x30ae6a(0x17d)](this[_0x30ae6a(0x1ee)],_0x506234);}[_0x415db6(0x252)](){const _0x4fb60a=_0x415db6,_0x42b2d=this[_0x4fb60a(0x154)][_0x4fb60a(0x1ed)][_0x4fb60a(0x214)];this[_0x4fb60a(0x154)][_0x4fb60a(0x1ed)][_0x4fb60a(0x214)]=(..._0x122535)=>{const _0x40a4d4=_0x4fb60a;if(!_0x122535[_0x122535[_0x40a4d4(0x1b4)]-0x1][_0x40a4d4(0x20f)])throw new _0x1de61a(_0x40a4d4(0x1fb),this);_0x42b2d[_0x40a4d4(0x16e)](this[_0x40a4d4(0x154)][_0x40a4d4(0x1ed)],_0x122535);};}[_0x415db6(0x1f4)](){const _0x46cf7e=_0x415db6;this[_0x46cf7e(0x154)][_0x46cf7e(0x1ed)]['on'](_0x46cf7e(0x150),(_0x318d76,[_0x305f63])=>{const _0x41ee14=_0x46cf7e;if(this[_0x41ee14(0x24c)][_0x41ee14(0x240)])throw new _0x1de61a(_0x41ee14(0x20a),this);_0x318d76[_0x41ee14(0x14e)](),this[_0x41ee14(0x18d)]();const _0x292c8c=this[_0x41ee14(0x154)][_0x41ee14(0x219)][_0x41ee14(0x18c)](_0x41ee14(0x226)),_0x20d377=this[_0x41ee14(0x1cd)](_0x305f63,_0x292c8c);0x0==_0x20d377[_0x41ee14(0x1b4)]&&_0x20d377[_0x41ee14(0x1ec)](new _0x3daa21(0x0)),_0x318d76[_0x41ee14(0x1a3)]=this[_0x41ee14(0x1df)](_0x20d377)[_0x41ee14(0x170)](()=>{const _0x2ea092=_0x41ee14;this[_0x2ea092(0x154)][_0x2ea092(0x242)][_0x2ea092(0x18c)](_0x1b5284)[_0x2ea092(0x16b)](this),this[_0x2ea092(0x154)][_0x2ea092(0x1ed)][_0x2ea092(0x165)](_0x2ea092(0x1f9));})[_0x41ee14(0x220)](_0x2af240=>this[_0x41ee14(0x212)](_0x41ee14(0x1ca),_0x2af240))[_0x41ee14(0x179)](()=>this[_0x41ee14(0x205)]());},{'priority':_0x46cf7e(0x1fe)}),this[_0x46cf7e(0x154)]['on'](_0x46cf7e(0x1a9),async(_0xe4fe70,[_0x506a1e,_0x46b752])=>{const _0x28e1fd=_0x46cf7e;_0xe4fe70[_0x28e1fd(0x14e)]();const _0x11f65b=this[_0x28e1fd(0x154)][_0x28e1fd(0x180)][_0x28e1fd(0x1e8)][_0x28e1fd(0x234)](_0x506a1e);if(!this[_0x28e1fd(0x1e0)][_0x28e1fd(0x155)](_0x506a1e)){const _0x449d62=_0x46b752&&_0x46b752[_0x28e1fd(0x1ed)]?_0x46b752[_0x28e1fd(0x1ed)]:'',_0x39933f=_0x46b752&&_0x46b752[_0x28e1fd(0x21c)]?_0x46b752[_0x28e1fd(0x21c)]:{};await this[_0x28e1fd(0x221)](_0x506a1e,_0x449d62,_0x39933f);}this[_0x28e1fd(0x154)][_0x28e1fd(0x180)][_0x28e1fd(0x1ab)]({'isUndoable':!0x1},()=>{const _0x4e5a0c=_0x28e1fd;_0x11f65b[_0x4e5a0c(0x194)]=!0x0,this[_0x4e5a0c(0x154)][_0x4e5a0c(0x180)][_0x4e5a0c(0x1e8)][_0x4e5a0c(0x21f)][_0x4e5a0c(0x1d6)](_0x11f65b);});},{'priority':_0x46cf7e(0x1fe)});}async[_0x415db6(0x187)](_0x451d82){const _0x1f10ec=_0x415db6,_0x2283b0=this[_0x1f10ec(0x154)][_0x1f10ec(0x242)][_0x1f10ec(0x18c)](_0xe2c763),{connection:_0x2a0331}=this[_0x1f10ec(0x154)][_0x1f10ec(0x242)][_0x1f10ec(0x18c)](_0x1b5284),_0x3fc6eb=new Set();for(const _0x5c56ed of _0x451d82){const _0x10d1df=_0x5c56ed[_0x1f10ec(0x1a6)];_0x10d1df&&!_0x2283b0[_0x1f10ec(0x1dd)](_0x10d1df)&&_0x3fc6eb[_0x1f10ec(0x1ff)](_0x10d1df);}if(0x0===_0x3fc6eb[_0x1f10ec(0x167)])return;const _0x567766=await _0x2f2b0b[_0x1f10ec(0x192)](_0x2a0331,Array[_0x1f10ec(0x1e4)](_0x3fc6eb));for(const _0x124380 of _0x567766)_0x2283b0[_0x1f10ec(0x1dd)](_0x124380['id'])||_0x2283b0[_0x1f10ec(0x248)](_0x124380);}[_0x415db6(0x1cd)](_0x47bb1f,_0x46ede2={}){const _0xb51d8d=_0x415db6,_0x2cd9e4=this[_0xb51d8d(0x154)][_0xb51d8d(0x180)],_0x1b8ff1=[];let _0x2fde61=0x0;const _0x59f5b3=_0xb51d8d(0x1a2)==typeof _0x47bb1f?{'main':_0x47bb1f}:_0x47bb1f;for(const _0x402f3a of Object[_0xb51d8d(0x1ae)](_0x59f5b3)){if(!this[_0xb51d8d(0x24c)][_0xb51d8d(0x1f2)][_0xb51d8d(0x155)](_0x402f3a))throw new _0x1de61a(_0xb51d8d(0x193),this);const _0x4c751a=this[_0xb51d8d(0x154)][_0xb51d8d(0x1ed)][_0xb51d8d(0x1d0)](_0x59f5b3[_0x402f3a]),_0x142e0d=this[_0xb51d8d(0x24c)][_0xb51d8d(0x234)](_0x402f3a),_0x3b6d68=new _0x4f2b26(_0x2cd9e4[_0xb51d8d(0x1ba)](_0x142e0d,0x0),_0x4c751a,_0x2fde61++);_0x1b8ff1[_0xb51d8d(0x1ec)](_0x3b6d68);for(const [_0x1dfc55,_0x30ad51]of _0x4c751a[_0xb51d8d(0x1af)]){const _0x11957a=_0x2cd9e4[_0xb51d8d(0x171)](_0x2cd9e4[_0xb51d8d(0x19c)](_0x142e0d,_0x30ad51[_0xb51d8d(0x160)][_0xb51d8d(0x244)][_0xb51d8d(0x1f7)]()),_0x2cd9e4[_0xb51d8d(0x19c)](_0x142e0d,_0x30ad51[_0xb51d8d(0x181)][_0xb51d8d(0x244)][_0xb51d8d(0x1f7)]())),_0x2b8b99=new _0x4b7ccf(_0x1dfc55,null,_0x11957a,_0x2cd9e4[_0xb51d8d(0x1af)],!0x0,_0x2fde61++);_0x1b8ff1[_0xb51d8d(0x1ec)](_0x2b8b99);}}if(_0x46ede2)for(const [_0x1c9ef2,_0x22665b]of Object[_0xb51d8d(0x218)](_0x46ede2)){const _0x3dc0b0=_0x2cd9e4[_0xb51d8d(0x1e8)][_0xb51d8d(0x234)](_0x1c9ef2);if(!_0x3dc0b0)throw new _0x1de61a(_0xb51d8d(0x1bd),null);for(const [_0x5d17ab,_0x359b61]of Object[_0xb51d8d(0x218)](_0x22665b))if(null!==_0x359b61){const _0x2545c0=new _0x138385(_0x3dc0b0,_0x5d17ab,null,_0x359b61,_0x2fde61++);_0x1b8ff1[_0xb51d8d(0x1ec)](_0x2545c0);}}return _0x1b8ff1;}async[_0x415db6(0x221)](_0x53b1e8,_0x310788,_0x2e335c){const _0x2f2b87=_0x415db6;this[_0x2f2b87(0x1cd)]({[_0x53b1e8]:_0x310788},{[_0x53b1e8]:_0x2e335c})[_0x2f2b87(0x182)]((_0x44098d,_0x1d5083)=>{const _0x48af77=_0x2f2b87;_0x44098d[_0x48af77(0x1fc)]=this[_0x48af77(0x24c)][_0x48af77(0x240)]+_0x1d5083,_0x44098d[_0x48af77(0x211)]=!0x0,this[_0x48af77(0x228)](_0x44098d);}),this[_0x2f2b87(0x1a1)](),await this[_0x2f2b87(0x172)]();}async[_0x415db6(0x16d)](_0x596318,_0x5bb876){const _0x120f96=_0x415db6;let _0x2810be;this[_0x120f96(0x190)]=_0x596318[_0x120f96(0x239)];const _0x4fa74f=_0x596318[_0x120f96(0x169)]&&!_0x596318[_0x120f96(0x23c)],_0xc36e6f=_0x4fa74f?0x0:_0x596318[_0x120f96(0x1ed)][_0x120f96(0x1fc)];if(_0x5bb876[_0x120f96(0x182)](_0x10da25=>{const _0x39aff5=_0x120f96;_0x10da25[_0x39aff5(0x211)]=!0x0,_0x10da25[_0x39aff5(0x22e)]=_0x596318[_0x39aff5(0x1a5)],_0x10da25[_0x39aff5(0x1a6)]=null;}),_0x4fa74f)_0x2810be=_0x5bb876,this[_0x120f96(0x177)](_0x2810be,_0x4fa74f);else{if(_0x596318[_0x120f96(0x23c)]){const _0x886a00=this[_0x120f96(0x1cd)](_0x596318[_0x120f96(0x23c)]);this[_0x120f96(0x24c)][_0x120f96(0x1b5)][_0x120f96(0x240)]=-_0x886a00[_0x120f96(0x1b4)],_0x886a00[_0x120f96(0x182)](_0xc7397a=>{const _0xb08270=_0x120f96;_0xc7397a[_0xb08270(0x1fc)]-=_0x886a00[_0xb08270(0x1b4)],_0xc7397a[_0xb08270(0x22e)]=_0x596318[_0xb08270(0x1a5)],_0xc7397a[_0xb08270(0x211)]=!0x0,_0xc7397a[_0xb08270(0x1a6)]=null;}),this[_0x120f96(0x177)](_0x886a00,!0x0),this[_0x120f96(0x15a)][_0x120f96(0x240)]=-_0x886a00[_0x120f96(0x1b4)]+this[_0x120f96(0x190)],this[_0x120f96(0x203)](_0x886a00);}this[_0x120f96(0x24c)][_0x120f96(0x1b5)][_0x120f96(0x240)]=_0xc36e6f,_0x2810be=this[_0x120f96(0x16c)](_0x596318[_0x120f96(0x1ed)],_0x596318[_0x120f96(0x1d8)]),await this[_0x120f96(0x187)](_0x2810be),this[_0x120f96(0x177)](_0x2810be,_0x4fa74f);}_0x596318[_0x120f96(0x158)]&&(this[_0x120f96(0x24a)][_0x120f96(0x237)](_0x2810be,_0x596318[_0x120f96(0x158)]),this[_0x120f96(0x16f)]=_0x596318[_0x120f96(0x158)]),this[_0x120f96(0x15a)][_0x120f96(0x240)]=_0xc36e6f+this[_0x120f96(0x190)],this[_0x120f96(0x203)](_0x2810be),_0x5bb876[_0x120f96(0x173)](_0x53a8bc=>{const _0x2d1069=_0x120f96,_0x87d66a=this[_0x2d1069(0x1f1)](_0x53a8bc);return _0x87d66a&&!this[_0x2d1069(0x1e0)][_0x2d1069(0x155)](_0x87d66a);})[_0x120f96(0x182)]((_0x1b47ef,_0x45f6b8)=>{const _0x8e107b=_0x120f96;_0x1b47ef[_0x8e107b(0x1fc)]=this[_0x8e107b(0x24c)][_0x8e107b(0x240)]+_0x45f6b8,this[_0x8e107b(0x228)](_0x1b47ef);}),this[_0x120f96(0x157)]()?(this[_0x120f96(0x1b3)]=0x0,this[_0x120f96(0x1a1)](!0x0),await this[_0x120f96(0x172)]()):(this[_0x120f96(0x1a4)]=!0x1,this[_0x120f96(0x205)]());}[_0x415db6(0x212)](_0x4e31eb,_0x2fbab1){const _0x4e1179=_0x415db6,_0x172685=_0x2fbab1&&_0x2fbab1[_0x4e1179(0x174)];if(_0x172685&&_0x172685[_0x4e1179(0x168)](_0x4e1179(0x1bc)))throw _0x2fbab1;const _0x3522a5=this[_0x4e1179(0x154)][_0x4e1179(0x242)][_0x4e1179(0x18c)](_0x1b5284);throw this[_0x4e1179(0x1a4)]=!0x0,_0x3522a5[_0x4e1179(0x22d)](),this[_0x4e1179(0x154)][_0x4e1179(0x1a7)](_0x4e1179(0x1c6)),new _0x1de61a(_0x4e31eb,this[_0x4e1179(0x154)],_0x172685?{'originalError':_0x172685}:void 0x0);}[_0x415db6(0x228)](_0x332c40){const _0x11fbc6=_0x415db6;this[_0x11fbc6(0x16a)][_0x11fbc6(0x155)](_0x332c40)||(this[_0x11fbc6(0x16a)][_0x11fbc6(0x1ff)](_0x332c40),this[_0x11fbc6(0x241)][_0x11fbc6(0x1ec)](_0x332c40),this[_0x11fbc6(0x17a)]||_0x11fbc6(0x1c3)==_0x332c40[_0x11fbc6(0x225)]&&!_0x332c40[_0x11fbc6(0x161)]||this[_0x11fbc6(0x18d)]());}[_0x415db6(0x1a1)](_0x22660d=!0x1){const _0x394896=_0x415db6;!_0x22660d&&this[_0x394896(0x1a4)]||(this[_0x394896(0x1a4)]=!0x0,clearTimeout(this[_0x394896(0x19f)]),this[_0x394896(0x19f)]=setTimeout(()=>{const _0x230230=_0x394896;this[_0x230230(0x1b6)]()[_0x230230(0x170)](_0x15c000=>{const _0x434a03=_0x230230;_0x15c000&&(this[_0x434a03(0x205)](),this[_0x434a03(0x1a4)]=!0x1);})[_0x230230(0x220)](_0x3bb9e3=>{const _0x2dd081=_0x230230;this[_0x2dd081(0x205)](),this[_0x2dd081(0x1a4)]=!0x1,function(_0x2698fe){const _0x3c854e=_0x2dd081;return _0x2698fe[_0x3c854e(0x174)][_0x3c854e(0x168)](_0x3c854e(0x1eb))||_0x2698fe[_0x3c854e(0x174)][_0x3c854e(0x168)](_0x3c854e(0x1dc))||_0x2698fe[_0x3c854e(0x174)][_0x3c854e(0x168)](_0x3c854e(0x1c5));}(_0x3bb9e3)||this[_0x2dd081(0x212)](_0x3bb9e3[_0x2dd081(0x174)],_0x3bb9e3);});},this[_0x394896(0x1b3)]));}[_0x415db6(0x172)](){return new Promise(_0x31986f=>{const _0x2cbb88=_0x5c3b;this['on'](_0x2cbb88(0x22c),()=>{_0x31986f();});});}async[_0x415db6(0x1b6)](){const _0x1d3f66=_0x415db6,_0x335318=this[_0x1d3f66(0x154)][_0x1d3f66(0x242)][_0x1d3f66(0x18c)](_0x1aac3d);if(this[_0x1d3f66(0x20d)]()&&(_0x335318[_0x1d3f66(0x1fd)](),this[_0x1d3f66(0x151)]=!0x1),!this[_0x1d3f66(0x157)]())return!0x0;const _0x886ba8=[...this[_0x1d3f66(0x241)]];for(const _0x5b5e43 of _0x886ba8)_0x5b5e43[_0x1d3f66(0x23e)]=this[_0x1d3f66(0x24c)][_0x1d3f66(0x1b5)][_0x1d3f66(0x1e5)](_0x5b5e43);const _0x5baca8=this[_0x1d3f66(0x24a)][_0x1d3f66(0x18a)](_0x886ba8),_0x351241=Q++,_0x597cbf=this[_0x1d3f66(0x1f8)](_0x886ba8),_0x5c9572=await this[_0x1d3f66(0x18f)][_0x1d3f66(0x1b9)](_0x597cbf,_0x597cbf[_0x1d3f66(0x1fc)],_0x5baca8);try{return await this[_0x1d3f66(0x1aa)](_0x886ba8,_0x5c9572,_0x351241);}catch(_0x4f9816){return this[_0x1d3f66(0x212)](_0x1d3f66(0x224),_0x4f9816);}}async[_0x415db6(0x1aa)](_0x22282d,_0x15ac0f,_0x135aa5){const _0x4850a6=_0x415db6;if(_0x4850a6(0x175)in _0x15ac0f)throw _0x15ac0f[_0x4850a6(0x175)];let _0xe2154e=!0x1;if(_0x15ac0f[_0x4850a6(0x169)]){_0x15ac0f[_0x4850a6(0x158)]&&(this[_0x4850a6(0x16f)]=_0x15ac0f[_0x4850a6(0x158)]),this[_0x4850a6(0x241)]=this[_0x4850a6(0x241)][_0x4850a6(0x173)](_0x2c4c20=>!_0x22282d[_0x4850a6(0x18e)](_0x2c4c20));for(const _0x3e0901 of _0x22282d)_0x3e0901[_0x4850a6(0x22e)]=_0x4850a6(0x227)in _0x15ac0f&&_0x15ac0f[_0x4850a6(0x227)]||void 0x0;Y(_0x22282d,_0x15ac0f[_0x4850a6(0x240)]-_0x22282d[_0x4850a6(0x1b4)]),this[_0x4850a6(0x203)](_0x22282d);const _0x209f65=_0x22282d[_0x4850a6(0x173)](_0x358c09=>{const _0x536d6f=_0x4850a6;if(!_0x358c09[_0x536d6f(0x211)])return!0x1;const _0x3ad9ba=this[_0x536d6f(0x1f1)](_0x358c09);return _0x3ad9ba&&!this[_0x536d6f(0x1e0)][_0x536d6f(0x155)](_0x3ad9ba);});Y(_0x209f65,this[_0x4850a6(0x24c)][_0x4850a6(0x240)]),this[_0x4850a6(0x177)](_0x209f65),_0xe2154e=!0x0,this[_0x4850a6(0x1b3)]=this[_0x4850a6(0x17b)];}else{const _0x57f6ef=this[_0x4850a6(0x16c)](_0x15ac0f[_0x4850a6(0x1ed)],_0x15ac0f[_0x4850a6(0x1d8)])[_0x4850a6(0x173)](_0x3859c6=>_0x3859c6[_0x4850a6(0x1fc)]>=this[_0x4850a6(0x186)]);_0x57f6ef[_0x4850a6(0x182)](_0x2c671c=>this[_0x4850a6(0x216)](_0x2c671c)),this[_0x4850a6(0x241)]=this[_0x4850a6(0x241)][_0x4850a6(0x173)](_0x2154ff=>!_0x2154ff[_0x4850a6(0x211)]||!this[_0x4850a6(0x1e0)][_0x4850a6(0x155)](this[_0x4850a6(0x1f1)](_0x2154ff))),this[_0x4850a6(0x241)][_0x4850a6(0x1b4)]&&Y(this[_0x4850a6(0x241)],this[_0x4850a6(0x241)][0x0][_0x4850a6(0x1fc)]),await this[_0x4850a6(0x187)](_0x57f6ef),_0xe2154e=this[_0x4850a6(0x210)](_0x57f6ef,_0x15ac0f[_0x4850a6(0x240)],_0x15ac0f[_0x4850a6(0x158)]),this[_0x4850a6(0x1b3)]=Math[_0x4850a6(0x14d)](this[_0x4850a6(0x1b3)]/0x2);}return _0xe2154e?!this[_0x4850a6(0x157)]()||(this[_0x4850a6(0x1a1)](!0x0),!0x1):this[_0x4850a6(0x212)](_0x4850a6(0x189));}[_0x415db6(0x210)](_0xee227a,_0x4c092d,_0x3372a9){const _0x5e6887=_0x415db6;try{const _0x284ce1={'document':this[_0x5e6887(0x24c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3ccf59,operationsB:_0x5a4e2d,originalOperations:_0x36b528}=_0x43378e(_0xee227a,this[_0x5e6887(0x241)],_0x284ce1);Y(_0x3ccf59,this[_0x5e6887(0x24c)][_0x5e6887(0x240)]),Y(_0x5a4e2d,_0x4c092d);for(const _0x1d2b92 of _0x3ccf59){const _0x3836ce=_0x36b528[_0x5e6887(0x18c)](_0x1d2b92);_0x1d2b92[_0x5e6887(0x1a6)]=_0x3836ce?_0x3836ce[_0x5e6887(0x1a6)]:null;}_0x3372a9&&(this[_0x5e6887(0x24a)][_0x5e6887(0x237)](_0xee227a,_0x3372a9),this[_0x5e6887(0x16f)]=_0x3372a9),this[_0x5e6887(0x241)]=[..._0x5a4e2d],this[_0x5e6887(0x177)](_0x3ccf59),this[_0x5e6887(0x203)](_0xee227a);}catch(_0x2c2612){return console[_0x5e6887(0x175)](_0x2c2612),!0x1;}return!0x0;}[_0x415db6(0x177)](_0x2def6b,_0x18bd19=!0x1){const _0x21d285=_0x415db6;this[_0x21d285(0x154)][_0x21d285(0x180)][_0x21d285(0x1ab)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2fb426=>{const _0x2d9c32=_0x21d285;for(const _0x576e2f of _0x2def6b)this[_0x2d9c32(0x16a)][_0x2d9c32(0x1ff)](_0x576e2f),this[_0x2d9c32(0x216)](_0x576e2f),_0x2fb426[_0x2d9c32(0x163)][_0x2d9c32(0x17c)](_0x576e2f),this[_0x2d9c32(0x154)][_0x2d9c32(0x180)][_0x2d9c32(0x1e1)](_0x576e2f);});}[_0x415db6(0x216)](_0x48f625){const _0x240f3f=_0x415db6,_0x54104c=this[_0x240f3f(0x1f1)](_0x48f625);_0x54104c&&this[_0x240f3f(0x1e0)][_0x240f3f(0x1ff)](_0x54104c);}[_0x415db6(0x1f1)](_0x130369){const _0x3b7092=_0x415db6;let _0x5e4964,_0x39366d;switch(_0x130369[_0x3b7092(0x225)]){case _0x3b7092(0x207):_0x5e4964=_0x130369[_0x3b7092(0x1e7)][_0x3b7092(0x232)];break;case _0x3b7092(0x1c3):if(_0x39366d=_0x130369[_0x3b7092(0x23d)],!_0x39366d)return null;_0x5e4964=_0x39366d[_0x3b7092(0x232)];break;case _0x3b7092(0x1d5):_0x5e4964=_0x130369[_0x3b7092(0x232)];break;case _0x3b7092(0x15c):_0x5e4964=_0x130369[_0x3b7092(0x1d3)];break;case _0x3b7092(0x1ac):_0x5e4964=_0x130369[_0x3b7092(0x245)][_0x3b7092(0x232)];break;default:return null;}return _0x5e4964[_0x3b7092(0x19b)];}[_0x415db6(0x203)](_0x105000){const _0x13fff9=_0x415db6;_0x105000[_0x13fff9(0x182)](_0x2a2227=>{const _0x5c0811=_0x13fff9,_0x24b94c=_0x2a2227[_0x5c0811(0x1ef)]();_0x24b94c[_0x5c0811(0x1a6)]=_0x2a2227[_0x5c0811(0x1a6)],_0x24b94c[_0x5c0811(0x211)]=!!_0x2a2227[_0x5c0811(0x211)],_0x24b94c[_0x5c0811(0x22e)]=_0x2a2227[_0x5c0811(0x22e)],_0x24b94c[_0x5c0811(0x1fc)]+=this[_0x5c0811(0x190)],_0x2a2227[_0x5c0811(0x22b)]&&this[_0x5c0811(0x1bf)][_0x5c0811(0x1ff)](_0x24b94c),this[_0x5c0811(0x15a)][_0x5c0811(0x17c)](_0x24b94c);});}[_0x415db6(0x1c4)](_0x2263c5){const _0x56ec38=_0x415db6,_0x13bcb6=this[_0x56ec38(0x154)][_0x56ec38(0x242)][_0x56ec38(0x18c)](_0x56ec38(0x20e)),_0x58e0d9=this[_0x56ec38(0x154)][_0x56ec38(0x230)];_0x2263c5||(_0x2263c5=_0x360a9e(_0x58e0d9,_0x56ec38(0x1cb))),_0x13bcb6[_0x56ec38(0x185)](_0x2263c5,{'title':_0x360a9e(_0x58e0d9,_0x56ec38(0x1c1)),'namespace':_0x56ec38(0x1cc)}),this[_0x56ec38(0x238)]=!0x0,clearTimeout(this[_0x56ec38(0x19f)]),this[_0x56ec38(0x241)]=[],this[_0x56ec38(0x154)][_0x56ec38(0x242)][_0x56ec38(0x18c)](_0x1b5284)[_0x56ec38(0x22d)]();}[_0x415db6(0x18d)](){const _0x2fe257=_0x415db6;this[_0x2fe257(0x17a)]||(this[_0x2fe257(0x17a)]=this[_0x2fe257(0x154)][_0x2fe257(0x242)][_0x2fe257(0x18c)](_0x4ab8b6)[_0x2fe257(0x1ff)](_0x360a9e(this[_0x2fe257(0x154)][_0x2fe257(0x230)],_0x2fe257(0x23b))));}[_0x415db6(0x205)](){const _0x161b97=_0x415db6;this[_0x161b97(0x17a)]&&(this[_0x161b97(0x154)][_0x161b97(0x242)][_0x161b97(0x18c)](_0x4ab8b6)[_0x161b97(0x195)](this[_0x161b97(0x17a)]),this[_0x161b97(0x17a)]=null);}[_0x415db6(0x1f8)](_0x6aa149){const _0x43234a=_0x415db6,_0x5ebb3b=_0x6aa149[_0x43234a(0x162)](_0x434b1c=>_0x434b1c[_0x43234a(0x1d7)]());return this[_0x43234a(0x1ce)][_0x43234a(0x1c7)](_0x5ebb3b);}[_0x415db6(0x16c)](_0x2ab695,_0x536ed1){const _0x51e89c=_0x415db6;return this[_0x51e89c(0x1ce)][_0x51e89c(0x153)](_0x2ab695)[_0x51e89c(0x162)]((_0x3bc718,_0xaddc2a)=>{const _0x2ea1bc=_0x51e89c,_0x3078ee=_0x2ea1bc(0x150)==_0x536ed1[_0xaddc2a][_0x2ea1bc(0x225)];if(_0x2ea1bc(0x223)==_0x3bc718[_0x2ea1bc(0x188)]){const _0x277b6d=_0x3bc718[_0x2ea1bc(0x1e7)][_0x2ea1bc(0x232)];!this[_0x2ea1bc(0x24c)][_0x2ea1bc(0x234)](_0x277b6d)&&(this[_0x2ea1bc(0x24c)][_0x2ea1bc(0x20b)](_0x2ea1bc(0x184),_0x277b6d)[_0x2ea1bc(0x1f5)]=!0x1);}const _0x2a8102=_0x432e73[_0x2ea1bc(0x215)](_0x3bc718,this[_0x2ea1bc(0x24c)]);return _0x2a8102[_0x2ea1bc(0x23e)]=_0x3bc718[_0x2ea1bc(0x23e)],_0x2a8102[_0x2ea1bc(0x211)]=_0x3078ee,_0x2a8102[_0x2ea1bc(0x1a6)]=_0x3078ee?null:_0x536ed1[_0xaddc2a][_0x2ea1bc(0x17f)],_0x2a8102[_0x2ea1bc(0x22b)]=_0x2ea1bc(0x202)===_0x536ed1[_0xaddc2a][_0x2ea1bc(0x225)],_0x2a8102[_0x2ea1bc(0x22e)]=_0x536ed1[_0xaddc2a][_0x2ea1bc(0x22e)],_0x2a8102;});}[_0x415db6(0x197)](){const _0x2c9e1f=_0x415db6;this[_0x2c9e1f(0x151)]=!0x0,this[_0x2c9e1f(0x20d)]()?this[_0x2c9e1f(0x1a1)]():this[_0x2c9e1f(0x151)]=!0x1;}[_0x415db6(0x20d)](){const _0x25435e=_0x415db6,_0x36b755=this[_0x25435e(0x154)][_0x25435e(0x242)][_0x25435e(0x18c)](_0x48e3ec)[_0x25435e(0x21d)][_0x25435e(0x18c)](this[_0x25435e(0x1ee)]);return!this[_0x25435e(0x154)][_0x25435e(0x14f)]&&!!_0x36b755&&_0x36b755[_0x25435e(0x1b4)]>0x1&&this[_0x25435e(0x151)];}[_0x415db6(0x157)](){const _0xb62e3d=_0x415db6;return this[_0xb62e3d(0x241)][_0xb62e3d(0x1b4)]>0x0||this[_0xb62e3d(0x20d)]();}}export{l as RealTimeCollaborationClient};class X extends Error{}function Y(_0x3ce0f9,_0xe29270){const _0x10c161=_0x415db6;for(const _0x1235bf of _0x3ce0f9)_0x1235bf[_0x10c161(0x1fc)]=_0xe29270++;}class Z{[_0x415db6(0x1b7)];[_0x415db6(0x199)];constructor(_0x37b398){const _0xbfe2e5=_0x415db6;this[_0xbfe2e5(0x1b7)]=_0x37b398,this[_0xbfe2e5(0x199)]=new WeakMap();}[_0x415db6(0x18a)](_0xf3f662){const _0x341447=_0x415db6;let _0x476016=_0xf3f662[_0x341447(0x1b4)];for(;_0x476016--;){const _0x3f3d41=_0xf3f662[_0x476016];if(!this[_0x341447(0x1b7)][_0x341447(0x155)](_0x3f3d41)){if(!this[_0x341447(0x199)][_0x341447(0x155)](_0x3f3d41)){const _0x52d361=_0x4eb336()[_0x341447(0x1f7)](0x1,0x12);this[_0x341447(0x199)][_0x341447(0x214)](_0x3f3d41,_0x52d361);}return this[_0x341447(0x199)][_0x341447(0x18c)](_0x3f3d41);}}}[_0x415db6(0x237)](_0x169080,_0x39e283){const _0x155b6b=_0x415db6;if(!_0x39e283)return;let _0x3b1e4a=_0x169080[_0x155b6b(0x1b4)];for(;_0x3b1e4a--;){const _0x21f228=_0x169080[_0x3b1e4a];this[_0x155b6b(0x1b7)][_0x155b6b(0x155)](_0x21f228)||this[_0x155b6b(0x199)][_0x155b6b(0x214)](_0x21f228,_0x39e283);}}}
23
+ const _0x5c7728=_0x5c29;(function(_0x1ee2d2,_0x408ff4){const _0x96dbe3=_0x5c29,_0x536db1=_0x1ee2d2();while(!![]){try{const _0x2911ae=parseInt(_0x96dbe3(0x1e9))/0x1+parseInt(_0x96dbe3(0x25e))/0x2*(-parseInt(_0x96dbe3(0x223))/0x3)+parseInt(_0x96dbe3(0x1a7))/0x4+-parseInt(_0x96dbe3(0x1dc))/0x5+-parseInt(_0x96dbe3(0x220))/0x6+-parseInt(_0x96dbe3(0x1c0))/0x7+parseInt(_0x96dbe3(0x219))/0x8*(parseInt(_0x96dbe3(0x22d))/0x9);if(_0x2911ae===_0x408ff4)break;else _0x536db1['push'](_0x536db1['shift']());}catch(_0x56a0ca){_0x536db1['push'](_0x536db1['shift']());}}}(_0x2de5,0x811c5));import{Plugin as _0xae86e5,PendingActions as _0x9d865f}from'ckeditor5/src/core.js';import{CKEditorError as _0x30765c,version as _0x376890,uid as _0x4bd1d9}from'ckeditor5/src/utils.js';import{Notification as _0x16c8e3}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x4c0dd8,NoOperation as _0x8f63b,InsertOperation as _0x496b8d,MarkerOperation as _0x459bd0,RootAttributeOperation as _0x413ef6,OperationFactory as _0x508621,History as _0x5c290d}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x5074aa}from'./websocketgateway.js';function _0x5c29(_0x3cab76,_0x4389e0){const _0x2de59e=_0x2de5();return _0x5c29=function(_0x5c2947,_0x2506ae){_0x5c2947=_0x5c2947-0x18c;let _0x34a1ae=_0x2de59e[_0x5c2947];return _0x34a1ae;},_0x5c29(_0x3cab76,_0x4389e0);}import{Sessions as _0x1d9ade}from'./sessions.js';function _0x2de5(){const _0x3b3aa6=['createRoot','map','fromJSON','targetPosition','realtimecollaborationclient-init-non-existent-root','round','realtimecollaborationclient-init-connection-failed','_knownRootNames','editing','position','size','409','cloudServices.bundleVersion','_channelId','getIdOfTheLastOperation','differ','isUndoneOperation','_operationIdentifier','_isEditingAllowed','_initSessionsHandling','404','clone','start','move','showWarning','slice','parse','stopListening','_document','enqueueChange','623848hmqiro','_lastSyncedOperationId','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','decompress','PENDING_ACTION_SENDING_DATA','setPermissions','cloudDocumentVersion','filter','editor','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.','loadRoot','set','_decompressOperations','addToReconnectionStack','__className','_getOperationsFromInitData','getOperationAuthor','rtc-destroyed','_isConnected','change:hasDomSelection','connect','listenTo','document:write','_initThrowingOnDataSet','_disconnectionOperations','view','_applyOperationsSet','wasUndone','entries','_connectService','_sendBufferedOperationsDelayId','apply','_disconnectService','reset','lastDocumentSession','_waitUntilSynced','currentDocumentSession','getUser','reconnection:\x20flushed\x20session','string','requires','directChange','removeFromReconnectionStack','rootName','change:range','_updateServerHistory','register','$root','cloud-services-internal-error:\x20Not\x20connected.','connected','path','realtimecollaborationclient-init-service-internal-error','Notification','get','type','_service','plugins','_offset','_handleReceivedOperations','message','_knownOperations','channelSessions','_bufferRootLoad','marker','createdAt','lastOperationId','collaboration.channelId','config','change:_isPendingUpdate','version','affectedSelectable','_getAffectedRoot','sessionAdd:','lastOperationAcceptedAt','history','_isInit','_bufferedOperations','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.','1215476DfgwzA','_compressOperations','_handleReconnectionResponse','model','_setPendingAction','_addKnownRoot','getMany','collaboration','finally','cs:removeUser','realtimecollaborationclient','disableReadOnlyMode','_isLoaded','offset','has','destroy','forEach','_operationToId','CommentsOnly','_handleReconnectionError','lastSyncVersion','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','selection','length','connection','6986854byTcZX','rootsAttributes','realtimecollaborationclient-init-session-connection-error','_sendBufferedOperations','define','Synchronization\x20issue','stop','_isPendingUpdate','getConnectedSessions','_pendingAction','getOperations','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','sessionCreatedAt','_isAttached','batch','collaboration-missing-channelid','getDocumentDetails','then','_crash','permissions','locale','init','ready','real-time-collaboration','metadata','markers','off','_refreshUserSelectionMarkers','4340675YsWWQl','_setUpDataInit','userId','reconnect','applyOperation','mySessionId','realtimecollaborationclient-init-service-incorrect-server-operation','_handleSendingSelectionMarkers','isEnabled','state','change:_isEditingAllowed','_isDisconnection','addUser','816643bGtFhO','sessionId','unregister','initData','createPositionFromPath','_sendBufferedOperationsDelayed','createUserMarkerOperations','isDocumentOperation','addOperation','_connectAfterSessionHasBeenFlushed','error','from','_hasSynchronizationProblem','isReadOnly','insert','addRoot','attributes','_lastServerVersion','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-init-document-already-initialized','push','cloud-services-internal-error:\x20Request\x20timeout.','isOfficialPlugin','_currentBufferDelay','isPremiumPlugin','_hasSelectionChanged','enableReadOnlyMode','createPositionAt','catch','Permissions','multi-root-editor-root-attributes-no-root','disconnect','fire','_handleServerResponse','end','baseVersion','realtimecollaborationclient-sendbufferedoperations','CollaborativeEditingService','_clearPendingAction','toJSON','_baseBufferDelay','sendOperations','_ignoredOperations','suppressErrorInCollaboration','_handleExternalOperations','wereChangesApplied','includes','InsertOperation','18835512BxdBjY','realtimecollaborationclient-error','_handleInitialConnectionData','startsWith','affectsData','data','_loadRoot','4607598hxHWFK','code','bind','3prswNq','keys','operationsReceived','remove','serverHistory','_saveOperationInBuffer','pluginName','RealTimeCollaborationClient','document','addRootAttribute','9rsorHr','return','createRange','setIdForTheLastOperation','add','roots','_compressor','_shouldSendUpdate','root','getRoot','rtc-offline','compress','high','_shouldSendSelectionUpdate','realtimecollaborationclient-handleserverresponse','_authorId','_fetchMissingUsers','disconnected','newRange'];_0x2de5=function(){return _0x3b3aa6;};return _0x2de5();}import{UserMarkers as _0x350120}from'./usermarkers.js';import{getTranslation as _0xb6e749}from'../common-translations.js';import{Compressor as _0x557956}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1f4150}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x533fad,CollaborativeEditingService as _0x162206}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;class l extends _0xae86e5{static [_0x5c7728(0x20e)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x162206)());[_0x5c7728(0x192)];[_0x5c7728(0x1ea)];[_0x5c7728(0x227)];[_0x5c7728(0x24d)];[_0x5c7728(0x190)];[_0x5c7728(0x25c)];[_0x5c7728(0x233)];[_0x5c7728(0x1a5)];[_0x5c7728(0x195)];[_0x5c7728(0x247)];[_0x5c7728(0x1c9)];[_0x5c7728(0x202)];[_0x5c7728(0x27c)];[_0x5c7728(0x211)];[_0x5c7728(0x200)];[_0x5c7728(0x25f)];[_0x5c7728(0x276)];[_0x5c7728(0x251)];static get[_0x5c7728(0x286)](){return[_0x5074aa,_0x1d9ade,_0x350120,_0x9d865f,_0x1f4150,_0x16c8e3];}static get[_0x5c7728(0x229)](){const _0x199773=_0x5c7728;return _0x199773(0x22a);}static get[_0x5c7728(0x1ff)](){return!0x0;}static get[_0x5c7728(0x201)](){return!0x0;}get[_0x5c7728(0x264)](){const _0x1353f9=_0x5c7728;return this[_0x1353f9(0x1fa)]+this[_0x1353f9(0x192)];}get[_0x5c7728(0x1fa)](){const _0x3f5efe=_0x5c7728;return this[_0x3f5efe(0x227)][_0x3f5efe(0x19e)]-this[_0x3f5efe(0x192)];}get[_0x5c7728(0x1bb)](){const _0x30fb72=_0x5c7728,_0x18efaf=this[_0x30fb72(0x227)][_0x30fb72(0x1ca)]();for(let _0x1d52ba=_0x18efaf[_0x30fb72(0x1be)]-0x1;_0x1d52ba>=0x0;_0x1d52ba--){const _0x1a859d=_0x18efaf[_0x1d52ba];if(!this[_0x30fb72(0x276)][_0x30fb72(0x1b5)](_0x1a859d))return _0x1a859d[_0x30fb72(0x20c)]+0x1-this[_0x30fb72(0x192)];}return 0x0;}constructor(_0x3e961d){const _0x43c59c=_0x5c7728;if(super(_0x3e961d),this[_0x43c59c(0x192)]=0x0,this[_0x43c59c(0x1ea)]=null,this[_0x43c59c(0x227)]=new _0x5c290d(),this[_0x43c59c(0x266)][_0x43c59c(0x19c)][_0x43c59c(0x1c4)](_0x43c59c(0x1ae),{}),this[_0x43c59c(0x24d)]=this[_0x43c59c(0x266)][_0x43c59c(0x19c)][_0x43c59c(0x18e)](_0x43c59c(0x19b)),!this[_0x43c59c(0x24d)])throw new _0x30765c(_0x43c59c(0x1cf),this);const _0x27fd8b=_0x3e961d[_0x43c59c(0x19c)][_0x43c59c(0x18e)](_0x43c59c(0x24c))||_0x376890;this[_0x43c59c(0x190)]=new l[(_0x43c59c(0x20e))](_0x27fd8b,this[_0x43c59c(0x24d)]),this[_0x43c59c(0x25c)]=this[_0x43c59c(0x266)][_0x43c59c(0x1aa)][_0x43c59c(0x22b)],this[_0x43c59c(0x233)]=new _0x557956(),this[_0x43c59c(0x1a5)]=[],this[_0x43c59c(0x195)]=new WeakSet(),this[_0x43c59c(0x247)]=new Set(),this[_0x43c59c(0x269)](_0x43c59c(0x1c7),!0x1),this[_0x43c59c(0x269)](_0x43c59c(0x1f5),!0x1),this[_0x43c59c(0x1c9)]=null,this[_0x43c59c(0x202)]=!0x1,this[_0x43c59c(0x27c)]=null,this[_0x43c59c(0x211)]=0x12c,this[_0x43c59c(0x200)]=this[_0x43c59c(0x211)],this[_0x43c59c(0x25f)]=null,this[_0x43c59c(0x276)]=new WeakSet(),this[_0x43c59c(0x251)]=new J(this[_0x43c59c(0x276)]);}[_0x5c7728(0x1d5)](){const _0x41ab30=_0x5c7728,_0x5eabd0=this[_0x41ab30(0x266)],_0x509b85=_0x5eabd0[_0x41ab30(0x191)][_0x41ab30(0x18e)](_0x1f4150),_0xce3a6e=_0x5eabd0[_0x41ab30(0x191)][_0x41ab30(0x18e)](_0x5074aa);this[_0x41ab30(0x273)](_0x509b85,_0x41ab30(0x26e),(_0x3c83c1,_0x1c2644)=>{const _0x24a2ed=_0x41ab30,_0x3418d0=_0x1c2644[0x0];_0x3418d0[_0x24a2ed(0x23c)]&&(_0x3c83c1[_0x24a2ed(0x22e)]=_0x509b85[_0x24a2ed(0x283)](_0x3418d0[_0x24a2ed(0x23c)]),_0x3c83c1[_0x24a2ed(0x1c6)]()),null===_0x3418d0[_0x24a2ed(0x23c)]&&(_0x3c83c1[_0x24a2ed(0x22e)]=null,_0x3c83c1[_0x24a2ed(0x1c6)]());},{'priority':_0x41ab30(0x239)}),this[_0x41ab30(0x273)](_0x5eabd0[_0x41ab30(0x1aa)][_0x41ab30(0x22b)][_0x41ab30(0x1bd)],_0x41ab30(0x28a),(_0x51d5d2,_0x3998ce)=>{const _0x4aa36f=_0x41ab30;_0x3998ce[_0x4aa36f(0x287)]&&this[_0x4aa36f(0x1db)]();}),this[_0x41ab30(0x273)](_0x5eabd0[_0x41ab30(0x248)][_0x41ab30(0x277)],_0x41ab30(0x271),()=>{const _0x2af5f8=_0x41ab30;this[_0x2af5f8(0x1db)]();}),this[_0x41ab30(0x275)](),_0x5eabd0[_0x41ab30(0x1aa)]['on'](_0x41ab30(0x1e0),(_0x183433,_0x8be878)=>{const _0x429c87=_0x41ab30,_0x378c34=_0x8be878[0x0];_0x378c34[_0x429c87(0x1f0)]&&(this[_0x429c87(0x228)](_0x378c34),this[_0x429c87(0x234)]()&&this[_0x429c87(0x1ee)]());}),this[_0x41ab30(0x1dd)](),this[_0x41ab30(0x222)](_0x41ab30(0x252))['to'](_0xce3a6e,_0x41ab30(0x1e5),this,_0x41ab30(0x1f5),(_0xc46c74,_0x846f5b)=>_0x41ab30(0x28f)===_0xc46c74&&!_0x846f5b),this['on'](_0x41ab30(0x1e6),()=>{const _0x48c776=_0x41ab30;this[_0x48c776(0x252)]?_0x5eabd0[_0x48c776(0x1b2)](_0x48c776(0x237)):_0x5eabd0[_0x48c776(0x203)](_0x48c776(0x237));}),this[_0x41ab30(0x252)]?_0x5eabd0[_0x41ab30(0x1b2)](_0x41ab30(0x237)):_0x5eabd0[_0x41ab30(0x203)](_0x41ab30(0x237)),this[_0x41ab30(0x269)](_0x41ab30(0x270),!0x1);}async[_0x5c7728(0x1df)](){const _0x3d4ea4=_0x5c7728,_0x873834=this[_0x3d4ea4(0x266)][_0x3d4ea4(0x191)][_0x3d4ea4(0x18e)](_0x1d9ade),_0x26f20b=this[_0x3d4ea4(0x266)][_0x3d4ea4(0x191)][_0x3d4ea4(0x18e)](_0x5074aa);try{this[_0x3d4ea4(0x1c7)]=!0x0,_0x873834[_0x3d4ea4(0x1eb)](this[_0x3d4ea4(0x24d)]);const _0xa8612c=await this[_0x3d4ea4(0x190)][_0x3d4ea4(0x1df)](_0x26f20b[_0x3d4ea4(0x1bf)],this[_0x3d4ea4(0x1bb)]);await this[_0x3d4ea4(0x1a9)](_0xa8612c)&&(this[_0x3d4ea4(0x1c7)]=!0x1,this[_0x3d4ea4(0x20f)]());const _0x3434b4=await this[_0x3d4ea4(0x190)][_0x3d4ea4(0x1c8)]();_0x873834[_0x3d4ea4(0x28c)](this[_0x3d4ea4(0x24d)],_0x3434b4),this[_0x3d4ea4(0x1e3)](),this[_0x3d4ea4(0x270)]=!0x0;}catch(_0x16673b){if(function(_0x3900c9){const _0x2c6ee6=_0x3d4ea4;return _0x2c6ee6(0x254)===_0x3900c9[_0x2c6ee6(0x221)];}(_0x16673b)&&this[_0x3d4ea4(0x1ea)])await this[_0x3d4ea4(0x1f2)]();else{if(function(_0x20d2e9){const _0x3be8c8=_0x3d4ea4;return _0x3be8c8(0x24b)===_0x20d2e9[_0x3be8c8(0x221)];}(_0x16673b)){const _0x3736de=_0xb6e749(this[_0x3d4ea4(0x266)][_0x3d4ea4(0x1d4)],_0x3d4ea4(0x1bc));this[_0x3d4ea4(0x1ba)](_0x3736de);}else{if(!(_0x16673b instanceof $))throw _0x16673b;this[_0x3d4ea4(0x1ba)]();}}}}[_0x5c7728(0x1b6)](){const _0x279790=_0x5c7728,_0xdf6894=this[_0x279790(0x266)][_0x279790(0x191)][_0x279790(0x18e)](_0x5074aa),_0xe1e064=this[_0x279790(0x266)][_0x279790(0x191)][_0x279790(0x18e)](_0x1d9ade);this[_0x279790(0x266)][_0x279790(0x203)](_0x279790(0x26f)),_0xe1e064[_0x279790(0x196)][_0x279790(0x1b5)](this[_0x279790(0x24d)])&&_0xe1e064[_0x279790(0x1eb)](this[_0x279790(0x24d)]),_0xdf6894[_0x279790(0x288)](this),this[_0x279790(0x27e)](),super[_0x279790(0x1b6)]();}async[_0x5c7728(0x1a9)](_0x59820c){const _0x34f6b6=_0x5c7728;if(this[_0x34f6b6(0x1ea)]!==_0x59820c[_0x34f6b6(0x1ea)]&&this[_0x34f6b6(0x25f)]!==_0x59820c[_0x34f6b6(0x19a)])throw new $();return this[_0x34f6b6(0x1ea)]=_0x59820c[_0x34f6b6(0x1ea)],this[_0x34f6b6(0x20a)]([],{..._0x59820c,'wereChangesApplied':!0x1,'data':_0x59820c[_0x34f6b6(0x21e)]},_0x34f6b6(0x1df));}async[_0x5c7728(0x27b)](_0x113927,_0x716a00=!0x1){const _0x1afa7e=_0x5c7728,{connection:_0x432ef9}=this[_0x1afa7e(0x266)][_0x1afa7e(0x191)][_0x1afa7e(0x18e)](_0x5074aa);l[_0x1afa7e(0x20e)][_0x1afa7e(0x1c8)](_0x432ef9,this[_0x1afa7e(0x24d)])[_0x1afa7e(0x1d1)](_0x11ad41=>this[_0x1afa7e(0x253)](_0x11ad41))[_0x1afa7e(0x205)](_0x451860=>{const _0x79570=_0x1afa7e;this[_0x79570(0x1d2)](_0x79570(0x1c2),_0x451860);}),this[_0x1afa7e(0x273)](this[_0x1afa7e(0x190)],_0x1afa7e(0x225),this[_0x1afa7e(0x193)][_0x1afa7e(0x222)](this)),this[_0x1afa7e(0x273)](this[_0x1afa7e(0x190)],_0x1afa7e(0x1f3),(_0x484fd9,_0x37bf35)=>{const _0x368879=_0x1afa7e;this[_0x368879(0x1d2)](_0x368879(0x18c),_0x37bf35);}),this[_0x1afa7e(0x273)](this[_0x1afa7e(0x190)],_0x1afa7e(0x23e),()=>{const _0x25160c=_0x1afa7e;this[_0x25160c(0x270)]=!0x1;});const _0x31da92=this[_0x1afa7e(0x251)][_0x1afa7e(0x24e)](_0x113927);this[_0x1afa7e(0x1c7)]=!0x0;const _0x591884=await this[_0x1afa7e(0x190)][_0x1afa7e(0x272)](_0x432ef9,this[_0x1afa7e(0x1a8)](_0x113927),_0x31da92);if(this[_0x1afa7e(0x1ea)]=_0x591884[_0x1afa7e(0x1ea)],_0x716a00){if(!_0x591884[_0x1afa7e(0x216)])return void this[_0x1afa7e(0x1ba)]();this[_0x1afa7e(0x1c7)]=!0x1,this[_0x1afa7e(0x20f)](),this[_0x1afa7e(0x227)][_0x1afa7e(0x27f)](),this[_0x1afa7e(0x192)]=_0x591884[_0x1afa7e(0x1b4)],this[_0x1afa7e(0x227)][_0x1afa7e(0x19e)]=this[_0x1afa7e(0x192)],await this[_0x1afa7e(0x20a)](_0x113927,_0x591884,_0x1afa7e(0x284));}else await this[_0x1afa7e(0x21b)](_0x591884,_0x113927);this[_0x1afa7e(0x1e3)](),this[_0x1afa7e(0x270)]=!0x0;}[_0x5c7728(0x1e3)](){const _0x5260bc=_0x5c7728,_0x4c0756=this[_0x5260bc(0x266)][_0x5260bc(0x191)][_0x5260bc(0x18e)](_0x1d9ade),_0x45526f=this[_0x5260bc(0x266)][_0x5260bc(0x191)][_0x5260bc(0x18e)](_0x350120),_0x47e49e=_0x4c0756[_0x5260bc(0x196)][_0x5260bc(0x18e)](this[_0x5260bc(0x24d)]);_0x47e49e&&_0x47e49e[_0x5260bc(0x1be)]>0x1?_0x45526f[_0x5260bc(0x1ef)]():this[_0x5260bc(0x273)](_0x4c0756,_0x5260bc(0x1a1)+this[_0x5260bc(0x24d)],()=>{const _0x1246d3=_0x5260bc;0x2===_0x4c0756[_0x1246d3(0x196)][_0x1246d3(0x18e)](this[_0x1246d3(0x24d)])[_0x1246d3(0x1be)]&&_0x45526f[_0x1246d3(0x1ef)]();});}async[_0x5c7728(0x193)](_0x3fd6eb,_0x3b7877,_0x3451ad,_0x39e8cb){const _0x3e79af=_0x5c7728;if(!this[_0x3e79af(0x1c7)]&&this[_0x3e79af(0x25c)][_0x3e79af(0x19e)]==_0x3b7877){const _0x40ba22=this[_0x3e79af(0x26a)](_0x3451ad,_0x39e8cb);await this[_0x3e79af(0x23d)](_0x40ba22),this[_0x3e79af(0x215)](_0x40ba22,_0x3b7877,_0x3451ad[_0x3e79af(0x19a)])||this[_0x3e79af(0x1d2)](_0x3e79af(0x1e2));}}async[_0x5c7728(0x1f2)](){const _0x1beb83=_0x5c7728;this[_0x1beb83(0x27e)]();const {locale:_0x5585c0}=this[_0x1beb83(0x266)];let _0x6f13a0;try{_0x6f13a0=await this[_0x1beb83(0x190)][_0x1beb83(0x1d0)]();}catch{const _0x323966=_0xb6e749(_0x5585c0,_0x1beb83(0x1fb));return void this[_0x1beb83(0x1ba)](_0x323966);}const _0x157937=_0x6f13a0[_0x1beb83(0x282)]||_0x6f13a0[_0x1beb83(0x280)];if(this[_0x1beb83(0x25f)]!==_0x157937[_0x1beb83(0x19a)]){const _0x124178=_0xb6e749(_0x5585c0,_0x1beb83(0x267));return void this[_0x1beb83(0x1ba)](_0x124178);}await this[_0x1beb83(0x27b)](this[_0x1beb83(0x266)][_0x1beb83(0x1aa)][_0x1beb83(0x22b)][_0x1beb83(0x1a3)][_0x1beb83(0x1ca)](),!0x0);}[_0x5c7728(0x27e)](){const _0x438f68=_0x5c7728;this[_0x438f68(0x190)][_0x438f68(0x208)](),this[_0x438f68(0x1a5)]=[],clearTimeout(this[_0x438f68(0x27c)]),this[_0x438f68(0x25b)](this[_0x438f68(0x190)]);}[_0x5c7728(0x253)](_0x559904){const _0x134733=_0x5c7728,_0x3ede5b=this[_0x134733(0x266)][_0x134733(0x191)][_0x134733(0x18e)](_0x1d9ade);this[_0x134733(0x273)](_0x3ede5b,_0x134733(0x1a1)+this[_0x134733(0x24d)],(_0x43bfb8,{session:_0x1b102c})=>{const _0x4ef79b=_0x134733;if(_0x1b102c['id']===_0x3ede5b[_0x4ef79b(0x1e1)]){_0x43bfb8[_0x4ef79b(0x1da)]();const _0x544e6d=this[_0x4ef79b(0x266)][_0x4ef79b(0x191)][_0x4ef79b(0x1b5)](_0x4ef79b(0x1b9))&&this[_0x4ef79b(0x266)][_0x4ef79b(0x191)][_0x4ef79b(0x18e)](_0x4ef79b(0x1b9));let _0x2d7f28=_0x1b102c[_0x4ef79b(0x1d3)];_0x544e6d&&_0x544e6d[_0x4ef79b(0x1e4)]&&(_0x2d7f28=_0x2d7f28[_0x4ef79b(0x265)](_0x9bce54=>_0x4ef79b(0x274)!==_0x9bce54)),this[_0x4ef79b(0x266)][_0x4ef79b(0x191)][_0x4ef79b(0x18e)](_0x4ef79b(0x206))[_0x4ef79b(0x263)](_0x2d7f28,this[_0x4ef79b(0x24d)]);}}),_0x3ede5b[_0x134733(0x28c)](this[_0x134733(0x24d)],_0x559904);}[_0x5c7728(0x275)](){const _0x231555=_0x5c7728,_0x2f0a95=this[_0x231555(0x266)][_0x231555(0x21e)][_0x231555(0x269)];this[_0x231555(0x266)][_0x231555(0x21e)][_0x231555(0x269)]=(..._0x3387bb)=>{const _0x5f1436=_0x231555;if(!_0x3387bb[_0x3387bb[_0x5f1436(0x1be)]-0x1][_0x5f1436(0x214)])throw new _0x30765c(_0x5f1436(0x260),this);_0x2f0a95[_0x5f1436(0x27d)](this[_0x5f1436(0x266)][_0x5f1436(0x21e)],_0x3387bb);};}[_0x5c7728(0x1dd)](){const _0x3dee8f=_0x5c7728;this[_0x3dee8f(0x266)][_0x3dee8f(0x21e)]['on'](_0x3dee8f(0x1d5),(_0x3e0363,[_0x3bd4dd])=>{const _0x566440=_0x3dee8f;if(this[_0x566440(0x25c)][_0x566440(0x19e)])throw new _0x30765c(_0x566440(0x1fc),this);_0x3e0363[_0x566440(0x1c6)](),this[_0x566440(0x1ab)]();const _0x1d38ff=this[_0x566440(0x266)][_0x566440(0x19c)][_0x566440(0x18e)](_0x566440(0x1c1)),_0x83ef=this[_0x566440(0x26d)](_0x3bd4dd,_0x1d38ff);0x0==_0x83ef[_0x566440(0x1be)]&&_0x83ef[_0x566440(0x1fd)](new _0x8f63b(0x0)),_0x3e0363[_0x566440(0x22e)]=this[_0x566440(0x27b)](_0x83ef)[_0x566440(0x1d1)](()=>{const _0x3ba40f=_0x566440;this[_0x3ba40f(0x266)][_0x3ba40f(0x191)][_0x3ba40f(0x18e)](_0x5074aa)[_0x3ba40f(0x26b)](this),this[_0x3ba40f(0x266)][_0x3ba40f(0x21e)][_0x3ba40f(0x209)](_0x3ba40f(0x1d6));})[_0x566440(0x205)](_0xa68ad9=>this[_0x566440(0x1d2)](_0x566440(0x246),_0xa68ad9))[_0x566440(0x1af)](()=>this[_0x566440(0x20f)]());},{'priority':_0x3dee8f(0x239)}),this[_0x3dee8f(0x266)]['on'](_0x3dee8f(0x268),async(_0x470613,[_0x40d3b3,_0x3c0835])=>{const _0x37f3d6=_0x3dee8f;_0x470613[_0x37f3d6(0x1c6)]();const _0x35b1cf=this[_0x37f3d6(0x266)][_0x37f3d6(0x1aa)][_0x37f3d6(0x22b)][_0x37f3d6(0x236)](_0x40d3b3);if(!this[_0x37f3d6(0x247)][_0x37f3d6(0x1b5)](_0x40d3b3)){const _0x2e67fb=_0x3c0835&&_0x3c0835[_0x37f3d6(0x21e)]?_0x3c0835[_0x37f3d6(0x21e)]:'',_0x1d1819=_0x3c0835&&_0x3c0835[_0x37f3d6(0x1f9)]?_0x3c0835[_0x37f3d6(0x1f9)]:{};await this[_0x37f3d6(0x21f)](_0x40d3b3,_0x2e67fb,_0x1d1819);}this[_0x37f3d6(0x266)][_0x37f3d6(0x1aa)][_0x37f3d6(0x25d)]({'isUndoable':!0x1},()=>{const _0x129c5e=_0x37f3d6;_0x35b1cf[_0x129c5e(0x1b3)]=!0x0,this[_0x129c5e(0x266)][_0x129c5e(0x1aa)][_0x129c5e(0x22b)][_0x129c5e(0x24f)][_0x129c5e(0x197)](_0x35b1cf);});},{'priority':_0x3dee8f(0x239)});}async[_0x5c7728(0x23d)](_0xf44829){const _0x249833=_0x5c7728,_0x42ed8b=this[_0x249833(0x266)][_0x249833(0x191)][_0x249833(0x18e)](_0x1f4150),{connection:_0x125219}=this[_0x249833(0x266)][_0x249833(0x191)][_0x249833(0x18e)](_0x5074aa),_0x24d530=new Set();for(const _0x415829 of _0xf44829){const _0x58b3db=_0x415829[_0x249833(0x23c)];_0x58b3db&&!_0x42ed8b[_0x249833(0x283)](_0x58b3db)&&_0x24d530[_0x249833(0x231)](_0x58b3db);}if(0x0===_0x24d530[_0x249833(0x24a)])return;const _0x249999=await _0x533fad[_0x249833(0x1ad)](_0x125219,Array[_0x249833(0x1f4)](_0x24d530));for(const _0x4c0e57 of _0x249999)_0x42ed8b[_0x249833(0x283)](_0x4c0e57['id'])||_0x42ed8b[_0x249833(0x1e8)](_0x4c0e57);}[_0x5c7728(0x26d)](_0x75e40c,_0x2b86f4={}){const _0x20b3a5=_0x5c7728,_0x48d7c2=this[_0x20b3a5(0x266)][_0x20b3a5(0x1aa)],_0x21a51f=[];let _0x1129cd=0x0;const _0x15d639=_0x20b3a5(0x285)==typeof _0x75e40c?{'main':_0x75e40c}:_0x75e40c;for(const _0x1cb287 of Object[_0x20b3a5(0x224)](_0x15d639)){if(!this[_0x20b3a5(0x25c)][_0x20b3a5(0x232)][_0x20b3a5(0x1b5)](_0x1cb287))throw new _0x30765c(_0x20b3a5(0x244),this);const _0x2524b1=this[_0x20b3a5(0x266)][_0x20b3a5(0x21e)][_0x20b3a5(0x25a)](_0x15d639[_0x1cb287]),_0x70b00b=this[_0x20b3a5(0x25c)][_0x20b3a5(0x236)](_0x1cb287),_0x4eec83=new _0x496b8d(_0x48d7c2[_0x20b3a5(0x204)](_0x70b00b,0x0),_0x2524b1,_0x1129cd++);_0x21a51f[_0x20b3a5(0x1fd)](_0x4eec83);for(const [_0x323b21,_0x57653e]of _0x2524b1[_0x20b3a5(0x1d9)]){const _0x328223=_0x48d7c2[_0x20b3a5(0x22f)](_0x48d7c2[_0x20b3a5(0x1ed)](_0x70b00b,_0x57653e[_0x20b3a5(0x256)][_0x20b3a5(0x290)][_0x20b3a5(0x259)]()),_0x48d7c2[_0x20b3a5(0x1ed)](_0x70b00b,_0x57653e[_0x20b3a5(0x20b)][_0x20b3a5(0x290)][_0x20b3a5(0x259)]())),_0x2e6d1c=new _0x459bd0(_0x323b21,null,_0x328223,_0x48d7c2[_0x20b3a5(0x1d9)],!0x0,_0x1129cd++);_0x21a51f[_0x20b3a5(0x1fd)](_0x2e6d1c);}}if(_0x2b86f4)for(const [_0x5d2757,_0x4bb5a4]of Object[_0x20b3a5(0x27a)](_0x2b86f4)){const _0x5dee2c=_0x48d7c2[_0x20b3a5(0x22b)][_0x20b3a5(0x236)](_0x5d2757);if(!_0x5dee2c)throw new _0x30765c(_0x20b3a5(0x207),null);for(const [_0xd1a8bc,_0x54374f]of Object[_0x20b3a5(0x27a)](_0x4bb5a4))if(null!==_0x54374f){const _0x47ebd9=new _0x413ef6(_0x5dee2c,_0xd1a8bc,null,_0x54374f,_0x1129cd++);_0x21a51f[_0x20b3a5(0x1fd)](_0x47ebd9);}}return _0x21a51f;}async[_0x5c7728(0x21f)](_0x4c457b,_0x3fd851,_0x3a2fb3){const _0x1b1b62=_0x5c7728;this[_0x1b1b62(0x26d)]({[_0x4c457b]:_0x3fd851},{[_0x4c457b]:_0x3a2fb3})[_0x1b1b62(0x1b7)]((_0x4bd355,_0x8ae27d)=>{const _0x34eb90=_0x1b1b62;_0x4bd355[_0x34eb90(0x20c)]=this[_0x34eb90(0x25c)][_0x34eb90(0x19e)]+_0x8ae27d,_0x4bd355[_0x34eb90(0x1a4)]=!0x0,this[_0x34eb90(0x228)](_0x4bd355);}),this[_0x1b1b62(0x1ee)](),await this[_0x1b1b62(0x281)]();}async[_0x5c7728(0x21b)](_0x2c22b0,_0x5aeeeb){const _0x2f3503=_0x5c7728;let _0x274b2f;this[_0x2f3503(0x192)]=_0x2c22b0[_0x2f3503(0x1b4)];const _0x16c968=_0x2c22b0[_0x2f3503(0x216)]&&!_0x2c22b0[_0x2f3503(0x1ec)],_0x2f15ba=_0x16c968?0x0:_0x2c22b0[_0x2f3503(0x21e)][_0x2f3503(0x20c)];if(_0x5aeeeb[_0x2f3503(0x1b7)](_0x3e7e87=>{const _0x356e2c=_0x2f3503;_0x3e7e87[_0x356e2c(0x1a4)]=!0x0,_0x3e7e87[_0x356e2c(0x199)]=_0x2c22b0[_0x356e2c(0x1cc)],_0x3e7e87[_0x356e2c(0x23c)]=null;}),_0x16c968)_0x274b2f=_0x5aeeeb,this[_0x2f3503(0x278)](_0x274b2f,_0x16c968);else{if(_0x2c22b0[_0x2f3503(0x1ec)]){const _0x4f3d69=this[_0x2f3503(0x26d)](_0x2c22b0[_0x2f3503(0x1ec)]);this[_0x2f3503(0x25c)][_0x2f3503(0x1a3)][_0x2f3503(0x19e)]=-_0x4f3d69[_0x2f3503(0x1be)],_0x4f3d69[_0x2f3503(0x1b7)](_0x3e7bad=>{const _0x2ce244=_0x2f3503;_0x3e7bad[_0x2ce244(0x20c)]-=_0x4f3d69[_0x2ce244(0x1be)],_0x3e7bad[_0x2ce244(0x199)]=_0x2c22b0[_0x2ce244(0x1cc)],_0x3e7bad[_0x2ce244(0x1a4)]=!0x0,_0x3e7bad[_0x2ce244(0x23c)]=null;}),this[_0x2f3503(0x278)](_0x4f3d69,!0x0),this[_0x2f3503(0x227)][_0x2f3503(0x19e)]=-_0x4f3d69[_0x2f3503(0x1be)]+this[_0x2f3503(0x192)],this[_0x2f3503(0x28b)](_0x4f3d69);}this[_0x2f3503(0x25c)][_0x2f3503(0x1a3)][_0x2f3503(0x19e)]=_0x2f15ba,_0x274b2f=this[_0x2f3503(0x26a)](_0x2c22b0[_0x2f3503(0x21e)],_0x2c22b0[_0x2f3503(0x1d8)]),await this[_0x2f3503(0x23d)](_0x274b2f),this[_0x2f3503(0x278)](_0x274b2f,_0x16c968);}_0x2c22b0[_0x2f3503(0x19a)]&&(this[_0x2f3503(0x251)][_0x2f3503(0x230)](_0x274b2f,_0x2c22b0[_0x2f3503(0x19a)]),this[_0x2f3503(0x25f)]=_0x2c22b0[_0x2f3503(0x19a)]),this[_0x2f3503(0x227)][_0x2f3503(0x19e)]=_0x2f15ba+this[_0x2f3503(0x192)],this[_0x2f3503(0x28b)](_0x274b2f),_0x5aeeeb[_0x2f3503(0x265)](_0x5d54bc=>{const _0x5c2b63=_0x2f3503,_0x1289e0=this[_0x5c2b63(0x1a0)](_0x5d54bc);return _0x1289e0&&!this[_0x5c2b63(0x247)][_0x5c2b63(0x1b5)](_0x1289e0);})[_0x2f3503(0x1b7)]((_0x5455ed,_0x497ef5)=>{const _0x278362=_0x2f3503;_0x5455ed[_0x278362(0x20c)]=this[_0x278362(0x25c)][_0x278362(0x19e)]+_0x497ef5,this[_0x278362(0x228)](_0x5455ed);}),this[_0x2f3503(0x234)]()?(this[_0x2f3503(0x200)]=0x0,this[_0x2f3503(0x1ee)](!0x0),await this[_0x2f3503(0x281)]()):(this[_0x2f3503(0x1c7)]=!0x1,this[_0x2f3503(0x20f)]());}[_0x5c7728(0x1d2)](_0x13b5ad,_0x27b4a1){const _0x2910f7=_0x5c7728,_0x37469e=_0x27b4a1&&_0x27b4a1[_0x2910f7(0x194)];if(_0x37469e&&_0x37469e[_0x2910f7(0x21c)](_0x2910f7(0x1b1)))throw _0x27b4a1;const _0x36b500=this[_0x2910f7(0x266)][_0x2910f7(0x191)][_0x2910f7(0x18e)](_0x5074aa);throw this[_0x2910f7(0x1c7)]=!0x0,_0x36b500[_0x2910f7(0x208)](),this[_0x2910f7(0x266)][_0x2910f7(0x203)](_0x2910f7(0x21a)),new _0x30765c(_0x13b5ad,this[_0x2910f7(0x266)],_0x37469e?{'originalError':_0x37469e}:void 0x0);}[_0x5c7728(0x228)](_0x1e350a){const _0x5d6030=_0x5c7728;this[_0x5d6030(0x195)][_0x5d6030(0x1b5)](_0x1e350a)||(this[_0x5d6030(0x195)][_0x5d6030(0x231)](_0x1e350a),this[_0x5d6030(0x1a5)][_0x5d6030(0x1fd)](_0x1e350a),this[_0x5d6030(0x1c9)]||_0x5d6030(0x198)==_0x1e350a[_0x5d6030(0x18f)]&&!_0x1e350a[_0x5d6030(0x21d)]||this[_0x5d6030(0x1ab)]());}[_0x5c7728(0x1ee)](_0x56d2fe=!0x1){const _0x3c82da=_0x5c7728;!_0x56d2fe&&this[_0x3c82da(0x1c7)]||(this[_0x3c82da(0x1c7)]=!0x0,clearTimeout(this[_0x3c82da(0x27c)]),this[_0x3c82da(0x27c)]=setTimeout(()=>{const _0x345f83=_0x3c82da;this[_0x345f83(0x1c3)]()[_0x345f83(0x1d1)](_0x1125b3=>{const _0x204aec=_0x345f83;_0x1125b3&&(this[_0x204aec(0x20f)](),this[_0x204aec(0x1c7)]=!0x1);})[_0x345f83(0x205)](_0x266012=>{const _0x13bdca=_0x345f83;this[_0x13bdca(0x20f)](),this[_0x13bdca(0x1c7)]=!0x1,function(_0x2210e5){const _0x37992a=_0x13bdca;return _0x2210e5[_0x37992a(0x194)][_0x37992a(0x21c)](_0x37992a(0x28e))||_0x2210e5[_0x37992a(0x194)][_0x37992a(0x21c)](_0x37992a(0x1cb))||_0x2210e5[_0x37992a(0x194)][_0x37992a(0x21c)](_0x37992a(0x1fe));}(_0x266012)||this[_0x13bdca(0x1d2)](_0x266012[_0x13bdca(0x194)],_0x266012);});},this[_0x3c82da(0x200)]));}[_0x5c7728(0x281)](){return new Promise(_0x47e668=>{const _0x5b34e0=_0x5c29;this['on'](_0x5b34e0(0x19d),()=>{_0x47e668();});});}async[_0x5c7728(0x1c3)](){const _0x43987a=_0x5c7728,_0x2c49fa=this[_0x43987a(0x266)][_0x43987a(0x191)][_0x43987a(0x18e)](_0x350120);if(this[_0x43987a(0x23a)]()&&(_0x2c49fa[_0x43987a(0x1ef)](),this[_0x43987a(0x202)]=!0x1),!this[_0x43987a(0x234)]())return!0x0;const _0x19effd=[...this[_0x43987a(0x1a5)]];for(const _0x21e6cf of _0x19effd)_0x21e6cf[_0x43987a(0x279)]=this[_0x43987a(0x25c)][_0x43987a(0x1a3)][_0x43987a(0x250)](_0x21e6cf);const _0x26921a=this[_0x43987a(0x251)][_0x43987a(0x24e)](_0x19effd),_0x32d6e0=G++,_0xba993=this[_0x43987a(0x1a8)](_0x19effd),_0xc2b1f5=await this[_0x43987a(0x190)][_0x43987a(0x212)](_0xba993,_0xba993[_0x43987a(0x20c)],_0x26921a);try{return await this[_0x43987a(0x20a)](_0x19effd,_0xc2b1f5,_0x32d6e0);}catch(_0x16a9ed){return this[_0x43987a(0x1d2)](_0x43987a(0x20d),_0x16a9ed);}}async[_0x5c7728(0x20a)](_0x5f5a30,_0x3771fa,_0x5dace7){const _0x2627eb=_0x5c7728;if(_0x2627eb(0x1f3)in _0x3771fa)throw _0x3771fa[_0x2627eb(0x1f3)];let _0x2a246d=!0x1;if(_0x3771fa[_0x2627eb(0x216)]){_0x3771fa[_0x2627eb(0x19a)]&&(this[_0x2627eb(0x25f)]=_0x3771fa[_0x2627eb(0x19a)]),this[_0x2627eb(0x1a5)]=this[_0x2627eb(0x1a5)][_0x2627eb(0x265)](_0x49edcb=>!_0x5f5a30[_0x2627eb(0x217)](_0x49edcb));for(const _0x2020d2 of _0x5f5a30)_0x2020d2[_0x2627eb(0x199)]=_0x2627eb(0x1a2)in _0x3771fa&&_0x3771fa[_0x2627eb(0x1a2)]||void 0x0;K(_0x5f5a30,_0x3771fa[_0x2627eb(0x19e)]-_0x5f5a30[_0x2627eb(0x1be)]),this[_0x2627eb(0x28b)](_0x5f5a30);const _0x241b4f=_0x5f5a30[_0x2627eb(0x265)](_0x27f48f=>{const _0x2c903a=_0x2627eb;if(!_0x27f48f[_0x2c903a(0x1a4)])return!0x1;const _0x2c7553=this[_0x2c903a(0x1a0)](_0x27f48f);return _0x2c7553&&!this[_0x2c903a(0x247)][_0x2c903a(0x1b5)](_0x2c7553);});K(_0x241b4f,this[_0x2627eb(0x25c)][_0x2627eb(0x19e)]),this[_0x2627eb(0x278)](_0x241b4f),_0x2a246d=!0x0,this[_0x2627eb(0x200)]=this[_0x2627eb(0x211)];}else{const _0x4994c1=this[_0x2627eb(0x26a)](_0x3771fa[_0x2627eb(0x21e)],_0x3771fa[_0x2627eb(0x1d8)])[_0x2627eb(0x265)](_0x34d0bb=>_0x34d0bb[_0x2627eb(0x20c)]>=this[_0x2627eb(0x1fa)]);_0x4994c1[_0x2627eb(0x1b7)](_0x5b365a=>this[_0x2627eb(0x1ac)](_0x5b365a)),this[_0x2627eb(0x1a5)]=this[_0x2627eb(0x1a5)][_0x2627eb(0x265)](_0x22245f=>!_0x22245f[_0x2627eb(0x1a4)]||!this[_0x2627eb(0x247)][_0x2627eb(0x1b5)](this[_0x2627eb(0x1a0)](_0x22245f))),this[_0x2627eb(0x1a5)][_0x2627eb(0x1be)]&&K(this[_0x2627eb(0x1a5)],this[_0x2627eb(0x1a5)][0x0][_0x2627eb(0x20c)]),await this[_0x2627eb(0x23d)](_0x4994c1),_0x2a246d=this[_0x2627eb(0x215)](_0x4994c1,_0x3771fa[_0x2627eb(0x19e)],_0x3771fa[_0x2627eb(0x19a)]),this[_0x2627eb(0x200)]=Math[_0x2627eb(0x245)](this[_0x2627eb(0x200)]/0x2);}return _0x2a246d?!this[_0x2627eb(0x234)]()||(this[_0x2627eb(0x1ee)](!0x0),!0x1):this[_0x2627eb(0x1d2)](_0x2627eb(0x23b));}[_0x5c7728(0x215)](_0x5c7e0a,_0x127473,_0x1eda32){const _0x54d8ee=_0x5c7728;try{const _0x1d5344={'document':this[_0x54d8ee(0x25c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x9ef4aa,operationsB:_0x44b967,originalOperations:_0x4e84ee}=_0x4c0dd8(_0x5c7e0a,this[_0x54d8ee(0x1a5)],_0x1d5344);K(_0x9ef4aa,this[_0x54d8ee(0x25c)][_0x54d8ee(0x19e)]),K(_0x44b967,_0x127473);for(const _0x4f6569 of _0x9ef4aa){const _0x515fa0=_0x4e84ee[_0x54d8ee(0x18e)](_0x4f6569);_0x4f6569[_0x54d8ee(0x23c)]=_0x515fa0?_0x515fa0[_0x54d8ee(0x23c)]:null;}_0x1eda32&&(this[_0x54d8ee(0x251)][_0x54d8ee(0x230)](_0x5c7e0a,_0x1eda32),this[_0x54d8ee(0x25f)]=_0x1eda32),this[_0x54d8ee(0x1a5)]=[..._0x44b967],this[_0x54d8ee(0x278)](_0x9ef4aa),this[_0x54d8ee(0x28b)](_0x5c7e0a);}catch(_0x57287d){return console[_0x54d8ee(0x1f3)](_0x57287d),!0x1;}return!0x0;}[_0x5c7728(0x278)](_0x5e6eb0,_0x4f1245=!0x1){const _0x29a116=_0x5c7728;this[_0x29a116(0x266)][_0x29a116(0x1aa)][_0x29a116(0x25d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x22efb5=>{const _0x9ca003=_0x29a116;for(const _0x355e47 of _0x5e6eb0)this[_0x9ca003(0x195)][_0x9ca003(0x231)](_0x355e47),this[_0x9ca003(0x1ac)](_0x355e47),_0x22efb5[_0x9ca003(0x1ce)][_0x9ca003(0x1f1)](_0x355e47),this[_0x9ca003(0x266)][_0x9ca003(0x1aa)][_0x9ca003(0x1e0)](_0x355e47);});}[_0x5c7728(0x1ac)](_0x292f54){const _0x2d132d=_0x5c7728,_0x20e7fb=this[_0x2d132d(0x1a0)](_0x292f54);_0x20e7fb&&this[_0x2d132d(0x247)][_0x2d132d(0x231)](_0x20e7fb);}[_0x5c7728(0x1a0)](_0xf7b818){const _0x177003=_0x5c7728;let _0x2ddcc9,_0x13c35a;switch(_0xf7b818[_0x177003(0x18f)]){case _0x177003(0x1f7):_0x2ddcc9=_0xf7b818[_0x177003(0x249)][_0x177003(0x235)];break;case _0x177003(0x198):if(_0x13c35a=_0xf7b818[_0x177003(0x23f)],!_0x13c35a)return null;_0x2ddcc9=_0x13c35a[_0x177003(0x235)];break;case _0x177003(0x22c):_0x2ddcc9=_0xf7b818[_0x177003(0x235)];break;case _0x177003(0x1f8):_0x2ddcc9=_0xf7b818[_0x177003(0x19f)];break;case _0x177003(0x257):_0x2ddcc9=_0xf7b818[_0x177003(0x243)][_0x177003(0x235)];break;default:return null;}return _0x2ddcc9[_0x177003(0x289)];}[_0x5c7728(0x28b)](_0x3a8f6f){const _0x4a339c=_0x5c7728;_0x3a8f6f[_0x4a339c(0x1b7)](_0x48c6e7=>{const _0x108ecb=_0x4a339c,_0x1a2125=_0x48c6e7[_0x108ecb(0x255)]();_0x1a2125[_0x108ecb(0x23c)]=_0x48c6e7[_0x108ecb(0x23c)],_0x1a2125[_0x108ecb(0x1a4)]=!!_0x48c6e7[_0x108ecb(0x1a4)],_0x1a2125[_0x108ecb(0x199)]=_0x48c6e7[_0x108ecb(0x199)],_0x1a2125[_0x108ecb(0x20c)]+=this[_0x108ecb(0x192)],_0x48c6e7[_0x108ecb(0x1e7)]&&this[_0x108ecb(0x276)][_0x108ecb(0x231)](_0x1a2125),this[_0x108ecb(0x227)][_0x108ecb(0x1f1)](_0x1a2125);});}[_0x5c7728(0x1ba)](_0x1e115d){const _0x4c6dbc=_0x5c7728,_0x2e7384=this[_0x4c6dbc(0x266)][_0x4c6dbc(0x191)][_0x4c6dbc(0x18e)](_0x4c6dbc(0x18d)),_0x39abbd=this[_0x4c6dbc(0x266)][_0x4c6dbc(0x1d4)];_0x1e115d||(_0x1e115d=_0xb6e749(_0x39abbd,_0x4c6dbc(0x1a6))),_0x2e7384[_0x4c6dbc(0x258)](_0x1e115d,{'title':_0xb6e749(_0x39abbd,_0x4c6dbc(0x1c5)),'namespace':_0x4c6dbc(0x1d7)}),this[_0x4c6dbc(0x1f5)]=!0x0,clearTimeout(this[_0x4c6dbc(0x27c)]),this[_0x4c6dbc(0x1a5)]=[],this[_0x4c6dbc(0x266)][_0x4c6dbc(0x191)][_0x4c6dbc(0x18e)](_0x5074aa)[_0x4c6dbc(0x208)]();}[_0x5c7728(0x1ab)](){const _0x53e201=_0x5c7728;this[_0x53e201(0x1c9)]||(this[_0x53e201(0x1c9)]=this[_0x53e201(0x266)][_0x53e201(0x191)][_0x53e201(0x18e)](_0x9d865f)[_0x53e201(0x231)](_0xb6e749(this[_0x53e201(0x266)][_0x53e201(0x1d4)],_0x53e201(0x262))));}[_0x5c7728(0x20f)](){const _0x1e72ca=_0x5c7728;this[_0x1e72ca(0x1c9)]&&(this[_0x1e72ca(0x266)][_0x1e72ca(0x191)][_0x1e72ca(0x18e)](_0x9d865f)[_0x1e72ca(0x226)](this[_0x1e72ca(0x1c9)]),this[_0x1e72ca(0x1c9)]=null);}[_0x5c7728(0x1a8)](_0x4f5af6){const _0x4f9ebb=_0x5c7728,_0x3de0fd=_0x4f5af6[_0x4f9ebb(0x241)](_0x373f4=>_0x373f4[_0x4f9ebb(0x210)]());return this[_0x4f9ebb(0x233)][_0x4f9ebb(0x238)](_0x3de0fd);}[_0x5c7728(0x26a)](_0x51f8d0,_0x1bfb3d){const _0xe0ebc3=_0x5c7728;return this[_0xe0ebc3(0x233)][_0xe0ebc3(0x261)](_0x51f8d0)[_0xe0ebc3(0x241)]((_0x409997,_0x5e655f)=>{const _0x3aba9f=_0xe0ebc3,_0x14364c=_0x3aba9f(0x1d5)==_0x1bfb3d[_0x5e655f][_0x3aba9f(0x18f)];if(_0x3aba9f(0x218)==_0x409997[_0x3aba9f(0x26c)]){const _0x5ef76e=_0x409997[_0x3aba9f(0x249)][_0x3aba9f(0x235)];!this[_0x3aba9f(0x25c)][_0x3aba9f(0x236)](_0x5ef76e)&&(this[_0x3aba9f(0x25c)][_0x3aba9f(0x240)](_0x3aba9f(0x28d),_0x5ef76e)[_0x3aba9f(0x1cd)]=!0x1);}const _0x394bfe=_0x508621[_0x3aba9f(0x242)](_0x409997,this[_0x3aba9f(0x25c)]);return _0x394bfe[_0x3aba9f(0x279)]=_0x409997[_0x3aba9f(0x279)],_0x394bfe[_0x3aba9f(0x1a4)]=_0x14364c,_0x394bfe[_0x3aba9f(0x23c)]=_0x14364c?null:_0x1bfb3d[_0x5e655f][_0x3aba9f(0x1de)],_0x394bfe[_0x3aba9f(0x1e7)]=_0x3aba9f(0x1b0)===_0x1bfb3d[_0x5e655f][_0x3aba9f(0x18f)],_0x394bfe[_0x3aba9f(0x199)]=_0x1bfb3d[_0x5e655f][_0x3aba9f(0x199)],_0x394bfe;});}[_0x5c7728(0x1db)](){const _0x142bcb=_0x5c7728;this[_0x142bcb(0x202)]=!0x0,this[_0x142bcb(0x23a)]()?this[_0x142bcb(0x1ee)]():this[_0x142bcb(0x202)]=!0x1;}[_0x5c7728(0x23a)](){const _0x56ac68=_0x5c7728,_0x58ca93=this[_0x56ac68(0x266)][_0x56ac68(0x191)][_0x56ac68(0x18e)](_0x1d9ade)[_0x56ac68(0x196)][_0x56ac68(0x18e)](this[_0x56ac68(0x24d)]);return!this[_0x56ac68(0x266)][_0x56ac68(0x1f6)]&&!!_0x58ca93&&_0x58ca93[_0x56ac68(0x1be)]>0x1&&this[_0x56ac68(0x202)];}[_0x5c7728(0x234)](){const _0x3e42ba=_0x5c7728;return this[_0x3e42ba(0x1a5)][_0x3e42ba(0x1be)]>0x0||this[_0x3e42ba(0x23a)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x21724c,_0x590865){const _0x138a14=_0x5c7728;for(const _0x2164a4 of _0x21724c)_0x2164a4[_0x138a14(0x20c)]=_0x590865++;}class J{[_0x5c7728(0x213)];[_0x5c7728(0x1b8)];constructor(_0x54ffd3){const _0x33b67a=_0x5c7728;this[_0x33b67a(0x213)]=_0x54ffd3,this[_0x33b67a(0x1b8)]=new WeakMap();}[_0x5c7728(0x24e)](_0x216f84){const _0x2e89f6=_0x5c7728;let _0x9f9abe=_0x216f84[_0x2e89f6(0x1be)];for(;_0x9f9abe--;){const _0x3fef99=_0x216f84[_0x9f9abe];if(!this[_0x2e89f6(0x213)][_0x2e89f6(0x1b5)](_0x3fef99)){if(!this[_0x2e89f6(0x1b8)][_0x2e89f6(0x1b5)](_0x3fef99)){const _0x19bde3=_0x4bd1d9()[_0x2e89f6(0x259)](0x1,0x12);this[_0x2e89f6(0x1b8)][_0x2e89f6(0x269)](_0x3fef99,_0x19bde3);}return this[_0x2e89f6(0x1b8)][_0x2e89f6(0x18e)](_0x3fef99);}}}[_0x5c7728(0x230)](_0x2ddb81,_0x1b92f0){const _0x162513=_0x5c7728;if(!_0x1b92f0)return;let _0x3bb73e=_0x2ddb81[_0x162513(0x1be)];for(;_0x3bb73e--;){const _0x459747=_0x2ddb81[_0x3bb73e];this[_0x162513(0x213)][_0x162513(0x1b5)](_0x459747)||this[_0x162513(0x1b8)][_0x162513(0x269)](_0x459747,_0x1b92f0);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5b54(){const _0xfcfa91=['8pxTtis','state','967253lQkEJp','values','stopListening','connected','165600pCyztC','init','sessions-unregister-not-exist','isPremiumPlugin','forEach','2398389xfjDJG','getUserRole','isMe','addUser','sessions-register-already-registered','getUserSessions','5624187HaDNLX','size','pluginName','remove','sessionAdd:','listenTo','register','_registeredSessions','_handleSessionAdd','sessionId','connection','getUserBySessionId','5355174TdtLlo','change:state','plugins','_users','has','get','defineMe','allConnectedUsers','_handleSessionRemove','delete','287465jRYkFj','clear','mySessionId','fire','getUser','context','channelConnectedUsers','1449048uzGlvN','unregister','assign','_uniqueUsersCount','set','add','user','isOfficialPlugin','orderNumber','Sessions','requires','channelSessions','_createUser','role'];_0x5b54=function(){return _0xfcfa91;};return _0x5b54();}const _0x3f2e6d=_0x304d;(function(_0x5e9ddc,_0x3f9e42){const _0x52ac10=_0x304d,_0xc12c6c=_0x5e9ddc();while(!![]){try{const _0x456574=-parseInt(_0x52ac10(0xec))/0x1+parseInt(_0x52ac10(0xdc))/0x2+parseInt(_0x52ac10(0xbf))/0x3+parseInt(_0x52ac10(0xea))/0x4*(-parseInt(_0x52ac10(0xd5))/0x5)+-parseInt(_0x52ac10(0xcb))/0x6+parseInt(_0x52ac10(0xb9))/0x7+parseInt(_0x52ac10(0xf0))/0x8;if(_0x456574===_0x3f9e42)break;else _0xc12c6c['push'](_0xc12c6c['shift']());}catch(_0x3b1a7e){_0xc12c6c['push'](_0xc12c6c['shift']());}}}(_0x5b54,0xf12a4));import{ContextPlugin as _0x3baddc}from'ckeditor5/src/core.js';import{Collection as _0x1a4f1b,CKEditorError as _0x18493d}from'ckeditor5/src/utils.js';function _0x304d(_0x20fc47,_0x42b209){const _0x5b5413=_0x5b54();return _0x304d=function(_0x304d4,_0x1df55d){_0x304d4=_0x304d4-0xb5;let _0x5306f6=_0x5b5413[_0x304d4];return _0x5306f6;},_0x304d(_0x20fc47,_0x42b209);}import{WebSocketGateway as _0x59bfa4}from'./websocketgateway.js';import{Users as _0x1a6f27}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x3baddc{[_0x3f2e6d(0xe7)];[_0x3f2e6d(0xdb)];[_0x3f2e6d(0xd2)];[_0x3f2e6d(0xc6)];[_0x3f2e6d(0xdf)];[_0x3f2e6d(0xce)];static get[_0x3f2e6d(0xc1)](){const _0xf8be3a=_0x3f2e6d;return _0xf8be3a(0xe5);}static get[_0x3f2e6d(0xe3)](){return!0x0;}static get[_0x3f2e6d(0xb7)](){return!0x0;}static get[_0x3f2e6d(0xe6)](){return[_0x59bfa4,_0x1a6f27];}constructor(_0x40d528){const _0x174ca8=_0x3f2e6d;super(_0x40d528),this[_0x174ca8(0xe7)]=new Map(),this[_0x174ca8(0xdb)]=new Map(),this[_0x174ca8(0xd2)]=new _0x1a4f1b(),this[_0x174ca8(0xc6)]=new Map(),this[_0x174ca8(0xdf)]=0x0,this[_0x174ca8(0xce)]=this[_0x174ca8(0xda)][_0x174ca8(0xcd)][_0x174ca8(0xd0)](_0x1a6f27);}[_0x3f2e6d(0xb5)](){const _0x517415=_0x3f2e6d,_0x14350d=this[_0x517415(0xda)][_0x517415(0xcd)][_0x517415(0xd0)](_0x59bfa4);this[_0x517415(0xc4)](_0x14350d,_0x517415(0xcc),(_0x1316bb,_0x387114,_0x2d3199)=>{const _0x253abd=_0x517415;if(_0x253abd(0xef)!==_0x2d3199)this[_0x253abd(0xe7)][_0x253abd(0xb8)](_0x310bfa=>_0x310bfa[_0x253abd(0xd6)]()),this[_0x253abd(0xdb)][_0x253abd(0xb8)](_0x80e9b4=>_0x80e9b4[_0x253abd(0xd6)]()),this[_0x253abd(0xd2)][_0x253abd(0xd6)]();else{for(const [_0x1e5f5c,_0x352f69]of this[_0x253abd(0xc6)])for(const _0x540eca of _0x352f69)this[_0x253abd(0xc7)](_0x1e5f5c,_0x540eca);}}),this[_0x517415(0xe8)](_0x14350d[_0x517415(0xc9)]['me'],!0x0);}[_0x3f2e6d(0xc5)](_0x374944,_0x2b83d2){const _0x54e895=_0x3f2e6d;if(this[_0x54e895(0xc6)][_0x54e895(0xcf)](_0x374944))throw new _0x18493d(_0x54e895(0xbd),null,{'channelId':_0x374944});this[_0x54e895(0xc6)][_0x54e895(0xe0)](_0x374944,_0x2b83d2),this[_0x54e895(0xe7)][_0x54e895(0xe0)](_0x374944,new _0x1a4f1b()),this[_0x54e895(0xdb)][_0x54e895(0xe0)](_0x374944,new _0x1a4f1b()),this[_0x54e895(0xc4)](_0x2b83d2,_0x54e895(0xe1),(_0x5b33fe,_0x35db84)=>this[_0x54e895(0xc7)](_0x374944,_0x35db84)),this[_0x54e895(0xc4)](_0x2b83d2,_0x54e895(0xc2),(_0x36aa24,_0x2ff8f2)=>this[_0x54e895(0xd3)](_0x374944,_0x2ff8f2));for(const _0x592a47 of _0x2b83d2)this[_0x54e895(0xc7)](_0x374944,_0x592a47);}[_0x3f2e6d(0xdd)](_0x5701cd){const _0x97acdd=_0x3f2e6d;if(!this[_0x97acdd(0xc6)][_0x97acdd(0xcf)](_0x5701cd))throw new _0x18493d(_0x97acdd(0xb6),null,{'channelId':_0x5701cd});const _0x5de667=this[_0x97acdd(0xc6)][_0x97acdd(0xd0)](_0x5701cd);this[_0x97acdd(0xee)](_0x5de667);for(const _0x1b9721 of _0x5de667)_0x97acdd(0xef)===this[_0x97acdd(0xda)][_0x97acdd(0xcd)][_0x97acdd(0xd0)](_0x59bfa4)[_0x97acdd(0xeb)]&&this[_0x97acdd(0xd3)](_0x5701cd,_0x1b9721);this[_0x97acdd(0xc6)][_0x97acdd(0xd4)](_0x5701cd),this[_0x97acdd(0xe7)][_0x97acdd(0xd4)](_0x5701cd),this[_0x97acdd(0xdb)][_0x97acdd(0xd4)](_0x5701cd);}get[_0x3f2e6d(0xd7)](){const _0x4897a2=_0x3f2e6d;return this[_0x4897a2(0xda)][_0x4897a2(0xcd)][_0x4897a2(0xd0)](_0x59bfa4)[_0x4897a2(0xc9)][_0x4897a2(0xc8)];}[_0x3f2e6d(0xca)](_0x2d32b1){const _0x13d987=_0x3f2e6d;for(const _0x4d975d of this[_0x13d987(0xe7)][_0x13d987(0xed)]())for(const _0x299a23 of _0x4d975d)if(_0x299a23['id']===_0x2d32b1)return _0x299a23[_0x13d987(0xe2)];}[_0x3f2e6d(0xbe)](_0x4c6b8b,_0x28d2f9){const _0xcff2f8=_0x3f2e6d,_0x3b62ad=_0x28d2f9?[this[_0xcff2f8(0xe7)][_0xcff2f8(0xd0)](_0x28d2f9)]:this[_0xcff2f8(0xe7)][_0xcff2f8(0xed)](),_0x426773=new Set();for(const _0x5ccbc7 of _0x3b62ad)for(const _0xbad869 of _0x5ccbc7)_0xbad869[_0xcff2f8(0xe2)]['id']===_0x4c6b8b['id']&&_0x426773[_0xcff2f8(0xe1)](_0xbad869['id']);return _0x426773;}[_0x3f2e6d(0xba)](_0x4edb50){const _0x481b42=_0x3f2e6d;for(const _0x259296 of this[_0x481b42(0xe7)][_0x481b42(0xed)]())for(const _0x14460c of _0x259296)if(_0x14460c[_0x481b42(0xe2)]===_0x4edb50)return _0x14460c[_0x481b42(0xe9)];}[_0x3f2e6d(0xc7)](_0x5cc374,_0x5bf80b){const _0x558e4f=_0x3f2e6d;if(_0x558e4f(0xef)!==this[_0x558e4f(0xda)][_0x558e4f(0xcd)][_0x558e4f(0xd0)](_0x59bfa4)[_0x558e4f(0xeb)])return;const _0x1a714e=_0x5bf80b[_0x558e4f(0xe2)],_0x384b07=this[_0x558e4f(0xce)][_0x558e4f(0xd9)](_0x1a714e['id'])||this[_0x558e4f(0xe8)](_0x1a714e),_0x28c9e1=Object[_0x558e4f(0xde)]({},_0x5bf80b,{'user':_0x384b07});this[_0x558e4f(0xe7)][_0x558e4f(0xd0)](_0x5cc374)[_0x558e4f(0xe1)](_0x28c9e1);const _0x1847e3=this[_0x558e4f(0xdb)][_0x558e4f(0xd0)](_0x5cc374);_0x1847e3[_0x558e4f(0xcf)](_0x384b07['id'])||_0x1847e3[_0x558e4f(0xe1)](_0x384b07),this[_0x558e4f(0xd2)][_0x558e4f(0xcf)](_0x384b07['id'])||this[_0x558e4f(0xd2)][_0x558e4f(0xe1)](_0x384b07,_0x384b07[_0x558e4f(0xbb)]?0x0:void 0x0),this[_0x558e4f(0xd8)](_0x558e4f(0xc3)+_0x5cc374,{'channelId':_0x5cc374,'session':_0x28c9e1});}[_0x3f2e6d(0xd3)](_0x200ac5,_0x2f3a26){const _0x17a4e8=_0x3f2e6d;if(_0x17a4e8(0xef)!==this[_0x17a4e8(0xda)][_0x17a4e8(0xcd)][_0x17a4e8(0xd0)](_0x59bfa4)[_0x17a4e8(0xeb)])return;const _0x502748=this[_0x17a4e8(0xdb)][_0x17a4e8(0xd0)](_0x200ac5),_0x290f55=_0x2f3a26[_0x17a4e8(0xe2)];_0x290f55['id']&&(this[_0x17a4e8(0xe7)][_0x17a4e8(0xd0)](_0x200ac5)[_0x17a4e8(0xc2)](_0x2f3a26['id']),_0x502748[_0x17a4e8(0xcf)](_0x290f55['id'])&&!this[_0x17a4e8(0xbe)](_0x290f55,_0x200ac5)[_0x17a4e8(0xc0)]&&_0x502748[_0x17a4e8(0xc2)](_0x290f55['id']),this[_0x17a4e8(0xd2)][_0x17a4e8(0xd0)](_0x290f55['id'])&&!this[_0x17a4e8(0xbe)](_0x290f55)[_0x17a4e8(0xc0)]&&this[_0x17a4e8(0xd2)][_0x17a4e8(0xc2)](_0x290f55['id']));}[_0x3f2e6d(0xe8)](_0x34dd5c,_0x5da70d){const _0x180d95=_0x3f2e6d,_0x56a63f=this[_0x180d95(0xce)][_0x180d95(0xbc)](_0x34dd5c);return _0x5da70d&&this[_0x180d95(0xce)][_0x180d95(0xd1)](_0x34dd5c['id']),_0x56a63f[_0x180d95(0xe4)]=this[_0x180d95(0xdf)]++,_0x56a63f;}}
23
+ const _0x114295=_0x508c;(function(_0x4d8c12,_0x49497c){const _0x228bc7=_0x508c,_0x3fffb0=_0x4d8c12();while(!![]){try{const _0x1d62a1=parseInt(_0x228bc7(0x8e))/0x1+parseInt(_0x228bc7(0xc5))/0x2+-parseInt(_0x228bc7(0x90))/0x3*(-parseInt(_0x228bc7(0x9f))/0x4)+-parseInt(_0x228bc7(0xac))/0x5*(parseInt(_0x228bc7(0xc2))/0x6)+-parseInt(_0x228bc7(0xc0))/0x7+parseInt(_0x228bc7(0xb1))/0x8*(-parseInt(_0x228bc7(0xc1))/0x9)+parseInt(_0x228bc7(0xaf))/0xa*(parseInt(_0x228bc7(0xa8))/0xb);if(_0x1d62a1===_0x49497c)break;else _0x3fffb0['push'](_0x3fffb0['shift']());}catch(_0x140640){_0x3fffb0['push'](_0x3fffb0['shift']());}}}(_0x3d0a,0x73cfe));import{ContextPlugin as _0x352fbf}from'ckeditor5/src/core.js';import{Collection as _0x2e23dd,CKEditorError as _0x553b50}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x251269}from'./websocketgateway.js';import{Users as _0x200ec3}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x508c(_0x27f6c5,_0x566acf){const _0x3d0a48=_0x3d0a();return _0x508c=function(_0x508ca7,_0x26a64a){_0x508ca7=_0x508ca7-0x8d;let _0x5d726e=_0x3d0a48[_0x508ca7];return _0x5d726e;},_0x508c(_0x27f6c5,_0x566acf);}function _0x3d0a(){const _0x3f2d2e=['change:state','247614lhzNru','register','pluginName','isMe','context','channelConnectedUsers','requires','stopListening','_handleSessionRemove','forEach','assign','getUserBySessionId','channelSessions','has','mySessionId','8nVNKkc','hiddenInPresenceList','sessionId','sessions-unregister-not-exist','set','plugins','_createUser','orderNumber','isPremiumPlugin','497101wkYmDD','listenTo','values','sessionAdd:','990425oetwms','remove','unregister','290vMTqnc','defineMe','144LfIxQs','init','size','connected','role','_uniqueUsersCount','connection','isOfficialPlugin','Sessions','addUser','_registeredSessions','user','fire','allConnectedUsers','get','5596549AFHQaD','348291HNQSjw','6hRPzNC','_handleSessionAdd','clear','22864AoZIvl','getUserSessions','state','add','sessions-register-already-registered','_users','getUser','delete','getUserRole','681493HYUUVN'];_0x3d0a=function(){return _0x3f2d2e;};return _0x3d0a();}export class Sessions extends _0x352fbf{[_0x114295(0x9c)];[_0x114295(0x95)];[_0x114295(0xbe)];[_0x114295(0xbb)];[_0x114295(0xb6)];[_0x114295(0xca)];static get[_0x114295(0x92)](){const _0x149f23=_0x114295;return _0x149f23(0xb9);}static get[_0x114295(0xb8)](){return!0x0;}static get[_0x114295(0xa7)](){return!0x0;}static get[_0x114295(0x96)](){return[_0x251269,_0x200ec3];}constructor(_0x1f48a6){const _0x3c2444=_0x114295;super(_0x1f48a6),this[_0x3c2444(0x9c)]=new Map(),this[_0x3c2444(0x95)]=new Map(),this[_0x3c2444(0xbe)]=new _0x2e23dd(),this[_0x3c2444(0xbb)]=new Map(),this[_0x3c2444(0xb6)]=0x0,this[_0x3c2444(0xca)]=this[_0x3c2444(0x94)][_0x3c2444(0xa4)][_0x3c2444(0xbf)](_0x200ec3);}[_0x114295(0xb2)](){const _0x4c1651=_0x114295,_0x23c615=this[_0x4c1651(0x94)][_0x4c1651(0xa4)][_0x4c1651(0xbf)](_0x251269);this[_0x4c1651(0xa9)](_0x23c615,_0x4c1651(0x8f),(_0xfd664c,_0x48eb94,_0x4ae833)=>{const _0x53fb1d=_0x4c1651;if(_0x53fb1d(0xb4)!==_0x4ae833)this[_0x53fb1d(0x9c)][_0x53fb1d(0x99)](_0x292d31=>_0x292d31[_0x53fb1d(0xc4)]()),this[_0x53fb1d(0x95)][_0x53fb1d(0x99)](_0x34279f=>_0x34279f[_0x53fb1d(0xc4)]()),this[_0x53fb1d(0xbe)][_0x53fb1d(0xc4)]();else{for(const [_0x15076c,_0x51cc38]of this[_0x53fb1d(0xbb)])for(const _0x1c9535 of _0x51cc38)this[_0x53fb1d(0xc3)](_0x15076c,_0x1c9535);}}),this[_0x4c1651(0xa5)](_0x23c615[_0x4c1651(0xb7)]['me'],!0x0);}[_0x114295(0x91)](_0x1f99fc,_0x3a6e28){const _0x11ac91=_0x114295;if(this[_0x11ac91(0xbb)][_0x11ac91(0x9d)](_0x1f99fc))throw new _0x553b50(_0x11ac91(0xc9),null,{'channelId':_0x1f99fc});this[_0x11ac91(0xbb)][_0x11ac91(0xa3)](_0x1f99fc,_0x3a6e28),this[_0x11ac91(0x9c)][_0x11ac91(0xa3)](_0x1f99fc,new _0x2e23dd()),this[_0x11ac91(0x95)][_0x11ac91(0xa3)](_0x1f99fc,new _0x2e23dd()),this[_0x11ac91(0xa9)](_0x3a6e28,_0x11ac91(0xc8),(_0x26f60b,_0x42cf41)=>this[_0x11ac91(0xc3)](_0x1f99fc,_0x42cf41)),this[_0x11ac91(0xa9)](_0x3a6e28,_0x11ac91(0xad),(_0x1a1324,_0x1ab442)=>this[_0x11ac91(0x98)](_0x1f99fc,_0x1ab442));for(const _0x3b1e27 of _0x3a6e28)this[_0x11ac91(0xc3)](_0x1f99fc,_0x3b1e27);}[_0x114295(0xae)](_0x5ab0f3){const _0x4952d1=_0x114295;if(!this[_0x4952d1(0xbb)][_0x4952d1(0x9d)](_0x5ab0f3))throw new _0x553b50(_0x4952d1(0xa2),null,{'channelId':_0x5ab0f3});const _0x49c9ed=this[_0x4952d1(0xbb)][_0x4952d1(0xbf)](_0x5ab0f3);this[_0x4952d1(0x97)](_0x49c9ed);for(const _0xeb75ef of _0x49c9ed)_0x4952d1(0xb4)===this[_0x4952d1(0x94)][_0x4952d1(0xa4)][_0x4952d1(0xbf)](_0x251269)[_0x4952d1(0xc7)]&&this[_0x4952d1(0x98)](_0x5ab0f3,_0xeb75ef);this[_0x4952d1(0xbb)][_0x4952d1(0xcc)](_0x5ab0f3),this[_0x4952d1(0x9c)][_0x4952d1(0xcc)](_0x5ab0f3),this[_0x4952d1(0x95)][_0x4952d1(0xcc)](_0x5ab0f3);}get[_0x114295(0x9e)](){const _0x28146e=_0x114295;return this[_0x28146e(0x94)][_0x28146e(0xa4)][_0x28146e(0xbf)](_0x251269)[_0x28146e(0xb7)][_0x28146e(0xa1)];}[_0x114295(0x9b)](_0x2aac09){const _0x52c2d1=_0x114295;for(const _0x2d7c8a of this[_0x52c2d1(0x9c)][_0x52c2d1(0xaa)]())for(const _0x7b6c1f of _0x2d7c8a)if(_0x7b6c1f['id']===_0x2aac09)return _0x7b6c1f[_0x52c2d1(0xbc)];}[_0x114295(0xc6)](_0x53cb2c,_0x539d02){const _0x28ff55=_0x114295,_0x33ece0=_0x539d02?[this[_0x28ff55(0x9c)][_0x28ff55(0xbf)](_0x539d02)]:this[_0x28ff55(0x9c)][_0x28ff55(0xaa)](),_0x418517=new Set();for(const _0x21d3a8 of _0x33ece0)for(const _0x188d70 of _0x21d3a8)_0x188d70[_0x28ff55(0xbc)]['id']===_0x53cb2c['id']&&_0x418517[_0x28ff55(0xc8)](_0x188d70['id']);return _0x418517;}[_0x114295(0x8d)](_0x380728){const _0x5305a8=_0x114295;for(const _0x5ea9ca of this[_0x5305a8(0x9c)][_0x5305a8(0xaa)]())for(const _0x57ec9b of _0x5ea9ca)if(_0x57ec9b[_0x5305a8(0xbc)]===_0x380728)return _0x57ec9b[_0x5305a8(0xb5)];}[_0x114295(0xc3)](_0x5a4ae3,_0x2bf796){const _0x5902b3=_0x114295;if(_0x5902b3(0xb4)!==this[_0x5902b3(0x94)][_0x5902b3(0xa4)][_0x5902b3(0xbf)](_0x251269)[_0x5902b3(0xc7)])return;const _0x13b1dc=_0x2bf796[_0x5902b3(0xbc)],_0x229fa1=this[_0x5902b3(0xca)][_0x5902b3(0xcb)](_0x13b1dc['id'])||this[_0x5902b3(0xa5)](_0x13b1dc),_0x1c9a0c=Object[_0x5902b3(0x9a)]({},_0x2bf796,{'user':_0x229fa1});if(this[_0x5902b3(0x9c)][_0x5902b3(0xbf)](_0x5a4ae3)[_0x5902b3(0xc8)](_0x1c9a0c),!_0x13b1dc[_0x5902b3(0xa0)]){const _0x56bac1=this[_0x5902b3(0x95)][_0x5902b3(0xbf)](_0x5a4ae3);_0x56bac1[_0x5902b3(0x9d)](_0x229fa1['id'])||_0x56bac1[_0x5902b3(0xc8)](_0x229fa1),this[_0x5902b3(0xbe)][_0x5902b3(0x9d)](_0x229fa1['id'])||_0x13b1dc[_0x5902b3(0xa0)]||this[_0x5902b3(0xbe)][_0x5902b3(0xc8)](_0x229fa1,_0x229fa1[_0x5902b3(0x93)]?0x0:void 0x0);}this[_0x5902b3(0xbd)](_0x5902b3(0xab)+_0x5a4ae3,{'channelId':_0x5a4ae3,'session':_0x1c9a0c});}[_0x114295(0x98)](_0xb923a4,_0x43bbf5){const _0x1cbf64=_0x114295;if(_0x1cbf64(0xb4)!==this[_0x1cbf64(0x94)][_0x1cbf64(0xa4)][_0x1cbf64(0xbf)](_0x251269)[_0x1cbf64(0xc7)])return;const _0x251fb9=this[_0x1cbf64(0x95)][_0x1cbf64(0xbf)](_0xb923a4),_0x5e6ec7=_0x43bbf5[_0x1cbf64(0xbc)];_0x5e6ec7['id']&&(this[_0x1cbf64(0x9c)][_0x1cbf64(0xbf)](_0xb923a4)[_0x1cbf64(0xad)](_0x43bbf5['id']),_0x251fb9[_0x1cbf64(0x9d)](_0x5e6ec7['id'])&&!this[_0x1cbf64(0xc6)](_0x5e6ec7,_0xb923a4)[_0x1cbf64(0xb3)]&&_0x251fb9[_0x1cbf64(0xad)](_0x5e6ec7['id']),this[_0x1cbf64(0xbe)][_0x1cbf64(0xbf)](_0x5e6ec7['id'])&&!this[_0x1cbf64(0xc6)](_0x5e6ec7)[_0x1cbf64(0xb3)]&&this[_0x1cbf64(0xbe)][_0x1cbf64(0xad)](_0x5e6ec7['id']));}[_0x114295(0xa5)](_0x356365,_0x59ae0b){const _0x1be190=_0x114295,_0x123ef4=this[_0x1be190(0xca)][_0x1be190(0xba)](_0x356365);return _0x59ae0b&&this[_0x1be190(0xca)][_0x1be190(0xb0)](_0x356365['id']),_0x123ef4[_0x1be190(0xa6)]=this[_0x1be190(0xb6)]++,_0x123ef4;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14fe40=_0x4449;(function(_0x9ee19c,_0x33f16d){const _0x5df398=_0x4449,_0x4d44f9=_0x9ee19c();while(!![]){try{const _0x147b41=-parseInt(_0x5df398(0xf7))/0x1+-parseInt(_0x5df398(0xe0))/0x2*(parseInt(_0x5df398(0xe8))/0x3)+parseInt(_0x5df398(0x149))/0x4*(parseInt(_0x5df398(0xe3))/0x5)+-parseInt(_0x5df398(0x146))/0x6*(-parseInt(_0x5df398(0x131))/0x7)+-parseInt(_0x5df398(0x127))/0x8*(parseInt(_0x5df398(0x10e))/0x9)+-parseInt(_0x5df398(0x10f))/0xa+-parseInt(_0x5df398(0x159))/0xb*(-parseInt(_0x5df398(0x142))/0xc);if(_0x147b41===_0x33f16d)break;else _0x4d44f9['push'](_0x4d44f9['shift']());}catch(_0x3ea700){_0x4d44f9['push'](_0x4d44f9['shift']());}}}(_0x515f,0xbaa31));import{Plugin as _0x12bf96}from'ckeditor5/src/core.js';import{global as _0x53e57f,DomEmitterMixin as _0x1d6387}from'ckeditor5/src/utils.js';import{Sessions as _0x5263e1}from'./sessions.js';function _0x4449(_0xb259c8,_0x2d9d5d){const _0x515f49=_0x515f();return _0x4449=function(_0x4449e8,_0x1573c4){_0x4449e8=_0x4449e8-0xd9;let _0x4ce044=_0x515f49[_0x4449e8];return _0x4ce044;},_0x4449(_0xb259c8,_0x2d9d5d);}import{ModelLiveRange as _0x144d18}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x12bf96{[_0x14fe40(0x13b)]=new(_0x1d6387())();static get[_0x14fe40(0x137)](){return[_0x5263e1];}static get[_0x14fe40(0x102)](){const _0x194be0=_0x14fe40;return _0x194be0(0xdd);}static get[_0x14fe40(0x129)](){return!0x0;}static get[_0x14fe40(0xf2)](){return!0x0;}[_0x14fe40(0x15d)](){const _0x976dd=_0x14fe40,_0x256506=this[_0x976dd(0x109)],_0x5a1cfa=_0x256506[_0x976dd(0x163)][_0x976dd(0x11f)](_0x5263e1);_0x256506[_0x976dd(0x13d)][_0x976dd(0xe2)](_0x976dd(0x115))[_0x976dd(0xed)]({'model':_0x976dd(0xdf),'view':(_0x1259e4,{writer:_0x43d652})=>function(_0x48f50a,_0x31095e,_0x9f391,_0x2b2efb){const _0x10a787=_0x976dd,_0x5d5fcc=_0x48f50a[_0x10a787(0xf5)][_0x10a787(0x138)](':')[0x2],_0x5c8236=_0x9f391[_0x10a787(0xda)](_0x5d5fcc);if(!_0x5c8236||_0x5d5fcc===_0x9f391[_0x10a787(0x165)])return;if(!_0x2b2efb[_0x10a787(0x152)][_0x10a787(0x148)][_0x10a787(0x144)](_0x48f50a[_0x10a787(0x10b)][_0x10a787(0xfa)],_0x10a787(0x139)))return;const _0x5d8bed={'class':_0x10a787(0x132)+_0x5c8236[_0x10a787(0xfb)][_0x10a787(0xfc)](),'data-name':_0x5c8236[_0x10a787(0x160)],'data-session-id':_0x5d5fcc},_0x255498=_0x2b2efb[_0x10a787(0x152)][_0x10a787(0x108)][_0x10a787(0x11f)](_0x48f50a[_0x10a787(0xf5)]),_0x17fd58=_0x255498[_0x10a787(0x124)](),_0x3ad5ac=_0x17fd58[_0x10a787(0x12d)],_0x662cad=_0x2b2efb[_0x10a787(0x152)][_0x10a787(0x148)];if(_0x3ad5ac&&_0x662cad[_0x10a787(0xe1)](_0x3ad5ac)&&_0x662cad[_0x10a787(0xe5)](_0x3ad5ac)&&!_0x2b2efb[_0x10a787(0x152)][_0x10a787(0x108)][_0x10a787(0x11f)](_0x10a787(0xe7)+_0x5d5fcc)[_0x10a787(0x12e)]()[_0x10a787(0x12b)])return;const _0x975d02=_0x17fd58[_0x10a787(0x133)];return _0x2b2efb[_0x10a787(0x152)][_0x10a787(0x148)][_0x10a787(0xe9)](_0x975d02)&&!_0x2b2efb[_0x10a787(0x152)][_0x10a787(0x10c)](_0x975d02)&&(_0x5d8bed[_0x10a787(0x135)]=!0x1),function(_0x387fe5,_0x55492d,_0x1441ed){const _0x4897cf=_0x10a787,_0x52bd90=_0x387fe5[_0x4897cf(0x119)](_0x4897cf(0x162),_0x55492d);return _0x387fe5[_0x4897cf(0x11a)](_0x4897cf(0xfe),!0x0,_0x52bd90),_0x52bd90[_0x4897cf(0x116)]=function(_0x5618a3){const _0x4ded61=_0x4897cf,_0x330b07=this[_0x4ded61(0x126)](_0x5618a3),_0x5d10ab=document[_0x4ded61(0xff)](_0x4ded61(0x162));return _0x5d10ab[_0x4ded61(0x14c)][_0x4ded61(0x113)](_0x4ded61(0xf4)),_0x5d10ab[_0x4ded61(0xea)](_0x4ded61(0x135),_0x4ded61(0xec)),_0x5d10ab[_0x4ded61(0xea)](_0x4ded61(0x161),_0x4ded61(0xec)),_0x5d10ab[_0x4ded61(0x143)]=_0x1441ed[_0x4ded61(0x160)],_0x330b07[_0x4ded61(0x101)]=_0x4ded61(0x15f)+_0x5d10ab[_0x4ded61(0x128)]+'⁠',_0x330b07[_0x4ded61(0x154)](_0x4ded61(0x117),()=>{const _0x3a97ae=_0x4ded61;_0x330b07[_0x3a97ae(0x14c)][_0x3a97ae(0x113)](_0x3a97ae(0xf9));}),_0x330b07[_0x4ded61(0x154)](_0x4ded61(0x112),()=>{const _0x409c1d=_0x4ded61;_0x330b07[_0x409c1d(0x14c)][_0x409c1d(0x121)](_0x409c1d(0xf9));}),_0x330b07;},_0x52bd90[_0x4897cf(0x153)]=function(_0x154f24){const _0x4b06c7=_0x4897cf;return!(!this[_0x4b06c7(0x105)](_0x4b06c7(0xfe))||!_0x154f24[_0x4b06c7(0x105)](_0x4b06c7(0xfe))||this[_0x4b06c7(0x158)](_0x4b06c7(0x14b))!=_0x154f24[_0x4b06c7(0x158)](_0x4b06c7(0x14b)));},_0x52bd90;}(_0x31095e,_0x5d8bed,_0x5c8236);}(_0x1259e4,_0x43d652,_0x5a1cfa,_0x256506)}),_0x256506[_0x976dd(0x13d)][_0x976dd(0xe2)](_0x976dd(0x115))[_0x976dd(0x15e)]({'model':_0x976dd(0x13f),'view':_0x5c11b3=>function(_0x33ec1e,_0x128edc){const _0x2f10f7=_0x976dd,_0x3c7e33=_0x33ec1e[_0x2f10f7(0xf5)][_0x2f10f7(0x138)](':')[0x2];if(_0x3c7e33===_0x128edc[_0x2f10f7(0x165)])return null;const _0xaf43dd=_0x128edc[_0x2f10f7(0xda)](_0x3c7e33);if(!_0xaf43dd)return{'id':_0x3c7e33,'classes':[]};return{'id':_0x3c7e33,'classes':[_0x2f10f7(0x118),_0xaf43dd[_0x2f10f7(0xfb)][_0x2f10f7(0xee)]()],'attributes':{'data-session-id':_0x3c7e33},'priority':0x7d0+_0xaf43dd[_0x2f10f7(0x134)]};}(_0x5c11b3,_0x5a1cfa)}),function(_0x4559a4){const _0x429083=_0x976dd,_0x42940a=_0x4559a4[_0x429083(0x152)],_0x3c227b=new Map(),_0x74a11d=_0x4559a4[_0x429083(0x163)][_0x429083(0x11f)](_0x5263e1);_0x42940a[_0x429083(0x108)]['on'](_0x429083(0x130),(_0x48d2fa,_0x2239fb,_0x50f031,_0x1a2a59)=>{const _0x1ceeb6=_0x429083;if(!_0x1a2a59&&_0x3c227b[_0x1ceeb6(0x11f)](_0x2239fb[_0x1ceeb6(0x160)]))return _0x3c227b[_0x1ceeb6(0x11f)](_0x2239fb[_0x1ceeb6(0x160)])[_0x1ceeb6(0x110)](),void _0x3c227b[_0x1ceeb6(0xf8)](_0x2239fb[_0x1ceeb6(0x160)]);const _0x25d449=_0x2239fb[_0x1ceeb6(0x160)][_0x1ceeb6(0x138)](':')[0x2];if(_0x25d449===_0x74a11d[_0x1ceeb6(0x165)])return;const _0x5bb4d0=_0x1ceeb6(0x13e)+_0x25d449;_0x42940a[_0x1ceeb6(0x108)][_0x1ceeb6(0x11d)](_0x5bb4d0)&&_0x4559a4[_0x1ceeb6(0x123)][_0x1ceeb6(0x114)](_0x5bb4d0),_0x2239fb['on'](_0x1ceeb6(0x15a),(_0x332de7,_0x154d55,_0x5a4e1b)=>{const _0x279f11=_0x1ceeb6;if(_0x279f11(0x10d)!=_0x154d55[_0x279f11(0x12c)][_0x279f11(0xde)]&&_0x279f11(0x10d)==_0x2239fb[_0x279f11(0x12e)]()[_0x279f11(0x12c)][_0x279f11(0xde)]&&!_0x3c227b[_0x279f11(0x11d)](_0x2239fb[_0x279f11(0x160)])){const _0x34430d=_0x42940a[_0x279f11(0x148)][_0x279f11(0x107)](_0x5a4e1b[_0x279f11(0x15c)]);if(_0x34430d){const _0x48050e=_0x144d18[_0x279f11(0x100)](_0x34430d);_0x3c227b[_0x279f11(0xf0)](_0x2239fb[_0x279f11(0x160)],_0x48050e),_0x48050e['on'](_0x279f11(0x15a),(_0x39b115,_0x1ebd41,_0x103fb8)=>{const _0x36c589=_0x279f11;if(_0x36c589(0x10d)==_0x48050e[_0x36c589(0x12c)][_0x36c589(0xde)]){const _0x56c858=_0x42940a[_0x36c589(0x148)][_0x36c589(0x107)](_0x103fb8[_0x36c589(0x15c)]);_0x56c858?(_0x48050e[_0x36c589(0xfa)]=_0x56c858[_0x36c589(0xfa)],_0x48050e[_0x36c589(0x11b)]=_0x56c858[_0x36c589(0x11b)]):(_0x3c227b[_0x36c589(0xf8)](_0x2239fb[_0x36c589(0x160)]),_0x48050e[_0x36c589(0x110)]());}});}}});}),_0x42940a[_0x429083(0xd9)]['on'](_0x429083(0x14a),()=>{const _0x278982=_0x429083;_0x3c227b[_0x278982(0xe4)]>0x0&&_0x42940a[_0x278982(0x125)]({'isUndoable':!0x1},_0x8dd7c7=>{const _0x2243a1=_0x278982;for(const [_0x3e4f55,_0x88d2b5]of _0x3c227b)_0x2243a1(0x10d)==_0x42940a[_0x2243a1(0x108)][_0x2243a1(0x11f)](_0x3e4f55)[_0x2243a1(0x12e)]()[_0x2243a1(0x12c)][_0x2243a1(0xde)]&&(te(_0x3e4f55[_0x2243a1(0x138)](':')[0x2],_0x88d2b5[_0x2243a1(0x164)](),_0x42940a,_0x8dd7c7),_0x88d2b5[_0x2243a1(0x110)]());_0x3c227b[_0x2243a1(0x14e)]();});});}(_0x256506),this[_0x976dd(0x13b)][_0x976dd(0x10a)](_0x53e57f[_0x976dd(0xd9)],_0x976dd(0x150),(_0x1195e6,{key:_0x3212e7})=>{const _0x277cad=_0x976dd;_0x277cad(0x120)===_0x3212e7&&function(_0x73e08){const _0xaf7602=_0x277cad;_0x73e08[_0xaf7602(0x123)][_0xaf7602(0x145)][_0xaf7602(0x14a)](_0x5a2552=>{const _0x36fd3b=_0xaf7602;for(const _0x155028 of _0x73e08[_0x36fd3b(0x152)][_0x36fd3b(0x108)]){if(!_0x155028[_0x36fd3b(0x160)][_0x36fd3b(0x11c)](_0x36fd3b(0xdf)))continue;const _0x2b514c=_0x73e08[_0x36fd3b(0x123)][_0x36fd3b(0xf1)][_0x36fd3b(0x140)](_0x155028[_0x36fd3b(0x160)]);if(_0x2b514c){for(const _0x371be3 of _0x2b514c)_0x5a2552[_0x36fd3b(0x13a)](_0x36fd3b(0xf9),_0x371be3);}}});}(_0x256506);},{'useCapture':!0x0});}[_0x14fe40(0xeb)](){const _0x427394=_0x14fe40,_0x2633f6=this[_0x427394(0x109)],_0x29b168=_0x2633f6[_0x427394(0x156)][_0x427394(0x11f)](_0x427394(0x14f));_0x29b168&&_0x2633f6[_0x427394(0x152)]['on'](_0x427394(0x104),(_0x3df06a,_0x160a61)=>{const _0x303995=_0x427394,_0x5ac386=_0x160a61[0x0];if(!_0x5ac386[_0x303995(0x122)])return;if(_0x303995(0xfd)!=_0x5ac386[_0x303995(0x103)]||!_0x5ac386[_0x303995(0x160)][_0x303995(0x11c)](_0x303995(0xdc)))return;const _0x11ea1d=_0x5ac386[_0x303995(0x106)];_0x29b168[_0x303995(0x147)][_0x303995(0x11d)](_0x11ea1d)&&(_0x5ac386[_0x303995(0xf6)]=_0x5ac386[_0x303995(0xe6)]?_0x2633f6[_0x303995(0x152)][_0x303995(0x15b)](_0x5ac386[_0x303995(0xe6)][_0x303995(0xfa)],_0x5ac386[_0x303995(0xe6)][_0x303995(0x11b)]):null);},{'priority':_0x427394(0xf3)});}[_0x14fe40(0x141)](){const _0x52754f=_0x14fe40;return this[_0x52754f(0x13b)][_0x52754f(0x151)](),super[_0x52754f(0x141)]();}[_0x14fe40(0x136)](){const _0x41928c=_0x14fe40,_0x27e324=this[_0x41928c(0x109)],_0x42d7cc=_0x27e324[_0x41928c(0x152)][_0x41928c(0xd9)],_0x3e5ee1=_0x27e324[_0x41928c(0x163)][_0x41928c(0x11f)](_0x5263e1);_0x27e324[_0x41928c(0x152)][_0x41928c(0x125)]({'isUndoable':!0x1},_0x14c820=>{const _0x2d9f1a=_0x41928c,_0x43be64=_0x2d9f1a(0xe7)+_0x3e5ee1[_0x2d9f1a(0x165)],_0x3c22cf=_0x2d9f1a(0x13e)+_0x3e5ee1[_0x2d9f1a(0x165)],_0x172ccf=_0x27e324[_0x2d9f1a(0x152)][_0x2d9f1a(0x108)][_0x2d9f1a(0x11d)](_0x43be64);_0x27e324[_0x2d9f1a(0x123)][_0x2d9f1a(0x145)][_0x2d9f1a(0xef)]?te(_0x3e5ee1[_0x2d9f1a(0x165)],_0x42d7cc[_0x2d9f1a(0x11e)][_0x2d9f1a(0x12a)](),_0x27e324[_0x2d9f1a(0x152)],_0x14c820):_0x172ccf&&(_0x14c820[_0x2d9f1a(0x111)](_0x43be64),_0x14c820[_0x2d9f1a(0x111)](_0x3c22cf));});}}function _0x515f(){const _0x15e898=['574vEBrNn','isObject','for','5552785DOzcoi','size','isInline','oldRange','user:range:','13326fFGxhf','isLimit','setAttribute','afterInit','false','markerToElement','getSelectionClass','hasDomSelection','set','mapper','isPremiumPlugin','highest','ck-user__marker-tooltip','markerName','newRange','807337eQAYxD','delete','ck-user__marker_hovered','start','color','getMarkerClass','marker','userPositionMarker','createElement','fromRange','innerHTML','pluginName','type','applyOperation','getCustomProperty','batch','getNearestSelectionRange','markers','editor','listenTo','markerRange','hasContent','$graveyard','9805626dsCQlX','14888960dthlGn','detach','removeMarker','mouseleave','add','reconvertMarker','editingDowncast','render','mouseenter','ck-user__selection','createUIElement','setCustomProperty','end','startsWith','has','selection','get','Escape','remove','isDocumentOperation','editing','getStart','enqueueChange','toDomElement','8cujpli','outerHTML','isOfficialPlugin','getFirstRange','isCollapsed','root','nodeAfter','getRange','addMarker','update:user:range','7EsJfIv','ck-user__marker\x20','parent','orderNumber','contenteditable','createUserMarkerOperations','requires','split','$text','removeClass','_domEmitter','element','conversion','user:position:','user:range','markerNameToElements','destroy','4308lkEDeD','textContent','checkChild','view','4939404aTUlRz','_createdBatches','schema','4IGhEwS','change','data-session-id','classList','getPositions','clear','undo','keydown','stopListening','model','isSimilar','addEventListener','tableCell','commands','getContainedElement','getAttribute','106975QriOhC','change:range','createRange','deletionPosition','init','markerToHighlight','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','name','spellcheck','span','plugins','toRange','mySessionId','document','getUserBySessionId','updateMarker','user:','UserMarkers','rootName','user:position'];_0x515f=function(){return _0x15e898;};return _0x515f();}function te(_0x3ffd9e,_0x5d042e,_0x3ea4d4,_0x1f5bb1){const _0x3c7641=_0x14fe40,_0x6a8ea=_0x3c7641(0xe7)+_0x3ffd9e,_0x4946c1=_0x3c7641(0x13e)+_0x3ffd9e,_0x4c0893=_0x5d042e[_0x3c7641(0x157)]();let _0x1cc1db=_0x5d042e[_0x3c7641(0xfa)];if(_0x4c0893&&_0x4c0893['is'](_0x3c7641(0x13c),_0x3c7641(0x155))){const _0x1247f0=function(_0x15d457,_0x5ef1c0){const _0x58dda1=_0x3c7641;for(const _0xd37ce6 of _0x15d457[_0x58dda1(0x14d)]())if(_0x5ef1c0[_0x58dda1(0x148)][_0x58dda1(0x144)](_0xd37ce6,_0x58dda1(0x139)))return _0xd37ce6;}(_0x5d042e,_0x3ea4d4);_0x1247f0&&(_0x1cc1db=_0x1247f0,_0x5d042e=_0x1f5bb1[_0x3c7641(0x15b)](_0x1cc1db));}const _0x410a35=_0x1f5bb1[_0x3c7641(0x15b)](_0x1cc1db);_0x3ea4d4[_0x3c7641(0x108)][_0x3c7641(0x11d)](_0x6a8ea)?(_0x1f5bb1[_0x3c7641(0xdb)](_0x6a8ea,{'range':_0x5d042e}),_0x1f5bb1[_0x3c7641(0xdb)](_0x4946c1,{'range':_0x410a35})):(_0x1f5bb1[_0x3c7641(0x12f)](_0x6a8ea,{'range':_0x5d042e,'usingOperation':!0x0}),_0x1f5bb1[_0x3c7641(0x12f)](_0x4946c1,{'range':_0x410a35,'usingOperation':!0x0}));}
23
+ const _0x631e33=_0x4dd7;(function(_0x47d353,_0x30bf4d){const _0x518bab=_0x4dd7,_0x9b1078=_0x47d353();while(!![]){try{const _0x2deb5a=-parseInt(_0x518bab(0xd1))/0x1*(parseInt(_0x518bab(0xdb))/0x2)+parseInt(_0x518bab(0x120))/0x3+parseInt(_0x518bab(0x126))/0x4*(parseInt(_0x518bab(0xd4))/0x5)+-parseInt(_0x518bab(0xc9))/0x6+parseInt(_0x518bab(0xca))/0x7+parseInt(_0x518bab(0xf1))/0x8*(-parseInt(_0x518bab(0xe6))/0x9)+parseInt(_0x518bab(0xa7))/0xa*(parseInt(_0x518bab(0x10c))/0xb);if(_0x2deb5a===_0x30bf4d)break;else _0x9b1078['push'](_0x9b1078['shift']());}catch(_0x2c0c10){_0x9b1078['push'](_0x9b1078['shift']());}}}(_0x5115,0xacd95));function _0x5115(){const _0x5ac991=['createUIElement','delete','contenteditable','spellcheck','render','addMarker','user:range:','isOfficialPlugin','highest','deletionPosition','updateMarker','editor','getSelectionClass','change:range','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','33iOLlLk','createElement','_domEmitter','hasDomSelection','marker','update:user:range','editing','enqueueChange','nodeAfter','$text','selection','isDocumentOperation','getStart','innerHTML','isPremiumPlugin','false','root','markerToElement','start','mapper','3371706hzKVGx','isCollapsed','textContent','reconvertMarker','setAttribute','ck-user__marker\x20','48FpXSsY','newRange','change','span','mySessionId','commands','listenTo','getNearestSelectionRange','getUserBySessionId','startsWith','mouseleave','user:','undo','4445190FZBmom','has','oldRange','isObject','rootName','model','getPositions','$graveyard','markerRange','element','classList','applyOperation','schema','userPositionMarker','split','isLimit','get','isInline','data-session-id','destroy','ck-user__marker-tooltip','init','createUserMarkerOperations','batch','checkChild','outerHTML','user:position:','add','editingDowncast','end','toDomElement','_createdBatches','removeMarker','getFirstRange','2441340GqlRJI','3868627CejUzn','getContainedElement','markers','fromRange','clear','addEventListener','removeClass','212885pYKwaW','type','Escape','37575ChUSSp','plugins','mouseenter','remove','markerName','getMarkerClass','UserMarkers','10ZACluH','stopListening','conversion','user:range','set','requires','tableCell','view','ck-user__marker_hovered','createRange','for','4144482bNXnYe','afterInit','color','isSimilar','getAttribute','document','ck-user__selection','user:position','keydown','getRange','markerNameToElements','16bZEIMq','parent','size','detach','name','getCustomProperty','setCustomProperty','markerToHighlight','pluginName','hasContent','toRange','orderNumber'];_0x5115=function(){return _0x5ac991;};return _0x5115();}import{Plugin as _0x38813c}from'ckeditor5/src/core.js';import{global as _0x515e1f,DomEmitterMixin as _0x3fa892}from'ckeditor5/src/utils.js';import{Sessions as _0x2514ff}from'./sessions.js';import{ModelLiveRange as _0x43fb75}from'ckeditor5/src/engine.js';function _0x4dd7(_0x4efff7,_0x48f5e7){const _0x5115c8=_0x5115();return _0x4dd7=function(_0x4dd794,_0x3bc0f3){_0x4dd794=_0x4dd794-0xa6;let _0x2741f3=_0x5115c8[_0x4dd794];return _0x2741f3;},_0x4dd7(_0x4efff7,_0x48f5e7);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x38813c{[_0x631e33(0x10e)]=new(_0x3fa892())();static get[_0x631e33(0xe0)](){return[_0x2514ff];}static get[_0x631e33(0xf9)](){const _0x3d9b7a=_0x631e33;return _0x3d9b7a(0xda);}static get[_0x631e33(0x104)](){return!0x0;}static get[_0x631e33(0x11a)](){return!0x0;}[_0x631e33(0xbc)](){const _0x477aba=_0x631e33,_0x3abe68=this[_0x477aba(0x108)],_0x4c245b=_0x3abe68[_0x477aba(0xd5)][_0x477aba(0xb7)](_0x2514ff);_0x3abe68[_0x477aba(0xdd)][_0x477aba(0xe5)](_0x477aba(0xc3))[_0x477aba(0x11d)]({'model':_0x477aba(0xed),'view':(_0x26c627,{writer:_0x4af3b1})=>function(_0x6abc80,_0x48797d,_0x47e51f,_0x75a382){const _0x1302ff=_0x477aba,_0xe33be0=_0x6abc80[_0x1302ff(0xd8)][_0x1302ff(0xb5)](':')[0x2],_0x20e2b4=_0x47e51f[_0x1302ff(0x12e)](_0xe33be0);if(!_0x20e2b4||_0xe33be0===_0x47e51f[_0x1302ff(0x12a)])return;if(!_0x75a382[_0x1302ff(0xac)][_0x1302ff(0xb3)][_0x1302ff(0xbf)](_0x6abc80[_0x1302ff(0xaf)][_0x1302ff(0x11e)],_0x1302ff(0x115)))return;const _0x34096b={'class':_0x1302ff(0x125)+_0x20e2b4[_0x1302ff(0xe8)][_0x1302ff(0xd9)](),'data-name':_0x20e2b4[_0x1302ff(0xf5)],'data-session-id':_0xe33be0},_0x2ca1ee=_0x75a382[_0x1302ff(0xac)][_0x1302ff(0xcc)][_0x1302ff(0xb7)](_0x6abc80[_0x1302ff(0xd8)]),_0x48c56c=_0x2ca1ee[_0x1302ff(0x118)](),_0x5e8c6f=_0x48c56c[_0x1302ff(0x114)],_0x5db0c5=_0x75a382[_0x1302ff(0xac)][_0x1302ff(0xb3)];if(_0x5e8c6f&&_0x5db0c5[_0x1302ff(0xaa)](_0x5e8c6f)&&_0x5db0c5[_0x1302ff(0xb8)](_0x5e8c6f)&&!_0x75a382[_0x1302ff(0xac)][_0x1302ff(0xcc)][_0x1302ff(0xb7)](_0x1302ff(0x103)+_0xe33be0)[_0x1302ff(0xef)]()[_0x1302ff(0x121)])return;const _0x26930d=_0x48c56c[_0x1302ff(0xf2)];return _0x75a382[_0x1302ff(0xac)][_0x1302ff(0xb3)][_0x1302ff(0xb6)](_0x26930d)&&!_0x75a382[_0x1302ff(0xac)][_0x1302ff(0xfa)](_0x26930d)&&(_0x34096b[_0x1302ff(0xff)]=!0x1),function(_0x5ba483,_0x5054db,_0xc2f479){const _0x48ea41=_0x1302ff,_0x2affa9=_0x5ba483[_0x48ea41(0xfd)](_0x48ea41(0x129),_0x5054db);return _0x5ba483[_0x48ea41(0xf7)](_0x48ea41(0xb4),!0x0,_0x2affa9),_0x2affa9[_0x48ea41(0x101)]=function(_0x2f2ab0){const _0x2ad4a3=_0x48ea41,_0x3239d2=this[_0x2ad4a3(0xc5)](_0x2f2ab0),_0x507b75=document[_0x2ad4a3(0x10d)](_0x2ad4a3(0x129));return _0x507b75[_0x2ad4a3(0xb1)][_0x2ad4a3(0xc2)](_0x2ad4a3(0xbb)),_0x507b75[_0x2ad4a3(0x124)](_0x2ad4a3(0xff),_0x2ad4a3(0x11b)),_0x507b75[_0x2ad4a3(0x124)](_0x2ad4a3(0x100),_0x2ad4a3(0x11b)),_0x507b75[_0x2ad4a3(0x122)]=_0xc2f479[_0x2ad4a3(0xf5)],_0x3239d2[_0x2ad4a3(0x119)]=_0x2ad4a3(0x10b)+_0x507b75[_0x2ad4a3(0xc0)]+'⁠',_0x3239d2[_0x2ad4a3(0xcf)](_0x2ad4a3(0xd6),()=>{const _0x38ce7c=_0x2ad4a3;_0x3239d2[_0x38ce7c(0xb1)][_0x38ce7c(0xc2)](_0x38ce7c(0xe3));}),_0x3239d2[_0x2ad4a3(0xcf)](_0x2ad4a3(0x130),()=>{const _0xa2179f=_0x2ad4a3;_0x3239d2[_0xa2179f(0xb1)][_0xa2179f(0xd7)](_0xa2179f(0xe3));}),_0x3239d2;},_0x2affa9[_0x48ea41(0xe9)]=function(_0x146623){const _0x2a8063=_0x48ea41;return!(!this[_0x2a8063(0xf6)](_0x2a8063(0xb4))||!_0x146623[_0x2a8063(0xf6)](_0x2a8063(0xb4))||this[_0x2a8063(0xea)](_0x2a8063(0xb9))!=_0x146623[_0x2a8063(0xea)](_0x2a8063(0xb9)));},_0x2affa9;}(_0x48797d,_0x34096b,_0x20e2b4);}(_0x26c627,_0x4af3b1,_0x4c245b,_0x3abe68)}),_0x3abe68[_0x477aba(0xdd)][_0x477aba(0xe5)](_0x477aba(0xc3))[_0x477aba(0xf8)]({'model':_0x477aba(0xde),'view':_0x39f08e=>function(_0x2f40ee,_0x1b8771){const _0x1e81d9=_0x477aba,_0x3cce15=_0x2f40ee[_0x1e81d9(0xd8)][_0x1e81d9(0xb5)](':')[0x2];if(_0x3cce15===_0x1b8771[_0x1e81d9(0x12a)])return null;const _0xd8d496=_0x1b8771[_0x1e81d9(0x12e)](_0x3cce15);if(!_0xd8d496)return{'id':_0x3cce15,'classes':[]};return{'id':_0x3cce15,'classes':[_0x1e81d9(0xec),_0xd8d496[_0x1e81d9(0xe8)][_0x1e81d9(0x109)]()],'attributes':{'data-session-id':_0x3cce15},'priority':0x7d0+_0xd8d496[_0x1e81d9(0xfc)]};}(_0x39f08e,_0x4c245b)}),function(_0x3d698f){const _0x121e1c=_0x477aba,_0x2ffd32=_0x3d698f[_0x121e1c(0xac)],_0x27a457=new Map(),_0x25f721=_0x3d698f[_0x121e1c(0xd5)][_0x121e1c(0xb7)](_0x2514ff);_0x2ffd32[_0x121e1c(0xcc)]['on'](_0x121e1c(0x111),(_0x424c11,_0x4da1f5,_0x3e7f0e,_0x247b75)=>{const _0x3253fd=_0x121e1c;if(!_0x247b75&&_0x27a457[_0x3253fd(0xb7)](_0x4da1f5[_0x3253fd(0xf5)]))return _0x27a457[_0x3253fd(0xb7)](_0x4da1f5[_0x3253fd(0xf5)])[_0x3253fd(0xf4)](),void _0x27a457[_0x3253fd(0xfe)](_0x4da1f5[_0x3253fd(0xf5)]);const _0x3372a2=_0x4da1f5[_0x3253fd(0xf5)][_0x3253fd(0xb5)](':')[0x2];if(_0x3372a2===_0x25f721[_0x3253fd(0x12a)])return;const _0x597c2d=_0x3253fd(0xc1)+_0x3372a2;_0x2ffd32[_0x3253fd(0xcc)][_0x3253fd(0xa8)](_0x597c2d)&&_0x3d698f[_0x3253fd(0x112)][_0x3253fd(0x123)](_0x597c2d),_0x4da1f5['on'](_0x3253fd(0x10a),(_0x20a0e6,_0x5be11,_0x2c5ed6)=>{const _0x1058b3=_0x3253fd;if(_0x1058b3(0xae)!=_0x5be11[_0x1058b3(0x11c)][_0x1058b3(0xab)]&&_0x1058b3(0xae)==_0x4da1f5[_0x1058b3(0xef)]()[_0x1058b3(0x11c)][_0x1058b3(0xab)]&&!_0x27a457[_0x1058b3(0xa8)](_0x4da1f5[_0x1058b3(0xf5)])){const _0x3bf456=_0x2ffd32[_0x1058b3(0xb3)][_0x1058b3(0x12d)](_0x2c5ed6[_0x1058b3(0x106)]);if(_0x3bf456){const _0xa617d5=_0x43fb75[_0x1058b3(0xcd)](_0x3bf456);_0x27a457[_0x1058b3(0xdf)](_0x4da1f5[_0x1058b3(0xf5)],_0xa617d5),_0xa617d5['on'](_0x1058b3(0x10a),(_0x3232c5,_0x180b00,_0x322d2a)=>{const _0x5e3d8c=_0x1058b3;if(_0x5e3d8c(0xae)==_0xa617d5[_0x5e3d8c(0x11c)][_0x5e3d8c(0xab)]){const _0x10d0c0=_0x2ffd32[_0x5e3d8c(0xb3)][_0x5e3d8c(0x12d)](_0x322d2a[_0x5e3d8c(0x106)]);_0x10d0c0?(_0xa617d5[_0x5e3d8c(0x11e)]=_0x10d0c0[_0x5e3d8c(0x11e)],_0xa617d5[_0x5e3d8c(0xc4)]=_0x10d0c0[_0x5e3d8c(0xc4)]):(_0x27a457[_0x5e3d8c(0xfe)](_0x4da1f5[_0x5e3d8c(0xf5)]),_0xa617d5[_0x5e3d8c(0xf4)]());}});}}});}),_0x2ffd32[_0x121e1c(0xeb)]['on'](_0x121e1c(0x128),()=>{const _0x2ad4a2=_0x121e1c;_0x27a457[_0x2ad4a2(0xf3)]>0x0&&_0x2ffd32[_0x2ad4a2(0x113)]({'isUndoable':!0x1},_0x31e84c=>{const _0x2109d1=_0x2ad4a2;for(const [_0x2176b7,_0x1db880]of _0x27a457)_0x2109d1(0xae)==_0x2ffd32[_0x2109d1(0xcc)][_0x2109d1(0xb7)](_0x2176b7)[_0x2109d1(0xef)]()[_0x2109d1(0x11c)][_0x2109d1(0xab)]&&(Z(_0x2176b7[_0x2109d1(0xb5)](':')[0x2],_0x1db880[_0x2109d1(0xfb)](),_0x2ffd32,_0x31e84c),_0x1db880[_0x2109d1(0xf4)]());_0x27a457[_0x2109d1(0xce)]();});});}(_0x3abe68),this[_0x477aba(0x10e)][_0x477aba(0x12c)](_0x515e1f[_0x477aba(0xeb)],_0x477aba(0xee),(_0x2c509b,{key:_0x3696be})=>{const _0x39a352=_0x477aba;_0x39a352(0xd3)===_0x3696be&&function(_0x2a1530){const _0x26805b=_0x39a352;_0x2a1530[_0x26805b(0x112)][_0x26805b(0xe2)][_0x26805b(0x128)](_0x4be1d5=>{const _0x5d0592=_0x26805b;for(const _0x5e7d4d of _0x2a1530[_0x5d0592(0xac)][_0x5d0592(0xcc)]){if(!_0x5e7d4d[_0x5d0592(0xf5)][_0x5d0592(0x12f)](_0x5d0592(0xed)))continue;const _0x240ffa=_0x2a1530[_0x5d0592(0x112)][_0x5d0592(0x11f)][_0x5d0592(0xf0)](_0x5e7d4d[_0x5d0592(0xf5)]);if(_0x240ffa){for(const _0x46daa2 of _0x240ffa)_0x4be1d5[_0x5d0592(0xd0)](_0x5d0592(0xe3),_0x46daa2);}}});}(_0x3abe68);},{'useCapture':!0x0});}[_0x631e33(0xe7)](){const _0x342fe1=_0x631e33,_0x3c9b21=this[_0x342fe1(0x108)],_0x413dee=_0x3c9b21[_0x342fe1(0x12b)][_0x342fe1(0xb7)](_0x342fe1(0xa6));_0x413dee&&_0x3c9b21[_0x342fe1(0xac)]['on'](_0x342fe1(0xb2),(_0x1057e4,_0x5d3509)=>{const _0x41244a=_0x342fe1,_0x381ba2=_0x5d3509[0x0];if(!_0x381ba2[_0x41244a(0x117)])return;if(_0x41244a(0x110)!=_0x381ba2[_0x41244a(0xd2)]||!_0x381ba2[_0x41244a(0xf5)][_0x41244a(0x12f)](_0x41244a(0x131)))return;const _0x22d163=_0x381ba2[_0x41244a(0xbe)];_0x413dee[_0x41244a(0xc6)][_0x41244a(0xa8)](_0x22d163)&&(_0x381ba2[_0x41244a(0x127)]=_0x381ba2[_0x41244a(0xa9)]?_0x3c9b21[_0x41244a(0xac)][_0x41244a(0xe4)](_0x381ba2[_0x41244a(0xa9)][_0x41244a(0x11e)],_0x381ba2[_0x41244a(0xa9)][_0x41244a(0xc4)]):null);},{'priority':_0x342fe1(0x105)});}[_0x631e33(0xba)](){const _0x38c190=_0x631e33;return this[_0x38c190(0x10e)][_0x38c190(0xdc)](),super[_0x38c190(0xba)]();}[_0x631e33(0xbd)](){const _0x1adb3c=_0x631e33,_0x50a816=this[_0x1adb3c(0x108)],_0x5415a7=_0x50a816[_0x1adb3c(0xac)][_0x1adb3c(0xeb)],_0x3534fa=_0x50a816[_0x1adb3c(0xd5)][_0x1adb3c(0xb7)](_0x2514ff);_0x50a816[_0x1adb3c(0xac)][_0x1adb3c(0x113)]({'isUndoable':!0x1},_0x4e25dc=>{const _0x4a9980=_0x1adb3c,_0x352caa=_0x4a9980(0x103)+_0x3534fa[_0x4a9980(0x12a)],_0x4a1fbf=_0x4a9980(0xc1)+_0x3534fa[_0x4a9980(0x12a)],_0x6491b9=_0x50a816[_0x4a9980(0xac)][_0x4a9980(0xcc)][_0x4a9980(0xa8)](_0x352caa);_0x50a816[_0x4a9980(0x112)][_0x4a9980(0xe2)][_0x4a9980(0x10f)]?Z(_0x3534fa[_0x4a9980(0x12a)],_0x5415a7[_0x4a9980(0x116)][_0x4a9980(0xc8)](),_0x50a816[_0x4a9980(0xac)],_0x4e25dc):_0x6491b9&&(_0x4e25dc[_0x4a9980(0xc7)](_0x352caa),_0x4e25dc[_0x4a9980(0xc7)](_0x4a1fbf));});}}function Z(_0x33666b,_0x1062a8,_0x1b5e89,_0x51812e){const _0x54f10b=_0x631e33,_0x248012=_0x54f10b(0x103)+_0x33666b,_0x4f9b0b=_0x54f10b(0xc1)+_0x33666b,_0x4228d4=_0x1062a8[_0x54f10b(0xcb)]();let _0x4730c7=_0x1062a8[_0x54f10b(0x11e)];if(_0x4228d4&&_0x4228d4['is'](_0x54f10b(0xb0),_0x54f10b(0xe1))){const _0x5d4a06=function(_0x5d3420,_0x6e9e97){const _0x354e07=_0x54f10b;for(const _0x38ab1d of _0x5d3420[_0x354e07(0xad)]())if(_0x6e9e97[_0x354e07(0xb3)][_0x354e07(0xbf)](_0x38ab1d,_0x354e07(0x115)))return _0x38ab1d;}(_0x1062a8,_0x1b5e89);_0x5d4a06&&(_0x4730c7=_0x5d4a06,_0x1062a8=_0x51812e[_0x54f10b(0xe4)](_0x4730c7));}const _0x20061e=_0x51812e[_0x54f10b(0xe4)](_0x4730c7);_0x1b5e89[_0x54f10b(0xcc)][_0x54f10b(0xa8)](_0x248012)?(_0x51812e[_0x54f10b(0x107)](_0x248012,{'range':_0x1062a8}),_0x51812e[_0x54f10b(0x107)](_0x4f9b0b,{'range':_0x20061e})):(_0x51812e[_0x54f10b(0x102)](_0x248012,{'range':_0x1062a8,'usingOperation':!0x0}),_0x51812e[_0x54f10b(0x102)](_0x4f9b0b,{'range':_0x20061e,'usingOperation':!0x0}));}