@ckeditor/ckeditor5-line-height 47.2.0-alpha.0 → 47.2.0-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
- function _0x347b(_0x2cb8af,_0x22a2ff){const _0x569490=_0x5694();return _0x347b=function(_0x347be4,_0x3d627d){_0x347be4=_0x347be4-0xa4;let _0x2700e6=_0x569490[_0x347be4];return _0x2700e6;},_0x347b(_0x2cb8af,_0x22a2ff);}const _0x3b6c57=_0x347b;(function(_0x1512b1,_0x14f6b3){const _0x55881c=_0x347b,_0x236de4=_0x1512b1();while(!![]){try{const _0x4366e0=parseInt(_0x55881c(0xb3))/0x1+-parseInt(_0x55881c(0xbd))/0x2*(-parseInt(_0x55881c(0xa5))/0x3)+parseInt(_0x55881c(0xa6))/0x4*(parseInt(_0x55881c(0xaa))/0x5)+-parseInt(_0x55881c(0xb2))/0x6+parseInt(_0x55881c(0xb1))/0x7+-parseInt(_0x55881c(0xa4))/0x8*(-parseInt(_0x55881c(0xae))/0x9)+-parseInt(_0x55881c(0xb8))/0xa;if(_0x4366e0===_0x14f6b3)break;else _0x236de4['push'](_0x236de4['shift']());}catch(_0x37fc5f){_0x236de4['push'](_0x236de4['shift']());}}}(_0x5694,0xecc31));import{Command as _0x18acf6}from'ckeditor5/src/core.js';function _0x5694(){const _0x5e1550=['filter','removeAttribute','getAttribute','lineHeight','11760250vhRZln','editor','model','from','isEnabled','317448qJVweD','change','getSelectedBlocks','refresh','232vaEmQg','9hmuJHZ','12qOckUh','value','checkAttribute','execute','973595SYqxqY','_canHaveLineHeight','document','selection','115029XfzEtP','schema','setAttribute','2524494gLlhEQ','6095688rBBSLw','1370130pYxrnA'];_0x5694=function(){return _0x5e1550;};return _0x5694();}import{first as _0x1f1ba0}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x18acf6{[_0x3b6c57(0xc0)](){const _0x19e3a3=_0x3b6c57,_0xdf65ec=this[_0x19e3a3(0xb9)][_0x19e3a3(0xba)][_0x19e3a3(0xac)],_0x14ba27=_0x1f1ba0(_0xdf65ec[_0x19e3a3(0xad)][_0x19e3a3(0xbf)]());this[_0x19e3a3(0xbc)]=Boolean(_0x14ba27)&&this[_0x19e3a3(0xab)](_0x14ba27),this[_0x19e3a3(0xa7)]=this[_0x19e3a3(0xbc)]&&_0x14ba27[_0x19e3a3(0xb6)](_0x19e3a3(0xb7));}[_0x3b6c57(0xa9)](_0x3b1817={}){const _0x10beae=_0x3b6c57,_0xb22b74=this[_0x10beae(0xb9)][_0x10beae(0xba)],_0x3b1af9=_0xb22b74[_0x10beae(0xac)][_0x10beae(0xad)],_0xb892cf=_0x3b1817[_0x10beae(0xa7)];_0xb22b74[_0x10beae(0xbe)](_0x2da258=>{const _0x44eb79=_0x10beae,_0x54e77f=Array[_0x44eb79(0xbb)](_0x3b1af9[_0x44eb79(0xbf)]())[_0x44eb79(0xb4)](_0x235c70=>this[_0x44eb79(0xab)](_0x235c70));for(const _0xae0b91 of _0x54e77f)_0xb892cf?_0x2da258[_0x44eb79(0xb0)](_0x44eb79(0xb7),_0xb892cf,_0xae0b91):_0x2da258[_0x44eb79(0xb5)](_0x44eb79(0xb7),_0xae0b91);});}[_0x3b6c57(0xab)](_0x61b548){const _0x416e5c=_0x3b6c57;return this[_0x416e5c(0xb9)][_0x416e5c(0xba)][_0x416e5c(0xaf)][_0x416e5c(0xa8)](_0x61b548,_0x416e5c(0xb7));}}
23
+ function _0x1935(_0x14a6ad,_0x259300){const _0x4eabfd=_0x4eab();return _0x1935=function(_0x193577,_0x89202f){_0x193577=_0x193577-0x154;let _0x3cd781=_0x4eabfd[_0x193577];return _0x3cd781;},_0x1935(_0x14a6ad,_0x259300);}const _0x35150c=_0x1935;(function(_0x3dcd5d,_0x5aa6bd){const _0x1a3c88=_0x1935,_0x466a47=_0x3dcd5d();while(!![]){try{const _0x53ecc9=parseInt(_0x1a3c88(0x15c))/0x1*(-parseInt(_0x1a3c88(0x169))/0x2)+-parseInt(_0x1a3c88(0x16e))/0x3*(-parseInt(_0x1a3c88(0x170))/0x4)+parseInt(_0x1a3c88(0x15a))/0x5+parseInt(_0x1a3c88(0x166))/0x6+-parseInt(_0x1a3c88(0x167))/0x7+parseInt(_0x1a3c88(0x16c))/0x8+-parseInt(_0x1a3c88(0x163))/0x9*(parseInt(_0x1a3c88(0x15b))/0xa);if(_0x53ecc9===_0x5aa6bd)break;else _0x466a47['push'](_0x466a47['shift']());}catch(_0x3bdd20){_0x466a47['push'](_0x466a47['shift']());}}}(_0x4eab,0xc408a));import{Command as _0x5c1719}from'ckeditor5/src/core.js';function _0x4eab(){const _0x5691ff=['lineHeight','execute','change','315243lKmMfG','getSelectedBlocks','checkAttribute','5105610xAMdwT','5674578ZQNmTd','editor','2778FUDKgy','setAttribute','value','8870456bwPkqd','filter','3xRWTQO','document','327892FLisbE','from','model','getAttribute','refresh','selection','schema','5702490QLdKdz','290ysysfu','398TrVmfo','removeAttribute','isEnabled','_canHaveLineHeight'];_0x4eab=function(){return _0x5691ff;};return _0x4eab();}import{first as _0x1fe2e7}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x5c1719{[_0x35150c(0x157)](){const _0x4b0bb1=_0x35150c,_0x65b211=this[_0x4b0bb1(0x168)][_0x4b0bb1(0x155)][_0x4b0bb1(0x16f)],_0x3c44ce=_0x1fe2e7(_0x65b211[_0x4b0bb1(0x158)][_0x4b0bb1(0x164)]());this[_0x4b0bb1(0x15e)]=Boolean(_0x3c44ce)&&this[_0x4b0bb1(0x15f)](_0x3c44ce),this[_0x4b0bb1(0x16b)]=this[_0x4b0bb1(0x15e)]&&_0x3c44ce[_0x4b0bb1(0x156)](_0x4b0bb1(0x160));}[_0x35150c(0x161)](_0x22294d={}){const _0x20e4c1=_0x35150c,_0x5d2732=this[_0x20e4c1(0x168)][_0x20e4c1(0x155)],_0x19521f=_0x5d2732[_0x20e4c1(0x16f)][_0x20e4c1(0x158)],_0x4a028b=_0x22294d[_0x20e4c1(0x16b)];_0x5d2732[_0x20e4c1(0x162)](_0x5decf2=>{const _0x43e3a3=_0x20e4c1,_0x290292=Array[_0x43e3a3(0x154)](_0x19521f[_0x43e3a3(0x164)]())[_0x43e3a3(0x16d)](_0x12ef76=>this[_0x43e3a3(0x15f)](_0x12ef76));for(const _0x36187d of _0x290292)_0x4a028b?_0x5decf2[_0x43e3a3(0x16a)](_0x43e3a3(0x160),_0x4a028b,_0x36187d):_0x5decf2[_0x43e3a3(0x15d)](_0x43e3a3(0x160),_0x36187d);});}[_0x35150c(0x15f)](_0x346a3c){const _0x346252=_0x35150c;return this[_0x346252(0x168)][_0x346252(0x155)][_0x346252(0x159)][_0x346252(0x165)](_0x346a3c,_0x346252(0x160));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x162021=_0x43f7;function _0x2ed7(){const _0x23650a=['isOfficialPlugin','line-height','for','1OEAkyJ','join','fromCharCode','downcast','90QemJVN','upcast','commands','includes','_validateConfig','7aFsZAh','line-height-invalid-use-of-named-presets','filter','lineHeight.options','135YACJqQ','string','_prepareAnyValueConverters','608661GqXDbB','model','pluginName','init','268911Rfckin','setAttributeProperties','conversion','417288VJtLeE','default','add','attributeToAttribute','values','isPremiumPlugin','_preparePredefinedConverters','52734gkKhNO','443248FuJQii','href','extend','style','getStyle','1309506muhQIS','39260uPTvfx','config','length','map','define','lineHeight.defaultValue','lineHeight.supportAllValues','lineHeight','slice','get','editor','schema','afterInit','$block','LineHeightEditing'];_0x2ed7=function(){return _0x23650a;};return _0x2ed7();}function _0x43f7(_0x125540,_0x1e27b9){const _0x2ed7b0=_0x2ed7();return _0x43f7=function(_0x43f73f,_0xe27733){_0x43f73f=_0x43f73f-0x11c;let _0x473249=_0x2ed7b0[_0x43f73f];return _0x473249;},_0x43f7(_0x125540,_0x1e27b9);}(function(_0x479f4b,_0x2e2cd6){const _0x423cd4=_0x43f7,_0x257ff6=_0x479f4b();while(!![]){try{const _0x31f20c=-parseInt(_0x423cd4(0x12e))/0x1*(parseInt(_0x423cd4(0x14d))/0x2)+-parseInt(_0x423cd4(0x13e))/0x3+parseInt(_0x423cd4(0x11c))/0x4+parseInt(_0x423cd4(0x13b))/0x5*(parseInt(_0x423cd4(0x14c))/0x6)+parseInt(_0x423cd4(0x137))/0x7*(-parseInt(_0x423cd4(0x145))/0x8)+-parseInt(_0x423cd4(0x142))/0x9*(-parseInt(_0x423cd4(0x132))/0xa)+parseInt(_0x423cd4(0x152))/0xb;if(_0x31f20c===_0x2e2cd6)break;else _0x257ff6['push'](_0x257ff6['shift']());}catch(_0x156063){_0x257ff6['push'](_0x257ff6['shift']());}}}(_0x2ed7,0x26ac3));import{Plugin as _0x44e19c}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x21b6b3}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x2ae8d1}from'ckeditor5/src/engine.js';import{uid as _0x4dd39f,CKEditorError as _0xf5e499}from'ckeditor5/src/utils.js';import{buildDefinition as _0x23ff92,isLineHeightDefaultValue as _0x177b9b,normalizeOptions as _0x4a0d84}from'./utils.js';export class LineHeightEditing extends _0x44e19c{static get[_0x162021(0x140)](){const _0xbd4a0d=_0x162021;return _0xbd4a0d(0x12a);}static get[_0x162021(0x12b)](){return!0x0;}static get[_0x162021(0x14a)](){return!0x0;}constructor(_0x5a5df2){const _0x4cb230=_0x162021;super(_0x5a5df2),_0x5a5df2[_0x4cb230(0x11d)][_0x4cb230(0x120)](_0x4cb230(0x123),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4cb230(0x146),0x2,2.5,0x3]});}[_0x162021(0x141)](){const _0x3ddd07=_0x162021,_0x1f2d63=this[_0x3ddd07(0x126)];this[_0x3ddd07(0x136)](),_0x1f2d63[_0x3ddd07(0x13f)][_0x3ddd07(0x127)][_0x3ddd07(0x14f)](_0x3ddd07(0x129),{'allowAttributes':_0x3ddd07(0x123)}),_0x1f2d63[_0x3ddd07(0x13f)][_0x3ddd07(0x127)][_0x3ddd07(0x143)](_0x3ddd07(0x123),{'isFormatting':!0x0}),_0x1f2d63[_0x3ddd07(0x134)][_0x3ddd07(0x147)](_0x3ddd07(0x123),new _0x21b6b3(_0x1f2d63)),this[_0x3ddd07(0x126)][_0x3ddd07(0x11d)][_0x3ddd07(0x125)](_0x3ddd07(0x122))?this[_0x3ddd07(0x13d)]():this[_0x3ddd07(0x14b)]();}[_0x162021(0x128)](){!async function(_0x357531){const _0x5a696b=_0x1f1035([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x47f58d=0x45ddd215,_0x268669=0x45daa585^_0x47f58d,_0x1875b7=window[_0x1f1035([0x44,0x61,0x74,0x65])][_0x1f1035([0x6e,0x6f,0x77])](),_0x1c2803=_0x357531[_0x1f1035([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e7462=new window[(_0x1f1035([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12f341=>{_0x1c2803[_0x1f1035([0x6f,0x6e,0x63,0x65])](_0x1f1035([0x72,0x65,0x61,0x64,0x79]),_0x12f341);}),_0x55382e={[_0x1f1035([0x6b,0x74,0x79])]:_0x1f1035([0x45,0x43]),[_0x1f1035([0x75,0x73,0x65])]:_0x1f1035([0x73,0x69,0x67]),[_0x1f1035([0x63,0x72,0x76])]:_0x1f1035([0x50,0x2d,0x32,0x35,0x36]),[_0x1f1035([0x78])]:_0x1f1035([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]),[_0x1f1035([0x79])]:_0x1f1035([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]),[_0x1f1035([0x61,0x6c,0x67])]:_0x1f1035([0x45,0x53,0x32,0x35,0x36])},_0x4afe57=_0x1c2803[_0x1f1035([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f1035([0x67,0x65,0x74])](_0x1f1035([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2de281(){let _0x42380b,_0x902458=null,_0x4f87ec=null;try{if(_0x4afe57==_0x1f1035([0x47,0x50,0x4c]))return _0x1f1035([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x42380b=_0xd72650(),!_0x42380b)return _0x1f1035([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x42380b[_0x1f1035([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4f87ec=_0x531182(_0x42380b[_0x1f1035([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x42380b[_0x1f1035([0x6a,0x74,0x69])])),await _0x583ae3()?_0x42bb2d()?_0x3802d2()?_0x1f1035([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x55cb2d()?(_0x42380b[_0x1f1035([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f1035([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x902458=_0x458c3c(_0x1f1035([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x42380b[_0x1f1035([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f1035([0x74,0x72,0x69,0x61,0x6c])&&(_0x902458=_0x458c3c(_0x1f1035([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x28aca8()):_0x1f1035([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f1035([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f1035([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1f1035([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3802d2(){const _0xac361f=[_0x1f1035([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f1035([0x74,0x72,0x69,0x61,0x6c])][_0x1f1035([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42380b[_0x1f1035([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1875b7/0x3e8:0xe10*_0x268669;return _0x42380b[_0x1f1035([0x65,0x78,0x70])]<_0xac361f;}function _0x42bb2d(){const _0x1ed674=_0x42380b[_0x1f1035([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1ed674&&(!!_0x1ed674[_0x1f1035([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f1035([0x2a]))||!!_0x1ed674[_0x1f1035([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f1035([0x4c,0x48])));}function _0x55cb2d(){const _0xbc80fb=_0x43f7,_0x1b6cb1=_0x42380b[_0x1f1035([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1b6cb1||0x0==_0x1b6cb1[_0x1f1035([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x36fd68}=new URL(window[_0x1f1035([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xbc80fb(0x14e)]);if(_0x1b6cb1[_0x1f1035([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36fd68))return!0x0;const _0x5aebec=_0x36fd68[_0x1f1035([0x73,0x70,0x6c,0x69,0x74])](_0x1f1035([0x2e]));return _0x1b6cb1[_0x1f1035([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a35d3=>_0x5a35d3[_0x1f1035([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f1035([0x2a])))[_0x1f1035([0x6d,0x61,0x70])](_0x498438=>_0x498438[_0x1f1035([0x73,0x70,0x6c,0x69,0x74])](_0x1f1035([0x2e])))[_0x1f1035([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9209dd=>_0x9209dd[_0x1f1035([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5aebec[_0x1f1035([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f1035([0x6d,0x61,0x70])](_0x2a21c2=>Array(_0x5aebec[_0x1f1035([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2a21c2[_0x1f1035([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f1035([0x66,0x69,0x6c,0x6c])](_0x2a21c2[0x0]===_0x1f1035([0x2a])?_0x1f1035([0x2a]):'')[_0x1f1035([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2a21c2))[_0x1f1035([0x73,0x6f,0x6d,0x65])](_0x219d5f=>_0x5aebec[_0x1f1035([0x65,0x76,0x65,0x72,0x79])]((_0x21f489,_0x3b8e02)=>_0x219d5f[_0x3b8e02]===_0x21f489||_0x219d5f[_0x3b8e02]===_0x1f1035([0x2a])));}function _0x28aca8(){return _0x902458&&_0x4f87ec?new window[(_0x1f1035([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b6887,_0x3c1b5d)=>{_0x902458[_0x1f1035([0x74,0x68,0x65,0x6e])](_0x3b6887,_0x3c1b5d),_0x4f87ec[_0x1f1035([0x74,0x68,0x65,0x6e])](_0xc01b4=>{_0xc01b4!=_0x1f1035([0x56,0x61,0x6c,0x69,0x64])&&_0x3b6887(_0xc01b4);},_0x3c1b5d);}):_0x902458||_0x4f87ec||_0x1f1035([0x56,0x61,0x6c,0x69,0x64]);}}function _0x531182(_0x5a0f9e,_0x41e330){return new window[(_0x1f1035([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a05c2=>{if(_0x50b8ed())return _0x3a05c2(_0x1f1035([0x56,0x61,0x6c,0x69,0x64]));_0x3bf3b7(),_0x1c2803[_0x1f1035([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f1035([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4a6e0f=!0x1;const _0x4c95ee=_0x4dd39f();function _0x3af08f(_0x468c87){return!!_0x468c87&&(typeof _0x468c87===_0x1f1035([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x468c87===_0x1f1035([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x468c87[_0x1f1035([0x74,0x68,0x65,0x6e])]===_0x1f1035([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x468c87[_0x1f1035([0x63,0x61,0x74,0x63,0x68])]===_0x1f1035([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x32c8d1(_0x10a128){_0x9aa2a5(_0x10a128)[_0x1f1035([0x74,0x68,0x65,0x6e])](_0x479f77=>{if(!_0x479f77||_0x479f77[_0x1f1035([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f1035([0x6f,0x6b]))return _0x1f1035([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5c03b4(_0x162f04(_0x4c95ee+_0x41e330))!=_0x479f77[_0x1f1035([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f1035([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f1035([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f1035([0x74,0x68,0x65,0x6e])](_0xf68dbe=>(_0x33fed5(),_0xf68dbe),()=>{const _0x2023aa=_0x57a3e3();return null==_0x2023aa?(_0x33fed5(),_0x1f1035([0x56,0x61,0x6c,0x69,0x64])):_0x1f1035(_0x1875b7-_0x2023aa>(0x61d15615^_0x47f58d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f1035([0x74,0x68,0x65,0x6e])](_0x3a05c2)[_0x1f1035([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3a05c2(_0x1f1035([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1baaca=0x45eb3c95^_0x47f58d;function _0x33fed5(){const _0x52584c=_0x1f1035([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c03b4(_0x162f04(_0x5a0f9e)),_0x4c2f91=_0x30ec86(_0x5c03b4(window[_0x1f1035([0x4d,0x61,0x74,0x68])][_0x1f1035([0x63,0x65,0x69,0x6c])](_0x1875b7/_0x1baaca)));window[_0x1f1035([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f1035([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52584c,_0x4c2f91);}function _0x57a3e3(){const _0x5850fb=_0x1f1035([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c03b4(_0x162f04(_0x5a0f9e)),_0xbe4565=window[_0x1f1035([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f1035([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5850fb);return _0xbe4565?window[_0x1f1035([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30ec86(_0xbe4565),0x10)*_0x1baaca:null;}function _0x9aa2a5(_0x2c92dc){return new window[(_0x1f1035([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xee922f,_0xd652c0)=>{_0x2c92dc[_0x1f1035([0x74,0x68,0x65,0x6e])](_0xee922f,_0xd652c0),window[_0x1f1035([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xd652c0,0x45dc06d5^_0x47f58d);});}}_0x1c2803[_0x1f1035([0x6f,0x6e])](_0x1f1035([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2e3f7a,_0x148de5)=>{if(_0x148de5[0x0]!=_0x5a0f9e)return _0x3a05c2(_0x1f1035([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x148de5[0x1]={..._0x148de5[0x1],[_0x1f1035([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4c95ee};},{[_0x1f1035([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f1035([0x68,0x69,0x67,0x68])}),_0x1c2803[_0x1f1035([0x6f,0x6e])](_0x1f1035([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x55fc5e=>{_0x3af08f(_0x55fc5e[_0x1f1035([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4a6e0f=!0x0,_0x32c8d1(_0x55fc5e[_0x1f1035([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f1035([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f1035([0x6c,0x6f,0x77])}),_0x2e7462[_0x1f1035([0x74,0x68,0x65,0x6e])](()=>{_0x4a6e0f||_0x3a05c2(_0x1f1035([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x50b8ed(){return _0x1c2803[_0x1f1035([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f1035([0x76,0x69,0x65,0x77])][_0x1f1035([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f1035([0x61,0x75,0x74,0x6f]);}function _0x3bf3b7(){_0x1c2803[_0x1f1035([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f1035([0x76,0x69,0x65,0x77])][_0x1f1035([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f1035([0x61,0x75,0x74,0x6f]);}}function _0x458c3c(_0x8125cf){const _0x49e206=[new window[(_0x1f1035([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xaba8e=>setTimeout(_0xaba8e,0x45d4ecd9^_0x47f58d)),_0x2e7462[_0x1f1035([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f1035([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ac744=>{let _0x6168f1=0x0;_0x1c2803[_0x1f1035([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f1035([0x6f,0x6e])](_0x1f1035([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x57458d,_0x5e92b3)=>{_0x5e92b3[0x0][_0x1f1035([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x6168f1++,_0x6168f1==(0x45ddd3ed^_0x47f58d)&&(_0x1ac744(),_0x57458d[_0x1f1035([0x6f,0x66,0x66])]());});}))];return window[_0x1f1035([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f1035([0x72,0x61,0x63,0x65])](_0x49e206)[_0x1f1035([0x74,0x68,0x65,0x6e])](()=>_0x8125cf);}async function _0x13421e(){await _0x2e7462,_0x1c2803[_0x1f1035([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f1035([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x14f2af,_0x1c2803[_0x1f1035([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f1035([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x14f2af,_0x1c2803[_0x1f1035([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f1035([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e9514(_0x19dd9d){const _0x51daca=_0x53a808();_0x1c2803[_0x51daca]=_0x1f1035([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x19dd9d,_0x19dd9d!=_0x1f1035([0x56,0x61,0x6c,0x69,0x64])&&_0x13421e();}function _0x53a808(){const _0x2c574c=window[_0x1f1035([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f1035([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f1035([0x6e,0x6f,0x77])]())[_0x1f1035([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f1035([0x2e]),'');let _0x40fade=_0x1f1035([0x50]);for(let _0x39c7cd=0x0;_0x39c7cd<_0x2c574c[_0x1f1035([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x39c7cd+=0x2){let _0x5875ac=window[_0x1f1035([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c574c[_0x1f1035([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39c7cd,_0x39c7cd+0x2));_0x5875ac>=_0x5a696b[_0x1f1035([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5875ac-=_0x5a696b[_0x1f1035([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x40fade+=_0x5a696b[_0x5875ac];}return _0x40fade;}function _0xd72650(){const _0x51c500=_0x4afe57[_0x1f1035([0x73,0x70,0x6c,0x69,0x74])](_0x1f1035([0x2e]));if(0x3!=_0x51c500[_0x1f1035([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5d7ff7(_0x51c500[0x1]);function _0x5d7ff7(_0x2a76a4){const _0x188da3=_0x280646(_0x2a76a4);return _0x188da3&&_0x627d4e()?_0x188da3:null;function _0x627d4e(){const _0x3d2ffc=_0x188da3[_0x1f1035([0x6a,0x74,0x69])],_0x5906a1=window[_0x1f1035([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d2ffc[_0x1f1035([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d2ffc[_0x1f1035([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xb293bc={..._0x188da3,[_0x1f1035([0x6a,0x74,0x69])]:_0x3d2ffc[_0x1f1035([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3d2ffc[_0x1f1035([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xb293bc[_0x1f1035([0x76,0x63])],_0x162f04(_0xb293bc)==_0x5906a1;}}}async function _0x583ae3(){let _0x282b25=!0x0;try{const _0x4dc470=_0x4afe57[_0x1f1035([0x73,0x70,0x6c,0x69,0x74])](_0x1f1035([0x2e])),[_0x26ca06,_0x4cf6ba,_0x2efe5d]=_0x4dc470;return _0x276659(_0x26ca06),await _0x4c134a(_0x26ca06,_0x4cf6ba,_0x2efe5d),_0x282b25;}catch{return!0x1;}function _0x276659(_0x4eee1f){const _0x3a42b5=_0x280646(_0x4eee1f);_0x3a42b5&&_0x3a42b5[_0x1f1035([0x61,0x6c,0x67])]==_0x1f1035([0x45,0x53,0x32,0x35,0x36])||(_0x282b25=!0x1);}async function _0x4c134a(_0x17f89f,_0x3762f4,_0x4164de){const _0x3fac09=window[_0x1f1035([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f1035([0x66,0x72,0x6f,0x6d])](_0x2d0be2(_0x4164de),_0x393dd2=>_0x393dd2[_0x1f1035([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x8b3915=new window[(_0x1f1035([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f1035([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x17f89f+_0x1f1035([0x2e])+_0x3762f4),_0x280dbb=window[_0x1f1035([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f1035([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x280dbb)return;const _0x49a5d2=await _0x280dbb[_0x1f1035([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f1035([0x6a,0x77,0x6b]),_0x55382e,{[_0x1f1035([0x6e,0x61,0x6d,0x65])]:_0x1f1035([0x45,0x43,0x44,0x53,0x41]),[_0x1f1035([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f1035([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f1035([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x280dbb[_0x1f1035([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f1035([0x6e,0x61,0x6d,0x65])]:_0x1f1035([0x45,0x43,0x44,0x53,0x41]),[_0x1f1035([0x68,0x61,0x73,0x68])]:{[_0x1f1035([0x6e,0x61,0x6d,0x65])]:_0x1f1035([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x49a5d2,_0x3fac09,_0x8b3915)||(_0x282b25=!0x1);}}function _0x280646(_0xcb388a){return _0xcb388a[_0x1f1035([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f1035([0x65,0x79]))?JSON[_0x1f1035([0x70,0x61,0x72,0x73,0x65])](_0x2d0be2(_0xcb388a)):null;}function _0x2d0be2(_0x43d7cc){return window[_0x1f1035([0x61,0x74,0x6f,0x62])](_0x43d7cc[_0x1f1035([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f1035([0x2b]))[_0x1f1035([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f1035([0x2f])));}function _0x162f04(_0x3baa9b){let _0x1109e4=0x1505;function _0xc6062a(_0x2c5428){for(let _0x5f551c=0x0;_0x5f551c<_0x2c5428[_0x1f1035([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f551c++){const _0x2593b5=_0x2c5428[_0x1f1035([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5f551c);_0x1109e4=(_0x1109e4<<0x5)+_0x1109e4+_0x2593b5,_0x1109e4&=_0x1109e4;}}function _0x5ff54c(_0xab6d39){Array[_0x1f1035([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xab6d39)?_0xab6d39[_0x1f1035([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5ff54c):_0xab6d39&&typeof _0xab6d39==_0x1f1035([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f1035([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xab6d39)[_0x1f1035([0x73,0x6f,0x72,0x74])]()[_0x1f1035([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2ed684,_0x214aee])=>{_0xc6062a(_0x2ed684),_0x5ff54c(_0x214aee);}):_0xc6062a(window[_0x1f1035([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xab6d39));}return _0x5ff54c(_0x3baa9b),_0x1109e4>>>0x0;}function _0x5c03b4(_0x7fa024){return _0x7fa024[_0x1f1035([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f1035([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f1035([0x30]));}function _0x30ec86(_0x2b22cd){return _0x2b22cd[_0x1f1035([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f1035([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f1035([0x6a,0x6f,0x69,0x6e])]('');}function _0x14f2af(){}function _0x1f1035(_0x4c6633){const _0x38e6f6=_0x43f7;return _0x4c6633[_0x38e6f6(0x11f)](_0xa3c3e0=>String[_0x38e6f6(0x130)](_0xa3c3e0))[_0x38e6f6(0x12f)]('');}_0x5e9514(await _0x2de281());}(this);}[_0x162021(0x136)](){const _0x164ce4=_0x162021,_0x26b5a0=this[_0x164ce4(0x126)];if(!_0x26b5a0[_0x164ce4(0x11d)][_0x164ce4(0x125)](_0x164ce4(0x122)))return;const _0x238f8e=_0x26b5a0[_0x164ce4(0x11d)][_0x164ce4(0x125)](_0x164ce4(0x13a))[_0x164ce4(0x139)](_0x1bae79=>_0x164ce4(0x13c)==typeof _0x1bae79&&(!_0x177b9b(_0x1bae79)&&isNaN(Number(_0x1bae79))));if(_0x238f8e[_0x164ce4(0x11e)])throw new _0xf5e499(_0x164ce4(0x138),null,{'namedPresets':_0x238f8e});}[_0x162021(0x13d)](){const _0x1fdc73=_0x162021,_0x29a0b1=this[_0x1fdc73(0x126)],_0x46ce2b=this[_0x1fdc73(0x126)][_0x1fdc73(0x11d)][_0x1fdc73(0x125)](_0x1fdc73(0x121));_0x29a0b1[_0x1fdc73(0x144)][_0x1fdc73(0x12d)](_0x1fdc73(0x131))[_0x1fdc73(0x148)]({'model':{'key':_0x1fdc73(0x123)},'view':_0x47bf66=>String(_0x47bf66)===String(_0x46ce2b)?null:{'key':_0x1fdc73(0x150),'value':{'line-height':_0x47bf66}}}),_0x29a0b1[_0x1fdc73(0x144)][_0x1fdc73(0x12d)](_0x1fdc73(0x133))[_0x1fdc73(0x148)]({'model':{'key':_0x1fdc73(0x123),'value':_0x1c5ad6=>{const _0x1b27f9=_0x1fdc73;let _0x20671b=_0x1c5ad6[_0x1b27f9(0x151)](_0x1b27f9(0x12c));return _0x2ae8d1(_0x20671b)&&(_0x20671b=String(Number(_0x20671b[_0x1b27f9(0x124)](0x0,-0x1))/0x64)),String(_0x20671b)===String(_0x46ce2b)?null:_0x20671b;}},'view':{'styles':{'line-height':/.*/}}});}[_0x162021(0x14b)](){const _0x5caba9=_0x162021,_0x7b101a=this[_0x5caba9(0x126)],_0x4b15f7=this[_0x5caba9(0x126)][_0x5caba9(0x11d)][_0x5caba9(0x125)](_0x5caba9(0x121)),_0x285249=_0x4a0d84(this[_0x5caba9(0x126)][_0x5caba9(0x11d)][_0x5caba9(0x125)](_0x5caba9(0x123)))[_0x5caba9(0x139)](_0x5a2106=>_0x5a2106[_0x5caba9(0x13f)]),_0x4511b2=_0x23ff92(_0x5caba9(0x123),_0x285249);_0x7b101a[_0x5caba9(0x144)][_0x5caba9(0x148)](_0x4511b2),_0x7b101a[_0x5caba9(0x144)][_0x5caba9(0x12d)](_0x5caba9(0x133))[_0x5caba9(0x148)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x5caba9(0x123),'value':_0x3b5ae4=>{const _0x49ad58=_0x5caba9;let _0x2676eb=_0x3b5ae4[_0x49ad58(0x151)](_0x49ad58(0x12c));return _0x2ae8d1(_0x2676eb)&&(_0x2676eb=String(Number(_0x2676eb[_0x49ad58(0x124)](0x0,-0x1))/0x64)),_0x2676eb===String(_0x4b15f7)?null:_0x4511b2[_0x49ad58(0x13f)][_0x49ad58(0x149)][_0x49ad58(0x135)](_0x2676eb)?_0x2676eb:null;}}});}}
23
+ const _0x15626c=_0x2414;function _0x5a68(){const _0x40117b=['attributeToAttribute','223884fSekdw','_validateConfig','isOfficialPlugin','commands','isPremiumPlugin','slice','upcast','lineHeight','conversion','pluginName','9lFzrrT','default','line-height','45RAGeMj','get','map','style','1271172QZIHjb','init','values','downcast','for','string','5TMkixe','4683BAbWdj','lineHeight.supportAllValues','add','_preparePredefinedConverters','define','lineHeight.defaultValue','join','lineHeight.options','href','afterInit','includes','5761356ejRHmj','fromCharCode','extend','getStyle','schema','length','2819663cjFwaq','10616VWkSij','filter','10icbLAh','$block','_prepareAnyValueConverters','config','line-height-invalid-use-of-named-presets','editor','setAttributeProperties','model','LineHeightEditing','9245190agsRmo','125878LWYDLI'];_0x5a68=function(){return _0x40117b;};return _0x5a68();}function _0x2414(_0x1594c2,_0x416760){const _0x5a6868=_0x5a68();return _0x2414=function(_0x241487,_0x2da393){_0x241487=_0x241487-0x68;let _0x2af051=_0x5a6868[_0x241487];return _0x2af051;},_0x2414(_0x1594c2,_0x416760);}(function(_0x1d2fc0,_0x5132ae){const _0x20eedb=_0x2414,_0x1e001c=_0x1d2fc0();while(!![]){try{const _0x559930=parseInt(_0x20eedb(0x83))/0x1*(parseInt(_0x20eedb(0x79))/0x2)+-parseInt(_0x20eedb(0x92))/0x3*(parseInt(_0x20eedb(0x85))/0x4)+-parseInt(_0x20eedb(0x9c))/0x5*(-parseInt(_0x20eedb(0x70))/0x6)+parseInt(_0x20eedb(0x9d))/0x7*(parseInt(_0x20eedb(0x77))/0x8)+-parseInt(_0x20eedb(0x8f))/0x9*(parseInt(_0x20eedb(0x82))/0xa)+-parseInt(_0x20eedb(0x76))/0xb+parseInt(_0x20eedb(0x96))/0xc;if(_0x559930===_0x5132ae)break;else _0x1e001c['push'](_0x1e001c['shift']());}catch(_0x39e427){_0x1e001c['push'](_0x1e001c['shift']());}}}(_0x5a68,0x896cd));import{Plugin as _0x40ab0c}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x4643e8}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x2cc09a}from'ckeditor5/src/engine.js';import{uid as _0xc24890,CKEditorError as _0x189e3b}from'ckeditor5/src/utils.js';import{buildDefinition as _0x1597ac,isLineHeightDefaultValue as _0x4e56cf,normalizeOptions as _0x1342f0}from'./utils.js';export class LineHeightEditing extends _0x40ab0c{static get[_0x15626c(0x8e)](){const _0x5383f0=_0x15626c;return _0x5383f0(0x81);}static get[_0x15626c(0x87)](){return!0x0;}static get[_0x15626c(0x89)](){return!0x0;}constructor(_0x464260){const _0x4464a8=_0x15626c;super(_0x464260),_0x464260[_0x4464a8(0x7c)][_0x4464a8(0x69)](_0x4464a8(0x8c),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4464a8(0x90),0x2,2.5,0x3]});}[_0x15626c(0x97)](){const _0x4cdc46=_0x15626c,_0x46cef1=this[_0x4cdc46(0x7e)];this[_0x4cdc46(0x86)](),_0x46cef1[_0x4cdc46(0x80)][_0x4cdc46(0x74)][_0x4cdc46(0x72)](_0x4cdc46(0x7a),{'allowAttributes':_0x4cdc46(0x8c)}),_0x46cef1[_0x4cdc46(0x80)][_0x4cdc46(0x74)][_0x4cdc46(0x7f)](_0x4cdc46(0x8c),{'isFormatting':!0x0}),_0x46cef1[_0x4cdc46(0x88)][_0x4cdc46(0x9f)](_0x4cdc46(0x8c),new _0x4643e8(_0x46cef1)),this[_0x4cdc46(0x7e)][_0x4cdc46(0x7c)][_0x4cdc46(0x93)](_0x4cdc46(0x9e))?this[_0x4cdc46(0x7b)]():this[_0x4cdc46(0x68)]();}[_0x15626c(0x6e)](){!async function(_0x1d6155){const _0x543265=_0x738311([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0xd53b7f=0x45ddd215,_0x2118f1=0x45daa5d5^_0xd53b7f,_0xd562fb=window[_0x738311([0x44,0x61,0x74,0x65])][_0x738311([0x6e,0x6f,0x77])](),_0x48e9d2=_0x1d6155[_0x738311([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x269885=new window[(_0x738311([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19ac9e=>{_0x48e9d2[_0x738311([0x6f,0x6e,0x63,0x65])](_0x738311([0x72,0x65,0x61,0x64,0x79]),_0x19ac9e);}),_0x511522={[_0x738311([0x6b,0x74,0x79])]:_0x738311([0x45,0x43]),[_0x738311([0x75,0x73,0x65])]:_0x738311([0x73,0x69,0x67]),[_0x738311([0x63,0x72,0x76])]:_0x738311([0x50,0x2d,0x32,0x35,0x36]),[_0x738311([0x78])]:_0x738311([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]),[_0x738311([0x79])]:_0x738311([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]),[_0x738311([0x61,0x6c,0x67])]:_0x738311([0x45,0x53,0x32,0x35,0x36])},_0x450064=_0x48e9d2[_0x738311([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x738311([0x67,0x65,0x74])](_0x738311([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x153aa1(){let _0x19f852,_0x5cbaf1=null,_0x394edf=null;try{if(_0x450064==_0x738311([0x47,0x50,0x4c]))return _0x738311([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x19f852=_0x2358a0(),!_0x19f852)return _0x738311([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x19f852[_0x738311([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x394edf=_0x419d52(_0x19f852[_0x738311([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x19f852[_0x738311([0x6a,0x74,0x69])])),await _0x27a0dc()?_0x23f38f()?_0x4b2e74()?_0x738311([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x40393d()?(_0x19f852[_0x738311([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x738311([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5cbaf1=_0x26bb6f(_0x738311([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x19f852[_0x738311([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x738311([0x74,0x72,0x69,0x61,0x6c])&&(_0x5cbaf1=_0x26bb6f(_0x738311([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x34fddf()):_0x738311([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x738311([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x738311([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x738311([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4b2e74(){const _0x42d5ca=[_0x738311([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x738311([0x74,0x72,0x69,0x61,0x6c])][_0x738311([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19f852[_0x738311([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xd562fb/0x3e8:0xe10*_0x2118f1;return _0x19f852[_0x738311([0x65,0x78,0x70])]<_0x42d5ca;}function _0x23f38f(){const _0x2c0079=_0x19f852[_0x738311([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c0079&&(!!_0x2c0079[_0x738311([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x738311([0x2a]))||!!_0x2c0079[_0x738311([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x738311([0x4c,0x48])));}function _0x40393d(){const _0x28dbcb=_0x2414,_0x42bd07=_0x19f852[_0x738311([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x42bd07||0x0==_0x42bd07[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5ecb91}=new URL(window[_0x738311([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x28dbcb(0x6d)]);if(_0x42bd07[_0x738311([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ecb91))return!0x0;const _0x1df3c8=_0x5ecb91[_0x738311([0x73,0x70,0x6c,0x69,0x74])](_0x738311([0x2e]));return _0x42bd07[_0x738311([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1510fb=>_0x1510fb[_0x738311([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x738311([0x2a])))[_0x738311([0x6d,0x61,0x70])](_0x490517=>_0x490517[_0x738311([0x73,0x70,0x6c,0x69,0x74])](_0x738311([0x2e])))[_0x738311([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x355e67=>_0x355e67[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1df3c8[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x738311([0x6d,0x61,0x70])](_0x2414d4=>Array(_0x1df3c8[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2414d4[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x738311([0x66,0x69,0x6c,0x6c])](_0x2414d4[0x0]===_0x738311([0x2a])?_0x738311([0x2a]):'')[_0x738311([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2414d4))[_0x738311([0x73,0x6f,0x6d,0x65])](_0x15ddb0=>_0x1df3c8[_0x738311([0x65,0x76,0x65,0x72,0x79])]((_0x3da597,_0x505280)=>_0x15ddb0[_0x505280]===_0x3da597||_0x15ddb0[_0x505280]===_0x738311([0x2a])));}function _0x34fddf(){return _0x5cbaf1&&_0x394edf?new window[(_0x738311([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cf770,_0x116904)=>{_0x5cbaf1[_0x738311([0x74,0x68,0x65,0x6e])](_0x2cf770,_0x116904),_0x394edf[_0x738311([0x74,0x68,0x65,0x6e])](_0x501261=>{_0x501261!=_0x738311([0x56,0x61,0x6c,0x69,0x64])&&_0x2cf770(_0x501261);},_0x116904);}):_0x5cbaf1||_0x394edf||_0x738311([0x56,0x61,0x6c,0x69,0x64]);}}function _0x419d52(_0x3e1893,_0x3a9f2d){return new window[(_0x738311([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf3b5dc=>{if(_0x119849())return _0xf3b5dc(_0x738311([0x56,0x61,0x6c,0x69,0x64]));_0x1e83c9(),_0x48e9d2[_0x738311([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x738311([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x531cd5=!0x1;const _0x1d7fdf=_0xc24890();function _0x1cb10f(_0x347871){return!!_0x347871&&(typeof _0x347871===_0x738311([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x347871===_0x738311([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x347871[_0x738311([0x74,0x68,0x65,0x6e])]===_0x738311([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x347871[_0x738311([0x63,0x61,0x74,0x63,0x68])]===_0x738311([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5195e8(_0x3f40a5){_0x512a69(_0x3f40a5)[_0x738311([0x74,0x68,0x65,0x6e])](_0x32be9e=>{if(!_0x32be9e||_0x32be9e[_0x738311([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x738311([0x6f,0x6b]))return _0x738311([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x19e171(_0x15b289(_0x1d7fdf+_0x3a9f2d))!=_0x32be9e[_0x738311([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x738311([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x738311([0x56,0x61,0x6c,0x69,0x64]);})[_0x738311([0x74,0x68,0x65,0x6e])](_0x559712=>(_0x153022(),_0x559712),()=>{const _0x389729=_0xd714b3();return null==_0x389729?(_0x153022(),_0x738311([0x56,0x61,0x6c,0x69,0x64])):_0x738311(_0xd562fb-_0x389729>(0x61d15615^_0xd53b7f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x738311([0x74,0x68,0x65,0x6e])](_0xf3b5dc)[_0x738311([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf3b5dc(_0x738311([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5f3142=0x45eb3c95^_0xd53b7f;function _0x153022(){const _0x25260e=_0x738311([0x6c,0x6c,0x63,0x74,0x2d])+_0x19e171(_0x15b289(_0x3e1893)),_0x309cbd=_0x58ef28(_0x19e171(window[_0x738311([0x4d,0x61,0x74,0x68])][_0x738311([0x63,0x65,0x69,0x6c])](_0xd562fb/_0x5f3142)));window[_0x738311([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x738311([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x25260e,_0x309cbd);}function _0xd714b3(){const _0x3a0f34=_0x738311([0x6c,0x6c,0x63,0x74,0x2d])+_0x19e171(_0x15b289(_0x3e1893)),_0x45d8c9=window[_0x738311([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x738311([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a0f34);return _0x45d8c9?window[_0x738311([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58ef28(_0x45d8c9),0x10)*_0x5f3142:null;}function _0x512a69(_0x534747){return new window[(_0x738311([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b56b9,_0x20176b)=>{_0x534747[_0x738311([0x74,0x68,0x65,0x6e])](_0x5b56b9,_0x20176b),window[_0x738311([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x20176b,0x45dc06d5^_0xd53b7f);});}}_0x48e9d2[_0x738311([0x6f,0x6e])](_0x738311([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1d57dd,_0x2a83cf)=>{if(_0x2a83cf[0x0]!=_0x3e1893)return _0xf3b5dc(_0x738311([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a83cf[0x1]={..._0x2a83cf[0x1],[_0x738311([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1d7fdf};},{[_0x738311([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x738311([0x68,0x69,0x67,0x68])}),_0x48e9d2[_0x738311([0x6f,0x6e])](_0x738311([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x52819d=>{_0x1cb10f(_0x52819d[_0x738311([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x531cd5=!0x0,_0x5195e8(_0x52819d[_0x738311([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x738311([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x738311([0x6c,0x6f,0x77])}),_0x269885[_0x738311([0x74,0x68,0x65,0x6e])](()=>{_0x531cd5||_0xf3b5dc(_0x738311([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x119849(){return _0x48e9d2[_0x738311([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x738311([0x76,0x69,0x65,0x77])][_0x738311([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x738311([0x61,0x75,0x74,0x6f]);}function _0x1e83c9(){_0x48e9d2[_0x738311([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x738311([0x76,0x69,0x65,0x77])][_0x738311([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x738311([0x61,0x75,0x74,0x6f]);}}function _0x26bb6f(_0x34a9af){const _0x2432c6=[new window[(_0x738311([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a3563=>setTimeout(_0x5a3563,0x45d4ecd9^_0xd53b7f)),_0x269885[_0x738311([0x74,0x68,0x65,0x6e])](()=>new window[(_0x738311([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x79bea0=>{let _0x152c26=0x0;_0x48e9d2[_0x738311([0x6d,0x6f,0x64,0x65,0x6c])][_0x738311([0x6f,0x6e])](_0x738311([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5ae117,_0x406757)=>{_0x406757[0x0][_0x738311([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x152c26++,_0x152c26==(0x45ddd3ed^_0xd53b7f)&&(_0x79bea0(),_0x5ae117[_0x738311([0x6f,0x66,0x66])]());});}))];return window[_0x738311([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x738311([0x72,0x61,0x63,0x65])](_0x2432c6)[_0x738311([0x74,0x68,0x65,0x6e])](()=>_0x34a9af);}async function _0xcee213(){await _0x269885,_0x48e9d2[_0x738311([0x6d,0x6f,0x64,0x65,0x6c])][_0x738311([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x770ddb,_0x48e9d2[_0x738311([0x6d,0x6f,0x64,0x65,0x6c])][_0x738311([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x770ddb,_0x48e9d2[_0x738311([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x738311([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5c21c7(_0x5169ba){const _0x1ce34d=_0x20fe0c();_0x48e9d2[_0x1ce34d]=_0x738311([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5169ba,_0x5169ba!=_0x738311([0x56,0x61,0x6c,0x69,0x64])&&_0xcee213();}function _0x20fe0c(){const _0x521461=window[_0x738311([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x738311([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x738311([0x6e,0x6f,0x77])]())[_0x738311([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x738311([0x2e]),'');let _0x7b4352=_0x738311([0x50]);for(let _0x3e3667=0x0;_0x3e3667<_0x521461[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e3667+=0x2){let _0x2163e4=window[_0x738311([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x521461[_0x738311([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e3667,_0x3e3667+0x2));_0x2163e4>=_0x543265[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2163e4-=_0x543265[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x7b4352+=_0x543265[_0x2163e4];}return _0x7b4352;}function _0x2358a0(){const _0x62d531=_0x450064[_0x738311([0x73,0x70,0x6c,0x69,0x74])](_0x738311([0x2e]));if(0x3!=_0x62d531[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x13195a(_0x62d531[0x1]);function _0x13195a(_0x24f7f8){const _0xaf390d=_0x11a00f(_0x24f7f8);return _0xaf390d&&_0x259c46()?_0xaf390d:null;function _0x259c46(){const _0x45c501=_0xaf390d[_0x738311([0x6a,0x74,0x69])],_0x4d4d51=window[_0x738311([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45c501[_0x738311([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x45c501[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x7a6d20={..._0xaf390d,[_0x738311([0x6a,0x74,0x69])]:_0x45c501[_0x738311([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x45c501[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x7a6d20[_0x738311([0x76,0x63])],_0x15b289(_0x7a6d20)==_0x4d4d51;}}}async function _0x27a0dc(){let _0x5a1296=!0x0;try{const _0x13d96d=_0x450064[_0x738311([0x73,0x70,0x6c,0x69,0x74])](_0x738311([0x2e])),[_0x715532,_0x39dec6,_0x2212ea]=_0x13d96d;return _0x34436b(_0x715532),await _0x20fa9d(_0x715532,_0x39dec6,_0x2212ea),_0x5a1296;}catch{return!0x1;}function _0x34436b(_0x3b2fad){const _0x2b26e0=_0x11a00f(_0x3b2fad);_0x2b26e0&&_0x2b26e0[_0x738311([0x61,0x6c,0x67])]==_0x738311([0x45,0x53,0x32,0x35,0x36])||(_0x5a1296=!0x1);}async function _0x20fa9d(_0x216dce,_0x546d26,_0xbad070){const _0x5e5199=window[_0x738311([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x738311([0x66,0x72,0x6f,0x6d])](_0xd3483f(_0xbad070),_0x1b3dd3=>_0x1b3dd3[_0x738311([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe47c96=new window[(_0x738311([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x738311([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x216dce+_0x738311([0x2e])+_0x546d26),_0x4de68e=window[_0x738311([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x738311([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4de68e)return;const _0x2d1c90=await _0x4de68e[_0x738311([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x738311([0x6a,0x77,0x6b]),_0x511522,{[_0x738311([0x6e,0x61,0x6d,0x65])]:_0x738311([0x45,0x43,0x44,0x53,0x41]),[_0x738311([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x738311([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x738311([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4de68e[_0x738311([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x738311([0x6e,0x61,0x6d,0x65])]:_0x738311([0x45,0x43,0x44,0x53,0x41]),[_0x738311([0x68,0x61,0x73,0x68])]:{[_0x738311([0x6e,0x61,0x6d,0x65])]:_0x738311([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2d1c90,_0x5e5199,_0xe47c96)||(_0x5a1296=!0x1);}}function _0x11a00f(_0x227cb6){return _0x227cb6[_0x738311([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x738311([0x65,0x79]))?JSON[_0x738311([0x70,0x61,0x72,0x73,0x65])](_0xd3483f(_0x227cb6)):null;}function _0xd3483f(_0x1bf075){return window[_0x738311([0x61,0x74,0x6f,0x62])](_0x1bf075[_0x738311([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x738311([0x2b]))[_0x738311([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x738311([0x2f])));}function _0x15b289(_0x26fa14){let _0x5a8834=0x1505;function _0x3f4490(_0x41d52c){for(let _0x4ac58e=0x0;_0x4ac58e<_0x41d52c[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ac58e++){const _0x4c72e3=_0x41d52c[_0x738311([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ac58e);_0x5a8834=(_0x5a8834<<0x5)+_0x5a8834+_0x4c72e3,_0x5a8834&=_0x5a8834;}}function _0x39e3be(_0x2263d0){Array[_0x738311([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2263d0)?_0x2263d0[_0x738311([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39e3be):_0x2263d0&&typeof _0x2263d0==_0x738311([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x738311([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2263d0)[_0x738311([0x73,0x6f,0x72,0x74])]()[_0x738311([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x78ebce,_0x117a73])=>{_0x3f4490(_0x78ebce),_0x39e3be(_0x117a73);}):_0x3f4490(window[_0x738311([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2263d0));}return _0x39e3be(_0x26fa14),_0x5a8834>>>0x0;}function _0x19e171(_0x9511e7){return _0x9511e7[_0x738311([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x738311([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x738311([0x30]));}function _0x58ef28(_0x5d4e55){return _0x5d4e55[_0x738311([0x73,0x70,0x6c,0x69,0x74])]('')[_0x738311([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x738311([0x6a,0x6f,0x69,0x6e])]('');}function _0x770ddb(){}function _0x738311(_0x1d2870){const _0x3477dd=_0x2414;return _0x1d2870[_0x3477dd(0x94)](_0x1956ba=>String[_0x3477dd(0x71)](_0x1956ba))[_0x3477dd(0x6b)]('');}_0x5c21c7(await _0x153aa1());}(this);}[_0x15626c(0x86)](){const _0x182a57=_0x15626c,_0x4b4cc2=this[_0x182a57(0x7e)];if(!_0x4b4cc2[_0x182a57(0x7c)][_0x182a57(0x93)](_0x182a57(0x9e)))return;const _0x116bc9=_0x4b4cc2[_0x182a57(0x7c)][_0x182a57(0x93)](_0x182a57(0x6c))[_0x182a57(0x78)](_0x1a16fb=>_0x182a57(0x9b)==typeof _0x1a16fb&&(!_0x4e56cf(_0x1a16fb)&&isNaN(Number(_0x1a16fb))));if(_0x116bc9[_0x182a57(0x75)])throw new _0x189e3b(_0x182a57(0x7d),null,{'namedPresets':_0x116bc9});}[_0x15626c(0x7b)](){const _0x5d1ff8=_0x15626c,_0x1b2a02=this[_0x5d1ff8(0x7e)],_0x29d6c7=this[_0x5d1ff8(0x7e)][_0x5d1ff8(0x7c)][_0x5d1ff8(0x93)](_0x5d1ff8(0x6a));_0x1b2a02[_0x5d1ff8(0x8d)][_0x5d1ff8(0x9a)](_0x5d1ff8(0x99))[_0x5d1ff8(0x84)]({'model':{'key':_0x5d1ff8(0x8c)},'view':_0x94d9b3=>String(_0x94d9b3)===String(_0x29d6c7)?null:{'key':_0x5d1ff8(0x95),'value':{'line-height':_0x94d9b3}}}),_0x1b2a02[_0x5d1ff8(0x8d)][_0x5d1ff8(0x9a)](_0x5d1ff8(0x8b))[_0x5d1ff8(0x84)]({'model':{'key':_0x5d1ff8(0x8c),'value':_0x2f97e3=>{const _0x5c9879=_0x5d1ff8;let _0x1eb244=_0x2f97e3[_0x5c9879(0x73)](_0x5c9879(0x91));return _0x2cc09a(_0x1eb244)&&(_0x1eb244=String(Number(_0x1eb244[_0x5c9879(0x8a)](0x0,-0x1))/0x64)),String(_0x1eb244)===String(_0x29d6c7)?null:_0x1eb244;}},'view':{'styles':{'line-height':/.*/}}});}[_0x15626c(0x68)](){const _0x185daa=_0x15626c,_0x387dd6=this[_0x185daa(0x7e)],_0xb075f3=this[_0x185daa(0x7e)][_0x185daa(0x7c)][_0x185daa(0x93)](_0x185daa(0x6a)),_0x3900e1=_0x1342f0(this[_0x185daa(0x7e)][_0x185daa(0x7c)][_0x185daa(0x93)](_0x185daa(0x8c)))[_0x185daa(0x78)](_0x2fffb4=>_0x2fffb4[_0x185daa(0x80)]),_0x279633=_0x1597ac(_0x185daa(0x8c),_0x3900e1);_0x387dd6[_0x185daa(0x8d)][_0x185daa(0x84)](_0x279633),_0x387dd6[_0x185daa(0x8d)][_0x185daa(0x9a)](_0x185daa(0x8b))[_0x185daa(0x84)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x185daa(0x8c),'value':_0x2c6ca6=>{const _0x320ba4=_0x185daa;let _0x288f1e=_0x2c6ca6[_0x320ba4(0x73)](_0x320ba4(0x91));return _0x2cc09a(_0x288f1e)&&(_0x288f1e=String(Number(_0x288f1e[_0x320ba4(0x8a)](0x0,-0x1))/0x64)),_0x288f1e===String(_0xb075f3)?null:_0x279633[_0x320ba4(0x80)][_0x320ba4(0x98)][_0x320ba4(0x6f)](_0x288f1e)?_0x288f1e:null;}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x352537}from'ckeditor5/src/core.js';import{addListToDropdown as _0xbc6b61,createDropdown as _0x2c2ed2,MenuBarMenuListItemButtonView as _0x30b1d8,MenuBarMenuListItemView as _0x3e880d,MenuBarMenuListView as _0x44c19a,MenuBarMenuView as _0x53307f,UIModel as _0x379bf8}from'ckeditor5/src/ui.js';import{Collection as _0x204117}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x12cf9f}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x5c5558}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x352537{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x514cb0={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x514cb0),this['_registerMenuBarComponent'](_0x514cb0),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x186f37=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1658dd;for(const _0x1fa74a in _0x186f37){const _0x347e9e=_0x1fa74a,_0x2c5efb=_0x186f37[_0x347e9e];if('lineHeightLicenseKeyValid'==_0x2c5efb||'lineHeightLicenseKeyInvalid'==_0x2c5efb||'lineHeightLicenseKeyExpired'==_0x2c5efb||'lineHeightLicenseKeyDomainLimit'==_0x2c5efb||'lineHeightLicenseKeyNotAllowed'==_0x2c5efb||'lineHeightLicenseKeyEvaluationLimit'==_0x2c5efb||'lineHeightLicenseKeyTrialLimit'==_0x2c5efb||'lineHeightLicenseKeyUsageLimit'==_0x2c5efb){delete _0x186f37[_0x347e9e],_0x1658dd=_0x2c5efb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x1658dd&&_0x186f37['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x1658dd&&_0x186f37['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x1658dd&&_0x186f37['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x1658dd&&_0x186f37['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x1658dd&&_0x186f37['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x1658dd&&_0x186f37['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x1658dd&&_0x186f37['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x217546=this['editor'],t=_0x217546['t'],_0x1639ce=_0x217546['config']['get']('lineHeight'),_0x37165a={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x5c5558(_0x1639ce)['map'](_0x166439=>{const _0x5c7735=_0x37165a[_0x166439['title']];return _0x5c7735&&_0x5c7735!=_0x166439['title']&&(_0x166439=Object['assign']({},_0x166439,{'title':_0x5c7735})),_0x166439;});}['_prepareListOptions'](){const _0x3dd4b3=this['editor']['commands']['get']('lineHeight'),_0x3e9c2a=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2c07d0=this['_getLocalizedLineHeightOptions'](),_0xbaffbe=new _0x204117(),_0x4741d8=_0x39be3e=>'default'===_0x39be3e||String(_0x3e9c2a)===_0x39be3e;for(const _0x58984c of _0x2c07d0){const _0x2d2a2c={'type':'button','model':new _0x379bf8({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x58984c['title'],'withText':!0x0})};_0x4741d8(_0x58984c['model'])?(_0x2d2a2c['model']['bind']('isOn')['to'](_0x3dd4b3,'value',_0x3ef6f7=>!_0x3ef6f7),_0x2d2a2c['model']['commandParam']=void 0x0):(_0x2d2a2c['model']['bind']('isOn')['to'](_0x3dd4b3,'value',_0x1d9b5c=>_0x1d9b5c===_0x58984c['model']),_0x2d2a2c['model']['commandParam']=_0x58984c['model']),_0xbaffbe['add'](_0x2d2a2c);}if(this['_shouldRenderCustomValueOption']()){const _0x3e9ddd=this['_getCustomValueOptionDefinition'](_0x2c07d0);_0xbaffbe['add'](_0x3e9ddd);}return _0xbaffbe;}['_getCustomValueOptionDefinition'](_0x3fb16e){const _0x4cce7e=this['editor'],t=_0x4cce7e['t'],_0x447478=_0x4cce7e['commands']['get']('lineHeight'),_0x11c31a=_0x3fb16e['map'](_0x1289e6=>_0x1289e6['model']),_0x203ed0={'type':'button','model':new _0x379bf8({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x203ed0['model']['bind']('commandParam')['to'](_0x447478,'value'),_0x203ed0['model']['bind']('isOn')['to'](_0x447478,'value',_0x129811=>!!_0x129811&&!_0x11c31a['includes'](String(_0x129811))),_0x203ed0['model']['bind']('label')['to'](_0x447478,'value',_0x2cfa9a=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x2cfa9a))),_0x203ed0;}['_registerToolbarComponent']({accessibleLabel:_0x43946b,options:_0x4ac20d}){const _0x506579=this['editor'],_0x184276=_0x506579['commands']['get']('lineHeight');_0x506579['ui']['componentFactory']['add']('lineHeight',_0xae20fe=>{const _0x818bb8=_0x2c2ed2(_0xae20fe);return _0xbc6b61(_0x818bb8,_0x4ac20d,{'role':'menu','ariaLabel':_0x43946b}),_0x818bb8['buttonView']['set']({'label':_0x43946b,'tooltip':!0x0,'icon':_0x12cf9f}),_0x818bb8['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x818bb8['bind']('isEnabled')['to'](_0x184276),this['listenTo'](_0x818bb8,'execute',_0x866c0f=>{_0x506579['execute'](_0x866c0f['source']['commandName'],{'value':_0x866c0f['source']['commandParam']}),_0x506579['editing']['view']['focus']();}),_0x818bb8['once']('change:isOpen',()=>{const _0xd9460f=_0x818bb8['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x818bb8,_0x4ac20d,_0xd9460f);}),_0x818bb8;});}['_registerMenuBarComponent']({accessibleLabel:_0x1b4e1c,options:_0x1471d7}){const _0x191481=this['editor'],_0x243a13=_0x191481['commands']['get']('lineHeight');_0x191481['ui']['componentFactory']['add']('menuBar:lineHeight',_0x17d7cb=>{const _0x3ef313=new _0x53307f(_0x17d7cb);_0x3ef313['buttonView']['set']({'label':_0x1b4e1c,'icon':_0x12cf9f}),_0x3ef313['bind']('isEnabled')['to'](_0x243a13);const _0x4313a7=new _0x44c19a(_0x17d7cb);for(const _0x10a82d of _0x1471d7){const _0x38c954=new _0x3e880d(_0x17d7cb,_0x3ef313),_0x7a456b=new _0x30b1d8(_0x17d7cb);_0x7a456b['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x7a456b['bind'](...Object['keys'](_0x10a82d['model']))['to'](_0x10a82d['model']),_0x7a456b['delegate']('execute')['to'](_0x3ef313),_0x7a456b['on']('execute',()=>{_0x191481['execute'](_0x10a82d['model']['commandName'],{'value':_0x10a82d['model']['commandParam']}),_0x191481['editing']['view']['focus']();}),_0x38c954['children']['add'](_0x7a456b),_0x4313a7['items']['add'](_0x38c954);}return _0x3ef313['panelView']['children']['add'](_0x4313a7),this['_attachCustomOptionVisibilityHandler'](_0x3ef313,_0x1471d7,_0x4313a7),_0x3ef313;});}['_attachCustomOptionVisibilityHandler'](_0x34cca0,_0x23d684,_0x780fad){if(!this['_shouldRenderCustomValueOption']())return;const _0x31a9e2=()=>{if(!_0x34cca0['isOpen'])return;_0x780fad['items']['last']['isVisible']=Boolean(_0x23d684['last']['model']['isOn']);};_0x31a9e2(),_0x34cca0['on']('change:isOpen',()=>{_0x31a9e2();});}}
23
+ import{Plugin as _0x1188ac}from'ckeditor5/src/core.js';import{addListToDropdown as _0x199343,createDropdown as _0x22ca96,MenuBarMenuListItemButtonView as _0x3b4c99,MenuBarMenuListItemView as _0x34e9d3,MenuBarMenuListView as _0xe04f40,MenuBarMenuView as _0x17998c,UIModel as _0x553040}from'ckeditor5/src/ui.js';import{Collection as _0x10a3df}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x3a4e8c}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x2ecd65}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x1188ac{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x218eca={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x218eca),this['_registerMenuBarComponent'](_0x218eca),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x34486f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2bc7f3;for(const _0x51ddd5 in _0x34486f){const _0x39f307=_0x51ddd5,_0x2fc6a2=_0x34486f[_0x39f307];if('lineHeightLicenseKeyValid'==_0x2fc6a2||'lineHeightLicenseKeyInvalid'==_0x2fc6a2||'lineHeightLicenseKeyExpired'==_0x2fc6a2||'lineHeightLicenseKeyDomainLimit'==_0x2fc6a2||'lineHeightLicenseKeyNotAllowed'==_0x2fc6a2||'lineHeightLicenseKeyEvaluationLimit'==_0x2fc6a2||'lineHeightLicenseKeyTrialLimit'==_0x2fc6a2||'lineHeightLicenseKeyUsageLimit'==_0x2fc6a2){delete _0x34486f[_0x39f307],_0x2bc7f3=_0x2fc6a2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2bc7f3&&_0x34486f['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2bc7f3&&_0x34486f['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2bc7f3&&_0x34486f['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2bc7f3&&_0x34486f['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2bc7f3&&_0x34486f['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2bc7f3&&_0x34486f['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2bc7f3&&_0x34486f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x557eb5=this['editor'],t=_0x557eb5['t'],_0x2af690=_0x557eb5['config']['get']('lineHeight'),_0x230dfd={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x2ecd65(_0x2af690)['map'](_0x12bfaf=>{const _0x2d116b=_0x230dfd[_0x12bfaf['title']];return _0x2d116b&&_0x2d116b!=_0x12bfaf['title']&&(_0x12bfaf=Object['assign']({},_0x12bfaf,{'title':_0x2d116b})),_0x12bfaf;});}['_prepareListOptions'](){const _0x383547=this['editor']['commands']['get']('lineHeight'),_0xfecb82=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3eeec4=this['_getLocalizedLineHeightOptions'](),_0x3d3471=new _0x10a3df(),_0x28e9eb=_0x5d1e2b=>'default'===_0x5d1e2b||String(_0xfecb82)===_0x5d1e2b;for(const _0x3234e2 of _0x3eeec4){const _0x59a479={'type':'button','model':new _0x553040({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x3234e2['title'],'withText':!0x0})};_0x28e9eb(_0x3234e2['model'])?(_0x59a479['model']['bind']('isOn')['to'](_0x383547,'value',_0x3055b8=>!_0x3055b8),_0x59a479['model']['commandParam']=void 0x0):(_0x59a479['model']['bind']('isOn')['to'](_0x383547,'value',_0x557fb6=>_0x557fb6===_0x3234e2['model']),_0x59a479['model']['commandParam']=_0x3234e2['model']),_0x3d3471['add'](_0x59a479);}if(this['_shouldRenderCustomValueOption']()){const _0x3c56f9=this['_getCustomValueOptionDefinition'](_0x3eeec4);_0x3d3471['add'](_0x3c56f9);}return _0x3d3471;}['_getCustomValueOptionDefinition'](_0x3dc192){const _0x54b3cf=this['editor'],t=_0x54b3cf['t'],_0x6eb9cd=_0x54b3cf['commands']['get']('lineHeight'),_0x11b465=_0x3dc192['map'](_0x1d891a=>_0x1d891a['model']),_0x5c74c1={'type':'button','model':new _0x553040({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x5c74c1['model']['bind']('commandParam')['to'](_0x6eb9cd,'value'),_0x5c74c1['model']['bind']('isOn')['to'](_0x6eb9cd,'value',_0x17a643=>!!_0x17a643&&!_0x11b465['includes'](String(_0x17a643))),_0x5c74c1['model']['bind']('label')['to'](_0x6eb9cd,'value',_0x3945c4=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x3945c4))),_0x5c74c1;}['_registerToolbarComponent']({accessibleLabel:_0xe7e2df,options:_0x5e2ecd}){const _0x3ab46a=this['editor'],_0x3781b2=_0x3ab46a['commands']['get']('lineHeight');_0x3ab46a['ui']['componentFactory']['add']('lineHeight',_0x41ae21=>{const _0x2b1ac7=_0x22ca96(_0x41ae21);return _0x199343(_0x2b1ac7,_0x5e2ecd,{'role':'menu','ariaLabel':_0xe7e2df}),_0x2b1ac7['buttonView']['set']({'label':_0xe7e2df,'tooltip':!0x0,'icon':_0x3a4e8c}),_0x2b1ac7['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x2b1ac7['bind']('isEnabled')['to'](_0x3781b2),this['listenTo'](_0x2b1ac7,'execute',_0xe368e9=>{_0x3ab46a['execute'](_0xe368e9['source']['commandName'],{'value':_0xe368e9['source']['commandParam']}),_0x3ab46a['editing']['view']['focus']();}),_0x2b1ac7['once']('change:isOpen',()=>{const _0x2bd9f8=_0x2b1ac7['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x2b1ac7,_0x5e2ecd,_0x2bd9f8);}),_0x2b1ac7;});}['_registerMenuBarComponent']({accessibleLabel:_0x25472a,options:_0x4c3b9d}){const _0x25d770=this['editor'],_0x71cefb=_0x25d770['commands']['get']('lineHeight');_0x25d770['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4d494e=>{const _0x5b33a5=new _0x17998c(_0x4d494e);_0x5b33a5['buttonView']['set']({'label':_0x25472a,'icon':_0x3a4e8c}),_0x5b33a5['bind']('isEnabled')['to'](_0x71cefb);const _0x4bd3cd=new _0xe04f40(_0x4d494e);for(const _0x361b9d of _0x4c3b9d){const _0x1ef517=new _0x34e9d3(_0x4d494e,_0x5b33a5),_0x44196d=new _0x3b4c99(_0x4d494e);_0x44196d['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x44196d['bind'](...Object['keys'](_0x361b9d['model']))['to'](_0x361b9d['model']),_0x44196d['delegate']('execute')['to'](_0x5b33a5),_0x44196d['on']('execute',()=>{_0x25d770['execute'](_0x361b9d['model']['commandName'],{'value':_0x361b9d['model']['commandParam']}),_0x25d770['editing']['view']['focus']();}),_0x1ef517['children']['add'](_0x44196d),_0x4bd3cd['items']['add'](_0x1ef517);}return _0x5b33a5['panelView']['children']['add'](_0x4bd3cd),this['_attachCustomOptionVisibilityHandler'](_0x5b33a5,_0x4c3b9d,_0x4bd3cd),_0x5b33a5;});}['_attachCustomOptionVisibilityHandler'](_0x402777,_0x177b66,_0xbb557f){if(!this['_shouldRenderCustomValueOption']())return;const _0x1478cd=()=>{if(!_0x402777['isOpen'])return;_0xbb557f['items']['last']['isVisible']=Boolean(_0x177b66['last']['model']['isOn']);};_0x1478cd(),_0x402777['on']('change:isOpen',()=>{_0x1478cd();});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xe96fc7,_0x3da506){const _0x19c0c7=_0x2096,_0x1ff7f5=_0xe96fc7();while(!![]){try{const _0x44f54e=-parseInt(_0x19c0c7(0x1c1))/0x1+parseInt(_0x19c0c7(0x1cd))/0x2*(parseInt(_0x19c0c7(0x1d8))/0x3)+-parseInt(_0x19c0c7(0x1d0))/0x4*(parseInt(_0x19c0c7(0x1b6))/0x5)+parseInt(_0x19c0c7(0x1c4))/0x6*(-parseInt(_0x19c0c7(0x1bb))/0x7)+parseInt(_0x19c0c7(0x1bd))/0x8*(parseInt(_0x19c0c7(0x1d9))/0x9)+-parseInt(_0x19c0c7(0x1d7))/0xa*(parseInt(_0x19c0c7(0x1d2))/0xb)+parseInt(_0x19c0c7(0x1d4))/0xc;if(_0x44f54e===_0x3da506)break;else _0x1ff7f5['push'](_0x1ff7f5['shift']());}catch(_0x2c2974){_0x1ff7f5['push'](_0x1ff7f5['shift']());}}}(_0x414f,0x7a658));const v={get 'single'(){const _0x10bc4e=_0x2096;return{'title':_0x10bc4e(0x1c9),'model':_0x10bc4e(0x1b8),'view':{'key':_0x10bc4e(0x1cb),'value':_0x10bc4e(0x1b7)}};},get 'double'(){const _0x27190f=_0x2096;return{'title':_0x27190f(0x1c3),'model':_0x27190f(0x1cf),'view':{'key':_0x27190f(0x1cb),'value':_0x27190f(0x1c2)}};}};export function isLineHeightDefaultValue(_0x259cae){const _0x4f2172=_0x2096;return _0x4f2172(0x1d6)==typeof _0x259cae&&_0x4f2172(0x1ca)===_0x259cae[_0x4f2172(0x1bc)]();}export function normalizeOptions(_0x1aee81){const _0x31875b=_0x2096;return _0x1aee81[_0x31875b(0x1ce)][_0x31875b(0x1d5)](_0x31282b=>isLineHeightDefaultValue(_0x31282b)?{'title':String(_0x1aee81[_0x31875b(0x1be)]),'model':_0x31875b(0x1ca)}:(_0x31875b(0x1ba)==typeof _0x31282b&&(_0x31282b=String(_0x31282b)),_0x31875b(0x1d6)!=typeof _0x31282b?_0x31282b:parseFloat(_0x31282b)?{'title':_0x31282b,'model':_0x31282b,'view':{'name':_0x31875b(0x1c5),'styles':{'line-height':_0x31282b}}}:findPreset(_0x31282b)))[_0x31875b(0x1c7)](_0x1407b6=>void 0x0!==_0x1407b6);}export function findPreset(_0x109979){const _0xd50b6c=_0x2096;return _0xd50b6c(0x1d6)==typeof _0x109979?v[_0x109979]:v[_0x109979[_0xd50b6c(0x1c6)]];}function _0x2096(_0x3f0a7b,_0x5a7cc4){const _0x414f2b=_0x414f();return _0x2096=function(_0x209605,_0x3ed060){_0x209605=_0x209605-0x1b6;let _0x1e2ee6=_0x414f2b[_0x209605];return _0x1e2ee6;},_0x2096(_0x3f0a7b,_0x5a7cc4);}export function buildDefinition(_0x528c86,_0x38aabc){const _0x3971f3=_0x2096,_0x5d8947={'model':{'key':_0x528c86,'values':[]},'view':{}};for(const _0x56c818 of _0x38aabc)_0x3971f3(0x1cb)===_0x56c818[_0x3971f3(0x1c8)]?.[_0x3971f3(0x1b9)]?(_0x5d8947[_0x3971f3(0x1c6)][_0x3971f3(0x1d3)][_0x3971f3(0x1cc)](_0x56c818[_0x3971f3(0x1c6)]),_0x5d8947[_0x3971f3(0x1c8)][_0x56c818[_0x3971f3(0x1c6)]]={'key':_0x3971f3(0x1cb),'value':_0x56c818[_0x3971f3(0x1c8)][_0x3971f3(0x1c0)]}):(_0x5d8947[_0x3971f3(0x1c6)][_0x3971f3(0x1d3)][_0x3971f3(0x1cc)](_0x56c818[_0x3971f3(0x1c6)]),_0x5d8947[_0x3971f3(0x1c8)][_0x56c818[_0x3971f3(0x1c6)]]={'key':_0x3971f3(0x1d1),'value':_0x3971f3(0x1bf)+_0x56c818[_0x3971f3(0x1c6)]+';'});return _0x5d8947;}function _0x414f(){const _0x48ef0c=['1178465UQwaPj','line-height-single','single','key','number','1355452yEvLiZ','toLowerCase','1962216Dnvibc','defaultValue','line-height:','value','434685mgKHmc','line-height-double','Double','30uorhER','span','model','filter','view','Single','default','class','push','14xvNcAg','options','double','16QzEqdN','style','4852342WcBQQm','values','34341684HUukdT','map','string','20CdRRDb','56391gzMWMM','27FWLHtI'];_0x414f=function(){return _0x48ef0c;};return _0x414f();}
23
+ function _0x4450(_0x3ed8d6,_0x26cba6){const _0x1ac3bb=_0x1ac3();return _0x4450=function(_0x44503d,_0x2a1245){_0x44503d=_0x44503d-0x104;let _0x2254bd=_0x1ac3bb[_0x44503d];return _0x2254bd;},_0x4450(_0x3ed8d6,_0x26cba6);}(function(_0x47d594,_0x5855b4){const _0x5c75e6=_0x4450,_0x5db48b=_0x47d594();while(!![]){try{const _0x4326c4=parseInt(_0x5c75e6(0x115))/0x1+-parseInt(_0x5c75e6(0x123))/0x2*(-parseInt(_0x5c75e6(0x124))/0x3)+parseInt(_0x5c75e6(0x126))/0x4*(parseInt(_0x5c75e6(0x10c))/0x5)+-parseInt(_0x5c75e6(0x11e))/0x6+-parseInt(_0x5c75e6(0x125))/0x7+-parseInt(_0x5c75e6(0x112))/0x8*(-parseInt(_0x5c75e6(0x119))/0x9)+-parseInt(_0x5c75e6(0x10a))/0xa*(parseInt(_0x5c75e6(0x108))/0xb);if(_0x4326c4===_0x5855b4)break;else _0x5db48b['push'](_0x5db48b['shift']());}catch(_0x2a82df){_0x5db48b['push'](_0x5db48b['shift']());}}}(_0x1ac3,0x6c0ed));function _0x1ac3(){const _0x7d8977=['Single','432EHLgxt','model','toLowerCase','map','values','2516886JsKFAm','key','line-height:','single','default','40UnzOda','132285hWjckz','4683238fpeGXv','2073196vXULnu','number','line-height-single','push','filter','16215034KjcCcS','span','10pTFamX','double','5WJZCox','defaultValue','string','view','class','line-height-double','146344uoxAVu','Double','value','726951LPFByP','style','options'];_0x1ac3=function(){return _0x7d8977;};return _0x1ac3();}const v={get 'single'(){const _0x48baed=_0x4450;return{'title':_0x48baed(0x118),'model':_0x48baed(0x121),'view':{'key':_0x48baed(0x110),'value':_0x48baed(0x105)}};},get 'double'(){const _0x382769=_0x4450;return{'title':_0x382769(0x113),'model':_0x382769(0x10b),'view':{'key':_0x382769(0x110),'value':_0x382769(0x111)}};}};export function isLineHeightDefaultValue(_0x26b3b4){const _0x585521=_0x4450;return _0x585521(0x10e)==typeof _0x26b3b4&&_0x585521(0x122)===_0x26b3b4[_0x585521(0x11b)]();}export function normalizeOptions(_0x5c5932){const _0x26528e=_0x4450;return _0x5c5932[_0x26528e(0x117)][_0x26528e(0x11c)](_0x7d4e0d=>isLineHeightDefaultValue(_0x7d4e0d)?{'title':String(_0x5c5932[_0x26528e(0x10d)]),'model':_0x26528e(0x122)}:(_0x26528e(0x104)==typeof _0x7d4e0d&&(_0x7d4e0d=String(_0x7d4e0d)),_0x26528e(0x10e)!=typeof _0x7d4e0d?_0x7d4e0d:parseFloat(_0x7d4e0d)?{'title':_0x7d4e0d,'model':_0x7d4e0d,'view':{'name':_0x26528e(0x109),'styles':{'line-height':_0x7d4e0d}}}:findPreset(_0x7d4e0d)))[_0x26528e(0x107)](_0x283210=>void 0x0!==_0x283210);}export function findPreset(_0x15eb8){const _0x1c22c8=_0x4450;return _0x1c22c8(0x10e)==typeof _0x15eb8?v[_0x15eb8]:v[_0x15eb8[_0x1c22c8(0x11a)]];}export function buildDefinition(_0x104857,_0x5c5a4f){const _0x23b802=_0x4450,_0x27e018={'model':{'key':_0x104857,'values':[]},'view':{}};for(const _0x2baea6 of _0x5c5a4f)_0x23b802(0x110)===_0x2baea6[_0x23b802(0x10f)]?.[_0x23b802(0x11f)]?(_0x27e018[_0x23b802(0x11a)][_0x23b802(0x11d)][_0x23b802(0x106)](_0x2baea6[_0x23b802(0x11a)]),_0x27e018[_0x23b802(0x10f)][_0x2baea6[_0x23b802(0x11a)]]={'key':_0x23b802(0x110),'value':_0x2baea6[_0x23b802(0x10f)][_0x23b802(0x114)]}):(_0x27e018[_0x23b802(0x11a)][_0x23b802(0x11d)][_0x23b802(0x106)](_0x2baea6[_0x23b802(0x11a)]),_0x27e018[_0x23b802(0x10f)][_0x2baea6[_0x23b802(0x11a)]]={'key':_0x23b802(0x116),'value':_0x23b802(0x120)+_0x2baea6[_0x23b802(0x11a)]+';'});return _0x27e018;}