@ckeditor/ckeditor5-slash-command 39.0.0 → 39.0.2

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 (52) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +7 -7
  3. package/build/slash-command.js +1 -1
  4. package/lang/translations/ar.po +1 -0
  5. package/lang/translations/bg.po +1 -0
  6. package/lang/translations/bn.po +1 -0
  7. package/lang/translations/ca.po +1 -0
  8. package/lang/translations/cs.po +1 -0
  9. package/lang/translations/da.po +1 -0
  10. package/lang/translations/de.po +1 -0
  11. package/lang/translations/el.po +1 -0
  12. package/lang/translations/en-au.po +1 -0
  13. package/lang/translations/en.po +1 -0
  14. package/lang/translations/es.po +1 -0
  15. package/lang/translations/et.po +1 -0
  16. package/lang/translations/fi.po +1 -0
  17. package/lang/translations/fr.po +1 -0
  18. package/lang/translations/gl.po +1 -0
  19. package/lang/translations/he.po +1 -0
  20. package/lang/translations/hi.po +1 -0
  21. package/lang/translations/hr.po +1 -0
  22. package/lang/translations/hu.po +1 -0
  23. package/lang/translations/id.po +1 -0
  24. package/lang/translations/it.po +1 -0
  25. package/lang/translations/ja.po +1 -0
  26. package/lang/translations/ko.po +1 -0
  27. package/lang/translations/lt.po +1 -0
  28. package/lang/translations/lv.po +1 -0
  29. package/lang/translations/ms.po +1 -0
  30. package/lang/translations/nl.po +1 -0
  31. package/lang/translations/no.po +1 -0
  32. package/lang/translations/pl.po +1 -0
  33. package/lang/translations/pt-br.po +1 -0
  34. package/lang/translations/pt.po +1 -0
  35. package/lang/translations/ro.po +1 -0
  36. package/lang/translations/ru.po +1 -0
  37. package/lang/translations/sk.po +1 -0
  38. package/lang/translations/sr.po +1 -0
  39. package/lang/translations/sv.po +1 -0
  40. package/lang/translations/th.po +1 -0
  41. package/lang/translations/tr.po +1 -0
  42. package/lang/translations/uk.po +1 -0
  43. package/lang/translations/uz.po +1 -0
  44. package/lang/translations/vi.po +1 -0
  45. package/lang/translations/zh-cn.po +1 -0
  46. package/lang/translations/zh.po +1 -0
  47. package/package.json +13 -17
  48. package/src/slashcommand.js +1 -1
  49. package/src/slashcommandconfig.js +1 -1
  50. package/src/slashcommandediting.js +1 -1
  51. package/src/slashcommandui.js +1 -1
  52. package/src/ui/slashcommandbuttonview.js +1 -1
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Japanese (https://app.transifex.com/ckeditor/teams/11143/ja/)\n"
16
16
  "Language: ja\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Korean (https://app.transifex.com/ckeditor/teams/11143/ko/)\n"
16
16
  "Language: ko\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Lithuanian (https://app.transifex.com/ckeditor/teams/11143/lt/)\n"
16
16
  "Language: lt\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Latvian (https://app.transifex.com/ckeditor/teams/11143/lv/)\n"
16
16
  "Language: lv\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Malay (https://app.transifex.com/ckeditor/teams/11143/ms/)\n"
16
16
  "Language: ms\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Dutch (https://app.transifex.com/ckeditor/teams/11143/nl/)\n"
16
16
  "Language: nl\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Norwegian (https://app.transifex.com/ckeditor/teams/11143/no/)\n"
16
16
  "Language: no\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Polish (https://app.transifex.com/ckeditor/teams/11143/pl/)\n"
16
16
  "Language: pl\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Portuguese (Brazil) (https://app.transifex.com/ckeditor/teams/11143/pt_BR/)\n"
16
16
  "Language: pt_BR\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Portuguese (https://app.transifex.com/ckeditor/teams/11143/pt/)\n"
16
16
  "Language: pt\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Romanian (https://app.transifex.com/ckeditor/teams/11143/ro/)\n"
16
16
  "Language: ro\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Russian (https://app.transifex.com/ckeditor/teams/11143/ru/)\n"
16
16
  "Language: ru\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Slovak (https://app.transifex.com/ckeditor/teams/11143/sk/)\n"
16
16
  "Language: sk\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n"
16
16
  "Language: sr\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n"
16
16
  "Language: sv\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Thai (https://app.transifex.com/ckeditor/teams/11143/th/)\n"
16
16
  "Language: th\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n"
16
16
  "Language: tr\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n"
16
16
  "Language: uk\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Uzbek (https://app.transifex.com/ckeditor/teams/11143/uz/)\n"
16
16
  "Language: uz\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n"
16
16
  "Language: vi\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
16
16
  "Language: zh_CN\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
16
16
  "Language: zh_TW\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "Description of the button that creates a block quote."
20
21
  msgid "Create a block quote"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-slash-command",
3
- "version": "39.0.0",
3
+ "version": "39.0.2",
4
4
  "description": "Slash command feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -11,22 +11,18 @@
11
11
  ],
