@ckeditor/ckeditor5-line-height 46.0.1-alpha.9 → 46.0.2-alpha.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 _0x761044=_0x22c2;function _0x5c7a(){const _0x4a6014=['getAttribute','5rtELvV','change','12106312ZmeQGK','model','_canHaveLineHeight','2266980uvDfNW','lineHeight','isEnabled','removeAttribute','7273326FSOEWo','execute','value','1142292DhfIlS','document','9lCUpZu','checkAttribute','1558480RyZenR','getSelectedBlocks','from','38cDlwnF','editor','setAttribute','4716334mAheup','83894GjRvTQ','refresh','schema','filter','selection'];_0x5c7a=function(){return _0x4a6014;};return _0x5c7a();}(function(_0x2e9068,_0x46400b){const _0x1aaf50=_0x22c2,_0x297eda=_0x2e9068();while(!![]){try{const _0x2c4237=-parseInt(_0x1aaf50(0x1b7))/0x1*(parseInt(_0x1aaf50(0x1bb))/0x2)+-parseInt(_0x1aaf50(0x1cd))/0x3+-parseInt(_0x1aaf50(0x1d1))/0x4+-parseInt(_0x1aaf50(0x1c1))/0x5*(-parseInt(_0x1aaf50(0x1ca))/0x6)+parseInt(_0x1aaf50(0x1ba))/0x7+-parseInt(_0x1aaf50(0x1c3))/0x8*(-parseInt(_0x1aaf50(0x1cf))/0x9)+-parseInt(_0x1aaf50(0x1c6))/0xa;if(_0x2c4237===_0x46400b)break;else _0x297eda['push'](_0x297eda['shift']());}catch(_0x3f5417){_0x297eda['push'](_0x297eda['shift']());}}}(_0x5c7a,0xc550c));import{Command as _0x15ca7b}from'ckeditor5/src/core.js';function _0x22c2(_0x5b822a,_0x14bf72){const _0x5c7a82=_0x5c7a();return _0x22c2=function(_0x22c27a,_0x5ccf2d){_0x22c27a=_0x22c27a-0x1b7;let _0x3c96d7=_0x5c7a82[_0x22c27a];return _0x3c96d7;},_0x22c2(_0x5b822a,_0x14bf72);}import{first as _0x552f6e}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x15ca7b{[_0x761044(0x1bc)](){const _0x240be3=_0x761044,_0x47ef89=this[_0x240be3(0x1b8)][_0x240be3(0x1c4)][_0x240be3(0x1ce)],_0x3bc8ab=_0x552f6e(_0x47ef89[_0x240be3(0x1bf)][_0x240be3(0x1d2)]());this[_0x240be3(0x1c8)]=Boolean(_0x3bc8ab)&&this[_0x240be3(0x1c5)](_0x3bc8ab),this[_0x240be3(0x1cc)]=this[_0x240be3(0x1c8)]&&_0x3bc8ab[_0x240be3(0x1c0)](_0x240be3(0x1c7));}[_0x761044(0x1cb)](_0x30b98d={}){const _0x56f942=_0x761044,_0x58a69e=this[_0x56f942(0x1b8)][_0x56f942(0x1c4)],_0x58cc85=_0x58a69e[_0x56f942(0x1ce)][_0x56f942(0x1bf)],_0x4cfee2=_0x30b98d[_0x56f942(0x1cc)];_0x58a69e[_0x56f942(0x1c2)](_0x529bc2=>{const _0x1fe09c=_0x56f942,_0xe609dd=Array[_0x1fe09c(0x1d3)](_0x58cc85[_0x1fe09c(0x1d2)]())[_0x1fe09c(0x1be)](_0x439c49=>this[_0x1fe09c(0x1c5)](_0x439c49));for(const _0x3bc514 of _0xe609dd)_0x4cfee2?_0x529bc2[_0x1fe09c(0x1b9)](_0x1fe09c(0x1c7),_0x4cfee2,_0x3bc514):_0x529bc2[_0x1fe09c(0x1c9)](_0x1fe09c(0x1c7),_0x3bc514);});}[_0x761044(0x1c5)](_0x2550a7){const _0x30e63a=_0x761044;return this[_0x30e63a(0x1b8)][_0x30e63a(0x1c4)][_0x30e63a(0x1bd)][_0x30e63a(0x1d0)](_0x2550a7,_0x30e63a(0x1c7));}}
23
+ function _0x51fe(_0x56f011,_0x50272b){const _0x13d58f=_0x13d5();return _0x51fe=function(_0x51fe77,_0x2fdf19){_0x51fe77=_0x51fe77-0x8f;let _0x48ba77=_0x13d58f[_0x51fe77];return _0x48ba77;},_0x51fe(_0x56f011,_0x50272b);}const _0x4d1c19=_0x51fe;(function(_0x57a5bb,_0x38ba26){const _0x5527b8=_0x51fe,_0x531544=_0x57a5bb();while(!![]){try{const _0x4b95d1=parseInt(_0x5527b8(0xa0))/0x1+-parseInt(_0x5527b8(0xa4))/0x2+parseInt(_0x5527b8(0x9e))/0x3+parseInt(_0x5527b8(0x9b))/0x4*(-parseInt(_0x5527b8(0x91))/0x5)+-parseInt(_0x5527b8(0x93))/0x6+parseInt(_0x5527b8(0x9d))/0x7+parseInt(_0x5527b8(0x97))/0x8;if(_0x4b95d1===_0x38ba26)break;else _0x531544['push'](_0x531544['shift']());}catch(_0x281644){_0x531544['push'](_0x531544['shift']());}}}(_0x13d5,0x6d53c));import{Command as _0x2e77c0}from'ckeditor5/src/core.js';import{first as _0x3fedac}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x2e77c0{[_0x4d1c19(0xa5)](){const _0x59fe8f=_0x4d1c19,_0x125148=this[_0x59fe8f(0x9a)][_0x59fe8f(0x8f)][_0x59fe8f(0xa3)],_0x3ff2c4=_0x3fedac(_0x125148[_0x59fe8f(0x99)][_0x59fe8f(0xa9)]());this[_0x59fe8f(0x92)]=Boolean(_0x3ff2c4)&&this[_0x59fe8f(0x98)](_0x3ff2c4),this[_0x59fe8f(0xa2)]=this[_0x59fe8f(0x92)]&&_0x3ff2c4[_0x59fe8f(0x94)](_0x59fe8f(0xa8));}[_0x4d1c19(0x9f)](_0x2106d4={}){const _0x4b1957=_0x4d1c19,_0x1fde96=this[_0x4b1957(0x9a)][_0x4b1957(0x8f)],_0x38280e=_0x1fde96[_0x4b1957(0xa3)][_0x4b1957(0x99)],_0x1d2fe2=_0x2106d4[_0x4b1957(0xa2)];_0x1fde96[_0x4b1957(0xa1)](_0x423b6a=>{const _0x340f6e=_0x4b1957,_0x4952e8=Array[_0x340f6e(0x96)](_0x38280e[_0x340f6e(0xa9)]())[_0x340f6e(0x9c)](_0x3e06f4=>this[_0x340f6e(0x98)](_0x3e06f4));for(const _0x27e0df of _0x4952e8)_0x1d2fe2?_0x423b6a[_0x340f6e(0xa7)](_0x340f6e(0xa8),_0x1d2fe2,_0x27e0df):_0x423b6a[_0x340f6e(0x90)](_0x340f6e(0xa8),_0x27e0df);});}[_0x4d1c19(0x98)](_0x71f690){const _0x1f9396=_0x4d1c19;return this[_0x1f9396(0x9a)][_0x1f9396(0x8f)][_0x1f9396(0xa6)][_0x1f9396(0x95)](_0x71f690,_0x1f9396(0xa8));}}function _0x13d5(){const _0x37d681=['refresh','schema','setAttribute','lineHeight','getSelectedBlocks','model','removeAttribute','743610mIaOWS','isEnabled','1745964ELuSQx','getAttribute','checkAttribute','from','3918880awRTbN','_canHaveLineHeight','selection','editor','4YuQPgN','filter','376908IVmTCG','808224wXiQDh','execute','301257ZoUDVE','change','value','document','453698hwFOGg'];_0x13d5=function(){return _0x37d681;};return _0x13d5();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd82988=_0x5373;(function(_0xc80ea3,_0x36d9c0){const _0x1fde95=_0x5373,_0x308b43=_0xc80ea3();while(!![]){try{const _0x5cb988=parseInt(_0x1fde95(0x14a))/0x1*(parseInt(_0x1fde95(0x145))/0x2)+parseInt(_0x1fde95(0x12d))/0x3+-parseInt(_0x1fde95(0x14d))/0x4+parseInt(_0x1fde95(0x158))/0x5*(-parseInt(_0x1fde95(0x13b))/0x6)+parseInt(_0x1fde95(0x12f))/0x7+parseInt(_0x1fde95(0x14e))/0x8*(-parseInt(_0x1fde95(0x152))/0x9)+parseInt(_0x1fde95(0x149))/0xa;if(_0x5cb988===_0x36d9c0)break;else _0x308b43['push'](_0x308b43['shift']());}catch(_0x23633e){_0x308b43['push'](_0x308b43['shift']());}}}(_0x288b,0x9590a));import{Plugin as _0x259eb6}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x194e42}from'./lineheightcommand.js';function _0x5373(_0x197c16,_0x3c72af){const _0x288b08=_0x288b();return _0x5373=function(_0x537342,_0x420ae8){_0x537342=_0x537342-0x129;let _0x1ee4a=_0x288b08[_0x537342];return _0x1ee4a;},_0x5373(_0x197c16,_0x3c72af);}import{isPercentageStyleValue as _0x2bc35e}from'ckeditor5/src/engine.js';import{uid as _0x40247e,CKEditorError as _0x3595d7}from'ckeditor5/src/utils.js';import{buildDefinition as _0x48d0da,isLineHeightDefaultValue as _0x510466,normalizeOptions as _0x216245}from'./utils.js';function _0x288b(){const _0x61a7b4=['setAttributeProperties','style','values','_prepareAnyValueConverters','pluginName','join','3104718TArAqF','upcast','5631332mYShwT','href','for','lineHeight.supportAllValues','string','model','length','conversion','$block','config','lineHeight.defaultValue','schema','2176830cIKtKn','afterInit','get','line-height','slice','attributeToAttribute','isPremiumPlugin','isOfficialPlugin','add','_validateConfig','1090034YwuQGV','init','lineHeight','line-height-invalid-use-of-named-presets','6568700tOdSwz','1XPLTJS','editor','LineHeightEditing','2007244IWAMHj','533880nlBvMs','lineHeight.options','_preparePredefinedConverters','default','162SineuK','getStyle','define','filter','includes','downcast','10XJspHd','commands','map','fromCharCode','extend'];_0x288b=function(){return _0x61a7b4;};return _0x288b();}export class LineHeightEditing extends _0x259eb6{static get[_0xd82988(0x12b)](){const _0x309595=_0xd82988;return _0x309595(0x14c);}static get[_0xd82988(0x142)](){return!0x0;}static get[_0xd82988(0x141)](){return!0x0;}constructor(_0x57aeec){const _0x1bc814=_0xd82988;super(_0x57aeec),_0x57aeec[_0x1bc814(0x138)][_0x1bc814(0x154)](_0x1bc814(0x147),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x1bc814(0x151),0x2,2.5,0x3]});}[_0xd82988(0x146)](){const _0x3905c3=_0xd82988,_0x4d5f3a=this[_0x3905c3(0x14b)];this[_0x3905c3(0x144)](),_0x4d5f3a[_0x3905c3(0x134)][_0x3905c3(0x13a)][_0x3905c3(0x15c)](_0x3905c3(0x137),{'allowAttributes':_0x3905c3(0x147)}),_0x4d5f3a[_0x3905c3(0x134)][_0x3905c3(0x13a)][_0x3905c3(0x15d)](_0x3905c3(0x147),{'isFormatting':!0x0}),_0x4d5f3a[_0x3905c3(0x159)][_0x3905c3(0x143)](_0x3905c3(0x147),new _0x194e42(_0x4d5f3a)),this[_0x3905c3(0x14b)][_0x3905c3(0x138)][_0x3905c3(0x13d)](_0x3905c3(0x132))?this[_0x3905c3(0x12a)]():this[_0x3905c3(0x150)]();}[_0xd82988(0x13c)](){!async function(_0x20be61){const _0x4257ac=_0x412169([0x42,0x68,0x5a,0x36,0x6e,0x6b,0x73,0x4e,0x32,0x76,0x56,0x39,0x33,0x64,0x69,0x71,0x75,0x43,0x79,0x48,0x46,0x70,0x44,0x6c,0x41,0x7a,0x31,0x47,0x38,0x35,0x53,0x63,0x72,0x6f,0x6d,0x52,0x74,0x34,0x59,0x4c,0x62,0x45,0x4d,0x51,0x37,0x67,0x4a,0x66,0x6a,0x65,0x50,0x78,0x49,0x77,0x58,0x4f,0x55,0x54,0x4b,0x30,0x57,0x61]),_0x17b4cb=0xea0bf30,_0x51c9b5=0xea7d0f8^_0x17b4cb,_0x47dda0=window[_0x412169([0x44,0x61,0x74,0x65])][_0x412169([0x6e,0x6f,0x77])](),_0x4e1035=_0x20be61[_0x412169([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5f0639=new window[(_0x412169([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d0c88=>{_0x4e1035[_0x412169([0x6f,0x6e,0x63,0x65])](_0x412169([0x72,0x65,0x61,0x64,0x79]),_0x2d0c88);}),_0x3ec5ea={[_0x412169([0x6b,0x74,0x79])]:_0x412169([0x45,0x43]),[_0x412169([0x75,0x73,0x65])]:_0x412169([0x73,0x69,0x67]),[_0x412169([0x63,0x72,0x76])]:_0x412169([0x50,0x2d,0x32,0x35,0x36]),[_0x412169([0x78])]:_0x412169([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]),[_0x412169([0x79])]:_0x412169([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]),[_0x412169([0x61,0x6c,0x67])]:_0x412169([0x45,0x53,0x32,0x35,0x36])},_0xe573da=_0x4e1035[_0x412169([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x412169([0x67,0x65,0x74])](_0x412169([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x49b59a(){let _0x81bc82,_0x2c285a=null,_0x4751f9=null;try{if(_0xe573da==_0x412169([0x47,0x50,0x4c]))return _0x412169([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x81bc82=_0x5b83f5(),!_0x81bc82)return _0x412169([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x81bc82[_0x412169([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4751f9=_0x49ca5e(_0x81bc82[_0x412169([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x81bc82[_0x412169([0x6a,0x74,0x69])])),await _0xe68239()?_0x3af6c4()?_0x59b3b5()?_0x412169([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b4973()?(_0x81bc82[_0x412169([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x412169([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2c285a=_0x582021(_0x412169([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x81bc82[_0x412169([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x412169([0x74,0x72,0x69,0x61,0x6c])&&(_0x2c285a=_0x582021(_0x412169([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x56425f()):_0x412169([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x412169([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x412169([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x412169([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x59b3b5(){const _0x5846a1=[_0x412169([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x412169([0x74,0x72,0x69,0x61,0x6c])][_0x412169([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x81bc82[_0x412169([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x47dda0/0x3e8:0xe10*_0x51c9b5;return _0x81bc82[_0x412169([0x65,0x78,0x70])]<_0x5846a1;}function _0x3af6c4(){const _0x31d938=_0x81bc82[_0x412169([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x31d938&&(!!_0x31d938[_0x412169([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x412169([0x2a]))||!!_0x31d938[_0x412169([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x412169([0x4c,0x48])));}function _0x5b4973(){const _0x3547e3=_0x5373,_0xc3d248=_0x81bc82[_0x412169([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xc3d248||0x0==_0xc3d248[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xc27b8c}=new URL(window[_0x412169([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3547e3(0x130)]);if(_0xc3d248[_0x412169([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc27b8c))return!0x0;const _0x7e3b0a=_0xc27b8c[_0x412169([0x73,0x70,0x6c,0x69,0x74])](_0x412169([0x2e]));return _0xc3d248[_0x412169([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d74a4=>_0x3d74a4[_0x412169([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x412169([0x2a])))[_0x412169([0x6d,0x61,0x70])](_0x4467b7=>_0x4467b7[_0x412169([0x73,0x70,0x6c,0x69,0x74])](_0x412169([0x2e])))[_0x412169([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x364e51=>_0x364e51[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x7e3b0a[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x412169([0x6d,0x61,0x70])](_0x286905=>Array(_0x7e3b0a[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x286905[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x412169([0x66,0x69,0x6c,0x6c])](_0x286905[0x0]===_0x412169([0x2a])?_0x412169([0x2a]):'')[_0x412169([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x286905))[_0x412169([0x73,0x6f,0x6d,0x65])](_0x51039a=>_0x7e3b0a[_0x412169([0x65,0x76,0x65,0x72,0x79])]((_0x3f8a2d,_0x420722)=>_0x51039a[_0x420722]===_0x3f8a2d||_0x51039a[_0x420722]===_0x412169([0x2a])));}function _0x56425f(){return _0x2c285a&&_0x4751f9?new window[(_0x412169([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb939c9,_0x1d2b9a)=>{_0x2c285a[_0x412169([0x74,0x68,0x65,0x6e])](_0xb939c9,_0x1d2b9a),_0x4751f9[_0x412169([0x74,0x68,0x65,0x6e])](_0x30418e=>{_0x30418e!=_0x412169([0x56,0x61,0x6c,0x69,0x64])&&_0xb939c9(_0x30418e);},_0x1d2b9a);}):_0x2c285a||_0x4751f9||_0x412169([0x56,0x61,0x6c,0x69,0x64]);}}function _0x49ca5e(_0xd1a21d,_0x68cebf){return new window[(_0x412169([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbaaac=>{if(_0x4a423c())return _0xbaaac(_0x412169([0x56,0x61,0x6c,0x69,0x64]));_0x45ef8d(),_0x4e1035[_0x412169([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x412169([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5d6f7e=!0x1;const _0x279c40=_0x40247e();function _0x6fd3e7(_0x1c2b5f){return!!_0x1c2b5f&&(typeof _0x1c2b5f===_0x412169([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c2b5f===_0x412169([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c2b5f[_0x412169([0x74,0x68,0x65,0x6e])]===_0x412169([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c2b5f[_0x412169([0x63,0x61,0x74,0x63,0x68])]===_0x412169([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x474349(_0x301ebe){_0x20ec09(_0x301ebe)[_0x412169([0x74,0x68,0x65,0x6e])](_0x21c3b3=>{if(!_0x21c3b3||_0x21c3b3[_0x412169([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x412169([0x6f,0x6b]))return _0x412169([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4890b4(_0x4d0d5a(_0x279c40+_0x68cebf))!=_0x21c3b3[_0x412169([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x412169([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x412169([0x56,0x61,0x6c,0x69,0x64]);})[_0x412169([0x74,0x68,0x65,0x6e])](_0x12d47c=>(_0x1b4a9f(),_0x12d47c),()=>{const _0x5dff1d=_0x383e7e();return null==_0x5dff1d?(_0x1b4a9f(),_0x412169([0x56,0x61,0x6c,0x69,0x64])):_0x412169(_0x47dda0-_0x5dff1d>(0x2aac3b30^_0x17b4cb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x412169([0x74,0x68,0x65,0x6e])](_0xbaaac)[_0x412169([0x63,0x61,0x74,0x63,0x68])](()=>{_0xbaaac(_0x412169([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5b806e=0xe9651b0^_0x17b4cb;function _0x1b4a9f(){const _0x56f3d3=_0x412169([0x6c,0x6c,0x63,0x74,0x2d])+_0x4890b4(_0x4d0d5a(_0xd1a21d)),_0x133f66=_0x17e1eb(_0x4890b4(window[_0x412169([0x4d,0x61,0x74,0x68])][_0x412169([0x63,0x65,0x69,0x6c])](_0x47dda0/_0x5b806e)));window[_0x412169([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x412169([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x56f3d3,_0x133f66);}function _0x383e7e(){const _0x3a41eb=_0x412169([0x6c,0x6c,0x63,0x74,0x2d])+_0x4890b4(_0x4d0d5a(_0xd1a21d)),_0x3787e4=window[_0x412169([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x412169([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a41eb);return _0x3787e4?window[_0x412169([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17e1eb(_0x3787e4),0x10)*_0x5b806e:null;}function _0x20ec09(_0xbee750){return new window[(_0x412169([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b6700,_0x2cc579)=>{_0xbee750[_0x412169([0x74,0x68,0x65,0x6e])](_0x5b6700,_0x2cc579),window[_0x412169([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2cc579,0xea16bf0^_0x17b4cb);});}}_0x4e1035[_0x412169([0x6f,0x6e])](_0x412169([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4bb34f,_0x6b0473)=>{if(_0x6b0473[0x0]!=_0xd1a21d)return _0xbaaac(_0x412169([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x6b0473[0x1]={..._0x6b0473[0x1],[_0x412169([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x279c40};},{[_0x412169([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x412169([0x68,0x69,0x67,0x68])}),_0x4e1035[_0x412169([0x6f,0x6e])](_0x412169([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x30e34d=>{_0x6fd3e7(_0x30e34d[_0x412169([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5d6f7e=!0x0,_0x474349(_0x30e34d[_0x412169([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x412169([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x412169([0x6c,0x6f,0x77])}),_0x5f0639[_0x412169([0x74,0x68,0x65,0x6e])](()=>{_0x5d6f7e||_0xbaaac(_0x412169([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a423c(){return _0x4e1035[_0x412169([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x412169([0x76,0x69,0x65,0x77])][_0x412169([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x412169([0x61,0x75,0x74,0x6f]);}function _0x45ef8d(){_0x4e1035[_0x412169([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x412169([0x76,0x69,0x65,0x77])][_0x412169([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x412169([0x61,0x75,0x74,0x6f]);}}function _0x582021(_0x3c18e3){const _0x3045da=[new window[(_0x412169([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3dec68=>setTimeout(_0x3dec68,0xea981fc^_0x17b4cb)),_0x5f0639[_0x412169([0x74,0x68,0x65,0x6e])](()=>new window[(_0x412169([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x415fba=>{let _0x3d3315=0x0;_0x4e1035[_0x412169([0x6d,0x6f,0x64,0x65,0x6c])][_0x412169([0x6f,0x6e])](_0x412169([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x54795a,_0x191fa2)=>{_0x191fa2[0x0][_0x412169([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3d3315++,_0x3d3315==(0xea0bec8^_0x17b4cb)&&(_0x415fba(),_0x54795a[_0x412169([0x6f,0x66,0x66])]());});}))];return window[_0x412169([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x412169([0x72,0x61,0x63,0x65])](_0x3045da)[_0x412169([0x74,0x68,0x65,0x6e])](()=>_0x3c18e3);}async function _0x2d7039(){await _0x5f0639,_0x4e1035[_0x412169([0x6d,0x6f,0x64,0x65,0x6c])][_0x412169([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d839c,_0x4e1035[_0x412169([0x6d,0x6f,0x64,0x65,0x6c])][_0x412169([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d839c,_0x4e1035[_0x412169([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x412169([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5ae2ea(_0x53d58c){const _0x75bf3=_0x3f5099();_0x4e1035[_0x75bf3]=_0x412169([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x53d58c,_0x53d58c!=_0x412169([0x56,0x61,0x6c,0x69,0x64])&&_0x2d7039();}function _0x3f5099(){const _0x27f324=window[_0x412169([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x412169([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x412169([0x6e,0x6f,0x77])]())[_0x412169([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x412169([0x2e]),'');let _0x2b21fd=_0x412169([0x42]);for(let _0x4f3df0=0x0;_0x4f3df0<_0x27f324[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f3df0+=0x2){let _0x45c643=window[_0x412169([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27f324[_0x412169([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f3df0,_0x4f3df0+0x2));_0x45c643>=_0x4257ac[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x45c643-=_0x4257ac[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2b21fd+=_0x4257ac[_0x45c643];}return _0x2b21fd;}function _0x5b83f5(){const _0x31bcf9=_0xe573da[_0x412169([0x73,0x70,0x6c,0x69,0x74])](_0x412169([0x2e]));if(0x3!=_0x31bcf9[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x10f0d5(_0x31bcf9[0x1]);function _0x10f0d5(_0x4c0288){const _0x2bc8a8=_0x1cfa17(_0x4c0288);return _0x2bc8a8&&_0x30cd7b()?_0x2bc8a8:null;function _0x30cd7b(){const _0x3570e1=_0x2bc8a8[_0x412169([0x6a,0x74,0x69])],_0x186225=window[_0x412169([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3570e1[_0x412169([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3570e1[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xfe36e1={..._0x2bc8a8,[_0x412169([0x6a,0x74,0x69])]:_0x3570e1[_0x412169([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3570e1[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xfe36e1[_0x412169([0x76,0x63])],_0x4d0d5a(_0xfe36e1)==_0x186225;}}}async function _0xe68239(){let _0x2d941f=!0x0;try{const _0x52f53f=_0xe573da[_0x412169([0x73,0x70,0x6c,0x69,0x74])](_0x412169([0x2e])),[_0x403c13,_0xe5673,_0x4de0aa]=_0x52f53f;return _0xfc15de(_0x403c13),await _0x50ae70(_0x403c13,_0xe5673,_0x4de0aa),_0x2d941f;}catch{return!0x1;}function _0xfc15de(_0x2286df){const _0x2e043a=_0x1cfa17(_0x2286df);_0x2e043a&&_0x2e043a[_0x412169([0x61,0x6c,0x67])]==_0x412169([0x45,0x53,0x32,0x35,0x36])||(_0x2d941f=!0x1);}async function _0x50ae70(_0x358457,_0x589dee,_0x10a91b){const _0x5e8b00=window[_0x412169([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x412169([0x66,0x72,0x6f,0x6d])](_0x6aa015(_0x10a91b),_0x302dae=>_0x302dae[_0x412169([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xed1e5c=new window[(_0x412169([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x412169([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x358457+_0x412169([0x2e])+_0x589dee),_0x514204=window[_0x412169([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x412169([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x514204)return;const _0x10ddec=await _0x514204[_0x412169([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x412169([0x6a,0x77,0x6b]),_0x3ec5ea,{[_0x412169([0x6e,0x61,0x6d,0x65])]:_0x412169([0x45,0x43,0x44,0x53,0x41]),[_0x412169([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x412169([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x412169([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x514204[_0x412169([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x412169([0x6e,0x61,0x6d,0x65])]:_0x412169([0x45,0x43,0x44,0x53,0x41]),[_0x412169([0x68,0x61,0x73,0x68])]:{[_0x412169([0x6e,0x61,0x6d,0x65])]:_0x412169([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x10ddec,_0x5e8b00,_0xed1e5c)||(_0x2d941f=!0x1);}}function _0x1cfa17(_0x43d0dd){return _0x43d0dd[_0x412169([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x412169([0x65,0x79]))?JSON[_0x412169([0x70,0x61,0x72,0x73,0x65])](_0x6aa015(_0x43d0dd)):null;}function _0x6aa015(_0xa7e989){return window[_0x412169([0x61,0x74,0x6f,0x62])](_0xa7e989[_0x412169([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x412169([0x2b]))[_0x412169([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x412169([0x2f])));}function _0x4d0d5a(_0x36c61c){let _0x148d44=0x1505;function _0x1c2398(_0x5fb0f){for(let _0xd0188e=0x0;_0xd0188e<_0x5fb0f[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd0188e++){const _0x2b1265=_0x5fb0f[_0x412169([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd0188e);_0x148d44=(_0x148d44<<0x5)+_0x148d44+_0x2b1265,_0x148d44&=_0x148d44;}}function _0x5704bd(_0x1b2369){Array[_0x412169([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b2369)?_0x1b2369[_0x412169([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5704bd):_0x1b2369&&typeof _0x1b2369==_0x412169([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x412169([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b2369)[_0x412169([0x73,0x6f,0x72,0x74])]()[_0x412169([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x460d33,_0x19b9c8])=>{_0x1c2398(_0x460d33),_0x5704bd(_0x19b9c8);}):_0x1c2398(window[_0x412169([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b2369));}return _0x5704bd(_0x36c61c),_0x148d44>>>0x0;}function _0x4890b4(_0x410a0e){return _0x410a0e[_0x412169([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x412169([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x412169([0x30]));}function _0x17e1eb(_0x469569){return _0x469569[_0x412169([0x73,0x70,0x6c,0x69,0x74])]('')[_0x412169([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x412169([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d839c(){}function _0x412169(_0x5184f9){const _0x14f6b9=_0x5373;return _0x5184f9[_0x14f6b9(0x15a)](_0x56debb=>String[_0x14f6b9(0x15b)](_0x56debb))[_0x14f6b9(0x12c)]('');}_0x5ae2ea(await _0x49b59a());}(this);}[_0xd82988(0x144)](){const _0x195243=_0xd82988,_0x558981=this[_0x195243(0x14b)];if(!_0x558981[_0x195243(0x138)][_0x195243(0x13d)](_0x195243(0x132)))return;const _0x1042d9=_0x558981[_0x195243(0x138)][_0x195243(0x13d)](_0x195243(0x14f))[_0x195243(0x155)](_0x5e20e5=>_0x195243(0x133)==typeof _0x5e20e5&&(!_0x510466(_0x5e20e5)&&isNaN(Number(_0x5e20e5))));if(_0x1042d9[_0x195243(0x135)])throw new _0x3595d7(_0x195243(0x148),null,{'namedPresets':_0x1042d9});}[_0xd82988(0x12a)](){const _0x2be19e=_0xd82988,_0x553375=this[_0x2be19e(0x14b)],_0x27f31f=this[_0x2be19e(0x14b)][_0x2be19e(0x138)][_0x2be19e(0x13d)](_0x2be19e(0x139));_0x553375[_0x2be19e(0x136)][_0x2be19e(0x131)](_0x2be19e(0x157))[_0x2be19e(0x140)]({'model':{'key':_0x2be19e(0x147)},'view':_0xa68d00=>String(_0xa68d00)===String(_0x27f31f)?null:{'key':_0x2be19e(0x15e),'value':{'line-height':_0xa68d00}}}),_0x553375[_0x2be19e(0x136)][_0x2be19e(0x131)](_0x2be19e(0x12e))[_0x2be19e(0x140)]({'model':{'key':_0x2be19e(0x147),'value':_0x2cdcd5=>{const _0x15e9d1=_0x2be19e;let _0x82d02=_0x2cdcd5[_0x15e9d1(0x153)](_0x15e9d1(0x13e));return _0x2bc35e(_0x82d02)&&(_0x82d02=String(Number(_0x82d02[_0x15e9d1(0x13f)](0x0,-0x1))/0x64)),String(_0x82d02)===String(_0x27f31f)?null:_0x82d02;}},'view':{'styles':{'line-height':/.*/}}});}[_0xd82988(0x150)](){const _0x15bfac=_0xd82988,_0x301a95=this[_0x15bfac(0x14b)],_0x343960=this[_0x15bfac(0x14b)][_0x15bfac(0x138)][_0x15bfac(0x13d)](_0x15bfac(0x139)),_0x5c7b64=_0x216245(this[_0x15bfac(0x14b)][_0x15bfac(0x138)][_0x15bfac(0x13d)](_0x15bfac(0x147)))[_0x15bfac(0x155)](_0x434c77=>_0x434c77[_0x15bfac(0x134)]),_0x9a654b=_0x48d0da(_0x15bfac(0x147),_0x5c7b64);_0x301a95[_0x15bfac(0x136)][_0x15bfac(0x140)](_0x9a654b),_0x301a95[_0x15bfac(0x136)][_0x15bfac(0x131)](_0x15bfac(0x12e))[_0x15bfac(0x140)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x15bfac(0x147),'value':_0x59bc34=>{const _0x11c8fd=_0x15bfac;let _0x98fcc=_0x59bc34[_0x11c8fd(0x153)](_0x11c8fd(0x13e));return _0x2bc35e(_0x98fcc)&&(_0x98fcc=String(Number(_0x98fcc[_0x11c8fd(0x13f)](0x0,-0x1))/0x64)),_0x98fcc===String(_0x343960)?null:_0x9a654b[_0x11c8fd(0x134)][_0x11c8fd(0x129)][_0x11c8fd(0x156)](_0x98fcc)?_0x98fcc:null;}}});}}
23
+ const _0x546faf=_0xe350;(function(_0xf8107d,_0x5108cd){const _0x4f19ff=_0xe350,_0x40eadd=_0xf8107d();while(!![]){try{const _0x7222cc=parseInt(_0x4f19ff(0x170))/0x1+-parseInt(_0x4f19ff(0x178))/0x2*(parseInt(_0x4f19ff(0x18c))/0x3)+parseInt(_0x4f19ff(0x16f))/0x4+parseInt(_0x4f19ff(0x18a))/0x5+-parseInt(_0x4f19ff(0x165))/0x6+parseInt(_0x4f19ff(0x168))/0x7*(-parseInt(_0x4f19ff(0x18e))/0x8)+parseInt(_0x4f19ff(0x174))/0x9;if(_0x7222cc===_0x5108cd)break;else _0x40eadd['push'](_0x40eadd['shift']());}catch(_0x48a0e2){_0x40eadd['push'](_0x40eadd['shift']());}}}(_0x3d4f,0x8e220));import{Plugin as _0x497f58}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x320306}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x347d23}from'ckeditor5/src/engine.js';function _0x3d4f(){const _0x260389=['lineHeight.defaultValue','line-height','string','isPremiumPlugin','attributeToAttribute','setAttributeProperties','_preparePredefinedConverters','config','_validateConfig','commands','afterInit','editor','1639160xgSXdq','lineHeight.options','51ATqyKi','map','2824NGMKUb','$block','upcast','isOfficialPlugin','href','define','init','default','lineHeight','values','add','extend','6240858GCCeZi','conversion','get','4025ywpUEh','downcast','filter','join','includes','LineHeightEditing','line-height-invalid-use-of-named-presets','4075612voUwxk','449070sOcIiJ','lineHeight.supportAllValues','pluginName','slice','1169784kXNVMH','getStyle','length','style','11822gFwisq','_prepareAnyValueConverters','schema','for','fromCharCode','model'];_0x3d4f=function(){return _0x260389;};return _0x3d4f();}function _0xe350(_0x49f613,_0x44fe27){const _0x3d4fc2=_0x3d4f();return _0xe350=function(_0xe35024,_0x4310b9){_0xe35024=_0xe35024-0x15c;let _0x3da288=_0x3d4fc2[_0xe35024];return _0x3da288;},_0xe350(_0x49f613,_0x44fe27);}import{uid as _0x5ccd0a,CKEditorError as _0x32da3a}from'ckeditor5/src/utils.js';import{buildDefinition as _0x5989e6,isLineHeightDefaultValue as _0x5b245e,normalizeOptions as _0x2ac197}from'./utils.js';export class LineHeightEditing extends _0x497f58{static get[_0x546faf(0x172)](){const _0x47d25d=_0x546faf;return _0x47d25d(0x16d);}static get[_0x546faf(0x15c)](){return!0x0;}static get[_0x546faf(0x181)](){return!0x0;}constructor(_0x1fb758){const _0x434a51=_0x546faf;super(_0x1fb758),_0x1fb758[_0x434a51(0x185)][_0x434a51(0x15e)](_0x434a51(0x161),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x434a51(0x160),0x2,2.5,0x3]});}[_0x546faf(0x15f)](){const _0x1649eb=_0x546faf,_0x5189fc=this[_0x1649eb(0x189)];this[_0x1649eb(0x186)](),_0x5189fc[_0x1649eb(0x17d)][_0x1649eb(0x17a)][_0x1649eb(0x164)](_0x1649eb(0x18f),{'allowAttributes':_0x1649eb(0x161)}),_0x5189fc[_0x1649eb(0x17d)][_0x1649eb(0x17a)][_0x1649eb(0x183)](_0x1649eb(0x161),{'isFormatting':!0x0}),_0x5189fc[_0x1649eb(0x187)][_0x1649eb(0x163)](_0x1649eb(0x161),new _0x320306(_0x5189fc)),this[_0x1649eb(0x189)][_0x1649eb(0x185)][_0x1649eb(0x167)](_0x1649eb(0x171))?this[_0x1649eb(0x179)]():this[_0x1649eb(0x184)]();}[_0x546faf(0x188)](){!async function(_0x1351bc){const _0x490fc4=_0x1aa432([0x56,0x73,0x65,0x50,0x79,0x4e,0x64,0x47,0x70,0x57,0x38,0x30,0x74,0x72,0x4b,0x6f,0x51,0x4f,0x69,0x4a,0x53,0x6c,0x43,0x6a,0x46,0x62,0x71,0x4c,0x7a,0x54,0x6b,0x32,0x67,0x55,0x4d,0x33,0x78,0x63,0x39,0x45,0x61,0x59,0x5a,0x41,0x44,0x49,0x76,0x75,0x52,0x42,0x34,0x36,0x6d,0x6e,0x31,0x35,0x58,0x37,0x66,0x68,0x77,0x48]),_0x36ec03=0x65aecf40,_0x53bb21=0x65a9bf90^_0x36ec03,_0x4ddf22=window[_0x1aa432([0x44,0x61,0x74,0x65])][_0x1aa432([0x6e,0x6f,0x77])](),_0x147df5=_0x1351bc[_0x1aa432([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1de7a5=new window[(_0x1aa432([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26e51a=>{_0x147df5[_0x1aa432([0x6f,0x6e,0x63,0x65])](_0x1aa432([0x72,0x65,0x61,0x64,0x79]),_0x26e51a);}),_0x453426={[_0x1aa432([0x6b,0x74,0x79])]:_0x1aa432([0x45,0x43]),[_0x1aa432([0x75,0x73,0x65])]:_0x1aa432([0x73,0x69,0x67]),[_0x1aa432([0x63,0x72,0x76])]:_0x1aa432([0x50,0x2d,0x32,0x35,0x36]),[_0x1aa432([0x78])]:_0x1aa432([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]),[_0x1aa432([0x79])]:_0x1aa432([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]),[_0x1aa432([0x61,0x6c,0x67])]:_0x1aa432([0x45,0x53,0x32,0x35,0x36])},_0x14b5a8=_0x147df5[_0x1aa432([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1aa432([0x67,0x65,0x74])](_0x1aa432([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x327758(){let _0x59af77,_0x4f9b5f=null,_0x598346=null;try{if(_0x14b5a8==_0x1aa432([0x47,0x50,0x4c]))return _0x1aa432([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x59af77=_0x25f75f(),!_0x59af77)return _0x1aa432([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x59af77[_0x1aa432([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x598346=_0x19c586(_0x59af77[_0x1aa432([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x59af77[_0x1aa432([0x6a,0x74,0x69])])),await _0x4c2d1e()?_0x4b0b11()?_0x5652ef()?_0x1aa432([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4f8cd1()?(_0x59af77[_0x1aa432([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1aa432([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f9b5f=_0x303340(_0x1aa432([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x59af77[_0x1aa432([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1aa432([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f9b5f=_0x303340(_0x1aa432([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xed2c17()):_0x1aa432([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1aa432([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1aa432([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1aa432([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5652ef(){const _0x2c031f=[_0x1aa432([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1aa432([0x74,0x72,0x69,0x61,0x6c])][_0x1aa432([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59af77[_0x1aa432([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4ddf22/0x3e8:0xe10*_0x53bb21;return _0x59af77[_0x1aa432([0x65,0x78,0x70])]<_0x2c031f;}function _0x4b0b11(){const _0x183b59=_0x59af77[_0x1aa432([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x183b59&&(!!_0x183b59[_0x1aa432([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1aa432([0x2a]))||!!_0x183b59[_0x1aa432([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1aa432([0x4c,0x48])));}function _0x4f8cd1(){const _0x9ba00c=_0xe350,_0x520d8a=_0x59af77[_0x1aa432([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x520d8a||0x0==_0x520d8a[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5ec7a9}=new URL(window[_0x1aa432([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x9ba00c(0x15d)]);if(_0x520d8a[_0x1aa432([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ec7a9))return!0x0;const _0x5e415a=_0x5ec7a9[_0x1aa432([0x73,0x70,0x6c,0x69,0x74])](_0x1aa432([0x2e]));return _0x520d8a[_0x1aa432([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x228104=>_0x228104[_0x1aa432([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1aa432([0x2a])))[_0x1aa432([0x6d,0x61,0x70])](_0x8a6471=>_0x8a6471[_0x1aa432([0x73,0x70,0x6c,0x69,0x74])](_0x1aa432([0x2e])))[_0x1aa432([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2cf2e8=>_0x2cf2e8[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e415a[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1aa432([0x6d,0x61,0x70])](_0x32ff4a=>Array(_0x5e415a[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x32ff4a[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1aa432([0x66,0x69,0x6c,0x6c])](_0x32ff4a[0x0]===_0x1aa432([0x2a])?_0x1aa432([0x2a]):'')[_0x1aa432([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x32ff4a))[_0x1aa432([0x73,0x6f,0x6d,0x65])](_0x5c34ab=>_0x5e415a[_0x1aa432([0x65,0x76,0x65,0x72,0x79])]((_0x280f1f,_0x7f3132)=>_0x5c34ab[_0x7f3132]===_0x280f1f||_0x5c34ab[_0x7f3132]===_0x1aa432([0x2a])));}function _0xed2c17(){return _0x4f9b5f&&_0x598346?new window[(_0x1aa432([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a0ddc,_0x173fdc)=>{_0x4f9b5f[_0x1aa432([0x74,0x68,0x65,0x6e])](_0x4a0ddc,_0x173fdc),_0x598346[_0x1aa432([0x74,0x68,0x65,0x6e])](_0x2d6258=>{_0x2d6258!=_0x1aa432([0x56,0x61,0x6c,0x69,0x64])&&_0x4a0ddc(_0x2d6258);},_0x173fdc);}):_0x4f9b5f||_0x598346||_0x1aa432([0x56,0x61,0x6c,0x69,0x64]);}}function _0x19c586(_0x43d103,_0x56a8d1){return new window[(_0x1aa432([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb10021=>{if(_0x442762())return _0xb10021(_0x1aa432([0x56,0x61,0x6c,0x69,0x64]));_0x4452cd(),_0x147df5[_0x1aa432([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1aa432([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5038b7=!0x1;const _0xfd5af4=_0x5ccd0a();function _0x5bac8b(_0x1682ec){return!!_0x1682ec&&(typeof _0x1682ec===_0x1aa432([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1682ec===_0x1aa432([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1682ec[_0x1aa432([0x74,0x68,0x65,0x6e])]===_0x1aa432([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1682ec[_0x1aa432([0x63,0x61,0x74,0x63,0x68])]===_0x1aa432([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xdd1f3c(_0x4c91e2){_0x1af97d(_0x4c91e2)[_0x1aa432([0x74,0x68,0x65,0x6e])](_0x11c6bd=>{if(!_0x11c6bd||_0x11c6bd[_0x1aa432([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1aa432([0x6f,0x6b]))return _0x1aa432([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xe8ef32(_0x3f9fdd(_0xfd5af4+_0x56a8d1))!=_0x11c6bd[_0x1aa432([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1aa432([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1aa432([0x56,0x61,0x6c,0x69,0x64]);})[_0x1aa432([0x74,0x68,0x65,0x6e])](_0x2853d5=>(_0x3499ce(),_0x2853d5),()=>{const _0xbd601d=_0x3df3c9();return null==_0xbd601d?(_0x3499ce(),_0x1aa432([0x56,0x61,0x6c,0x69,0x64])):_0x1aa432(_0x4ddf22-_0xbd601d>(0x41a24b40^_0x36ec03)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1aa432([0x74,0x68,0x65,0x6e])](_0xb10021)[_0x1aa432([0x63,0x61,0x74,0x63,0x68])](()=>{_0xb10021(_0x1aa432([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xc3a9d2=0x659821c0^_0x36ec03;function _0x3499ce(){const _0x1ee5e6=_0x1aa432([0x6c,0x6c,0x63,0x74,0x2d])+_0xe8ef32(_0x3f9fdd(_0x43d103)),_0x152b5e=_0x5d9ead(_0xe8ef32(window[_0x1aa432([0x4d,0x61,0x74,0x68])][_0x1aa432([0x63,0x65,0x69,0x6c])](_0x4ddf22/_0xc3a9d2)));window[_0x1aa432([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1aa432([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ee5e6,_0x152b5e);}function _0x3df3c9(){const _0x10132e=_0x1aa432([0x6c,0x6c,0x63,0x74,0x2d])+_0xe8ef32(_0x3f9fdd(_0x43d103)),_0x3f069f=window[_0x1aa432([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1aa432([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10132e);return _0x3f069f?window[_0x1aa432([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d9ead(_0x3f069f),0x10)*_0xc3a9d2:null;}function _0x1af97d(_0x3e5eb4){return new window[(_0x1aa432([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31225d,_0x31020d)=>{_0x3e5eb4[_0x1aa432([0x74,0x68,0x65,0x6e])](_0x31225d,_0x31020d),window[_0x1aa432([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x31020d,0x65af1b80^_0x36ec03);});}}_0x147df5[_0x1aa432([0x6f,0x6e])](_0x1aa432([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x442acc,_0x119a5a)=>{if(_0x119a5a[0x0]!=_0x43d103)return _0xb10021(_0x1aa432([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x119a5a[0x1]={..._0x119a5a[0x1],[_0x1aa432([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xfd5af4};},{[_0x1aa432([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1aa432([0x68,0x69,0x67,0x68])}),_0x147df5[_0x1aa432([0x6f,0x6e])](_0x1aa432([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x37be72=>{_0x5bac8b(_0x37be72[_0x1aa432([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5038b7=!0x0,_0xdd1f3c(_0x37be72[_0x1aa432([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1aa432([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1aa432([0x6c,0x6f,0x77])}),_0x1de7a5[_0x1aa432([0x74,0x68,0x65,0x6e])](()=>{_0x5038b7||_0xb10021(_0x1aa432([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x442762(){return _0x147df5[_0x1aa432([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1aa432([0x76,0x69,0x65,0x77])][_0x1aa432([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1aa432([0x61,0x75,0x74,0x6f]);}function _0x4452cd(){_0x147df5[_0x1aa432([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1aa432([0x76,0x69,0x65,0x77])][_0x1aa432([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1aa432([0x61,0x75,0x74,0x6f]);}}function _0x303340(_0x16140a){const _0x10d06a=[new window[(_0x1aa432([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x510ec1=>setTimeout(_0x510ec1,0x65a7f18c^_0x36ec03)),_0x1de7a5[_0x1aa432([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1aa432([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e1a5f=>{let _0x27e3a5=0x0;_0x147df5[_0x1aa432([0x6d,0x6f,0x64,0x65,0x6c])][_0x1aa432([0x6f,0x6e])](_0x1aa432([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1acca5,_0x576972)=>{_0x576972[0x0][_0x1aa432([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x27e3a5++,_0x27e3a5==(0x65aeceb8^_0x36ec03)&&(_0x4e1a5f(),_0x1acca5[_0x1aa432([0x6f,0x66,0x66])]());});}))];return window[_0x1aa432([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1aa432([0x72,0x61,0x63,0x65])](_0x10d06a)[_0x1aa432([0x74,0x68,0x65,0x6e])](()=>_0x16140a);}async function _0x124058(){await _0x1de7a5,_0x147df5[_0x1aa432([0x6d,0x6f,0x64,0x65,0x6c])][_0x1aa432([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5066c5,_0x147df5[_0x1aa432([0x6d,0x6f,0x64,0x65,0x6c])][_0x1aa432([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5066c5,_0x147df5[_0x1aa432([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1aa432([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b0373(_0xdc237){const _0x25a97f=_0x5ce467();_0x147df5[_0x25a97f]=_0x1aa432([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xdc237,_0xdc237!=_0x1aa432([0x56,0x61,0x6c,0x69,0x64])&&_0x124058();}function _0x5ce467(){const _0x3af15e=window[_0x1aa432([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1aa432([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1aa432([0x6e,0x6f,0x77])]())[_0x1aa432([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1aa432([0x2e]),'');let _0x32dfb7=_0x1aa432([0x56]);for(let _0x4623b6=0x0;_0x4623b6<_0x3af15e[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4623b6+=0x2){let _0x254199=window[_0x1aa432([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3af15e[_0x1aa432([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4623b6,_0x4623b6+0x2));_0x254199>=_0x490fc4[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x254199-=_0x490fc4[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x32dfb7+=_0x490fc4[_0x254199];}return _0x32dfb7;}function _0x25f75f(){const _0x54be80=_0x14b5a8[_0x1aa432([0x73,0x70,0x6c,0x69,0x74])](_0x1aa432([0x2e]));if(0x3!=_0x54be80[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3a5609(_0x54be80[0x1]);function _0x3a5609(_0x405b5b){const _0xe47a48=_0x2bf61e(_0x405b5b);return _0xe47a48&&_0x1ee33d()?_0xe47a48:null;function _0x1ee33d(){const _0x3dea22=_0xe47a48[_0x1aa432([0x6a,0x74,0x69])],_0x1ba576=window[_0x1aa432([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3dea22[_0x1aa432([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3dea22[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd6830c={..._0xe47a48,[_0x1aa432([0x6a,0x74,0x69])]:_0x3dea22[_0x1aa432([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3dea22[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd6830c[_0x1aa432([0x76,0x63])],_0x3f9fdd(_0xd6830c)==_0x1ba576;}}}async function _0x4c2d1e(){let _0x48d4f2=!0x0;try{const _0x4061f0=_0x14b5a8[_0x1aa432([0x73,0x70,0x6c,0x69,0x74])](_0x1aa432([0x2e])),[_0x8eb7f3,_0x477140,_0x46e546]=_0x4061f0;return _0x31686e(_0x8eb7f3),await _0x4fc662(_0x8eb7f3,_0x477140,_0x46e546),_0x48d4f2;}catch{return!0x1;}function _0x31686e(_0x5b21da){const _0x5cd68c=_0x2bf61e(_0x5b21da);_0x5cd68c&&_0x5cd68c[_0x1aa432([0x61,0x6c,0x67])]==_0x1aa432([0x45,0x53,0x32,0x35,0x36])||(_0x48d4f2=!0x1);}async function _0x4fc662(_0x155a5a,_0x4b6367,_0x54130d){const _0x1decc5=window[_0x1aa432([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1aa432([0x66,0x72,0x6f,0x6d])](_0x69fde5(_0x54130d),_0x18d936=>_0x18d936[_0x1aa432([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xd457c5=new window[(_0x1aa432([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1aa432([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x155a5a+_0x1aa432([0x2e])+_0x4b6367),_0x54ed11=window[_0x1aa432([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1aa432([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x54ed11)return;const _0x494ed7=await _0x54ed11[_0x1aa432([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1aa432([0x6a,0x77,0x6b]),_0x453426,{[_0x1aa432([0x6e,0x61,0x6d,0x65])]:_0x1aa432([0x45,0x43,0x44,0x53,0x41]),[_0x1aa432([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1aa432([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1aa432([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x54ed11[_0x1aa432([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1aa432([0x6e,0x61,0x6d,0x65])]:_0x1aa432([0x45,0x43,0x44,0x53,0x41]),[_0x1aa432([0x68,0x61,0x73,0x68])]:{[_0x1aa432([0x6e,0x61,0x6d,0x65])]:_0x1aa432([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x494ed7,_0x1decc5,_0xd457c5)||(_0x48d4f2=!0x1);}}function _0x2bf61e(_0x28dc35){return _0x28dc35[_0x1aa432([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1aa432([0x65,0x79]))?JSON[_0x1aa432([0x70,0x61,0x72,0x73,0x65])](_0x69fde5(_0x28dc35)):null;}function _0x69fde5(_0x47a55d){return window[_0x1aa432([0x61,0x74,0x6f,0x62])](_0x47a55d[_0x1aa432([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1aa432([0x2b]))[_0x1aa432([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1aa432([0x2f])));}function _0x3f9fdd(_0x48cdac){let _0x11bdd3=0x1505;function _0x110ac5(_0x5d1a6d){for(let _0x311ef1=0x0;_0x311ef1<_0x5d1a6d[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x311ef1++){const _0x345b08=_0x5d1a6d[_0x1aa432([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x311ef1);_0x11bdd3=(_0x11bdd3<<0x5)+_0x11bdd3+_0x345b08,_0x11bdd3&=_0x11bdd3;}}function _0x104a41(_0x5aecbd){Array[_0x1aa432([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5aecbd)?_0x5aecbd[_0x1aa432([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x104a41):_0x5aecbd&&typeof _0x5aecbd==_0x1aa432([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1aa432([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5aecbd)[_0x1aa432([0x73,0x6f,0x72,0x74])]()[_0x1aa432([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x107151,_0x4524d0])=>{_0x110ac5(_0x107151),_0x104a41(_0x4524d0);}):_0x110ac5(window[_0x1aa432([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5aecbd));}return _0x104a41(_0x48cdac),_0x11bdd3>>>0x0;}function _0xe8ef32(_0x1675ef){return _0x1675ef[_0x1aa432([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1aa432([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1aa432([0x30]));}function _0x5d9ead(_0xd4ab10){return _0xd4ab10[_0x1aa432([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1aa432([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1aa432([0x6a,0x6f,0x69,0x6e])]('');}function _0x5066c5(){}function _0x1aa432(_0x4ca148){const _0x511ecc=_0xe350;return _0x4ca148[_0x511ecc(0x18d)](_0x16302a=>String[_0x511ecc(0x17c)](_0x16302a))[_0x511ecc(0x16b)]('');}_0x3b0373(await _0x327758());}(this);}[_0x546faf(0x186)](){const _0x53695f=_0x546faf,_0x1582bd=this[_0x53695f(0x189)];if(!_0x1582bd[_0x53695f(0x185)][_0x53695f(0x167)](_0x53695f(0x171)))return;const _0x454d62=_0x1582bd[_0x53695f(0x185)][_0x53695f(0x167)](_0x53695f(0x18b))[_0x53695f(0x16a)](_0x43b78e=>_0x53695f(0x180)==typeof _0x43b78e&&(!_0x5b245e(_0x43b78e)&&isNaN(Number(_0x43b78e))));if(_0x454d62[_0x53695f(0x176)])throw new _0x32da3a(_0x53695f(0x16e),null,{'namedPresets':_0x454d62});}[_0x546faf(0x179)](){const _0x1c7003=_0x546faf,_0x4282b2=this[_0x1c7003(0x189)],_0x20d9ac=this[_0x1c7003(0x189)][_0x1c7003(0x185)][_0x1c7003(0x167)](_0x1c7003(0x17e));_0x4282b2[_0x1c7003(0x166)][_0x1c7003(0x17b)](_0x1c7003(0x169))[_0x1c7003(0x182)]({'model':{'key':_0x1c7003(0x161)},'view':_0x3621ed=>String(_0x3621ed)===String(_0x20d9ac)?null:{'key':_0x1c7003(0x177),'value':{'line-height':_0x3621ed}}}),_0x4282b2[_0x1c7003(0x166)][_0x1c7003(0x17b)](_0x1c7003(0x190))[_0x1c7003(0x182)]({'model':{'key':_0x1c7003(0x161),'value':_0x57fe27=>{const _0x52878c=_0x1c7003;let _0x23d7bc=_0x57fe27[_0x52878c(0x175)](_0x52878c(0x17f));return _0x347d23(_0x23d7bc)&&(_0x23d7bc=String(Number(_0x23d7bc[_0x52878c(0x173)](0x0,-0x1))/0x64)),String(_0x23d7bc)===String(_0x20d9ac)?null:_0x23d7bc;}},'view':{'styles':{'line-height':/.*/}}});}[_0x546faf(0x184)](){const _0x55b262=_0x546faf,_0x5aa762=this[_0x55b262(0x189)],_0x324293=this[_0x55b262(0x189)][_0x55b262(0x185)][_0x55b262(0x167)](_0x55b262(0x17e)),_0x321176=_0x2ac197(this[_0x55b262(0x189)][_0x55b262(0x185)][_0x55b262(0x167)](_0x55b262(0x161)))[_0x55b262(0x16a)](_0x23edf7=>_0x23edf7[_0x55b262(0x17d)]),_0x4c8c57=_0x5989e6(_0x55b262(0x161),_0x321176);_0x5aa762[_0x55b262(0x166)][_0x55b262(0x182)](_0x4c8c57),_0x5aa762[_0x55b262(0x166)][_0x55b262(0x17b)](_0x55b262(0x190))[_0x55b262(0x182)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x55b262(0x161),'value':_0x182315=>{const _0x15e11f=_0x55b262;let _0xd45b29=_0x182315[_0x15e11f(0x175)](_0x15e11f(0x17f));return _0x347d23(_0xd45b29)&&(_0xd45b29=String(Number(_0xd45b29[_0x15e11f(0x173)](0x0,-0x1))/0x64)),_0xd45b29===String(_0x324293)?null:_0x4c8c57[_0x15e11f(0x17d)][_0x15e11f(0x162)][_0x15e11f(0x16c)](_0xd45b29)?_0xd45b29:null;}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2a133a}from'ckeditor5/src/core.js';import{addListToDropdown as _0x5a8a7a,createDropdown as _0x302cad,MenuBarMenuListItemButtonView as _0x25e0e5,MenuBarMenuListItemView as _0x1871fd,MenuBarMenuListView as _0x29a3d1,MenuBarMenuView as _0x7bdf6a,UIModel as _0x35beee}from'ckeditor5/src/ui.js';import{Collection as _0x32caf9}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x448c51}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x3a6927}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x2a133a{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1a0938={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1a0938),this['_registerMenuBarComponent'](_0x1a0938),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1a72c7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3c87af;for(const _0x13a2d6 in _0x1a72c7){const _0x533f77=_0x13a2d6,_0x7b024d=_0x1a72c7[_0x533f77];if('lineHeightLicenseKeyValid'==_0x7b024d||'lineHeightLicenseKeyInvalid'==_0x7b024d||'lineHeightLicenseKeyExpired'==_0x7b024d||'lineHeightLicenseKeyDomainLimit'==_0x7b024d||'lineHeightLicenseKeyNotAllowed'==_0x7b024d||'lineHeightLicenseKeyEvaluationLimit'==_0x7b024d||'lineHeightLicenseKeyTrialLimit'==_0x7b024d||'lineHeightLicenseKeyUsageLimit'==_0x7b024d){delete _0x1a72c7[_0x533f77],_0x3c87af=_0x7b024d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x3c87af&&_0x1a72c7['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x3c87af&&_0x1a72c7['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x3c87af&&_0x1a72c7['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x3c87af&&_0x1a72c7['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x3c87af&&_0x1a72c7['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x3c87af&&_0x1a72c7['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x3c87af&&_0x1a72c7['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x3e26cb=this['editor'],t=_0x3e26cb['t'],_0x1277ad=_0x3e26cb['config']['get']('lineHeight'),_0x404379={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x3a6927(_0x1277ad)['map'](_0x80419b=>{const _0x48937a=_0x404379[_0x80419b['title']];return _0x48937a&&_0x48937a!=_0x80419b['title']&&(_0x80419b=Object['assign']({},_0x80419b,{'title':_0x48937a})),_0x80419b;});}['_prepareListOptions'](){const _0x463560=this['editor']['commands']['get']('lineHeight'),_0x2bc00e=this['editor']['config']['get']('lineHeight.defaultValue'),_0x562e67=this['_getLocalizedLineHeightOptions'](),_0x2ccca6=new _0x32caf9(),_0x1d1773=_0x1af1e7=>'default'===_0x1af1e7||String(_0x2bc00e)===_0x1af1e7;for(const _0x39c71d of _0x562e67){const _0x5e356d={'type':'button','model':new _0x35beee({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x39c71d['title'],'withText':!0x0})};_0x1d1773(_0x39c71d['model'])?(_0x5e356d['model']['bind']('isOn')['to'](_0x463560,'value',_0xbddd57=>!_0xbddd57),_0x5e356d['model']['commandParam']=void 0x0):(_0x5e356d['model']['bind']('isOn')['to'](_0x463560,'value',_0x2a0a0b=>_0x2a0a0b===_0x39c71d['model']),_0x5e356d['model']['commandParam']=_0x39c71d['model']),_0x2ccca6['add'](_0x5e356d);}if(this['_shouldRenderCustomValueOption']()){const _0x2b89e1=this['_getCustomValueOptionDefinition'](_0x562e67);_0x2ccca6['add'](_0x2b89e1);}return _0x2ccca6;}['_getCustomValueOptionDefinition'](_0x49d624){const _0x15a498=this['editor'],t=_0x15a498['t'],_0x16d87d=_0x15a498['commands']['get']('lineHeight'),_0x50891c=_0x49d624['map'](_0x2a288e=>_0x2a288e['model']),_0x3cf47f={'type':'button','model':new _0x35beee({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x3cf47f['model']['bind']('commandParam')['to'](_0x16d87d,'value'),_0x3cf47f['model']['bind']('isOn')['to'](_0x16d87d,'value',_0x3099f7=>!!_0x3099f7&&!_0x50891c['includes'](String(_0x3099f7))),_0x3cf47f['model']['bind']('label')['to'](_0x16d87d,'value',_0x393189=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x393189))),_0x3cf47f;}['_registerToolbarComponent']({accessibleLabel:_0x26bfbb,options:_0x4e7136}){const _0x4d2391=this['editor'],_0x5022ba=_0x4d2391['commands']['get']('lineHeight');_0x4d2391['ui']['componentFactory']['add']('lineHeight',_0x2246d9=>{const _0x16c3e0=_0x302cad(_0x2246d9);return _0x5a8a7a(_0x16c3e0,_0x4e7136,{'role':'menu','ariaLabel':_0x26bfbb}),_0x16c3e0['buttonView']['set']({'label':_0x26bfbb,'tooltip':!0x0,'icon':_0x448c51}),_0x16c3e0['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x16c3e0['bind']('isEnabled')['to'](_0x5022ba),this['listenTo'](_0x16c3e0,'execute',_0x40f9d5=>{_0x4d2391['execute'](_0x40f9d5['source']['commandName'],{'value':_0x40f9d5['source']['commandParam']}),_0x4d2391['editing']['view']['focus']();}),_0x16c3e0['once']('change:isOpen',()=>{const _0x53a7d6=_0x16c3e0['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x16c3e0,_0x4e7136,_0x53a7d6);}),_0x16c3e0;});}['_registerMenuBarComponent']({accessibleLabel:_0x2e555c,options:_0x1f26f2}){const _0x222904=this['editor'],_0x3c7cee=_0x222904['commands']['get']('lineHeight');_0x222904['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5cad89=>{const _0x29b319=new _0x7bdf6a(_0x5cad89);_0x29b319['buttonView']['set']({'label':_0x2e555c,'icon':_0x448c51}),_0x29b319['bind']('isEnabled')['to'](_0x3c7cee);const _0x792577=new _0x29a3d1(_0x5cad89);for(const _0x318caf of _0x1f26f2){const _0x36ddf1=new _0x1871fd(_0x5cad89,_0x29b319),_0x2ffd6e=new _0x25e0e5(_0x5cad89);_0x2ffd6e['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x2ffd6e['bind'](...Object['keys'](_0x318caf['model']))['to'](_0x318caf['model']),_0x2ffd6e['delegate']('execute')['to'](_0x29b319),_0x2ffd6e['on']('execute',()=>{_0x222904['execute'](_0x318caf['model']['commandName'],{'value':_0x318caf['model']['commandParam']}),_0x222904['editing']['view']['focus']();}),_0x36ddf1['children']['add'](_0x2ffd6e),_0x792577['items']['add'](_0x36ddf1);}return _0x29b319['panelView']['children']['add'](_0x792577),this['_attachCustomOptionVisibilityHandler'](_0x29b319,_0x1f26f2,_0x792577),_0x29b319;});}['_attachCustomOptionVisibilityHandler'](_0x118472,_0x79de60,_0x4878ad){if(!this['_shouldRenderCustomValueOption']())return;const _0x5e16b3=()=>{if(!_0x118472['isOpen'])return;_0x4878ad['items']['last']['isVisible']=Boolean(_0x79de60['last']['model']['isOn']);};_0x5e16b3(),_0x118472['on']('change:isOpen',()=>{_0x5e16b3();});}}
23
+ import{Plugin as _0x2b1c92}from'ckeditor5/src/core.js';import{addListToDropdown as _0x137f6c,createDropdown as _0x4886c8,MenuBarMenuListItemButtonView as _0x1fee0b,MenuBarMenuListItemView as _0x1b6daa,MenuBarMenuListView as _0x112af8,MenuBarMenuView as _0x7e7ae4,UIModel as _0x11d318}from'ckeditor5/src/ui.js';import{Collection as _0x12e5ea}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x8f46f7}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x1bc28a}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x2b1c92{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x543bf3={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x543bf3),this['_registerMenuBarComponent'](_0x543bf3),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x26e3a3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xb368ad;for(const _0x2285a6 in _0x26e3a3){const _0x1a809a=_0x2285a6,_0x27fbef=_0x26e3a3[_0x1a809a];if('lineHeightLicenseKeyValid'==_0x27fbef||'lineHeightLicenseKeyInvalid'==_0x27fbef||'lineHeightLicenseKeyExpired'==_0x27fbef||'lineHeightLicenseKeyDomainLimit'==_0x27fbef||'lineHeightLicenseKeyNotAllowed'==_0x27fbef||'lineHeightLicenseKeyEvaluationLimit'==_0x27fbef||'lineHeightLicenseKeyTrialLimit'==_0x27fbef||'lineHeightLicenseKeyUsageLimit'==_0x27fbef){delete _0x26e3a3[_0x1a809a],_0xb368ad=_0x27fbef,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0xb368ad&&_0x26e3a3['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0xb368ad&&_0x26e3a3['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0xb368ad&&_0x26e3a3['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0xb368ad&&_0x26e3a3['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0xb368ad&&_0x26e3a3['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0xb368ad&&_0x26e3a3['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0xb368ad&&_0x26e3a3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x12bf58=this['editor'],t=_0x12bf58['t'],_0x151da2=_0x12bf58['config']['get']('lineHeight'),_0x13048b={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x1bc28a(_0x151da2)['map'](_0xd326ac=>{const _0x33e660=_0x13048b[_0xd326ac['title']];return _0x33e660&&_0x33e660!=_0xd326ac['title']&&(_0xd326ac=Object['assign']({},_0xd326ac,{'title':_0x33e660})),_0xd326ac;});}['_prepareListOptions'](){const _0x4c88c9=this['editor']['commands']['get']('lineHeight'),_0x2ff150=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2a6ef7=this['_getLocalizedLineHeightOptions'](),_0x3e26df=new _0x12e5ea(),_0xebc692=_0x2d7185=>'default'===_0x2d7185||String(_0x2ff150)===_0x2d7185;for(const _0x4a00e1 of _0x2a6ef7){const _0x4a9091={'type':'button','model':new _0x11d318({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x4a00e1['title'],'withText':!0x0})};_0xebc692(_0x4a00e1['model'])?(_0x4a9091['model']['bind']('isOn')['to'](_0x4c88c9,'value',_0x38e805=>!_0x38e805),_0x4a9091['model']['commandParam']=void 0x0):(_0x4a9091['model']['bind']('isOn')['to'](_0x4c88c9,'value',_0x3ec11d=>_0x3ec11d===_0x4a00e1['model']),_0x4a9091['model']['commandParam']=_0x4a00e1['model']),_0x3e26df['add'](_0x4a9091);}if(this['_shouldRenderCustomValueOption']()){const _0x5f1872=this['_getCustomValueOptionDefinition'](_0x2a6ef7);_0x3e26df['add'](_0x5f1872);}return _0x3e26df;}['_getCustomValueOptionDefinition'](_0x37e353){const _0x90f8e2=this['editor'],t=_0x90f8e2['t'],_0x317140=_0x90f8e2['commands']['get']('lineHeight'),_0xd2347a=_0x37e353['map'](_0x4e5af8=>_0x4e5af8['model']),_0x222fd0={'type':'button','model':new _0x11d318({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x222fd0['model']['bind']('commandParam')['to'](_0x317140,'value'),_0x222fd0['model']['bind']('isOn')['to'](_0x317140,'value',_0x51b879=>!!_0x51b879&&!_0xd2347a['includes'](String(_0x51b879))),_0x222fd0['model']['bind']('label')['to'](_0x317140,'value',_0x4796de=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x4796de))),_0x222fd0;}['_registerToolbarComponent']({accessibleLabel:_0x1bb424,options:_0x173801}){const _0x1c1256=this['editor'],_0xb0dcd3=_0x1c1256['commands']['get']('lineHeight');_0x1c1256['ui']['componentFactory']['add']('lineHeight',_0x1f7198=>{const _0x1db7a4=_0x4886c8(_0x1f7198);return _0x137f6c(_0x1db7a4,_0x173801,{'role':'menu','ariaLabel':_0x1bb424}),_0x1db7a4['buttonView']['set']({'label':_0x1bb424,'tooltip':!0x0,'icon':_0x8f46f7}),_0x1db7a4['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x1db7a4['bind']('isEnabled')['to'](_0xb0dcd3),this['listenTo'](_0x1db7a4,'execute',_0x6c2b5=>{_0x1c1256['execute'](_0x6c2b5['source']['commandName'],{'value':_0x6c2b5['source']['commandParam']}),_0x1c1256['editing']['view']['focus']();}),_0x1db7a4['once']('change:isOpen',()=>{const _0x47a96f=_0x1db7a4['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x1db7a4,_0x173801,_0x47a96f);}),_0x1db7a4;});}['_registerMenuBarComponent']({accessibleLabel:_0x3fc6ac,options:_0x6e2b9a}){const _0x465749=this['editor'],_0x111392=_0x465749['commands']['get']('lineHeight');_0x465749['ui']['componentFactory']['add']('menuBar:lineHeight',_0x582910=>{const _0x3154fa=new _0x7e7ae4(_0x582910);_0x3154fa['buttonView']['set']({'label':_0x3fc6ac,'icon':_0x8f46f7}),_0x3154fa['bind']('isEnabled')['to'](_0x111392);const _0x549262=new _0x112af8(_0x582910);for(const _0x538852 of _0x6e2b9a){const _0xea4885=new _0x1b6daa(_0x582910,_0x3154fa),_0x4f11ee=new _0x1fee0b(_0x582910);_0x4f11ee['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x4f11ee['bind'](...Object['keys'](_0x538852['model']))['to'](_0x538852['model']),_0x4f11ee['delegate']('execute')['to'](_0x3154fa),_0x4f11ee['on']('execute',()=>{_0x465749['execute'](_0x538852['model']['commandName'],{'value':_0x538852['model']['commandParam']}),_0x465749['editing']['view']['focus']();}),_0xea4885['children']['add'](_0x4f11ee),_0x549262['items']['add'](_0xea4885);}return _0x3154fa['panelView']['children']['add'](_0x549262),this['_attachCustomOptionVisibilityHandler'](_0x3154fa,_0x6e2b9a,_0x549262),_0x3154fa;});}['_attachCustomOptionVisibilityHandler'](_0x1434d6,_0x1bba61,_0x61c1f9){if(!this['_shouldRenderCustomValueOption']())return;const _0x307d84=()=>{if(!_0x1434d6['isOpen'])return;_0x61c1f9['items']['last']['isVisible']=Boolean(_0x1bba61['last']['model']['isOn']);};_0x307d84(),_0x1434d6['on']('change:isOpen',()=>{_0x307d84();});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5882ad,_0x1e537f){const _0x4ab1dc=_0x2474,_0x126c2e=_0x5882ad();while(!![]){try{const _0x5f1dcd=parseInt(_0x4ab1dc(0xcc))/0x1+parseInt(_0x4ab1dc(0xe4))/0x2*(-parseInt(_0x4ab1dc(0xdf))/0x3)+-parseInt(_0x4ab1dc(0xe6))/0x4*(-parseInt(_0x4ab1dc(0xd6))/0x5)+parseInt(_0x4ab1dc(0xec))/0x6*(-parseInt(_0x4ab1dc(0xd4))/0x7)+-parseInt(_0x4ab1dc(0xd8))/0x8*(parseInt(_0x4ab1dc(0xca))/0x9)+parseInt(_0x4ab1dc(0xcf))/0xa+-parseInt(_0x4ab1dc(0xcb))/0xb*(parseInt(_0x4ab1dc(0xe1))/0xc);if(_0x5f1dcd===_0x1e537f)break;else _0x126c2e['push'](_0x126c2e['shift']());}catch(_0x24f4c4){_0x126c2e['push'](_0x126c2e['shift']());}}}(_0x1c1f,0x4d782));function _0x2474(_0x43182b,_0xeee5f5){const _0x1c1ffe=_0x1c1f();return _0x2474=function(_0x247427,_0x25ab0c){_0x247427=_0x247427-0xc9;let _0x25c010=_0x1c1ffe[_0x247427];return _0x25c010;},_0x2474(_0x43182b,_0xeee5f5);}const v={get 'single'(){const _0x8923db=_0x2474;return{'title':_0x8923db(0xd3),'model':_0x8923db(0xc9),'view':{'key':_0x8923db(0xe5),'value':_0x8923db(0xd1)}};},get 'double'(){const _0x4372b7=_0x2474;return{'title':_0x4372b7(0xea),'model':_0x4372b7(0xdc),'view':{'key':_0x4372b7(0xe5),'value':_0x4372b7(0xe3)}};}};export function isLineHeightDefaultValue(_0x37e17b){const _0x11bdfc=_0x2474;return _0x11bdfc(0xd9)==typeof _0x37e17b&&_0x11bdfc(0xce)===_0x37e17b[_0x11bdfc(0xcd)]();}export function normalizeOptions(_0xb2c3ec){const _0x42eab6=_0x2474;return _0xb2c3ec[_0x42eab6(0xd2)][_0x42eab6(0xde)](_0x23e903=>isLineHeightDefaultValue(_0x23e903)?{'title':String(_0xb2c3ec[_0x42eab6(0xdb)]),'model':_0x42eab6(0xce)}:(_0x42eab6(0xe2)==typeof _0x23e903&&(_0x23e903=String(_0x23e903)),_0x42eab6(0xd9)!=typeof _0x23e903?_0x23e903:parseFloat(_0x23e903)?{'title':_0x23e903,'model':_0x23e903,'view':{'name':_0x42eab6(0xe7),'styles':{'line-height':_0x23e903}}}:findPreset(_0x23e903)))[_0x42eab6(0xeb)](_0x27e89e=>void 0x0!==_0x27e89e);}function _0x1c1f(){const _0x19d934=['72QTOMWI','number','line-height-double','218660RfZaNO','class','1028tepCAt','span','model','value','Double','filter','114uIpbLm','single','12708kFnyLs','248567PzhsEY','572302jMHXGj','toLowerCase','default','5428400jVWqWd','style','line-height-single','options','Single','19831eKBeaq','values','4885cfpnGV','push','2392MLizuo','string','key','defaultValue','double','view','map','12GSCmyk','line-height:'];_0x1c1f=function(){return _0x19d934;};return _0x1c1f();}export function findPreset(_0x2901e5){const _0x90fca5=_0x2474;return _0x90fca5(0xd9)==typeof _0x2901e5?v[_0x2901e5]:v[_0x2901e5[_0x90fca5(0xe8)]];}export function buildDefinition(_0x172ae4,_0x2cc22d){const _0x205995=_0x2474,_0x207909={'model':{'key':_0x172ae4,'values':[]},'view':{}};for(const _0x538cea of _0x2cc22d)_0x205995(0xe5)===_0x538cea[_0x205995(0xdd)]?.[_0x205995(0xda)]?(_0x207909[_0x205995(0xe8)][_0x205995(0xd5)][_0x205995(0xd7)](_0x538cea[_0x205995(0xe8)]),_0x207909[_0x205995(0xdd)][_0x538cea[_0x205995(0xe8)]]={'key':_0x205995(0xe5),'value':_0x538cea[_0x205995(0xdd)][_0x205995(0xe9)]}):(_0x207909[_0x205995(0xe8)][_0x205995(0xd5)][_0x205995(0xd7)](_0x538cea[_0x205995(0xe8)]),_0x207909[_0x205995(0xdd)][_0x538cea[_0x205995(0xe8)]]={'key':_0x205995(0xd0),'value':_0x205995(0xe0)+_0x538cea[_0x205995(0xe8)]+';'});return _0x207909;}
23
+ (function(_0x29e816,_0x3bb7b3){const _0x49a605=_0x4053,_0x51ba63=_0x29e816();while(!![]){try{const _0x436bf5=-parseInt(_0x49a605(0x13f))/0x1*(-parseInt(_0x49a605(0x14e))/0x2)+parseInt(_0x49a605(0x153))/0x3+-parseInt(_0x49a605(0x142))/0x4*(-parseInt(_0x49a605(0x150))/0x5)+parseInt(_0x49a605(0x140))/0x6+parseInt(_0x49a605(0x15a))/0x7+-parseInt(_0x49a605(0x14d))/0x8+-parseInt(_0x49a605(0x151))/0x9;if(_0x436bf5===_0x3bb7b3)break;else _0x51ba63['push'](_0x51ba63['shift']());}catch(_0x223325){_0x51ba63['push'](_0x51ba63['shift']());}}}(_0x3294,0xcb6e5));const v={get 'single'(){const _0x403de2=_0x4053;return{'title':_0x403de2(0x154),'model':_0x403de2(0x15e),'view':{'key':_0x403de2(0x144),'value':_0x403de2(0x159)}};},get 'double'(){const _0x7f119b=_0x4053;return{'title':_0x7f119b(0x14c),'model':_0x7f119b(0x149),'view':{'key':_0x7f119b(0x144),'value':_0x7f119b(0x158)}};}};export function isLineHeightDefaultValue(_0x253cdb){const _0x4052a2=_0x4053;return _0x4052a2(0x14b)==typeof _0x253cdb&&_0x4052a2(0x141)===_0x253cdb[_0x4052a2(0x152)]();}function _0x4053(_0x18b244,_0x1e43e2){const _0x32943a=_0x3294();return _0x4053=function(_0x405329,_0x1636a1){_0x405329=_0x405329-0x13f;let _0x33edb6=_0x32943a[_0x405329];return _0x33edb6;},_0x4053(_0x18b244,_0x1e43e2);}export function normalizeOptions(_0x1b2c23){const _0x4c1f1a=_0x4053;return _0x1b2c23[_0x4c1f1a(0x15b)][_0x4c1f1a(0x148)](_0xee7e09=>isLineHeightDefaultValue(_0xee7e09)?{'title':String(_0x1b2c23[_0x4c1f1a(0x15f)]),'model':_0x4c1f1a(0x141)}:(_0x4c1f1a(0x155)==typeof _0xee7e09&&(_0xee7e09=String(_0xee7e09)),_0x4c1f1a(0x14b)!=typeof _0xee7e09?_0xee7e09:parseFloat(_0xee7e09)?{'title':_0xee7e09,'model':_0xee7e09,'view':{'name':_0x4c1f1a(0x14f),'styles':{'line-height':_0xee7e09}}}:findPreset(_0xee7e09)))[_0x4c1f1a(0x145)](_0x4ecb5d=>void 0x0!==_0x4ecb5d);}function _0x3294(){const _0x1abee9=['defaultValue','40519yIgasi','147174bzwkLD','default','39004qJrwGH','model','class','filter','push','style','map','double','key','string','Double','13056768giuHle','62DIpaoj','span','625qLhFvC','11482722kbNlED','toLowerCase','3146778wBoxdq','Single','number','line-height:','view','line-height-double','line-height-single','1349516tdgrza','options','values','value','single'];_0x3294=function(){return _0x1abee9;};return _0x3294();}export function findPreset(_0x4c58b3){const _0x3e203a=_0x4053;return _0x3e203a(0x14b)==typeof _0x4c58b3?v[_0x4c58b3]:v[_0x4c58b3[_0x3e203a(0x143)]];}export function buildDefinition(_0x1413d7,_0x4861e7){const _0x3ddb68=_0x4053,_0x392607={'model':{'key':_0x1413d7,'values':[]},'view':{}};for(const _0x369c52 of _0x4861e7)_0x3ddb68(0x144)===_0x369c52[_0x3ddb68(0x157)]?.[_0x3ddb68(0x14a)]?(_0x392607[_0x3ddb68(0x143)][_0x3ddb68(0x15c)][_0x3ddb68(0x146)](_0x369c52[_0x3ddb68(0x143)]),_0x392607[_0x3ddb68(0x157)][_0x369c52[_0x3ddb68(0x143)]]={'key':_0x3ddb68(0x144),'value':_0x369c52[_0x3ddb68(0x157)][_0x3ddb68(0x15d)]}):(_0x392607[_0x3ddb68(0x143)][_0x3ddb68(0x15c)][_0x3ddb68(0x146)](_0x369c52[_0x3ddb68(0x143)]),_0x392607[_0x3ddb68(0x157)][_0x369c52[_0x3ddb68(0x143)]]={'key':_0x3ddb68(0x147),'value':_0x3ddb68(0x156)+_0x369c52[_0x3ddb68(0x143)]+';'});return _0x392607;}