@ckeditor/ckeditor5-comments 47.7.0-alpha.4 → 47.7.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (194) hide show
  1. package/build/comments.js +1 -1
  2. package/dist/index.js +11 -11
  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 +19 -19
  150. package/src/annotations/annotation.js +2 -2
  151. package/src/annotations/annotationcollection.js +1 -1
  152. package/src/annotations/annotations.js +1 -1
  153. package/src/annotations/annotationsuis.js +1 -1
  154. package/src/annotations/editorannotations.js +1 -1
  155. package/src/annotations/inlineannotations.js +1 -1
  156. package/src/annotations/narrowsidebar.js +1 -1
  157. package/src/annotations/sidebar.js +1 -1
  158. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  159. package/src/annotations/view/annotationview.js +1 -1
  160. package/src/annotations/view/sidebaritemview.js +2 -2
  161. package/src/annotations/view/sidebarview.js +2 -2
  162. package/src/annotations/widesidebar.js +1 -1
  163. package/src/comments/addcommentthreadcommand.js +1 -1
  164. package/src/comments/commentsarchive.js +1 -1
  165. package/src/comments/commentsarchiveui.js +1 -1
  166. package/src/comments/commentsediting.js +1 -1
  167. package/src/comments/commentsrepository.js +3 -3
  168. package/src/comments/commentsui.js +1 -1
  169. package/src/comments/integrations/clipboard.js +1 -1
  170. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  171. package/src/comments/integrations/importword.js +1 -1
  172. package/src/comments/integrations/showcommenthighlights.js +1 -1
  173. package/src/comments/ui/commenteditor/commenteditor.js +2 -2
  174. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  175. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  176. package/src/comments/ui/commentthreadcontroller.js +2 -2
  177. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  178. package/src/comments/ui/view/basecommentview.js +1 -1
  179. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  180. package/src/comments/ui/view/commentcontentview.js +1 -1
  181. package/src/comments/ui/view/commentinputview.js +1 -1
  182. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  183. package/src/comments/ui/view/commentslistview.js +1 -1
  184. package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
  185. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  186. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  187. package/src/comments/ui/view/commentthreadview.js +2 -2
  188. package/src/comments/ui/view/commentview.js +2 -2
  189. package/src/comments.js +1 -1
  190. package/src/commentsonly.js +1 -1
  191. package/src/index.js +1 -1
  192. package/src/utils/common-translations.js +1 -1
  193. package/src/utils/createmutationobserver.js +1 -1
  194. package/src/utils/splitmarkername.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x262d52=_0x38f2;(function(_0x279acf,_0x46eda9){const _0x5e25cf=_0x38f2,_0x208377=_0x279acf();while(!![]){try{const _0x3ca745=parseInt(_0x5e25cf(0x1c0))/0x1+-parseInt(_0x5e25cf(0x1bb))/0x2*(-parseInt(_0x5e25cf(0x17a))/0x3)+-parseInt(_0x5e25cf(0x183))/0x4*(parseInt(_0x5e25cf(0x19a))/0x5)+-parseInt(_0x5e25cf(0x1d3))/0x6*(-parseInt(_0x5e25cf(0x1d0))/0x7)+parseInt(_0x5e25cf(0x1e0))/0x8+-parseInt(_0x5e25cf(0x1a9))/0x9+-parseInt(_0x5e25cf(0x1af))/0xa;if(_0x3ca745===_0x46eda9)break;else _0x208377['push'](_0x208377['shift']());}catch(_0x34fee4){_0x208377['push'](_0x208377['shift']());}}}(_0x44af,0x1f35e));import{Plugin as _0x20f5e5}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x577dc8,scrollViewportToShowTarget as _0x8d7ec7,uid as _0x2bd7db}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x217ae8}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x3781fd}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x36bc38,getAllMarkersDomElementsSorted as _0x120aa0,FOCUS_ANNOTATION_KEYSTROKE as _0x585a42,Users as _0x35c643}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x33b3c4}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x473b3a}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x5d96c4}from'./integrations/importword.js';import{CommentsClipboard as _0x937151}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x26a0c1}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x5490cf}from'../annotations/annotations.js';import{getTranslation as _0x30c5e2}from'../utils/common-translations.js';import{splitMarkerName as _0xf45dd8}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x20f5e5{static get[_0x262d52(0x1d9)](){return[_0x217ae8,_0x33b3c4,_0x35c643,_0x473b3a,_0x5d96c4,_0x937151,_0x26a0c1];}static get[_0x262d52(0x19d)](){const _0x317088=_0x262d52;return _0x317088(0x16c);}static get[_0x262d52(0x170)](){return!0x0;}static get[_0x262d52(0x1dc)](){return!0x0;}constructor(_0x6dfdf9){const _0x26983a=_0x262d52;super(_0x6dfdf9),this[_0x26983a(0x1f7)](_0x26983a(0x189),!0x0),_0x6dfdf9[_0x26983a(0x1fe)][_0x26983a(0x1d4)](_0x26983a(0x202),()=>this[_0x26983a(0x189)]=!0x1),this[_0x26983a(0x1f7)](_0x26983a(0x1b4),null),this['on'](_0x26983a(0x1a5),(_0x21aae2,_0x2214f5,_0x3e9a59,_0x3a326a)=>{const _0x5bdbdd=_0x26983a,_0x529fb0=_0x6dfdf9[_0x5bdbdd(0x1ce)][_0x5bdbdd(0x1cc)](_0x217ae8),_0x27b31e=_0x3e9a59?_0xf45dd8(_0x3e9a59)['id']:null;_0x6dfdf9[_0x5bdbdd(0x206)][_0x5bdbdd(0x1ff)](()=>{const _0x26a697=_0x5bdbdd;if(_0x27b31e){const _0x379d39=this[_0x26a697(0x1c2)](_0x27b31e);for(const _0x130dcc of _0x379d39)_0x6dfdf9[_0x26a697(0x201)][_0x26a697(0x169)](_0x130dcc);}if(_0x3a326a){const {id:_0x4d5fd2}=_0xf45dd8(_0x3a326a),_0x291eca=_0x529fb0[_0x26a697(0x172)](_0x4d5fd2);if(_0x291eca&&_0x291eca[_0x26a697(0x17c)])return;if(_0x291eca&&!_0x291eca[_0x26a697(0x197)])return;const _0x3d3099=this[_0x26a697(0x1c2)](_0x4d5fd2);for(const _0x343233 of _0x3d3099)_0x6dfdf9[_0x26a697(0x201)][_0x26a697(0x169)](_0x343233);}}),_0x27b31e&&this[_0x5bdbdd(0x1b7)](_0x27b31e);}),this[_0x26983a(0x17d)]();}[_0x262d52(0x19b)](){const _0xf8adea=_0x262d52,_0x4067a1=this[_0xf8adea(0x181)],_0x4e669f=_0x4067a1[_0xf8adea(0x1ce)][_0xf8adea(0x1cc)](_0x217ae8),_0x4962a4=_0x4067a1[_0xf8adea(0x1f9)][_0xf8adea(0x1cc)](_0xf8adea(0x1e2)),_0x5dfbff=_0x4e669f[_0xf8adea(0x166)]()[_0xf8adea(0x176)](_0xad9507=>_0xad9507[_0xf8adea(0x1c3)]!==_0x4962a4);_0x4067a1[_0xf8adea(0x1aa)][_0xf8adea(0x17f)](_0xf8adea(0x1b1),new _0x3781fd(_0x4067a1)),this[_0xf8adea(0x1de)](_0x4067a1,_0xf8adea(0x18c),(_0x4340db,_0x4bda21,_0x2c3703)=>{const _0xf73bd2=_0xf8adea;_0x4e669f[_0xf73bd2(0x186)](_0x2c3703,_0x4067a1[_0xf73bd2(0x1f9)][_0xf73bd2(0x1cc)](_0xf73bd2(0x1e2)));}),this[_0xf8adea(0x1de)](_0x4e669f,dt(_0xf8adea(0x1b1),_0x4962a4),(_0x34b388,{threadId:_0x2a2ee7})=>{const _0x4fc11d=_0xf8adea,_0x1afec6=this[_0x4fc11d(0x181)][_0x4fc11d(0x1ce)][_0x4fc11d(0x1cc)](_0x217ae8)[_0x4fc11d(0x172)](_0x2a2ee7);_0x1afec6?.[_0x4fc11d(0x17c)]&&this[_0x4fc11d(0x1f1)](_0x2a2ee7);}),this[_0xf8adea(0x1de)](_0x4e669f,dt(_0xf8adea(0x185),_0x4962a4),(_0x194ed3,{threadId:_0x1b73b0})=>{const _0x23f198=_0xf8adea;_0x4067a1[_0x23f198(0x206)][_0x23f198(0x19c)]({'isUndoable':!0x1},_0x43109c=>{const _0x20cd90=_0x23f198,_0x23b4d5=this[_0x20cd90(0x1c2)](_0x1b73b0);for(const _0x217c03 of _0x23b4d5)_0x43109c[_0x20cd90(0x1cb)](_0x217c03);});}),this[_0xf8adea(0x1de)](_0x4e669f,dt(_0xf8adea(0x1c4),_0x4962a4),(_0x2b55eb,{threadId:_0x477447})=>{const _0x5abd2e=_0xf8adea;(this[_0x5abd2e(0x208)](_0x477447),this[_0x5abd2e(0x181)][_0x5abd2e(0x201)][_0x5abd2e(0x1bf)][_0x5abd2e(0x1f4)])&&(this[_0x5abd2e(0x181)][_0x5abd2e(0x1ce)][_0x5abd2e(0x1cc)](_0x217ae8)[_0x5abd2e(0x172)](_0x477447)[_0x5abd2e(0x17c)]||this[_0x5abd2e(0x181)][_0x5abd2e(0x201)][_0x5abd2e(0x1bf)][_0x5abd2e(0x1c6)]());},{'priority':_0xf8adea(0x1e8)}),this[_0xf8adea(0x1de)](_0x4e669f,dt(_0xf8adea(0x1d6),_0x4962a4),(_0x1784c4,{threadId:_0xe9a202})=>{const _0xc80284=_0xf8adea;this[_0xc80284(0x208)](_0xe9a202);},{'priority':_0xf8adea(0x1e8)}),this[_0xf8adea(0x1de)](_0x4e669f,dt(_0xf8adea(0x199),_0x4962a4),(_0x73f01,{threadId:_0x28b700,isFromAdapter:_0x1130fb})=>{const _0x32a8fa=_0xf8adea,_0x3cd50c=this[_0x32a8fa(0x1c2)](_0x28b700);if(_0x1130fb||0x0==_0x3cd50c[_0x32a8fa(0x194)]||!_0x4e669f[_0x32a8fa(0x167)](_0x28b700))return;0x1===_0x4e669f[_0x32a8fa(0x172)](_0x28b700)[_0x32a8fa(0x194)]&&_0x4067a1[_0x32a8fa(0x206)][_0x32a8fa(0x19c)]({'isUndoable':!0x1},_0x26b07a=>{const _0x50fa5d=_0x32a8fa;for(const _0x582b7d of _0x3cd50c)_0x26b07a[_0x50fa5d(0x19e)](_0x582b7d,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0xf8adea(0x1e8)}),this[_0xf8adea(0x1be)](),this[_0xf8adea(0x196)](),this[_0xf8adea(0x1e4)](_0x5dfbff);}[_0x262d52(0x1f5)](){!async function(_0x407490){const _0x3d6545=_0x465f8f([0x4b,0x70,0x4f,0x42,0x4a,0x47,0x4e,0x53,0x45,0x67,0x71,0x43,0x79,0x66,0x56,0x46,0x31,0x6b,0x5a,0x38,0x6c,0x62,0x6e,0x52,0x6a,0x4d,0x37,0x65,0x49,0x7a,0x41,0x73,0x44,0x51,0x48,0x77,0x39,0x61,0x54,0x68,0x75,0x36,0x72,0x63,0x59,0x69,0x30,0x35,0x55,0x6d,0x50,0x4c,0x34,0x64,0x33,0x58,0x32,0x57,0x6f,0x74,0x76,0x78]),_0x4afc1f=0x73460ab3,_0x2dfcff=0x73418de3^_0x4afc1f,_0x53c08f=window[_0x465f8f([0x44,0x61,0x74,0x65])][_0x465f8f([0x6e,0x6f,0x77])](),_0x2cc9dd=_0x407490[_0x465f8f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5817f1=new window[(_0x465f8f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x449d68=>{_0x2cc9dd[_0x465f8f([0x6f,0x6e,0x63,0x65])](_0x465f8f([0x72,0x65,0x61,0x64,0x79]),_0x449d68);}),_0xfe37a2={[_0x465f8f([0x6b,0x74,0x79])]:_0x465f8f([0x45,0x43]),[_0x465f8f([0x75,0x73,0x65])]:_0x465f8f([0x73,0x69,0x67]),[_0x465f8f([0x63,0x72,0x76])]:_0x465f8f([0x50,0x2d,0x32,0x35,0x36]),[_0x465f8f([0x78])]:_0x465f8f([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x465f8f([0x79])]:_0x465f8f([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x465f8f([0x61,0x6c,0x67])]:_0x465f8f([0x45,0x53,0x32,0x35,0x36])},_0xbe8e93=_0x2cc9dd[_0x465f8f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x465f8f([0x67,0x65,0x74])](_0x465f8f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1ee365(){let _0x55ff37,_0x22117a=null,_0x9c05c=null;try{if(_0xbe8e93==_0x465f8f([0x47,0x50,0x4c]))return _0x465f8f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x55ff37=_0x37b2c3(),!_0x55ff37)return _0x465f8f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x55ff37[_0x465f8f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x9c05c=_0x4cc635(_0x55ff37[_0x465f8f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x55ff37[_0x465f8f([0x6a,0x74,0x69])])),await _0x32e71e()?_0x587b72()?_0x344718()?_0x465f8f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xf258e6()?(_0x55ff37[_0x465f8f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x465f8f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x22117a=_0x1d0ced(_0x465f8f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x25fe84()):_0x465f8f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x465f8f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x465f8f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x465f8f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x344718(){const _0x324d69=[_0x465f8f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x465f8f([0x74,0x72,0x69,0x61,0x6c])][_0x465f8f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55ff37[_0x465f8f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x53c08f/0x3e8:0xe10*_0x2dfcff;return _0x55ff37[_0x465f8f([0x65,0x78,0x70])]<_0x324d69;}function _0x587b72(){const _0x3446b8=_0x55ff37[_0x465f8f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x3446b8)return!0x1;if(_0x3446b8[_0x465f8f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x465f8f([0x2a])))return!0x0;if(_0x3446b8[_0x465f8f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x465f8f([0x43,0x4d,0x54])))return!0x0;if(_0x3446b8[_0x465f8f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x465f8f([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x115a1())return!0x0;if(_0x3446b8[_0x465f8f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x465f8f([0x52,0x43,0x4d,0x54]))){if(_0xdcea9c())return!0x0;if(_0x134658()||_0xf3441d())return!0x0;}return!0x1;}function _0xf258e6(){const _0x5dc3b8=_0x38f2,_0x1701ba=_0x55ff37[_0x465f8f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1701ba||0x0==_0x1701ba[_0x465f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xb85515}=new URL(window[_0x465f8f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5dc3b8(0x1d7)]);if(_0x1701ba[_0x465f8f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb85515))return!0x0;const _0x4609af=_0xb85515[_0x465f8f([0x73,0x70,0x6c,0x69,0x74])](_0x465f8f([0x2e]));return _0x1701ba[_0x465f8f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3811da=>_0x3811da[_0x465f8f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x465f8f([0x2a])))[_0x465f8f([0x6d,0x61,0x70])](_0x41404a=>_0x41404a[_0x465f8f([0x73,0x70,0x6c,0x69,0x74])](_0x465f8f([0x2e])))[_0x465f8f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x15d4c8=>_0x15d4c8[_0x465f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4609af[_0x465f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x465f8f([0x6d,0x61,0x70])](_0x3fa28c=>Array(_0x4609af[_0x465f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3fa28c[_0x465f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x465f8f([0x66,0x69,0x6c,0x6c])](_0x3fa28c[0x0]===_0x465f8f([0x2a])?_0x465f8f([0x2a]):'')[_0x465f8f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3fa28c))[_0x465f8f([0x73,0x6f,0x6d,0x65])](_0x473eae=>_0x4609af[_0x465f8f([0x65,0x76,0x65,0x72,0x79])]((_0x26ebde,_0xb4c680)=>_0x473eae[_0xb4c680]===_0x26ebde||_0x473eae[_0xb4c680]===_0x465f8f([0x2a])));}function _0x25fe84(){return _0x22117a&&_0x9c05c?new window[(_0x465f8f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3af1ba,_0x2ea8b4)=>{_0x22117a[_0x465f8f([0x74,0x68,0x65,0x6e])](_0x3af1ba,_0x2ea8b4),_0x9c05c[_0x465f8f([0x74,0x68,0x65,0x6e])](_0x1b3514=>{_0x1b3514!=_0x465f8f([0x56,0x61,0x6c,0x69,0x64])&&_0x3af1ba(_0x1b3514);},_0x2ea8b4);}):_0x22117a||_0x9c05c||_0x465f8f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4cc635(_0x3e6759,_0x1df494){return new window[(_0x465f8f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x349cad=>{if(_0x1f66a3())return _0x349cad(_0x465f8f([0x56,0x61,0x6c,0x69,0x64]));_0x214f50(),_0x2cc9dd[_0x465f8f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x465f8f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1a3f12=!0x1;const _0x43f103=_0x2bd7db();function _0x335b59(_0x42f6c2){return!!_0x42f6c2&&(typeof _0x42f6c2===_0x465f8f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x42f6c2===_0x465f8f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x42f6c2[_0x465f8f([0x74,0x68,0x65,0x6e])]===_0x465f8f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x42f6c2[_0x465f8f([0x63,0x61,0x74,0x63,0x68])]===_0x465f8f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xf3f918(_0x56c842){_0x4fd9d9(_0x56c842)[_0x465f8f([0x74,0x68,0x65,0x6e])](_0x4d6bdf=>{if(!_0x4d6bdf||_0x4d6bdf[_0x465f8f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x465f8f([0x6f,0x6b]))return _0x465f8f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5dc9fa(_0x6c81e8(_0x43f103+_0x1df494))!=_0x4d6bdf[_0x465f8f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x465f8f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x465f8f([0x56,0x61,0x6c,0x69,0x64]);})[_0x465f8f([0x74,0x68,0x65,0x6e])](_0x1c5363=>(_0x1fb61a(),_0x1c5363),()=>{const _0x1db5c7=_0x30750b();return null==_0x1db5c7?(_0x1fb61a(),_0x465f8f([0x56,0x61,0x6c,0x69,0x64])):_0x465f8f(_0x53c08f-_0x1db5c7>(0x574a8eb3^_0x4afc1f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x465f8f([0x74,0x68,0x65,0x6e])](_0x349cad)[_0x465f8f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x349cad(_0x465f8f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x11411b=0x7370e433^_0x4afc1f;function _0x1fb61a(){const _0x28921c=_0x465f8f([0x6c,0x6c,0x63,0x74,0x2d])+_0x5dc9fa(_0x6c81e8(_0x3e6759)),_0x5efee6=_0x2aa986(_0x5dc9fa(window[_0x465f8f([0x4d,0x61,0x74,0x68])][_0x465f8f([0x63,0x65,0x69,0x6c])](_0x53c08f/_0x11411b)));window[_0x465f8f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x465f8f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28921c,_0x5efee6);}function _0x30750b(){const _0x38d567=_0x465f8f([0x6c,0x6c,0x63,0x74,0x2d])+_0x5dc9fa(_0x6c81e8(_0x3e6759)),_0x530cfd=window[_0x465f8f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x465f8f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38d567);return _0x530cfd?window[_0x465f8f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2aa986(_0x530cfd),0x10)*_0x11411b:null;}function _0x4fd9d9(_0x50363e){return new window[(_0x465f8f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x239ec5,_0x49c6f5)=>{_0x50363e[_0x465f8f([0x74,0x68,0x65,0x6e])](_0x239ec5,_0x49c6f5),window[_0x465f8f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x49c6f5,0x7347de73^_0x4afc1f);});}}_0x2cc9dd[_0x465f8f([0x6f,0x6e])](_0x465f8f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4932ad,_0x408110)=>{if(_0x408110[0x0]!=_0x3e6759)return _0x349cad(_0x465f8f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x408110[0x1]={..._0x408110[0x1],[_0x465f8f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x43f103};},{[_0x465f8f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x465f8f([0x68,0x69,0x67,0x68])}),_0x2cc9dd[_0x465f8f([0x6f,0x6e])](_0x465f8f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x51ac37=>{_0x335b59(_0x51ac37[_0x465f8f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1a3f12=!0x0,_0xf3f918(_0x51ac37[_0x465f8f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x465f8f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x465f8f([0x6c,0x6f,0x77])}),_0x5817f1[_0x465f8f([0x74,0x68,0x65,0x6e])](()=>{_0x1a3f12||_0x349cad(_0x465f8f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1f66a3(){return _0x2cc9dd[_0x465f8f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x465f8f([0x76,0x69,0x65,0x77])][_0x465f8f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x465f8f([0x61,0x75,0x74,0x6f]);}function _0x214f50(){_0x2cc9dd[_0x465f8f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x465f8f([0x76,0x69,0x65,0x77])][_0x465f8f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x465f8f([0x61,0x75,0x74,0x6f]);}}function _0x1d0ced(_0x146b28){const _0x528b3b=[new window[(_0x465f8f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11ce67=>setTimeout(_0x11ce67,0x734f347f^_0x4afc1f)),_0x5817f1[_0x465f8f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x465f8f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x553978=>{let _0x23e2da=0x0;_0x2cc9dd[_0x465f8f([0x6d,0x6f,0x64,0x65,0x6c])][_0x465f8f([0x6f,0x6e])](_0x465f8f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x7bcd48,_0x541dd2)=>{_0x541dd2[0x0][_0x465f8f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x23e2da++,_0x23e2da==(0x73460f5b^_0x4afc1f)&&(_0x553978(),_0x7bcd48[_0x465f8f([0x6f,0x66,0x66])]());});}))];return window[_0x465f8f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x465f8f([0x72,0x61,0x63,0x65])](_0x528b3b)[_0x465f8f([0x74,0x68,0x65,0x6e])](()=>_0x146b28);}async function _0x266046(){await _0x5817f1,_0x2cc9dd[_0x465f8f([0x6d,0x6f,0x64,0x65,0x6c])][_0x465f8f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5b904d,_0x2cc9dd[_0x465f8f([0x6d,0x6f,0x64,0x65,0x6c])][_0x465f8f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5b904d,_0x2cc9dd[_0x465f8f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x465f8f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x115a1(){return window[_0x465f8f([0x67,0x6c,0x6f,0x62])]&&window[_0x465f8f([0x67,0x6c,0x6f,0x62])][_0x465f8f([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0xdcea9c(){return _0x3023a2(_0x465f8f([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3129a9(_0x465f8f([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x465f8f([0x73,0x74,0x61,0x74,0x65])]==_0x465f8f([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x134658(){return _0x3023a2(_0x465f8f([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0xf3441d(){return _0x3023a2(_0x465f8f([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x4b2fca(_0x20e3cc){const _0x2c9491=_0x40b2f0();_0x2cc9dd[_0x2c9491]=_0x465f8f([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x20e3cc,_0x20e3cc!=_0x465f8f([0x56,0x61,0x6c,0x69,0x64])&&_0x266046();}function _0x40b2f0(){const _0x39b649=window[_0x465f8f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x465f8f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x465f8f([0x6e,0x6f,0x77])]())[_0x465f8f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x465f8f([0x2e]),'');let _0x443f90=_0x465f8f([0x4b]);for(let _0x404ed2=0x0;_0x404ed2<_0x39b649[_0x465f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x404ed2+=0x2){let _0x1a6e92=window[_0x465f8f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39b649[_0x465f8f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x404ed2,_0x404ed2+0x2));_0x1a6e92>=_0x3d6545[_0x465f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1a6e92-=_0x3d6545[_0x465f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x443f90+=_0x3d6545[_0x1a6e92];}return _0x443f90;}function _0x37b2c3(){const _0x4290ba=_0xbe8e93[_0x465f8f([0x73,0x70,0x6c,0x69,0x74])](_0x465f8f([0x2e]));if(0x3!=_0x4290ba[_0x465f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31b307(_0x4290ba[0x1]);function _0x31b307(_0x217f76){const _0xbb0d58=_0x285cb3(_0x217f76);return _0xbb0d58&&_0x43532f()?_0xbb0d58:null;function _0x43532f(){const _0x2248fe=_0xbb0d58[_0x465f8f([0x6a,0x74,0x69])],_0x21944f=window[_0x465f8f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2248fe[_0x465f8f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2248fe[_0x465f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd0985={..._0xbb0d58,[_0x465f8f([0x6a,0x74,0x69])]:_0x2248fe[_0x465f8f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2248fe[_0x465f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd0985[_0x465f8f([0x76,0x63])],_0x6c81e8(_0xd0985)==_0x21944f;}}}async function _0x32e71e(){let _0x3769c8=!0x0;try{const _0x3a9967=_0xbe8e93[_0x465f8f([0x73,0x70,0x6c,0x69,0x74])](_0x465f8f([0x2e])),[_0x39ea79,_0x3dcdf2,_0x2c9f63]=_0x3a9967;return _0x5c46d0(_0x39ea79),await _0x249a0a(_0x39ea79,_0x3dcdf2,_0x2c9f63),_0x3769c8;}catch{return!0x1;}function _0x5c46d0(_0xec326a){const _0x5b2933=_0x285cb3(_0xec326a);_0x5b2933&&_0x5b2933[_0x465f8f([0x61,0x6c,0x67])]==_0x465f8f([0x45,0x53,0x32,0x35,0x36])||(_0x3769c8=!0x1);}async function _0x249a0a(_0xe9d127,_0x2ec1d3,_0x596d50){const _0xb75f25=window[_0x465f8f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x465f8f([0x66,0x72,0x6f,0x6d])](_0x10cdcf(_0x596d50),_0x8c5d22=>_0x8c5d22[_0x465f8f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xab4e88=new window[(_0x465f8f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x465f8f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xe9d127+_0x465f8f([0x2e])+_0x2ec1d3),_0x5c6e30=window[_0x465f8f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x465f8f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5c6e30)return;const _0x218a9d=await _0x5c6e30[_0x465f8f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x465f8f([0x6a,0x77,0x6b]),_0xfe37a2,{[_0x465f8f([0x6e,0x61,0x6d,0x65])]:_0x465f8f([0x45,0x43,0x44,0x53,0x41]),[_0x465f8f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x465f8f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x465f8f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5c6e30[_0x465f8f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x465f8f([0x6e,0x61,0x6d,0x65])]:_0x465f8f([0x45,0x43,0x44,0x53,0x41]),[_0x465f8f([0x68,0x61,0x73,0x68])]:{[_0x465f8f([0x6e,0x61,0x6d,0x65])]:_0x465f8f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x218a9d,_0xb75f25,_0xab4e88)||(_0x3769c8=!0x1);}}function _0x285cb3(_0x510e80){return _0x510e80[_0x465f8f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x465f8f([0x65,0x79]))?JSON[_0x465f8f([0x70,0x61,0x72,0x73,0x65])](_0x10cdcf(_0x510e80)):null;}function _0x10cdcf(_0x25dbf5){return window[_0x465f8f([0x61,0x74,0x6f,0x62])](_0x25dbf5[_0x465f8f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x465f8f([0x2b]))[_0x465f8f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x465f8f([0x2f])));}function _0x6c81e8(_0x5e6770){let _0x783f7a=0x1505;function _0x5ee123(_0xab7310){for(let _0x12bdef=0x0;_0x12bdef<_0xab7310[_0x465f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12bdef++){const _0x58e9c1=_0xab7310[_0x465f8f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x12bdef);_0x783f7a=(_0x783f7a<<0x5)+_0x783f7a+_0x58e9c1,_0x783f7a&=_0x783f7a;}}function _0x5605b2(_0x5a4efe){Array[_0x465f8f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a4efe)?_0x5a4efe[_0x465f8f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5605b2):_0x5a4efe&&typeof _0x5a4efe==_0x465f8f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x465f8f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a4efe)[_0x465f8f([0x73,0x6f,0x72,0x74])]()[_0x465f8f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x589348,_0xc4bdb5])=>{_0x5ee123(_0x589348),_0x5605b2(_0xc4bdb5);}):_0x5ee123(window[_0x465f8f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a4efe));}return _0x5605b2(_0x5e6770),_0x783f7a>>>0x0;}function _0x5dc9fa(_0x1477a0){return _0x1477a0[_0x465f8f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x465f8f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x465f8f([0x30]));}function _0x2aa986(_0x5d74e0){return _0x5d74e0[_0x465f8f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x465f8f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x465f8f([0x6a,0x6f,0x69,0x6e])]('');}function _0x3023a2(_0x4d4629){return _0x2cc9dd[_0x465f8f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x465f8f([0x68,0x61,0x73])](_0x4d4629);}function _0x3129a9(_0xa7ab2e){return _0x2cc9dd[_0x465f8f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x465f8f([0x67,0x65,0x74])](_0xa7ab2e);}function _0x5b904d(){}function _0x465f8f(_0x3a4b8a){const _0x428670=_0x38f2;return _0x3a4b8a[_0x428670(0x1f6)](_0x10c2be=>String[_0x428670(0x1b0)](_0x10c2be))[_0x428670(0x1fd)]('');}_0x4b2fca(await _0x1ee365());}(this);}[_0x262d52(0x1ec)](){const _0x7873b=_0x262d52,_0x4ea5e6=this[_0x7873b(0x181)][_0x7873b(0x1ce)][_0x7873b(0x1cc)](_0x217ae8),_0x56dbd6=this[_0x7873b(0x181)][_0x7873b(0x1f9)][_0x7873b(0x1cc)](_0x7873b(0x1e2));for(const _0x3c2ab0 of _0x4ea5e6[_0x7873b(0x166)]({'channelId':_0x56dbd6}))_0x4ea5e6[_0x7873b(0x16e)](_0x3c2ab0['id']),_0x4ea5e6[_0x7873b(0x209)][_0x7873b(0x187)](_0x3c2ab0['id']);super[_0x7873b(0x1ec)]();}[_0x262d52(0x1b5)](_0x5dc37b){const _0x289801=_0x262d52;return this[_0x289801(0x1c2)](_0x5dc37b)[_0x289801(0x194)]>0x0;}[_0x262d52(0x1c2)](_0x3294ff){const _0x44f65b=_0x262d52,_0x3ce8c5=[];for(const _0x4c51a0 of this[_0x44f65b(0x181)][_0x44f65b(0x206)][_0x44f65b(0x1dd)])_0x4c51a0[_0x44f65b(0x1c1)][_0x44f65b(0x1ac)](_0x44f65b(0x18f)+_0x3294ff)&&_0x3ce8c5[_0x44f65b(0x17e)](_0x4c51a0);return _0x3ce8c5;}[_0x262d52(0x1b7)](_0x2fd9e3){setTimeout(()=>{const _0x4f8616=_0x38f2,_0x1f3709=this[_0x4f8616(0x203)](_0x2fd9e3);if(!_0x1f3709)return;this[_0x4f8616(0x1b4)]&&_0xf45dd8(this[_0x4f8616(0x1b4)])['id']===_0x2fd9e3&&_0x8d7ec7({'target':_0x1f3709[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x262d52(0x208)](_0x305526){const _0x34245b=_0x262d52;this[_0x34245b(0x181)][_0x34245b(0x206)][_0x34245b(0x1ff)](()=>{const _0x644985=_0x34245b;for(const _0x4b3b58 of this[_0x644985(0x1c2)](_0x305526))this[_0x644985(0x181)][_0x644985(0x201)][_0x644985(0x169)](_0x4b3b58);});}[_0x262d52(0x1f1)](_0xbb0c37){const _0x4ff8ff=_0x262d52,_0x1e1844=this[_0x4ff8ff(0x181)][_0x4ff8ff(0x1ce)][_0x4ff8ff(0x1cc)](_0x217ae8),_0x245f9e=this[_0x4ff8ff(0x181)][_0x4ff8ff(0x1ce)][_0x4ff8ff(0x1cc)](_0x33b3c4),_0x3de28f=_0x1e1844[_0x4ff8ff(0x172)](_0xbb0c37);if(!_0x3de28f[_0x4ff8ff(0x197)]){const _0x16b9a5=_0x3de28f[_0x4ff8ff(0x1a2)](()=>this[_0x4ff8ff(0x203)](_0x3de28f['id']));_0x245f9e[_0x4ff8ff(0x1b6)](_0x16b9a5),_0x3de28f[_0x4ff8ff(0x1ba)]=!0x1;}}[_0x262d52(0x1be)](){const _0xe275af=_0x262d52,_0x17ca58=this[_0xe275af(0x181)],_0x50d495=_0x17ca58[_0xe275af(0x1ce)][_0xe275af(0x1cc)](_0x35c643);_0x17ca58[_0xe275af(0x1ed)][_0xe275af(0x179)](_0xe275af(0x191))[_0xe275af(0x18a)]({'model':_0xe275af(0x207),'view':(_0x3071c0,_0x30439e)=>{const _0x130d8c=_0xe275af,{id:_0x7b9846}=_0xf45dd8(_0x3071c0[_0x130d8c(0x1d5)]),_0x4c8b70=_0x17ca58[_0x130d8c(0x1ce)][_0x130d8c(0x1cc)](_0x217ae8)[_0x130d8c(0x172)](_0x7b9846),_0x1c2e71=this[_0x130d8c(0x1b4)]&&_0xf45dd8(this[_0x130d8c(0x1b4)])['id']===_0x7b9846;let _0x599d8e;if(_0x4c8b70&&_0x4c8b70[_0x130d8c(0x180)]&&!_0x1c2e71&&_0x3071c0[_0x130d8c(0x198)])return _0x30439e[_0x130d8c(0x1a6)][_0x130d8c(0x1ad)](_0x3071c0[_0x130d8c(0x198)],_0x130d8c(0x1a7)+_0x3071c0[_0x130d8c(0x1d5)]),_0x30439e[_0x130d8c(0x1a6)][_0x130d8c(0x1ad)](_0x3071c0[_0x130d8c(0x198)],_0x130d8c(0x18d)+_0x3071c0[_0x130d8c(0x1d5)]),null;const _0xb52707=[_0x130d8c(0x1ee)];return _0x1c2e71&&_0xb52707[_0x130d8c(0x17e)](_0x130d8c(0x1a3)),_0x599d8e=_0x4c8b70?.[_0x130d8c(0x194)]?_0x4c8b70[_0x130d8c(0x195)][_0x130d8c(0x1c9)][_0x130d8c(0x1cf)]['id']:_0x50d495['me']['id'],{'classes':_0xb52707,'attributes':{'data-comment':_0x7b9846,'data-author-id':_0x599d8e}};}}),_0x17ca58[_0xe275af(0x1ed)][_0xe275af(0x179)](_0xe275af(0x1d2))[_0xe275af(0x1ca)]({'model':_0xe275af(0x207),'view':(_0x155f22,{options:_0x28ee1f})=>{const _0x56cfa2=_0xe275af;if(_0x28ee1f[_0x56cfa2(0x1a1)])return null;const _0x57c900=_0x17ca58[_0x56cfa2(0x1ce)][_0x56cfa2(0x1cc)](_0x217ae8),_0x3c9fd7=_0x17ca58[_0x56cfa2(0x206)][_0x56cfa2(0x1dd)][_0x56cfa2(0x1cc)](_0x155f22),{id:_0x16ea48,part:_0x43541a}=_0xf45dd8(_0x155f22);return _0x3c9fd7&&!_0x3c9fd7[_0x56cfa2(0x1b9)]||_0x28ee1f[_0x56cfa2(0x184)]&&_0x57c900[_0x56cfa2(0x172)](_0x16ea48)?.[_0x56cfa2(0x180)]?null:{'group':_0x56cfa2(0x207),'name':_0x43541a?_0x16ea48+':'+_0x43541a:_0x16ea48};}}),_0x17ca58[_0xe275af(0x1ed)][_0xe275af(0x179)](_0xe275af(0x1fc))[_0xe275af(0x1eb)]({'view':{'name':_0xe275af(0x207),'attributes':{'id':/^\w/}},'model':(_0x185c86,{writer:_0x20b290})=>_0x20b290[_0xe275af(0x1c8)](_0xe275af(0x192),{'data-name':_0xe275af(0x18f)+_0x185c86[_0xe275af(0x1b3)]('id')})}),_0x17ca58[_0xe275af(0x1ed)][_0xe275af(0x179)](_0xe275af(0x1fc))[_0xe275af(0x171)]({'view':_0xe275af(0x207)});}[_0x262d52(0x196)](){const _0x2ded98=_0x262d52,_0x38c638=this[_0x2ded98(0x181)],_0x354973=_0x38c638[_0x2ded98(0x1ce)][_0x2ded98(0x1cc)](_0x217ae8),_0x14672f=new Set(),_0x12ee34=new Set();_0x38c638[_0x2ded98(0x206)][_0x2ded98(0x1d1)][_0x2ded98(0x1cd)](_0x3b0257=>{const _0x4aabd9=_0x2ded98;let _0x3381ec=!0x1;for(const {name:_0x1c2c29,data:_0x9c8f22}of _0x38c638[_0x4aabd9(0x206)][_0x4aabd9(0x1d1)][_0x4aabd9(0x1e7)][_0x4aabd9(0x177)]()){const {group:_0x4f2e01,id:_0x56d9e4}=_0xf45dd8(_0x1c2c29);let _0x19448b=_0x9c8f22[_0x4aabd9(0x19f)];if(_0x4aabd9(0x207)!==_0x4f2e01||!_0x19448b)continue;const _0x43f949=_0x4aabd9(0x178)===_0x19448b[_0x4aabd9(0x1a0)][_0x4aabd9(0x1f8)];_0x43f949||(_0x19448b=ht(_0x19448b,_0x38c638[_0x4aabd9(0x206)]),!_0x19448b||_0x19448b[_0x4aabd9(0x1ea)]||!_0x9c8f22[_0x4aabd9(0x19f)]||_0x19448b[_0x4aabd9(0x168)](_0x9c8f22[_0x4aabd9(0x19f)]))?_0x38c638[_0x4aabd9(0x206)][_0x4aabd9(0x17b)](_0x19448b)&&!_0x43f949?this[_0x4aabd9(0x189)]?_0x14672f[_0x4aabd9(0x17f)](_0x1c2c29):this[_0x4aabd9(0x188)](_0x1c2c29,_0x56d9e4):(_0x12ee34[_0x4aabd9(0x17f)](_0x1c2c29),_0x14672f[_0x4aabd9(0x187)](_0x1c2c29),_0x3b0257[_0x4aabd9(0x1cb)](_0x1c2c29),_0x3381ec=!0x0):(_0x3b0257[_0x4aabd9(0x19e)](_0x1c2c29,{'range':_0x19448b}),_0x3381ec=!0x0);}return _0x3381ec;}),this['on'](_0x2ded98(0x1fa),(_0x2dcf0a,_0x1cbf04,_0x1acde1)=>{const _0x319a47=_0x2ded98;if(!_0x1acde1&&_0x14672f[_0x319a47(0x200)])for(const _0x29454a of _0x14672f){const {id:_0x321e5a}=_0xf45dd8(_0x29454a);_0x14672f[_0x319a47(0x187)](_0x29454a),_0x38c638[_0x319a47(0x206)][_0x319a47(0x1dd)][_0x319a47(0x1cc)](_0x29454a)&&this[_0x319a47(0x188)](_0x29454a,_0x321e5a);}}),this[_0x2ded98(0x1de)](_0x38c638[_0x2ded98(0x206)][_0x2ded98(0x1d1)],_0x2ded98(0x1ff),()=>{const _0x3e37c5=_0x2ded98;for(const {name:_0x21e0fa,data:{newRange:_0x3af47f}}of _0x38c638[_0x3e37c5(0x206)][_0x3e37c5(0x1d1)][_0x3e37c5(0x1e7)][_0x3e37c5(0x177)]()){const {group:_0x42c569,id:_0xfc4083}=_0xf45dd8(_0x21e0fa);if(_0x3e37c5(0x207)!==_0x42c569)continue;const _0xd3e3c=_0x354973[_0x3e37c5(0x172)](_0xfc4083),_0x119c41=this[_0x3e37c5(0x1b5)](_0xfc4083);_0xd3e3c&&(!_0xd3e3c[_0x3e37c5(0x1ba)]&&_0x3af47f&&_0x38c638[_0x3e37c5(0x201)][_0x3e37c5(0x1bf)][_0x3e37c5(0x1d4)](_0x3e37c5(0x1fb),()=>{const _0x51c850=_0x3e37c5,_0x131e7b=_0x38c638[_0x51c850(0x1ce)][_0x51c850(0x1cc)](_0x5490cf),_0x22b524=_0x354973[_0x51c850(0x1b2)][_0x51c850(0x1cc)](_0xd3e3c)[_0x51c850(0x1bf)];_0x131e7b[_0x51c850(0x1db)](_0x22b524)[_0x51c850(0x182)]();},{'priority':_0x3e37c5(0x1e8)}),_0xd3e3c[_0x3e37c5(0x1ba)]=_0x119c41||!!_0x3af47f),_0x3af47f||(_0x12ee34[_0x3e37c5(0x17f)](_0x21e0fa),_0x14672f[_0x3e37c5(0x187)](_0x21e0fa));}for(const _0x308331 of _0x12ee34){const {id:_0x3ba6ec}=_0xf45dd8(_0x308331),_0xa149ee=_0x354973[_0x3e37c5(0x172)](_0x3ba6ec);if(_0x14672f[_0x3e37c5(0x187)](_0x308331),!_0xa149ee)continue;const _0x407648=this[_0x3e37c5(0x1b5)](_0x3ba6ec);_0x407648||_0xa149ee[_0x3e37c5(0x1da)]?_0x407648||_0xa149ee[_0x3e37c5(0x17c)]||_0xa149ee[_0x3e37c5(0x204)](new Date()):_0xa149ee[_0x3e37c5(0x18e)]();}_0x12ee34[_0x3e37c5(0x1bc)]();});}[_0x262d52(0x1e4)](_0x438f20){const _0x1f7b8a=_0x262d52;_0x438f20[_0x1f7b8a(0x1a4)](_0x1f4188=>{const _0x211160=_0x1f7b8a;_0x1f4188[_0x211160(0x17c)]&&this[_0x211160(0x1f1)](_0x1f4188['id']);});}[_0x262d52(0x203)](_0x25897a){const _0x5ad4c7=_0x262d52,_0x50e691=this[_0x5ad4c7(0x181)],_0x3472b6=this[_0x5ad4c7(0x1c2)](_0x25897a);return _0x120aa0(_0x50e691[_0x5ad4c7(0x201)],_0x3472b6);}[_0x262d52(0x1e9)](_0x49fdeb){const _0x24500f=_0x262d52,_0x258dfd=this[_0x24500f(0x1c2)](_0x49fdeb);let _0x2b0009='',_0x3333c2=!0x1;for(const _0x44fef6 of _0x258dfd){const _0x275f0=_0x44fef6[_0x24500f(0x1ab)]();for(const _0x697eba of Array[_0x24500f(0x16f)](_0x275f0[_0x24500f(0x16a)]()))_0x697eba['is'](_0x24500f(0x1e1))?(_0x2b0009&&_0x3333c2&&(_0x2b0009+='\x20',_0x3333c2=!0x1),_0x2b0009+=_0x697eba[_0x24500f(0x1fe)]):_0x3333c2=!0x0;_0x3333c2=!0x0;}return _0x2b0009[_0x24500f(0x193)](0x0,0x96);}[_0x262d52(0x1e3)](_0x4169d6,_0x108d84){const _0x736d9=_0x262d52,_0x11dad2=this[_0x736d9(0x181)],_0x415aa0=_0x11dad2[_0x736d9(0x1ce)][_0x736d9(0x1cc)](_0x217ae8);let _0x588269=_0x415aa0[_0x736d9(0x172)](_0x108d84);const _0x2df55a=_0x11dad2[_0x736d9(0x1f9)][_0x736d9(0x1cc)](_0x736d9(0x1e2)),_0x33a368=_0x11dad2[_0x736d9(0x1ce)][_0x736d9(0x1cc)](_0x33b3c4);if(_0x588269&&(_0x588269[_0x736d9(0x17c)]&&_0x588269[_0x736d9(0x204)](null),_0x588269[_0x736d9(0x197)]))return _0x588269;return!this[_0x736d9(0x1c2)](_0x108d84)[0x0][_0x736d9(0x1bd)]?_0x11dad2[_0x736d9(0x201)][_0x736d9(0x1bf)][_0x736d9(0x1d4)](_0x736d9(0x1fb),()=>{const _0x246798=_0x736d9;if(_0x415aa0[_0x246798(0x172)](_0x108d84))return;const _0x1de0f6=_0x11dad2[_0x246798(0x1ce)][_0x246798(0x1cc)](_0x5490cf);_0x588269=_0x415aa0[_0x246798(0x1f2)]({'channelId':_0x2df55a,'threadId':_0x108d84,'target':()=>this[_0x246798(0x203)](_0x108d84),'context':{'type':_0x246798(0x1e6),'value':this[_0x246798(0x1e9)](_0x108d84)}});const _0x12ee5a=_0x415aa0[_0x246798(0x1b2)][_0x246798(0x1cc)](_0x588269)[_0x246798(0x1bf)],_0x51e20d=_0x1de0f6[_0x246798(0x1db)](_0x12ee5a);_0x51e20d&&_0x33a368[_0x246798(0x1b6)](_0x51e20d);},{'priority':_0x736d9(0x1e8)}):_0x415aa0[_0x736d9(0x174)]({'channelId':_0x2df55a,'threadId':_0x108d84})[_0x736d9(0x1f3)](_0x31a7af=>{const _0x1161eb=_0x736d9;if(_0x1161eb(0x18b)!==_0x11dad2[_0x1161eb(0x1c7)]){if(_0x588269=_0x31a7af,_0x588269&&!_0x588269[_0x1161eb(0x197)]){const _0x2b1441=_0x588269[_0x1161eb(0x1a2)](()=>this[_0x1161eb(0x203)](_0x108d84));_0x33a368[_0x1161eb(0x1b6)](_0x2b1441),_0x588269[_0x1161eb(0x180)]&&this[_0x1161eb(0x208)](_0x108d84);}else{if(!_0x588269){const _0xd91751=this[_0x1161eb(0x1c2)](_0x108d84);_0x11dad2[_0x1161eb(0x206)][_0x1161eb(0x1ff)](_0x53f267=>{const _0x596d60=_0x1161eb;for(const _0x282e4c of _0xd91751)_0x53f267[_0x596d60(0x1cb)](_0x282e4c);});}}}}),_0x588269;}[_0x262d52(0x188)](_0x52d45a,_0x2c6685){const _0x136222=_0x262d52,_0x43cc02=this[_0x136222(0x1e3)](_0x52d45a,_0x2c6685);_0x43cc02&&!_0x43cc02[_0x136222(0x1b8)]&&_0x43cc02[_0x136222(0x16d)]({'type':_0x136222(0x1e6),'value':this[_0x136222(0x1e9)](_0x2c6685)});}[_0x262d52(0x17d)](){const _0x26f7f6=_0x262d52,_0x50cf44=this[_0x26f7f6(0x181)];_0x36bc38(_0x50cf44[_0x26f7f6(0x206)],({left:_0x42085b,entered:_0x2b93ea})=>{const _0x5afd92=_0x26f7f6;for(const _0x1f8e54 of _0x42085b)if(mt(_0x1f8e54)){_0x50cf44['ui'][_0x5afd92(0x1df)][_0x5afd92(0x205)](_0x30c5e2(_0x50cf44[_0x5afd92(0x190)],_0x5afd92(0x1e5)));break;}for(const _0x311eee of _0x2b93ea)if(mt(_0x311eee)){_0x50cf44['ui'][_0x5afd92(0x1df)][_0x5afd92(0x205)](_0x30c5e2(_0x50cf44[_0x5afd92(0x190)],_0x5afd92(0x173),_0x577dc8(_0x585a42)));break;}});}}function dt(_0x4829fb,_0x1d80fa){return _0x1d80fa?_0x4829fb+':'+_0x1d80fa:_0x4829fb;}function ht(_0x118167,_0x43aa1b){const _0x2f4fc9=_0x262d52,_0x3ba64b=_0x43aa1b[_0x2f4fc9(0x1d8)],_0x2ec4a7=_0x43aa1b[_0x2f4fc9(0x175)](_0x118167[_0x2f4fc9(0x1c5)]);for(const _0x275de6 of _0x118167[_0x2f4fc9(0x16b)]()){const {type:_0x24bc23,item:_0xc78e78,nextPosition:_0xe46d05}=_0x275de6;if(_0x2f4fc9(0x1e6)===_0x24bc23||_0x3ba64b[_0x2f4fc9(0x1f0)](_0xc78e78)){const _0x200512=_0x43aa1b[_0x2f4fc9(0x1ae)](_0xc78e78);_0x2ec4a7[_0x2f4fc9(0x1ea)]&&(_0x2ec4a7[_0x2f4fc9(0x1c5)]=_0x200512),_0x2ec4a7[_0x2f4fc9(0x1ef)]=_0xe46d05;}}return _0x2ec4a7;}function _0x44af(){const _0x84e0f1=['_handleMarkerAddAndRemove','isAttached','item','addComment','6685MfXxjo','init','enqueueChange','pluginName','updateMarker','newRange','root','showCommentHighlights','attachTo','ck-comment-marker--active','forEach','change:activeMarker','consumable','addMarker:','group','2297097ytdTTf','commands','getRange','startsWith','consume','createPositionBefore','76210NYhgxz','fromCharCode','addCommentThread','_threadToController','getAttribute','activeMarker','hasMarkerForId','registerAnnotation','scrollToThreadMarker','context','affectsData','_hasTargetInContent','395774iiPsuk','clear','managedUsingOperations','_initializeMarkerConverters','view','552rHyfAV','name','getAllMarkersForId','channelId','resolveCommentThread','start','focus','state','createElement','first','markerToData','removeMarker','get','registerPostFixer','plugins','author','803159JqWVoD','document','dataDowncast','6QFsqQB','once','markerName','reopenCommentThread','href','schema','requires','isSubmitted','getByInnerView','isPremiumPlugin','markers','listenTo','ariaLiveAnnouncer','887528gZlCdV','$textProxy','collaboration.channelId','_attachMarkerToThread','_handleInitialThreads','LEAVE_COMMENT_ANNOUNCEMENT','text','differ','low','_getTextContext','isCollapsed','elementToElement','destroy','conversion','ck-comment-marker','end','isObject','_attachArchivedThread','openNewCommentThread','then','hasDomSelection','afterInit','map','set','rootName','config','change:isThreadsLoadingPaused','render','upcast','join','data','change','size','editing','ready','_getTargetForId','setUnlinkedAt','announce','model','comment','_reconvertMarkers','_threads','getCommentThreads','hasCommentThread','isEqual','reconvertMarker','getItems','getWalker','CommentsEditing','setContext','_detachCommentThread','from','isOfficialPlugin','dataToMarker','getCommentThread','ENTER_COMMENT_ANNOUNCEMENT','fetchCommentThread','createRange','filter','getChangedMarkers','$graveyard','for','3ayGlqo','hasContent','unlinkedAt','_initAriaMarkerChangeAnnouncements','push','add','isResolved','editor','refreshVisibility','100ynJgBq','ignoreResolvedComments','removeCommentThread','switchReadOnly','delete','_handleThreadMarker','isThreadsLoadingPaused','markerToHighlight','destroyed','change:isReadOnly','removeMarker:','remove','comment:','locale','editingDowncast','$marker','substring','length','comments'];_0x44af=function(){return _0x84e0f1;};return _0x44af();}function _0x38f2(_0x1f0773,_0x360f96){const _0x44af61=_0x44af();return _0x38f2=function(_0x38f2b6,_0x525dfc){_0x38f2b6=_0x38f2b6-0x166;let _0x4ed8e9=_0x44af61[_0x38f2b6];return _0x4ed8e9;},_0x38f2(_0x1f0773,_0x360f96);}function mt(_0x2537d2){const _0x2b8830=_0x262d52;return _0x2b8830(0x207)===_0xf45dd8(_0x2537d2[_0x2b8830(0x1c1)])[_0x2b8830(0x1a8)];}
23
+ const _0x147d02=_0x1f4d;(function(_0x597887,_0x162dc5){const _0x8b28c3=_0x1f4d,_0x6c199f=_0x597887();while(!![]){try{const _0xecb24c=-parseInt(_0x8b28c3(0x1da))/0x1*(-parseInt(_0x8b28c3(0x24c))/0x2)+-parseInt(_0x8b28c3(0x221))/0x3*(-parseInt(_0x8b28c3(0x26e))/0x4)+-parseInt(_0x8b28c3(0x241))/0x5*(parseInt(_0x8b28c3(0x1cd))/0x6)+parseInt(_0x8b28c3(0x26b))/0x7+parseInt(_0x8b28c3(0x1f4))/0x8+parseInt(_0x8b28c3(0x22b))/0x9*(-parseInt(_0x8b28c3(0x22a))/0xa)+-parseInt(_0x8b28c3(0x1de))/0xb;if(_0xecb24c===_0x162dc5)break;else _0x6c199f['push'](_0x6c199f['shift']());}catch(_0x1be654){_0x6c199f['push'](_0x6c199f['shift']());}}}(_0x1ad5,0x6fdad));import{Plugin as _0x13ca77}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x50ed74,scrollViewportToShowTarget as _0x12d1e9,uid as _0x449a84}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x4d6511}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x14417b}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0xbb430c,getAllMarkersDomElementsSorted as _0x380999,FOCUS_ANNOTATION_KEYSTROKE as _0x4ff13b,Users as _0x45bfa0}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x3e683d}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x497442}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x4387d5}from'./integrations/importword.js';import{CommentsClipboard as _0x5f5da5}from'./integrations/clipboard.js';function _0x1ad5(){const _0x2cce7c=['5217320LUNDkE','from','channelId','locale','collaboration.channelId','resolveCommentThread','hasCommentThread','_getTextContext','_handleThreadMarker','unlinkedAt','isPremiumPlugin','showCommentHighlights','init','once','listenTo','announce','dataToMarker','addCommentThread','isOfficialPlugin','plugins','size','registerPostFixer','_threadToController','view','affectsData','createRange','_initAriaMarkerChangeAnnouncements','name','refreshVisibility','editing','_detachCommentThread','state','change','_hasTargetInContent','schema','get','model','hasMarkerForId','createPositionBefore','length','markers','differ','document','reconvertMarker','getAllMarkersForId','9LIeXLX','rootName','markerToData','getRange','newRange','$graveyard','scrollToThreadMarker','isEqual','_threads','10dopUjp','4808457uAByay','startsWith','set','markerToHighlight','join','start','commands','switchReadOnly','isCollapsed','focus','href','destroy','filter','ready','markerName','isObject','setUnlinkedAt','hasDomSelection','getChangedMarkers','elementToElement','ignoreResolvedComments','consumable','160ByCwOm','map','_reconvertMarkers','add','registerAnnotation','hasContent','item','substring','reopenCommentThread','render','enqueueChange','226TjoZWD','for','root','$textProxy','data','createElement','updateMarker','$marker','getByInnerView','fromCharCode','ariaLiveAnnouncer','_initializeMarkerConverters','upcast','push','getCommentThreads','fetchCommentThread','afterInit','removeCommentThread','change:isThreadsLoadingPaused','isSubmitted','consume','text','addComment','getItems','ck-comment-marker','getAttribute','_handleInitialThreads','comment','author','isAttached','forEach','3413837YsmisV','activeMarker','managedUsingOperations','584236MSbqRt','first','clear','dataDowncast','157812xpbjcZ','comments','getWalker','setContext','group','requires','getCommentThread','CommentsEditing','openNewCommentThread','context','comment:','low','ck-comment-marker--active','4593JOhwYE','delete','remove','pluginName','2892428XxaNbf','isResolved','change:activeMarker','destroyed','removeMarker','ENTER_COMMENT_ANNOUNCEMENT','removeMarker:','change:isReadOnly','_attachMarkerToThread','then','_attachArchivedThread','isThreadsLoadingPaused','config','addMarker:','end','_getTargetForId','editor','attachTo','conversion','LEAVE_COMMENT_ANNOUNCEMENT','_handleMarkerAddAndRemove','editingDowncast'];_0x1ad5=function(){return _0x2cce7c;};return _0x1ad5();}import{ShowCommentHighlights as _0x2649b4}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x475508}from'../annotations/annotations.js';function _0x1f4d(_0x4711c4,_0x23400b){const _0x1ad585=_0x1ad5();return _0x1f4d=function(_0x1f4d4d,_0xedbe7d){_0x1f4d4d=_0x1f4d4d-0x1cd;let _0x5c8331=_0x1ad585[_0x1f4d4d];return _0x5c8331;},_0x1f4d(_0x4711c4,_0x23400b);}import{getTranslation as _0x59589f}from'../utils/common-translations.js';import{splitMarkerName as _0x2cba98}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x13ca77{static get[_0x147d02(0x1d2)](){return[_0x4d6511,_0x3e683d,_0x45bfa0,_0x497442,_0x4387d5,_0x5f5da5,_0x2649b4];}static get[_0x147d02(0x1dd)](){const _0x220b03=_0x147d02;return _0x220b03(0x1d4);}static get[_0x147d02(0x206)](){return!0x0;}static get[_0x147d02(0x1fe)](){return!0x0;}constructor(_0x19a13c){const _0x31d6f7=_0x147d02;super(_0x19a13c),this[_0x31d6f7(0x22d)](_0x31d6f7(0x1e9),!0x0),_0x19a13c[_0x31d6f7(0x250)][_0x31d6f7(0x201)](_0x31d6f7(0x238),()=>this[_0x31d6f7(0x1e9)]=!0x1),this[_0x31d6f7(0x22d)](_0x31d6f7(0x26c),null),this['on'](_0x31d6f7(0x1e0),(_0x26ba69,_0x2116e5,_0xb34cd2,_0x35b9ea)=>{const _0x1d0860=_0x31d6f7,_0x4edbfd=_0x19a13c[_0x1d0860(0x207)][_0x1d0860(0x217)](_0x4d6511),_0x5ea89d=_0xb34cd2?_0x2cba98(_0xb34cd2)['id']:null;_0x19a13c[_0x1d0860(0x218)][_0x1d0860(0x214)](()=>{const _0x359b8d=_0x1d0860;if(_0x5ea89d){const _0x2a44fe=this[_0x359b8d(0x220)](_0x5ea89d);for(const _0x130d86 of _0x2a44fe)_0x19a13c[_0x359b8d(0x211)][_0x359b8d(0x21f)](_0x130d86);}if(_0x35b9ea){const {id:_0x4d2827}=_0x2cba98(_0x35b9ea),_0x1965a2=_0x4edbfd[_0x359b8d(0x1d3)](_0x4d2827);if(_0x1965a2&&_0x1965a2[_0x359b8d(0x1fd)])return;if(_0x1965a2&&!_0x1965a2[_0x359b8d(0x269)])return;const _0x3a61df=this[_0x359b8d(0x220)](_0x4d2827);for(const _0x477863 of _0x3a61df)_0x19a13c[_0x359b8d(0x211)][_0x359b8d(0x21f)](_0x477863);}}),_0x5ea89d&&this[_0x1d0860(0x227)](_0x5ea89d);}),this[_0x31d6f7(0x20e)]();}[_0x147d02(0x200)](){const _0x3469e1=_0x147d02,_0x40f12d=this[_0x3469e1(0x1ee)],_0x20e52a=_0x40f12d[_0x3469e1(0x207)][_0x3469e1(0x217)](_0x4d6511),_0x4a2f03=_0x40f12d[_0x3469e1(0x1ea)][_0x3469e1(0x217)](_0x3469e1(0x1f8)),_0x1e8aec=_0x20e52a[_0x3469e1(0x25a)]()[_0x3469e1(0x237)](_0x215c6a=>_0x215c6a[_0x3469e1(0x1f6)]!==_0x4a2f03);_0x40f12d[_0x3469e1(0x231)][_0x3469e1(0x244)](_0x3469e1(0x205),new _0x14417b(_0x40f12d)),this[_0x3469e1(0x202)](_0x40f12d,_0x3469e1(0x1e5),(_0xa26f19,_0x526e3d,_0x352121)=>{const _0x39d41d=_0x3469e1;_0x20e52a[_0x39d41d(0x232)](_0x352121,_0x40f12d[_0x39d41d(0x1ea)][_0x39d41d(0x217)](_0x39d41d(0x1f8)));}),this[_0x3469e1(0x202)](_0x20e52a,dt(_0x3469e1(0x205),_0x4a2f03),(_0x8d093c,{threadId:_0x3d703f})=>{const _0x85f1b9=_0x3469e1,_0x2706f0=this[_0x85f1b9(0x1ee)][_0x85f1b9(0x207)][_0x85f1b9(0x217)](_0x4d6511)[_0x85f1b9(0x1d3)](_0x3d703f);_0x2706f0?.[_0x85f1b9(0x1fd)]&&this[_0x85f1b9(0x1e8)](_0x3d703f);}),this[_0x3469e1(0x202)](_0x20e52a,dt(_0x3469e1(0x25d),_0x4a2f03),(_0x2b6afb,{threadId:_0xbad9ba})=>{const _0x599f5e=_0x3469e1;_0x40f12d[_0x599f5e(0x218)][_0x599f5e(0x24b)]({'isUndoable':!0x1},_0x5961d1=>{const _0x49f664=_0x599f5e,_0x4b7887=this[_0x49f664(0x220)](_0xbad9ba);for(const _0x3ade6 of _0x4b7887)_0x5961d1[_0x49f664(0x1e2)](_0x3ade6);});}),this[_0x3469e1(0x202)](_0x20e52a,dt(_0x3469e1(0x1f9),_0x4a2f03),(_0x27241f,{threadId:_0x19d204})=>{const _0x350621=_0x3469e1;(this[_0x350621(0x243)](_0x19d204),this[_0x350621(0x1ee)][_0x350621(0x211)][_0x350621(0x20b)][_0x350621(0x23c)])&&(this[_0x350621(0x1ee)][_0x350621(0x207)][_0x350621(0x217)](_0x4d6511)[_0x350621(0x1d3)](_0x19d204)[_0x350621(0x1fd)]||this[_0x350621(0x1ee)][_0x350621(0x211)][_0x350621(0x20b)][_0x350621(0x234)]());},{'priority':_0x3469e1(0x1d8)}),this[_0x3469e1(0x202)](_0x20e52a,dt(_0x3469e1(0x249),_0x4a2f03),(_0xf6c62a,{threadId:_0x402e80})=>{const _0x5f122e=_0x3469e1;this[_0x5f122e(0x243)](_0x402e80);},{'priority':_0x3469e1(0x1d8)}),this[_0x3469e1(0x202)](_0x20e52a,dt(_0x3469e1(0x262),_0x4a2f03),(_0x1ec293,{threadId:_0x33276f,isFromAdapter:_0x3e4877})=>{const _0x560365=_0x3469e1,_0x4c0d78=this[_0x560365(0x220)](_0x33276f);if(_0x3e4877||0x0==_0x4c0d78[_0x560365(0x21b)]||!_0x20e52a[_0x560365(0x1fa)](_0x33276f))return;0x1===_0x20e52a[_0x560365(0x1d3)](_0x33276f)[_0x560365(0x21b)]&&_0x40f12d[_0x560365(0x218)][_0x560365(0x24b)]({'isUndoable':!0x1},_0x56e242=>{const _0x2ff7a4=_0x560365;for(const _0xda5051 of _0x4c0d78)_0x56e242[_0x2ff7a4(0x252)](_0xda5051,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x3469e1(0x1d8)}),this[_0x3469e1(0x257)](),this[_0x3469e1(0x1f2)](),this[_0x3469e1(0x266)](_0x1e8aec);}[_0x147d02(0x25c)](){!async function(_0x2b7462){const _0x14c3d2=_0x1cdf4c([0x4b,0x70,0x4f,0x42,0x4a,0x47,0x4e,0x53,0x45,0x67,0x71,0x43,0x79,0x66,0x56,0x46,0x31,0x6b,0x5a,0x38,0x6c,0x62,0x6e,0x52,0x6a,0x4d,0x37,0x65,0x49,0x7a,0x41,0x73,0x44,0x51,0x48,0x77,0x39,0x61,0x54,0x68,0x75,0x36,0x72,0x63,0x59,0x69,0x30,0x35,0x55,0x6d,0x50,0x4c,0x34,0x64,0x33,0x58,0x32,0x57,0x6f,0x74,0x76,0x78]),_0x45cce2=0x73460ab3,_0x556a1e=0x73418d7b^_0x45cce2,_0x2f1ac6=window[_0x1cdf4c([0x44,0x61,0x74,0x65])][_0x1cdf4c([0x6e,0x6f,0x77])](),_0x30948f=_0x2b7462[_0x1cdf4c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ffa47=new window[(_0x1cdf4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b7c98=>{_0x30948f[_0x1cdf4c([0x6f,0x6e,0x63,0x65])](_0x1cdf4c([0x72,0x65,0x61,0x64,0x79]),_0x2b7c98);}),_0x5874ad={[_0x1cdf4c([0x6b,0x74,0x79])]:_0x1cdf4c([0x45,0x43]),[_0x1cdf4c([0x75,0x73,0x65])]:_0x1cdf4c([0x73,0x69,0x67]),[_0x1cdf4c([0x63,0x72,0x76])]:_0x1cdf4c([0x50,0x2d,0x32,0x35,0x36]),[_0x1cdf4c([0x78])]:_0x1cdf4c([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1cdf4c([0x79])]:_0x1cdf4c([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1cdf4c([0x61,0x6c,0x67])]:_0x1cdf4c([0x45,0x53,0x32,0x35,0x36])},_0x1cf726=_0x30948f[_0x1cdf4c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1cdf4c([0x67,0x65,0x74])](_0x1cdf4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x304c79(){let _0x466633,_0x366f24=null,_0x406eb5=null;try{if(_0x1cf726==_0x1cdf4c([0x47,0x50,0x4c]))return _0x1cdf4c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x466633=_0x9fcc55(),!_0x466633)return _0x1cdf4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x466633[_0x1cdf4c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x406eb5=_0xb0d9dd(_0x466633[_0x1cdf4c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x466633[_0x1cdf4c([0x6a,0x74,0x69])])),await _0x354af3()?_0x579a41()?_0x513264()?_0x1cdf4c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22d2b3()?(_0x466633[_0x1cdf4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1cdf4c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x366f24=_0x2bbe66(_0x1cdf4c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3233c8()):_0x1cdf4c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1cdf4c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1cdf4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1cdf4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x513264(){const _0x215463=[_0x1cdf4c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1cdf4c([0x74,0x72,0x69,0x61,0x6c])][_0x1cdf4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x466633[_0x1cdf4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f1ac6/0x3e8:0xe10*_0x556a1e;return _0x466633[_0x1cdf4c([0x65,0x78,0x70])]<_0x215463;}function _0x579a41(){const _0x3d5749=_0x466633[_0x1cdf4c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x3d5749)return!0x1;if(_0x3d5749[_0x1cdf4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cdf4c([0x2a])))return!0x0;if(_0x3d5749[_0x1cdf4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cdf4c([0x43,0x4d,0x54])))return!0x0;if(_0x3d5749[_0x1cdf4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cdf4c([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x148bc6())return!0x0;if(_0x3d5749[_0x1cdf4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cdf4c([0x52,0x43,0x4d,0x54]))){if(_0x5b759c())return!0x0;if(_0x1be6e7()||_0x349943())return!0x0;}return!0x1;}function _0x22d2b3(){const _0x384c45=_0x1f4d,_0x225bfd=_0x466633[_0x1cdf4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x225bfd||0x0==_0x225bfd[_0x1cdf4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3779f4}=new URL(window[_0x1cdf4c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x384c45(0x235)]);if(_0x225bfd[_0x1cdf4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3779f4))return!0x0;const _0x370477=_0x3779f4[_0x1cdf4c([0x73,0x70,0x6c,0x69,0x74])](_0x1cdf4c([0x2e]));return _0x225bfd[_0x1cdf4c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54cf27=>_0x54cf27[_0x1cdf4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cdf4c([0x2a])))[_0x1cdf4c([0x6d,0x61,0x70])](_0x1d941d=>_0x1d941d[_0x1cdf4c([0x73,0x70,0x6c,0x69,0x74])](_0x1cdf4c([0x2e])))[_0x1cdf4c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x189ac2=>_0x189ac2[_0x1cdf4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x370477[_0x1cdf4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1cdf4c([0x6d,0x61,0x70])](_0x4f9023=>Array(_0x370477[_0x1cdf4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4f9023[_0x1cdf4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1cdf4c([0x66,0x69,0x6c,0x6c])](_0x4f9023[0x0]===_0x1cdf4c([0x2a])?_0x1cdf4c([0x2a]):'')[_0x1cdf4c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4f9023))[_0x1cdf4c([0x73,0x6f,0x6d,0x65])](_0x597d13=>_0x370477[_0x1cdf4c([0x65,0x76,0x65,0x72,0x79])]((_0x336442,_0x213271)=>_0x597d13[_0x213271]===_0x336442||_0x597d13[_0x213271]===_0x1cdf4c([0x2a])));}function _0x3233c8(){return _0x366f24&&_0x406eb5?new window[(_0x1cdf4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x261dd6,_0x3854bd)=>{_0x366f24[_0x1cdf4c([0x74,0x68,0x65,0x6e])](_0x261dd6,_0x3854bd),_0x406eb5[_0x1cdf4c([0x74,0x68,0x65,0x6e])](_0x4e1b92=>{_0x4e1b92!=_0x1cdf4c([0x56,0x61,0x6c,0x69,0x64])&&_0x261dd6(_0x4e1b92);},_0x3854bd);}):_0x366f24||_0x406eb5||_0x1cdf4c([0x56,0x61,0x6c,0x69,0x64]);}}function _0xb0d9dd(_0x166ac8,_0xed0dc8){return new window[(_0x1cdf4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f3d61=>{if(_0x3041ea())return _0x3f3d61(_0x1cdf4c([0x56,0x61,0x6c,0x69,0x64]));_0x4a2a3d(),_0x30948f[_0x1cdf4c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1cdf4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2b71e6=!0x1;const _0x537600=_0x449a84();function _0x43d5bf(_0x114633){return!!_0x114633&&(typeof _0x114633===_0x1cdf4c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x114633===_0x1cdf4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x114633[_0x1cdf4c([0x74,0x68,0x65,0x6e])]===_0x1cdf4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x114633[_0x1cdf4c([0x63,0x61,0x74,0x63,0x68])]===_0x1cdf4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x13bc02(_0x452756){_0x2d7ef9(_0x452756)[_0x1cdf4c([0x74,0x68,0x65,0x6e])](_0x318fa2=>{if(!_0x318fa2||_0x318fa2[_0x1cdf4c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1cdf4c([0x6f,0x6b]))return _0x1cdf4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x338f44(_0x4e001a(_0x537600+_0xed0dc8))!=_0x318fa2[_0x1cdf4c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1cdf4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1cdf4c([0x56,0x61,0x6c,0x69,0x64]);})[_0x1cdf4c([0x74,0x68,0x65,0x6e])](_0x25f7f7=>(_0x4c41ba(),_0x25f7f7),()=>{const _0x2fdf16=_0x13d077();return null==_0x2fdf16?(_0x4c41ba(),_0x1cdf4c([0x56,0x61,0x6c,0x69,0x64])):_0x1cdf4c(_0x2f1ac6-_0x2fdf16>(0x574a8eb3^_0x45cce2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1cdf4c([0x74,0x68,0x65,0x6e])](_0x3f3d61)[_0x1cdf4c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f3d61(_0x1cdf4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x316b32=0x7370e433^_0x45cce2;function _0x4c41ba(){const _0x1a552a=_0x1cdf4c([0x6c,0x6c,0x63,0x74,0x2d])+_0x338f44(_0x4e001a(_0x166ac8)),_0x2c8c97=_0x173473(_0x338f44(window[_0x1cdf4c([0x4d,0x61,0x74,0x68])][_0x1cdf4c([0x63,0x65,0x69,0x6c])](_0x2f1ac6/_0x316b32)));window[_0x1cdf4c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1cdf4c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a552a,_0x2c8c97);}function _0x13d077(){const _0x413af5=_0x1cdf4c([0x6c,0x6c,0x63,0x74,0x2d])+_0x338f44(_0x4e001a(_0x166ac8)),_0x5bf3b3=window[_0x1cdf4c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1cdf4c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x413af5);return _0x5bf3b3?window[_0x1cdf4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x173473(_0x5bf3b3),0x10)*_0x316b32:null;}function _0x2d7ef9(_0x1056c9){return new window[(_0x1cdf4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2aa964,_0x2ef236)=>{_0x1056c9[_0x1cdf4c([0x74,0x68,0x65,0x6e])](_0x2aa964,_0x2ef236),window[_0x1cdf4c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2ef236,0x7347de73^_0x45cce2);});}}_0x30948f[_0x1cdf4c([0x6f,0x6e])](_0x1cdf4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x57e798,_0x4b5717)=>{if(_0x4b5717[0x0]!=_0x166ac8)return _0x3f3d61(_0x1cdf4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b5717[0x1]={..._0x4b5717[0x1],[_0x1cdf4c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x537600};},{[_0x1cdf4c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1cdf4c([0x68,0x69,0x67,0x68])}),_0x30948f[_0x1cdf4c([0x6f,0x6e])](_0x1cdf4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2094d3=>{_0x43d5bf(_0x2094d3[_0x1cdf4c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2b71e6=!0x0,_0x13bc02(_0x2094d3[_0x1cdf4c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1cdf4c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1cdf4c([0x6c,0x6f,0x77])}),_0x1ffa47[_0x1cdf4c([0x74,0x68,0x65,0x6e])](()=>{_0x2b71e6||_0x3f3d61(_0x1cdf4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3041ea(){return _0x30948f[_0x1cdf4c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1cdf4c([0x76,0x69,0x65,0x77])][_0x1cdf4c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1cdf4c([0x61,0x75,0x74,0x6f]);}function _0x4a2a3d(){_0x30948f[_0x1cdf4c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1cdf4c([0x76,0x69,0x65,0x77])][_0x1cdf4c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1cdf4c([0x61,0x75,0x74,0x6f]);}}function _0x2bbe66(_0xf44f3f){const _0x120a01=[new window[(_0x1cdf4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14bab4=>setTimeout(_0x14bab4,0x734f347f^_0x45cce2)),_0x1ffa47[_0x1cdf4c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1cdf4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x525600=>{let _0x524c03=0x0;_0x30948f[_0x1cdf4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cdf4c([0x6f,0x6e])](_0x1cdf4c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x58d0e6,_0xf30649)=>{_0xf30649[0x0][_0x1cdf4c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x524c03++,_0x524c03==(0x73460f5b^_0x45cce2)&&(_0x525600(),_0x58d0e6[_0x1cdf4c([0x6f,0x66,0x66])]());});}))];return window[_0x1cdf4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1cdf4c([0x72,0x61,0x63,0x65])](_0x120a01)[_0x1cdf4c([0x74,0x68,0x65,0x6e])](()=>_0xf44f3f);}async function _0x2eae5b(){await _0x1ffa47,_0x30948f[_0x1cdf4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cdf4c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a04b0,_0x30948f[_0x1cdf4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cdf4c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a04b0,_0x30948f[_0x1cdf4c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1cdf4c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x148bc6(){return window[_0x1cdf4c([0x67,0x6c,0x6f,0x62])]&&window[_0x1cdf4c([0x67,0x6c,0x6f,0x62])][_0x1cdf4c([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x5b759c(){return _0x27c1b3(_0x1cdf4c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x6ea33d(_0x1cdf4c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x1cdf4c([0x73,0x74,0x61,0x74,0x65])]==_0x1cdf4c([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x1be6e7(){return _0x27c1b3(_0x1cdf4c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0x349943(){return _0x27c1b3(_0x1cdf4c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x23e6ee(_0x113122){const _0x1e36b1=_0x43b38d();_0x30948f[_0x1e36b1]=_0x1cdf4c([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x113122,_0x113122!=_0x1cdf4c([0x56,0x61,0x6c,0x69,0x64])&&_0x2eae5b();}function _0x43b38d(){const _0x2a2889=window[_0x1cdf4c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1cdf4c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1cdf4c([0x6e,0x6f,0x77])]())[_0x1cdf4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1cdf4c([0x2e]),'');let _0x2bd958=_0x1cdf4c([0x4b]);for(let _0x450564=0x0;_0x450564<_0x2a2889[_0x1cdf4c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x450564+=0x2){let _0x522daf=window[_0x1cdf4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a2889[_0x1cdf4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x450564,_0x450564+0x2));_0x522daf>=_0x14c3d2[_0x1cdf4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x522daf-=_0x14c3d2[_0x1cdf4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2bd958+=_0x14c3d2[_0x522daf];}return _0x2bd958;}function _0x9fcc55(){const _0x212df2=_0x1cf726[_0x1cdf4c([0x73,0x70,0x6c,0x69,0x74])](_0x1cdf4c([0x2e]));if(0x3!=_0x212df2[_0x1cdf4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a5e8f(_0x212df2[0x1]);function _0x1a5e8f(_0xcc045b){const _0xb7d1ee=_0x3a03b9(_0xcc045b);return _0xb7d1ee&&_0x502419()?_0xb7d1ee:null;function _0x502419(){const _0x2eef0d=_0xb7d1ee[_0x1cdf4c([0x6a,0x74,0x69])],_0x65d950=window[_0x1cdf4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2eef0d[_0x1cdf4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2eef0d[_0x1cdf4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x49e3c1={..._0xb7d1ee,[_0x1cdf4c([0x6a,0x74,0x69])]:_0x2eef0d[_0x1cdf4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2eef0d[_0x1cdf4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x49e3c1[_0x1cdf4c([0x76,0x63])],_0x4e001a(_0x49e3c1)==_0x65d950;}}}async function _0x354af3(){let _0x382104=!0x0;try{const _0x538a67=_0x1cf726[_0x1cdf4c([0x73,0x70,0x6c,0x69,0x74])](_0x1cdf4c([0x2e])),[_0x24611a,_0x14efb6,_0x1bcd66]=_0x538a67;return _0x49b3c2(_0x24611a),await _0x4e4c93(_0x24611a,_0x14efb6,_0x1bcd66),_0x382104;}catch{return!0x1;}function _0x49b3c2(_0x4aa4ae){const _0x3d17fc=_0x3a03b9(_0x4aa4ae);_0x3d17fc&&_0x3d17fc[_0x1cdf4c([0x61,0x6c,0x67])]==_0x1cdf4c([0x45,0x53,0x32,0x35,0x36])||(_0x382104=!0x1);}async function _0x4e4c93(_0x2be188,_0x5b96f0,_0xca084){const _0x56e474=window[_0x1cdf4c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1cdf4c([0x66,0x72,0x6f,0x6d])](_0x2e9140(_0xca084),_0x13e4fc=>_0x13e4fc[_0x1cdf4c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1f853e=new window[(_0x1cdf4c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1cdf4c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2be188+_0x1cdf4c([0x2e])+_0x5b96f0),_0x49b385=window[_0x1cdf4c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1cdf4c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x49b385)return;const _0x51343d=await _0x49b385[_0x1cdf4c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1cdf4c([0x6a,0x77,0x6b]),_0x5874ad,{[_0x1cdf4c([0x6e,0x61,0x6d,0x65])]:_0x1cdf4c([0x45,0x43,0x44,0x53,0x41]),[_0x1cdf4c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1cdf4c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1cdf4c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x49b385[_0x1cdf4c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1cdf4c([0x6e,0x61,0x6d,0x65])]:_0x1cdf4c([0x45,0x43,0x44,0x53,0x41]),[_0x1cdf4c([0x68,0x61,0x73,0x68])]:{[_0x1cdf4c([0x6e,0x61,0x6d,0x65])]:_0x1cdf4c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x51343d,_0x56e474,_0x1f853e)||(_0x382104=!0x1);}}function _0x3a03b9(_0x33ebbe){return _0x33ebbe[_0x1cdf4c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1cdf4c([0x65,0x79]))?JSON[_0x1cdf4c([0x70,0x61,0x72,0x73,0x65])](_0x2e9140(_0x33ebbe)):null;}function _0x2e9140(_0x5ed284){return window[_0x1cdf4c([0x61,0x74,0x6f,0x62])](_0x5ed284[_0x1cdf4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1cdf4c([0x2b]))[_0x1cdf4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1cdf4c([0x2f])));}function _0x4e001a(_0x3cf7db){let _0x2e4e84=0x1505;function _0x35bb36(_0x24e702){for(let _0x1f0802=0x0;_0x1f0802<_0x24e702[_0x1cdf4c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f0802++){const _0x2c7172=_0x24e702[_0x1cdf4c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f0802);_0x2e4e84=(_0x2e4e84<<0x5)+_0x2e4e84+_0x2c7172,_0x2e4e84&=_0x2e4e84;}}function _0xb9e7ce(_0x528220){Array[_0x1cdf4c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x528220)?_0x528220[_0x1cdf4c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xb9e7ce):_0x528220&&typeof _0x528220==_0x1cdf4c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1cdf4c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x528220)[_0x1cdf4c([0x73,0x6f,0x72,0x74])]()[_0x1cdf4c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4548a4,_0x5965a8])=>{_0x35bb36(_0x4548a4),_0xb9e7ce(_0x5965a8);}):_0x35bb36(window[_0x1cdf4c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x528220));}return _0xb9e7ce(_0x3cf7db),_0x2e4e84>>>0x0;}function _0x338f44(_0x75ea1b){return _0x75ea1b[_0x1cdf4c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1cdf4c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1cdf4c([0x30]));}function _0x173473(_0x2d5b00){return _0x2d5b00[_0x1cdf4c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1cdf4c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1cdf4c([0x6a,0x6f,0x69,0x6e])]('');}function _0x27c1b3(_0x2958cd){return _0x30948f[_0x1cdf4c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1cdf4c([0x68,0x61,0x73])](_0x2958cd);}function _0x6ea33d(_0x57099d){return _0x30948f[_0x1cdf4c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1cdf4c([0x67,0x65,0x74])](_0x57099d);}function _0x2a04b0(){}function _0x1cdf4c(_0x439296){const _0x16d7de=_0x1f4d;return _0x439296[_0x16d7de(0x242)](_0x20d9d7=>String[_0x16d7de(0x255)](_0x20d9d7))[_0x16d7de(0x22f)]('');}_0x23e6ee(await _0x304c79());}(this);}[_0x147d02(0x236)](){const _0x569f7a=_0x147d02,_0x496dff=this[_0x569f7a(0x1ee)][_0x569f7a(0x207)][_0x569f7a(0x217)](_0x4d6511),_0x452431=this[_0x569f7a(0x1ee)][_0x569f7a(0x1ea)][_0x569f7a(0x217)](_0x569f7a(0x1f8));for(const _0xdab08 of _0x496dff[_0x569f7a(0x25a)]({'channelId':_0x452431}))_0x496dff[_0x569f7a(0x212)](_0xdab08['id']),_0x496dff[_0x569f7a(0x229)][_0x569f7a(0x1db)](_0xdab08['id']);super[_0x569f7a(0x236)]();}[_0x147d02(0x219)](_0x52c894){const _0x40935c=_0x147d02;return this[_0x40935c(0x220)](_0x52c894)[_0x40935c(0x21b)]>0x0;}[_0x147d02(0x220)](_0x578831){const _0x30d455=_0x147d02,_0x2a453e=[];for(const _0x1d6e09 of this[_0x30d455(0x1ee)][_0x30d455(0x218)][_0x30d455(0x21c)])_0x1d6e09[_0x30d455(0x20f)][_0x30d455(0x22c)](_0x30d455(0x1d7)+_0x578831)&&_0x2a453e[_0x30d455(0x259)](_0x1d6e09);return _0x2a453e;}[_0x147d02(0x227)](_0x4063e1){setTimeout(()=>{const _0x4023eb=_0x1f4d,_0xe740b4=this[_0x4023eb(0x1ed)](_0x4063e1);if(!_0xe740b4)return;this[_0x4023eb(0x26c)]&&_0x2cba98(this[_0x4023eb(0x26c)])['id']===_0x4063e1&&_0x12d1e9({'target':_0xe740b4[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x147d02(0x243)](_0x5f513b){const _0xc7c7c8=_0x147d02;this[_0xc7c7c8(0x1ee)][_0xc7c7c8(0x218)][_0xc7c7c8(0x214)](()=>{const _0xfec4d7=_0xc7c7c8;for(const _0x5ea3c1 of this[_0xfec4d7(0x220)](_0x5f513b))this[_0xfec4d7(0x1ee)][_0xfec4d7(0x211)][_0xfec4d7(0x21f)](_0x5ea3c1);});}[_0x147d02(0x1e8)](_0x3b88d9){const _0x5cad6b=_0x147d02,_0x3a462c=this[_0x5cad6b(0x1ee)][_0x5cad6b(0x207)][_0x5cad6b(0x217)](_0x4d6511),_0x570ecc=this[_0x5cad6b(0x1ee)][_0x5cad6b(0x207)][_0x5cad6b(0x217)](_0x3e683d),_0x5308d3=_0x3a462c[_0x5cad6b(0x1d3)](_0x3b88d9);if(!_0x5308d3[_0x5cad6b(0x269)]){const _0x2b92b5=_0x5308d3[_0x5cad6b(0x1ef)](()=>this[_0x5cad6b(0x1ed)](_0x5308d3['id']));_0x570ecc[_0x5cad6b(0x245)](_0x2b92b5),_0x5308d3[_0x5cad6b(0x215)]=!0x1;}}[_0x147d02(0x257)](){const _0x5e6d7a=_0x147d02,_0x5e7de2=this[_0x5e6d7a(0x1ee)],_0x23a8b4=_0x5e7de2[_0x5e6d7a(0x207)][_0x5e6d7a(0x217)](_0x45bfa0);_0x5e7de2[_0x5e6d7a(0x1f0)][_0x5e6d7a(0x24d)](_0x5e6d7a(0x1f3))[_0x5e6d7a(0x22e)]({'model':_0x5e6d7a(0x267),'view':(_0xb92689,_0x1c79d5)=>{const _0x1d7b6f=_0x5e6d7a,{id:_0x5570ed}=_0x2cba98(_0xb92689[_0x1d7b6f(0x239)]),_0x48c7c6=_0x5e7de2[_0x1d7b6f(0x207)][_0x1d7b6f(0x217)](_0x4d6511)[_0x1d7b6f(0x1d3)](_0x5570ed),_0xdd5a0c=this[_0x1d7b6f(0x26c)]&&_0x2cba98(this[_0x1d7b6f(0x26c)])['id']===_0x5570ed;let _0x4d6fc8;if(_0x48c7c6&&_0x48c7c6[_0x1d7b6f(0x1df)]&&!_0xdd5a0c&&_0xb92689[_0x1d7b6f(0x247)])return _0x1c79d5[_0x1d7b6f(0x240)][_0x1d7b6f(0x260)](_0xb92689[_0x1d7b6f(0x247)],_0x1d7b6f(0x1eb)+_0xb92689[_0x1d7b6f(0x239)]),_0x1c79d5[_0x1d7b6f(0x240)][_0x1d7b6f(0x260)](_0xb92689[_0x1d7b6f(0x247)],_0x1d7b6f(0x1e4)+_0xb92689[_0x1d7b6f(0x239)]),null;const _0x295a55=[_0x1d7b6f(0x264)];return _0xdd5a0c&&_0x295a55[_0x1d7b6f(0x259)](_0x1d7b6f(0x1d9)),_0x4d6fc8=_0x48c7c6?.[_0x1d7b6f(0x21b)]?_0x48c7c6[_0x1d7b6f(0x1ce)][_0x1d7b6f(0x26f)][_0x1d7b6f(0x268)]['id']:_0x23a8b4['me']['id'],{'classes':_0x295a55,'attributes':{'data-comment':_0x5570ed,'data-author-id':_0x4d6fc8}};}}),_0x5e7de2[_0x5e6d7a(0x1f0)][_0x5e6d7a(0x24d)](_0x5e6d7a(0x271))[_0x5e6d7a(0x223)]({'model':_0x5e6d7a(0x267),'view':(_0x44c996,{options:_0x1c9e4e})=>{const _0xf9d4c=_0x5e6d7a;if(_0x1c9e4e[_0xf9d4c(0x1ff)])return null;const _0xe27bd9=_0x5e7de2[_0xf9d4c(0x207)][_0xf9d4c(0x217)](_0x4d6511),_0x22b263=_0x5e7de2[_0xf9d4c(0x218)][_0xf9d4c(0x21c)][_0xf9d4c(0x217)](_0x44c996),{id:_0xe586b,part:_0x2968e6}=_0x2cba98(_0x44c996);return _0x22b263&&!_0x22b263[_0xf9d4c(0x20c)]||_0x1c9e4e[_0xf9d4c(0x23f)]&&_0xe27bd9[_0xf9d4c(0x1d3)](_0xe586b)?.[_0xf9d4c(0x1df)]?null:{'group':_0xf9d4c(0x267),'name':_0x2968e6?_0xe586b+':'+_0x2968e6:_0xe586b};}}),_0x5e7de2[_0x5e6d7a(0x1f0)][_0x5e6d7a(0x24d)](_0x5e6d7a(0x258))[_0x5e6d7a(0x23e)]({'view':{'name':_0x5e6d7a(0x267),'attributes':{'id':/^\w/}},'model':(_0xafa3d1,{writer:_0x2799cf})=>_0x2799cf[_0x5e6d7a(0x251)](_0x5e6d7a(0x253),{'data-name':_0x5e6d7a(0x1d7)+_0xafa3d1[_0x5e6d7a(0x265)]('id')})}),_0x5e7de2[_0x5e6d7a(0x1f0)][_0x5e6d7a(0x24d)](_0x5e6d7a(0x258))[_0x5e6d7a(0x204)]({'view':_0x5e6d7a(0x267)});}[_0x147d02(0x1f2)](){const _0x530b82=_0x147d02,_0x52a7db=this[_0x530b82(0x1ee)],_0xc8c26c=_0x52a7db[_0x530b82(0x207)][_0x530b82(0x217)](_0x4d6511),_0xc65ca3=new Set(),_0x575ca3=new Set();_0x52a7db[_0x530b82(0x218)][_0x530b82(0x21e)][_0x530b82(0x209)](_0x33dbca=>{const _0x371bff=_0x530b82;let _0x52fe35=!0x1;for(const {name:_0x778b3c,data:_0x1c10bd}of _0x52a7db[_0x371bff(0x218)][_0x371bff(0x21e)][_0x371bff(0x21d)][_0x371bff(0x23d)]()){const {group:_0x1af5d0,id:_0x459a4c}=_0x2cba98(_0x778b3c);let _0x190c8d=_0x1c10bd[_0x371bff(0x225)];if(_0x371bff(0x267)!==_0x1af5d0||!_0x190c8d)continue;const _0x5d96fe=_0x371bff(0x226)===_0x190c8d[_0x371bff(0x24e)][_0x371bff(0x222)];_0x5d96fe||(_0x190c8d=ht(_0x190c8d,_0x52a7db[_0x371bff(0x218)]),!_0x190c8d||_0x190c8d[_0x371bff(0x233)]||!_0x1c10bd[_0x371bff(0x225)]||_0x190c8d[_0x371bff(0x228)](_0x1c10bd[_0x371bff(0x225)]))?_0x52a7db[_0x371bff(0x218)][_0x371bff(0x246)](_0x190c8d)&&!_0x5d96fe?this[_0x371bff(0x1e9)]?_0xc65ca3[_0x371bff(0x244)](_0x778b3c):this[_0x371bff(0x1fc)](_0x778b3c,_0x459a4c):(_0x575ca3[_0x371bff(0x244)](_0x778b3c),_0xc65ca3[_0x371bff(0x1db)](_0x778b3c),_0x33dbca[_0x371bff(0x1e2)](_0x778b3c),_0x52fe35=!0x0):(_0x33dbca[_0x371bff(0x252)](_0x778b3c,{'range':_0x190c8d}),_0x52fe35=!0x0);}return _0x52fe35;}),this['on'](_0x530b82(0x25e),(_0x273a7b,_0x1899ca,_0x727541)=>{const _0x2e60b5=_0x530b82;if(!_0x727541&&_0xc65ca3[_0x2e60b5(0x208)])for(const _0x4a5f05 of _0xc65ca3){const {id:_0x1e286b}=_0x2cba98(_0x4a5f05);_0xc65ca3[_0x2e60b5(0x1db)](_0x4a5f05),_0x52a7db[_0x2e60b5(0x218)][_0x2e60b5(0x21c)][_0x2e60b5(0x217)](_0x4a5f05)&&this[_0x2e60b5(0x1fc)](_0x4a5f05,_0x1e286b);}}),this[_0x530b82(0x202)](_0x52a7db[_0x530b82(0x218)][_0x530b82(0x21e)],_0x530b82(0x214),()=>{const _0x1bd2b7=_0x530b82;for(const {name:_0x265e34,data:{newRange:_0x577b18}}of _0x52a7db[_0x1bd2b7(0x218)][_0x1bd2b7(0x21e)][_0x1bd2b7(0x21d)][_0x1bd2b7(0x23d)]()){const {group:_0x318ec3,id:_0x1506e0}=_0x2cba98(_0x265e34);if(_0x1bd2b7(0x267)!==_0x318ec3)continue;const _0x2205c6=_0xc8c26c[_0x1bd2b7(0x1d3)](_0x1506e0),_0x53ad1e=this[_0x1bd2b7(0x219)](_0x1506e0);_0x2205c6&&(!_0x2205c6[_0x1bd2b7(0x215)]&&_0x577b18&&_0x52a7db[_0x1bd2b7(0x211)][_0x1bd2b7(0x20b)][_0x1bd2b7(0x201)](_0x1bd2b7(0x24a),()=>{const _0x378571=_0x1bd2b7,_0x1c844c=_0x52a7db[_0x378571(0x207)][_0x378571(0x217)](_0x475508),_0x1bc9e8=_0xc8c26c[_0x378571(0x20a)][_0x378571(0x217)](_0x2205c6)[_0x378571(0x20b)];_0x1c844c[_0x378571(0x254)](_0x1bc9e8)[_0x378571(0x210)]();},{'priority':_0x1bd2b7(0x1d8)}),_0x2205c6[_0x1bd2b7(0x215)]=_0x53ad1e||!!_0x577b18),_0x577b18||(_0x575ca3[_0x1bd2b7(0x244)](_0x265e34),_0xc65ca3[_0x1bd2b7(0x1db)](_0x265e34));}for(const _0xacb1d0 of _0x575ca3){const {id:_0x1a7bf0}=_0x2cba98(_0xacb1d0),_0x5d0814=_0xc8c26c[_0x1bd2b7(0x1d3)](_0x1a7bf0);if(_0xc65ca3[_0x1bd2b7(0x1db)](_0xacb1d0),!_0x5d0814)continue;const _0x2df901=this[_0x1bd2b7(0x219)](_0x1a7bf0);_0x2df901||_0x5d0814[_0x1bd2b7(0x25f)]?_0x2df901||_0x5d0814[_0x1bd2b7(0x1fd)]||_0x5d0814[_0x1bd2b7(0x23b)](new Date()):_0x5d0814[_0x1bd2b7(0x1dc)]();}_0x575ca3[_0x1bd2b7(0x270)]();});}[_0x147d02(0x266)](_0x264317){const _0x24943c=_0x147d02;_0x264317[_0x24943c(0x26a)](_0x1e7dd7=>{const _0x48fddd=_0x24943c;_0x1e7dd7[_0x48fddd(0x1fd)]&&this[_0x48fddd(0x1e8)](_0x1e7dd7['id']);});}[_0x147d02(0x1ed)](_0x459285){const _0x146e60=_0x147d02,_0x1794d4=this[_0x146e60(0x1ee)],_0x519a04=this[_0x146e60(0x220)](_0x459285);return _0x380999(_0x1794d4[_0x146e60(0x211)],_0x519a04);}[_0x147d02(0x1fb)](_0x4c866e){const _0x384f9f=_0x147d02,_0x44b32d=this[_0x384f9f(0x220)](_0x4c866e);let _0x18cc01='',_0xb7ace0=!0x1;for(const _0x8653d6 of _0x44b32d){const _0xa9aef1=_0x8653d6[_0x384f9f(0x224)]();for(const _0x50d21e of Array[_0x384f9f(0x1f5)](_0xa9aef1[_0x384f9f(0x263)]()))_0x50d21e['is'](_0x384f9f(0x24f))?(_0x18cc01&&_0xb7ace0&&(_0x18cc01+='\x20',_0xb7ace0=!0x1),_0x18cc01+=_0x50d21e[_0x384f9f(0x250)]):_0xb7ace0=!0x0;_0xb7ace0=!0x0;}return _0x18cc01[_0x384f9f(0x248)](0x0,0x96);}[_0x147d02(0x1e6)](_0x21b9e8,_0x2640bb){const _0x31c32d=_0x147d02,_0x47a881=this[_0x31c32d(0x1ee)],_0x5f55da=_0x47a881[_0x31c32d(0x207)][_0x31c32d(0x217)](_0x4d6511);let _0x4a76c4=_0x5f55da[_0x31c32d(0x1d3)](_0x2640bb);const _0x11bb06=_0x47a881[_0x31c32d(0x1ea)][_0x31c32d(0x217)](_0x31c32d(0x1f8)),_0x32af02=_0x47a881[_0x31c32d(0x207)][_0x31c32d(0x217)](_0x3e683d);if(_0x4a76c4&&(_0x4a76c4[_0x31c32d(0x1fd)]&&_0x4a76c4[_0x31c32d(0x23b)](null),_0x4a76c4[_0x31c32d(0x269)]))return _0x4a76c4;return!this[_0x31c32d(0x220)](_0x2640bb)[0x0][_0x31c32d(0x26d)]?_0x47a881[_0x31c32d(0x211)][_0x31c32d(0x20b)][_0x31c32d(0x201)](_0x31c32d(0x24a),()=>{const _0xfac947=_0x31c32d;if(_0x5f55da[_0xfac947(0x1d3)](_0x2640bb))return;const _0x33c1b9=_0x47a881[_0xfac947(0x207)][_0xfac947(0x217)](_0x475508);_0x4a76c4=_0x5f55da[_0xfac947(0x1d5)]({'channelId':_0x11bb06,'threadId':_0x2640bb,'target':()=>this[_0xfac947(0x1ed)](_0x2640bb),'context':{'type':_0xfac947(0x261),'value':this[_0xfac947(0x1fb)](_0x2640bb)}});const _0x589898=_0x5f55da[_0xfac947(0x20a)][_0xfac947(0x217)](_0x4a76c4)[_0xfac947(0x20b)],_0x1dac43=_0x33c1b9[_0xfac947(0x254)](_0x589898);_0x1dac43&&_0x32af02[_0xfac947(0x245)](_0x1dac43);},{'priority':_0x31c32d(0x1d8)}):_0x5f55da[_0x31c32d(0x25b)]({'channelId':_0x11bb06,'threadId':_0x2640bb})[_0x31c32d(0x1e7)](_0x335fdb=>{const _0x24aa3d=_0x31c32d;if(_0x24aa3d(0x1e1)!==_0x47a881[_0x24aa3d(0x213)]){if(_0x4a76c4=_0x335fdb,_0x4a76c4&&!_0x4a76c4[_0x24aa3d(0x269)]){const _0x1f00e2=_0x4a76c4[_0x24aa3d(0x1ef)](()=>this[_0x24aa3d(0x1ed)](_0x2640bb));_0x32af02[_0x24aa3d(0x245)](_0x1f00e2),_0x4a76c4[_0x24aa3d(0x1df)]&&this[_0x24aa3d(0x243)](_0x2640bb);}else{if(!_0x4a76c4){const _0x4c92fd=this[_0x24aa3d(0x220)](_0x2640bb);_0x47a881[_0x24aa3d(0x218)][_0x24aa3d(0x214)](_0xfb1f7d=>{const _0x39c5b8=_0x24aa3d;for(const _0x42c926 of _0x4c92fd)_0xfb1f7d[_0x39c5b8(0x1e2)](_0x42c926);});}}}}),_0x4a76c4;}[_0x147d02(0x1fc)](_0x4f116e,_0x397fe6){const _0x3bca91=_0x147d02,_0x40fc3f=this[_0x3bca91(0x1e6)](_0x4f116e,_0x397fe6);_0x40fc3f&&!_0x40fc3f[_0x3bca91(0x1d6)]&&_0x40fc3f[_0x3bca91(0x1d0)]({'type':_0x3bca91(0x261),'value':this[_0x3bca91(0x1fb)](_0x397fe6)});}[_0x147d02(0x20e)](){const _0x3ccaad=_0x147d02,_0x369d40=this[_0x3ccaad(0x1ee)];_0xbb430c(_0x369d40[_0x3ccaad(0x218)],({left:_0x41c805,entered:_0xb2a99d})=>{const _0x737aa5=_0x3ccaad;for(const _0x37b2b8 of _0x41c805)if(mt(_0x37b2b8)){_0x369d40['ui'][_0x737aa5(0x256)][_0x737aa5(0x203)](_0x59589f(_0x369d40[_0x737aa5(0x1f7)],_0x737aa5(0x1f1)));break;}for(const _0x10d627 of _0xb2a99d)if(mt(_0x10d627)){_0x369d40['ui'][_0x737aa5(0x256)][_0x737aa5(0x203)](_0x59589f(_0x369d40[_0x737aa5(0x1f7)],_0x737aa5(0x1e3),_0x50ed74(_0x4ff13b)));break;}});}}function dt(_0x24ef1a,_0x40679d){return _0x40679d?_0x24ef1a+':'+_0x40679d:_0x24ef1a;}function ht(_0x5cad5d,_0x33eeb4){const _0x5f3001=_0x147d02,_0x5c0c2c=_0x33eeb4[_0x5f3001(0x216)],_0x5908b7=_0x33eeb4[_0x5f3001(0x20d)](_0x5cad5d[_0x5f3001(0x230)]);for(const _0x1db19f of _0x5cad5d[_0x5f3001(0x1cf)]()){const {type:_0x364e19,item:_0x52b8d0,nextPosition:_0x203ddc}=_0x1db19f;if(_0x5f3001(0x261)===_0x364e19||_0x5c0c2c[_0x5f3001(0x23a)](_0x52b8d0)){const _0x1284b2=_0x33eeb4[_0x5f3001(0x21a)](_0x52b8d0);_0x5908b7[_0x5f3001(0x233)]&&(_0x5908b7[_0x5f3001(0x230)]=_0x1284b2),_0x5908b7[_0x5f3001(0x1ec)]=_0x203ddc;}}return _0x5908b7;}function mt(_0x3a1a59){const _0x1c34fb=_0x147d02;return _0x1c34fb(0x267)===_0x2cba98(_0x3a1a59[_0x1c34fb(0x20f)])[_0x1c34fb(0x1d1)];}
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1db62c=_0x2791;(function(_0x189e4e,_0x4a67b0){const _0x13feb8=_0x2791,_0x1baa14=_0x189e4e();while(!![]){try{const _0x1f3feb=parseInt(_0x13feb8(0x1d0))/0x1*(-parseInt(_0x13feb8(0x231))/0x2)+-parseInt(_0x13feb8(0x21b))/0x3*(parseInt(_0x13feb8(0x258))/0x4)+-parseInt(_0x13feb8(0x20e))/0x5+-parseInt(_0x13feb8(0x1f9))/0x6+parseInt(_0x13feb8(0x280))/0x7+-parseInt(_0x13feb8(0x25d))/0x8+parseInt(_0x13feb8(0x1b3))/0x9*(parseInt(_0x13feb8(0x210))/0xa);if(_0x1f3feb===_0x4a67b0)break;else _0x1baa14['push'](_0x1baa14['shift']());}catch(_0x3d5e70){_0x1baa14['push'](_0x1baa14['shift']());}}}(_0x41de,0x5a76b));import{PendingActions as _0x326490,ContextPlugin as _0x2351bf,Editor as _0x354775}from'ckeditor5/src/core.js';import{Collection as _0x1902d2,uid as _0x1cdbea,CKEditorError as _0x2ed2ee,ObservableMixin as _0x5154ad}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x1d6930,hashObject as _0x5eab29,Users as _0x160744}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x2a42df,isEqual as _0x32070a,set as _0x52c70f,unset as _0x1ab017}from'es-toolkit/compat';import{CommentThreadController as _0xa4d20a}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x3ee8d9}from'./ui/view/commentthreadview.js';function _0x41de(){const _0x33f4a7=['updateComment','focus','getIndex','assign','getAnnotationForCommentThread','createdAt','write','catch','change:isDirty','commentsrepository-remove-comment-thread-internal-error','getComment','_getExternalAuthor','commentsrepository-adapter-already-set','getPermissions','lowest','CommentsRepository','CommentThreadView','_createCommentThreadView','commentsrepository-active-not-attached','addCommentThread','isActive','isAttached','createCommentThreadController','warn','authoredAt','9608NlVcye','_addCommentThread','authorName','commentsrepository-update-comment-internal-error','getTime','5838248EJyvPw','addUser','isSubmitted','commentsrepository-add-comment-to-missing-comment-thread','commentsrepository-invalid-comment-content','commentsrepository-add-comment-thread-internal-error','comments.copyMarkers','isVisible','isFromAdapter','hasCommentThread','destroy','_update','then','removeAttribute','commentsrepository-update-comment-missing-comment-thread','author','commentsrepository-resolved-comment-thread','_reopenCommentThread','editorReady','isExternal','commentsrepository-resolve-comment-thread-internal-error','isResolvable','update','_detachCommentThread','commentsrepository-duplicated-comment-thread-id','max','canComment','channelId','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','_removeCommentThread','isEditable','commentsrepository-attach-missing-comment-thread','has','_resolveCommentThread','_threads','4625138CdShan','commentsrepository-invalid-commentid','refreshVisibility','innerHTML','_adapter','bodyCollectionContainer','commentId','_updateActiveAnnotation','switchReadOnly','isOfficialPlugin','setPermissions','from','locale','isDirty','focusTracker','_permissions','div','comments.editorConfig','_removeComment','weight','focusableElements','resolvedBy','_createNewComment','comments.CommentView','removeCommentThread','attributes','change:activeAnnotations','3094515CRexXQ','function','resolve','PendingActions','resolvedAt','_viewToController','comments.maxCommentCharsWhenCollapsed','fire','isReadOnly','addComment','commentsrepository-missing-thread-and-adapter-method','archivedAt','activeCommentThread','PENDING_ACTION_COMMENT_THREAD','find','listenTo','getUser','comments.maxCommentsWhenCollapsed','_unbindEditors','highest','error','admin','setAttribute','commentsrepository-update-missing-comment','pluginName','init','commentsrepository-update-comment-invalid-content','bind','_removeActiveAnnotation','2FClQhv','setActiveCommentThread','updateCommentThread','commentsrepository-fetch-comment-thread','comments.maxThreadTotalWeight','toJSON','view','commentInputView','noChannel','editorDestroyed','commentsrepository-remove-comment-missing-comment-thread','commentsrepository-missing-target','attachTo','_readOnlyChannels','plugins','commentsrepository-invalid-comment-authorid','commentsrepository-missing-comment-thread','_isAttached','once','getCommentThread','change:authoredAt','isPremiumPlugin','_updateCommentThread','_submitCommentThread','commentsrepository-add-comment-internal-error','push','removeComment','change:_readOnlyChannels','unlinkedAt','fetchCommentThread','config','commentsrepository-get-comment-invalid-id','comments','deactivateAll','_updateComment','commentsrepository-remove-missing-comment','commentsrepository-add-comment-user-not-exists','external:','activate','_hasTargetInContent','resolveCommentThread','1369056AJPhBn','_add','innerView','type','getByInnerView','_remove','_repository','licenseKey','stopListening','_isSubmitted','reopenCommentThread','get','reopen','body','commentsrepository-update-comment-thread-internal-error','comment','set','change:_permissions','setContext','createElement','trim','2934715szJtpi','_threadToController','70BDEXTa','delete','@external','getCommentThreadForAnnotation','_findOptimalIndex','modifyAll','commentThreadInputView','submit','commentsrepository-active-missing-comment-thread','CommentView','submitCommentThread','732UGkeFX','getCommentThreads','requires','model','creator','_attachCommentThread','isResolved','escape','_bindAnnotationToEditors','adapter','comments.CommentThreadView','remove','commentsrepository-remove-comment-internal-error','values','setUnlinkedAt','_addComment','isRemovable','string','commentsrepository-remove-missing-comment-thread','map','content','textContent','566052AuwZVT','add','commentsrepository-reopen-comment-thread','define','commentsrepository-invalid-comment-thread-id','commentUpdated','openNewCommentThread','filter','threadId','commentsListView','context','reduce','length','commentsrepository-reopen-comment-thread-internal-error'];_0x41de=function(){return _0x33f4a7;};return _0x41de();}import{CommentView as _0x29ec0c}from'./ui/view/commentview.js';import{getTranslation as _0x19a29b}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0xdb7b0}from'../annotations/view/annotationview.js';import{Annotation as _0x1afbdc}from'../annotations/annotation.js';function _0x2791(_0x43b755,_0x191f81){const _0x41de2f=_0x41de();return _0x2791=function(_0x27919a,_0x13d62f){_0x27919a=_0x27919a-0x1ae;let _0x52bd65=_0x41de2f[_0x27919a];return _0x52bd65;},_0x2791(_0x43b755,_0x191f81);}import{Annotations as _0x5e251c}from'../annotations/annotations.js';const _t=Symbol(_0x1db62c(0x1d8)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x2351bf{[_0x1db62c(0x27f)];[_0x1db62c(0x20f)];[_0x1db62c(0x1b8)];static get[_0x1db62c(0x21d)](){return[_0x5e251c,_0x326490,_0x160744];}static get[_0x1db62c(0x1cb)](){const _0x4a78d9=_0x1db62c;return _0x4a78d9(0x24e);}static get[_0x1db62c(0x289)](){return!0x0;}static get[_0x1db62c(0x1e5)](){return!0x0;}constructor(_0x4ea48f){const _0x224dc4=_0x1db62c;super(_0x4ea48f),this[_0x224dc4(0x27f)]=new Map(),this[_0x224dc4(0x20f)]=new Map(),this[_0x224dc4(0x1b8)]=new Map(),this[_0x224dc4(0x209)](_0x224dc4(0x1dd),new Set()),this[_0x224dc4(0x209)](_0x224dc4(0x28f),new Map());const _0x591717=this[_0x224dc4(0x23b)][_0x224dc4(0x1ee)];_0x591717[_0x224dc4(0x234)](_0x224dc4(0x1c4),0x2),_0x591717[_0x224dc4(0x234)](_0x224dc4(0x1d4),0x1f4),_0x591717[_0x224dc4(0x234)](_0x224dc4(0x1b9),0x8c),_0x591717[_0x224dc4(0x234)](_0x224dc4(0x225),_0x3ee8d9),_0x591717[_0x224dc4(0x234)](_0x224dc4(0x1af),_0x29ec0c),_0x591717[_0x224dc4(0x204)](_0x224dc4(0x291))||console[_0x224dc4(0x256)](_0x224dc4(0x279));}[_0x1db62c(0x1cc)](){const _0x361bfb=_0x1db62c,_0x3e633e=this[_0x361bfb(0x23b)][_0x361bfb(0x1de)][_0x361bfb(0x204)](_0x5e251c);this[_0x361bfb(0x209)](_0x361bfb(0x1bf),null),this['on'](_0x361bfb(0x252),(_0x1d6639,_0x1e14e3)=>this[_0x361bfb(0x259)](_0x1e14e3)),this['on'](_0x361bfb(0x21a),(_0x433020,_0x1a72bf)=>this[_0x361bfb(0x1e7)](_0x1a72bf)),this['on'](_0x361bfb(0x1f8),(_0x3c7ae6,_0x5eef4e)=>this[_0x361bfb(0x27e)](_0x5eef4e)),this['on'](_0x361bfb(0x1f8),(_0x264e94,_0x49664d)=>this[_0x361bfb(0x287)](_0x49664d),{'priority':_0x361bfb(0x24d)}),this['on'](_0x361bfb(0x203),(_0x2146ae,_0x2987aa)=>this[_0x361bfb(0x26e)](_0x2987aa)),this['on'](_0x361bfb(0x203),(_0x3d98c8,_0x8597a7)=>this[_0x361bfb(0x287)](_0x8597a7),{'priority':_0x361bfb(0x24d)}),this['on'](_0x361bfb(0x1b0),(_0x4312e4,_0x40a0d4)=>this[_0x361bfb(0x27a)](_0x40a0d4)),this['on'](_0x361bfb(0x1d2),(_0x87d3e,_0x2d03da)=>this[_0x361bfb(0x1e6)](_0x2d03da)),this['on'](_0x361bfb(0x1d2),(_0x3e307b,_0x5a4bbc)=>this[_0x361bfb(0x287)](_0x5a4bbc),{'priority':_0x361bfb(0x24d)}),this['on'](_0x361bfb(0x1bc),(_0x1adbec,_0x5c3dea)=>this[_0x361bfb(0x22a)](_0x5c3dea)),this['on'](_0x361bfb(0x23f),(_0x1c91ad,_0x47e28f)=>this[_0x361bfb(0x1f2)](_0x47e28f)),this['on'](_0x361bfb(0x1ea),(_0x4f8b46,_0x3068f4)=>this[_0x361bfb(0x292)](_0x3068f4)),this['on'](_0x361bfb(0x1bc),(_0x154a4e,{threadId:_0x42ee6b,isFromAdapter:_0xc7658d})=>{const _0x4555c3=_0x361bfb;if(_0xc7658d)return;const _0x36c75d=this[_0x4555c3(0x1e3)](_0x42ee6b),_0x34b10f=_0x36c75d&&this[_0x4555c3(0x20f)][_0x4555c3(0x204)](_0x36c75d);_0x34b10f&&_0x34b10f[_0x4555c3(0x1d6)][_0x4555c3(0x23a)][_0x4555c3(0x240)](-0x1);},{'priority':_0x361bfb(0x24d)}),this[_0x361bfb(0x1c2)](_0x3e633e,_0x361bfb(0x1b2),(_0x2a310b,_0x3eca4f,_0x5f5de4)=>{const _0x9b931b=_0x361bfb,_0x203092=Array[_0x9b931b(0x28b)](_0x5f5de4)[_0x9b931b(0x22e)](_0x44a0fe=>this[_0x9b931b(0x1b8)][_0x9b931b(0x204)](_0x44a0fe[_0x9b931b(0x1fb)]))[_0x9b931b(0x238)](Boolean)[0x0];this[_0x9b931b(0x1bf)]=_0x203092?_0x203092[_0x9b931b(0x21e)]:null;});}set[_0x1db62c(0x224)](_0x1bfe7){const _0x304101=_0x1db62c;if(this[_0x304101(0x284)])throw new _0x2ed2ee(_0x304101(0x24b));this[_0x304101(0x284)]=_0x1bfe7;}get[_0x1db62c(0x224)](){const _0xa120cf=_0x1db62c;return this[_0xa120cf(0x284)];}[_0x1db62c(0x252)]({channelId:_0x3a2c60=_t,threadId:_0x4f1459=_0x1cdbea(),comments:_0x385617=[],unlinkedAt:_0x4b6cb0=null,resolvedAt:_0x2bb94e=null,resolvedBy:_0x3b59e4=null,target:_0x33f9f5=null,context:_0x4ce548=null,attributes:_0x3433ac={},isResolvable:_0x11b9b4=!0x0,isSubmitted:_0x417c4c=!0x1,isFromAdapter:_0x4e280b=!0x1}={}){const _0xfdb53=_0x1db62c;return this[_0xfdb53(0x1ba)](Nt(_0xfdb53(0x252),_0x3a2c60),{'channelId':_0x3a2c60,'threadId':_0x4f1459,'comments':_0x385617,'unlinkedAt':_0x4b6cb0,'resolvedAt':_0x2bb94e,'resolvedBy':_0x3b59e4,'target':_0x33f9f5,'context':_0x4ce548,'attributes':_0x3433ac,'isFromAdapter':_0x4e280b,'isResolvable':_0x11b9b4,'isSubmitted':_0x417c4c}),this[_0xfdb53(0x1e3)](_0x4f1459);}[_0x1db62c(0x237)]({channelId:_0x9f5af1=_t,threadId:_0x2bce18=_0x1cdbea(),target:_0x56b425,context:_0x24dd28=null,isResolvable:_0x1865f1=!0x0}){const _0x1712cb=_0x1db62c;if(this[_0x1712cb(0x1dd)][_0x1712cb(0x27d)](_0x9f5af1)||this[_0x1712cb(0x1dd)][_0x1712cb(0x27d)](void 0x0))return null;if(!_0x56b425)throw new _0x2ed2ee(_0x1712cb(0x1db));const _0x491257=this[_0x1712cb(0x252)]({'channelId':_0x9f5af1,'threadId':_0x2bce18,'target':_0x56b425,'context':_0x24dd28,'isResolvable':_0x1865f1});if(!_0x491257)return null;const _0x44683e=this[_0x1712cb(0x20f)][_0x1712cb(0x204)](_0x491257),_0x3e7080=_0x44683e[_0x1712cb(0x1d6)][_0x1712cb(0x216)][_0x1712cb(0x1d7)],_0x4685cc=this[_0x1712cb(0x23b)][_0x1712cb(0x1de)][_0x1712cb(0x204)](_0x5e251c),_0x59943e=_0x4685cc[_0x1712cb(0x1fd)](_0x44683e[_0x1712cb(0x1d6)]);return _0x4685cc[_0x1712cb(0x1f6)](_0x59943e),_0x3e7080[_0x1712cb(0x1e2)](_0x1712cb(0x26f),()=>_0x3e7080[_0x1712cb(0x240)]()),_0x491257;}[_0x1db62c(0x266)](_0x58bd77){const _0x5daca9=_0x1db62c;if(_0x5daca9(0x22c)!=typeof _0x58bd77)throw new _0x2ed2ee(_0x5daca9(0x235));return this[_0x5daca9(0x27f)][_0x5daca9(0x27d)](_0x58bd77);}[_0x1db62c(0x1d2)]({channelId:_0x271f2c=_t,threadId:_0x4131ca,context:_0x4c0dc1,unlinkedAt:_0xf96686,attributes:_0x2b3518,isFromAdapter:_0x246ad9=!0x1}){const _0x2d2ec7=_0x1db62c;return this[_0x2d2ec7(0x1ba)](Nt(_0x2d2ec7(0x1d2),_0x271f2c),{'channelId':_0x271f2c,'threadId':_0x4131ca,'context':_0x4c0dc1,'unlinkedAt':_0xf96686,'attributes':_0x2b3518,'isFromAdapter':_0x246ad9}),this[_0x2d2ec7(0x1e3)](_0x4131ca);}[_0x1db62c(0x1e3)](_0x532654){const _0x427792=_0x1db62c;if(_0x427792(0x22c)!=typeof _0x532654)throw new _0x2ed2ee(_0x427792(0x235));return this[_0x427792(0x27f)][_0x427792(0x204)](_0x532654);}[_0x1db62c(0x1ed)]({channelId:_0x178e43,threadId:_0x4bbe69}={}){const _0x213d6b=_0x1db62c,_0x140ab2=this[_0x213d6b(0x1e3)](_0x4bbe69);if(_0x140ab2)return Promise[_0x213d6b(0x1b5)](_0x140ab2);if(!this[_0x213d6b(0x224)])return Promise[_0x213d6b(0x1b5)](void 0x0);if(_0x213d6b(0x1b4)!=typeof this[_0x213d6b(0x224)][_0x213d6b(0x1e3)])throw new _0x2ed2ee(_0x213d6b(0x1bd),this[_0x213d6b(0x23b)]);return this[_0x213d6b(0x224)][_0x213d6b(0x1e3)]({'channelId':_0x178e43,'threadId':_0x4bbe69})[_0x213d6b(0x269)](_0x5d89bc=>this[_0x213d6b(0x266)](_0x4bbe69)?this[_0x213d6b(0x1e3)](_0x4bbe69):_0x5d89bc?this[_0x213d6b(0x252)](Object[_0x213d6b(0x242)]({'isFromAdapter':!0x0,'channelId':_0x178e43},_0x5d89bc)):void 0x0)[_0x213d6b(0x246)](_0x5be778=>{const _0x469d84=_0x213d6b;throw console[_0x469d84(0x1c7)](_0x5be778),new _0x2ed2ee(_0x469d84(0x1d3),this[_0x469d84(0x23b)]);});}[_0x1db62c(0x21c)]({channelId:_0x5e6bc8,skipNotAttached:_0x3894cb=!0x1,skipEmpty:_0x2c8d8f=!0x1,toJSON:_0x537bcd=!0x1}={}){const _0x36b2d2=_0x1db62c,_0x515e6e=[];for(const _0x453a6c of this[_0x36b2d2(0x27f)][_0x36b2d2(0x228)]())_0x5e6bc8&&_0x453a6c[_0x36b2d2(0x278)]!==_0x5e6bc8||_0x3894cb&&!_0x453a6c[_0x36b2d2(0x254)]||_0x2c8d8f&&0x0===_0x453a6c[_0x36b2d2(0x23d)]||_0x515e6e[_0x36b2d2(0x1e9)](_0x453a6c);return _0x537bcd?_0x515e6e[_0x36b2d2(0x22e)](_0x2078b9=>_0x2078b9[_0x36b2d2(0x1d5)]()):_0x515e6e;}[_0x1db62c(0x243)](_0x44b007){const _0xa53564=_0x1db62c,_0x3a1b38=this[_0xa53564(0x20f)][_0xa53564(0x204)](_0x44b007);if(!_0x3a1b38)return null;return this[_0xa53564(0x23b)][_0xa53564(0x1de)][_0xa53564(0x204)](_0x5e251c)[_0xa53564(0x1fd)](_0x3a1b38[_0xa53564(0x1d6)])||null;}[_0x1db62c(0x213)](_0x988b11){const _0x54fc66=_0x1db62c,_0x543aec=this[_0x54fc66(0x1b8)][_0x54fc66(0x204)](_0x988b11[_0x54fc66(0x1fb)]);return _0x543aec?_0x543aec[_0x54fc66(0x21e)]:null;}[_0x1db62c(0x1d1)](_0x57d458){const _0x2b62dd=_0x1db62c,_0x52469f=this[_0x2b62dd(0x23b)][_0x2b62dd(0x1de)][_0x2b62dd(0x204)](_0x5e251c);if(!_0x57d458)return void(this[_0x2b62dd(0x1bf)]&&_0x52469f[_0x2b62dd(0x1f1)]());const _0x57fb25=this[_0x2b62dd(0x1e3)](_0x57d458);if(!_0x57fb25)throw new _0x2ed2ee(_0x2b62dd(0x218),null,{'threadId':_0x57d458});if(!this[_0x2b62dd(0x20f)][_0x2b62dd(0x27d)](_0x57fb25))throw new _0x2ed2ee(_0x2b62dd(0x251),null,{'threadId':_0x57d458});const _0x549538=_0x52469f[_0x2b62dd(0x1fd)](this[_0x2b62dd(0x20f)][_0x2b62dd(0x204)](_0x57fb25)[_0x2b62dd(0x1d6)]);_0x52469f[_0x2b62dd(0x1f6)](_0x549538);}[_0x1db62c(0x288)](_0x3dcf92,_0x2d1968){const _0x542000=_0x1db62c;_0x3dcf92?this[_0x542000(0x1dd)][_0x542000(0x232)](_0x2d1968):this[_0x542000(0x1dd)][_0x542000(0x211)](_0x2d1968),this[_0x542000(0x1ba)](_0x542000(0x1eb),_0x542000(0x1dd),this[_0x542000(0x1dd)],this[_0x542000(0x1dd)]);}[_0x1db62c(0x1bb)](_0x3e8724){const _0xf16061=_0x1db62c;return this[_0xf16061(0x1dd)][_0xf16061(0x27d)](_0x3e8724)||this[_0xf16061(0x1dd)][_0xf16061(0x27d)](void 0x0);}[_0x1db62c(0x255)](_0x11cd38,_0x5ea878){return new _0xa4d20a(_0x11cd38,_0x5ea878);}[_0x1db62c(0x28a)](_0x17e704,_0x8ac547=_t){const _0x6c336c=_0x1db62c;this[_0x6c336c(0x28f)][_0x6c336c(0x209)](_0x8ac547,_0x17e704),this[_0x6c336c(0x1ba)](_0x6c336c(0x20a),_0x6c336c(0x28f),this[_0x6c336c(0x28f)],this[_0x6c336c(0x28f)]);}[_0x1db62c(0x24c)](_0x5bca89=_t){const _0x1fb57b=_0x1db62c;return this[_0x1fb57b(0x28f)][_0x1fb57b(0x27d)](_0x5bca89)?this[_0x1fb57b(0x28f)][_0x1fb57b(0x204)](_0x5bca89):bt;}[_0x1db62c(0x259)]({channelId:_0x1f8cb5,threadId:_0x1d71b7,comments:_0x26eaac,unlinkedAt:_0x4fbec8,resolvedAt:_0x12a9c6,resolvedBy:_0xa01957,target:_0x2e7654,context:_0x46856a,attributes:_0x3b1f03,isFromAdapter:_0xc9e1ca,isResolvable:_0x33c5de,isSubmitted:_0x1c6e87}){const _0x1767e5=_0x1db62c;if(_0x1767e5(0x22c)!=typeof _0x1d71b7)throw new _0x2ed2ee(_0x1767e5(0x235),null,{'threadId':_0x1d71b7});if(this[_0x1767e5(0x266)](_0x1d71b7))throw new _0x2ed2ee(_0x1767e5(0x275),null,{'threadId':_0x1d71b7});const _0x350893=new CommentThread(this,{'channelId':_0x1f8cb5,'id':_0x1d71b7,'context':_0x46856a,'attributes':_0x3b1f03,'unlinkedAt':_0x4fbec8,'resolvedAt':_0x12a9c6,'resolvedBy':_0xa01957?this[_0x1767e5(0x23b)][_0x1767e5(0x1de)][_0x1767e5(0x204)](_0x160744)[_0x1767e5(0x1c3)](_0xa01957):null,'isResolvable':_0x33c5de,'isSubmitted':_0x1c6e87||_0xc9e1ca});this[_0x1767e5(0x27f)][_0x1767e5(0x209)](_0x1d71b7,_0x350893);for(const _0x1de614 of _0x26eaac)_0x350893[_0x1767e5(0x1fa)](this[_0x1767e5(0x1ae)]({'threadId':_0x1d71b7,..._0x1de614}));return _0x2e7654&&_0x350893[_0x1767e5(0x1dc)](_0x2e7654),_0xc9e1ca||!_0x350893[_0x1767e5(0x23d)]?Promise[_0x1767e5(0x1b5)]():this[_0x1767e5(0x1e7)]({'channelId':_0x1f8cb5,'threadId':_0x1d71b7});}[_0x1db62c(0x1e7)]({channelId:_0x411da2,threadId:_0xeff160}){const _0x50f295=_0x1db62c;if(!this[_0x50f295(0x266)](_0xeff160))throw new _0x2ed2ee(_0x50f295(0x1e0),this);const _0x52961e=this[_0x50f295(0x1e3)](_0xeff160);if(_0x52961e[_0x50f295(0x202)]=!0x0,!this[_0x50f295(0x224)]||_0x50f295(0x1b4)!=typeof this[_0x50f295(0x224)][_0x50f295(0x252)])return Promise[_0x50f295(0x1b5)]();const {id:_0x41a2a9,comments:_0x3dbbbd,resolvedAt:_0x34a69e,resolvedBy:_0x56f2d9,context:_0x41da70,attributes:_0x8a11bb}=_0x52961e,_0x970c5f=this[_0x50f295(0x23b)][_0x50f295(0x1de)][_0x50f295(0x204)](_0x50f295(0x1b6)),_0x8fd766=_0x970c5f[_0x50f295(0x232)](_0x19a29b(this[_0x50f295(0x23b)][_0x50f295(0x28c)],_0x50f295(0x1c0)));return this[_0x50f295(0x224)][_0x50f295(0x252)]({'channelId':_0x411da2,'threadId':_0x41a2a9,'comments':_0x3dbbbd[_0x50f295(0x22e)](_0x13387c=>_0x13387c[_0x50f295(0x1d5)]()),'resolvedAt':_0x34a69e,'resolvedBy':_0x56f2d9?_0x56f2d9['id']:_0x56f2d9,'context':_0x41da70,'attributes':_0x8a11bb})[_0x50f295(0x269)](({comments:_0xbd9377})=>{const _0xfc224c=_0x50f295;_0x970c5f[_0xfc224c(0x226)](_0x8fd766);for(const _0x4b038f of _0xbd9377)this[_0xfc224c(0x1f2)]({'channelId':_0x411da2,'threadId':_0xeff160,'commentId':_0x4b038f[_0xfc224c(0x286)],'createdAt':_0x4b038f[_0xfc224c(0x244)],'isFromAdapter':!0x0});})[_0x50f295(0x246)](_0x11f5a1=>{const _0x4193c2=_0x50f295;throw console[_0x4193c2(0x1c7)](_0x11f5a1),new _0x2ed2ee(_0x4193c2(0x262),this);});}[_0x1db62c(0x220)]({threadId:_0x592923,target:_0x12f98f}){const _0x2c4ad2=_0x1db62c,_0x41254c=this[_0x2c4ad2(0x1e3)](_0x592923);if(!_0x41254c)throw new _0x2ed2ee(_0x2c4ad2(0x27c),this);const _0x53b8d0=this[_0x2c4ad2(0x23b)][_0x2c4ad2(0x1de)][_0x2c4ad2(0x204)](_0x2c4ad2(0x1b6)),_0x42cec7=this[_0x2c4ad2(0x23b)][_0x2c4ad2(0x1de)][_0x2c4ad2(0x204)](_0x5e251c),_0x3115cf=this[_0x2c4ad2(0x250)](_0x41254c),_0xcfd3a4=new _0xa4d20a(_0x41254c,_0x3115cf);let _0x48db09=null;_0x3115cf['on'](_0x2c4ad2(0x247),(_0x36346b,_0x5dbbbd,_0x52ca4a)=>{const _0x33dd0c=_0x2c4ad2;_0x52ca4a?_0x48db09=_0x53b8d0[_0x33dd0c(0x232)](_0x19a29b(this[_0x33dd0c(0x23b)][_0x33dd0c(0x28c)],_0x33dd0c(0x1c0))):_0x48db09&&(_0x53b8d0[_0x33dd0c(0x226)](_0x48db09),_0x48db09=null);}),this[_0x2c4ad2(0x20f)][_0x2c4ad2(0x209)](_0x41254c,_0xcfd3a4),this[_0x2c4ad2(0x1b8)][_0x2c4ad2(0x209)](_0x3115cf,_0xcfd3a4);const _0x5419e1=new _0xdb7b0(this[_0x2c4ad2(0x23b)][_0x2c4ad2(0x28c)],_0x3115cf);_0x5419e1[_0x2c4ad2(0x1ce)](_0x2c4ad2(0x23d))['to'](_0x3115cf),_0x5419e1[_0x2c4ad2(0x1ce)](_0x2c4ad2(0x28d))['to'](_0x3115cf,_0x2c4ad2(0x28d),_0x3115cf,_0x2c4ad2(0x23d),(_0x4740bb,_0x2949df)=>_0x4740bb||!_0x2949df),_0x5419e1[_0x2c4ad2(0x1ce)](_0x2c4ad2(0x253))['to'](_0x3115cf),_0x5419e1[_0x2c4ad2(0x1fc)]=_0x2c4ad2(0x208);const _0x86a22e=new _0x1afbdc({'view':_0x5419e1,'target':_0x12f98f,'type':_0x2c4ad2(0x208),'isVisible':!_0x41254c[_0x2c4ad2(0x1be)]&&!!(_0x2c4ad2(0x1b4)==typeof _0x12f98f?_0x12f98f():_0x12f98f)});return _0x3115cf['on'](_0x2c4ad2(0x222),()=>{const _0x599c9c=_0x2c4ad2;_0x86a22e[_0x599c9c(0x1ba)](_0x599c9c(0x222));}),this[_0x2c4ad2(0x223)](_0x3115cf,_0x86a22e),_0x42cec7[_0x2c4ad2(0x232)](_0x86a22e),_0x86a22e;}[_0x1db62c(0x223)](_0x396126,_0x446eaa){const _0x4720f8=_0x1db62c;this[_0x4720f8(0x1c2)](_0x396126,_0x4720f8(0x26f),(_0x1ad2e2,_0x44c347)=>{const _0x440421=_0x4720f8,_0x1c8c53=_0x44c347['ui'][_0x440421(0x1d6)][_0x440421(0x206)][_0x440421(0x285)];_0x446eaa[_0x440421(0x294)][_0x440421(0x232)](_0x1c8c53),this[_0x440421(0x23b)]instanceof _0x354775&&this[_0x440421(0x23b)]['ui'][_0x440421(0x28e)][_0x440421(0x232)](_0x1c8c53);},{'priority':_0x4720f8(0x1c6)}),this[_0x4720f8(0x1c2)](_0x396126,_0x4720f8(0x1d9),(_0x40249f,_0x514457)=>{const _0x457b02=_0x4720f8,_0x1d3734=_0x514457['ui'][_0x457b02(0x1d6)][_0x457b02(0x206)][_0x457b02(0x285)];_0x446eaa[_0x457b02(0x294)][_0x457b02(0x27d)](_0x1d3734)&&_0x446eaa[_0x457b02(0x294)][_0x457b02(0x226)](_0x1d3734),this[_0x457b02(0x23b)]instanceof _0x354775&&this[_0x457b02(0x23b)]['ui'][_0x457b02(0x28e)][_0x457b02(0x226)](_0x1d3734);});}[_0x1db62c(0x1c5)](_0x5d4156){const _0x2869a8=_0x1db62c;this[_0x2869a8(0x201)](_0x5d4156,_0x2869a8(0x26f)),this[_0x2869a8(0x201)](_0x5d4156,_0x2869a8(0x1d9));}[_0x1db62c(0x250)](_0x42c01d){const _0x509864=_0x1db62c,_0x4d6f22=this[_0x509864(0x23b)][_0x509864(0x1de)][_0x509864(0x204)](_0x160744),{config:_0xd1c8f3,locale:_0x1669dc}=this[_0x509864(0x23b)],_0x1d39b7=_0x1d6930(_0xd1c8f3[_0x509864(0x204)](_0x509864(0x28c)),_0x1669dc);return new(0x0,(_0xd1c8f3[_0x509864(0x204)](_0x509864(0x1f0)))[(_0x509864(0x24f))])(_0x1669dc,_0x42c01d,_0x4d6f22['me'],{'editorConfig':{..._0xd1c8f3[_0x509864(0x204)](_0x509864(0x291)),'licenseKey':this[_0x509864(0x23b)][_0x509864(0x1ee)][_0x509864(0x204)](_0x509864(0x200))},'copyMarkers':_0xd1c8f3[_0x509864(0x204)](_0x509864(0x263)),'maxCommentsWhenCollapsed':_0xd1c8f3[_0x509864(0x204)](_0x509864(0x1c4)),'maxThreadTotalWeight':_0xd1c8f3[_0x509864(0x204)](_0x509864(0x1d4)),'maxCommentCharsWhenCollapsed':_0xd1c8f3[_0x509864(0x204)](_0x509864(0x1b9)),'formatDateTime':_0x1d39b7,'CommentView':_0xd1c8f3[_0x509864(0x204)](_0x509864(0x1f0))[_0x509864(0x219)]});}[_0x1db62c(0x27e)]({threadId:_0x5f26d9,channelId:_0x52c74b,resolvedAt:_0x17695a,resolvedBy:_0x42c698,isFromAdapter:_0x9701d9}){const _0x1315c4=_0x1db62c;if(!this[_0x1315c4(0x266)](_0x5f26d9))throw new _0x2ed2ee(_0x1315c4(0x1e0),null,{'threadId':_0x5f26d9});const _0x51db8b=this[_0x1315c4(0x1e3)](_0x5f26d9);if(_0x51db8b[_0x1315c4(0x221)])throw new _0x2ed2ee(_0x1315c4(0x26d),null,{'threadId':_0x5f26d9});const _0x4973b2=this[_0x1315c4(0x23b)][_0x1315c4(0x1de)][_0x1315c4(0x204)](_0x160744);if(_0x51db8b[_0x1315c4(0x295)]=_0x4973b2[_0x1315c4(0x1c3)](_0x42c698),_0x51db8b[_0x1315c4(0x1b7)]=_0x17695a,_0x9701d9||!this[_0x1315c4(0x224)]||_0x1315c4(0x1b4)!=typeof this[_0x1315c4(0x224)][_0x1315c4(0x1f8)])return Promise[_0x1315c4(0x1b5)]();const _0x1e18b1=this[_0x1315c4(0x23b)][_0x1315c4(0x1de)][_0x1315c4(0x204)](_0x1315c4(0x1b6)),_0x3069d3=_0x1e18b1[_0x1315c4(0x232)](_0x19a29b(this[_0x1315c4(0x23b)][_0x1315c4(0x28c)],_0x1315c4(0x1c0)));return this[_0x1315c4(0x224)][_0x1315c4(0x1f8)]({'channelId':_0x52c74b,'threadId':_0x5f26d9})[_0x1315c4(0x269)](({resolvedAt:_0x37cd39,resolvedBy:_0x58822b})=>{const _0x5e38e7=_0x1315c4;_0x1e18b1[_0x5e38e7(0x226)](_0x3069d3),_0x51db8b[_0x5e38e7(0x295)]['id']!==_0x58822b&&(_0x51db8b[_0x5e38e7(0x295)]=_0x4973b2[_0x5e38e7(0x1c3)](_0x58822b)),_0x51db8b[_0x5e38e7(0x1b7)]=_0x37cd39;})[_0x1315c4(0x246)](_0x37e475=>{const _0x376a2c=_0x1315c4;throw console[_0x376a2c(0x1c7)](_0x37e475),new _0x2ed2ee(_0x376a2c(0x271),this);});}[_0x1db62c(0x26e)]({threadId:_0x3d7002,channelId:_0x1d257e,isFromAdapter:_0x455efd}){const _0x1a4d88=_0x1db62c;if(!this[_0x1a4d88(0x266)](_0x3d7002))throw new _0x2ed2ee(_0x1a4d88(0x1e0),null,{'threadId':_0x3d7002});const _0x19a1f6=this[_0x1a4d88(0x1e3)](_0x3d7002);if(!_0x19a1f6[_0x1a4d88(0x221)])throw new _0x2ed2ee(_0x1a4d88(0x233),null,{'threadId':_0x3d7002});if(_0x19a1f6[_0x1a4d88(0x295)]=null,_0x19a1f6[_0x1a4d88(0x1b7)]=null,_0x455efd||!this[_0x1a4d88(0x224)]||_0x1a4d88(0x1b4)!=typeof this[_0x1a4d88(0x224)][_0x1a4d88(0x203)])return Promise[_0x1a4d88(0x1b5)]();const _0x18709a=this[_0x1a4d88(0x23b)][_0x1a4d88(0x1de)][_0x1a4d88(0x204)](_0x1a4d88(0x1b6)),_0x385b88=_0x18709a[_0x1a4d88(0x232)](_0x19a29b(this[_0x1a4d88(0x23b)][_0x1a4d88(0x28c)],_0x1a4d88(0x1c0)));return this[_0x1a4d88(0x224)][_0x1a4d88(0x203)]({'channelId':_0x1d257e,'threadId':_0x3d7002})[_0x1a4d88(0x269)](()=>_0x18709a[_0x1a4d88(0x226)](_0x385b88))[_0x1a4d88(0x246)](_0x177955=>{const _0x5240a1=_0x1a4d88;throw console[_0x5240a1(0x1c7)](_0x177955),new _0x2ed2ee(_0x5240a1(0x23e),this);});}[_0x1db62c(0x27a)]({threadId:_0x3dec50,isFromAdapter:_0x29750b}){const _0x1343a1=_0x1db62c,_0x5665d2=this[_0x1343a1(0x1e3)](_0x3dec50);if(!_0x5665d2)throw new _0x2ed2ee(_0x1343a1(0x22d),this);if(this[_0x1343a1(0x274)](_0x3dec50),this[_0x1343a1(0x27f)][_0x1343a1(0x211)](_0x3dec50),!_0x5665d2[_0x1343a1(0x25f)]||_0x29750b||!this[_0x1343a1(0x224)]||_0x1343a1(0x1b4)!=typeof this[_0x1343a1(0x224)][_0x1343a1(0x1b0)])return Promise[_0x1343a1(0x1b5)]();const _0x48a528=this[_0x1343a1(0x23b)][_0x1343a1(0x1de)][_0x1343a1(0x204)](_0x1343a1(0x1b6)),{channelId:_0x5b2a6a}=_0x5665d2,_0x532ef2=_0x48a528[_0x1343a1(0x232)](_0x19a29b(this[_0x1343a1(0x23b)][_0x1343a1(0x28c)],_0x1343a1(0x1c0)));return this[_0x1343a1(0x224)][_0x1343a1(0x1b0)]({'channelId':_0x5b2a6a,'threadId':_0x3dec50})[_0x1343a1(0x269)](()=>_0x48a528[_0x1343a1(0x226)](_0x532ef2))[_0x1343a1(0x246)](_0x3df481=>{const _0x55c062=_0x1343a1;throw console[_0x55c062(0x1c7)](_0x3df481),new _0x2ed2ee(_0x55c062(0x248),this);});}[_0x1db62c(0x1e6)]({threadId:_0x553e54,unlinkedAt:_0x80af6d,context:_0x3aba5d,attributes:_0x43f7ad,isFromAdapter:_0x190241}){const _0x1bea5d=_0x1db62c;if(_0x1bea5d(0x22c)!=typeof _0x553e54)throw new _0x2ed2ee(_0x1bea5d(0x235),null,{'threadId':_0x553e54});if(!this[_0x1bea5d(0x266)](_0x553e54))throw new _0x2ed2ee(_0x1bea5d(0x1e0),null,{'threadId':_0x553e54});const _0x3ce05b=this[_0x1bea5d(0x1e3)](_0x553e54);let _0x371100=!0x1;if(void 0x0!==_0x3aba5d&&_0x3ce05b[_0x1bea5d(0x23b)]!==_0x3aba5d&&(_0x3ce05b[_0x1bea5d(0x23b)]=_0x3aba5d,_0x371100=!0x0),void 0x0!==_0x80af6d&&_0x3ce05b[_0x1bea5d(0x1ec)]!==_0x80af6d&&(_0x3ce05b[_0x1bea5d(0x1ec)]=_0x80af6d,_0x371100=!0x0),_0x43f7ad&&!_0x32070a(_0x43f7ad,_0x3ce05b[_0x1bea5d(0x1b1)])&&(_0x3ce05b[_0x1bea5d(0x1b1)]=_0x43f7ad,_0x371100=!0x0),!_0x371100)return Promise[_0x1bea5d(0x1b5)]();if(!_0x3ce05b[_0x1bea5d(0x25f)]||_0x190241||!this[_0x1bea5d(0x224)]||_0x1bea5d(0x1b4)!=typeof this[_0x1bea5d(0x224)][_0x1bea5d(0x1d2)])return Promise[_0x1bea5d(0x1b5)]();const _0x505958=this[_0x1bea5d(0x23b)][_0x1bea5d(0x1de)][_0x1bea5d(0x204)](_0x1bea5d(0x1b6)),{channelId:_0x5e93f2}=_0x3ce05b,_0x5a35f9=_0x505958[_0x1bea5d(0x232)](_0x19a29b(this[_0x1bea5d(0x23b)][_0x1bea5d(0x28c)],_0x1bea5d(0x1c0)));return this[_0x1bea5d(0x224)][_0x1bea5d(0x1d2)]({'channelId':_0x5e93f2,'threadId':_0x553e54,'context':_0x3aba5d,'unlinkedAt':_0x80af6d,'attributes':_0x43f7ad})[_0x1bea5d(0x269)](()=>_0x505958[_0x1bea5d(0x226)](_0x5a35f9))[_0x1bea5d(0x246)](_0x593c24=>{const _0x3aa9a1=_0x1bea5d;throw console[_0x3aa9a1(0x1c7)](_0x593c24),new _0x2ed2ee(_0x3aa9a1(0x207),this);});}[_0x1db62c(0x274)](_0x309683){const _0x2fac21=_0x1db62c,_0x4cbbea=this[_0x2fac21(0x23b)][_0x2fac21(0x1de)][_0x2fac21(0x204)](_0x5e251c),_0x387104=this[_0x2fac21(0x1e3)](_0x309683);if(_0x387104[_0x2fac21(0x1e1)]=!0x1,this[_0x2fac21(0x20f)][_0x2fac21(0x27d)](_0x387104)){const _0x551dc8=this[_0x2fac21(0x20f)][_0x2fac21(0x204)](_0x387104),_0x35bc79=_0x551dc8[_0x2fac21(0x1d6)],_0x2c5d09=_0x4cbbea[_0x2fac21(0x1fd)](_0x35bc79);this[_0x2fac21(0x20f)][_0x2fac21(0x211)](_0x387104),this[_0x2fac21(0x1b8)][_0x2fac21(0x211)](_0x35bc79),_0x2c5d09&&_0x4cbbea[_0x2fac21(0x226)](_0x2c5d09),_0x551dc8[_0x2fac21(0x267)](),_0x35bc79[_0x2fac21(0x267)]()[_0x2fac21(0x269)](()=>{const _0x5d4843=_0x2fac21;this[_0x5d4843(0x1c5)](_0x35bc79);});}}[_0x1db62c(0x287)]({threadId:_0x21c168,resolvedAt:_0x31e899,unlinkedAt:_0x221e44}){const _0x1af4a1=_0x1db62c,_0x1c367b=!!_0x31e899,_0x315af8=this[_0x1af4a1(0x23b)][_0x1af4a1(0x1de)][_0x1af4a1(0x204)](_0x5e251c),_0x18bd77=this[_0x1af4a1(0x1e3)](_0x21c168);if(this[_0x1af4a1(0x20f)][_0x1af4a1(0x27d)](_0x18bd77)){const _0x2c112b=this[_0x1af4a1(0x20f)][_0x1af4a1(0x204)](_0x18bd77)[_0x1af4a1(0x1d6)],_0xe69427=_0x315af8[_0x1af4a1(0x1fd)](_0x2c112b);_0xe69427&&(_0x1c367b&&_0x315af8[_0x1af4a1(0x1cf)](_0xe69427),_0x221e44?_0xe69427[_0x1af4a1(0x264)]=!0x1:_0xe69427[_0x1af4a1(0x282)]());}}[_0x1db62c(0x24a)](_0x1d1a03){const _0x2ee33b=_0x1db62c,_0x4c8309=this[_0x2ee33b(0x23b)][_0x2ee33b(0x1de)][_0x2ee33b(0x204)](_0x160744),_0x148515=_0x5eab29(_0x2ee33b(0x1f5)+_0x1d1a03),_0x284402=_0x4c8309[_0x2ee33b(0x1c3)](_0x148515);return _0x284402||_0x4c8309[_0x2ee33b(0x25e)]({'id':_0x148515,'name':_0x1d1a03});}[_0x1db62c(0x1ae)]({threadId:_0x31c50c,commentId:_0xe7d8ab=_0x1cdbea(),content:_0x548d4b,authorId:_0x41e8ae,createdAt:_0x18b738,attributes:_0x205abe}){const _0x3244a1=_0x1db62c;if(_0x3244a1(0x22c)!=typeof _0xe7d8ab)throw new _0x2ed2ee(_0x3244a1(0x281));if(_0x3244a1(0x22c)!=typeof _0x41e8ae)throw new _0x2ed2ee(_0x3244a1(0x1df));if(_0x3244a1(0x22c)!=typeof _0x548d4b||!_0x548d4b[_0x3244a1(0x20d)]())throw new _0x2ed2ee(_0x3244a1(0x261));const _0x3ba103=this[_0x3244a1(0x23b)][_0x3244a1(0x1de)][_0x3244a1(0x204)](_0x160744)[_0x3244a1(0x1c3)](_0x41e8ae);if(!_0x3ba103)throw new _0x2ed2ee(_0x3244a1(0x1f4),null,{'authorId':_0x41e8ae});let _0x5c3b0d=null,_0x40b9aa=_0x18b738;return _0x205abe?.[_0x3244a1(0x212)]&&(_0x5c3b0d=this[_0x3244a1(0x24a)](_0x205abe[_0x3244a1(0x212)][_0x3244a1(0x25a)]),_0x40b9aa=new Date(_0x205abe[_0x3244a1(0x212)][_0x3244a1(0x244)])),new Comment(this,{'threadId':_0x31c50c,'id':_0xe7d8ab,'author':_0x5c3b0d||_0x3ba103,'creator':_0x3ba103,'content':_0x548d4b,'createdAt':_0x18b738,'authoredAt':_0x40b9aa,'attributes':_0x205abe});}[_0x1db62c(0x22a)](_0x16b8af){const _0x38f8db=_0x1db62c;let {threadId:_0x53fd8c,content:_0x277d80,attributes:_0x1aa21f,isFromAdapter:_0x16ab3a}=_0x16b8af;const _0x4377f4=this[_0x38f8db(0x1e3)](_0x16b8af[_0x38f8db(0x239)]);if(!_0x4377f4)throw new _0x2ed2ee(_0x38f8db(0x260),this);const _0x918fb1=this[_0x38f8db(0x1ae)](_0x16b8af),{id:_0x4620b0}=_0x918fb1;if(_0x4377f4[_0x38f8db(0x1fa)](_0x918fb1),_0x16ab3a||!this[_0x38f8db(0x224)]||_0x38f8db(0x1b4)!=typeof this[_0x38f8db(0x224)][_0x38f8db(0x1bc)]||!_0x4377f4[_0x38f8db(0x25f)])return Promise[_0x38f8db(0x1b5)]();const _0x54f2e4=this[_0x38f8db(0x23b)][_0x38f8db(0x1de)][_0x38f8db(0x204)](_0x38f8db(0x1b6)),{channelId:_0x521c10}=_0x4377f4,_0x4ad8b1=_0x54f2e4[_0x38f8db(0x232)](_0x19a29b(this[_0x38f8db(0x23b)][_0x38f8db(0x28c)],_0x38f8db(0x1c0)));return _0x1aa21f||(_0x1aa21f={}),this[_0x38f8db(0x224)][_0x38f8db(0x1bc)]({'channelId':_0x521c10,'threadId':_0x53fd8c,'commentId':_0x4620b0,'content':_0x277d80,'attributes':_0x1aa21f})[_0x38f8db(0x269)](_0x3acb76=>{const _0x4b8495=_0x38f8db;_0x54f2e4[_0x4b8495(0x226)](_0x4ad8b1),_0x3acb76&&this[_0x4b8495(0x1f2)]({'channelId':_0x521c10,'threadId':_0x53fd8c,'commentId':_0x4620b0,'createdAt':_0x3acb76[_0x4b8495(0x244)],'isFromAdapter':!0x0});})[_0x38f8db(0x246)](_0x421c28=>{const _0x598f41=_0x38f8db;throw console[_0x598f41(0x1c7)](_0x421c28),new _0x2ed2ee(_0x598f41(0x1e8),this);});}[_0x1db62c(0x1f2)]({threadId:_0xab4322,commentId:_0x4aebd1,content:_0x5aefc,createdAt:_0x3f62db,attributes:_0x24a5da,isFromAdapter:_0x6c5218}){const _0x29f8a7=_0x1db62c;if(void 0x0!==_0x5aefc&&(_0x29f8a7(0x22c)!=typeof _0x5aefc||!_0x5aefc[_0x29f8a7(0x20d)]()[_0x29f8a7(0x23d)]))throw new _0x2ed2ee(_0x29f8a7(0x1cd));const _0xb15048=this[_0x29f8a7(0x1e3)](_0xab4322),_0xb65d0d=_0xb15048[_0x29f8a7(0x249)](_0x4aebd1);if(!_0xb65d0d)throw new _0x2ed2ee(_0x29f8a7(0x1ca),this);let _0x432ae2=!0x1;if(_0x5aefc&&_0x5aefc!==_0xb65d0d[_0x29f8a7(0x22f)]&&(_0xb65d0d[_0x29f8a7(0x27b)]||_0x6c5218)&&(_0xb65d0d[_0x29f8a7(0x22f)]=_0x5aefc,_0x432ae2=!0x0),_0x3f62db&&_0x3f62db!==_0xb65d0d[_0x29f8a7(0x244)]&&(_0xb65d0d[_0x29f8a7(0x244)]=_0x3f62db,_0xb65d0d[_0x29f8a7(0x1b1)]&&_0xb65d0d[_0x29f8a7(0x1b1)][_0x29f8a7(0x212)]||(_0xb65d0d[_0x29f8a7(0x257)]=_0x3f62db),_0x432ae2=!0x0),_0x24a5da&&!_0x32070a(_0x24a5da,_0xb65d0d[_0x29f8a7(0x1b1)])&&(_0xb65d0d[_0x29f8a7(0x1b1)]=_0x24a5da,_0x432ae2=!0x0),!_0x432ae2)return Promise[_0x29f8a7(0x1b5)]();if(_0xb15048[_0x29f8a7(0x1ba)](_0x29f8a7(0x236)),_0x6c5218||!this[_0x29f8a7(0x224)]||_0x29f8a7(0x1b4)!=typeof this[_0x29f8a7(0x224)][_0x29f8a7(0x23f)])return Promise[_0x29f8a7(0x1b5)]();const _0x57c5e8=this[_0x29f8a7(0x23b)][_0x29f8a7(0x1de)][_0x29f8a7(0x204)](_0x29f8a7(0x1b6)),{channelId:_0x5e35b9}=this[_0x29f8a7(0x1e3)](_0xb65d0d[_0x29f8a7(0x239)]),_0x4d2c72=_0x57c5e8[_0x29f8a7(0x232)](_0x19a29b(this[_0x29f8a7(0x23b)][_0x29f8a7(0x28c)],_0x29f8a7(0x1c0)));return this[_0x29f8a7(0x224)][_0x29f8a7(0x23f)]({'channelId':_0x5e35b9,'threadId':_0xab4322,'commentId':_0x4aebd1,'content':_0x5aefc,'attributes':_0x24a5da})[_0x29f8a7(0x269)](()=>_0x57c5e8[_0x29f8a7(0x226)](_0x4d2c72))[_0x29f8a7(0x246)](_0x3e6f9d=>{const _0x50d94a=_0x29f8a7;throw console[_0x50d94a(0x1c7)](_0x3e6f9d),new _0x2ed2ee(_0x50d94a(0x25b),this);});}[_0x1db62c(0x292)]({threadId:_0x34a47b,commentId:_0x3981c7,isFromAdapter:_0x46b0a3}){const _0x5c4427=_0x1db62c,_0x1bc0f8=this[_0x5c4427(0x1e3)](_0x34a47b),_0x1a8975=_0x1bc0f8[_0x5c4427(0x249)](_0x3981c7);if(!_0x1a8975)throw new _0x2ed2ee(_0x5c4427(0x1f3),this);if(_0x1bc0f8[_0x5c4427(0x1fe)](_0x1a8975),_0x46b0a3||!this[_0x5c4427(0x224)]||_0x5c4427(0x1b4)!=typeof this[_0x5c4427(0x224)][_0x5c4427(0x1ea)])return Promise[_0x5c4427(0x1b5)]();const _0xd42504=this[_0x5c4427(0x23b)][_0x5c4427(0x1de)][_0x5c4427(0x204)](_0x5c4427(0x1b6)),{channelId:_0x4bfebb}=_0x1bc0f8,_0x5ed106=_0xd42504[_0x5c4427(0x232)](_0x19a29b(this[_0x5c4427(0x23b)][_0x5c4427(0x28c)],_0x5c4427(0x1c0)));return this[_0x5c4427(0x224)][_0x5c4427(0x1ea)]({'channelId':_0x4bfebb,'threadId':_0x34a47b,'commentId':_0x3981c7})[_0x5c4427(0x269)](()=>_0xd42504[_0x5c4427(0x226)](_0x5ed106))[_0x5c4427(0x246)](_0x376ce6=>{const _0xf322b4=_0x5c4427;throw console[_0xf322b4(0x1c7)](_0x376ce6),new _0x2ed2ee(_0xf322b4(0x227),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
24
- _0x5154ad(){[_0x1db62c(0x278)];['id'];[_0x1db62c(0x1e1)];[_0x1db62c(0x202)];[_0x1db62c(0x1f0)];[_0x1db62c(0x1ff)];constructor(_0x239f02,_0x441bff){const _0x2d94e8=_0x1db62c;super();const _0x2f4161=_0x441bff[_0x2d94e8(0x272)];this[_0x2d94e8(0x278)]=_0x441bff[_0x2d94e8(0x278)],this['id']=_0x441bff['id'],this[_0x2d94e8(0x1f0)]=new _0x1902d2(),this[_0x2d94e8(0x1ff)]=_0x239f02,this[_0x2d94e8(0x1e1)]=!0x1,this[_0x2d94e8(0x202)]=_0x441bff[_0x2d94e8(0x25f)],this[_0x2d94e8(0x209)](_0x2d94e8(0x1f7),!0x0),this[_0x2d94e8(0x1ce)](_0x2d94e8(0x1bb))['to'](_0x239f02,_0x2d94e8(0x28f),_0x239f02,_0x2d94e8(0x1dd),()=>_0x239f02[_0x2d94e8(0x1bb)](this[_0x2d94e8(0x278)])),this[_0x2d94e8(0x1ce)](_0x2d94e8(0x22b))['to'](_0x239f02,_0x2d94e8(0x28f),()=>_0x239f02[_0x2d94e8(0x24c)](this[_0x2d94e8(0x278)])[_0x2d94e8(0x1c8)]),this[_0x2d94e8(0x1ce)](_0x2d94e8(0x277))['to'](_0x239f02,_0x2d94e8(0x28f),()=>{const _0x584a27=_0x2d94e8,_0x5357b2=_0x239f02[_0x584a27(0x24c)](this[_0x584a27(0x278)]);return _0x5357b2[_0x584a27(0x245)]||_0x5357b2[_0x584a27(0x1c8)];}),this[_0x2d94e8(0x1ce)](_0x2d94e8(0x272))['to'](_0x239f02,_0x2d94e8(0x28f),()=>_0x2f4161&&_0x239f02[_0x2d94e8(0x24c)](this[_0x2d94e8(0x278)])[_0x2d94e8(0x1b5)]),this[_0x2d94e8(0x209)](_0x2d94e8(0x23b),_0x441bff[_0x2d94e8(0x23b)]),this[_0x2d94e8(0x1ce)](_0x2d94e8(0x1be))['to'](this,_0x2d94e8(0x1b7),this,_0x2d94e8(0x1ec),(_0x2002bf,_0x5718de)=>_0x2002bf?_0x5718de?_0x2002bf<_0x5718de?_0x2002bf:_0x5718de:_0x2002bf:_0x5718de),this[_0x2d94e8(0x209)](_0x2d94e8(0x1ec),_0x441bff[_0x2d94e8(0x1ec)]||null),this[_0x2d94e8(0x209)](_0x2d94e8(0x1b7),_0x441bff[_0x2d94e8(0x1b7)]||null),this[_0x2d94e8(0x209)](_0x2d94e8(0x295),_0x441bff[_0x2d94e8(0x295)]||null),this[_0x2d94e8(0x1ce)](_0x2d94e8(0x221))['to'](this,_0x2d94e8(0x1b7),_0x57e33e=>!!_0x57e33e),this[_0x2d94e8(0x209)](_0x2d94e8(0x1b1),_0x441bff[_0x2d94e8(0x1b1)]||{});}get[_0x1db62c(0x293)](){const _0x205d42=_0x1db62c;return Array[_0x205d42(0x28b)](this[_0x205d42(0x1f0)])[_0x205d42(0x23c)]((_0x2e597e,_0x26df3d)=>_0x2e597e+_0x26df3d[_0x205d42(0x293)],0x0);}get[_0x1db62c(0x23d)](){const _0x5955fa=_0x1db62c;return this[_0x5955fa(0x1f0)][_0x5955fa(0x23d)];}get[_0x1db62c(0x254)](){const _0x33ac3b=_0x1db62c;return this[_0x33ac3b(0x1e1)];}get[_0x1db62c(0x25f)](){const _0x1f8adc=_0x1db62c;return this[_0x1f8adc(0x202)];}[_0x1db62c(0x217)](){const _0x3653f5=_0x1db62c,{channelId:_0x3fdc8a,id:_0x590613}=this;this[_0x3653f5(0x1ff)][_0x3653f5(0x1ba)](Nt(_0x3653f5(0x21a),_0x3fdc8a),{'channelId':_0x3fdc8a,'threadId':_0x590613});}[_0x1db62c(0x229)](_0x1d924e){const _0x2db65e=_0x1db62c;this[_0x2db65e(0x268)]({'unlinkedAt':_0x1d924e});}[_0x1db62c(0x1b5)]({resolvedAt:_0x4abe99=new Date(),resolvedBy:_0x3c7194='',isFromAdapter:_0x5aa0fa=!0x1}={}){const _0x1e4025=_0x1db62c,_0x121f4d=this[_0x1e4025(0x1ff)][_0x1e4025(0x23b)][_0x1e4025(0x1de)][_0x1e4025(0x204)](_0x160744)['me'],{channelId:_0x7e476e,id:_0x109f8f}=this;this[_0x1e4025(0x1ff)][_0x1e4025(0x1ba)](Nt(_0x1e4025(0x1f8),_0x7e476e),{'channelId':_0x7e476e,'threadId':_0x109f8f,'resolvedAt':_0x4abe99,'resolvedBy':_0x3c7194||_0x121f4d['id'],'isFromAdapter':_0x5aa0fa});}[_0x1db62c(0x205)]({isFromAdapter:_0x23fc45=!0x1}={}){const _0x5bd042=_0x1db62c,{channelId:_0x30304d,id:_0x20d143}=this;this[_0x5bd042(0x1ff)][_0x5bd042(0x1ba)](Nt(_0x5bd042(0x203),_0x30304d),{'channelId':_0x30304d,'threadId':_0x20d143,'isFromAdapter':_0x23fc45});}[_0x1db62c(0x20b)](_0x2adbbc){const _0x3de4e4=_0x1db62c;this[_0x3de4e4(0x23b)]||this[_0x3de4e4(0x268)]({'context':_0x2adbbc});}[_0x1db62c(0x1c9)](_0x12dc34,_0x2611ae){const _0x3d789a=_0x1db62c,_0x39e14b=_0x2a42df(this[_0x3d789a(0x1b1)]);_0x52c70f(_0x39e14b,_0x12dc34,_0x2611ae),this[_0x3d789a(0x268)]({'attributes':_0x39e14b});}[_0x1db62c(0x26a)](_0xd779bc){const _0x4a4f11=_0x1db62c,_0xf499bd=_0x2a42df(this[_0x4a4f11(0x1b1)]);_0x1ab017(_0xf499bd,_0xd779bc),this[_0x4a4f11(0x268)]({'attributes':_0xf499bd});}[_0x1db62c(0x226)]({isFromAdapter:_0x23e46d=!0x1}={}){const _0x58a04a=_0x1db62c,{channelId:_0x2c578e,id:_0x4dd2f2}=this;this[_0x58a04a(0x1ff)][_0x58a04a(0x1ba)](Nt(_0x58a04a(0x1b0),_0x2c578e),{'channelId':_0x2c578e,'threadId':_0x4dd2f2,'isFromAdapter':_0x23e46d});}[_0x1db62c(0x1dc)](_0x4acef5){const _0x5df5bb=_0x1db62c;return this[_0x5df5bb(0x1ff)][_0x5df5bb(0x220)]({'threadId':this['id'],'target':_0x4acef5});}[_0x1db62c(0x1bc)](_0x2a0eb1){const _0x532ed5=_0x1db62c,{channelId:_0x35df1a,id:_0x747e83}=this;this[_0x532ed5(0x1ff)][_0x532ed5(0x1ba)](Nt(_0x532ed5(0x1bc),_0x35df1a,_0x747e83),Object[_0x532ed5(0x242)]({'channelId':_0x35df1a,'threadId':_0x747e83},_0x2a0eb1));}[_0x1db62c(0x249)](_0x1c4ea2){const _0x359e40=_0x1db62c;if(_0x359e40(0x22c)!=typeof _0x1c4ea2)throw new _0x2ed2ee(_0x359e40(0x1ef),null,{'commentId':_0x1c4ea2});return this[_0x359e40(0x1f0)][_0x359e40(0x204)](_0x1c4ea2);}[_0x1db62c(0x1d5)](){const _0x181eeb=_0x1db62c;return{'threadId':this['id'],'context':this[_0x181eeb(0x23b)],'unlinkedAt':this[_0x181eeb(0x1ec)],'resolvedAt':this[_0x181eeb(0x1b7)],'resolvedBy':this[_0x181eeb(0x295)]?this[_0x181eeb(0x295)]['id']:null,'archivedAt':this[_0x181eeb(0x1be)],'comments':this[_0x181eeb(0x1f0)][_0x181eeb(0x22e)](_0x5c90a0=>_0x5c90a0[_0x181eeb(0x1d5)]()),'attributes':this[_0x181eeb(0x1b1)]};}[_0x1db62c(0x1fa)](_0x2a9ae5){const _0x307aa3=_0x1db62c;return this[_0x307aa3(0x1c2)](_0x2a9ae5,_0x307aa3(0x1e4),()=>{const _0x124978=_0x307aa3,_0x396054=this[_0x124978(0x214)](_0x2a9ae5),_0x98e98c=this[_0x124978(0x1f0)];_0x396054-0x1!=_0x98e98c[_0x124978(0x241)](_0x2a9ae5)&&_0x396054+0x1!=_0x98e98c[_0x124978(0x241)](_0x2a9ae5)&&(this[_0x124978(0x1fe)](_0x2a9ae5),this[_0x124978(0x1fa)](_0x2a9ae5));}),this[_0x307aa3(0x1f0)][_0x307aa3(0x232)](_0x2a9ae5,this[_0x307aa3(0x214)](_0x2a9ae5));}[_0x1db62c(0x268)](_0x3fbf5f){const _0x536782=_0x1db62c,{channelId:_0x3141c7,id:_0x58bb4d}=this;this[_0x536782(0x1ff)][_0x536782(0x1ba)](Nt(_0x536782(0x1d2),_0x3141c7),{..._0x3fbf5f,'channelId':_0x3141c7,'threadId':_0x58bb4d});}[_0x1db62c(0x1fe)](_0x1c80d4){const _0x5b2878=_0x1db62c;return this[_0x5b2878(0x201)](_0x1c80d4),_0x1c80d4[_0x5b2878(0x267)](),this[_0x5b2878(0x1f0)][_0x5b2878(0x226)](_0x1c80d4);}[_0x1db62c(0x214)](_0x4964fc){const _0x610ffe=_0x1db62c,_0x78b240=this[_0x610ffe(0x1f0)][_0x610ffe(0x1c1)](_0x4713e6=>new Date(_0x4713e6[_0x610ffe(0x257)])[_0x610ffe(0x25c)]()>new Date(_0x4964fc[_0x610ffe(0x257)])[_0x610ffe(0x25c)]());return _0x78b240?this[_0x610ffe(0x1f0)][_0x610ffe(0x241)](_0x78b240):this[_0x610ffe(0x23d)];}}export class Comment extends/* #__PURE__ -- @preserve */
25
- _0x5154ad(){['id'];[_0x1db62c(0x239)];[_0x1db62c(0x26c)];[_0x1db62c(0x21f)];[_0x1db62c(0x270)];[_0x1db62c(0x244)];[_0x1db62c(0x1ff)];constructor(_0x5ac9bd,_0x589a00){const _0x44d258=_0x1db62c;super();const _0x2b9a51=_0x5ac9bd[_0x44d258(0x23b)][_0x44d258(0x1de)][_0x44d258(0x204)](_0x160744)['me'],_0x1fc6a9=_0x5ac9bd[_0x44d258(0x1e3)](_0x589a00[_0x44d258(0x239)]),_0x2d29b2=0x0===_0x1fc6a9[_0x44d258(0x1f0)][_0x44d258(0x23d)],_0x48d3d6=_0x2b9a51===_0x589a00[_0x44d258(0x26c)];this['id']=_0x589a00['id'],this[_0x44d258(0x239)]=_0x589a00[_0x44d258(0x239)],this[_0x44d258(0x26c)]=_0x589a00[_0x44d258(0x26c)],this[_0x44d258(0x21f)]=_0x589a00[_0x44d258(0x21f)],this[_0x44d258(0x270)]=Boolean(_0x589a00[_0x44d258(0x1b1)]&&_0x589a00[_0x44d258(0x1b1)][_0x44d258(0x212)]),this[_0x44d258(0x209)](_0x44d258(0x22f),_0x589a00[_0x44d258(0x22f)]),this[_0x44d258(0x244)]=_0x589a00[_0x44d258(0x244)]||new Date(),this[_0x44d258(0x209)](_0x44d258(0x257),_0x589a00[_0x44d258(0x257)]||new Date()),this[_0x44d258(0x1ce)](_0x44d258(0x1b7))['to'](_0x1fc6a9,_0x44d258(0x1b7)),this[_0x44d258(0x209)](_0x44d258(0x1b1),_0x589a00[_0x44d258(0x1b1)]||{}),this[_0x44d258(0x1ce)](_0x44d258(0x27b))['to'](_0x5ac9bd,_0x44d258(0x28f),()=>{const _0x2e37be=_0x44d258,_0x22fcde=_0x5ac9bd[_0x2e37be(0x24c)](_0x1fc6a9[_0x2e37be(0x278)])[_0x2e37be(0x245)],_0x43e2a9=_0x5ac9bd[_0x2e37be(0x24c)](_0x1fc6a9[_0x2e37be(0x278)])[_0x2e37be(0x215)];return _0x48d3d6&&_0x22fcde||!_0x48d3d6&&_0x43e2a9;}),this[_0x44d258(0x1ce)](_0x44d258(0x22b))['to'](_0x1fc6a9,_0x44d258(0x22b),_0x5ac9bd,_0x44d258(0x28f),_0x2deb6f=>{const _0x4b674a=_0x44d258,_0x3cb84a=_0x5ac9bd[_0x4b674a(0x24c)](_0x1fc6a9[_0x4b674a(0x278)])[_0x4b674a(0x245)],_0x40967a=_0x5ac9bd[_0x4b674a(0x24c)](_0x1fc6a9[_0x4b674a(0x278)])[_0x4b674a(0x215)];return _0x48d3d6&&_0x3cb84a||_0x2deb6f&&_0x2d29b2||!_0x48d3d6&&_0x40967a&&!_0x2d29b2;}),this[_0x44d258(0x1ce)](_0x44d258(0x1bb))['to'](_0x1fc6a9,_0x44d258(0x1bb)),this[_0x44d258(0x1ff)]=_0x5ac9bd;}get[_0x1db62c(0x293)](){const _0x2a53a1=_0x1db62c;return Math[_0x2a53a1(0x276)](function(_0x843a7c){const _0x4b808f=_0x2a53a1,_0x9e122f=document[_0x4b808f(0x20c)](_0x4b808f(0x290));return _0x9e122f[_0x4b808f(0x283)]=_0x843a7c,_0x9e122f[_0x4b808f(0x230)][_0x4b808f(0x23d)];}(this[_0x2a53a1(0x22f)]),0xc8);}[_0x1db62c(0x273)](_0x5b1945){const _0x52e1cf=_0x1db62c,{threadId:_0x4a10c3,id:_0x5d8c11}=this;if(!this[_0x52e1cf(0x1ff)][_0x52e1cf(0x266)](_0x4a10c3))throw new _0x2ed2ee(_0x52e1cf(0x26b),this);const {channelId:_0x3dc80d}=this[_0x52e1cf(0x1ff)][_0x52e1cf(0x1e3)](_0x4a10c3);this[_0x52e1cf(0x1ff)][_0x52e1cf(0x1ba)](Nt(_0x52e1cf(0x23f),_0x3dc80d,_0x4a10c3),{'channelId':_0x3dc80d,'threadId':_0x4a10c3,'commentId':_0x5d8c11,..._0x5b1945});}[_0x1db62c(0x1c9)](_0x112cc6,_0x238294){const _0x17b9f7=_0x1db62c,_0x54834f=_0x2a42df(this[_0x17b9f7(0x1b1)]);_0x52c70f(_0x54834f,_0x112cc6,_0x238294),this[_0x17b9f7(0x273)]({'attributes':_0x54834f});}[_0x1db62c(0x26a)](_0x2fb490){const _0x2786f4=_0x1db62c,_0x26cbc5=_0x2a42df(this[_0x2786f4(0x1b1)]);_0x1ab017(_0x26cbc5,_0x2fb490),this[_0x2786f4(0x273)]({'attributes':_0x26cbc5});}[_0x1db62c(0x226)](_0x386ead={}){const _0xde7171=_0x1db62c;if(!_0x386ead[_0xde7171(0x265)]&&!this[_0xde7171(0x22b)])return;const {threadId:_0x4187c2,id:_0x34c985}=this;if(!this[_0xde7171(0x1ff)][_0xde7171(0x266)](_0x4187c2))throw new _0x2ed2ee(_0xde7171(0x1da),this);const {channelId:_0x3b35d8}=this[_0xde7171(0x1ff)][_0xde7171(0x1e3)](_0x4187c2);this[_0xde7171(0x1ff)][_0xde7171(0x1ba)](Nt(_0xde7171(0x1ea),_0x3b35d8,_0x4187c2),{'channelId':_0x3b35d8,'threadId':_0x4187c2,'commentId':_0x34c985,..._0x386ead});}[_0x1db62c(0x1d5)](){const _0x33fcc1=_0x1db62c;return{'commentId':this['id'],'content':this[_0x33fcc1(0x22f)],'createdAt':this[_0x33fcc1(0x244)],'authorId':this[_0x33fcc1(0x21f)]['id'],'attributes':this[_0x33fcc1(0x1b1)]};}[_0x1db62c(0x267)](){const _0x4833a7=_0x1db62c;this[_0x4833a7(0x201)]();}}function Nt(_0x2d2d63,..._0x3cdd2a){for(const _0x261904 of _0x3cdd2a)void 0x0!==_0x261904&&(_0x2d2d63+=':'+String(_0x261904));return _0x2d2d63;}
23
+ const _0x563a64=_0xc508;(function(_0x2f3bdd,_0x3c7bcb){const _0x1fdabd=_0xc508,_0x2b7f49=_0x2f3bdd();while(!![]){try{const _0xaf3f17=-parseInt(_0x1fdabd(0x128))/0x1*(-parseInt(_0x1fdabd(0xcf))/0x2)+-parseInt(_0x1fdabd(0x14e))/0x3*(parseInt(_0x1fdabd(0x154))/0x4)+parseInt(_0x1fdabd(0x10b))/0x5+parseInt(_0x1fdabd(0x191))/0x6*(-parseInt(_0x1fdabd(0xc6))/0x7)+parseInt(_0x1fdabd(0x102))/0x8+-parseInt(_0x1fdabd(0xca))/0x9*(parseInt(_0x1fdabd(0xd4))/0xa)+-parseInt(_0x1fdabd(0xc5))/0xb*(parseInt(_0x1fdabd(0xf2))/0xc);if(_0xaf3f17===_0x3c7bcb)break;else _0x2b7f49['push'](_0x2b7f49['shift']());}catch(_0x1944b7){_0x2b7f49['push'](_0x2b7f49['shift']());}}}(_0x2d1a,0xb5d1a));import{PendingActions as _0x113498,ContextPlugin as _0x152e27,Editor as _0x1a797c}from'ckeditor5/src/core.js';import{Collection as _0x3de8d6,uid as _0x2a8010,CKEditorError as _0x687c02,ObservableMixin as _0x28afdc}from'ckeditor5/src/utils.js';function _0x2d1a(){const _0x1ff499=['commentsrepository-invalid-comment-authorid','locale','channelId','_updateCommentThread','commentsrepository-resolved-comment-thread','then','textContent','focusableElements','_createCommentThreadView','_detachCommentThread','attributes','commentsrepository-invalid-comment-content','commentsrepository-add-comment-user-not-exists','addComment','define','comments','comments.CommentThreadView','commentsrepository-remove-missing-comment','modifyAll','141468jHxVKe','CommentView','commentsrepository-get-comment-invalid-id','_createNewComment','setContext','commentsrepository-invalid-commentid','add','_removeActiveAnnotation','focus','_add','content','createdAt','from','removeAttribute','comments.maxThreadTotalWeight','commentsrepository-reopen-comment-thread-internal-error','_adapter','length','_repository','change:authoredAt','lowest','authorName','_isAttached','CommentThreadView','filter','@external','_remove','change:isDirty','canComment','comments.editorConfig','change:_readOnlyChannels','values','hasCommentThread','commentsrepository-update-comment-internal-error','bind','_updateActiveAnnotation','isResolvable','commentsrepository-remove-comment-internal-error','133227UUcWbt','commentsrepository-add-comment-to-missing-comment-thread','_updateComment','assign','change:activeAnnotations','comments.CommentView','8SSuJhd','_bindAnnotationToEditors','isAttached','isEditable','CommentsRepository','function','commentsrepository-missing-target','get','init','view','resolvedAt','commentId','commentsrepository-duplicated-comment-thread-id','licenseKey','commentsrepository-adapter-already-set','commentsrepository-attach-missing-comment-thread','_update','_permissions','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','body','resolve','config','threadId','openNewCommentThread','admin','model','comments.copyMarkers','getByInnerView','getCommentThread','getUser','isOfficialPlugin','stopListening','update','commentsrepository-active-missing-comment-thread','submitCommentThread','updateComment','commentsrepository-update-missing-comment','plugins','set','createCommentThreadController','commentsrepository-missing-comment-thread','isRemovable','getCommentThreads','write','_addComment','setActiveCommentThread','activate','PendingActions','switchReadOnly','change:_permissions','PENDING_ACTION_COMMENT_THREAD','isVisible','warn','commentsrepository-update-comment-thread-internal-error','commentsrepository-resolve-comment-thread-internal-error','commentsListView','_removeCommentThread','commentsrepository-invalid-comment-thread-id','editorDestroyed','_addCommentThread','commentsrepository-remove-missing-comment-thread','6FekDJh','getTime','commentThreadInputView','removeCommentThread','comments.maxCommentsWhenCollapsed','_readOnlyChannels','getComment','commentInputView','remove','once','destroy','listenTo','_reopenCommentThread','activeCommentThread','submit','noChannel','_unbindEditors','map','bodyCollectionContainer','commentsrepository-reopen-comment-thread','reopen','editorReady','innerView','reopenCommentThread','isResolved','push','commentsrepository-missing-thread-and-adapter-method','deactivateAll','isFromAdapter','_resolveCommentThread','77uZPLvt','4350353kdoMiL','catch','isSubmitted','trim','9qPlLyv','commentUpdated','isExternal','pluginName','getPermissions','8SUkqce','isDirty','find','isReadOnly','string','8291190UJfAep','updateCommentThread','_threads','type','max','fire','commentsrepository-remove-comment-missing-comment-thread','fetchCommentThread','highest','getCommentThreadForAnnotation','addCommentThread','createElement','reduce','_attachCommentThread','commentsrepository-remove-comment-thread-internal-error','getIndex','setAttribute','commentsrepository-fetch-comment-thread','authoredAt','adapter','commentsrepository-add-comment-thread-internal-error','_viewToController','_submitCommentThread','context','resolvedBy','addUser','removeComment','_hasTargetInContent','creator','delete','809688HcCgLL','_isSubmitted','_findOptimalIndex','isPremiumPlugin','commentsrepository-add-comment-internal-error','attachTo','author','_getExternalAuthor','_threadToController','innerHTML','external:','escape','resolveCommentThread','commentsrepository-active-not-attached','isActive','has','7166056rMlyOE','setPermissions','weight','archivedAt','unlinkedAt','div','toJSON','error','focusTracker','6474175Rmbxpq','commentsrepository-update-comment-invalid-content','requires','comment','refreshVisibility','getAnnotationForCommentThread','setUnlinkedAt','_removeComment','commentsrepository-update-comment-missing-comment-thread','comments.maxCommentCharsWhenCollapsed'];_0x2d1a=function(){return _0x1ff499;};return _0x2d1a();}import{getDateTimeFormatter as _0x586e08,hashObject as _0x113e13,Users as _0x4ecbd7}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x1bc804,isEqual as _0x4efd5b,set as _0x2f1fd5,unset as _0x1358af}from'es-toolkit/compat';function _0xc508(_0x4f8f5b,_0x4e8936){const _0x2d1aa4=_0x2d1a();return _0xc508=function(_0xc5080e,_0x17200c){_0xc5080e=_0xc5080e-0xbf;let _0x224d88=_0x2d1aa4[_0xc5080e];return _0x224d88;},_0xc508(_0x4f8f5b,_0x4e8936);}import{CommentThreadController as _0x308781}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x554633}from'./ui/view/commentthreadview.js';import{CommentView as _0x5eb85b}from'./ui/view/commentview.js';import{getTranslation as _0x131ebb}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x5dc41b}from'../annotations/view/annotationview.js';import{Annotation as _0x5b2e95}from'../annotations/annotation.js';import{Annotations as _0x343c16}from'../annotations/annotations.js';const _t=Symbol(_0x563a64(0x1a0)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x152e27{[_0x563a64(0xd6)];[_0x563a64(0xfa)];[_0x563a64(0xe9)];static get[_0x563a64(0x10d)](){return[_0x343c16,_0x113498,_0x4ecbd7];}static get[_0x563a64(0xcd)](){const _0x38bf1c=_0x563a64;return _0x38bf1c(0x158);}static get[_0x563a64(0x172)](){return!0x0;}static get[_0x563a64(0xf5)](){return!0x0;}constructor(_0x1853a4){const _0x301f72=_0x563a64;super(_0x1853a4),this[_0x301f72(0xd6)]=new Map(),this[_0x301f72(0xfa)]=new Map(),this[_0x301f72(0xe9)]=new Map(),this[_0x301f72(0x17a)](_0x301f72(0x196),new Set()),this[_0x301f72(0x17a)](_0x301f72(0x165),new Map());const _0x367774=this[_0x301f72(0xeb)][_0x301f72(0x169)];_0x367774[_0x301f72(0x123)](_0x301f72(0x195),0x2),_0x367774[_0x301f72(0x123)](_0x301f72(0x136),0x1f4),_0x367774[_0x301f72(0x123)](_0x301f72(0x114),0x8c),_0x367774[_0x301f72(0x123)](_0x301f72(0x125),_0x554633),_0x367774[_0x301f72(0x123)](_0x301f72(0x153),_0x5eb85b),_0x367774[_0x301f72(0x15b)](_0x301f72(0x145))||console[_0x301f72(0x188)](_0x301f72(0x166));}[_0x563a64(0x15c)](){const _0xf4d7d6=_0x563a64,_0x3b5450=this[_0xf4d7d6(0xeb)][_0xf4d7d6(0x179)][_0xf4d7d6(0x15b)](_0x343c16);this[_0xf4d7d6(0x17a)](_0xf4d7d6(0x19e),null),this['on'](_0xf4d7d6(0xde),(_0x4e569d,_0x381a4e)=>this[_0xf4d7d6(0x18f)](_0x381a4e)),this['on'](_0xf4d7d6(0x176),(_0x5bc63f,_0x28117e)=>this[_0xf4d7d6(0xea)](_0x28117e)),this['on'](_0xf4d7d6(0xfe),(_0x1c8307,_0x25a982)=>this[_0xf4d7d6(0xc4)](_0x25a982)),this['on'](_0xf4d7d6(0xfe),(_0x1cfa7c,_0x2a7dfe)=>this[_0xf4d7d6(0x14b)](_0x2a7dfe),{'priority':_0xf4d7d6(0x13c)}),this['on'](_0xf4d7d6(0x1a8),(_0x2b30d7,_0x3f326d)=>this[_0xf4d7d6(0x19d)](_0x3f326d)),this['on'](_0xf4d7d6(0x1a8),(_0x425dcc,_0x10146d)=>this[_0xf4d7d6(0x14b)](_0x10146d),{'priority':_0xf4d7d6(0x13c)}),this['on'](_0xf4d7d6(0x194),(_0x4726a9,_0x2dfac9)=>this[_0xf4d7d6(0x18c)](_0x2dfac9)),this['on'](_0xf4d7d6(0xd5),(_0x217a7b,_0x564752)=>this[_0xf4d7d6(0x118)](_0x564752)),this['on'](_0xf4d7d6(0xd5),(_0x4e1eac,_0xecf74c)=>this[_0xf4d7d6(0x14b)](_0xecf74c),{'priority':_0xf4d7d6(0x13c)}),this['on'](_0xf4d7d6(0x122),(_0x537293,_0x55a49f)=>this[_0xf4d7d6(0x180)](_0x55a49f)),this['on'](_0xf4d7d6(0x177),(_0x49c7f7,_0x3b15c3)=>this[_0xf4d7d6(0x150)](_0x3b15c3)),this['on'](_0xf4d7d6(0xee),(_0x17792a,_0xcdb36d)=>this[_0xf4d7d6(0x112)](_0xcdb36d)),this['on'](_0xf4d7d6(0x122),(_0x466d0b,{threadId:_0x628a54,isFromAdapter:_0x449cf8})=>{const _0x2614b5=_0xf4d7d6;if(_0x449cf8)return;const _0x89cecc=this[_0x2614b5(0x170)](_0x628a54),_0x5bd74f=_0x89cecc&&this[_0x2614b5(0xfa)][_0x2614b5(0x15b)](_0x89cecc);_0x5bd74f&&_0x5bd74f[_0x2614b5(0x15d)][_0x2614b5(0x18b)][_0x2614b5(0x130)](-0x1);},{'priority':_0xf4d7d6(0x13c)}),this[_0xf4d7d6(0x19c)](_0x3b5450,_0xf4d7d6(0x152),(_0x17c4ce,_0x393276,_0x12385d)=>{const _0x46eee8=_0xf4d7d6,_0x3f40a5=Array[_0x46eee8(0x134)](_0x12385d)[_0x46eee8(0x1a2)](_0x31a931=>this[_0x46eee8(0xe9)][_0x46eee8(0x15b)](_0x31a931[_0x46eee8(0x1a7)]))[_0x46eee8(0x140)](Boolean)[0x0];this[_0x46eee8(0x19e)]=_0x3f40a5?_0x3f40a5[_0x46eee8(0x16d)]:null;});}set[_0x563a64(0xe7)](_0x2fb6f8){const _0x44fe27=_0x563a64;if(this[_0x44fe27(0x138)])throw new _0x687c02(_0x44fe27(0x162));this[_0x44fe27(0x138)]=_0x2fb6f8;}get[_0x563a64(0xe7)](){const _0xa65746=_0x563a64;return this[_0xa65746(0x138)];}[_0x563a64(0xde)]({channelId:_0x383bb3=_t,threadId:_0x4fdf03=_0x2a8010(),comments:_0x15866e=[],unlinkedAt:_0x29a397=null,resolvedAt:_0xca6fde=null,resolvedBy:_0x4d8fc7=null,target:_0x402ba2=null,context:_0x1aba46=null,attributes:_0x3957fa={},isResolvable:_0x16a289=!0x0,isSubmitted:_0x57823e=!0x1,isFromAdapter:_0x144c46=!0x1}={}){const _0xd2bfa4=_0x563a64;return this[_0xd2bfa4(0xd9)](Nt(_0xd2bfa4(0xde),_0x383bb3),{'channelId':_0x383bb3,'threadId':_0x4fdf03,'comments':_0x15866e,'unlinkedAt':_0x29a397,'resolvedAt':_0xca6fde,'resolvedBy':_0x4d8fc7,'target':_0x402ba2,'context':_0x1aba46,'attributes':_0x3957fa,'isFromAdapter':_0x144c46,'isResolvable':_0x16a289,'isSubmitted':_0x57823e}),this[_0xd2bfa4(0x170)](_0x4fdf03);}[_0x563a64(0x16b)]({channelId:_0x4c8721=_t,threadId:_0x34380e=_0x2a8010(),target:_0x351621,context:_0x254dae=null,isResolvable:_0x3c403c=!0x0}){const _0x374125=_0x563a64;if(this[_0x374125(0x196)][_0x374125(0x101)](_0x4c8721)||this[_0x374125(0x196)][_0x374125(0x101)](void 0x0))return null;if(!_0x351621)throw new _0x687c02(_0x374125(0x15a));const _0x54f64a=this[_0x374125(0xde)]({'channelId':_0x4c8721,'threadId':_0x34380e,'target':_0x351621,'context':_0x254dae,'isResolvable':_0x3c403c});if(!_0x54f64a)return null;const _0x124fc5=this[_0x374125(0xfa)][_0x374125(0x15b)](_0x54f64a),_0x4983f8=_0x124fc5[_0x374125(0x15d)][_0x374125(0x193)][_0x374125(0x198)],_0x347791=this[_0x374125(0xeb)][_0x374125(0x179)][_0x374125(0x15b)](_0x343c16),_0x3d156b=_0x347791[_0x374125(0x16f)](_0x124fc5[_0x374125(0x15d)]);return _0x347791[_0x374125(0x182)](_0x3d156b),_0x4983f8[_0x374125(0x19a)](_0x374125(0x1a6),()=>_0x4983f8[_0x374125(0x130)]()),_0x54f64a;}[_0x563a64(0x148)](_0x345f94){const _0x4caafa=_0x563a64;if(_0x4caafa(0xd3)!=typeof _0x345f94)throw new _0x687c02(_0x4caafa(0x18d));return this[_0x4caafa(0xd6)][_0x4caafa(0x101)](_0x345f94);}[_0x563a64(0xd5)]({channelId:_0x6b36c5=_t,threadId:_0x55f1c0,context:_0x1fd478,unlinkedAt:_0x218cb7,attributes:_0x35f523,isFromAdapter:_0x17ca94=!0x1}){const _0x573f3d=_0x563a64;return this[_0x573f3d(0xd9)](Nt(_0x573f3d(0xd5),_0x6b36c5),{'channelId':_0x6b36c5,'threadId':_0x55f1c0,'context':_0x1fd478,'unlinkedAt':_0x218cb7,'attributes':_0x35f523,'isFromAdapter':_0x17ca94}),this[_0x573f3d(0x170)](_0x55f1c0);}[_0x563a64(0x170)](_0x490fa1){const _0x3cca6f=_0x563a64;if(_0x3cca6f(0xd3)!=typeof _0x490fa1)throw new _0x687c02(_0x3cca6f(0x18d));return this[_0x3cca6f(0xd6)][_0x3cca6f(0x15b)](_0x490fa1);}[_0x563a64(0xdb)]({channelId:_0xb1f5f0,threadId:_0x33f280}={}){const _0x5a8571=_0x563a64,_0x29c569=this[_0x5a8571(0x170)](_0x33f280);if(_0x29c569)return Promise[_0x5a8571(0x168)](_0x29c569);if(!this[_0x5a8571(0xe7)])return Promise[_0x5a8571(0x168)](void 0x0);if(_0x5a8571(0x159)!=typeof this[_0x5a8571(0xe7)][_0x5a8571(0x170)])throw new _0x687c02(_0x5a8571(0xc1),this[_0x5a8571(0xeb)]);return this[_0x5a8571(0xe7)][_0x5a8571(0x170)]({'channelId':_0xb1f5f0,'threadId':_0x33f280})[_0x5a8571(0x11a)](_0x17ab8c=>this[_0x5a8571(0x148)](_0x33f280)?this[_0x5a8571(0x170)](_0x33f280):_0x17ab8c?this[_0x5a8571(0xde)](Object[_0x5a8571(0x151)]({'isFromAdapter':!0x0,'channelId':_0xb1f5f0},_0x17ab8c)):void 0x0)[_0x5a8571(0xc7)](_0x370f7a=>{const _0x30c2a5=_0x5a8571;throw console[_0x30c2a5(0x109)](_0x370f7a),new _0x687c02(_0x30c2a5(0xe5),this[_0x30c2a5(0xeb)]);});}[_0x563a64(0x17e)]({channelId:_0x107094,skipNotAttached:_0x35769c=!0x1,skipEmpty:_0x3b13ce=!0x1,toJSON:_0x27567e=!0x1}={}){const _0x5b51af=_0x563a64,_0x4f2011=[];for(const _0x440bc0 of this[_0x5b51af(0xd6)][_0x5b51af(0x147)]())_0x107094&&_0x440bc0[_0x5b51af(0x117)]!==_0x107094||_0x35769c&&!_0x440bc0[_0x5b51af(0x156)]||_0x3b13ce&&0x0===_0x440bc0[_0x5b51af(0x139)]||_0x4f2011[_0x5b51af(0xc0)](_0x440bc0);return _0x27567e?_0x4f2011[_0x5b51af(0x1a2)](_0x433c77=>_0x433c77[_0x5b51af(0x108)]()):_0x4f2011;}[_0x563a64(0x110)](_0x1d7008){const _0x51528f=_0x563a64,_0x3c8513=this[_0x51528f(0xfa)][_0x51528f(0x15b)](_0x1d7008);if(!_0x3c8513)return null;return this[_0x51528f(0xeb)][_0x51528f(0x179)][_0x51528f(0x15b)](_0x343c16)[_0x51528f(0x16f)](_0x3c8513[_0x51528f(0x15d)])||null;}[_0x563a64(0xdd)](_0x9e4210){const _0x6d23fe=_0x563a64,_0x5228ba=this[_0x6d23fe(0xe9)][_0x6d23fe(0x15b)](_0x9e4210[_0x6d23fe(0x1a7)]);return _0x5228ba?_0x5228ba[_0x6d23fe(0x16d)]:null;}[_0x563a64(0x181)](_0x536a77){const _0x4ab735=_0x563a64,_0x1d483b=this[_0x4ab735(0xeb)][_0x4ab735(0x179)][_0x4ab735(0x15b)](_0x343c16);if(!_0x536a77)return void(this[_0x4ab735(0x19e)]&&_0x1d483b[_0x4ab735(0xc2)]());const _0x251b0d=this[_0x4ab735(0x170)](_0x536a77);if(!_0x251b0d)throw new _0x687c02(_0x4ab735(0x175),null,{'threadId':_0x536a77});if(!this[_0x4ab735(0xfa)][_0x4ab735(0x101)](_0x251b0d))throw new _0x687c02(_0x4ab735(0xff),null,{'threadId':_0x536a77});const _0xf0ebcf=_0x1d483b[_0x4ab735(0x16f)](this[_0x4ab735(0xfa)][_0x4ab735(0x15b)](_0x251b0d)[_0x4ab735(0x15d)]);_0x1d483b[_0x4ab735(0x182)](_0xf0ebcf);}[_0x563a64(0x184)](_0x3c8467,_0x329d18){const _0x35c07d=_0x563a64;_0x3c8467?this[_0x35c07d(0x196)][_0x35c07d(0x12e)](_0x329d18):this[_0x35c07d(0x196)][_0x35c07d(0xf1)](_0x329d18),this[_0x35c07d(0xd9)](_0x35c07d(0x146),_0x35c07d(0x196),this[_0x35c07d(0x196)],this[_0x35c07d(0x196)]);}[_0x563a64(0xd2)](_0x3e7d3e){const _0x4b4d02=_0x563a64;return this[_0x4b4d02(0x196)][_0x4b4d02(0x101)](_0x3e7d3e)||this[_0x4b4d02(0x196)][_0x4b4d02(0x101)](void 0x0);}[_0x563a64(0x17b)](_0x3ebeab,_0x5ac110){return new _0x308781(_0x3ebeab,_0x5ac110);}[_0x563a64(0x103)](_0x1c1dbc,_0x277fce=_t){const _0x44469f=_0x563a64;this[_0x44469f(0x165)][_0x44469f(0x17a)](_0x277fce,_0x1c1dbc),this[_0x44469f(0xd9)](_0x44469f(0x185),_0x44469f(0x165),this[_0x44469f(0x165)],this[_0x44469f(0x165)]);}[_0x563a64(0xce)](_0x293f0f=_t){const _0x3920b6=_0x563a64;return this[_0x3920b6(0x165)][_0x3920b6(0x101)](_0x293f0f)?this[_0x3920b6(0x165)][_0x3920b6(0x15b)](_0x293f0f):bt;}[_0x563a64(0x18f)]({channelId:_0x2e43eb,threadId:_0x1ec94f,comments:_0x42b063,unlinkedAt:_0x3da92c,resolvedAt:_0xcda431,resolvedBy:_0x2b7a94,target:_0x3ba4c8,context:_0x269e53,attributes:_0x303edd,isFromAdapter:_0x1460b3,isResolvable:_0x515194,isSubmitted:_0x55e452}){const _0x4ead52=_0x563a64;if(_0x4ead52(0xd3)!=typeof _0x1ec94f)throw new _0x687c02(_0x4ead52(0x18d),null,{'threadId':_0x1ec94f});if(this[_0x4ead52(0x148)](_0x1ec94f))throw new _0x687c02(_0x4ead52(0x160),null,{'threadId':_0x1ec94f});const _0x1b2cd1=new CommentThread(this,{'channelId':_0x2e43eb,'id':_0x1ec94f,'context':_0x269e53,'attributes':_0x303edd,'unlinkedAt':_0x3da92c,'resolvedAt':_0xcda431,'resolvedBy':_0x2b7a94?this[_0x4ead52(0xeb)][_0x4ead52(0x179)][_0x4ead52(0x15b)](_0x4ecbd7)[_0x4ead52(0x171)](_0x2b7a94):null,'isResolvable':_0x515194,'isSubmitted':_0x55e452||_0x1460b3});this[_0x4ead52(0xd6)][_0x4ead52(0x17a)](_0x1ec94f,_0x1b2cd1);for(const _0x113df4 of _0x42b063)_0x1b2cd1[_0x4ead52(0x131)](this[_0x4ead52(0x12b)]({'threadId':_0x1ec94f,..._0x113df4}));return _0x3ba4c8&&_0x1b2cd1[_0x4ead52(0xf7)](_0x3ba4c8),_0x1460b3||!_0x1b2cd1[_0x4ead52(0x139)]?Promise[_0x4ead52(0x168)]():this[_0x4ead52(0xea)]({'channelId':_0x2e43eb,'threadId':_0x1ec94f});}[_0x563a64(0xea)]({channelId:_0x41a2ce,threadId:_0x409fc8}){const _0x479aef=_0x563a64;if(!this[_0x479aef(0x148)](_0x409fc8))throw new _0x687c02(_0x479aef(0x17c),this);const _0x216f9e=this[_0x479aef(0x170)](_0x409fc8);if(_0x216f9e[_0x479aef(0xf3)]=!0x0,!this[_0x479aef(0xe7)]||_0x479aef(0x159)!=typeof this[_0x479aef(0xe7)][_0x479aef(0xde)])return Promise[_0x479aef(0x168)]();const {id:_0x155f79,comments:_0x26a4f6,resolvedAt:_0xd30c11,resolvedBy:_0x5baa71,context:_0x34da02,attributes:_0x3b2c2c}=_0x216f9e,_0x3651ba=this[_0x479aef(0xeb)][_0x479aef(0x179)][_0x479aef(0x15b)](_0x479aef(0x183)),_0xb875b7=_0x3651ba[_0x479aef(0x12e)](_0x131ebb(this[_0x479aef(0xeb)][_0x479aef(0x116)],_0x479aef(0x186)));return this[_0x479aef(0xe7)][_0x479aef(0xde)]({'channelId':_0x41a2ce,'threadId':_0x155f79,'comments':_0x26a4f6[_0x479aef(0x1a2)](_0x15a24a=>_0x15a24a[_0x479aef(0x108)]()),'resolvedAt':_0xd30c11,'resolvedBy':_0x5baa71?_0x5baa71['id']:_0x5baa71,'context':_0x34da02,'attributes':_0x3b2c2c})[_0x479aef(0x11a)](({comments:_0x2faa26})=>{const _0x11b68c=_0x479aef;_0x3651ba[_0x11b68c(0x199)](_0xb875b7);for(const _0x57641a of _0x2faa26)this[_0x11b68c(0x150)]({'channelId':_0x41a2ce,'threadId':_0x409fc8,'commentId':_0x57641a[_0x11b68c(0x15f)],'createdAt':_0x57641a[_0x11b68c(0x133)],'isFromAdapter':!0x0});})[_0x479aef(0xc7)](_0x585ab8=>{const _0x414320=_0x479aef;throw console[_0x414320(0x109)](_0x585ab8),new _0x687c02(_0x414320(0xe8),this);});}[_0x563a64(0xe1)]({threadId:_0x948734,target:_0x124fa4}){const _0x5e70ce=_0x563a64,_0x5f12ae=this[_0x5e70ce(0x170)](_0x948734);if(!_0x5f12ae)throw new _0x687c02(_0x5e70ce(0x163),this);const _0x45d9ef=this[_0x5e70ce(0xeb)][_0x5e70ce(0x179)][_0x5e70ce(0x15b)](_0x5e70ce(0x183)),_0x4f841d=this[_0x5e70ce(0xeb)][_0x5e70ce(0x179)][_0x5e70ce(0x15b)](_0x343c16),_0x3a25f4=this[_0x5e70ce(0x11d)](_0x5f12ae),_0x4f660a=new _0x308781(_0x5f12ae,_0x3a25f4);let _0x22b623=null;_0x3a25f4['on'](_0x5e70ce(0x143),(_0x1aae64,_0x3bef5d,_0x2bad3a)=>{const _0x45a71b=_0x5e70ce;_0x2bad3a?_0x22b623=_0x45d9ef[_0x45a71b(0x12e)](_0x131ebb(this[_0x45a71b(0xeb)][_0x45a71b(0x116)],_0x45a71b(0x186))):_0x22b623&&(_0x45d9ef[_0x45a71b(0x199)](_0x22b623),_0x22b623=null);}),this[_0x5e70ce(0xfa)][_0x5e70ce(0x17a)](_0x5f12ae,_0x4f660a),this[_0x5e70ce(0xe9)][_0x5e70ce(0x17a)](_0x3a25f4,_0x4f660a);const _0x4edc8e=new _0x5dc41b(this[_0x5e70ce(0xeb)][_0x5e70ce(0x116)],_0x3a25f4);_0x4edc8e[_0x5e70ce(0x14a)](_0x5e70ce(0x139))['to'](_0x3a25f4),_0x4edc8e[_0x5e70ce(0x14a)](_0x5e70ce(0xd0))['to'](_0x3a25f4,_0x5e70ce(0xd0),_0x3a25f4,_0x5e70ce(0x139),(_0x36322d,_0x5b98a9)=>_0x36322d||!_0x5b98a9),_0x4edc8e[_0x5e70ce(0x14a)](_0x5e70ce(0x100))['to'](_0x3a25f4),_0x4edc8e[_0x5e70ce(0xd7)]=_0x5e70ce(0x10e);const _0x5d6598=new _0x5b2e95({'view':_0x4edc8e,'target':_0x124fa4,'type':_0x5e70ce(0x10e),'isVisible':!_0x5f12ae[_0x5e70ce(0x105)]&&!!(_0x5e70ce(0x159)==typeof _0x124fa4?_0x124fa4():_0x124fa4)});return _0x3a25f4['on'](_0x5e70ce(0xfd),()=>{const _0x41b333=_0x5e70ce;_0x5d6598[_0x41b333(0xd9)](_0x41b333(0xfd));}),this[_0x5e70ce(0x155)](_0x3a25f4,_0x5d6598),_0x4f841d[_0x5e70ce(0x12e)](_0x5d6598),_0x5d6598;}[_0x563a64(0x155)](_0x181fe1,_0x49eefd){const _0x2afb6e=_0x563a64;this[_0x2afb6e(0x19c)](_0x181fe1,_0x2afb6e(0x1a6),(_0x332990,_0x40b6c7)=>{const _0x325911=_0x2afb6e,_0x53f9e6=_0x40b6c7['ui'][_0x325911(0x15d)][_0x325911(0x167)][_0x325911(0x1a3)];_0x49eefd[_0x325911(0x11c)][_0x325911(0x12e)](_0x53f9e6),this[_0x325911(0xeb)]instanceof _0x1a797c&&this[_0x325911(0xeb)]['ui'][_0x325911(0x10a)][_0x325911(0x12e)](_0x53f9e6);},{'priority':_0x2afb6e(0xdc)}),this[_0x2afb6e(0x19c)](_0x181fe1,_0x2afb6e(0x18e),(_0x34adfb,_0x26f23f)=>{const _0x304e35=_0x2afb6e,_0x2715a8=_0x26f23f['ui'][_0x304e35(0x15d)][_0x304e35(0x167)][_0x304e35(0x1a3)];_0x49eefd[_0x304e35(0x11c)][_0x304e35(0x101)](_0x2715a8)&&_0x49eefd[_0x304e35(0x11c)][_0x304e35(0x199)](_0x2715a8),this[_0x304e35(0xeb)]instanceof _0x1a797c&&this[_0x304e35(0xeb)]['ui'][_0x304e35(0x10a)][_0x304e35(0x199)](_0x2715a8);});}[_0x563a64(0x1a1)](_0x524c16){const _0x2214f0=_0x563a64;this[_0x2214f0(0x173)](_0x524c16,_0x2214f0(0x1a6)),this[_0x2214f0(0x173)](_0x524c16,_0x2214f0(0x18e));}[_0x563a64(0x11d)](_0x145202){const _0x573002=_0x563a64,_0x387047=this[_0x573002(0xeb)][_0x573002(0x179)][_0x573002(0x15b)](_0x4ecbd7),{config:_0x550841,locale:_0x39af9a}=this[_0x573002(0xeb)],_0x28f30c=_0x586e08(_0x550841[_0x573002(0x15b)](_0x573002(0x116)),_0x39af9a);return new(0x0,(_0x550841[_0x573002(0x15b)](_0x573002(0x124)))[(_0x573002(0x13f))])(_0x39af9a,_0x145202,_0x387047['me'],{'editorConfig':{..._0x550841[_0x573002(0x15b)](_0x573002(0x145)),'licenseKey':this[_0x573002(0xeb)][_0x573002(0x169)][_0x573002(0x15b)](_0x573002(0x161))},'copyMarkers':_0x550841[_0x573002(0x15b)](_0x573002(0x16e)),'maxCommentsWhenCollapsed':_0x550841[_0x573002(0x15b)](_0x573002(0x195)),'maxThreadTotalWeight':_0x550841[_0x573002(0x15b)](_0x573002(0x136)),'maxCommentCharsWhenCollapsed':_0x550841[_0x573002(0x15b)](_0x573002(0x114)),'formatDateTime':_0x28f30c,'CommentView':_0x550841[_0x573002(0x15b)](_0x573002(0x124))[_0x573002(0x129)]});}[_0x563a64(0xc4)]({threadId:_0x1f665f,channelId:_0x248ad8,resolvedAt:_0x525b9c,resolvedBy:_0x434f49,isFromAdapter:_0xb7f795}){const _0x338f0a=_0x563a64;if(!this[_0x338f0a(0x148)](_0x1f665f))throw new _0x687c02(_0x338f0a(0x17c),null,{'threadId':_0x1f665f});const _0x51de73=this[_0x338f0a(0x170)](_0x1f665f);if(_0x51de73[_0x338f0a(0xbf)])throw new _0x687c02(_0x338f0a(0x119),null,{'threadId':_0x1f665f});const _0x48365e=this[_0x338f0a(0xeb)][_0x338f0a(0x179)][_0x338f0a(0x15b)](_0x4ecbd7);if(_0x51de73[_0x338f0a(0xec)]=_0x48365e[_0x338f0a(0x171)](_0x434f49),_0x51de73[_0x338f0a(0x15e)]=_0x525b9c,_0xb7f795||!this[_0x338f0a(0xe7)]||_0x338f0a(0x159)!=typeof this[_0x338f0a(0xe7)][_0x338f0a(0xfe)])return Promise[_0x338f0a(0x168)]();const _0x337fc4=this[_0x338f0a(0xeb)][_0x338f0a(0x179)][_0x338f0a(0x15b)](_0x338f0a(0x183)),_0x369f2d=_0x337fc4[_0x338f0a(0x12e)](_0x131ebb(this[_0x338f0a(0xeb)][_0x338f0a(0x116)],_0x338f0a(0x186)));return this[_0x338f0a(0xe7)][_0x338f0a(0xfe)]({'channelId':_0x248ad8,'threadId':_0x1f665f})[_0x338f0a(0x11a)](({resolvedAt:_0x22c9e5,resolvedBy:_0x245fa9})=>{const _0x58504c=_0x338f0a;_0x337fc4[_0x58504c(0x199)](_0x369f2d),_0x51de73[_0x58504c(0xec)]['id']!==_0x245fa9&&(_0x51de73[_0x58504c(0xec)]=_0x48365e[_0x58504c(0x171)](_0x245fa9)),_0x51de73[_0x58504c(0x15e)]=_0x22c9e5;})[_0x338f0a(0xc7)](_0x37dae4=>{const _0x1c26cd=_0x338f0a;throw console[_0x1c26cd(0x109)](_0x37dae4),new _0x687c02(_0x1c26cd(0x18a),this);});}[_0x563a64(0x19d)]({threadId:_0x409a7f,channelId:_0xccacc6,isFromAdapter:_0x253dc4}){const _0x1d20b4=_0x563a64;if(!this[_0x1d20b4(0x148)](_0x409a7f))throw new _0x687c02(_0x1d20b4(0x17c),null,{'threadId':_0x409a7f});const _0x10e9f5=this[_0x1d20b4(0x170)](_0x409a7f);if(!_0x10e9f5[_0x1d20b4(0xbf)])throw new _0x687c02(_0x1d20b4(0x1a4),null,{'threadId':_0x409a7f});if(_0x10e9f5[_0x1d20b4(0xec)]=null,_0x10e9f5[_0x1d20b4(0x15e)]=null,_0x253dc4||!this[_0x1d20b4(0xe7)]||_0x1d20b4(0x159)!=typeof this[_0x1d20b4(0xe7)][_0x1d20b4(0x1a8)])return Promise[_0x1d20b4(0x168)]();const _0x239635=this[_0x1d20b4(0xeb)][_0x1d20b4(0x179)][_0x1d20b4(0x15b)](_0x1d20b4(0x183)),_0x3f7464=_0x239635[_0x1d20b4(0x12e)](_0x131ebb(this[_0x1d20b4(0xeb)][_0x1d20b4(0x116)],_0x1d20b4(0x186)));return this[_0x1d20b4(0xe7)][_0x1d20b4(0x1a8)]({'channelId':_0xccacc6,'threadId':_0x409a7f})[_0x1d20b4(0x11a)](()=>_0x239635[_0x1d20b4(0x199)](_0x3f7464))[_0x1d20b4(0xc7)](_0xd2930e=>{const _0x594e69=_0x1d20b4;throw console[_0x594e69(0x109)](_0xd2930e),new _0x687c02(_0x594e69(0x137),this);});}[_0x563a64(0x18c)]({threadId:_0xd56cd7,isFromAdapter:_0x3a806d}){const _0x56c3d3=_0x563a64,_0x360fab=this[_0x56c3d3(0x170)](_0xd56cd7);if(!_0x360fab)throw new _0x687c02(_0x56c3d3(0x190),this);if(this[_0x56c3d3(0x11e)](_0xd56cd7),this[_0x56c3d3(0xd6)][_0x56c3d3(0xf1)](_0xd56cd7),!_0x360fab[_0x56c3d3(0xc8)]||_0x3a806d||!this[_0x56c3d3(0xe7)]||_0x56c3d3(0x159)!=typeof this[_0x56c3d3(0xe7)][_0x56c3d3(0x194)])return Promise[_0x56c3d3(0x168)]();const _0x2d449e=this[_0x56c3d3(0xeb)][_0x56c3d3(0x179)][_0x56c3d3(0x15b)](_0x56c3d3(0x183)),{channelId:_0x3661a0}=_0x360fab,_0x977224=_0x2d449e[_0x56c3d3(0x12e)](_0x131ebb(this[_0x56c3d3(0xeb)][_0x56c3d3(0x116)],_0x56c3d3(0x186)));return this[_0x56c3d3(0xe7)][_0x56c3d3(0x194)]({'channelId':_0x3661a0,'threadId':_0xd56cd7})[_0x56c3d3(0x11a)](()=>_0x2d449e[_0x56c3d3(0x199)](_0x977224))[_0x56c3d3(0xc7)](_0x4ed2e8=>{const _0x2d0291=_0x56c3d3;throw console[_0x2d0291(0x109)](_0x4ed2e8),new _0x687c02(_0x2d0291(0xe2),this);});}[_0x563a64(0x118)]({threadId:_0x18990a,unlinkedAt:_0x400040,context:_0x22bc25,attributes:_0x2624b3,isFromAdapter:_0x15b271}){const _0x50aea5=_0x563a64;if(_0x50aea5(0xd3)!=typeof _0x18990a)throw new _0x687c02(_0x50aea5(0x18d),null,{'threadId':_0x18990a});if(!this[_0x50aea5(0x148)](_0x18990a))throw new _0x687c02(_0x50aea5(0x17c),null,{'threadId':_0x18990a});const _0x2cfe11=this[_0x50aea5(0x170)](_0x18990a);let _0x36f4a0=!0x1;if(void 0x0!==_0x22bc25&&_0x2cfe11[_0x50aea5(0xeb)]!==_0x22bc25&&(_0x2cfe11[_0x50aea5(0xeb)]=_0x22bc25,_0x36f4a0=!0x0),void 0x0!==_0x400040&&_0x2cfe11[_0x50aea5(0x106)]!==_0x400040&&(_0x2cfe11[_0x50aea5(0x106)]=_0x400040,_0x36f4a0=!0x0),_0x2624b3&&!_0x4efd5b(_0x2624b3,_0x2cfe11[_0x50aea5(0x11f)])&&(_0x2cfe11[_0x50aea5(0x11f)]=_0x2624b3,_0x36f4a0=!0x0),!_0x36f4a0)return Promise[_0x50aea5(0x168)]();if(!_0x2cfe11[_0x50aea5(0xc8)]||_0x15b271||!this[_0x50aea5(0xe7)]||_0x50aea5(0x159)!=typeof this[_0x50aea5(0xe7)][_0x50aea5(0xd5)])return Promise[_0x50aea5(0x168)]();const _0x436c85=this[_0x50aea5(0xeb)][_0x50aea5(0x179)][_0x50aea5(0x15b)](_0x50aea5(0x183)),{channelId:_0x229185}=_0x2cfe11,_0x34c402=_0x436c85[_0x50aea5(0x12e)](_0x131ebb(this[_0x50aea5(0xeb)][_0x50aea5(0x116)],_0x50aea5(0x186)));return this[_0x50aea5(0xe7)][_0x50aea5(0xd5)]({'channelId':_0x229185,'threadId':_0x18990a,'context':_0x22bc25,'unlinkedAt':_0x400040,'attributes':_0x2624b3})[_0x50aea5(0x11a)](()=>_0x436c85[_0x50aea5(0x199)](_0x34c402))[_0x50aea5(0xc7)](_0x3b217d=>{const _0x1c87fa=_0x50aea5;throw console[_0x1c87fa(0x109)](_0x3b217d),new _0x687c02(_0x1c87fa(0x189),this);});}[_0x563a64(0x11e)](_0x4e5338){const _0xce3cbc=_0x563a64,_0x52b0db=this[_0xce3cbc(0xeb)][_0xce3cbc(0x179)][_0xce3cbc(0x15b)](_0x343c16),_0x577e2f=this[_0xce3cbc(0x170)](_0x4e5338);if(_0x577e2f[_0xce3cbc(0x13e)]=!0x1,this[_0xce3cbc(0xfa)][_0xce3cbc(0x101)](_0x577e2f)){const _0x38ee1a=this[_0xce3cbc(0xfa)][_0xce3cbc(0x15b)](_0x577e2f),_0x526055=_0x38ee1a[_0xce3cbc(0x15d)],_0x396fe4=_0x52b0db[_0xce3cbc(0x16f)](_0x526055);this[_0xce3cbc(0xfa)][_0xce3cbc(0xf1)](_0x577e2f),this[_0xce3cbc(0xe9)][_0xce3cbc(0xf1)](_0x526055),_0x396fe4&&_0x52b0db[_0xce3cbc(0x199)](_0x396fe4),_0x38ee1a[_0xce3cbc(0x19b)](),_0x526055[_0xce3cbc(0x19b)]()[_0xce3cbc(0x11a)](()=>{const _0x17c3e4=_0xce3cbc;this[_0x17c3e4(0x1a1)](_0x526055);});}}[_0x563a64(0x14b)]({threadId:_0x5cd1fe,resolvedAt:_0x4cad05,unlinkedAt:_0x480503}){const _0x275fb5=_0x563a64,_0x46961f=!!_0x4cad05,_0x3c7b5f=this[_0x275fb5(0xeb)][_0x275fb5(0x179)][_0x275fb5(0x15b)](_0x343c16),_0x2b323e=this[_0x275fb5(0x170)](_0x5cd1fe);if(this[_0x275fb5(0xfa)][_0x275fb5(0x101)](_0x2b323e)){const _0x26d802=this[_0x275fb5(0xfa)][_0x275fb5(0x15b)](_0x2b323e)[_0x275fb5(0x15d)],_0x10ebc6=_0x3c7b5f[_0x275fb5(0x16f)](_0x26d802);_0x10ebc6&&(_0x46961f&&_0x3c7b5f[_0x275fb5(0x12f)](_0x10ebc6),_0x480503?_0x10ebc6[_0x275fb5(0x187)]=!0x1:_0x10ebc6[_0x275fb5(0x10f)]());}}[_0x563a64(0xf9)](_0xdf6c23){const _0x3361a0=_0x563a64,_0x9b9b67=this[_0x3361a0(0xeb)][_0x3361a0(0x179)][_0x3361a0(0x15b)](_0x4ecbd7),_0x1058a3=_0x113e13(_0x3361a0(0xfc)+_0xdf6c23),_0x28038f=_0x9b9b67[_0x3361a0(0x171)](_0x1058a3);return _0x28038f||_0x9b9b67[_0x3361a0(0xed)]({'id':_0x1058a3,'name':_0xdf6c23});}[_0x563a64(0x12b)]({threadId:_0x563fc7,commentId:_0x2c4600=_0x2a8010(),content:_0x28a5f3,authorId:_0x416e7d,createdAt:_0x598e11,attributes:_0x3f991b}){const _0x1d2a06=_0x563a64;if(_0x1d2a06(0xd3)!=typeof _0x2c4600)throw new _0x687c02(_0x1d2a06(0x12d));if(_0x1d2a06(0xd3)!=typeof _0x416e7d)throw new _0x687c02(_0x1d2a06(0x115));if(_0x1d2a06(0xd3)!=typeof _0x28a5f3||!_0x28a5f3[_0x1d2a06(0xc9)]())throw new _0x687c02(_0x1d2a06(0x120));const _0x304c74=this[_0x1d2a06(0xeb)][_0x1d2a06(0x179)][_0x1d2a06(0x15b)](_0x4ecbd7)[_0x1d2a06(0x171)](_0x416e7d);if(!_0x304c74)throw new _0x687c02(_0x1d2a06(0x121),null,{'authorId':_0x416e7d});let _0x1a5354=null,_0x3add7d=_0x598e11;return _0x3f991b?.[_0x1d2a06(0x141)]&&(_0x1a5354=this[_0x1d2a06(0xf9)](_0x3f991b[_0x1d2a06(0x141)][_0x1d2a06(0x13d)]),_0x3add7d=new Date(_0x3f991b[_0x1d2a06(0x141)][_0x1d2a06(0x133)])),new Comment(this,{'threadId':_0x563fc7,'id':_0x2c4600,'author':_0x1a5354||_0x304c74,'creator':_0x304c74,'content':_0x28a5f3,'createdAt':_0x598e11,'authoredAt':_0x3add7d,'attributes':_0x3f991b});}[_0x563a64(0x180)](_0x23fe0b){const _0x5ce865=_0x563a64;let {threadId:_0x2b27bd,content:_0x3b5a30,attributes:_0x4cf68,isFromAdapter:_0x578b58}=_0x23fe0b;const _0x4230cc=this[_0x5ce865(0x170)](_0x23fe0b[_0x5ce865(0x16a)]);if(!_0x4230cc)throw new _0x687c02(_0x5ce865(0x14f),this);const _0x15eab1=this[_0x5ce865(0x12b)](_0x23fe0b),{id:_0x401a6b}=_0x15eab1;if(_0x4230cc[_0x5ce865(0x131)](_0x15eab1),_0x578b58||!this[_0x5ce865(0xe7)]||_0x5ce865(0x159)!=typeof this[_0x5ce865(0xe7)][_0x5ce865(0x122)]||!_0x4230cc[_0x5ce865(0xc8)])return Promise[_0x5ce865(0x168)]();const _0x5372da=this[_0x5ce865(0xeb)][_0x5ce865(0x179)][_0x5ce865(0x15b)](_0x5ce865(0x183)),{channelId:_0x227f1b}=_0x4230cc,_0x408250=_0x5372da[_0x5ce865(0x12e)](_0x131ebb(this[_0x5ce865(0xeb)][_0x5ce865(0x116)],_0x5ce865(0x186)));return _0x4cf68||(_0x4cf68={}),this[_0x5ce865(0xe7)][_0x5ce865(0x122)]({'channelId':_0x227f1b,'threadId':_0x2b27bd,'commentId':_0x401a6b,'content':_0x3b5a30,'attributes':_0x4cf68})[_0x5ce865(0x11a)](_0x122d95=>{const _0x3cf8c2=_0x5ce865;_0x5372da[_0x3cf8c2(0x199)](_0x408250),_0x122d95&&this[_0x3cf8c2(0x150)]({'channelId':_0x227f1b,'threadId':_0x2b27bd,'commentId':_0x401a6b,'createdAt':_0x122d95[_0x3cf8c2(0x133)],'isFromAdapter':!0x0});})[_0x5ce865(0xc7)](_0x4b64a9=>{const _0x478b4b=_0x5ce865;throw console[_0x478b4b(0x109)](_0x4b64a9),new _0x687c02(_0x478b4b(0xf6),this);});}[_0x563a64(0x150)]({threadId:_0xd462cf,commentId:_0x92d365,content:_0x41c0a6,createdAt:_0x24e2b7,attributes:_0x543d61,isFromAdapter:_0x3daddd}){const _0xb65e64=_0x563a64;if(void 0x0!==_0x41c0a6&&(_0xb65e64(0xd3)!=typeof _0x41c0a6||!_0x41c0a6[_0xb65e64(0xc9)]()[_0xb65e64(0x139)]))throw new _0x687c02(_0xb65e64(0x10c));const _0xde2fb7=this[_0xb65e64(0x170)](_0xd462cf),_0x2afac4=_0xde2fb7[_0xb65e64(0x197)](_0x92d365);if(!_0x2afac4)throw new _0x687c02(_0xb65e64(0x178),this);let _0x4e3058=!0x1;if(_0x41c0a6&&_0x41c0a6!==_0x2afac4[_0xb65e64(0x132)]&&(_0x2afac4[_0xb65e64(0x157)]||_0x3daddd)&&(_0x2afac4[_0xb65e64(0x132)]=_0x41c0a6,_0x4e3058=!0x0),_0x24e2b7&&_0x24e2b7!==_0x2afac4[_0xb65e64(0x133)]&&(_0x2afac4[_0xb65e64(0x133)]=_0x24e2b7,_0x2afac4[_0xb65e64(0x11f)]&&_0x2afac4[_0xb65e64(0x11f)][_0xb65e64(0x141)]||(_0x2afac4[_0xb65e64(0xe6)]=_0x24e2b7),_0x4e3058=!0x0),_0x543d61&&!_0x4efd5b(_0x543d61,_0x2afac4[_0xb65e64(0x11f)])&&(_0x2afac4[_0xb65e64(0x11f)]=_0x543d61,_0x4e3058=!0x0),!_0x4e3058)return Promise[_0xb65e64(0x168)]();if(_0xde2fb7[_0xb65e64(0xd9)](_0xb65e64(0xcb)),_0x3daddd||!this[_0xb65e64(0xe7)]||_0xb65e64(0x159)!=typeof this[_0xb65e64(0xe7)][_0xb65e64(0x177)])return Promise[_0xb65e64(0x168)]();const _0x4982be=this[_0xb65e64(0xeb)][_0xb65e64(0x179)][_0xb65e64(0x15b)](_0xb65e64(0x183)),{channelId:_0x324e71}=this[_0xb65e64(0x170)](_0x2afac4[_0xb65e64(0x16a)]),_0x56c2a8=_0x4982be[_0xb65e64(0x12e)](_0x131ebb(this[_0xb65e64(0xeb)][_0xb65e64(0x116)],_0xb65e64(0x186)));return this[_0xb65e64(0xe7)][_0xb65e64(0x177)]({'channelId':_0x324e71,'threadId':_0xd462cf,'commentId':_0x92d365,'content':_0x41c0a6,'attributes':_0x543d61})[_0xb65e64(0x11a)](()=>_0x4982be[_0xb65e64(0x199)](_0x56c2a8))[_0xb65e64(0xc7)](_0x2087c0=>{const _0x506fd2=_0xb65e64;throw console[_0x506fd2(0x109)](_0x2087c0),new _0x687c02(_0x506fd2(0x149),this);});}[_0x563a64(0x112)]({threadId:_0x5bd082,commentId:_0x2c6d95,isFromAdapter:_0x48adc0}){const _0x6f1148=_0x563a64,_0x8a2ba=this[_0x6f1148(0x170)](_0x5bd082),_0x21b3c4=_0x8a2ba[_0x6f1148(0x197)](_0x2c6d95);if(!_0x21b3c4)throw new _0x687c02(_0x6f1148(0x126),this);if(_0x8a2ba[_0x6f1148(0x142)](_0x21b3c4),_0x48adc0||!this[_0x6f1148(0xe7)]||_0x6f1148(0x159)!=typeof this[_0x6f1148(0xe7)][_0x6f1148(0xee)])return Promise[_0x6f1148(0x168)]();const _0x11433f=this[_0x6f1148(0xeb)][_0x6f1148(0x179)][_0x6f1148(0x15b)](_0x6f1148(0x183)),{channelId:_0x9d4086}=_0x8a2ba,_0x4ae05e=_0x11433f[_0x6f1148(0x12e)](_0x131ebb(this[_0x6f1148(0xeb)][_0x6f1148(0x116)],_0x6f1148(0x186)));return this[_0x6f1148(0xe7)][_0x6f1148(0xee)]({'channelId':_0x9d4086,'threadId':_0x5bd082,'commentId':_0x2c6d95})[_0x6f1148(0x11a)](()=>_0x11433f[_0x6f1148(0x199)](_0x4ae05e))[_0x6f1148(0xc7)](_0x4eab7d=>{const _0x2ff6f8=_0x6f1148;throw console[_0x2ff6f8(0x109)](_0x4eab7d),new _0x687c02(_0x2ff6f8(0x14d),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
24
+ _0x28afdc(){[_0x563a64(0x117)];['id'];[_0x563a64(0x13e)];[_0x563a64(0xf3)];[_0x563a64(0x124)];[_0x563a64(0x13a)];constructor(_0x15e5a4,_0x2f314e){const _0x51d846=_0x563a64;super();const _0x1469ca=_0x2f314e[_0x51d846(0x14c)];this[_0x51d846(0x117)]=_0x2f314e[_0x51d846(0x117)],this['id']=_0x2f314e['id'],this[_0x51d846(0x124)]=new _0x3de8d6(),this[_0x51d846(0x13a)]=_0x15e5a4,this[_0x51d846(0x13e)]=!0x1,this[_0x51d846(0xf3)]=_0x2f314e[_0x51d846(0xc8)],this[_0x51d846(0x17a)](_0x51d846(0xef),!0x0),this[_0x51d846(0x14a)](_0x51d846(0xd2))['to'](_0x15e5a4,_0x51d846(0x165),_0x15e5a4,_0x51d846(0x196),()=>_0x15e5a4[_0x51d846(0xd2)](this[_0x51d846(0x117)])),this[_0x51d846(0x14a)](_0x51d846(0x17d))['to'](_0x15e5a4,_0x51d846(0x165),()=>_0x15e5a4[_0x51d846(0xce)](this[_0x51d846(0x117)])[_0x51d846(0x16c)]),this[_0x51d846(0x14a)](_0x51d846(0x144))['to'](_0x15e5a4,_0x51d846(0x165),()=>{const _0x241bdd=_0x51d846,_0x207767=_0x15e5a4[_0x241bdd(0xce)](this[_0x241bdd(0x117)]);return _0x207767[_0x241bdd(0x17f)]||_0x207767[_0x241bdd(0x16c)];}),this[_0x51d846(0x14a)](_0x51d846(0x14c))['to'](_0x15e5a4,_0x51d846(0x165),()=>_0x1469ca&&_0x15e5a4[_0x51d846(0xce)](this[_0x51d846(0x117)])[_0x51d846(0x168)]),this[_0x51d846(0x17a)](_0x51d846(0xeb),_0x2f314e[_0x51d846(0xeb)]),this[_0x51d846(0x14a)](_0x51d846(0x105))['to'](this,_0x51d846(0x15e),this,_0x51d846(0x106),(_0x42b9d6,_0x368aad)=>_0x42b9d6?_0x368aad?_0x42b9d6<_0x368aad?_0x42b9d6:_0x368aad:_0x42b9d6:_0x368aad),this[_0x51d846(0x17a)](_0x51d846(0x106),_0x2f314e[_0x51d846(0x106)]||null),this[_0x51d846(0x17a)](_0x51d846(0x15e),_0x2f314e[_0x51d846(0x15e)]||null),this[_0x51d846(0x17a)](_0x51d846(0xec),_0x2f314e[_0x51d846(0xec)]||null),this[_0x51d846(0x14a)](_0x51d846(0xbf))['to'](this,_0x51d846(0x15e),_0x36aa69=>!!_0x36aa69),this[_0x51d846(0x17a)](_0x51d846(0x11f),_0x2f314e[_0x51d846(0x11f)]||{});}get[_0x563a64(0x104)](){const _0x3d6175=_0x563a64;return Array[_0x3d6175(0x134)](this[_0x3d6175(0x124)])[_0x3d6175(0xe0)]((_0x30d54c,_0x3d8547)=>_0x30d54c+_0x3d8547[_0x3d6175(0x104)],0x0);}get[_0x563a64(0x139)](){const _0x1459d4=_0x563a64;return this[_0x1459d4(0x124)][_0x1459d4(0x139)];}get[_0x563a64(0x156)](){const _0x1fc84a=_0x563a64;return this[_0x1fc84a(0x13e)];}get[_0x563a64(0xc8)](){const _0x5980fc=_0x563a64;return this[_0x5980fc(0xf3)];}[_0x563a64(0x19f)](){const _0x8218ef=_0x563a64,{channelId:_0x5b4583,id:_0x2059c6}=this;this[_0x8218ef(0x13a)][_0x8218ef(0xd9)](Nt(_0x8218ef(0x176),_0x5b4583),{'channelId':_0x5b4583,'threadId':_0x2059c6});}[_0x563a64(0x111)](_0x46c609){const _0x3ea20b=_0x563a64;this[_0x3ea20b(0x164)]({'unlinkedAt':_0x46c609});}[_0x563a64(0x168)]({resolvedAt:_0x364c8d=new Date(),resolvedBy:_0x1c8384='',isFromAdapter:_0x3ff6dc=!0x1}={}){const _0x41ae8d=_0x563a64,_0xdf384f=this[_0x41ae8d(0x13a)][_0x41ae8d(0xeb)][_0x41ae8d(0x179)][_0x41ae8d(0x15b)](_0x4ecbd7)['me'],{channelId:_0x5daf6c,id:_0x554586}=this;this[_0x41ae8d(0x13a)][_0x41ae8d(0xd9)](Nt(_0x41ae8d(0xfe),_0x5daf6c),{'channelId':_0x5daf6c,'threadId':_0x554586,'resolvedAt':_0x364c8d,'resolvedBy':_0x1c8384||_0xdf384f['id'],'isFromAdapter':_0x3ff6dc});}[_0x563a64(0x1a5)]({isFromAdapter:_0x29b871=!0x1}={}){const _0x575435=_0x563a64,{channelId:_0x502a81,id:_0xb53238}=this;this[_0x575435(0x13a)][_0x575435(0xd9)](Nt(_0x575435(0x1a8),_0x502a81),{'channelId':_0x502a81,'threadId':_0xb53238,'isFromAdapter':_0x29b871});}[_0x563a64(0x12c)](_0x321bac){const _0x1691ea=_0x563a64;this[_0x1691ea(0xeb)]||this[_0x1691ea(0x164)]({'context':_0x321bac});}[_0x563a64(0xe4)](_0x1e469c,_0x1ae395){const _0x1da08d=_0x563a64,_0x2ddf65=_0x1bc804(this[_0x1da08d(0x11f)]);_0x2f1fd5(_0x2ddf65,_0x1e469c,_0x1ae395),this[_0x1da08d(0x164)]({'attributes':_0x2ddf65});}[_0x563a64(0x135)](_0x4e50c0){const _0x1a2661=_0x563a64,_0x4d6162=_0x1bc804(this[_0x1a2661(0x11f)]);_0x1358af(_0x4d6162,_0x4e50c0),this[_0x1a2661(0x164)]({'attributes':_0x4d6162});}[_0x563a64(0x199)]({isFromAdapter:_0x252ded=!0x1}={}){const _0x1aff55=_0x563a64,{channelId:_0x4e0c9c,id:_0x265b6c}=this;this[_0x1aff55(0x13a)][_0x1aff55(0xd9)](Nt(_0x1aff55(0x194),_0x4e0c9c),{'channelId':_0x4e0c9c,'threadId':_0x265b6c,'isFromAdapter':_0x252ded});}[_0x563a64(0xf7)](_0x300881){const _0x246475=_0x563a64;return this[_0x246475(0x13a)][_0x246475(0xe1)]({'threadId':this['id'],'target':_0x300881});}[_0x563a64(0x122)](_0x3acea9){const _0x3c6ee6=_0x563a64,{channelId:_0x1590cb,id:_0x3063d4}=this;this[_0x3c6ee6(0x13a)][_0x3c6ee6(0xd9)](Nt(_0x3c6ee6(0x122),_0x1590cb,_0x3063d4),Object[_0x3c6ee6(0x151)]({'channelId':_0x1590cb,'threadId':_0x3063d4},_0x3acea9));}[_0x563a64(0x197)](_0x1988c7){const _0x12b8e7=_0x563a64;if(_0x12b8e7(0xd3)!=typeof _0x1988c7)throw new _0x687c02(_0x12b8e7(0x12a),null,{'commentId':_0x1988c7});return this[_0x12b8e7(0x124)][_0x12b8e7(0x15b)](_0x1988c7);}[_0x563a64(0x108)](){const _0x37866c=_0x563a64;return{'threadId':this['id'],'context':this[_0x37866c(0xeb)],'unlinkedAt':this[_0x37866c(0x106)],'resolvedAt':this[_0x37866c(0x15e)],'resolvedBy':this[_0x37866c(0xec)]?this[_0x37866c(0xec)]['id']:null,'archivedAt':this[_0x37866c(0x105)],'comments':this[_0x37866c(0x124)][_0x37866c(0x1a2)](_0x1ceb8d=>_0x1ceb8d[_0x37866c(0x108)]()),'attributes':this[_0x37866c(0x11f)]};}[_0x563a64(0x131)](_0x36d85a){const _0x39214e=_0x563a64;return this[_0x39214e(0x19c)](_0x36d85a,_0x39214e(0x13b),()=>{const _0x4eea7c=_0x39214e,_0x38f750=this[_0x4eea7c(0xf4)](_0x36d85a),_0x322642=this[_0x4eea7c(0x124)];_0x38f750-0x1!=_0x322642[_0x4eea7c(0xe3)](_0x36d85a)&&_0x38f750+0x1!=_0x322642[_0x4eea7c(0xe3)](_0x36d85a)&&(this[_0x4eea7c(0x142)](_0x36d85a),this[_0x4eea7c(0x131)](_0x36d85a));}),this[_0x39214e(0x124)][_0x39214e(0x12e)](_0x36d85a,this[_0x39214e(0xf4)](_0x36d85a));}[_0x563a64(0x164)](_0x5aea1){const _0x67a9f6=_0x563a64,{channelId:_0x10c68e,id:_0x27fa6c}=this;this[_0x67a9f6(0x13a)][_0x67a9f6(0xd9)](Nt(_0x67a9f6(0xd5),_0x10c68e),{..._0x5aea1,'channelId':_0x10c68e,'threadId':_0x27fa6c});}[_0x563a64(0x142)](_0x1e78b6){const _0x5403e1=_0x563a64;return this[_0x5403e1(0x173)](_0x1e78b6),_0x1e78b6[_0x5403e1(0x19b)](),this[_0x5403e1(0x124)][_0x5403e1(0x199)](_0x1e78b6);}[_0x563a64(0xf4)](_0x1ead30){const _0x2f4c5e=_0x563a64,_0x3a6a56=this[_0x2f4c5e(0x124)][_0x2f4c5e(0xd1)](_0x5a4c78=>new Date(_0x5a4c78[_0x2f4c5e(0xe6)])[_0x2f4c5e(0x192)]()>new Date(_0x1ead30[_0x2f4c5e(0xe6)])[_0x2f4c5e(0x192)]());return _0x3a6a56?this[_0x2f4c5e(0x124)][_0x2f4c5e(0xe3)](_0x3a6a56):this[_0x2f4c5e(0x139)];}}export class Comment extends/* #__PURE__ -- @preserve */
25
+ _0x28afdc(){['id'];[_0x563a64(0x16a)];[_0x563a64(0xf8)];[_0x563a64(0xf0)];[_0x563a64(0xcc)];[_0x563a64(0x133)];[_0x563a64(0x13a)];constructor(_0x5e4f37,_0x384944){const _0x1dc040=_0x563a64;super();const _0x519f62=_0x5e4f37[_0x1dc040(0xeb)][_0x1dc040(0x179)][_0x1dc040(0x15b)](_0x4ecbd7)['me'],_0xd808af=_0x5e4f37[_0x1dc040(0x170)](_0x384944[_0x1dc040(0x16a)]),_0x6dad4c=0x0===_0xd808af[_0x1dc040(0x124)][_0x1dc040(0x139)],_0x506717=_0x519f62===_0x384944[_0x1dc040(0xf8)];this['id']=_0x384944['id'],this[_0x1dc040(0x16a)]=_0x384944[_0x1dc040(0x16a)],this[_0x1dc040(0xf8)]=_0x384944[_0x1dc040(0xf8)],this[_0x1dc040(0xf0)]=_0x384944[_0x1dc040(0xf0)],this[_0x1dc040(0xcc)]=Boolean(_0x384944[_0x1dc040(0x11f)]&&_0x384944[_0x1dc040(0x11f)][_0x1dc040(0x141)]),this[_0x1dc040(0x17a)](_0x1dc040(0x132),_0x384944[_0x1dc040(0x132)]),this[_0x1dc040(0x133)]=_0x384944[_0x1dc040(0x133)]||new Date(),this[_0x1dc040(0x17a)](_0x1dc040(0xe6),_0x384944[_0x1dc040(0xe6)]||new Date()),this[_0x1dc040(0x14a)](_0x1dc040(0x15e))['to'](_0xd808af,_0x1dc040(0x15e)),this[_0x1dc040(0x17a)](_0x1dc040(0x11f),_0x384944[_0x1dc040(0x11f)]||{}),this[_0x1dc040(0x14a)](_0x1dc040(0x157))['to'](_0x5e4f37,_0x1dc040(0x165),()=>{const _0x5513de=_0x1dc040,_0x57cb67=_0x5e4f37[_0x5513de(0xce)](_0xd808af[_0x5513de(0x117)])[_0x5513de(0x17f)],_0x334659=_0x5e4f37[_0x5513de(0xce)](_0xd808af[_0x5513de(0x117)])[_0x5513de(0x127)];return _0x506717&&_0x57cb67||!_0x506717&&_0x334659;}),this[_0x1dc040(0x14a)](_0x1dc040(0x17d))['to'](_0xd808af,_0x1dc040(0x17d),_0x5e4f37,_0x1dc040(0x165),_0x1d880f=>{const _0x5c03b7=_0x1dc040,_0x30fe58=_0x5e4f37[_0x5c03b7(0xce)](_0xd808af[_0x5c03b7(0x117)])[_0x5c03b7(0x17f)],_0x14390c=_0x5e4f37[_0x5c03b7(0xce)](_0xd808af[_0x5c03b7(0x117)])[_0x5c03b7(0x127)];return _0x506717&&_0x30fe58||_0x1d880f&&_0x6dad4c||!_0x506717&&_0x14390c&&!_0x6dad4c;}),this[_0x1dc040(0x14a)](_0x1dc040(0xd2))['to'](_0xd808af,_0x1dc040(0xd2)),this[_0x1dc040(0x13a)]=_0x5e4f37;}get[_0x563a64(0x104)](){const _0x1cb70f=_0x563a64;return Math[_0x1cb70f(0xd8)](function(_0x403201){const _0x155aac=_0x1cb70f,_0x3baf7b=document[_0x155aac(0xdf)](_0x155aac(0x107));return _0x3baf7b[_0x155aac(0xfb)]=_0x403201,_0x3baf7b[_0x155aac(0x11b)][_0x155aac(0x139)];}(this[_0x1cb70f(0x132)]),0xc8);}[_0x563a64(0x174)](_0x11a573){const _0x34ccb2=_0x563a64,{threadId:_0x1d2b90,id:_0x3efb03}=this;if(!this[_0x34ccb2(0x13a)][_0x34ccb2(0x148)](_0x1d2b90))throw new _0x687c02(_0x34ccb2(0x113),this);const {channelId:_0x106625}=this[_0x34ccb2(0x13a)][_0x34ccb2(0x170)](_0x1d2b90);this[_0x34ccb2(0x13a)][_0x34ccb2(0xd9)](Nt(_0x34ccb2(0x177),_0x106625,_0x1d2b90),{'channelId':_0x106625,'threadId':_0x1d2b90,'commentId':_0x3efb03,..._0x11a573});}[_0x563a64(0xe4)](_0x2d9604,_0x2c6e4f){const _0x313cc8=_0x563a64,_0x5011ab=_0x1bc804(this[_0x313cc8(0x11f)]);_0x2f1fd5(_0x5011ab,_0x2d9604,_0x2c6e4f),this[_0x313cc8(0x174)]({'attributes':_0x5011ab});}[_0x563a64(0x135)](_0x33393d){const _0x1d0feb=_0x563a64,_0x4450f8=_0x1bc804(this[_0x1d0feb(0x11f)]);_0x1358af(_0x4450f8,_0x33393d),this[_0x1d0feb(0x174)]({'attributes':_0x4450f8});}[_0x563a64(0x199)](_0x5e5635={}){const _0x16e617=_0x563a64;if(!_0x5e5635[_0x16e617(0xc3)]&&!this[_0x16e617(0x17d)])return;const {threadId:_0x401382,id:_0x148677}=this;if(!this[_0x16e617(0x13a)][_0x16e617(0x148)](_0x401382))throw new _0x687c02(_0x16e617(0xda),this);const {channelId:_0x2c6e26}=this[_0x16e617(0x13a)][_0x16e617(0x170)](_0x401382);this[_0x16e617(0x13a)][_0x16e617(0xd9)](Nt(_0x16e617(0xee),_0x2c6e26,_0x401382),{'channelId':_0x2c6e26,'threadId':_0x401382,'commentId':_0x148677,..._0x5e5635});}[_0x563a64(0x108)](){const _0x36d3b3=_0x563a64;return{'commentId':this['id'],'content':this[_0x36d3b3(0x132)],'createdAt':this[_0x36d3b3(0x133)],'authorId':this[_0x36d3b3(0xf0)]['id'],'attributes':this[_0x36d3b3(0x11f)]};}[_0x563a64(0x19b)](){const _0x51940b=_0x563a64;this[_0x51940b(0x173)]();}}function Nt(_0x6028c5,..._0x1bf0f1){for(const _0x205822 of _0x1bf0f1)void 0x0!==_0x205822&&(_0x6028c5+=':'+String(_0x205822));return _0x6028c5;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1bff(){const _0x58cf10=['addComment','hasMarkerForId','add','find','36UQFeIJ','_showLicenseError','getRange','_viewToController','isEnabled','domainLimit','comment','Comments','hasCommentThread','_createUIButton','bind','invalid','config','2658YKcVoc','has','commentsLicenseKeyInvalid','usageLimit','removeCommentThread','commands','commentsLicenseKeyNotAllowed','getCommentThread','activeMarker','requires','1155925HTHeZw','stop','length','hasContent','4019YvmWJx','view','commentsLicenseKeyUsageLimit','focusTracker','highest','get','init','menuBar:comment','componentFactory','10xvRiys','CommentThreadInputView','isOfficialPlugin','locale','editor','82dAOPgl','set','48PokqOD','commentsLicenseKeyEvaluationLimit','push','map','313522OOqYsa','destroy','execute','commentsLicenseKeyExpired','plugins','CommentsListView','getAllMarkersForId','Comment','pluginName','expired','_threadToController','tooltip','2443fMXyUo','isPremiumPlugin','low','_licenseKeyCheckInterval','focus','4244097uAEUVE','editing','1220092ocvFfg','evaluationLimit','addSourceCollector','isFocused','model','commentsLicenseKeyValid','CommentsUI','featureNotAllowed','3ZswOur','innerView','342018QNbUcx','change:activeAnnotations','addCommentThread','commentsLicenseKeyDomainLimit','licenseKey','from','comment:','listenTo'];_0x1bff=function(){return _0x58cf10;};return _0x1bff();}function _0x1b06(_0x1283b1,_0x4599a1){const _0x1bffee=_0x1bff();return _0x1b06=function(_0x1b0650,_0x254da0){_0x1b0650=_0x1b0650-0x118;let _0x315939=_0x1bffee[_0x1b0650];return _0x315939;},_0x1b06(_0x1283b1,_0x4599a1);}const _0x198d30=_0x1b06;(function(_0x332786,_0x5c5950){const _0x5c29ed=_0x1b06,_0x1e45ff=_0x332786();while(!![]){try{const _0x26bdc1=parseInt(_0x5c29ed(0x162))/0x1*(-parseInt(_0x5c29ed(0x118))/0x2)+-parseInt(_0x5c29ed(0x139))/0x3*(parseInt(_0x5c29ed(0x131))/0x4)+-parseInt(_0x5c29ed(0x15e))/0x5+-parseInt(_0x5c29ed(0x154))/0x6*(-parseInt(_0x5c29ed(0x12a))/0x7)+parseInt(_0x5c29ed(0x11a))/0x8*(-parseInt(_0x5c29ed(0x13b))/0x9)+parseInt(_0x5c29ed(0x16b))/0xa*(parseInt(_0x5c29ed(0x11e))/0xb)+parseInt(_0x5c29ed(0x147))/0xc*(parseInt(_0x5c29ed(0x12f))/0xd);if(_0x26bdc1===_0x5c5950)break;else _0x1e45ff['push'](_0x1e45ff['shift']());}catch(_0x423ac7){_0x1e45ff['push'](_0x1e45ff['shift']());}}}(_0x1bff,0x3902d));import{Plugin as _0x3af277}from'ckeditor5/src/core.js';import{IconAddComment as _0x18a560}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x362bd5}from'./commentsrepository.js';import{CommentsEditing as _0x2c3a40}from'./commentsediting.js';import{EditorAnnotations as _0x4416dd}from'../annotations/editorannotations.js';import{ButtonView as _0x27e3e6,MenuBarMenuListItemButtonView as _0x126f62}from'ckeditor5/src/ui.js';import{Annotations as _0x377822}from'../annotations/annotations.js';import{CommentsListView as _0x918d1}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x49520f}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x3c9e40}from'../utils/common-translations.js';export class CommentsUI extends _0x3af277{[_0x198d30(0x13f)];[_0x198d30(0x12d)];static get[_0x198d30(0x126)](){const _0x403bbf=_0x198d30;return _0x403bbf(0x137);}static get[_0x198d30(0x16d)](){return!0x0;}static get[_0x198d30(0x12b)](){return!0x0;}static get[_0x198d30(0x15d)](){return[_0x362bd5,_0x2c3a40,_0x4416dd,_0x377822];}get[_0x198d30(0x123)](){return _0x918d1;}get[_0x198d30(0x16c)](){return _0x49520f;}[_0x198d30(0x168)](){const _0x558035=_0x198d30,_0x8cf66b=this[_0x558035(0x16f)],_0x2ad1d9=_0x8cf66b[_0x558035(0x122)][_0x558035(0x167)](_0x362bd5),_0x48159a=_0x8cf66b[_0x558035(0x122)][_0x558035(0x167)](_0x2c3a40),_0x5c98ad=_0x8cf66b[_0x558035(0x122)][_0x558035(0x167)](_0x377822),_0x160337=_0x8cf66b[_0x558035(0x122)][_0x558035(0x167)](_0x4416dd);_0x8cf66b['ui'][_0x558035(0x16a)][_0x558035(0x145)](_0x558035(0x14d),()=>{const _0x4fb6bc=_0x558035,_0x326b22=this[_0x4fb6bc(0x150)](_0x27e3e6);return _0x326b22[_0x4fb6bc(0x129)]=!0x0,_0x326b22;}),_0x8cf66b['ui'][_0x558035(0x16a)][_0x558035(0x145)](_0x558035(0x169),()=>this[_0x558035(0x150)](_0x126f62)),_0x160337[_0x558035(0x133)](()=>{const _0x403a72=_0x558035,_0x23d315=[];for(const [_0x4bf272,_0x1f74be]of _0x2ad1d9[_0x403a72(0x128)]){const _0xc44917=_0x48159a[_0x403a72(0x124)](_0x4bf272['id']),_0x36908c=_0xc44917[_0x403a72(0x11d)](_0x17bc77=>_0x17bc77[_0x403a72(0x149)]());_0xc44917[_0x403a72(0x160)]>0x0&&_0x23d315[_0x403a72(0x11c)]([_0x1f74be[_0x403a72(0x163)],_0x36908c]);}return _0x23d315;}),this[_0x558035(0x142)](_0x5c98ad,_0x558035(0x13c),(_0x587895,_0x45971b,_0x4da7c7)=>{const _0x564c42=_0x558035,_0x504702=Array[_0x564c42(0x140)](_0x4da7c7)[_0x564c42(0x11d)](_0x1763dd=>_0x1763dd[_0x564c42(0x13a)])[_0x564c42(0x146)](_0x7212b6=>_0x2ad1d9[_0x564c42(0x14a)][_0x564c42(0x155)](_0x7212b6));if(!_0x504702)return void(_0x48159a[_0x564c42(0x15c)]=null);const _0x329420=_0x2ad1d9[_0x564c42(0x14a)][_0x564c42(0x167)](_0x504702)[_0x564c42(0x135)]['id'],_0x38edd7=_0x564c42(0x141)+_0x329420;_0x329420&&_0x48159a[_0x564c42(0x144)](_0x329420)?_0x48159a[_0x564c42(0x15c)]=_0x38edd7:_0x48159a[_0x564c42(0x15c)]&&(_0x48159a[_0x564c42(0x15c)]=null);}),this[_0x558035(0x142)](_0x2ad1d9,_0x558035(0x158),(_0x436941,{threadId:_0x5adfb9,isFromAdapter:_0x40706a})=>{const _0x5ed25a=_0x558035;!_0x40706a&&_0x8cf66b['ui'][_0x5ed25a(0x165)][_0x5ed25a(0x134)]&&_0x48159a[_0x5ed25a(0x144)](_0x5adfb9)&&_0x8cf66b[_0x5ed25a(0x130)][_0x5ed25a(0x163)][_0x5ed25a(0x12e)]();},{'priority':_0x558035(0x166)}),this[_0x558035(0x142)](_0x2ad1d9,_0x558035(0x143),(_0x4befb6,{threadId:_0x524841,isFromAdapter:_0x38a749})=>{const _0x53690a=_0x558035;if(_0x38a749||!_0x48159a[_0x53690a(0x144)](_0x524841)||!_0x2ad1d9[_0x53690a(0x14f)](_0x524841))return;0x1===_0x2ad1d9[_0x53690a(0x15b)](_0x524841)[_0x53690a(0x160)]&&(_0x8cf66b[_0x53690a(0x130)][_0x53690a(0x163)][_0x53690a(0x12e)](),_0x4befb6[_0x53690a(0x15f)]());},{'priority':_0x558035(0x12c)}),this[_0x558035(0x13f)]=this[_0x558035(0x16f)][_0x558035(0x153)][_0x558035(0x167)](_0x558035(0x13f));const _0x5b9edf=this[_0x558035(0x16f)];this[_0x558035(0x12d)]=setInterval(()=>{const _0x50389f=_0x558035;let _0xe79ef0;for(const _0x5e5669 in _0x5b9edf){const _0x12e160=_0x5e5669,_0x54dad9=_0x5b9edf[_0x12e160];if(_0x50389f(0x136)==_0x54dad9||_0x50389f(0x156)==_0x54dad9||_0x50389f(0x121)==_0x54dad9||_0x50389f(0x13e)==_0x54dad9||_0x50389f(0x15a)==_0x54dad9||_0x50389f(0x11b)==_0x54dad9||_0x50389f(0x164)==_0x54dad9){delete _0x5b9edf[_0x12e160],_0xe79ef0=_0x54dad9,clearInterval(this[_0x50389f(0x12d)]),this[_0x50389f(0x12d)]=void 0x0;break;}}_0x50389f(0x156)==_0xe79ef0&&_0x5b9edf[_0x50389f(0x148)](_0x50389f(0x152)),_0x50389f(0x121)==_0xe79ef0&&_0x5b9edf[_0x50389f(0x148)](_0x50389f(0x127)),_0x50389f(0x13e)==_0xe79ef0&&_0x5b9edf[_0x50389f(0x148)](_0x50389f(0x14c)),_0x50389f(0x15a)==_0xe79ef0&&_0x5b9edf[_0x50389f(0x148)](_0x50389f(0x138),_0x50389f(0x14e)),_0x50389f(0x11b)==_0xe79ef0&&_0x5b9edf[_0x50389f(0x148)](_0x50389f(0x132)),_0x50389f(0x164)==_0xe79ef0&&_0x5b9edf[_0x50389f(0x148)](_0x50389f(0x157));},0x3e8);}[_0x198d30(0x11f)](){const _0x282f38=_0x198d30;super[_0x282f38(0x11f)](),this[_0x282f38(0x12d)]&&clearInterval(this[_0x282f38(0x12d)]);}[_0x198d30(0x150)](_0x372846){const _0x35ba81=_0x198d30,_0x2085d0=this[_0x35ba81(0x16f)],_0xfdfc39=new _0x372846(_0x2085d0[_0x35ba81(0x16e)]),_0x53f6c7=_0x2085d0[_0x35ba81(0x159)][_0x35ba81(0x167)](_0x35ba81(0x13d));return _0xfdfc39[_0x35ba81(0x119)]({'label':_0x3c9e40(_0x2085d0[_0x35ba81(0x16e)],_0x35ba81(0x125)),'icon':_0x18a560}),_0xfdfc39[_0x35ba81(0x151)](_0x35ba81(0x14b))['to'](_0x53f6c7,_0x35ba81(0x14b),_0x53f6c7,_0x35ba81(0x161),(_0xa180a7,_0x524f72)=>_0xa180a7&&_0x524f72),this[_0x35ba81(0x142)](_0xfdfc39,_0x35ba81(0x120),()=>{const _0x325650=_0x35ba81;_0x53f6c7[_0x325650(0x120)]();}),_0xfdfc39;}}
23
+ const _0x252979=_0x1bfa;(function(_0x30b1da,_0x4a194c){const _0x28afbc=_0x1bfa,_0x205c8f=_0x30b1da();while(!![]){try{const _0x250ced=-parseInt(_0x28afbc(0x136))/0x1+-parseInt(_0x28afbc(0x119))/0x2*(parseInt(_0x28afbc(0x13a))/0x3)+-parseInt(_0x28afbc(0x14c))/0x4*(parseInt(_0x28afbc(0x159))/0x5)+-parseInt(_0x28afbc(0x12b))/0x6+parseInt(_0x28afbc(0x142))/0x7*(parseInt(_0x28afbc(0x12a))/0x8)+-parseInt(_0x28afbc(0x15c))/0x9*(-parseInt(_0x28afbc(0x10f))/0xa)+parseInt(_0x28afbc(0x151))/0xb;if(_0x250ced===_0x4a194c)break;else _0x205c8f['push'](_0x205c8f['shift']());}catch(_0x550d57){_0x205c8f['push'](_0x205c8f['shift']());}}}(_0x2c34,0x95413));import{Plugin as _0x4c4a14}from'ckeditor5/src/core.js';import{IconAddComment as _0x2c04ce}from'ckeditor5/src/icons.js';function _0x1bfa(_0x469eee,_0x4875fc){const _0x2c347d=_0x2c34();return _0x1bfa=function(_0x1bfaba,_0x35641a){_0x1bfaba=_0x1bfaba-0x10a;let _0x179fc4=_0x2c347d[_0x1bfaba];return _0x179fc4;},_0x1bfa(_0x469eee,_0x4875fc);}import{CommentsRepository as _0x1463c3}from'./commentsrepository.js';import{CommentsEditing as _0x5b1374}from'./commentsediting.js';import{EditorAnnotations as _0x577a35}from'../annotations/editorannotations.js';import{ButtonView as _0xc399ca,MenuBarMenuListItemButtonView as _0x39790f}from'ckeditor5/src/ui.js';function _0x2c34(){const _0x5f3208=['map','innerView','plugins','componentFactory','getCommentThread','low','addSourceCollector','382452wgQwPq','commentsLicenseKeyEvaluationLimit','change:activeAnnotations','invalid','_threadToController','featureNotAllowed','config','editor','stop','requires','376636IIgpRj','_licenseKeyCheckInterval','commands','push','isFocused','6207817ZAXHBJ','activeMarker','model','isPremiumPlugin','editing','init','pluginName','has','25HNRBVh','comment','from','7646823criprC','_viewToController','getRange','removeCommentThread','focusTracker','execute','highest','commentsLicenseKeyUsageLimit','hasCommentThread','10pKNpEk','view','CommentsUI','locale','listenTo','isEnabled','Comments','domainLimit','length','comment:','543238AOnzXy','evaluationLimit','commentsLicenseKeyValid','add','bind','usageLimit','commentsLicenseKeyInvalid','_showLicenseError','commentsLicenseKeyDomainLimit','hasMarkerForId','menuBar:comment','set','destroy','Comment','expired','CommentThreadInputView','tooltip','120elySUH','4840494WfpLni','_createUIButton','getAllMarkersForId','addCommentThread','addComment','commentsLicenseKeyNotAllowed','commentsLicenseKeyExpired','licenseKey','find','CommentsListView','focus','73024hzbwpL','hasContent','isOfficialPlugin','get','3AHIEmM'];_0x2c34=function(){return _0x5f3208;};return _0x2c34();}import{Annotations as _0x1e4b5e}from'../annotations/annotations.js';import{CommentsListView as _0x5a9ee1}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x4d52dd}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x12b777}from'../utils/common-translations.js';export class CommentsUI extends _0x4c4a14{[_0x252979(0x132)];[_0x252979(0x14d)];static get[_0x252979(0x157)](){const _0x1ccc0c=_0x252979;return _0x1ccc0c(0x111);}static get[_0x252979(0x138)](){return!0x0;}static get[_0x252979(0x154)](){return!0x0;}static get[_0x252979(0x14b)](){return[_0x1463c3,_0x5b1374,_0x577a35,_0x1e4b5e];}get[_0x252979(0x134)](){return _0x5a9ee1;}get[_0x252979(0x128)](){return _0x4d52dd;}[_0x252979(0x156)](){const _0x374693=_0x252979,_0x885f16=this[_0x374693(0x149)],_0x2719f5=_0x885f16[_0x374693(0x13d)][_0x374693(0x139)](_0x1463c3),_0x58ecac=_0x885f16[_0x374693(0x13d)][_0x374693(0x139)](_0x5b1374),_0x102e69=_0x885f16[_0x374693(0x13d)][_0x374693(0x139)](_0x1e4b5e),_0x2dcb52=_0x885f16[_0x374693(0x13d)][_0x374693(0x139)](_0x577a35);_0x885f16['ui'][_0x374693(0x13e)][_0x374693(0x11c)](_0x374693(0x15a),()=>{const _0x2ebc44=_0x374693,_0x231fbd=this[_0x2ebc44(0x12c)](_0xc399ca);return _0x231fbd[_0x2ebc44(0x129)]=!0x0,_0x231fbd;}),_0x885f16['ui'][_0x374693(0x13e)][_0x374693(0x11c)](_0x374693(0x123),()=>this[_0x374693(0x12c)](_0x39790f)),_0x2dcb52[_0x374693(0x141)](()=>{const _0x1d8a96=_0x374693,_0x357468=[];for(const [_0x2acda8,_0x27bf1d]of _0x2719f5[_0x1d8a96(0x146)]){const _0x183f49=_0x58ecac[_0x1d8a96(0x12d)](_0x2acda8['id']),_0x1a9209=_0x183f49[_0x1d8a96(0x13b)](_0x1169b1=>_0x1169b1[_0x1d8a96(0x15e)]());_0x183f49[_0x1d8a96(0x117)]>0x0&&_0x357468[_0x1d8a96(0x14f)]([_0x27bf1d[_0x1d8a96(0x110)],_0x1a9209]);}return _0x357468;}),this[_0x374693(0x113)](_0x102e69,_0x374693(0x144),(_0x35b516,_0x4f17ff,_0x1c29d2)=>{const _0x528c1d=_0x374693,_0x5cfa2d=Array[_0x528c1d(0x15b)](_0x1c29d2)[_0x528c1d(0x13b)](_0x3a6054=>_0x3a6054[_0x528c1d(0x13c)])[_0x528c1d(0x133)](_0x527599=>_0x2719f5[_0x528c1d(0x15d)][_0x528c1d(0x158)](_0x527599));if(!_0x5cfa2d)return void(_0x58ecac[_0x528c1d(0x152)]=null);const _0x39e4d4=_0x2719f5[_0x528c1d(0x15d)][_0x528c1d(0x139)](_0x5cfa2d)[_0x528c1d(0x153)]['id'],_0x599003=_0x528c1d(0x118)+_0x39e4d4;_0x39e4d4&&_0x58ecac[_0x528c1d(0x122)](_0x39e4d4)?_0x58ecac[_0x528c1d(0x152)]=_0x599003:_0x58ecac[_0x528c1d(0x152)]&&(_0x58ecac[_0x528c1d(0x152)]=null);}),this[_0x374693(0x113)](_0x2719f5,_0x374693(0x15f),(_0x4d0ca7,{threadId:_0x3e2212,isFromAdapter:_0xb4fb38})=>{const _0x21acae=_0x374693;!_0xb4fb38&&_0x885f16['ui'][_0x21acae(0x10a)][_0x21acae(0x150)]&&_0x58ecac[_0x21acae(0x122)](_0x3e2212)&&_0x885f16[_0x21acae(0x155)][_0x21acae(0x110)][_0x21acae(0x135)]();},{'priority':_0x374693(0x10c)}),this[_0x374693(0x113)](_0x2719f5,_0x374693(0x12f),(_0x34d2fb,{threadId:_0x5ce369,isFromAdapter:_0xa3c3a8})=>{const _0xf99526=_0x374693;if(_0xa3c3a8||!_0x58ecac[_0xf99526(0x122)](_0x5ce369)||!_0x2719f5[_0xf99526(0x10e)](_0x5ce369))return;0x1===_0x2719f5[_0xf99526(0x13f)](_0x5ce369)[_0xf99526(0x117)]&&(_0x885f16[_0xf99526(0x155)][_0xf99526(0x110)][_0xf99526(0x135)](),_0x34d2fb[_0xf99526(0x14a)]());},{'priority':_0x374693(0x140)}),this[_0x374693(0x132)]=this[_0x374693(0x149)][_0x374693(0x148)][_0x374693(0x139)](_0x374693(0x132));const _0x508755=this[_0x374693(0x149)];this[_0x374693(0x14d)]=setInterval(()=>{const _0x10ae3d=_0x374693;let _0x17ac8b;for(const _0x214a58 in _0x508755){const _0x3c1de0=_0x214a58,_0x1649b=_0x508755[_0x3c1de0];if(_0x10ae3d(0x11b)==_0x1649b||_0x10ae3d(0x11f)==_0x1649b||_0x10ae3d(0x131)==_0x1649b||_0x10ae3d(0x121)==_0x1649b||_0x10ae3d(0x130)==_0x1649b||_0x10ae3d(0x143)==_0x1649b||_0x10ae3d(0x10d)==_0x1649b){delete _0x508755[_0x3c1de0],_0x17ac8b=_0x1649b,clearInterval(this[_0x10ae3d(0x14d)]),this[_0x10ae3d(0x14d)]=void 0x0;break;}}_0x10ae3d(0x11f)==_0x17ac8b&&_0x508755[_0x10ae3d(0x120)](_0x10ae3d(0x145)),_0x10ae3d(0x131)==_0x17ac8b&&_0x508755[_0x10ae3d(0x120)](_0x10ae3d(0x127)),_0x10ae3d(0x121)==_0x17ac8b&&_0x508755[_0x10ae3d(0x120)](_0x10ae3d(0x116)),_0x10ae3d(0x130)==_0x17ac8b&&_0x508755[_0x10ae3d(0x120)](_0x10ae3d(0x147),_0x10ae3d(0x115)),_0x10ae3d(0x143)==_0x17ac8b&&_0x508755[_0x10ae3d(0x120)](_0x10ae3d(0x11a)),_0x10ae3d(0x10d)==_0x17ac8b&&_0x508755[_0x10ae3d(0x120)](_0x10ae3d(0x11e));},0x3e8);}[_0x252979(0x125)](){const _0x5d893e=_0x252979;super[_0x5d893e(0x125)](),this[_0x5d893e(0x14d)]&&clearInterval(this[_0x5d893e(0x14d)]);}[_0x252979(0x12c)](_0x4dcef1){const _0x41ed61=_0x252979,_0x366656=this[_0x41ed61(0x149)],_0x487217=new _0x4dcef1(_0x366656[_0x41ed61(0x112)]),_0x32beb6=_0x366656[_0x41ed61(0x14e)][_0x41ed61(0x139)](_0x41ed61(0x12e));return _0x487217[_0x41ed61(0x124)]({'label':_0x12b777(_0x366656[_0x41ed61(0x112)],_0x41ed61(0x126)),'icon':_0x2c04ce}),_0x487217[_0x41ed61(0x11d)](_0x41ed61(0x114))['to'](_0x32beb6,_0x41ed61(0x114),_0x32beb6,_0x41ed61(0x137),(_0x131f15,_0x28109e)=>_0x131f15&&_0x28109e),this[_0x41ed61(0x113)](_0x487217,_0x41ed61(0x10b),()=>{const _0x2116ae=_0x41ed61;_0x32beb6[_0x2116ae(0x10b)]();}),_0x487217;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a15fa=_0x1f8f;function _0x1f8f(_0x5a5e31,_0x3131ad){const _0xf30a1b=_0xf30a();return _0x1f8f=function(_0x1f8f5b,_0x5d6ff1){_0x1f8f5b=_0x1f8f5b-0x16c;let _0x1d5fde=_0xf30a1b[_0x1f8f5b];return _0x1d5fde;},_0x1f8f(_0x5a5e31,_0x3131ad);}(function(_0x36591c,_0xc222a9){const _0x6ecd84=_0x1f8f,_0x111f9d=_0x36591c();while(!![]){try{const _0x54f5f7=-parseInt(_0x6ecd84(0x192))/0x1+-parseInt(_0x6ecd84(0x16c))/0x2+parseInt(_0x6ecd84(0x182))/0x3*(-parseInt(_0x6ecd84(0x17a))/0x4)+-parseInt(_0x6ecd84(0x18e))/0x5+-parseInt(_0x6ecd84(0x184))/0x6+-parseInt(_0x6ecd84(0x179))/0x7*(-parseInt(_0x6ecd84(0x177))/0x8)+-parseInt(_0x6ecd84(0x183))/0x9*(-parseInt(_0x6ecd84(0x181))/0xa);if(_0x54f5f7===_0xc222a9)break;else _0x111f9d['push'](_0x111f9d['shift']());}catch(_0xc77004){_0x111f9d['push'](_0x111f9d['shift']());}}}(_0xf30a,0x18df1));import{Plugin as _0x48b37f}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0xf5fda1,ClipboardMarkersUtils as _0x551ef8}from'ckeditor5/src/clipboard.js';function _0xf30a(){const _0x35026f=['highest','markers','afterInit','config','never','requires','5248uThxHa','keys','2128vgQgtb','8mCANxZ','plugins','define','editor','comments.copyMarkers','get','default','10lhNZhR','210867WTUOxd','3523851KSVmlF','482460FqyKcQ','_registerMarkerToCopy','always','ClipboardPipeline','split','contentInsertion','comment','ClipboardMarkersUtils','_registerMarkerInClipboardPipeline','content','147505dOKakg','cut','has','hasCommentThread','171505cqKnpm','dragstart','_mapCommentsCopyConfigToRegisterConfiguration','CommentsRepository','134192nHvKqI','all','_removeMarkersWithoutThreads','delete','listenTo'];_0xf30a=function(){return _0x35026f;};return _0xf30a();}export class CommentsClipboard extends _0x48b37f{constructor(_0x49277f){const _0x478686=_0x1f8f;super(_0x49277f),this[_0x478686(0x17d)][_0x478686(0x174)][_0x478686(0x17c)](_0x478686(0x17e),_0x478686(0x180));}static get[_0x5a15fa(0x176)](){return[_0x551ef8,_0xf5fda1];}[_0x5a15fa(0x173)](){const _0x490684=_0x5a15fa,_0x193eb8=this[_0x490684(0x17d)][_0x490684(0x17b)][_0x490684(0x17f)](_0x490684(0x187));this[_0x490684(0x18c)](),this[_0x490684(0x170)](_0x193eb8,_0x490684(0x189),(_0x3dac5d,_0xfe7bda)=>this[_0x490684(0x16e)](_0xfe7bda[_0x490684(0x18d)][_0x490684(0x172)]),{'priority':_0x490684(0x171)});}[_0x5a15fa(0x16e)](_0x341d5f){const _0x303a0c=_0x5a15fa;if(!this[_0x303a0c(0x17d)][_0x303a0c(0x17b)][_0x303a0c(0x190)](_0x303a0c(0x195)))return _0x341d5f;const _0xf2cf6d=this[_0x303a0c(0x17d)][_0x303a0c(0x17b)][_0x303a0c(0x17f)](_0x303a0c(0x195));for(const _0x5b320f of _0x341d5f[_0x303a0c(0x178)]()){const [_0x2c652e,_0x3929d6]=_0x5b320f[_0x303a0c(0x188)](':');_0x303a0c(0x18a)!=_0x2c652e||_0xf2cf6d[_0x303a0c(0x191)](_0x3929d6)||_0x341d5f[_0x303a0c(0x16f)](_0x5b320f);}return _0x341d5f;}[_0x5a15fa(0x18c)](){const _0x4bf7a2=_0x5a15fa,_0x161b2e=this[_0x4bf7a2(0x17d)][_0x4bf7a2(0x17b)][_0x4bf7a2(0x17f)](_0x4bf7a2(0x18b)),_0x3d9ae1=this[_0x4bf7a2(0x194)](this[_0x4bf7a2(0x17d)][_0x4bf7a2(0x174)][_0x4bf7a2(0x17f)](_0x4bf7a2(0x17e)));_0x3d9ae1&&_0x161b2e[_0x4bf7a2(0x185)](_0x4bf7a2(0x18a),_0x3d9ae1);}[_0x5a15fa(0x194)](_0x5460e5){const _0x1e13ea=_0x5a15fa;switch(_0x5460e5){case _0x1e13ea(0x186):return{'allowedActions':_0x1e13ea(0x16d),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x1e13ea(0x180):return{'allowedActions':[_0x1e13ea(0x18f),_0x1e13ea(0x193)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x1e13ea(0x175):return null;default:return null;}}}
23
+ const _0x374dc7=_0x4d7b;(function(_0x789a70,_0x15b4fe){const _0x3d7e31=_0x4d7b,_0x355951=_0x789a70();while(!![]){try{const _0x1a0759=-parseInt(_0x3d7e31(0x8b))/0x1*(parseInt(_0x3d7e31(0x83))/0x2)+parseInt(_0x3d7e31(0x6f))/0x3*(-parseInt(_0x3d7e31(0x92))/0x4)+-parseInt(_0x3d7e31(0x84))/0x5+-parseInt(_0x3d7e31(0x88))/0x6+-parseInt(_0x3d7e31(0x74))/0x7+-parseInt(_0x3d7e31(0x79))/0x8*(parseInt(_0x3d7e31(0x81))/0x9)+parseInt(_0x3d7e31(0x8e))/0xa*(parseInt(_0x3d7e31(0x73))/0xb);if(_0x1a0759===_0x15b4fe)break;else _0x355951['push'](_0x355951['shift']());}catch(_0x4c63da){_0x355951['push'](_0x355951['shift']());}}}(_0x5c39,0xb2f7d));import{Plugin as _0x37d05b}from'ckeditor5/src/core.js';function _0x4d7b(_0x2e1e5b,_0x26182c){const _0x5c39c5=_0x5c39();return _0x4d7b=function(_0x4d7b05,_0x37ba5d){_0x4d7b05=_0x4d7b05-0x6f;let _0x2ff8cf=_0x5c39c5[_0x4d7b05];return _0x2ff8cf;},_0x4d7b(_0x2e1e5b,_0x26182c);}import{ClipboardPipeline as _0x2c48f8,ClipboardMarkersUtils as _0x1bbace}from'ckeditor5/src/clipboard.js';export class CommentsClipboard extends _0x37d05b{constructor(_0x49d2e2){const _0x26ad66=_0x4d7b;super(_0x49d2e2),this[_0x26ad66(0x7b)][_0x26ad66(0x76)][_0x26ad66(0x71)](_0x26ad66(0x94),_0x26ad66(0x99));}static get[_0x374dc7(0x82)](){return[_0x1bbace,_0x2c48f8];}[_0x374dc7(0x98)](){const _0x30815a=_0x374dc7,_0x10023c=this[_0x30815a(0x7b)][_0x30815a(0x70)][_0x30815a(0x7a)](_0x30815a(0x89));this[_0x30815a(0x8a)](),this[_0x30815a(0x77)](_0x10023c,_0x30815a(0x7c),(_0x2db096,_0xb52b89)=>this[_0x30815a(0x8f)](_0xb52b89[_0x30815a(0x96)][_0x30815a(0x7d)]),{'priority':_0x30815a(0x93)});}[_0x374dc7(0x8f)](_0x535521){const _0x4ffa32=_0x374dc7;if(!this[_0x4ffa32(0x7b)][_0x4ffa32(0x70)][_0x4ffa32(0x72)](_0x4ffa32(0x8c)))return _0x535521;const _0x46d79f=this[_0x4ffa32(0x7b)][_0x4ffa32(0x70)][_0x4ffa32(0x7a)](_0x4ffa32(0x8c));for(const _0x279e2d of _0x535521[_0x4ffa32(0x86)]()){const [_0x605b23,_0x4874a2]=_0x279e2d[_0x4ffa32(0x95)](':');_0x4ffa32(0x7e)!=_0x605b23||_0x46d79f[_0x4ffa32(0x87)](_0x4874a2)||_0x535521[_0x4ffa32(0x90)](_0x279e2d);}return _0x535521;}[_0x374dc7(0x8a)](){const _0x1272ce=_0x374dc7,_0x440f9b=this[_0x1272ce(0x7b)][_0x1272ce(0x70)][_0x1272ce(0x7a)](_0x1272ce(0x75)),_0x2508ba=this[_0x1272ce(0x80)](this[_0x1272ce(0x7b)][_0x1272ce(0x76)][_0x1272ce(0x7a)](_0x1272ce(0x94)));_0x2508ba&&_0x440f9b[_0x1272ce(0x97)](_0x1272ce(0x7e),_0x2508ba);}[_0x374dc7(0x80)](_0x2e1fb0){const _0x58cbb0=_0x374dc7;switch(_0x2e1fb0){case _0x58cbb0(0x91):return{'allowedActions':_0x58cbb0(0x85),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x58cbb0(0x99):return{'allowedActions':[_0x58cbb0(0x78),_0x58cbb0(0x7f)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x58cbb0(0x8d):return null;default:return null;}}}function _0x5c39(){const _0x4ef697=['_registerMarkerToCopy','afterInit','default','651ibxaLb','plugins','define','has','99FFEymr','8151199IQVZqQ','ClipboardMarkersUtils','config','listenTo','cut','5598152LrxwHx','get','editor','contentInsertion','markers','comment','dragstart','_mapCommentsCopyConfigToRegisterConfiguration','9UVHlfL','requires','146NtuFUR','2290045GPIjXG','all','keys','hasCommentThread','6843924JkeAdj','ClipboardPipeline','_registerMarkerInClipboardPipeline','3067xYoYXd','CommentsRepository','never','6272480UkYtPe','_removeMarkersWithoutThreads','delete','always','22588YBPsuT','highest','comments.copyMarkers','split','content'];_0x5c39=function(){return _0x4ef697;};return _0x5c39();}