@ckeditor/ckeditor5-collaboration-core 35.4.0 → 36.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/lang/translations/af.po +1 -1
  2. package/lang/translations/ar.po +1 -1
  3. package/lang/translations/az.po +1 -1
  4. package/lang/translations/bg.po +1 -1
  5. package/lang/translations/bn.po +1 -1
  6. package/lang/translations/bs.po +1 -1
  7. package/lang/translations/ca.po +1 -1
  8. package/lang/translations/cs.po +1 -1
  9. package/lang/translations/da.po +1 -1
  10. package/lang/translations/de-ch.po +1 -1
  11. package/lang/translations/de.po +1 -1
  12. package/lang/translations/el.po +1 -1
  13. package/lang/translations/en-au.po +1 -1
  14. package/lang/translations/en.po +1 -1
  15. package/lang/translations/es-co.po +1 -1
  16. package/lang/translations/es.po +1 -1
  17. package/lang/translations/et.po +1 -1
  18. package/lang/translations/fa.po +1 -1
  19. package/lang/translations/fi.po +1 -1
  20. package/lang/translations/fr.po +1 -1
  21. package/lang/translations/gl.po +1 -1
  22. package/lang/translations/he.po +1 -1
  23. package/lang/translations/hi.po +1 -1
  24. package/lang/translations/hr.po +1 -1
  25. package/lang/translations/hu.po +1 -1
  26. package/lang/translations/id.po +1 -1
  27. package/lang/translations/it.po +1 -1
  28. package/lang/translations/ja.po +1 -1
  29. package/lang/translations/jv.po +1 -1
  30. package/lang/translations/ko.po +1 -1
  31. package/lang/translations/lt.po +1 -1
  32. package/lang/translations/lv.po +1 -1
  33. package/lang/translations/ms.po +1 -1
  34. package/lang/translations/nl.po +1 -1
  35. package/lang/translations/no.po +1 -1
  36. package/lang/translations/pl.po +1 -1
  37. package/lang/translations/pt-br.po +1 -1
  38. package/lang/translations/pt.po +1 -1
  39. package/lang/translations/ro.po +1 -1
  40. package/lang/translations/ru.po +1 -1
  41. package/lang/translations/sk.po +1 -1
  42. package/lang/translations/sr-latn.po +1 -1
  43. package/lang/translations/sr.po +1 -1
  44. package/lang/translations/sv.po +1 -1
  45. package/lang/translations/th.po +1 -1
  46. package/lang/translations/tk.po +1 -1
  47. package/lang/translations/tr.po +1 -1
  48. package/lang/translations/tt.po +1 -1
  49. package/lang/translations/ug.po +1 -1
  50. package/lang/translations/uk.po +1 -1
  51. package/lang/translations/ur.po +1 -1
  52. package/lang/translations/vi.po +1 -1
  53. package/lang/translations/zh-cn.po +1 -1
  54. package/lang/translations/zh.po +1 -1
  55. package/package.json +2 -2
  56. package/src/index.js +2 -2
  57. package/src/permissions.js +2 -2
  58. package/src/suggestionstyles.js +1 -1
  59. package/src/users/view/userview.js +2 -2
  60. package/src/users.js +2 -2
  61. package/src/utils/common-translations.js +2 -2
  62. package/src/utils/confirmmixin.js +2 -2
  63. package/src/utils/confirmview.js +2 -2
  64. package/src/utils/getdatetimeformatter.js +2 -2
  65. package/src/utils/getmarkerdomelement.js +2 -2
  66. package/src/utils/hashobject.js +2 -2
  67. package/src/utils/trim-html.js +2 -2
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-collaboration-core",
3
- "version": "35.4.0",
3
+ "version": "36.0.1",
4
4
  "description": "Base utilities used by CKEditor 5 collaboration features to support multiple users working together in a rich text editor.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -28,7 +28,7 @@
28
28
  ],
29
29
  "main": "src/index.js",
30
30
  "dependencies": {
31
- "ckeditor5": "^35.4.0",
31
+ "ckeditor5": "^36.0.1",
32
32
  "date-fns": "^2.17.0"
33
33
  }
34
34
  }
