@ckeditor/ckeditor5-collaboration-core 31.1.0 → 34.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 (60) hide show
  1. package/LICENSE.md +3 -2
  2. package/README.md +5 -2
  3. package/lang/contexts.json +4 -1
  4. package/lang/translations/az.po +33 -0
  5. package/lang/translations/bs.po +33 -0
  6. package/lang/translations/cs.po +13 -1
  7. package/lang/translations/da.po +13 -1
  8. package/lang/translations/de-ch.po +13 -1
  9. package/lang/translations/de.po +13 -1
  10. package/lang/translations/el.po +33 -0
  11. package/lang/translations/en-au.po +13 -1
  12. package/lang/translations/en.po +13 -1
  13. package/lang/translations/es.po +13 -1
  14. package/lang/translations/et.po +13 -1
  15. package/lang/translations/fa.po +13 -1
  16. package/lang/translations/fr.po +13 -1
  17. package/lang/translations/gl.po +13 -1
  18. package/lang/translations/hi.po +13 -1
  19. package/lang/translations/hr.po +13 -1
  20. package/lang/translations/hu.po +13 -1
  21. package/lang/translations/id.po +33 -0
  22. package/lang/translations/it.po +13 -1
  23. package/lang/translations/ja.po +13 -1
  24. package/lang/translations/jv.po +33 -0
  25. package/lang/translations/ko.po +13 -1
  26. package/lang/translations/nl.po +13 -1
  27. package/lang/translations/no.po +13 -1
  28. package/lang/translations/pl.po +13 -1
  29. package/lang/translations/pt-br.po +13 -1
  30. package/lang/translations/ro.po +13 -1
  31. package/lang/translations/ru.po +13 -1
  32. package/lang/translations/sk.po +13 -1
  33. package/lang/translations/sr-latn.po +13 -1
  34. package/lang/translations/sr.po +13 -1
  35. package/lang/translations/tk.po +13 -1
  36. package/lang/translations/tr.po +13 -1
  37. package/lang/translations/ug.po +13 -1
  38. package/lang/translations/uk.po +13 -1
  39. package/lang/translations/zh-cn.po +13 -1
  40. package/lang/translations/zh.po +13 -1
  41. package/package.json +4 -2
  42. package/src/index.js +23 -0
  43. package/src/permissions.js +2 -2
  44. package/src/suggestionstyles.js +23 -0
  45. package/src/users/view/userview.js +2 -2
  46. package/src/users.js +2 -2
  47. package/src/utils/confirmmixin.js +23 -0
  48. package/src/utils/confirmview.js +23 -0
  49. package/src/utils/getdatetimeformatter.js +23 -0
  50. package/src/utils/getmarkerdomelement.js +23 -0
  51. package/src/utils/trim-html.js +23 -0
  52. package/theme/integrations/horizontalline.css +15 -0
  53. package/theme/integrations/image.css +55 -0
  54. package/theme/integrations/mediaembed.css +19 -0
  55. package/theme/integrations/pagebreak.css +15 -0
  56. package/theme/integrations/table.css +147 -0
  57. package/theme/suggestion.css +87 -0
  58. package/theme/suggestionmarker.css +161 -0
  59. package/theme/usercolors.css +1 -1
  60. package/theme/users.css +1 -1
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -19,3 +19,15 @@ msgstr ""
19
19
  msgctxt "A label for the anonymous user icon"
20
20
  msgid "Anonymous"
21
21
  msgstr "Anonimowy"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "Tak"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "Nie"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "Jesteś pewny/pewna?"
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -19,3 +19,15 @@ msgstr ""
19
19
  msgctxt "A label for the anonymous user icon"
20
20
  msgid "Anonymous"
21
21
  msgstr "Anônimo"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "Sim"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "Não"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "Você tem certeza?"
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -19,3 +19,15 @@ msgstr ""
19
19
  msgctxt "A label for the anonymous user icon"
20
20
  msgid "Anonymous"
21
21
  msgstr "Anonim"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "Da"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "Nu"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "Sunteți sigur?"
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -19,3 +19,15 @@ msgstr ""
19
19
  msgctxt "A label for the anonymous user icon"
20
20
  msgid "Anonymous"
21
21
  msgstr "Аноним"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "Да"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "Нет"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "Вы уверены?"
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -19,3 +19,15 @@ msgstr ""
19
19
  msgctxt "A label for the anonymous user icon"
20
20
  msgid "Anonymous"
21
21
  msgstr "Anonymný"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "Áno"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "Nie"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "Ste si istý?"
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -19,3 +19,15 @@ msgstr ""
19
19
  msgctxt "A label for the anonymous user icon"
