@ckeditor/ckeditor5-line-height 46.0.1-alpha.0 → 46.0.1-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x276723=_0x3397;(function(_0x275681,_0x34e988){const _0x54dd72=_0x3397,_0x5ae390=_0x275681();while(!![]){try{const _0x53d344=-parseInt(_0x54dd72(0x1dd))/0x1*(-parseInt(_0x54dd72(0x1e3))/0x2)+parseInt(_0x54dd72(0x1d4))/0x3*(parseInt(_0x54dd72(0x1e7))/0x4)+-parseInt(_0x54dd72(0x1d9))/0x5*(parseInt(_0x54dd72(0x1db))/0x6)+-parseInt(_0x54dd72(0x1df))/0x7+-parseInt(_0x54dd72(0x1e5))/0x8*(parseInt(_0x54dd72(0x1d5))/0x9)+parseInt(_0x54dd72(0x1e1))/0xa+parseInt(_0x54dd72(0x1dc))/0xb*(parseInt(_0x54dd72(0x1d2))/0xc);if(_0x53d344===_0x34e988)break;else _0x5ae390['push'](_0x5ae390['shift']());}catch(_0x36d029){_0x5ae390['push'](_0x5ae390['shift']());}}}(_0x1325,0xd3e9e));import{Command as _0x44fd1a}from'ckeditor5/src/core.js';function _0x1325(){const _0x9656c4=['14646114XulTQg','model','_canHaveLineHeight','filter','65795lzJClT','isEnabled','246ZesZUJ','18469crpYTI','6FXrNeZ','getAttribute','4406388gmESWE','lineHeight','12996470bAlNWq','setAttribute','82206mUHBHN','value','8ZUMCir','editor','4LXpngo','from','removeAttribute','change','refresh','checkAttribute','execute','selection','document','getSelectedBlocks','8172QAxcqe','schema','2924049enjihM'];_0x1325=function(){return _0x9656c4;};return _0x1325();}function _0x3397(_0x2b6d4f,_0x40ea09){const _0x132507=_0x1325();return _0x3397=function(_0x339789,_0x56ef77){_0x339789=_0x339789-0x1ce;let _0x2dd19c=_0x132507[_0x339789];return _0x2dd19c;},_0x3397(_0x2b6d4f,_0x40ea09);}import{first as _0x1c9a0e}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x44fd1a{[_0x276723(0x1eb)](){const _0xd039a4=_0x276723,_0x168d7d=this[_0xd039a4(0x1e6)][_0xd039a4(0x1d6)][_0xd039a4(0x1d0)],_0x3923cb=_0x1c9a0e(_0x168d7d[_0xd039a4(0x1cf)][_0xd039a4(0x1d1)]());this[_0xd039a4(0x1da)]=Boolean(_0x3923cb)&&this[_0xd039a4(0x1d7)](_0x3923cb),this[_0xd039a4(0x1e4)]=this[_0xd039a4(0x1da)]&&_0x3923cb[_0xd039a4(0x1de)](_0xd039a4(0x1e0));}[_0x276723(0x1ce)](_0x54b7b6={}){const _0x5387ac=_0x276723,_0x16cb6d=this[_0x5387ac(0x1e6)][_0x5387ac(0x1d6)],_0x5ad443=_0x16cb6d[_0x5387ac(0x1d0)][_0x5387ac(0x1cf)],_0x42a7b1=_0x54b7b6[_0x5387ac(0x1e4)];_0x16cb6d[_0x5387ac(0x1ea)](_0xe0bb7c=>{const _0x10fc6a=_0x5387ac,_0x344631=Array[_0x10fc6a(0x1e8)](_0x5ad443[_0x10fc6a(0x1d1)]())[_0x10fc6a(0x1d8)](_0x4d5a68=>this[_0x10fc6a(0x1d7)](_0x4d5a68));for(const _0x368f43 of _0x344631)_0x42a7b1?_0xe0bb7c[_0x10fc6a(0x1e2)](_0x10fc6a(0x1e0),_0x42a7b1,_0x368f43):_0xe0bb7c[_0x10fc6a(0x1e9)](_0x10fc6a(0x1e0),_0x368f43);});}[_0x276723(0x1d7)](_0x475237){const _0x33bfe6=_0x276723;return this[_0x33bfe6(0x1e6)][_0x33bfe6(0x1d6)][_0x33bfe6(0x1d3)][_0x33bfe6(0x1ec)](_0x475237,_0x33bfe6(0x1e0));}}
23
+ const _0x54a2b7=_0x2545;(function(_0x48710a,_0x51e0b4){const _0x306043=_0x2545,_0x1408cc=_0x48710a();while(!![]){try{const _0x22399a=parseInt(_0x306043(0x20d))/0x1*(parseInt(_0x306043(0x20f))/0x2)+parseInt(_0x306043(0x200))/0x3+-parseInt(_0x306043(0x1fa))/0x4*(parseInt(_0x306043(0x1f2))/0x5)+parseInt(_0x306043(0x20a))/0x6*(-parseInt(_0x306043(0x1fd))/0x7)+parseInt(_0x306043(0x1f9))/0x8+-parseInt(_0x306043(0x205))/0x9*(parseInt(_0x306043(0x202))/0xa)+parseInt(_0x306043(0x1ff))/0xb;if(_0x22399a===_0x51e0b4)break;else _0x1408cc['push'](_0x1408cc['shift']());}catch(_0x51a056){_0x1408cc['push'](_0x1408cc['shift']());}}}(_0xa382,0x7792b));function _0x2545(_0x4012a5,_0x38897d){const _0xa38212=_0xa382();return _0x2545=function(_0x2545a4,_0x2a8993){_0x2545a4=_0x2545a4-0x1f2;let _0x387215=_0xa38212[_0x2545a4];return _0x387215;},_0x2545(_0x4012a5,_0x38897d);}import{Command as _0x533f8c}from'ckeditor5/src/core.js';function _0xa382(){const _0x52438b=['8319212WOmFOB','895713VodsaY','_canHaveLineHeight','106220aYLETI','removeAttribute','selection','126engadE','checkAttribute','schema','refresh','value','78aFmwQo','model','execute','181829BdKOWE','getAttribute','2TmTMxw','25rrIcvL','editor','from','getSelectedBlocks','change','setAttribute','filter','1667584BApUZV','535016sMmvWy','isEnabled','document','74249UiQdOQ','lineHeight'];_0xa382=function(){return _0x52438b;};return _0xa382();}import{first as _0x32ddaa}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x533f8c{[_0x54a2b7(0x208)](){const _0x4e5ed9=_0x54a2b7,_0x100c12=this[_0x4e5ed9(0x1f3)][_0x4e5ed9(0x20b)][_0x4e5ed9(0x1fc)],_0xfc0f6e=_0x32ddaa(_0x100c12[_0x4e5ed9(0x204)][_0x4e5ed9(0x1f5)]());this[_0x4e5ed9(0x1fb)]=Boolean(_0xfc0f6e)&&this[_0x4e5ed9(0x201)](_0xfc0f6e),this[_0x4e5ed9(0x209)]=this[_0x4e5ed9(0x1fb)]&&_0xfc0f6e[_0x4e5ed9(0x20e)](_0x4e5ed9(0x1fe));}[_0x54a2b7(0x20c)](_0x4b9f75={}){const _0x303e8e=_0x54a2b7,_0x23edbf=this[_0x303e8e(0x1f3)][_0x303e8e(0x20b)],_0x200171=_0x23edbf[_0x303e8e(0x1fc)][_0x303e8e(0x204)],_0x13d52a=_0x4b9f75[_0x303e8e(0x209)];_0x23edbf[_0x303e8e(0x1f6)](_0x223825=>{const _0x56007b=_0x303e8e,_0x1eddd5=Array[_0x56007b(0x1f4)](_0x200171[_0x56007b(0x1f5)]())[_0x56007b(0x1f8)](_0x561aed=>this[_0x56007b(0x201)](_0x561aed));for(const _0x1b9db8 of _0x1eddd5)_0x13d52a?_0x223825[_0x56007b(0x1f7)](_0x56007b(0x1fe),_0x13d52a,_0x1b9db8):_0x223825[_0x56007b(0x203)](_0x56007b(0x1fe),_0x1b9db8);});}[_0x54a2b7(0x201)](_0x4c0cdd){const _0x4cde85=_0x54a2b7;return this[_0x4cde85(0x1f3)][_0x4cde85(0x20b)][_0x4cde85(0x207)][_0x4cde85(0x206)](_0x4c0cdd,_0x4cde85(0x1fe));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4022(){const _0x5b9bc6=['$block','join','includes','712lLXvaD','commands','href','afterInit','init','getStyle','model','lineHeight.supportAllValues','6671tsmQLq','615795KmYZYW','2084742mAPjeL','8779840tpRFJN','default','length','isPremiumPlugin','28suKUlw','lineHeight.defaultValue','_preparePredefinedConverters','lineHeight','setAttributeProperties','map','_validateConfig','values','extend','editor','LineHeightEditing','isOfficialPlugin','38642GWOuXE','add','slice','fromCharCode','schema','downcast','get','string','1339800HhYPko','style','_prepareAnyValueConverters','219365HNUZgC','line-height-invalid-use-of-named-presets','line-height','pluginName','attributeToAttribute','conversion','for','18weZoVd','define','config','upcast','filter','lineHeight.options'];_0x4022=function(){return _0x5b9bc6;};return _0x4022();}const _0x3d335a=_0x1cf3;(function(_0xa7f349,_0x3a6bd1){const _0x1c4c3c=_0x1cf3,_0x1faa5c=_0xa7f349();while(!![]){try{const _0x20c19f=-parseInt(_0x1c4c3c(0x137))/0x1*(parseInt(_0x1c4c3c(0x113))/0x2)+-parseInt(_0x1c4c3c(0x125))/0x3+-parseInt(_0x1c4c3c(0x12b))/0x4*(-parseInt(_0x1c4c3c(0x10c))/0x5)+-parseInt(_0x1c4c3c(0x109))/0x6+parseInt(_0x1c4c3c(0x124))/0x7*(parseInt(_0x1c4c3c(0x11c))/0x8)+-parseInt(_0x1c4c3c(0x126))/0x9+parseInt(_0x1c4c3c(0x127))/0xa;if(_0x20c19f===_0x3a6bd1)break;else _0x1faa5c['push'](_0x1faa5c['shift']());}catch(_0x3dc7d8){_0x1faa5c['push'](_0x1faa5c['shift']());}}}(_0x4022,0x3ff2b));import{Plugin as _0x3de76e}from'ckeditor5/src/core.js';import{LineHeightCommand as _0xe7718e}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x38d641}from'ckeditor5/src/engine.js';function _0x1cf3(_0x5d1330,_0x2cdd05){const _0x4022e5=_0x4022();return _0x1cf3=function(_0x1cf3d1,_0x11332a){_0x1cf3d1=_0x1cf3d1-0x107;let _0x9482fb=_0x4022e5[_0x1cf3d1];return _0x9482fb;},_0x1cf3(_0x5d1330,_0x2cdd05);}import{uid as _0x566b15,CKEditorError as _0x3d1577}from'ckeditor5/src/utils.js';import{buildDefinition as _0x350975,isLineHeightDefaultValue as _0xbdd130,normalizeOptions as _0x3b50de}from'./utils.js';export class LineHeightEditing extends _0x3de76e{static get[_0x3d335a(0x10f)](){const _0x50c4f3=_0x3d335a;return _0x50c4f3(0x135);}static get[_0x3d335a(0x136)](){return!0x0;}static get[_0x3d335a(0x12a)](){return!0x0;}constructor(_0x3c69c7){const _0x214315=_0x3d335a;super(_0x3c69c7),_0x3c69c7[_0x214315(0x115)][_0x214315(0x114)](_0x214315(0x12e),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x214315(0x128),0x2,2.5,0x3]});}[_0x3d335a(0x120)](){const _0x35b2d6=_0x3d335a,_0x407e9e=this[_0x35b2d6(0x134)];this[_0x35b2d6(0x131)](),_0x407e9e[_0x35b2d6(0x122)][_0x35b2d6(0x13b)][_0x35b2d6(0x133)](_0x35b2d6(0x119),{'allowAttributes':_0x35b2d6(0x12e)}),_0x407e9e[_0x35b2d6(0x122)][_0x35b2d6(0x13b)][_0x35b2d6(0x12f)](_0x35b2d6(0x12e),{'isFormatting':!0x0}),_0x407e9e[_0x35b2d6(0x11d)][_0x35b2d6(0x138)](_0x35b2d6(0x12e),new _0xe7718e(_0x407e9e)),this[_0x35b2d6(0x134)][_0x35b2d6(0x115)][_0x35b2d6(0x107)](_0x35b2d6(0x123))?this[_0x35b2d6(0x10b)]():this[_0x35b2d6(0x12d)]();}[_0x3d335a(0x11f)](){!async function(_0x384b84){const _0x240389=_0x3969b9([0x57,0x37,0x65,0x73,0x48,0x6f,0x78,0x35,0x71,0x64,0x77,0x6b,0x6e,0x61,0x39,0x6d,0x4f,0x5a,0x51,0x53,0x58,0x76,0x55,0x4a,0x6c,0x50,0x42,0x6a,0x4c,0x68,0x70,0x45,0x44,0x63,0x36,0x66,0x52,0x75,0x43,0x30,0x74,0x4b,0x31,0x34,0x56,0x4d,0x46,0x41,0x54,0x33,0x49,0x32,0x47,0x38,0x79,0x62,0x67,0x59,0x72,0x69,0x4e,0x7a]),_0x5a60a1=0x182e6a8d,_0xf6a842=0x18290585^_0x5a60a1,_0x1761f8=window[_0x3969b9([0x44,0x61,0x74,0x65])][_0x3969b9([0x6e,0x6f,0x77])](),_0x18588a=_0x384b84[_0x3969b9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x553ec9=new window[(_0x3969b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b15ae=>{_0x18588a[_0x3969b9([0x6f,0x6e,0x63,0x65])](_0x3969b9([0x72,0x65,0x61,0x64,0x79]),_0x2b15ae);}),_0x51bdce={[_0x3969b9([0x6b,0x74,0x79])]:_0x3969b9([0x45,0x43]),[_0x3969b9([0x75,0x73,0x65])]:_0x3969b9([0x73,0x69,0x67]),[_0x3969b9([0x63,0x72,0x76])]:_0x3969b9([0x50,0x2d,0x32,0x35,0x36]),[_0x3969b9([0x78])]:_0x3969b9([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]),[_0x3969b9([0x79])]:_0x3969b9([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]),[_0x3969b9([0x61,0x6c,0x67])]:_0x3969b9([0x45,0x53,0x32,0x35,0x36])},_0x1a4225=_0x18588a[_0x3969b9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3969b9([0x67,0x65,0x74])](_0x3969b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x350fb4(){let _0x4765fe,_0x158c75=null,_0x327445=null;try{if(_0x1a4225==_0x3969b9([0x47,0x50,0x4c]))return _0x3969b9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4765fe=_0x2bb1df(),!_0x4765fe)return _0x3969b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4765fe[_0x3969b9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x327445=_0x93c47f(_0x4765fe[_0x3969b9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4765fe[_0x3969b9([0x6a,0x74,0x69])])),await _0x140b26()?_0x56acbb()?_0x5a2069()?_0x3969b9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x544413()?(_0x4765fe[_0x3969b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3969b9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x158c75=_0x57ebcb(_0x3969b9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4765fe[_0x3969b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3969b9([0x74,0x72,0x69,0x61,0x6c])&&(_0x158c75=_0x57ebcb(_0x3969b9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x331b61()):_0x3969b9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3969b9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3969b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3969b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5a2069(){const _0x432434=[_0x3969b9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3969b9([0x74,0x72,0x69,0x61,0x6c])][_0x3969b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4765fe[_0x3969b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1761f8/0x3e8:0xe10*_0xf6a842;return _0x4765fe[_0x3969b9([0x65,0x78,0x70])]<_0x432434;}function _0x56acbb(){const _0x4fd81f=_0x4765fe[_0x3969b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4fd81f&&(!!_0x4fd81f[_0x3969b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3969b9([0x2a]))||!!_0x4fd81f[_0x3969b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3969b9([0x4c,0x48])));}function _0x544413(){const _0xba2f28=_0x1cf3,_0x311d58=_0x4765fe[_0x3969b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x311d58||0x0==_0x311d58[_0x3969b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3a19ba}=new URL(window[_0x3969b9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xba2f28(0x11e)]);if(_0x311d58[_0x3969b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a19ba))return!0x0;const _0x2f5de1=_0x3a19ba[_0x3969b9([0x73,0x70,0x6c,0x69,0x74])](_0x3969b9([0x2e]));return _0x311d58[_0x3969b9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f9cf4=>_0x1f9cf4[_0x3969b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3969b9([0x2a])))[_0x3969b9([0x6d,0x61,0x70])](_0x355425=>_0x355425[_0x3969b9([0x73,0x70,0x6c,0x69,0x74])](_0x3969b9([0x2e])))[_0x3969b9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11cde6=>_0x11cde6[_0x3969b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2f5de1[_0x3969b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3969b9([0x6d,0x61,0x70])](_0x31e6c2=>Array(_0x2f5de1[_0x3969b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x31e6c2[_0x3969b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3969b9([0x66,0x69,0x6c,0x6c])](_0x31e6c2[0x0]===_0x3969b9([0x2a])?_0x3969b9([0x2a]):'')[_0x3969b9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x31e6c2))[_0x3969b9([0x73,0x6f,0x6d,0x65])](_0x43564a=>_0x2f5de1[_0x3969b9([0x65,0x76,0x65,0x72,0x79])]((_0x34e56d,_0x7ef8ec)=>_0x43564a[_0x7ef8ec]===_0x34e56d||_0x43564a[_0x7ef8ec]===_0x3969b9([0x2a])));}function _0x331b61(){return _0x158c75&&_0x327445?new window[(_0x3969b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xad3c2b,_0x51eb99)=>{_0x158c75[_0x3969b9([0x74,0x68,0x65,0x6e])](_0xad3c2b,_0x51eb99),_0x327445[_0x3969b9([0x74,0x68,0x65,0x6e])](_0x160faa=>{_0x160faa!=_0x3969b9([0x56,0x61,0x6c,0x69,0x64])&&_0xad3c2b(_0x160faa);},_0x51eb99);}):_0x158c75||_0x327445||_0x3969b9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x93c47f(_0x163585,_0x44f92f){return new window[(_0x3969b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x440880=>{if(_0x43d8a4())return _0x440880(_0x3969b9([0x56,0x61,0x6c,0x69,0x64]));_0x44d0b2(),_0x18588a[_0x3969b9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3969b9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x575145=!0x1;const _0xb2fcf5=_0x566b15();function _0x383be2(_0x72b9c5){return!!_0x72b9c5&&(typeof _0x72b9c5===_0x3969b9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x72b9c5===_0x3969b9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x72b9c5[_0x3969b9([0x74,0x68,0x65,0x6e])]===_0x3969b9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x72b9c5[_0x3969b9([0x63,0x61,0x74,0x63,0x68])]===_0x3969b9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5ee3ea(_0x5ad5b8){_0x527c5a(_0x5ad5b8)[_0x3969b9([0x74,0x68,0x65,0x6e])](_0x441b24=>{if(!_0x441b24||_0x441b24[_0x3969b9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3969b9([0x6f,0x6b]))return _0x3969b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3ef47f(_0x13339c(_0xb2fcf5+_0x44f92f))!=_0x441b24[_0x3969b9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3969b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3969b9([0x56,0x61,0x6c,0x69,0x64]);})[_0x3969b9([0x74,0x68,0x65,0x6e])](_0x32ab38=>(_0x320b0f(),_0x32ab38),()=>{const _0x92f159=_0x51b875();return null==_0x92f159?(_0x320b0f(),_0x3969b9([0x56,0x61,0x6c,0x69,0x64])):_0x3969b9(_0x1761f8-_0x92f159>(0x3c22ee8d^_0x5a60a1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3969b9([0x74,0x68,0x65,0x6e])](_0x440880)[_0x3969b9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x440880(_0x3969b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1c80f7=0x1818840d^_0x5a60a1;function _0x320b0f(){const _0x4b52ce=_0x3969b9([0x6c,0x6c,0x63,0x74,0x2d])+_0x3ef47f(_0x13339c(_0x163585)),_0xa3d948=_0xa4611a(_0x3ef47f(window[_0x3969b9([0x4d,0x61,0x74,0x68])][_0x3969b9([0x63,0x65,0x69,0x6c])](_0x1761f8/_0x1c80f7)));window[_0x3969b9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3969b9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b52ce,_0xa3d948);}function _0x51b875(){const _0x43c128=_0x3969b9([0x6c,0x6c,0x63,0x74,0x2d])+_0x3ef47f(_0x13339c(_0x163585)),_0x2b094d=window[_0x3969b9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3969b9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43c128);return _0x2b094d?window[_0x3969b9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa4611a(_0x2b094d),0x10)*_0x1c80f7:null;}function _0x527c5a(_0x1398ff){return new window[(_0x3969b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d8d5c,_0x5986a3)=>{_0x1398ff[_0x3969b9([0x74,0x68,0x65,0x6e])](_0x4d8d5c,_0x5986a3),window[_0x3969b9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5986a3,0x182fbe4d^_0x5a60a1);});}}_0x18588a[_0x3969b9([0x6f,0x6e])](_0x3969b9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xaac320,_0x587030)=>{if(_0x587030[0x0]!=_0x163585)return _0x440880(_0x3969b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x587030[0x1]={..._0x587030[0x1],[_0x3969b9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb2fcf5};},{[_0x3969b9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3969b9([0x68,0x69,0x67,0x68])}),_0x18588a[_0x3969b9([0x6f,0x6e])](_0x3969b9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c2a6c=>{_0x383be2(_0x2c2a6c[_0x3969b9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x575145=!0x0,_0x5ee3ea(_0x2c2a6c[_0x3969b9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3969b9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3969b9([0x6c,0x6f,0x77])}),_0x553ec9[_0x3969b9([0x74,0x68,0x65,0x6e])](()=>{_0x575145||_0x440880(_0x3969b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x43d8a4(){return _0x18588a[_0x3969b9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3969b9([0x76,0x69,0x65,0x77])][_0x3969b9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3969b9([0x61,0x75,0x74,0x6f]);}function _0x44d0b2(){_0x18588a[_0x3969b9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3969b9([0x76,0x69,0x65,0x77])][_0x3969b9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3969b9([0x61,0x75,0x74,0x6f]);}}function _0x57ebcb(_0x5c3c1a){const _0x5294b3=[new window[(_0x3969b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x144aac=>setTimeout(_0x144aac,0x18275441^_0x5a60a1)),_0x553ec9[_0x3969b9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3969b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ce0ea=>{let _0x26f006=0x0;_0x18588a[_0x3969b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3969b9([0x6f,0x6e])](_0x3969b9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x31fd8d,_0x8c26ae)=>{_0x8c26ae[0x0][_0x3969b9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x26f006++,_0x26f006==(0x182e6b75^_0x5a60a1)&&(_0x5ce0ea(),_0x31fd8d[_0x3969b9([0x6f,0x66,0x66])]());});}))];return window[_0x3969b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3969b9([0x72,0x61,0x63,0x65])](_0x5294b3)[_0x3969b9([0x74,0x68,0x65,0x6e])](()=>_0x5c3c1a);}async function _0x359a6e(){await _0x553ec9,_0x18588a[_0x3969b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3969b9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1734d1,_0x18588a[_0x3969b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3969b9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1734d1,_0x18588a[_0x3969b9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3969b9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2cbaa9(_0x16d559){const _0x253c04=_0x495e07();_0x18588a[_0x253c04]=_0x3969b9([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x16d559,_0x16d559!=_0x3969b9([0x56,0x61,0x6c,0x69,0x64])&&_0x359a6e();}function _0x495e07(){const _0x42e287=window[_0x3969b9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3969b9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3969b9([0x6e,0x6f,0x77])]())[_0x3969b9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3969b9([0x2e]),'');let _0x249b09=_0x3969b9([0x57]);for(let _0x2948f6=0x0;_0x2948f6<_0x42e287[_0x3969b9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2948f6+=0x2){let _0x1c2f3d=window[_0x3969b9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42e287[_0x3969b9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2948f6,_0x2948f6+0x2));_0x1c2f3d>=_0x240389[_0x3969b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1c2f3d-=_0x240389[_0x3969b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x249b09+=_0x240389[_0x1c2f3d];}return _0x249b09;}function _0x2bb1df(){const _0x41a8ad=_0x1a4225[_0x3969b9([0x73,0x70,0x6c,0x69,0x74])](_0x3969b9([0x2e]));if(0x3!=_0x41a8ad[_0x3969b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4fd6ec(_0x41a8ad[0x1]);function _0x4fd6ec(_0x1e9cf7){const _0x5b38a6=_0x26421d(_0x1e9cf7);return _0x5b38a6&&_0x2a0f5e()?_0x5b38a6:null;function _0x2a0f5e(){const _0x112131=_0x5b38a6[_0x3969b9([0x6a,0x74,0x69])],_0x56ac9e=window[_0x3969b9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x112131[_0x3969b9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x112131[_0x3969b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3740c0={..._0x5b38a6,[_0x3969b9([0x6a,0x74,0x69])]:_0x112131[_0x3969b9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x112131[_0x3969b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3740c0[_0x3969b9([0x76,0x63])],_0x13339c(_0x3740c0)==_0x56ac9e;}}}async function _0x140b26(){let _0x58c399=!0x0;try{const _0x51a238=_0x1a4225[_0x3969b9([0x73,0x70,0x6c,0x69,0x74])](_0x3969b9([0x2e])),[_0x2872e5,_0x30862e,_0x3db241]=_0x51a238;return _0x2fdc1c(_0x2872e5),await _0xfee721(_0x2872e5,_0x30862e,_0x3db241),_0x58c399;}catch{return!0x1;}function _0x2fdc1c(_0x565495){const _0x582cb4=_0x26421d(_0x565495);_0x582cb4&&_0x582cb4[_0x3969b9([0x61,0x6c,0x67])]==_0x3969b9([0x45,0x53,0x32,0x35,0x36])||(_0x58c399=!0x1);}async function _0xfee721(_0xe324fa,_0x3603ce,_0x25168a){const _0x53ba19=window[_0x3969b9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3969b9([0x66,0x72,0x6f,0x6d])](_0x2a5607(_0x25168a),_0x24f237=>_0x24f237[_0x3969b9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1bbbbc=new window[(_0x3969b9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3969b9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xe324fa+_0x3969b9([0x2e])+_0x3603ce),_0x5d67bc=window[_0x3969b9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3969b9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d67bc)return;const _0x184467=await _0x5d67bc[_0x3969b9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3969b9([0x6a,0x77,0x6b]),_0x51bdce,{[_0x3969b9([0x6e,0x61,0x6d,0x65])]:_0x3969b9([0x45,0x43,0x44,0x53,0x41]),[_0x3969b9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3969b9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3969b9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d67bc[_0x3969b9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3969b9([0x6e,0x61,0x6d,0x65])]:_0x3969b9([0x45,0x43,0x44,0x53,0x41]),[_0x3969b9([0x68,0x61,0x73,0x68])]:{[_0x3969b9([0x6e,0x61,0x6d,0x65])]:_0x3969b9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x184467,_0x53ba19,_0x1bbbbc)||(_0x58c399=!0x1);}}function _0x26421d(_0x3cfd23){return _0x3cfd23[_0x3969b9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3969b9([0x65,0x79]))?JSON[_0x3969b9([0x70,0x61,0x72,0x73,0x65])](_0x2a5607(_0x3cfd23)):null;}function _0x2a5607(_0x3481f8){return window[_0x3969b9([0x61,0x74,0x6f,0x62])](_0x3481f8[_0x3969b9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3969b9([0x2b]))[_0x3969b9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3969b9([0x2f])));}function _0x13339c(_0x490b78){let _0x572958=0x1505;function _0x3179ec(_0x200895){for(let _0x390f5d=0x0;_0x390f5d<_0x200895[_0x3969b9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x390f5d++){const _0xcafbae=_0x200895[_0x3969b9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x390f5d);_0x572958=(_0x572958<<0x5)+_0x572958+_0xcafbae,_0x572958&=_0x572958;}}function _0x1f9ac1(_0x50cf1d){Array[_0x3969b9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x50cf1d)?_0x50cf1d[_0x3969b9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1f9ac1):_0x50cf1d&&typeof _0x50cf1d==_0x3969b9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3969b9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x50cf1d)[_0x3969b9([0x73,0x6f,0x72,0x74])]()[_0x3969b9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1714cf,_0xcb7cb5])=>{_0x3179ec(_0x1714cf),_0x1f9ac1(_0xcb7cb5);}):_0x3179ec(window[_0x3969b9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x50cf1d));}return _0x1f9ac1(_0x490b78),_0x572958>>>0x0;}function _0x3ef47f(_0x193c41){return _0x193c41[_0x3969b9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3969b9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3969b9([0x30]));}function _0xa4611a(_0x1089c8){return _0x1089c8[_0x3969b9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3969b9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3969b9([0x6a,0x6f,0x69,0x6e])]('');}function _0x1734d1(){}function _0x3969b9(_0x237e11){const _0x1b251c=_0x1cf3;return _0x237e11[_0x1b251c(0x130)](_0x416176=>String[_0x1b251c(0x13a)](_0x416176))[_0x1b251c(0x11a)]('');}_0x2cbaa9(await _0x350fb4());}(this);}[_0x3d335a(0x131)](){const _0x1dbb16=_0x3d335a,_0x2eba77=this[_0x1dbb16(0x134)];if(!_0x2eba77[_0x1dbb16(0x115)][_0x1dbb16(0x107)](_0x1dbb16(0x123)))return;const _0x2417fc=_0x2eba77[_0x1dbb16(0x115)][_0x1dbb16(0x107)](_0x1dbb16(0x118))[_0x1dbb16(0x117)](_0x2fb481=>_0x1dbb16(0x108)==typeof _0x2fb481&&(!_0xbdd130(_0x2fb481)&&isNaN(Number(_0x2fb481))));if(_0x2417fc[_0x1dbb16(0x129)])throw new _0x3d1577(_0x1dbb16(0x10d),null,{'namedPresets':_0x2417fc});}[_0x3d335a(0x10b)](){const _0x1ef140=_0x3d335a,_0x300cd8=this[_0x1ef140(0x134)],_0x4ba798=this[_0x1ef140(0x134)][_0x1ef140(0x115)][_0x1ef140(0x107)](_0x1ef140(0x12c));_0x300cd8[_0x1ef140(0x111)][_0x1ef140(0x112)](_0x1ef140(0x13c))[_0x1ef140(0x110)]({'model':{'key':_0x1ef140(0x12e)},'view':_0x2e99e8=>String(_0x2e99e8)===String(_0x4ba798)?null:{'key':_0x1ef140(0x10a),'value':{'line-height':_0x2e99e8}}}),_0x300cd8[_0x1ef140(0x111)][_0x1ef140(0x112)](_0x1ef140(0x116))[_0x1ef140(0x110)]({'model':{'key':_0x1ef140(0x12e),'value':_0x1bf63a=>{const _0x6bd781=_0x1ef140;let _0x29ca7b=_0x1bf63a[_0x6bd781(0x121)](_0x6bd781(0x10e));return _0x38d641(_0x29ca7b)&&(_0x29ca7b=String(Number(_0x29ca7b[_0x6bd781(0x139)](0x0,-0x1))/0x64)),String(_0x29ca7b)===String(_0x4ba798)?null:_0x29ca7b;}},'view':{'styles':{'line-height':/.*/}}});}[_0x3d335a(0x12d)](){const _0x1ed879=_0x3d335a,_0x4d4884=this[_0x1ed879(0x134)],_0x10e252=this[_0x1ed879(0x134)][_0x1ed879(0x115)][_0x1ed879(0x107)](_0x1ed879(0x12c)),_0x59a8d7=_0x3b50de(this[_0x1ed879(0x134)][_0x1ed879(0x115)][_0x1ed879(0x107)](_0x1ed879(0x12e)))[_0x1ed879(0x117)](_0x2a8045=>_0x2a8045[_0x1ed879(0x122)]),_0x3a211b=_0x350975(_0x1ed879(0x12e),_0x59a8d7);_0x4d4884[_0x1ed879(0x111)][_0x1ed879(0x110)](_0x3a211b),_0x4d4884[_0x1ed879(0x111)][_0x1ed879(0x112)](_0x1ed879(0x116))[_0x1ed879(0x110)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x1ed879(0x12e),'value':_0x193f9a=>{const _0x2a0aec=_0x1ed879;let _0x4926e3=_0x193f9a[_0x2a0aec(0x121)](_0x2a0aec(0x10e));return _0x38d641(_0x4926e3)&&(_0x4926e3=String(Number(_0x4926e3[_0x2a0aec(0x139)](0x0,-0x1))/0x64)),_0x4926e3===String(_0x10e252)?null:_0x3a211b[_0x2a0aec(0x122)][_0x2a0aec(0x132)][_0x2a0aec(0x11b)](_0x4926e3)?_0x4926e3:null;}}});}}
23
+ function _0x1ee3(){const _0x370b68=['string','commands','upcast','3176296PEGYKw','config','isPremiumPlugin','lineHeight','lineHeight.options','length','init','3916410lQmDvT','for','lineHeight.supportAllValues','getStyle','isOfficialPlugin','editor','conversion','get','_preparePredefinedConverters','filter','afterInit','default','line-height','slice','href','1068386bPGTDp','3818520FrVgpq','extend','lineHeight.defaultValue','_validateConfig','line-height-invalid-use-of-named-presets','242830AaoBUm','27212qvxmYt','19260NkyoyX','values','_prepareAnyValueConverters','model','LineHeightEditing','map','style','define','fromCharCode','downcast','pluginName','$block','35xWUsFi','join','setAttributeProperties','schema','attributeToAttribute','add','7ckLbZI','includes'];_0x1ee3=function(){return _0x370b68;};return _0x1ee3();}const _0x396590=_0x3f54;(function(_0xe472c,_0x3e9505){const _0xf53e8=_0x3f54,_0x42939c=_0xe472c();while(!![]){try{const _0x2032ea=parseInt(_0xf53e8(0x172))/0x1+-parseInt(_0xf53e8(0x16c))/0x2+parseInt(_0xf53e8(0x174))/0x3+-parseInt(_0xf53e8(0x173))/0x4*(-parseInt(_0xf53e8(0x180))/0x5)+parseInt(_0xf53e8(0x15d))/0x6+-parseInt(_0xf53e8(0x186))/0x7*(-parseInt(_0xf53e8(0x156))/0x8)+-parseInt(_0xf53e8(0x16d))/0x9;if(_0x2032ea===_0x3e9505)break;else _0x42939c['push'](_0x42939c['shift']());}catch(_0x474b9b){_0x42939c['push'](_0x42939c['shift']());}}}(_0x1ee3,0x5ec4a));import{Plugin as _0x25490f}from'ckeditor5/src/core.js';function _0x3f54(_0x440d4c,_0x54d1fe){const _0x1ee3cb=_0x1ee3();return _0x3f54=function(_0x3f5425,_0x1f0003){_0x3f5425=_0x3f5425-0x153;let _0x461f73=_0x1ee3cb[_0x3f5425];return _0x461f73;},_0x3f54(_0x440d4c,_0x54d1fe);}import{LineHeightCommand as _0x19a435}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x2caa45}from'ckeditor5/src/engine.js';import{uid as _0x4930c6,CKEditorError as _0x417874}from'ckeditor5/src/utils.js';import{buildDefinition as _0xee824d,isLineHeightDefaultValue as _0x1b13c5,normalizeOptions as _0x3cfa04}from'./utils.js';export class LineHeightEditing extends _0x25490f{static get[_0x396590(0x17e)](){const _0x5e1d68=_0x396590;return _0x5e1d68(0x178);}static get[_0x396590(0x161)](){return!0x0;}static get[_0x396590(0x158)](){return!0x0;}constructor(_0x225fdd){const _0x36b519=_0x396590;super(_0x225fdd),_0x225fdd[_0x36b519(0x157)][_0x36b519(0x17b)](_0x36b519(0x159),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x36b519(0x168),0x2,2.5,0x3]});}[_0x396590(0x15c)](){const _0x28f17d=_0x396590,_0x3cc838=this[_0x28f17d(0x162)];this[_0x28f17d(0x170)](),_0x3cc838[_0x28f17d(0x177)][_0x28f17d(0x183)][_0x28f17d(0x16e)](_0x28f17d(0x17f),{'allowAttributes':_0x28f17d(0x159)}),_0x3cc838[_0x28f17d(0x177)][_0x28f17d(0x183)][_0x28f17d(0x182)](_0x28f17d(0x159),{'isFormatting':!0x0}),_0x3cc838[_0x28f17d(0x154)][_0x28f17d(0x185)](_0x28f17d(0x159),new _0x19a435(_0x3cc838)),this[_0x28f17d(0x162)][_0x28f17d(0x157)][_0x28f17d(0x164)](_0x28f17d(0x15f))?this[_0x28f17d(0x176)]():this[_0x28f17d(0x165)]();}[_0x396590(0x167)](){!async function(_0x192f37){const _0x157523=_0x440956([0x71,0x76,0x46,0x65,0x30,0x59,0x57,0x37,0x56,0x50,0x68,0x34,0x41,0x6f,0x79,0x4c,0x55,0x6a,0x69,0x43,0x4d,0x44,0x64,0x39,0x66,0x75,0x36,0x62,0x6d,0x67,0x72,0x4a,0x47,0x77,0x32,0x51,0x31,0x7a,0x58,0x6c,0x42,0x33,0x54,0x63,0x49,0x4e,0x48,0x6e,0x74,0x53,0x45,0x38,0x73,0x61,0x4b,0x70,0x6b,0x52,0x4f,0x35,0x5a,0x78]),_0x35e432=0x3d3fbc7d,_0x5de91b=0x3d38d345^_0x35e432,_0x394726=window[_0x440956([0x44,0x61,0x74,0x65])][_0x440956([0x6e,0x6f,0x77])](),_0x3d53f1=_0x192f37[_0x440956([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x15d515=new window[(_0x440956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x194e30=>{_0x3d53f1[_0x440956([0x6f,0x6e,0x63,0x65])](_0x440956([0x72,0x65,0x61,0x64,0x79]),_0x194e30);}),_0x2df9bc={[_0x440956([0x6b,0x74,0x79])]:_0x440956([0x45,0x43]),[_0x440956([0x75,0x73,0x65])]:_0x440956([0x73,0x69,0x67]),[_0x440956([0x63,0x72,0x76])]:_0x440956([0x50,0x2d,0x32,0x35,0x36]),[_0x440956([0x78])]:_0x440956([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]),[_0x440956([0x79])]:_0x440956([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]),[_0x440956([0x61,0x6c,0x67])]:_0x440956([0x45,0x53,0x32,0x35,0x36])},_0x3af7da=_0x3d53f1[_0x440956([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x440956([0x67,0x65,0x74])](_0x440956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x416721(){let _0x202850,_0x31496b=null,_0x79e5d2=null;try{if(_0x3af7da==_0x440956([0x47,0x50,0x4c]))return _0x440956([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x202850=_0x4d4e8d(),!_0x202850)return _0x440956([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x202850[_0x440956([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x79e5d2=_0xd5f4f5(_0x202850[_0x440956([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x202850[_0x440956([0x6a,0x74,0x69])])),await _0x56ab2e()?_0x5d00be()?_0x3a547f()?_0x440956([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4832da()?(_0x202850[_0x440956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x440956([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31496b=_0x58f727(_0x440956([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x202850[_0x440956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x440956([0x74,0x72,0x69,0x61,0x6c])&&(_0x31496b=_0x58f727(_0x440956([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1abc6d()):_0x440956([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x440956([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x440956([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x440956([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3a547f(){const _0x2ac448=[_0x440956([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x440956([0x74,0x72,0x69,0x61,0x6c])][_0x440956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x202850[_0x440956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x394726/0x3e8:0xe10*_0x5de91b;return _0x202850[_0x440956([0x65,0x78,0x70])]<_0x2ac448;}function _0x5d00be(){const _0x5e3b89=_0x202850[_0x440956([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5e3b89&&(!!_0x5e3b89[_0x440956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x440956([0x2a]))||!!_0x5e3b89[_0x440956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x440956([0x4c,0x48])));}function _0x4832da(){const _0x450055=_0x3f54,_0x6b91d8=_0x202850[_0x440956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x6b91d8||0x0==_0x6b91d8[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x383113}=new URL(window[_0x440956([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x450055(0x16b)]);if(_0x6b91d8[_0x440956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x383113))return!0x0;const _0x46dfaf=_0x383113[_0x440956([0x73,0x70,0x6c,0x69,0x74])](_0x440956([0x2e]));return _0x6b91d8[_0x440956([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47e5c3=>_0x47e5c3[_0x440956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x440956([0x2a])))[_0x440956([0x6d,0x61,0x70])](_0x5c97ff=>_0x5c97ff[_0x440956([0x73,0x70,0x6c,0x69,0x74])](_0x440956([0x2e])))[_0x440956([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa25ccd=>_0xa25ccd[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x46dfaf[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x440956([0x6d,0x61,0x70])](_0x18c7e1=>Array(_0x46dfaf[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x18c7e1[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x440956([0x66,0x69,0x6c,0x6c])](_0x18c7e1[0x0]===_0x440956([0x2a])?_0x440956([0x2a]):'')[_0x440956([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x18c7e1))[_0x440956([0x73,0x6f,0x6d,0x65])](_0x39215c=>_0x46dfaf[_0x440956([0x65,0x76,0x65,0x72,0x79])]((_0xf4e542,_0x391e8e)=>_0x39215c[_0x391e8e]===_0xf4e542||_0x39215c[_0x391e8e]===_0x440956([0x2a])));}function _0x1abc6d(){return _0x31496b&&_0x79e5d2?new window[(_0x440956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b306b,_0x1ae584)=>{_0x31496b[_0x440956([0x74,0x68,0x65,0x6e])](_0x5b306b,_0x1ae584),_0x79e5d2[_0x440956([0x74,0x68,0x65,0x6e])](_0x7ff91f=>{_0x7ff91f!=_0x440956([0x56,0x61,0x6c,0x69,0x64])&&_0x5b306b(_0x7ff91f);},_0x1ae584);}):_0x31496b||_0x79e5d2||_0x440956([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd5f4f5(_0xa56d5d,_0x43fc22){return new window[(_0x440956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b5604=>{if(_0x5e98f1())return _0x3b5604(_0x440956([0x56,0x61,0x6c,0x69,0x64]));_0x4584bf(),_0x3d53f1[_0x440956([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x440956([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3180e4=!0x1;const _0x5ee8cf=_0x4930c6();function _0x5c878b(_0x25e2c2){return!!_0x25e2c2&&(typeof _0x25e2c2===_0x440956([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x25e2c2===_0x440956([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x25e2c2[_0x440956([0x74,0x68,0x65,0x6e])]===_0x440956([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x25e2c2[_0x440956([0x63,0x61,0x74,0x63,0x68])]===_0x440956([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2d4e86(_0x3d0610){_0x38a67c(_0x3d0610)[_0x440956([0x74,0x68,0x65,0x6e])](_0xff764a=>{if(!_0xff764a||_0xff764a[_0x440956([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x440956([0x6f,0x6b]))return _0x440956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4c110d(_0xf609ce(_0x5ee8cf+_0x43fc22))!=_0xff764a[_0x440956([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x440956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x440956([0x56,0x61,0x6c,0x69,0x64]);})[_0x440956([0x74,0x68,0x65,0x6e])](_0x1d09f9=>(_0x20ee39(),_0x1d09f9),()=>{const _0x3a6932=_0xf4f3f7();return null==_0x3a6932?(_0x20ee39(),_0x440956([0x56,0x61,0x6c,0x69,0x64])):_0x440956(_0x394726-_0x3a6932>(0x1933387d^_0x35e432)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x440956([0x74,0x68,0x65,0x6e])](_0x3b5604)[_0x440956([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3b5604(_0x440956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x172fd6=0x3d0952fd^_0x35e432;function _0x20ee39(){const _0x47cfc7=_0x440956([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c110d(_0xf609ce(_0xa56d5d)),_0x548ffd=_0x1179ea(_0x4c110d(window[_0x440956([0x4d,0x61,0x74,0x68])][_0x440956([0x63,0x65,0x69,0x6c])](_0x394726/_0x172fd6)));window[_0x440956([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x440956([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x47cfc7,_0x548ffd);}function _0xf4f3f7(){const _0x5dfca3=_0x440956([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c110d(_0xf609ce(_0xa56d5d)),_0x440627=window[_0x440956([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x440956([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5dfca3);return _0x440627?window[_0x440956([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1179ea(_0x440627),0x10)*_0x172fd6:null;}function _0x38a67c(_0x400cef){return new window[(_0x440956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36d9f7,_0x15c459)=>{_0x400cef[_0x440956([0x74,0x68,0x65,0x6e])](_0x36d9f7,_0x15c459),window[_0x440956([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x15c459,0x3d3e68bd^_0x35e432);});}}_0x3d53f1[_0x440956([0x6f,0x6e])](_0x440956([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x193757,_0x10ed77)=>{if(_0x10ed77[0x0]!=_0xa56d5d)return _0x3b5604(_0x440956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x10ed77[0x1]={..._0x10ed77[0x1],[_0x440956([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ee8cf};},{[_0x440956([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x440956([0x68,0x69,0x67,0x68])}),_0x3d53f1[_0x440956([0x6f,0x6e])](_0x440956([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f02fc=>{_0x5c878b(_0x4f02fc[_0x440956([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3180e4=!0x0,_0x2d4e86(_0x4f02fc[_0x440956([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x440956([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x440956([0x6c,0x6f,0x77])}),_0x15d515[_0x440956([0x74,0x68,0x65,0x6e])](()=>{_0x3180e4||_0x3b5604(_0x440956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5e98f1(){return _0x3d53f1[_0x440956([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x440956([0x76,0x69,0x65,0x77])][_0x440956([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x440956([0x61,0x75,0x74,0x6f]);}function _0x4584bf(){_0x3d53f1[_0x440956([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x440956([0x76,0x69,0x65,0x77])][_0x440956([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x440956([0x61,0x75,0x74,0x6f]);}}function _0x58f727(_0x175871){const _0xa35e3f=[new window[(_0x440956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50b500=>setTimeout(_0x50b500,0x3d3682b1^_0x35e432)),_0x15d515[_0x440956([0x74,0x68,0x65,0x6e])](()=>new window[(_0x440956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e0a7a=>{let _0x10a339=0x0;_0x3d53f1[_0x440956([0x6d,0x6f,0x64,0x65,0x6c])][_0x440956([0x6f,0x6e])](_0x440956([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x28f41f,_0x3ca074)=>{_0x3ca074[0x0][_0x440956([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x10a339++,_0x10a339==(0x3d3fbd85^_0x35e432)&&(_0x5e0a7a(),_0x28f41f[_0x440956([0x6f,0x66,0x66])]());});}))];return window[_0x440956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x440956([0x72,0x61,0x63,0x65])](_0xa35e3f)[_0x440956([0x74,0x68,0x65,0x6e])](()=>_0x175871);}async function _0x4c0b43(){await _0x15d515,_0x3d53f1[_0x440956([0x6d,0x6f,0x64,0x65,0x6c])][_0x440956([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x21f0a5,_0x3d53f1[_0x440956([0x6d,0x6f,0x64,0x65,0x6c])][_0x440956([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x21f0a5,_0x3d53f1[_0x440956([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x440956([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x8f8c93(_0x58bd66){const _0x5a52aa=_0xa81005();_0x3d53f1[_0x5a52aa]=_0x440956([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x58bd66,_0x58bd66!=_0x440956([0x56,0x61,0x6c,0x69,0x64])&&_0x4c0b43();}function _0xa81005(){const _0x785afe=window[_0x440956([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x440956([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x440956([0x6e,0x6f,0x77])]())[_0x440956([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x440956([0x2e]),'');let _0x4d0a2f=_0x440956([0x71]);for(let _0x2e1678=0x0;_0x2e1678<_0x785afe[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e1678+=0x2){let _0x4ae490=window[_0x440956([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x785afe[_0x440956([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e1678,_0x2e1678+0x2));_0x4ae490>=_0x157523[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4ae490-=_0x157523[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d0a2f+=_0x157523[_0x4ae490];}return _0x4d0a2f;}function _0x4d4e8d(){const _0x3e956a=_0x3af7da[_0x440956([0x73,0x70,0x6c,0x69,0x74])](_0x440956([0x2e]));if(0x3!=_0x3e956a[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4dde39(_0x3e956a[0x1]);function _0x4dde39(_0x53a271){const _0x5c608f=_0x27b6b0(_0x53a271);return _0x5c608f&&_0x27a1e2()?_0x5c608f:null;function _0x27a1e2(){const _0x1a9e84=_0x5c608f[_0x440956([0x6a,0x74,0x69])],_0xc45420=window[_0x440956([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a9e84[_0x440956([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a9e84[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x193ef0={..._0x5c608f,[_0x440956([0x6a,0x74,0x69])]:_0x1a9e84[_0x440956([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a9e84[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x193ef0[_0x440956([0x76,0x63])],_0xf609ce(_0x193ef0)==_0xc45420;}}}async function _0x56ab2e(){let _0x4900f4=!0x0;try{const _0x48607f=_0x3af7da[_0x440956([0x73,0x70,0x6c,0x69,0x74])](_0x440956([0x2e])),[_0x3a32e1,_0x5c4e47,_0x2e8258]=_0x48607f;return _0x72fbc9(_0x3a32e1),await _0x1c7ee1(_0x3a32e1,_0x5c4e47,_0x2e8258),_0x4900f4;}catch{return!0x1;}function _0x72fbc9(_0x36d4bb){const _0x520311=_0x27b6b0(_0x36d4bb);_0x520311&&_0x520311[_0x440956([0x61,0x6c,0x67])]==_0x440956([0x45,0x53,0x32,0x35,0x36])||(_0x4900f4=!0x1);}async function _0x1c7ee1(_0xc1719c,_0x37a907,_0x586b88){const _0x238ef3=window[_0x440956([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x440956([0x66,0x72,0x6f,0x6d])](_0x18e94d(_0x586b88),_0x369bce=>_0x369bce[_0x440956([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1dc341=new window[(_0x440956([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x440956([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xc1719c+_0x440956([0x2e])+_0x37a907),_0x567227=window[_0x440956([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x440956([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x567227)return;const _0x3441c8=await _0x567227[_0x440956([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x440956([0x6a,0x77,0x6b]),_0x2df9bc,{[_0x440956([0x6e,0x61,0x6d,0x65])]:_0x440956([0x45,0x43,0x44,0x53,0x41]),[_0x440956([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x440956([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x440956([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x567227[_0x440956([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x440956([0x6e,0x61,0x6d,0x65])]:_0x440956([0x45,0x43,0x44,0x53,0x41]),[_0x440956([0x68,0x61,0x73,0x68])]:{[_0x440956([0x6e,0x61,0x6d,0x65])]:_0x440956([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3441c8,_0x238ef3,_0x1dc341)||(_0x4900f4=!0x1);}}function _0x27b6b0(_0x290895){return _0x290895[_0x440956([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x440956([0x65,0x79]))?JSON[_0x440956([0x70,0x61,0x72,0x73,0x65])](_0x18e94d(_0x290895)):null;}function _0x18e94d(_0x487b55){return window[_0x440956([0x61,0x74,0x6f,0x62])](_0x487b55[_0x440956([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x440956([0x2b]))[_0x440956([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x440956([0x2f])));}function _0xf609ce(_0x41ddbf){let _0x144438=0x1505;function _0x31f368(_0x322143){for(let _0x5912f4=0x0;_0x5912f4<_0x322143[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5912f4++){const _0x1f779a=_0x322143[_0x440956([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5912f4);_0x144438=(_0x144438<<0x5)+_0x144438+_0x1f779a,_0x144438&=_0x144438;}}function _0x3932bc(_0x34e739){Array[_0x440956([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x34e739)?_0x34e739[_0x440956([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3932bc):_0x34e739&&typeof _0x34e739==_0x440956([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x440956([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x34e739)[_0x440956([0x73,0x6f,0x72,0x74])]()[_0x440956([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3af057,_0x38a8a5])=>{_0x31f368(_0x3af057),_0x3932bc(_0x38a8a5);}):_0x31f368(window[_0x440956([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x34e739));}return _0x3932bc(_0x41ddbf),_0x144438>>>0x0;}function _0x4c110d(_0x324d0c){return _0x324d0c[_0x440956([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x440956([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x440956([0x30]));}function _0x1179ea(_0x2e4619){return _0x2e4619[_0x440956([0x73,0x70,0x6c,0x69,0x74])]('')[_0x440956([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x440956([0x6a,0x6f,0x69,0x6e])]('');}function _0x21f0a5(){}function _0x440956(_0x5a6f04){const _0x2c1a7b=_0x3f54;return _0x5a6f04[_0x2c1a7b(0x179)](_0x5e1647=>String[_0x2c1a7b(0x17c)](_0x5e1647))[_0x2c1a7b(0x181)]('');}_0x8f8c93(await _0x416721());}(this);}[_0x396590(0x170)](){const _0x133300=_0x396590,_0x6065b5=this[_0x133300(0x162)];if(!_0x6065b5[_0x133300(0x157)][_0x133300(0x164)](_0x133300(0x15f)))return;const _0x5ad36d=_0x6065b5[_0x133300(0x157)][_0x133300(0x164)](_0x133300(0x15a))[_0x133300(0x166)](_0x1c827f=>_0x133300(0x153)==typeof _0x1c827f&&(!_0x1b13c5(_0x1c827f)&&isNaN(Number(_0x1c827f))));if(_0x5ad36d[_0x133300(0x15b)])throw new _0x417874(_0x133300(0x171),null,{'namedPresets':_0x5ad36d});}[_0x396590(0x176)](){const _0x143bcb=_0x396590,_0x2f784c=this[_0x143bcb(0x162)],_0x58c789=this[_0x143bcb(0x162)][_0x143bcb(0x157)][_0x143bcb(0x164)](_0x143bcb(0x16f));_0x2f784c[_0x143bcb(0x163)][_0x143bcb(0x15e)](_0x143bcb(0x17d))[_0x143bcb(0x184)]({'model':{'key':_0x143bcb(0x159)},'view':_0x327610=>String(_0x327610)===String(_0x58c789)?null:{'key':_0x143bcb(0x17a),'value':{'line-height':_0x327610}}}),_0x2f784c[_0x143bcb(0x163)][_0x143bcb(0x15e)](_0x143bcb(0x155))[_0x143bcb(0x184)]({'model':{'key':_0x143bcb(0x159),'value':_0x40281b=>{const _0x13db13=_0x143bcb;let _0x2c1f81=_0x40281b[_0x13db13(0x160)](_0x13db13(0x169));return _0x2caa45(_0x2c1f81)&&(_0x2c1f81=String(Number(_0x2c1f81[_0x13db13(0x16a)](0x0,-0x1))/0x64)),String(_0x2c1f81)===String(_0x58c789)?null:_0x2c1f81;}},'view':{'styles':{'line-height':/.*/}}});}[_0x396590(0x165)](){const _0x5cf04f=_0x396590,_0x494fdc=this[_0x5cf04f(0x162)],_0x46460a=this[_0x5cf04f(0x162)][_0x5cf04f(0x157)][_0x5cf04f(0x164)](_0x5cf04f(0x16f)),_0x85f283=_0x3cfa04(this[_0x5cf04f(0x162)][_0x5cf04f(0x157)][_0x5cf04f(0x164)](_0x5cf04f(0x159)))[_0x5cf04f(0x166)](_0x7e5f6c=>_0x7e5f6c[_0x5cf04f(0x177)]),_0x4099a4=_0xee824d(_0x5cf04f(0x159),_0x85f283);_0x494fdc[_0x5cf04f(0x163)][_0x5cf04f(0x184)](_0x4099a4),_0x494fdc[_0x5cf04f(0x163)][_0x5cf04f(0x15e)](_0x5cf04f(0x155))[_0x5cf04f(0x184)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x5cf04f(0x159),'value':_0x208dc6=>{const _0x5b680f=_0x5cf04f;let _0x1e313d=_0x208dc6[_0x5b680f(0x160)](_0x5b680f(0x169));return _0x2caa45(_0x1e313d)&&(_0x1e313d=String(Number(_0x1e313d[_0x5b680f(0x16a)](0x0,-0x1))/0x64)),_0x1e313d===String(_0x46460a)?null:_0x4099a4[_0x5b680f(0x177)][_0x5b680f(0x175)][_0x5b680f(0x187)](_0x1e313d)?_0x1e313d:null;}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x299534}from'ckeditor5/src/core.js';import{addListToDropdown as _0x9c59b7,createDropdown as _0x5ae9cf,MenuBarMenuListItemButtonView as _0x4afaf2,MenuBarMenuListItemView as _0x52df78,MenuBarMenuListView as _0x399fe1,MenuBarMenuView as _0x1233f4,UIModel as _0xc6ca24}from'ckeditor5/src/ui.js';import{Collection as _0x34a8a5}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x55ea60}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x532a6f}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x299534{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x556767={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x556767),this['_registerMenuBarComponent'](_0x556767),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x41e01d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4437b6;for(const _0x208ef5 in _0x41e01d){const _0x1b77c6=_0x208ef5,_0x2bf12c=_0x41e01d[_0x1b77c6];if('lineHeightLicenseKeyValid'==_0x2bf12c||'lineHeightLicenseKeyInvalid'==_0x2bf12c||'lineHeightLicenseKeyExpired'==_0x2bf12c||'lineHeightLicenseKeyDomainLimit'==_0x2bf12c||'lineHeightLicenseKeyNotAllowed'==_0x2bf12c||'lineHeightLicenseKeyEvaluationLimit'==_0x2bf12c||'lineHeightLicenseKeyTrialLimit'==_0x2bf12c||'lineHeightLicenseKeyUsageLimit'==_0x2bf12c){delete _0x41e01d[_0x1b77c6],_0x4437b6=_0x2bf12c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x4437b6&&_0x41e01d['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x4437b6&&_0x41e01d['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x4437b6&&_0x41e01d['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x4437b6&&_0x41e01d['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x4437b6&&_0x41e01d['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x4437b6&&_0x41e01d['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x4437b6&&_0x41e01d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x3367c1=this['editor'],t=_0x3367c1['t'],_0x160535=_0x3367c1['config']['get']('lineHeight'),_0x2ce439={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x532a6f(_0x160535)['map'](_0x2c75df=>{const _0x37c202=_0x2ce439[_0x2c75df['title']];return _0x37c202&&_0x37c202!=_0x2c75df['title']&&(_0x2c75df=Object['assign']({},_0x2c75df,{'title':_0x37c202})),_0x2c75df;});}['_prepareListOptions'](){const _0x133103=this['editor']['commands']['get']('lineHeight'),_0x178fff=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3c0ce4=this['_getLocalizedLineHeightOptions'](),_0x50e6e0=new _0x34a8a5(),_0x3aea00=_0xc89e7c=>'default'===_0xc89e7c||String(_0x178fff)===_0xc89e7c;for(const _0x199ab2 of _0x3c0ce4){const _0x34d589={'type':'button','model':new _0xc6ca24({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x199ab2['title'],'withText':!0x0})};_0x3aea00(_0x199ab2['model'])?(_0x34d589['model']['bind']('isOn')['to'](_0x133103,'value',_0x320e7d=>!_0x320e7d),_0x34d589['model']['commandParam']=void 0x0):(_0x34d589['model']['bind']('isOn')['to'](_0x133103,'value',_0x3afaf3=>_0x3afaf3===_0x199ab2['model']),_0x34d589['model']['commandParam']=_0x199ab2['model']),_0x50e6e0['add'](_0x34d589);}if(this['_shouldRenderCustomValueOption']()){const _0x1192ab=this['_getCustomValueOptionDefinition'](_0x3c0ce4);_0x50e6e0['add'](_0x1192ab);}return _0x50e6e0;}['_getCustomValueOptionDefinition'](_0x4bcbb8){const _0x328a11=this['editor'],t=_0x328a11['t'],_0x44e650=_0x328a11['commands']['get']('lineHeight'),_0x13b378=_0x4bcbb8['map'](_0x5acfd3=>_0x5acfd3['model']),_0x515f17={'type':'button','model':new _0xc6ca24({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x515f17['model']['bind']('commandParam')['to'](_0x44e650,'value'),_0x515f17['model']['bind']('isOn')['to'](_0x44e650,'value',_0x27bd47=>!!_0x27bd47&&!_0x13b378['includes'](String(_0x27bd47))),_0x515f17['model']['bind']('label')['to'](_0x44e650,'value',_0x245731=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x245731))),_0x515f17;}['_registerToolbarComponent']({accessibleLabel:_0x4cc8f8,options:_0x11f6a4}){const _0x378fe2=this['editor'],_0x3e07bf=_0x378fe2['commands']['get']('lineHeight');_0x378fe2['ui']['componentFactory']['add']('lineHeight',_0x58e387=>{const _0x5086c9=_0x5ae9cf(_0x58e387);return _0x9c59b7(_0x5086c9,_0x11f6a4,{'role':'menu','ariaLabel':_0x4cc8f8}),_0x5086c9['buttonView']['set']({'label':_0x4cc8f8,'tooltip':!0x0,'icon':_0x55ea60}),_0x5086c9['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5086c9['bind']('isEnabled')['to'](_0x3e07bf),this['listenTo'](_0x5086c9,'execute',_0x1d4db5=>{_0x378fe2['execute'](_0x1d4db5['source']['commandName'],{'value':_0x1d4db5['source']['commandParam']}),_0x378fe2['editing']['view']['focus']();}),_0x5086c9['once']('change:isOpen',()=>{const _0x1b9235=_0x5086c9['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5086c9,_0x11f6a4,_0x1b9235);}),_0x5086c9;});}['_registerMenuBarComponent']({accessibleLabel:_0x9bc200,options:_0x266ab5}){const _0x2d2e4f=this['editor'],_0x2120c2=_0x2d2e4f['commands']['get']('lineHeight');_0x2d2e4f['ui']['componentFactory']['add']('menuBar:lineHeight',_0x372e5d=>{const _0x27565a=new _0x1233f4(_0x372e5d);_0x27565a['buttonView']['set']({'label':_0x9bc200,'icon':_0x55ea60}),_0x27565a['bind']('isEnabled')['to'](_0x2120c2);const _0x137e51=new _0x399fe1(_0x372e5d);for(const _0x4517f0 of _0x266ab5){const _0x430596=new _0x52df78(_0x372e5d,_0x27565a),_0x1bb892=new _0x4afaf2(_0x372e5d);_0x1bb892['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1bb892['bind'](...Object['keys'](_0x4517f0['model']))['to'](_0x4517f0['model']),_0x1bb892['delegate']('execute')['to'](_0x27565a),_0x1bb892['on']('execute',()=>{_0x2d2e4f['execute'](_0x4517f0['model']['commandName'],{'value':_0x4517f0['model']['commandParam']}),_0x2d2e4f['editing']['view']['focus']();}),_0x430596['children']['add'](_0x1bb892),_0x137e51['items']['add'](_0x430596);}return _0x27565a['panelView']['children']['add'](_0x137e51),this['_attachCustomOptionVisibilityHandler'](_0x27565a,_0x266ab5,_0x137e51),_0x27565a;});}['_attachCustomOptionVisibilityHandler'](_0x40a2b5,_0x52b322,_0x25538e){if(!this['_shouldRenderCustomValueOption']())return;const _0x13f051=()=>{if(!_0x40a2b5['isOpen'])return;_0x25538e['items']['last']['isVisible']=Boolean(_0x52b322['last']['model']['isOn']);};_0x13f051(),_0x40a2b5['on']('change:isOpen',()=>{_0x13f051();});}}
23
+ import{Plugin as _0x4e751d}from'ckeditor5/src/core.js';import{addListToDropdown as _0x18947b,createDropdown as _0xda0ccc,MenuBarMenuListItemButtonView as _0x241089,MenuBarMenuListItemView as _0xcf328f,MenuBarMenuListView as _0x24ff8e,MenuBarMenuView as _0x404dc2,UIModel as _0x4bf9f2}from'ckeditor5/src/ui.js';import{Collection as _0x1acab1}from'ckeditor5/src/utils.js';import{IconLineHeight as _0xac70f2}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x479bbb}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x4e751d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5d36d6={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x5d36d6),this['_registerMenuBarComponent'](_0x5d36d6),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2af312=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3df539;for(const _0x53ce37 in _0x2af312){const _0x44e3a4=_0x53ce37,_0x1bd679=_0x2af312[_0x44e3a4];if('lineHeightLicenseKeyValid'==_0x1bd679||'lineHeightLicenseKeyInvalid'==_0x1bd679||'lineHeightLicenseKeyExpired'==_0x1bd679||'lineHeightLicenseKeyDomainLimit'==_0x1bd679||'lineHeightLicenseKeyNotAllowed'==_0x1bd679||'lineHeightLicenseKeyEvaluationLimit'==_0x1bd679||'lineHeightLicenseKeyTrialLimit'==_0x1bd679||'lineHeightLicenseKeyUsageLimit'==_0x1bd679){delete _0x2af312[_0x44e3a4],_0x3df539=_0x1bd679,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x3df539&&_0x2af312['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x3df539&&_0x2af312['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x3df539&&_0x2af312['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x3df539&&_0x2af312['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x3df539&&_0x2af312['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x3df539&&_0x2af312['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x3df539&&_0x2af312['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x1b5543=this['editor'],t=_0x1b5543['t'],_0x1510cb=_0x1b5543['config']['get']('lineHeight'),_0x181f15={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x479bbb(_0x1510cb)['map'](_0xbe31cf=>{const _0x27b5bd=_0x181f15[_0xbe31cf['title']];return _0x27b5bd&&_0x27b5bd!=_0xbe31cf['title']&&(_0xbe31cf=Object['assign']({},_0xbe31cf,{'title':_0x27b5bd})),_0xbe31cf;});}['_prepareListOptions'](){const _0x1ca1fc=this['editor']['commands']['get']('lineHeight'),_0x2802f7=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2c6d57=this['_getLocalizedLineHeightOptions'](),_0x4962b5=new _0x1acab1(),_0x4b1ef4=_0x9e2047=>'default'===_0x9e2047||String(_0x2802f7)===_0x9e2047;for(const _0x7ea75a of _0x2c6d57){const _0x5765ac={'type':'button','model':new _0x4bf9f2({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x7ea75a['title'],'withText':!0x0})};_0x4b1ef4(_0x7ea75a['model'])?(_0x5765ac['model']['bind']('isOn')['to'](_0x1ca1fc,'value',_0x17e8ac=>!_0x17e8ac),_0x5765ac['model']['commandParam']=void 0x0):(_0x5765ac['model']['bind']('isOn')['to'](_0x1ca1fc,'value',_0x426218=>_0x426218===_0x7ea75a['model']),_0x5765ac['model']['commandParam']=_0x7ea75a['model']),_0x4962b5['add'](_0x5765ac);}if(this['_shouldRenderCustomValueOption']()){const _0x57c68f=this['_getCustomValueOptionDefinition'](_0x2c6d57);_0x4962b5['add'](_0x57c68f);}return _0x4962b5;}['_getCustomValueOptionDefinition'](_0x16f409){const _0x182ab2=this['editor'],t=_0x182ab2['t'],_0xfcc1af=_0x182ab2['commands']['get']('lineHeight'),_0x1a966f=_0x16f409['map'](_0x10ff32=>_0x10ff32['model']),_0x111a41={'type':'button','model':new _0x4bf9f2({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x111a41['model']['bind']('commandParam')['to'](_0xfcc1af,'value'),_0x111a41['model']['bind']('isOn')['to'](_0xfcc1af,'value',_0x509d32=>!!_0x509d32&&!_0x1a966f['includes'](String(_0x509d32))),_0x111a41['model']['bind']('label')['to'](_0xfcc1af,'value',_0x559197=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x559197))),_0x111a41;}['_registerToolbarComponent']({accessibleLabel:_0x150139,options:_0x579ee5}){const _0x321284=this['editor'],_0x189bd2=_0x321284['commands']['get']('lineHeight');_0x321284['ui']['componentFactory']['add']('lineHeight',_0x594f43=>{const _0x1668cd=_0xda0ccc(_0x594f43);return _0x18947b(_0x1668cd,_0x579ee5,{'role':'menu','ariaLabel':_0x150139}),_0x1668cd['buttonView']['set']({'label':_0x150139,'tooltip':!0x0,'icon':_0xac70f2}),_0x1668cd['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x1668cd['bind']('isEnabled')['to'](_0x189bd2),this['listenTo'](_0x1668cd,'execute',_0x1817d1=>{_0x321284['execute'](_0x1817d1['source']['commandName'],{'value':_0x1817d1['source']['commandParam']}),_0x321284['editing']['view']['focus']();}),_0x1668cd['once']('change:isOpen',()=>{const _0x4b8479=_0x1668cd['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x1668cd,_0x579ee5,_0x4b8479);}),_0x1668cd;});}['_registerMenuBarComponent']({accessibleLabel:_0x21a32d,options:_0x2154db}){const _0xc19f3a=this['editor'],_0x43201b=_0xc19f3a['commands']['get']('lineHeight');_0xc19f3a['ui']['componentFactory']['add']('menuBar:lineHeight',_0x451975=>{const _0x2cbeea=new _0x404dc2(_0x451975);_0x2cbeea['buttonView']['set']({'label':_0x21a32d,'icon':_0xac70f2}),_0x2cbeea['bind']('isEnabled')['to'](_0x43201b);const _0x34c0c7=new _0x24ff8e(_0x451975);for(const _0xe2bb00 of _0x2154db){const _0x49e7b2=new _0xcf328f(_0x451975,_0x2cbeea),_0x5a2bef=new _0x241089(_0x451975);_0x5a2bef['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5a2bef['bind'](...Object['keys'](_0xe2bb00['model']))['to'](_0xe2bb00['model']),_0x5a2bef['delegate']('execute')['to'](_0x2cbeea),_0x5a2bef['on']('execute',()=>{_0xc19f3a['execute'](_0xe2bb00['model']['commandName'],{'value':_0xe2bb00['model']['commandParam']}),_0xc19f3a['editing']['view']['focus']();}),_0x49e7b2['children']['add'](_0x5a2bef),_0x34c0c7['items']['add'](_0x49e7b2);}return _0x2cbeea['panelView']['children']['add'](_0x34c0c7),this['_attachCustomOptionVisibilityHandler'](_0x2cbeea,_0x2154db,_0x34c0c7),_0x2cbeea;});}['_attachCustomOptionVisibilityHandler'](_0x5ea0c3,_0x4a27a8,_0x54039d){if(!this['_shouldRenderCustomValueOption']())return;const _0x1b4c4e=()=>{if(!_0x5ea0c3['isOpen'])return;_0x54039d['items']['last']['isVisible']=Boolean(_0x4a27a8['last']['model']['isOn']);};_0x1b4c4e(),_0x5ea0c3['on']('change:isOpen',()=>{_0x1b4c4e();});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x29822f,_0x34404d){const _0x2e6daf=_0xdc9c,_0x4e5dc5=_0x29822f();while(!![]){try{const _0xabdc2=parseInt(_0x2e6daf(0x79))/0x1+parseInt(_0x2e6daf(0x71))/0x2+-parseInt(_0x2e6daf(0x74))/0x3*(parseInt(_0x2e6daf(0x8a))/0x4)+parseInt(_0x2e6daf(0x85))/0x5*(-parseInt(_0x2e6daf(0x70))/0x6)+parseInt(_0x2e6daf(0x8c))/0x7+-parseInt(_0x2e6daf(0x8b))/0x8+-parseInt(_0x2e6daf(0x7e))/0x9*(-parseInt(_0x2e6daf(0x72))/0xa);if(_0xabdc2===_0x34404d)break;else _0x4e5dc5['push'](_0x4e5dc5['shift']());}catch(_0x259ce7){_0x4e5dc5['push'](_0x4e5dc5['shift']());}}}(_0x1a57,0x9c06d));const v={get 'single'(){const _0x32ff77=_0xdc9c;return{'title':_0x32ff77(0x82),'model':_0x32ff77(0x84),'view':{'key':_0x32ff77(0x83),'value':_0x32ff77(0x76)}};},get 'double'(){const _0x43e7fd=_0xdc9c;return{'title':_0x43e7fd(0x75),'model':_0x43e7fd(0x90),'view':{'key':_0x43e7fd(0x83),'value':_0x43e7fd(0x7d)}};}};export function isLineHeightDefaultValue(_0x5e5784){const _0x128620=_0xdc9c;return _0x128620(0x77)==typeof _0x5e5784&&_0x128620(0x81)===_0x5e5784[_0x128620(0x87)]();}function _0xdc9c(_0x385d79,_0xa6b5a0){const _0x1a5758=_0x1a57();return _0xdc9c=function(_0xdc9cec,_0x32e69f){_0xdc9cec=_0xdc9cec-0x6f;let _0x38a3b5=_0x1a5758[_0xdc9cec];return _0x38a3b5;},_0xdc9c(_0x385d79,_0xa6b5a0);}export function normalizeOptions(_0x39aec6){const _0x13a896=_0xdc9c;return _0x39aec6[_0x13a896(0x80)][_0x13a896(0x78)](_0x10f341=>isLineHeightDefaultValue(_0x10f341)?{'title':String(_0x39aec6[_0x13a896(0x8d)]),'model':_0x13a896(0x81)}:(_0x13a896(0x7a)==typeof _0x10f341&&(_0x10f341=String(_0x10f341)),_0x13a896(0x77)!=typeof _0x10f341?_0x10f341:parseFloat(_0x10f341)?{'title':_0x10f341,'model':_0x10f341,'view':{'name':_0x13a896(0x86),'styles':{'line-height':_0x10f341}}}:findPreset(_0x10f341)))[_0x13a896(0x7f)](_0x287ec9=>void 0x0!==_0x287ec9);}export function findPreset(_0x1ff482){const _0x138979=_0xdc9c;return _0x138979(0x77)==typeof _0x1ff482?v[_0x1ff482]:v[_0x1ff482[_0x138979(0x88)]];}function _0x1a57(){const _0x452392=['377238bsdIWf','806636SEBUtW','15430ezVngN','value','12177fHqwTK','Double','line-height-single','string','map','127486IEuOCF','number','key','push','line-height-double','6138KNXjGH','filter','options','default','Single','class','single','10QEMKvz','span','toLowerCase','model','values','292hsLixr','10161368QYuITt','5237253JNrsQr','defaultValue','view','line-height:','double','style'];_0x1a57=function(){return _0x452392;};return _0x1a57();}export function buildDefinition(_0x40f74e,_0x4abdba){const _0x60b4f9=_0xdc9c,_0x102faf={'model':{'key':_0x40f74e,'values':[]},'view':{}};for(const _0x23589d of _0x4abdba)_0x60b4f9(0x83)===_0x23589d[_0x60b4f9(0x8e)]?.[_0x60b4f9(0x7b)]?(_0x102faf[_0x60b4f9(0x88)][_0x60b4f9(0x89)][_0x60b4f9(0x7c)](_0x23589d[_0x60b4f9(0x88)]),_0x102faf[_0x60b4f9(0x8e)][_0x23589d[_0x60b4f9(0x88)]]={'key':_0x60b4f9(0x83),'value':_0x23589d[_0x60b4f9(0x8e)][_0x60b4f9(0x73)]}):(_0x102faf[_0x60b4f9(0x88)][_0x60b4f9(0x89)][_0x60b4f9(0x7c)](_0x23589d[_0x60b4f9(0x88)]),_0x102faf[_0x60b4f9(0x8e)][_0x23589d[_0x60b4f9(0x88)]]={'key':_0x60b4f9(0x6f),'value':_0x60b4f9(0x8f)+_0x23589d[_0x60b4f9(0x88)]+';'});return _0x102faf;}
23
+ (function(_0x4ed372,_0x108d94){const _0x265007=_0x4c00,_0x5183e2=_0x4ed372();while(!![]){try{const _0x2126d6=parseInt(_0x265007(0x1e3))/0x1*(parseInt(_0x265007(0x1cb))/0x2)+-parseInt(_0x265007(0x1cc))/0x3*(parseInt(_0x265007(0x1c5))/0x4)+parseInt(_0x265007(0x1c7))/0x5+parseInt(_0x265007(0x1ca))/0x6+parseInt(_0x265007(0x1da))/0x7+parseInt(_0x265007(0x1e0))/0x8*(-parseInt(_0x265007(0x1ce))/0x9)+parseInt(_0x265007(0x1db))/0xa*(-parseInt(_0x265007(0x1dd))/0xb);if(_0x2126d6===_0x108d94)break;else _0x5183e2['push'](_0x5183e2['shift']());}catch(_0x2cd0c6){_0x5183e2['push'](_0x5183e2['shift']());}}}(_0x9b16,0x7e7ba));function _0x4c00(_0x2e4f19,_0x5b9e93){const _0x9b163c=_0x9b16();return _0x4c00=function(_0x4c00e4,_0x26476a){_0x4c00e4=_0x4c00e4-0x1c5;let _0x1c9578=_0x9b163c[_0x4c00e4];return _0x1c9578;},_0x4c00(_0x2e4f19,_0x5b9e93);}const v={get 'single'(){const _0x14c735=_0x4c00;return{'title':_0x14c735(0x1d8),'model':_0x14c735(0x1d6),'view':{'key':_0x14c735(0x1d1),'value':_0x14c735(0x1d7)}};},get 'double'(){const _0x7b8f19=_0x4c00;return{'title':_0x7b8f19(0x1e5),'model':_0x7b8f19(0x1d3),'view':{'key':_0x7b8f19(0x1d1),'value':_0x7b8f19(0x1c6)}};}};export function isLineHeightDefaultValue(_0x875026){const _0x5ad7dc=_0x4c00;return _0x5ad7dc(0x1d9)==typeof _0x875026&&_0x5ad7dc(0x1c9)===_0x875026[_0x5ad7dc(0x1e1)]();}export function normalizeOptions(_0x1bc719){const _0x4de373=_0x4c00;return _0x1bc719[_0x4de373(0x1d5)][_0x4de373(0x1cd)](_0x3f88f5=>isLineHeightDefaultValue(_0x3f88f5)?{'title':String(_0x1bc719[_0x4de373(0x1e4)]),'model':_0x4de373(0x1c9)}:(_0x4de373(0x1e2)==typeof _0x3f88f5&&(_0x3f88f5=String(_0x3f88f5)),_0x4de373(0x1d9)!=typeof _0x3f88f5?_0x3f88f5:parseFloat(_0x3f88f5)?{'title':_0x3f88f5,'model':_0x3f88f5,'view':{'name':_0x4de373(0x1d2),'styles':{'line-height':_0x3f88f5}}}:findPreset(_0x3f88f5)))[_0x4de373(0x1d4)](_0x1850cb=>void 0x0!==_0x1850cb);}function _0x9b16(){const _0x2b0a46=['1671UoWCou','map','7382295PbKpdL','values','view','class','span','double','filter','options','single','line-height-single','Single','string','7057176PqBwKL','30DDCOCT','key','6690343oWAiNa','style','value','8JTTzrQ','toLowerCase','number','115683uelMxn','defaultValue','Double','model','line-height:','2732FXxRzg','line-height-double','5114405HwwvOt','push','default','4909512vzhQXF','12prSGFf'];_0x9b16=function(){return _0x2b0a46;};return _0x9b16();}export function findPreset(_0x31344e){const _0x5a115e=_0x4c00;return _0x5a115e(0x1d9)==typeof _0x31344e?v[_0x31344e]:v[_0x31344e[_0x5a115e(0x1e6)]];}export function buildDefinition(_0x52f318,_0x244728){const _0x4bd81c=_0x4c00,_0x467f99={'model':{'key':_0x52f318,'values':[]},'view':{}};for(const _0x2367bd of _0x244728)_0x4bd81c(0x1d1)===_0x2367bd[_0x4bd81c(0x1d0)]?.[_0x4bd81c(0x1dc)]?(_0x467f99[_0x4bd81c(0x1e6)][_0x4bd81c(0x1cf)][_0x4bd81c(0x1c8)](_0x2367bd[_0x4bd81c(0x1e6)]),_0x467f99[_0x4bd81c(0x1d0)][_0x2367bd[_0x4bd81c(0x1e6)]]={'key':_0x4bd81c(0x1d1),'value':_0x2367bd[_0x4bd81c(0x1d0)][_0x4bd81c(0x1df)]}):(_0x467f99[_0x4bd81c(0x1e6)][_0x4bd81c(0x1cf)][_0x4bd81c(0x1c8)](_0x2367bd[_0x4bd81c(0x1e6)]),_0x467f99[_0x4bd81c(0x1d0)][_0x2367bd[_0x4bd81c(0x1e6)]]={'key':_0x4bd81c(0x1de),'value':_0x4bd81c(0x1e7)+_0x2367bd[_0x4bd81c(0x1e6)]+';'});return _0x467f99;}