package/src/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export{default as Permissions}from'./permissions';export{default as Users}from'./users';export{default as UserView}from'./users/view/userview';export{default as getDateTimeFormatter}from'./utils/getdatetimeformatter';export{default as getMarkerDomElement}from'./utils/getmarkerdomelement';export{default as trimHtml}from'./utils/trim-html';export{default as ConfirmMixin}from'./utils/confirmmixin';export{default as hashObject}from'./utils/hashobject';export*from'./suggestionstyles';
23
+ export{default as Permissions}from'./permissions';export{default as Users}from'./users';export{default as UserView}from'./users/view/userview';export{default as getDateTimeFormatter}from'./utils/getdatetimeformatter';export{default as getMarkerDomElement,getAllMarkersDomElementsSorted}from'./utils/getmarkerdomelement';export{default as trimHtml}from'./utils/trim-html';export{default as ConfirmMixin}from'./utils/confirmmixin';export{default as hashObject}from'./utils/hashobject';export*from'./suggestionstyles';
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2067=['comment:admin','disableReadOnlyMode','includes','enableReadOnlyMode','editors','commands','config','document:write','permissions-set-permissions-invalid-channel-id','has','clearForceDisabled','get','find','context','collaboration.channelId','CommentsOnly','plugins','no-permissions','switchReadOnly','noPermissions','setAdminPermissions','Permissions','setPermissions','isEnabled'];(function(_0x62eedc,_0x2067cb){const _0x335c78=function(_0x243c9a){while(--_0x243c9a){_0x62eedc['push'](_0x62eedc['shift']());}};_0x335c78(++_0x2067cb);}(_0x2067,0x7d));const _0x335c=function(_0x62eedc,_0x2067cb){_0x62eedc=_0x62eedc-0x0;let _0x335c78=_0x2067[_0x62eedc];return _0x335c78;};import{ContextPlugin as _0x3373d1,Editor as _0x15be7c}from'ckeditor5/src/core';import{CKEditorError as _0x1f9364}from'ckeditor5/src/utils';export default class i extends _0x3373d1{static get['pluginName'](){return _0x335c('0x10');}[_0x335c('0x11')](_0x1b9eaa,_0x5ea864){let _0x53c520;if(_0x5ea864||(_0x5ea864=this[_0x335c('0x8')][_0x335c('0x1')][_0x335c('0x6')](_0x335c('0x9'))),this['context'][_0x335c('0x1')][_0x335c('0x6')](_0x335c('0x9'))==_0x5ea864?_0x53c520=this['context']:this['context'][_0x335c('0x17')]&&(_0x53c520=this[_0x335c('0x8')][_0x335c('0x17')][_0x335c('0x7')](_0x532e6e=>_0x532e6e[_0x335c('0x1')][_0x335c('0x6')](_0x335c('0x9'))==_0x5ea864)),!_0x53c520)throw new _0x1f9364(_0x335c('0x3'),null);const _0x2da67b=_0x53c520[_0x335c('0xb')],_0x2b5799=_0x53c520 instanceof _0x15be7c,_0x4f3065=_0x2da67b['has']('CommentsRepository')&&_0x2da67b[_0x335c('0x6')]('CommentsRepository'),_0x141065=_0x2da67b[_0x335c('0x4')](_0x335c('0xa'))&&_0x2da67b['get']('CommentsOnly'),_0x532ea4=_0x1b9eaa[_0x335c('0x15')](_0x335c('0x2')),_0x1d3ec2=_0x1b9eaa['includes'](_0x335c('0x13')),_0xedb58=_0x1b9eaa[_0x335c('0x15')]('comment:write')||_0x1d3ec2;(_0x141065&&(_0x141065[_0x335c('0x12')]=!_0x532ea4&&_0xedb58),_0x2b5799)&&(!(_0x532ea4||_0xedb58&&_0x4f3065)?_0x53c520[_0x335c('0x16')](_0x335c('0xc')):_0x53c520[_0x335c('0x14')](_0x335c('0xc')));if(_0x4f3065){_0x4f3065[_0x335c('0xd')](!_0xedb58,_0x5ea864),_0x4f3065[_0x335c('0xf')](_0x1d3ec2,_0x5ea864);const _0x47b905=_0x2b5799&&_0x53c520[_0x335c('0x0')]['get']('addCommentThread');_0x47b905&&(_0xedb58?_0x47b905[_0x335c('0x5')](_0x335c('0xe')):_0x47b905['forceDisabled'](_0x335c('0xe')));}}}
23
+ const _0x2c0c=['commands','editors','context','isEnabled','config','setAdminPermissions','addCommentThread','pluginName','no-permissions','CommentsOnly','comment:write','enableReadOnlyMode','collaboration.channelId','includes','CommentsRepository','plugins','Permissions','noPermissions','forceDisabled','comment:admin','switchReadOnly','get','has','permissions-set-permissions-invalid-channel-id'];(function(_0x55323e,_0x2c0c88){const _0x543be4=function(_0x2b5864){while(--_0x2b5864){_0x55323e['push'](_0x55323e['shift']());}};_0x543be4(++_0x2c0c88);}(_0x2c0c,0x1ca));const _0x543b=function(_0x55323e,_0x2c0c88){_0x55323e=_0x55323e-0x0;let _0x543be4=_0x2c0c[_0x55323e];return _0x543be4;};import{ContextPlugin as _0x278787,Editor as _0x19ca36}from'ckeditor5/src/core';import{CKEditorError as _0x2685aa}from'ckeditor5/src/utils';export default class i extends _0x278787{static get[_0x543b('0x5')](){return _0x543b('0xe');}['setPermissions'](_0x4fedb3,_0x5aecf0){let _0x23f6d7;if(_0x5aecf0||(_0x5aecf0=this[_0x543b('0x0')][_0x543b('0x2')][_0x543b('0x13')]('collaboration.channelId')),this[_0x543b('0x0')][_0x543b('0x2')][_0x543b('0x13')]('collaboration.channelId')==_0x5aecf0?_0x23f6d7=this[_0x543b('0x0')]:this['context']['editors']&&(_0x23f6d7=this[_0x543b('0x0')][_0x543b('0x17')]['find'](_0x2765dc=>_0x2765dc[_0x543b('0x2')][_0x543b('0x13')](_0x543b('0xa'))==_0x5aecf0)),!_0x23f6d7)throw new _0x2685aa(_0x543b('0x15'),null);const _0x38fdd0=_0x23f6d7[_0x543b('0xd')],_0xb33554=_0x23f6d7 instanceof _0x19ca36,_0x3f88b7=_0x38fdd0[_0x543b('0x14')]('CommentsRepository')&&_0x38fdd0[_0x543b('0x13')](_0x543b('0xc')),_0x2be1a0=_0x38fdd0[_0x543b('0x14')](_0x543b('0x7'))&&_0x38fdd0[_0x543b('0x13')](_0x543b('0x7')),_0x7be03f=_0x4fedb3[_0x543b('0xb')]('document:write'),_0x967fa0=_0x4fedb3['includes'](_0x543b('0x11')),_0xf11077=_0x4fedb3[_0x543b('0xb')](_0x543b('0x8'))||_0x967fa0;(_0x2be1a0&&(_0x2be1a0[_0x543b('0x1')]=!_0x7be03f&&_0xf11077),_0xb33554)&&(!(_0x7be03f||_0xf11077&&_0x3f88b7)?_0x23f6d7[_0x543b('0x9')](_0x543b('0x6')):_0x23f6d7['disableReadOnlyMode'](_0x543b('0x6')));if(_0x3f88b7){_0x3f88b7[_0x543b('0x12')](!_0xf11077,_0x5aecf0),_0x3f88b7[_0x543b('0x3')](_0x967fa0,_0x5aecf0);const _0x5d09ba=_0xb33554&&_0x23f6d7[_0x543b('0x16')][_0x543b('0x13')](_0x543b('0x4'));_0x5d09ba&&(_0xf11077?_0x5d09ba['clearForceDisabled'](_0x543b('0xf')):_0x5d09ba[_0x543b('0x10')](_0x543b('0xf')));}}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d92=['setTemplate','isAnonymous','ck\x20ck-user__name\x20ck-user__name--hidden','extendTemplate','ck-user','ck-user__img','ck-user__anonymous','avatar','ck-user__avatar','div','content','push','notificationView','ck-user__notification','ck\x20ck-user__name'];(function(_0x205494,_0x4d92f8){const _0x6c44b4=function(_0x20ee7a){while(--_0x20ee7a){_0x205494['push'](_0x205494['shift']());}};_0x6c44b4(++_0x4d92f8);}(_0x4d92,0xeb));const _0x6c44=function(_0x205494,_0x4d92f8){_0x205494=_0x205494-0x0;let _0x6c44b4=_0x4d92[_0x205494];return _0x6c44b4;};import{View as _0x42ad34,IconView as _0x5c384c}from'ckeditor5/src/ui';import _0x1069c8 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class w extends _0x42ad34{constructor(_0x4a74b9,_0x3e4fad,_0x247196){super(_0x4a74b9),this['name']=_0x3e4fad['name'],this[_0x6c44('0x2')]=null;const _0x460dd8=['ck',_0x6c44('0xa')];if(_0x3e4fad[_0x6c44('0x6')]&&_0x460dd8[_0x6c44('0x1')](_0x6c44('0xb')),_0x3e4fad[_0x6c44('0xc')]&&_0x460dd8[_0x6c44('0x1')](_0x6c44('0xd')),_0x247196){const _0x4760bd=new _0x5c384c();_0x4760bd[_0x6c44('0x8')]({'attributes':{'class':['ck-user__icon']}}),_0x4760bd[_0x6c44('0x0')]=_0x1069c8,this[_0x6c44('0x2')]={'tag':_0x6c44('0xe'),'attributes':{'class':['ck',_0x6c44('0x3')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x247196},'children':[_0x4760bd]};}const _0x477544=[{'tag':'div','attributes':{'class':_0x460dd8,'style':{'background-image':_0x3e4fad[_0x6c44('0xc')]?'url(\x27'+_0x3e4fad[_0x6c44('0xc')]+'\x27)':''}}},{'tag':_0x6c44('0xe'),'attributes':{'class':_0x3e4fad[_0x6c44('0xc')]?_0x6c44('0x7'):_0x6c44('0x4')},'children':[{'text':_0x3e4fad['initials']}]}];this[_0x6c44('0x2')]&&_0x477544['push'](this[_0x6c44('0x2')]),this[_0x6c44('0x5')]({'tag':'div','attributes':{'class':['ck',_0x6c44('0x9')],'data-user-id':_0x3e4fad['id']},'children':_0x477544});}}
23
+ const _0x5e7c=['ck-user__anonymous','ck\x20ck-user__name','ck\x20ck-user__name\x20ck-user__name--hidden','ck-user','initials','div','url(\x27','name','avatar','isAnonymous','extendTemplate','push','ck-user__img','content','ck-user__avatar','notificationView'];(function(_0x1abb0e,_0x5e7c68){const _0x330a93=function(_0xf30bbc){while(--_0xf30bbc){_0x1abb0e['push'](_0x1abb0e['shift']());}};_0x330a93(++_0x5e7c68);}(_0x5e7c,0xd4));const _0x330a=function(_0x1abb0e,_0x5e7c68){_0x1abb0e=_0x1abb0e-0x0;let _0x330a93=_0x5e7c[_0x1abb0e];return _0x330a93;};import{View as _0xc79341,IconView as _0x1deed0}from'ckeditor5/src/ui';import _0x20979f from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class w extends _0xc79341{constructor(_0xb5ce27,_0x552339,_0x1d8408){super(_0xb5ce27),this['name']=_0x552339[_0x330a('0x3')],this[_0x330a('0xb')]=null;const _0x2e7058=['ck',_0x330a('0x8')];if(_0x552339[_0x330a('0x5')]&&_0x2e7058[_0x330a('0x7')](_0x330a('0xc')),_0x552339['avatar']&&_0x2e7058[_0x330a('0x7')](_0x330a('0xa')),_0x1d8408){const _0x1e0f3c=new _0x1deed0();_0x1e0f3c[_0x330a('0x6')]({'attributes':{'class':['ck-user__icon']}}),_0x1e0f3c[_0x330a('0x9')]=_0x20979f,this[_0x330a('0xb')]={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x1d8408},'children':[_0x1e0f3c]};}const _0x10c29d=[{'tag':_0x330a('0x1'),'attributes':{'class':_0x2e7058,'style':{'background-image':_0x552339['avatar']?_0x330a('0x2')+_0x552339[_0x330a('0x4')]+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x552339[_0x330a('0x4')]?_0x330a('0xe'):_0x330a('0xd')},'children':[{'text':_0x552339[_0x330a('0x0')]}]}];this[_0x330a('0xb')]&&_0x10c29d[_0x330a('0x7')](this[_0x330a('0xb')]),this['setTemplate']({'tag':'div','attributes':{'class':['ck',_0x330a('0xf')],'data-user-id':_0x552339['id']},'children':_0x10c29d});}}
package/src/users.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17dc=['invalid-license-key','ck-user__bg-color--','users','users-me-missing-user','anonymous-user','users-add-duplicated-id','destroy','name','requires','getMarkerClass','users.colorsCount','assign','decorate','length','define','isAnonymous','locale','licenseKey','users-me-already-defined','ck-user__selection--','ck-user__marker--','get','getOperationAuthor','color','users-add-invalid-id','trial-license-key-reached-limit-time','getBackgroundColorClass','string','context','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','charAt','licenseKeyTrialLimit:operations','licenseKeyValid','initials','avatar','licenseKeyTrial','users.anonymousUserId','licenseKeyTrialLimit:revisions','_licenseKeyCheckInterval','_locale','pluginName','getUser','toUpperCase','trial-license-key-reached-limit-revisions','licenseKeyTrialLimit:time','_getInitial','Anonymous','getSelectionClass','_isAnonymous','_getNextColor','licenseKeyInvalid','config','trial-license-key-reached-limit-changes','_id','_lastColor','_myId'];(function(_0x3e1260,_0x17dc06){const _0x2e957a=function(_0x22ef5f){while(--_0x22ef5f){_0x3e1260['push'](_0x3e1260['shift']());}};_0x2e957a(++_0x17dc06);}(_0x17dc,0x168));const _0x2e95=function(_0x3e1260,_0x17dc06){_0x3e1260=_0x3e1260-0x0;let _0x2e957a=_0x17dc[_0x3e1260];return _0x2e957a;};import{ContextPlugin as _0x13a018}from'ckeditor5/src/core';import{Collection as _0x51ae52,CKEditorError as _0x2fa18d}from'ckeditor5/src/utils';import _0x3dc5d3 from'./permissions';import{getTranslation as _0x1d0d7f}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x13a018{static get[_0x2e95('0x10')](){return'Users';}static get[_0x2e95('0x28')](){return[_0x3dc5d3];}constructor(_0x29c049){super(_0x29c049),_0x29c049[_0x2e95('0x1b')][_0x2e95('0x2e')](_0x2e95('0xc'),_0x2e95('0x24')),_0x29c049[_0x2e95('0x1b')][_0x2e95('0x2e')](_0x2e95('0x2a'),0x8),this[_0x2e95('0x22')]=new _0x51ae52(),this[_0x2e95('0xf')]=_0x29c049[_0x2e95('0x30')],this[_0x2e95('0xe')]=null,this[_0x2e95('0x1e')]=0x0,this['_myId']=null,this[_0x2e95('0x2c')](_0x2e95('0x36'));}['init'](){const _0x344b45=this['context'];this[_0x2e95('0x31')]=_0x344b45[_0x2e95('0x1b')][_0x2e95('0x35')](_0x2e95('0x31'));const _0x3cae61=[_0x2e95('0xb'),_0x2e95('0x1a'),_0x2e95('0x8'),_0x2e95('0x7'),'licenseKeyTrialLimit:time',_0x2e95('0xd')];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x35d4ab;for(const _0x2d5d4e in _0x344b45){const _0x491e0b=_0x344b45[_0x2d5d4e];if(_0x3cae61['includes'](_0x491e0b)){delete _0x344b45[_0x2d5d4e],_0x35d4ab=_0x491e0b;break;}}if('licenseKeyInvalid'===_0x35d4ab)throw clearInterval(this[_0x2e95('0xe')]),new _0x2fa18d(_0x2e95('0x20'),null);if(_0x2e95('0xb')===_0x35d4ab&&console['info'](_0x2e95('0x5')),'licenseKeyTrialLimit:operations'===_0x35d4ab)throw clearInterval(this[_0x2e95('0xe')]),new _0x2fa18d(_0x2e95('0x1c'),null);if(_0x2e95('0x14')===_0x35d4ab)throw clearInterval(this[_0x2e95('0xe')]),new _0x2fa18d(_0x2e95('0x1'),null);if(_0x2e95('0xd')===_0x35d4ab)throw clearInterval(this[_0x2e95('0xe')]),new _0x2fa18d(_0x2e95('0x13'),null);_0x2e95('0x8')===_0x35d4ab&&clearInterval(this[_0x2e95('0xe')]);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this[_0x2e95('0x1f')]?null:this[_0x2e95('0x11')](this[_0x2e95('0x1f')]);}['addUser'](_0x1a65aa){if(!(_0x1a65aa=Object[_0x2e95('0x2b')]({},_0x1a65aa,{'color':this[_0x2e95('0x19')]()}))['id']||_0x2e95('0x3')!=typeof _0x1a65aa['id'])throw new _0x2fa18d(_0x2e95('0x0'));if(this[_0x2e95('0x22')]['has'](_0x1a65aa['id']))throw new _0x2fa18d(_0x2e95('0x25'),null,{'id':_0x1a65aa['id']});_0x1a65aa[_0x2e95('0x27')]=function(_0x515ba1,_0x30299f=''){return''==(_0x30299f=_0x30299f['trim']())?_0x1d0d7f(_0x515ba1,_0x2e95('0x16')):_0x30299f;}(this[_0x2e95('0xf')],_0x1a65aa[_0x2e95('0x27')]);const _0x5af040=new u(_0x1a65aa);return this[_0x2e95('0x22')]['add'](_0x5af040),_0x5af040;}[_0x2e95('0x11')](_0x1befdd){return this[_0x2e95('0x22')][_0x2e95('0x35')](_0x1befdd);}['useAnonymousUser'](){const _0x47ee7e=this['context'][_0x2e95('0x1b')][_0x2e95('0x35')](_0x2e95('0xc'));this[_0x2e95('0x1f')]||this['defineMe'](_0x47ee7e);}['defineMe'](_0x493829){if(this[_0x2e95('0x1f')])throw new _0x2fa18d(_0x2e95('0x32'),null);if(!this[_0x2e95('0x11')](_0x493829))throw new _0x2fa18d(_0x2e95('0x23'),null);this[_0x2e95('0x1f')]=_0x493829;}[_0x2e95('0x36')](){return this['me'];}[_0x2e95('0x26')](){super['destroy'](),clearInterval(this[_0x2e95('0xe')]);}['_getNextColor'](){const _0x13fec6=this[_0x2e95('0x4')][_0x2e95('0x1b')][_0x2e95('0x35')]('users.colorsCount');return this[_0x2e95('0x1e')]>=_0x13fec6&&(this['_lastColor']=0x0),new a(this['_lastColor']++);}['_addAnonymousUser'](){const _0xff4a4c=this[_0x2e95('0x4')][_0x2e95('0x1b')]['get'](_0x2e95('0xc'));this['addUser']({'id':_0xff4a4c,'name':_0x1d0d7f(this[_0x2e95('0xf')],_0x2e95('0x16'))})[_0x2e95('0x18')]=!0x0;}}class u{constructor(_0x5330ba){this['id']=_0x5330ba['id'],this[_0x2e95('0x37')]=_0x5330ba[_0x2e95('0x37')],this[_0x2e95('0x27')]=_0x5330ba[_0x2e95('0x27')],this[_0x2e95('0xa')]=_0x5330ba['avatar'],this[_0x2e95('0x18')]=!0x1;}get[_0x2e95('0x2f')](){return this[_0x2e95('0x18')];}get[_0x2e95('0x9')](){const _0x48e10d=this[_0x2e95('0x27')]['split']('\x20');return 0x1===_0x48e10d[_0x2e95('0x2d')]?this[_0x2e95('0x15')](_0x48e10d[0x0]):this[_0x2e95('0x15')](_0x48e10d[0x0])+this['_getInitial'](_0x48e10d[_0x48e10d[_0x2e95('0x2d')]-0x1]);}[_0x2e95('0x15')](_0x3f6daf){return _0x3f6daf[_0x2e95('0x6')](0x0)[_0x2e95('0x12')]();}}class a{constructor(_0x3636d7){this[_0x2e95('0x1d')]=_0x3636d7;}[_0x2e95('0x2')](){return _0x2e95('0x21')+this['_id'];}[_0x2e95('0x17')](){return _0x2e95('0x33')+this[_0x2e95('0x1d')];}[_0x2e95('0x29')](){return _0x2e95('0x34')+this['_id'];}}
23
+ const _0x48e7=['_lastColor','name','trial-license-key-reached-limit-revisions','_getNextColor','context','trim','config','ck-user__marker--','_isAnonymous','_locale','invalid-license-key','licenseKeyTrialLimit:time','_licenseKeyCheckInterval','get','licenseKeyInvalid','destroy','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','color','locale','init','anonymous-user','users.colorsCount','users-me-already-defined','useAnonymousUser','users-add-duplicated-id','_getInitial','_myId','licenseKeyTrialLimit:operations','licenseKeyTrialLimit:revisions','users-add-invalid-id','avatar','has','_id','toUpperCase','Users','getMarkerClass','getUser','includes','length','define','Anonymous','trial-license-key-reached-limit-time','_addAnonymousUser','users.anonymousUserId','licenseKeyTrial','licenseKeyValid','defineMe','getOperationAuthor','requires','trial-license-key-reached-limit-changes','users','add','initials','users-me-missing-user','ck-user__selection--','licenseKey','addUser','split','ck-user__bg-color--','getBackgroundColorClass'];(function(_0x5cc25a,_0x48e7c7){const _0x11fa9e=function(_0x464de7){while(--_0x464de7){_0x5cc25a['push'](_0x5cc25a['shift']());}};_0x11fa9e(++_0x48e7c7);}(_0x48e7,0x1ea));const _0x11fa=function(_0x5cc25a,_0x48e7c7){_0x5cc25a=_0x5cc25a-0x0;let _0x11fa9e=_0x48e7[_0x5cc25a];return _0x11fa9e;};import{ContextPlugin as _0x328fac}from'ckeditor5/src/core';import{Collection as _0x377eb5,CKEditorError as _0x5148cb}from'ckeditor5/src/utils';import _0x571e12 from'./permissions';import{getTranslation as _0x5c1440}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x328fac{static get['pluginName'](){return _0x11fa('0x18');}static get[_0x11fa('0x26')](){return[_0x571e12];}constructor(_0x14d6a8){super(_0x14d6a8),_0x14d6a8[_0x11fa('0x38')]['define'](_0x11fa('0x21'),_0x11fa('0xa')),_0x14d6a8[_0x11fa('0x38')][_0x11fa('0x1d')]('users.colorsCount',0x8),this[_0x11fa('0x28')]=new _0x377eb5(),this[_0x11fa('0x3b')]=_0x14d6a8[_0x11fa('0x8')],this[_0x11fa('0x2')]=null,this[_0x11fa('0x32')]=0x0,this[_0x11fa('0x10')]=null,this['decorate']('getOperationAuthor');}[_0x11fa('0x9')](){const _0x25bad9=this[_0x11fa('0x36')];this[_0x11fa('0x2d')]=_0x25bad9[_0x11fa('0x38')]['get'](_0x11fa('0x2d'));const _0xd1ee3a=[_0x11fa('0x22'),_0x11fa('0x4'),_0x11fa('0x23'),'licenseKeyTrialLimit:operations',_0x11fa('0x1'),_0x11fa('0x12')];this[_0x11fa('0x2')]=setInterval(()=>{let _0x3efd92;for(const _0x88b303 in _0x25bad9){const _0x10d2b6=_0x25bad9[_0x88b303];if(_0xd1ee3a[_0x11fa('0x1b')](_0x10d2b6)){delete _0x25bad9[_0x88b303],_0x3efd92=_0x10d2b6;break;}}if(_0x11fa('0x4')===_0x3efd92)throw clearInterval(this[_0x11fa('0x2')]),new _0x5148cb(_0x11fa('0x0'),null);if(_0x11fa('0x22')===_0x3efd92&&console['info'](_0x11fa('0x6')),_0x11fa('0x11')===_0x3efd92)throw clearInterval(this[_0x11fa('0x2')]),new _0x5148cb(_0x11fa('0x27'),null);if(_0x11fa('0x1')===_0x3efd92)throw clearInterval(this[_0x11fa('0x2')]),new _0x5148cb(_0x11fa('0x1f'),null);if(_0x11fa('0x12')===_0x3efd92)throw clearInterval(this[_0x11fa('0x2')]),new _0x5148cb(_0x11fa('0x34'),null);'licenseKeyValid'===_0x3efd92&&clearInterval(this[_0x11fa('0x2')]);},0x3e8),this[_0x11fa('0x20')]();}get['me'](){return null==this[_0x11fa('0x10')]?null:this[_0x11fa('0x1a')](this[_0x11fa('0x10')]);}[_0x11fa('0x2e')](_0x1128d2){if(!(_0x1128d2=Object['assign']({},_0x1128d2,{'color':this['_getNextColor']()}))['id']||'string'!=typeof _0x1128d2['id'])throw new _0x5148cb(_0x11fa('0x13'));if(this[_0x11fa('0x28')][_0x11fa('0x15')](_0x1128d2['id']))throw new _0x5148cb(_0x11fa('0xe'),null,{'id':_0x1128d2['id']});_0x1128d2[_0x11fa('0x33')]=function(_0x6af49,_0x15686f=''){return''==(_0x15686f=_0x15686f[_0x11fa('0x37')]())?_0x5c1440(_0x6af49,_0x11fa('0x1e')):_0x15686f;}(this[_0x11fa('0x3b')],_0x1128d2[_0x11fa('0x33')]);const _0x2965d5=new u(_0x1128d2);return this[_0x11fa('0x28')][_0x11fa('0x29')](_0x2965d5),_0x2965d5;}[_0x11fa('0x1a')](_0x113e35){return this[_0x11fa('0x28')][_0x11fa('0x3')](_0x113e35);}[_0x11fa('0xd')](){const _0x5b05b2=this[_0x11fa('0x36')][_0x11fa('0x38')]['get'](_0x11fa('0x21'));this[_0x11fa('0x10')]||this[_0x11fa('0x24')](_0x5b05b2);}[_0x11fa('0x24')](_0x1ddbe1){if(this['_myId'])throw new _0x5148cb(_0x11fa('0xc'),null);if(!this[_0x11fa('0x1a')](_0x1ddbe1))throw new _0x5148cb(_0x11fa('0x2b'),null);this[_0x11fa('0x10')]=_0x1ddbe1;}[_0x11fa('0x25')](){return this['me'];}[_0x11fa('0x5')](){super['destroy'](),clearInterval(this[_0x11fa('0x2')]);}[_0x11fa('0x35')](){const _0x326798=this[_0x11fa('0x36')]['config'][_0x11fa('0x3')](_0x11fa('0xb'));return this[_0x11fa('0x32')]>=_0x326798&&(this['_lastColor']=0x0),new a(this[_0x11fa('0x32')]++);}[_0x11fa('0x20')](){const _0x555657=this[_0x11fa('0x36')][_0x11fa('0x38')]['get'](_0x11fa('0x21'));this[_0x11fa('0x2e')]({'id':_0x555657,'name':_0x5c1440(this['_locale'],_0x11fa('0x1e'))})[_0x11fa('0x3a')]=!0x0;}}class u{constructor(_0x1c5ba7){this['id']=_0x1c5ba7['id'],this[_0x11fa('0x7')]=_0x1c5ba7[_0x11fa('0x7')],this[_0x11fa('0x33')]=_0x1c5ba7[_0x11fa('0x33')],this['avatar']=_0x1c5ba7[_0x11fa('0x14')],this[_0x11fa('0x3a')]=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get[_0x11fa('0x2a')](){const _0x508cf4=this['name'][_0x11fa('0x2f')]('\x20');return 0x1===_0x508cf4[_0x11fa('0x1c')]?this[_0x11fa('0xf')](_0x508cf4[0x0]):this[_0x11fa('0xf')](_0x508cf4[0x0])+this['_getInitial'](_0x508cf4[_0x508cf4[_0x11fa('0x1c')]-0x1]);}[_0x11fa('0xf')](_0x171dce){return _0x171dce['charAt'](0x0)[_0x11fa('0x17')]();}}class a{constructor(_0x871c6f){this['_id']=_0x871c6f;}[_0x11fa('0x31')](){return _0x11fa('0x30')+this['_id'];}['getSelectionClass'](){return _0x11fa('0x2c')+this[_0x11fa('0x16')];}[_0x11fa('0x19')](){return _0x11fa('0x39')+this[_0x11fa('0x16')];}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x550228,_0x2ff758){const t=_0x550228['t'];switch(_0x2ff758){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');}}
23
+ export function getTranslation(_0x2bab77,_0x8192c){const t=_0x2bab77['t'];switch(_0x8192c){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1b0e=['locale','_removeConfirm','destroy','isConfirm','cancel','once','registerChild','confirmView','fire','focus','deregisterChild','message','submit','render','appendChild','remove'];(function(_0x3bd009,_0x1b0e43){var _0x624fb5=function(_0x42e54a){while(--_0x42e54a){_0x3bd009['push'](_0x3bd009['shift']());}};_0x624fb5(++_0x1b0e43);}(_0x1b0e,0x15f));var _0x624f=function(_0x3bd009,_0x1b0e43){_0x3bd009=_0x3bd009-0x0;var _0x624fb5=_0x1b0e[_0x3bd009];return _0x624fb5;};import _0x4c946c from'./confirmview';export default{'showConfirm'(_0x3b4aec,_0xe571c7){return this['confirmView']=new _0x4c946c(this[_0x624f('0x1')]),this[_0x624f('0x8')][_0x624f('0xe')](),this[_0x624f('0x8')][_0x624f('0xc')]=_0x3b4aec,this[_0x624f('0x8')][_0x624f('0x6')](_0x624f('0x5'),()=>{this[_0x624f('0x2')]();}),this['confirmView'][_0x624f('0x6')](_0x624f('0xd'),()=>{this[_0x624f('0x2')]();}),_0xe571c7[_0x624f('0xf')](this[_0x624f('0x8')]['element']),this[_0x624f('0x7')](this[_0x624f('0x8')]),this['set'](_0x624f('0x4'),!0x0),new Promise(_0x49bfbd=>this[_0x624f('0x8')]['on']('submit',_0x49bfbd));},'cancelConfirm'(){this['isConfirm']&&this[_0x624f('0x8')][_0x624f('0x9')](_0x624f('0x5'));},'_removeConfirm'(){this['element'][_0x624f('0xa')](),this[_0x624f('0x8')]['element'][_0x624f('0x0')](),this[_0x624f('0xb')](this[_0x624f('0x8')]),this['isConfirm']=!0x1,this[_0x624f('0x8')][_0x624f('0x3')](),delete this[_0x624f('0x8')];}};
23
+ var _0x41c4=['destroy','element','deregisterChild','registerChild','confirmView','set','once','remove','cancel','render','_removeConfirm','locale','focus','submit','fire','message','isConfirm'];(function(_0x138aa6,_0x41c448){var _0x30b375=function(_0x22d376){while(--_0x22d376){_0x138aa6['push'](_0x138aa6['shift']());}};_0x30b375(++_0x41c448);}(_0x41c4,0xb6));var _0x30b3=function(_0x138aa6,_0x41c448){_0x138aa6=_0x138aa6-0x0;var _0x30b375=_0x41c4[_0x138aa6];return _0x30b375;};import _0x4aecb5 from'./confirmview';export default{'showConfirm'(_0x36e039,_0x14022d){return this[_0x30b3('0x9')]=new _0x4aecb5(this[_0x30b3('0x10')]),this['confirmView'][_0x30b3('0xe')](),this[_0x30b3('0x9')][_0x30b3('0x3')]=_0x36e039,this[_0x30b3('0x9')][_0x30b3('0xb')](_0x30b3('0xd'),()=>{this[_0x30b3('0xf')]();}),this[_0x30b3('0x9')][_0x30b3('0xb')](_0x30b3('0x1'),()=>{this[_0x30b3('0xf')]();}),_0x14022d['appendChild'](this[_0x30b3('0x9')]['element']),this[_0x30b3('0x8')](this[_0x30b3('0x9')]),this[_0x30b3('0xa')]('isConfirm',!0x0),new Promise(_0x1b4075=>this[_0x30b3('0x9')]['on'](_0x30b3('0x1'),_0x1b4075));},'cancelConfirm'(){this['isConfirm']&&this[_0x30b3('0x9')][_0x30b3('0x2')]('cancel');},'_removeConfirm'(){this[_0x30b3('0x6')][_0x30b3('0x0')](),this[_0x30b3('0x9')][_0x30b3('0x6')][_0x30b3('0xc')](),this[_0x30b3('0x7')](this[_0x30b3('0x9')]),this[_0x30b3('0x4')]=!0x1,this[_0x30b3('0x9')][_0x30b3('0x5')](),delete this['confirmView'];}};
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1685=['ck-thread__remove-confirm','ck-thread__remove-confirm-','extendTemplate','ck-thread__remove-confirm-actions','setTemplate','submitView','ck-thread__remove-confirm-inner','execute','set','submit','_createButtonView','check','div','icon','cancel','Are\x20you\x20sure?','cancelView','message'];(function(_0x91a538,_0x168594){const _0x2df0e5=function(_0x324c91){while(--_0x324c91){_0x91a538['push'](_0x91a538['shift']());}};_0x2df0e5(++_0x168594);}(_0x1685,0x8a));const _0x2df0=function(_0x91a538,_0x168594){_0x91a538=_0x91a538-0x0;let _0x2df0e5=_0x1685[_0x91a538];return _0x2df0e5;};import{View as _0x173849,ButtonView as _0x4bbd67}from'ckeditor5/src/ui';import{icons as _0x1f3dca}from'ckeditor5/src/core';import{getTranslation as _0x52f48c}from'./common-translations';export default class h extends _0x173849{constructor(_0x376b05){super(_0x376b05);const _0x53e090=this['bindTemplate'];this[_0x2df0('0xb')]=this[_0x2df0('0x10')](_0x376b05,_0x52f48c(_0x376b05,'Yes'),_0x1f3dca[_0x2df0('0x11')],_0x2df0('0xf')),this[_0x2df0('0x4')]=this[_0x2df0('0x10')](_0x376b05,_0x52f48c(_0x376b05,'No'),_0x1f3dca[_0x2df0('0x2')],'cancel'),this[_0x2df0('0xe')](_0x2df0('0x5'),_0x52f48c(_0x376b05,_0x2df0('0x3'))),this[_0x2df0('0xa')]({'tag':_0x2df0('0x0'),'attributes':{'class':[_0x2df0('0x6')]},'children':[{'tag':_0x2df0('0x0'),'attributes':{'class':_0x2df0('0xc')},'children':[{'tag':'p','children':[{'text':_0x53e090['to']('message')}]},{'tag':_0x2df0('0x0'),'attributes':{'class':_0x2df0('0x9')},'children':[this['submitView'],this[_0x2df0('0x4')]]}]}]});}[_0x2df0('0x10')](_0x4eb849,_0x4aeeca,_0x1156ea,_0xa7bee0){const _0x3b8917=new _0x4bbd67(_0x4eb849);return _0x3b8917['label']=_0x4aeeca,_0x3b8917[_0x2df0('0x1')]=_0x1156ea,_0x3b8917[_0x2df0('0x8')]({'attributes':{'class':_0x2df0('0x7')+_0xa7bee0}}),_0x3b8917['on'](_0x2df0('0xd'),()=>this['fire'](_0xa7bee0)),_0x3b8917;}}
23
+ const _0x2d2d=['submitView','ck-thread__remove-confirm-','execute','check','bindTemplate','cancel','ck-thread__remove-confirm-actions','cancelView','extendTemplate','set','div','_createButtonView','fire','Yes','setTemplate','label','message','icon'];(function(_0x4c6ecf,_0x2d2d7e){const _0x18cf7e=function(_0x1fbaef){while(--_0x1fbaef){_0x4c6ecf['push'](_0x4c6ecf['shift']());}};_0x18cf7e(++_0x2d2d7e);}(_0x2d2d,0x1a5));const _0x18cf=function(_0x4c6ecf,_0x2d2d7e){_0x4c6ecf=_0x4c6ecf-0x0;let _0x18cf7e=_0x2d2d[_0x4c6ecf];return _0x18cf7e;};import{View as _0x53dbb7,ButtonView as _0x5db335}from'ckeditor5/src/ui';import{icons as _0x32fc37}from'ckeditor5/src/core';import{getTranslation as _0x203094}from'./common-translations';export default class h extends _0x53dbb7{constructor(_0x3c2064){super(_0x3c2064);const _0x35582a=this[_0x18cf('0xf')];this[_0x18cf('0xb')]=this['_createButtonView'](_0x3c2064,_0x203094(_0x3c2064,_0x18cf('0x6')),_0x32fc37[_0x18cf('0xe')],'submit'),this['cancelView']=this[_0x18cf('0x4')](_0x3c2064,_0x203094(_0x3c2064,'No'),_0x32fc37[_0x18cf('0x10')],_0x18cf('0x10')),this[_0x18cf('0x2')](_0x18cf('0x9'),_0x203094(_0x3c2064,'Are\x20you\x20sure?')),this[_0x18cf('0x7')]({'tag':_0x18cf('0x3'),'attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':_0x18cf('0x3'),'attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x35582a['to'](_0x18cf('0x9'))}]},{'tag':_0x18cf('0x3'),'attributes':{'class':_0x18cf('0x11')},'children':[this[_0x18cf('0xb')],this[_0x18cf('0x0')]]}]}]});}['_createButtonView'](_0x156b4a,_0xbcb255,_0x523700,_0x2d459c){const _0x102ee4=new _0x5db335(_0x156b4a);return _0x102ee4[_0x18cf('0x8')]=_0xbcb255,_0x102ee4[_0x18cf('0xa')]=_0x523700,_0x102ee4[_0x18cf('0x1')]({'attributes':{'class':_0x18cf('0xc')+_0x2d459c}}),_0x102ee4['on'](_0x18cf('0xd'),()=>this[_0x18cf('0x5')](_0x2d459c)),_0x102ee4;}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51b6=['string','MM-dd-yyyy\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','dateTimeFormat','\x27Today\x27\x20hh:mma'];(function(_0x3f81d0,_0x51b6c1){const _0x2ac988=function(_0x263d7f){while(--_0x263d7f){_0x3f81d0['push'](_0x3f81d0['shift']());}};_0x2ac988(++_0x51b6c1);}(_0x51b6,0x16f));const _0x2ac9=function(_0x3f81d0,_0x51b6c1){_0x3f81d0=_0x3f81d0-0x0;let _0x2ac988=_0x51b6[_0x3f81d0];return _0x2ac988;};import _0x2fd0d5 from'date-fns/format';import _0x51b8ac from'date-fns/parseISO';import _0x186076 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x18e9b2}from'ckeditor5/src/utils';export default function E(_0x1dcacc={}){if(void 0x0!==_0x1dcacc[_0x2ac9('0x1')]&&'function'!=typeof _0x1dcacc[_0x2ac9('0x1')])throw new _0x18e9b2('invalid-date-time-format');return _0x45ca42=>{const _0x38c89d=_0x2ac9('0x3')==typeof _0x45ca42?_0x51b8ac(_0x45ca42):_0x45ca42,_0x59d638=new Date(),_0x2c24eb=_0x186076(_0x59d638,_0x38c89d);return _0x1dcacc['dateTimeFormat']?_0x1dcacc['dateTimeFormat'](_0x38c89d):_0x2fd0d5(_0x38c89d,0x0===_0x2c24eb?_0x2ac9('0x2'):0x1===_0x2c24eb?'\x27Yesterday\x27\x20hh:mma':_0x2c24eb<0x7?_0x2ac9('0x0'):_0x2ac9('0x4'));};}
23
+ const _0x5493=['\x27Last\x27\x20EEEE\x20hh:mma','\x27Today\x27\x20hh:mma','\x27Yesterday\x27\x20hh:mma','function','invalid-date-time-format','dateTimeFormat'];(function(_0x31ac53,_0x549346){const _0x150080=function(_0x48178f){while(--_0x48178f){_0x31ac53['push'](_0x31ac53['shift']());}};_0x150080(++_0x549346);}(_0x5493,0x134));const _0x1500=function(_0x31ac53,_0x549346){_0x31ac53=_0x31ac53-0x0;let _0x150080=_0x5493[_0x31ac53];return _0x150080;};import _0x36f42e from'date-fns/format';import _0x4df3ae from'date-fns/parseISO';import _0x227c8e from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x544ddc}from'ckeditor5/src/utils';export default function E(_0x1eb6ac={}){if(void 0x0!==_0x1eb6ac[_0x1500('0x3')]&&_0x1500('0x1')!=typeof _0x1eb6ac['dateTimeFormat'])throw new _0x544ddc(_0x1500('0x2'));return _0x497284=>{const _0x4104aa='string'==typeof _0x497284?_0x4df3ae(_0x497284):_0x497284,_0x114d26=new Date(),_0x594aac=_0x227c8e(_0x114d26,_0x4104aa);return _0x1eb6ac[_0x1500('0x3')]?_0x1eb6ac['dateTimeFormat'](_0x4104aa):_0x36f42e(_0x4104aa,0x0===_0x594aac?_0x1500('0x5'):0x1===_0x594aac?_0x1500('0x0'):_0x594aac<0x7?_0x1500('0x4'):'MM-dd-yyyy\x20hh:mma');};}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x422d=['view','mapper','values','markerNameToElements','name','mapViewToDom','domConverter'];(function(_0x4b098,_0x422d29){const _0x117542=function(_0x2fc00f){while(--_0x2fc00f){_0x4b098['push'](_0x4b098['shift']());}};_0x117542(++_0x422d29);}(_0x422d,0x65));const _0x1175=function(_0x4b098,_0x422d29){_0x4b098=_0x4b098-0x0;let _0x117542=_0x422d[_0x4b098];return _0x117542;};import{first as _0x208f42}from'ckeditor5/src/utils';export default function x(_0x3f2346,_0x228719){const _0x59666e=_0x3f2346[_0x1175('0x5')][_0x1175('0x0')](_0x228719[_0x1175('0x1')]),_0x2b134f=_0x208f42(_0x59666e[_0x1175('0x6')]());return _0x3f2346[_0x1175('0x4')][_0x1175('0x3')][_0x1175('0x2')](_0x2b134f);}
23
+ const _0x345b=['push','length','item','name','domConverter','map','mapViewToDom','values','sort','view','mapper'];(function(_0x47ff8b,_0x345bf8){const _0x4eda6f=function(_0xe1d1c7){while(--_0xe1d1c7){_0x47ff8b['push'](_0x47ff8b['shift']());}};_0x4eda6f(++_0x345bf8);}(_0x345b,0x192));const _0x4eda=function(_0x47ff8b,_0x345bf8){_0x47ff8b=_0x47ff8b-0x0;let _0x4eda6f=_0x345b[_0x47ff8b];return _0x4eda6f;};import{first as _0x340d9d}from'ckeditor5/src/utils';export default function k(_0x4f702b,_0xcc39f7){const _0x138c78=_0x4f702b['mapper']['markerNameToElements'](_0xcc39f7['name']),_0x5bd339=_0x340d9d(_0x138c78[_0x4eda('0x1')]());return _0x4f702b[_0x4eda('0x3')][_0x4eda('0x9')][_0x4eda('0x0')](_0x5bd339);}export function getAllMarkersDomElementsSorted(_0x179fae,_0x5b25fd){if(0x0===_0x5b25fd[_0x4eda('0x6')])return null;const _0x4bf158=[],_0x5f13f5=_0x179fae[_0x4eda('0x3')][_0x4eda('0x9')];for(const _0x5cb810 of _0x5b25fd){const _0x37baf8=_0x179fae[_0x4eda('0x4')]['markerNameToElements'](_0x5cb810[_0x4eda('0x8')]);if(!_0x37baf8)continue;const _0xf61062=Array['from'](_0x37baf8)[_0x4eda('0xa')](_0x1d5d95=>_0x5f13f5['mapViewToDom'](_0x1d5d95));_0x4bf158[_0x4eda('0x5')](..._0xf61062);}if(0x0===_0x4bf158['length'])return null;const _0xdfe703=[];for(const _0x14505e of _0x4bf158){const _0x234079=_0x14505e['getClientRects']()[_0x4eda('0x7')](0x0);_0x234079&&_0xdfe703[_0x4eda('0x5')]({'x':_0x234079['x'],'y':_0x234079['y'],'domElement':_0x14505e});}return 0x0===_0xdfe703[_0x4eda('0x6')]?null:(_0xdfe703[_0x4eda('0x2')]((_0x194573,_0x1d470e)=>_0x194573['y']-_0x1d470e['y']||_0x194573['x']-_0x1d470e['x']),_0xdfe703['map'](_0x373998=>_0x373998['domElement']));}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23b4=['string','boolean','object','isArray','sort','keys','sign','toString','charCodeAt'];(function(_0x599e5a,_0x23b4f5){const _0x510a75=function(_0x149c6d){while(--_0x149c6d){_0x599e5a['push'](_0x599e5a['shift']());}};_0x510a75(++_0x23b4f5);}(_0x23b4,0x1dc));const _0x510a=function(_0x599e5a,_0x23b4f5){_0x599e5a=_0x599e5a-0x0;let _0x510a75=_0x23b4[_0x599e5a];return _0x510a75;};export default function b(_0xe8ae19){let _0x281fcf=0x0,_0x31f312=0x0;for(const _0x2b5766 of g(_0xe8ae19))_0x281fcf=(_0x281fcf<<0x5)-_0x281fcf+_0x2b5766,_0x281fcf&=_0x281fcf,[_0x281fcf,_0x31f312]=[_0x31f312,_0x281fcf];return O(_0x281fcf)+O(_0x31f312);}function*j(_0x1ee3fc){_0x1ee3fc?_0x510a('0x2')==typeof _0x1ee3fc?yield 0x1:Array[_0x510a('0x4')](_0x1ee3fc)?yield*function*(_0x6fbe6d){for(const _0x4f2444 of _0x6fbe6d)yield*j(_0x4f2444);}(_0x1ee3fc):_0x510a('0x3')==typeof _0x1ee3fc?yield*g(_0x1ee3fc):_0x510a('0x1')==typeof _0x1ee3fc?yield*A(_0x1ee3fc):'number'==typeof _0x1ee3fc&&(yield _0x1ee3fc):yield 0x0;}function*g(_0x5a671b){if(yield M('{'),_0x5a671b){const _0x4f9953=Object[_0x510a('0x6')](_0x5a671b)[_0x510a('0x5')]();for(const _0x4a1cdd of _0x4f9953){yield*A(_0x4a1cdd),yield M(':');const _0x2eadad=_0x5a671b[_0x4a1cdd];yield*j(_0x2eadad);}}yield M('}');}function*A(_0x4f4eb3){yield M('\x22');for(const _0x3b4322 of _0x4f4eb3)yield M(_0x3b4322);yield M('\x22');}function M(_0xe83841){return _0xe83841[_0x510a('0x0')](0x0);}function O(_0x4bae38){return(_0x4bae38*=Math[_0x510a('0x7')](_0x4bae38))[_0x510a('0x8')](0x24);}
23
+ const _0x2b22=['object','isArray','sort','charCodeAt','boolean','string','keys'];(function(_0x56bbbd,_0x2b2266){const _0x127fba=function(_0xe43a95){while(--_0xe43a95){_0x56bbbd['push'](_0x56bbbd['shift']());}};_0x127fba(++_0x2b2266);}(_0x2b22,0x7a));const _0x127f=function(_0x56bbbd,_0x2b2266){_0x56bbbd=_0x56bbbd-0x0;let _0x127fba=_0x2b22[_0x56bbbd];return _0x127fba;};export default function b(_0x13e435){let _0x594eb3=0x0,_0x4cdf22=0x0;for(const _0x359837 of g(_0x13e435))_0x594eb3=(_0x594eb3<<0x5)-_0x594eb3+_0x359837,_0x594eb3&=_0x594eb3,[_0x594eb3,_0x4cdf22]=[_0x4cdf22,_0x594eb3];return O(_0x594eb3)+O(_0x4cdf22);}function*j(_0x116054){_0x116054?_0x127f('0x1')==typeof _0x116054?yield 0x1:Array[_0x127f('0x5')](_0x116054)?yield*function*(_0x5d8fb0){for(const _0x33cb72 of _0x5d8fb0)yield*j(_0x33cb72);}(_0x116054):_0x127f('0x4')==typeof _0x116054?yield*g(_0x116054):_0x127f('0x2')==typeof _0x116054?yield*A(_0x116054):'number'==typeof _0x116054&&(yield _0x116054):yield 0x0;}function*g(_0x5088f2){if(yield M('{'),_0x5088f2){const _0x121fee=Object[_0x127f('0x3')](_0x5088f2)[_0x127f('0x6')]();for(const _0x18dfe5 of _0x121fee){yield*A(_0x18dfe5),yield M(':');const _0x3086a7=_0x5088f2[_0x18dfe5];yield*j(_0x3086a7);}}yield M('}');}function*A(_0x5806c3){yield M('\x22');for(const _0x50437f of _0x5806c3)yield M(_0x50437f);yield M('\x22');}function M(_0x4f975a){return _0x4f975a[_0x127f('0x0')](0x0);}function O(_0xbe784d){return(_0xbe784d*=Math['sign'](_0xbe784d))['toString'](0x24);}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6d86=['replace','length','...','slice','substring','join','split','match','startsWith','push','indexOf'];(function(_0x5867b2,_0x6d867){const _0x18657f=function(_0x1f0dfe){while(--_0x1f0dfe){_0x5867b2['push'](_0x5867b2['shift']());}};_0x18657f(++_0x6d867);}(_0x6d86,0x1d7));const _0x1865=function(_0x5867b2,_0x6d867){_0x5867b2=_0x5867b2-0x0;let _0x18657f=_0x6d86[_0x5867b2];return _0x18657f;};export default function z(_0x257b52,{limit:_0x9d6826,suffix:_0x3d8d88=_0x1865('0x4')}){const _0x551e33=[];let _0x130296=0x0;const _0x47097c=_0x257b52[_0x1865('0x2')](/</g,'\x0a<')[_0x1865('0x2')](/>/g,'>\x0a')[_0x1865('0x2')](/^\n/g,'')[_0x1865('0x2')](/\n$/g,'')[_0x1865('0x8')]('\x0a');for(let _0x49153f=0x0;_0x49153f<_0x47097c[_0x1865('0x3')];_0x49153f++){let _0x254e60=_0x47097c[_0x49153f];const _0x576519=Z(_0x254e60);if(_0x254e60[_0x1865('0xa')]('<')){if(_0x130296>=_0x9d6826){const _0x16d3ea=_0x254e60[_0x1865('0x9')](/[a-zA-Z]+/)[0x0];_0x254e60[_0x1865('0xa')]('</')?(_0x551e33[_0x1865('0x3')]&&(_0x254e60=''),_0x551e33['pop']()):(_0x551e33[_0x1865('0x0')](_0x16d3ea),_0x254e60='');}}else{if(_0x130296>=_0x9d6826)_0x254e60='';else{if(_0x130296+_0x576519[_0x1865('0x3')]>=_0x9d6826){let _0x48513a=_0x9d6826-_0x130296;if('\x20'===_0x576519[_0x48513a-0x1])_0x48513a--;else{const _0x20bad2=_0x576519[_0x1865('0x5')](_0x48513a)[_0x1865('0x1')]('\x20');-0x1!==_0x20bad2?_0x48513a+=_0x20bad2:_0x48513a=_0x254e60[_0x1865('0x3')];}_0x254e60=_0x576519[_0x1865('0x5')](0x0,_0x48513a)[_0x1865('0x7')]('')+_0x3d8d88,_0x130296=_0x9d6826;}else _0x130296+=_0x576519[_0x1865('0x3')];}}_0x47097c[_0x49153f]=_0x254e60;}return _0x47097c[_0x1865('0x7')]('\x0a')[_0x1865('0x2')](/\n/g,'');}function Z(_0x5bb02d){const _0x57f331=[];for(let _0x5c2b70=0x0;_0x5c2b70<_0x5bb02d[_0x1865('0x3')];_0x5c2b70++){const _0x3679e2=_0x5bb02d[_0x1865('0x6')](_0x5c2b70)[_0x1865('0x9')](/^&[a-z0-9#]+;/);if(_0x3679e2){const _0x5bbc28=_0x3679e2[0x0];_0x57f331[_0x1865('0x0')](_0x5bbc28),_0x5c2b70+=_0x5bbc28['length']-0x1;}else _0x57f331['push'](_0x5bb02d[_0x5c2b70]);}return _0x57f331;}
23
+ const _0x2826=['replace','push','split','...','length','substring','slice','indexOf','join'];(function(_0x523ac3,_0x28260c){const _0x52247d=function(_0x56d794){while(--_0x56d794){_0x523ac3['push'](_0x523ac3['shift']());}};_0x52247d(++_0x28260c);}(_0x2826,0x1bd));const _0x5224=function(_0x523ac3,_0x28260c){_0x523ac3=_0x523ac3-0x0;let _0x52247d=_0x2826[_0x523ac3];return _0x52247d;};export default function z(_0x39e075,{limit:_0x5e793e,suffix:_0x21c420=_0x5224('0x8')}){const _0x135eab=[];let _0x1cb294=0x0;const _0x4d11a6=_0x39e075[_0x5224('0x5')](/</g,'\x0a<')[_0x5224('0x5')](/>/g,'>\x0a')['replace'](/^\n/g,'')[_0x5224('0x5')](/\n$/g,'')[_0x5224('0x7')]('\x0a');for(let _0x5a80f4=0x0;_0x5a80f4<_0x4d11a6[_0x5224('0x0')];_0x5a80f4++){let _0xb8ef63=_0x4d11a6[_0x5a80f4];const _0x7cf74f=Z(_0xb8ef63);if(_0xb8ef63['startsWith']('<')){if(_0x1cb294>=_0x5e793e){const _0x4f8110=_0xb8ef63['match'](/[a-zA-Z]+/)[0x0];_0xb8ef63['startsWith']('</')?(_0x135eab[_0x5224('0x0')]&&(_0xb8ef63=''),_0x135eab['pop']()):(_0x135eab[_0x5224('0x6')](_0x4f8110),_0xb8ef63='');}}else{if(_0x1cb294>=_0x5e793e)_0xb8ef63='';else{if(_0x1cb294+_0x7cf74f['length']>=_0x5e793e){let _0x565a5b=_0x5e793e-_0x1cb294;if('\x20'===_0x7cf74f[_0x565a5b-0x1])_0x565a5b--;else{const _0x5b08a5=_0x7cf74f['slice'](_0x565a5b)[_0x5224('0x3')]('\x20');-0x1!==_0x5b08a5?_0x565a5b+=_0x5b08a5:_0x565a5b=_0xb8ef63[_0x5224('0x0')];}_0xb8ef63=_0x7cf74f[_0x5224('0x2')](0x0,_0x565a5b)[_0x5224('0x4')]('')+_0x21c420,_0x1cb294=_0x5e793e;}else _0x1cb294+=_0x7cf74f[_0x5224('0x0')];}}_0x4d11a6[_0x5a80f4]=_0xb8ef63;}return _0x4d11a6[_0x5224('0x4')]('\x0a')[_0x5224('0x5')](/\n/g,'');}function Z(_0x3502ed){const _0x4b5de1=[];for(let _0x2f414c=0x0;_0x2f414c<_0x3502ed[_0x5224('0x0')];_0x2f414c++){const _0xb32e7d=_0x3502ed[_0x5224('0x1')](_0x2f414c)['match'](/^&[a-z0-9#]+;/);if(_0xb32e7d){const _0x1413b3=_0xb32e7d[0x0];_0x4b5de1[_0x5224('0x6')](_0x1413b3),_0x2f414c+=_0x1413b3[_0x5224('0x0')]-0x1;}else _0x4b5de1[_0x5224('0x6')](_0x3502ed[_0x2f414c]);}return _0x4b5de1;}