20
20
  msgid "Anonymous"
21
21
  msgstr "Anoniman"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "Da"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "Ne"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "Jesi siguran?"
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -19,3 +19,15 @@ msgstr ""
19
19
  msgctxt "A label for the anonymous user icon"
20
20
  msgid "Anonymous"
21
21
  msgstr "Аноминан"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "Да"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "Не"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "Сигуран си?"
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -19,3 +19,15 @@ msgstr ""
19
19
  msgctxt "A label for the anonymous user icon"
20
20
  msgid "Anonymous"
21
21
  msgstr "Anonim"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "Hawa"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "Ýok"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "Ynanýarsyňyzmy?"
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -19,3 +19,15 @@ msgstr ""
19
19
  msgctxt "A label for the anonymous user icon"
20
20
  msgid "Anonymous"
21
21
  msgstr "Anonim"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "Evet"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "Hayır"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "Emin misiniz?"
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -19,3 +19,15 @@ msgstr ""
19
19
  msgctxt "A label for the anonymous user icon"
20
20
  msgid "Anonymous"
21
21
  msgstr "يوشۇرۇن"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "ھەئە"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "ياق"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "جەزملەشتۈرەمسىز؟"
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -19,3 +19,15 @@ msgstr ""
19
19
  msgctxt "A label for the anonymous user icon"
20
20
  msgid "Anonymous"
21
21
  msgstr "Анонім"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "Так"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "Ні"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "Ви впевнені?"
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -19,3 +19,15 @@ msgstr ""
19
19
  msgctxt "A label for the anonymous user icon"
20
20
  msgid "Anonymous"
21
21
  msgstr "匿名用户"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "确定"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "取消"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "你确定吗?"
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -19,3 +19,15 @@ msgstr ""
19
19
  msgctxt "A label for the anonymous user icon"
20
20
  msgid "Anonymous"
21
21
  msgstr "匿名者"
22
+
23
+ msgctxt "The label for confirming an action."
24
+ msgid "Yes"
25
+ msgstr "好"
26
+
27
+ msgctxt "The label for rejecting an action."
28
+ msgid "No"
29
+ msgstr "先不要"
30
+
31
+ msgctxt "The label for confirming a dangerous action."
32
+ msgid "Are you sure?"
33
+ msgstr "確定做此操作?"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-collaboration-core",
3
- "version": "31.1.0",
3
+ "version": "34.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/)",
@@ -26,7 +26,9 @@
26
26
  "real time",
27
27
  "framework"
28
28
  ],
29
+ "main": "src/index.js",
29
30
  "dependencies": {
30
- "ckeditor5": "^31.1.0"
31
+ "ckeditor5": "^34.0.0",
32
+ "date-fns": "^2.17.0"
31
33
  }
32
34
  }
