@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250710.0 → 0.0.0-nightly-20250711.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/build/line-height.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +7 -7
  150. package/src/index.js +1 -1
  151. package/src/lineheight.js +1 -1
  152. package/src/lineheightcommand.js +1 -1
  153. package/src/lineheightediting.js +1 -1
  154. package/src/lineheightui.js +1 -1
  155. package/src/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59f80b=_0x3f01;(function(_0x37d606,_0x3386db){const _0x280a7c=_0x3f01,_0x36fba0=_0x37d606();while(!![]){try{const _0x1ebfc0=parseInt(_0x280a7c(0x14b))/0x1*(parseInt(_0x280a7c(0x14f))/0x2)+parseInt(_0x280a7c(0x156))/0x3+-parseInt(_0x280a7c(0x149))/0x4*(parseInt(_0x280a7c(0x147))/0x5)+-parseInt(_0x280a7c(0x15a))/0x6*(-parseInt(_0x280a7c(0x14a))/0x7)+-parseInt(_0x280a7c(0x164))/0x8+-parseInt(_0x280a7c(0x163))/0x9+-parseInt(_0x280a7c(0x152))/0xa*(-parseInt(_0x280a7c(0x157))/0xb);if(_0x1ebfc0===_0x3386db)break;else _0x36fba0['push'](_0x36fba0['shift']());}catch(_0x573a31){_0x36fba0['push'](_0x36fba0['shift']());}}}(_0x2f82,0x84388));import{Command as _0x1bfdeb}from'ckeditor5/src/core.js';import{first as _0x4f47af}from'ckeditor5/src/utils.js';function _0x3f01(_0x3ff359,_0xcfb77b){const _0x2f822b=_0x2f82();return _0x3f01=function(_0x3f01f0,_0x35c318){_0x3f01f0=_0x3f01f0-0x147;let _0x24a777=_0x2f822b[_0x3f01f0];return _0x24a777;},_0x3f01(_0x3ff359,_0xcfb77b);}function _0x2f82(){const _0x1eafb8=['623696wPjgFb','194551OsTFIQ','737752cjoklc','lineHeight','getSelectedBlocks','filter','2zQsvHV','checkAttribute','document','10FgtfFm','model','selection','setAttribute','2094246gzRWQG','3099162qjnxrn','_canHaveLineHeight','execute','60oTgTFs','schema','refresh','change','from','editor','isEnabled','value','getAttribute','2695266XuJJqi','4246080kHlwSZ','20nZSEhm','removeAttribute'];_0x2f82=function(){return _0x1eafb8;};return _0x2f82();}export class LineHeightCommand extends _0x1bfdeb{[_0x59f80b(0x15c)](){const _0x561c02=_0x59f80b,_0x38b209=this[_0x561c02(0x15f)][_0x561c02(0x153)][_0x561c02(0x151)],_0x38ee1=_0x4f47af(_0x38b209[_0x561c02(0x154)][_0x561c02(0x14d)]());this[_0x561c02(0x160)]=Boolean(_0x38ee1)&&this[_0x561c02(0x158)](_0x38ee1),this[_0x561c02(0x161)]=this[_0x561c02(0x160)]&&_0x38ee1[_0x561c02(0x162)](_0x561c02(0x14c));}[_0x59f80b(0x159)](_0x51cdb8={}){const _0xf564ba=_0x59f80b,_0x1598cd=this[_0xf564ba(0x15f)][_0xf564ba(0x153)],_0x4a3463=_0x1598cd[_0xf564ba(0x151)][_0xf564ba(0x154)],_0x5f38b7=_0x51cdb8[_0xf564ba(0x161)];_0x1598cd[_0xf564ba(0x15d)](_0x3ce3fe=>{const _0x21ec12=_0xf564ba,_0x4bd67d=Array[_0x21ec12(0x15e)](_0x4a3463[_0x21ec12(0x14d)]())[_0x21ec12(0x14e)](_0x58934=>this[_0x21ec12(0x158)](_0x58934));for(const _0xfc1297 of _0x4bd67d)_0x5f38b7?_0x3ce3fe[_0x21ec12(0x155)](_0x21ec12(0x14c),_0x5f38b7,_0xfc1297):_0x3ce3fe[_0x21ec12(0x148)](_0x21ec12(0x14c),_0xfc1297);});}[_0x59f80b(0x158)](_0x461a1){const _0xfc50ec=_0x59f80b;return this[_0xfc50ec(0x15f)][_0xfc50ec(0x153)][_0xfc50ec(0x15b)][_0xfc50ec(0x150)](_0x461a1,_0xfc50ec(0x14c));}}
