@ckeditor/ckeditor5-line-height 0.0.0-nightly-next-20251213.0 → 0.0.0-nightly-20251214.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) 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 +8 -8
  150. package/src/index.js +1 -1
  151. package/src/integrations/todolist.js +1 -1
  152. package/src/lineheight.js +1 -1
  153. package/src/lineheightcommand.js +1 -1
  154. package/src/lineheightediting.js +1 -1
  155. package/src/lineheightui.js +1 -1
  156. package/src/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d6c53=_0x60ed;(function(_0x324a6b,_0xa037b9){const _0x1ec957=_0x60ed,_0x5d99ff=_0x324a6b();while(!![]){try{const _0x2967c4=parseInt(_0x1ec957(0x92))/0x1*(-parseInt(_0x1ec957(0xa7))/0x2)+-parseInt(_0x1ec957(0x91))/0x3+parseInt(_0x1ec957(0xa3))/0x4*(-parseInt(_0x1ec957(0xb0))/0x5)+-parseInt(_0x1ec957(0xa0))/0x6*(parseInt(_0x1ec957(0x9a))/0x7)+parseInt(_0x1ec957(0xb4))/0x8*(-parseInt(_0x1ec957(0xb2))/0x9)+-parseInt(_0x1ec957(0xbd))/0xa+-parseInt(_0x1ec957(0x97))/0xb*(-parseInt(_0x1ec957(0xbe))/0xc);if(_0x2967c4===_0xa037b9)break;else _0x5d99ff['push'](_0x5d99ff['shift']());}catch(_0x121fa8){_0x5d99ff['push'](_0x5d99ff['shift']());}}}(_0x4f24,0x66eca));import{Plugin as _0x2231a5}from'ckeditor5/src/core.js';import{Matcher as _0x27a7dc}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';function _0x60ed(_0x45d2ca,_0x4ce726){const _0x4f244e=_0x4f24();return _0x60ed=function(_0x60ed47,_0x8e92e8){_0x60ed47=_0x60ed47-0x91;let _0x29e328=_0x4f244e[_0x60ed47];return _0x29e328;},_0x60ed(_0x45d2ca,_0x4ce726);}export class LineHeightTodoListIntegration extends _0x2231a5{static get[_0x3d6c53(0xa1)](){const _0x59c590=_0x3d6c53;return _0x59c590(0xab);}static get[_0x3d6c53(0xa9)](){return!0x0;}static get[_0x3d6c53(0xbc)](){return!0x0;}[_0x3d6c53(0xa2)](){const _0x314c34=_0x3d6c53,{plugins:_0x40ce17,conversion:_0x3abc80}=this[_0x314c34(0xb6)];if(!_0x40ce17[_0x314c34(0xba)](_0x314c34(0xad))||!_0x40ce17[_0x314c34(0xba)](_0x314c34(0xaa)))return;_0x40ce17[_0x314c34(0xbb)](_0x314c34(0xad))[_0x314c34(0xa8)]({'scope':_0x314c34(0xb8),'attributeName':_0x314c34(0x98),'consume':!0x1,'setAttributeOnDowncast'(_0x2366ea,_0x2d9c1c,_0x2b509d,_0x57f7c7,_0x1b4448){const _0x2e8f13=_0x314c34;_0x2e8f13(0x9c)==_0x1b4448[_0x2e8f13(0x95)](_0x2e8f13(0xa5))&&_0x2d9c1c&&(_0x2366ea[_0x2e8f13(0xa6)](_0x2e8f13(0xb3),_0x2b509d),_0x2366ea[_0x2e8f13(0xb5)](_0x2e8f13(0xb9),_0x2d9c1c,_0x2b509d));}}),_0x3abc80[_0x314c34(0xae)](_0x314c34(0x93))[_0x314c34(0xb7)]({'view':{'name':_0x314c34(0x99),'classes':_0x314c34(0x9d)},'model':_0x314c34(0xb1),'converterPriority':_0x314c34(0xaf)}),_0x3abc80[_0x314c34(0xae)](_0x314c34(0x93))[_0x314c34(0x9b)](_0x80749d=>{const _0x98ca16=_0x314c34;_0x80749d['on'](_0x98ca16(0xac),function(_0x16cf42){const _0x39dbe5=new _0x27a7dc(_0x16cf42);return(_0x4d2c26,_0x1ed5b7,_0x3d6762)=>{const _0x365d1c=_0x60ed,_0x349835=_0x39dbe5[_0x365d1c(0xa4)](_0x1ed5b7[_0x365d1c(0x94)]);if(!_0x349835)return;const _0xfe2af0=_0x349835[_0x365d1c(0xa4)];_0xfe2af0[_0x365d1c(0x9e)]=!0x1,_0x3d6762[_0x365d1c(0x9f)][_0x365d1c(0x96)](_0x1ed5b7[_0x365d1c(0x94)],_0xfe2af0);};}({'name':'li','classes':_0x98ca16(0xb3),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}function _0x4f24(){const _0x1a4292=['getAttribute','consume','33VjpqbV','lineHeight','span','8106SnClZe','add','todo','todo-list__label__description','name','consumable','3354FXfemu','pluginName','init','5532jAGUTc','match','listType','addClass','697394HDPKcK','registerDowncastStrategy','isOfficialPlugin','TodoListEditing','LineHeightTodoListIntegration','element:li','ListEditing','for','high','15QbnCwO','paragraph','36idBuzk','ck-list-marker-line-height','1061272AZhhAo','setStyle','editor','elementToElement','item','--ck-content-list-marker-line-height','has','get','isPremiumPlugin','267170ralLuo','9596424AUBtYb','213930WIKKkk','2YxjnHk','upcast','viewItem'];_0x4f24=function(){return _0x1a4292;};return _0x4f24();}