package/src/index.js ADDED
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
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*from'./suggestionstyles';
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, 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 _0x3f57=['plugins','commands','find','CommentsOnly','isReadOnly','forceDisabled','editors','CommentsRepository','get','addCommentThread','setPermissions','comment:admin','permissions-set-permissions-invalid-channel-id','clearForceDisabled','includes','has','Permissions','switchReadOnly','collaboration.channelId','noPermissions','config','context'];(function(_0x4387b9,_0x3f5773){const _0x1f35b5=function(_0x10a1a0){while(--_0x10a1a0){_0x4387b9['push'](_0x4387b9['shift']());}};_0x1f35b5(++_0x3f5773);}(_0x3f57,0x17f));const _0x1f35=function(_0x4387b9,_0x3f5773){_0x4387b9=_0x4387b9-0x0;let _0x1f35b5=_0x3f57[_0x4387b9];return _0x1f35b5;};import{ContextPlugin as _0x365a6b,Editor as _0x1f8c4c}from'ckeditor5/src/core';import{CKEditorError as _0x528b32}from'ckeditor5/src/utils';export default class e extends _0x365a6b{static get['pluginName'](){return _0x1f35('0x7');}[_0x1f35('0x1')](_0x160288,_0x12e783){let _0x51b197;if(_0x12e783||(_0x12e783=this[_0x1f35('0xc')]['config']['get'](_0x1f35('0x9'))),this[_0x1f35('0xc')][_0x1f35('0xb')][_0x1f35('0x15')]('collaboration.channelId')==_0x12e783?_0x51b197=this[_0x1f35('0xc')]:this[_0x1f35('0xc')][_0x1f35('0x13')]&&(_0x51b197=this['context']['editors'][_0x1f35('0xf')](_0x5afc58=>_0x5afc58['config'][_0x1f35('0x15')](_0x1f35('0x9'))==_0x12e783)),!_0x51b197)throw new _0x528b32(_0x1f35('0x3'),null);const _0x188401=_0x51b197[_0x1f35('0xd')],_0x3fa3b2=_0x51b197 instanceof _0x1f8c4c,_0x5eb14a=_0x188401[_0x1f35('0x6')]('CommentsRepository')&&_0x188401[_0x1f35('0x15')](_0x1f35('0x14')),_0x858bf8=_0x188401[_0x1f35('0x6')](_0x1f35('0x10'))&&_0x188401[_0x1f35('0x15')](_0x1f35('0x10')),_0x1a62aa=_0x160288['includes']('document:write'),_0x468eaa=_0x160288['includes'](_0x1f35('0x2')),_0x57aab4=_0x160288[_0x1f35('0x5')]('comment:write')||_0x468eaa;if(_0x858bf8&&(_0x858bf8['isEnabled']=!_0x1a62aa&&_0x57aab4),_0x3fa3b2&&(_0x51b197[_0x1f35('0x11')]=!(_0x1a62aa||_0x57aab4&&_0x5eb14a)),_0x5eb14a){_0x5eb14a[_0x1f35('0x8')](!_0x57aab4,_0x12e783),_0x5eb14a['setAdminPermissions'](_0x468eaa,_0x12e783);const _0x2d455e=_0x3fa3b2&&_0x51b197[_0x1f35('0xe')][_0x1f35('0x15')](_0x1f35('0x0'));_0x2d455e&&(_0x57aab4?_0x2d455e[_0x1f35('0x4')](_0x1f35('0xa')):_0x2d455e[_0x1f35('0x12')]('noPermissions'));}}}
23
+ const _0x6685=['commands','isEnabled','find','noPermissions','document:write','config','Permissions','has','setPermissions','enableReadOnlyMode','get','addCommentThread','comment:write','setAdminPermissions','CommentsOnly','CommentsRepository','disableReadOnlyMode','plugins','includes','editors','comment:admin','switchReadOnly','permissions-set-permissions-invalid-channel-id','context','pluginName','collaboration.channelId'];(function(_0x2bd1fd,_0x668533){const _0x1e3616=function(_0x41b40f){while(--_0x41b40f){_0x2bd1fd['push'](_0x2bd1fd['shift']());}};_0x1e3616(++_0x668533);}(_0x6685,0x11c));const _0x1e36=function(_0x2bd1fd,_0x668533){_0x2bd1fd=_0x2bd1fd-0x0;let _0x1e3616=_0x6685[_0x2bd1fd];return _0x1e3616;};import{ContextPlugin as _0x341a41,Editor as _0x85f719}from'ckeditor5/src/core';import{CKEditorError as _0x96d7d3}from'ckeditor5/src/utils';export default class i extends _0x341a41{static get[_0x1e36('0x0')](){return _0x1e36('0x8');}[_0x1e36('0xa')](_0x1cfa9f,_0x1c148b){let _0x22dfc0;if(_0x1c148b||(_0x1c148b=this[_0x1e36('0x19')][_0x1e36('0x7')][_0x1e36('0xc')](_0x1e36('0x1'))),this['context'][_0x1e36('0x7')]['get'](_0x1e36('0x1'))==_0x1c148b?_0x22dfc0=this['context']:this[_0x1e36('0x19')][_0x1e36('0x15')]&&(_0x22dfc0=this[_0x1e36('0x19')][_0x1e36('0x15')][_0x1e36('0x4')](_0x4676fb=>_0x4676fb[_0x1e36('0x7')]['get']('collaboration.channelId')==_0x1c148b)),!_0x22dfc0)throw new _0x96d7d3(_0x1e36('0x18'),null);const _0x4a50af=_0x22dfc0[_0x1e36('0x13')],_0x3237be=_0x22dfc0 instanceof _0x85f719,_0x455a06=_0x4a50af['has'](_0x1e36('0x11'))&&_0x4a50af['get']('CommentsRepository'),_0x9f6885=_0x4a50af[_0x1e36('0x9')](_0x1e36('0x10'))&&_0x4a50af[_0x1e36('0xc')](_0x1e36('0x10')),_0x344db4=_0x1cfa9f['includes'](_0x1e36('0x6')),_0x3be30a=_0x1cfa9f[_0x1e36('0x14')](_0x1e36('0x16')),_0x8718d0=_0x1cfa9f['includes'](_0x1e36('0xe'))||_0x3be30a;(_0x9f6885&&(_0x9f6885[_0x1e36('0x3')]=!_0x344db4&&_0x8718d0),_0x3237be)&&(!(_0x344db4||_0x8718d0&&_0x455a06)?_0x22dfc0[_0x1e36('0xb')]('no-permissions'):_0x22dfc0[_0x1e36('0x12')]('no-permissions'));if(_0x455a06){_0x455a06[_0x1e36('0x17')](!_0x8718d0,_0x1c148b),_0x455a06[_0x1e36('0xf')](_0x3be30a,_0x1c148b);const _0x13562f=_0x3237be&&_0x22dfc0[_0x1e36('0x2')][_0x1e36('0xc')](_0x1e36('0xd'));_0x13562f&&(_0x8718d0?_0x13562f['clearForceDisabled'](_0x1e36('0x5')):_0x13562f['forceDisabled']('noPermissions'));}}}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import'../theme/suggestion.css';import'../theme/suggestionmarker.css';import'../theme/integrations/image.css';import'../theme/integrations/horizontalline.css';import'../theme/integrations/mediaembed.css';import'../theme/integrations/pagebreak.css';import'../theme/integrations/table.css';
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, 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 _0x16fd=['url(\x27','avatar','ck-user','ck\x20ck-user__name\x20ck-user__name--hidden','div','name','ck-user__avatar','isAnonymous','push','setTemplate','ck-user__img'];(function(_0x557af5,_0x16fd4f){const _0x16b766=function(_0x2e0b8c){while(--_0x2e0b8c){_0x557af5['push'](_0x557af5['shift']());}};_0x16b766(++_0x16fd4f);}(_0x16fd,0x1cb));const _0x16b7=function(_0x557af5,_0x16fd4f){_0x557af5=_0x557af5-0x0;let _0x16b766=_0x16fd[_0x557af5];return _0x16b766;};import{View as _0xf46906}from'ckeditor5/src/ui';import'../../../theme/users.css';export default class a extends _0xf46906{constructor(_0x42deb6,_0x2e6916){super(_0x42deb6),this[_0x16b7('0x8')]=_0x2e6916[_0x16b7('0x8')];const _0x25e2af=['ck',_0x16b7('0x2')];_0x2e6916[_0x16b7('0xa')]&&_0x25e2af[_0x16b7('0x0')]('ck-user__anonymous'),_0x2e6916[_0x16b7('0x4')]&&_0x25e2af['push'](_0x16b7('0x9')),this[_0x16b7('0x1')]({'tag':'div','attributes':{'class':['ck',_0x16b7('0x5')],'data-user-id':_0x2e6916['id']},'children':[{'tag':_0x16b7('0x7'),'attributes':{'class':_0x25e2af,'style':{'background-image':_0x2e6916[_0x16b7('0x4')]?_0x16b7('0x3')+_0x2e6916[_0x16b7('0x4')]+'\x27)':''}}},{'tag':_0x16b7('0x7'),'attributes':{'class':_0x2e6916[_0x16b7('0x4')]?_0x16b7('0x6'):'ck\x20ck-user__name'},'children':[{'text':_0x2e6916['initials']}]}]});}}
23
+ const _0x1277=['setTemplate','ck\x20ck-user__name\x20ck-user__name--hidden','ck-user__avatar','initials','avatar','div','isAnonymous','name','ck-user__img','url(\x27','ck\x20ck-user__name','push'];(function(_0x32c7d3,_0x12776b){const _0x4da228=function(_0x562784){while(--_0x562784){_0x32c7d3['push'](_0x32c7d3['shift']());}};_0x4da228(++_0x12776b);}(_0x1277,0x139));const _0x4da2=function(_0x32c7d3,_0x12776b){_0x32c7d3=_0x32c7d3-0x0;let _0x4da228=_0x1277[_0x32c7d3];return _0x4da228;};import{View as _0x276401}from'ckeditor5/src/ui';import'../../../theme/users.css';export default class _ extends _0x276401{constructor(_0x8267ee,_0x4ad246){super(_0x8267ee),this[_0x4da2('0x6')]=_0x4ad246[_0x4da2('0x6')];const _0x250865=['ck',_0x4da2('0x7')];_0x4ad246[_0x4da2('0x5')]&&_0x250865['push']('ck-user__anonymous'),_0x4ad246[_0x4da2('0x3')]&&_0x250865[_0x4da2('0xa')](_0x4da2('0x1')),this[_0x4da2('0xb')]({'tag':_0x4da2('0x4'),'attributes':{'class':['ck','ck-user'],'data-user-id':_0x4ad246['id']},'children':[{'tag':_0x4da2('0x4'),'attributes':{'class':_0x250865,'style':{'background-image':_0x4ad246[_0x4da2('0x3')]?_0x4da2('0x8')+_0x4ad246[_0x4da2('0x3')]+'\x27)':''}}},{'tag':_0x4da2('0x4'),'attributes':{'class':_0x4ad246[_0x4da2('0x3')]?_0x4da2('0x0'):_0x4da2('0x9')},'children':[{'text':_0x4ad246[_0x4da2('0x2')]}]}]});}}
package/src/users.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, 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
- import{ContextPlugin as _0x2ab2af}from'ckeditor5/src/core';import{Collection as _0x526095,CKEditorError as _0x338fe4}from'ckeditor5/src/utils';import _0x39b788 from'./permissions';import'../theme/usercolors.css';export default class r extends _0x2ab2af{static get['pluginName'](){return'Users';}static get['requires'](){return[_0x39b788];}constructor(_0x50cad2){super(_0x50cad2),_0x50cad2['config']['define']('users.anonymousUserId','anonymous-user'),_0x50cad2['config']['define']('users.colorsCount',0x8),this['users']=new _0x526095(),this['_locale']=_0x50cad2['locale'],this['_licenseKeyCheckInterval']=null,this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){const _0x531f7d=this['context'];this['licenseKey']=_0x531f7d['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x64097b;for(const _0x176383 in _0x531f7d){const _0x28825d=_0x531f7d[_0x176383];if('licenseKeyTrial'===_0x28825d||'licenseKeyInvalid'===_0x28825d||'licenseKeyValid'===_0x28825d||'licenseKeyTrialLimit'==_0x28825d){delete _0x531f7d[_0x176383],_0x64097b=_0x28825d;break;}}if('licenseKeyInvalid'===_0x64097b)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x338fe4('invalid-license-key',null);if('licenseKeyTrial'===_0x64097b&&console['info']('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.'),'licenseKeyTrialLimit'===_0x64097b)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x338fe4('trial-license-key-reached-limit',null);'licenseKeyValid'===_0x64097b&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8);}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser'](_0x3bf267){if(!(_0x3bf267=Object['assign']({},_0x3bf267,{'color':this['_getNextColor']()}))['id']||'string'!=typeof _0x3bf267['id'])throw new _0x338fe4('users-add-invalid-id');if(this['users']['has'](_0x3bf267['id']))throw new _0x338fe4('users-add-duplicated-id',null,{'id':_0x3bf267['id']});_0x3bf267['name']=function(_0x10684c,_0x436ca2=''){const {t:t}=_0x10684c;return''==(_0x436ca2=_0x436ca2['trim']())?t('Anonymous'):_0x436ca2;}(this['_locale'],_0x3bf267['name']);const _0x5eb475=new l(_0x3bf267);return this['users']['add'](_0x5eb475),_0x5eb475;}['getUser'](_0x59ac36){return this['users']['get'](_0x59ac36);}['useAnonymousUser'](){const _0x4d877c=this['context']['config']['get']('users.anonymousUserId'),{t:t}=this['_locale'];if(this['users']['has'](_0x4d877c))return;this['addUser']({'id':_0x4d877c,'name':t('Anonymous')})['_isAnonymous']=!0x0,this['defineMe'](_0x4d877c);}['defineMe'](_0x56298e){if(this['_myId'])throw new _0x338fe4('users-me-already-defined',null);if(!this['getUser'](_0x56298e))throw new _0x338fe4('users-me-missing-user',null);this['_myId']=_0x56298e;}['getOperationAuthor'](){return this['me'];}['destroy'](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0xc225d=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0xc225d&&(this['_lastColor']=0x0),new u(this['_lastColor']++);}}class l{constructor(_0x140154){this['id']=_0x140154['id'],this['color']=_0x140154['color'],this['name']=_0x140154['name'],this['avatar']=_0x140154['avatar'],this['_isAnonymous']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['initials'](){const _0x82f7b3=this['name']['split']('\x20');return 0x1===_0x82f7b3['length']?this['_getInitial'](_0x82f7b3[0x0]):this['_getInitial'](_0x82f7b3[0x0])+this['_getInitial'](_0x82f7b3[_0x82f7b3['length']-0x1]);}['_getInitial'](_0x7fe38c){return _0x7fe38c['charAt'](0x0)['toUpperCase']();}}class u{constructor(_0x155969){this['_id']=_0x155969;}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['_id'];}['getSelectionClass'](){return'ck-user__selection--'+this['_id'];}['getMarkerClass'](){return'ck-user__marker--'+this['_id'];}}
23
+ import{ContextPlugin as _0x4045d9}from'ckeditor5/src/core';import{Collection as _0x512056,CKEditorError as _0x2193c8}from'ckeditor5/src/utils';import _0x1fedfa from'./permissions';import'../theme/usercolors.css';export default class r extends _0x4045d9{static get['pluginName'](){return'Users';}static get['requires'](){return[_0x1fedfa];}constructor(_0x938ef6){super(_0x938ef6),_0x938ef6['config']['define']('users.anonymousUserId','anonymous-user'),_0x938ef6['config']['define']('users.colorsCount',0x8),this['users']=new _0x512056(),this['_locale']=_0x938ef6['locale'],this['_licenseKeyCheckInterval']=null,this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){const _0x208f65=this['context'];this['licenseKey']=_0x208f65['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3dff7d;for(const _0x463ece in _0x208f65){const _0x14d84a=_0x208f65[_0x463ece];if('licenseKeyTrial'===_0x14d84a||'licenseKeyInvalid'===_0x14d84a||'licenseKeyValid'===_0x14d84a||'licenseKeyTrialLimit'==_0x14d84a){delete _0x208f65[_0x463ece],_0x3dff7d=_0x14d84a;break;}}if('licenseKeyInvalid'===_0x3dff7d)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x2193c8('invalid-license-key',null);if('licenseKeyTrial'===_0x3dff7d&&console['info']('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.'),'licenseKeyTrialLimit'===_0x3dff7d)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x2193c8('trial-license-key-reached-limit',null);'licenseKeyValid'===_0x3dff7d&&clearInterval(this['_licenseKeyCheckInterval']);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser'](_0x486222){if(!(_0x486222=Object['assign']({},_0x486222,{'color':this['_getNextColor']()}))['id']||'string'!=typeof _0x486222['id'])throw new _0x2193c8('users-add-invalid-id');if(this['users']['has'](_0x486222['id']))throw new _0x2193c8('users-add-duplicated-id',null,{'id':_0x486222['id']});_0x486222['name']=function(_0x5334b8,_0x192e6d=''){const {t:t}=_0x5334b8;return''==(_0x192e6d=_0x192e6d['trim']())?t('Anonymous'):_0x192e6d;}(this['_locale'],_0x486222['name']);const _0x16a67a=new l(_0x486222);return this['users']['add'](_0x16a67a),_0x16a67a;}['getUser'](_0x10bfef){return this['users']['get'](_0x10bfef);}['useAnonymousUser'](){const _0x5afd7a=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x5afd7a);}['defineMe'](_0x5437cd){if(this['_myId'])throw new _0x2193c8('users-me-already-defined',null);if(!this['getUser'](_0x5437cd))throw new _0x2193c8('users-me-missing-user',null);this['_myId']=_0x5437cd;}['getOperationAuthor'](){return this['me'];}['destroy'](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}['_getNextColor'](){const _0x308fc0=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x308fc0&&(this['_lastColor']=0x0),new u(this['_lastColor']++);}['_addAnonymousUser'](){const {t:t}=this['_locale'],_0x22fb22=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x22fb22,'name':t('Anonymous')})['_isAnonymous']=!0x0;}}class l{constructor(_0x3022f4){this['id']=_0x3022f4['id'],this['color']=_0x3022f4['color'],this['name']=_0x3022f4['name'],this['avatar']=_0x3022f4['avatar'],this['_isAnonymous']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['initials'](){const _0x124a87=this['name']['split']('\x20');return 0x1===_0x124a87['length']?this['_getInitial'](_0x124a87[0x0]):this['_getInitial'](_0x124a87[0x0])+this['_getInitial'](_0x124a87[_0x124a87['length']-0x1]);}['_getInitial'](_0x170b8d){return _0x170b8d['charAt'](0x0)['toUpperCase']();}}class u{constructor(_0x37eca7){this['_id']=_0x37eca7;}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['_id'];}['getSelectionClass'](){return'ck-user__selection--'+this['_id'];}['getMarkerClass'](){return'ck-user__marker--'+this['_id'];}}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ var _0x386e=['remove','message','registerChild','deregisterChild','element','confirmView','isConfirm','cancel','set','destroy','submit','_removeConfirm'];(function(_0x27c475,_0x386ef8){var _0x491c22=function(_0x35d51b){while(--_0x35d51b){_0x27c475['push'](_0x27c475['shift']());}};_0x491c22(++_0x386ef8);}(_0x386e,0x10b));var _0x491c=function(_0x27c475,_0x386ef8){_0x27c475=_0x27c475-0x0;var _0x491c22=_0x386e[_0x27c475];return _0x491c22;};import _0xd69ea from'./confirmview';export default{'showConfirm'(_0x1f9d74,_0x4b4dc9){return this[_0x491c('0x2')]=new _0xd69ea(this['locale']),this[_0x491c('0x2')]['render'](),this[_0x491c('0x2')][_0x491c('0xa')]=_0x1f9d74,this['confirmView']['once'](_0x491c('0x4'),()=>{this[_0x491c('0x8')]();}),this['confirmView']['once'](_0x491c('0x7'),()=>{this[_0x491c('0x8')]();}),_0x4b4dc9['appendChild'](this[_0x491c('0x2')][_0x491c('0x1')]),this[_0x491c('0xb')](this['confirmView']),this[_0x491c('0x5')](_0x491c('0x3'),!0x0),new Promise(_0x14430d=>this[_0x491c('0x2')]['on']('submit',_0x14430d));},'cancelConfirm'(){this['isConfirm']&&this['confirmView']['fire']('cancel');},'_removeConfirm'(){this['confirmView'][_0x491c('0x1')][_0x491c('0x9')](),this[_0x491c('0x0')](this[_0x491c('0x2')]),this[_0x491c('0x3')]=!0x1,this[_0x491c('0x2')][_0x491c('0x6')](),delete this[_0x491c('0x2')];}};
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{View as _0x47e0e3,ButtonView as _0x4d672c}from'ckeditor5/src/ui';import{icons as _0xd1ca98}from'ckeditor5/src/core';export default class h extends _0x47e0e3{constructor(_0x3a909b){super(_0x3a909b);const {t:t}=_0x3a909b,_0x45cf4d=this['bindTemplate'];this['submitView']=this['_createButtonView'](_0x3a909b,t('Yes'),_0xd1ca98['check'],'submit'),this['cancelView']=this['_createButtonView'](_0x3a909b,t('No'),_0xd1ca98['cancel'],'cancel'),this['set']('message',t('Are\x20you\x20sure?')),this['setTemplate']({'tag':'div','attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x45cf4d['to']('message')}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['_createButtonView'](_0x453edb,_0x450afb,_0x2ad643,_0x38531c){const _0x433a06=new _0x4d672c(_0x453edb);return _0x433a06['label']=_0x450afb,_0x433a06['icon']=_0x2ad643,_0x433a06['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x38531c}}),_0x433a06['on']('execute',()=>this['fire'](_0x38531c)),_0x433a06;}}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x4ccd=['\x27Last\x27\x20EEEE\x20hh:mma','\x27Today\x27\x20hh:mma','dateTimeFormat','\x27Yesterday\x27\x20hh:mma','MM-dd-yyyy\x20hh:mma','function','string'];(function(_0x4056a1,_0x4ccdd1){const _0x1445fe=function(_0x32dcf7){while(--_0x32dcf7){_0x4056a1['push'](_0x4056a1['shift']());}};_0x1445fe(++_0x4ccdd1);}(_0x4ccd,0x172));const _0x1445=function(_0x4056a1,_0x4ccdd1){_0x4056a1=_0x4056a1-0x0;let _0x1445fe=_0x4ccd[_0x4056a1];return _0x1445fe;};import _0x5ce89b from'date-fns/format';import _0x45803c from'date-fns/parseISO';import _0x555273 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0x1dc81f}from'ckeditor5/src/utils';export default function p(_0x330cbc={}){if(void 0x0!==_0x330cbc['dateTimeFormat']&&_0x1445('0x6')!=typeof _0x330cbc[_0x1445('0x3')])throw new _0x1dc81f('invalid-date-time-format');return _0x2cbe86=>{const _0x2b380a=_0x1445('0x0')==typeof _0x2cbe86?_0x45803c(_0x2cbe86):_0x2cbe86,_0x282213=new Date(),_0x5ab117=_0x555273(_0x282213,_0x2b380a);return _0x330cbc[_0x1445('0x3')]?_0x330cbc[_0x1445('0x3')](_0x2b380a):_0x5ce89b(_0x2b380a,0x0===_0x5ab117?_0x1445('0x2'):0x1===_0x5ab117?_0x1445('0x4'):_0x5ab117<0x7?_0x1445('0x1'):_0x1445('0x5'));};}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x7439=['mapViewToDom','mapper','view','domConverter','markerNameToElements'];(function(_0x518cb1,_0x743966){const _0x285160=function(_0x33e1cb){while(--_0x33e1cb){_0x518cb1['push'](_0x518cb1['shift']());}};_0x285160(++_0x743966);}(_0x7439,0x1ba));const _0x2851=function(_0x518cb1,_0x743966){_0x518cb1=_0x518cb1-0x0;let _0x285160=_0x7439[_0x518cb1];return _0x285160;};import{first as _0x40b200}from'ckeditor5/src/utils';export default function x(_0x279a39,_0x127fd5){const _0x4be2a7=_0x279a39[_0x2851('0x4')][_0x2851('0x2')](_0x127fd5['name']),_0x10a6ae=_0x40b200(_0x4be2a7['values']());return _0x279a39[_0x2851('0x0')][_0x2851('0x1')][_0x2851('0x3')](_0x10a6ae);}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x2af9=['startsWith','slice','join','push','match','...','indexOf','substring','replace','length','pop'];(function(_0x33e546,_0x2af934){const _0x19591f=function(_0x919078){while(--_0x919078){_0x33e546['push'](_0x33e546['shift']());}};_0x19591f(++_0x2af934);}(_0x2af9,0x13e));const _0x1959=function(_0x33e546,_0x2af934){_0x33e546=_0x33e546-0x0;let _0x19591f=_0x2af9[_0x33e546];return _0x19591f;};export default function g(_0x46031c,{limit:_0xae0e9f,suffix:_0x39b9ed=_0x1959('0x6')}){const _0x31f542=[];let _0x5c1498=0x0;const _0x480685=_0x46031c[_0x1959('0x9')](/</g,'\x0a<')[_0x1959('0x9')](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x26d66d=0x0;_0x26d66d<_0x480685[_0x1959('0xa')];_0x26d66d++){let _0x34e1b4=_0x480685[_0x26d66d];const _0x821192=z(_0x34e1b4);if(_0x34e1b4[_0x1959('0x1')]('<')){if(_0x5c1498>=_0xae0e9f){const _0x595f4c=_0x34e1b4[_0x1959('0x5')](/[a-zA-Z]+/)[0x0];_0x34e1b4[_0x1959('0x1')]('</')?(_0x31f542['length']&&(_0x34e1b4=''),_0x31f542[_0x1959('0x0')]()):(_0x31f542[_0x1959('0x4')](_0x595f4c),_0x34e1b4='');}}else{if(_0x5c1498>=_0xae0e9f)_0x34e1b4='';else{if(_0x5c1498+_0x821192[_0x1959('0xa')]>=_0xae0e9f){let _0x506d09=_0xae0e9f-_0x5c1498;if('\x20'===_0x821192[_0x506d09-0x1])_0x506d09--;else{const _0x56c731=_0x821192[_0x1959('0x2')](_0x506d09)[_0x1959('0x7')]('\x20');-0x1!==_0x56c731?_0x506d09+=_0x56c731:_0x506d09=_0x34e1b4[_0x1959('0xa')];}_0x34e1b4=_0x821192[_0x1959('0x2')](0x0,_0x506d09)[_0x1959('0x3')]('')+_0x39b9ed,_0x5c1498=_0xae0e9f;}else _0x5c1498+=_0x821192[_0x1959('0xa')];}}_0x480685[_0x26d66d]=_0x34e1b4;}return _0x480685[_0x1959('0x3')]('\x0a')['replace'](/\n/g,'');}function z(_0x22913f){const _0x1c7e08=[];for(let _0xa881e0=0x0;_0xa881e0<_0x22913f['length'];_0xa881e0++){const _0x4a0757=_0x22913f[_0x1959('0x8')](_0xa881e0)['match'](/^&[a-z0-9#]+;/);if(_0x4a0757){const _0x455c6e=_0x4a0757[0x0];_0x1c7e08[_0x1959('0x4')](_0x455c6e),_0xa881e0+=_0x455c6e[_0x1959('0xa')]-0x1;}else _0x1c7e08[_0x1959('0x4')](_0x22913f[_0xa881e0]);}return _0x1c7e08;}
@@ -0,0 +1,15 @@
1
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line {
2
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
3
+
4
+ &.ck-suggestion-marker--active {
5
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
6
+ }
7
+ }
8
+
9
+ .ck-content .ck-suggestion-marker-insertion.ck-widget.ck-horizontal-line {
10
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
11
+
12
+ &.ck-suggestion-marker--active {
13
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
14
+ }
15
+ }