@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250812.0 → 0.0.0-nightly-20250813.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/build/line-height.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +7 -7
  150. package/src/index.js +1 -1
  151. package/src/lineheight.js +1 -1
  152. package/src/lineheightcommand.js +1 -1
  153. package/src/lineheightediting.js +1 -1
  154. package/src/lineheightui.js +1 -1
  155. package/src/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18b4be=_0x54b8;(function(_0x51c5a9,_0x2f4630){const _0x37626f=_0x54b8,_0xf15ec1=_0x51c5a9();while(!![]){try{const _0x242857=parseInt(_0x37626f(0x137))/0x1+-parseInt(_0x37626f(0x13d))/0x2*(parseInt(_0x37626f(0x140))/0x3)+parseInt(_0x37626f(0x13a))/0x4+parseInt(_0x37626f(0x148))/0x5+parseInt(_0x37626f(0x13b))/0x6+parseInt(_0x37626f(0x142))/0x7+-parseInt(_0x37626f(0x13e))/0x8;if(_0x242857===_0x2f4630)break;else _0xf15ec1['push'](_0xf15ec1['shift']());}catch(_0x41d706){_0xf15ec1['push'](_0xf15ec1['shift']());}}}(_0x50f1,0xa6a92));import{Command as _0x24fff4}from'ckeditor5/src/core.js';function _0x54b8(_0x2bc94a,_0x3d3db1){const _0x50f11e=_0x50f1();return _0x54b8=function(_0x54b81a,_0x207ac6){_0x54b81a=_0x54b81a-0x131;let _0x214198=_0x50f11e[_0x54b81a];return _0x214198;},_0x54b8(_0x2bc94a,_0x3d3db1);}function _0x50f1(){const _0x540111=['2516544eDsskh','setAttribute','50818cwZdBq','15949136jHQUDN','change','27erhJVH','checkAttribute','5863802mKzsRO','lineHeight','model','getAttribute','_canHaveLineHeight','execute','5277620xYlyYB','filter','editor','getSelectedBlocks','from','document','selection','refresh','isEnabled','schema','182180BLnrNU','removeAttribute','value','1640604gLiHcY'];_0x50f1=function(){return _0x540111;};return _0x50f1();}import{first as _0x3428e4}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x24fff4{[_0x18b4be(0x134)](){const _0x1df6a9=_0x18b4be,_0x439a09=this[_0x1df6a9(0x14a)][_0x1df6a9(0x144)][_0x1df6a9(0x132)],_0x39919a=_0x3428e4(_0x439a09[_0x1df6a9(0x133)][_0x1df6a9(0x14b)]());this[_0x1df6a9(0x135)]=Boolean(_0x39919a)&&this[_0x1df6a9(0x146)](_0x39919a),this[_0x1df6a9(0x139)]=this[_0x1df6a9(0x135)]&&_0x39919a[_0x1df6a9(0x145)](_0x1df6a9(0x143));}[_0x18b4be(0x147)](_0x386335={}){const _0x4554d4=_0x18b4be,_0x7caf26=this[_0x4554d4(0x14a)][_0x4554d4(0x144)],_0x19c675=_0x7caf26[_0x4554d4(0x132)][_0x4554d4(0x133)],_0x54d6fc=_0x386335[_0x4554d4(0x139)];_0x7caf26[_0x4554d4(0x13f)](_0x330900=>{const _0x574f6e=_0x4554d4,_0x370e8c=Array[_0x574f6e(0x131)](_0x19c675[_0x574f6e(0x14b)]())[_0x574f6e(0x149)](_0x427f2e=>this[_0x574f6e(0x146)](_0x427f2e));for(const _0x1a0da3 of _0x370e8c)_0x54d6fc?_0x330900[_0x574f6e(0x13c)](_0x574f6e(0x143),_0x54d6fc,_0x1a0da3):_0x330900[_0x574f6e(0x138)](_0x574f6e(0x143),_0x1a0da3);});}[_0x18b4be(0x146)](_0x37fc53){const _0x4baa91=_0x18b4be;return this[_0x4baa91(0x14a)][_0x4baa91(0x144)][_0x4baa91(0x136)][_0x4baa91(0x141)](_0x37fc53,_0x4baa91(0x143));}}
