@ckeditor/ckeditor5-line-height 46.0.2-alpha.0 → 46.0.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 _0x51fe(_0x56f011,_0x50272b){const _0x13d58f=_0x13d5();return _0x51fe=function(_0x51fe77,_0x2fdf19){_0x51fe77=_0x51fe77-0x8f;let _0x48ba77=_0x13d58f[_0x51fe77];return _0x48ba77;},_0x51fe(_0x56f011,_0x50272b);}const _0x4d1c19=_0x51fe;(function(_0x57a5bb,_0x38ba26){const _0x5527b8=_0x51fe,_0x531544=_0x57a5bb();while(!![]){try{const _0x4b95d1=parseInt(_0x5527b8(0xa0))/0x1+-parseInt(_0x5527b8(0xa4))/0x2+parseInt(_0x5527b8(0x9e))/0x3+parseInt(_0x5527b8(0x9b))/0x4*(-parseInt(_0x5527b8(0x91))/0x5)+-parseInt(_0x5527b8(0x93))/0x6+parseInt(_0x5527b8(0x9d))/0x7+parseInt(_0x5527b8(0x97))/0x8;if(_0x4b95d1===_0x38ba26)break;else _0x531544['push'](_0x531544['shift']());}catch(_0x281644){_0x531544['push'](_0x531544['shift']());}}}(_0x13d5,0x6d53c));import{Command as _0x2e77c0}from'ckeditor5/src/core.js';import{first as _0x3fedac}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x2e77c0{[_0x4d1c19(0xa5)](){const _0x59fe8f=_0x4d1c19,_0x125148=this[_0x59fe8f(0x9a)][_0x59fe8f(0x8f)][_0x59fe8f(0xa3)],_0x3ff2c4=_0x3fedac(_0x125148[_0x59fe8f(0x99)][_0x59fe8f(0xa9)]());this[_0x59fe8f(0x92)]=Boolean(_0x3ff2c4)&&this[_0x59fe8f(0x98)](_0x3ff2c4),this[_0x59fe8f(0xa2)]=this[_0x59fe8f(0x92)]&&_0x3ff2c4[_0x59fe8f(0x94)](_0x59fe8f(0xa8));}[_0x4d1c19(0x9f)](_0x2106d4={}){const _0x4b1957=_0x4d1c19,_0x1fde96=this[_0x4b1957(0x9a)][_0x4b1957(0x8f)],_0x38280e=_0x1fde96[_0x4b1957(0xa3)][_0x4b1957(0x99)],_0x1d2fe2=_0x2106d4[_0x4b1957(0xa2)];_0x1fde96[_0x4b1957(0xa1)](_0x423b6a=>{const _0x340f6e=_0x4b1957,_0x4952e8=Array[_0x340f6e(0x96)](_0x38280e[_0x340f6e(0xa9)]())[_0x340f6e(0x9c)](_0x3e06f4=>this[_0x340f6e(0x98)](_0x3e06f4));for(const _0x27e0df of _0x4952e8)_0x1d2fe2?_0x423b6a[_0x340f6e(0xa7)](_0x340f6e(0xa8),_0x1d2fe2,_0x27e0df):_0x423b6a[_0x340f6e(0x90)](_0x340f6e(0xa8),_0x27e0df);});}[_0x4d1c19(0x98)](_0x71f690){const _0x1f9396=_0x4d1c19;return this[_0x1f9396(0x9a)][_0x1f9396(0x8f)][_0x1f9396(0xa6)][_0x1f9396(0x95)](_0x71f690,_0x1f9396(0xa8));}}function _0x13d5(){const _0x37d681=['refresh','schema','setAttribute','lineHeight','getSelectedBlocks','model','removeAttribute','743610mIaOWS','isEnabled','1745964ELuSQx','getAttribute','checkAttribute','from','3918880awRTbN','_canHaveLineHeight','selection','editor','4YuQPgN','filter','376908IVmTCG','808224wXiQDh','execute','301257ZoUDVE','change','value','document','453698hwFOGg'];_0x13d5=function(){return _0x37d681;};return _0x13d5();}
23
+ const _0x572916=_0x5ddf;(function(_0x26f923,_0x522948){const _0x52dd56=_0x5ddf,_0x3c5472=_0x26f923();while(!![]){try{const _0x199bf5=-parseInt(_0x52dd56(0x1c8))/0x1*(parseInt(_0x52dd56(0x1c9))/0x2)+parseInt(_0x52dd56(0x1cd))/0x3+-parseInt(_0x52dd56(0x1c6))/0x4+-parseInt(_0x52dd56(0x1c5))/0x5+-parseInt(_0x52dd56(0x1da))/0x6+-parseInt(_0x52dd56(0x1d0))/0x7*(-parseInt(_0x52dd56(0x1bf))/0x8)+parseInt(_0x52dd56(0x1d2))/0x9;if(_0x199bf5===_0x522948)break;else _0x3c5472['push'](_0x3c5472['shift']());}catch(_0x19e3b5){_0x3c5472['push'](_0x3c5472['shift']());}}}(_0x3126,0x509f9));import{Command as _0x4dda6d}from'ckeditor5/src/core.js';import{first as _0x4a8c2c}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x4dda6d{[_0x572916(0x1d3)](){const _0xa722b=_0x572916,_0x2c9967=this[_0xa722b(0x1d8)][_0xa722b(0x1cf)][_0xa722b(0x1d9)],_0x1befe5=_0x4a8c2c(_0x2c9967[_0xa722b(0x1ca)][_0xa722b(0x1cb)]());this[_0xa722b(0x1c4)]=Boolean(_0x1befe5)&&this[_0xa722b(0x1c0)](_0x1befe5),this[_0xa722b(0x1c1)]=this[_0xa722b(0x1c4)]&&_0x1befe5[_0xa722b(0x1c7)](_0xa722b(0x1ce));}[_0x572916(0x1cc)](_0x3dfd74={}){const _0x4d76e1=_0x572916,_0x30a53d=this[_0x4d76e1(0x1d8)][_0x4d76e1(0x1cf)],_0x57c9b7=_0x30a53d[_0x4d76e1(0x1d9)][_0x4d76e1(0x1ca)],_0x262ff9=_0x3dfd74[_0x4d76e1(0x1c1)];_0x30a53d[_0x4d76e1(0x1d5)](_0x457bbe=>{const _0x415ba9=_0x4d76e1,_0x1a6610=Array[_0x415ba9(0x1d7)](_0x57c9b7[_0x415ba9(0x1cb)]())[_0x415ba9(0x1c2)](_0x30e491=>this[_0x415ba9(0x1c0)](_0x30e491));for(const _0x4df8cb of _0x1a6610)_0x262ff9?_0x457bbe[_0x415ba9(0x1d1)](_0x415ba9(0x1ce),_0x262ff9,_0x4df8cb):_0x457bbe[_0x415ba9(0x1d4)](_0x415ba9(0x1ce),_0x4df8cb);});}[_0x572916(0x1c0)](_0x131998){const _0x2c9671=_0x572916;return this[_0x2c9671(0x1d8)][_0x2c9671(0x1cf)][_0x2c9671(0x1c3)][_0x2c9671(0x1d6)](_0x131998,_0x2c9671(0x1ce));}}function _0x5ddf(_0x4557e0,_0x5400f2){const _0x312649=_0x3126();return _0x5ddf=function(_0x5ddfff,_0x5e3188){_0x5ddfff=_0x5ddfff-0x1bf;let _0xa2b982=_0x312649[_0x5ddfff];return _0xa2b982;},_0x5ddf(_0x4557e0,_0x5400f2);}function _0x3126(){const _0x1b79d2=['1762XKEQde','selection','getSelectedBlocks','execute','1213944mgtFwz','lineHeight','model','618786ngAOfV','setAttribute','11366829XUGoQn','refresh','removeAttribute','change','checkAttribute','from','editor','document','1442208VqOgCV','8SJkqWT','_canHaveLineHeight','value','filter','schema','isEnabled','2810040FQwIrX','2208228Jymmhg','getAttribute','81JuAlzh'];_0x3126=function(){return _0x1b79d2;};return _0x3126();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x546faf=_0xe350;(function(_0xf8107d,_0x5108cd){const _0x4f19ff=_0xe350,_0x40eadd=_0xf8107d();while(!![]){try{const _0x7222cc=parseInt(_0x4f19ff(0x170))/0x1+-parseInt(_0x4f19ff(0x178))/0x2*(parseInt(_0x4f19ff(0x18c))/0x3)+parseInt(_0x4f19ff(0x16f))/0x4+parseInt(_0x4f19ff(0x18a))/0x5+-parseInt(_0x4f19ff(0x165))/0x6+parseInt(_0x4f19ff(0x168))/0x7*(-parseInt(_0x4f19ff(0x18e))/0x8)+parseInt(_0x4f19ff(0x174))/0x9;if(_0x7222cc===_0x5108cd)break;else _0x40eadd['push'](_0x40eadd['shift']());}catch(_0x48a0e2){_0x40eadd['push'](_0x40eadd['shift']());}}}(_0x3d4f,0x8e220));import{Plugin as _0x497f58}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x320306}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x347d23}from'ckeditor5/src/engine.js';function _0x3d4f(){const _0x260389=['lineHeight.defaultValue','line-height','string','isPremiumPlugin','attributeToAttribute','setAttributeProperties','_preparePredefinedConverters','config','_validateConfig','commands','afterInit','editor','1639160xgSXdq','lineHeight.options','51ATqyKi','map','2824NGMKUb','$block','upcast','isOfficialPlugin','href','define','init','default','lineHeight','values','add','extend','6240858GCCeZi','conversion','get','4025ywpUEh','downcast','filter','join','includes','LineHeightEditing','line-height-invalid-use-of-named-presets','4075612voUwxk','449070sOcIiJ','lineHeight.supportAllValues','pluginName','slice','1169784kXNVMH','getStyle','length','style','11822gFwisq','_prepareAnyValueConverters','schema','for','fromCharCode','model'];_0x3d4f=function(){return _0x260389;};return _0x3d4f();}function _0xe350(_0x49f613,_0x44fe27){const _0x3d4fc2=_0x3d4f();return _0xe350=function(_0xe35024,_0x4310b9){_0xe35024=_0xe35024-0x15c;let _0x3da288=_0x3d4fc2[_0xe35024];return _0x3da288;},_0xe350(_0x49f613,_0x44fe27);}import{uid as _0x5ccd0a,CKEditorError as _0x32da3a}from'ckeditor5/src/utils.js';import{buildDefinition as _0x5989e6,isLineHeightDefaultValue as _0x5b245e,normalizeOptions as _0x2ac197}from'./utils.js';export class LineHeightEditing extends _0x497f58{static get[_0x546faf(0x172)](){const _0x47d25d=_0x546faf;return _0x47d25d(0x16d);}static get[_0x546faf(0x15c)](){return!0x0;}static get[_0x546faf(0x181)](){return!0x0;}constructor(_0x1fb758){const _0x434a51=_0x546faf;super(_0x1fb758),_0x1fb758[_0x434a51(0x185)][_0x434a51(0x15e)](_0x434a51(0x161),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x434a51(0x160),0x2,2.5,0x3]});}[_0x546faf(0x15f)](){const _0x1649eb=_0x546faf,_0x5189fc=this[_0x1649eb(0x189)];this[_0x1649eb(0x186)](),_0x5189fc[_0x1649eb(0x17d)][_0x1649eb(0x17a)][_0x1649eb(0x164)](_0x1649eb(0x18f),{'allowAttributes':_0x1649eb(0x161)}),_0x5189fc[_0x1649eb(0x17d)][_0x1649eb(0x17a)][_0x1649eb(0x183)](_0x1649eb(0x161),{'isFormatting':!0x0}),_0x5189fc[_0x1649eb(0x187)][_0x1649eb(0x163)](_0x1649eb(0x161),new _0x320306(_0x5189fc)),this[_0x1649eb(0x189)][_0x1649eb(0x185)][_0x1649eb(0x167)](_0x1649eb(0x171))?this[_0x1649eb(0x179)]():this[_0x1649eb(0x184)]();}[_0x546faf(0x188)](){!async function(_0x1351bc){const _0x490fc4=_0x1aa432([0x56,0x73,0x65,0x50,0x79,0x4e,0x64,0x47,0x70,0x57,0x38,0x30,0x74,0x72,0x4b,0x6f,0x51,0x4f,0x69,0x4a,0x53,0x6c,0x43,0x6a,0x46,0x62,0x71,0x4c,0x7a,0x54,0x6b,0x32,0x67,0x55,0x4d,0x33,0x78,0x63,0x39,0x45,0x61,0x59,0x5a,0x41,0x44,0x49,0x76,0x75,0x52,0x42,0x34,0x36,0x6d,0x6e,0x31,0x35,0x58,0x37,0x66,0x68,0x77,0x48]),_0x36ec03=0x65aecf40,_0x53bb21=0x65a9bf90^_0x36ec03,_0x4ddf22=window[_0x1aa432([0x44,0x61,0x74,0x65])][_0x1aa432([0x6e,0x6f,0x77])](),_0x147df5=_0x1351bc[_0x1aa432([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1de7a5=new window[(_0x1aa432([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26e51a=>{_0x147df5[_0x1aa432([0x6f,0x6e,0x63,0x65])](_0x1aa432([0x72,0x65,0x61,0x64,0x79]),_0x26e51a);}),_0x453426={[_0x1aa432([0x6b,0x74,0x79])]:_0x1aa432([0x45,0x43]),[_0x1aa432([0x75,0x73,0x65])]:_0x1aa432([0x73,0x69,0x67]),[_0x1aa432([0x63,0x72,0x76])]:_0x1aa432([0x50,0x2d,0x32,0x35,0x36]),[_0x1aa432([0x78])]:_0x1aa432([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1aa432([0x79])]:_0x1aa432([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1aa432([0x61,0x6c,0x67])]:_0x1aa432([0x45,0x53,0x32,0x35,0x36])},_0x14b5a8=_0x147df5[_0x1aa432([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1aa432([0x67,0x65,0x74])](_0x1aa432([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x327758(){let _0x59af77,_0x4f9b5f=null,_0x598346=null;try{if(_0x14b5a8==_0x1aa432([0x47,0x50,0x4c]))return _0x1aa432([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x59af77=_0x25f75f(),!_0x59af77)return _0x1aa432([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x59af77[_0x1aa432([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x598346=_0x19c586(_0x59af77[_0x1aa432([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x59af77[_0x1aa432([0x6a,0x74,0x69])])),await _0x4c2d1e()?_0x4b0b11()?_0x5652ef()?_0x1aa432([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4f8cd1()?(_0x59af77[_0x1aa432([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1aa432([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f9b5f=_0x303340(_0x1aa432([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x59af77[_0x1aa432([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1aa432([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f9b5f=_0x303340(_0x1aa432([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xed2c17()):_0x1aa432([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1aa432([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1aa432([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1aa432([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5652ef(){const _0x2c031f=[_0x1aa432([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1aa432([0x74,0x72,0x69,0x61,0x6c])][_0x1aa432([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59af77[_0x1aa432([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4ddf22/0x3e8:0xe10*_0x53bb21;return _0x59af77[_0x1aa432([0x65,0x78,0x70])]<_0x2c031f;}function _0x4b0b11(){const _0x183b59=_0x59af77[_0x1aa432([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x183b59&&(!!_0x183b59[_0x1aa432([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1aa432([0x2a]))||!!_0x183b59[_0x1aa432([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1aa432([0x4c,0x48])));}function _0x4f8cd1(){const _0x9ba00c=_0xe350,_0x520d8a=_0x59af77[_0x1aa432([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x520d8a||0x0==_0x520d8a[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5ec7a9}=new URL(window[_0x1aa432([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x9ba00c(0x15d)]);if(_0x520d8a[_0x1aa432([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ec7a9))return!0x0;const _0x5e415a=_0x5ec7a9[_0x1aa432([0x73,0x70,0x6c,0x69,0x74])](_0x1aa432([0x2e]));return _0x520d8a[_0x1aa432([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x228104=>_0x228104[_0x1aa432([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1aa432([0x2a])))[_0x1aa432([0x6d,0x61,0x70])](_0x8a6471=>_0x8a6471[_0x1aa432([0x73,0x70,0x6c,0x69,0x74])](_0x1aa432([0x2e])))[_0x1aa432([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2cf2e8=>_0x2cf2e8[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e415a[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1aa432([0x6d,0x61,0x70])](_0x32ff4a=>Array(_0x5e415a[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x32ff4a[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1aa432([0x66,0x69,0x6c,0x6c])](_0x32ff4a[0x0]===_0x1aa432([0x2a])?_0x1aa432([0x2a]):'')[_0x1aa432([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x32ff4a))[_0x1aa432([0x73,0x6f,0x6d,0x65])](_0x5c34ab=>_0x5e415a[_0x1aa432([0x65,0x76,0x65,0x72,0x79])]((_0x280f1f,_0x7f3132)=>_0x5c34ab[_0x7f3132]===_0x280f1f||_0x5c34ab[_0x7f3132]===_0x1aa432([0x2a])));}function _0xed2c17(){return _0x4f9b5f&&_0x598346?new window[(_0x1aa432([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a0ddc,_0x173fdc)=>{_0x4f9b5f[_0x1aa432([0x74,0x68,0x65,0x6e])](_0x4a0ddc,_0x173fdc),_0x598346[_0x1aa432([0x74,0x68,0x65,0x6e])](_0x2d6258=>{_0x2d6258!=_0x1aa432([0x56,0x61,0x6c,0x69,0x64])&&_0x4a0ddc(_0x2d6258);},_0x173fdc);}):_0x4f9b5f||_0x598346||_0x1aa432([0x56,0x61,0x6c,0x69,0x64]);}}function _0x19c586(_0x43d103,_0x56a8d1){return new window[(_0x1aa432([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb10021=>{if(_0x442762())return _0xb10021(_0x1aa432([0x56,0x61,0x6c,0x69,0x64]));_0x4452cd(),_0x147df5[_0x1aa432([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1aa432([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5038b7=!0x1;const _0xfd5af4=_0x5ccd0a();function _0x5bac8b(_0x1682ec){return!!_0x1682ec&&(typeof _0x1682ec===_0x1aa432([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1682ec===_0x1aa432([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1682ec[_0x1aa432([0x74,0x68,0x65,0x6e])]===_0x1aa432([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1682ec[_0x1aa432([0x63,0x61,0x74,0x63,0x68])]===_0x1aa432([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xdd1f3c(_0x4c91e2){_0x1af97d(_0x4c91e2)[_0x1aa432([0x74,0x68,0x65,0x6e])](_0x11c6bd=>{if(!_0x11c6bd||_0x11c6bd[_0x1aa432([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1aa432([0x6f,0x6b]))return _0x1aa432([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xe8ef32(_0x3f9fdd(_0xfd5af4+_0x56a8d1))!=_0x11c6bd[_0x1aa432([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1aa432([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1aa432([0x56,0x61,0x6c,0x69,0x64]);})[_0x1aa432([0x74,0x68,0x65,0x6e])](_0x2853d5=>(_0x3499ce(),_0x2853d5),()=>{const _0xbd601d=_0x3df3c9();return null==_0xbd601d?(_0x3499ce(),_0x1aa432([0x56,0x61,0x6c,0x69,0x64])):_0x1aa432(_0x4ddf22-_0xbd601d>(0x41a24b40^_0x36ec03)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1aa432([0x74,0x68,0x65,0x6e])](_0xb10021)[_0x1aa432([0x63,0x61,0x74,0x63,0x68])](()=>{_0xb10021(_0x1aa432([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xc3a9d2=0x659821c0^_0x36ec03;function _0x3499ce(){const _0x1ee5e6=_0x1aa432([0x6c,0x6c,0x63,0x74,0x2d])+_0xe8ef32(_0x3f9fdd(_0x43d103)),_0x152b5e=_0x5d9ead(_0xe8ef32(window[_0x1aa432([0x4d,0x61,0x74,0x68])][_0x1aa432([0x63,0x65,0x69,0x6c])](_0x4ddf22/_0xc3a9d2)));window[_0x1aa432([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1aa432([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ee5e6,_0x152b5e);}function _0x3df3c9(){const _0x10132e=_0x1aa432([0x6c,0x6c,0x63,0x74,0x2d])+_0xe8ef32(_0x3f9fdd(_0x43d103)),_0x3f069f=window[_0x1aa432([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1aa432([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10132e);return _0x3f069f?window[_0x1aa432([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d9ead(_0x3f069f),0x10)*_0xc3a9d2:null;}function _0x1af97d(_0x3e5eb4){return new window[(_0x1aa432([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31225d,_0x31020d)=>{_0x3e5eb4[_0x1aa432([0x74,0x68,0x65,0x6e])](_0x31225d,_0x31020d),window[_0x1aa432([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x31020d,0x65af1b80^_0x36ec03);});}}_0x147df5[_0x1aa432([0x6f,0x6e])](_0x1aa432([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x442acc,_0x119a5a)=>{if(_0x119a5a[0x0]!=_0x43d103)return _0xb10021(_0x1aa432([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x119a5a[0x1]={..._0x119a5a[0x1],[_0x1aa432([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xfd5af4};},{[_0x1aa432([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1aa432([0x68,0x69,0x67,0x68])}),_0x147df5[_0x1aa432([0x6f,0x6e])](_0x1aa432([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x37be72=>{_0x5bac8b(_0x37be72[_0x1aa432([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5038b7=!0x0,_0xdd1f3c(_0x37be72[_0x1aa432([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1aa432([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1aa432([0x6c,0x6f,0x77])}),_0x1de7a5[_0x1aa432([0x74,0x68,0x65,0x6e])](()=>{_0x5038b7||_0xb10021(_0x1aa432([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x442762(){return _0x147df5[_0x1aa432([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1aa432([0x76,0x69,0x65,0x77])][_0x1aa432([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1aa432([0x61,0x75,0x74,0x6f]);}function _0x4452cd(){_0x147df5[_0x1aa432([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1aa432([0x76,0x69,0x65,0x77])][_0x1aa432([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1aa432([0x61,0x75,0x74,0x6f]);}}function _0x303340(_0x16140a){const _0x10d06a=[new window[(_0x1aa432([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x510ec1=>setTimeout(_0x510ec1,0x65a7f18c^_0x36ec03)),_0x1de7a5[_0x1aa432([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1aa432([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e1a5f=>{let _0x27e3a5=0x0;_0x147df5[_0x1aa432([0x6d,0x6f,0x64,0x65,0x6c])][_0x1aa432([0x6f,0x6e])](_0x1aa432([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1acca5,_0x576972)=>{_0x576972[0x0][_0x1aa432([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x27e3a5++,_0x27e3a5==(0x65aeceb8^_0x36ec03)&&(_0x4e1a5f(),_0x1acca5[_0x1aa432([0x6f,0x66,0x66])]());});}))];return window[_0x1aa432([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1aa432([0x72,0x61,0x63,0x65])](_0x10d06a)[_0x1aa432([0x74,0x68,0x65,0x6e])](()=>_0x16140a);}async function _0x124058(){await _0x1de7a5,_0x147df5[_0x1aa432([0x6d,0x6f,0x64,0x65,0x6c])][_0x1aa432([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5066c5,_0x147df5[_0x1aa432([0x6d,0x6f,0x64,0x65,0x6c])][_0x1aa432([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5066c5,_0x147df5[_0x1aa432([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1aa432([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b0373(_0xdc237){const _0x25a97f=_0x5ce467();_0x147df5[_0x25a97f]=_0x1aa432([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xdc237,_0xdc237!=_0x1aa432([0x56,0x61,0x6c,0x69,0x64])&&_0x124058();}function _0x5ce467(){const _0x3af15e=window[_0x1aa432([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1aa432([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1aa432([0x6e,0x6f,0x77])]())[_0x1aa432([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1aa432([0x2e]),'');let _0x32dfb7=_0x1aa432([0x56]);for(let _0x4623b6=0x0;_0x4623b6<_0x3af15e[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4623b6+=0x2){let _0x254199=window[_0x1aa432([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3af15e[_0x1aa432([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4623b6,_0x4623b6+0x2));_0x254199>=_0x490fc4[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x254199-=_0x490fc4[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x32dfb7+=_0x490fc4[_0x254199];}return _0x32dfb7;}function _0x25f75f(){const _0x54be80=_0x14b5a8[_0x1aa432([0x73,0x70,0x6c,0x69,0x74])](_0x1aa432([0x2e]));if(0x3!=_0x54be80[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3a5609(_0x54be80[0x1]);function _0x3a5609(_0x405b5b){const _0xe47a48=_0x2bf61e(_0x405b5b);return _0xe47a48&&_0x1ee33d()?_0xe47a48:null;function _0x1ee33d(){const _0x3dea22=_0xe47a48[_0x1aa432([0x6a,0x74,0x69])],_0x1ba576=window[_0x1aa432([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3dea22[_0x1aa432([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3dea22[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd6830c={..._0xe47a48,[_0x1aa432([0x6a,0x74,0x69])]:_0x3dea22[_0x1aa432([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3dea22[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd6830c[_0x1aa432([0x76,0x63])],_0x3f9fdd(_0xd6830c)==_0x1ba576;}}}async function _0x4c2d1e(){let _0x48d4f2=!0x0;try{const _0x4061f0=_0x14b5a8[_0x1aa432([0x73,0x70,0x6c,0x69,0x74])](_0x1aa432([0x2e])),[_0x8eb7f3,_0x477140,_0x46e546]=_0x4061f0;return _0x31686e(_0x8eb7f3),await _0x4fc662(_0x8eb7f3,_0x477140,_0x46e546),_0x48d4f2;}catch{return!0x1;}function _0x31686e(_0x5b21da){const _0x5cd68c=_0x2bf61e(_0x5b21da);_0x5cd68c&&_0x5cd68c[_0x1aa432([0x61,0x6c,0x67])]==_0x1aa432([0x45,0x53,0x32,0x35,0x36])||(_0x48d4f2=!0x1);}async function _0x4fc662(_0x155a5a,_0x4b6367,_0x54130d){const _0x1decc5=window[_0x1aa432([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1aa432([0x66,0x72,0x6f,0x6d])](_0x69fde5(_0x54130d),_0x18d936=>_0x18d936[_0x1aa432([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xd457c5=new window[(_0x1aa432([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1aa432([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x155a5a+_0x1aa432([0x2e])+_0x4b6367),_0x54ed11=window[_0x1aa432([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1aa432([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x54ed11)return;const _0x494ed7=await _0x54ed11[_0x1aa432([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1aa432([0x6a,0x77,0x6b]),_0x453426,{[_0x1aa432([0x6e,0x61,0x6d,0x65])]:_0x1aa432([0x45,0x43,0x44,0x53,0x41]),[_0x1aa432([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1aa432([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1aa432([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x54ed11[_0x1aa432([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1aa432([0x6e,0x61,0x6d,0x65])]:_0x1aa432([0x45,0x43,0x44,0x53,0x41]),[_0x1aa432([0x68,0x61,0x73,0x68])]:{[_0x1aa432([0x6e,0x61,0x6d,0x65])]:_0x1aa432([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x494ed7,_0x1decc5,_0xd457c5)||(_0x48d4f2=!0x1);}}function _0x2bf61e(_0x28dc35){return _0x28dc35[_0x1aa432([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1aa432([0x65,0x79]))?JSON[_0x1aa432([0x70,0x61,0x72,0x73,0x65])](_0x69fde5(_0x28dc35)):null;}function _0x69fde5(_0x47a55d){return window[_0x1aa432([0x61,0x74,0x6f,0x62])](_0x47a55d[_0x1aa432([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1aa432([0x2b]))[_0x1aa432([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1aa432([0x2f])));}function _0x3f9fdd(_0x48cdac){let _0x11bdd3=0x1505;function _0x110ac5(_0x5d1a6d){for(let _0x311ef1=0x0;_0x311ef1<_0x5d1a6d[_0x1aa432([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x311ef1++){const _0x345b08=_0x5d1a6d[_0x1aa432([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x311ef1);_0x11bdd3=(_0x11bdd3<<0x5)+_0x11bdd3+_0x345b08,_0x11bdd3&=_0x11bdd3;}}function _0x104a41(_0x5aecbd){Array[_0x1aa432([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5aecbd)?_0x5aecbd[_0x1aa432([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x104a41):_0x5aecbd&&typeof _0x5aecbd==_0x1aa432([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1aa432([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5aecbd)[_0x1aa432([0x73,0x6f,0x72,0x74])]()[_0x1aa432([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x107151,_0x4524d0])=>{_0x110ac5(_0x107151),_0x104a41(_0x4524d0);}):_0x110ac5(window[_0x1aa432([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5aecbd));}return _0x104a41(_0x48cdac),_0x11bdd3>>>0x0;}function _0xe8ef32(_0x1675ef){return _0x1675ef[_0x1aa432([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1aa432([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1aa432([0x30]));}function _0x5d9ead(_0xd4ab10){return _0xd4ab10[_0x1aa432([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1aa432([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1aa432([0x6a,0x6f,0x69,0x6e])]('');}function _0x5066c5(){}function _0x1aa432(_0x4ca148){const _0x511ecc=_0xe350;return _0x4ca148[_0x511ecc(0x18d)](_0x16302a=>String[_0x511ecc(0x17c)](_0x16302a))[_0x511ecc(0x16b)]('');}_0x3b0373(await _0x327758());}(this);}[_0x546faf(0x186)](){const _0x53695f=_0x546faf,_0x1582bd=this[_0x53695f(0x189)];if(!_0x1582bd[_0x53695f(0x185)][_0x53695f(0x167)](_0x53695f(0x171)))return;const _0x454d62=_0x1582bd[_0x53695f(0x185)][_0x53695f(0x167)](_0x53695f(0x18b))[_0x53695f(0x16a)](_0x43b78e=>_0x53695f(0x180)==typeof _0x43b78e&&(!_0x5b245e(_0x43b78e)&&isNaN(Number(_0x43b78e))));if(_0x454d62[_0x53695f(0x176)])throw new _0x32da3a(_0x53695f(0x16e),null,{'namedPresets':_0x454d62});}[_0x546faf(0x179)](){const _0x1c7003=_0x546faf,_0x4282b2=this[_0x1c7003(0x189)],_0x20d9ac=this[_0x1c7003(0x189)][_0x1c7003(0x185)][_0x1c7003(0x167)](_0x1c7003(0x17e));_0x4282b2[_0x1c7003(0x166)][_0x1c7003(0x17b)](_0x1c7003(0x169))[_0x1c7003(0x182)]({'model':{'key':_0x1c7003(0x161)},'view':_0x3621ed=>String(_0x3621ed)===String(_0x20d9ac)?null:{'key':_0x1c7003(0x177),'value':{'line-height':_0x3621ed}}}),_0x4282b2[_0x1c7003(0x166)][_0x1c7003(0x17b)](_0x1c7003(0x190))[_0x1c7003(0x182)]({'model':{'key':_0x1c7003(0x161),'value':_0x57fe27=>{const _0x52878c=_0x1c7003;let _0x23d7bc=_0x57fe27[_0x52878c(0x175)](_0x52878c(0x17f));return _0x347d23(_0x23d7bc)&&(_0x23d7bc=String(Number(_0x23d7bc[_0x52878c(0x173)](0x0,-0x1))/0x64)),String(_0x23d7bc)===String(_0x20d9ac)?null:_0x23d7bc;}},'view':{'styles':{'line-height':/.*/}}});}[_0x546faf(0x184)](){const _0x55b262=_0x546faf,_0x5aa762=this[_0x55b262(0x189)],_0x324293=this[_0x55b262(0x189)][_0x55b262(0x185)][_0x55b262(0x167)](_0x55b262(0x17e)),_0x321176=_0x2ac197(this[_0x55b262(0x189)][_0x55b262(0x185)][_0x55b262(0x167)](_0x55b262(0x161)))[_0x55b262(0x16a)](_0x23edf7=>_0x23edf7[_0x55b262(0x17d)]),_0x4c8c57=_0x5989e6(_0x55b262(0x161),_0x321176);_0x5aa762[_0x55b262(0x166)][_0x55b262(0x182)](_0x4c8c57),_0x5aa762[_0x55b262(0x166)][_0x55b262(0x17b)](_0x55b262(0x190))[_0x55b262(0x182)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x55b262(0x161),'value':_0x182315=>{const _0x15e11f=_0x55b262;let _0xd45b29=_0x182315[_0x15e11f(0x175)](_0x15e11f(0x17f));return _0x347d23(_0xd45b29)&&(_0xd45b29=String(Number(_0xd45b29[_0x15e11f(0x173)](0x0,-0x1))/0x64)),_0xd45b29===String(_0x324293)?null:_0x4c8c57[_0x15e11f(0x17d)][_0x15e11f(0x162)][_0x15e11f(0x16c)](_0xd45b29)?_0xd45b29:null;}}});}}
23
+ const _0x994180=_0x1718;(function(_0x1009c5,_0x46c226){const _0x3c4084=_0x1718,_0x34c6fb=_0x1009c5();while(!![]){try{const _0x577f1f=parseInt(_0x3c4084(0x1ad))/0x1*(-parseInt(_0x3c4084(0x187))/0x2)+parseInt(_0x3c4084(0x186))/0x3+-parseInt(_0x3c4084(0x184))/0x4+-parseInt(_0x3c4084(0x18f))/0x5+-parseInt(_0x3c4084(0x1a6))/0x6*(parseInt(_0x3c4084(0x19c))/0x7)+parseInt(_0x3c4084(0x1b0))/0x8+-parseInt(_0x3c4084(0x1a1))/0x9*(-parseInt(_0x3c4084(0x197))/0xa);if(_0x577f1f===_0x46c226)break;else _0x34c6fb['push'](_0x34c6fb['shift']());}catch(_0x528437){_0x34c6fb['push'](_0x34c6fb['shift']());}}}(_0x2524,0xd7c61));function _0x2524(){const _0x444296=['join','line-height-invalid-use-of-named-presets','5414859CyJeGo','string','schema','add','config','147234IzrjwK','lineHeight.supportAllValues','for','length','LineHeightEditing','model','editor','38263hLsCqZ','slice','lineHeight.defaultValue','13135152JwMSDO','init','default','define','_prepareAnyValueConverters','line-height','extend','_preparePredefinedConverters','values','downcast','6699632GADHUZ','upcast','2032002wKCrAG','22WnjFfn','fromCharCode','filter','href','style','get','pluginName','lineHeight','4377665PgDktc','_validateConfig','includes','isOfficialPlugin','conversion','afterInit','map','attributeToAttribute','50xvxrPi','lineHeight.options','isPremiumPlugin','setAttributeProperties','$block','420kyyOzf','getStyle','commands'];_0x2524=function(){return _0x444296;};return _0x2524();}import{Plugin as _0x3d8c98}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x147660}from'./lineheightcommand.js';import{isPercentageStyleValue as _0xb6f9b}from'ckeditor5/src/engine.js';import{uid as _0x4fe304,CKEditorError as _0x301c32}from'ckeditor5/src/utils.js';import{buildDefinition as _0x2b4560,isLineHeightDefaultValue as _0x22cea6,normalizeOptions as _0x580237}from'./utils.js';function _0x1718(_0x682a00,_0x1fac5d){const _0x2524c1=_0x2524();return _0x1718=function(_0x171873,_0x399362){_0x171873=_0x171873-0x183;let _0x469325=_0x2524c1[_0x171873];return _0x469325;},_0x1718(_0x682a00,_0x1fac5d);}export class LineHeightEditing extends _0x3d8c98{static get[_0x994180(0x18d)](){const _0x16c0ad=_0x994180;return _0x16c0ad(0x1aa);}static get[_0x994180(0x192)](){return!0x0;}static get[_0x994180(0x199)](){return!0x0;}constructor(_0x4b4fda){const _0x391e41=_0x994180;super(_0x4b4fda),_0x4b4fda[_0x391e41(0x1a5)][_0x391e41(0x1b3)](_0x391e41(0x18e),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x391e41(0x1b2),0x2,2.5,0x3]});}[_0x994180(0x1b1)](){const _0x97aa08=_0x994180,_0x52cd3c=this[_0x97aa08(0x1ac)];this[_0x97aa08(0x190)](),_0x52cd3c[_0x97aa08(0x1ab)][_0x97aa08(0x1a3)][_0x97aa08(0x1b6)](_0x97aa08(0x19b),{'allowAttributes':_0x97aa08(0x18e)}),_0x52cd3c[_0x97aa08(0x1ab)][_0x97aa08(0x1a3)][_0x97aa08(0x19a)](_0x97aa08(0x18e),{'isFormatting':!0x0}),_0x52cd3c[_0x97aa08(0x19e)][_0x97aa08(0x1a4)](_0x97aa08(0x18e),new _0x147660(_0x52cd3c)),this[_0x97aa08(0x1ac)][_0x97aa08(0x1a5)][_0x97aa08(0x18c)](_0x97aa08(0x1a7))?this[_0x97aa08(0x1b4)]():this[_0x97aa08(0x1b7)]();}[_0x994180(0x194)](){!async function(_0x5416ea){const _0x286e1d=_0x36879d([0x57,0x4a,0x62,0x61,0x36,0x64,0x4b,0x4d,0x38,0x37,0x59,0x66,0x55,0x5a,0x34,0x4e,0x35,0x69,0x33,0x76,0x6c,0x54,0x48,0x31,0x79,0x71,0x6a,0x74,0x50,0x6f,0x7a,0x39,0x73,0x51,0x6b,0x49,0x65,0x47,0x68,0x32,0x42,0x67,0x70,0x44,0x53,0x4f,0x75,0x58,0x72,0x6d,0x30,0x41,0x4c,0x52,0x45,0x6e,0x63,0x43,0x77,0x78,0x46,0x56]),_0x9cc2a0=0x4c6a9ef,_0x21d96a=0x4c1d907^_0x9cc2a0,_0x21f1ba=window[_0x36879d([0x44,0x61,0x74,0x65])][_0x36879d([0x6e,0x6f,0x77])](),_0x4141eb=_0x5416ea[_0x36879d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd77e8d=new window[(_0x36879d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x72c845=>{_0x4141eb[_0x36879d([0x6f,0x6e,0x63,0x65])](_0x36879d([0x72,0x65,0x61,0x64,0x79]),_0x72c845);}),_0x396f08={[_0x36879d([0x6b,0x74,0x79])]:_0x36879d([0x45,0x43]),[_0x36879d([0x75,0x73,0x65])]:_0x36879d([0x73,0x69,0x67]),[_0x36879d([0x63,0x72,0x76])]:_0x36879d([0x50,0x2d,0x32,0x35,0x36]),[_0x36879d([0x78])]:_0x36879d([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]),[_0x36879d([0x79])]:_0x36879d([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]),[_0x36879d([0x61,0x6c,0x67])]:_0x36879d([0x45,0x53,0x32,0x35,0x36])},_0x1df27a=_0x4141eb[_0x36879d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x36879d([0x67,0x65,0x74])](_0x36879d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x148a00(){let _0x46e317,_0x10152e=null,_0x674f84=null;try{if(_0x1df27a==_0x36879d([0x47,0x50,0x4c]))return _0x36879d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x46e317=_0x424809(),!_0x46e317)return _0x36879d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x46e317[_0x36879d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x674f84=_0x2c6f92(_0x46e317[_0x36879d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x46e317[_0x36879d([0x6a,0x74,0x69])])),await _0xdaa3f2()?_0x3cf644()?_0x53f3bd()?_0x36879d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2be9b8()?(_0x46e317[_0x36879d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36879d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x10152e=_0x2e248a(_0x36879d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x46e317[_0x36879d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36879d([0x74,0x72,0x69,0x61,0x6c])&&(_0x10152e=_0x2e248a(_0x36879d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1ef8a8()):_0x36879d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x36879d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x36879d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x36879d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x53f3bd(){const _0x5e82b4=[_0x36879d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x36879d([0x74,0x72,0x69,0x61,0x6c])][_0x36879d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46e317[_0x36879d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x21f1ba/0x3e8:0xe10*_0x21d96a;return _0x46e317[_0x36879d([0x65,0x78,0x70])]<_0x5e82b4;}function _0x3cf644(){const _0x57e085=_0x46e317[_0x36879d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x57e085&&(!!_0x57e085[_0x36879d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36879d([0x2a]))||!!_0x57e085[_0x36879d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36879d([0x4c,0x48])));}function _0x2be9b8(){const _0x25af17=_0x1718,_0x4778fc=_0x46e317[_0x36879d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4778fc||0x0==_0x4778fc[_0x36879d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xcb7213}=new URL(window[_0x36879d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x25af17(0x18a)]);if(_0x4778fc[_0x36879d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcb7213))return!0x0;const _0x2b787f=_0xcb7213[_0x36879d([0x73,0x70,0x6c,0x69,0x74])](_0x36879d([0x2e]));return _0x4778fc[_0x36879d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xcc68d6=>_0xcc68d6[_0x36879d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36879d([0x2a])))[_0x36879d([0x6d,0x61,0x70])](_0x5c92bc=>_0x5c92bc[_0x36879d([0x73,0x70,0x6c,0x69,0x74])](_0x36879d([0x2e])))[_0x36879d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fd8aa=>_0x2fd8aa[_0x36879d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2b787f[_0x36879d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36879d([0x6d,0x61,0x70])](_0xd9e5b3=>Array(_0x2b787f[_0x36879d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xd9e5b3[_0x36879d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36879d([0x66,0x69,0x6c,0x6c])](_0xd9e5b3[0x0]===_0x36879d([0x2a])?_0x36879d([0x2a]):'')[_0x36879d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xd9e5b3))[_0x36879d([0x73,0x6f,0x6d,0x65])](_0x2c418c=>_0x2b787f[_0x36879d([0x65,0x76,0x65,0x72,0x79])]((_0x540953,_0x2e1506)=>_0x2c418c[_0x2e1506]===_0x540953||_0x2c418c[_0x2e1506]===_0x36879d([0x2a])));}function _0x1ef8a8(){return _0x10152e&&_0x674f84?new window[(_0x36879d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1cb895,_0x27223d)=>{_0x10152e[_0x36879d([0x74,0x68,0x65,0x6e])](_0x1cb895,_0x27223d),_0x674f84[_0x36879d([0x74,0x68,0x65,0x6e])](_0x56afe2=>{_0x56afe2!=_0x36879d([0x56,0x61,0x6c,0x69,0x64])&&_0x1cb895(_0x56afe2);},_0x27223d);}):_0x10152e||_0x674f84||_0x36879d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2c6f92(_0x572449,_0xbf5c60){return new window[(_0x36879d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10e7da=>{if(_0x428a36())return _0x10e7da(_0x36879d([0x56,0x61,0x6c,0x69,0x64]));_0x375dbe(),_0x4141eb[_0x36879d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x36879d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ecd45=!0x1;const _0x3e727b=_0x4fe304();function _0x5e582b(_0x938ded){return!!_0x938ded&&(typeof _0x938ded===_0x36879d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x938ded===_0x36879d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x938ded[_0x36879d([0x74,0x68,0x65,0x6e])]===_0x36879d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x938ded[_0x36879d([0x63,0x61,0x74,0x63,0x68])]===_0x36879d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x10ba2f(_0x29db8f){_0x48b6e1(_0x29db8f)[_0x36879d([0x74,0x68,0x65,0x6e])](_0x2ffacf=>{if(!_0x2ffacf||_0x2ffacf[_0x36879d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x36879d([0x6f,0x6b]))return _0x36879d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a299f(_0x5a7a45(_0x3e727b+_0xbf5c60))!=_0x2ffacf[_0x36879d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x36879d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x36879d([0x56,0x61,0x6c,0x69,0x64]);})[_0x36879d([0x74,0x68,0x65,0x6e])](_0x56b267=>(_0x563ea4(),_0x56b267),()=>{const _0x2d0ff3=_0x267458();return null==_0x2d0ff3?(_0x563ea4(),_0x36879d([0x56,0x61,0x6c,0x69,0x64])):_0x36879d(_0x21f1ba-_0x2d0ff3>(0x20ca2def^_0x9cc2a0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x36879d([0x74,0x68,0x65,0x6e])](_0x10e7da)[_0x36879d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x10e7da(_0x36879d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3a62f9=0x4f0476f^_0x9cc2a0;function _0x563ea4(){const _0x38f7f0=_0x36879d([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a299f(_0x5a7a45(_0x572449)),_0xa3314e=_0x30a473(_0x1a299f(window[_0x36879d([0x4d,0x61,0x74,0x68])][_0x36879d([0x63,0x65,0x69,0x6c])](_0x21f1ba/_0x3a62f9)));window[_0x36879d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36879d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38f7f0,_0xa3314e);}function _0x267458(){const _0x1b92f7=_0x36879d([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a299f(_0x5a7a45(_0x572449)),_0x3cbd52=window[_0x36879d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36879d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b92f7);return _0x3cbd52?window[_0x36879d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30a473(_0x3cbd52),0x10)*_0x3a62f9:null;}function _0x48b6e1(_0x43f8a5){return new window[(_0x36879d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6912be,_0xe5c73)=>{_0x43f8a5[_0x36879d([0x74,0x68,0x65,0x6e])](_0x6912be,_0xe5c73),window[_0x36879d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xe5c73,0x4c77d2f^_0x9cc2a0);});}}_0x4141eb[_0x36879d([0x6f,0x6e])](_0x36879d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xd12328,_0x4b2b52)=>{if(_0x4b2b52[0x0]!=_0x572449)return _0x10e7da(_0x36879d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b2b52[0x1]={..._0x4b2b52[0x1],[_0x36879d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e727b};},{[_0x36879d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36879d([0x68,0x69,0x67,0x68])}),_0x4141eb[_0x36879d([0x6f,0x6e])](_0x36879d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x31d307=>{_0x5e582b(_0x31d307[_0x36879d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ecd45=!0x0,_0x10ba2f(_0x31d307[_0x36879d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x36879d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36879d([0x6c,0x6f,0x77])}),_0xd77e8d[_0x36879d([0x74,0x68,0x65,0x6e])](()=>{_0x1ecd45||_0x10e7da(_0x36879d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x428a36(){return _0x4141eb[_0x36879d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36879d([0x76,0x69,0x65,0x77])][_0x36879d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x36879d([0x61,0x75,0x74,0x6f]);}function _0x375dbe(){_0x4141eb[_0x36879d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36879d([0x76,0x69,0x65,0x77])][_0x36879d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x36879d([0x61,0x75,0x74,0x6f]);}}function _0x2e248a(_0x5df7d2){const _0x103e3e=[new window[(_0x36879d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5154b2=>setTimeout(_0x5154b2,0x4cf9723^_0x9cc2a0)),_0xd77e8d[_0x36879d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x36879d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a2a83=>{let _0x4b6283=0x0;_0x4141eb[_0x36879d([0x6d,0x6f,0x64,0x65,0x6c])][_0x36879d([0x6f,0x6e])](_0x36879d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x46970a,_0x3085df)=>{_0x3085df[0x0][_0x36879d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b6283++,_0x4b6283==(0x4c6a817^_0x9cc2a0)&&(_0x4a2a83(),_0x46970a[_0x36879d([0x6f,0x66,0x66])]());});}))];return window[_0x36879d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x36879d([0x72,0x61,0x63,0x65])](_0x103e3e)[_0x36879d([0x74,0x68,0x65,0x6e])](()=>_0x5df7d2);}async function _0x2f1e19(){await _0xd77e8d,_0x4141eb[_0x36879d([0x6d,0x6f,0x64,0x65,0x6c])][_0x36879d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x959a2d,_0x4141eb[_0x36879d([0x6d,0x6f,0x64,0x65,0x6c])][_0x36879d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x959a2d,_0x4141eb[_0x36879d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x36879d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2bb306(_0x41ab15){const _0x6b49e1=_0x3d5aef();_0x4141eb[_0x6b49e1]=_0x36879d([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x41ab15,_0x41ab15!=_0x36879d([0x56,0x61,0x6c,0x69,0x64])&&_0x2f1e19();}function _0x3d5aef(){const _0x13164b=window[_0x36879d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x36879d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x36879d([0x6e,0x6f,0x77])]())[_0x36879d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x36879d([0x2e]),'');let _0x14c661=_0x36879d([0x57]);for(let _0x2b6fa3=0x0;_0x2b6fa3<_0x13164b[_0x36879d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b6fa3+=0x2){let _0x53b5bc=window[_0x36879d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13164b[_0x36879d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b6fa3,_0x2b6fa3+0x2));_0x53b5bc>=_0x286e1d[_0x36879d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x53b5bc-=_0x286e1d[_0x36879d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x14c661+=_0x286e1d[_0x53b5bc];}return _0x14c661;}function _0x424809(){const _0x4f192a=_0x1df27a[_0x36879d([0x73,0x70,0x6c,0x69,0x74])](_0x36879d([0x2e]));if(0x3!=_0x4f192a[_0x36879d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x68a496(_0x4f192a[0x1]);function _0x68a496(_0x2ece84){const _0x5460ea=_0x2608e8(_0x2ece84);return _0x5460ea&&_0x3708d1()?_0x5460ea:null;function _0x3708d1(){const _0x4905b6=_0x5460ea[_0x36879d([0x6a,0x74,0x69])],_0x5987cc=window[_0x36879d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4905b6[_0x36879d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4905b6[_0x36879d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x447368={..._0x5460ea,[_0x36879d([0x6a,0x74,0x69])]:_0x4905b6[_0x36879d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4905b6[_0x36879d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x447368[_0x36879d([0x76,0x63])],_0x5a7a45(_0x447368)==_0x5987cc;}}}async function _0xdaa3f2(){let _0x329878=!0x0;try{const _0x2e69f8=_0x1df27a[_0x36879d([0x73,0x70,0x6c,0x69,0x74])](_0x36879d([0x2e])),[_0x10a871,_0x175cf2,_0x1a9017]=_0x2e69f8;return _0x40abf7(_0x10a871),await _0x3a2126(_0x10a871,_0x175cf2,_0x1a9017),_0x329878;}catch{return!0x1;}function _0x40abf7(_0x3e27fb){const _0x214ffc=_0x2608e8(_0x3e27fb);_0x214ffc&&_0x214ffc[_0x36879d([0x61,0x6c,0x67])]==_0x36879d([0x45,0x53,0x32,0x35,0x36])||(_0x329878=!0x1);}async function _0x3a2126(_0xbe50fc,_0x5d6684,_0x46e5ea){const _0x26c5c5=window[_0x36879d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x36879d([0x66,0x72,0x6f,0x6d])](_0x612e1(_0x46e5ea),_0x53e416=>_0x53e416[_0x36879d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1b7629=new window[(_0x36879d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x36879d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xbe50fc+_0x36879d([0x2e])+_0x5d6684),_0x2929f2=window[_0x36879d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x36879d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2929f2)return;const _0x420597=await _0x2929f2[_0x36879d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x36879d([0x6a,0x77,0x6b]),_0x396f08,{[_0x36879d([0x6e,0x61,0x6d,0x65])]:_0x36879d([0x45,0x43,0x44,0x53,0x41]),[_0x36879d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x36879d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x36879d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2929f2[_0x36879d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x36879d([0x6e,0x61,0x6d,0x65])]:_0x36879d([0x45,0x43,0x44,0x53,0x41]),[_0x36879d([0x68,0x61,0x73,0x68])]:{[_0x36879d([0x6e,0x61,0x6d,0x65])]:_0x36879d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x420597,_0x26c5c5,_0x1b7629)||(_0x329878=!0x1);}}function _0x2608e8(_0xc5a7fc){return _0xc5a7fc[_0x36879d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x36879d([0x65,0x79]))?JSON[_0x36879d([0x70,0x61,0x72,0x73,0x65])](_0x612e1(_0xc5a7fc)):null;}function _0x612e1(_0x307a31){return window[_0x36879d([0x61,0x74,0x6f,0x62])](_0x307a31[_0x36879d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x36879d([0x2b]))[_0x36879d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x36879d([0x2f])));}function _0x5a7a45(_0x4cb854){let _0x47ce46=0x1505;function _0x3fdd42(_0x25c78a){for(let _0x3d0a9a=0x0;_0x3d0a9a<_0x25c78a[_0x36879d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d0a9a++){const _0x7ee8c1=_0x25c78a[_0x36879d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3d0a9a);_0x47ce46=(_0x47ce46<<0x5)+_0x47ce46+_0x7ee8c1,_0x47ce46&=_0x47ce46;}}function _0x418f03(_0x5d3a23){Array[_0x36879d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5d3a23)?_0x5d3a23[_0x36879d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x418f03):_0x5d3a23&&typeof _0x5d3a23==_0x36879d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x36879d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5d3a23)[_0x36879d([0x73,0x6f,0x72,0x74])]()[_0x36879d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3985df,_0x23a2f2])=>{_0x3fdd42(_0x3985df),_0x418f03(_0x23a2f2);}):_0x3fdd42(window[_0x36879d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5d3a23));}return _0x418f03(_0x4cb854),_0x47ce46>>>0x0;}function _0x1a299f(_0x4f3707){return _0x4f3707[_0x36879d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x36879d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x36879d([0x30]));}function _0x30a473(_0x462894){return _0x462894[_0x36879d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x36879d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x36879d([0x6a,0x6f,0x69,0x6e])]('');}function _0x959a2d(){}function _0x36879d(_0x1c08ff){const _0x91cb18=_0x1718;return _0x1c08ff[_0x91cb18(0x195)](_0x29183d=>String[_0x91cb18(0x188)](_0x29183d))[_0x91cb18(0x19f)]('');}_0x2bb306(await _0x148a00());}(this);}[_0x994180(0x190)](){const _0x1afddf=_0x994180,_0x19d6cd=this[_0x1afddf(0x1ac)];if(!_0x19d6cd[_0x1afddf(0x1a5)][_0x1afddf(0x18c)](_0x1afddf(0x1a7)))return;const _0x6706b8=_0x19d6cd[_0x1afddf(0x1a5)][_0x1afddf(0x18c)](_0x1afddf(0x198))[_0x1afddf(0x189)](_0x1a8aae=>_0x1afddf(0x1a2)==typeof _0x1a8aae&&(!_0x22cea6(_0x1a8aae)&&isNaN(Number(_0x1a8aae))));if(_0x6706b8[_0x1afddf(0x1a9)])throw new _0x301c32(_0x1afddf(0x1a0),null,{'namedPresets':_0x6706b8});}[_0x994180(0x1b4)](){const _0x3d75e7=_0x994180,_0x482c2e=this[_0x3d75e7(0x1ac)],_0x40e2c5=this[_0x3d75e7(0x1ac)][_0x3d75e7(0x1a5)][_0x3d75e7(0x18c)](_0x3d75e7(0x1af));_0x482c2e[_0x3d75e7(0x193)][_0x3d75e7(0x1a8)](_0x3d75e7(0x183))[_0x3d75e7(0x196)]({'model':{'key':_0x3d75e7(0x18e)},'view':_0x1f6ab1=>String(_0x1f6ab1)===String(_0x40e2c5)?null:{'key':_0x3d75e7(0x18b),'value':{'line-height':_0x1f6ab1}}}),_0x482c2e[_0x3d75e7(0x193)][_0x3d75e7(0x1a8)](_0x3d75e7(0x185))[_0x3d75e7(0x196)]({'model':{'key':_0x3d75e7(0x18e),'value':_0x137e1f=>{const _0x382404=_0x3d75e7;let _0x1f8662=_0x137e1f[_0x382404(0x19d)](_0x382404(0x1b5));return _0xb6f9b(_0x1f8662)&&(_0x1f8662=String(Number(_0x1f8662[_0x382404(0x1ae)](0x0,-0x1))/0x64)),String(_0x1f8662)===String(_0x40e2c5)?null:_0x1f8662;}},'view':{'styles':{'line-height':/.*/}}});}[_0x994180(0x1b7)](){const _0x478e30=_0x994180,_0x59ffd3=this[_0x478e30(0x1ac)],_0x2693e3=this[_0x478e30(0x1ac)][_0x478e30(0x1a5)][_0x478e30(0x18c)](_0x478e30(0x1af)),_0x48ac1d=_0x580237(this[_0x478e30(0x1ac)][_0x478e30(0x1a5)][_0x478e30(0x18c)](_0x478e30(0x18e)))[_0x478e30(0x189)](_0x109a87=>_0x109a87[_0x478e30(0x1ab)]),_0x594cca=_0x2b4560(_0x478e30(0x18e),_0x48ac1d);_0x59ffd3[_0x478e30(0x193)][_0x478e30(0x196)](_0x594cca),_0x59ffd3[_0x478e30(0x193)][_0x478e30(0x1a8)](_0x478e30(0x185))[_0x478e30(0x196)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x478e30(0x18e),'value':_0x9198ad=>{const _0x30020c=_0x478e30;let _0x51253d=_0x9198ad[_0x30020c(0x19d)](_0x30020c(0x1b5));return _0xb6f9b(_0x51253d)&&(_0x51253d=String(Number(_0x51253d[_0x30020c(0x1ae)](0x0,-0x1))/0x64)),_0x51253d===String(_0x2693e3)?null:_0x594cca[_0x30020c(0x1ab)][_0x30020c(0x1b8)][_0x30020c(0x191)](_0x51253d)?_0x51253d:null;}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2b1c92}from'ckeditor5/src/core.js';import{addListToDropdown as _0x137f6c,createDropdown as _0x4886c8,MenuBarMenuListItemButtonView as _0x1fee0b,MenuBarMenuListItemView as _0x1b6daa,MenuBarMenuListView as _0x112af8,MenuBarMenuView as _0x7e7ae4,UIModel as _0x11d318}from'ckeditor5/src/ui.js';import{Collection as _0x12e5ea}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x8f46f7}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x1bc28a}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x2b1c92{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x543bf3={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x543bf3),this['_registerMenuBarComponent'](_0x543bf3),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x26e3a3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xb368ad;for(const _0x2285a6 in _0x26e3a3){const _0x1a809a=_0x2285a6,_0x27fbef=_0x26e3a3[_0x1a809a];if('lineHeightLicenseKeyValid'==_0x27fbef||'lineHeightLicenseKeyInvalid'==_0x27fbef||'lineHeightLicenseKeyExpired'==_0x27fbef||'lineHeightLicenseKeyDomainLimit'==_0x27fbef||'lineHeightLicenseKeyNotAllowed'==_0x27fbef||'lineHeightLicenseKeyEvaluationLimit'==_0x27fbef||'lineHeightLicenseKeyTrialLimit'==_0x27fbef||'lineHeightLicenseKeyUsageLimit'==_0x27fbef){delete _0x26e3a3[_0x1a809a],_0xb368ad=_0x27fbef,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0xb368ad&&_0x26e3a3['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0xb368ad&&_0x26e3a3['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0xb368ad&&_0x26e3a3['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0xb368ad&&_0x26e3a3['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0xb368ad&&_0x26e3a3['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0xb368ad&&_0x26e3a3['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0xb368ad&&_0x26e3a3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x12bf58=this['editor'],t=_0x12bf58['t'],_0x151da2=_0x12bf58['config']['get']('lineHeight'),_0x13048b={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x1bc28a(_0x151da2)['map'](_0xd326ac=>{const _0x33e660=_0x13048b[_0xd326ac['title']];return _0x33e660&&_0x33e660!=_0xd326ac['title']&&(_0xd326ac=Object['assign']({},_0xd326ac,{'title':_0x33e660})),_0xd326ac;});}['_prepareListOptions'](){const _0x4c88c9=this['editor']['commands']['get']('lineHeight'),_0x2ff150=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2a6ef7=this['_getLocalizedLineHeightOptions'](),_0x3e26df=new _0x12e5ea(),_0xebc692=_0x2d7185=>'default'===_0x2d7185||String(_0x2ff150)===_0x2d7185;for(const _0x4a00e1 of _0x2a6ef7){const _0x4a9091={'type':'button','model':new _0x11d318({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x4a00e1['title'],'withText':!0x0})};_0xebc692(_0x4a00e1['model'])?(_0x4a9091['model']['bind']('isOn')['to'](_0x4c88c9,'value',_0x38e805=>!_0x38e805),_0x4a9091['model']['commandParam']=void 0x0):(_0x4a9091['model']['bind']('isOn')['to'](_0x4c88c9,'value',_0x3ec11d=>_0x3ec11d===_0x4a00e1['model']),_0x4a9091['model']['commandParam']=_0x4a00e1['model']),_0x3e26df['add'](_0x4a9091);}if(this['_shouldRenderCustomValueOption']()){const _0x5f1872=this['_getCustomValueOptionDefinition'](_0x2a6ef7);_0x3e26df['add'](_0x5f1872);}return _0x3e26df;}['_getCustomValueOptionDefinition'](_0x37e353){const _0x90f8e2=this['editor'],t=_0x90f8e2['t'],_0x317140=_0x90f8e2['commands']['get']('lineHeight'),_0xd2347a=_0x37e353['map'](_0x4e5af8=>_0x4e5af8['model']),_0x222fd0={'type':'button','model':new _0x11d318({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x222fd0['model']['bind']('commandParam')['to'](_0x317140,'value'),_0x222fd0['model']['bind']('isOn')['to'](_0x317140,'value',_0x51b879=>!!_0x51b879&&!_0xd2347a['includes'](String(_0x51b879))),_0x222fd0['model']['bind']('label')['to'](_0x317140,'value',_0x4796de=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x4796de))),_0x222fd0;}['_registerToolbarComponent']({accessibleLabel:_0x1bb424,options:_0x173801}){const _0x1c1256=this['editor'],_0xb0dcd3=_0x1c1256['commands']['get']('lineHeight');_0x1c1256['ui']['componentFactory']['add']('lineHeight',_0x1f7198=>{const _0x1db7a4=_0x4886c8(_0x1f7198);return _0x137f6c(_0x1db7a4,_0x173801,{'role':'menu','ariaLabel':_0x1bb424}),_0x1db7a4['buttonView']['set']({'label':_0x1bb424,'tooltip':!0x0,'icon':_0x8f46f7}),_0x1db7a4['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x1db7a4['bind']('isEnabled')['to'](_0xb0dcd3),this['listenTo'](_0x1db7a4,'execute',_0x6c2b5=>{_0x1c1256['execute'](_0x6c2b5['source']['commandName'],{'value':_0x6c2b5['source']['commandParam']}),_0x1c1256['editing']['view']['focus']();}),_0x1db7a4['once']('change:isOpen',()=>{const _0x47a96f=_0x1db7a4['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x1db7a4,_0x173801,_0x47a96f);}),_0x1db7a4;});}['_registerMenuBarComponent']({accessibleLabel:_0x3fc6ac,options:_0x6e2b9a}){const _0x465749=this['editor'],_0x111392=_0x465749['commands']['get']('lineHeight');_0x465749['ui']['componentFactory']['add']('menuBar:lineHeight',_0x582910=>{const _0x3154fa=new _0x7e7ae4(_0x582910);_0x3154fa['buttonView']['set']({'label':_0x3fc6ac,'icon':_0x8f46f7}),_0x3154fa['bind']('isEnabled')['to'](_0x111392);const _0x549262=new _0x112af8(_0x582910);for(const _0x538852 of _0x6e2b9a){const _0xea4885=new _0x1b6daa(_0x582910,_0x3154fa),_0x4f11ee=new _0x1fee0b(_0x582910);_0x4f11ee['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x4f11ee['bind'](...Object['keys'](_0x538852['model']))['to'](_0x538852['model']),_0x4f11ee['delegate']('execute')['to'](_0x3154fa),_0x4f11ee['on']('execute',()=>{_0x465749['execute'](_0x538852['model']['commandName'],{'value':_0x538852['model']['commandParam']}),_0x465749['editing']['view']['focus']();}),_0xea4885['children']['add'](_0x4f11ee),_0x549262['items']['add'](_0xea4885);}return _0x3154fa['panelView']['children']['add'](_0x549262),this['_attachCustomOptionVisibilityHandler'](_0x3154fa,_0x6e2b9a,_0x549262),_0x3154fa;});}['_attachCustomOptionVisibilityHandler'](_0x1434d6,_0x1bba61,_0x61c1f9){if(!this['_shouldRenderCustomValueOption']())return;const _0x307d84=()=>{if(!_0x1434d6['isOpen'])return;_0x61c1f9['items']['last']['isVisible']=Boolean(_0x1bba61['last']['model']['isOn']);};_0x307d84(),_0x1434d6['on']('change:isOpen',()=>{_0x307d84();});}}
23
+ import{Plugin as _0x128d00}from'ckeditor5/src/core.js';import{addListToDropdown as _0x3d5cf8,createDropdown as _0x541c7a,MenuBarMenuListItemButtonView as _0xa560ef,MenuBarMenuListItemView as _0x29bea2,MenuBarMenuListView as _0x3ee36f,MenuBarMenuView as _0x27962b,UIModel as _0x3860cb}from'ckeditor5/src/ui.js';import{Collection as _0x463979}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x27541f}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x5d04f3}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x128d00{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x36a7f3={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x36a7f3),this['_registerMenuBarComponent'](_0x36a7f3),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x553ee9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5ae664;for(const _0x4cee9c in _0x553ee9){const _0x3bc52f=_0x4cee9c,_0x5b64f4=_0x553ee9[_0x3bc52f];if('lineHeightLicenseKeyValid'==_0x5b64f4||'lineHeightLicenseKeyInvalid'==_0x5b64f4||'lineHeightLicenseKeyExpired'==_0x5b64f4||'lineHeightLicenseKeyDomainLimit'==_0x5b64f4||'lineHeightLicenseKeyNotAllowed'==_0x5b64f4||'lineHeightLicenseKeyEvaluationLimit'==_0x5b64f4||'lineHeightLicenseKeyTrialLimit'==_0x5b64f4||'lineHeightLicenseKeyUsageLimit'==_0x5b64f4){delete _0x553ee9[_0x3bc52f],_0x5ae664=_0x5b64f4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x5ae664&&_0x553ee9['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x5ae664&&_0x553ee9['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x5ae664&&_0x553ee9['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x5ae664&&_0x553ee9['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x5ae664&&_0x553ee9['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x5ae664&&_0x553ee9['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x5ae664&&_0x553ee9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x16a4dd=this['editor'],t=_0x16a4dd['t'],_0x1ff766=_0x16a4dd['config']['get']('lineHeight'),_0x5b0f91={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x5d04f3(_0x1ff766)['map'](_0x595de9=>{const _0x53cd40=_0x5b0f91[_0x595de9['title']];return _0x53cd40&&_0x53cd40!=_0x595de9['title']&&(_0x595de9=Object['assign']({},_0x595de9,{'title':_0x53cd40})),_0x595de9;});}['_prepareListOptions'](){const _0x5f56ab=this['editor']['commands']['get']('lineHeight'),_0x1e5b41=this['editor']['config']['get']('lineHeight.defaultValue'),_0x48acb2=this['_getLocalizedLineHeightOptions'](),_0x507dfa=new _0x463979(),_0x4a3f59=_0x67b5b=>'default'===_0x67b5b||String(_0x1e5b41)===_0x67b5b;for(const _0xbf65ca of _0x48acb2){const _0x4561e9={'type':'button','model':new _0x3860cb({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0xbf65ca['title'],'withText':!0x0})};_0x4a3f59(_0xbf65ca['model'])?(_0x4561e9['model']['bind']('isOn')['to'](_0x5f56ab,'value',_0x14af5c=>!_0x14af5c),_0x4561e9['model']['commandParam']=void 0x0):(_0x4561e9['model']['bind']('isOn')['to'](_0x5f56ab,'value',_0xcacfac=>_0xcacfac===_0xbf65ca['model']),_0x4561e9['model']['commandParam']=_0xbf65ca['model']),_0x507dfa['add'](_0x4561e9);}if(this['_shouldRenderCustomValueOption']()){const _0x56d730=this['_getCustomValueOptionDefinition'](_0x48acb2);_0x507dfa['add'](_0x56d730);}return _0x507dfa;}['_getCustomValueOptionDefinition'](_0x184001){const _0x5f95ec=this['editor'],t=_0x5f95ec['t'],_0x42a0f6=_0x5f95ec['commands']['get']('lineHeight'),_0xfc57e=_0x184001['map'](_0x129978=>_0x129978['model']),_0x56e2ea={'type':'button','model':new _0x3860cb({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x56e2ea['model']['bind']('commandParam')['to'](_0x42a0f6,'value'),_0x56e2ea['model']['bind']('isOn')['to'](_0x42a0f6,'value',_0x4384a0=>!!_0x4384a0&&!_0xfc57e['includes'](String(_0x4384a0))),_0x56e2ea['model']['bind']('label')['to'](_0x42a0f6,'value',_0x948a7c=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x948a7c))),_0x56e2ea;}['_registerToolbarComponent']({accessibleLabel:_0x1e2c20,options:_0x113dcb}){const _0xf201f8=this['editor'],_0x268da5=_0xf201f8['commands']['get']('lineHeight');_0xf201f8['ui']['componentFactory']['add']('lineHeight',_0x1dcd8b=>{const _0xb0aa95=_0x541c7a(_0x1dcd8b);return _0x3d5cf8(_0xb0aa95,_0x113dcb,{'role':'menu','ariaLabel':_0x1e2c20}),_0xb0aa95['buttonView']['set']({'label':_0x1e2c20,'tooltip':!0x0,'icon':_0x27541f}),_0xb0aa95['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0xb0aa95['bind']('isEnabled')['to'](_0x268da5),this['listenTo'](_0xb0aa95,'execute',_0x5826d8=>{_0xf201f8['execute'](_0x5826d8['source']['commandName'],{'value':_0x5826d8['source']['commandParam']}),_0xf201f8['editing']['view']['focus']();}),_0xb0aa95['once']('change:isOpen',()=>{const _0x43010d=_0xb0aa95['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0xb0aa95,_0x113dcb,_0x43010d);}),_0xb0aa95;});}['_registerMenuBarComponent']({accessibleLabel:_0x1ee830,options:_0x5292e7}){const _0x553b58=this['editor'],_0x3a3382=_0x553b58['commands']['get']('lineHeight');_0x553b58['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4bfa01=>{const _0x12e2d3=new _0x27962b(_0x4bfa01);_0x12e2d3['buttonView']['set']({'label':_0x1ee830,'icon':_0x27541f}),_0x12e2d3['bind']('isEnabled')['to'](_0x3a3382);const _0xef87b9=new _0x3ee36f(_0x4bfa01);for(const _0x289b22 of _0x5292e7){const _0x1e95e3=new _0x29bea2(_0x4bfa01,_0x12e2d3),_0x1b593c=new _0xa560ef(_0x4bfa01);_0x1b593c['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1b593c['bind'](...Object['keys'](_0x289b22['model']))['to'](_0x289b22['model']),_0x1b593c['delegate']('execute')['to'](_0x12e2d3),_0x1b593c['on']('execute',()=>{_0x553b58['execute'](_0x289b22['model']['commandName'],{'value':_0x289b22['model']['commandParam']}),_0x553b58['editing']['view']['focus']();}),_0x1e95e3['children']['add'](_0x1b593c),_0xef87b9['items']['add'](_0x1e95e3);}return _0x12e2d3['panelView']['children']['add'](_0xef87b9),this['_attachCustomOptionVisibilityHandler'](_0x12e2d3,_0x5292e7,_0xef87b9),_0x12e2d3;});}['_attachCustomOptionVisibilityHandler'](_0x2ab97b,_0x6247d9,_0x191d5d){if(!this['_shouldRenderCustomValueOption']())return;const _0xbb9280=()=>{if(!_0x2ab97b['isOpen'])return;_0x191d5d['items']['last']['isVisible']=Boolean(_0x6247d9['last']['model']['isOn']);};_0xbb9280(),_0x2ab97b['on']('change:isOpen',()=>{_0xbb9280();});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x29e816,_0x3bb7b3){const _0x49a605=_0x4053,_0x51ba63=_0x29e816();while(!![]){try{const _0x436bf5=-parseInt(_0x49a605(0x13f))/0x1*(-parseInt(_0x49a605(0x14e))/0x2)+parseInt(_0x49a605(0x153))/0x3+-parseInt(_0x49a605(0x142))/0x4*(-parseInt(_0x49a605(0x150))/0x5)+parseInt(_0x49a605(0x140))/0x6+parseInt(_0x49a605(0x15a))/0x7+-parseInt(_0x49a605(0x14d))/0x8+-parseInt(_0x49a605(0x151))/0x9;if(_0x436bf5===_0x3bb7b3)break;else _0x51ba63['push'](_0x51ba63['shift']());}catch(_0x223325){_0x51ba63['push'](_0x51ba63['shift']());}}}(_0x3294,0xcb6e5));const v={get 'single'(){const _0x403de2=_0x4053;return{'title':_0x403de2(0x154),'model':_0x403de2(0x15e),'view':{'key':_0x403de2(0x144),'value':_0x403de2(0x159)}};},get 'double'(){const _0x7f119b=_0x4053;return{'title':_0x7f119b(0x14c),'model':_0x7f119b(0x149),'view':{'key':_0x7f119b(0x144),'value':_0x7f119b(0x158)}};}};export function isLineHeightDefaultValue(_0x253cdb){const _0x4052a2=_0x4053;return _0x4052a2(0x14b)==typeof _0x253cdb&&_0x4052a2(0x141)===_0x253cdb[_0x4052a2(0x152)]();}function _0x4053(_0x18b244,_0x1e43e2){const _0x32943a=_0x3294();return _0x4053=function(_0x405329,_0x1636a1){_0x405329=_0x405329-0x13f;let _0x33edb6=_0x32943a[_0x405329];return _0x33edb6;},_0x4053(_0x18b244,_0x1e43e2);}export function normalizeOptions(_0x1b2c23){const _0x4c1f1a=_0x4053;return _0x1b2c23[_0x4c1f1a(0x15b)][_0x4c1f1a(0x148)](_0xee7e09=>isLineHeightDefaultValue(_0xee7e09)?{'title':String(_0x1b2c23[_0x4c1f1a(0x15f)]),'model':_0x4c1f1a(0x141)}:(_0x4c1f1a(0x155)==typeof _0xee7e09&&(_0xee7e09=String(_0xee7e09)),_0x4c1f1a(0x14b)!=typeof _0xee7e09?_0xee7e09:parseFloat(_0xee7e09)?{'title':_0xee7e09,'model':_0xee7e09,'view':{'name':_0x4c1f1a(0x14f),'styles':{'line-height':_0xee7e09}}}:findPreset(_0xee7e09)))[_0x4c1f1a(0x145)](_0x4ecb5d=>void 0x0!==_0x4ecb5d);}function _0x3294(){const _0x1abee9=['defaultValue','40519yIgasi','147174bzwkLD','default','39004qJrwGH','model','class','filter','push','style','map','double','key','string','Double','13056768giuHle','62DIpaoj','span','625qLhFvC','11482722kbNlED','toLowerCase','3146778wBoxdq','Single','number','line-height:','view','line-height-double','line-height-single','1349516tdgrza','options','values','value','single'];_0x3294=function(){return _0x1abee9;};return _0x3294();}export function findPreset(_0x4c58b3){const _0x3e203a=_0x4053;return _0x3e203a(0x14b)==typeof _0x4c58b3?v[_0x4c58b3]:v[_0x4c58b3[_0x3e203a(0x143)]];}export function buildDefinition(_0x1413d7,_0x4861e7){const _0x3ddb68=_0x4053,_0x392607={'model':{'key':_0x1413d7,'values':[]},'view':{}};for(const _0x369c52 of _0x4861e7)_0x3ddb68(0x144)===_0x369c52[_0x3ddb68(0x157)]?.[_0x3ddb68(0x14a)]?(_0x392607[_0x3ddb68(0x143)][_0x3ddb68(0x15c)][_0x3ddb68(0x146)](_0x369c52[_0x3ddb68(0x143)]),_0x392607[_0x3ddb68(0x157)][_0x369c52[_0x3ddb68(0x143)]]={'key':_0x3ddb68(0x144),'value':_0x369c52[_0x3ddb68(0x157)][_0x3ddb68(0x15d)]}):(_0x392607[_0x3ddb68(0x143)][_0x3ddb68(0x15c)][_0x3ddb68(0x146)](_0x369c52[_0x3ddb68(0x143)]),_0x392607[_0x3ddb68(0x157)][_0x369c52[_0x3ddb68(0x143)]]={'key':_0x3ddb68(0x147),'value':_0x3ddb68(0x156)+_0x369c52[_0x3ddb68(0x143)]+';'});return _0x392607;}
23
+ (function(_0x302467,_0x1bd0fd){const _0x202a39=_0x2ffe,_0x3c676a=_0x302467();while(!![]){try{const _0x46ad6e=parseInt(_0x202a39(0x14e))/0x1*(parseInt(_0x202a39(0x14d))/0x2)+parseInt(_0x202a39(0x150))/0x3*(parseInt(_0x202a39(0x14f))/0x4)+parseInt(_0x202a39(0x134))/0x5*(parseInt(_0x202a39(0x144))/0x6)+-parseInt(_0x202a39(0x13b))/0x7+-parseInt(_0x202a39(0x149))/0x8+parseInt(_0x202a39(0x14a))/0x9+parseInt(_0x202a39(0x13d))/0xa;if(_0x46ad6e===_0x1bd0fd)break;else _0x3c676a['push'](_0x3c676a['shift']());}catch(_0x86832e){_0x3c676a['push'](_0x3c676a['shift']());}}}(_0x1589,0xb0315));const v={get 'single'(){const _0x4d54b1=_0x2ffe;return{'title':_0x4d54b1(0x151),'model':_0x4d54b1(0x153),'view':{'key':_0x4d54b1(0x141),'value':_0x4d54b1(0x132)}};},get 'double'(){const _0x35f127=_0x2ffe;return{'title':_0x35f127(0x13f),'model':_0x35f127(0x142),'view':{'key':_0x35f127(0x141),'value':_0x35f127(0x138)}};}};function _0x2ffe(_0x1e4357,_0xb9aafe){const _0x15890b=_0x1589();return _0x2ffe=function(_0x2ffeda,_0x61059c){_0x2ffeda=_0x2ffeda-0x132;let _0x419f12=_0x15890b[_0x2ffeda];return _0x419f12;},_0x2ffe(_0x1e4357,_0xb9aafe);}export function isLineHeightDefaultValue(_0x534e36){const _0x2bc283=_0x2ffe;return _0x2bc283(0x148)==typeof _0x534e36&&_0x2bc283(0x145)===_0x534e36[_0x2bc283(0x137)]();}function _0x1589(){const _0x7d76f4=['8849504QtIHeq','8272206DvGJkW','value','key','574898pcrkZO','1DPWPct','292wZYhsN','22227KQRndZ','Single','values','single','line-height-single','style','5swnfPg','options','model','toLowerCase','line-height-double','view','filter','5881981BMjBDY','defaultValue','1361240rLltYW','map','Double','number','class','double','span','4707552KFeSSp','default','line-height:','push','string'];_0x1589=function(){return _0x7d76f4;};return _0x1589();}export function normalizeOptions(_0x1a953e){const _0x233f20=_0x2ffe;return _0x1a953e[_0x233f20(0x135)][_0x233f20(0x13e)](_0x39dfc8=>isLineHeightDefaultValue(_0x39dfc8)?{'title':String(_0x1a953e[_0x233f20(0x13c)]),'model':_0x233f20(0x145)}:(_0x233f20(0x140)==typeof _0x39dfc8&&(_0x39dfc8=String(_0x39dfc8)),_0x233f20(0x148)!=typeof _0x39dfc8?_0x39dfc8:parseFloat(_0x39dfc8)?{'title':_0x39dfc8,'model':_0x39dfc8,'view':{'name':_0x233f20(0x143),'styles':{'line-height':_0x39dfc8}}}:findPreset(_0x39dfc8)))[_0x233f20(0x13a)](_0x4a3363=>void 0x0!==_0x4a3363);}export function findPreset(_0x5e4a9e){const _0x105665=_0x2ffe;return _0x105665(0x148)==typeof _0x5e4a9e?v[_0x5e4a9e]:v[_0x5e4a9e[_0x105665(0x136)]];}export function buildDefinition(_0x23d623,_0x4eff4c){const _0x44eacf=_0x2ffe,_0x251038={'model':{'key':_0x23d623,'values':[]},'view':{}};for(const _0x3a5652 of _0x4eff4c)_0x44eacf(0x141)===_0x3a5652[_0x44eacf(0x139)]?.[_0x44eacf(0x14c)]?(_0x251038[_0x44eacf(0x136)][_0x44eacf(0x152)][_0x44eacf(0x147)](_0x3a5652[_0x44eacf(0x136)]),_0x251038[_0x44eacf(0x139)][_0x3a5652[_0x44eacf(0x136)]]={'key':_0x44eacf(0x141),'value':_0x3a5652[_0x44eacf(0x139)][_0x44eacf(0x14b)]}):(_0x251038[_0x44eacf(0x136)][_0x44eacf(0x152)][_0x44eacf(0x147)](_0x3a5652[_0x44eacf(0x136)]),_0x251038[_0x44eacf(0x139)][_0x3a5652[_0x44eacf(0x136)]]={'key':_0x44eacf(0x133),'value':_0x44eacf(0x146)+_0x3a5652[_0x44eacf(0x136)]+';'});return _0x251038;}