@ckeditor/ckeditor5-line-height 48.8.1-alpha.4 → 49.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/dist/augmentation.d.ts +19 -19
  2. package/dist/index-content.css +22 -18
  3. package/dist/index-editor.css +7 -7
  4. package/dist/index.css +26 -18
  5. package/dist/index.d.ts +14 -12
  6. package/dist/index.js +1 -1
  7. package/dist/integrations/todolist.d.ts +25 -26
  8. package/dist/lineheight.d.ts +29 -29
  9. package/dist/lineheightcommand.d.ts +21 -21
  10. package/dist/lineheightconfig.d.ts +58 -58
  11. package/dist/lineheightediting.d.ts +41 -41
  12. package/dist/lineheightui.d.ts +28 -29
  13. package/dist/translations/af.js +1 -1
  14. package/dist/translations/af.umd.js +1 -1
  15. package/dist/translations/ar.js +1 -1
  16. package/dist/translations/ar.umd.js +1 -1
  17. package/dist/translations/ast.js +1 -1
  18. package/dist/translations/ast.umd.js +1 -1
  19. package/dist/translations/az.js +1 -1
  20. package/dist/translations/az.umd.js +1 -1
  21. package/dist/translations/be.js +1 -1
  22. package/dist/translations/be.umd.js +1 -1
  23. package/dist/translations/bg.js +1 -1
  24. package/dist/translations/bg.umd.js +1 -1
  25. package/dist/translations/bn.js +1 -1
  26. package/dist/translations/bn.umd.js +1 -1
  27. package/dist/translations/bs.js +1 -1
  28. package/dist/translations/bs.umd.js +1 -1
  29. package/dist/translations/ca.js +1 -1
  30. package/dist/translations/ca.umd.js +1 -1
  31. package/dist/translations/cs.js +1 -1
  32. package/dist/translations/cs.umd.js +1 -1
  33. package/dist/translations/da.js +1 -1
  34. package/dist/translations/da.umd.js +1 -1
  35. package/dist/translations/de-ch.js +1 -1
  36. package/dist/translations/de-ch.umd.js +1 -1
  37. package/dist/translations/de.js +1 -1
  38. package/dist/translations/de.umd.js +1 -1
  39. package/dist/translations/el.js +1 -1
  40. package/dist/translations/el.umd.js +1 -1
  41. package/dist/translations/en-au.js +1 -1
  42. package/dist/translations/en-au.umd.js +1 -1
  43. package/dist/translations/en-gb.js +1 -1
  44. package/dist/translations/en-gb.umd.js +1 -1
  45. package/dist/translations/en.js +1 -1
  46. package/dist/translations/en.umd.js +1 -1
  47. package/dist/translations/eo.js +1 -1
  48. package/dist/translations/eo.umd.js +1 -1
  49. package/dist/translations/es-co.js +1 -1
  50. package/dist/translations/es-co.umd.js +1 -1
  51. package/dist/translations/es.js +1 -1
  52. package/dist/translations/es.umd.js +1 -1
  53. package/dist/translations/et.js +1 -1
  54. package/dist/translations/et.umd.js +1 -1
  55. package/dist/translations/eu.js +1 -1
  56. package/dist/translations/eu.umd.js +1 -1
  57. package/dist/translations/fa.js +1 -1
  58. package/dist/translations/fa.umd.js +1 -1
  59. package/dist/translations/fi.js +1 -1
  60. package/dist/translations/fi.umd.js +1 -1
  61. package/dist/translations/fr.js +1 -1
  62. package/dist/translations/fr.umd.js +1 -1
  63. package/dist/translations/gl.js +1 -1
  64. package/dist/translations/gl.umd.js +1 -1
  65. package/dist/translations/gu.js +1 -1
  66. package/dist/translations/gu.umd.js +1 -1
  67. package/dist/translations/he.js +1 -1
  68. package/dist/translations/he.umd.js +1 -1
  69. package/dist/translations/hi.js +1 -1
  70. package/dist/translations/hi.umd.js +1 -1
  71. package/dist/translations/hr.js +1 -1
  72. package/dist/translations/hr.umd.js +1 -1
  73. package/dist/translations/hu.js +1 -1
  74. package/dist/translations/hu.umd.js +1 -1
  75. package/dist/translations/hy.js +1 -1
  76. package/dist/translations/hy.umd.js +1 -1
  77. package/dist/translations/id.js +1 -1
  78. package/dist/translations/id.umd.js +1 -1
  79. package/dist/translations/it.js +1 -1
  80. package/dist/translations/it.umd.js +1 -1
  81. package/dist/translations/ja.js +1 -1
  82. package/dist/translations/ja.umd.js +1 -1
  83. package/dist/translations/jv.js +1 -1
  84. package/dist/translations/jv.umd.js +1 -1
  85. package/dist/translations/kk.js +1 -1
  86. package/dist/translations/kk.umd.js +1 -1
  87. package/dist/translations/km.js +1 -1
  88. package/dist/translations/km.umd.js +1 -1
  89. package/dist/translations/kn.js +1 -1
  90. package/dist/translations/kn.umd.js +1 -1
  91. package/dist/translations/ko.js +1 -1
  92. package/dist/translations/ko.umd.js +1 -1
  93. package/dist/translations/ku.js +1 -1
  94. package/dist/translations/ku.umd.js +1 -1
  95. package/dist/translations/lt.js +1 -1
  96. package/dist/translations/lt.umd.js +1 -1
  97. package/dist/translations/lv.js +1 -1
  98. package/dist/translations/lv.umd.js +1 -1
  99. package/dist/translations/ms.js +1 -1
  100. package/dist/translations/ms.umd.js +1 -1
  101. package/dist/translations/nb.js +1 -1
  102. package/dist/translations/nb.umd.js +1 -1
  103. package/dist/translations/ne.js +1 -1
  104. package/dist/translations/ne.umd.js +1 -1
  105. package/dist/translations/nl.js +1 -1
  106. package/dist/translations/nl.umd.js +1 -1
  107. package/dist/translations/no.js +1 -1
  108. package/dist/translations/no.umd.js +1 -1
  109. package/dist/translations/oc.js +1 -1
  110. package/dist/translations/oc.umd.js +1 -1
  111. package/dist/translations/pl.js +1 -1
  112. package/dist/translations/pl.umd.js +1 -1
  113. package/dist/translations/pt-br.js +1 -1
  114. package/dist/translations/pt-br.umd.js +1 -1
  115. package/dist/translations/pt.js +1 -1
  116. package/dist/translations/pt.umd.js +1 -1
  117. package/dist/translations/ro.js +1 -1
  118. package/dist/translations/ro.umd.js +1 -1
  119. package/dist/translations/ru.js +1 -1
  120. package/dist/translations/ru.umd.js +1 -1
  121. package/dist/translations/si.js +1 -1
  122. package/dist/translations/si.umd.js +1 -1
  123. package/dist/translations/sk.js +1 -1
  124. package/dist/translations/sk.umd.js +1 -1
  125. package/dist/translations/sl.js +1 -1
  126. package/dist/translations/sl.umd.js +1 -1
  127. package/dist/translations/sq.js +1 -1
  128. package/dist/translations/sq.umd.js +1 -1
  129. package/dist/translations/sr-latn.js +1 -1
  130. package/dist/translations/sr-latn.umd.js +1 -1
  131. package/dist/translations/sr.js +1 -1
  132. package/dist/translations/sr.umd.js +1 -1
  133. package/dist/translations/sv.js +1 -1
  134. package/dist/translations/sv.umd.js +1 -1
  135. package/dist/translations/th.js +1 -1
  136. package/dist/translations/th.umd.js +1 -1
  137. package/dist/translations/ti.js +1 -1
  138. package/dist/translations/ti.umd.js +1 -1
  139. package/dist/translations/tk.js +1 -1
  140. package/dist/translations/tk.umd.js +1 -1
  141. package/dist/translations/tr.js +1 -1
  142. package/dist/translations/tr.umd.js +1 -1
  143. package/dist/translations/tt.js +1 -1
  144. package/dist/translations/tt.umd.js +1 -1
  145. package/dist/translations/ug.js +1 -1
  146. package/dist/translations/ug.umd.js +1 -1
  147. package/dist/translations/uk.js +1 -1
  148. package/dist/translations/uk.umd.js +1 -1
  149. package/dist/translations/ur.js +1 -1
  150. package/dist/translations/ur.umd.js +1 -1
  151. package/dist/translations/uz.js +1 -1
  152. package/dist/translations/uz.umd.js +1 -1
  153. package/dist/translations/vi.js +1 -1
  154. package/dist/translations/vi.umd.js +1 -1
  155. package/dist/translations/zh-cn.js +1 -1
  156. package/dist/translations/zh-cn.umd.js +1 -1
  157. package/dist/translations/zh.js +1 -1
  158. package/dist/translations/zh.umd.js +1 -1
  159. package/dist/utils.d.ts +0 -4
  160. package/package.json +8 -7