23
+ function _0xea9b(){const _0x4fb9e9=['isPremiumPlugin','37619504XYYrhr','1866MhNfVk','4683785EmItNJ','todo-list__label__description','get','element:li','item','add','match','pluginName','consume','325652KAnBSU','setStyle','todo','listType','viewItem','LineHeightTodoListIntegration','addClass','TodoListEditing','init','ListEditing','consumable','name','editor','registerDowncastStrategy','getAttribute','ck-list-marker-line-height','upcast','--ck-content-list-marker-line-height','for','2472916iEOouA','1067519bJtkYv','2072067mCYkoY','span','high','has','elementToElement','31745ATBcvx','lineHeight','isOfficialPlugin','paragraph'];_0xea9b=function(){return _0x4fb9e9;};return _0xea9b();}const _0x3172fb=_0x2f6f;(function(_0x5d7e8d,_0x3574da){const _0x1338b0=_0x2f6f,_0x599506=_0x5d7e8d();while(!![]){try{const _0x396254=parseInt(_0x1338b0(0x8f))/0x1+parseInt(_0x1338b0(0x8e))/0x2+parseInt(_0x1338b0(0x90))/0x3+parseInt(_0x1338b0(0xa5))/0x4+parseInt(_0x1338b0(0x9c))/0x5+-parseInt(_0x1338b0(0x9b))/0x6*(-parseInt(_0x1338b0(0x95))/0x7)+-parseInt(_0x1338b0(0x9a))/0x8;if(_0x396254===_0x3574da)break;else _0x599506['push'](_0x599506['shift']());}catch(_0x292f2a){_0x599506['push'](_0x599506['shift']());}}}(_0xea9b,0xaff8f));import{Plugin as _0x563aef}from'ckeditor5/src/core.js';function _0x2f6f(_0x56593a,_0x2b669b){const _0xea9bb0=_0xea9b();return _0x2f6f=function(_0x2f6ff6,_0x5b7350){_0x2f6ff6=_0x2f6ff6-0x8a;let _0x312326=_0xea9bb0[_0x2f6ff6];return _0x312326;},_0x2f6f(_0x56593a,_0x2b669b);}import{Matcher as _0x53977f}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x563aef{static get[_0x3172fb(0xa3)](){const _0x14372f=_0x3172fb;return _0x14372f(0xaa);}static get[_0x3172fb(0x97)](){return!0x0;}static get[_0x3172fb(0x99)](){return!0x0;}[_0x3172fb(0xad)](){const _0x14f99c=_0x3172fb,{plugins:_0x524228,conversion:_0xf18e5b}=this[_0x14f99c(0xb1)];if(!_0x524228[_0x14f99c(0x93)](_0x14f99c(0xae))||!_0x524228[_0x14f99c(0x93)](_0x14f99c(0xac)))return;_0x524228[_0x14f99c(0x9e)](_0x14f99c(0xae))[_0x14f99c(0xb2)]({'scope':_0x14f99c(0xa0),'attributeName':_0x14f99c(0x96),'consume':!0x1,'setAttributeOnDowncast'(_0x18cc27,_0x162a63,_0x1334d0,_0x4eb4f8,_0x31cbe4){const _0x5ce2ca=_0x14f99c;_0x5ce2ca(0xa7)==_0x31cbe4[_0x5ce2ca(0xb3)](_0x5ce2ca(0xa8))&&_0x162a63&&(_0x18cc27[_0x5ce2ca(0xab)](_0x5ce2ca(0x8a),_0x1334d0),_0x18cc27[_0x5ce2ca(0xa6)](_0x5ce2ca(0x8c),_0x162a63,_0x1334d0));}}),_0xf18e5b[_0x14f99c(0x8d)](_0x14f99c(0x8b))[_0x14f99c(0x94)]({'view':{'name':_0x14f99c(0x91),'classes':_0x14f99c(0x9d)},'model':_0x14f99c(0x98),'converterPriority':_0x14f99c(0x92)}),_0xf18e5b[_0x14f99c(0x8d)](_0x14f99c(0x8b))[_0x14f99c(0xa1)](_0x4098cc=>{const _0x37f582=_0x14f99c;_0x4098cc['on'](_0x37f582(0x9f),function(_0x5f4d8c){const _0x4ee375=new _0x53977f(_0x5f4d8c);return(_0x1688d8,_0x355ad5,_0x535fc7)=>{const _0x2cd5a0=_0x2f6f,_0x4a4f4b=_0x4ee375[_0x2cd5a0(0xa2)](_0x355ad5[_0x2cd5a0(0xa9)]);if(!_0x4a4f4b)return;const _0x2d3a47=_0x4a4f4b[_0x2cd5a0(0xa2)];_0x2d3a47[_0x2cd5a0(0xb0)]=!0x1,_0x535fc7[_0x2cd5a0(0xaf)][_0x2cd5a0(0xa4)](_0x355ad5[_0x2cd5a0(0xa9)],_0x2d3a47);};}({'name':'li','classes':_0x37f582(0x8a),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}
package/src/lineheight.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xf586(_0x350632,_0x7b4960){var _0x14e157=_0x14e1();return _0xf586=function(_0xf58605,_0xa4a16a){_0xf58605=_0xf58605-0xdb;var _0x2b4944=_0x14e157[_0xf58605];return _0x2b4944;},_0xf586(_0x350632,_0x7b4960);}var _0x40df03=_0xf586;function _0x14e1(){var _0x2d1b0c=['requires','13052286DzKmWw','LineHeight','672443ImhSnK','2294685CoGihe','1679792pBHBQk','1225252CMdmfa','404GnuMaC','isOfficialPlugin','1094440lzDOnv','isPremiumPlugin','22015BYuTbZ','pluginName','18eAIdCK'];_0x14e1=function(){return _0x2d1b0c;};return _0x14e1();}(function(_0x2fbdb2,_0x3d2905){var _0x24a27b=_0xf586,_0x1f05c8=_0x2fbdb2();while(!![]){try{var _0x29c9b0=-parseInt(_0x24a27b(0xdd))/0x1+-parseInt(_0x24a27b(0xdf))/0x2+parseInt(_0x24a27b(0xde))/0x3+parseInt(_0x24a27b(0xe1))/0x4*(parseInt(_0x24a27b(0xe5))/0x5)+-parseInt(_0x24a27b(0xe7))/0x6*(parseInt(_0x24a27b(0xe0))/0x7)+parseInt(_0x24a27b(0xe3))/0x8+parseInt(_0x24a27b(0xdb))/0x9;if(_0x29c9b0===_0x3d2905)break;else _0x1f05c8['push'](_0x1f05c8['shift']());}catch(_0x3e9009){_0x1f05c8['push'](_0x1f05c8['shift']());}}}(_0x14e1,0xb95aa));import{Plugin as _0x50ad58}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x113bfb}from'./lineheightediting.js';import{LineHeightUI as _0x82263b}from'./lineheightui.js';export class LineHeight extends _0x50ad58{static get[_0x40df03(0xe8)](){return[_0x113bfb,_0x82263b];}static get[_0x40df03(0xe6)](){var _0x113f5a=_0x40df03;return _0x113f5a(0xdc);}static get[_0x40df03(0xe2)](){return!0x0;}static get[_0x40df03(0xe4)](){return!0x0;}}
23
+ var _0x2ae32e=_0x9e28;(function(_0x2266af,_0x54190b){var _0x32d377=_0x9e28,_0xefd1a1=_0x2266af();while(!![]){try{var _0x3f3391=parseInt(_0x32d377(0xd9))/0x1+-parseInt(_0x32d377(0xd8))/0x2*(parseInt(_0x32d377(0xdf))/0x3)+parseInt(_0x32d377(0xd1))/0x4*(parseInt(_0x32d377(0xdd))/0x5)+-parseInt(_0x32d377(0xde))/0x6*(parseInt(_0x32d377(0xd7))/0x7)+parseInt(_0x32d377(0xdb))/0x8+-parseInt(_0x32d377(0xd6))/0x9*(parseInt(_0x32d377(0xd2))/0xa)+-parseInt(_0x32d377(0xd3))/0xb;if(_0x3f3391===_0x54190b)break;else _0xefd1a1['push'](_0xefd1a1['shift']());}catch(_0x4ec07d){_0xefd1a1['push'](_0xefd1a1['shift']());}}}(_0x44cf,0x89fb4));function _0x44cf(){var _0x26e4db=['9ouDtsP','14NsktLF','1490062ynmUZy','1012500zfehZK','isOfficialPlugin','5155968eEuTLi','isPremiumPlugin','9745YOsLgY','385566HrSLvr','3qHbSWK','pluginName','1228vqgRKI','1346610gReccA','7501483rksHkj','requires','LineHeight'];_0x44cf=function(){return _0x26e4db;};return _0x44cf();}import{Plugin as _0x24ea9a}from'ckeditor5/src/core.js';function _0x9e28(_0x236cb6,_0x2be30b){var _0x44cf9c=_0x44cf();return _0x9e28=function(_0x9e28f9,_0x106645){_0x9e28f9=_0x9e28f9-0xd0;var _0x40fd72=_0x44cf9c[_0x9e28f9];return _0x40fd72;},_0x9e28(_0x236cb6,_0x2be30b);}import{LineHeightEditing as _0x43e83e}from'./lineheightediting.js';import{LineHeightUI as _0x173b64}from'./lineheightui.js';export class LineHeight extends _0x24ea9a{static get[_0x2ae32e(0xd4)](){return[_0x43e83e,_0x173b64];}static get[_0x2ae32e(0xd0)](){var _0x230df2=_0x2ae32e;return _0x230df2(0xd5);}static get[_0x2ae32e(0xda)](){return!0x0;}static get[_0x2ae32e(0xdc)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1b40(_0x5b54ab,_0x3f1e07){const _0x16b96d=_0x16b9();return _0x1b40=function(_0x1b40a7,_0x438980){_0x1b40a7=_0x1b40a7-0xb4;let _0x436733=_0x16b96d[_0x1b40a7];return _0x436733;},_0x1b40(_0x5b54ab,_0x3f1e07);}function _0x16b9(){const _0x5a0d4d=['798295fqEefe','execute','232109USrtVK','18hCkwyd','26016AGtRpx','2NeIRzw','document','614416pwgVqF','isEnabled','getAttribute','lineHeight','653946wpjxeB','from','462hYpfaM','getSelectedBlocks','checkAttribute','selection','editor','schema','_canHaveLineHeight','model','change','refresh','30360MZYsBF','filter','19978fshWGb','100ZKsxAs','setAttribute','value','removeAttribute'];_0x16b9=function(){return _0x5a0d4d;};return _0x16b9();}const _0x25e789=_0x1b40;(function(_0x5ac1c2,_0x43b6f3){const _0x2a06e7=_0x1b40,_0x12eeeb=_0x5ac1c2();while(!![]){try{const _0x3f2d39=-parseInt(_0x2a06e7(0xcb))/0x1*(-parseInt(_0x2a06e7(0xce))/0x2)+-parseInt(_0x2a06e7(0xb6))/0x3+-parseInt(_0x2a06e7(0xc2))/0x4+-parseInt(_0x2a06e7(0xc9))/0x5+parseInt(_0x2a06e7(0xb8))/0x6*(-parseInt(_0x2a06e7(0xc4))/0x7)+parseInt(_0x2a06e7(0xcd))/0x8*(-parseInt(_0x2a06e7(0xcc))/0x9)+parseInt(_0x2a06e7(0xc5))/0xa*(parseInt(_0x2a06e7(0xd0))/0xb);if(_0x3f2d39===_0x43b6f3)break;else _0x12eeeb['push'](_0x12eeeb['shift']());}catch(_0x241ae7){_0x12eeeb['push'](_0x12eeeb['shift']());}}}(_0x16b9,0x2bbe8));import{Command as _0x100b00}from'ckeditor5/src/core.js';import{first as _0x1ad84f}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x100b00{[_0x25e789(0xc1)](){const _0x2335a2=_0x25e789,_0x10540d=this[_0x2335a2(0xbc)][_0x2335a2(0xbf)][_0x2335a2(0xcf)],_0x39fa9f=_0x1ad84f(_0x10540d[_0x2335a2(0xbb)][_0x2335a2(0xb9)]());this[_0x2335a2(0xd1)]=Boolean(_0x39fa9f)&&this[_0x2335a2(0xbe)](_0x39fa9f),this[_0x2335a2(0xc7)]=this[_0x2335a2(0xd1)]&&_0x39fa9f[_0x2335a2(0xb4)](_0x2335a2(0xb5));}[_0x25e789(0xca)](_0x4b8468={}){const _0x5a96a7=_0x25e789,_0xaa80be=this[_0x5a96a7(0xbc)][_0x5a96a7(0xbf)],_0x2a83ca=_0xaa80be[_0x5a96a7(0xcf)][_0x5a96a7(0xbb)],_0x1aa79b=_0x4b8468[_0x5a96a7(0xc7)];_0xaa80be[_0x5a96a7(0xc0)](_0x332a9b=>{const _0x1f820d=_0x5a96a7,_0x960cce=Array[_0x1f820d(0xb7)](_0x2a83ca[_0x1f820d(0xb9)]())[_0x1f820d(0xc3)](_0x4b64cb=>this[_0x1f820d(0xbe)](_0x4b64cb));for(const _0x207b6c of _0x960cce)_0x1aa79b?_0x332a9b[_0x1f820d(0xc6)](_0x1f820d(0xb5),_0x1aa79b,_0x207b6c):_0x332a9b[_0x1f820d(0xc8)](_0x1f820d(0xb5),_0x207b6c);});}[_0x25e789(0xbe)](_0x5e2d32){const _0x1330f5=_0x25e789;return this[_0x1330f5(0xbc)][_0x1330f5(0xbf)][_0x1330f5(0xbd)][_0x1330f5(0xba)](_0x5e2d32,_0x1330f5(0xb5));}}
23
+ function _0x5ad5(_0xe8303a,_0x4756b7){const _0x59213c=_0x5921();return _0x5ad5=function(_0x5ad53b,_0x4be110){_0x5ad53b=_0x5ad53b-0x18e;let _0x15c0b2=_0x59213c[_0x5ad53b];return _0x15c0b2;},_0x5ad5(_0xe8303a,_0x4756b7);}function _0x5921(){const _0x1570e3=['editor','lineHeight','221723QvXQnu','value','_canHaveLineHeight','document','model','selection','112RkLSyG','161098BEpFyY','48xOmNUj','filter','execute','from','2281456PyekvZ','setAttribute','refresh','2YyEHGu','281133SuOzMz','schema','checkAttribute','14019xFcrGk','getAttribute','1096870dtByBn','isEnabled','change','getSelectedBlocks','removeAttribute','749790QPedUq'];_0x5921=function(){return _0x1570e3;};return _0x5921();}const _0x50f905=_0x5ad5;(function(_0xabf963,_0x146dfd){const _0x246b41=_0x5ad5,_0x5085de=_0xabf963();while(!![]){try{const _0x2a8e53=parseInt(_0x246b41(0x18f))/0x1*(parseInt(_0x246b41(0x19e))/0x2)+-parseInt(_0x246b41(0x1a2))/0x3*(parseInt(_0x246b41(0x195))/0x4)+parseInt(_0x246b41(0x1a9))/0x5+parseInt(_0x246b41(0x197))/0x6*(parseInt(_0x246b41(0x196))/0x7)+-parseInt(_0x246b41(0x19b))/0x8+parseInt(_0x246b41(0x19f))/0x9+parseInt(_0x246b41(0x1a4))/0xa;if(_0x2a8e53===_0x146dfd)break;else _0x5085de['push'](_0x5085de['shift']());}catch(_0xa96c7a){_0x5085de['push'](_0x5085de['shift']());}}}(_0x5921,0x44873));import{Command as _0x243f53}from'ckeditor5/src/core.js';import{first as _0x40e6c4}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x243f53{[_0x50f905(0x19d)](){const _0x43dea2=_0x50f905,_0x518f98=this[_0x43dea2(0x1aa)][_0x43dea2(0x193)][_0x43dea2(0x192)],_0xf430be=_0x40e6c4(_0x518f98[_0x43dea2(0x194)][_0x43dea2(0x1a7)]());this[_0x43dea2(0x1a5)]=Boolean(_0xf430be)&&this[_0x43dea2(0x191)](_0xf430be),this[_0x43dea2(0x190)]=this[_0x43dea2(0x1a5)]&&_0xf430be[_0x43dea2(0x1a3)](_0x43dea2(0x18e));}[_0x50f905(0x199)](_0x4fb679={}){const _0x5de898=_0x50f905,_0x277b2b=this[_0x5de898(0x1aa)][_0x5de898(0x193)],_0x1250dc=_0x277b2b[_0x5de898(0x192)][_0x5de898(0x194)],_0x435a12=_0x4fb679[_0x5de898(0x190)];_0x277b2b[_0x5de898(0x1a6)](_0x1ce003=>{const _0x580fb0=_0x5de898,_0x169cea=Array[_0x580fb0(0x19a)](_0x1250dc[_0x580fb0(0x1a7)]())[_0x580fb0(0x198)](_0x22730c=>this[_0x580fb0(0x191)](_0x22730c));for(const _0x5a6d0b of _0x169cea)_0x435a12?_0x1ce003[_0x580fb0(0x19c)](_0x580fb0(0x18e),_0x435a12,_0x5a6d0b):_0x1ce003[_0x580fb0(0x1a8)](_0x580fb0(0x18e),_0x5a6d0b);});}[_0x50f905(0x191)](_0x261d49){const _0x208b59=_0x50f905;return this[_0x208b59(0x1aa)][_0x208b59(0x193)][_0x208b59(0x1a0)][_0x208b59(0x1a1)](_0x261d49,_0x208b59(0x18e));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x168f(){const _0x583df5=['5fEVDzI','define','lineHeight.defaultValue','2811414ikdcJn','add','model','line-height-invalid-use-of-named-presets','lineHeight','_prepareAnyValueConverters','filter','fromCharCode','requires','map','lineHeight.options','140328aeoayx','href','extend','345946sWENYW','get','_validateConfig','schema','config','init','isOfficialPlugin','$block','8723400KeXpaQ','LineHeightEditing','pluginName','attributeToAttribute','4ssyNsv','editor','line-height','_preparePredefinedConverters','getStyle','values','9673763nloqTz','setAttributeProperties','171nWuspq','afterInit','join','lineHeight.supportAllValues','default','commands','style','conversion','downcast','string','1441497inIfMs','length','4419198VfCoMR','upcast','3GuCbCV','isPremiumPlugin','for','includes','slice'];_0x168f=function(){return _0x583df5;};return _0x168f();}function _0x272b(_0x238013,_0x40cc4d){const _0x168f83=_0x168f();return _0x272b=function(_0x272b06,_0x435cdf){_0x272b06=_0x272b06-0x1cf;let _0x218b1b=_0x168f83[_0x272b06];return _0x218b1b;},_0x272b(_0x238013,_0x40cc4d);}const _0x481936=_0x272b;(function(_0x268222,_0x2a03a1){const _0x309da8=_0x272b,_0x31aa20=_0x268222();while(!![]){try{const _0x2fdb99=-parseInt(_0x309da8(0x1f8))/0x1*(parseInt(_0x309da8(0x1d6))/0x2)+-parseInt(_0x309da8(0x1f4))/0x3*(-parseInt(_0x309da8(0x1e2))/0x4)+parseInt(_0x309da8(0x1fd))/0x5*(-parseInt(_0x309da8(0x200))/0x6)+parseInt(_0x309da8(0x1f6))/0x7+parseInt(_0x309da8(0x1d3))/0x8*(parseInt(_0x309da8(0x1ea))/0x9)+-parseInt(_0x309da8(0x1de))/0xa+parseInt(_0x309da8(0x1e8))/0xb;if(_0x2fdb99===_0x2a03a1)break;else _0x31aa20['push'](_0x31aa20['shift']());}catch(_0x4c2e0f){_0x31aa20['push'](_0x31aa20['shift']());}}}(_0x168f,0x71739));import{Plugin as _0x321631}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x4a8e9b}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x25f400}from'ckeditor5/src/engine.js';import{uid as _0x5d798,CKEditorError as _0x15f16c}from'ckeditor5/src/utils.js';import{buildDefinition as _0x341ae1,isLineHeightDefaultValue as _0x12e60e,normalizeOptions as _0x1f9da0}from'./utils.js';import{LineHeightTodoListIntegration as _0x11bac6}from'./integrations/todolist.js';export class LineHeightEditing extends _0x321631{static get[_0x481936(0x1e0)](){const _0xcf43af=_0x481936;return _0xcf43af(0x1df);}static get[_0x481936(0x1d0)](){return[_0x11bac6];}static get[_0x481936(0x1dc)](){return!0x0;}static get[_0x481936(0x1f9)](){return!0x0;}constructor(_0x2f1e77){const _0x1614d9=_0x481936;super(_0x2f1e77),_0x2f1e77[_0x1614d9(0x1da)][_0x1614d9(0x1fe)](_0x1614d9(0x204),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x1614d9(0x1ee),0x2,2.5,0x3]});}[_0x481936(0x1db)](){const _0x5e4055=_0x481936,_0x5e73e7=this[_0x5e4055(0x1e3)];this[_0x5e4055(0x1d8)](),_0x5e73e7[_0x5e4055(0x202)][_0x5e4055(0x1d9)][_0x5e4055(0x1d5)](_0x5e4055(0x1dd),{'allowAttributes':_0x5e4055(0x204)}),_0x5e73e7[_0x5e4055(0x202)][_0x5e4055(0x1d9)][_0x5e4055(0x1e9)](_0x5e4055(0x204),{'isFormatting':!0x0}),_0x5e73e7[_0x5e4055(0x1ef)][_0x5e4055(0x201)](_0x5e4055(0x204),new _0x4a8e9b(_0x5e73e7)),this[_0x5e4055(0x1e3)][_0x5e4055(0x1da)][_0x5e4055(0x1d7)](_0x5e4055(0x1ed))?this[_0x5e4055(0x205)]():this[_0x5e4055(0x1e5)]();}[_0x481936(0x1eb)](){!async function(_0x19c81d){const _0x5b3b95=_0x38b4a1([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x3a6157=0x45ddd215,_0x53ba31=0x45daa9dd^_0x3a6157,_0x322942=window[_0x38b4a1([0x44,0x61,0x74,0x65])][_0x38b4a1([0x6e,0x6f,0x77])](),_0x57657a=_0x19c81d[_0x38b4a1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x29731c=new window[(_0x38b4a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x572e75=>{_0x57657a[_0x38b4a1([0x6f,0x6e,0x63,0x65])](_0x38b4a1([0x72,0x65,0x61,0x64,0x79]),_0x572e75);}),_0x4057ca={[_0x38b4a1([0x6b,0x74,0x79])]:_0x38b4a1([0x45,0x43]),[_0x38b4a1([0x75,0x73,0x65])]:_0x38b4a1([0x73,0x69,0x67]),[_0x38b4a1([0x63,0x72,0x76])]:_0x38b4a1([0x50,0x2d,0x32,0x35,0x36]),[_0x38b4a1([0x78])]:_0x38b4a1([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]),[_0x38b4a1([0x79])]:_0x38b4a1([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]),[_0x38b4a1([0x61,0x6c,0x67])]:_0x38b4a1([0x45,0x53,0x32,0x35,0x36])},_0x311c49=_0x57657a[_0x38b4a1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x38b4a1([0x67,0x65,0x74])](_0x38b4a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x199d81(){let _0x369cfc,_0x83f03=null,_0x28f191=null;try{if(_0x311c49==_0x38b4a1([0x47,0x50,0x4c]))return _0x38b4a1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x369cfc=_0x267fc6(),!_0x369cfc)return _0x38b4a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x369cfc[_0x38b4a1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28f191=_0xb9a582(_0x369cfc[_0x38b4a1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x369cfc[_0x38b4a1([0x6a,0x74,0x69])])),await _0x41c9cc()?_0x850487()?_0x46f522()?_0x38b4a1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x169b0b()?(_0x369cfc[_0x38b4a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38b4a1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x83f03=_0x26ccf5(_0x38b4a1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x369cfc[_0x38b4a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38b4a1([0x74,0x72,0x69,0x61,0x6c])&&(_0x83f03=_0x26ccf5(_0x38b4a1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3f5d42()):_0x38b4a1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x38b4a1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x38b4a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x38b4a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x46f522(){const _0x44372e=[_0x38b4a1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x38b4a1([0x74,0x72,0x69,0x61,0x6c])][_0x38b4a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x369cfc[_0x38b4a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x322942/0x3e8:0xe10*_0x53ba31;return _0x369cfc[_0x38b4a1([0x65,0x78,0x70])]<_0x44372e;}function _0x850487(){const _0x5d3f7f=_0x369cfc[_0x38b4a1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5d3f7f&&(!!_0x5d3f7f[_0x38b4a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38b4a1([0x2a]))||!!_0x5d3f7f[_0x38b4a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38b4a1([0x4c,0x48])));}function _0x169b0b(){const _0x19cedb=_0x272b,_0x49e4c0=_0x369cfc[_0x38b4a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x49e4c0||0x0==_0x49e4c0[_0x38b4a1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x16c12e}=new URL(window[_0x38b4a1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x19cedb(0x1d4)]);if(_0x49e4c0[_0x38b4a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16c12e))return!0x0;const _0x360202=_0x16c12e[_0x38b4a1([0x73,0x70,0x6c,0x69,0x74])](_0x38b4a1([0x2e]));return _0x49e4c0[_0x38b4a1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ade4e=>_0x2ade4e[_0x38b4a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38b4a1([0x2a])))[_0x38b4a1([0x6d,0x61,0x70])](_0x301a5d=>_0x301a5d[_0x38b4a1([0x73,0x70,0x6c,0x69,0x74])](_0x38b4a1([0x2e])))[_0x38b4a1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x642fd4=>_0x642fd4[_0x38b4a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x360202[_0x38b4a1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38b4a1([0x6d,0x61,0x70])](_0x211c99=>Array(_0x360202[_0x38b4a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x211c99[_0x38b4a1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38b4a1([0x66,0x69,0x6c,0x6c])](_0x211c99[0x0]===_0x38b4a1([0x2a])?_0x38b4a1([0x2a]):'')[_0x38b4a1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x211c99))[_0x38b4a1([0x73,0x6f,0x6d,0x65])](_0x2b6da6=>_0x360202[_0x38b4a1([0x65,0x76,0x65,0x72,0x79])]((_0x52f1d5,_0x17f578)=>_0x2b6da6[_0x17f578]===_0x52f1d5||_0x2b6da6[_0x17f578]===_0x38b4a1([0x2a])));}function _0x3f5d42(){return _0x83f03&&_0x28f191?new window[(_0x38b4a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x218da8,_0x7bf53b)=>{_0x83f03[_0x38b4a1([0x74,0x68,0x65,0x6e])](_0x218da8,_0x7bf53b),_0x28f191[_0x38b4a1([0x74,0x68,0x65,0x6e])](_0x4e79e8=>{_0x4e79e8!=_0x38b4a1([0x56,0x61,0x6c,0x69,0x64])&&_0x218da8(_0x4e79e8);},_0x7bf53b);}):_0x83f03||_0x28f191||_0x38b4a1([0x56,0x61,0x6c,0x69,0x64]);}}function _0xb9a582(_0x4927ef,_0x46dab3){return new window[(_0x38b4a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25822a=>{if(_0x4349e4())return _0x25822a(_0x38b4a1([0x56,0x61,0x6c,0x69,0x64]));_0x1b5a0b(),_0x57657a[_0x38b4a1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x38b4a1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5a4971=!0x1;const _0x515ea1=_0x5d798();function _0x46f056(_0x5f3e99){return!!_0x5f3e99&&(typeof _0x5f3e99===_0x38b4a1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5f3e99===_0x38b4a1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5f3e99[_0x38b4a1([0x74,0x68,0x65,0x6e])]===_0x38b4a1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5f3e99[_0x38b4a1([0x63,0x61,0x74,0x63,0x68])]===_0x38b4a1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f3b8d(_0x4e319e){_0x32bce1(_0x4e319e)[_0x38b4a1([0x74,0x68,0x65,0x6e])](_0x4ec634=>{if(!_0x4ec634||_0x4ec634[_0x38b4a1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x38b4a1([0x6f,0x6b]))return _0x38b4a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x59d322(_0x3fa8e8(_0x515ea1+_0x46dab3))!=_0x4ec634[_0x38b4a1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x38b4a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x38b4a1([0x56,0x61,0x6c,0x69,0x64]);})[_0x38b4a1([0x74,0x68,0x65,0x6e])](_0x5930b1=>(_0x2076f6(),_0x5930b1),()=>{const _0xf9c82e=_0x129225();return null==_0xf9c82e?(_0x2076f6(),_0x38b4a1([0x56,0x61,0x6c,0x69,0x64])):_0x38b4a1(_0x322942-_0xf9c82e>(0x61d15615^_0x3a6157)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x38b4a1([0x74,0x68,0x65,0x6e])](_0x25822a)[_0x38b4a1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x25822a(_0x38b4a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e5261=0x45eb3c95^_0x3a6157;function _0x2076f6(){const _0x170f6e=_0x38b4a1([0x6c,0x6c,0x63,0x74,0x2d])+_0x59d322(_0x3fa8e8(_0x4927ef)),_0x2b06c8=_0x5e9bfd(_0x59d322(window[_0x38b4a1([0x4d,0x61,0x74,0x68])][_0x38b4a1([0x63,0x65,0x69,0x6c])](_0x322942/_0x3e5261)));window[_0x38b4a1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38b4a1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x170f6e,_0x2b06c8);}function _0x129225(){const _0x52a9d4=_0x38b4a1([0x6c,0x6c,0x63,0x74,0x2d])+_0x59d322(_0x3fa8e8(_0x4927ef)),_0x2c54bc=window[_0x38b4a1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38b4a1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52a9d4);return _0x2c54bc?window[_0x38b4a1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e9bfd(_0x2c54bc),0x10)*_0x3e5261:null;}function _0x32bce1(_0x588e08){return new window[(_0x38b4a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1be904,_0x1ea666)=>{_0x588e08[_0x38b4a1([0x74,0x68,0x65,0x6e])](_0x1be904,_0x1ea666),window[_0x38b4a1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1ea666,0x45dc06d5^_0x3a6157);});}}_0x57657a[_0x38b4a1([0x6f,0x6e])](_0x38b4a1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x6053e4,_0x4112c7)=>{if(_0x4112c7[0x0]!=_0x4927ef)return _0x25822a(_0x38b4a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4112c7[0x1]={..._0x4112c7[0x1],[_0x38b4a1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x515ea1};},{[_0x38b4a1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38b4a1([0x68,0x69,0x67,0x68])}),_0x57657a[_0x38b4a1([0x6f,0x6e])](_0x38b4a1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xc87b62=>{_0x46f056(_0xc87b62[_0x38b4a1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5a4971=!0x0,_0x4f3b8d(_0xc87b62[_0x38b4a1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x38b4a1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38b4a1([0x6c,0x6f,0x77])}),_0x29731c[_0x38b4a1([0x74,0x68,0x65,0x6e])](()=>{_0x5a4971||_0x25822a(_0x38b4a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4349e4(){return _0x57657a[_0x38b4a1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38b4a1([0x76,0x69,0x65,0x77])][_0x38b4a1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x38b4a1([0x61,0x75,0x74,0x6f]);}function _0x1b5a0b(){_0x57657a[_0x38b4a1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38b4a1([0x76,0x69,0x65,0x77])][_0x38b4a1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x38b4a1([0x61,0x75,0x74,0x6f]);}}function _0x26ccf5(_0x2d6355){const _0x27d1fe=[new window[(_0x38b4a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40bed5=>setTimeout(_0x40bed5,0x45d4ecd9^_0x3a6157)),_0x29731c[_0x38b4a1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x38b4a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb4ea45=>{let _0x259d34=0x0;_0x57657a[_0x38b4a1([0x6d,0x6f,0x64,0x65,0x6c])][_0x38b4a1([0x6f,0x6e])](_0x38b4a1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x28f2e0,_0x21325e)=>{_0x21325e[0x0][_0x38b4a1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x259d34++,_0x259d34==(0x45ddd3ed^_0x3a6157)&&(_0xb4ea45(),_0x28f2e0[_0x38b4a1([0x6f,0x66,0x66])]());});}))];return window[_0x38b4a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x38b4a1([0x72,0x61,0x63,0x65])](_0x27d1fe)[_0x38b4a1([0x74,0x68,0x65,0x6e])](()=>_0x2d6355);}async function _0x315740(){await _0x29731c,_0x57657a[_0x38b4a1([0x6d,0x6f,0x64,0x65,0x6c])][_0x38b4a1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x423660,_0x57657a[_0x38b4a1([0x6d,0x6f,0x64,0x65,0x6c])][_0x38b4a1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x423660,_0x57657a[_0x38b4a1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x38b4a1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1f47e7(_0x307afd){const _0x224998=_0x2c361b();_0x57657a[_0x224998]=_0x38b4a1([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x307afd,_0x307afd!=_0x38b4a1([0x56,0x61,0x6c,0x69,0x64])&&_0x315740();}function _0x2c361b(){const _0x3e1720=window[_0x38b4a1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x38b4a1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x38b4a1([0x6e,0x6f,0x77])]())[_0x38b4a1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x38b4a1([0x2e]),'');let _0xe4ebcd=_0x38b4a1([0x50]);for(let _0x56ca55=0x0;_0x56ca55<_0x3e1720[_0x38b4a1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56ca55+=0x2){let _0x2718cd=window[_0x38b4a1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e1720[_0x38b4a1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56ca55,_0x56ca55+0x2));_0x2718cd>=_0x5b3b95[_0x38b4a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2718cd-=_0x5b3b95[_0x38b4a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xe4ebcd+=_0x5b3b95[_0x2718cd];}return _0xe4ebcd;}function _0x267fc6(){const _0x44e8c5=_0x311c49[_0x38b4a1([0x73,0x70,0x6c,0x69,0x74])](_0x38b4a1([0x2e]));if(0x3!=_0x44e8c5[_0x38b4a1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x34c391(_0x44e8c5[0x1]);function _0x34c391(_0x38645a){const _0x101a74=_0x536db8(_0x38645a);return _0x101a74&&_0x458764()?_0x101a74:null;function _0x458764(){const _0x5253d4=_0x101a74[_0x38b4a1([0x6a,0x74,0x69])],_0x5d4c90=window[_0x38b4a1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5253d4[_0x38b4a1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5253d4[_0x38b4a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2d1577={..._0x101a74,[_0x38b4a1([0x6a,0x74,0x69])]:_0x5253d4[_0x38b4a1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5253d4[_0x38b4a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2d1577[_0x38b4a1([0x76,0x63])],_0x3fa8e8(_0x2d1577)==_0x5d4c90;}}}async function _0x41c9cc(){let _0x390a59=!0x0;try{const _0x3d152d=_0x311c49[_0x38b4a1([0x73,0x70,0x6c,0x69,0x74])](_0x38b4a1([0x2e])),[_0x192792,_0x4d0599,_0x366b3f]=_0x3d152d;return _0x3a0372(_0x192792),await _0x47bf59(_0x192792,_0x4d0599,_0x366b3f),_0x390a59;}catch{return!0x1;}function _0x3a0372(_0x47ee4b){const _0x556c01=_0x536db8(_0x47ee4b);_0x556c01&&_0x556c01[_0x38b4a1([0x61,0x6c,0x67])]==_0x38b4a1([0x45,0x53,0x32,0x35,0x36])||(_0x390a59=!0x1);}async function _0x47bf59(_0xdb5a8d,_0x186ca1,_0x5d21ad){const _0x5c19e6=window[_0x38b4a1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x38b4a1([0x66,0x72,0x6f,0x6d])](_0x2a265d(_0x5d21ad),_0x18a028=>_0x18a028[_0x38b4a1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4def87=new window[(_0x38b4a1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x38b4a1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xdb5a8d+_0x38b4a1([0x2e])+_0x186ca1),_0xdc6f36=window[_0x38b4a1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x38b4a1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xdc6f36)return;const _0x471eec=await _0xdc6f36[_0x38b4a1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x38b4a1([0x6a,0x77,0x6b]),_0x4057ca,{[_0x38b4a1([0x6e,0x61,0x6d,0x65])]:_0x38b4a1([0x45,0x43,0x44,0x53,0x41]),[_0x38b4a1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x38b4a1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x38b4a1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xdc6f36[_0x38b4a1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x38b4a1([0x6e,0x61,0x6d,0x65])]:_0x38b4a1([0x45,0x43,0x44,0x53,0x41]),[_0x38b4a1([0x68,0x61,0x73,0x68])]:{[_0x38b4a1([0x6e,0x61,0x6d,0x65])]:_0x38b4a1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x471eec,_0x5c19e6,_0x4def87)||(_0x390a59=!0x1);}}function _0x536db8(_0x14c827){return _0x14c827[_0x38b4a1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x38b4a1([0x65,0x79]))?JSON[_0x38b4a1([0x70,0x61,0x72,0x73,0x65])](_0x2a265d(_0x14c827)):null;}function _0x2a265d(_0x325eae){return window[_0x38b4a1([0x61,0x74,0x6f,0x62])](_0x325eae[_0x38b4a1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x38b4a1([0x2b]))[_0x38b4a1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x38b4a1([0x2f])));}function _0x3fa8e8(_0x572de4){let _0x4bfa3c=0x1505;function _0x4b5c96(_0x3b31f2){for(let _0x5a7211=0x0;_0x5a7211<_0x3b31f2[_0x38b4a1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a7211++){const _0x1f6df9=_0x3b31f2[_0x38b4a1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a7211);_0x4bfa3c=(_0x4bfa3c<<0x5)+_0x4bfa3c+_0x1f6df9,_0x4bfa3c&=_0x4bfa3c;}}function _0x33cf95(_0x8b8b3){Array[_0x38b4a1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x8b8b3)?_0x8b8b3[_0x38b4a1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33cf95):_0x8b8b3&&typeof _0x8b8b3==_0x38b4a1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x38b4a1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x8b8b3)[_0x38b4a1([0x73,0x6f,0x72,0x74])]()[_0x38b4a1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2f7e2f,_0x235645])=>{_0x4b5c96(_0x2f7e2f),_0x33cf95(_0x235645);}):_0x4b5c96(window[_0x38b4a1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x8b8b3));}return _0x33cf95(_0x572de4),_0x4bfa3c>>>0x0;}function _0x59d322(_0x3b5ab3){return _0x3b5ab3[_0x38b4a1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x38b4a1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x38b4a1([0x30]));}function _0x5e9bfd(_0x39d7a0){return _0x39d7a0[_0x38b4a1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x38b4a1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x38b4a1([0x6a,0x6f,0x69,0x6e])]('');}function _0x423660(){}function _0x38b4a1(_0x2d1c21){const _0xd3ef7d=_0x272b;return _0x2d1c21[_0xd3ef7d(0x1d1)](_0x36e5c2=>String[_0xd3ef7d(0x1cf)](_0x36e5c2))[_0xd3ef7d(0x1ec)]('');}_0x1f47e7(await _0x199d81());}(this);}[_0x481936(0x1d8)](){const _0x38fadc=_0x481936,_0x68fe70=this[_0x38fadc(0x1e3)];if(!_0x68fe70[_0x38fadc(0x1da)][_0x38fadc(0x1d7)](_0x38fadc(0x1ed)))return;const _0x4a08d7=_0x68fe70[_0x38fadc(0x1da)][_0x38fadc(0x1d7)](_0x38fadc(0x1d2))[_0x38fadc(0x206)](_0x36c716=>_0x38fadc(0x1f3)==typeof _0x36c716&&(!_0x12e60e(_0x36c716)&&isNaN(Number(_0x36c716))));if(_0x4a08d7[_0x38fadc(0x1f5)])throw new _0x15f16c(_0x38fadc(0x203),null,{'namedPresets':_0x4a08d7});}[_0x481936(0x205)](){const _0x3399d7=_0x481936,_0x5332f7=this[_0x3399d7(0x1e3)],_0x38ea60=this[_0x3399d7(0x1e3)][_0x3399d7(0x1da)][_0x3399d7(0x1d7)](_0x3399d7(0x1ff));_0x5332f7[_0x3399d7(0x1f1)][_0x3399d7(0x1fa)](_0x3399d7(0x1f2))[_0x3399d7(0x1e1)]({'model':{'key':_0x3399d7(0x204)},'view':_0x339b24=>String(_0x339b24)===String(_0x38ea60)?null:{'key':_0x3399d7(0x1f0),'value':{'line-height':_0x339b24}}}),_0x5332f7[_0x3399d7(0x1f1)][_0x3399d7(0x1fa)](_0x3399d7(0x1f7))[_0x3399d7(0x1e1)]({'model':{'key':_0x3399d7(0x204),'value':_0x124cdc=>{const _0x37965a=_0x3399d7;let _0x302aa5=_0x124cdc[_0x37965a(0x1e6)](_0x37965a(0x1e4));return _0x25f400(_0x302aa5)&&(_0x302aa5=String(Number(_0x302aa5[_0x37965a(0x1fc)](0x0,-0x1))/0x64)),String(_0x302aa5)===String(_0x38ea60)?null:_0x302aa5;}},'view':{'styles':{'line-height':/.*/}}});}[_0x481936(0x1e5)](){const _0x120803=_0x481936,_0x3c3f86=this[_0x120803(0x1e3)],_0x4bafcb=this[_0x120803(0x1e3)][_0x120803(0x1da)][_0x120803(0x1d7)](_0x120803(0x1ff)),_0xf5209b=_0x1f9da0(this[_0x120803(0x1e3)][_0x120803(0x1da)][_0x120803(0x1d7)](_0x120803(0x204)))[_0x120803(0x206)](_0x5125fe=>_0x5125fe[_0x120803(0x202)]),_0x5a8c92=_0x341ae1(_0x120803(0x204),_0xf5209b);_0x3c3f86[_0x120803(0x1f1)][_0x120803(0x1e1)](_0x5a8c92),_0x3c3f86[_0x120803(0x1f1)][_0x120803(0x1fa)](_0x120803(0x1f7))[_0x120803(0x1e1)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x120803(0x204),'value':_0x171653=>{const _0x30ef62=_0x120803;let _0x436a9e=_0x171653[_0x30ef62(0x1e6)](_0x30ef62(0x1e4));return _0x25f400(_0x436a9e)&&(_0x436a9e=String(Number(_0x436a9e[_0x30ef62(0x1fc)](0x0,-0x1))/0x64)),_0x436a9e===String(_0x4bafcb)?null:_0x5a8c92[_0x30ef62(0x202)][_0x30ef62(0x1e7)][_0x30ef62(0x1fb)](_0x436a9e)?_0x436a9e:null;}}});}}
23
+ const _0x19c393=_0x2595;(function(_0x582308,_0x9c18f7){const _0x1e9e0c=_0x2595,_0xdad2cf=_0x582308();while(!![]){try{const _0x532656=parseInt(_0x1e9e0c(0x118))/0x1*(-parseInt(_0x1e9e0c(0xea))/0x2)+parseInt(_0x1e9e0c(0x110))/0x3+parseInt(_0x1e9e0c(0x102))/0x4+parseInt(_0x1e9e0c(0x105))/0x5+parseInt(_0x1e9e0c(0xfe))/0x6+parseInt(_0x1e9e0c(0xf0))/0x7*(parseInt(_0x1e9e0c(0x108))/0x8)+-parseInt(_0x1e9e0c(0xf7))/0x9;if(_0x532656===_0x9c18f7)break;else _0xdad2cf['push'](_0xdad2cf['shift']());}catch(_0x3a313d){_0xdad2cf['push'](_0xdad2cf['shift']());}}}(_0x386e,0xc5b18));function _0x2595(_0x1fe296,_0x39a815){const _0x386e0f=_0x386e();return _0x2595=function(_0x259582,_0x250676){_0x259582=_0x259582-0xe7;let _0x4dff2f=_0x386e0f[_0x259582];return _0x4dff2f;},_0x2595(_0x1fe296,_0x39a815);}import{Plugin as _0x512966}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x52cb66}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4c418c}from'ckeditor5/src/engine.js';import{uid as _0xa09c35,CKEditorError as _0x42c919}from'ckeditor5/src/utils.js';function _0x386e(){const _0x22f77d=['model','length','lineHeight','extend','commands','getStyle','138139AemgxM','slice','map','pluginName','values','includes','line-height-invalid-use-of-named-presets','attributeToAttribute','18NxhxRt','filter','conversion','get','lineHeight.options','config','760151iKkHnU','join','lineHeight.defaultValue','define','LineHeightEditing','_prepareAnyValueConverters','_validateConfig','6884604JsRifM','afterInit','schema','init','lineHeight.supportAllValues','setAttributeProperties','isOfficialPlugin','1049520DnzvAJ','requires','upcast','$block','3457896oFAaRK','default','style','782350QZWRfK','string','line-height','56xleOAc','editor','_preparePredefinedConverters','for','isPremiumPlugin','href','add','fromCharCode','2585832yVeBBo','downcast'];_0x386e=function(){return _0x22f77d;};return _0x386e();}import{buildDefinition as _0x514396,isLineHeightDefaultValue as _0x362397,normalizeOptions as _0x37e2d5}from'./utils.js';import{LineHeightTodoListIntegration as _0x111e07}from'./integrations/todolist.js';export class LineHeightEditing extends _0x512966{static get[_0x19c393(0x11b)](){const _0x330bd3=_0x19c393;return _0x330bd3(0xf4);}static get[_0x19c393(0xff)](){return[_0x111e07];}static get[_0x19c393(0xfd)](){return!0x0;}static get[_0x19c393(0x10c)](){return!0x0;}constructor(_0x3ae599){const _0x427b41=_0x19c393;super(_0x3ae599),_0x3ae599[_0x427b41(0xef)][_0x427b41(0xf3)](_0x427b41(0x114),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x427b41(0x103),0x2,2.5,0x3]});}[_0x19c393(0xfa)](){const _0x350578=_0x19c393,_0x3df169=this[_0x350578(0x109)];this[_0x350578(0xf6)](),_0x3df169[_0x350578(0x112)][_0x350578(0xf9)][_0x350578(0x115)](_0x350578(0x101),{'allowAttributes':_0x350578(0x114)}),_0x3df169[_0x350578(0x112)][_0x350578(0xf9)][_0x350578(0xfc)](_0x350578(0x114),{'isFormatting':!0x0}),_0x3df169[_0x350578(0x116)][_0x350578(0x10e)](_0x350578(0x114),new _0x52cb66(_0x3df169)),this[_0x350578(0x109)][_0x350578(0xef)][_0x350578(0xed)](_0x350578(0xfb))?this[_0x350578(0xf5)]():this[_0x350578(0x10a)]();}[_0x19c393(0xf8)](){!async function(_0x5c337a){const _0x4ebdf3=_0x40f0f4([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x321a9d=0x45ddd215,_0x5bf35c=0x45daa9f5^_0x321a9d,_0x4e4981=window[_0x40f0f4([0x44,0x61,0x74,0x65])][_0x40f0f4([0x6e,0x6f,0x77])](),_0x283076=_0x5c337a[_0x40f0f4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5083b5=new window[(_0x40f0f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21dc14=>{_0x283076[_0x40f0f4([0x6f,0x6e,0x63,0x65])](_0x40f0f4([0x72,0x65,0x61,0x64,0x79]),_0x21dc14);}),_0x4a01ff={[_0x40f0f4([0x6b,0x74,0x79])]:_0x40f0f4([0x45,0x43]),[_0x40f0f4([0x75,0x73,0x65])]:_0x40f0f4([0x73,0x69,0x67]),[_0x40f0f4([0x63,0x72,0x76])]:_0x40f0f4([0x50,0x2d,0x32,0x35,0x36]),[_0x40f0f4([0x78])]:_0x40f0f4([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]),[_0x40f0f4([0x79])]:_0x40f0f4([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]),[_0x40f0f4([0x61,0x6c,0x67])]:_0x40f0f4([0x45,0x53,0x32,0x35,0x36])},_0x3709dd=_0x283076[_0x40f0f4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x40f0f4([0x67,0x65,0x74])](_0x40f0f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x151f4d(){let _0x31543d,_0x59d9bb=null,_0x4303a9=null;try{if(_0x3709dd==_0x40f0f4([0x47,0x50,0x4c]))return _0x40f0f4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x31543d=_0x1a28e2(),!_0x31543d)return _0x40f0f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x31543d[_0x40f0f4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4303a9=_0x143474(_0x31543d[_0x40f0f4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x31543d[_0x40f0f4([0x6a,0x74,0x69])])),await _0x4f3ee6()?_0x40b0e0()?_0x4c2b4e()?_0x40f0f4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d33d8()?(_0x31543d[_0x40f0f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40f0f4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x59d9bb=_0x520056(_0x40f0f4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x31543d[_0x40f0f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40f0f4([0x74,0x72,0x69,0x61,0x6c])&&(_0x59d9bb=_0x520056(_0x40f0f4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1060b7()):_0x40f0f4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x40f0f4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x40f0f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x40f0f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4c2b4e(){const _0x380886=[_0x40f0f4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x40f0f4([0x74,0x72,0x69,0x61,0x6c])][_0x40f0f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31543d[_0x40f0f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4e4981/0x3e8:0xe10*_0x5bf35c;return _0x31543d[_0x40f0f4([0x65,0x78,0x70])]<_0x380886;}function _0x40b0e0(){const _0x33becb=_0x31543d[_0x40f0f4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x33becb&&(!!_0x33becb[_0x40f0f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40f0f4([0x2a]))||!!_0x33becb[_0x40f0f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40f0f4([0x4c,0x48])));}function _0x4d33d8(){const _0x39c39e=_0x2595,_0x14e6ac=_0x31543d[_0x40f0f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x14e6ac||0x0==_0x14e6ac[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3cf975}=new URL(window[_0x40f0f4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x39c39e(0x10d)]);if(_0x14e6ac[_0x40f0f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cf975))return!0x0;const _0x144a74=_0x3cf975[_0x40f0f4([0x73,0x70,0x6c,0x69,0x74])](_0x40f0f4([0x2e]));return _0x14e6ac[_0x40f0f4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x343b4b=>_0x343b4b[_0x40f0f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40f0f4([0x2a])))[_0x40f0f4([0x6d,0x61,0x70])](_0x48234e=>_0x48234e[_0x40f0f4([0x73,0x70,0x6c,0x69,0x74])](_0x40f0f4([0x2e])))[_0x40f0f4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd0db7b=>_0xd0db7b[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x144a74[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40f0f4([0x6d,0x61,0x70])](_0x2de23d=>Array(_0x144a74[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2de23d[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40f0f4([0x66,0x69,0x6c,0x6c])](_0x2de23d[0x0]===_0x40f0f4([0x2a])?_0x40f0f4([0x2a]):'')[_0x40f0f4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2de23d))[_0x40f0f4([0x73,0x6f,0x6d,0x65])](_0x2eff90=>_0x144a74[_0x40f0f4([0x65,0x76,0x65,0x72,0x79])]((_0x369d5b,_0x27e6e7)=>_0x2eff90[_0x27e6e7]===_0x369d5b||_0x2eff90[_0x27e6e7]===_0x40f0f4([0x2a])));}function _0x1060b7(){return _0x59d9bb&&_0x4303a9?new window[(_0x40f0f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c2ebe,_0x5d1e25)=>{_0x59d9bb[_0x40f0f4([0x74,0x68,0x65,0x6e])](_0x2c2ebe,_0x5d1e25),_0x4303a9[_0x40f0f4([0x74,0x68,0x65,0x6e])](_0x46ead6=>{_0x46ead6!=_0x40f0f4([0x56,0x61,0x6c,0x69,0x64])&&_0x2c2ebe(_0x46ead6);},_0x5d1e25);}):_0x59d9bb||_0x4303a9||_0x40f0f4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x143474(_0x329784,_0x4c4bc6){return new window[(_0x40f0f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28bd9b=>{if(_0x1960fe())return _0x28bd9b(_0x40f0f4([0x56,0x61,0x6c,0x69,0x64]));_0x3c8fab(),_0x283076[_0x40f0f4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x40f0f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2648c2=!0x1;const _0x5dc53e=_0xa09c35();function _0x26ba2e(_0x3d8979){return!!_0x3d8979&&(typeof _0x3d8979===_0x40f0f4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d8979===_0x40f0f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d8979[_0x40f0f4([0x74,0x68,0x65,0x6e])]===_0x40f0f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d8979[_0x40f0f4([0x63,0x61,0x74,0x63,0x68])]===_0x40f0f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2a6d3d(_0x287f37){_0x395e52(_0x287f37)[_0x40f0f4([0x74,0x68,0x65,0x6e])](_0x14f2a2=>{if(!_0x14f2a2||_0x14f2a2[_0x40f0f4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x40f0f4([0x6f,0x6b]))return _0x40f0f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x40109e(_0x2cc983(_0x5dc53e+_0x4c4bc6))!=_0x14f2a2[_0x40f0f4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x40f0f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x40f0f4([0x56,0x61,0x6c,0x69,0x64]);})[_0x40f0f4([0x74,0x68,0x65,0x6e])](_0x2437b3=>(_0x1d142a(),_0x2437b3),()=>{const _0x11c467=_0x3b3049();return null==_0x11c467?(_0x1d142a(),_0x40f0f4([0x56,0x61,0x6c,0x69,0x64])):_0x40f0f4(_0x4e4981-_0x11c467>(0x61d15615^_0x321a9d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x40f0f4([0x74,0x68,0x65,0x6e])](_0x28bd9b)[_0x40f0f4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x28bd9b(_0x40f0f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x59bf71=0x45eb3c95^_0x321a9d;function _0x1d142a(){const _0x391564=_0x40f0f4([0x6c,0x6c,0x63,0x74,0x2d])+_0x40109e(_0x2cc983(_0x329784)),_0x40e8a1=_0x1d3580(_0x40109e(window[_0x40f0f4([0x4d,0x61,0x74,0x68])][_0x40f0f4([0x63,0x65,0x69,0x6c])](_0x4e4981/_0x59bf71)));window[_0x40f0f4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40f0f4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x391564,_0x40e8a1);}function _0x3b3049(){const _0x1de0fd=_0x40f0f4([0x6c,0x6c,0x63,0x74,0x2d])+_0x40109e(_0x2cc983(_0x329784)),_0x2ca8fe=window[_0x40f0f4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40f0f4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1de0fd);return _0x2ca8fe?window[_0x40f0f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d3580(_0x2ca8fe),0x10)*_0x59bf71:null;}function _0x395e52(_0x25a025){return new window[(_0x40f0f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x99b7dc,_0x1d193b)=>{_0x25a025[_0x40f0f4([0x74,0x68,0x65,0x6e])](_0x99b7dc,_0x1d193b),window[_0x40f0f4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1d193b,0x45dc06d5^_0x321a9d);});}}_0x283076[_0x40f0f4([0x6f,0x6e])](_0x40f0f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xdd35e8,_0x2a0791)=>{if(_0x2a0791[0x0]!=_0x329784)return _0x28bd9b(_0x40f0f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a0791[0x1]={..._0x2a0791[0x1],[_0x40f0f4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5dc53e};},{[_0x40f0f4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40f0f4([0x68,0x69,0x67,0x68])}),_0x283076[_0x40f0f4([0x6f,0x6e])](_0x40f0f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x33c86d=>{_0x26ba2e(_0x33c86d[_0x40f0f4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2648c2=!0x0,_0x2a6d3d(_0x33c86d[_0x40f0f4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x40f0f4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40f0f4([0x6c,0x6f,0x77])}),_0x5083b5[_0x40f0f4([0x74,0x68,0x65,0x6e])](()=>{_0x2648c2||_0x28bd9b(_0x40f0f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1960fe(){return _0x283076[_0x40f0f4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40f0f4([0x76,0x69,0x65,0x77])][_0x40f0f4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x40f0f4([0x61,0x75,0x74,0x6f]);}function _0x3c8fab(){_0x283076[_0x40f0f4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40f0f4([0x76,0x69,0x65,0x77])][_0x40f0f4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x40f0f4([0x61,0x75,0x74,0x6f]);}}function _0x520056(_0x24a65a){const _0xe5aefc=[new window[(_0x40f0f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d5882=>setTimeout(_0x5d5882,0x45d4ecd9^_0x321a9d)),_0x5083b5[_0x40f0f4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x40f0f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c7983=>{let _0x44ad77=0x0;_0x283076[_0x40f0f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x40f0f4([0x6f,0x6e])](_0x40f0f4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5525f2,_0x3fef12)=>{_0x3fef12[0x0][_0x40f0f4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x44ad77++,_0x44ad77==(0x45ddd3ed^_0x321a9d)&&(_0x5c7983(),_0x5525f2[_0x40f0f4([0x6f,0x66,0x66])]());});}))];return window[_0x40f0f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x40f0f4([0x72,0x61,0x63,0x65])](_0xe5aefc)[_0x40f0f4([0x74,0x68,0x65,0x6e])](()=>_0x24a65a);}async function _0x3e12a6(){await _0x5083b5,_0x283076[_0x40f0f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x40f0f4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a1c1c,_0x283076[_0x40f0f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x40f0f4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a1c1c,_0x283076[_0x40f0f4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x40f0f4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c279c(_0x4a1df6){const _0x59798b=_0x4b299a();_0x283076[_0x59798b]=_0x40f0f4([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4a1df6,_0x4a1df6!=_0x40f0f4([0x56,0x61,0x6c,0x69,0x64])&&_0x3e12a6();}function _0x4b299a(){const _0x140361=window[_0x40f0f4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x40f0f4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x40f0f4([0x6e,0x6f,0x77])]())[_0x40f0f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x40f0f4([0x2e]),'');let _0x117c91=_0x40f0f4([0x50]);for(let _0x27c337=0x0;_0x27c337<_0x140361[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27c337+=0x2){let _0x180d40=window[_0x40f0f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x140361[_0x40f0f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27c337,_0x27c337+0x2));_0x180d40>=_0x4ebdf3[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x180d40-=_0x4ebdf3[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x117c91+=_0x4ebdf3[_0x180d40];}return _0x117c91;}function _0x1a28e2(){const _0x4d3ea0=_0x3709dd[_0x40f0f4([0x73,0x70,0x6c,0x69,0x74])](_0x40f0f4([0x2e]));if(0x3!=_0x4d3ea0[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x357993(_0x4d3ea0[0x1]);function _0x357993(_0x4fb6a8){const _0x4148c6=_0x483658(_0x4fb6a8);return _0x4148c6&&_0xb39b2f()?_0x4148c6:null;function _0xb39b2f(){const _0x2532c9=_0x4148c6[_0x40f0f4([0x6a,0x74,0x69])],_0x2f608a=window[_0x40f0f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2532c9[_0x40f0f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2532c9[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40b4fe={..._0x4148c6,[_0x40f0f4([0x6a,0x74,0x69])]:_0x2532c9[_0x40f0f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2532c9[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40b4fe[_0x40f0f4([0x76,0x63])],_0x2cc983(_0x40b4fe)==_0x2f608a;}}}async function _0x4f3ee6(){let _0x7ebd5b=!0x0;try{const _0x48fbb1=_0x3709dd[_0x40f0f4([0x73,0x70,0x6c,0x69,0x74])](_0x40f0f4([0x2e])),[_0x3a77dc,_0x59cf4f,_0x4a4968]=_0x48fbb1;return _0x67603c(_0x3a77dc),await _0x15f5ab(_0x3a77dc,_0x59cf4f,_0x4a4968),_0x7ebd5b;}catch{return!0x1;}function _0x67603c(_0x29c12a){const _0xaa62c9=_0x483658(_0x29c12a);_0xaa62c9&&_0xaa62c9[_0x40f0f4([0x61,0x6c,0x67])]==_0x40f0f4([0x45,0x53,0x32,0x35,0x36])||(_0x7ebd5b=!0x1);}async function _0x15f5ab(_0x15e87f,_0x45989a,_0x7e3a17){const _0xd0cb7c=window[_0x40f0f4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x40f0f4([0x66,0x72,0x6f,0x6d])](_0x2de2ab(_0x7e3a17),_0x37a773=>_0x37a773[_0x40f0f4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e62e3=new window[(_0x40f0f4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x40f0f4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x15e87f+_0x40f0f4([0x2e])+_0x45989a),_0x20c9e0=window[_0x40f0f4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x40f0f4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x20c9e0)return;const _0x339321=await _0x20c9e0[_0x40f0f4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x40f0f4([0x6a,0x77,0x6b]),_0x4a01ff,{[_0x40f0f4([0x6e,0x61,0x6d,0x65])]:_0x40f0f4([0x45,0x43,0x44,0x53,0x41]),[_0x40f0f4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x40f0f4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x40f0f4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x20c9e0[_0x40f0f4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x40f0f4([0x6e,0x61,0x6d,0x65])]:_0x40f0f4([0x45,0x43,0x44,0x53,0x41]),[_0x40f0f4([0x68,0x61,0x73,0x68])]:{[_0x40f0f4([0x6e,0x61,0x6d,0x65])]:_0x40f0f4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x339321,_0xd0cb7c,_0x1e62e3)||(_0x7ebd5b=!0x1);}}function _0x483658(_0x20aca0){return _0x20aca0[_0x40f0f4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x40f0f4([0x65,0x79]))?JSON[_0x40f0f4([0x70,0x61,0x72,0x73,0x65])](_0x2de2ab(_0x20aca0)):null;}function _0x2de2ab(_0x4f110a){return window[_0x40f0f4([0x61,0x74,0x6f,0x62])](_0x4f110a[_0x40f0f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x40f0f4([0x2b]))[_0x40f0f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x40f0f4([0x2f])));}function _0x2cc983(_0x2954d5){let _0x10a8bd=0x1505;function _0x1fdbb3(_0x3ebe19){for(let _0xa6fe79=0x0;_0xa6fe79<_0x3ebe19[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa6fe79++){const _0xd8b6ea=_0x3ebe19[_0x40f0f4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xa6fe79);_0x10a8bd=(_0x10a8bd<<0x5)+_0x10a8bd+_0xd8b6ea,_0x10a8bd&=_0x10a8bd;}}function _0x45afb1(_0x40f5f3){Array[_0x40f0f4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x40f5f3)?_0x40f5f3[_0x40f0f4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x45afb1):_0x40f5f3&&typeof _0x40f5f3==_0x40f0f4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x40f0f4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x40f5f3)[_0x40f0f4([0x73,0x6f,0x72,0x74])]()[_0x40f0f4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5a8ecb,_0x2e91b7])=>{_0x1fdbb3(_0x5a8ecb),_0x45afb1(_0x2e91b7);}):_0x1fdbb3(window[_0x40f0f4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x40f5f3));}return _0x45afb1(_0x2954d5),_0x10a8bd>>>0x0;}function _0x40109e(_0x56bbf9){return _0x56bbf9[_0x40f0f4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x40f0f4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x40f0f4([0x30]));}function _0x1d3580(_0x210a11){return _0x210a11[_0x40f0f4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x40f0f4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x40f0f4([0x6a,0x6f,0x69,0x6e])]('');}function _0x2a1c1c(){}function _0x40f0f4(_0x3dc1c7){const _0x5a81f6=_0x2595;return _0x3dc1c7[_0x5a81f6(0x11a)](_0x3f49b2=>String[_0x5a81f6(0x10f)](_0x3f49b2))[_0x5a81f6(0xf1)]('');}_0x3c279c(await _0x151f4d());}(this);}[_0x19c393(0xf6)](){const _0x4da163=_0x19c393,_0x3ce3ea=this[_0x4da163(0x109)];if(!_0x3ce3ea[_0x4da163(0xef)][_0x4da163(0xed)](_0x4da163(0xfb)))return;const _0x38ecfb=_0x3ce3ea[_0x4da163(0xef)][_0x4da163(0xed)](_0x4da163(0xee))[_0x4da163(0xeb)](_0x3cdb37=>_0x4da163(0x106)==typeof _0x3cdb37&&(!_0x362397(_0x3cdb37)&&isNaN(Number(_0x3cdb37))));if(_0x38ecfb[_0x4da163(0x113)])throw new _0x42c919(_0x4da163(0xe8),null,{'namedPresets':_0x38ecfb});}[_0x19c393(0xf5)](){const _0x2f7ffe=_0x19c393,_0x335f7f=this[_0x2f7ffe(0x109)],_0x1f585c=this[_0x2f7ffe(0x109)][_0x2f7ffe(0xef)][_0x2f7ffe(0xed)](_0x2f7ffe(0xf2));_0x335f7f[_0x2f7ffe(0xec)][_0x2f7ffe(0x10b)](_0x2f7ffe(0x111))[_0x2f7ffe(0xe9)]({'model':{'key':_0x2f7ffe(0x114)},'view':_0x21e038=>String(_0x21e038)===String(_0x1f585c)?null:{'key':_0x2f7ffe(0x104),'value':{'line-height':_0x21e038}}}),_0x335f7f[_0x2f7ffe(0xec)][_0x2f7ffe(0x10b)](_0x2f7ffe(0x100))[_0x2f7ffe(0xe9)]({'model':{'key':_0x2f7ffe(0x114),'value':_0x186834=>{const _0xf7aa4a=_0x2f7ffe;let _0x5c341a=_0x186834[_0xf7aa4a(0x117)](_0xf7aa4a(0x107));return _0x4c418c(_0x5c341a)&&(_0x5c341a=String(Number(_0x5c341a[_0xf7aa4a(0x119)](0x0,-0x1))/0x64)),String(_0x5c341a)===String(_0x1f585c)?null:_0x5c341a;}},'view':{'styles':{'line-height':/.*/}}});}[_0x19c393(0x10a)](){const _0x442f35=_0x19c393,_0x3b0775=this[_0x442f35(0x109)],_0x29e957=this[_0x442f35(0x109)][_0x442f35(0xef)][_0x442f35(0xed)](_0x442f35(0xf2)),_0x58037e=_0x37e2d5(this[_0x442f35(0x109)][_0x442f35(0xef)][_0x442f35(0xed)](_0x442f35(0x114)))[_0x442f35(0xeb)](_0xab0b59=>_0xab0b59[_0x442f35(0x112)]),_0x59c41d=_0x514396(_0x442f35(0x114),_0x58037e);_0x3b0775[_0x442f35(0xec)][_0x442f35(0xe9)](_0x59c41d),_0x3b0775[_0x442f35(0xec)][_0x442f35(0x10b)](_0x442f35(0x100))[_0x442f35(0xe9)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x442f35(0x114),'value':_0xd0c3f=>{const _0x2e87f4=_0x442f35;let _0x35f898=_0xd0c3f[_0x2e87f4(0x117)](_0x2e87f4(0x107));return _0x4c418c(_0x35f898)&&(_0x35f898=String(Number(_0x35f898[_0x2e87f4(0x119)](0x0,-0x1))/0x64)),_0x35f898===String(_0x29e957)?null:_0x59c41d[_0x2e87f4(0x112)][_0x2e87f4(0x11c)][_0x2e87f4(0xe7)](_0x35f898)?_0x35f898:null;}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5e4b5d}from'ckeditor5/src/core.js';import{addListToDropdown as _0x3d0cab,createDropdown as _0x19ec30,MenuBarMenuListItemButtonView as _0x42b6d3,MenuBarMenuListItemView as _0x54146b,MenuBarMenuListView as _0x13cfa9,MenuBarMenuView as _0x5813cb,UIModel as _0x273037}from'ckeditor5/src/ui.js';import{Collection as _0x2f9f76}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x34d0b9}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x351f49}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x5e4b5d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x40fc5={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x40fc5),this['_registerMenuBarComponent'](_0x40fc5),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x44e376=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1a12fc;for(const _0x1a75c1 in _0x44e376){const _0x4b023e=_0x1a75c1,_0x22d680=_0x44e376[_0x4b023e];if('lineHeightLicenseKeyValid'==_0x22d680||'lineHeightLicenseKeyInvalid'==_0x22d680||'lineHeightLicenseKeyExpired'==_0x22d680||'lineHeightLicenseKeyDomainLimit'==_0x22d680||'lineHeightLicenseKeyNotAllowed'==_0x22d680||'lineHeightLicenseKeyEvaluationLimit'==_0x22d680||'lineHeightLicenseKeyTrialLimit'==_0x22d680||'lineHeightLicenseKeyUsageLimit'==_0x22d680){delete _0x44e376[_0x4b023e],_0x1a12fc=_0x22d680,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x1a12fc&&_0x44e376['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x1a12fc&&_0x44e376['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x1a12fc&&_0x44e376['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x1a12fc&&_0x44e376['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x1a12fc&&_0x44e376['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x1a12fc&&_0x44e376['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x1a12fc&&_0x44e376['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x5f2810=this['editor'],t=_0x5f2810['t'],_0x1b1953=_0x5f2810['config']['get']('lineHeight'),_0x471e76={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x351f49(_0x1b1953)['map'](_0x3f2437=>{const _0x18179b=_0x471e76[_0x3f2437['title']];return _0x18179b&&_0x18179b!=_0x3f2437['title']&&(_0x3f2437=Object['assign']({},_0x3f2437,{'title':_0x18179b})),_0x3f2437;});}['_prepareListOptions'](){const _0x6e0f87=this['editor']['commands']['get']('lineHeight'),_0x365928=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2e810b=this['_getLocalizedLineHeightOptions'](),_0x326528=new _0x2f9f76(),_0x4bc880=_0x17ff16=>'default'===_0x17ff16||String(_0x365928)===_0x17ff16;for(const _0x2973d2 of _0x2e810b){const _0x45c553={'type':'button','model':new _0x273037({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2973d2['title'],'withText':!0x0})};_0x4bc880(_0x2973d2['model'])?(_0x45c553['model']['bind']('isOn')['to'](_0x6e0f87,'value',_0x5a194c=>!_0x5a194c),_0x45c553['model']['commandParam']=void 0x0):(_0x45c553['model']['bind']('isOn')['to'](_0x6e0f87,'value',_0x4b4256=>_0x4b4256===_0x2973d2['model']),_0x45c553['model']['commandParam']=_0x2973d2['model']),_0x326528['add'](_0x45c553);}if(this['_shouldRenderCustomValueOption']()){const _0x31364c=this['_getCustomValueOptionDefinition'](_0x2e810b);_0x326528['add'](_0x31364c);}return _0x326528;}['_getCustomValueOptionDefinition'](_0x4f2cd6){const _0xb4b16a=this['editor'],t=_0xb4b16a['t'],_0x54396a=_0xb4b16a['commands']['get']('lineHeight'),_0x36ca0c=_0x4f2cd6['map'](_0x2359bb=>_0x2359bb['model']),_0x7c672c={'type':'button','model':new _0x273037({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x7c672c['model']['bind']('commandParam')['to'](_0x54396a,'value'),_0x7c672c['model']['bind']('isOn')['to'](_0x54396a,'value',_0x4653ee=>!!_0x4653ee&&!_0x36ca0c['includes'](String(_0x4653ee))),_0x7c672c['model']['bind']('label')['to'](_0x54396a,'value',_0x27819e=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x27819e))),_0x7c672c;}['_registerToolbarComponent']({accessibleLabel:_0xe0bd00,options:_0x5aebd9}){const _0x2b097=this['editor'],_0x2cc222=_0x2b097['commands']['get']('lineHeight');_0x2b097['ui']['componentFactory']['add']('lineHeight',_0x296a09=>{const _0x2c2abe=_0x19ec30(_0x296a09);return _0x3d0cab(_0x2c2abe,_0x5aebd9,{'role':'menu','ariaLabel':_0xe0bd00}),_0x2c2abe['buttonView']['set']({'label':_0xe0bd00,'tooltip':!0x0,'icon':_0x34d0b9}),_0x2c2abe['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x2c2abe['bind']('isEnabled')['to'](_0x2cc222),this['listenTo'](_0x2c2abe,'execute',_0x4bb1cb=>{_0x2b097['execute'](_0x4bb1cb['source']['commandName'],{'value':_0x4bb1cb['source']['commandParam']}),_0x2b097['editing']['view']['focus']();}),_0x2c2abe['once']('change:isOpen',()=>{const _0x3ef32a=_0x2c2abe['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x2c2abe,_0x5aebd9,_0x3ef32a);}),_0x2c2abe;});}['_registerMenuBarComponent']({accessibleLabel:_0x25d585,options:_0x4a730e}){const _0x1129e5=this['editor'],_0x41f836=_0x1129e5['commands']['get']('lineHeight');_0x1129e5['ui']['componentFactory']['add']('menuBar:lineHeight',_0x1bb152=>{const _0x4b0e4b=new _0x5813cb(_0x1bb152);_0x4b0e4b['buttonView']['set']({'label':_0x25d585,'icon':_0x34d0b9}),_0x4b0e4b['bind']('isEnabled')['to'](_0x41f836);const _0x145b0c=new _0x13cfa9(_0x1bb152);for(const _0x584611 of _0x4a730e){const _0x24b173=new _0x54146b(_0x1bb152,_0x4b0e4b),_0x27587c=new _0x42b6d3(_0x1bb152);_0x27587c['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x27587c['bind'](...Object['keys'](_0x584611['model']))['to'](_0x584611['model']),_0x27587c['delegate']('execute')['to'](_0x4b0e4b),_0x27587c['on']('execute',()=>{_0x1129e5['execute'](_0x584611['model']['commandName'],{'value':_0x584611['model']['commandParam']}),_0x1129e5['editing']['view']['focus']();}),_0x24b173['children']['add'](_0x27587c),_0x145b0c['items']['add'](_0x24b173);}return _0x4b0e4b['panelView']['children']['add'](_0x145b0c),this['_attachCustomOptionVisibilityHandler'](_0x4b0e4b,_0x4a730e,_0x145b0c),_0x4b0e4b;});}['_attachCustomOptionVisibilityHandler'](_0x23cec1,_0x4b658d,_0x2e9f20){if(!this['_shouldRenderCustomValueOption']())return;const _0x219559=()=>{if(!_0x23cec1['isOpen'])return;_0x2e9f20['items']['last']['isVisible']=Boolean(_0x4b658d['last']['model']['isOn']);};_0x219559(),_0x23cec1['on']('change:isOpen',()=>{_0x219559();});}}
23
+ import{Plugin as _0x299cf4}from'ckeditor5/src/core.js';import{addListToDropdown as _0xd45e57,createDropdown as _0x56dd3b,MenuBarMenuListItemButtonView as _0x3adc85,MenuBarMenuListItemView as _0x405764,MenuBarMenuListView as _0xd5c7d2,MenuBarMenuView as _0x599d7b,UIModel as _0x3babaa}from'ckeditor5/src/ui.js';import{Collection as _0x5cb253}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x3ec45f}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x2b9344}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x299cf4{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2bb252={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x2bb252),this['_registerMenuBarComponent'](_0x2bb252),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2fe780=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1f302b;for(const _0x453649 in _0x2fe780){const _0x23777a=_0x453649,_0x301fd6=_0x2fe780[_0x23777a];if('lineHeightLicenseKeyValid'==_0x301fd6||'lineHeightLicenseKeyInvalid'==_0x301fd6||'lineHeightLicenseKeyExpired'==_0x301fd6||'lineHeightLicenseKeyDomainLimit'==_0x301fd6||'lineHeightLicenseKeyNotAllowed'==_0x301fd6||'lineHeightLicenseKeyEvaluationLimit'==_0x301fd6||'lineHeightLicenseKeyTrialLimit'==_0x301fd6||'lineHeightLicenseKeyUsageLimit'==_0x301fd6){delete _0x2fe780[_0x23777a],_0x1f302b=_0x301fd6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x1f302b&&_0x2fe780['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x1f302b&&_0x2fe780['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x1f302b&&_0x2fe780['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x1f302b&&_0x2fe780['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x1f302b&&_0x2fe780['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x1f302b&&_0x2fe780['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x1f302b&&_0x2fe780['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2d2a3a=this['editor'],t=_0x2d2a3a['t'],_0x14b3ab=_0x2d2a3a['config']['get']('lineHeight'),_0x487af8={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x2b9344(_0x14b3ab)['map'](_0x107bdc=>{const _0xf308d7=_0x487af8[_0x107bdc['title']];return _0xf308d7&&_0xf308d7!=_0x107bdc['title']&&(_0x107bdc=Object['assign']({},_0x107bdc,{'title':_0xf308d7})),_0x107bdc;});}['_prepareListOptions'](){const _0xa6532a=this['editor']['commands']['get']('lineHeight'),_0x59f446=this['editor']['config']['get']('lineHeight.defaultValue'),_0x173c4c=this['_getLocalizedLineHeightOptions'](),_0x2203b6=new _0x5cb253(),_0x221a56=_0x545a55=>'default'===_0x545a55||String(_0x59f446)===_0x545a55;for(const _0x5b9a28 of _0x173c4c){const _0x214d7f={'type':'button','model':new _0x3babaa({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x5b9a28['title'],'withText':!0x0})};_0x221a56(_0x5b9a28['model'])?(_0x214d7f['model']['bind']('isOn')['to'](_0xa6532a,'value',_0x52a0d5=>!_0x52a0d5),_0x214d7f['model']['commandParam']=void 0x0):(_0x214d7f['model']['bind']('isOn')['to'](_0xa6532a,'value',_0x38bfd9=>_0x38bfd9===_0x5b9a28['model']),_0x214d7f['model']['commandParam']=_0x5b9a28['model']),_0x2203b6['add'](_0x214d7f);}if(this['_shouldRenderCustomValueOption']()){const _0x53570b=this['_getCustomValueOptionDefinition'](_0x173c4c);_0x2203b6['add'](_0x53570b);}return _0x2203b6;}['_getCustomValueOptionDefinition'](_0x538e0c){const _0xa96f6c=this['editor'],t=_0xa96f6c['t'],_0x451cf8=_0xa96f6c['commands']['get']('lineHeight'),_0x1f069c=_0x538e0c['map'](_0x1aff34=>_0x1aff34['model']),_0xaa0b47={'type':'button','model':new _0x3babaa({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0xaa0b47['model']['bind']('commandParam')['to'](_0x451cf8,'value'),_0xaa0b47['model']['bind']('isOn')['to'](_0x451cf8,'value',_0x530f17=>!!_0x530f17&&!_0x1f069c['includes'](String(_0x530f17))),_0xaa0b47['model']['bind']('label')['to'](_0x451cf8,'value',_0x5927ee=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x5927ee))),_0xaa0b47;}['_registerToolbarComponent']({accessibleLabel:_0xff9b44,options:_0x26c219}){const _0x2985f6=this['editor'],_0x576066=_0x2985f6['commands']['get']('lineHeight');_0x2985f6['ui']['componentFactory']['add']('lineHeight',_0x3e9402=>{const _0x31e32e=_0x56dd3b(_0x3e9402);return _0xd45e57(_0x31e32e,_0x26c219,{'role':'menu','ariaLabel':_0xff9b44}),_0x31e32e['buttonView']['set']({'label':_0xff9b44,'tooltip':!0x0,'icon':_0x3ec45f}),_0x31e32e['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x31e32e['bind']('isEnabled')['to'](_0x576066),this['listenTo'](_0x31e32e,'execute',_0x5f2673=>{_0x2985f6['execute'](_0x5f2673['source']['commandName'],{'value':_0x5f2673['source']['commandParam']}),_0x2985f6['editing']['view']['focus']();}),_0x31e32e['once']('change:isOpen',()=>{const _0x2361ca=_0x31e32e['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x31e32e,_0x26c219,_0x2361ca);}),_0x31e32e;});}['_registerMenuBarComponent']({accessibleLabel:_0x5f052b,options:_0x15f683}){const _0x1c3d77=this['editor'],_0x39ff81=_0x1c3d77['commands']['get']('lineHeight');_0x1c3d77['ui']['componentFactory']['add']('menuBar:lineHeight',_0x56d67b=>{const _0x46c43e=new _0x599d7b(_0x56d67b);_0x46c43e['buttonView']['set']({'label':_0x5f052b,'icon':_0x3ec45f}),_0x46c43e['bind']('isEnabled')['to'](_0x39ff81);const _0x1db1ea=new _0xd5c7d2(_0x56d67b);for(const _0x5ad687 of _0x15f683){const _0x467208=new _0x405764(_0x56d67b,_0x46c43e),_0xcc28eb=new _0x3adc85(_0x56d67b);_0xcc28eb['set']({'role':'menuitemradio','isToggleable':!0x0}),_0xcc28eb['bind'](...Object['keys'](_0x5ad687['model']))['to'](_0x5ad687['model']),_0xcc28eb['delegate']('execute')['to'](_0x46c43e),_0xcc28eb['on']('execute',()=>{_0x1c3d77['execute'](_0x5ad687['model']['commandName'],{'value':_0x5ad687['model']['commandParam']}),_0x1c3d77['editing']['view']['focus']();}),_0x467208['children']['add'](_0xcc28eb),_0x1db1ea['items']['add'](_0x467208);}return _0x46c43e['panelView']['children']['add'](_0x1db1ea),this['_attachCustomOptionVisibilityHandler'](_0x46c43e,_0x15f683,_0x1db1ea),_0x46c43e;});}['_attachCustomOptionVisibilityHandler'](_0x32ff42,_0x94c29a,_0x19c03b){if(!this['_shouldRenderCustomValueOption']())return;const _0x288e21=()=>{if(!_0x32ff42['isOpen'])return;_0x19c03b['items']['last']['isVisible']=Boolean(_0x94c29a['last']['model']['isOn']);};_0x288e21(),_0x32ff42['on']('change:isOpen',()=>{_0x288e21();});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3e75(_0x3b8ef9,_0x12f45f){const _0xcffbbb=_0xcffb();return _0x3e75=function(_0x3e7540,_0x4a0d79){_0x3e7540=_0x3e7540-0x15f;let _0x92d5d4=_0xcffbbb[_0x3e7540];return _0x92d5d4;},_0x3e75(_0x3b8ef9,_0x12f45f);}(function(_0x32f236,_0x3220b3){const _0x5c8472=_0x3e75,_0x4dcbab=_0x32f236();while(!![]){try{const _0x37cbe9=-parseInt(_0x5c8472(0x175))/0x1+-parseInt(_0x5c8472(0x177))/0x2*(-parseInt(_0x5c8472(0x168))/0x3)+parseInt(_0x5c8472(0x167))/0x4+-parseInt(_0x5c8472(0x16d))/0x5+-parseInt(_0x5c8472(0x160))/0x6*(-parseInt(_0x5c8472(0x17c))/0x7)+parseInt(_0x5c8472(0x170))/0x8*(-parseInt(_0x5c8472(0x162))/0x9)+parseInt(_0x5c8472(0x173))/0xa*(-parseInt(_0x5c8472(0x16c))/0xb);if(_0x37cbe9===_0x3220b3)break;else _0x4dcbab['push'](_0x4dcbab['shift']());}catch(_0x5c5230){_0x4dcbab['push'](_0x4dcbab['shift']());}}}(_0xcffb,0xb4590));const v={get 'single'(){const _0x4a4102=_0x3e75;return{'title':_0x4a4102(0x163),'model':_0x4a4102(0x180),'view':{'key':_0x4a4102(0x17a),'value':_0x4a4102(0x15f)}};},get 'double'(){const _0x2eca59=_0x3e75;return{'title':_0x2eca59(0x181),'model':_0x2eca59(0x172),'view':{'key':_0x2eca59(0x17a),'value':_0x2eca59(0x165)}};}};export function isLineHeightDefaultValue(_0x5ebed4){const _0x19c4c8=_0x3e75;return _0x19c4c8(0x16a)==typeof _0x5ebed4&&_0x19c4c8(0x17b)===_0x5ebed4[_0x19c4c8(0x16b)]();}export function normalizeOptions(_0x1d66b1){const _0x16efa9=_0x3e75;return _0x1d66b1[_0x16efa9(0x174)][_0x16efa9(0x17f)](_0x566b31=>isLineHeightDefaultValue(_0x566b31)?{'title':String(_0x1d66b1[_0x16efa9(0x171)]),'model':_0x16efa9(0x17b)}:(_0x16efa9(0x176)==typeof _0x566b31&&(_0x566b31=String(_0x566b31)),_0x16efa9(0x16a)!=typeof _0x566b31?_0x566b31:parseFloat(_0x566b31)?{'title':_0x566b31,'model':_0x566b31,'view':{'name':_0x16efa9(0x164),'styles':{'line-height':_0x566b31}}}:findPreset(_0x566b31)))[_0x16efa9(0x178)](_0x16a91b=>void 0x0!==_0x16a91b);}export function findPreset(_0x2e6f4c){const _0x4b8c47=_0x3e75;return _0x4b8c47(0x16a)==typeof _0x2e6f4c?v[_0x2e6f4c]:v[_0x2e6f4c[_0x4b8c47(0x169)]];}function _0xcffb(){const _0x2f401a=['840310deoyyZ','number','1553738bCxRFc','filter','value','class','default','3097892tOpluB','values','view','map','single','Double','line-height-single','18PSfLko','key','2313qvdNXa','Single','span','line-height-double','line-height:','4775500TWkQtE','3PZHPFo','model','string','toLowerCase','1119701iNovhM','20855YPRcQX','push','style','9032sLTxBv','defaultValue','double','140DuRyoj','options'];_0xcffb=function(){return _0x2f401a;};return _0xcffb();}export function buildDefinition(_0x22fee4,_0x14b0d0){const _0x240553=_0x3e75,_0x315250={'model':{'key':_0x22fee4,'values':[]},'view':{}};for(const _0x260234 of _0x14b0d0)_0x240553(0x17a)===_0x260234[_0x240553(0x17e)]?.[_0x240553(0x161)]?(_0x315250[_0x240553(0x169)][_0x240553(0x17d)][_0x240553(0x16e)](_0x260234[_0x240553(0x169)]),_0x315250[_0x240553(0x17e)][_0x260234[_0x240553(0x169)]]={'key':_0x240553(0x17a),'value':_0x260234[_0x240553(0x17e)][_0x240553(0x179)]}):(_0x315250[_0x240553(0x169)][_0x240553(0x17d)][_0x240553(0x16e)](_0x260234[_0x240553(0x169)]),_0x315250[_0x240553(0x17e)][_0x260234[_0x240553(0x169)]]={'key':_0x240553(0x16f),'value':_0x240553(0x166)+_0x260234[_0x240553(0x169)]+';'});return _0x315250;}
23
+ (function(_0x5364e3,_0x4ef419){const _0x2726c7=_0x29de,_0x58b4f5=_0x5364e3();while(!![]){try{const _0x43fd0a=-parseInt(_0x2726c7(0x132))/0x1+-parseInt(_0x2726c7(0x123))/0x2*(-parseInt(_0x2726c7(0x12a))/0x3)+-parseInt(_0x2726c7(0x116))/0x4+parseInt(_0x2726c7(0x11f))/0x5*(parseInt(_0x2726c7(0x117))/0x6)+-parseInt(_0x2726c7(0x12e))/0x7*(-parseInt(_0x2726c7(0x128))/0x8)+-parseInt(_0x2726c7(0x122))/0x9+-parseInt(_0x2726c7(0x138))/0xa*(parseInt(_0x2726c7(0x127))/0xb);if(_0x43fd0a===_0x4ef419)break;else _0x58b4f5['push'](_0x58b4f5['shift']());}catch(_0x41cf72){_0x58b4f5['push'](_0x58b4f5['shift']());}}}(_0x1dbf,0x9fb42));const v={get 'single'(){const _0x4fb5ac=_0x29de;return{'title':_0x4fb5ac(0x11c),'model':_0x4fb5ac(0x118),'view':{'key':_0x4fb5ac(0x136),'value':_0x4fb5ac(0x124)}};},get 'double'(){const _0x1fc4d2=_0x29de;return{'title':_0x1fc4d2(0x125),'model':_0x1fc4d2(0x121),'view':{'key':_0x1fc4d2(0x136),'value':_0x1fc4d2(0x11d)}};}};function _0x1dbf(){const _0x270894=['96430rUMlpc','357608gvjrTc','299406AiziTo','single','values','span','options','Single','line-height-double','string','115HKfaLP','style','double','3190599FCkIjH','4oKiVKn','line-height-single','Double','value','1430BfIbtm','6021144WAPrnD','defaultValue','1796412btYIWJ','number','push','filter','7oDQKIT','line-height:','view','map','746325srBoqR','key','model','default','class','toLowerCase'];_0x1dbf=function(){return _0x270894;};return _0x1dbf();}export function isLineHeightDefaultValue(_0x295c76){const _0x416963=_0x29de;return _0x416963(0x11e)==typeof _0x295c76&&_0x416963(0x135)===_0x295c76[_0x416963(0x137)]();}function _0x29de(_0x377416,_0x163263){const _0x1dbf01=_0x1dbf();return _0x29de=function(_0x29de6e,_0x3ee2ac){_0x29de6e=_0x29de6e-0x116;let _0x3e6d6f=_0x1dbf01[_0x29de6e];return _0x3e6d6f;},_0x29de(_0x377416,_0x163263);}export function normalizeOptions(_0x90a972){const _0x570ebe=_0x29de;return _0x90a972[_0x570ebe(0x11b)][_0x570ebe(0x131)](_0x5f59ed=>isLineHeightDefaultValue(_0x5f59ed)?{'title':String(_0x90a972[_0x570ebe(0x129)]),'model':_0x570ebe(0x135)}:(_0x570ebe(0x12b)==typeof _0x5f59ed&&(_0x5f59ed=String(_0x5f59ed)),_0x570ebe(0x11e)!=typeof _0x5f59ed?_0x5f59ed:parseFloat(_0x5f59ed)?{'title':_0x5f59ed,'model':_0x5f59ed,'view':{'name':_0x570ebe(0x11a),'styles':{'line-height':_0x5f59ed}}}:findPreset(_0x5f59ed)))[_0x570ebe(0x12d)](_0x1bf20c=>void 0x0!==_0x1bf20c);}export function findPreset(_0xa0344e){const _0x1dc26a=_0x29de;return _0x1dc26a(0x11e)==typeof _0xa0344e?v[_0xa0344e]:v[_0xa0344e[_0x1dc26a(0x134)]];}export function buildDefinition(_0x58b2d5,_0x551513){const _0x36ed12=_0x29de,_0x501d61={'model':{'key':_0x58b2d5,'values':[]},'view':{}};for(const _0x28a4cf of _0x551513)_0x36ed12(0x136)===_0x28a4cf[_0x36ed12(0x130)]?.[_0x36ed12(0x133)]?(_0x501d61[_0x36ed12(0x134)][_0x36ed12(0x119)][_0x36ed12(0x12c)](_0x28a4cf[_0x36ed12(0x134)]),_0x501d61[_0x36ed12(0x130)][_0x28a4cf[_0x36ed12(0x134)]]={'key':_0x36ed12(0x136),'value':_0x28a4cf[_0x36ed12(0x130)][_0x36ed12(0x126)]}):(_0x501d61[_0x36ed12(0x134)][_0x36ed12(0x119)][_0x36ed12(0x12c)](_0x28a4cf[_0x36ed12(0x134)]),_0x501d61[_0x36ed12(0x130)][_0x28a4cf[_0x36ed12(0x134)]]={'key':_0x36ed12(0x120),'value':_0x36ed12(0x12f)+_0x28a4cf[_0x36ed12(0x134)]+';'});return _0x501d61;}