23
+ const _0x3af595=_0x237d;(function(_0x49d7f0,_0x44a0d1){const _0x337813=_0x237d,_0x14368c=_0x49d7f0();while(!![]){try{const _0x158473=-parseInt(_0x337813(0x14a))/0x1+parseInt(_0x337813(0x154))/0x2*(-parseInt(_0x337813(0x14f))/0x3)+-parseInt(_0x337813(0x161))/0x4+-parseInt(_0x337813(0x14c))/0x5*(parseInt(_0x337813(0x14e))/0x6)+-parseInt(_0x337813(0x158))/0x7*(-parseInt(_0x337813(0x148))/0x8)+parseInt(_0x337813(0x15c))/0x9+-parseInt(_0x337813(0x146))/0xa*(-parseInt(_0x337813(0x14b))/0xb);if(_0x158473===_0x44a0d1)break;else _0x14368c['push'](_0x14368c['shift']());}catch(_0x326c9a){_0x14368c['push'](_0x14368c['shift']());}}}(_0x2efb,0xd5241));import{Command as _0x3e8f59}from'ckeditor5/src/core.js';function _0x2efb(){const _0x3cdb9a=['_canHaveLineHeight','selection','value','6RKiHyF','document','from','filter','8157170sADZEr','schema','getSelectedBlocks','editor','7836246WPabic','change','lineHeight','removeAttribute','checkAttribute','51596UfyPXi','getAttribute','isEnabled','46430LBFEDk','refresh','8TLsQka','execute','1467584ULxEPs','5599rhlbFE','149635xXlRsG','setAttribute','222JufEZY','938484FwCuQh','model'];_0x2efb=function(){return _0x3cdb9a;};return _0x2efb();}import{first as _0x40628f}from'ckeditor5/src/utils.js';function _0x237d(_0x5d72fa,_0x2aac50){const _0x2efb96=_0x2efb();return _0x237d=function(_0x237d3d,_0x541adb){_0x237d3d=_0x237d3d-0x144;let _0x2e08da=_0x2efb96[_0x237d3d];return _0x2e08da;},_0x237d(_0x5d72fa,_0x2aac50);}export class LineHeightCommand extends _0x3e8f59{[_0x3af595(0x147)](){const _0x4db609=_0x3af595,_0x445580=this[_0x4db609(0x15b)][_0x4db609(0x150)][_0x4db609(0x155)],_0x546531=_0x40628f(_0x445580[_0x4db609(0x152)][_0x4db609(0x15a)]());this[_0x4db609(0x145)]=Boolean(_0x546531)&&this[_0x4db609(0x151)](_0x546531),this[_0x4db609(0x153)]=this[_0x4db609(0x145)]&&_0x546531[_0x4db609(0x144)](_0x4db609(0x15e));}[_0x3af595(0x149)](_0x37a8f6={}){const _0x1a9df9=_0x3af595,_0x547a04=this[_0x1a9df9(0x15b)][_0x1a9df9(0x150)],_0x250566=_0x547a04[_0x1a9df9(0x155)][_0x1a9df9(0x152)],_0x1cb304=_0x37a8f6[_0x1a9df9(0x153)];_0x547a04[_0x1a9df9(0x15d)](_0xd355a7=>{const _0x41f31f=_0x1a9df9,_0x5b8ca2=Array[_0x41f31f(0x156)](_0x250566[_0x41f31f(0x15a)]())[_0x41f31f(0x157)](_0x16b681=>this[_0x41f31f(0x151)](_0x16b681));for(const _0x3db645 of _0x5b8ca2)_0x1cb304?_0xd355a7[_0x41f31f(0x14d)](_0x41f31f(0x15e),_0x1cb304,_0x3db645):_0xd355a7[_0x41f31f(0x15f)](_0x41f31f(0x15e),_0x3db645);});}[_0x3af595(0x151)](_0x4873ff){const _0x4eacf9=_0x3af595;return this[_0x4eacf9(0x15b)][_0x4eacf9(0x150)][_0x4eacf9(0x159)][_0x4eacf9(0x160)](_0x4873ff,_0x4eacf9(0x15e));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50ad9b=_0x36ce;(function(_0x4d8a20,_0x3b730e){const _0x390f2d=_0x36ce,_0x8072a7=_0x4d8a20();while(!![]){try{const _0x299b30=-parseInt(_0x390f2d(0x1c9))/0x1*(-parseInt(_0x390f2d(0x19d))/0x2)+parseInt(_0x390f2d(0x197))/0x3*(-parseInt(_0x390f2d(0x1b1))/0x4)+parseInt(_0x390f2d(0x1b2))/0x5+parseInt(_0x390f2d(0x19a))/0x6*(parseInt(_0x390f2d(0x1ac))/0x7)+-parseInt(_0x390f2d(0x1b3))/0x8+-parseInt(_0x390f2d(0x199))/0x9*(parseInt(_0x390f2d(0x1b6))/0xa)+parseInt(_0x390f2d(0x1a8))/0xb;if(_0x299b30===_0x3b730e)break;else _0x8072a7['push'](_0x8072a7['shift']());}catch(_0x1b06d8){_0x8072a7['push'](_0x8072a7['shift']());}}}(_0x43b8,0x8c63d));import{Plugin as _0x4ff129}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x2825cb}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x25d6ef}from'ckeditor5/src/engine.js';import{uid as _0x4013b9,CKEditorError as _0x6d587f}from'ckeditor5/src/utils.js';import{buildDefinition as _0x4e16e,isLineHeightDefaultValue as _0x1d61c7,normalizeOptions as _0xa67a56}from'./utils.js';function _0x43b8(){const _0x2d0e89=['21619114neexAc','editor','filter','conversion','7HZuZPU','style','upcast','_validateConfig','href','1548752ZScgba','3082685ezLAhe','5226824QyKQRD','line-height','getStyle','22270xaLQNW','_preparePredefinedConverters','LineHeightEditing','default','add','config','afterInit','downcast','model','join','schema','lineHeight','includes','fromCharCode','commands','values','for','map','lineHeight.supportAllValues','1438SCJuEi','attributeToAttribute','setAttributeProperties','lineHeight.options','isOfficialPlugin','6XlPhnc','get','4086NcDSAP','1236882yKptTe','slice','extend','314nuSigT','string','_prepareAnyValueConverters','line-height-invalid-use-of-named-presets','isPremiumPlugin','$block','lineHeight.defaultValue','init','define','pluginName','length'];_0x43b8=function(){return _0x2d0e89;};return _0x43b8();}function _0x36ce(_0x33932a,_0x392412){const _0x43b8d8=_0x43b8();return _0x36ce=function(_0x36ce31,_0x284720){_0x36ce31=_0x36ce31-0x197;let _0x428d12=_0x43b8d8[_0x36ce31];return _0x428d12;},_0x36ce(_0x33932a,_0x392412);}export class LineHeightEditing extends _0x4ff129{static get[_0x50ad9b(0x1a6)](){const _0x1bb526=_0x50ad9b;return _0x1bb526(0x1b8);}static get[_0x50ad9b(0x1cd)](){return!0x0;}static get[_0x50ad9b(0x1a1)](){return!0x0;}constructor(_0x2ab76d){const _0x383118=_0x50ad9b;super(_0x2ab76d),_0x2ab76d[_0x383118(0x1bb)][_0x383118(0x1a5)](_0x383118(0x1c1),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x383118(0x1b9),0x2,2.5,0x3]});}[_0x50ad9b(0x1a4)](){const _0x7c380c=_0x50ad9b,_0x10cf00=this[_0x7c380c(0x1a9)];this[_0x7c380c(0x1af)](),_0x10cf00[_0x7c380c(0x1be)][_0x7c380c(0x1c0)][_0x7c380c(0x19c)](_0x7c380c(0x1a2),{'allowAttributes':_0x7c380c(0x1c1)}),_0x10cf00[_0x7c380c(0x1be)][_0x7c380c(0x1c0)][_0x7c380c(0x1cb)](_0x7c380c(0x1c1),{'isFormatting':!0x0}),_0x10cf00[_0x7c380c(0x1c4)][_0x7c380c(0x1ba)](_0x7c380c(0x1c1),new _0x2825cb(_0x10cf00)),this[_0x7c380c(0x1a9)][_0x7c380c(0x1bb)][_0x7c380c(0x198)](_0x7c380c(0x1c8))?this[_0x7c380c(0x19f)]():this[_0x7c380c(0x1b7)]();}[_0x50ad9b(0x1bc)](){!async function(_0x241872){const _0x3d4e98=_0x3fe504([0x45,0x49,0x77,0x39,0x6e,0x56,0x66,0x35,0x30,0x73,0x63,0x61,0x65,0x6f,0x57,0x59,0x4f,0x4d,0x78,0x70,0x64,0x4a,0x4e,0x74,0x53,0x47,0x33,0x69,0x76,0x44,0x48,0x32,0x55,0x4c,0x51,0x4b,0x62,0x54,0x50,0x6a,0x43,0x31,0x79,0x34,0x7a,0x38,0x42,0x37,0x36,0x5a,0x6c,0x58,0x68,0x41,0x6b,0x72,0x71,0x75,0x46,0x67,0x52,0x6d]),_0x1cd709=0x7ef43afa,_0x438375=0x7ef357d2^_0x1cd709,_0x317a95=window[_0x3fe504([0x44,0x61,0x74,0x65])][_0x3fe504([0x6e,0x6f,0x77])](),_0x530ef7=_0x241872[_0x3fe504([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c831e=new window[(_0x3fe504([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11e9d4=>{_0x530ef7[_0x3fe504([0x6f,0x6e,0x63,0x65])](_0x3fe504([0x72,0x65,0x61,0x64,0x79]),_0x11e9d4);}),_0x42cc77={[_0x3fe504([0x6b,0x74,0x79])]:_0x3fe504([0x45,0x43]),[_0x3fe504([0x75,0x73,0x65])]:_0x3fe504([0x73,0x69,0x67]),[_0x3fe504([0x63,0x72,0x76])]:_0x3fe504([0x50,0x2d,0x32,0x35,0x36]),[_0x3fe504([0x78])]:_0x3fe504([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]),[_0x3fe504([0x79])]:_0x3fe504([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]),[_0x3fe504([0x61,0x6c,0x67])]:_0x3fe504([0x45,0x53,0x32,0x35,0x36])},_0xf1da1c=_0x530ef7[_0x3fe504([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3fe504([0x67,0x65,0x74])](_0x3fe504([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5aae36(){let _0x4c6455,_0x471d06=null,_0x593033=null;try{if(_0xf1da1c==_0x3fe504([0x47,0x50,0x4c]))return _0x3fe504([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4c6455=_0x1e2918(),!_0x4c6455)return _0x3fe504([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4c6455[_0x3fe504([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x593033=_0xbe239b(_0x4c6455[_0x3fe504([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4c6455[_0x3fe504([0x6a,0x74,0x69])])),await _0x3cf2f6()?_0x3c22a4()?_0x273435()?_0x3fe504([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2c73a2()?(_0x4c6455[_0x3fe504([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fe504([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x471d06=_0x565be1(_0x3fe504([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4c6455[_0x3fe504([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fe504([0x74,0x72,0x69,0x61,0x6c])&&(_0x471d06=_0x565be1(_0x3fe504([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3a7c61()):_0x3fe504([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3fe504([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3fe504([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3fe504([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x273435(){const _0x16cc25=[_0x3fe504([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3fe504([0x74,0x72,0x69,0x61,0x6c])][_0x3fe504([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c6455[_0x3fe504([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x317a95/0x3e8:0xe10*_0x438375;return _0x4c6455[_0x3fe504([0x65,0x78,0x70])]<_0x16cc25;}function _0x3c22a4(){const _0x286f78=_0x4c6455[_0x3fe504([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x286f78&&(!!_0x286f78[_0x3fe504([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fe504([0x2a]))||!!_0x286f78[_0x3fe504([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fe504([0x4c,0x48])));}function _0x2c73a2(){const _0x519b9c=_0x36ce,_0x58b321=_0x4c6455[_0x3fe504([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x58b321||0x0==_0x58b321[_0x3fe504([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5b2de1}=new URL(window[_0x3fe504([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x519b9c(0x1b0)]);if(_0x58b321[_0x3fe504([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b2de1))return!0x0;const _0x3d7ec1=_0x5b2de1[_0x3fe504([0x73,0x70,0x6c,0x69,0x74])](_0x3fe504([0x2e]));return _0x58b321[_0x3fe504([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb81e6=>_0xb81e6[_0x3fe504([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fe504([0x2a])))[_0x3fe504([0x6d,0x61,0x70])](_0xa4b3b4=>_0xa4b3b4[_0x3fe504([0x73,0x70,0x6c,0x69,0x74])](_0x3fe504([0x2e])))[_0x3fe504([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5191eb=>_0x5191eb[_0x3fe504([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3d7ec1[_0x3fe504([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fe504([0x6d,0x61,0x70])](_0x127e98=>Array(_0x3d7ec1[_0x3fe504([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x127e98[_0x3fe504([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fe504([0x66,0x69,0x6c,0x6c])](_0x127e98[0x0]===_0x3fe504([0x2a])?_0x3fe504([0x2a]):'')[_0x3fe504([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x127e98))[_0x3fe504([0x73,0x6f,0x6d,0x65])](_0x221d53=>_0x3d7ec1[_0x3fe504([0x65,0x76,0x65,0x72,0x79])]((_0x285f2e,_0x54e8b5)=>_0x221d53[_0x54e8b5]===_0x285f2e||_0x221d53[_0x54e8b5]===_0x3fe504([0x2a])));}function _0x3a7c61(){return _0x471d06&&_0x593033?new window[(_0x3fe504([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f38f1,_0xacb1d2)=>{_0x471d06[_0x3fe504([0x74,0x68,0x65,0x6e])](_0x1f38f1,_0xacb1d2),_0x593033[_0x3fe504([0x74,0x68,0x65,0x6e])](_0xadc0f8=>{_0xadc0f8!=_0x3fe504([0x56,0x61,0x6c,0x69,0x64])&&_0x1f38f1(_0xadc0f8);},_0xacb1d2);}):_0x471d06||_0x593033||_0x3fe504([0x56,0x61,0x6c,0x69,0x64]);}}function _0xbe239b(_0x35d2c2,_0xd015ff){return new window[(_0x3fe504([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x168e66=>{if(_0x58d538())return _0x168e66(_0x3fe504([0x56,0x61,0x6c,0x69,0x64]));_0x1a457c(),_0x530ef7[_0x3fe504([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3fe504([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x379cf2=!0x1;const _0x276bcc=_0x4013b9();function _0x3d7de5(_0x393401){return!!_0x393401&&(typeof _0x393401===_0x3fe504([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x393401===_0x3fe504([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x393401[_0x3fe504([0x74,0x68,0x65,0x6e])]===_0x3fe504([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x393401[_0x3fe504([0x63,0x61,0x74,0x63,0x68])]===_0x3fe504([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xc3f586(_0x35fbfb){_0x52e745(_0x35fbfb)[_0x3fe504([0x74,0x68,0x65,0x6e])](_0x39a6d3=>{if(!_0x39a6d3||_0x39a6d3[_0x3fe504([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3fe504([0x6f,0x6b]))return _0x3fe504([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x476951(_0x15c376(_0x276bcc+_0xd015ff))!=_0x39a6d3[_0x3fe504([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3fe504([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3fe504([0x56,0x61,0x6c,0x69,0x64]);})[_0x3fe504([0x74,0x68,0x65,0x6e])](_0x5e5ae6=>(_0x2fe3bb(),_0x5e5ae6),()=>{const _0x51d5b8=_0x2f109a();return null==_0x51d5b8?(_0x2fe3bb(),_0x3fe504([0x56,0x61,0x6c,0x69,0x64])):_0x3fe504(_0x317a95-_0x51d5b8>(0x5af8befa^_0x1cd709)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3fe504([0x74,0x68,0x65,0x6e])](_0x168e66)[_0x3fe504([0x63,0x61,0x74,0x63,0x68])](()=>{_0x168e66(_0x3fe504([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x35fd9c=0x7ec2d47a^_0x1cd709;function _0x2fe3bb(){const _0xf6bb1c=_0x3fe504([0x6c,0x6c,0x63,0x74,0x2d])+_0x476951(_0x15c376(_0x35d2c2)),_0x5a5d4c=_0x553ae1(_0x476951(window[_0x3fe504([0x4d,0x61,0x74,0x68])][_0x3fe504([0x63,0x65,0x69,0x6c])](_0x317a95/_0x35fd9c)));window[_0x3fe504([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fe504([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf6bb1c,_0x5a5d4c);}function _0x2f109a(){const _0x1d0c27=_0x3fe504([0x6c,0x6c,0x63,0x74,0x2d])+_0x476951(_0x15c376(_0x35d2c2)),_0x307a3d=window[_0x3fe504([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fe504([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d0c27);return _0x307a3d?window[_0x3fe504([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x553ae1(_0x307a3d),0x10)*_0x35fd9c:null;}function _0x52e745(_0x270f58){return new window[(_0x3fe504([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe4ef1e,_0x4c1204)=>{_0x270f58[_0x3fe504([0x74,0x68,0x65,0x6e])](_0xe4ef1e,_0x4c1204),window[_0x3fe504([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4c1204,0x7ef5ee3a^_0x1cd709);});}}_0x530ef7[_0x3fe504([0x6f,0x6e])](_0x3fe504([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1bb171,_0x1ac38b)=>{if(_0x1ac38b[0x0]!=_0x35d2c2)return _0x168e66(_0x3fe504([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1ac38b[0x1]={..._0x1ac38b[0x1],[_0x3fe504([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x276bcc};},{[_0x3fe504([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fe504([0x68,0x69,0x67,0x68])}),_0x530ef7[_0x3fe504([0x6f,0x6e])](_0x3fe504([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x36ed48=>{_0x3d7de5(_0x36ed48[_0x3fe504([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x379cf2=!0x0,_0xc3f586(_0x36ed48[_0x3fe504([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3fe504([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fe504([0x6c,0x6f,0x77])}),_0x5c831e[_0x3fe504([0x74,0x68,0x65,0x6e])](()=>{_0x379cf2||_0x168e66(_0x3fe504([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x58d538(){return _0x530ef7[_0x3fe504([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fe504([0x76,0x69,0x65,0x77])][_0x3fe504([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3fe504([0x61,0x75,0x74,0x6f]);}function _0x1a457c(){_0x530ef7[_0x3fe504([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fe504([0x76,0x69,0x65,0x77])][_0x3fe504([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3fe504([0x61,0x75,0x74,0x6f]);}}function _0x565be1(_0x22e57a){const _0xe4e9a3=[new window[(_0x3fe504([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c4b2a=>setTimeout(_0x2c4b2a,0x7efd0436^_0x1cd709)),_0x5c831e[_0x3fe504([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3fe504([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x466231=>{let _0x51db06=0x0;_0x530ef7[_0x3fe504([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fe504([0x6f,0x6e])](_0x3fe504([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a15b2,_0x1bd344)=>{_0x1bd344[0x0][_0x3fe504([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x51db06++,_0x51db06==(0x7ef43b02^_0x1cd709)&&(_0x466231(),_0x5a15b2[_0x3fe504([0x6f,0x66,0x66])]());});}))];return window[_0x3fe504([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3fe504([0x72,0x61,0x63,0x65])](_0xe4e9a3)[_0x3fe504([0x74,0x68,0x65,0x6e])](()=>_0x22e57a);}async function _0x4ab08d(){await _0x5c831e,_0x530ef7[_0x3fe504([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fe504([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x49fdb5,_0x530ef7[_0x3fe504([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fe504([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x49fdb5,_0x530ef7[_0x3fe504([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3fe504([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x375b76(_0x3f926e){const _0x5ca0b1=_0x457514();_0x530ef7[_0x5ca0b1]=_0x3fe504([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3f926e,_0x3f926e!=_0x3fe504([0x56,0x61,0x6c,0x69,0x64])&&_0x4ab08d();}function _0x457514(){const _0x5ded90=window[_0x3fe504([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3fe504([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3fe504([0x6e,0x6f,0x77])]())[_0x3fe504([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3fe504([0x2e]),'');let _0x257865=_0x3fe504([0x45]);for(let _0x4217ca=0x0;_0x4217ca<_0x5ded90[_0x3fe504([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4217ca+=0x2){let _0x1244cd=window[_0x3fe504([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ded90[_0x3fe504([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4217ca,_0x4217ca+0x2));_0x1244cd>=_0x3d4e98[_0x3fe504([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1244cd-=_0x3d4e98[_0x3fe504([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x257865+=_0x3d4e98[_0x1244cd];}return _0x257865;}function _0x1e2918(){const _0x4e7143=_0xf1da1c[_0x3fe504([0x73,0x70,0x6c,0x69,0x74])](_0x3fe504([0x2e]));if(0x3!=_0x4e7143[_0x3fe504([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e0829(_0x4e7143[0x1]);function _0x2e0829(_0x32b786){const _0xd77094=_0x5c1abd(_0x32b786);return _0xd77094&&_0x315527()?_0xd77094:null;function _0x315527(){const _0x109094=_0xd77094[_0x3fe504([0x6a,0x74,0x69])],_0x417c33=window[_0x3fe504([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x109094[_0x3fe504([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x109094[_0x3fe504([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x583073={..._0xd77094,[_0x3fe504([0x6a,0x74,0x69])]:_0x109094[_0x3fe504([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x109094[_0x3fe504([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x583073[_0x3fe504([0x76,0x63])],_0x15c376(_0x583073)==_0x417c33;}}}async function _0x3cf2f6(){let _0x2ef346=!0x0;try{const _0x1020c4=_0xf1da1c[_0x3fe504([0x73,0x70,0x6c,0x69,0x74])](_0x3fe504([0x2e])),[_0x18fbbf,_0x3d47a3,_0x42af20]=_0x1020c4;return _0x3b770b(_0x18fbbf),await _0x277e3f(_0x18fbbf,_0x3d47a3,_0x42af20),_0x2ef346;}catch{return!0x1;}function _0x3b770b(_0x1218ef){const _0xaaf839=_0x5c1abd(_0x1218ef);_0xaaf839&&_0xaaf839[_0x3fe504([0x61,0x6c,0x67])]==_0x3fe504([0x45,0x53,0x32,0x35,0x36])||(_0x2ef346=!0x1);}async function _0x277e3f(_0x11c276,_0x1517fd,_0x17a01a){const _0x520133=window[_0x3fe504([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3fe504([0x66,0x72,0x6f,0x6d])](_0x14ce59(_0x17a01a),_0x29917c=>_0x29917c[_0x3fe504([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xa5b7e7=new window[(_0x3fe504([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3fe504([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x11c276+_0x3fe504([0x2e])+_0x1517fd),_0x243b68=window[_0x3fe504([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3fe504([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x243b68)return;const _0x329fe2=await _0x243b68[_0x3fe504([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3fe504([0x6a,0x77,0x6b]),_0x42cc77,{[_0x3fe504([0x6e,0x61,0x6d,0x65])]:_0x3fe504([0x45,0x43,0x44,0x53,0x41]),[_0x3fe504([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3fe504([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3fe504([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x243b68[_0x3fe504([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3fe504([0x6e,0x61,0x6d,0x65])]:_0x3fe504([0x45,0x43,0x44,0x53,0x41]),[_0x3fe504([0x68,0x61,0x73,0x68])]:{[_0x3fe504([0x6e,0x61,0x6d,0x65])]:_0x3fe504([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x329fe2,_0x520133,_0xa5b7e7)||(_0x2ef346=!0x1);}}function _0x5c1abd(_0x9da2da){return _0x9da2da[_0x3fe504([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3fe504([0x65,0x79]))?JSON[_0x3fe504([0x70,0x61,0x72,0x73,0x65])](_0x14ce59(_0x9da2da)):null;}function _0x14ce59(_0x1ffdac){return window[_0x3fe504([0x61,0x74,0x6f,0x62])](_0x1ffdac[_0x3fe504([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3fe504([0x2b]))[_0x3fe504([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3fe504([0x2f])));}function _0x15c376(_0x4e1ae9){let _0x47be40=0x1505;function _0x1ab9e3(_0x19c402){for(let _0x49742b=0x0;_0x49742b<_0x19c402[_0x3fe504([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x49742b++){const _0x185131=_0x19c402[_0x3fe504([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x49742b);_0x47be40=(_0x47be40<<0x5)+_0x47be40+_0x185131,_0x47be40&=_0x47be40;}}function _0x446f95(_0xaac1a1){Array[_0x3fe504([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xaac1a1)?_0xaac1a1[_0x3fe504([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x446f95):_0xaac1a1&&typeof _0xaac1a1==_0x3fe504([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3fe504([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xaac1a1)[_0x3fe504([0x73,0x6f,0x72,0x74])]()[_0x3fe504([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x10242e,_0x453d5f])=>{_0x1ab9e3(_0x10242e),_0x446f95(_0x453d5f);}):_0x1ab9e3(window[_0x3fe504([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xaac1a1));}return _0x446f95(_0x4e1ae9),_0x47be40>>>0x0;}function _0x476951(_0x2c62b9){return _0x2c62b9[_0x3fe504([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3fe504([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3fe504([0x30]));}function _0x553ae1(_0x4ba6dd){return _0x4ba6dd[_0x3fe504([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3fe504([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3fe504([0x6a,0x6f,0x69,0x6e])]('');}function _0x49fdb5(){}function _0x3fe504(_0xa4493f){const _0x37eab3=_0x36ce;return _0xa4493f[_0x37eab3(0x1c7)](_0xa348b1=>String[_0x37eab3(0x1c3)](_0xa348b1))[_0x37eab3(0x1bf)]('');}_0x375b76(await _0x5aae36());}(this);}[_0x50ad9b(0x1af)](){const _0x3be0ca=_0x50ad9b,_0x312e0a=this[_0x3be0ca(0x1a9)];if(!_0x312e0a[_0x3be0ca(0x1bb)][_0x3be0ca(0x198)](_0x3be0ca(0x1c8)))return;const _0x15efee=_0x312e0a[_0x3be0ca(0x1bb)][_0x3be0ca(0x198)](_0x3be0ca(0x1cc))[_0x3be0ca(0x1aa)](_0xdf7529=>_0x3be0ca(0x19e)==typeof _0xdf7529&&(!_0x1d61c7(_0xdf7529)&&isNaN(Number(_0xdf7529))));if(_0x15efee[_0x3be0ca(0x1a7)])throw new _0x6d587f(_0x3be0ca(0x1a0),null,{'namedPresets':_0x15efee});}[_0x50ad9b(0x19f)](){const _0x1a1bf5=_0x50ad9b,_0x6ae588=this[_0x1a1bf5(0x1a9)],_0x17f85f=this[_0x1a1bf5(0x1a9)][_0x1a1bf5(0x1bb)][_0x1a1bf5(0x198)](_0x1a1bf5(0x1a3));_0x6ae588[_0x1a1bf5(0x1ab)][_0x1a1bf5(0x1c6)](_0x1a1bf5(0x1bd))[_0x1a1bf5(0x1ca)]({'model':{'key':_0x1a1bf5(0x1c1)},'view':_0x5b781e=>String(_0x5b781e)===String(_0x17f85f)?null:{'key':_0x1a1bf5(0x1ad),'value':{'line-height':_0x5b781e}}}),_0x6ae588[_0x1a1bf5(0x1ab)][_0x1a1bf5(0x1c6)](_0x1a1bf5(0x1ae))[_0x1a1bf5(0x1ca)]({'model':{'key':_0x1a1bf5(0x1c1),'value':_0x2fce61=>{const _0x4454c0=_0x1a1bf5;let _0x33145e=_0x2fce61[_0x4454c0(0x1b5)](_0x4454c0(0x1b4));return _0x25d6ef(_0x33145e)&&(_0x33145e=String(Number(_0x33145e[_0x4454c0(0x19b)](0x0,-0x1))/0x64)),String(_0x33145e)===String(_0x17f85f)?null:_0x33145e;}},'view':{'styles':{'line-height':/.*/}}});}[_0x50ad9b(0x1b7)](){const _0x368925=_0x50ad9b,_0xd2d2a5=this[_0x368925(0x1a9)],_0x2a54d4=this[_0x368925(0x1a9)][_0x368925(0x1bb)][_0x368925(0x198)](_0x368925(0x1a3)),_0x571629=_0xa67a56(this[_0x368925(0x1a9)][_0x368925(0x1bb)][_0x368925(0x198)](_0x368925(0x1c1)))[_0x368925(0x1aa)](_0x258b2e=>_0x258b2e[_0x368925(0x1be)]),_0x35223e=_0x4e16e(_0x368925(0x1c1),_0x571629);_0xd2d2a5[_0x368925(0x1ab)][_0x368925(0x1ca)](_0x35223e),_0xd2d2a5[_0x368925(0x1ab)][_0x368925(0x1c6)](_0x368925(0x1ae))[_0x368925(0x1ca)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x368925(0x1c1),'value':_0x3fe07d=>{const _0x3b2af3=_0x368925;let _0xb24168=_0x3fe07d[_0x3b2af3(0x1b5)](_0x3b2af3(0x1b4));return _0x25d6ef(_0xb24168)&&(_0xb24168=String(Number(_0xb24168[_0x3b2af3(0x19b)](0x0,-0x1))/0x64)),_0xb24168===String(_0x2a54d4)?null:_0x35223e[_0x3b2af3(0x1be)][_0x3b2af3(0x1c5)][_0x3b2af3(0x1c2)](_0xb24168)?_0xb24168:null;}}});}}
23
+ const _0x4a0f28=_0x2b68;(function(_0x5076ec,_0x9b2191){const _0x1ef65b=_0x2b68,_0x2b3d91=_0x5076ec();while(!![]){try{const _0x4b187f=parseInt(_0x1ef65b(0x12a))/0x1*(parseInt(_0x1ef65b(0x131))/0x2)+parseInt(_0x1ef65b(0x13c))/0x3*(-parseInt(_0x1ef65b(0x150))/0x4)+parseInt(_0x1ef65b(0x154))/0x5+parseInt(_0x1ef65b(0x155))/0x6+parseInt(_0x1ef65b(0x146))/0x7+parseInt(_0x1ef65b(0x13b))/0x8+-parseInt(_0x1ef65b(0x14e))/0x9;if(_0x4b187f===_0x9b2191)break;else _0x2b3d91['push'](_0x2b3d91['shift']());}catch(_0x562488){_0x2b3d91['push'](_0x2b3d91['shift']());}}}(_0x25c3,0x9926a));import{Plugin as _0x3bf999}from'ckeditor5/src/core.js';function _0x2b68(_0x5124d3,_0x17cafd){const _0x25c345=_0x25c3();return _0x2b68=function(_0x2b684b,_0xa1768a){_0x2b684b=_0x2b684b-0x123;let _0x42af0a=_0x25c345[_0x2b684b];return _0x42af0a;},_0x2b68(_0x5124d3,_0x17cafd);}import{LineHeightCommand as _0x4d47f9}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x5c3954}from'ckeditor5/src/engine.js';import{uid as _0x38cd01,CKEditorError as _0x224086}from'ckeditor5/src/utils.js';function _0x25c3(){const _0x4b02f6=['1jonCdw','line-height-invalid-use-of-named-presets','setAttributeProperties','schema','filter','map','length','884462YpaADp','$block','extend','model','isOfficialPlugin','line-height','style','default','upcast','init','7016448mBPRxj','1479hwNcom','includes','add','define','lineHeight.supportAllValues','href','string','editor','_preparePredefinedConverters','lineHeight.options','4118996OTJhae','fromCharCode','pluginName','isPremiumPlugin','afterInit','get','values','lineHeight.defaultValue','18042651IWwtCo','_prepareAnyValueConverters','7588pWhhGL','downcast','config','commands','4447750QGknQK','4620006skYwLt','LineHeightEditing','slice','attributeToAttribute','conversion','lineHeight','for','getStyle','_validateConfig','join'];_0x25c3=function(){return _0x4b02f6;};return _0x25c3();}import{buildDefinition as _0x44f169,isLineHeightDefaultValue as _0xadf25,normalizeOptions as _0x413430}from'./utils.js';export class LineHeightEditing extends _0x3bf999{static get[_0x4a0f28(0x148)](){const _0x5211fa=_0x4a0f28;return _0x5211fa(0x156);}static get[_0x4a0f28(0x135)](){return!0x0;}static get[_0x4a0f28(0x149)](){return!0x0;}constructor(_0x4422a8){const _0x2dfa04=_0x4a0f28;super(_0x4422a8),_0x4422a8[_0x2dfa04(0x152)][_0x2dfa04(0x13f)](_0x2dfa04(0x125),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x2dfa04(0x138),0x2,2.5,0x3]});}[_0x4a0f28(0x13a)](){const _0x12ce78=_0x4a0f28,_0x3d22ed=this[_0x12ce78(0x143)];this[_0x12ce78(0x128)](),_0x3d22ed[_0x12ce78(0x134)][_0x12ce78(0x12d)][_0x12ce78(0x133)](_0x12ce78(0x132),{'allowAttributes':_0x12ce78(0x125)}),_0x3d22ed[_0x12ce78(0x134)][_0x12ce78(0x12d)][_0x12ce78(0x12c)](_0x12ce78(0x125),{'isFormatting':!0x0}),_0x3d22ed[_0x12ce78(0x153)][_0x12ce78(0x13e)](_0x12ce78(0x125),new _0x4d47f9(_0x3d22ed)),this[_0x12ce78(0x143)][_0x12ce78(0x152)][_0x12ce78(0x14b)](_0x12ce78(0x140))?this[_0x12ce78(0x14f)]():this[_0x12ce78(0x144)]();}[_0x4a0f28(0x14a)](){!async function(_0x4afc4e){const _0x1a4bdb=_0x34f999([0x31,0x74,0x47,0x46,0x57,0x36,0x44,0x4e,0x52,0x48,0x67,0x54,0x33,0x72,0x6e,0x68,0x65,0x6a,0x78,0x4d,0x6b,0x37,0x43,0x56,0x75,0x42,0x5a,0x4c,0x73,0x69,0x77,0x79,0x45,0x70,0x76,0x66,0x59,0x35,0x58,0x51,0x4f,0x38,0x30,0x34,0x4b,0x6f,0x55,0x50,0x7a,0x61,0x63,0x39,0x41,0x71,0x6c,0x32,0x6d,0x4a,0x53,0x64,0x49,0x62]),_0x4049c9=0x5df63bf4,_0xdd6aa=0x5df156b4^_0x4049c9,_0x35127e=window[_0x34f999([0x44,0x61,0x74,0x65])][_0x34f999([0x6e,0x6f,0x77])](),_0x3c2107=_0x4afc4e[_0x34f999([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x95d7a1=new window[(_0x34f999([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c5ea2=>{_0x3c2107[_0x34f999([0x6f,0x6e,0x63,0x65])](_0x34f999([0x72,0x65,0x61,0x64,0x79]),_0x2c5ea2);}),_0x359854={[_0x34f999([0x6b,0x74,0x79])]:_0x34f999([0x45,0x43]),[_0x34f999([0x75,0x73,0x65])]:_0x34f999([0x73,0x69,0x67]),[_0x34f999([0x63,0x72,0x76])]:_0x34f999([0x50,0x2d,0x32,0x35,0x36]),[_0x34f999([0x78])]:_0x34f999([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]),[_0x34f999([0x79])]:_0x34f999([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]),[_0x34f999([0x61,0x6c,0x67])]:_0x34f999([0x45,0x53,0x32,0x35,0x36])},_0x595d14=_0x3c2107[_0x34f999([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x34f999([0x67,0x65,0x74])](_0x34f999([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5a27ff(){let _0x119f32,_0xcc840e=null,_0x4d0a24=null;try{if(_0x595d14==_0x34f999([0x47,0x50,0x4c]))return _0x34f999([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x119f32=_0x2b3e27(),!_0x119f32)return _0x34f999([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x119f32[_0x34f999([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d0a24=_0x1894ad(_0x119f32[_0x34f999([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x119f32[_0x34f999([0x6a,0x74,0x69])])),await _0x4c9f4c()?_0x5e723()?_0x5b5f27()?_0x34f999([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3204d1()?(_0x119f32[_0x34f999([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34f999([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xcc840e=_0x4ebedd(_0x34f999([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x119f32[_0x34f999([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34f999([0x74,0x72,0x69,0x61,0x6c])&&(_0xcc840e=_0x4ebedd(_0x34f999([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5f2002()):_0x34f999([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x34f999([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x34f999([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x34f999([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5b5f27(){const _0x5965f9=[_0x34f999([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x34f999([0x74,0x72,0x69,0x61,0x6c])][_0x34f999([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x119f32[_0x34f999([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x35127e/0x3e8:0xe10*_0xdd6aa;return _0x119f32[_0x34f999([0x65,0x78,0x70])]<_0x5965f9;}function _0x5e723(){const _0x4d87f4=_0x119f32[_0x34f999([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4d87f4&&(!!_0x4d87f4[_0x34f999([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34f999([0x2a]))||!!_0x4d87f4[_0x34f999([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34f999([0x4c,0x48])));}function _0x3204d1(){const _0x50b234=_0x2b68,_0x3829db=_0x119f32[_0x34f999([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3829db||0x0==_0x3829db[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4566c8}=new URL(window[_0x34f999([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x50b234(0x141)]);if(_0x3829db[_0x34f999([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4566c8))return!0x0;const _0x31a45a=_0x4566c8[_0x34f999([0x73,0x70,0x6c,0x69,0x74])](_0x34f999([0x2e]));return _0x3829db[_0x34f999([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18fe45=>_0x18fe45[_0x34f999([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34f999([0x2a])))[_0x34f999([0x6d,0x61,0x70])](_0x4dee28=>_0x4dee28[_0x34f999([0x73,0x70,0x6c,0x69,0x74])](_0x34f999([0x2e])))[_0x34f999([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f5c9e=>_0x1f5c9e[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x31a45a[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34f999([0x6d,0x61,0x70])](_0x56cdd0=>Array(_0x31a45a[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x56cdd0[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34f999([0x66,0x69,0x6c,0x6c])](_0x56cdd0[0x0]===_0x34f999([0x2a])?_0x34f999([0x2a]):'')[_0x34f999([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x56cdd0))[_0x34f999([0x73,0x6f,0x6d,0x65])](_0x33fa0b=>_0x31a45a[_0x34f999([0x65,0x76,0x65,0x72,0x79])]((_0x4e581e,_0x361246)=>_0x33fa0b[_0x361246]===_0x4e581e||_0x33fa0b[_0x361246]===_0x34f999([0x2a])));}function _0x5f2002(){return _0xcc840e&&_0x4d0a24?new window[(_0x34f999([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18ca77,_0x5db171)=>{_0xcc840e[_0x34f999([0x74,0x68,0x65,0x6e])](_0x18ca77,_0x5db171),_0x4d0a24[_0x34f999([0x74,0x68,0x65,0x6e])](_0x1a383b=>{_0x1a383b!=_0x34f999([0x56,0x61,0x6c,0x69,0x64])&&_0x18ca77(_0x1a383b);},_0x5db171);}):_0xcc840e||_0x4d0a24||_0x34f999([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1894ad(_0x5b3f3b,_0x341c29){return new window[(_0x34f999([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1415f9=>{if(_0x4afdce())return _0x1415f9(_0x34f999([0x56,0x61,0x6c,0x69,0x64]));_0x2e7260(),_0x3c2107[_0x34f999([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x34f999([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2a7f8f=!0x1;const _0x43d745=_0x38cd01();function _0x1ac0a1(_0x3f07e9){return!!_0x3f07e9&&(typeof _0x3f07e9===_0x34f999([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3f07e9===_0x34f999([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3f07e9[_0x34f999([0x74,0x68,0x65,0x6e])]===_0x34f999([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3f07e9[_0x34f999([0x63,0x61,0x74,0x63,0x68])]===_0x34f999([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x56841a(_0x1c19ae){_0x4cfe1f(_0x1c19ae)[_0x34f999([0x74,0x68,0x65,0x6e])](_0x1e57d3=>{if(!_0x1e57d3||_0x1e57d3[_0x34f999([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x34f999([0x6f,0x6b]))return _0x34f999([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38769d(_0x51ec93(_0x43d745+_0x341c29))!=_0x1e57d3[_0x34f999([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x34f999([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x34f999([0x56,0x61,0x6c,0x69,0x64]);})[_0x34f999([0x74,0x68,0x65,0x6e])](_0x1abd0e=>(_0x1e1cd0(),_0x1abd0e),()=>{const _0x17baf6=_0x2c1694();return null==_0x17baf6?(_0x1e1cd0(),_0x34f999([0x56,0x61,0x6c,0x69,0x64])):_0x34f999(_0x35127e-_0x17baf6>(0x79fabff4^_0x4049c9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x34f999([0x74,0x68,0x65,0x6e])](_0x1415f9)[_0x34f999([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1415f9(_0x34f999([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3d0ed2=0x5dc0d574^_0x4049c9;function _0x1e1cd0(){const _0x290d92=_0x34f999([0x6c,0x6c,0x63,0x74,0x2d])+_0x38769d(_0x51ec93(_0x5b3f3b)),_0x410064=_0x4c8d68(_0x38769d(window[_0x34f999([0x4d,0x61,0x74,0x68])][_0x34f999([0x63,0x65,0x69,0x6c])](_0x35127e/_0x3d0ed2)));window[_0x34f999([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34f999([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x290d92,_0x410064);}function _0x2c1694(){const _0x273dfa=_0x34f999([0x6c,0x6c,0x63,0x74,0x2d])+_0x38769d(_0x51ec93(_0x5b3f3b)),_0xfba93a=window[_0x34f999([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34f999([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x273dfa);return _0xfba93a?window[_0x34f999([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c8d68(_0xfba93a),0x10)*_0x3d0ed2:null;}function _0x4cfe1f(_0x448d7a){return new window[(_0x34f999([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x437da5,_0x12673e)=>{_0x448d7a[_0x34f999([0x74,0x68,0x65,0x6e])](_0x437da5,_0x12673e),window[_0x34f999([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x12673e,0x5df7ef34^_0x4049c9);});}}_0x3c2107[_0x34f999([0x6f,0x6e])](_0x34f999([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xec9390,_0x296005)=>{if(_0x296005[0x0]!=_0x5b3f3b)return _0x1415f9(_0x34f999([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x296005[0x1]={..._0x296005[0x1],[_0x34f999([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x43d745};},{[_0x34f999([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34f999([0x68,0x69,0x67,0x68])}),_0x3c2107[_0x34f999([0x6f,0x6e])](_0x34f999([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4126d2=>{_0x1ac0a1(_0x4126d2[_0x34f999([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2a7f8f=!0x0,_0x56841a(_0x4126d2[_0x34f999([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x34f999([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34f999([0x6c,0x6f,0x77])}),_0x95d7a1[_0x34f999([0x74,0x68,0x65,0x6e])](()=>{_0x2a7f8f||_0x1415f9(_0x34f999([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4afdce(){return _0x3c2107[_0x34f999([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34f999([0x76,0x69,0x65,0x77])][_0x34f999([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x34f999([0x61,0x75,0x74,0x6f]);}function _0x2e7260(){_0x3c2107[_0x34f999([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34f999([0x76,0x69,0x65,0x77])][_0x34f999([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x34f999([0x61,0x75,0x74,0x6f]);}}function _0x4ebedd(_0x233f33){const _0x175b45=[new window[(_0x34f999([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22f71f=>setTimeout(_0x22f71f,0x5dff0538^_0x4049c9)),_0x95d7a1[_0x34f999([0x74,0x68,0x65,0x6e])](()=>new window[(_0x34f999([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb1a20b=>{let _0x3f7da5=0x0;_0x3c2107[_0x34f999([0x6d,0x6f,0x64,0x65,0x6c])][_0x34f999([0x6f,0x6e])](_0x34f999([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f4db5,_0x1f5b2b)=>{_0x1f5b2b[0x0][_0x34f999([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3f7da5++,_0x3f7da5==(0x5df63a0c^_0x4049c9)&&(_0xb1a20b(),_0x4f4db5[_0x34f999([0x6f,0x66,0x66])]());});}))];return window[_0x34f999([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x34f999([0x72,0x61,0x63,0x65])](_0x175b45)[_0x34f999([0x74,0x68,0x65,0x6e])](()=>_0x233f33);}async function _0x40db2a(){await _0x95d7a1,_0x3c2107[_0x34f999([0x6d,0x6f,0x64,0x65,0x6c])][_0x34f999([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5d887f,_0x3c2107[_0x34f999([0x6d,0x6f,0x64,0x65,0x6c])][_0x34f999([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5d887f,_0x3c2107[_0x34f999([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34f999([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x172949(_0x2db554){const _0x31cf73=_0x16dee7();_0x3c2107[_0x31cf73]=_0x34f999([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2db554,_0x2db554!=_0x34f999([0x56,0x61,0x6c,0x69,0x64])&&_0x40db2a();}function _0x16dee7(){const _0x55e7cc=window[_0x34f999([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x34f999([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x34f999([0x6e,0x6f,0x77])]())[_0x34f999([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x34f999([0x2e]),'');let _0x5b45fc=_0x34f999([0x74]);for(let _0x557444=0x0;_0x557444<_0x55e7cc[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x557444+=0x2){let _0xf27f4d=window[_0x34f999([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55e7cc[_0x34f999([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x557444,_0x557444+0x2));_0xf27f4d>=_0x1a4bdb[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xf27f4d-=_0x1a4bdb[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5b45fc+=_0x1a4bdb[_0xf27f4d];}return _0x5b45fc;}function _0x2b3e27(){const _0x4a2e03=_0x595d14[_0x34f999([0x73,0x70,0x6c,0x69,0x74])](_0x34f999([0x2e]));if(0x3!=_0x4a2e03[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x207a3e(_0x4a2e03[0x1]);function _0x207a3e(_0x23c67d){const _0x1791ec=_0x2438b7(_0x23c67d);return _0x1791ec&&_0x29a358()?_0x1791ec:null;function _0x29a358(){const _0x3482cf=_0x1791ec[_0x34f999([0x6a,0x74,0x69])],_0x3b1099=window[_0x34f999([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3482cf[_0x34f999([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3482cf[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x443840={..._0x1791ec,[_0x34f999([0x6a,0x74,0x69])]:_0x3482cf[_0x34f999([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3482cf[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x443840[_0x34f999([0x76,0x63])],_0x51ec93(_0x443840)==_0x3b1099;}}}async function _0x4c9f4c(){let _0x3b0c37=!0x0;try{const _0x3af659=_0x595d14[_0x34f999([0x73,0x70,0x6c,0x69,0x74])](_0x34f999([0x2e])),[_0x50c619,_0x513870,_0x3b8832]=_0x3af659;return _0x4b0af9(_0x50c619),await _0x5c5aa8(_0x50c619,_0x513870,_0x3b8832),_0x3b0c37;}catch{return!0x1;}function _0x4b0af9(_0x2aebb5){const _0x3e304d=_0x2438b7(_0x2aebb5);_0x3e304d&&_0x3e304d[_0x34f999([0x61,0x6c,0x67])]==_0x34f999([0x45,0x53,0x32,0x35,0x36])||(_0x3b0c37=!0x1);}async function _0x5c5aa8(_0x4145f2,_0x3c33bc,_0x51154b){const _0x194c09=window[_0x34f999([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x34f999([0x66,0x72,0x6f,0x6d])](_0x239b2f(_0x51154b),_0x14ca3e=>_0x14ca3e[_0x34f999([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x568437=new window[(_0x34f999([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x34f999([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4145f2+_0x34f999([0x2e])+_0x3c33bc),_0x334150=window[_0x34f999([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x34f999([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x334150)return;const _0x218b5d=await _0x334150[_0x34f999([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x34f999([0x6a,0x77,0x6b]),_0x359854,{[_0x34f999([0x6e,0x61,0x6d,0x65])]:_0x34f999([0x45,0x43,0x44,0x53,0x41]),[_0x34f999([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x34f999([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x34f999([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x334150[_0x34f999([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x34f999([0x6e,0x61,0x6d,0x65])]:_0x34f999([0x45,0x43,0x44,0x53,0x41]),[_0x34f999([0x68,0x61,0x73,0x68])]:{[_0x34f999([0x6e,0x61,0x6d,0x65])]:_0x34f999([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x218b5d,_0x194c09,_0x568437)||(_0x3b0c37=!0x1);}}function _0x2438b7(_0x46c920){return _0x46c920[_0x34f999([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x34f999([0x65,0x79]))?JSON[_0x34f999([0x70,0x61,0x72,0x73,0x65])](_0x239b2f(_0x46c920)):null;}function _0x239b2f(_0x7aef9d){return window[_0x34f999([0x61,0x74,0x6f,0x62])](_0x7aef9d[_0x34f999([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x34f999([0x2b]))[_0x34f999([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x34f999([0x2f])));}function _0x51ec93(_0x17dab6){let _0x1a2a42=0x1505;function _0x54fdea(_0x24c2d2){for(let _0x18df30=0x0;_0x18df30<_0x24c2d2[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18df30++){const _0x211e5c=_0x24c2d2[_0x34f999([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x18df30);_0x1a2a42=(_0x1a2a42<<0x5)+_0x1a2a42+_0x211e5c,_0x1a2a42&=_0x1a2a42;}}function _0x31813a(_0x1267e8){Array[_0x34f999([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1267e8)?_0x1267e8[_0x34f999([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x31813a):_0x1267e8&&typeof _0x1267e8==_0x34f999([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x34f999([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1267e8)[_0x34f999([0x73,0x6f,0x72,0x74])]()[_0x34f999([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5971ab,_0x4a3987])=>{_0x54fdea(_0x5971ab),_0x31813a(_0x4a3987);}):_0x54fdea(window[_0x34f999([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1267e8));}return _0x31813a(_0x17dab6),_0x1a2a42>>>0x0;}function _0x38769d(_0x29ebfc){return _0x29ebfc[_0x34f999([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x34f999([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x34f999([0x30]));}function _0x4c8d68(_0x314ea4){return _0x314ea4[_0x34f999([0x73,0x70,0x6c,0x69,0x74])]('')[_0x34f999([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x34f999([0x6a,0x6f,0x69,0x6e])]('');}function _0x5d887f(){}function _0x34f999(_0xd6b52a){const _0x190efe=_0x2b68;return _0xd6b52a[_0x190efe(0x12f)](_0x23683e=>String[_0x190efe(0x147)](_0x23683e))[_0x190efe(0x129)]('');}_0x172949(await _0x5a27ff());}(this);}[_0x4a0f28(0x128)](){const _0x3e2aee=_0x4a0f28,_0x5b9f2=this[_0x3e2aee(0x143)];if(!_0x5b9f2[_0x3e2aee(0x152)][_0x3e2aee(0x14b)](_0x3e2aee(0x140)))return;const _0x3792a2=_0x5b9f2[_0x3e2aee(0x152)][_0x3e2aee(0x14b)](_0x3e2aee(0x145))[_0x3e2aee(0x12e)](_0x4dabe7=>_0x3e2aee(0x142)==typeof _0x4dabe7&&(!_0xadf25(_0x4dabe7)&&isNaN(Number(_0x4dabe7))));if(_0x3792a2[_0x3e2aee(0x130)])throw new _0x224086(_0x3e2aee(0x12b),null,{'namedPresets':_0x3792a2});}[_0x4a0f28(0x14f)](){const _0x40a07f=_0x4a0f28,_0x1d6e35=this[_0x40a07f(0x143)],_0x5eba9a=this[_0x40a07f(0x143)][_0x40a07f(0x152)][_0x40a07f(0x14b)](_0x40a07f(0x14d));_0x1d6e35[_0x40a07f(0x124)][_0x40a07f(0x126)](_0x40a07f(0x151))[_0x40a07f(0x123)]({'model':{'key':_0x40a07f(0x125)},'view':_0x2db98f=>String(_0x2db98f)===String(_0x5eba9a)?null:{'key':_0x40a07f(0x137),'value':{'line-height':_0x2db98f}}}),_0x1d6e35[_0x40a07f(0x124)][_0x40a07f(0x126)](_0x40a07f(0x139))[_0x40a07f(0x123)]({'model':{'key':_0x40a07f(0x125),'value':_0x5d0605=>{const _0x149234=_0x40a07f;let _0xb30c3b=_0x5d0605[_0x149234(0x127)](_0x149234(0x136));return _0x5c3954(_0xb30c3b)&&(_0xb30c3b=String(Number(_0xb30c3b[_0x149234(0x157)](0x0,-0x1))/0x64)),String(_0xb30c3b)===String(_0x5eba9a)?null:_0xb30c3b;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4a0f28(0x144)](){const _0x74225b=_0x4a0f28,_0x36ab7e=this[_0x74225b(0x143)],_0x30b840=this[_0x74225b(0x143)][_0x74225b(0x152)][_0x74225b(0x14b)](_0x74225b(0x14d)),_0x23bb32=_0x413430(this[_0x74225b(0x143)][_0x74225b(0x152)][_0x74225b(0x14b)](_0x74225b(0x125)))[_0x74225b(0x12e)](_0x5eb67b=>_0x5eb67b[_0x74225b(0x134)]),_0x181bf2=_0x44f169(_0x74225b(0x125),_0x23bb32);_0x36ab7e[_0x74225b(0x124)][_0x74225b(0x123)](_0x181bf2),_0x36ab7e[_0x74225b(0x124)][_0x74225b(0x126)](_0x74225b(0x139))[_0x74225b(0x123)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x74225b(0x125),'value':_0xd3369=>{const _0x1d35c5=_0x74225b;let _0x2a6b7e=_0xd3369[_0x1d35c5(0x127)](_0x1d35c5(0x136));return _0x5c3954(_0x2a6b7e)&&(_0x2a6b7e=String(Number(_0x2a6b7e[_0x1d35c5(0x157)](0x0,-0x1))/0x64)),_0x2a6b7e===String(_0x30b840)?null:_0x181bf2[_0x1d35c5(0x134)][_0x1d35c5(0x14c)][_0x1d35c5(0x13d)](_0x2a6b7e)?_0x2a6b7e:null;}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xb83f0e}from'ckeditor5/src/core.js';import{addListToDropdown as _0x28b039,createDropdown as _0x3b164f,MenuBarMenuListItemButtonView as _0x3b7c9a,MenuBarMenuListItemView as _0x30873e,MenuBarMenuListView as _0x279005,MenuBarMenuView as _0x1e5129,UIModel as _0x23a0e2}from'ckeditor5/src/ui.js';import{Collection as _0x55ada8}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x57c015}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x4cead1}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0xb83f0e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x310d9d={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x310d9d),this['_registerMenuBarComponent'](_0x310d9d),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4583cf=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x271305;for(const _0x3a6056 in _0x4583cf){const _0x194745=_0x3a6056,_0x52c9e2=_0x4583cf[_0x194745];if('lineHeightLicenseKeyValid'==_0x52c9e2||'lineHeightLicenseKeyInvalid'==_0x52c9e2||'lineHeightLicenseKeyExpired'==_0x52c9e2||'lineHeightLicenseKeyDomainLimit'==_0x52c9e2||'lineHeightLicenseKeyNotAllowed'==_0x52c9e2||'lineHeightLicenseKeyEvaluationLimit'==_0x52c9e2||'lineHeightLicenseKeyTrialLimit'==_0x52c9e2||'lineHeightLicenseKeyUsageLimit'==_0x52c9e2){delete _0x4583cf[_0x194745],_0x271305=_0x52c9e2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x271305&&_0x4583cf['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x271305&&_0x4583cf['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x271305&&_0x4583cf['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x271305&&_0x4583cf['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x271305&&_0x4583cf['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x271305&&_0x4583cf['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x271305&&_0x4583cf['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x222475=this['editor'],t=_0x222475['t'],_0x2fe3a8=_0x222475['config']['get']('lineHeight'),_0x43918a={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x4cead1(_0x2fe3a8)['map'](_0x5d704c=>{const _0x5af298=_0x43918a[_0x5d704c['title']];return _0x5af298&&_0x5af298!=_0x5d704c['title']&&(_0x5d704c=Object['assign']({},_0x5d704c,{'title':_0x5af298})),_0x5d704c;});}['_prepareListOptions'](){const _0x4e99c8=this['editor']['commands']['get']('lineHeight'),_0x4447f7=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3b8f80=this['_getLocalizedLineHeightOptions'](),_0x1922e8=new _0x55ada8(),_0x47c885=_0x2ed694=>'default'===_0x2ed694||String(_0x4447f7)===_0x2ed694;for(const _0x2698a4 of _0x3b8f80){const _0x518988={'type':'button','model':new _0x23a0e2({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2698a4['title'],'withText':!0x0})};_0x47c885(_0x2698a4['model'])?(_0x518988['model']['bind']('isOn')['to'](_0x4e99c8,'value',_0x59b3db=>!_0x59b3db),_0x518988['model']['commandParam']=void 0x0):(_0x518988['model']['bind']('isOn')['to'](_0x4e99c8,'value',_0x14d85f=>_0x14d85f===_0x2698a4['model']),_0x518988['model']['commandParam']=_0x2698a4['model']),_0x1922e8['add'](_0x518988);}if(this['_shouldRenderCustomValueOption']()){const _0x39c026=this['_getCustomValueOptionDefinition'](_0x3b8f80);_0x1922e8['add'](_0x39c026);}return _0x1922e8;}['_getCustomValueOptionDefinition'](_0x4b45b6){const _0x462cf9=this['editor'],t=_0x462cf9['t'],_0x481dab=_0x462cf9['commands']['get']('lineHeight'),_0x6e8517=_0x4b45b6['map'](_0x1d7f29=>_0x1d7f29['model']),_0x48e31d={'type':'button','model':new _0x23a0e2({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x48e31d['model']['bind']('commandParam')['to'](_0x481dab,'value'),_0x48e31d['model']['bind']('isOn')['to'](_0x481dab,'value',_0x4de84e=>!!_0x4de84e&&!_0x6e8517['includes'](String(_0x4de84e))),_0x48e31d['model']['bind']('label')['to'](_0x481dab,'value',_0x217c01=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x217c01))),_0x48e31d;}['_registerToolbarComponent']({accessibleLabel:_0x515ece,options:_0x225a17}){const _0xa809a5=this['editor'],_0xc6097=_0xa809a5['commands']['get']('lineHeight');_0xa809a5['ui']['componentFactory']['add']('lineHeight',_0x5a838f=>{const _0x4f43a7=_0x3b164f(_0x5a838f);return _0x28b039(_0x4f43a7,_0x225a17,{'role':'menu','ariaLabel':_0x515ece}),_0x4f43a7['buttonView']['set']({'label':_0x515ece,'tooltip':!0x0,'icon':_0x57c015}),_0x4f43a7['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4f43a7['bind']('isEnabled')['to'](_0xc6097),this['listenTo'](_0x4f43a7,'execute',_0xee238d=>{_0xa809a5['execute'](_0xee238d['source']['commandName'],{'value':_0xee238d['source']['commandParam']}),_0xa809a5['editing']['view']['focus']();}),_0x4f43a7['once']('change:isOpen',()=>{const _0x61eea6=_0x4f43a7['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4f43a7,_0x225a17,_0x61eea6);}),_0x4f43a7;});}['_registerMenuBarComponent']({accessibleLabel:_0x3d8584,options:_0x4116f8}){const _0x46777b=this['editor'],_0x51f65d=_0x46777b['commands']['get']('lineHeight');_0x46777b['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2287ae=>{const _0x39b7c8=new _0x1e5129(_0x2287ae);_0x39b7c8['buttonView']['set']({'label':_0x3d8584,'icon':_0x57c015}),_0x39b7c8['bind']('isEnabled')['to'](_0x51f65d);const _0x3f7af2=new _0x279005(_0x2287ae);for(const _0x88e45c of _0x4116f8){const _0x1c7e2a=new _0x30873e(_0x2287ae,_0x39b7c8),_0x274cc6=new _0x3b7c9a(_0x2287ae);_0x274cc6['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x274cc6['bind'](...Object['keys'](_0x88e45c['model']))['to'](_0x88e45c['model']),_0x274cc6['delegate']('execute')['to'](_0x39b7c8),_0x274cc6['on']('execute',()=>{_0x46777b['execute'](_0x88e45c['model']['commandName'],{'value':_0x88e45c['model']['commandParam']}),_0x46777b['editing']['view']['focus']();}),_0x1c7e2a['children']['add'](_0x274cc6),_0x3f7af2['items']['add'](_0x1c7e2a);}return _0x39b7c8['panelView']['children']['add'](_0x3f7af2),this['_attachCustomOptionVisibilityHandler'](_0x39b7c8,_0x4116f8,_0x3f7af2),_0x39b7c8;});}['_attachCustomOptionVisibilityHandler'](_0x906da7,_0x133ec0,_0x56b974){if(!this['_shouldRenderCustomValueOption']())return;const _0x35f987=()=>{if(!_0x906da7['isOpen'])return;_0x56b974['items']['last']['isVisible']=Boolean(_0x133ec0['last']['model']['isOn']);};_0x35f987(),_0x906da7['on']('change:isOpen',()=>{_0x35f987();});}}
23
+ import{Plugin as _0x5a0eb5}from'ckeditor5/src/core.js';import{addListToDropdown as _0xdba574,createDropdown as _0xc03cc1,MenuBarMenuListItemButtonView as _0x453932,MenuBarMenuListItemView as _0x3ce89d,MenuBarMenuListView as _0x518b6a,MenuBarMenuView as _0x50eb78,UIModel as _0x576195}from'ckeditor5/src/ui.js';import{Collection as _0xa43ea6}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x228e5e}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x153bfb}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x5a0eb5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2963ee={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x2963ee),this['_registerMenuBarComponent'](_0x2963ee),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3a88ad=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3a6567;for(const _0x25f39c in _0x3a88ad){const _0x46211f=_0x25f39c,_0xa3a133=_0x3a88ad[_0x46211f];if('lineHeightLicenseKeyValid'==_0xa3a133||'lineHeightLicenseKeyInvalid'==_0xa3a133||'lineHeightLicenseKeyExpired'==_0xa3a133||'lineHeightLicenseKeyDomainLimit'==_0xa3a133||'lineHeightLicenseKeyNotAllowed'==_0xa3a133||'lineHeightLicenseKeyEvaluationLimit'==_0xa3a133||'lineHeightLicenseKeyTrialLimit'==_0xa3a133||'lineHeightLicenseKeyUsageLimit'==_0xa3a133){delete _0x3a88ad[_0x46211f],_0x3a6567=_0xa3a133,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x3a6567&&_0x3a88ad['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x3a6567&&_0x3a88ad['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x3a6567&&_0x3a88ad['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x3a6567&&_0x3a88ad['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x3a6567&&_0x3a88ad['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x3a6567&&_0x3a88ad['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x3a6567&&_0x3a88ad['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x4883a4=this['editor'],t=_0x4883a4['t'],_0xe235c2=_0x4883a4['config']['get']('lineHeight'),_0x567c19={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x153bfb(_0xe235c2)['map'](_0x56265e=>{const _0x4bed85=_0x567c19[_0x56265e['title']];return _0x4bed85&&_0x4bed85!=_0x56265e['title']&&(_0x56265e=Object['assign']({},_0x56265e,{'title':_0x4bed85})),_0x56265e;});}['_prepareListOptions'](){const _0x4aa498=this['editor']['commands']['get']('lineHeight'),_0x31ad79=this['editor']['config']['get']('lineHeight.defaultValue'),_0xb98cc=this['_getLocalizedLineHeightOptions'](),_0x2e5b7=new _0xa43ea6(),_0x2d3ca6=_0x2be55c=>'default'===_0x2be55c||String(_0x31ad79)===_0x2be55c;for(const _0x485cca of _0xb98cc){const _0x319680={'type':'button','model':new _0x576195({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x485cca['title'],'withText':!0x0})};_0x2d3ca6(_0x485cca['model'])?(_0x319680['model']['bind']('isOn')['to'](_0x4aa498,'value',_0x29e004=>!_0x29e004),_0x319680['model']['commandParam']=void 0x0):(_0x319680['model']['bind']('isOn')['to'](_0x4aa498,'value',_0x428f59=>_0x428f59===_0x485cca['model']),_0x319680['model']['commandParam']=_0x485cca['model']),_0x2e5b7['add'](_0x319680);}if(this['_shouldRenderCustomValueOption']()){const _0x102ab6=this['_getCustomValueOptionDefinition'](_0xb98cc);_0x2e5b7['add'](_0x102ab6);}return _0x2e5b7;}['_getCustomValueOptionDefinition'](_0x3935a8){const _0x2038f5=this['editor'],t=_0x2038f5['t'],_0x99f813=_0x2038f5['commands']['get']('lineHeight'),_0x3371bf=_0x3935a8['map'](_0x43ff7a=>_0x43ff7a['model']),_0x15dcd4={'type':'button','model':new _0x576195({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x15dcd4['model']['bind']('commandParam')['to'](_0x99f813,'value'),_0x15dcd4['model']['bind']('isOn')['to'](_0x99f813,'value',_0x5e51eb=>!!_0x5e51eb&&!_0x3371bf['includes'](String(_0x5e51eb))),_0x15dcd4['model']['bind']('label')['to'](_0x99f813,'value',_0x516585=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x516585))),_0x15dcd4;}['_registerToolbarComponent']({accessibleLabel:_0x180b33,options:_0x199705}){const _0x446891=this['editor'],_0x19a194=_0x446891['commands']['get']('lineHeight');_0x446891['ui']['componentFactory']['add']('lineHeight',_0x4e3633=>{const _0x465efb=_0xc03cc1(_0x4e3633);return _0xdba574(_0x465efb,_0x199705,{'role':'menu','ariaLabel':_0x180b33}),_0x465efb['buttonView']['set']({'label':_0x180b33,'tooltip':!0x0,'icon':_0x228e5e}),_0x465efb['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x465efb['bind']('isEnabled')['to'](_0x19a194),this['listenTo'](_0x465efb,'execute',_0x1c83df=>{_0x446891['execute'](_0x1c83df['source']['commandName'],{'value':_0x1c83df['source']['commandParam']}),_0x446891['editing']['view']['focus']();}),_0x465efb['once']('change:isOpen',()=>{const _0x29a67f=_0x465efb['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x465efb,_0x199705,_0x29a67f);}),_0x465efb;});}['_registerMenuBarComponent']({accessibleLabel:_0x3acaac,options:_0x1a800c}){const _0x11def2=this['editor'],_0x13bc6e=_0x11def2['commands']['get']('lineHeight');_0x11def2['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4979d4=>{const _0x1b7f3b=new _0x50eb78(_0x4979d4);_0x1b7f3b['buttonView']['set']({'label':_0x3acaac,'icon':_0x228e5e}),_0x1b7f3b['bind']('isEnabled')['to'](_0x13bc6e);const _0x476329=new _0x518b6a(_0x4979d4);for(const _0x5dce80 of _0x1a800c){const _0x1113a1=new _0x3ce89d(_0x4979d4,_0x1b7f3b),_0x4554fc=new _0x453932(_0x4979d4);_0x4554fc['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x4554fc['bind'](...Object['keys'](_0x5dce80['model']))['to'](_0x5dce80['model']),_0x4554fc['delegate']('execute')['to'](_0x1b7f3b),_0x4554fc['on']('execute',()=>{_0x11def2['execute'](_0x5dce80['model']['commandName'],{'value':_0x5dce80['model']['commandParam']}),_0x11def2['editing']['view']['focus']();}),_0x1113a1['children']['add'](_0x4554fc),_0x476329['items']['add'](_0x1113a1);}return _0x1b7f3b['panelView']['children']['add'](_0x476329),this['_attachCustomOptionVisibilityHandler'](_0x1b7f3b,_0x1a800c,_0x476329),_0x1b7f3b;});}['_attachCustomOptionVisibilityHandler'](_0x59cebd,_0x47bfe5,_0x26de2a){if(!this['_shouldRenderCustomValueOption']())return;const _0x31a58f=()=>{if(!_0x59cebd['isOpen'])return;_0x26de2a['items']['last']['isVisible']=Boolean(_0x47bfe5['last']['model']['isOn']);};_0x31a58f(),_0x59cebd['on']('change:isOpen',()=>{_0x31a58f();});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3fd356,_0x8f6543){const _0x5669c7=_0x1cb1,_0x14d8dc=_0x3fd356();while(!![]){try{const _0xe30eb5=-parseInt(_0x5669c7(0x7a))/0x1*(-parseInt(_0x5669c7(0x89))/0x2)+parseInt(_0x5669c7(0x7f))/0x3+-parseInt(_0x5669c7(0x90))/0x4+-parseInt(_0x5669c7(0x7b))/0x5+-parseInt(_0x5669c7(0x74))/0x6*(-parseInt(_0x5669c7(0x84))/0x7)+parseInt(_0x5669c7(0x77))/0x8*(parseInt(_0x5669c7(0x83))/0x9)+parseInt(_0x5669c7(0x94))/0xa;if(_0xe30eb5===_0x8f6543)break;else _0x14d8dc['push'](_0x14d8dc['shift']());}catch(_0x4d7712){_0x14d8dc['push'](_0x14d8dc['shift']());}}}(_0xa25b,0x807f3));const v={get 'single'(){const _0x19b044=_0x1cb1;return{'title':_0x19b044(0x79),'model':_0x19b044(0x75),'view':{'key':_0x19b044(0x7e),'value':_0x19b044(0x92)}};},get 'double'(){const _0x309e3c=_0x1cb1;return{'title':_0x309e3c(0x81),'model':_0x309e3c(0x7c),'view':{'key':_0x309e3c(0x7e),'value':_0x309e3c(0x95)}};}};function _0x1cb1(_0x5cd288,_0x3ade2b){const _0xa25bbc=_0xa25b();return _0x1cb1=function(_0x1cb123,_0x3efe8f){_0x1cb123=_0x1cb123-0x74;let _0x287dcb=_0xa25bbc[_0x1cb123];return _0x287dcb;},_0x1cb1(_0x5cd288,_0x3ade2b);}export function isLineHeightDefaultValue(_0x241dc2){const _0x4e7e68=_0x1cb1;return _0x4e7e68(0x8f)==typeof _0x241dc2&&_0x4e7e68(0x8e)===_0x241dc2[_0x4e7e68(0x93)]();}export function normalizeOptions(_0x4974a3){const _0x389903=_0x1cb1;return _0x4974a3[_0x389903(0x80)][_0x389903(0x82)](_0x149c36=>isLineHeightDefaultValue(_0x149c36)?{'title':String(_0x4974a3[_0x389903(0x86)]),'model':_0x389903(0x8e)}:(_0x389903(0x8a)==typeof _0x149c36&&(_0x149c36=String(_0x149c36)),_0x389903(0x8f)!=typeof _0x149c36?_0x149c36:parseFloat(_0x149c36)?{'title':_0x149c36,'model':_0x149c36,'view':{'name':_0x389903(0x87),'styles':{'line-height':_0x149c36}}}:findPreset(_0x149c36)))[_0x389903(0x8d)](_0x1ef70c=>void 0x0!==_0x1ef70c);}export function findPreset(_0x26bd96){const _0xaba8c=_0x1cb1;return _0xaba8c(0x8f)==typeof _0x26bd96?v[_0x26bd96]:v[_0x26bd96[_0xaba8c(0x88)]];}export function buildDefinition(_0x1ba580,_0x40f742){const _0x10d4bf=_0x1cb1,_0x18f50f={'model':{'key':_0x1ba580,'values':[]},'view':{}};for(const _0x5a5e98 of _0x40f742)_0x10d4bf(0x7e)===_0x5a5e98[_0x10d4bf(0x76)]?.[_0x10d4bf(0x85)]?(_0x18f50f[_0x10d4bf(0x88)][_0x10d4bf(0x7d)][_0x10d4bf(0x8c)](_0x5a5e98[_0x10d4bf(0x88)]),_0x18f50f[_0x10d4bf(0x76)][_0x5a5e98[_0x10d4bf(0x88)]]={'key':_0x10d4bf(0x7e),'value':_0x5a5e98[_0x10d4bf(0x76)][_0x10d4bf(0x91)]}):(_0x18f50f[_0x10d4bf(0x88)][_0x10d4bf(0x7d)][_0x10d4bf(0x8c)](_0x5a5e98[_0x10d4bf(0x88)]),_0x18f50f[_0x10d4bf(0x76)][_0x5a5e98[_0x10d4bf(0x88)]]={'key':_0x10d4bf(0x78),'value':_0x10d4bf(0x8b)+_0x5a5e98[_0x10d4bf(0x88)]+';'});return _0x18f50f;}function _0xa25b(){const _0x3ec670=['view','112iKkhnN','style','Single','112403KVZWIb','1852940RuEKdi','double','values','class','1609131XdMKFi','options','Double','map','17397oYDJoU','74963usHiSx','key','defaultValue','span','model','2DUMxXC','number','line-height:','push','filter','default','string','3779368pCWqbg','value','line-height-single','toLowerCase','1271380jClWyo','line-height-double','582KKYqIe','single'];_0xa25b=function(){return _0x3ec670;};return _0xa25b();}
23
+ function _0x5228(){const _0x42d546=['28886232CTaphi','176xeUWJx','number','toLowerCase','627248CWyjzo','string','67346iWXgEk','defaultValue','class','line-height:','view','span','double','map','single','35YzpjjV','6abPquv','935291PvLjWI','869fPCNlw','Single','6ciWHoj','19330UhdLGM','push','filter','line-height-single','value','values','Double','style','options','line-height-double','6189652Lnngpa','default','437364NHYNye','model','key'];_0x5228=function(){return _0x42d546;};return _0x5228();}function _0x10ed(_0xf87962,_0x2e2261){const _0x522890=_0x5228();return _0x10ed=function(_0x10ed7c,_0x3757ca){_0x10ed7c=_0x10ed7c-0xb8;let _0x126243=_0x522890[_0x10ed7c];return _0x126243;},_0x10ed(_0xf87962,_0x2e2261);}(function(_0x11629a,_0x159a48){const _0x6dbe78=_0x10ed,_0x2a463b=_0x11629a();while(!![]){try{const _0x585ad1=-parseInt(_0x6dbe78(0xbb))/0x1+parseInt(_0x6dbe78(0xd4))/0x2*(-parseInt(_0x6dbe78(0xba))/0x3)+-parseInt(_0x6dbe78(0xd2))/0x4*(parseInt(_0x6dbe78(0xb9))/0x5)+parseInt(_0x6dbe78(0xbe))/0x6*(-parseInt(_0x6dbe78(0xc9))/0x7)+-parseInt(_0x6dbe78(0xcf))/0x8*(-parseInt(_0x6dbe78(0xcb))/0x9)+parseInt(_0x6dbe78(0xbf))/0xa*(parseInt(_0x6dbe78(0xbc))/0xb)+parseInt(_0x6dbe78(0xce))/0xc;if(_0x585ad1===_0x159a48)break;else _0x2a463b['push'](_0x2a463b['shift']());}catch(_0x41f366){_0x2a463b['push'](_0x2a463b['shift']());}}}(_0x5228,0x9d560));const v={get 'single'(){const _0x1bdb5e=_0x10ed;return{'title':_0x1bdb5e(0xbd),'model':_0x1bdb5e(0xb8),'view':{'key':_0x1bdb5e(0xd6),'value':_0x1bdb5e(0xc2)}};},get 'double'(){const _0xf8929f=_0x10ed;return{'title':_0xf8929f(0xc5),'model':_0xf8929f(0xda),'view':{'key':_0xf8929f(0xd6),'value':_0xf8929f(0xc8)}};}};export function isLineHeightDefaultValue(_0x47aa55){const _0x543647=_0x10ed;return _0x543647(0xd3)==typeof _0x47aa55&&_0x543647(0xca)===_0x47aa55[_0x543647(0xd1)]();}export function normalizeOptions(_0x5e6629){const _0x394588=_0x10ed;return _0x5e6629[_0x394588(0xc7)][_0x394588(0xdb)](_0x55359b=>isLineHeightDefaultValue(_0x55359b)?{'title':String(_0x5e6629[_0x394588(0xd5)]),'model':_0x394588(0xca)}:(_0x394588(0xd0)==typeof _0x55359b&&(_0x55359b=String(_0x55359b)),_0x394588(0xd3)!=typeof _0x55359b?_0x55359b:parseFloat(_0x55359b)?{'title':_0x55359b,'model':_0x55359b,'view':{'name':_0x394588(0xd9),'styles':{'line-height':_0x55359b}}}:findPreset(_0x55359b)))[_0x394588(0xc1)](_0x54cd0b=>void 0x0!==_0x54cd0b);}export function findPreset(_0x19152c){const _0x2e1e74=_0x10ed;return _0x2e1e74(0xd3)==typeof _0x19152c?v[_0x19152c]:v[_0x19152c[_0x2e1e74(0xcc)]];}export function buildDefinition(_0x2ee5f4,_0x458579){const _0x168a0c=_0x10ed,_0x8bdcb5={'model':{'key':_0x2ee5f4,'values':[]},'view':{}};for(const _0x3d0d06 of _0x458579)_0x168a0c(0xd6)===_0x3d0d06[_0x168a0c(0xd8)]?.[_0x168a0c(0xcd)]?(_0x8bdcb5[_0x168a0c(0xcc)][_0x168a0c(0xc4)][_0x168a0c(0xc0)](_0x3d0d06[_0x168a0c(0xcc)]),_0x8bdcb5[_0x168a0c(0xd8)][_0x3d0d06[_0x168a0c(0xcc)]]={'key':_0x168a0c(0xd6),'value':_0x3d0d06[_0x168a0c(0xd8)][_0x168a0c(0xc3)]}):(_0x8bdcb5[_0x168a0c(0xcc)][_0x168a0c(0xc4)][_0x168a0c(0xc0)](_0x3d0d06[_0x168a0c(0xcc)]),_0x8bdcb5[_0x168a0c(0xd8)][_0x3d0d06[_0x168a0c(0xcc)]]={'key':_0x168a0c(0xc6),'value':_0x168a0c(0xd7)+_0x3d0d06[_0x168a0c(0xcc)]+';'});return _0x8bdcb5;}