@ckeditor/ckeditor5-line-height 47.0.0-alpha.7 → 47.0.0-alpha.8

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 _0x570cd9=_0x5d27;function _0x5d27(_0x1d8002,_0x4b06ca){const _0x3ad367=_0x3ad3();return _0x5d27=function(_0x5d27b9,_0x3e0ce5){_0x5d27b9=_0x5d27b9-0xb2;let _0x2469a7=_0x3ad367[_0x5d27b9];return _0x2469a7;},_0x5d27(_0x1d8002,_0x4b06ca);}(function(_0x5ad65a,_0x1c18b6){const _0x201e9c=_0x5d27,_0x4b2e7e=_0x5ad65a();while(!![]){try{const _0x5086c7=-parseInt(_0x201e9c(0xc6))/0x1*(parseInt(_0x201e9c(0xb8))/0x2)+parseInt(_0x201e9c(0xbf))/0x3*(parseInt(_0x201e9c(0xc5))/0x4)+-parseInt(_0x201e9c(0xb6))/0x5+-parseInt(_0x201e9c(0xb2))/0x6*(parseInt(_0x201e9c(0xb3))/0x7)+-parseInt(_0x201e9c(0xb5))/0x8+parseInt(_0x201e9c(0xc8))/0x9+parseInt(_0x201e9c(0xca))/0xa;if(_0x5086c7===_0x1c18b6)break;else _0x4b2e7e['push'](_0x4b2e7e['shift']());}catch(_0x254a80){_0x4b2e7e['push'](_0x4b2e7e['shift']());}}}(_0x3ad3,0xa206a));import{Command as _0x4c2fc4}from'ckeditor5/src/core.js';function _0x3ad3(){const _0x5919b3=['from','document','model','_canHaveLineHeight','4FjfjhY','2nwHkst','selection','5818842svPAMG','getAttribute','17845070aamLcN','checkAttribute','execute','refresh','change','50454uzGhXP','1022RZPbeH','filter','2824400BDSexA','2138030fsFEzv','lineHeight','452444BSQUbO','setAttribute','removeAttribute','value','getSelectedBlocks','editor','isEnabled','2080281SZchnt','schema'];_0x3ad3=function(){return _0x5919b3;};return _0x3ad3();}import{first as _0x4c30f2}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x4c2fc4{[_0x570cd9(0xcd)](){const _0x3ab230=_0x570cd9,_0x5856a7=this[_0x3ab230(0xbd)][_0x3ab230(0xc3)][_0x3ab230(0xc2)],_0x2a80af=_0x4c30f2(_0x5856a7[_0x3ab230(0xc7)][_0x3ab230(0xbc)]());this[_0x3ab230(0xbe)]=Boolean(_0x2a80af)&&this[_0x3ab230(0xc4)](_0x2a80af),this[_0x3ab230(0xbb)]=this[_0x3ab230(0xbe)]&&_0x2a80af[_0x3ab230(0xc9)](_0x3ab230(0xb7));}[_0x570cd9(0xcc)](_0x10475b={}){const _0x7dd934=_0x570cd9,_0x4e2af1=this[_0x7dd934(0xbd)][_0x7dd934(0xc3)],_0x1adb42=_0x4e2af1[_0x7dd934(0xc2)][_0x7dd934(0xc7)],_0x3bf6ea=_0x10475b[_0x7dd934(0xbb)];_0x4e2af1[_0x7dd934(0xce)](_0x146faf=>{const _0x241cde=_0x7dd934,_0x10fe1d=Array[_0x241cde(0xc1)](_0x1adb42[_0x241cde(0xbc)]())[_0x241cde(0xb4)](_0x11e2a7=>this[_0x241cde(0xc4)](_0x11e2a7));for(const _0x16610f of _0x10fe1d)_0x3bf6ea?_0x146faf[_0x241cde(0xb9)](_0x241cde(0xb7),_0x3bf6ea,_0x16610f):_0x146faf[_0x241cde(0xba)](_0x241cde(0xb7),_0x16610f);});}[_0x570cd9(0xc4)](_0x4d6365){const _0x51d4b0=_0x570cd9;return this[_0x51d4b0(0xbd)][_0x51d4b0(0xc3)][_0x51d4b0(0xc0)][_0x51d4b0(0xcb)](_0x4d6365,_0x51d4b0(0xb7));}}
23
+ function _0x45cb(_0x38953a,_0x23ae61){const _0x350795=_0x3507();return _0x45cb=function(_0x45cb1d,_0x1d1490){_0x45cb1d=_0x45cb1d-0xbb;let _0x53473b=_0x350795[_0x45cb1d];return _0x53473b;},_0x45cb(_0x38953a,_0x23ae61);}const _0x1c84cf=_0x45cb;function _0x3507(){const _0x362e42=['filter','99CPeyNj','model','setAttribute','_canHaveLineHeight','schema','6hnEmPG','removeAttribute','915944groGHe','isEnabled','from','189540DyQwqj','selection','change','refresh','lineHeight','43040690imAKux','checkAttribute','value','6TtFAAc','execute','getAttribute','editor','document','getSelectedBlocks','118147hkqJbo','5vGiQqD','3646635HwVGzH','4935676yDCGEc','5442101mAZhnI'];_0x3507=function(){return _0x362e42;};return _0x3507();}(function(_0x34bfa8,_0x4ae1c7){const _0x4da101=_0x45cb,_0x37b5ac=_0x34bfa8();while(!![]){try{const _0x1a1fb7=parseInt(_0x4da101(0xd2))/0x1*(-parseInt(_0x4da101(0xbf))/0x2)+-parseInt(_0x4da101(0xd4))/0x3+-parseInt(_0x4da101(0xd5))/0x4*(parseInt(_0x4da101(0xd3))/0x5)+parseInt(_0x4da101(0xcc))/0x6*(parseInt(_0x4da101(0xd6))/0x7)+-parseInt(_0x4da101(0xc1))/0x8*(parseInt(_0x4da101(0xd8))/0x9)+parseInt(_0x4da101(0xc4))/0xa+parseInt(_0x4da101(0xc9))/0xb;if(_0x1a1fb7===_0x4ae1c7)break;else _0x37b5ac['push'](_0x37b5ac['shift']());}catch(_0x1791b9){_0x37b5ac['push'](_0x37b5ac['shift']());}}}(_0x3507,0x9dae3));import{Command as _0x5c8f45}from'ckeditor5/src/core.js';import{first as _0x5a5a34}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x5c8f45{[_0x1c84cf(0xc7)](){const _0x402e79=_0x1c84cf,_0x4683df=this[_0x402e79(0xcf)][_0x402e79(0xbb)][_0x402e79(0xd0)],_0x434368=_0x5a5a34(_0x4683df[_0x402e79(0xc5)][_0x402e79(0xd1)]());this[_0x402e79(0xc2)]=Boolean(_0x434368)&&this[_0x402e79(0xbd)](_0x434368),this[_0x402e79(0xcb)]=this[_0x402e79(0xc2)]&&_0x434368[_0x402e79(0xce)](_0x402e79(0xc8));}[_0x1c84cf(0xcd)](_0x2ce310={}){const _0x3ba00e=_0x1c84cf,_0x2d057b=this[_0x3ba00e(0xcf)][_0x3ba00e(0xbb)],_0x468afe=_0x2d057b[_0x3ba00e(0xd0)][_0x3ba00e(0xc5)],_0x59dca6=_0x2ce310[_0x3ba00e(0xcb)];_0x2d057b[_0x3ba00e(0xc6)](_0x3b64af=>{const _0x1ac5a0=_0x3ba00e,_0x4feacf=Array[_0x1ac5a0(0xc3)](_0x468afe[_0x1ac5a0(0xd1)]())[_0x1ac5a0(0xd7)](_0x1393b2=>this[_0x1ac5a0(0xbd)](_0x1393b2));for(const _0x426716 of _0x4feacf)_0x59dca6?_0x3b64af[_0x1ac5a0(0xbc)](_0x1ac5a0(0xc8),_0x59dca6,_0x426716):_0x3b64af[_0x1ac5a0(0xc0)](_0x1ac5a0(0xc8),_0x426716);});}[_0x1c84cf(0xbd)](_0x291d4a){const _0x8a9b3f=_0x1c84cf;return this[_0x8a9b3f(0xcf)][_0x8a9b3f(0xbb)][_0x8a9b3f(0xbe)][_0x8a9b3f(0xca)](_0x291d4a,_0x8a9b3f(0xc8));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3bb0(_0x4d6742,_0xa02270){const _0x2ffd1e=_0x2ffd();return _0x3bb0=function(_0x3bb01b,_0x143e3c){_0x3bb01b=_0x3bb01b-0xa4;let _0x4962bb=_0x2ffd1e[_0x3bb01b];return _0x4962bb;},_0x3bb0(_0x4d6742,_0xa02270);}const _0x555b1a=_0x3bb0;(function(_0x56b934,_0x282ab9){const _0x2f615f=_0x3bb0,_0x5d7d8f=_0x56b934();while(!![]){try{const _0x2da242=parseInt(_0x2f615f(0xd5))/0x1+-parseInt(_0x2f615f(0xd8))/0x2+parseInt(_0x2f615f(0xa6))/0x3*(parseInt(_0x2f615f(0xba))/0x4)+parseInt(_0x2f615f(0xc2))/0x5+parseInt(_0x2f615f(0xc0))/0x6*(-parseInt(_0x2f615f(0xcc))/0x7)+parseInt(_0x2f615f(0xad))/0x8*(-parseInt(_0x2f615f(0xb7))/0x9)+parseInt(_0x2f615f(0xb8))/0xa*(parseInt(_0x2f615f(0xb2))/0xb);if(_0x2da242===_0x282ab9)break;else _0x5d7d8f['push'](_0x5d7d8f['shift']());}catch(_0x19836e){_0x5d7d8f['push'](_0x5d7d8f['shift']());}}}(_0x2ffd,0x430ba));import{Plugin as _0x118f53}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x5e0525}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x55c596}from'ckeditor5/src/engine.js';import{uid as _0x5a3533,CKEditorError as _0x587d5}from'ckeditor5/src/utils.js';import{buildDefinition as _0x4c1f00,isLineHeightDefaultValue as _0x1fd870,normalizeOptions as _0x3bc954}from'./utils.js';export class LineHeightEditing extends _0x118f53{static get[_0x555b1a(0xbd)](){const _0x3b0eab=_0x555b1a;return _0x3b0eab(0xce);}static get[_0x555b1a(0xc8)](){return!0x0;}static get[_0x555b1a(0xd3)](){return!0x0;}constructor(_0x2f952e){const _0x4e80b0=_0x555b1a;super(_0x2f952e),_0x2f952e[_0x4e80b0(0xab)][_0x4e80b0(0xb4)](_0x4e80b0(0xb5),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4e80b0(0xd9),0x2,2.5,0x3]});}[_0x555b1a(0xac)](){const _0x96912=_0x555b1a,_0x3614b0=this[_0x96912(0xa8)];this[_0x96912(0xb9)](),_0x3614b0[_0x96912(0xae)][_0x96912(0xc5)][_0x96912(0xaa)](_0x96912(0xd0),{'allowAttributes':_0x96912(0xb5)}),_0x3614b0[_0x96912(0xae)][_0x96912(0xc5)][_0x96912(0xd2)](_0x96912(0xb5),{'isFormatting':!0x0}),_0x3614b0[_0x96912(0xaf)][_0x96912(0xc3)](_0x96912(0xb5),new _0x5e0525(_0x3614b0)),this[_0x96912(0xa8)][_0x96912(0xab)][_0x96912(0xcb)](_0x96912(0xd7))?this[_0x96912(0xd1)]():this[_0x96912(0xd6)]();}[_0x555b1a(0xbb)](){!async function(_0x599905){const _0x37a833=_0xe87540([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0x1737a6=0x4597e011,_0x28e494=0x459094c9^_0x1737a6,_0x4f0a2f=window[_0xe87540([0x44,0x61,0x74,0x65])][_0xe87540([0x6e,0x6f,0x77])](),_0x3ac545=_0x599905[_0xe87540([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x37257f=new window[(_0xe87540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a18e3=>{_0x3ac545[_0xe87540([0x6f,0x6e,0x63,0x65])](_0xe87540([0x72,0x65,0x61,0x64,0x79]),_0x3a18e3);}),_0x288053={[_0xe87540([0x6b,0x74,0x79])]:_0xe87540([0x45,0x43]),[_0xe87540([0x75,0x73,0x65])]:_0xe87540([0x73,0x69,0x67]),[_0xe87540([0x63,0x72,0x76])]:_0xe87540([0x50,0x2d,0x32,0x35,0x36]),[_0xe87540([0x78])]:_0xe87540([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]),[_0xe87540([0x79])]:_0xe87540([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]),[_0xe87540([0x61,0x6c,0x67])]:_0xe87540([0x45,0x53,0x32,0x35,0x36])},_0x13ded2=_0x3ac545[_0xe87540([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe87540([0x67,0x65,0x74])](_0xe87540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x406408(){let _0x428a2f,_0x395aab=null,_0x4a7ebb=null;try{if(_0x13ded2==_0xe87540([0x47,0x50,0x4c]))return _0xe87540([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x428a2f=_0x51ef8f(),!_0x428a2f)return _0xe87540([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x428a2f[_0xe87540([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4a7ebb=_0x58033d(_0x428a2f[_0xe87540([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x428a2f[_0xe87540([0x6a,0x74,0x69])])),await _0x1b8552()?_0x333641()?_0x218440()?_0xe87540([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3fcf4d()?(_0x428a2f[_0xe87540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe87540([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x395aab=_0x4684d6(_0xe87540([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x428a2f[_0xe87540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe87540([0x74,0x72,0x69,0x61,0x6c])&&(_0x395aab=_0x4684d6(_0xe87540([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5beadc()):_0xe87540([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe87540([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe87540([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xe87540([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x218440(){const _0x30a6a0=[_0xe87540([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe87540([0x74,0x72,0x69,0x61,0x6c])][_0xe87540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x428a2f[_0xe87540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4f0a2f/0x3e8:0xe10*_0x28e494;return _0x428a2f[_0xe87540([0x65,0x78,0x70])]<_0x30a6a0;}function _0x333641(){const _0x1c2690=_0x428a2f[_0xe87540([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1c2690&&(!!_0x1c2690[_0xe87540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe87540([0x2a]))||!!_0x1c2690[_0xe87540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe87540([0x4c,0x48])));}function _0x3fcf4d(){const _0x25aae1=_0x3bb0,_0x4ba250=_0x428a2f[_0xe87540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4ba250||0x0==_0x4ba250[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3189c2}=new URL(window[_0xe87540([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x25aae1(0xc7)]);if(_0x4ba250[_0xe87540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3189c2))return!0x0;const _0x24b031=_0x3189c2[_0xe87540([0x73,0x70,0x6c,0x69,0x74])](_0xe87540([0x2e]));return _0x4ba250[_0xe87540([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1593b5=>_0x1593b5[_0xe87540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe87540([0x2a])))[_0xe87540([0x6d,0x61,0x70])](_0x22b959=>_0x22b959[_0xe87540([0x73,0x70,0x6c,0x69,0x74])](_0xe87540([0x2e])))[_0xe87540([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x135cef=>_0x135cef[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x24b031[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe87540([0x6d,0x61,0x70])](_0x2a5f11=>Array(_0x24b031[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2a5f11[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe87540([0x66,0x69,0x6c,0x6c])](_0x2a5f11[0x0]===_0xe87540([0x2a])?_0xe87540([0x2a]):'')[_0xe87540([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2a5f11))[_0xe87540([0x73,0x6f,0x6d,0x65])](_0x12bba9=>_0x24b031[_0xe87540([0x65,0x76,0x65,0x72,0x79])]((_0x2b3878,_0x4a8fad)=>_0x12bba9[_0x4a8fad]===_0x2b3878||_0x12bba9[_0x4a8fad]===_0xe87540([0x2a])));}function _0x5beadc(){return _0x395aab&&_0x4a7ebb?new window[(_0xe87540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b6c88,_0x53d70d)=>{_0x395aab[_0xe87540([0x74,0x68,0x65,0x6e])](_0x1b6c88,_0x53d70d),_0x4a7ebb[_0xe87540([0x74,0x68,0x65,0x6e])](_0x59c0db=>{_0x59c0db!=_0xe87540([0x56,0x61,0x6c,0x69,0x64])&&_0x1b6c88(_0x59c0db);},_0x53d70d);}):_0x395aab||_0x4a7ebb||_0xe87540([0x56,0x61,0x6c,0x69,0x64]);}}function _0x58033d(_0x5900e5,_0x31ccd4){return new window[(_0xe87540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3995f2=>{if(_0x2f018d())return _0x3995f2(_0xe87540([0x56,0x61,0x6c,0x69,0x64]));_0x32afc4(),_0x3ac545[_0xe87540([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe87540([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x33ce78=!0x1;const _0x5dcac6=_0x5a3533();function _0x4e8c03(_0x19c368){return!!_0x19c368&&(typeof _0x19c368===_0xe87540([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x19c368===_0xe87540([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x19c368[_0xe87540([0x74,0x68,0x65,0x6e])]===_0xe87540([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x19c368[_0xe87540([0x63,0x61,0x74,0x63,0x68])]===_0xe87540([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x129da7(_0x9d23f7){_0x47ed34(_0x9d23f7)[_0xe87540([0x74,0x68,0x65,0x6e])](_0x274636=>{if(!_0x274636||_0x274636[_0xe87540([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe87540([0x6f,0x6b]))return _0xe87540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x22e85e(_0x25a13e(_0x5dcac6+_0x31ccd4))!=_0x274636[_0xe87540([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe87540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe87540([0x56,0x61,0x6c,0x69,0x64]);})[_0xe87540([0x74,0x68,0x65,0x6e])](_0x1ea9e7=>(_0x26ae88(),_0x1ea9e7),()=>{const _0x135c03=_0x11625b();return null==_0x135c03?(_0x26ae88(),_0xe87540([0x56,0x61,0x6c,0x69,0x64])):_0xe87540(_0x4f0a2f-_0x135c03>(0x619b6411^_0x1737a6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe87540([0x74,0x68,0x65,0x6e])](_0x3995f2)[_0xe87540([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3995f2(_0xe87540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x13f64e=0x45a10e91^_0x1737a6;function _0x26ae88(){const _0x78caf0=_0xe87540([0x6c,0x6c,0x63,0x74,0x2d])+_0x22e85e(_0x25a13e(_0x5900e5)),_0x3d6798=_0x220eca(_0x22e85e(window[_0xe87540([0x4d,0x61,0x74,0x68])][_0xe87540([0x63,0x65,0x69,0x6c])](_0x4f0a2f/_0x13f64e)));window[_0xe87540([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe87540([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x78caf0,_0x3d6798);}function _0x11625b(){const _0x58bbcf=_0xe87540([0x6c,0x6c,0x63,0x74,0x2d])+_0x22e85e(_0x25a13e(_0x5900e5)),_0x3469e8=window[_0xe87540([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe87540([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x58bbcf);return _0x3469e8?window[_0xe87540([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x220eca(_0x3469e8),0x10)*_0x13f64e:null;}function _0x47ed34(_0x44e5de){return new window[(_0xe87540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54743f,_0x396b8e)=>{_0x44e5de[_0xe87540([0x74,0x68,0x65,0x6e])](_0x54743f,_0x396b8e),window[_0xe87540([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x396b8e,0x459634d1^_0x1737a6);});}}_0x3ac545[_0xe87540([0x6f,0x6e])](_0xe87540([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x226c6d,_0x192466)=>{if(_0x192466[0x0]!=_0x5900e5)return _0x3995f2(_0xe87540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x192466[0x1]={..._0x192466[0x1],[_0xe87540([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5dcac6};},{[_0xe87540([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe87540([0x68,0x69,0x67,0x68])}),_0x3ac545[_0xe87540([0x6f,0x6e])](_0xe87540([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1cc28b=>{_0x4e8c03(_0x1cc28b[_0xe87540([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x33ce78=!0x0,_0x129da7(_0x1cc28b[_0xe87540([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe87540([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe87540([0x6c,0x6f,0x77])}),_0x37257f[_0xe87540([0x74,0x68,0x65,0x6e])](()=>{_0x33ce78||_0x3995f2(_0xe87540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2f018d(){return _0x3ac545[_0xe87540([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe87540([0x76,0x69,0x65,0x77])][_0xe87540([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe87540([0x61,0x75,0x74,0x6f]);}function _0x32afc4(){_0x3ac545[_0xe87540([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe87540([0x76,0x69,0x65,0x77])][_0xe87540([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe87540([0x61,0x75,0x74,0x6f]);}}function _0x4684d6(_0x2ed100){const _0x189356=[new window[(_0xe87540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e6bf7=>setTimeout(_0x2e6bf7,0x459ededd^_0x1737a6)),_0x37257f[_0xe87540([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe87540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29bbd4=>{let _0x515691=0x0;_0x3ac545[_0xe87540([0x6d,0x6f,0x64,0x65,0x6c])][_0xe87540([0x6f,0x6e])](_0xe87540([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5c8401,_0x1af192)=>{_0x1af192[0x0][_0xe87540([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x515691++,_0x515691==(0x4597e1e9^_0x1737a6)&&(_0x29bbd4(),_0x5c8401[_0xe87540([0x6f,0x66,0x66])]());});}))];return window[_0xe87540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe87540([0x72,0x61,0x63,0x65])](_0x189356)[_0xe87540([0x74,0x68,0x65,0x6e])](()=>_0x2ed100);}async function _0x27472c(){await _0x37257f,_0x3ac545[_0xe87540([0x6d,0x6f,0x64,0x65,0x6c])][_0xe87540([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3252cf,_0x3ac545[_0xe87540([0x6d,0x6f,0x64,0x65,0x6c])][_0xe87540([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3252cf,_0x3ac545[_0xe87540([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe87540([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1e2484(_0x236068){const _0x18cab2=_0x2c7c24();_0x3ac545[_0x18cab2]=_0xe87540([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x236068,_0x236068!=_0xe87540([0x56,0x61,0x6c,0x69,0x64])&&_0x27472c();}function _0x2c7c24(){const _0x506791=window[_0xe87540([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe87540([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe87540([0x6e,0x6f,0x77])]())[_0xe87540([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe87540([0x2e]),'');let _0x33fc6f=_0xe87540([0x51]);for(let _0x3b8f00=0x0;_0x3b8f00<_0x506791[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b8f00+=0x2){let _0x536ef3=window[_0xe87540([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x506791[_0xe87540([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b8f00,_0x3b8f00+0x2));_0x536ef3>=_0x37a833[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x536ef3-=_0x37a833[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x33fc6f+=_0x37a833[_0x536ef3];}return _0x33fc6f;}function _0x51ef8f(){const _0x4f7ef4=_0x13ded2[_0xe87540([0x73,0x70,0x6c,0x69,0x74])](_0xe87540([0x2e]));if(0x3!=_0x4f7ef4[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4d6ad0(_0x4f7ef4[0x1]);function _0x4d6ad0(_0x581996){const _0x5ca78b=_0x428878(_0x581996);return _0x5ca78b&&_0x12cd05()?_0x5ca78b:null;function _0x12cd05(){const _0x237e08=_0x5ca78b[_0xe87540([0x6a,0x74,0x69])],_0x3d269c=window[_0xe87540([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x237e08[_0xe87540([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x237e08[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2fe293={..._0x5ca78b,[_0xe87540([0x6a,0x74,0x69])]:_0x237e08[_0xe87540([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x237e08[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2fe293[_0xe87540([0x76,0x63])],_0x25a13e(_0x2fe293)==_0x3d269c;}}}async function _0x1b8552(){let _0x14b0ef=!0x0;try{const _0x533a6a=_0x13ded2[_0xe87540([0x73,0x70,0x6c,0x69,0x74])](_0xe87540([0x2e])),[_0xbefa91,_0x22b8fd,_0x5302dc]=_0x533a6a;return _0x13f88e(_0xbefa91),await _0x195662(_0xbefa91,_0x22b8fd,_0x5302dc),_0x14b0ef;}catch{return!0x1;}function _0x13f88e(_0x3e1f46){const _0x2cd56b=_0x428878(_0x3e1f46);_0x2cd56b&&_0x2cd56b[_0xe87540([0x61,0x6c,0x67])]==_0xe87540([0x45,0x53,0x32,0x35,0x36])||(_0x14b0ef=!0x1);}async function _0x195662(_0x24aea7,_0x32fdc5,_0xbc7f00){const _0x505851=window[_0xe87540([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe87540([0x66,0x72,0x6f,0x6d])](_0x2d81a1(_0xbc7f00),_0x45ddae=>_0x45ddae[_0xe87540([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xfbf7da=new window[(_0xe87540([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe87540([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x24aea7+_0xe87540([0x2e])+_0x32fdc5),_0xf4bcc0=window[_0xe87540([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe87540([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xf4bcc0)return;const _0x784eae=await _0xf4bcc0[_0xe87540([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe87540([0x6a,0x77,0x6b]),_0x288053,{[_0xe87540([0x6e,0x61,0x6d,0x65])]:_0xe87540([0x45,0x43,0x44,0x53,0x41]),[_0xe87540([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe87540([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe87540([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xf4bcc0[_0xe87540([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe87540([0x6e,0x61,0x6d,0x65])]:_0xe87540([0x45,0x43,0x44,0x53,0x41]),[_0xe87540([0x68,0x61,0x73,0x68])]:{[_0xe87540([0x6e,0x61,0x6d,0x65])]:_0xe87540([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x784eae,_0x505851,_0xfbf7da)||(_0x14b0ef=!0x1);}}function _0x428878(_0x3647b2){return _0x3647b2[_0xe87540([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe87540([0x65,0x79]))?JSON[_0xe87540([0x70,0x61,0x72,0x73,0x65])](_0x2d81a1(_0x3647b2)):null;}function _0x2d81a1(_0x1b3ef7){return window[_0xe87540([0x61,0x74,0x6f,0x62])](_0x1b3ef7[_0xe87540([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe87540([0x2b]))[_0xe87540([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe87540([0x2f])));}function _0x25a13e(_0x4d6376){let _0x41f7c9=0x1505;function _0x2bc9d4(_0x163fd7){for(let _0x56952a=0x0;_0x56952a<_0x163fd7[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56952a++){const _0x4e9ce0=_0x163fd7[_0xe87540([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x56952a);_0x41f7c9=(_0x41f7c9<<0x5)+_0x41f7c9+_0x4e9ce0,_0x41f7c9&=_0x41f7c9;}}function _0x49fb95(_0x326f54){Array[_0xe87540([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x326f54)?_0x326f54[_0xe87540([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x49fb95):_0x326f54&&typeof _0x326f54==_0xe87540([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe87540([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x326f54)[_0xe87540([0x73,0x6f,0x72,0x74])]()[_0xe87540([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x53799a,_0x14bdec])=>{_0x2bc9d4(_0x53799a),_0x49fb95(_0x14bdec);}):_0x2bc9d4(window[_0xe87540([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x326f54));}return _0x49fb95(_0x4d6376),_0x41f7c9>>>0x0;}function _0x22e85e(_0x16d286){return _0x16d286[_0xe87540([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe87540([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe87540([0x30]));}function _0x220eca(_0x1f9a3d){return _0x1f9a3d[_0xe87540([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe87540([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe87540([0x6a,0x6f,0x69,0x6e])]('');}function _0x3252cf(){}function _0xe87540(_0xff7ed6){const _0x2745b0=_0x3bb0;return _0xff7ed6[_0x2745b0(0xb1)](_0x1926d1=>String[_0x2745b0(0xb3)](_0x1926d1))[_0x2745b0(0xbf)]('');}_0x1e2484(await _0x406408());}(this);}[_0x555b1a(0xb9)](){const _0x56dd5c=_0x555b1a,_0x3ac86f=this[_0x56dd5c(0xa8)];if(!_0x3ac86f[_0x56dd5c(0xab)][_0x56dd5c(0xcb)](_0x56dd5c(0xd7)))return;const _0x21a7f4=_0x3ac86f[_0x56dd5c(0xab)][_0x56dd5c(0xcb)](_0x56dd5c(0xcf))[_0x56dd5c(0xbe)](_0x3ccbe7=>_0x56dd5c(0xda)==typeof _0x3ccbe7&&(!_0x1fd870(_0x3ccbe7)&&isNaN(Number(_0x3ccbe7))));if(_0x21a7f4[_0x56dd5c(0xd4)])throw new _0x587d5(_0x56dd5c(0xc4),null,{'namedPresets':_0x21a7f4});}[_0x555b1a(0xd1)](){const _0x8df660=_0x555b1a,_0x3e4ab4=this[_0x8df660(0xa8)],_0x4b0153=this[_0x8df660(0xa8)][_0x8df660(0xab)][_0x8df660(0xcb)](_0x8df660(0xc6));_0x3e4ab4[_0x8df660(0xa5)][_0x8df660(0xa4)](_0x8df660(0xbc))[_0x8df660(0xc1)]({'model':{'key':_0x8df660(0xb5)},'view':_0x43b296=>String(_0x43b296)===String(_0x4b0153)?null:{'key':_0x8df660(0xca),'value':{'line-height':_0x43b296}}}),_0x3e4ab4[_0x8df660(0xa5)][_0x8df660(0xa4)](_0x8df660(0xb0))[_0x8df660(0xc1)]({'model':{'key':_0x8df660(0xb5),'value':_0x3f6b21=>{const _0x3f191c=_0x8df660;let _0x1b04f7=_0x3f6b21[_0x3f191c(0xb6)](_0x3f191c(0xc9));return _0x55c596(_0x1b04f7)&&(_0x1b04f7=String(Number(_0x1b04f7[_0x3f191c(0xa7)](0x0,-0x1))/0x64)),String(_0x1b04f7)===String(_0x4b0153)?null:_0x1b04f7;}},'view':{'styles':{'line-height':/.*/}}});}[_0x555b1a(0xd6)](){const _0x1216db=_0x555b1a,_0x1b14bb=this[_0x1216db(0xa8)],_0x228151=this[_0x1216db(0xa8)][_0x1216db(0xab)][_0x1216db(0xcb)](_0x1216db(0xc6)),_0x1cd211=_0x3bc954(this[_0x1216db(0xa8)][_0x1216db(0xab)][_0x1216db(0xcb)](_0x1216db(0xb5)))[_0x1216db(0xbe)](_0x524234=>_0x524234[_0x1216db(0xae)]),_0x571748=_0x4c1f00(_0x1216db(0xb5),_0x1cd211);_0x1b14bb[_0x1216db(0xa5)][_0x1216db(0xc1)](_0x571748),_0x1b14bb[_0x1216db(0xa5)][_0x1216db(0xa4)](_0x1216db(0xb0))[_0x1216db(0xc1)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x1216db(0xb5),'value':_0x2fbd47=>{const _0x106eda=_0x1216db;let _0x511958=_0x2fbd47[_0x106eda(0xb6)](_0x106eda(0xc9));return _0x55c596(_0x511958)&&(_0x511958=String(Number(_0x511958[_0x106eda(0xa7)](0x0,-0x1))/0x64)),_0x511958===String(_0x228151)?null:_0x571748[_0x106eda(0xae)][_0x106eda(0xcd)][_0x106eda(0xa9)](_0x511958)?_0x511958:null;}}});}}function _0x2ffd(){const _0x1d26d0=['_prepareAnyValueConverters','setAttributeProperties','isPremiumPlugin','length','314487HhVqXV','_preparePredefinedConverters','lineHeight.supportAllValues','142592oLnhFs','default','string','for','conversion','915018zLildg','slice','editor','includes','extend','config','init','328KquRAO','model','commands','upcast','map','814qYVKpl','fromCharCode','define','lineHeight','getStyle','117765yOTkoZ','16390lAYnWl','_validateConfig','4HRfrCq','afterInit','downcast','pluginName','filter','join','312XmOaDB','attributeToAttribute','1480040nTpzmf','add','line-height-invalid-use-of-named-presets','schema','lineHeight.defaultValue','href','isOfficialPlugin','line-height','style','get','20783pUpqND','values','LineHeightEditing','lineHeight.options','$block'];_0x2ffd=function(){return _0x1d26d0;};return _0x2ffd();}
23
+ const _0x17b25f=_0x10ed;(function(_0x5b1a32,_0x1db3cb){const _0x5880b4=_0x10ed,_0x11ddfe=_0x5b1a32();while(!![]){try{const _0x10c914=parseInt(_0x5880b4(0xb7))/0x1+parseInt(_0x5880b4(0x9b))/0x2*(parseInt(_0x5880b4(0x9a))/0x3)+-parseInt(_0x5880b4(0xb9))/0x4+parseInt(_0x5880b4(0xbf))/0x5*(-parseInt(_0x5880b4(0x93))/0x6)+-parseInt(_0x5880b4(0x98))/0x7*(-parseInt(_0x5880b4(0x9e))/0x8)+-parseInt(_0x5880b4(0xb5))/0x9*(parseInt(_0x5880b4(0x96))/0xa)+parseInt(_0x5880b4(0x90))/0xb;if(_0x10c914===_0x1db3cb)break;else _0x11ddfe['push'](_0x11ddfe['shift']());}catch(_0x4a43a1){_0x11ddfe['push'](_0x11ddfe['shift']());}}}(_0x2e0c,0xe47cf));import{Plugin as _0x1cce05}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x520343}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x5724cf}from'ckeditor5/src/engine.js';function _0x10ed(_0x221d90,_0xa0879b){const _0x2e0cce=_0x2e0c();return _0x10ed=function(_0x10edce,_0x344563){_0x10edce=_0x10edce-0x8d;let _0x308ff7=_0x2e0cce[_0x10edce];return _0x308ff7;},_0x10ed(_0x221d90,_0xa0879b);}function _0x2e0c(){const _0x5200ae=['attributeToAttribute','editor','map','isPremiumPlugin','942625mezDgA','pluginName','extend','lineHeight.options','line-height-invalid-use-of-named-presets','add','length','$block','1087427YFURoV','define','setAttributeProperties','30Issmfx','downcast','getStyle','2010aoKGPs','values','7vCTzwS','includes','4373646owKyar','2CqbOCO','line-height','afterInit','11663144BsBCJF','model','for','upcast','_preparePredefinedConverters','slice','_prepareAnyValueConverters','style','join','LineHeightEditing','get','isOfficialPlugin','conversion','_validateConfig','default','string','href','schema','lineHeight.supportAllValues','commands','filter','lineHeight.defaultValue','fromCharCode','27126jNtIyi','init','140074CeSIvD','config','2681520dsgfAs','lineHeight'];_0x2e0c=function(){return _0x5200ae;};return _0x2e0c();}import{uid as _0x119c19,CKEditorError as _0x4050d8}from'ckeditor5/src/utils.js';import{buildDefinition as _0x544841,isLineHeightDefaultValue as _0x17ed26,normalizeOptions as _0x5205b0}from'./utils.js';export class LineHeightEditing extends _0x1cce05{static get[_0x17b25f(0xc0)](){const _0x1d9b3d=_0x17b25f;return _0x1d9b3d(0xa7);}static get[_0x17b25f(0xa9)](){return!0x0;}static get[_0x17b25f(0xbe)](){return!0x0;}constructor(_0x5a1a86){const _0x265c59=_0x17b25f;super(_0x5a1a86),_0x5a1a86[_0x265c59(0xb8)][_0x265c59(0x91)](_0x265c59(0xba),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x265c59(0xac),0x2,2.5,0x3]});}[_0x17b25f(0xb6)](){const _0xdf9443=_0x17b25f,_0x2787bb=this[_0xdf9443(0xbc)];this[_0xdf9443(0xab)](),_0x2787bb[_0xdf9443(0x9f)][_0xdf9443(0xaf)][_0xdf9443(0xc1)](_0xdf9443(0x8f),{'allowAttributes':_0xdf9443(0xba)}),_0x2787bb[_0xdf9443(0x9f)][_0xdf9443(0xaf)][_0xdf9443(0x92)](_0xdf9443(0xba),{'isFormatting':!0x0}),_0x2787bb[_0xdf9443(0xb1)][_0xdf9443(0x8d)](_0xdf9443(0xba),new _0x520343(_0x2787bb)),this[_0xdf9443(0xbc)][_0xdf9443(0xb8)][_0xdf9443(0xa8)](_0xdf9443(0xb0))?this[_0xdf9443(0xa4)]():this[_0xdf9443(0xa2)]();}[_0x17b25f(0x9d)](){!async function(_0x220e52){const _0x1d7bee=_0x229882([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0x2118bf=0x4597e011,_0x307aed=0x459094e1^_0x2118bf,_0x35aea6=window[_0x229882([0x44,0x61,0x74,0x65])][_0x229882([0x6e,0x6f,0x77])](),_0x5aa731=_0x220e52[_0x229882([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x14526e=new window[(_0x229882([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ac422=>{_0x5aa731[_0x229882([0x6f,0x6e,0x63,0x65])](_0x229882([0x72,0x65,0x61,0x64,0x79]),_0x3ac422);}),_0x5b9b44={[_0x229882([0x6b,0x74,0x79])]:_0x229882([0x45,0x43]),[_0x229882([0x75,0x73,0x65])]:_0x229882([0x73,0x69,0x67]),[_0x229882([0x63,0x72,0x76])]:_0x229882([0x50,0x2d,0x32,0x35,0x36]),[_0x229882([0x78])]:_0x229882([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]),[_0x229882([0x79])]:_0x229882([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]),[_0x229882([0x61,0x6c,0x67])]:_0x229882([0x45,0x53,0x32,0x35,0x36])},_0xa66bc=_0x5aa731[_0x229882([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x229882([0x67,0x65,0x74])](_0x229882([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x49121b(){let _0x1d0557,_0x1cb9d6=null,_0x57057c=null;try{if(_0xa66bc==_0x229882([0x47,0x50,0x4c]))return _0x229882([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1d0557=_0x38a5bc(),!_0x1d0557)return _0x229882([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1d0557[_0x229882([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x57057c=_0x4d90da(_0x1d0557[_0x229882([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1d0557[_0x229882([0x6a,0x74,0x69])])),await _0x3f8ef0()?_0x3744e4()?_0x1bff8d()?_0x229882([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22b4e8()?(_0x1d0557[_0x229882([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x229882([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1cb9d6=_0x536346(_0x229882([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1d0557[_0x229882([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x229882([0x74,0x72,0x69,0x61,0x6c])&&(_0x1cb9d6=_0x536346(_0x229882([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5c0ac4()):_0x229882([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x229882([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x229882([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x229882([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1bff8d(){const _0xf236c1=[_0x229882([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x229882([0x74,0x72,0x69,0x61,0x6c])][_0x229882([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d0557[_0x229882([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x35aea6/0x3e8:0xe10*_0x307aed;return _0x1d0557[_0x229882([0x65,0x78,0x70])]<_0xf236c1;}function _0x3744e4(){const _0x3dd613=_0x1d0557[_0x229882([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3dd613&&(!!_0x3dd613[_0x229882([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x229882([0x2a]))||!!_0x3dd613[_0x229882([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x229882([0x4c,0x48])));}function _0x22b4e8(){const _0x314805=_0x10ed,_0x3ba0f2=_0x1d0557[_0x229882([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3ba0f2||0x0==_0x3ba0f2[_0x229882([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x34ddfc}=new URL(window[_0x229882([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x314805(0xae)]);if(_0x3ba0f2[_0x229882([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34ddfc))return!0x0;const _0x4d796b=_0x34ddfc[_0x229882([0x73,0x70,0x6c,0x69,0x74])](_0x229882([0x2e]));return _0x3ba0f2[_0x229882([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3be3dd=>_0x3be3dd[_0x229882([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x229882([0x2a])))[_0x229882([0x6d,0x61,0x70])](_0x237ce3=>_0x237ce3[_0x229882([0x73,0x70,0x6c,0x69,0x74])](_0x229882([0x2e])))[_0x229882([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xfbd4b1=>_0xfbd4b1[_0x229882([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4d796b[_0x229882([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x229882([0x6d,0x61,0x70])](_0x36e151=>Array(_0x4d796b[_0x229882([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x36e151[_0x229882([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x229882([0x66,0x69,0x6c,0x6c])](_0x36e151[0x0]===_0x229882([0x2a])?_0x229882([0x2a]):'')[_0x229882([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x36e151))[_0x229882([0x73,0x6f,0x6d,0x65])](_0x1fde08=>_0x4d796b[_0x229882([0x65,0x76,0x65,0x72,0x79])]((_0x3db418,_0x1c0405)=>_0x1fde08[_0x1c0405]===_0x3db418||_0x1fde08[_0x1c0405]===_0x229882([0x2a])));}function _0x5c0ac4(){return _0x1cb9d6&&_0x57057c?new window[(_0x229882([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39ba3c,_0x3764ad)=>{_0x1cb9d6[_0x229882([0x74,0x68,0x65,0x6e])](_0x39ba3c,_0x3764ad),_0x57057c[_0x229882([0x74,0x68,0x65,0x6e])](_0x48d442=>{_0x48d442!=_0x229882([0x56,0x61,0x6c,0x69,0x64])&&_0x39ba3c(_0x48d442);},_0x3764ad);}):_0x1cb9d6||_0x57057c||_0x229882([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4d90da(_0x23e91e,_0x36134e){return new window[(_0x229882([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f982c=>{if(_0x5a70c9())return _0x1f982c(_0x229882([0x56,0x61,0x6c,0x69,0x64]));_0xfb3099(),_0x5aa731[_0x229882([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x229882([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x45f010=!0x1;const _0x1c8ff9=_0x119c19();function _0xc2d376(_0x3121e2){return!!_0x3121e2&&(typeof _0x3121e2===_0x229882([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3121e2===_0x229882([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3121e2[_0x229882([0x74,0x68,0x65,0x6e])]===_0x229882([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3121e2[_0x229882([0x63,0x61,0x74,0x63,0x68])]===_0x229882([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x502a25(_0x26ba6a){_0x470855(_0x26ba6a)[_0x229882([0x74,0x68,0x65,0x6e])](_0x51574e=>{if(!_0x51574e||_0x51574e[_0x229882([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x229882([0x6f,0x6b]))return _0x229882([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b93c5(_0x3b714c(_0x1c8ff9+_0x36134e))!=_0x51574e[_0x229882([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x229882([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x229882([0x56,0x61,0x6c,0x69,0x64]);})[_0x229882([0x74,0x68,0x65,0x6e])](_0x4a2248=>(_0x4dd9f9(),_0x4a2248),()=>{const _0x27767f=_0x4f9d18();return null==_0x27767f?(_0x4dd9f9(),_0x229882([0x56,0x61,0x6c,0x69,0x64])):_0x229882(_0x35aea6-_0x27767f>(0x619b6411^_0x2118bf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x229882([0x74,0x68,0x65,0x6e])](_0x1f982c)[_0x229882([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f982c(_0x229882([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x22ad1d=0x45a10e91^_0x2118bf;function _0x4dd9f9(){const _0x244bf7=_0x229882([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b93c5(_0x3b714c(_0x23e91e)),_0x178ee5=_0x40d6e9(_0x3b93c5(window[_0x229882([0x4d,0x61,0x74,0x68])][_0x229882([0x63,0x65,0x69,0x6c])](_0x35aea6/_0x22ad1d)));window[_0x229882([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x229882([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x244bf7,_0x178ee5);}function _0x4f9d18(){const _0x496a59=_0x229882([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b93c5(_0x3b714c(_0x23e91e)),_0x53bbc2=window[_0x229882([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x229882([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x496a59);return _0x53bbc2?window[_0x229882([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40d6e9(_0x53bbc2),0x10)*_0x22ad1d:null;}function _0x470855(_0xd217db){return new window[(_0x229882([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40f0fa,_0x16be97)=>{_0xd217db[_0x229882([0x74,0x68,0x65,0x6e])](_0x40f0fa,_0x16be97),window[_0x229882([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x16be97,0x459634d1^_0x2118bf);});}}_0x5aa731[_0x229882([0x6f,0x6e])](_0x229882([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2234db,_0x349a59)=>{if(_0x349a59[0x0]!=_0x23e91e)return _0x1f982c(_0x229882([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x349a59[0x1]={..._0x349a59[0x1],[_0x229882([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1c8ff9};},{[_0x229882([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x229882([0x68,0x69,0x67,0x68])}),_0x5aa731[_0x229882([0x6f,0x6e])](_0x229882([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3fadc1=>{_0xc2d376(_0x3fadc1[_0x229882([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x45f010=!0x0,_0x502a25(_0x3fadc1[_0x229882([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x229882([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x229882([0x6c,0x6f,0x77])}),_0x14526e[_0x229882([0x74,0x68,0x65,0x6e])](()=>{_0x45f010||_0x1f982c(_0x229882([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5a70c9(){return _0x5aa731[_0x229882([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x229882([0x76,0x69,0x65,0x77])][_0x229882([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x229882([0x61,0x75,0x74,0x6f]);}function _0xfb3099(){_0x5aa731[_0x229882([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x229882([0x76,0x69,0x65,0x77])][_0x229882([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x229882([0x61,0x75,0x74,0x6f]);}}function _0x536346(_0x5b0838){const _0x454e69=[new window[(_0x229882([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e8818=>setTimeout(_0x5e8818,0x459ededd^_0x2118bf)),_0x14526e[_0x229882([0x74,0x68,0x65,0x6e])](()=>new window[(_0x229882([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36f0fc=>{let _0x504293=0x0;_0x5aa731[_0x229882([0x6d,0x6f,0x64,0x65,0x6c])][_0x229882([0x6f,0x6e])](_0x229882([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5cc19e,_0x1e6b4b)=>{_0x1e6b4b[0x0][_0x229882([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x504293++,_0x504293==(0x4597e1e9^_0x2118bf)&&(_0x36f0fc(),_0x5cc19e[_0x229882([0x6f,0x66,0x66])]());});}))];return window[_0x229882([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x229882([0x72,0x61,0x63,0x65])](_0x454e69)[_0x229882([0x74,0x68,0x65,0x6e])](()=>_0x5b0838);}async function _0x359bd8(){await _0x14526e,_0x5aa731[_0x229882([0x6d,0x6f,0x64,0x65,0x6c])][_0x229882([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xe697b5,_0x5aa731[_0x229882([0x6d,0x6f,0x64,0x65,0x6c])][_0x229882([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xe697b5,_0x5aa731[_0x229882([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x229882([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d13c1(_0x3853a1){const _0x5f57b0=_0x518681();_0x5aa731[_0x5f57b0]=_0x229882([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3853a1,_0x3853a1!=_0x229882([0x56,0x61,0x6c,0x69,0x64])&&_0x359bd8();}function _0x518681(){const _0x27556c=window[_0x229882([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x229882([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x229882([0x6e,0x6f,0x77])]())[_0x229882([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x229882([0x2e]),'');let _0x51360e=_0x229882([0x51]);for(let _0x482fc5=0x0;_0x482fc5<_0x27556c[_0x229882([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x482fc5+=0x2){let _0x20d42a=window[_0x229882([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27556c[_0x229882([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x482fc5,_0x482fc5+0x2));_0x20d42a>=_0x1d7bee[_0x229882([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x20d42a-=_0x1d7bee[_0x229882([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x51360e+=_0x1d7bee[_0x20d42a];}return _0x51360e;}function _0x38a5bc(){const _0x4967b3=_0xa66bc[_0x229882([0x73,0x70,0x6c,0x69,0x74])](_0x229882([0x2e]));if(0x3!=_0x4967b3[_0x229882([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x29b981(_0x4967b3[0x1]);function _0x29b981(_0xb7bf49){const _0x5d34d1=_0x183b81(_0xb7bf49);return _0x5d34d1&&_0x2b68b5()?_0x5d34d1:null;function _0x2b68b5(){const _0x2ae1bd=_0x5d34d1[_0x229882([0x6a,0x74,0x69])],_0x7040b=window[_0x229882([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ae1bd[_0x229882([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ae1bd[_0x229882([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xb656c7={..._0x5d34d1,[_0x229882([0x6a,0x74,0x69])]:_0x2ae1bd[_0x229882([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2ae1bd[_0x229882([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xb656c7[_0x229882([0x76,0x63])],_0x3b714c(_0xb656c7)==_0x7040b;}}}async function _0x3f8ef0(){let _0x37f428=!0x0;try{const _0xc638=_0xa66bc[_0x229882([0x73,0x70,0x6c,0x69,0x74])](_0x229882([0x2e])),[_0x24bb63,_0x7573cf,_0x53b9f9]=_0xc638;return _0x3809c3(_0x24bb63),await _0x1cab0c(_0x24bb63,_0x7573cf,_0x53b9f9),_0x37f428;}catch{return!0x1;}function _0x3809c3(_0x23bd09){const _0x43112b=_0x183b81(_0x23bd09);_0x43112b&&_0x43112b[_0x229882([0x61,0x6c,0x67])]==_0x229882([0x45,0x53,0x32,0x35,0x36])||(_0x37f428=!0x1);}async function _0x1cab0c(_0x3cea3d,_0x1ec927,_0x254bc8){const _0x564a8c=window[_0x229882([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x229882([0x66,0x72,0x6f,0x6d])](_0x5814e7(_0x254bc8),_0x368a76=>_0x368a76[_0x229882([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x58835c=new window[(_0x229882([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x229882([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3cea3d+_0x229882([0x2e])+_0x1ec927),_0x1c74db=window[_0x229882([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x229882([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1c74db)return;const _0x2e3a81=await _0x1c74db[_0x229882([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x229882([0x6a,0x77,0x6b]),_0x5b9b44,{[_0x229882([0x6e,0x61,0x6d,0x65])]:_0x229882([0x45,0x43,0x44,0x53,0x41]),[_0x229882([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x229882([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x229882([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1c74db[_0x229882([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x229882([0x6e,0x61,0x6d,0x65])]:_0x229882([0x45,0x43,0x44,0x53,0x41]),[_0x229882([0x68,0x61,0x73,0x68])]:{[_0x229882([0x6e,0x61,0x6d,0x65])]:_0x229882([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e3a81,_0x564a8c,_0x58835c)||(_0x37f428=!0x1);}}function _0x183b81(_0x57bcf1){return _0x57bcf1[_0x229882([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x229882([0x65,0x79]))?JSON[_0x229882([0x70,0x61,0x72,0x73,0x65])](_0x5814e7(_0x57bcf1)):null;}function _0x5814e7(_0x104fa0){return window[_0x229882([0x61,0x74,0x6f,0x62])](_0x104fa0[_0x229882([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x229882([0x2b]))[_0x229882([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x229882([0x2f])));}function _0x3b714c(_0x17a468){let _0x1364ec=0x1505;function _0x1706bf(_0x394c64){for(let _0x382826=0x0;_0x382826<_0x394c64[_0x229882([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x382826++){const _0x1b8896=_0x394c64[_0x229882([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x382826);_0x1364ec=(_0x1364ec<<0x5)+_0x1364ec+_0x1b8896,_0x1364ec&=_0x1364ec;}}function _0x22794b(_0x4e4ae1){Array[_0x229882([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e4ae1)?_0x4e4ae1[_0x229882([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x22794b):_0x4e4ae1&&typeof _0x4e4ae1==_0x229882([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x229882([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e4ae1)[_0x229882([0x73,0x6f,0x72,0x74])]()[_0x229882([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x285f97,_0x54c4da])=>{_0x1706bf(_0x285f97),_0x22794b(_0x54c4da);}):_0x1706bf(window[_0x229882([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e4ae1));}return _0x22794b(_0x17a468),_0x1364ec>>>0x0;}function _0x3b93c5(_0xfc18d0){return _0xfc18d0[_0x229882([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x229882([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x229882([0x30]));}function _0x40d6e9(_0x51b539){return _0x51b539[_0x229882([0x73,0x70,0x6c,0x69,0x74])]('')[_0x229882([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x229882([0x6a,0x6f,0x69,0x6e])]('');}function _0xe697b5(){}function _0x229882(_0x12a1a9){const _0x4d15f0=_0x10ed;return _0x12a1a9[_0x4d15f0(0xbd)](_0x43c903=>String[_0x4d15f0(0xb4)](_0x43c903))[_0x4d15f0(0xa6)]('');}_0x1d13c1(await _0x49121b());}(this);}[_0x17b25f(0xab)](){const _0x2d1969=_0x17b25f,_0x163c54=this[_0x2d1969(0xbc)];if(!_0x163c54[_0x2d1969(0xb8)][_0x2d1969(0xa8)](_0x2d1969(0xb0)))return;const _0x4b898d=_0x163c54[_0x2d1969(0xb8)][_0x2d1969(0xa8)](_0x2d1969(0xc2))[_0x2d1969(0xb2)](_0xb81594=>_0x2d1969(0xad)==typeof _0xb81594&&(!_0x17ed26(_0xb81594)&&isNaN(Number(_0xb81594))));if(_0x4b898d[_0x2d1969(0x8e)])throw new _0x4050d8(_0x2d1969(0xc3),null,{'namedPresets':_0x4b898d});}[_0x17b25f(0xa4)](){const _0x4054cd=_0x17b25f,_0x5457c3=this[_0x4054cd(0xbc)],_0x4225b6=this[_0x4054cd(0xbc)][_0x4054cd(0xb8)][_0x4054cd(0xa8)](_0x4054cd(0xb3));_0x5457c3[_0x4054cd(0xaa)][_0x4054cd(0xa0)](_0x4054cd(0x94))[_0x4054cd(0xbb)]({'model':{'key':_0x4054cd(0xba)},'view':_0x44ce76=>String(_0x44ce76)===String(_0x4225b6)?null:{'key':_0x4054cd(0xa5),'value':{'line-height':_0x44ce76}}}),_0x5457c3[_0x4054cd(0xaa)][_0x4054cd(0xa0)](_0x4054cd(0xa1))[_0x4054cd(0xbb)]({'model':{'key':_0x4054cd(0xba),'value':_0x716613=>{const _0x450960=_0x4054cd;let _0x5051d6=_0x716613[_0x450960(0x95)](_0x450960(0x9c));return _0x5724cf(_0x5051d6)&&(_0x5051d6=String(Number(_0x5051d6[_0x450960(0xa3)](0x0,-0x1))/0x64)),String(_0x5051d6)===String(_0x4225b6)?null:_0x5051d6;}},'view':{'styles':{'line-height':/.*/}}});}[_0x17b25f(0xa2)](){const _0x46e35f=_0x17b25f,_0x2f8877=this[_0x46e35f(0xbc)],_0x22accc=this[_0x46e35f(0xbc)][_0x46e35f(0xb8)][_0x46e35f(0xa8)](_0x46e35f(0xb3)),_0x56b379=_0x5205b0(this[_0x46e35f(0xbc)][_0x46e35f(0xb8)][_0x46e35f(0xa8)](_0x46e35f(0xba)))[_0x46e35f(0xb2)](_0x422fc5=>_0x422fc5[_0x46e35f(0x9f)]),_0x4ac0e8=_0x544841(_0x46e35f(0xba),_0x56b379);_0x2f8877[_0x46e35f(0xaa)][_0x46e35f(0xbb)](_0x4ac0e8),_0x2f8877[_0x46e35f(0xaa)][_0x46e35f(0xa0)](_0x46e35f(0xa1))[_0x46e35f(0xbb)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x46e35f(0xba),'value':_0x5b53dc=>{const _0x2ad203=_0x46e35f;let _0x223e9e=_0x5b53dc[_0x2ad203(0x95)](_0x2ad203(0x9c));return _0x5724cf(_0x223e9e)&&(_0x223e9e=String(Number(_0x223e9e[_0x2ad203(0xa3)](0x0,-0x1))/0x64)),_0x223e9e===String(_0x22accc)?null:_0x4ac0e8[_0x2ad203(0x9f)][_0x2ad203(0x97)][_0x2ad203(0x99)](_0x223e9e)?_0x223e9e:null;}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1f7909}from'ckeditor5/src/core.js';import{addListToDropdown as _0x5bc5c2,createDropdown as _0xef4204,MenuBarMenuListItemButtonView as _0xa6e895,MenuBarMenuListItemView as _0x353721,MenuBarMenuListView as _0x3c62bb,MenuBarMenuView as _0x3edd0f,UIModel as _0x5ef2f3}from'ckeditor5/src/ui.js';import{Collection as _0xf1543a}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x167af4}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x51f6bb}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x1f7909{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x370268={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x370268),this['_registerMenuBarComponent'](_0x370268),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5cf4e3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x330abd;for(const _0x18d5f5 in _0x5cf4e3){const _0x286ced=_0x18d5f5,_0x4bdf47=_0x5cf4e3[_0x286ced];if('lineHeightLicenseKeyValid'==_0x4bdf47||'lineHeightLicenseKeyInvalid'==_0x4bdf47||'lineHeightLicenseKeyExpired'==_0x4bdf47||'lineHeightLicenseKeyDomainLimit'==_0x4bdf47||'lineHeightLicenseKeyNotAllowed'==_0x4bdf47||'lineHeightLicenseKeyEvaluationLimit'==_0x4bdf47||'lineHeightLicenseKeyTrialLimit'==_0x4bdf47||'lineHeightLicenseKeyUsageLimit'==_0x4bdf47){delete _0x5cf4e3[_0x286ced],_0x330abd=_0x4bdf47,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x330abd&&_0x5cf4e3['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x330abd&&_0x5cf4e3['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x330abd&&_0x5cf4e3['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x330abd&&_0x5cf4e3['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x330abd&&_0x5cf4e3['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x330abd&&_0x5cf4e3['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x330abd&&_0x5cf4e3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x4ba29c=this['editor'],t=_0x4ba29c['t'],_0x9a6093=_0x4ba29c['config']['get']('lineHeight'),_0x250caf={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x51f6bb(_0x9a6093)['map'](_0x31af3c=>{const _0x4eaa6a=_0x250caf[_0x31af3c['title']];return _0x4eaa6a&&_0x4eaa6a!=_0x31af3c['title']&&(_0x31af3c=Object['assign']({},_0x31af3c,{'title':_0x4eaa6a})),_0x31af3c;});}['_prepareListOptions'](){const _0x47381e=this['editor']['commands']['get']('lineHeight'),_0x213a2f=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3c9413=this['_getLocalizedLineHeightOptions'](),_0x47bfb1=new _0xf1543a(),_0x2e9067=_0x3fc00d=>'default'===_0x3fc00d||String(_0x213a2f)===_0x3fc00d;for(const _0x2ed5ac of _0x3c9413){const _0x5d8ac3={'type':'button','model':new _0x5ef2f3({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2ed5ac['title'],'withText':!0x0})};_0x2e9067(_0x2ed5ac['model'])?(_0x5d8ac3['model']['bind']('isOn')['to'](_0x47381e,'value',_0xa665a9=>!_0xa665a9),_0x5d8ac3['model']['commandParam']=void 0x0):(_0x5d8ac3['model']['bind']('isOn')['to'](_0x47381e,'value',_0x3ad35f=>_0x3ad35f===_0x2ed5ac['model']),_0x5d8ac3['model']['commandParam']=_0x2ed5ac['model']),_0x47bfb1['add'](_0x5d8ac3);}if(this['_shouldRenderCustomValueOption']()){const _0x548a56=this['_getCustomValueOptionDefinition'](_0x3c9413);_0x47bfb1['add'](_0x548a56);}return _0x47bfb1;}['_getCustomValueOptionDefinition'](_0x3d5dda){const _0x1a726d=this['editor'],t=_0x1a726d['t'],_0x45aa74=_0x1a726d['commands']['get']('lineHeight'),_0x519577=_0x3d5dda['map'](_0x3b1118=>_0x3b1118['model']),_0x53acfd={'type':'button','model':new _0x5ef2f3({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x53acfd['model']['bind']('commandParam')['to'](_0x45aa74,'value'),_0x53acfd['model']['bind']('isOn')['to'](_0x45aa74,'value',_0x5e0de2=>!!_0x5e0de2&&!_0x519577['includes'](String(_0x5e0de2))),_0x53acfd['model']['bind']('label')['to'](_0x45aa74,'value',_0x2544cb=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x2544cb))),_0x53acfd;}['_registerToolbarComponent']({accessibleLabel:_0x2a26c1,options:_0x39b70f}){const _0x35f5b8=this['editor'],_0x5c4afb=_0x35f5b8['commands']['get']('lineHeight');_0x35f5b8['ui']['componentFactory']['add']('lineHeight',_0x4495f8=>{const _0x1318c1=_0xef4204(_0x4495f8);return _0x5bc5c2(_0x1318c1,_0x39b70f,{'role':'menu','ariaLabel':_0x2a26c1}),_0x1318c1['buttonView']['set']({'label':_0x2a26c1,'tooltip':!0x0,'icon':_0x167af4}),_0x1318c1['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x1318c1['bind']('isEnabled')['to'](_0x5c4afb),this['listenTo'](_0x1318c1,'execute',_0x359a53=>{_0x35f5b8['execute'](_0x359a53['source']['commandName'],{'value':_0x359a53['source']['commandParam']}),_0x35f5b8['editing']['view']['focus']();}),_0x1318c1['once']('change:isOpen',()=>{const _0x228943=_0x1318c1['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x1318c1,_0x39b70f,_0x228943);}),_0x1318c1;});}['_registerMenuBarComponent']({accessibleLabel:_0x51bf4c,options:_0x18b096}){const _0x497ddf=this['editor'],_0x39384d=_0x497ddf['commands']['get']('lineHeight');_0x497ddf['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5624a3=>{const _0x46ba19=new _0x3edd0f(_0x5624a3);_0x46ba19['buttonView']['set']({'label':_0x51bf4c,'icon':_0x167af4}),_0x46ba19['bind']('isEnabled')['to'](_0x39384d);const _0x293550=new _0x3c62bb(_0x5624a3);for(const _0x1e8c59 of _0x18b096){const _0x3f8bbf=new _0x353721(_0x5624a3,_0x46ba19),_0x1f964e=new _0xa6e895(_0x5624a3);_0x1f964e['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1f964e['bind'](...Object['keys'](_0x1e8c59['model']))['to'](_0x1e8c59['model']),_0x1f964e['delegate']('execute')['to'](_0x46ba19),_0x1f964e['on']('execute',()=>{_0x497ddf['execute'](_0x1e8c59['model']['commandName'],{'value':_0x1e8c59['model']['commandParam']}),_0x497ddf['editing']['view']['focus']();}),_0x3f8bbf['children']['add'](_0x1f964e),_0x293550['items']['add'](_0x3f8bbf);}return _0x46ba19['panelView']['children']['add'](_0x293550),this['_attachCustomOptionVisibilityHandler'](_0x46ba19,_0x18b096,_0x293550),_0x46ba19;});}['_attachCustomOptionVisibilityHandler'](_0x30ca6b,_0x583372,_0x473feb){if(!this['_shouldRenderCustomValueOption']())return;const _0x4cfb70=()=>{if(!_0x30ca6b['isOpen'])return;_0x473feb['items']['last']['isVisible']=Boolean(_0x583372['last']['model']['isOn']);};_0x4cfb70(),_0x30ca6b['on']('change:isOpen',()=>{_0x4cfb70();});}}
23
+ import{Plugin as _0x1d5a82}from'ckeditor5/src/core.js';import{addListToDropdown as _0x2af8d9,createDropdown as _0x11f2b1,MenuBarMenuListItemButtonView as _0xa694ad,MenuBarMenuListItemView as _0x56ee87,MenuBarMenuListView as _0x393c28,MenuBarMenuView as _0x37c646,UIModel as _0x2c991b}from'ckeditor5/src/ui.js';import{Collection as _0x35a060}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x1bd1fa}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x1e0f7d}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x1d5a82{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x323741={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x323741),this['_registerMenuBarComponent'](_0x323741),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x538ac4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4120d9;for(const _0x2503b8 in _0x538ac4){const _0x38faf6=_0x2503b8,_0x5c14f4=_0x538ac4[_0x38faf6];if('lineHeightLicenseKeyValid'==_0x5c14f4||'lineHeightLicenseKeyInvalid'==_0x5c14f4||'lineHeightLicenseKeyExpired'==_0x5c14f4||'lineHeightLicenseKeyDomainLimit'==_0x5c14f4||'lineHeightLicenseKeyNotAllowed'==_0x5c14f4||'lineHeightLicenseKeyEvaluationLimit'==_0x5c14f4||'lineHeightLicenseKeyTrialLimit'==_0x5c14f4||'lineHeightLicenseKeyUsageLimit'==_0x5c14f4){delete _0x538ac4[_0x38faf6],_0x4120d9=_0x5c14f4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x4120d9&&_0x538ac4['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x4120d9&&_0x538ac4['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x4120d9&&_0x538ac4['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x4120d9&&_0x538ac4['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x4120d9&&_0x538ac4['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x4120d9&&_0x538ac4['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x4120d9&&_0x538ac4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x1430e6=this['editor'],t=_0x1430e6['t'],_0x548f7d=_0x1430e6['config']['get']('lineHeight'),_0x451ab3={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x1e0f7d(_0x548f7d)['map'](_0x43bcb4=>{const _0x581fa8=_0x451ab3[_0x43bcb4['title']];return _0x581fa8&&_0x581fa8!=_0x43bcb4['title']&&(_0x43bcb4=Object['assign']({},_0x43bcb4,{'title':_0x581fa8})),_0x43bcb4;});}['_prepareListOptions'](){const _0x1237e0=this['editor']['commands']['get']('lineHeight'),_0x3a90bf=this['editor']['config']['get']('lineHeight.defaultValue'),_0x303965=this['_getLocalizedLineHeightOptions'](),_0x40bde6=new _0x35a060(),_0x4b009a=_0x366211=>'default'===_0x366211||String(_0x3a90bf)===_0x366211;for(const _0x3859d3 of _0x303965){const _0x1211ed={'type':'button','model':new _0x2c991b({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x3859d3['title'],'withText':!0x0})};_0x4b009a(_0x3859d3['model'])?(_0x1211ed['model']['bind']('isOn')['to'](_0x1237e0,'value',_0x513aa4=>!_0x513aa4),_0x1211ed['model']['commandParam']=void 0x0):(_0x1211ed['model']['bind']('isOn')['to'](_0x1237e0,'value',_0x35d515=>_0x35d515===_0x3859d3['model']),_0x1211ed['model']['commandParam']=_0x3859d3['model']),_0x40bde6['add'](_0x1211ed);}if(this['_shouldRenderCustomValueOption']()){const _0x589f13=this['_getCustomValueOptionDefinition'](_0x303965);_0x40bde6['add'](_0x589f13);}return _0x40bde6;}['_getCustomValueOptionDefinition'](_0xfdc407){const _0x3041d5=this['editor'],t=_0x3041d5['t'],_0xfbeb85=_0x3041d5['commands']['get']('lineHeight'),_0x2af912=_0xfdc407['map'](_0x88fc9e=>_0x88fc9e['model']),_0x26c422={'type':'button','model':new _0x2c991b({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x26c422['model']['bind']('commandParam')['to'](_0xfbeb85,'value'),_0x26c422['model']['bind']('isOn')['to'](_0xfbeb85,'value',_0x69176b=>!!_0x69176b&&!_0x2af912['includes'](String(_0x69176b))),_0x26c422['model']['bind']('label')['to'](_0xfbeb85,'value',_0x34b7d0=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x34b7d0))),_0x26c422;}['_registerToolbarComponent']({accessibleLabel:_0xa68b04,options:_0x29e4ca}){const _0x1d449a=this['editor'],_0x2a092e=_0x1d449a['commands']['get']('lineHeight');_0x1d449a['ui']['componentFactory']['add']('lineHeight',_0x3b58b0=>{const _0x45da2f=_0x11f2b1(_0x3b58b0);return _0x2af8d9(_0x45da2f,_0x29e4ca,{'role':'menu','ariaLabel':_0xa68b04}),_0x45da2f['buttonView']['set']({'label':_0xa68b04,'tooltip':!0x0,'icon':_0x1bd1fa}),_0x45da2f['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x45da2f['bind']('isEnabled')['to'](_0x2a092e),this['listenTo'](_0x45da2f,'execute',_0x178c4b=>{_0x1d449a['execute'](_0x178c4b['source']['commandName'],{'value':_0x178c4b['source']['commandParam']}),_0x1d449a['editing']['view']['focus']();}),_0x45da2f['once']('change:isOpen',()=>{const _0x525234=_0x45da2f['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x45da2f,_0x29e4ca,_0x525234);}),_0x45da2f;});}['_registerMenuBarComponent']({accessibleLabel:_0x41b5e2,options:_0x8609ab}){const _0x72352f=this['editor'],_0x47b2c4=_0x72352f['commands']['get']('lineHeight');_0x72352f['ui']['componentFactory']['add']('menuBar:lineHeight',_0x225580=>{const _0x473bb1=new _0x37c646(_0x225580);_0x473bb1['buttonView']['set']({'label':_0x41b5e2,'icon':_0x1bd1fa}),_0x473bb1['bind']('isEnabled')['to'](_0x47b2c4);const _0x4296e7=new _0x393c28(_0x225580);for(const _0x23127b of _0x8609ab){const _0x10912c=new _0x56ee87(_0x225580,_0x473bb1),_0x228a28=new _0xa694ad(_0x225580);_0x228a28['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x228a28['bind'](...Object['keys'](_0x23127b['model']))['to'](_0x23127b['model']),_0x228a28['delegate']('execute')['to'](_0x473bb1),_0x228a28['on']('execute',()=>{_0x72352f['execute'](_0x23127b['model']['commandName'],{'value':_0x23127b['model']['commandParam']}),_0x72352f['editing']['view']['focus']();}),_0x10912c['children']['add'](_0x228a28),_0x4296e7['items']['add'](_0x10912c);}return _0x473bb1['panelView']['children']['add'](_0x4296e7),this['_attachCustomOptionVisibilityHandler'](_0x473bb1,_0x8609ab,_0x4296e7),_0x473bb1;});}['_attachCustomOptionVisibilityHandler'](_0x3a4f67,_0x32b57c,_0x3c674e){if(!this['_shouldRenderCustomValueOption']())return;const _0x4714b3=()=>{if(!_0x3a4f67['isOpen'])return;_0x3c674e['items']['last']['isVisible']=Boolean(_0x32b57c['last']['model']['isOn']);};_0x4714b3(),_0x3a4f67['on']('change:isOpen',()=>{_0x4714b3();});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x577b68,_0x3f6bd7){const _0x1f88bc=_0xe799,_0x19bfe4=_0x577b68();while(!![]){try{const _0x18d926=parseInt(_0x1f88bc(0x1f6))/0x1+parseInt(_0x1f88bc(0x1fc))/0x2+parseInt(_0x1f88bc(0x1e3))/0x3+-parseInt(_0x1f88bc(0x1eb))/0x4+parseInt(_0x1f88bc(0x1e7))/0x5*(parseInt(_0x1f88bc(0x1ec))/0x6)+-parseInt(_0x1f88bc(0x1e9))/0x7*(parseInt(_0x1f88bc(0x1f8))/0x8)+parseInt(_0x1f88bc(0x1f0))/0x9*(parseInt(_0x1f88bc(0x1ed))/0xa);if(_0x18d926===_0x3f6bd7)break;else _0x19bfe4['push'](_0x19bfe4['shift']());}catch(_0x42fa87){_0x19bfe4['push'](_0x19bfe4['shift']());}}}(_0x578f,0x6ff12));const v={get 'single'(){const _0x115089=_0xe799;return{'title':_0x115089(0x1e0),'model':_0x115089(0x1ef),'view':{'key':_0x115089(0x1e2),'value':_0x115089(0x1e4)}};},get 'double'(){const _0x1e8068=_0xe799;return{'title':_0x1e8068(0x1f7),'model':_0x1e8068(0x1df),'view':{'key':_0x1e8068(0x1e2),'value':_0x1e8068(0x1dc)}};}};export function isLineHeightDefaultValue(_0x1b75d0){const _0x503576=_0xe799;return _0x503576(0x1e6)==typeof _0x1b75d0&&_0x503576(0x1e8)===_0x1b75d0[_0x503576(0x1f2)]();}export function normalizeOptions(_0x387bf2){const _0x16d08f=_0xe799;return _0x387bf2[_0x16d08f(0x1fb)][_0x16d08f(0x1e1)](_0x332334=>isLineHeightDefaultValue(_0x332334)?{'title':String(_0x387bf2[_0x16d08f(0x1de)]),'model':_0x16d08f(0x1e8)}:(_0x16d08f(0x1e5)==typeof _0x332334&&(_0x332334=String(_0x332334)),_0x16d08f(0x1e6)!=typeof _0x332334?_0x332334:parseFloat(_0x332334)?{'title':_0x332334,'model':_0x332334,'view':{'name':_0x16d08f(0x1ee),'styles':{'line-height':_0x332334}}}:findPreset(_0x332334)))[_0x16d08f(0x1f1)](_0x5980af=>void 0x0!==_0x5980af);}function _0x578f(){const _0x5f3838=['Double','8bzFqEU','key','values','options','77838ShPZzP','push','line-height-double','model','defaultValue','double','Single','map','class','845487bZrxnd','line-height-single','number','string','25XWqOYt','default','2200037gqXhmR','value','1432648LMdbIP','400116YXifCj','57950lFIRGu','span','single','99LHZDcW','filter','toLowerCase','style','line-height:','view','413044kyccBW'];_0x578f=function(){return _0x5f3838;};return _0x578f();}function _0xe799(_0x12642b,_0x59e417){const _0x578f0b=_0x578f();return _0xe799=function(_0xe799f3,_0x3459b6){_0xe799f3=_0xe799f3-0x1db;let _0x4fb06c=_0x578f0b[_0xe799f3];return _0x4fb06c;},_0xe799(_0x12642b,_0x59e417);}export function findPreset(_0x225540){const _0x401f7a=_0xe799;return _0x401f7a(0x1e6)==typeof _0x225540?v[_0x225540]:v[_0x225540[_0x401f7a(0x1dd)]];}export function buildDefinition(_0x51a06a,_0x357749){const _0x2aacb0=_0xe799,_0x195211={'model':{'key':_0x51a06a,'values':[]},'view':{}};for(const _0x154e99 of _0x357749)_0x2aacb0(0x1e2)===_0x154e99[_0x2aacb0(0x1f5)]?.[_0x2aacb0(0x1f9)]?(_0x195211[_0x2aacb0(0x1dd)][_0x2aacb0(0x1fa)][_0x2aacb0(0x1db)](_0x154e99[_0x2aacb0(0x1dd)]),_0x195211[_0x2aacb0(0x1f5)][_0x154e99[_0x2aacb0(0x1dd)]]={'key':_0x2aacb0(0x1e2),'value':_0x154e99[_0x2aacb0(0x1f5)][_0x2aacb0(0x1ea)]}):(_0x195211[_0x2aacb0(0x1dd)][_0x2aacb0(0x1fa)][_0x2aacb0(0x1db)](_0x154e99[_0x2aacb0(0x1dd)]),_0x195211[_0x2aacb0(0x1f5)][_0x154e99[_0x2aacb0(0x1dd)]]={'key':_0x2aacb0(0x1f3),'value':_0x2aacb0(0x1f4)+_0x154e99[_0x2aacb0(0x1dd)]+';'});return _0x195211;}
23
+ (function(_0x22fceb,_0x43b95a){const _0x3574da=_0x1e7f,_0x70d3ae=_0x22fceb();while(!![]){try{const _0x4f75ee=parseInt(_0x3574da(0xbb))/0x1*(-parseInt(_0x3574da(0x9f))/0x2)+-parseInt(_0x3574da(0x9e))/0x3*(parseInt(_0x3574da(0xa5))/0x4)+parseInt(_0x3574da(0xbe))/0x5*(parseInt(_0x3574da(0xa3))/0x6)+-parseInt(_0x3574da(0xae))/0x7+parseInt(_0x3574da(0xa1))/0x8*(parseInt(_0x3574da(0xa6))/0x9)+parseInt(_0x3574da(0xa2))/0xa*(parseInt(_0x3574da(0x9b))/0xb)+parseInt(_0x3574da(0xb5))/0xc*(parseInt(_0x3574da(0xa4))/0xd);if(_0x4f75ee===_0x43b95a)break;else _0x70d3ae['push'](_0x70d3ae['shift']());}catch(_0x4d23a0){_0x70d3ae['push'](_0x70d3ae['shift']());}}}(_0x5553,0x6d81a));function _0x1e7f(_0x1b2e94,_0x1e54c1){const _0x555336=_0x5553();return _0x1e7f=function(_0x1e7f7d,_0x39e70b){_0x1e7f7d=_0x1e7f7d-0x9b;let _0x19995a=_0x555336[_0x1e7f7d];return _0x19995a;},_0x1e7f(_0x1b2e94,_0x1e54c1);}function _0x5553(){const _0x11ef9=['value','style','360oGBtxX','line-height-single','filter','values','Single','toLowerCase','4QkkzGH','default','span','110RBuuvp','defaultValue','11tatwpm','number','map','291QzlASi','311344xaoAFN','options','81864mJCeSp','1111370Ikleoz','16968gMzLev','737321LCEcXC','35140KIzqFl','297DUZfdP','class','double','line-height-double','view','string','line-height:','key','2024267EQSaBN','Double','push','model','single'];_0x5553=function(){return _0x11ef9;};return _0x5553();}const v={get 'single'(){const _0x211897=_0x1e7f;return{'title':_0x211897(0xb9),'model':_0x211897(0xb2),'view':{'key':_0x211897(0xa7),'value':_0x211897(0xb6)}};},get 'double'(){const _0x1b799d=_0x1e7f;return{'title':_0x1b799d(0xaf),'model':_0x1b799d(0xa8),'view':{'key':_0x1b799d(0xa7),'value':_0x1b799d(0xa9)}};}};export function isLineHeightDefaultValue(_0x1745b1){const _0x48b581=_0x1e7f;return _0x48b581(0xab)==typeof _0x1745b1&&_0x48b581(0xbc)===_0x1745b1[_0x48b581(0xba)]();}export function normalizeOptions(_0x30532e){const _0x54797a=_0x1e7f;return _0x30532e[_0x54797a(0xa0)][_0x54797a(0x9d)](_0x454d73=>isLineHeightDefaultValue(_0x454d73)?{'title':String(_0x30532e[_0x54797a(0xbf)]),'model':_0x54797a(0xbc)}:(_0x54797a(0x9c)==typeof _0x454d73&&(_0x454d73=String(_0x454d73)),_0x54797a(0xab)!=typeof _0x454d73?_0x454d73:parseFloat(_0x454d73)?{'title':_0x454d73,'model':_0x454d73,'view':{'name':_0x54797a(0xbd),'styles':{'line-height':_0x454d73}}}:findPreset(_0x454d73)))[_0x54797a(0xb7)](_0x3276ec=>void 0x0!==_0x3276ec);}export function findPreset(_0x33db1b){const _0x528e7b=_0x1e7f;return _0x528e7b(0xab)==typeof _0x33db1b?v[_0x33db1b]:v[_0x33db1b[_0x528e7b(0xb1)]];}export function buildDefinition(_0x4746aa,_0x3f2435){const _0x24904e=_0x1e7f,_0x7fb6cd={'model':{'key':_0x4746aa,'values':[]},'view':{}};for(const _0xcdb2b0 of _0x3f2435)_0x24904e(0xa7)===_0xcdb2b0[_0x24904e(0xaa)]?.[_0x24904e(0xad)]?(_0x7fb6cd[_0x24904e(0xb1)][_0x24904e(0xb8)][_0x24904e(0xb0)](_0xcdb2b0[_0x24904e(0xb1)]),_0x7fb6cd[_0x24904e(0xaa)][_0xcdb2b0[_0x24904e(0xb1)]]={'key':_0x24904e(0xa7),'value':_0xcdb2b0[_0x24904e(0xaa)][_0x24904e(0xb3)]}):(_0x7fb6cd[_0x24904e(0xb1)][_0x24904e(0xb8)][_0x24904e(0xb0)](_0xcdb2b0[_0x24904e(0xb1)]),_0x7fb6cd[_0x24904e(0xaa)][_0xcdb2b0[_0x24904e(0xb1)]]={'key':_0x24904e(0xb4),'value':_0x24904e(0xac)+_0xcdb2b0[_0x24904e(0xb1)]+';'});return _0x7fb6cd;}