@@ -1,21 +1,21 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- import type { LineHeight, LineHeightEditing, LineHeightUI, LineHeightConfig, LineHeightTodoListIntegration } from './index.js';
6
- declare module '@ckeditor/ckeditor5-core' {
7
- interface PluginsMap {
8
- [LineHeight.pluginName]: LineHeight;
9
- [LineHeightEditing.pluginName]: LineHeightEditing;
10
- [LineHeightUI.pluginName]: LineHeightUI;
11
- [LineHeightTodoListIntegration.pluginName]: LineHeightTodoListIntegration;
12
- }
13
- interface EditorConfig {
14
- /**
15
- * The configuration of the {@link module:line-height/lineheight~LineHeight} feature.
16
- *
17
- * Read more in {@link module:line-height/lineheightconfig~LineHeightConfig}.
18
- */
19
- lineHeight?: LineHeightConfig;
20
- }
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ import type { LineHeight, LineHeightEditing, LineHeightUI, LineHeightConfig, LineHeightTodoListIntegration } from "./index.js";
6
+ declare module "@ckeditor/ckeditor5-core" {
7
+ interface PluginsMap {
8
+ [LineHeight.pluginName]: LineHeight;
9
+ [LineHeightEditing.pluginName]: LineHeightEditing;
10
+ [LineHeightUI.pluginName]: LineHeightUI;
11
+ [LineHeightTodoListIntegration.pluginName]: LineHeightTodoListIntegration;
12
+ }
13
+ interface EditorConfig {
14
+ /**
15
+ * The configuration of the {@link module:line-height/lineheight~LineHeight} feature.
16
+ *
17
+ * Read more in {@link module:line-height/lineheightconfig~LineHeightConfig}.
18
+ */
19
+ lineHeight?: LineHeightConfig;
20
+ }
21
21
  }
@@ -2,30 +2,34 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- .ck-content .line-height-single{
6
- line-height:1;
5
+ .ck-content .line-height-single {
6
+ line-height: 1;
7
7
  }
8
8
 
9
- .ck-content .line-height-double{
10
- line-height:2;
9
+ .ck-content .line-height-double {
10
+ line-height: 2;
11
11
  }
12
12
 
13
- :root{
14
- --ck-content-list-marker-line-height:var(--ck-content-line-height);
13
+ :root, :host {
14
+ --ck-content-list-marker-line-height: var(--ck-content-line-height);
15
15
  }
16
16
 
17
- .ck-content .todo-list li.ck-list-marker-line-height:before{
18
- line-height:var(--ck-content-list-marker-line-height);
19
- content:"";
20
- }
17
+ .ck-content .todo-list {
18
+ & li.ck-list-marker-line-height {
19
+ &:before {
20
+ line-height: var(--ck-content-list-marker-line-height);
21
+ content: "";
22
+ }
21
23
 
22
- .ck-content .todo-list li.ck-list-marker-line-height > .todo-list__label.todo-list__label_without-description{
23
- width:0;
24
- line-height:var(--ck-content-list-marker-line-height);
25
- position:absolute;
26
- }
24
+ & > .todo-list__label.todo-list__label_without-description {
25
+ width: 0;
26
+ line-height: var(--ck-content-list-marker-line-height);
27
+ position: absolute;
27
28
 
28
- .ck-content .todo-list li.ck-list-marker-line-height > .todo-list__label.todo-list__label_without-description input[type="checkbox"]{
29
- margin:0;
30
- position:relative;
29
+ & input[type="checkbox"] {
30
+ margin: 0;
31
+ position: relative;
32
+ }
33
+ }
34
+ }
31
35
  }
@@ -2,11 +2,11 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- :root{
6
- --ck-content-list-marker-line-height:var(--ck-content-line-height);
7
- }
8
-
9
- .ck-editor__editable.ck-content .todo-list li.ck-list-marker-line-height > .todo-list__label.todo-list__label_without-description > span[contenteditable="false"]{
10
- width:0;
11
- display:inline-block;
5
+ .ck-editor__editable.ck-content .todo-list {
6
+ & li.ck-list-marker-line-height > .todo-list__label.todo-list__label_without-description {
7
+ & > span[contenteditable="false"] {
8
+ width: 0;
9
+ display: inline-block;
10
+ }
11
+ }
12
12
  }
package/dist/index.css CHANGED
@@ -2,6 +2,15 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
+ .ck-editor__editable.ck-content .todo-list {
6
+ & li.ck-list-marker-line-height > .todo-list__label.todo-list__label_without-description {
7
+ & > span[contenteditable="false"] {
8
+ width: 0;
9
+ display: inline-block;
10
+ }
11
+ }
12
+ }
13
+
5
14
  .ck-content .line-height-single {
6
15
  line-height: 1;
7
16
  }
@@ -10,27 +19,26 @@
10
19
  line-height: 2;
11
20
  }
12
21
 
13
- :root {
22
+ :root, :host {
14
23
  --ck-content-list-marker-line-height: var(--ck-content-line-height);
15
24
  }
16
25
 
17
- .ck-content .todo-list li.ck-list-marker-line-height:before {
18
- line-height: var(--ck-content-list-marker-line-height);
19
- content: "";
20
- }
21
-
22
- .ck-content .todo-list li.ck-list-marker-line-height > .todo-list__label.todo-list__label_without-description {
23
- width: 0;
24
- line-height: var(--ck-content-list-marker-line-height);
25
- position: absolute;
26
- }
26
+ .ck-content .todo-list {
27
+ & li.ck-list-marker-line-height {
28
+ &:before {
29
+ line-height: var(--ck-content-list-marker-line-height);
30
+ content: "";
31
+ }
27
32
 
28
- .ck-content .todo-list li.ck-list-marker-line-height > .todo-list__label.todo-list__label_without-description input[type="checkbox"] {
29
- margin: 0;
30
- position: relative;
31
- }
33
+ & > .todo-list__label.todo-list__label_without-description {
34
+ width: 0;
35
+ line-height: var(--ck-content-list-marker-line-height);
36
+ position: absolute;
32
37
 
33
- .ck-editor__editable.ck-content .todo-list li.ck-list-marker-line-height > .todo-list__label.todo-list__label_without-description > span[contenteditable="false"] {
34
- width: 0;
35
- display: inline-block;
38
+ & input[type="checkbox"] {
39
+ margin: 0;
40
+ position: relative;
41
+ }
42
+ }
43
+ }
36
44
  }
package/dist/index.d.ts CHANGED
@@ -1,14 +1,16 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module line-height
7
- */
8
- export { LineHeight } from './lineheight.js';
9
- export { LineHeightEditing } from './lineheightediting.js';
10
- export { LineHeightUI } from './lineheightui.js';
11
- export { LineHeightTodoListIntegration } from './integrations/todolist.js';
12
- export { LineHeightCommand } from './lineheightcommand.js';
13
- export type { LineHeightConfig, LineHeightOption } from './lineheightconfig.js';
14
- import './augmentation.js';
6
+ * @module line-height
7
+ */
8
+ export { LineHeight } from "./lineheight.js";
9
+ export { LineHeightEditing } from "./lineheightediting.js";
10
+ export { LineHeightUI } from "./lineheightui.js";
11
+ export { LineHeightTodoListIntegration } from "./integrations/todolist.js";
12
+ export { LineHeightCommand } from "./lineheightcommand.js";
13
+ export type { LineHeightConfig, LineHeightOption } from "./lineheightconfig.js";
14
+ import "../theme/index-editor.css";
15
+ import "../theme/index-content.css";
16
+ import "./augmentation.js";
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x2b8cc5,Plugin as _0x5aaea3}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x167f1d,CKEditorError as _0x38470f,uid as _0x570b91,Collection as _0x4efa1d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x42ddc0,isPercentageStyleValue as _0x20a440}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x162a85,createDropdown as _0x598929,addListToDropdown as _0x4dae00,MenuBarMenuView as _0x5ad2f9,MenuBarMenuListView as _0x241db1,MenuBarMenuListItemView as _0x137569,MenuBarMenuListItemButtonView as _0x4901d4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x3efa58}from'@ckeditor/ckeditor5-icons/dist/index.js';class LineHeightCommand extends _0x2b8cc5{['refresh'](){const _0x5d1dee=this['editor']['model']['document'],_0x5cd18b=_0x167f1d(_0x5d1dee['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x5cd18b)&&this['_canHaveLineHeight'](_0x5cd18b),this['value']=this['isEnabled']&&_0x5cd18b['getAttribute']('lineHeight');}['execute'](_0x54b0bb={}){const _0x201132=this['editor']['model'],_0x389c99=_0x201132['document']['selection'],_0x4e7dbb=_0x54b0bb['value'];_0x201132['change'](_0x59ed8d=>{const _0x1b81f6=Array['from'](_0x389c99['getSelectedBlocks']())['filter'](_0x5a9e47=>this['_canHaveLineHeight'](_0x5a9e47));for(const _0x3ec6ea of _0x1b81f6)_0x4e7dbb?_0x59ed8d['setAttribute']('lineHeight',_0x4e7dbb,_0x3ec6ea):_0x59ed8d['removeAttribute']('lineHeight',_0x3ec6ea);});}['_canHaveLineHeight'](_0x3c75b6){return this['editor']['model']['schema']['checkAttribute'](_0x3c75b6,'lineHeight');}}const p={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function H(_0x4c45a1){return'string'==typeof _0x4c45a1&&'default'===_0x4c45a1['toLowerCase']();}function L(_0x50cfa3){return _0x50cfa3['options']['map'](_0x15b6e6=>{return H(_0x15b6e6)?{'title':String(_0x50cfa3['defaultValue']),'model':'default'}:('number'==typeof _0x15b6e6&&(_0x15b6e6=String(_0x15b6e6)),'string'!=typeof _0x15b6e6?_0x15b6e6:parseFloat(_0x15b6e6)?{'title':_0x15b6e6,'model':_0x15b6e6,'view':{'name':'span','styles':{'line-height':_0x15b6e6}}}:'string'==typeof(_0x430c82=_0x15b6e6)?p[_0x430c82]:p[_0x430c82['model']]);var _0x430c82;})['filter'](_0x43b3ed=>void 0x0!==_0x43b3ed);}class LineHeightTodoListIntegration extends _0x5aaea3{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x5c26da,conversion:_0x5a8485}=this['editor'];if(!_0x5c26da['has']('ListEditing')||!_0x5c26da['has']('TodoListEditing'))return;_0x5c26da['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x324596,_0x4b8ff4,_0xc93d02,_0x5fce49,_0x147d38){'todo'==_0x147d38['getAttribute']('listType')&&_0x4b8ff4&&(_0x324596['addClass']('ck-list-marker-line-height',_0xc93d02),_0x324596['setStyle']('--ck-content-list-marker-line-height',_0x4b8ff4,_0xc93d02));}}),_0x5a8485['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x5a8485['for']('upcast')['add'](_0x51e8c4=>{_0x51e8c4['on']('element:li',function(_0x2320e4){const _0x336681=new _0x42ddc0(_0x2320e4);return(_0x3c073,_0x113d7f,_0x4cb83f)=>{const _0x544401=_0x336681['match'](_0x113d7f['viewItem']);if(!_0x544401)return;const _0x47da5f=_0x544401['match'];_0x47da5f['name']=!0x1,_0x4cb83f['consumable']['consume'](_0x113d7f['viewItem'],_0x47da5f);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class LineHeightEditing extends _0x5aaea3{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[LineHeightTodoListIntegration];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x492a0e){super(_0x492a0e),_0x492a0e['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x268c86=this['editor'];this['_validateConfig'](),_0x268c86['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x268c86['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x268c86['commands']['add']('lineHeight',new LineHeightCommand(_0x268c86)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x2310e9){const _0x3969e9=_0x41207b([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x7424ab=0x45ddd215,_0x50cc72=0x45da5895^_0x7424ab,_0x2232a8=window[_0x41207b([0x44,0x61,0x74,0x65])][_0x41207b([0x6e,0x6f,0x77])](),_0x150b40=_0x2310e9[_0x41207b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2911ba=new window[(_0x41207b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54ecbd=>{_0x150b40[_0x41207b([0x6f,0x6e,0x63,0x65])](_0x41207b([0x72,0x65,0x61,0x64,0x79]),_0x54ecbd);}),_0x1d3d4d={[_0x41207b([0x6b,0x74,0x79])]:_0x41207b([0x45,0x43]),[_0x41207b([0x75,0x73,0x65])]:_0x41207b([0x73,0x69,0x67]),[_0x41207b([0x63,0x72,0x76])]:_0x41207b([0x50,0x2d,0x32,0x35,0x36]),[_0x41207b([0x78])]:_0x41207b([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x41207b([0x79])]:_0x41207b([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x41207b([0x61,0x6c,0x67])]:_0x41207b([0x45,0x53,0x32,0x35,0x36])},_0x28bbf0=_0x150b40[_0x41207b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x41207b([0x67,0x65,0x74])](_0x41207b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1a9695(){let _0x2b1703,_0x17bd1e=null,_0x1e4f61=null;try{if(_0x28bbf0==_0x41207b([0x47,0x50,0x4c]))return _0x41207b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2b1703=_0x31f049(),!_0x2b1703)return _0x41207b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2b1703[_0x41207b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e4f61=_0x560672(_0x2b1703[_0x41207b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2b1703[_0x41207b([0x6a,0x74,0x69])])),await _0x20a1cb()?_0x4b82c9()?_0x40f502()?_0x41207b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1504ea()?(_0x2b1703[_0x41207b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41207b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17bd1e=_0x254a19(_0x41207b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2794f8()):_0x41207b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x41207b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x41207b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x41207b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x40f502(){const _0x359ab2=[_0x41207b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x41207b([0x74,0x72,0x69,0x61,0x6c])][_0x41207b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b1703[_0x41207b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2232a8/0x3e8:0xe10*_0x50cc72;return _0x2b1703[_0x41207b([0x65,0x78,0x70])]<_0x359ab2;}function _0x4b82c9(){const _0x42cda2=_0x2b1703[_0x41207b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x42cda2&&(!!_0x42cda2[_0x41207b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41207b([0x2a]))||!!_0x42cda2[_0x41207b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41207b([0x4c,0x48])));}function _0x1504ea(){const _0x308998=_0x2b1703[_0x41207b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x308998||0x0==_0x308998[_0x41207b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1543cd}=new URL(window[_0x41207b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x308998[_0x41207b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1543cd))return!0x0;const _0x4baaa8=_0x1543cd[_0x41207b([0x73,0x70,0x6c,0x69,0x74])](_0x41207b([0x2e]));return _0x308998[_0x41207b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x46ee80=>_0x46ee80[_0x41207b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41207b([0x2a])))[_0x41207b([0x6d,0x61,0x70])](_0x14aa8e=>_0x14aa8e[_0x41207b([0x73,0x70,0x6c,0x69,0x74])](_0x41207b([0x2e])))[_0x41207b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x581896=>_0x581896[_0x41207b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4baaa8[_0x41207b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x41207b([0x6d,0x61,0x70])](_0x598c69=>Array(_0x4baaa8[_0x41207b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x598c69[_0x41207b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x41207b([0x66,0x69,0x6c,0x6c])](_0x598c69[0x0]===_0x41207b([0x2a])?_0x41207b([0x2a]):'')[_0x41207b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x598c69))[_0x41207b([0x73,0x6f,0x6d,0x65])](_0x49acf9=>_0x4baaa8[_0x41207b([0x65,0x76,0x65,0x72,0x79])]((_0x2556ff,_0x3edc69)=>_0x49acf9[_0x3edc69]===_0x2556ff||_0x49acf9[_0x3edc69]===_0x41207b([0x2a])));}function _0x2794f8(){return _0x17bd1e&&_0x1e4f61?new window[(_0x41207b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48d0cf,_0x23a709)=>{_0x17bd1e[_0x41207b([0x74,0x68,0x65,0x6e])](_0x48d0cf,_0x23a709),_0x1e4f61[_0x41207b([0x74,0x68,0x65,0x6e])](_0x357817=>{_0x357817!=_0x41207b([0x56,0x61,0x6c,0x69,0x64])&&_0x48d0cf(_0x357817);},_0x23a709);}):_0x17bd1e||_0x1e4f61||_0x41207b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x560672(_0x574815,_0x2f951f){return new window[(_0x41207b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4dc27c=>{if(_0x3f236f())return _0x4dc27c(_0x41207b([0x56,0x61,0x6c,0x69,0x64]));_0x393326(),_0x150b40[_0x41207b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x41207b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x173c67=!0x1;const _0x1735ba=_0x570b91();function _0x48816e(_0x49b595){return!!_0x49b595&&(typeof _0x49b595===_0x41207b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x49b595===_0x41207b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x49b595[_0x41207b([0x74,0x68,0x65,0x6e])]===_0x41207b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x49b595[_0x41207b([0x63,0x61,0x74,0x63,0x68])]===_0x41207b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5f100a(_0x4a1de0){_0x35a876(_0x4a1de0)[_0x41207b([0x74,0x68,0x65,0x6e])](_0x522d48=>{if(!_0x522d48||_0x522d48[_0x41207b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x41207b([0x6f,0x6b]))return _0x41207b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x48fe88(_0x5cb958(_0x1735ba+_0x2f951f))!=_0x522d48[_0x41207b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x41207b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x41207b([0x56,0x61,0x6c,0x69,0x64]);})[_0x41207b([0x74,0x68,0x65,0x6e])](_0x2fbcf8=>(_0x5a2ec7(),_0x2fbcf8),()=>{const _0x14c1f9=_0x1510e3();return null==_0x14c1f9?(_0x5a2ec7(),_0x41207b([0x56,0x61,0x6c,0x69,0x64])):_0x41207b(_0x2232a8-_0x14c1f9>(0x61d15615^_0x7424ab)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x41207b([0x74,0x68,0x65,0x6e])](_0x4dc27c)[_0x41207b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4dc27c(_0x41207b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xc987d=0x45eb3c95^_0x7424ab;function _0x5a2ec7(){const _0x39d77a=_0x41207b([0x6c,0x6c,0x63,0x74,0x2d])+_0x48fe88(_0x5cb958(_0x574815)),_0x5f491d=_0x6f6c80(_0x48fe88(window[_0x41207b([0x4d,0x61,0x74,0x68])][_0x41207b([0x63,0x65,0x69,0x6c])](_0x2232a8/_0xc987d)));window[_0x41207b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41207b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39d77a,_0x5f491d);}function _0x1510e3(){const _0x3b267a=_0x41207b([0x6c,0x6c,0x63,0x74,0x2d])+_0x48fe88(_0x5cb958(_0x574815)),_0x1eb3c8=window[_0x41207b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41207b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b267a);return _0x1eb3c8?window[_0x41207b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6f6c80(_0x1eb3c8),0x10)*_0xc987d:null;}function _0x35a876(_0x34c95b){return new window[(_0x41207b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ee75b,_0x528c72)=>{_0x34c95b[_0x41207b([0x74,0x68,0x65,0x6e])](_0x4ee75b,_0x528c72),window[_0x41207b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x528c72,0x45dc06d5^_0x7424ab);});}}_0x150b40[_0x41207b([0x6f,0x6e])](_0x41207b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2c4003,_0x3e63ce)=>{if(_0x3e63ce[0x0]!=_0x574815)return _0x4dc27c(_0x41207b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3e63ce[0x1]={..._0x3e63ce[0x1],[_0x41207b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1735ba};},{[_0x41207b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41207b([0x68,0x69,0x67,0x68])}),_0x150b40[_0x41207b([0x6f,0x6e])](_0x41207b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2e2a7a=>{_0x48816e(_0x2e2a7a[_0x41207b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x173c67=!0x0,_0x5f100a(_0x2e2a7a[_0x41207b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x41207b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41207b([0x6c,0x6f,0x77])}),_0x2911ba[_0x41207b([0x74,0x68,0x65,0x6e])](()=>{_0x173c67||_0x4dc27c(_0x41207b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3f236f(){return _0x150b40[_0x41207b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41207b([0x76,0x69,0x65,0x77])][_0x41207b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x41207b([0x61,0x75,0x74,0x6f]);}function _0x393326(){_0x150b40[_0x41207b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41207b([0x76,0x69,0x65,0x77])][_0x41207b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x41207b([0x61,0x75,0x74,0x6f]);}}function _0x254a19(_0x55c817){const _0x559fdf=[new window[(_0x41207b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd23c16=>setTimeout(_0xd23c16,0x45d4ecd9^_0x7424ab)),_0x2911ba[_0x41207b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x41207b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d7b5a=>{let _0x493026=0x0;_0x150b40[_0x41207b([0x6d,0x6f,0x64,0x65,0x6c])][_0x41207b([0x6f,0x6e])](_0x41207b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x49e177,_0x5f8564)=>{_0x5f8564[0x0][_0x41207b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x493026++,_0x493026==(0x45ddd7fd^_0x7424ab)&&(_0x5d7b5a(),_0x49e177[_0x41207b([0x6f,0x66,0x66])]());});}))];return window[_0x41207b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x41207b([0x72,0x61,0x63,0x65])](_0x559fdf)[_0x41207b([0x74,0x68,0x65,0x6e])](()=>_0x55c817);}async function _0x3c0b61(){await _0x2911ba,_0x150b40[_0x41207b([0x6d,0x6f,0x64,0x65,0x6c])][_0x41207b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x249d43,_0x150b40[_0x41207b([0x6d,0x6f,0x64,0x65,0x6c])][_0x41207b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x249d43,_0x150b40[_0x41207b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x41207b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4e1b8f(_0x353b3f){const _0x4e71f0=_0x54e34e();_0x150b40[_0x4e71f0]=_0x41207b([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x353b3f,_0x353b3f!=_0x41207b([0x56,0x61,0x6c,0x69,0x64])&&_0x3c0b61();}function _0x54e34e(){const _0x191991=window[_0x41207b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x41207b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x41207b([0x6e,0x6f,0x77])]())[_0x41207b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x41207b([0x2e]),'');let _0x20417d=_0x41207b([0x50]);for(let _0x4ddbf4=0x0;_0x4ddbf4<_0x191991[_0x41207b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ddbf4+=0x2){let _0x382a63=window[_0x41207b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x191991[_0x41207b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ddbf4,_0x4ddbf4+0x2));_0x382a63>=_0x3969e9[_0x41207b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x382a63-=_0x3969e9[_0x41207b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x20417d+=_0x3969e9[_0x382a63];}return _0x20417d;}function _0x31f049(){const _0x4134c0=_0x28bbf0[_0x41207b([0x73,0x70,0x6c,0x69,0x74])](_0x41207b([0x2e]));if(0x3!=_0x4134c0[_0x41207b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a05a9(_0x4134c0[0x1]);function _0x1a05a9(_0x5a631b){const _0x271468=_0x4ef0ac(_0x5a631b);return _0x271468&&_0x438b66()?_0x271468:null;function _0x438b66(){const _0x4ddc98=_0x271468[_0x41207b([0x6a,0x74,0x69])],_0x2615e4=window[_0x41207b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ddc98[_0x41207b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ddc98[_0x41207b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x97df37={..._0x271468,[_0x41207b([0x6a,0x74,0x69])]:_0x4ddc98[_0x41207b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ddc98[_0x41207b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x97df37[_0x41207b([0x76,0x63])],_0x5cb958(_0x97df37)==_0x2615e4;}}}async function _0x20a1cb(){let _0x2e183e=!0x0;try{const _0x2f6f06=_0x28bbf0[_0x41207b([0x73,0x70,0x6c,0x69,0x74])](_0x41207b([0x2e])),[_0x14f6e6,_0x464817,_0x5c4dd5]=_0x2f6f06;return _0x2b0383(_0x14f6e6),await _0xeeb362(_0x14f6e6,_0x464817,_0x5c4dd5),_0x2e183e;}catch{return!0x1;}function _0x2b0383(_0x2c64fe){const _0x5cea70=_0x4ef0ac(_0x2c64fe);_0x5cea70&&_0x5cea70[_0x41207b([0x61,0x6c,0x67])]==_0x41207b([0x45,0x53,0x32,0x35,0x36])||(_0x2e183e=!0x1);}async function _0xeeb362(_0x5d5f5c,_0x16184f,_0x4e3d0b){const _0x19cbbe=window[_0x41207b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x41207b([0x66,0x72,0x6f,0x6d])](_0x594513(_0x4e3d0b),_0x21c70b=>_0x21c70b[_0x41207b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x142c7f=new window[(_0x41207b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x41207b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5d5f5c+_0x41207b([0x2e])+_0x16184f),_0x2a0a42=window[_0x41207b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x41207b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2a0a42)return;const _0x396ad4=await _0x2a0a42[_0x41207b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x41207b([0x6a,0x77,0x6b]),_0x1d3d4d,{[_0x41207b([0x6e,0x61,0x6d,0x65])]:_0x41207b([0x45,0x43,0x44,0x53,0x41]),[_0x41207b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x41207b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x41207b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2a0a42[_0x41207b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x41207b([0x6e,0x61,0x6d,0x65])]:_0x41207b([0x45,0x43,0x44,0x53,0x41]),[_0x41207b([0x68,0x61,0x73,0x68])]:{[_0x41207b([0x6e,0x61,0x6d,0x65])]:_0x41207b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x396ad4,_0x19cbbe,_0x142c7f)||(_0x2e183e=!0x1);}}function _0x4ef0ac(_0x2ba661){return _0x2ba661[_0x41207b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x41207b([0x65,0x79]))?JSON[_0x41207b([0x70,0x61,0x72,0x73,0x65])](_0x594513(_0x2ba661)):null;}function _0x594513(_0x229229){return window[_0x41207b([0x61,0x74,0x6f,0x62])](_0x229229[_0x41207b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x41207b([0x2b]))[_0x41207b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x41207b([0x2f])));}function _0x5cb958(_0x16a2cf){let _0x148122=0x1505;function _0x32a9c7(_0x15464a){for(let _0x23322c=0x0;_0x23322c<_0x15464a[_0x41207b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23322c++){const _0x31a51e=_0x15464a[_0x41207b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x23322c);_0x148122=(_0x148122<<0x5)+_0x148122+_0x31a51e,_0x148122&=_0x148122;}}function _0x4744fc(_0x1ab9a9){Array[_0x41207b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1ab9a9)?_0x1ab9a9[_0x41207b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4744fc):_0x1ab9a9&&typeof _0x1ab9a9==_0x41207b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x41207b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1ab9a9)[_0x41207b([0x73,0x6f,0x72,0x74])]()[_0x41207b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2270ec,_0x1039dc])=>{_0x32a9c7(_0x2270ec),_0x4744fc(_0x1039dc);}):_0x32a9c7(window[_0x41207b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1ab9a9));}return _0x4744fc(_0x16a2cf),_0x148122>>>0x0;}function _0x48fe88(_0x56d9cc){return _0x56d9cc[_0x41207b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x41207b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x41207b([0x30]));}function _0x6f6c80(_0x49459a){return _0x49459a[_0x41207b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x41207b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x41207b([0x6a,0x6f,0x69,0x6e])]('');}function _0x249d43(){}function _0x41207b(_0x3fe4b0){return _0x3fe4b0['map'](_0x25d1fc=>String['fromCharCode'](_0x25d1fc))['join']('');}_0x4e1b8f(await _0x1a9695());}(this);}['_validateConfig'](){const _0x17b956=this['editor'];if(!_0x17b956['config']['get']('lineHeight.supportAllValues'))return;const _0x55f0e7=_0x17b956['config']['get']('lineHeight.options')['filter'](_0x277475=>'string'==typeof _0x277475&&(!H(_0x277475)&&isNaN(Number(_0x277475))));if(_0x55f0e7['length'])throw new _0x38470f('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x55f0e7});}['_prepareAnyValueConverters'](){const _0x43ae60=this['editor'],_0x187dbd=this['editor']['config']['get']('lineHeight.defaultValue');_0x43ae60['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x13f8c3=>String(_0x13f8c3)===String(_0x187dbd)?null:{'key':'style','value':{'line-height':_0x13f8c3}}}),_0x43ae60['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x34f29c=>{let _0x3c58ee=_0x34f29c['getStyle']('line-height');return _0x20a440(_0x3c58ee)&&(_0x3c58ee=String(Number(_0x3c58ee['slice'](0x0,-0x1))/0x64)),String(_0x3c58ee)===String(_0x187dbd)?null:_0x3c58ee;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x1be103=this['editor'],_0x8d1a2a=this['editor']['config']['get']('lineHeight.defaultValue'),_0x12d42f=function(_0x4c3f3d,_0x48567f){const _0x390627={'model':{'key':_0x4c3f3d,'values':[]},'view':{}};for(const _0x5ba8ee of _0x48567f)'class'===_0x5ba8ee['view']?.['key']?(_0x390627['model']['values']['push'](_0x5ba8ee['model']),_0x390627['view'][_0x5ba8ee['model']]={'key':'class','value':_0x5ba8ee['view']['value']}):(_0x390627['model']['values']['push'](_0x5ba8ee['model']),_0x390627['view'][_0x5ba8ee['model']]={'key':'style','value':'line-height:'+_0x5ba8ee['model']+';'});return _0x390627;}('lineHeight',L(this['editor']['config']['get']('lineHeight'))['filter'](_0x284888=>_0x284888['model']));_0x1be103['conversion']['attributeToAttribute'](_0x12d42f),_0x1be103['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x1465dc=>{let _0x482d54=_0x1465dc['getStyle']('line-height');return _0x20a440(_0x482d54)&&(_0x482d54=String(Number(_0x482d54['slice'](0x0,-0x1))/0x64)),_0x482d54===String(_0x8d1a2a)?null:_0x12d42f['model']['values']['includes'](_0x482d54)?_0x482d54:null;}}});}}class LineHeightUI extends _0x5aaea3{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x29b44c={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x29b44c),this['_registerMenuBarComponent'](_0x29b44c),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5881f3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x561774;for(const _0xefed26 in _0x5881f3){const _0x52ec56=_0xefed26,_0x4050bf=_0x5881f3[_0x52ec56];if('lineHeightLicenseKeyValid'==_0x4050bf||'lineHeightLicenseKeyInvalid'==_0x4050bf||'lineHeightLicenseKeyExpired'==_0x4050bf||'lineHeightLicenseKeyDomainLimit'==_0x4050bf||'lineHeightLicenseKeyNotAllowed'==_0x4050bf||'lineHeightLicenseKeyEvaluationLimit'==_0x4050bf||'lineHeightLicenseKeyUsageLimit'==_0x4050bf){delete _0x5881f3[_0x52ec56],_0x561774=_0x4050bf,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x561774&&_0x5881f3['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x561774&&_0x5881f3['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x561774&&_0x5881f3['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x561774&&_0x5881f3['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x561774&&_0x5881f3['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x561774&&_0x5881f3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x56b6e8=this['editor'],t=_0x56b6e8['t'],_0x21ef00=_0x56b6e8['config']['get']('lineHeight'),_0x5ab955={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return L(_0x21ef00)['map'](_0x4d5b58=>{const _0x25aa76=_0x5ab955[_0x4d5b58['title']];return _0x25aa76&&_0x25aa76!=_0x4d5b58['title']&&(_0x4d5b58=Object['assign']({},_0x4d5b58,{'title':_0x25aa76})),_0x4d5b58;});}['_prepareListOptions'](){const _0xadfad1=this['editor']['commands']['get']('lineHeight'),_0x2b6938=this['editor']['config']['get']('lineHeight.defaultValue'),_0x5f186c=this['_getLocalizedLineHeightOptions'](),_0x2dda6a=new _0x4efa1d(),_0x1764bf=_0x5f4fe6=>'default'===_0x5f4fe6||String(_0x2b6938)===_0x5f4fe6;for(const _0x2bbf76 of _0x5f186c){const _0x282b56={'type':'button','model':new _0x162a85({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2bbf76['title'],'withText':!0x0})};_0x1764bf(_0x2bbf76['model'])?(_0x282b56['model']['bind']('isOn')['to'](_0xadfad1,'value',_0x538a6b=>!_0x538a6b),_0x282b56['model']['commandParam']=void 0x0):(_0x282b56['model']['bind']('isOn')['to'](_0xadfad1,'value',_0xafa4d3=>_0xafa4d3===_0x2bbf76['model']),_0x282b56['model']['commandParam']=_0x2bbf76['model']),_0x2dda6a['add'](_0x282b56);}if(this['_shouldRenderCustomValueOption']()){const _0x4cd57d=this['_getCustomValueOptionDefinition'](_0x5f186c);_0x2dda6a['add'](_0x4cd57d);}return _0x2dda6a;}['_getCustomValueOptionDefinition'](_0x45eef8){const _0x28ea9a=this['editor'],t=_0x28ea9a['t'],_0x4b397f=_0x28ea9a['commands']['get']('lineHeight'),_0x419338=_0x45eef8['map'](_0x2ed781=>_0x2ed781['model']),_0x5b62c0={'type':'button','model':new _0x162a85({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x5b62c0['model']['bind']('commandParam')['to'](_0x4b397f,'value'),_0x5b62c0['model']['bind']('isOn')['to'](_0x4b397f,'value',_0x4435ca=>!!_0x4435ca&&!_0x419338['includes'](String(_0x4435ca))),_0x5b62c0['model']['bind']('label')['to'](_0x4b397f,'value',_0x1d65e3=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1d65e3))),_0x5b62c0;}['_registerToolbarComponent']({accessibleLabel:_0x54c430,options:_0x1a8c3a}){const _0x4546fa=this['editor'],_0x2463d5=_0x4546fa['commands']['get']('lineHeight');_0x4546fa['ui']['componentFactory']['add']('lineHeight',_0x271bb4=>{const _0x50d452=_0x598929(_0x271bb4);return _0x4dae00(_0x50d452,_0x1a8c3a,{'role':'menu','ariaLabel':_0x54c430}),_0x50d452['buttonView']['set']({'label':_0x54c430,'tooltip':!0x0,'icon':_0x3efa58}),_0x50d452['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x50d452['bind']('isEnabled')['to'](_0x2463d5),this['listenTo'](_0x50d452,'execute',_0x26c948=>{_0x4546fa['execute'](_0x26c948['source']['commandName'],{'value':_0x26c948['source']['commandParam']}),_0x4546fa['editing']['view']['focus']();}),_0x50d452['once']('change:isOpen',()=>{const _0x3df059=_0x50d452['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x50d452,_0x1a8c3a,_0x3df059);}),_0x50d452;});}['_registerMenuBarComponent']({accessibleLabel:_0x2ea7be,options:_0x3cfc7d}){const _0x24d4fc=this['editor'],_0x37d0ec=_0x24d4fc['commands']['get']('lineHeight');_0x24d4fc['ui']['componentFactory']['add']('menuBar:lineHeight',_0x33cd05=>{const _0x5e9032=new _0x5ad2f9(_0x33cd05);_0x5e9032['buttonView']['set']({'label':_0x2ea7be,'icon':_0x3efa58}),_0x5e9032['bind']('isEnabled')['to'](_0x37d0ec);const _0x16e505=new _0x241db1(_0x33cd05);for(const _0x53b803 of _0x3cfc7d){const _0x41fbe6=new _0x137569(_0x33cd05,_0x5e9032),_0x1d380f=new _0x4901d4(_0x33cd05);_0x1d380f['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1d380f['bind'](...Object['keys'](_0x53b803['model']))['to'](_0x53b803['model']),_0x1d380f['delegate']('execute')['to'](_0x5e9032),_0x1d380f['on']('execute',()=>{_0x24d4fc['execute'](_0x53b803['model']['commandName'],{'value':_0x53b803['model']['commandParam']}),_0x24d4fc['editing']['view']['focus']();}),_0x41fbe6['children']['add'](_0x1d380f),_0x16e505['items']['add'](_0x41fbe6);}return _0x5e9032['panelView']['children']['add'](_0x16e505),this['_attachCustomOptionVisibilityHandler'](_0x5e9032,_0x3cfc7d,_0x16e505),_0x5e9032;});}['_attachCustomOptionVisibilityHandler'](_0xfe8e0a,_0x2fded2,_0x2c8b87){if(!this['_shouldRenderCustomValueOption']())return;const _0x15eead=()=>{if(!_0xfe8e0a['isOpen'])return;_0x2c8b87['items']['last']['isVisible']=Boolean(_0x2fded2['last']['model']['isOn']);};_0x15eead(),_0xfe8e0a['on']('change:isOpen',()=>{_0x15eead();});}}class LineHeight extends _0x5aaea3{static get['requires'](){return[LineHeightEditing,LineHeightUI];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{LineHeight,LineHeightCommand,LineHeightEditing,LineHeightTodoListIntegration,LineHeightUI};
23
+ import{Command as _0x5693aa,Plugin as _0x1a19ac}from'@ckeditor/ckeditor5-core';import{CKEditorError as _0xcd1a01,Collection as _0xfe766a,first as _0x1bd2a0,uid as _0x44ce1f}from'@ckeditor/ckeditor5-utils';import{Matcher as _0xd1fd61,isPercentageStyleValue as _0x5954cf}from'@ckeditor/ckeditor5-engine';import{MenuBarMenuListItemButtonView as _0x132e96,MenuBarMenuListItemView as _0xd6feca,MenuBarMenuListView as _0x2dcd19,MenuBarMenuView as _0x1edbca,UIModel as _0x21f6ce,addListToDropdown as _0x13539f,createDropdown as _0x2f0ba1}from'@ckeditor/ckeditor5-ui';import{IconLineHeight as _0x2d2e51}from'@ckeditor/ckeditor5-icons';var p=class extends _0x5693aa{['refresh'](){const _0x50abd5=this['editor']['model']['document'],_0x5689c1=_0x1bd2a0(_0x50abd5['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x5689c1)&&this['_canHaveLineHeight'](_0x5689c1),this['value']=this['isEnabled']&&_0x5689c1['getAttribute']('lineHeight');}execute(_0x4132bf={}){const _0x54f2db=this['editor']['model'],_0x141ae2=_0x54f2db['document']['selection'],_0x2bbcca=_0x4132bf['value'];_0x54f2db['change'](_0x39b48a=>{const _0x376ec8=Array['from'](_0x141ae2['getSelectedBlocks']())['filter'](_0x1d23f3=>this['_canHaveLineHeight'](_0x1d23f3));for(const _0x136b9a of _0x376ec8)_0x2bbcca?_0x39b48a['setAttribute']('lineHeight',_0x2bbcca,_0x136b9a):_0x39b48a['removeAttribute']('lineHeight',_0x136b9a);});}_canHaveLineHeight(_0x21dcc3){return this['editor']['model']['schema']['checkAttribute'](_0x21dcc3,'lineHeight');}};const y={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function H(_0xd15e50){return'string'==typeof _0xd15e50&&'default'===_0xd15e50['toLowerCase']();}function L(_0xca8a41){return _0xca8a41['options']['map'](_0xde06cd=>{return H(_0xde06cd)?{'title':String(_0xca8a41['defaultValue']),'model':'default'}:('number'==typeof _0xde06cd&&(_0xde06cd=String(_0xde06cd)),'string'!=typeof _0xde06cd?_0xde06cd:parseFloat(_0xde06cd)?{'title':_0xde06cd,'model':_0xde06cd,'view':{'name':'span','styles':{'line-height':_0xde06cd}}}:'string'==typeof(_0x4d8e15=_0xde06cd)?y[_0x4d8e15]:y[_0x4d8e15['model']]);var _0x4d8e15;})['filter'](_0x2709e0=>void 0x0!==_0x2709e0);}var v=class extends _0x1a19ac{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {plugins:_0x10ceee,conversion:_0x48c4fb}=this['editor'];_0x10ceee['has']('ListEditing')&&_0x10ceee['has']('TodoListEditing')&&(_0x10ceee['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x4399cb,_0x11f7f3,_0x5c5c0f,_0x345402,_0x11c704){'todo'==_0x11c704['getAttribute']('listType')&&_0x11f7f3&&(_0x4399cb['addClass']('ck-list-marker-line-height',_0x5c5c0f),_0x4399cb['setStyle']('--ck-content-list-marker-line-height',_0x11f7f3,_0x5c5c0f));}}),_0x48c4fb['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x48c4fb['for']('upcast')['add'](_0x112202=>{_0x112202['on']('element:li',function(_0x1d930d){const _0x215a2b=new _0xd1fd61(_0x1d930d);return(_0x110855,_0x4bde7e,_0x54bc60)=>{const _0x57d3c6=_0x215a2b['match'](_0x4bde7e['viewItem']);if(!_0x57d3c6)return;const _0x8afb9b=_0x57d3c6['match'];_0x8afb9b['name']=!0x1,_0x54bc60['consumable']['consume'](_0x4bde7e['viewItem'],_0x8afb9b);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));}));}},b=class extends _0x1a19ac{static get['pluginName'](){return'LineHeightEditing';}static get requires(){return[v];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3bc1fe){super(_0x3bc1fe),_0x3bc1fe['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}init(){const _0x3a8421=this['editor'];this['_validateConfig'](),_0x3a8421['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x3a8421['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x3a8421['commands']['add']('lineHeight',new p(_0x3a8421)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}afterInit(){!async function(_0x3c3dbf){const _0x5ee5c6='cvqCYM8ia9TDP6n5dmrzbJtlj03FwLxIpEWSUG7ARu21KfQoXNyg4ZBeOhskHV',_0x21ec42=0x79728,_0x534771={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x445f0d(_0x483f81){const _0xf0f972=new window['Promise'](_0x4311c7=>{_0x483f81['once']('ready',_0x4311c7);}),_0x3c6fc7=window['Date']['now'](),_0xe068a9=_0x483f81['config']['get']('licenseKey');async function _0x4b9f5d(){let _0x1c657d,_0x59365b=null,_0x328256=null;try{return'GPL'==_0xe068a9?'NotAllowed':(_0x1c657d=_0x1d4973(),_0x1c657d?(_0x1c657d['usageEndpoint']&&(_0x328256=_0x1e8a4a(_0x1c657d['usageEndpoint'],_0x1c657d['jti'])),await _0x20c365()?_0x4daa5f()?_0x5545cc()?'Expired':_0x5ce578()?('evaluation'==_0x1c657d['licenseType']&&(_0x59365b=_0x2264e4('EvaluationLimit')),await _0x16ddf0()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x5545cc(){const _0x27c444=['evaluation','trial']['includes'](_0x1c657d['licenseType'])?_0x3c6fc7/0x3e8:0xe10*_0x21ec42;return _0x1c657d['exp']<_0x27c444;}function _0x4daa5f(){const _0x48b0ac=_0x1c657d['features'];return!!_0x48b0ac&&(!!_0x48b0ac['includes']('*')||!!_0x48b0ac['includes']('LH'));}function _0x5ce578(){const _0x3788cd=_0x1c657d['licensedHosts'];if(!_0x3788cd||0x0==_0x3788cd['length'])return!0x0;const {hostname:_0x5d40e3}=new URL(window['location']['href']);if(_0x3788cd['includes'](_0x5d40e3))return!0x0;const _0x208a88=_0x5d40e3['split']('.');return _0x3788cd['filter'](_0x66161d=>_0x66161d['includes']('*'))['map'](_0x278f01=>_0x278f01['split']('.'))['filter'](_0x38fb5c=>_0x38fb5c['length']<=_0x208a88['length'])['map'](_0x38425f=>Array(_0x208a88['length']-_0x38425f['length'])['fill']('*'===_0x38425f[0x0]?'*':'')['concat'](_0x38425f))['some'](_0x396981=>_0x208a88['every']((_0x402722,_0x560211)=>_0x396981[_0x560211]===_0x402722||'*'===_0x396981[_0x560211]));}function _0x16ddf0(){return _0x59365b&&_0x328256?new window['Promise']((_0x453d5c,_0x78a8d3)=>{_0x59365b['then'](_0x453d5c,_0x78a8d3),_0x328256['then'](_0x5c880=>{'Valid'!=_0x5c880&&_0x453d5c(_0x5c880);},_0x78a8d3);}):_0x59365b||_0x328256||'Valid';}}function _0x1e8a4a(_0x2580de,_0x40427c){return new window['Promise'](_0x4146bf=>{if(_0x289555())return _0x4146bf('Valid');_0x2b8664(),_0x483f81['decorate']('_sendUsageRequest');let _0x45993e=!0x1;const _0x50d452=_0x44ce1f();function _0x49af65(_0x2a255c){return!!_0x2a255c&&('object'==typeof _0x2a255c||'function'==typeof _0x2a255c)&&'function'==typeof _0x2a255c['then']&&'function'==typeof _0x2a255c['catch'];}function _0x15ccfd(_0x2a2496){_0x27a129(_0x2a2496)['then'](_0x161ac5=>_0x161ac5&&'ok'==_0x161ac5['status']?_0x237cd6(_0x50ac54(_0x50d452+_0x40427c))!=_0x161ac5['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x2aeb0a=>(_0x3df491(),_0x2aeb0a),()=>{const _0x559858=_0xd31455();return null==_0x559858?(_0x3df491(),'Valid'):_0x3c6fc7-_0x559858>0x240c8400?'UsageLimit':'Valid';})['then'](_0x4146bf)['catch'](()=>{_0x4146bf('UsageLimit');});const _0x2e9e60=0x36ee80;function _0x3df491(){const _0x34f412='llct-'+_0x237cd6(_0x50ac54(_0x2580de)),_0x38a64a=_0x2fe83d(_0x237cd6(window['Math']['ceil'](_0x3c6fc7/_0x2e9e60)));window['localStorage']['setItem'](_0x34f412,_0x38a64a);}function _0xd31455(){const _0xda6a0b='llct-'+_0x237cd6(_0x50ac54(_0x2580de)),_0x1f32ca=window['localStorage']['getItem'](_0xda6a0b);return _0x1f32ca?window['parseInt'](_0x2fe83d(_0x1f32ca),0x10)*_0x2e9e60:null;}function _0x27a129(_0x1e0654){return new window['Promise']((_0x44e6c7,_0x40c22e)=>{_0x1e0654['then'](_0x44e6c7,_0x40c22e),window['setTimeout'](_0x40c22e,0x1d4c0);});}}_0x483f81['on']('_sendUsageRequest',(_0xb028fc,_0x1a547d)=>{if(_0x1a547d[0x0]!=_0x2580de)return _0x4146bf('UsageLimit');_0x1a547d[0x1]={..._0x1a547d[0x1],'requestId':_0x50d452};},{'priority':'high'}),_0x483f81['on']('_sendUsageRequest',_0x2acaca=>{_0x49af65(_0x2acaca['return'])&&(_0x45993e=!0x0,_0x15ccfd(_0x2acaca['return']));},{'priority':'low'}),_0xf0f972['then'](()=>{_0x45993e||_0x4146bf('UsageLimit');});});function _0x289555(){return'auto'==_0x483f81['editing']['view']['_overlayModeHint'];}function _0x2b8664(){_0x483f81['editing']['view']['_overlayModeHint']='auto';}}function _0x2264e4(_0x10931d){const _0x40966f=[new window['Promise'](_0x310a0f=>setTimeout(_0x310a0f,0x93ecc)),_0xf0f972['then'](()=>new window['Promise'](_0x50fc49=>{let _0x3e160c=0x0;_0x483f81['model']['on']('applyOperation',(_0x46018d,_0x3f4bb2)=>{_0x3f4bb2[0x0]['isDocumentOperation']&&_0x3e160c++,0x5e8==_0x3e160c&&(_0x50fc49(),_0x46018d['off']());});}))];return window['Promise']['race'](_0x40966f)['then'](()=>_0x10931d);}async function _0x18fe61(){await _0xf0f972,_0x483f81['model']['change']=_0xd704b,_0x483f81['model']['enqueueChange']=_0xd704b,_0x483f81['enableReadOnlyMode']('model');}function _0x5ccf88(_0x1ddd24){const _0x147e29=_0x1b5dd9();_0x483f81[_0x147e29]='lineHeightLicenseKey'+_0x1ddd24,'Valid'!=_0x1ddd24&&_0x18fe61();}function _0x1b5dd9(){const _0x284b2c=window['String'](window['performance']['now']())['replace']('.','');let _0x709985='c';for(let _0x2e6a0d=0x0;_0x2e6a0d<_0x284b2c['length'];_0x2e6a0d+=0x2){let _0x9be38d=window['parseInt'](_0x284b2c['substring'](_0x2e6a0d,_0x2e6a0d+0x2));_0x9be38d>=0x3e&&(_0x9be38d-=0x3e),_0x709985+=_0x5ee5c6[_0x9be38d];}return _0x709985;}function _0x1d4973(){const _0x56baae=_0xe068a9['split']('.');if(0x3!=_0x56baae['length'])return null;return _0x31e332(_0x56baae[0x1]);function _0x31e332(_0x33f2b6){const _0x3695d8=_0x157c95(_0x33f2b6);return _0x3695d8&&_0x384688()?_0x3695d8:null;function _0x384688(){const _0x8307e9=_0x3695d8['jti'],_0x3ec581=window['parseInt'](_0x8307e9['substring'](_0x8307e9['length']-0x8),0x10),_0x1e1945={..._0x3695d8,'jti':_0x8307e9['substring'](0x0,_0x8307e9['length']-0x8)};return delete _0x1e1945['vc'],_0x50ac54(_0x1e1945)==_0x3ec581;}}}async function _0x20c365(){let _0x42e5cc=!0x0;try{const [_0x50ce11,_0x2d9be4,_0x443c04]=_0xe068a9['split']('.');return _0x554468(_0x50ce11),await _0x8162a(_0x50ce11,_0x2d9be4,_0x443c04),_0x42e5cc;}catch{return!0x1;}function _0x554468(_0xfd3a98){const _0x5ed996=_0x157c95(_0xfd3a98);_0x5ed996&&'ES256'==_0x5ed996['alg']||(_0x42e5cc=!0x1);}async function _0x8162a(_0xdfaf8c,_0x1920d2,_0x5e73d3){const _0x11b6cf=window['Uint8Array']['from'](_0x36b2bd(_0x5e73d3),_0x5a20cb=>_0x5a20cb['charCodeAt'](0x0)),_0x2183aa=new window['TextEncoder']()['encode'](_0xdfaf8c+'.'+_0x1920d2),_0x2def74=window['crypto']['subtle'];if(!_0x2def74)return;const _0x54f99c=await _0x2def74['importKey']('jwk',_0x534771,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x2def74['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x54f99c,_0x11b6cf,_0x2183aa)||(_0x42e5cc=!0x1);}}function _0x157c95(_0x302450){return _0x302450['startsWith']('ey')?JSON['parse'](_0x36b2bd(_0x302450)):null;}function _0x36b2bd(_0x1acbe1){return window['atob'](_0x1acbe1['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x50ac54(_0x2e8a44){let _0x764eda=0x1505;function _0x2eb79a(_0x263646){for(let _0xe8bc8a=0x0;_0xe8bc8a<_0x263646['length'];_0xe8bc8a++){const _0x147b7b=_0x263646['charCodeAt'](_0xe8bc8a);_0x764eda=(_0x764eda<<0x5)+_0x764eda+_0x147b7b,_0x764eda&=_0x764eda;}}function _0x23810b(_0x3370bf){Array['isArray'](_0x3370bf)?_0x3370bf['forEach'](_0x23810b):_0x3370bf&&'object'==typeof _0x3370bf?Object['entries'](_0x3370bf)['sort']()['forEach'](([_0x35f71e,_0x4a9af0])=>{_0x2eb79a(_0x35f71e),_0x23810b(_0x4a9af0);}):_0x2eb79a(window['String'](_0x3370bf));}return _0x23810b(_0x2e8a44),_0x764eda>>>0x0;}function _0x237cd6(_0x1ce2a6){return _0x1ce2a6['toString'](0x10)['padStart'](0x8,'0');}function _0x2fe83d(_0x1da9c6){return _0x1da9c6['split']('')['reverse']()['join']('');}function _0xd704b(){}_0x5ccf88(await _0x4b9f5d());}_0x445f0d(_0x3c3dbf['editor']);}(this);}_validateConfig(){const _0x34a779=this['editor'];if(!_0x34a779['config']['get']('lineHeight.supportAllValues'))return;const _0x1d1e29=_0x34a779['config']['get']('lineHeight.options')['filter'](_0x1a68f6=>'string'==typeof _0x1a68f6&&(!H(_0x1a68f6)&&isNaN(Number(_0x1a68f6))));if(_0x1d1e29['length'])throw new _0xcd1a01('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x1d1e29});}_prepareAnyValueConverters(){const _0x41fb9f=this['editor'],_0x16d7bd=this['editor']['config']['get']('lineHeight.defaultValue');_0x41fb9f['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x43dafd=>String(_0x43dafd)===String(_0x16d7bd)?null:{'key':'style','value':{'line-height':_0x43dafd}}}),_0x41fb9f['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x3cf176=>{let _0x4fc22a=_0x3cf176['getStyle']('line-height');return _0x5954cf(_0x4fc22a)&&(_0x4fc22a=String(Number(_0x4fc22a['slice'](0x0,-0x1))/0x64)),String(_0x4fc22a)===String(_0x16d7bd)?null:_0x4fc22a;}},'view':{'styles':{'line-height':/.*/}}});}_preparePredefinedConverters(){const _0x75e281=this['editor'],_0x58cfca=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3e49f9=function(_0xa39369,_0x4414d8){const _0x2753d1={'model':{'key':_0xa39369,'values':[]},'view':{}};for(const _0xd58e4 of _0x4414d8)'class'===_0xd58e4['view']?.['key']?(_0x2753d1['model']['values']['push'](_0xd58e4['model']),_0x2753d1['view'][_0xd58e4['model']]={'key':'class','value':_0xd58e4['view']['value']}):(_0x2753d1['model']['values']['push'](_0xd58e4['model']),_0x2753d1['view'][_0xd58e4['model']]={'key':'style','value':'line-height:'+_0xd58e4['model']+';'});return _0x2753d1;}('lineHeight',L(this['editor']['config']['get']('lineHeight'))['filter'](_0x4fa70f=>_0x4fa70f['model']));_0x75e281['conversion']['attributeToAttribute'](_0x3e49f9),_0x75e281['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x1a69d8=>{let _0x18117a=_0x1a69d8['getStyle']('line-height');return _0x5954cf(_0x18117a)&&(_0x18117a=String(Number(_0x18117a['slice'](0x0,-0x1))/0x64)),_0x18117a===String(_0x58cfca)?null:_0x3e49f9['model']['values']['includes'](_0x18117a)?_0x18117a:null;}}});}},k=class extends _0x1a19ac{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x4cf3b6={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x4cf3b6),this['_registerMenuBarComponent'](_0x4cf3b6),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x2d8ae3=[this['editor']];for(const _0x24c269 of _0x2d8ae3){let _0x149678;for(const _0x279423 in _0x24c269){const _0x316663=_0x279423,_0x3aae69=_0x24c269[_0x316663];if('lineHeightLicenseKeyValid'==_0x3aae69||'lineHeightLicenseKeyInvalid'==_0x3aae69||'lineHeightLicenseKeyExpired'==_0x3aae69||'lineHeightLicenseKeyDomainLimit'==_0x3aae69||'lineHeightLicenseKeyNotAllowed'==_0x3aae69||'lineHeightLicenseKeyEvaluationLimit'==_0x3aae69||'lineHeightLicenseKeyUsageLimit'==_0x3aae69){delete _0x24c269[_0x316663],_0x149678=_0x3aae69,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x149678&&_0x24c269['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x149678&&_0x24c269['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x149678&&_0x24c269['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x149678&&_0x24c269['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x149678&&_0x24c269['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x149678&&_0x24c269['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}_shouldRenderCustomValueOption(){return this['editor']['config']['get']('lineHeight.supportAllValues');}_getLocalizedLineHeightOptions(){const _0x1b535c=this['editor'],t=_0x1b535c['t'],_0x56f9ee=_0x1b535c['config']['get']('lineHeight'),_0xc57e3f={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return L(_0x56f9ee)['map'](_0x5ca2e2=>{const _0x3cc265=_0xc57e3f[_0x5ca2e2['title']];return _0x3cc265&&_0x3cc265!=_0x5ca2e2['title']&&(_0x5ca2e2=Object['assign']({},_0x5ca2e2,{'title':_0x3cc265})),_0x5ca2e2;});}_prepareListOptions(){const _0x2c8cf8=this['editor']['commands']['get']('lineHeight'),_0x46d093=this['editor']['config']['get']('lineHeight.defaultValue'),_0xc75ebb=this['_getLocalizedLineHeightOptions'](),_0x4f44ab=new _0xfe766a(),_0x38f42e=_0x232ee3=>'default'===_0x232ee3||String(_0x46d093)===_0x232ee3;for(const _0x398acf of _0xc75ebb){const _0x260896={'type':'button','model':new _0x21f6ce({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x398acf['title'],'withText':!0x0})};_0x38f42e(_0x398acf['model'])?(_0x260896['model']['bind']('isOn')['to'](_0x2c8cf8,'value',_0x3fed46=>!_0x3fed46),_0x260896['model']['commandParam']=void 0x0):(_0x260896['model']['bind']('isOn')['to'](_0x2c8cf8,'value',_0x87116f=>_0x87116f===_0x398acf['model']),_0x260896['model']['commandParam']=_0x398acf['model']),_0x4f44ab['add'](_0x260896);}if(this['_shouldRenderCustomValueOption']()){const _0x4fdda2=this['_getCustomValueOptionDefinition'](_0xc75ebb);_0x4f44ab['add'](_0x4fdda2);}return _0x4f44ab;}_getCustomValueOptionDefinition(_0x4ff9c9){const _0x493f26=this['editor'],t=_0x493f26['t'],_0x3c80c7=_0x493f26['commands']['get']('lineHeight'),_0x32b336=_0x4ff9c9['map'](_0x1e444c=>_0x1e444c['model']),_0xbadd38={'type':'button','model':new _0x21f6ce({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0xbadd38['model']['bind']('commandParam')['to'](_0x3c80c7,'value'),_0xbadd38['model']['bind']('isOn')['to'](_0x3c80c7,'value',_0x407097=>!!_0x407097&&!_0x32b336['includes'](String(_0x407097))),_0xbadd38['model']['bind']('label')['to'](_0x3c80c7,'value',_0x22ddff=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x22ddff))),_0xbadd38;}_registerToolbarComponent({accessibleLabel:_0x4bf151,options:_0x1df885}){const _0x2d6975=this['editor'],_0x2b2069=_0x2d6975['commands']['get']('lineHeight');_0x2d6975['ui']['componentFactory']['add']('lineHeight',_0x249de5=>{const _0x3b4295=_0x2f0ba1(_0x249de5);return _0x13539f(_0x3b4295,_0x1df885,{'role':'menu','ariaLabel':_0x4bf151}),_0x3b4295['buttonView']['set']({'label':_0x4bf151,'tooltip':!0x0,'icon':_0x2d2e51}),_0x3b4295['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x3b4295['bind']('isEnabled')['to'](_0x2b2069),this['listenTo'](_0x3b4295,'execute',_0x4d8c94=>{_0x2d6975['execute'](_0x4d8c94['source']['commandName'],{'value':_0x4d8c94['source']['commandParam']}),_0x2d6975['editing']['view']['focus']();}),_0x3b4295['once']('change:isOpen',()=>{const _0x570ef6=_0x3b4295['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x3b4295,_0x1df885,_0x570ef6);}),_0x3b4295;});}_registerMenuBarComponent({accessibleLabel:_0x135021,options:_0x3c1d2e}){const _0x22ed88=this['editor'],_0x1582c5=_0x22ed88['commands']['get']('lineHeight');_0x22ed88['ui']['componentFactory']['add']('menuBar:lineHeight',_0xc520f1=>{const _0x313f8c=new _0x1edbca(_0xc520f1);_0x313f8c['buttonView']['set']({'label':_0x135021,'icon':_0x2d2e51}),_0x313f8c['bind']('isEnabled')['to'](_0x1582c5);const _0x39cbe9=new _0x2dcd19(_0xc520f1);for(const _0x23ab7b of _0x3c1d2e){const _0x5899e1=new _0xd6feca(_0xc520f1,_0x313f8c),_0xc585f3=new _0x132e96(_0xc520f1);_0xc585f3['set']({'role':'menuitemradio','isToggleable':!0x0}),_0xc585f3['bind'](...Object['keys'](_0x23ab7b['model']))['to'](_0x23ab7b['model']),_0xc585f3['delegate']('execute')['to'](_0x313f8c),_0xc585f3['on']('execute',()=>{_0x22ed88['execute'](_0x23ab7b['model']['commandName'],{'value':_0x23ab7b['model']['commandParam']}),_0x22ed88['editing']['view']['focus']();}),_0x5899e1['children']['add'](_0xc585f3),_0x39cbe9['items']['add'](_0x5899e1);}return _0x313f8c['panelView']['children']['add'](_0x39cbe9),this['_attachCustomOptionVisibilityHandler'](_0x313f8c,_0x3c1d2e,_0x39cbe9),_0x313f8c;});}_attachCustomOptionVisibilityHandler(_0x1fbce3,_0x1a8f5d,_0xb187a6){if(!this['_shouldRenderCustomValueOption']())return;const _0x28a434=()=>{if(!_0x1fbce3['isOpen'])return;_0xb187a6['items']['last']['isVisible']=Boolean(_0x1a8f5d['last']['model']['isOn']);};_0x28a434(),_0x1fbce3['on']('change:isOpen',()=>{_0x28a434();});}},_=class extends _0x1a19ac{static get requires(){return[b,k];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{_ as LineHeight,p as LineHeightCommand,b as LineHeightEditing,v as LineHeightTodoListIntegration,k as LineHeightUI};
@@ -1,31 +1,30 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module line-height/integrations/todolist
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import '../../theme/integrations/todolist.css';
6
+ * @module line-height/integrations/todolist
7
+ * @publicApi
8
+ */
9
+ import { Plugin } from "@ckeditor/ckeditor5-core";
11
10
  /**
12
- * The to-do list line height support plugin.
13
- */
11
+ * The to-do list line height support plugin.
12
+ */
14
13
  export declare class LineHeightTodoListIntegration extends Plugin {
15
- /**
16
- * @inheritDoc
17
- */
18
- static get pluginName(): "LineHeightTodoListIntegration";
19
- /**
20
- * @inheritDoc
21
- */
22
- static get isOfficialPlugin(): true;
23
- /**
24
- * @inheritDoc
25
- */
26
- static get isPremiumPlugin(): true;
27
- /**
28
- * @inheritDoc
29
- */
30
- init(): void;
14
+ /**
15
+ * @inheritDoc
16
+ */
17
+ static get pluginName(): "LineHeightTodoListIntegration";
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static override get isOfficialPlugin(): true;
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static override get isPremiumPlugin(): true;
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ init(): void;
31
30
  }
@@ -1,34 +1,34 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module line-height/lineheight
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import { LineHeightEditing } from './lineheightediting.js';
11
- import { LineHeightUI } from './lineheightui.js';
6
+ * @module line-height/lineheight
7
+ * @publicApi
8
+ */
9
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
10
+ import { LineHeightEditing } from "./lineheightediting.js";
11
+ import { LineHeightUI } from "./lineheightui.js";
12
12
  /**
13
- * The line height plugin.
14
- *
15
- * For a detailed overview, check the {@glink features/line-height Line height feature documentation}.
16
- */
13
+ * The line height plugin.
14
+ *
15
+ * For a detailed overview, check the {@glink features/line-height Line height feature documentation}.
16
+ */
17
17
  export declare class LineHeight extends Plugin {
18
- /**
19
- * @inheritDoc
20
- */
21
- static get requires(): readonly [typeof LineHeightEditing, typeof LineHeightUI];
22
- /**
23
- * @inheritDoc
24
- */
25
- static get pluginName(): "LineHeight";
26
- /**
27
- * @inheritDoc
28
- */
29
- static get isOfficialPlugin(): true;
30
- /**
31
- * @inheritDoc
32
- */
33
- static get isPremiumPlugin(): true;
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static get requires(): PluginDependenciesOf<[LineHeightEditing, LineHeightUI]>;
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get pluginName(): "LineHeight";
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static override get isOfficialPlugin(): true;
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ static override get isPremiumPlugin(): true;
34
34
  }
@@ -1,26 +1,26 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module line-height/lineheightcommand
7
- * @publicApi
8
- */
9
- import { Command } from '@ckeditor/ckeditor5-core';
6
+ * @module line-height/lineheightcommand
7
+ * @publicApi
8
+ */
9
+ import { Command } from "@ckeditor/ckeditor5-core";
10
10
  /**
11
- * The line height command. It applies the line height on block elements.
12
- */
11
+ * The line height command. It applies the line height on block elements.
12
+ */
13
13
  export declare class LineHeightCommand extends Command {
14
- /**
15
- * @inheritDoc
16
- */
17
- refresh(): void;
18
- /**
19
- * Executes the command.
20
- *
21
- * @param options.value The value to apply. When `undefined`, the command will remove the attribute.
22
- */
23
- execute(options?: {
24
- value?: string;
25
- }): void;
14
+ /**
15
+ * @inheritDoc
16
+ */
17
+ override refresh(): void;
18
+ /**
19
+ * Executes the command.
20
+ *
21
+ * @param options.value The value to apply. When `undefined`, the command will remove the attribute.
22
+ */
23
+ override execute(options?: {
24
+ value?: string;
25
+ }): void;
26
26
  }