@ckeditor/ckeditor5-collaboration-core 35.3.2 → 36.0.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 (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.3.2",
3
+ "version": "36.0.0",
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.3.2",
31
+ "ckeditor5": "^36.0.0",
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 _0x104d=['comment:admin','commands','CommentsOnly','disableReadOnlyMode','get','clearForceDisabled','plugins','switchReadOnly','Permissions','pluginName','find','permissions-set-permissions-invalid-channel-id','no-permissions','editors','collaboration.channelId','forceDisabled','has','CommentsRepository','enableReadOnlyMode','comment:write','setAdminPermissions','noPermissions','includes','isEnabled','config','context','addCommentThread'];(function(_0x5f2f68,_0x104daa){const _0x3063d5=function(_0x323a8d){while(--_0x323a8d){_0x5f2f68['push'](_0x5f2f68['shift']());}};_0x3063d5(++_0x104daa);}(_0x104d,0x1f4));const _0x3063=function(_0x5f2f68,_0x104daa){_0x5f2f68=_0x5f2f68-0x0;let _0x3063d5=_0x104d[_0x5f2f68];return _0x3063d5;};import{ContextPlugin as _0x91a79d,Editor as _0x3569fe}from'ckeditor5/src/core';import{CKEditorError as _0x417ebb}from'ckeditor5/src/utils';export default class i extends _0x91a79d{static get[_0x3063('0x16')](){return _0x3063('0x15');}['setPermissions'](_0x97c10b,_0x30ce0f){let _0x3f5705;if(_0x30ce0f||(_0x30ce0f=this[_0x3063('0xb')][_0x3063('0xa')][_0x3063('0x11')](_0x3063('0x0'))),this[_0x3063('0xb')][_0x3063('0xa')]['get'](_0x3063('0x0'))==_0x30ce0f?_0x3f5705=this[_0x3063('0xb')]:this[_0x3063('0xb')][_0x3063('0x1a')]&&(_0x3f5705=this[_0x3063('0xb')][_0x3063('0x1a')][_0x3063('0x17')](_0x5348b5=>_0x5348b5[_0x3063('0xa')][_0x3063('0x11')](_0x3063('0x0'))==_0x30ce0f)),!_0x3f5705)throw new _0x417ebb(_0x3063('0x18'),null);const _0x189a28=_0x3f5705[_0x3063('0x13')],_0x250a2b=_0x3f5705 instanceof _0x3569fe,_0xc9208c=_0x189a28[_0x3063('0x2')](_0x3063('0x3'))&&_0x189a28[_0x3063('0x11')](_0x3063('0x3')),_0x9a9403=_0x189a28[_0x3063('0x2')]('CommentsOnly')&&_0x189a28[_0x3063('0x11')](_0x3063('0xf')),_0x1577c3=_0x97c10b['includes']('document:write'),_0x61ac70=_0x97c10b[_0x3063('0x8')](_0x3063('0xd')),_0x584e61=_0x97c10b['includes'](_0x3063('0x5'))||_0x61ac70;(_0x9a9403&&(_0x9a9403[_0x3063('0x9')]=!_0x1577c3&&_0x584e61),_0x250a2b)&&(!(_0x1577c3||_0x584e61&&_0xc9208c)?_0x3f5705[_0x3063('0x4')](_0x3063('0x19')):_0x3f5705[_0x3063('0x10')](_0x3063('0x19')));if(_0xc9208c){_0xc9208c[_0x3063('0x14')](!_0x584e61,_0x30ce0f),_0xc9208c[_0x3063('0x6')](_0x61ac70,_0x30ce0f);const _0x847f3=_0x250a2b&&_0x3f5705[_0x3063('0xe')][_0x3063('0x11')](_0x3063('0xc'));_0x847f3&&(_0x584e61?_0x847f3[_0x3063('0x12')](_0x3063('0x7')):_0x847f3[_0x3063('0x1')]('noPermissions'));}}}
23
+ const _0x255d=['find','noPermissions','commands','config','comment:admin','addCommentThread','Permissions','get','forceDisabled','clearForceDisabled','collaboration.channelId','editors','enableReadOnlyMode','context','includes','permissions-set-permissions-invalid-channel-id','document:write','CommentsRepository','setPermissions','CommentsOnly','no-permissions','isEnabled'];(function(_0x314c05,_0x255ddd){const _0x598960=function(_0x187644){while(--_0x187644){_0x314c05['push'](_0x314c05['shift']());}};_0x598960(++_0x255ddd);}(_0x255d,0x133));const _0x5989=function(_0x314c05,_0x255ddd){_0x314c05=_0x314c05-0x0;let _0x598960=_0x255d[_0x314c05];return _0x598960;};import{ContextPlugin as _0x4c6a38,Editor as _0x49b05e}from'ckeditor5/src/core';import{CKEditorError as _0x156d05}from'ckeditor5/src/utils';export default class i extends _0x4c6a38{static get['pluginName'](){return _0x5989('0x7');}[_0x5989('0x13')](_0x95256d,_0x544d6c){let _0x47f121;if(_0x544d6c||(_0x544d6c=this['context'][_0x5989('0x4')][_0x5989('0x8')](_0x5989('0xb'))),this['context'][_0x5989('0x4')][_0x5989('0x8')]('collaboration.channelId')==_0x544d6c?_0x47f121=this[_0x5989('0xe')]:this[_0x5989('0xe')][_0x5989('0xc')]&&(_0x47f121=this[_0x5989('0xe')]['editors'][_0x5989('0x1')](_0x33e152=>_0x33e152[_0x5989('0x4')]['get'](_0x5989('0xb'))==_0x544d6c)),!_0x47f121)throw new _0x156d05(_0x5989('0x10'),null);const _0x3cd72a=_0x47f121['plugins'],_0x5b89ca=_0x47f121 instanceof _0x49b05e,_0x4dc555=_0x3cd72a['has'](_0x5989('0x12'))&&_0x3cd72a[_0x5989('0x8')](_0x5989('0x12')),_0x1e4eac=_0x3cd72a['has'](_0x5989('0x14'))&&_0x3cd72a[_0x5989('0x8')]('CommentsOnly'),_0x521714=_0x95256d[_0x5989('0xf')](_0x5989('0x11')),_0x385725=_0x95256d[_0x5989('0xf')](_0x5989('0x5')),_0x534c16=_0x95256d[_0x5989('0xf')]('comment:write')||_0x385725;(_0x1e4eac&&(_0x1e4eac[_0x5989('0x0')]=!_0x521714&&_0x534c16),_0x5b89ca)&&(!(_0x521714||_0x534c16&&_0x4dc555)?_0x47f121[_0x5989('0xd')](_0x5989('0x15')):_0x47f121['disableReadOnlyMode']('no-permissions'));if(_0x4dc555){_0x4dc555['switchReadOnly'](!_0x534c16,_0x544d6c),_0x4dc555['setAdminPermissions'](_0x385725,_0x544d6c);const _0x3cbefd=_0x5b89ca&&_0x47f121[_0x5989('0x3')]['get'](_0x5989('0x6'));_0x3cbefd&&(_0x534c16?_0x3cbefd[_0x5989('0xa')]('noPermissions'):_0x3cbefd[_0x5989('0x9')](_0x5989('0x2')));}}}
@@ -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 _0x2551=['isAnonymous','ck-user__notification','notificationView','setTemplate','avatar','content','name','extendTemplate','push','url(\x27','div','ck\x20ck-user__name\x20ck-user__name--hidden','ck-user__anonymous','ck-user__icon','ck-user__avatar','ck-user'];(function(_0x1e72b7,_0x25513b){const _0x30285a=function(_0x22ef74){while(--_0x22ef74){_0x1e72b7['push'](_0x1e72b7['shift']());}};_0x30285a(++_0x25513b);}(_0x2551,0xe4));const _0x3028=function(_0x1e72b7,_0x25513b){_0x1e72b7=_0x1e72b7-0x0;let _0x30285a=_0x2551[_0x1e72b7];return _0x30285a;};import{View as _0x1d6b8b,IconView as _0x4f43d7}from'ckeditor5/src/ui';import _0x27de17 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class w extends _0x1d6b8b{constructor(_0x16721d,_0x35f341,_0x413b66){super(_0x16721d),this[_0x3028('0x2')]=_0x35f341[_0x3028('0x2')],this[_0x3028('0xe')]=null;const _0x322928=['ck','ck-user__img'];if(_0x35f341[_0x3028('0xc')]&&_0x322928['push'](_0x3028('0x8')),_0x35f341['avatar']&&_0x322928[_0x3028('0x4')](_0x3028('0xa')),_0x413b66){const _0x29f645=new _0x4f43d7();_0x29f645[_0x3028('0x3')]({'attributes':{'class':[_0x3028('0x9')]}}),_0x29f645[_0x3028('0x1')]=_0x27de17,this[_0x3028('0xe')]={'tag':_0x3028('0x6'),'attributes':{'class':['ck',_0x3028('0xd')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x413b66},'children':[_0x29f645]};}const _0x5563aa=[{'tag':_0x3028('0x6'),'attributes':{'class':_0x322928,'style':{'background-image':_0x35f341[_0x3028('0x0')]?_0x3028('0x5')+_0x35f341[_0x3028('0x0')]+'\x27)':''}}},{'tag':_0x3028('0x6'),'attributes':{'class':_0x35f341['avatar']?_0x3028('0x7'):'ck\x20ck-user__name'},'children':[{'text':_0x35f341['initials']}]}];this['notificationView']&&_0x5563aa[_0x3028('0x4')](this[_0x3028('0xe')]),this[_0x3028('0xf')]({'tag':_0x3028('0x6'),'attributes':{'class':['ck',_0x3028('0xb')],'data-user-id':_0x35f341['id']},'children':_0x5563aa});}}
23
+ const _0x2a43=['ck-user__notification','ck-user__avatar','setTemplate','isAnonymous','push','notificationView','ck-user__icon','ck\x20ck-user__name','content','avatar','div','initials','url(\x27','ck-user__img','name'];(function(_0x3956cc,_0x2a43be){const _0x131060=function(_0x428c1f){while(--_0x428c1f){_0x3956cc['push'](_0x3956cc['shift']());}};_0x131060(++_0x2a43be);}(_0x2a43,0x155));const _0x1310=function(_0x3956cc,_0x2a43be){_0x3956cc=_0x3956cc-0x0;let _0x131060=_0x2a43[_0x3956cc];return _0x131060;};import{View as _0x3f6726,IconView as _0x1b7c4d}from'ckeditor5/src/ui';import _0x932106 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class w extends _0x3f6726{constructor(_0x222ef3,_0x41d9ba,_0x4ef572){super(_0x222ef3),this[_0x1310('0x3')]=_0x41d9ba['name'],this[_0x1310('0x9')]=null;const _0x32e45c=['ck',_0x1310('0x2')];if(_0x41d9ba[_0x1310('0x7')]&&_0x32e45c[_0x1310('0x8')]('ck-user__anonymous'),_0x41d9ba['avatar']&&_0x32e45c[_0x1310('0x8')](_0x1310('0x5')),_0x4ef572){const _0x57093c=new _0x1b7c4d();_0x57093c['extendTemplate']({'attributes':{'class':[_0x1310('0xa')]}}),_0x57093c[_0x1310('0xc')]=_0x932106,this[_0x1310('0x9')]={'tag':_0x1310('0xe'),'attributes':{'class':['ck',_0x1310('0x4')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4ef572},'children':[_0x57093c]};}const _0x5c8d83=[{'tag':_0x1310('0xe'),'attributes':{'class':_0x32e45c,'style':{'background-image':_0x41d9ba[_0x1310('0xd')]?_0x1310('0x1')+_0x41d9ba[_0x1310('0xd')]+'\x27)':''}}},{'tag':_0x1310('0xe'),'attributes':{'class':_0x41d9ba[_0x1310('0xd')]?'ck\x20ck-user__name\x20ck-user__name--hidden':_0x1310('0xb')},'children':[{'text':_0x41d9ba[_0x1310('0x0')]}]}];this[_0x1310('0x9')]&&_0x5c8d83[_0x1310('0x8')](this[_0x1310('0x9')]),this[_0x1310('0x6')]({'tag':_0x1310('0xe'),'attributes':{'class':['ck','ck-user'],'data-user-id':_0x41d9ba['id']},'children':_0x5c8d83});}}
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 _0x5cd0=['licenseKeyValid','trim','users.colorsCount','color','name','Users','init','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.','getOperationAuthor','getBackgroundColorClass','destroy','addUser','_licenseKeyCheckInterval','useAnonymousUser','has','licenseKey','_isAnonymous','_id','context','charAt','users-add-invalid-id','Anonymous','_addAnonymousUser','_getInitial','toUpperCase','initials','get','decorate','_myId','length','ck-user__marker--','licenseKeyTrialLimit:operations','licenseKeyTrialLimit:revisions','pluginName','licenseKeyInvalid','trial-license-key-reached-limit-revisions','_locale','requires','licenseKeyTrial','string','getUser','invalid-license-key','defineMe','_lastColor','users.anonymousUserId','config','split','isAnonymous','includes','users'];(function(_0x49e0c9,_0x5cd041){const _0x2760a4=function(_0x5b6406){while(--_0x5b6406){_0x49e0c9['push'](_0x49e0c9['shift']());}};_0x2760a4(++_0x5cd041);}(_0x5cd0,0x19a));const _0x2760=function(_0x49e0c9,_0x5cd041){_0x49e0c9=_0x49e0c9-0x0;let _0x2760a4=_0x5cd0[_0x49e0c9];return _0x2760a4;};import{ContextPlugin as _0x3752f9}from'ckeditor5/src/core';import{Collection as _0x5a4b0d,CKEditorError as _0x22ea44}from'ckeditor5/src/utils';import _0x431119 from'./permissions';import{getTranslation as _0x1b13a5}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x3752f9{static get[_0x2760('0x17')](){return _0x2760('0x2d');}static get[_0x2760('0x1b')](){return[_0x431119];}constructor(_0x3ac124){super(_0x3ac124),_0x3ac124[_0x2760('0x23')]['define'](_0x2760('0x22'),'anonymous-user'),_0x3ac124[_0x2760('0x23')]['define'](_0x2760('0x2a'),0x8),this[_0x2760('0x27')]=new _0x5a4b0d(),this[_0x2760('0x1a')]=_0x3ac124['locale'],this[_0x2760('0x2')]=null,this[_0x2760('0x21')]=0x0,this[_0x2760('0x12')]=null,this[_0x2760('0x11')](_0x2760('0x30'));}[_0x2760('0x2e')](){const _0x369183=this[_0x2760('0x8')];this[_0x2760('0x5')]=_0x369183[_0x2760('0x23')][_0x2760('0x10')](_0x2760('0x5'));const _0x22bb8c=[_0x2760('0x1c'),_0x2760('0x18'),_0x2760('0x28'),_0x2760('0x15'),'licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x59ceae;for(const _0x5cc224 in _0x369183){const _0x3ffe03=_0x369183[_0x5cc224];if(_0x22bb8c[_0x2760('0x26')](_0x3ffe03)){delete _0x369183[_0x5cc224],_0x59ceae=_0x3ffe03;break;}}if(_0x2760('0x18')===_0x59ceae)throw clearInterval(this[_0x2760('0x2')]),new _0x22ea44(_0x2760('0x1f'),null);if('licenseKeyTrial'===_0x59ceae&&console['info'](_0x2760('0x2f')),_0x2760('0x15')===_0x59ceae)throw clearInterval(this[_0x2760('0x2')]),new _0x22ea44('trial-license-key-reached-limit-changes',null);if('licenseKeyTrialLimit:time'===_0x59ceae)throw clearInterval(this[_0x2760('0x2')]),new _0x22ea44('trial-license-key-reached-limit-time',null);if(_0x2760('0x16')===_0x59ceae)throw clearInterval(this[_0x2760('0x2')]),new _0x22ea44(_0x2760('0x19'),null);_0x2760('0x28')===_0x59ceae&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this[_0x2760('0x12')]?null:this[_0x2760('0x1e')](this[_0x2760('0x12')]);}[_0x2760('0x1')](_0x2d8bcf){if(!(_0x2d8bcf=Object['assign']({},_0x2d8bcf,{'color':this['_getNextColor']()}))['id']||_0x2760('0x1d')!=typeof _0x2d8bcf['id'])throw new _0x22ea44(_0x2760('0xa'));if(this['users'][_0x2760('0x4')](_0x2d8bcf['id']))throw new _0x22ea44('users-add-duplicated-id',null,{'id':_0x2d8bcf['id']});_0x2d8bcf['name']=function(_0x5de859,_0x3c6467=''){return''==(_0x3c6467=_0x3c6467[_0x2760('0x29')]())?_0x1b13a5(_0x5de859,_0x2760('0xb')):_0x3c6467;}(this['_locale'],_0x2d8bcf[_0x2760('0x2c')]);const _0x4ec8c8=new u(_0x2d8bcf);return this['users']['add'](_0x4ec8c8),_0x4ec8c8;}['getUser'](_0xaf3cde){return this[_0x2760('0x27')][_0x2760('0x10')](_0xaf3cde);}[_0x2760('0x3')](){const _0x2dbeb2=this['context'][_0x2760('0x23')]['get'](_0x2760('0x22'));this['_myId']||this[_0x2760('0x20')](_0x2dbeb2);}[_0x2760('0x20')](_0x461a7c){if(this[_0x2760('0x12')])throw new _0x22ea44('users-me-already-defined',null);if(!this[_0x2760('0x1e')](_0x461a7c))throw new _0x22ea44('users-me-missing-user',null);this['_myId']=_0x461a7c;}[_0x2760('0x30')](){return this['me'];}[_0x2760('0x0')](){super[_0x2760('0x0')](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0x2b50dc=this[_0x2760('0x8')][_0x2760('0x23')][_0x2760('0x10')](_0x2760('0x2a'));return this[_0x2760('0x21')]>=_0x2b50dc&&(this[_0x2760('0x21')]=0x0),new a(this[_0x2760('0x21')]++);}[_0x2760('0xc')](){const _0x18f33c=this[_0x2760('0x8')]['config'][_0x2760('0x10')]('users.anonymousUserId');this[_0x2760('0x1')]({'id':_0x18f33c,'name':_0x1b13a5(this[_0x2760('0x1a')],_0x2760('0xb'))})[_0x2760('0x6')]=!0x0;}}class u{constructor(_0x570cb5){this['id']=_0x570cb5['id'],this['color']=_0x570cb5[_0x2760('0x2b')],this[_0x2760('0x2c')]=_0x570cb5['name'],this['avatar']=_0x570cb5['avatar'],this[_0x2760('0x6')]=!0x1;}get[_0x2760('0x25')](){return this[_0x2760('0x6')];}get[_0x2760('0xf')](){const _0x2b31b9=this['name'][_0x2760('0x24')]('\x20');return 0x1===_0x2b31b9[_0x2760('0x13')]?this[_0x2760('0xd')](_0x2b31b9[0x0]):this[_0x2760('0xd')](_0x2b31b9[0x0])+this[_0x2760('0xd')](_0x2b31b9[_0x2b31b9[_0x2760('0x13')]-0x1]);}[_0x2760('0xd')](_0x451532){return _0x451532[_0x2760('0x9')](0x0)[_0x2760('0xe')]();}}class a{constructor(_0x3ad98c){this[_0x2760('0x7')]=_0x3ad98c;}[_0x2760('0x31')](){return'ck-user__bg-color--'+this['_id'];}['getSelectionClass'](){return'ck-user__selection--'+this[_0x2760('0x7')];}['getMarkerClass'](){return _0x2760('0x14')+this[_0x2760('0x7')];}}
23
+ const _0x4cd7=['getOperationAuthor','addUser','color','users.anonymousUserId','_locale','includes','ck-user__marker--','requires','users-add-duplicated-id','invalid-license-key','_getInitial','avatar','has','decorate','_lastColor','ck-user__bg-color--','getBackgroundColorClass','getUser','licenseKeyTrial','licenseKey','licenseKeyValid','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.','_id','Users','toUpperCase','assign','_isAnonymous','trial-license-key-reached-limit-time','length','locale','_addAnonymousUser','users-add-invalid-id','licenseKeyTrialLimit:revisions','add','destroy','string','trial-license-key-reached-limit-changes','licenseKeyTrialLimit:time','users-me-already-defined','users','ck-user__selection--','config','context','getSelectionClass','init','define','users.colorsCount','_licenseKeyCheckInterval','licenseKeyTrialLimit:operations','get','pluginName','users-me-missing-user','licenseKeyInvalid','anonymous-user','defineMe','name','_myId','_getNextColor'];(function(_0x31af7e,_0x4cd75d){const _0x2a6d53=function(_0xb495d8){while(--_0xb495d8){_0x31af7e['push'](_0x31af7e['shift']());}};_0x2a6d53(++_0x4cd75d);}(_0x4cd7,0x134));const _0x2a6d=function(_0x31af7e,_0x4cd75d){_0x31af7e=_0x31af7e-0x0;let _0x2a6d53=_0x4cd7[_0x31af7e];return _0x2a6d53;};import{ContextPlugin as _0x2ce95a}from'ckeditor5/src/core';import{Collection as _0x14ef1d,CKEditorError as _0x1c8188}from'ckeditor5/src/utils';import _0x4aea21 from'./permissions';import{getTranslation as _0x580761}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x2ce95a{static get[_0x2a6d('0x20')](){return _0x2a6d('0x5');}static get[_0x2a6d('0x2f')](){return[_0x4aea21];}constructor(_0x351cf6){super(_0x351cf6),_0x351cf6['config'][_0x2a6d('0x1b')](_0x2a6d('0x2b'),_0x2a6d('0x23')),_0x351cf6[_0x2a6d('0x17')][_0x2a6d('0x1b')](_0x2a6d('0x1c'),0x8),this['users']=new _0x14ef1d(),this[_0x2a6d('0x2c')]=_0x351cf6[_0x2a6d('0xb')],this['_licenseKeyCheckInterval']=null,this[_0x2a6d('0x36')]=0x0,this[_0x2a6d('0x26')]=null,this[_0x2a6d('0x35')](_0x2a6d('0x28'));}[_0x2a6d('0x1a')](){const _0x1c9b2a=this[_0x2a6d('0x18')];this[_0x2a6d('0x1')]=_0x1c9b2a[_0x2a6d('0x17')][_0x2a6d('0x1f')](_0x2a6d('0x1'));const _0x1a498b=['licenseKeyTrial',_0x2a6d('0x22'),_0x2a6d('0x2'),_0x2a6d('0x1e'),'licenseKeyTrialLimit:time','licenseKeyTrialLimit:revisions'];this[_0x2a6d('0x1d')]=setInterval(()=>{let _0x380ad8;for(const _0x26347b in _0x1c9b2a){const _0x5251f7=_0x1c9b2a[_0x26347b];if(_0x1a498b[_0x2a6d('0x2d')](_0x5251f7)){delete _0x1c9b2a[_0x26347b],_0x380ad8=_0x5251f7;break;}}if(_0x2a6d('0x22')===_0x380ad8)throw clearInterval(this[_0x2a6d('0x1d')]),new _0x1c8188(_0x2a6d('0x31'),null);if(_0x2a6d('0x0')===_0x380ad8&&console['info'](_0x2a6d('0x3')),_0x2a6d('0x1e')===_0x380ad8)throw clearInterval(this[_0x2a6d('0x1d')]),new _0x1c8188(_0x2a6d('0x12'),null);if(_0x2a6d('0x13')===_0x380ad8)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x1c8188(_0x2a6d('0x9'),null);if(_0x2a6d('0xe')===_0x380ad8)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x1c8188('trial-license-key-reached-limit-revisions',null);_0x2a6d('0x2')===_0x380ad8&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this[_0x2a6d('0xc')]();}get['me'](){return null==this[_0x2a6d('0x26')]?null:this[_0x2a6d('0x39')](this[_0x2a6d('0x26')]);}[_0x2a6d('0x29')](_0x488143){if(!(_0x488143=Object[_0x2a6d('0x7')]({},_0x488143,{'color':this[_0x2a6d('0x27')]()}))['id']||_0x2a6d('0x11')!=typeof _0x488143['id'])throw new _0x1c8188(_0x2a6d('0xd'));if(this[_0x2a6d('0x15')][_0x2a6d('0x34')](_0x488143['id']))throw new _0x1c8188(_0x2a6d('0x30'),null,{'id':_0x488143['id']});_0x488143[_0x2a6d('0x25')]=function(_0x724481,_0x204ebc=''){return''==(_0x204ebc=_0x204ebc['trim']())?_0x580761(_0x724481,'Anonymous'):_0x204ebc;}(this[_0x2a6d('0x2c')],_0x488143['name']);const _0x5f12da=new u(_0x488143);return this[_0x2a6d('0x15')][_0x2a6d('0xf')](_0x5f12da),_0x5f12da;}[_0x2a6d('0x39')](_0x23e074){return this[_0x2a6d('0x15')][_0x2a6d('0x1f')](_0x23e074);}['useAnonymousUser'](){const _0x573a7b=this[_0x2a6d('0x18')][_0x2a6d('0x17')]['get'](_0x2a6d('0x2b'));this['_myId']||this[_0x2a6d('0x24')](_0x573a7b);}['defineMe'](_0x23b4ff){if(this[_0x2a6d('0x26')])throw new _0x1c8188(_0x2a6d('0x14'),null);if(!this['getUser'](_0x23b4ff))throw new _0x1c8188(_0x2a6d('0x21'),null);this[_0x2a6d('0x26')]=_0x23b4ff;}[_0x2a6d('0x28')](){return this['me'];}[_0x2a6d('0x10')](){super[_0x2a6d('0x10')](),clearInterval(this[_0x2a6d('0x1d')]);}[_0x2a6d('0x27')](){const _0x584576=this[_0x2a6d('0x18')][_0x2a6d('0x17')][_0x2a6d('0x1f')](_0x2a6d('0x1c'));return this[_0x2a6d('0x36')]>=_0x584576&&(this['_lastColor']=0x0),new a(this[_0x2a6d('0x36')]++);}[_0x2a6d('0xc')](){const _0x4cb966=this[_0x2a6d('0x18')]['config']['get'](_0x2a6d('0x2b'));this[_0x2a6d('0x29')]({'id':_0x4cb966,'name':_0x580761(this[_0x2a6d('0x2c')],'Anonymous')})['_isAnonymous']=!0x0;}}class u{constructor(_0x5e87f4){this['id']=_0x5e87f4['id'],this[_0x2a6d('0x2a')]=_0x5e87f4['color'],this['name']=_0x5e87f4[_0x2a6d('0x25')],this[_0x2a6d('0x33')]=_0x5e87f4[_0x2a6d('0x33')],this[_0x2a6d('0x8')]=!0x1;}get['isAnonymous'](){return this[_0x2a6d('0x8')];}get['initials'](){const _0x1531fc=this[_0x2a6d('0x25')]['split']('\x20');return 0x1===_0x1531fc['length']?this[_0x2a6d('0x32')](_0x1531fc[0x0]):this[_0x2a6d('0x32')](_0x1531fc[0x0])+this[_0x2a6d('0x32')](_0x1531fc[_0x1531fc[_0x2a6d('0xa')]-0x1]);}[_0x2a6d('0x32')](_0x12a24e){return _0x12a24e['charAt'](0x0)[_0x2a6d('0x6')]();}}class a{constructor(_0x2b23ad){this[_0x2a6d('0x4')]=_0x2b23ad;}[_0x2a6d('0x38')](){return _0x2a6d('0x37')+this[_0x2a6d('0x4')];}[_0x2a6d('0x19')](){return _0x2a6d('0x16')+this[_0x2a6d('0x4')];}['getMarkerClass'](){return _0x2a6d('0x2e')+this[_0x2a6d('0x4')];}}
@@ -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(_0x52ed70,_0x1fdae0){const t=_0x52ed70['t'];switch(_0x1fdae0){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(_0x3dbdc1,_0x36d8fa){const t=_0x3dbdc1['t'];switch(_0x36d8fa){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 _0x13a2=['once','render','message','cancel','confirmView','locale','element','_removeConfirm','fire','appendChild','set','registerChild','isConfirm','remove','submit','destroy'];(function(_0x3ef1a7,_0x13a2f3){var _0x3f137b=function(_0x4a1dae){while(--_0x4a1dae){_0x3ef1a7['push'](_0x3ef1a7['shift']());}};_0x3f137b(++_0x13a2f3);}(_0x13a2,0x74));var _0x3f13=function(_0x3ef1a7,_0x13a2f3){_0x3ef1a7=_0x3ef1a7-0x0;var _0x3f137b=_0x13a2[_0x3ef1a7];return _0x3f137b;};import _0x2d0319 from'./confirmview';export default{'showConfirm'(_0xf15ecd,_0x74b52f){return this['confirmView']=new _0x2d0319(this[_0x3f13('0x1')]),this[_0x3f13('0x0')][_0x3f13('0xd')](),this[_0x3f13('0x0')][_0x3f13('0xe')]=_0xf15ecd,this['confirmView'][_0x3f13('0xc')]('cancel',()=>{this[_0x3f13('0x3')]();}),this['confirmView'][_0x3f13('0xc')]('submit',()=>{this[_0x3f13('0x3')]();}),_0x74b52f[_0x3f13('0x5')](this[_0x3f13('0x0')][_0x3f13('0x2')]),this[_0x3f13('0x7')](this['confirmView']),this[_0x3f13('0x6')](_0x3f13('0x8'),!0x0),new Promise(_0x3d2c48=>this[_0x3f13('0x0')]['on'](_0x3f13('0xa'),_0x3d2c48));},'cancelConfirm'(){this[_0x3f13('0x8')]&&this[_0x3f13('0x0')][_0x3f13('0x4')](_0x3f13('0xf'));},'_removeConfirm'(){this[_0x3f13('0x0')][_0x3f13('0x2')][_0x3f13('0x9')](),this['deregisterChild'](this[_0x3f13('0x0')]),this[_0x3f13('0x8')]=!0x1,this[_0x3f13('0x0')][_0x3f13('0xb')](),delete this[_0x3f13('0x0')];}};
23
+ var _0x47bc=['focus','locale','registerChild','deregisterChild','element','once','isConfirm','confirmView','appendChild','set','fire','message','submit','cancel'];(function(_0x4e0396,_0x47bcd4){var _0x29498a=function(_0x514ca8){while(--_0x514ca8){_0x4e0396['push'](_0x4e0396['shift']());}};_0x29498a(++_0x47bcd4);}(_0x47bc,0x1ac));var _0x2949=function(_0x4e0396,_0x47bcd4){_0x4e0396=_0x4e0396-0x0;var _0x29498a=_0x47bc[_0x4e0396];return _0x29498a;};import _0x5bc25e from'./confirmview';export default{'showConfirm'(_0x34c5df,_0x49cf91){return this[_0x2949('0xd')]=new _0x5bc25e(this[_0x2949('0x7')]),this['confirmView']['render'](),this['confirmView'][_0x2949('0x3')]=_0x34c5df,this[_0x2949('0xd')][_0x2949('0xb')](_0x2949('0x5'),()=>{this['_removeConfirm']();}),this[_0x2949('0xd')][_0x2949('0xb')](_0x2949('0x4'),()=>{this['_removeConfirm']();}),_0x49cf91[_0x2949('0x0')](this[_0x2949('0xd')][_0x2949('0xa')]),this[_0x2949('0x8')](this['confirmView']),this[_0x2949('0x1')](_0x2949('0xc'),!0x0),new Promise(_0x564170=>this[_0x2949('0xd')]['on']('submit',_0x564170));},'cancelConfirm'(){this[_0x2949('0xc')]&&this[_0x2949('0xd')][_0x2949('0x2')](_0x2949('0x5'));},'_removeConfirm'(){this[_0x2949('0xa')][_0x2949('0x6')](),this[_0x2949('0xd')][_0x2949('0xa')]['remove'](),this[_0x2949('0x9')](this[_0x2949('0xd')]),this[_0x2949('0xc')]=!0x1,this['confirmView']['destroy'](),delete this[_0x2949('0xd')];}};
@@ -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 _0x4a2c=['submitView','message','cancel','div','ck-thread__remove-confirm-','setTemplate','submit','check','execute','ck-thread__remove-confirm-inner','ck-thread__remove-confirm-actions','cancelView','bindTemplate','label','icon','fire','set','_createButtonView','Are\x20you\x20sure?'];(function(_0x37bad9,_0x4a2cd7){const _0x1b1139=function(_0x18fc8f){while(--_0x18fc8f){_0x37bad9['push'](_0x37bad9['shift']());}};_0x1b1139(++_0x4a2cd7);}(_0x4a2c,0x14e));const _0x1b11=function(_0x37bad9,_0x4a2cd7){_0x37bad9=_0x37bad9-0x0;let _0x1b1139=_0x4a2c[_0x37bad9];return _0x1b1139;};import{View as _0x412744,ButtonView as _0x5af5c7}from'ckeditor5/src/ui';import{icons as _0x4f8240}from'ckeditor5/src/core';import{getTranslation as _0x22bd70}from'./common-translations';export default class h extends _0x412744{constructor(_0x2b49a0){super(_0x2b49a0);const _0x26d81f=this[_0x1b11('0x1')];this[_0x1b11('0x8')]=this['_createButtonView'](_0x2b49a0,_0x22bd70(_0x2b49a0,'Yes'),_0x4f8240[_0x1b11('0xf')],_0x1b11('0xe')),this[_0x1b11('0x0')]=this[_0x1b11('0x6')](_0x2b49a0,_0x22bd70(_0x2b49a0,'No'),_0x4f8240['cancel'],_0x1b11('0xa')),this[_0x1b11('0x5')](_0x1b11('0x9'),_0x22bd70(_0x2b49a0,_0x1b11('0x7'))),this[_0x1b11('0xd')]({'tag':_0x1b11('0xb'),'attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':_0x1b11('0xb'),'attributes':{'class':_0x1b11('0x11')},'children':[{'tag':'p','children':[{'text':_0x26d81f['to'](_0x1b11('0x9'))}]},{'tag':_0x1b11('0xb'),'attributes':{'class':_0x1b11('0x12')},'children':[this[_0x1b11('0x8')],this[_0x1b11('0x0')]]}]}]});}[_0x1b11('0x6')](_0x2ca0e9,_0x42cf2f,_0x1443f1,_0x297dbf){const _0x4fa154=new _0x5af5c7(_0x2ca0e9);return _0x4fa154[_0x1b11('0x2')]=_0x42cf2f,_0x4fa154[_0x1b11('0x3')]=_0x1443f1,_0x4fa154['extendTemplate']({'attributes':{'class':_0x1b11('0xc')+_0x297dbf}}),_0x4fa154['on'](_0x1b11('0x10'),()=>this[_0x1b11('0x4')](_0x297dbf)),_0x4fa154;}}
23
+ const _0xd4e4=['_createButtonView','div','cancelView','fire','ck-thread__remove-confirm-inner','Are\x20you\x20sure?','ck-thread__remove-confirm-actions','set','check','setTemplate','cancel','message','label','icon','execute','ck-thread__remove-confirm-'];(function(_0x2ad2cb,_0xd4e48e){const _0x2d1c2d=function(_0x5acd05){while(--_0x5acd05){_0x2ad2cb['push'](_0x2ad2cb['shift']());}};_0x2d1c2d(++_0xd4e48e);}(_0xd4e4,0x118));const _0x2d1c=function(_0x2ad2cb,_0xd4e48e){_0x2ad2cb=_0x2ad2cb-0x0;let _0x2d1c2d=_0xd4e4[_0x2ad2cb];return _0x2d1c2d;};import{View as _0x2f9fcf,ButtonView as _0xea57b1}from'ckeditor5/src/ui';import{icons as _0x32c1a6}from'ckeditor5/src/core';import{getTranslation as _0x11dc43}from'./common-translations';export default class h extends _0x2f9fcf{constructor(_0x1b165a){super(_0x1b165a);const _0x3a7af6=this['bindTemplate'];this['submitView']=this[_0x2d1c('0x8')](_0x1b165a,_0x11dc43(_0x1b165a,'Yes'),_0x32c1a6[_0x2d1c('0x0')],'submit'),this[_0x2d1c('0xa')]=this[_0x2d1c('0x8')](_0x1b165a,_0x11dc43(_0x1b165a,'No'),_0x32c1a6['cancel'],_0x2d1c('0x2')),this[_0x2d1c('0xf')](_0x2d1c('0x3'),_0x11dc43(_0x1b165a,_0x2d1c('0xd'))),this[_0x2d1c('0x1')]({'tag':_0x2d1c('0x9'),'attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':_0x2d1c('0x9'),'attributes':{'class':_0x2d1c('0xc')},'children':[{'tag':'p','children':[{'text':_0x3a7af6['to'](_0x2d1c('0x3'))}]},{'tag':_0x2d1c('0x9'),'attributes':{'class':_0x2d1c('0xe')},'children':[this['submitView'],this[_0x2d1c('0xa')]]}]}]});}['_createButtonView'](_0x387c8f,_0x5bb8a3,_0x4caa7e,_0x213a9b){const _0x3b6096=new _0xea57b1(_0x387c8f);return _0x3b6096[_0x2d1c('0x4')]=_0x5bb8a3,_0x3b6096[_0x2d1c('0x5')]=_0x4caa7e,_0x3b6096['extendTemplate']({'attributes':{'class':_0x2d1c('0x7')+_0x213a9b}}),_0x3b6096['on'](_0x2d1c('0x6'),()=>this[_0x2d1c('0xb')](_0x213a9b)),_0x3b6096;}}
@@ -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 _0x343a=['\x27Yesterday\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma','dateTimeFormat','invalid-date-time-format','function','\x27Last\x27\x20EEEE\x20hh:mma','\x27Today\x27\x20hh:mma','string'];(function(_0x13a454,_0x343a79){const _0x27a573=function(_0x5ea0f3){while(--_0x5ea0f3){_0x13a454['push'](_0x13a454['shift']());}};_0x27a573(++_0x343a79);}(_0x343a,0xb6));const _0x27a5=function(_0x13a454,_0x343a79){_0x13a454=_0x13a454-0x0;let _0x27a573=_0x343a[_0x13a454];return _0x27a573;};import _0x541fe6 from'date-fns/format';import _0x3aaeb2 from'date-fns/parseISO';import _0x17a05f from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x6f1ff2}from'ckeditor5/src/utils';export default function E(_0x1c14f3={}){if(void 0x0!==_0x1c14f3[_0x27a5('0x4')]&&_0x27a5('0x6')!=typeof _0x1c14f3['dateTimeFormat'])throw new _0x6f1ff2(_0x27a5('0x5'));return _0x4d88ee=>{const _0x2a4577=_0x27a5('0x1')==typeof _0x4d88ee?_0x3aaeb2(_0x4d88ee):_0x4d88ee,_0x34c591=new Date(),_0x3e0bc7=_0x17a05f(_0x34c591,_0x2a4577);return _0x1c14f3[_0x27a5('0x4')]?_0x1c14f3[_0x27a5('0x4')](_0x2a4577):_0x541fe6(_0x2a4577,0x0===_0x3e0bc7?_0x27a5('0x0'):0x1===_0x3e0bc7?_0x27a5('0x2'):_0x3e0bc7<0x7?_0x27a5('0x7'):_0x27a5('0x3'));};}
23
+ const _0x441e=['invalid-date-time-format','function','\x27Last\x27\x20EEEE\x20hh:mma','string','\x27Yesterday\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma','dateTimeFormat'];(function(_0x58437e,_0x441e59){const _0x3e650d=function(_0x265079){while(--_0x265079){_0x58437e['push'](_0x58437e['shift']());}};_0x3e650d(++_0x441e59);}(_0x441e,0x1d7));const _0x3e65=function(_0x58437e,_0x441e59){_0x58437e=_0x58437e-0x0;let _0x3e650d=_0x441e[_0x58437e];return _0x3e650d;};import _0x3ae965 from'date-fns/format';import _0x5bbfed from'date-fns/parseISO';import _0x348c5a from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x28ef83}from'ckeditor5/src/utils';export default function E(_0x44ca20={}){if(void 0x0!==_0x44ca20[_0x3e65('0x4')]&&_0x3e65('0x6')!=typeof _0x44ca20[_0x3e65('0x4')])throw new _0x28ef83(_0x3e65('0x5'));return _0x17fb62=>{const _0x3ff9d6=_0x3e65('0x1')==typeof _0x17fb62?_0x5bbfed(_0x17fb62):_0x17fb62,_0x352fe6=new Date(),_0x3db89d=_0x348c5a(_0x352fe6,_0x3ff9d6);return _0x44ca20[_0x3e65('0x4')]?_0x44ca20[_0x3e65('0x4')](_0x3ff9d6):_0x3ae965(_0x3ff9d6,0x0===_0x3db89d?'\x27Today\x27\x20hh:mma':0x1===_0x3db89d?_0x3e65('0x2'):_0x3db89d<0x7?_0x3e65('0x0'):_0x3e65('0x3'));};}
@@ -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 _0x4185=['mapper','domConverter','name','markerNameToElements','mapViewToDom','values','view'];(function(_0x26763c,_0x418508){const _0x570ae9=function(_0x49b008){while(--_0x49b008){_0x26763c['push'](_0x26763c['shift']());}};_0x570ae9(++_0x418508);}(_0x4185,0x105));const _0x570a=function(_0x26763c,_0x418508){_0x26763c=_0x26763c-0x0;let _0x570ae9=_0x4185[_0x26763c];return _0x570ae9;};import{first as _0x19c3c3}from'ckeditor5/src/utils';export default function x(_0x3a5ae3,_0x431200){const _0x53dbcc=_0x3a5ae3[_0x570a('0x5')][_0x570a('0x1')](_0x431200[_0x570a('0x0')]),_0x44affd=_0x19c3c3(_0x53dbcc[_0x570a('0x3')]());return _0x3a5ae3[_0x570a('0x4')][_0x570a('0x6')][_0x570a('0x2')](_0x44affd);}
23
+ const _0x5b85=['item','length','values','markerNameToElements','getClientRects','map','from','domElement','domConverter','sort','mapper','view','push','name','mapViewToDom'];(function(_0x4c77bc,_0x5b85b0){const _0x3980a1=function(_0x3f6c9d){while(--_0x3f6c9d){_0x4c77bc['push'](_0x4c77bc['shift']());}};_0x3980a1(++_0x5b85b0);}(_0x5b85,0x1a5));const _0x3980=function(_0x4c77bc,_0x5b85b0){_0x4c77bc=_0x4c77bc-0x0;let _0x3980a1=_0x5b85[_0x4c77bc];return _0x3980a1;};import{first as _0x181480}from'ckeditor5/src/utils';export default function k(_0x47c781,_0x2f2c2a){const _0x17d2f0=_0x47c781[_0x3980('0x9')][_0x3980('0x2')](_0x2f2c2a[_0x3980('0xc')]),_0x581514=_0x181480(_0x17d2f0[_0x3980('0x1')]());return _0x47c781['view']['domConverter']['mapViewToDom'](_0x581514);}export function getAllMarkersDomElementsSorted(_0x3d4a56,_0x47c777){if(0x0===_0x47c777[_0x3980('0x0')])return null;const _0x3fa071=[],_0x3a7ac8=_0x3d4a56[_0x3980('0xa')][_0x3980('0x7')];for(const _0xec0e13 of _0x47c777){const _0x23a049=_0x3d4a56[_0x3980('0x9')][_0x3980('0x2')](_0xec0e13[_0x3980('0xc')]);if(!_0x23a049)continue;const _0x33845f=Array[_0x3980('0x5')](_0x23a049)['map'](_0x59b4d3=>_0x3a7ac8[_0x3980('0xd')](_0x59b4d3));_0x3fa071[_0x3980('0xb')](..._0x33845f);}if(0x0===_0x3fa071[_0x3980('0x0')])return null;const _0x11990b=[];for(const _0x3187a6 of _0x3fa071){const _0x4bacb2=_0x3187a6[_0x3980('0x3')]()[_0x3980('0xe')](0x0);_0x4bacb2&&_0x11990b[_0x3980('0xb')]({'x':_0x4bacb2['x'],'y':_0x4bacb2['y'],'domElement':_0x3187a6});}return 0x0===_0x11990b[_0x3980('0x0')]?null:(_0x11990b[_0x3980('0x8')]((_0x120030,_0x252d2c)=>_0x120030['y']-_0x252d2c['y']||_0x120030['x']-_0x252d2c['x']),_0x11990b[_0x3980('0x4')](_0x4418e1=>_0x4418e1[_0x3980('0x6')]));}
@@ -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 _0x39cd=['keys','string','sign','toString','isArray','number','charCodeAt'];(function(_0x536694,_0x39cd17){const _0x52e8e6=function(_0x2687de){while(--_0x2687de){_0x536694['push'](_0x536694['shift']());}};_0x52e8e6(++_0x39cd17);}(_0x39cd,0x1c2));const _0x52e8=function(_0x536694,_0x39cd17){_0x536694=_0x536694-0x0;let _0x52e8e6=_0x39cd[_0x536694];return _0x52e8e6;};export default function b(_0x519efa){let _0x34b6c4=0x0,_0x5e521f=0x0;for(const _0x21ddca of g(_0x519efa))_0x34b6c4=(_0x34b6c4<<0x5)-_0x34b6c4+_0x21ddca,_0x34b6c4&=_0x34b6c4,[_0x34b6c4,_0x5e521f]=[_0x5e521f,_0x34b6c4];return O(_0x34b6c4)+O(_0x5e521f);}function*j(_0x39a6a0){_0x39a6a0?'boolean'==typeof _0x39a6a0?yield 0x1:Array[_0x52e8('0x2')](_0x39a6a0)?yield*function*(_0x3414f1){for(const _0x1d183b of _0x3414f1)yield*j(_0x1d183b);}(_0x39a6a0):'object'==typeof _0x39a6a0?yield*g(_0x39a6a0):_0x52e8('0x6')==typeof _0x39a6a0?yield*A(_0x39a6a0):_0x52e8('0x3')==typeof _0x39a6a0&&(yield _0x39a6a0):yield 0x0;}function*g(_0x3093d5){if(yield M('{'),_0x3093d5){const _0x5e8a4e=Object[_0x52e8('0x5')](_0x3093d5)['sort']();for(const _0x94dc9d of _0x5e8a4e){yield*A(_0x94dc9d),yield M(':');const _0x48477c=_0x3093d5[_0x94dc9d];yield*j(_0x48477c);}}yield M('}');}function*A(_0x14d512){yield M('\x22');for(const _0x5364cc of _0x14d512)yield M(_0x5364cc);yield M('\x22');}function M(_0x3d98a4){return _0x3d98a4[_0x52e8('0x4')](0x0);}function O(_0x1a3994){return(_0x1a3994*=Math[_0x52e8('0x0')](_0x1a3994))[_0x52e8('0x1')](0x24);}
23
+ const _0x465d=['string','sign','object','boolean','sort','number'];(function(_0xf9ee72,_0x465dd4){const _0x420a95=function(_0x352766){while(--_0x352766){_0xf9ee72['push'](_0xf9ee72['shift']());}};_0x420a95(++_0x465dd4);}(_0x465d,0xa5));const _0x420a=function(_0xf9ee72,_0x465dd4){_0xf9ee72=_0xf9ee72-0x0;let _0x420a95=_0x465d[_0xf9ee72];return _0x420a95;};export default function b(_0x305071){let _0x5a3c4d=0x0,_0xb31da8=0x0;for(const _0xa2ab8f of g(_0x305071))_0x5a3c4d=(_0x5a3c4d<<0x5)-_0x5a3c4d+_0xa2ab8f,_0x5a3c4d&=_0x5a3c4d,[_0x5a3c4d,_0xb31da8]=[_0xb31da8,_0x5a3c4d];return O(_0x5a3c4d)+O(_0xb31da8);}function*j(_0x4f6f4f){_0x4f6f4f?_0x420a('0x0')==typeof _0x4f6f4f?yield 0x1:Array['isArray'](_0x4f6f4f)?yield*function*(_0x4c6fbc){for(const _0x2a22cb of _0x4c6fbc)yield*j(_0x2a22cb);}(_0x4f6f4f):_0x420a('0x5')==typeof _0x4f6f4f?yield*g(_0x4f6f4f):_0x420a('0x3')==typeof _0x4f6f4f?yield*A(_0x4f6f4f):_0x420a('0x2')==typeof _0x4f6f4f&&(yield _0x4f6f4f):yield 0x0;}function*g(_0x11124c){if(yield M('{'),_0x11124c){const _0x385b73=Object['keys'](_0x11124c)[_0x420a('0x1')]();for(const _0x58a602 of _0x385b73){yield*A(_0x58a602),yield M(':');const _0x160aad=_0x11124c[_0x58a602];yield*j(_0x160aad);}}yield M('}');}function*A(_0x512d95){yield M('\x22');for(const _0x2938b0 of _0x512d95)yield M(_0x2938b0);yield M('\x22');}function M(_0x5a5ce6){return _0x5a5ce6['charCodeAt'](0x0);}function O(_0x3c2a7d){return(_0x3c2a7d*=Math[_0x420a('0x4')](_0x3c2a7d))['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 _0x3bcc=['replace','split','push','indexOf','match','substring','length','...','pop','slice','join','startsWith'];(function(_0x1fe26e,_0x3bcc7d){const _0xb6c33d=function(_0x183d72){while(--_0x183d72){_0x1fe26e['push'](_0x1fe26e['shift']());}};_0xb6c33d(++_0x3bcc7d);}(_0x3bcc,0xea));const _0xb6c3=function(_0x1fe26e,_0x3bcc7d){_0x1fe26e=_0x1fe26e-0x0;let _0xb6c33d=_0x3bcc[_0x1fe26e];return _0xb6c33d;};export default function z(_0x5fb308,{limit:_0x51d4ac,suffix:_0x4319e4=_0xb6c3('0x1')}){const _0x2e25b6=[];let _0x4bb74d=0x0;const _0x33fbd2=_0x5fb308[_0xb6c3('0x6')](/</g,'\x0a<')[_0xb6c3('0x6')](/>/g,'>\x0a')[_0xb6c3('0x6')](/^\n/g,'')[_0xb6c3('0x6')](/\n$/g,'')[_0xb6c3('0x7')]('\x0a');for(let _0x4fc949=0x0;_0x4fc949<_0x33fbd2[_0xb6c3('0x0')];_0x4fc949++){let _0x975006=_0x33fbd2[_0x4fc949];const _0x28fdcd=Z(_0x975006);if(_0x975006['startsWith']('<')){if(_0x4bb74d>=_0x51d4ac){const _0x4a76b4=_0x975006[_0xb6c3('0xa')](/[a-zA-Z]+/)[0x0];_0x975006[_0xb6c3('0x5')]('</')?(_0x2e25b6[_0xb6c3('0x0')]&&(_0x975006=''),_0x2e25b6[_0xb6c3('0x2')]()):(_0x2e25b6['push'](_0x4a76b4),_0x975006='');}}else{if(_0x4bb74d>=_0x51d4ac)_0x975006='';else{if(_0x4bb74d+_0x28fdcd[_0xb6c3('0x0')]>=_0x51d4ac){let _0x3f5a77=_0x51d4ac-_0x4bb74d;if('\x20'===_0x28fdcd[_0x3f5a77-0x1])_0x3f5a77--;else{const _0x2fcce=_0x28fdcd[_0xb6c3('0x3')](_0x3f5a77)[_0xb6c3('0x9')]('\x20');-0x1!==_0x2fcce?_0x3f5a77+=_0x2fcce:_0x3f5a77=_0x975006['length'];}_0x975006=_0x28fdcd[_0xb6c3('0x3')](0x0,_0x3f5a77)[_0xb6c3('0x4')]('')+_0x4319e4,_0x4bb74d=_0x51d4ac;}else _0x4bb74d+=_0x28fdcd[_0xb6c3('0x0')];}}_0x33fbd2[_0x4fc949]=_0x975006;}return _0x33fbd2[_0xb6c3('0x4')]('\x0a')[_0xb6c3('0x6')](/\n/g,'');}function Z(_0x5606de){const _0x3e3079=[];for(let _0x58bf31=0x0;_0x58bf31<_0x5606de['length'];_0x58bf31++){const _0x116dda=_0x5606de[_0xb6c3('0xb')](_0x58bf31)[_0xb6c3('0xa')](/^&[a-z0-9#]+;/);if(_0x116dda){const _0x51568e=_0x116dda[0x0];_0x3e3079[_0xb6c3('0x8')](_0x51568e),_0x58bf31+=_0x51568e[_0xb6c3('0x0')]-0x1;}else _0x3e3079[_0xb6c3('0x8')](_0x5606de[_0x58bf31]);}return _0x3e3079;}
23
+ const _0x3775=['replace','slice','join','length','substring','pop','indexOf','split','startsWith','match','push'];(function(_0x4bac38,_0x3775ba){const _0x19a663=function(_0x3abf0e){while(--_0x3abf0e){_0x4bac38['push'](_0x4bac38['shift']());}};_0x19a663(++_0x3775ba);}(_0x3775,0x1a2));const _0x19a6=function(_0x4bac38,_0x3775ba){_0x4bac38=_0x4bac38-0x0;let _0x19a663=_0x3775[_0x4bac38];return _0x19a663;};export default function z(_0x5e2c52,{limit:_0x4ace25,suffix:_0xb961d6='...'}){const _0x239f0a=[];let _0x15aab5=0x0;const _0x283310=_0x5e2c52[_0x19a6('0x0')](/</g,'\x0a<')[_0x19a6('0x0')](/>/g,'>\x0a')[_0x19a6('0x0')](/^\n/g,'')[_0x19a6('0x0')](/\n$/g,'')[_0x19a6('0x7')]('\x0a');for(let _0x5e0d26=0x0;_0x5e0d26<_0x283310['length'];_0x5e0d26++){let _0x361367=_0x283310[_0x5e0d26];const _0x41c714=Z(_0x361367);if(_0x361367[_0x19a6('0x8')]('<')){if(_0x15aab5>=_0x4ace25){const _0x27f548=_0x361367[_0x19a6('0x9')](/[a-zA-Z]+/)[0x0];_0x361367['startsWith']('</')?(_0x239f0a[_0x19a6('0x3')]&&(_0x361367=''),_0x239f0a[_0x19a6('0x5')]()):(_0x239f0a[_0x19a6('0xa')](_0x27f548),_0x361367='');}}else{if(_0x15aab5>=_0x4ace25)_0x361367='';else{if(_0x15aab5+_0x41c714['length']>=_0x4ace25){let _0x4bd27c=_0x4ace25-_0x15aab5;if('\x20'===_0x41c714[_0x4bd27c-0x1])_0x4bd27c--;else{const _0x4a6c8a=_0x41c714[_0x19a6('0x1')](_0x4bd27c)[_0x19a6('0x6')]('\x20');-0x1!==_0x4a6c8a?_0x4bd27c+=_0x4a6c8a:_0x4bd27c=_0x361367[_0x19a6('0x3')];}_0x361367=_0x41c714[_0x19a6('0x1')](0x0,_0x4bd27c)[_0x19a6('0x2')]('')+_0xb961d6,_0x15aab5=_0x4ace25;}else _0x15aab5+=_0x41c714[_0x19a6('0x3')];}}_0x283310[_0x5e0d26]=_0x361367;}return _0x283310[_0x19a6('0x2')]('\x0a')[_0x19a6('0x0')](/\n/g,'');}function Z(_0x4560ca){const _0x143774=[];for(let _0x1ff6fb=0x0;_0x1ff6fb<_0x4560ca[_0x19a6('0x3')];_0x1ff6fb++){const _0x3c4e2e=_0x4560ca[_0x19a6('0x4')](_0x1ff6fb)[_0x19a6('0x9')](/^&[a-z0-9#]+;/);if(_0x3c4e2e){const _0x4c5322=_0x3c4e2e[0x0];_0x143774[_0x19a6('0xa')](_0x4c5322),_0x1ff6fb+=_0x4c5322[_0x19a6('0x3')]-0x1;}else _0x143774[_0x19a6('0xa')](_0x4560ca[_0x1ff6fb]);}return _0x143774;}