12
12
  "main": "src/index.js",
13
13
  "dependencies": {
14
- "@ckeditor/ckeditor5-ckbox": "39.0.0",
15
- "@ckeditor/ckeditor5-ckfinder": "39.0.0",
16
- "@ckeditor/ckeditor5-code-block": "39.0.0",
17
- "@ckeditor/ckeditor5-heading": "39.0.0",
18
- "@ckeditor/ckeditor5-horizontal-line": "39.0.0",
19
- "@ckeditor/ckeditor5-html-embed": "39.0.0",
20
- "@ckeditor/ckeditor5-indent": "39.0.0",
21
- "@ckeditor/ckeditor5-list": "39.0.0",
22
- "@ckeditor/ckeditor5-table": "39.0.0",
23
- "@ckeditor/ckeditor5-document-outline": "39.0.0",
24
- "@ckeditor/ckeditor5-ui": "39.0.0",
25
- "ckeditor5": "39.0.0"
26
- },
27
- "engines": {
28
- "node": ">=16.0.0",
29
- "npm": ">=5.7.1"
14
+ "@ckeditor/ckeditor5-ckbox": "39.0.2",
15
+ "@ckeditor/ckeditor5-ckfinder": "39.0.2",
16
+ "@ckeditor/ckeditor5-code-block": "39.0.2",
17
+ "@ckeditor/ckeditor5-heading": "39.0.2",
18
+ "@ckeditor/ckeditor5-horizontal-line": "39.0.2",
19
+ "@ckeditor/ckeditor5-html-embed": "39.0.2",
20
+ "@ckeditor/ckeditor5-indent": "39.0.2",
21
+ "@ckeditor/ckeditor5-list": "39.0.2",
22
+ "@ckeditor/ckeditor5-table": "39.0.2",
23
+ "@ckeditor/ckeditor5-document-outline": "39.0.2",
24
+ "@ckeditor/ckeditor5-ui": "39.0.2",
25
+ "ckeditor5": "39.0.2"
30
26
  },
31
27
  "license": "SEE LICENSE IN LICENSE.md",
32
28
  "author": "CKSource (http://cksource.com/)",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x51ca=['requires','Mention'];(function(_0x1cd198,_0x51ca4c){var _0x575dd0=function(_0x191ee1){while(--_0x191ee1){_0x1cd198['push'](_0x1cd198['shift']());}};_0x575dd0(++_0x51ca4c);}(_0x51ca,0x6b));var _0x575d=function(_0x1cd198,_0x51ca4c){_0x1cd198=_0x1cd198-0x0;var _0x575dd0=_0x51ca[_0x1cd198];return _0x575dd0;};import{Plugin as _0x496bb1}from'ckeditor5/src/core';import _0x1698b9 from'./slashcommandediting';import _0x19e518 from'./slashcommandui';export default class o extends _0x496bb1{static get[_0x575d('0x1')](){return[_0x575d('0x0'),_0x1698b9,_0x19e518];}static get['pluginName'](){return'SlashCommand';}}