23
+ const _0x27902c=_0x2593;(function(_0x2e7cc0,_0x1e2337){const _0x319bea=_0x2593,_0x3dbad1=_0x2e7cc0();while(!![]){try{const _0x4ddee9=parseInt(_0x319bea(0xd8))/0x1+-parseInt(_0x319bea(0xcd))/0x2+parseInt(_0x319bea(0xc4))/0x3+-parseInt(_0x319bea(0xd7))/0x4*(-parseInt(_0x319bea(0xc7))/0x5)+parseInt(_0x319bea(0xd5))/0x6*(parseInt(_0x319bea(0xbf))/0x7)+-parseInt(_0x319bea(0xd9))/0x8+-parseInt(_0x319bea(0xc0))/0x9*(parseInt(_0x319bea(0xc3))/0xa);if(_0x4ddee9===_0x1e2337)break;else _0x3dbad1['push'](_0x3dbad1['shift']());}catch(_0x354e43){_0x3dbad1['push'](_0x3dbad1['shift']());}}}(_0x1b0a,0x9fccf));import{Command as _0x8b6ac7}from'ckeditor5/src/core.js';function _0x1b0a(){const _0x2f9b92=['70710vPIspQ','1705443yBxeOb','getAttribute','isEnabled','5DyhNaY','getSelectedBlocks','from','refresh','execute','value','1217950tmQzfa','filter','_canHaveLineHeight','schema','removeAttribute','checkAttribute','setAttribute','lineHeight','2358942zEKOvy','model','4609268kMQyQS','27634ELUWFT','8506800WOhMQb','editor','selection','21dmsCPt','765UcpKlL','document','change'];_0x1b0a=function(){return _0x2f9b92;};return _0x1b0a();}import{first as _0x461640}from'ckeditor5/src/utils.js';function _0x2593(_0x3ef3e9,_0x144ae4){const _0x1b0a7c=_0x1b0a();return _0x2593=function(_0x259351,_0x4cbf9a){_0x259351=_0x259351-0xbe;let _0x526aae=_0x1b0a7c[_0x259351];return _0x526aae;},_0x2593(_0x3ef3e9,_0x144ae4);}export class LineHeightCommand extends _0x8b6ac7{[_0x27902c(0xca)](){const _0x223263=_0x27902c,_0xa08535=this[_0x223263(0xda)][_0x223263(0xd6)][_0x223263(0xc1)],_0x24f91b=_0x461640(_0xa08535[_0x223263(0xbe)][_0x223263(0xc8)]());this[_0x223263(0xc6)]=Boolean(_0x24f91b)&&this[_0x223263(0xcf)](_0x24f91b),this[_0x223263(0xcc)]=this[_0x223263(0xc6)]&&_0x24f91b[_0x223263(0xc5)](_0x223263(0xd4));}[_0x27902c(0xcb)](_0x34cd7a={}){const _0x9ab4e0=_0x27902c,_0x196156=this[_0x9ab4e0(0xda)][_0x9ab4e0(0xd6)],_0x5b4022=_0x196156[_0x9ab4e0(0xc1)][_0x9ab4e0(0xbe)],_0x38af1f=_0x34cd7a[_0x9ab4e0(0xcc)];_0x196156[_0x9ab4e0(0xc2)](_0x342e64=>{const _0x282af2=_0x9ab4e0,_0x3fcc9a=Array[_0x282af2(0xc9)](_0x5b4022[_0x282af2(0xc8)]())[_0x282af2(0xce)](_0x19c7c5=>this[_0x282af2(0xcf)](_0x19c7c5));for(const _0x339e7b of _0x3fcc9a)_0x38af1f?_0x342e64[_0x282af2(0xd3)](_0x282af2(0xd4),_0x38af1f,_0x339e7b):_0x342e64[_0x282af2(0xd1)](_0x282af2(0xd4),_0x339e7b);});}[_0x27902c(0xcf)](_0x7f88af){const _0x297a03=_0x27902c;return this[_0x297a03(0xda)][_0x297a03(0xd6)][_0x297a03(0xd0)][_0x297a03(0xd2)](_0x7f88af,_0x297a03(0xd4));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59bd83=_0x1424;(function(_0x5396f1,_0x4375fd){const _0x574704=_0x1424,_0xc1f374=_0x5396f1();while(!![]){try{const _0x259c3b=parseInt(_0x574704(0xcc))/0x1+-parseInt(_0x574704(0xb3))/0x2*(parseInt(_0x574704(0xc2))/0x3)+parseInt(_0x574704(0xbd))/0x4+-parseInt(_0x574704(0xd1))/0x5+-parseInt(_0x574704(0xd5))/0x6*(-parseInt(_0x574704(0xdb))/0x7)+parseInt(_0x574704(0xab))/0x8+-parseInt(_0x574704(0xd6))/0x9;if(_0x259c3b===_0x4375fd)break;else _0xc1f374['push'](_0xc1f374['shift']());}catch(_0x547465){_0xc1f374['push'](_0xc1f374['shift']());}}}(_0x2fea,0xb2b9f));import{Plugin as _0x5b0fb4}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x3f7304}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x342259}from'ckeditor5/src/engine.js';function _0x1424(_0x3bc05f,_0x4bcd3e){const _0x2fea4c=_0x2fea();return _0x1424=function(_0x1424c7,_0x455975){_0x1424c7=_0x1424c7-0xa7;let _0x799ce2=_0x2fea4c[_0x1424c7];return _0x799ce2;},_0x1424(_0x3bc05f,_0x4bcd3e);}import{uid as _0x4ad321,CKEditorError as _0x48d600}from'ckeditor5/src/utils.js';function _0x2fea(){const _0x5622c2=['get','href','line-height-invalid-use-of-named-presets','downcast','extend','getStyle','values','model','1624612aqYoPM','for','_validateConfig','slice','config','6ZwWWrO','length','fromCharCode','$block','setAttributeProperties','line-height','lineHeight.options','LineHeightEditing','lineHeight.supportAllValues','string','49924MqLMWo','includes','afterInit','lineHeight.defaultValue','_preparePredefinedConverters','685225YHRpLH','upcast','init','conversion','7038bMBNRo','7059735gCgbRJ','default','attributeToAttribute','map','pluginName','4445HERBGH','editor','isPremiumPlugin','style','lineHeight','8755032MjVGVP','isOfficialPlugin','define','_prepareAnyValueConverters','commands','filter','schema','join','641788EQEZFP','add'];_0x2fea=function(){return _0x5622c2;};return _0x2fea();}import{buildDefinition as _0x440a0c,isLineHeightDefaultValue as _0x330487,normalizeOptions as _0x1c6b4a}from'./utils.js';export class LineHeightEditing extends _0x5b0fb4{static get[_0x59bd83(0xda)](){const _0x3118ed=_0x59bd83;return _0x3118ed(0xc9);}static get[_0x59bd83(0xac)](){return!0x0;}static get[_0x59bd83(0xa8)](){return!0x0;}constructor(_0xe39c33){const _0x38b8a1=_0x59bd83;super(_0xe39c33),_0xe39c33[_0x38b8a1(0xc1)][_0x38b8a1(0xad)](_0x38b8a1(0xaa),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x38b8a1(0xd7),0x2,2.5,0x3]});}[_0x59bd83(0xd3)](){const _0x2ec595=_0x59bd83,_0x4efff1=this[_0x2ec595(0xa7)];this[_0x2ec595(0xbf)](),_0x4efff1[_0x2ec595(0xbc)][_0x2ec595(0xb1)][_0x2ec595(0xb9)](_0x2ec595(0xc5),{'allowAttributes':_0x2ec595(0xaa)}),_0x4efff1[_0x2ec595(0xbc)][_0x2ec595(0xb1)][_0x2ec595(0xc6)](_0x2ec595(0xaa),{'isFormatting':!0x0}),_0x4efff1[_0x2ec595(0xaf)][_0x2ec595(0xb4)](_0x2ec595(0xaa),new _0x3f7304(_0x4efff1)),this[_0x2ec595(0xa7)][_0x2ec595(0xc1)][_0x2ec595(0xb5)](_0x2ec595(0xca))?this[_0x2ec595(0xae)]():this[_0x2ec595(0xd0)]();}[_0x59bd83(0xce)](){!async function(_0x1adb15){const _0x3ba962=_0x36818f([0x70,0x4c,0x6b,0x49,0x44,0x66,0x41,0x45,0x6c,0x52,0x72,0x62,0x58,0x4a,0x73,0x47,0x6a,0x36,0x59,0x32,0x79,0x4d,0x4f,0x7a,0x6e,0x64,0x5a,0x77,0x46,0x67,0x71,0x56,0x42,0x31,0x57,0x50,0x30,0x68,0x65,0x48,0x38,0x34,0x74,0x6f,0x69,0x4b,0x39,0x75,0x6d,0x37,0x76,0x61,0x55,0x4e,0x33,0x43,0x54,0x35,0x53,0x51,0x78,0x63]),_0x163eb8=0x238008f9,_0x2b53ef=0x238778b9^_0x163eb8,_0x488ea1=window[_0x36818f([0x44,0x61,0x74,0x65])][_0x36818f([0x6e,0x6f,0x77])](),_0x501923=_0x1adb15[_0x36818f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x242405=new window[(_0x36818f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a231e=>{_0x501923[_0x36818f([0x6f,0x6e,0x63,0x65])](_0x36818f([0x72,0x65,0x61,0x64,0x79]),_0x1a231e);}),_0x51acbd={[_0x36818f([0x6b,0x74,0x79])]:_0x36818f([0x45,0x43]),[_0x36818f([0x75,0x73,0x65])]:_0x36818f([0x73,0x69,0x67]),[_0x36818f([0x63,0x72,0x76])]:_0x36818f([0x50,0x2d,0x32,0x35,0x36]),[_0x36818f([0x78])]:_0x36818f([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]),[_0x36818f([0x79])]:_0x36818f([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]),[_0x36818f([0x61,0x6c,0x67])]:_0x36818f([0x45,0x53,0x32,0x35,0x36])},_0x55bd4c=_0x501923[_0x36818f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x36818f([0x67,0x65,0x74])](_0x36818f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4c50f9(){let _0x398e7d,_0x32186d=null,_0x2a9577=null;try{if(_0x55bd4c==_0x36818f([0x47,0x50,0x4c]))return _0x36818f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x398e7d=_0x5a5cc8(),!_0x398e7d)return _0x36818f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x398e7d[_0x36818f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2a9577=_0x2ee87c(_0x398e7d[_0x36818f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x398e7d[_0x36818f([0x6a,0x74,0x69])])),await _0x2afafe()?_0xb7aa21()?_0x4cd602()?_0x36818f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1d0a36()?(_0x398e7d[_0x36818f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36818f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x32186d=_0x33b864(_0x36818f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x398e7d[_0x36818f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36818f([0x74,0x72,0x69,0x61,0x6c])&&(_0x32186d=_0x33b864(_0x36818f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x225ae8()):_0x36818f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x36818f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x36818f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x36818f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4cd602(){const _0x19949f=[_0x36818f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x36818f([0x74,0x72,0x69,0x61,0x6c])][_0x36818f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x398e7d[_0x36818f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x488ea1/0x3e8:0xe10*_0x2b53ef;return _0x398e7d[_0x36818f([0x65,0x78,0x70])]<_0x19949f;}function _0xb7aa21(){const _0x506a5b=_0x398e7d[_0x36818f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x506a5b&&(!!_0x506a5b[_0x36818f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36818f([0x2a]))||!!_0x506a5b[_0x36818f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36818f([0x4c,0x48])));}function _0x1d0a36(){const _0x3803e6=_0x1424,_0x5286ce=_0x398e7d[_0x36818f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5286ce||0x0==_0x5286ce[_0x36818f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2e6054}=new URL(window[_0x36818f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3803e6(0xb6)]);if(_0x5286ce[_0x36818f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e6054))return!0x0;const _0x1029b4=_0x2e6054[_0x36818f([0x73,0x70,0x6c,0x69,0x74])](_0x36818f([0x2e]));return _0x5286ce[_0x36818f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43f530=>_0x43f530[_0x36818f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36818f([0x2a])))[_0x36818f([0x6d,0x61,0x70])](_0x1e7366=>_0x1e7366[_0x36818f([0x73,0x70,0x6c,0x69,0x74])](_0x36818f([0x2e])))[_0x36818f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49432d=>_0x49432d[_0x36818f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1029b4[_0x36818f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36818f([0x6d,0x61,0x70])](_0x17898d=>Array(_0x1029b4[_0x36818f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x17898d[_0x36818f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36818f([0x66,0x69,0x6c,0x6c])](_0x17898d[0x0]===_0x36818f([0x2a])?_0x36818f([0x2a]):'')[_0x36818f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x17898d))[_0x36818f([0x73,0x6f,0x6d,0x65])](_0xb8362f=>_0x1029b4[_0x36818f([0x65,0x76,0x65,0x72,0x79])]((_0x130286,_0x35c7fe)=>_0xb8362f[_0x35c7fe]===_0x130286||_0xb8362f[_0x35c7fe]===_0x36818f([0x2a])));}function _0x225ae8(){return _0x32186d&&_0x2a9577?new window[(_0x36818f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a28ea,_0x3a81cc)=>{_0x32186d[_0x36818f([0x74,0x68,0x65,0x6e])](_0x4a28ea,_0x3a81cc),_0x2a9577[_0x36818f([0x74,0x68,0x65,0x6e])](_0x244afc=>{_0x244afc!=_0x36818f([0x56,0x61,0x6c,0x69,0x64])&&_0x4a28ea(_0x244afc);},_0x3a81cc);}):_0x32186d||_0x2a9577||_0x36818f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2ee87c(_0x29f599,_0xbb8ca4){return new window[(_0x36818f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x137c0d=>{if(_0x4bfd79())return _0x137c0d(_0x36818f([0x56,0x61,0x6c,0x69,0x64]));_0x36dd67(),_0x501923[_0x36818f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x36818f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c0b3c=!0x1;const _0x415794=_0x4ad321();function _0x449201(_0x35ec21){return!!_0x35ec21&&(typeof _0x35ec21===_0x36818f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x35ec21===_0x36818f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x35ec21[_0x36818f([0x74,0x68,0x65,0x6e])]===_0x36818f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x35ec21[_0x36818f([0x63,0x61,0x74,0x63,0x68])]===_0x36818f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2f97ce(_0x5650a9){_0x1a782d(_0x5650a9)[_0x36818f([0x74,0x68,0x65,0x6e])](_0x22287e=>{if(!_0x22287e||_0x22287e[_0x36818f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x36818f([0x6f,0x6b]))return _0x36818f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x385318(_0x2f9453(_0x415794+_0xbb8ca4))!=_0x22287e[_0x36818f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x36818f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x36818f([0x56,0x61,0x6c,0x69,0x64]);})[_0x36818f([0x74,0x68,0x65,0x6e])](_0x47d103=>(_0x4163cc(),_0x47d103),()=>{const _0x3db308=_0xb7ec3d();return null==_0x3db308?(_0x4163cc(),_0x36818f([0x56,0x61,0x6c,0x69,0x64])):_0x36818f(_0x488ea1-_0x3db308>(0x78c8cf9^_0x163eb8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x36818f([0x74,0x68,0x65,0x6e])](_0x137c0d)[_0x36818f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x137c0d(_0x36818f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x239d8b=0x23b6e679^_0x163eb8;function _0x4163cc(){const _0x533304=_0x36818f([0x6c,0x6c,0x63,0x74,0x2d])+_0x385318(_0x2f9453(_0x29f599)),_0x49f4b=_0x22f91c(_0x385318(window[_0x36818f([0x4d,0x61,0x74,0x68])][_0x36818f([0x63,0x65,0x69,0x6c])](_0x488ea1/_0x239d8b)));window[_0x36818f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36818f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x533304,_0x49f4b);}function _0xb7ec3d(){const _0x5ed24a=_0x36818f([0x6c,0x6c,0x63,0x74,0x2d])+_0x385318(_0x2f9453(_0x29f599)),_0x63751f=window[_0x36818f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36818f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ed24a);return _0x63751f?window[_0x36818f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22f91c(_0x63751f),0x10)*_0x239d8b:null;}function _0x1a782d(_0x1cd92d){return new window[(_0x36818f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29339d,_0x2e9068)=>{_0x1cd92d[_0x36818f([0x74,0x68,0x65,0x6e])](_0x29339d,_0x2e9068),window[_0x36818f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2e9068,0x2381dc39^_0x163eb8);});}}_0x501923[_0x36818f([0x6f,0x6e])](_0x36818f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xef183a,_0x950a7b)=>{if(_0x950a7b[0x0]!=_0x29f599)return _0x137c0d(_0x36818f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x950a7b[0x1]={..._0x950a7b[0x1],[_0x36818f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x415794};},{[_0x36818f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36818f([0x68,0x69,0x67,0x68])}),_0x501923[_0x36818f([0x6f,0x6e])](_0x36818f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2817d1=>{_0x449201(_0x2817d1[_0x36818f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c0b3c=!0x0,_0x2f97ce(_0x2817d1[_0x36818f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x36818f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36818f([0x6c,0x6f,0x77])}),_0x242405[_0x36818f([0x74,0x68,0x65,0x6e])](()=>{_0x4c0b3c||_0x137c0d(_0x36818f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4bfd79(){return _0x501923[_0x36818f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36818f([0x76,0x69,0x65,0x77])][_0x36818f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x36818f([0x61,0x75,0x74,0x6f]);}function _0x36dd67(){_0x501923[_0x36818f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36818f([0x76,0x69,0x65,0x77])][_0x36818f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x36818f([0x61,0x75,0x74,0x6f]);}}function _0x33b864(_0x5053ee){const _0x32e61d=[new window[(_0x36818f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bc29a=>setTimeout(_0x3bc29a,0x23893635^_0x163eb8)),_0x242405[_0x36818f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x36818f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d0b9a=>{let _0x3f964a=0x0;_0x501923[_0x36818f([0x6d,0x6f,0x64,0x65,0x6c])][_0x36818f([0x6f,0x6e])](_0x36818f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x12fd97,_0x7805ab)=>{_0x7805ab[0x0][_0x36818f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3f964a++,_0x3f964a==(0x23800901^_0x163eb8)&&(_0x5d0b9a(),_0x12fd97[_0x36818f([0x6f,0x66,0x66])]());});}))];return window[_0x36818f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x36818f([0x72,0x61,0x63,0x65])](_0x32e61d)[_0x36818f([0x74,0x68,0x65,0x6e])](()=>_0x5053ee);}async function _0x1c9f13(){await _0x242405,_0x501923[_0x36818f([0x6d,0x6f,0x64,0x65,0x6c])][_0x36818f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2741bb,_0x501923[_0x36818f([0x6d,0x6f,0x64,0x65,0x6c])][_0x36818f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2741bb,_0x501923[_0x36818f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x36818f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2311a1(_0x474b1a){const _0x39164f=_0x540b33();_0x501923[_0x39164f]=_0x36818f([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x474b1a,_0x474b1a!=_0x36818f([0x56,0x61,0x6c,0x69,0x64])&&_0x1c9f13();}function _0x540b33(){const _0x234507=window[_0x36818f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x36818f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x36818f([0x6e,0x6f,0x77])]())[_0x36818f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x36818f([0x2e]),'');let _0x37c52d=_0x36818f([0x70]);for(let _0x4e1977=0x0;_0x4e1977<_0x234507[_0x36818f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e1977+=0x2){let _0xa0d99a=window[_0x36818f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x234507[_0x36818f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e1977,_0x4e1977+0x2));_0xa0d99a>=_0x3ba962[_0x36818f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa0d99a-=_0x3ba962[_0x36818f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x37c52d+=_0x3ba962[_0xa0d99a];}return _0x37c52d;}function _0x5a5cc8(){const _0x14a1f9=_0x55bd4c[_0x36818f([0x73,0x70,0x6c,0x69,0x74])](_0x36818f([0x2e]));if(0x3!=_0x14a1f9[_0x36818f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd19f78(_0x14a1f9[0x1]);function _0xd19f78(_0x20f5cf){const _0x2a7131=_0x2578d6(_0x20f5cf);return _0x2a7131&&_0xe20d16()?_0x2a7131:null;function _0xe20d16(){const _0x298682=_0x2a7131[_0x36818f([0x6a,0x74,0x69])],_0x3f58d0=window[_0x36818f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x298682[_0x36818f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x298682[_0x36818f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x41698a={..._0x2a7131,[_0x36818f([0x6a,0x74,0x69])]:_0x298682[_0x36818f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x298682[_0x36818f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x41698a[_0x36818f([0x76,0x63])],_0x2f9453(_0x41698a)==_0x3f58d0;}}}async function _0x2afafe(){let _0x3ee0da=!0x0;try{const _0x566ebd=_0x55bd4c[_0x36818f([0x73,0x70,0x6c,0x69,0x74])](_0x36818f([0x2e])),[_0x580e46,_0x359088,_0x2d1675]=_0x566ebd;return _0x2a1167(_0x580e46),await _0x29bd73(_0x580e46,_0x359088,_0x2d1675),_0x3ee0da;}catch{return!0x1;}function _0x2a1167(_0x137c5f){const _0x3f05af=_0x2578d6(_0x137c5f);_0x3f05af&&_0x3f05af[_0x36818f([0x61,0x6c,0x67])]==_0x36818f([0x45,0x53,0x32,0x35,0x36])||(_0x3ee0da=!0x1);}async function _0x29bd73(_0x416d59,_0x4c9c50,_0x102c94){const _0x1fa229=window[_0x36818f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x36818f([0x66,0x72,0x6f,0x6d])](_0x55765b(_0x102c94),_0x54957e=>_0x54957e[_0x36818f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x197aa1=new window[(_0x36818f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x36818f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x416d59+_0x36818f([0x2e])+_0x4c9c50),_0x41f8ed=window[_0x36818f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x36818f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x41f8ed)return;const _0x336a46=await _0x41f8ed[_0x36818f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x36818f([0x6a,0x77,0x6b]),_0x51acbd,{[_0x36818f([0x6e,0x61,0x6d,0x65])]:_0x36818f([0x45,0x43,0x44,0x53,0x41]),[_0x36818f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x36818f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x36818f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x41f8ed[_0x36818f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x36818f([0x6e,0x61,0x6d,0x65])]:_0x36818f([0x45,0x43,0x44,0x53,0x41]),[_0x36818f([0x68,0x61,0x73,0x68])]:{[_0x36818f([0x6e,0x61,0x6d,0x65])]:_0x36818f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x336a46,_0x1fa229,_0x197aa1)||(_0x3ee0da=!0x1);}}function _0x2578d6(_0x505965){return _0x505965[_0x36818f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x36818f([0x65,0x79]))?JSON[_0x36818f([0x70,0x61,0x72,0x73,0x65])](_0x55765b(_0x505965)):null;}function _0x55765b(_0x68a00c){return window[_0x36818f([0x61,0x74,0x6f,0x62])](_0x68a00c[_0x36818f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x36818f([0x2b]))[_0x36818f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x36818f([0x2f])));}function _0x2f9453(_0x18c448){let _0x1644ea=0x1505;function _0x377a89(_0x30f026){for(let _0xe19db3=0x0;_0xe19db3<_0x30f026[_0x36818f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe19db3++){const _0x1f1d7f=_0x30f026[_0x36818f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xe19db3);_0x1644ea=(_0x1644ea<<0x5)+_0x1644ea+_0x1f1d7f,_0x1644ea&=_0x1644ea;}}function _0x694ca6(_0x32195e){Array[_0x36818f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x32195e)?_0x32195e[_0x36818f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x694ca6):_0x32195e&&typeof _0x32195e==_0x36818f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x36818f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x32195e)[_0x36818f([0x73,0x6f,0x72,0x74])]()[_0x36818f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x28c329,_0x414c90])=>{_0x377a89(_0x28c329),_0x694ca6(_0x414c90);}):_0x377a89(window[_0x36818f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x32195e));}return _0x694ca6(_0x18c448),_0x1644ea>>>0x0;}function _0x385318(_0xc59a0d){return _0xc59a0d[_0x36818f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x36818f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x36818f([0x30]));}function _0x22f91c(_0x5bf809){return _0x5bf809[_0x36818f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x36818f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x36818f([0x6a,0x6f,0x69,0x6e])]('');}function _0x2741bb(){}function _0x36818f(_0x661f26){const _0x5ba4a8=_0x1424;return _0x661f26[_0x5ba4a8(0xd9)](_0x14c59a=>String[_0x5ba4a8(0xc4)](_0x14c59a))[_0x5ba4a8(0xb2)]('');}_0x2311a1(await _0x4c50f9());}(this);}[_0x59bd83(0xbf)](){const _0x33e341=_0x59bd83,_0x2071b4=this[_0x33e341(0xa7)];if(!_0x2071b4[_0x33e341(0xc1)][_0x33e341(0xb5)](_0x33e341(0xca)))return;const _0x26eb93=_0x2071b4[_0x33e341(0xc1)][_0x33e341(0xb5)](_0x33e341(0xc8))[_0x33e341(0xb0)](_0x23b8cf=>_0x33e341(0xcb)==typeof _0x23b8cf&&(!_0x330487(_0x23b8cf)&&isNaN(Number(_0x23b8cf))));if(_0x26eb93[_0x33e341(0xc3)])throw new _0x48d600(_0x33e341(0xb7),null,{'namedPresets':_0x26eb93});}[_0x59bd83(0xae)](){const _0x328c85=_0x59bd83,_0x399672=this[_0x328c85(0xa7)],_0x5cc075=this[_0x328c85(0xa7)][_0x328c85(0xc1)][_0x328c85(0xb5)](_0x328c85(0xcf));_0x399672[_0x328c85(0xd4)][_0x328c85(0xbe)](_0x328c85(0xb8))[_0x328c85(0xd8)]({'model':{'key':_0x328c85(0xaa)},'view':_0x1a61d9=>String(_0x1a61d9)===String(_0x5cc075)?null:{'key':_0x328c85(0xa9),'value':{'line-height':_0x1a61d9}}}),_0x399672[_0x328c85(0xd4)][_0x328c85(0xbe)](_0x328c85(0xd2))[_0x328c85(0xd8)]({'model':{'key':_0x328c85(0xaa),'value':_0x95625d=>{const _0x9fa8ad=_0x328c85;let _0x19a7af=_0x95625d[_0x9fa8ad(0xba)](_0x9fa8ad(0xc7));return _0x342259(_0x19a7af)&&(_0x19a7af=String(Number(_0x19a7af[_0x9fa8ad(0xc0)](0x0,-0x1))/0x64)),String(_0x19a7af)===String(_0x5cc075)?null:_0x19a7af;}},'view':{'styles':{'line-height':/.*/}}});}[_0x59bd83(0xd0)](){const _0x9f52e0=_0x59bd83,_0x4c5189=this[_0x9f52e0(0xa7)],_0x2ca15c=this[_0x9f52e0(0xa7)][_0x9f52e0(0xc1)][_0x9f52e0(0xb5)](_0x9f52e0(0xcf)),_0x2d557b=_0x1c6b4a(this[_0x9f52e0(0xa7)][_0x9f52e0(0xc1)][_0x9f52e0(0xb5)](_0x9f52e0(0xaa)))[_0x9f52e0(0xb0)](_0x299d6f=>_0x299d6f[_0x9f52e0(0xbc)]),_0x53b90a=_0x440a0c(_0x9f52e0(0xaa),_0x2d557b);_0x4c5189[_0x9f52e0(0xd4)][_0x9f52e0(0xd8)](_0x53b90a),_0x4c5189[_0x9f52e0(0xd4)][_0x9f52e0(0xbe)](_0x9f52e0(0xd2))[_0x9f52e0(0xd8)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x9f52e0(0xaa),'value':_0x210c61=>{const _0x433519=_0x9f52e0;let _0x54c945=_0x210c61[_0x433519(0xba)](_0x433519(0xc7));return _0x342259(_0x54c945)&&(_0x54c945=String(Number(_0x54c945[_0x433519(0xc0)](0x0,-0x1))/0x64)),_0x54c945===String(_0x2ca15c)?null:_0x53b90a[_0x433519(0xbc)][_0x433519(0xbb)][_0x433519(0xcd)](_0x54c945)?_0x54c945:null;}}});}}
23
+ const _0x657bee=_0x234d;function _0x29d9(){const _0x4d5f0f=['upcast','config','4173880mkhlqX','join','add','_preparePredefinedConverters','lineHeight.defaultValue','line-height','extend','values','schema','192frnHdl','style','225CXPYrt','default','3075426QbhVCk','setAttributeProperties','init','isPremiumPlugin','getStyle','7015014rqQhIZ','slice','lineHeight','string','_validateConfig','63735MOAmrq','commands','includes','conversion','downcast','filter','attributeToAttribute','define','LineHeightEditing','for','fromCharCode','_prepareAnyValueConverters','get','editor','1226701qooXqX','length','$block','lineHeight.supportAllValues','259327xpgSbV','model','afterInit','map','2372taOPah','pluginName','lineHeight.options','isOfficialPlugin','line-height-invalid-use-of-named-presets','href'];_0x29d9=function(){return _0x4d5f0f;};return _0x29d9();}(function(_0x2122fc,_0x59ba52){const _0x2bd654=_0x234d,_0x3d9fb2=_0x2122fc();while(!![]){try{const _0x281b0d=parseInt(_0x2bd654(0xc4))/0x1+-parseInt(_0x2bd654(0xc8))/0x2*(-parseInt(_0x2bd654(0xa6))/0x3)+parseInt(_0x2bd654(0xa4))/0x4*(-parseInt(_0x2bd654(0xb2))/0x5)+parseInt(_0x2bd654(0xa8))/0x6+-parseInt(_0x2bd654(0xc0))/0x7+-parseInt(_0x2bd654(0x9b))/0x8+parseInt(_0x2bd654(0xad))/0x9;if(_0x281b0d===_0x59ba52)break;else _0x3d9fb2['push'](_0x3d9fb2['shift']());}catch(_0x573e8e){_0x3d9fb2['push'](_0x3d9fb2['shift']());}}}(_0x29d9,0x50ec4));function _0x234d(_0x27dfb9,_0x32f21f){const _0x29d9e2=_0x29d9();return _0x234d=function(_0x234d08,_0x4d192f){_0x234d08=_0x234d08-0x94;let _0x343fbe=_0x29d9e2[_0x234d08];return _0x343fbe;},_0x234d(_0x27dfb9,_0x32f21f);}import{Plugin as _0x60a48c}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x272398}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x56335e}from'ckeditor5/src/engine.js';import{uid as _0x316ab5,CKEditorError as _0x8164e6}from'ckeditor5/src/utils.js';import{buildDefinition as _0x459886,isLineHeightDefaultValue as _0x3acac4,normalizeOptions as _0x6fdac8}from'./utils.js';export class LineHeightEditing extends _0x60a48c{static get[_0x657bee(0x94)](){const _0x51b3ca=_0x657bee;return _0x51b3ca(0xba);}static get[_0x657bee(0x96)](){return!0x0;}static get[_0x657bee(0xab)](){return!0x0;}constructor(_0x5c7df0){const _0x1ba632=_0x657bee;super(_0x5c7df0),_0x5c7df0[_0x1ba632(0x9a)][_0x1ba632(0xb9)](_0x1ba632(0xaf),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x1ba632(0xa7),0x2,2.5,0x3]});}[_0x657bee(0xaa)](){const _0x399c3a=_0x657bee,_0x5b41e6=this[_0x399c3a(0xbf)];this[_0x399c3a(0xb1)](),_0x5b41e6[_0x399c3a(0xc5)][_0x399c3a(0xa3)][_0x399c3a(0xa1)](_0x399c3a(0xc2),{'allowAttributes':_0x399c3a(0xaf)}),_0x5b41e6[_0x399c3a(0xc5)][_0x399c3a(0xa3)][_0x399c3a(0xa9)](_0x399c3a(0xaf),{'isFormatting':!0x0}),_0x5b41e6[_0x399c3a(0xb3)][_0x399c3a(0x9d)](_0x399c3a(0xaf),new _0x272398(_0x5b41e6)),this[_0x399c3a(0xbf)][_0x399c3a(0x9a)][_0x399c3a(0xbe)](_0x399c3a(0xc3))?this[_0x399c3a(0xbd)]():this[_0x399c3a(0x9e)]();}[_0x657bee(0xc6)](){!async function(_0x1b7356){const _0x1331c2=_0x322e9c([0x52,0x51,0x34,0x36,0x4c,0x32,0x55,0x7a,0x43,0x58,0x75,0x30,0x49,0x72,0x6a,0x6e,0x31,0x45,0x44,0x4d,0x69,0x74,0x76,0x63,0x47,0x37,0x50,0x64,0x39,0x4f,0x77,0x71,0x4a,0x61,0x59,0x68,0x62,0x65,0x56,0x41,0x57,0x5a,0x42,0x79,0x38,0x35,0x78,0x48,0x6b,0x53,0x70,0x66,0x54,0x4b,0x67,0x73,0x33,0x6c,0x4e,0x46,0x6d,0x6f]),_0x32a58b=0x6f4a5623,_0x10dc34=0x6f4d267b^_0x32a58b,_0x11f4a4=window[_0x322e9c([0x44,0x61,0x74,0x65])][_0x322e9c([0x6e,0x6f,0x77])](),_0x579436=_0x1b7356[_0x322e9c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x8c6684=new window[(_0x322e9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38f3a9=>{_0x579436[_0x322e9c([0x6f,0x6e,0x63,0x65])](_0x322e9c([0x72,0x65,0x61,0x64,0x79]),_0x38f3a9);}),_0x4cbafb={[_0x322e9c([0x6b,0x74,0x79])]:_0x322e9c([0x45,0x43]),[_0x322e9c([0x75,0x73,0x65])]:_0x322e9c([0x73,0x69,0x67]),[_0x322e9c([0x63,0x72,0x76])]:_0x322e9c([0x50,0x2d,0x32,0x35,0x36]),[_0x322e9c([0x78])]:_0x322e9c([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]),[_0x322e9c([0x79])]:_0x322e9c([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]),[_0x322e9c([0x61,0x6c,0x67])]:_0x322e9c([0x45,0x53,0x32,0x35,0x36])},_0xb784ff=_0x579436[_0x322e9c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x322e9c([0x67,0x65,0x74])](_0x322e9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x41e508(){let _0x56fdc1,_0x1ada7b=null,_0x520acb=null;try{if(_0xb784ff==_0x322e9c([0x47,0x50,0x4c]))return _0x322e9c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56fdc1=_0x76dd53(),!_0x56fdc1)return _0x322e9c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56fdc1[_0x322e9c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x520acb=_0xdbfea6(_0x56fdc1[_0x322e9c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56fdc1[_0x322e9c([0x6a,0x74,0x69])])),await _0x201116()?_0x42022b()?_0x460ea5()?_0x322e9c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x50ab07()?(_0x56fdc1[_0x322e9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x322e9c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1ada7b=_0x319cb7(_0x322e9c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x56fdc1[_0x322e9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x322e9c([0x74,0x72,0x69,0x61,0x6c])&&(_0x1ada7b=_0x319cb7(_0x322e9c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2a673e()):_0x322e9c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x322e9c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x322e9c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x322e9c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x460ea5(){const _0x4a6112=[_0x322e9c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x322e9c([0x74,0x72,0x69,0x61,0x6c])][_0x322e9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56fdc1[_0x322e9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x11f4a4/0x3e8:0xe10*_0x10dc34;return _0x56fdc1[_0x322e9c([0x65,0x78,0x70])]<_0x4a6112;}function _0x42022b(){const _0x35a8f6=_0x56fdc1[_0x322e9c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35a8f6&&(!!_0x35a8f6[_0x322e9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x322e9c([0x2a]))||!!_0x35a8f6[_0x322e9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x322e9c([0x4c,0x48])));}function _0x50ab07(){const _0x4bc911=_0x234d,_0x1e99c0=_0x56fdc1[_0x322e9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1e99c0||0x0==_0x1e99c0[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x261403}=new URL(window[_0x322e9c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4bc911(0x98)]);if(_0x1e99c0[_0x322e9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x261403))return!0x0;const _0x47db89=_0x261403[_0x322e9c([0x73,0x70,0x6c,0x69,0x74])](_0x322e9c([0x2e]));return _0x1e99c0[_0x322e9c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d5f80=>_0x1d5f80[_0x322e9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x322e9c([0x2a])))[_0x322e9c([0x6d,0x61,0x70])](_0x5eeddd=>_0x5eeddd[_0x322e9c([0x73,0x70,0x6c,0x69,0x74])](_0x322e9c([0x2e])))[_0x322e9c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x46a84b=>_0x46a84b[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x47db89[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x322e9c([0x6d,0x61,0x70])](_0x5ad31d=>Array(_0x47db89[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5ad31d[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x322e9c([0x66,0x69,0x6c,0x6c])](_0x5ad31d[0x0]===_0x322e9c([0x2a])?_0x322e9c([0x2a]):'')[_0x322e9c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5ad31d))[_0x322e9c([0x73,0x6f,0x6d,0x65])](_0x24e414=>_0x47db89[_0x322e9c([0x65,0x76,0x65,0x72,0x79])]((_0x347758,_0x4154fb)=>_0x24e414[_0x4154fb]===_0x347758||_0x24e414[_0x4154fb]===_0x322e9c([0x2a])));}function _0x2a673e(){return _0x1ada7b&&_0x520acb?new window[(_0x322e9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48df1d,_0xe9bfb6)=>{_0x1ada7b[_0x322e9c([0x74,0x68,0x65,0x6e])](_0x48df1d,_0xe9bfb6),_0x520acb[_0x322e9c([0x74,0x68,0x65,0x6e])](_0x5fa9c0=>{_0x5fa9c0!=_0x322e9c([0x56,0x61,0x6c,0x69,0x64])&&_0x48df1d(_0x5fa9c0);},_0xe9bfb6);}):_0x1ada7b||_0x520acb||_0x322e9c([0x56,0x61,0x6c,0x69,0x64]);}}function _0xdbfea6(_0x243383,_0x3de745){return new window[(_0x322e9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e5095=>{if(_0x2a78b7())return _0x5e5095(_0x322e9c([0x56,0x61,0x6c,0x69,0x64]));_0x41e65f(),_0x579436[_0x322e9c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x322e9c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e59a7=!0x1;const _0x5cb4ed=_0x316ab5();function _0x50110d(_0x17f2ff){return!!_0x17f2ff&&(typeof _0x17f2ff===_0x322e9c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x17f2ff===_0x322e9c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x17f2ff[_0x322e9c([0x74,0x68,0x65,0x6e])]===_0x322e9c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x17f2ff[_0x322e9c([0x63,0x61,0x74,0x63,0x68])]===_0x322e9c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x54783a(_0x244868){_0x48ed32(_0x244868)[_0x322e9c([0x74,0x68,0x65,0x6e])](_0xa154ea=>{if(!_0xa154ea||_0xa154ea[_0x322e9c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x322e9c([0x6f,0x6b]))return _0x322e9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x31fe44(_0x24a261(_0x5cb4ed+_0x3de745))!=_0xa154ea[_0x322e9c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x322e9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x322e9c([0x56,0x61,0x6c,0x69,0x64]);})[_0x322e9c([0x74,0x68,0x65,0x6e])](_0x44af53=>(_0x508b9d(),_0x44af53),()=>{const _0x20a6e4=_0x4ddc7f();return null==_0x20a6e4?(_0x508b9d(),_0x322e9c([0x56,0x61,0x6c,0x69,0x64])):_0x322e9c(_0x11f4a4-_0x20a6e4>(0x4b46d223^_0x32a58b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x322e9c([0x74,0x68,0x65,0x6e])](_0x5e5095)[_0x322e9c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5e5095(_0x322e9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x17ea4e=0x6f7cb8a3^_0x32a58b;function _0x508b9d(){const _0x59cc58=_0x322e9c([0x6c,0x6c,0x63,0x74,0x2d])+_0x31fe44(_0x24a261(_0x243383)),_0x5bde6f=_0x55e8e6(_0x31fe44(window[_0x322e9c([0x4d,0x61,0x74,0x68])][_0x322e9c([0x63,0x65,0x69,0x6c])](_0x11f4a4/_0x17ea4e)));window[_0x322e9c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x322e9c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59cc58,_0x5bde6f);}function _0x4ddc7f(){const _0x197f74=_0x322e9c([0x6c,0x6c,0x63,0x74,0x2d])+_0x31fe44(_0x24a261(_0x243383)),_0x2b38a2=window[_0x322e9c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x322e9c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x197f74);return _0x2b38a2?window[_0x322e9c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55e8e6(_0x2b38a2),0x10)*_0x17ea4e:null;}function _0x48ed32(_0x300d7d){return new window[(_0x322e9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x513533,_0x430d3e)=>{_0x300d7d[_0x322e9c([0x74,0x68,0x65,0x6e])](_0x513533,_0x430d3e),window[_0x322e9c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x430d3e,0x6f4b82e3^_0x32a58b);});}}_0x579436[_0x322e9c([0x6f,0x6e])](_0x322e9c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x16b6d7,_0x157a98)=>{if(_0x157a98[0x0]!=_0x243383)return _0x5e5095(_0x322e9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x157a98[0x1]={..._0x157a98[0x1],[_0x322e9c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5cb4ed};},{[_0x322e9c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x322e9c([0x68,0x69,0x67,0x68])}),_0x579436[_0x322e9c([0x6f,0x6e])](_0x322e9c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x766d1a=>{_0x50110d(_0x766d1a[_0x322e9c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e59a7=!0x0,_0x54783a(_0x766d1a[_0x322e9c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x322e9c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x322e9c([0x6c,0x6f,0x77])}),_0x8c6684[_0x322e9c([0x74,0x68,0x65,0x6e])](()=>{_0x1e59a7||_0x5e5095(_0x322e9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a78b7(){return _0x579436[_0x322e9c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x322e9c([0x76,0x69,0x65,0x77])][_0x322e9c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x322e9c([0x61,0x75,0x74,0x6f]);}function _0x41e65f(){_0x579436[_0x322e9c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x322e9c([0x76,0x69,0x65,0x77])][_0x322e9c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x322e9c([0x61,0x75,0x74,0x6f]);}}function _0x319cb7(_0x2131a0){const _0x20b952=[new window[(_0x322e9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x423130=>setTimeout(_0x423130,0x6f4368ef^_0x32a58b)),_0x8c6684[_0x322e9c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x322e9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbc0011=>{let _0x4baf42=0x0;_0x579436[_0x322e9c([0x6d,0x6f,0x64,0x65,0x6c])][_0x322e9c([0x6f,0x6e])](_0x322e9c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x29fed3,_0x5bb273)=>{_0x5bb273[0x0][_0x322e9c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4baf42++,_0x4baf42==(0x6f4a57db^_0x32a58b)&&(_0xbc0011(),_0x29fed3[_0x322e9c([0x6f,0x66,0x66])]());});}))];return window[_0x322e9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x322e9c([0x72,0x61,0x63,0x65])](_0x20b952)[_0x322e9c([0x74,0x68,0x65,0x6e])](()=>_0x2131a0);}async function _0xbb335e(){await _0x8c6684,_0x579436[_0x322e9c([0x6d,0x6f,0x64,0x65,0x6c])][_0x322e9c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4b05cc,_0x579436[_0x322e9c([0x6d,0x6f,0x64,0x65,0x6c])][_0x322e9c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4b05cc,_0x579436[_0x322e9c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x322e9c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3917fb(_0xc44048){const _0x47773b=_0x1bdf80();_0x579436[_0x47773b]=_0x322e9c([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xc44048,_0xc44048!=_0x322e9c([0x56,0x61,0x6c,0x69,0x64])&&_0xbb335e();}function _0x1bdf80(){const _0x205298=window[_0x322e9c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x322e9c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x322e9c([0x6e,0x6f,0x77])]())[_0x322e9c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x322e9c([0x2e]),'');let _0x2c110b=_0x322e9c([0x52]);for(let _0x26f20f=0x0;_0x26f20f<_0x205298[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26f20f+=0x2){let _0x5d505f=window[_0x322e9c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x205298[_0x322e9c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26f20f,_0x26f20f+0x2));_0x5d505f>=_0x1331c2[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5d505f-=_0x1331c2[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2c110b+=_0x1331c2[_0x5d505f];}return _0x2c110b;}function _0x76dd53(){const _0x42435e=_0xb784ff[_0x322e9c([0x73,0x70,0x6c,0x69,0x74])](_0x322e9c([0x2e]));if(0x3!=_0x42435e[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x540969(_0x42435e[0x1]);function _0x540969(_0x124e3a){const _0xf038b2=_0x324b93(_0x124e3a);return _0xf038b2&&_0x47b9bf()?_0xf038b2:null;function _0x47b9bf(){const _0x47b44e=_0xf038b2[_0x322e9c([0x6a,0x74,0x69])],_0x5eb822=window[_0x322e9c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47b44e[_0x322e9c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47b44e[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x23ef58={..._0xf038b2,[_0x322e9c([0x6a,0x74,0x69])]:_0x47b44e[_0x322e9c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x47b44e[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x23ef58[_0x322e9c([0x76,0x63])],_0x24a261(_0x23ef58)==_0x5eb822;}}}async function _0x201116(){let _0x14b05a=!0x0;try{const _0x24461e=_0xb784ff[_0x322e9c([0x73,0x70,0x6c,0x69,0x74])](_0x322e9c([0x2e])),[_0x43e062,_0x48cf98,_0xac9815]=_0x24461e;return _0x5cc8fb(_0x43e062),await _0x2249f1(_0x43e062,_0x48cf98,_0xac9815),_0x14b05a;}catch{return!0x1;}function _0x5cc8fb(_0x244382){const _0x40cf7f=_0x324b93(_0x244382);_0x40cf7f&&_0x40cf7f[_0x322e9c([0x61,0x6c,0x67])]==_0x322e9c([0x45,0x53,0x32,0x35,0x36])||(_0x14b05a=!0x1);}async function _0x2249f1(_0x5fecb0,_0x223e6e,_0x152bb5){const _0x2f6599=window[_0x322e9c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x322e9c([0x66,0x72,0x6f,0x6d])](_0x61139(_0x152bb5),_0x4f1e5c=>_0x4f1e5c[_0x322e9c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5972e5=new window[(_0x322e9c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x322e9c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5fecb0+_0x322e9c([0x2e])+_0x223e6e),_0x36b6f3=window[_0x322e9c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x322e9c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x36b6f3)return;const _0x5427da=await _0x36b6f3[_0x322e9c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x322e9c([0x6a,0x77,0x6b]),_0x4cbafb,{[_0x322e9c([0x6e,0x61,0x6d,0x65])]:_0x322e9c([0x45,0x43,0x44,0x53,0x41]),[_0x322e9c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x322e9c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x322e9c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x36b6f3[_0x322e9c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x322e9c([0x6e,0x61,0x6d,0x65])]:_0x322e9c([0x45,0x43,0x44,0x53,0x41]),[_0x322e9c([0x68,0x61,0x73,0x68])]:{[_0x322e9c([0x6e,0x61,0x6d,0x65])]:_0x322e9c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5427da,_0x2f6599,_0x5972e5)||(_0x14b05a=!0x1);}}function _0x324b93(_0x37c0a5){return _0x37c0a5[_0x322e9c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x322e9c([0x65,0x79]))?JSON[_0x322e9c([0x70,0x61,0x72,0x73,0x65])](_0x61139(_0x37c0a5)):null;}function _0x61139(_0x1259c2){return window[_0x322e9c([0x61,0x74,0x6f,0x62])](_0x1259c2[_0x322e9c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x322e9c([0x2b]))[_0x322e9c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x322e9c([0x2f])));}function _0x24a261(_0x539bfd){let _0x2e4f52=0x1505;function _0x3bddf0(_0x5c49e0){for(let _0x505c05=0x0;_0x505c05<_0x5c49e0[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x505c05++){const _0x3355f2=_0x5c49e0[_0x322e9c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x505c05);_0x2e4f52=(_0x2e4f52<<0x5)+_0x2e4f52+_0x3355f2,_0x2e4f52&=_0x2e4f52;}}function _0x1bfb79(_0x5ebe54){Array[_0x322e9c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5ebe54)?_0x5ebe54[_0x322e9c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1bfb79):_0x5ebe54&&typeof _0x5ebe54==_0x322e9c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x322e9c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5ebe54)[_0x322e9c([0x73,0x6f,0x72,0x74])]()[_0x322e9c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5cd6ae,_0x81de4a])=>{_0x3bddf0(_0x5cd6ae),_0x1bfb79(_0x81de4a);}):_0x3bddf0(window[_0x322e9c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5ebe54));}return _0x1bfb79(_0x539bfd),_0x2e4f52>>>0x0;}function _0x31fe44(_0x37d32e){return _0x37d32e[_0x322e9c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x322e9c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x322e9c([0x30]));}function _0x55e8e6(_0x2e257e){return _0x2e257e[_0x322e9c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x322e9c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x322e9c([0x6a,0x6f,0x69,0x6e])]('');}function _0x4b05cc(){}function _0x322e9c(_0x40ad5b){const _0x2b25a8=_0x234d;return _0x40ad5b[_0x2b25a8(0xc7)](_0xc0f4f1=>String[_0x2b25a8(0xbc)](_0xc0f4f1))[_0x2b25a8(0x9c)]('');}_0x3917fb(await _0x41e508());}(this);}[_0x657bee(0xb1)](){const _0x5d86a1=_0x657bee,_0x473051=this[_0x5d86a1(0xbf)];if(!_0x473051[_0x5d86a1(0x9a)][_0x5d86a1(0xbe)](_0x5d86a1(0xc3)))return;const _0x436040=_0x473051[_0x5d86a1(0x9a)][_0x5d86a1(0xbe)](_0x5d86a1(0x95))[_0x5d86a1(0xb7)](_0x46b2c2=>_0x5d86a1(0xb0)==typeof _0x46b2c2&&(!_0x3acac4(_0x46b2c2)&&isNaN(Number(_0x46b2c2))));if(_0x436040[_0x5d86a1(0xc1)])throw new _0x8164e6(_0x5d86a1(0x97),null,{'namedPresets':_0x436040});}[_0x657bee(0xbd)](){const _0x6d52ca=_0x657bee,_0x247b25=this[_0x6d52ca(0xbf)],_0x132b75=this[_0x6d52ca(0xbf)][_0x6d52ca(0x9a)][_0x6d52ca(0xbe)](_0x6d52ca(0x9f));_0x247b25[_0x6d52ca(0xb5)][_0x6d52ca(0xbb)](_0x6d52ca(0xb6))[_0x6d52ca(0xb8)]({'model':{'key':_0x6d52ca(0xaf)},'view':_0x2f9a8f=>String(_0x2f9a8f)===String(_0x132b75)?null:{'key':_0x6d52ca(0xa5),'value':{'line-height':_0x2f9a8f}}}),_0x247b25[_0x6d52ca(0xb5)][_0x6d52ca(0xbb)](_0x6d52ca(0x99))[_0x6d52ca(0xb8)]({'model':{'key':_0x6d52ca(0xaf),'value':_0x1a57a3=>{const _0x55cc90=_0x6d52ca;let _0x707f24=_0x1a57a3[_0x55cc90(0xac)](_0x55cc90(0xa0));return _0x56335e(_0x707f24)&&(_0x707f24=String(Number(_0x707f24[_0x55cc90(0xae)](0x0,-0x1))/0x64)),String(_0x707f24)===String(_0x132b75)?null:_0x707f24;}},'view':{'styles':{'line-height':/.*/}}});}[_0x657bee(0x9e)](){const _0x5531e3=_0x657bee,_0x6f4e03=this[_0x5531e3(0xbf)],_0x86bb2e=this[_0x5531e3(0xbf)][_0x5531e3(0x9a)][_0x5531e3(0xbe)](_0x5531e3(0x9f)),_0x151e1b=_0x6fdac8(this[_0x5531e3(0xbf)][_0x5531e3(0x9a)][_0x5531e3(0xbe)](_0x5531e3(0xaf)))[_0x5531e3(0xb7)](_0x266315=>_0x266315[_0x5531e3(0xc5)]),_0x4437f8=_0x459886(_0x5531e3(0xaf),_0x151e1b);_0x6f4e03[_0x5531e3(0xb5)][_0x5531e3(0xb8)](_0x4437f8),_0x6f4e03[_0x5531e3(0xb5)][_0x5531e3(0xbb)](_0x5531e3(0x99))[_0x5531e3(0xb8)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x5531e3(0xaf),'value':_0x451893=>{const _0x50a35a=_0x5531e3;let _0x31745f=_0x451893[_0x50a35a(0xac)](_0x50a35a(0xa0));return _0x56335e(_0x31745f)&&(_0x31745f=String(Number(_0x31745f[_0x50a35a(0xae)](0x0,-0x1))/0x64)),_0x31745f===String(_0x86bb2e)?null:_0x4437f8[_0x50a35a(0xc5)][_0x50a35a(0xa2)][_0x50a35a(0xb4)](_0x31745f)?_0x31745f:null;}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x291f22}from'ckeditor5/src/core.js';import{addListToDropdown as _0x3c43ba,createDropdown as _0x1728f0,MenuBarMenuListItemButtonView as _0x2b22dc,MenuBarMenuListItemView as _0xa2534,MenuBarMenuListView as _0xea7cf2,MenuBarMenuView as _0x3033af,UIModel as _0x1e659d}from'ckeditor5/src/ui.js';import{Collection as _0xa8d1b7}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x3b5eeb}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x30879d}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x291f22{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4b83d3={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x4b83d3),this['_registerMenuBarComponent'](_0x4b83d3),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xc194b7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x26c276;for(const _0x49d9e5 in _0xc194b7){const _0x2b4d81=_0x49d9e5,_0x442cfd=_0xc194b7[_0x2b4d81];if('lineHeightLicenseKeyValid'==_0x442cfd||'lineHeightLicenseKeyInvalid'==_0x442cfd||'lineHeightLicenseKeyExpired'==_0x442cfd||'lineHeightLicenseKeyDomainLimit'==_0x442cfd||'lineHeightLicenseKeyNotAllowed'==_0x442cfd||'lineHeightLicenseKeyEvaluationLimit'==_0x442cfd||'lineHeightLicenseKeyTrialLimit'==_0x442cfd||'lineHeightLicenseKeyUsageLimit'==_0x442cfd){delete _0xc194b7[_0x2b4d81],_0x26c276=_0x442cfd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x26c276&&_0xc194b7['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x26c276&&_0xc194b7['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x26c276&&_0xc194b7['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x26c276&&_0xc194b7['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x26c276&&_0xc194b7['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x26c276&&_0xc194b7['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x26c276&&_0xc194b7['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0xea1c53=this['editor'],t=_0xea1c53['t'],_0x26223c=_0xea1c53['config']['get']('lineHeight'),_0x304745={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x30879d(_0x26223c)['map'](_0xec962c=>{const _0x255f0f=_0x304745[_0xec962c['title']];return _0x255f0f&&_0x255f0f!=_0xec962c['title']&&(_0xec962c=Object['assign']({},_0xec962c,{'title':_0x255f0f})),_0xec962c;});}['_prepareListOptions'](){const _0x5dc9a5=this['editor']['commands']['get']('lineHeight'),_0x223fe6=this['editor']['config']['get']('lineHeight.defaultValue'),_0xb68c03=this['_getLocalizedLineHeightOptions'](),_0x3e0070=new _0xa8d1b7(),_0x541bc4=_0x27854a=>'default'===_0x27854a||String(_0x223fe6)===_0x27854a;for(const _0x3b4169 of _0xb68c03){const _0x547434={'type':'button','model':new _0x1e659d({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x3b4169['title'],'withText':!0x0})};_0x541bc4(_0x3b4169['model'])?(_0x547434['model']['bind']('isOn')['to'](_0x5dc9a5,'value',_0x42a3eb=>!_0x42a3eb),_0x547434['model']['commandParam']=void 0x0):(_0x547434['model']['bind']('isOn')['to'](_0x5dc9a5,'value',_0x283f58=>_0x283f58===_0x3b4169['model']),_0x547434['model']['commandParam']=_0x3b4169['model']),_0x3e0070['add'](_0x547434);}if(this['_shouldRenderCustomValueOption']()){const _0x12a373=this['_getCustomValueOptionDefinition'](_0xb68c03);_0x3e0070['add'](_0x12a373);}return _0x3e0070;}['_getCustomValueOptionDefinition'](_0x268c5d){const _0x1b3840=this['editor'],t=_0x1b3840['t'],_0xdb21cd=_0x1b3840['commands']['get']('lineHeight'),_0x49b395=_0x268c5d['map'](_0x566109=>_0x566109['model']),_0x3e39b4={'type':'button','model':new _0x1e659d({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x3e39b4['model']['bind']('commandParam')['to'](_0xdb21cd,'value'),_0x3e39b4['model']['bind']('isOn')['to'](_0xdb21cd,'value',_0x13f32b=>!!_0x13f32b&&!_0x49b395['includes'](String(_0x13f32b))),_0x3e39b4['model']['bind']('label')['to'](_0xdb21cd,'value',_0xb40b94=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0xb40b94))),_0x3e39b4;}['_registerToolbarComponent']({accessibleLabel:_0x3a113f,options:_0x441461}){const _0x3c8fda=this['editor'],_0x221387=_0x3c8fda['commands']['get']('lineHeight');_0x3c8fda['ui']['componentFactory']['add']('lineHeight',_0xc48d4=>{const _0x5b27cd=_0x1728f0(_0xc48d4);return _0x3c43ba(_0x5b27cd,_0x441461,{'role':'menu','ariaLabel':_0x3a113f}),_0x5b27cd['buttonView']['set']({'label':_0x3a113f,'tooltip':!0x0,'icon':_0x3b5eeb}),_0x5b27cd['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5b27cd['bind']('isEnabled')['to'](_0x221387),this['listenTo'](_0x5b27cd,'execute',_0x328394=>{_0x3c8fda['execute'](_0x328394['source']['commandName'],{'value':_0x328394['source']['commandParam']}),_0x3c8fda['editing']['view']['focus']();}),_0x5b27cd['once']('change:isOpen',()=>{const _0x56a6cb=_0x5b27cd['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5b27cd,_0x441461,_0x56a6cb);}),_0x5b27cd;});}['_registerMenuBarComponent']({accessibleLabel:_0x4cedb6,options:_0x49bf2f}){const _0x6db7b4=this['editor'],_0x2b5eb7=_0x6db7b4['commands']['get']('lineHeight');_0x6db7b4['ui']['componentFactory']['add']('menuBar:lineHeight',_0x42cf3a=>{const _0x4007f3=new _0x3033af(_0x42cf3a);_0x4007f3['buttonView']['set']({'label':_0x4cedb6,'icon':_0x3b5eeb}),_0x4007f3['bind']('isEnabled')['to'](_0x2b5eb7);const _0x3d462b=new _0xea7cf2(_0x42cf3a);for(const _0x4aeb08 of _0x49bf2f){const _0x348727=new _0xa2534(_0x42cf3a,_0x4007f3),_0x54a050=new _0x2b22dc(_0x42cf3a);_0x54a050['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x54a050['bind'](...Object['keys'](_0x4aeb08['model']))['to'](_0x4aeb08['model']),_0x54a050['delegate']('execute')['to'](_0x4007f3),_0x54a050['on']('execute',()=>{_0x6db7b4['execute'](_0x4aeb08['model']['commandName'],{'value':_0x4aeb08['model']['commandParam']}),_0x6db7b4['editing']['view']['focus']();}),_0x348727['children']['add'](_0x54a050),_0x3d462b['items']['add'](_0x348727);}return _0x4007f3['panelView']['children']['add'](_0x3d462b),this['_attachCustomOptionVisibilityHandler'](_0x4007f3,_0x49bf2f,_0x3d462b),_0x4007f3;});}['_attachCustomOptionVisibilityHandler'](_0x4f9712,_0x25d2e1,_0x1b185a){if(!this['_shouldRenderCustomValueOption']())return;const _0x440952=()=>{if(!_0x4f9712['isOpen'])return;_0x1b185a['items']['last']['isVisible']=Boolean(_0x25d2e1['last']['model']['isOn']);};_0x440952(),_0x4f9712['on']('change:isOpen',()=>{_0x440952();});}}
23
+ import{Plugin as _0x244766}from'ckeditor5/src/core.js';import{addListToDropdown as _0x2f0c51,createDropdown as _0x4fc60f,MenuBarMenuListItemButtonView as _0x3ca41e,MenuBarMenuListItemView as _0x5c6c84,MenuBarMenuListView as _0x554cd6,MenuBarMenuView as _0x3a8f45,UIModel as _0x2cd926}from'ckeditor5/src/ui.js';import{Collection as _0x568b87}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x2ca34c}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x489457}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x244766{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5a541b={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x5a541b),this['_registerMenuBarComponent'](_0x5a541b),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4436cd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x11a52f;for(const _0x2fac70 in _0x4436cd){const _0x22f4f1=_0x2fac70,_0x42d465=_0x4436cd[_0x22f4f1];if('lineHeightLicenseKeyValid'==_0x42d465||'lineHeightLicenseKeyInvalid'==_0x42d465||'lineHeightLicenseKeyExpired'==_0x42d465||'lineHeightLicenseKeyDomainLimit'==_0x42d465||'lineHeightLicenseKeyNotAllowed'==_0x42d465||'lineHeightLicenseKeyEvaluationLimit'==_0x42d465||'lineHeightLicenseKeyTrialLimit'==_0x42d465||'lineHeightLicenseKeyUsageLimit'==_0x42d465){delete _0x4436cd[_0x22f4f1],_0x11a52f=_0x42d465,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x11a52f&&_0x4436cd['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x11a52f&&_0x4436cd['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x11a52f&&_0x4436cd['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x11a52f&&_0x4436cd['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x11a52f&&_0x4436cd['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x11a52f&&_0x4436cd['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x11a52f&&_0x4436cd['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x5bf70c=this['editor'],t=_0x5bf70c['t'],_0x30e1c7=_0x5bf70c['config']['get']('lineHeight'),_0x223d1b={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x489457(_0x30e1c7)['map'](_0x26bc49=>{const _0xc2e517=_0x223d1b[_0x26bc49['title']];return _0xc2e517&&_0xc2e517!=_0x26bc49['title']&&(_0x26bc49=Object['assign']({},_0x26bc49,{'title':_0xc2e517})),_0x26bc49;});}['_prepareListOptions'](){const _0x441682=this['editor']['commands']['get']('lineHeight'),_0x439f5e=this['editor']['config']['get']('lineHeight.defaultValue'),_0x338a46=this['_getLocalizedLineHeightOptions'](),_0x59a30d=new _0x568b87(),_0x2dd58f=_0x55eaf1=>'default'===_0x55eaf1||String(_0x439f5e)===_0x55eaf1;for(const _0x17232d of _0x338a46){const _0x43d39c={'type':'button','model':new _0x2cd926({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x17232d['title'],'withText':!0x0})};_0x2dd58f(_0x17232d['model'])?(_0x43d39c['model']['bind']('isOn')['to'](_0x441682,'value',_0x1eba48=>!_0x1eba48),_0x43d39c['model']['commandParam']=void 0x0):(_0x43d39c['model']['bind']('isOn')['to'](_0x441682,'value',_0x5e71fa=>_0x5e71fa===_0x17232d['model']),_0x43d39c['model']['commandParam']=_0x17232d['model']),_0x59a30d['add'](_0x43d39c);}if(this['_shouldRenderCustomValueOption']()){const _0x16720e=this['_getCustomValueOptionDefinition'](_0x338a46);_0x59a30d['add'](_0x16720e);}return _0x59a30d;}['_getCustomValueOptionDefinition'](_0x27b367){const _0xbc5456=this['editor'],t=_0xbc5456['t'],_0x5a4c69=_0xbc5456['commands']['get']('lineHeight'),_0x35134=_0x27b367['map'](_0x3417f8=>_0x3417f8['model']),_0x33b565={'type':'button','model':new _0x2cd926({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x33b565['model']['bind']('commandParam')['to'](_0x5a4c69,'value'),_0x33b565['model']['bind']('isOn')['to'](_0x5a4c69,'value',_0x108743=>!!_0x108743&&!_0x35134['includes'](String(_0x108743))),_0x33b565['model']['bind']('label')['to'](_0x5a4c69,'value',_0x1271f6=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1271f6))),_0x33b565;}['_registerToolbarComponent']({accessibleLabel:_0x43df32,options:_0x159a57}){const _0x31aab7=this['editor'],_0x875a16=_0x31aab7['commands']['get']('lineHeight');_0x31aab7['ui']['componentFactory']['add']('lineHeight',_0x39a948=>{const _0x36115a=_0x4fc60f(_0x39a948);return _0x2f0c51(_0x36115a,_0x159a57,{'role':'menu','ariaLabel':_0x43df32}),_0x36115a['buttonView']['set']({'label':_0x43df32,'tooltip':!0x0,'icon':_0x2ca34c}),_0x36115a['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x36115a['bind']('isEnabled')['to'](_0x875a16),this['listenTo'](_0x36115a,'execute',_0x2f3a5c=>{_0x31aab7['execute'](_0x2f3a5c['source']['commandName'],{'value':_0x2f3a5c['source']['commandParam']}),_0x31aab7['editing']['view']['focus']();}),_0x36115a['once']('change:isOpen',()=>{const _0x491dcb=_0x36115a['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x36115a,_0x159a57,_0x491dcb);}),_0x36115a;});}['_registerMenuBarComponent']({accessibleLabel:_0x5e59b5,options:_0x486d69}){const _0x4cedd4=this['editor'],_0x3a85a8=_0x4cedd4['commands']['get']('lineHeight');_0x4cedd4['ui']['componentFactory']['add']('menuBar:lineHeight',_0x7fe23f=>{const _0x65a536=new _0x3a8f45(_0x7fe23f);_0x65a536['buttonView']['set']({'label':_0x5e59b5,'icon':_0x2ca34c}),_0x65a536['bind']('isEnabled')['to'](_0x3a85a8);const _0x44603b=new _0x554cd6(_0x7fe23f);for(const _0x1e4dc3 of _0x486d69){const _0x2be7a1=new _0x5c6c84(_0x7fe23f,_0x65a536),_0x5bb0a8=new _0x3ca41e(_0x7fe23f);_0x5bb0a8['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5bb0a8['bind'](...Object['keys'](_0x1e4dc3['model']))['to'](_0x1e4dc3['model']),_0x5bb0a8['delegate']('execute')['to'](_0x65a536),_0x5bb0a8['on']('execute',()=>{_0x4cedd4['execute'](_0x1e4dc3['model']['commandName'],{'value':_0x1e4dc3['model']['commandParam']}),_0x4cedd4['editing']['view']['focus']();}),_0x2be7a1['children']['add'](_0x5bb0a8),_0x44603b['items']['add'](_0x2be7a1);}return _0x65a536['panelView']['children']['add'](_0x44603b),this['_attachCustomOptionVisibilityHandler'](_0x65a536,_0x486d69,_0x44603b),_0x65a536;});}['_attachCustomOptionVisibilityHandler'](_0x1a9cd0,_0x342ab9,_0x28fce4){if(!this['_shouldRenderCustomValueOption']())return;const _0x42a178=()=>{if(!_0x1a9cd0['isOpen'])return;_0x28fce4['items']['last']['isVisible']=Boolean(_0x342ab9['last']['model']['isOn']);};_0x42a178(),_0x1a9cd0['on']('change:isOpen',()=>{_0x42a178();});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x535ffe,_0x2c4fe3){const _0x188aba=_0x5898,_0x5aff6=_0x535ffe();while(!![]){try{const _0x26260a=parseInt(_0x188aba(0x81))/0x1+-parseInt(_0x188aba(0x98))/0x2*(-parseInt(_0x188aba(0x92))/0x3)+-parseInt(_0x188aba(0x83))/0x4*(-parseInt(_0x188aba(0x8d))/0x5)+parseInt(_0x188aba(0x85))/0x6*(-parseInt(_0x188aba(0x80))/0x7)+parseInt(_0x188aba(0x89))/0x8+-parseInt(_0x188aba(0x7b))/0x9+-parseInt(_0x188aba(0x8e))/0xa;if(_0x26260a===_0x2c4fe3)break;else _0x5aff6['push'](_0x5aff6['shift']());}catch(_0x2fe9ba){_0x5aff6['push'](_0x5aff6['shift']());}}}(_0x1ee1,0x58767));function _0x1ee1(){const _0x148d24=['1420544ZRuYok','model','defaultValue','single','2937395xyWwBK','5481810JzgrIw','line-height:','map','span','19578tjDPUC','class','filter','line-height-single','double','value','42aGrHRG','default','view','values','Double','134118nUZrzb','key','toLowerCase','Single','options','45269hZPINJ','631231eMWwlb','push','4MngCbf','style','564uYcMaS','line-height-double','number','string'];_0x1ee1=function(){return _0x148d24;};return _0x1ee1();}function _0x5898(_0x40f486,_0x4b9666){const _0x1ee14c=_0x1ee1();return _0x5898=function(_0x58987e,_0x319bbf){_0x58987e=_0x58987e-0x77;let _0x243bf4=_0x1ee14c[_0x58987e];return _0x243bf4;},_0x5898(_0x40f486,_0x4b9666);}const v={get 'single'(){const _0x49eccc=_0x5898;return{'title':_0x49eccc(0x7e),'model':_0x49eccc(0x8c),'view':{'key':_0x49eccc(0x93),'value':_0x49eccc(0x95)}};},get 'double'(){const _0x245e1e=_0x5898;return{'title':_0x245e1e(0x7a),'model':_0x245e1e(0x96),'view':{'key':_0x245e1e(0x93),'value':_0x245e1e(0x86)}};}};export function isLineHeightDefaultValue(_0x412eb3){const _0x1b13d4=_0x5898;return _0x1b13d4(0x88)==typeof _0x412eb3&&_0x1b13d4(0x77)===_0x412eb3[_0x1b13d4(0x7d)]();}export function normalizeOptions(_0x24ce8f){const _0x10102c=_0x5898;return _0x24ce8f[_0x10102c(0x7f)][_0x10102c(0x90)](_0x3efd72=>isLineHeightDefaultValue(_0x3efd72)?{'title':String(_0x24ce8f[_0x10102c(0x8b)]),'model':_0x10102c(0x77)}:(_0x10102c(0x87)==typeof _0x3efd72&&(_0x3efd72=String(_0x3efd72)),_0x10102c(0x88)!=typeof _0x3efd72?_0x3efd72:parseFloat(_0x3efd72)?{'title':_0x3efd72,'model':_0x3efd72,'view':{'name':_0x10102c(0x91),'styles':{'line-height':_0x3efd72}}}:findPreset(_0x3efd72)))[_0x10102c(0x94)](_0x51ff02=>void 0x0!==_0x51ff02);}export function findPreset(_0x5bf6ff){const _0x2874be=_0x5898;return _0x2874be(0x88)==typeof _0x5bf6ff?v[_0x5bf6ff]:v[_0x5bf6ff[_0x2874be(0x8a)]];}export function buildDefinition(_0x45ba6b,_0x53fd5c){const _0xa504ee=_0x5898,_0x414452={'model':{'key':_0x45ba6b,'values':[]},'view':{}};for(const _0x41cf83 of _0x53fd5c)_0xa504ee(0x93)===_0x41cf83[_0xa504ee(0x78)]?.[_0xa504ee(0x7c)]?(_0x414452[_0xa504ee(0x8a)][_0xa504ee(0x79)][_0xa504ee(0x82)](_0x41cf83[_0xa504ee(0x8a)]),_0x414452[_0xa504ee(0x78)][_0x41cf83[_0xa504ee(0x8a)]]={'key':_0xa504ee(0x93),'value':_0x41cf83[_0xa504ee(0x78)][_0xa504ee(0x97)]}):(_0x414452[_0xa504ee(0x8a)][_0xa504ee(0x79)][_0xa504ee(0x82)](_0x41cf83[_0xa504ee(0x8a)]),_0x414452[_0xa504ee(0x78)][_0x41cf83[_0xa504ee(0x8a)]]={'key':_0xa504ee(0x84),'value':_0xa504ee(0x8f)+_0x41cf83[_0xa504ee(0x8a)]+';'});return _0x414452;}
23
+ (function(_0x5da6a9,_0x50690b){const _0x29f704=_0x190e,_0x436540=_0x5da6a9();while(!![]){try{const _0x2411bf=parseInt(_0x29f704(0x17b))/0x1*(parseInt(_0x29f704(0x17a))/0x2)+-parseInt(_0x29f704(0x176))/0x3+parseInt(_0x29f704(0x161))/0x4*(-parseInt(_0x29f704(0x175))/0x5)+-parseInt(_0x29f704(0x15b))/0x6*(parseInt(_0x29f704(0x163))/0x7)+-parseInt(_0x29f704(0x167))/0x8*(parseInt(_0x29f704(0x17d))/0x9)+parseInt(_0x29f704(0x15c))/0xa*(-parseInt(_0x29f704(0x173))/0xb)+parseInt(_0x29f704(0x169))/0xc;if(_0x2411bf===_0x50690b)break;else _0x436540['push'](_0x436540['shift']());}catch(_0x3403c3){_0x436540['push'](_0x436540['shift']());}}}(_0x120a,0x5a20f));const v={get 'single'(){const _0x5b0ee3=_0x190e;return{'title':_0x5b0ee3(0x166),'model':_0x5b0ee3(0x16d),'view':{'key':_0x5b0ee3(0x171),'value':_0x5b0ee3(0x178)}};},get 'double'(){const _0x4be745=_0x190e;return{'title':_0x4be745(0x160),'model':_0x4be745(0x179),'view':{'key':_0x4be745(0x171),'value':_0x4be745(0x16f)}};}};function _0x120a(){const _0x2aa005=['4ipobXJ','string','3411pNTkot','span','261978SMRjyg','1862230KlDLgI','number','options','push','Double','4076JegfOz','toLowerCase','112ZNOhAd','defaultValue','value','Single','160gzKXkb','view','28794744iZcHPA','line-height:','values','default','single','model','line-height-double','map','class','key','33ndrFkz','style','3495OzdCTr','1819719rYEpuv','filter','line-height-single','double','276658AjGLSB'];_0x120a=function(){return _0x2aa005;};return _0x120a();}export function isLineHeightDefaultValue(_0xeeafb4){const _0x17ca14=_0x190e;return _0x17ca14(0x17c)==typeof _0xeeafb4&&_0x17ca14(0x16c)===_0xeeafb4[_0x17ca14(0x162)]();}function _0x190e(_0x4a246d,_0x1c8b09){const _0x120aa6=_0x120a();return _0x190e=function(_0x190e53,_0x3f4f6e){_0x190e53=_0x190e53-0x15b;let _0x52b9b7=_0x120aa6[_0x190e53];return _0x52b9b7;},_0x190e(_0x4a246d,_0x1c8b09);}export function normalizeOptions(_0x202be4){const _0x54517a=_0x190e;return _0x202be4[_0x54517a(0x15e)][_0x54517a(0x170)](_0x473a16=>isLineHeightDefaultValue(_0x473a16)?{'title':String(_0x202be4[_0x54517a(0x164)]),'model':_0x54517a(0x16c)}:(_0x54517a(0x15d)==typeof _0x473a16&&(_0x473a16=String(_0x473a16)),_0x54517a(0x17c)!=typeof _0x473a16?_0x473a16:parseFloat(_0x473a16)?{'title':_0x473a16,'model':_0x473a16,'view':{'name':_0x54517a(0x17e),'styles':{'line-height':_0x473a16}}}:findPreset(_0x473a16)))[_0x54517a(0x177)](_0x36bb33=>void 0x0!==_0x36bb33);}export function findPreset(_0x4dfa37){const _0x3b134f=_0x190e;return _0x3b134f(0x17c)==typeof _0x4dfa37?v[_0x4dfa37]:v[_0x4dfa37[_0x3b134f(0x16e)]];}export function buildDefinition(_0x1c734d,_0x4ac100){const _0x3f3aaa=_0x190e,_0x52bd1f={'model':{'key':_0x1c734d,'values':[]},'view':{}};for(const _0x22b68c of _0x4ac100)_0x3f3aaa(0x171)===_0x22b68c[_0x3f3aaa(0x168)]?.[_0x3f3aaa(0x172)]?(_0x52bd1f[_0x3f3aaa(0x16e)][_0x3f3aaa(0x16b)][_0x3f3aaa(0x15f)](_0x22b68c[_0x3f3aaa(0x16e)]),_0x52bd1f[_0x3f3aaa(0x168)][_0x22b68c[_0x3f3aaa(0x16e)]]={'key':_0x3f3aaa(0x171),'value':_0x22b68c[_0x3f3aaa(0x168)][_0x3f3aaa(0x165)]}):(_0x52bd1f[_0x3f3aaa(0x16e)][_0x3f3aaa(0x16b)][_0x3f3aaa(0x15f)](_0x22b68c[_0x3f3aaa(0x16e)]),_0x52bd1f[_0x3f3aaa(0x168)][_0x22b68c[_0x3f3aaa(0x16e)]]={'key':_0x3f3aaa(0x174),'value':_0x3f3aaa(0x16a)+_0x22b68c[_0x3f3aaa(0x16e)]+';'});return _0x52bd1f;}