23
+ var _0x71d8=['requires','SlashCommand','Mention','pluginName'];(function(_0x4a18b8,_0x71d8e3){var _0x374325=function(_0x5eef89){while(--_0x5eef89){_0x4a18b8['push'](_0x4a18b8['shift']());}};_0x374325(++_0x71d8e3);}(_0x71d8,0x19b));var _0x3743=function(_0x4a18b8,_0x71d8e3){_0x4a18b8=_0x4a18b8-0x0;var _0x374325=_0x71d8[_0x4a18b8];return _0x374325;};import{Plugin as _0x1b0e11}from'ckeditor5/src/core';import _0x302a47 from'./slashcommandediting';import _0x5d3d09 from'./slashcommandui';export default class o extends _0x1b0e11{static get[_0x3743('0x1')](){return[_0x3743('0x3'),_0x302a47,_0x5d3d09];}static get[_0x3743('0x0')](){return _0x3743('0x2');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x43e8a4,icons as _0x3d8af4}from'ckeditor5/src/core';import{CKEditorError as _0x335c67}from'ckeditor5/src/utils';import _0x28e412 from'@ckeditor/ckeditor5-list/theme/icons/bulletedlist.svg';import _0x40eeb1 from'@ckeditor/ckeditor5-code-block/theme/icons/codeblock.svg';import _0x3a89df from'@ckeditor/ckeditor5-ckbox/theme/icons/browse-files.svg';import _0x38b1fc from'@ckeditor/ckeditor5-ckfinder/theme/icons/browse-files.svg';import _0x56dd15 from'@ckeditor/ckeditor5-heading/theme/icons/heading1.svg';import _0x4e302a from'@ckeditor/ckeditor5-heading/theme/icons/heading2.svg';import _0xa5fb9c from'@ckeditor/ckeditor5-heading/theme/icons/heading3.svg';import _0x192155 from'@ckeditor/ckeditor5-heading/theme/icons/heading4.svg';import _0x129867 from'@ckeditor/ckeditor5-heading/theme/icons/heading5.svg';import _0x44288c from'@ckeditor/ckeditor5-heading/theme/icons/heading6.svg';import _0x2a705c from'@ckeditor/ckeditor5-horizontal-line/theme/icons/horizontalline.svg';import _0x39f219 from'@ckeditor/ckeditor5-html-embed/theme/icons/html.svg';import _0x4ca8b3 from'@ckeditor/ckeditor5-indent/theme/icons/indent.svg';import _0x5917cb from'@ckeditor/ckeditor5-table/theme/icons/table.svg';import _0x4766a4 from'@ckeditor/ckeditor5-list/theme/icons/numberedlist.svg';import _0x25dc5e from'@ckeditor/ckeditor5-indent/theme/icons/outdent.svg';import _0x3f4fd1 from'@ckeditor/ckeditor5-document-outline/theme/icons/table-of-contents.svg';import _0x18fc33 from'@ckeditor/ckeditor5-list/theme/icons/todolist.svg';import'./slashcommandeditorconfig';export default class T extends _0x43e8a4{static get['pluginName'](){return'SlashCommandConfig';}constructor(_0x10a811){super(_0x10a811),this['_allowedCommands']=null;}['afterInit'](){const _0x45b8a4=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x1e4d8e=function(_0x107e36){let _0xdef5c=['heading4','heading5','heading6'];if(_0x107e36){const _0x26c1f4=_0x107e36['map'](_0x27ed5c=>_0x27ed5c['model']);_0xdef5c=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x460471=>!_0x26c1f4['includes'](_0x460471));}return _0xdef5c;}(this['editor']['config']['get']('heading.options'));let _0x1d9b6f=this['getDefaultCommands']()['filter'](_0x303a70=>!_0x1e4d8e['includes'](_0x303a70['id']))['filter'](_0xaf0d86=>!_0x45b8a4['includes'](_0xaf0d86['commandName']));const _0x415bd3=this['editor']['config']['get']('slashCommand.extraCommands');_0x415bd3&&_0x415bd3['length']&&(_0x1d9b6f=_0x1d9b6f['concat'](_0x415bd3));const _0x582f9f=this['editor']['config']['get']('template.definitions');_0x582f9f&&_0x582f9f['length']&&(_0x1d9b6f=_0x1d9b6f['concat'](function(_0x55c3aa){return _0x55c3aa['map'](_0xe82c9d=>{const {title:_0x45aafa,icon:_0x17ba5e,description:_0x1ba95e,data:_0x46c5fc}=_0xe82c9d,_0x39111f={'id':H(_0x45aafa,'template'),'commandName':'insertTemplate','execute':_0x4e5a3a=>{_0x4e5a3a['execute']('insertTemplate',_0x46c5fc);},'description':_0x1ba95e,'icon':_0x17ba5e,'title':_0x45aafa};return _0x17ba5e&&(_0x39111f['isIconColorInherited']=!0x1),_0x39111f;});}(_0x582f9f)));const _0x543d42=this['editor']['config']['get']('style.definitions');_0x543d42&&_0x543d42['length']&&(_0x1d9b6f=_0x1d9b6f['concat'](function(_0x46aaae){return _0x46aaae['map'](_0x2008be=>({'id':H(_0x2008be['name'],'style'),'commandName':'style','execute':_0x167a21=>{_0x167a21['execute']('style',{'styleName':_0x2008be['name']});},'isEnabled':_0x2bbb19=>{const _0x4d4ecb=_0x2bbb19['commands']['get']('style');return _0x4d4ecb['isEnabled']&&_0x4d4ecb['enabledStyles']['includes'](_0x2008be['name']);},'title':_0x2008be['name']}));}(_0x543d42)));const _0xc4a725=_0x1d9b6f['filter'](_0x589c05=>!_0x589c05['commandName']||void 0x0!==this['editor']['commands']['get'](_0x589c05['commandName'])),_0x1b871b=[];for(const _0x4e3cbf of _0xc4a725)_0x1b871b['push']({'id':_0x4e3cbf['id'],'commandName':_0x4e3cbf['commandName'],'title':'function'==typeof _0x4e3cbf['title']?_0x4e3cbf['title'](this['editor']):_0x4e3cbf['title'],'description':_0x4e3cbf['description'],'icon':_0x4e3cbf['icon'],'isIconColorInherited':_0x4e3cbf['isIconColorInherited'],'aliases':_0x4e3cbf['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x4e3cbf),'execute':()=>this['_proxyExecute'](_0x4e3cbf)});this['_allowedCommands']=_0x1b871b['sort'](y);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const t=this['editor']['t'],_0x5b8c38=this['editor']['locale']['t'];return[{'id':'blockQuote','commandName':'blockQuote','icon':_0x3d8af4['quote'],'title':_0x5b8c38('Block\x20quote'),'description':t('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x28e412,'title':_0x5b8c38('Bulleted\x20list'),'description':t('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x40eeb1,'title':_0x5b8c38('Insert\x20code\x20block'),'description':t('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x3a89df,'title':_0x5b8c38('Open\x20file\x20manager'),'description':t('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x38b1fc,'title':_0x5b8c38('Insert\x20image'),'description':t('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'heading1','commandName':'heading','icon':_0x56dd15,'title':_0x5b8c38('Heading\x201'),'description':t('Create\x20a\x20heading\x20level\x201'),'execute':_0x1cce32=>{_0x1cce32['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x4e302a,'title':_0x5b8c38('Heading\x202'),'description':t('Create\x20a\x20heading\x20level\x202'),'execute':_0x592172=>{_0x592172['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0xa5fb9c,'title':_0x5b8c38('Heading\x203'),'description':t('Create\x20a\x20heading\x20level\x203'),'execute':_0x48114a=>{_0x48114a['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x192155,'title':_0x5b8c38('Heading\x204'),'description':t('Create\x20a\x20heading\x20level\x204'),'execute':_0x1ee6f3=>{_0x1ee6f3['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0x129867,'title':_0x5b8c38('Heading\x205'),'description':t('Create\x20a\x20heading\x20level\x205'),'execute':_0x5ca5c2=>{_0x5ca5c2['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x44288c,'title':_0x5b8c38('Heading\x206'),'description':t('Create\x20a\x20heading\x20level\x206'),'execute':_0x43cc13=>{_0x43cc13['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x2a705c,'title':_0x5b8c38('Horizontal\x20line'),'description':t('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x39f219,'title':_0x5b8c38('Insert\x20HTML'),'description':t('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x4ca8b3,'title':_0x5b8c38('Increase\x20indent'),'description':t('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':t('Insert\x20Mermaid\x20diagram'),'description':t('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x5917cb,'title':_0x5b8c38('Insert\x20table'),'description':t('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0x3f4fd1,'title':_0x5b8c38('Table\x20of\x20contents'),'description':t('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x4766a4,'title':_0x5b8c38('Numbered\x20list'),'description':t('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0x25dc5e,'title':_0x5b8c38('Decrease\x20indent'),'description':t('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0x3d8af4['paragraph'],'title':_0x5b8c38('Paragraph'),'description':t('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x18fc33,'title':_0x5b8c38('To-do\x20list'),'description':t('Create\x20a\x20to-do\x20list')}];}['_proxyIsEnabled'](_0x586092){return _0x586092['isEnabled']?_0x586092['isEnabled'](this['editor']):!_0x586092['commandName']||this['editor']['commands']['get'](_0x586092['commandName'])['isEnabled'];}['_proxyExecute'](_0x177723){if(_0x177723['execute'])_0x177723['execute'](this['editor']);else{if(!_0x177723['commandName'])throw new _0x335c67('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x177723});this['editor']['execute'](_0x177723['commandName']);}}}function y(_0x5a5b10,_0x543ace){return _0x5a5b10['title']<_0x543ace['title']?-0x1:_0x5a5b10['title']>_0x543ace['title']?0x1:0x0;}function H(_0xacfc51,_0x7663f7){return _0x7663f7+'-'+_0xacfc51['toLowerCase']()['split']('\x20')['join']('-');}
23
+ import{Plugin as _0x36ec4e,icons as _0x595446}from'ckeditor5/src/core';import{CKEditorError as _0x2bd1ad}from'ckeditor5/src/utils';import _0x70907 from'@ckeditor/ckeditor5-list/theme/icons/bulletedlist.svg';import _0x3a4d30 from'@ckeditor/ckeditor5-code-block/theme/icons/codeblock.svg';import _0x9540ba from'@ckeditor/ckeditor5-ckbox/theme/icons/browse-files.svg';import _0x32e604 from'@ckeditor/ckeditor5-ckfinder/theme/icons/browse-files.svg';import _0x5bbf3f from'@ckeditor/ckeditor5-heading/theme/icons/heading1.svg';import _0x551f91 from'@ckeditor/ckeditor5-heading/theme/icons/heading2.svg';import _0x299b52 from'@ckeditor/ckeditor5-heading/theme/icons/heading3.svg';import _0x14fbd9 from'@ckeditor/ckeditor5-heading/theme/icons/heading4.svg';import _0xa0681 from'@ckeditor/ckeditor5-heading/theme/icons/heading5.svg';import _0x3206af from'@ckeditor/ckeditor5-heading/theme/icons/heading6.svg';import _0x441d56 from'@ckeditor/ckeditor5-horizontal-line/theme/icons/horizontalline.svg';import _0x2b2ab7 from'@ckeditor/ckeditor5-html-embed/theme/icons/html.svg';import _0x138109 from'@ckeditor/ckeditor5-indent/theme/icons/indent.svg';import _0x9b1d09 from'@ckeditor/ckeditor5-table/theme/icons/table.svg';import _0x27a7bd from'@ckeditor/ckeditor5-list/theme/icons/numberedlist.svg';import _0x4dedb5 from'@ckeditor/ckeditor5-indent/theme/icons/outdent.svg';import _0x13aff7 from'@ckeditor/ckeditor5-document-outline/theme/icons/table-of-contents.svg';import _0x22d664 from'@ckeditor/ckeditor5-list/theme/icons/todolist.svg';import'./slashcommandeditorconfig';export default class T extends _0x36ec4e{static get['pluginName'](){return'SlashCommandConfig';}constructor(_0x1c1615){super(_0x1c1615),this['_allowedCommands']=null;}['afterInit'](){const _0xd1b384=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x5480b8=function(_0x255b17){let _0x19c759=['heading4','heading5','heading6'];if(_0x255b17){const _0x3a5a7a=_0x255b17['map'](_0x40d88a=>_0x40d88a['model']);_0x19c759=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x5c4e00=>!_0x3a5a7a['includes'](_0x5c4e00));}return _0x19c759;}(this['editor']['config']['get']('heading.options'));let _0x33dd98=this['getDefaultCommands']()['filter'](_0x59838d=>!_0x5480b8['includes'](_0x59838d['id']))['filter'](_0x5db3aa=>!_0xd1b384['includes'](_0x5db3aa['commandName']));const _0x559812=this['editor']['config']['get']('slashCommand.extraCommands');_0x559812&&_0x559812['length']&&(_0x33dd98=_0x33dd98['concat'](_0x559812));const _0x1ffdf8=this['editor']['config']['get']('template.definitions');_0x1ffdf8&&_0x1ffdf8['length']&&(_0x33dd98=_0x33dd98['concat'](function(_0xc0a0b4){return _0xc0a0b4['map'](_0x3ec27c=>{const {title:_0xd441d1,icon:_0xa700e6,description:_0x588e7f,data:_0x1a90d9}=_0x3ec27c,_0x4bf18e={'id':H(_0xd441d1,'template'),'commandName':'insertTemplate','execute':_0x592cfe=>{_0x592cfe['execute']('insertTemplate',_0x1a90d9);},'description':_0x588e7f,'icon':_0xa700e6,'title':_0xd441d1};return _0xa700e6&&(_0x4bf18e['isIconColorInherited']=!0x1),_0x4bf18e;});}(_0x1ffdf8)));const _0x14c765=this['editor']['config']['get']('style.definitions');_0x14c765&&_0x14c765['length']&&(_0x33dd98=_0x33dd98['concat'](function(_0x391323){return _0x391323['map'](_0x5cd7d2=>({'id':H(_0x5cd7d2['name'],'style'),'commandName':'style','execute':_0x3b2263=>{_0x3b2263['execute']('style',{'styleName':_0x5cd7d2['name']});},'isEnabled':_0x10a288=>{const _0x34c30f=_0x10a288['commands']['get']('style');return _0x34c30f['isEnabled']&&_0x34c30f['enabledStyles']['includes'](_0x5cd7d2['name']);},'title':_0x5cd7d2['name']}));}(_0x14c765)));const _0x42397c=_0x33dd98['filter'](_0x139b41=>!_0x139b41['commandName']||void 0x0!==this['editor']['commands']['get'](_0x139b41['commandName'])),_0x3fc385=[];for(const _0x18c6d1 of _0x42397c)_0x3fc385['push']({'id':_0x18c6d1['id'],'commandName':_0x18c6d1['commandName'],'title':'function'==typeof _0x18c6d1['title']?_0x18c6d1['title'](this['editor']):_0x18c6d1['title'],'description':_0x18c6d1['description'],'icon':_0x18c6d1['icon'],'isIconColorInherited':_0x18c6d1['isIconColorInherited'],'aliases':_0x18c6d1['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x18c6d1),'execute':()=>this['_proxyExecute'](_0x18c6d1)});this['_allowedCommands']=_0x3fc385['sort'](y);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const t=this['editor']['t'],_0x14eef4=this['editor']['locale']['t'];return[{'id':'blockQuote','commandName':'blockQuote','icon':_0x595446['quote'],'title':_0x14eef4('Block\x20quote'),'description':t('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x70907,'title':_0x14eef4('Bulleted\x20list'),'description':t('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x3a4d30,'title':_0x14eef4('Insert\x20code\x20block'),'description':t('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x9540ba,'title':_0x14eef4('Open\x20file\x20manager'),'description':t('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x32e604,'title':_0x14eef4('Insert\x20image'),'description':t('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'heading1','commandName':'heading','icon':_0x5bbf3f,'title':_0x14eef4('Heading\x201'),'description':t('Create\x20a\x20heading\x20level\x201'),'execute':_0x1509c6=>{_0x1509c6['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x551f91,'title':_0x14eef4('Heading\x202'),'description':t('Create\x20a\x20heading\x20level\x202'),'execute':_0x476bf0=>{_0x476bf0['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0x299b52,'title':_0x14eef4('Heading\x203'),'description':t('Create\x20a\x20heading\x20level\x203'),'execute':_0x1de297=>{_0x1de297['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x14fbd9,'title':_0x14eef4('Heading\x204'),'description':t('Create\x20a\x20heading\x20level\x204'),'execute':_0xe696c6=>{_0xe696c6['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0xa0681,'title':_0x14eef4('Heading\x205'),'description':t('Create\x20a\x20heading\x20level\x205'),'execute':_0x1b1920=>{_0x1b1920['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x3206af,'title':_0x14eef4('Heading\x206'),'description':t('Create\x20a\x20heading\x20level\x206'),'execute':_0x2bbc85=>{_0x2bbc85['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x441d56,'title':_0x14eef4('Horizontal\x20line'),'description':t('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x2b2ab7,'title':_0x14eef4('Insert\x20HTML'),'description':t('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x138109,'title':_0x14eef4('Increase\x20indent'),'description':t('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':t('Insert\x20Mermaid\x20diagram'),'description':t('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x9b1d09,'title':_0x14eef4('Insert\x20table'),'description':t('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0x13aff7,'title':_0x14eef4('Table\x20of\x20contents'),'description':t('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x27a7bd,'title':_0x14eef4('Numbered\x20list'),'description':t('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0x4dedb5,'title':_0x14eef4('Decrease\x20indent'),'description':t('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0x595446['paragraph'],'title':_0x14eef4('Paragraph'),'description':t('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x22d664,'title':_0x14eef4('To-do\x20list'),'description':t('Create\x20a\x20to-do\x20list')}];}['_proxyIsEnabled'](_0x5d28f2){return _0x5d28f2['isEnabled']?_0x5d28f2['isEnabled'](this['editor']):!_0x5d28f2['commandName']||this['editor']['commands']['get'](_0x5d28f2['commandName'])['isEnabled'];}['_proxyExecute'](_0x3c141a){if(_0x3c141a['execute'])_0x3c141a['execute'](this['editor']);else{if(!_0x3c141a['commandName'])throw new _0x2bd1ad('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x3c141a});this['editor']['execute'](_0x3c141a['commandName']);}}}function y(_0x1940cf,_0xa7ff82){return _0x1940cf['title']<_0xa7ff82['title']?-0x1:_0x1940cf['title']>_0xa7ff82['title']?0x1:0x0;}function H(_0x296c46,_0x1e7c5e){return _0x1e7c5e+'-'+_0x296c46['toLowerCase']()['split']('\x20')['join']('-');}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3167=['toLowerCase','requires','slashCommandLicenseKeyValid','editor','push','_licenseKeyCheckInterval','destroy','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20slash\x20command\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','getMatchingCommands','includes','slash-command-trial-license-key-reached-limit-changes','licenseKey','filter','pluginName','SlashCommandEditing','slashCommandLicenseKeyInvalid','description','get','info','plugins','title','slash-command-invalid-license-key','concat','slashCommandLicenseKeyTrialLimit:operations','some','slashCommandLicenseKeyTrial','aliases'];(function(_0x1f45b5,_0x316773){const _0x5cb29d=function(_0x4eaffc){while(--_0x4eaffc){_0x1f45b5['push'](_0x1f45b5['shift']());}};_0x5cb29d(++_0x316773);}(_0x3167,0xe7));const _0x5cb2=function(_0x1f45b5,_0x316773){_0x1f45b5=_0x1f45b5-0x0;let _0x5cb29d=_0x3167[_0x1f45b5];return _0x5cb29d;};import{Plugin as _0x1c1d96}from'ckeditor5/src/core';import{CKEditorError as _0x1123d1}from'ckeditor5/src/utils';import _0x7e8219 from'./slashcommandconfig';export default class e extends _0x1c1d96{static get[_0x5cb2('0x19')](){return _0x5cb2('0x1a');}static get[_0x5cb2('0xd')](){return[_0x7e8219];}constructor(_0x48b3fd){super(_0x48b3fd),this[_0x5cb2('0x11')]=null;}['init'](){const _0x5e574d=this[_0x5cb2('0xf')];this[_0x5cb2('0x17')]=_0x5e574d['config']['get'](_0x5cb2('0x17'));const _0x2fb944=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x157053;for(const _0x14f2e9 in _0x2fb944){const _0x59e2ae=_0x14f2e9,_0x3d4181=_0x2fb944[_0x59e2ae];if(_0x5cb2('0xa')===_0x3d4181||_0x5cb2('0x0')===_0x3d4181||'slashCommandLicenseKeyValid'===_0x3d4181||_0x5cb2('0x8')===_0x3d4181){delete _0x2fb944[_0x59e2ae],_0x157053=_0x3d4181;break;}}if(_0x5cb2('0x0')===_0x157053)throw clearInterval(this[_0x5cb2('0x11')]),new _0x1123d1(_0x5cb2('0x6'),null);if('slashCommandLicenseKeyTrial'===_0x157053&&console[_0x5cb2('0x3')](_0x5cb2('0x13')),_0x5cb2('0x8')===_0x157053)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x1123d1(_0x5cb2('0x16'),null);_0x5cb2('0xe')===_0x157053&&clearInterval(this[_0x5cb2('0x11')]);},0x3e8);}[_0x5cb2('0x12')](){this['_licenseKeyCheckInterval']&&clearInterval(this[_0x5cb2('0x11')]);}[_0x5cb2('0x14')](_0x5d60fd){const _0x5ac32e=_0x5d60fd&&_0x5d60fd[_0x5cb2('0xc')]();let _0x3114a0=this[_0x5cb2('0xf')][_0x5cb2('0x4')][_0x5cb2('0x2')]('SlashCommandConfig')['getAllowedCommands']();if(_0x3114a0=_0x3114a0[_0x5cb2('0x18')](_0x2d3f8e=>_0x2d3f8e['isEnabled']()),_0x5ac32e){const _0x429c7e=[],_0x41dd99=[],_0x473014=[],_0x2292ee=[];for(const _0x397210 of _0x3114a0)_0x397210['id'][_0x5cb2('0xc')]()[_0x5cb2('0x15')](_0x5ac32e)?_0x429c7e[_0x5cb2('0x10')](_0x397210):_0x397210[_0x5cb2('0x5')][_0x5cb2('0xc')]()[_0x5cb2('0x15')](_0x5ac32e)?_0x41dd99[_0x5cb2('0x10')](_0x397210):_0x397210['aliases']&&_0x397210[_0x5cb2('0xb')][_0x5cb2('0x9')](_0x2f0cb0=>_0x2f0cb0[_0x5cb2('0xc')]()[_0x5cb2('0x15')](_0x5ac32e))?_0x473014[_0x5cb2('0x10')](_0x397210):_0x397210['description']&&_0x397210[_0x5cb2('0x1')][_0x5cb2('0xc')]()[_0x5cb2('0x15')](_0x5ac32e)&&_0x2292ee[_0x5cb2('0x10')](_0x397210);_0x3114a0=_0x429c7e[_0x5cb2('0x7')](_0x41dd99,_0x473014,_0x2292ee);}return _0x3114a0;}}
23
+ const _0x58b7=['slashCommandLicenseKeyTrial','getMatchingCommands','slashCommandLicenseKeyTrialLimit:operations','description','push','filter','SlashCommandEditing','info','editor','slashCommandLicenseKeyValid','isEnabled','concat','slashCommandLicenseKeyInvalid','pluginName','toLowerCase','get','_licenseKeyCheckInterval','slash-command-invalid-license-key','includes','plugins','licenseKey','aliases','requires'];(function(_0x39f5fd,_0x58b725){const _0x18b6bb=function(_0x55f7a0){while(--_0x55f7a0){_0x39f5fd['push'](_0x39f5fd['shift']());}};_0x18b6bb(++_0x58b725);}(_0x58b7,0x157));const _0x18b6=function(_0x39f5fd,_0x58b725){_0x39f5fd=_0x39f5fd-0x0;let _0x18b6bb=_0x58b7[_0x39f5fd];return _0x18b6bb;};import{Plugin as _0x4a003d}from'ckeditor5/src/core';import{CKEditorError as _0x4add67}from'ckeditor5/src/utils';import _0x1efea0 from'./slashcommandconfig';export default class e extends _0x4a003d{static get[_0x18b6('0xf')](){return _0x18b6('0x8');}static get[_0x18b6('0x1')](){return[_0x1efea0];}constructor(_0x2b8cda){super(_0x2b8cda),this[_0x18b6('0x12')]=null;}['init'](){const _0x2cc028=this[_0x18b6('0xa')];this[_0x18b6('0x16')]=_0x2cc028['config'][_0x18b6('0x11')](_0x18b6('0x16'));const _0x157371=this[_0x18b6('0xa')];this[_0x18b6('0x12')]=setInterval(()=>{let _0x2d2fa9;for(const _0x3f6d87 in _0x157371){const _0x27cdde=_0x3f6d87,_0x5b5383=_0x157371[_0x27cdde];if('slashCommandLicenseKeyTrial'===_0x5b5383||_0x18b6('0xe')===_0x5b5383||_0x18b6('0xb')===_0x5b5383||_0x18b6('0x4')===_0x5b5383){delete _0x157371[_0x27cdde],_0x2d2fa9=_0x5b5383;break;}}if(_0x18b6('0xe')===_0x2d2fa9)throw clearInterval(this[_0x18b6('0x12')]),new _0x4add67(_0x18b6('0x13'),null);if(_0x18b6('0x2')===_0x2d2fa9&&console[_0x18b6('0x9')]('You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20slash\x20command\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.'),'slashCommandLicenseKeyTrialLimit:operations'===_0x2d2fa9)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x4add67('slash-command-trial-license-key-reached-limit-changes',null);_0x18b6('0xb')===_0x2d2fa9&&clearInterval(this[_0x18b6('0x12')]);},0x3e8);}['destroy'](){this[_0x18b6('0x12')]&&clearInterval(this[_0x18b6('0x12')]);}[_0x18b6('0x3')](_0x1188fd){const _0x189fc2=_0x1188fd&&_0x1188fd[_0x18b6('0x10')]();let _0x313063=this[_0x18b6('0xa')][_0x18b6('0x15')][_0x18b6('0x11')]('SlashCommandConfig')['getAllowedCommands']();if(_0x313063=_0x313063[_0x18b6('0x7')](_0x2d4d4a=>_0x2d4d4a[_0x18b6('0xc')]()),_0x189fc2){const _0x46f0d6=[],_0x2fa027=[],_0x13e2de=[],_0x1a4890=[];for(const _0x3be59d of _0x313063)_0x3be59d['id'][_0x18b6('0x10')]()[_0x18b6('0x14')](_0x189fc2)?_0x46f0d6[_0x18b6('0x6')](_0x3be59d):_0x3be59d['title']['toLowerCase']()[_0x18b6('0x14')](_0x189fc2)?_0x2fa027[_0x18b6('0x6')](_0x3be59d):_0x3be59d[_0x18b6('0x0')]&&_0x3be59d[_0x18b6('0x0')]['some'](_0x30e9ae=>_0x30e9ae[_0x18b6('0x10')]()[_0x18b6('0x14')](_0x189fc2))?_0x13e2de[_0x18b6('0x6')](_0x3be59d):_0x3be59d['description']&&_0x3be59d[_0x18b6('0x5')][_0x18b6('0x10')]()[_0x18b6('0x14')](_0x189fc2)&&_0x1a4890['push'](_0x3be59d);_0x313063=_0x46f0d6[_0x18b6('0xd')](_0x2fa027,_0x13e2de,_0x1a4890);}return _0x313063;}}