@ckeditor/ckeditor5-line-height 46.0.1 → 46.0.2-alpha.1
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.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x572916=_0x5ddf;(function(_0x26f923,_0x522948){const _0x52dd56=_0x5ddf,_0x3c5472=_0x26f923();while(!![]){try{const _0x199bf5=-parseInt(_0x52dd56(0x1c8))/0x1*(parseInt(_0x52dd56(0x1c9))/0x2)+parseInt(_0x52dd56(0x1cd))/0x3+-parseInt(_0x52dd56(0x1c6))/0x4+-parseInt(_0x52dd56(0x1c5))/0x5+-parseInt(_0x52dd56(0x1da))/0x6+-parseInt(_0x52dd56(0x1d0))/0x7*(-parseInt(_0x52dd56(0x1bf))/0x8)+parseInt(_0x52dd56(0x1d2))/0x9;if(_0x199bf5===_0x522948)break;else _0x3c5472['push'](_0x3c5472['shift']());}catch(_0x19e3b5){_0x3c5472['push'](_0x3c5472['shift']());}}}(_0x3126,0x509f9));import{Command as _0x4dda6d}from'ckeditor5/src/core.js';import{first as _0x4a8c2c}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x4dda6d{[_0x572916(0x1d3)](){const _0xa722b=_0x572916,_0x2c9967=this[_0xa722b(0x1d8)][_0xa722b(0x1cf)][_0xa722b(0x1d9)],_0x1befe5=_0x4a8c2c(_0x2c9967[_0xa722b(0x1ca)][_0xa722b(0x1cb)]());this[_0xa722b(0x1c4)]=Boolean(_0x1befe5)&&this[_0xa722b(0x1c0)](_0x1befe5),this[_0xa722b(0x1c1)]=this[_0xa722b(0x1c4)]&&_0x1befe5[_0xa722b(0x1c7)](_0xa722b(0x1ce));}[_0x572916(0x1cc)](_0x3dfd74={}){const _0x4d76e1=_0x572916,_0x30a53d=this[_0x4d76e1(0x1d8)][_0x4d76e1(0x1cf)],_0x57c9b7=_0x30a53d[_0x4d76e1(0x1d9)][_0x4d76e1(0x1ca)],_0x262ff9=_0x3dfd74[_0x4d76e1(0x1c1)];_0x30a53d[_0x4d76e1(0x1d5)](_0x457bbe=>{const _0x415ba9=_0x4d76e1,_0x1a6610=Array[_0x415ba9(0x1d7)](_0x57c9b7[_0x415ba9(0x1cb)]())[_0x415ba9(0x1c2)](_0x30e491=>this[_0x415ba9(0x1c0)](_0x30e491));for(const _0x4df8cb of _0x1a6610)_0x262ff9?_0x457bbe[_0x415ba9(0x1d1)](_0x415ba9(0x1ce),_0x262ff9,_0x4df8cb):_0x457bbe[_0x415ba9(0x1d4)](_0x415ba9(0x1ce),_0x4df8cb);});}[_0x572916(0x1c0)](_0x131998){const _0x2c9671=_0x572916;return this[_0x2c9671(0x1d8)][_0x2c9671(0x1cf)][_0x2c9671(0x1c3)][_0x2c9671(0x1d6)](_0x131998,_0x2c9671(0x1ce));}}function _0x5ddf(_0x4557e0,_0x5400f2){const _0x312649=_0x3126();return _0x5ddf=function(_0x5ddfff,_0x5e3188){_0x5ddfff=_0x5ddfff-0x1bf;let _0xa2b982=_0x312649[_0x5ddfff];return _0xa2b982;},_0x5ddf(_0x4557e0,_0x5400f2);}function _0x3126(){const _0x1b79d2=['1762XKEQde','selection','getSelectedBlocks','execute','1213944mgtFwz','lineHeight','model','618786ngAOfV','setAttribute','11366829XUGoQn','refresh','removeAttribute','change','checkAttribute','from','editor','document','1442208VqOgCV','8SJkqWT','_canHaveLineHeight','value','filter','schema','isEnabled','2810040FQwIrX','2208228Jymmhg','getAttribute','81JuAlzh'];_0x3126=function(){return _0x1b79d2;};return _0x3126();}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2103(){const _0x1c7d46=['includes','isOfficialPlugin','model','setAttributeProperties','length','lineHeight','config','4667715eTuCVk','fromCharCode','pluginName','line-height-invalid-use-of-named-presets','default','3359178THCVQX','schema','afterInit','lineHeight.supportAllValues','lineHeight.defaultValue','map','get','_prepareAnyValueConverters','60584HHzGQU','downcast','values','for','extend','$block','90vDHTJb','slice','init','707usXJgg','commands','attributeToAttribute','filter','string','define','editor','10851360lgrwBT','2504514ErhbsV','upcast','style','lineHeight.options','_validateConfig','join','add','24YXXMkZ','isPremiumPlugin','413935SqaanK','getStyle','line-height','href','conversion','LineHeightEditing','_preparePredefinedConverters','23330SJHyhQ'];_0x2103=function(){return _0x1c7d46;};return _0x2103();}const _0x4d8ebe=_0x4007;(function(_0x5f38a0,_0x48d095){const _0x1d70b1=_0x4007,_0x3f0924=_0x5f38a0();while(!![]){try{const _0x5dff36=parseInt(_0x1d70b1(0xe5))/0x1+parseInt(_0x1d70b1(0xdc))/0x2+parseInt(_0x1d70b1(0xf4))/0x3+parseInt(_0x1d70b1(0xe3))/0x4*(parseInt(_0x1d70b1(0xec))/0x5)+parseInt(_0x1d70b1(0xdb))/0x6+parseInt(_0x1d70b1(0xd4))/0x7*(-parseInt(_0x1d70b1(0xcb))/0x8)+-parseInt(_0x1d70b1(0xf9))/0x9*(parseInt(_0x1d70b1(0xd1))/0xa);if(_0x5dff36===_0x48d095)break;else _0x3f0924['push'](_0x3f0924['shift']());}catch(_0x399160){_0x3f0924['push'](_0x3f0924['shift']());}}}(_0x2103,0xe42ca));import{Plugin as _0x3df863}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x5c9266}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x185c29}from'ckeditor5/src/engine.js';import{uid as _0x3fb285,CKEditorError as _0x2ffa03}from'ckeditor5/src/utils.js';import{buildDefinition as _0x43e7f0,isLineHeightDefaultValue as _0x4ea9eb,normalizeOptions as _0x560058}from'./utils.js';function _0x4007(_0x3a7924,_0x27459a){const _0x21039d=_0x2103();return _0x4007=function(_0x400755,_0x3d8f82){_0x400755=_0x400755-0xc8;let _0xe2b5d2=_0x21039d[_0x400755];return _0xe2b5d2;},_0x4007(_0x3a7924,_0x27459a);}export class LineHeightEditing extends _0x3df863{static get[_0x4d8ebe(0xf6)](){const _0x3d5122=_0x4d8ebe;return _0x3d5122(0xea);}static get[_0x4d8ebe(0xee)](){return!0x0;}static get[_0x4d8ebe(0xe4)](){return!0x0;}constructor(_0x4b5f74){const _0x3b0035=_0x4d8ebe;super(_0x4b5f74),_0x4b5f74[_0x3b0035(0xf3)][_0x3b0035(0xd9)](_0x3b0035(0xf2),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x3b0035(0xf8),0x2,2.5,0x3]});}[_0x4d8ebe(0xd3)](){const _0xa38e50=_0x4d8ebe,_0x51ab66=this[_0xa38e50(0xda)];this[_0xa38e50(0xe0)](),_0x51ab66[_0xa38e50(0xef)][_0xa38e50(0xfa)][_0xa38e50(0xcf)](_0xa38e50(0xd0),{'allowAttributes':_0xa38e50(0xf2)}),_0x51ab66[_0xa38e50(0xef)][_0xa38e50(0xfa)][_0xa38e50(0xf0)](_0xa38e50(0xf2),{'isFormatting':!0x0}),_0x51ab66[_0xa38e50(0xd5)][_0xa38e50(0xe2)](_0xa38e50(0xf2),new _0x5c9266(_0x51ab66)),this[_0xa38e50(0xda)][_0xa38e50(0xf3)][_0xa38e50(0xc9)](_0xa38e50(0xfc))?this[_0xa38e50(0xca)]():this[_0xa38e50(0xeb)]();}[_0x4d8ebe(0xfb)](){!async function(_0x1e7fc4){const _0x1fecb1=_0x29af2f([0x4d,0x62,0x66,0x4b,0x36,0x74,0x59,0x57,0x76,0x68,0x47,0x7a,0x6e,0x31,0x52,0x79,0x78,0x6d,0x45,0x65,0x39,0x5a,0x38,0x51,0x33,0x63,0x37,0x61,0x4f,0x71,0x41,0x49,0x4a,0x58,0x30,0x55,0x46,0x64,0x34,0x4e,0x70,0x42,0x73,0x44,0x48,0x6f,0x6b,0x6c,0x43,0x77,0x53,0x35,0x50,0x54,0x75,0x4c,0x6a,0x67,0x32,0x56,0x72,0x69]),_0x2fa66d=0x6f0c3de6,_0x31da84=0x6f0b4dce^_0x2fa66d,_0x1a2338=window[_0x29af2f([0x44,0x61,0x74,0x65])][_0x29af2f([0x6e,0x6f,0x77])](),_0x5b0574=_0x1e7fc4[_0x29af2f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xfd61cd=new window[(_0x29af2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x519e56=>{_0x5b0574[_0x29af2f([0x6f,0x6e,0x63,0x65])](_0x29af2f([0x72,0x65,0x61,0x64,0x79]),_0x519e56);}),_0x15632a={[_0x29af2f([0x6b,0x74,0x79])]:_0x29af2f([0x45,0x43]),[_0x29af2f([0x75,0x73,0x65])]:_0x29af2f([0x73,0x69,0x67]),[_0x29af2f([0x63,0x72,0x76])]:_0x29af2f([0x50,0x2d,0x32,0x35,0x36]),[_0x29af2f([0x78])]:_0x29af2f([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]),[_0x29af2f([0x79])]:_0x29af2f([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]),[_0x29af2f([0x61,0x6c,0x67])]:_0x29af2f([0x45,0x53,0x32,0x35,0x36])},_0x3b6b4b=_0x5b0574[_0x29af2f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x29af2f([0x67,0x65,0x74])](_0x29af2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x462be9(){let _0x45ca11,_0x4a7042=null,_0x425621=null;try{if(_0x3b6b4b==_0x29af2f([0x47,0x50,0x4c]))return _0x29af2f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x45ca11=_0x110cc9(),!_0x45ca11)return _0x29af2f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x45ca11[_0x29af2f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x425621=_0x5d4cf6(_0x45ca11[_0x29af2f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x45ca11[_0x29af2f([0x6a,0x74,0x69])])),await _0xf74b31()?_0x1a5c23()?_0x73b96c()?_0x29af2f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x49e429()?(_0x45ca11[_0x29af2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29af2f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4a7042=_0x197d19(_0x29af2f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x45ca11[_0x29af2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29af2f([0x74,0x72,0x69,0x61,0x6c])&&(_0x4a7042=_0x197d19(_0x29af2f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x181327()):_0x29af2f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x29af2f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x29af2f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x29af2f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x73b96c(){const _0x7267a5=[_0x29af2f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x29af2f([0x74,0x72,0x69,0x61,0x6c])][_0x29af2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45ca11[_0x29af2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1a2338/0x3e8:0xe10*_0x31da84;return _0x45ca11[_0x29af2f([0x65,0x78,0x70])]<_0x7267a5;}function _0x1a5c23(){const _0x25596a=_0x45ca11[_0x29af2f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x25596a&&(!!_0x25596a[_0x29af2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29af2f([0x2a]))||!!_0x25596a[_0x29af2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29af2f([0x4c,0x48])));}function _0x49e429(){const _0x4135fe=_0x4007,_0x1b4154=_0x45ca11[_0x29af2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1b4154||0x0==_0x1b4154[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3437d9}=new URL(window[_0x29af2f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4135fe(0xe8)]);if(_0x1b4154[_0x29af2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3437d9))return!0x0;const _0x78af91=_0x3437d9[_0x29af2f([0x73,0x70,0x6c,0x69,0x74])](_0x29af2f([0x2e]));return _0x1b4154[_0x29af2f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e4eca=>_0x5e4eca[_0x29af2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29af2f([0x2a])))[_0x29af2f([0x6d,0x61,0x70])](_0x43496a=>_0x43496a[_0x29af2f([0x73,0x70,0x6c,0x69,0x74])](_0x29af2f([0x2e])))[_0x29af2f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ceead=>_0x2ceead[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x78af91[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29af2f([0x6d,0x61,0x70])](_0x48a9c0=>Array(_0x78af91[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x48a9c0[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29af2f([0x66,0x69,0x6c,0x6c])](_0x48a9c0[0x0]===_0x29af2f([0x2a])?_0x29af2f([0x2a]):'')[_0x29af2f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x48a9c0))[_0x29af2f([0x73,0x6f,0x6d,0x65])](_0x210417=>_0x78af91[_0x29af2f([0x65,0x76,0x65,0x72,0x79])]((_0x16fe0d,_0x2dee28)=>_0x210417[_0x2dee28]===_0x16fe0d||_0x210417[_0x2dee28]===_0x29af2f([0x2a])));}function _0x181327(){return _0x4a7042&&_0x425621?new window[(_0x29af2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x16a104,_0x463cbb)=>{_0x4a7042[_0x29af2f([0x74,0x68,0x65,0x6e])](_0x16a104,_0x463cbb),_0x425621[_0x29af2f([0x74,0x68,0x65,0x6e])](_0x5e6dec=>{_0x5e6dec!=_0x29af2f([0x56,0x61,0x6c,0x69,0x64])&&_0x16a104(_0x5e6dec);},_0x463cbb);}):_0x4a7042||_0x425621||_0x29af2f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d4cf6(_0x426331,_0x24ba67){return new window[(_0x29af2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47ff82=>{if(_0x20a9ac())return _0x47ff82(_0x29af2f([0x56,0x61,0x6c,0x69,0x64]));_0x43088e(),_0x5b0574[_0x29af2f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x29af2f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1076ba=!0x1;const _0x3e744c=_0x3fb285();function _0x268bb7(_0x17b164){return!!_0x17b164&&(typeof _0x17b164===_0x29af2f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x17b164===_0x29af2f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x17b164[_0x29af2f([0x74,0x68,0x65,0x6e])]===_0x29af2f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x17b164[_0x29af2f([0x63,0x61,0x74,0x63,0x68])]===_0x29af2f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x106f3d(_0x49e8d8){_0x21862d(_0x49e8d8)[_0x29af2f([0x74,0x68,0x65,0x6e])](_0x4cc89e=>{if(!_0x4cc89e||_0x4cc89e[_0x29af2f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x29af2f([0x6f,0x6b]))return _0x29af2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1eed8e(_0x1c916e(_0x3e744c+_0x24ba67))!=_0x4cc89e[_0x29af2f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x29af2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x29af2f([0x56,0x61,0x6c,0x69,0x64]);})[_0x29af2f([0x74,0x68,0x65,0x6e])](_0x55202c=>(_0x4b29cb(),_0x55202c),()=>{const _0x35a111=_0x22846b();return null==_0x35a111?(_0x4b29cb(),_0x29af2f([0x56,0x61,0x6c,0x69,0x64])):_0x29af2f(_0x1a2338-_0x35a111>(0x4b00b9e6^_0x2fa66d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x29af2f([0x74,0x68,0x65,0x6e])](_0x47ff82)[_0x29af2f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x47ff82(_0x29af2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x33395f=0x6f3ad366^_0x2fa66d;function _0x4b29cb(){const _0x452964=_0x29af2f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1eed8e(_0x1c916e(_0x426331)),_0x230012=_0x1785ff(_0x1eed8e(window[_0x29af2f([0x4d,0x61,0x74,0x68])][_0x29af2f([0x63,0x65,0x69,0x6c])](_0x1a2338/_0x33395f)));window[_0x29af2f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29af2f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x452964,_0x230012);}function _0x22846b(){const _0x12ce41=_0x29af2f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1eed8e(_0x1c916e(_0x426331)),_0x32f9bf=window[_0x29af2f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29af2f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12ce41);return _0x32f9bf?window[_0x29af2f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1785ff(_0x32f9bf),0x10)*_0x33395f:null;}function _0x21862d(_0xc5fa63){return new window[(_0x29af2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40f530,_0x5d2d9a)=>{_0xc5fa63[_0x29af2f([0x74,0x68,0x65,0x6e])](_0x40f530,_0x5d2d9a),window[_0x29af2f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5d2d9a,0x6f0de926^_0x2fa66d);});}}_0x5b0574[_0x29af2f([0x6f,0x6e])](_0x29af2f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x477431,_0x185b9e)=>{if(_0x185b9e[0x0]!=_0x426331)return _0x47ff82(_0x29af2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x185b9e[0x1]={..._0x185b9e[0x1],[_0x29af2f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e744c};},{[_0x29af2f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29af2f([0x68,0x69,0x67,0x68])}),_0x5b0574[_0x29af2f([0x6f,0x6e])](_0x29af2f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x301027=>{_0x268bb7(_0x301027[_0x29af2f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1076ba=!0x0,_0x106f3d(_0x301027[_0x29af2f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x29af2f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29af2f([0x6c,0x6f,0x77])}),_0xfd61cd[_0x29af2f([0x74,0x68,0x65,0x6e])](()=>{_0x1076ba||_0x47ff82(_0x29af2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x20a9ac(){return _0x5b0574[_0x29af2f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29af2f([0x76,0x69,0x65,0x77])][_0x29af2f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x29af2f([0x61,0x75,0x74,0x6f]);}function _0x43088e(){_0x5b0574[_0x29af2f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29af2f([0x76,0x69,0x65,0x77])][_0x29af2f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x29af2f([0x61,0x75,0x74,0x6f]);}}function _0x197d19(_0x43c7d6){const _0x527774=[new window[(_0x29af2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43dee5=>setTimeout(_0x43dee5,0x6f05032a^_0x2fa66d)),_0xfd61cd[_0x29af2f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x29af2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb48f5b=>{let _0x472173=0x0;_0x5b0574[_0x29af2f([0x6d,0x6f,0x64,0x65,0x6c])][_0x29af2f([0x6f,0x6e])](_0x29af2f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x7ef70d,_0x10d7d4)=>{_0x10d7d4[0x0][_0x29af2f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x472173++,_0x472173==(0x6f0c3c1e^_0x2fa66d)&&(_0xb48f5b(),_0x7ef70d[_0x29af2f([0x6f,0x66,0x66])]());});}))];return window[_0x29af2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x29af2f([0x72,0x61,0x63,0x65])](_0x527774)[_0x29af2f([0x74,0x68,0x65,0x6e])](()=>_0x43c7d6);}async function _0x462e41(){await _0xfd61cd,_0x5b0574[_0x29af2f([0x6d,0x6f,0x64,0x65,0x6c])][_0x29af2f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xcd6445,_0x5b0574[_0x29af2f([0x6d,0x6f,0x64,0x65,0x6c])][_0x29af2f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xcd6445,_0x5b0574[_0x29af2f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x29af2f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xc6c0a8(_0x4d4275){const _0x348035=_0x299995();_0x5b0574[_0x348035]=_0x29af2f([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4d4275,_0x4d4275!=_0x29af2f([0x56,0x61,0x6c,0x69,0x64])&&_0x462e41();}function _0x299995(){const _0x237913=window[_0x29af2f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x29af2f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x29af2f([0x6e,0x6f,0x77])]())[_0x29af2f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x29af2f([0x2e]),'');let _0x4901ff=_0x29af2f([0x4d]);for(let _0x290e0c=0x0;_0x290e0c<_0x237913[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x290e0c+=0x2){let _0x53ed1a=window[_0x29af2f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x237913[_0x29af2f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x290e0c,_0x290e0c+0x2));_0x53ed1a>=_0x1fecb1[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x53ed1a-=_0x1fecb1[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4901ff+=_0x1fecb1[_0x53ed1a];}return _0x4901ff;}function _0x110cc9(){const _0x35c70f=_0x3b6b4b[_0x29af2f([0x73,0x70,0x6c,0x69,0x74])](_0x29af2f([0x2e]));if(0x3!=_0x35c70f[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x23a4cc(_0x35c70f[0x1]);function _0x23a4cc(_0xc9c1ab){const _0x26df2b=_0x15d0e4(_0xc9c1ab);return _0x26df2b&&_0x293e30()?_0x26df2b:null;function _0x293e30(){const _0x3c2ab3=_0x26df2b[_0x29af2f([0x6a,0x74,0x69])],_0x1d114d=window[_0x29af2f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c2ab3[_0x29af2f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c2ab3[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3198d8={..._0x26df2b,[_0x29af2f([0x6a,0x74,0x69])]:_0x3c2ab3[_0x29af2f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3c2ab3[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3198d8[_0x29af2f([0x76,0x63])],_0x1c916e(_0x3198d8)==_0x1d114d;}}}async function _0xf74b31(){let _0x2ea0b3=!0x0;try{const _0x53fb79=_0x3b6b4b[_0x29af2f([0x73,0x70,0x6c,0x69,0x74])](_0x29af2f([0x2e])),[_0x32f189,_0x437652,_0x2cc54a]=_0x53fb79;return _0x152ab7(_0x32f189),await _0x77f617(_0x32f189,_0x437652,_0x2cc54a),_0x2ea0b3;}catch{return!0x1;}function _0x152ab7(_0x46ea70){const _0x57dd0d=_0x15d0e4(_0x46ea70);_0x57dd0d&&_0x57dd0d[_0x29af2f([0x61,0x6c,0x67])]==_0x29af2f([0x45,0x53,0x32,0x35,0x36])||(_0x2ea0b3=!0x1);}async function _0x77f617(_0x461a39,_0x4236c8,_0xf4dd9c){const _0x58da96=window[_0x29af2f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x29af2f([0x66,0x72,0x6f,0x6d])](_0x231674(_0xf4dd9c),_0x531d8c=>_0x531d8c[_0x29af2f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b9b9a=new window[(_0x29af2f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x29af2f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x461a39+_0x29af2f([0x2e])+_0x4236c8),_0x2ee2b6=window[_0x29af2f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x29af2f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ee2b6)return;const _0x11ced9=await _0x2ee2b6[_0x29af2f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x29af2f([0x6a,0x77,0x6b]),_0x15632a,{[_0x29af2f([0x6e,0x61,0x6d,0x65])]:_0x29af2f([0x45,0x43,0x44,0x53,0x41]),[_0x29af2f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x29af2f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x29af2f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ee2b6[_0x29af2f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x29af2f([0x6e,0x61,0x6d,0x65])]:_0x29af2f([0x45,0x43,0x44,0x53,0x41]),[_0x29af2f([0x68,0x61,0x73,0x68])]:{[_0x29af2f([0x6e,0x61,0x6d,0x65])]:_0x29af2f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11ced9,_0x58da96,_0x4b9b9a)||(_0x2ea0b3=!0x1);}}function _0x15d0e4(_0x19a879){return _0x19a879[_0x29af2f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x29af2f([0x65,0x79]))?JSON[_0x29af2f([0x70,0x61,0x72,0x73,0x65])](_0x231674(_0x19a879)):null;}function _0x231674(_0x5817e3){return window[_0x29af2f([0x61,0x74,0x6f,0x62])](_0x5817e3[_0x29af2f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x29af2f([0x2b]))[_0x29af2f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x29af2f([0x2f])));}function _0x1c916e(_0x5b318c){let _0x5ba96d=0x1505;function _0x17e636(_0x12d6e3){for(let _0x516f5e=0x0;_0x516f5e<_0x12d6e3[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x516f5e++){const _0x4bdf73=_0x12d6e3[_0x29af2f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x516f5e);_0x5ba96d=(_0x5ba96d<<0x5)+_0x5ba96d+_0x4bdf73,_0x5ba96d&=_0x5ba96d;}}function _0x5e1398(_0x2566b7){Array[_0x29af2f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2566b7)?_0x2566b7[_0x29af2f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e1398):_0x2566b7&&typeof _0x2566b7==_0x29af2f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x29af2f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2566b7)[_0x29af2f([0x73,0x6f,0x72,0x74])]()[_0x29af2f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x362e9a,_0x3592e4])=>{_0x17e636(_0x362e9a),_0x5e1398(_0x3592e4);}):_0x17e636(window[_0x29af2f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2566b7));}return _0x5e1398(_0x5b318c),_0x5ba96d>>>0x0;}function _0x1eed8e(_0x3b4475){return _0x3b4475[_0x29af2f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x29af2f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x29af2f([0x30]));}function _0x1785ff(_0x42266f){return _0x42266f[_0x29af2f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x29af2f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x29af2f([0x6a,0x6f,0x69,0x6e])]('');}function _0xcd6445(){}function _0x29af2f(_0x16d42b){const _0x3a8a9f=_0x4007;return _0x16d42b[_0x3a8a9f(0xc8)](_0x1c8f0f=>String[_0x3a8a9f(0xf5)](_0x1c8f0f))[_0x3a8a9f(0xe1)]('');}_0xc6c0a8(await _0x462be9());}(this);}[_0x4d8ebe(0xe0)](){const _0x4b333e=_0x4d8ebe,_0x2b1739=this[_0x4b333e(0xda)];if(!_0x2b1739[_0x4b333e(0xf3)][_0x4b333e(0xc9)](_0x4b333e(0xfc)))return;const _0x4bd0ba=_0x2b1739[_0x4b333e(0xf3)][_0x4b333e(0xc9)](_0x4b333e(0xdf))[_0x4b333e(0xd7)](_0x5d2b75=>_0x4b333e(0xd8)==typeof _0x5d2b75&&(!_0x4ea9eb(_0x5d2b75)&&isNaN(Number(_0x5d2b75))));if(_0x4bd0ba[_0x4b333e(0xf1)])throw new _0x2ffa03(_0x4b333e(0xf7),null,{'namedPresets':_0x4bd0ba});}[_0x4d8ebe(0xca)](){const _0x596e28=_0x4d8ebe,_0x2ed54e=this[_0x596e28(0xda)],_0x55486d=this[_0x596e28(0xda)][_0x596e28(0xf3)][_0x596e28(0xc9)](_0x596e28(0xfd));_0x2ed54e[_0x596e28(0xe9)][_0x596e28(0xce)](_0x596e28(0xcc))[_0x596e28(0xd6)]({'model':{'key':_0x596e28(0xf2)},'view':_0x12472e=>String(_0x12472e)===String(_0x55486d)?null:{'key':_0x596e28(0xde),'value':{'line-height':_0x12472e}}}),_0x2ed54e[_0x596e28(0xe9)][_0x596e28(0xce)](_0x596e28(0xdd))[_0x596e28(0xd6)]({'model':{'key':_0x596e28(0xf2),'value':_0x1ceebb=>{const _0x3651c5=_0x596e28;let _0x5bf333=_0x1ceebb[_0x3651c5(0xe6)](_0x3651c5(0xe7));return _0x185c29(_0x5bf333)&&(_0x5bf333=String(Number(_0x5bf333[_0x3651c5(0xd2)](0x0,-0x1))/0x64)),String(_0x5bf333)===String(_0x55486d)?null:_0x5bf333;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4d8ebe(0xeb)](){const _0x59cc9e=_0x4d8ebe,_0x1cfa54=this[_0x59cc9e(0xda)],_0x5dd8e6=this[_0x59cc9e(0xda)][_0x59cc9e(0xf3)][_0x59cc9e(0xc9)](_0x59cc9e(0xfd)),_0x4b99a4=_0x560058(this[_0x59cc9e(0xda)][_0x59cc9e(0xf3)][_0x59cc9e(0xc9)](_0x59cc9e(0xf2)))[_0x59cc9e(0xd7)](_0x172305=>_0x172305[_0x59cc9e(0xef)]),_0xad3c8f=_0x43e7f0(_0x59cc9e(0xf2),_0x4b99a4);_0x1cfa54[_0x59cc9e(0xe9)][_0x59cc9e(0xd6)](_0xad3c8f),_0x1cfa54[_0x59cc9e(0xe9)][_0x59cc9e(0xce)](_0x59cc9e(0xdd))[_0x59cc9e(0xd6)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x59cc9e(0xf2),'value':_0x1fad27=>{const _0x412b07=_0x59cc9e;let _0x16ad6e=_0x1fad27[_0x412b07(0xe6)](_0x412b07(0xe7));return _0x185c29(_0x16ad6e)&&(_0x16ad6e=String(Number(_0x16ad6e[_0x412b07(0xd2)](0x0,-0x1))/0x64)),_0x16ad6e===String(_0x5dd8e6)?null:_0xad3c8f[_0x412b07(0xef)][_0x412b07(0xcd)][_0x412b07(0xed)](_0x16ad6e)?_0x16ad6e:null;}}});}}
|
|
23
|
+
function _0xf46d(_0x2483a6,_0x50f682){const _0x58b96b=_0x58b9();return _0xf46d=function(_0xf46dc,_0x5ca29d){_0xf46dc=_0xf46dc-0x171;let _0x3ea9f0=_0x58b96b[_0xf46dc];return _0x3ea9f0;},_0xf46d(_0x2483a6,_0x50f682);}const _0x5008c9=_0xf46d;(function(_0x760e3f,_0x4b3d89){const _0x5aa91e=_0xf46d,_0x3bc9e7=_0x760e3f();while(!![]){try{const _0x38197a=-parseInt(_0x5aa91e(0x18a))/0x1*(-parseInt(_0x5aa91e(0x18e))/0x2)+-parseInt(_0x5aa91e(0x1a3))/0x3*(parseInt(_0x5aa91e(0x17a))/0x4)+-parseInt(_0x5aa91e(0x18b))/0x5*(-parseInt(_0x5aa91e(0x188))/0x6)+-parseInt(_0x5aa91e(0x18d))/0x7+-parseInt(_0x5aa91e(0x19b))/0x8+-parseInt(_0x5aa91e(0x1a0))/0x9*(parseInt(_0x5aa91e(0x184))/0xa)+-parseInt(_0x5aa91e(0x181))/0xb*(-parseInt(_0x5aa91e(0x190))/0xc);if(_0x38197a===_0x4b3d89)break;else _0x3bc9e7['push'](_0x3bc9e7['shift']());}catch(_0x3610b1){_0x3bc9e7['push'](_0x3bc9e7['shift']());}}}(_0x58b9,0x5d01f));function _0x58b9(){const _0x5168e2=['line-height-invalid-use-of-named-presets','values','get','string','getStyle','afterInit','line-height','define','_prepareAnyValueConverters','config','isOfficialPlugin','default','add','1391260hoxITe','setAttributeProperties','_preparePredefinedConverters','LineHeightEditing','filter','includes','lineHeight.supportAllValues','17611rjSvRi','commands','length','132590pnINbm','slice','style','map','347916OUEQze','isPremiumPlugin','29EvhHkq','5mqQWtc','extend','4381167tXyoHE','13450zphIkB','href','17436mDZYgn','for','model','$block','lineHeight.defaultValue','fromCharCode','upcast','join','lineHeight','pluginName','editor','5872208cmUNhb','lineHeight.options','conversion','attributeToAttribute','_validateConfig','333tOlkek','downcast','schema','3TbqbeL','init'];_0x58b9=function(){return _0x5168e2;};return _0x58b9();}import{Plugin as _0xd48886}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x418ed9}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x3783ed}from'ckeditor5/src/engine.js';import{uid as _0x548624,CKEditorError as _0x110b1a}from'ckeditor5/src/utils.js';import{buildDefinition as _0xd5ed94,isLineHeightDefaultValue as _0x5ad6fe,normalizeOptions as _0x51a9b6}from'./utils.js';export class LineHeightEditing extends _0xd48886{static get[_0x5008c9(0x199)](){const _0x406db6=_0x5008c9;return _0x406db6(0x17d);}static get[_0x5008c9(0x177)](){return!0x0;}static get[_0x5008c9(0x189)](){return!0x0;}constructor(_0x375a66){const _0x23b4fa=_0x5008c9;super(_0x375a66),_0x375a66[_0x23b4fa(0x176)][_0x23b4fa(0x174)](_0x23b4fa(0x198),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x23b4fa(0x178),0x2,2.5,0x3]});}[_0x5008c9(0x1a4)](){const _0x29756e=_0x5008c9,_0x2a3593=this[_0x29756e(0x19a)];this[_0x29756e(0x19f)](),_0x2a3593[_0x29756e(0x192)][_0x29756e(0x1a2)][_0x29756e(0x18c)](_0x29756e(0x193),{'allowAttributes':_0x29756e(0x198)}),_0x2a3593[_0x29756e(0x192)][_0x29756e(0x1a2)][_0x29756e(0x17b)](_0x29756e(0x198),{'isFormatting':!0x0}),_0x2a3593[_0x29756e(0x182)][_0x29756e(0x179)](_0x29756e(0x198),new _0x418ed9(_0x2a3593)),this[_0x29756e(0x19a)][_0x29756e(0x176)][_0x29756e(0x1a7)](_0x29756e(0x180))?this[_0x29756e(0x175)]():this[_0x29756e(0x17c)]();}[_0x5008c9(0x172)](){!async function(_0x24c6ea){const _0x3cda77=_0x2a1ff1([0x58,0x38,0x61,0x73,0x48,0x65,0x78,0x55,0x4c,0x53,0x79,0x56,0x75,0x33,0x6c,0x49,0x6d,0x4d,0x77,0x5a,0x71,0x74,0x34,0x37,0x54,0x67,0x63,0x39,0x76,0x6e,0x6f,0x70,0x32,0x43,0x52,0x59,0x4f,0x4a,0x30,0x69,0x50,0x45,0x7a,0x4e,0x46,0x41,0x44,0x66,0x62,0x51,0x72,0x4b,0x47,0x6b,0x57,0x68,0x36,0x35,0x64,0x6a,0x42,0x31]),_0x731376=0x5098c0f2,_0x45071f=0x509fb01a^_0x731376,_0x10cdb4=window[_0x2a1ff1([0x44,0x61,0x74,0x65])][_0x2a1ff1([0x6e,0x6f,0x77])](),_0x3334c8=_0x24c6ea[_0x2a1ff1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1981b6=new window[(_0x2a1ff1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51983e=>{_0x3334c8[_0x2a1ff1([0x6f,0x6e,0x63,0x65])](_0x2a1ff1([0x72,0x65,0x61,0x64,0x79]),_0x51983e);}),_0x30f0d1={[_0x2a1ff1([0x6b,0x74,0x79])]:_0x2a1ff1([0x45,0x43]),[_0x2a1ff1([0x75,0x73,0x65])]:_0x2a1ff1([0x73,0x69,0x67]),[_0x2a1ff1([0x63,0x72,0x76])]:_0x2a1ff1([0x50,0x2d,0x32,0x35,0x36]),[_0x2a1ff1([0x78])]:_0x2a1ff1([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]),[_0x2a1ff1([0x79])]:_0x2a1ff1([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]),[_0x2a1ff1([0x61,0x6c,0x67])]:_0x2a1ff1([0x45,0x53,0x32,0x35,0x36])},_0x473b2b=_0x3334c8[_0x2a1ff1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2a1ff1([0x67,0x65,0x74])](_0x2a1ff1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x18d496(){let _0x3fa7ff,_0x48032e=null,_0x5b014c=null;try{if(_0x473b2b==_0x2a1ff1([0x47,0x50,0x4c]))return _0x2a1ff1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3fa7ff=_0x4feec0(),!_0x3fa7ff)return _0x2a1ff1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3fa7ff[_0x2a1ff1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b014c=_0x115637(_0x3fa7ff[_0x2a1ff1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3fa7ff[_0x2a1ff1([0x6a,0x74,0x69])])),await _0x3bc769()?_0x1f89c2()?_0x590c20()?_0x2a1ff1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2d35e5()?(_0x3fa7ff[_0x2a1ff1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a1ff1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x48032e=_0x330e5a(_0x2a1ff1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3fa7ff[_0x2a1ff1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a1ff1([0x74,0x72,0x69,0x61,0x6c])&&(_0x48032e=_0x330e5a(_0x2a1ff1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x48dcc8()):_0x2a1ff1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2a1ff1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2a1ff1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2a1ff1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x590c20(){const _0x361a28=[_0x2a1ff1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2a1ff1([0x74,0x72,0x69,0x61,0x6c])][_0x2a1ff1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fa7ff[_0x2a1ff1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x10cdb4/0x3e8:0xe10*_0x45071f;return _0x3fa7ff[_0x2a1ff1([0x65,0x78,0x70])]<_0x361a28;}function _0x1f89c2(){const _0x26a690=_0x3fa7ff[_0x2a1ff1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x26a690&&(!!_0x26a690[_0x2a1ff1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a1ff1([0x2a]))||!!_0x26a690[_0x2a1ff1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a1ff1([0x4c,0x48])));}function _0x2d35e5(){const _0x111dd9=_0xf46d,_0x15004d=_0x3fa7ff[_0x2a1ff1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x15004d||0x0==_0x15004d[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x34b4e6}=new URL(window[_0x2a1ff1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x111dd9(0x18f)]);if(_0x15004d[_0x2a1ff1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34b4e6))return!0x0;const _0x251ee9=_0x34b4e6[_0x2a1ff1([0x73,0x70,0x6c,0x69,0x74])](_0x2a1ff1([0x2e]));return _0x15004d[_0x2a1ff1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50ad9e=>_0x50ad9e[_0x2a1ff1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a1ff1([0x2a])))[_0x2a1ff1([0x6d,0x61,0x70])](_0x29ed33=>_0x29ed33[_0x2a1ff1([0x73,0x70,0x6c,0x69,0x74])](_0x2a1ff1([0x2e])))[_0x2a1ff1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2bb44c=>_0x2bb44c[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x251ee9[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a1ff1([0x6d,0x61,0x70])](_0x19b2ab=>Array(_0x251ee9[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x19b2ab[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a1ff1([0x66,0x69,0x6c,0x6c])](_0x19b2ab[0x0]===_0x2a1ff1([0x2a])?_0x2a1ff1([0x2a]):'')[_0x2a1ff1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x19b2ab))[_0x2a1ff1([0x73,0x6f,0x6d,0x65])](_0x32b25d=>_0x251ee9[_0x2a1ff1([0x65,0x76,0x65,0x72,0x79])]((_0x3d7301,_0x8c11ae)=>_0x32b25d[_0x8c11ae]===_0x3d7301||_0x32b25d[_0x8c11ae]===_0x2a1ff1([0x2a])));}function _0x48dcc8(){return _0x48032e&&_0x5b014c?new window[(_0x2a1ff1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x268ce8,_0x1ff137)=>{_0x48032e[_0x2a1ff1([0x74,0x68,0x65,0x6e])](_0x268ce8,_0x1ff137),_0x5b014c[_0x2a1ff1([0x74,0x68,0x65,0x6e])](_0x1f5feb=>{_0x1f5feb!=_0x2a1ff1([0x56,0x61,0x6c,0x69,0x64])&&_0x268ce8(_0x1f5feb);},_0x1ff137);}):_0x48032e||_0x5b014c||_0x2a1ff1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x115637(_0x37b5c3,_0x55fc55){return new window[(_0x2a1ff1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a8e4f=>{if(_0x4d277a())return _0x5a8e4f(_0x2a1ff1([0x56,0x61,0x6c,0x69,0x64]));_0x4e3026(),_0x3334c8[_0x2a1ff1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2a1ff1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x36baaf=!0x1;const _0x4b1f01=_0x548624();function _0x163521(_0x1858af){return!!_0x1858af&&(typeof _0x1858af===_0x2a1ff1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1858af===_0x2a1ff1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1858af[_0x2a1ff1([0x74,0x68,0x65,0x6e])]===_0x2a1ff1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1858af[_0x2a1ff1([0x63,0x61,0x74,0x63,0x68])]===_0x2a1ff1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x12d640(_0x48393d){_0x26e516(_0x48393d)[_0x2a1ff1([0x74,0x68,0x65,0x6e])](_0x5c7c56=>{if(!_0x5c7c56||_0x5c7c56[_0x2a1ff1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2a1ff1([0x6f,0x6b]))return _0x2a1ff1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4c47a5(_0x4a4021(_0x4b1f01+_0x55fc55))!=_0x5c7c56[_0x2a1ff1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2a1ff1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2a1ff1([0x56,0x61,0x6c,0x69,0x64]);})[_0x2a1ff1([0x74,0x68,0x65,0x6e])](_0x5ea2f0=>(_0x78fb54(),_0x5ea2f0),()=>{const _0x125f72=_0x5f2e8e();return null==_0x125f72?(_0x78fb54(),_0x2a1ff1([0x56,0x61,0x6c,0x69,0x64])):_0x2a1ff1(_0x10cdb4-_0x125f72>(0x749444f2^_0x731376)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2a1ff1([0x74,0x68,0x65,0x6e])](_0x5a8e4f)[_0x2a1ff1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5a8e4f(_0x2a1ff1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x28bc5c=0x50ae2e72^_0x731376;function _0x78fb54(){const _0x4860d2=_0x2a1ff1([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c47a5(_0x4a4021(_0x37b5c3)),_0x2a297e=_0x4b1bca(_0x4c47a5(window[_0x2a1ff1([0x4d,0x61,0x74,0x68])][_0x2a1ff1([0x63,0x65,0x69,0x6c])](_0x10cdb4/_0x28bc5c)));window[_0x2a1ff1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a1ff1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4860d2,_0x2a297e);}function _0x5f2e8e(){const _0x8c4147=_0x2a1ff1([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c47a5(_0x4a4021(_0x37b5c3)),_0x4c800f=window[_0x2a1ff1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a1ff1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8c4147);return _0x4c800f?window[_0x2a1ff1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b1bca(_0x4c800f),0x10)*_0x28bc5c:null;}function _0x26e516(_0x568bd3){return new window[(_0x2a1ff1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e434b,_0x23202f)=>{_0x568bd3[_0x2a1ff1([0x74,0x68,0x65,0x6e])](_0x1e434b,_0x23202f),window[_0x2a1ff1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x23202f,0x50991432^_0x731376);});}}_0x3334c8[_0x2a1ff1([0x6f,0x6e])](_0x2a1ff1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x23bf03,_0x1fbd02)=>{if(_0x1fbd02[0x0]!=_0x37b5c3)return _0x5a8e4f(_0x2a1ff1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1fbd02[0x1]={..._0x1fbd02[0x1],[_0x2a1ff1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4b1f01};},{[_0x2a1ff1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a1ff1([0x68,0x69,0x67,0x68])}),_0x3334c8[_0x2a1ff1([0x6f,0x6e])](_0x2a1ff1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x173b7b=>{_0x163521(_0x173b7b[_0x2a1ff1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x36baaf=!0x0,_0x12d640(_0x173b7b[_0x2a1ff1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2a1ff1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a1ff1([0x6c,0x6f,0x77])}),_0x1981b6[_0x2a1ff1([0x74,0x68,0x65,0x6e])](()=>{_0x36baaf||_0x5a8e4f(_0x2a1ff1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4d277a(){return _0x3334c8[_0x2a1ff1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a1ff1([0x76,0x69,0x65,0x77])][_0x2a1ff1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2a1ff1([0x61,0x75,0x74,0x6f]);}function _0x4e3026(){_0x3334c8[_0x2a1ff1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a1ff1([0x76,0x69,0x65,0x77])][_0x2a1ff1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a1ff1([0x61,0x75,0x74,0x6f]);}}function _0x330e5a(_0x23d33a){const _0x3dc56d=[new window[(_0x2a1ff1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2880b1=>setTimeout(_0x2880b1,0x5091fe3e^_0x731376)),_0x1981b6[_0x2a1ff1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2a1ff1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44e29c=>{let _0x4612ff=0x0;_0x3334c8[_0x2a1ff1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a1ff1([0x6f,0x6e])](_0x2a1ff1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xa23e17,_0x4ddaf5)=>{_0x4ddaf5[0x0][_0x2a1ff1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4612ff++,_0x4612ff==(0x5098c10a^_0x731376)&&(_0x44e29c(),_0xa23e17[_0x2a1ff1([0x6f,0x66,0x66])]());});}))];return window[_0x2a1ff1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a1ff1([0x72,0x61,0x63,0x65])](_0x3dc56d)[_0x2a1ff1([0x74,0x68,0x65,0x6e])](()=>_0x23d33a);}async function _0x49df14(){await _0x1981b6,_0x3334c8[_0x2a1ff1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a1ff1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x40e20d,_0x3334c8[_0x2a1ff1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a1ff1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x40e20d,_0x3334c8[_0x2a1ff1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2a1ff1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5804b9(_0x581016){const _0x47f650=_0x485563();_0x3334c8[_0x47f650]=_0x2a1ff1([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x581016,_0x581016!=_0x2a1ff1([0x56,0x61,0x6c,0x69,0x64])&&_0x49df14();}function _0x485563(){const _0x54e463=window[_0x2a1ff1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2a1ff1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2a1ff1([0x6e,0x6f,0x77])]())[_0x2a1ff1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2a1ff1([0x2e]),'');let _0x2b1653=_0x2a1ff1([0x58]);for(let _0x504370=0x0;_0x504370<_0x54e463[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x504370+=0x2){let _0x1a11a9=window[_0x2a1ff1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54e463[_0x2a1ff1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x504370,_0x504370+0x2));_0x1a11a9>=_0x3cda77[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1a11a9-=_0x3cda77[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2b1653+=_0x3cda77[_0x1a11a9];}return _0x2b1653;}function _0x4feec0(){const _0x3877fb=_0x473b2b[_0x2a1ff1([0x73,0x70,0x6c,0x69,0x74])](_0x2a1ff1([0x2e]));if(0x3!=_0x3877fb[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x127e4f(_0x3877fb[0x1]);function _0x127e4f(_0x123e5a){const _0x3a48b2=_0x46c935(_0x123e5a);return _0x3a48b2&&_0x2a354c()?_0x3a48b2:null;function _0x2a354c(){const _0x517501=_0x3a48b2[_0x2a1ff1([0x6a,0x74,0x69])],_0x2c8f08=window[_0x2a1ff1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x517501[_0x2a1ff1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x517501[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x49a731={..._0x3a48b2,[_0x2a1ff1([0x6a,0x74,0x69])]:_0x517501[_0x2a1ff1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x517501[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x49a731[_0x2a1ff1([0x76,0x63])],_0x4a4021(_0x49a731)==_0x2c8f08;}}}async function _0x3bc769(){let _0x545552=!0x0;try{const _0x130460=_0x473b2b[_0x2a1ff1([0x73,0x70,0x6c,0x69,0x74])](_0x2a1ff1([0x2e])),[_0xcc911c,_0x561bbe,_0x462177]=_0x130460;return _0x5082f0(_0xcc911c),await _0x399975(_0xcc911c,_0x561bbe,_0x462177),_0x545552;}catch{return!0x1;}function _0x5082f0(_0x1e4cb8){const _0x537cdd=_0x46c935(_0x1e4cb8);_0x537cdd&&_0x537cdd[_0x2a1ff1([0x61,0x6c,0x67])]==_0x2a1ff1([0x45,0x53,0x32,0x35,0x36])||(_0x545552=!0x1);}async function _0x399975(_0x488657,_0x479aae,_0x7a124c){const _0x139af5=window[_0x2a1ff1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2a1ff1([0x66,0x72,0x6f,0x6d])](_0x3b3ab3(_0x7a124c),_0x2aea4c=>_0x2aea4c[_0x2a1ff1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3d3797=new window[(_0x2a1ff1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2a1ff1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x488657+_0x2a1ff1([0x2e])+_0x479aae),_0x4b5c64=window[_0x2a1ff1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2a1ff1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4b5c64)return;const _0x36bcd6=await _0x4b5c64[_0x2a1ff1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2a1ff1([0x6a,0x77,0x6b]),_0x30f0d1,{[_0x2a1ff1([0x6e,0x61,0x6d,0x65])]:_0x2a1ff1([0x45,0x43,0x44,0x53,0x41]),[_0x2a1ff1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2a1ff1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2a1ff1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4b5c64[_0x2a1ff1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2a1ff1([0x6e,0x61,0x6d,0x65])]:_0x2a1ff1([0x45,0x43,0x44,0x53,0x41]),[_0x2a1ff1([0x68,0x61,0x73,0x68])]:{[_0x2a1ff1([0x6e,0x61,0x6d,0x65])]:_0x2a1ff1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x36bcd6,_0x139af5,_0x3d3797)||(_0x545552=!0x1);}}function _0x46c935(_0x2bf8a6){return _0x2bf8a6[_0x2a1ff1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2a1ff1([0x65,0x79]))?JSON[_0x2a1ff1([0x70,0x61,0x72,0x73,0x65])](_0x3b3ab3(_0x2bf8a6)):null;}function _0x3b3ab3(_0x72ae79){return window[_0x2a1ff1([0x61,0x74,0x6f,0x62])](_0x72ae79[_0x2a1ff1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2a1ff1([0x2b]))[_0x2a1ff1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2a1ff1([0x2f])));}function _0x4a4021(_0x7ae3cb){let _0x386d92=0x1505;function _0x881838(_0x1f4e19){for(let _0x1baab2=0x0;_0x1baab2<_0x1f4e19[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1baab2++){const _0x2a3078=_0x1f4e19[_0x2a1ff1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1baab2);_0x386d92=(_0x386d92<<0x5)+_0x386d92+_0x2a3078,_0x386d92&=_0x386d92;}}function _0x387113(_0x41dab7){Array[_0x2a1ff1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x41dab7)?_0x41dab7[_0x2a1ff1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x387113):_0x41dab7&&typeof _0x41dab7==_0x2a1ff1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2a1ff1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x41dab7)[_0x2a1ff1([0x73,0x6f,0x72,0x74])]()[_0x2a1ff1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4ca35d,_0x1a2d82])=>{_0x881838(_0x4ca35d),_0x387113(_0x1a2d82);}):_0x881838(window[_0x2a1ff1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x41dab7));}return _0x387113(_0x7ae3cb),_0x386d92>>>0x0;}function _0x4c47a5(_0x1c6b35){return _0x1c6b35[_0x2a1ff1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2a1ff1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2a1ff1([0x30]));}function _0x4b1bca(_0x1f7ff9){return _0x1f7ff9[_0x2a1ff1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2a1ff1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2a1ff1([0x6a,0x6f,0x69,0x6e])]('');}function _0x40e20d(){}function _0x2a1ff1(_0x15251f){const _0x2dd03d=_0xf46d;return _0x15251f[_0x2dd03d(0x187)](_0x323bd4=>String[_0x2dd03d(0x195)](_0x323bd4))[_0x2dd03d(0x197)]('');}_0x5804b9(await _0x18d496());}(this);}[_0x5008c9(0x19f)](){const _0x52e346=_0x5008c9,_0x3ec111=this[_0x52e346(0x19a)];if(!_0x3ec111[_0x52e346(0x176)][_0x52e346(0x1a7)](_0x52e346(0x180)))return;const _0x482126=_0x3ec111[_0x52e346(0x176)][_0x52e346(0x1a7)](_0x52e346(0x19c))[_0x52e346(0x17e)](_0x4fb8ea=>_0x52e346(0x1a8)==typeof _0x4fb8ea&&(!_0x5ad6fe(_0x4fb8ea)&&isNaN(Number(_0x4fb8ea))));if(_0x482126[_0x52e346(0x183)])throw new _0x110b1a(_0x52e346(0x1a5),null,{'namedPresets':_0x482126});}[_0x5008c9(0x175)](){const _0x336322=_0x5008c9,_0x50db34=this[_0x336322(0x19a)],_0x67ae7=this[_0x336322(0x19a)][_0x336322(0x176)][_0x336322(0x1a7)](_0x336322(0x194));_0x50db34[_0x336322(0x19d)][_0x336322(0x191)](_0x336322(0x1a1))[_0x336322(0x19e)]({'model':{'key':_0x336322(0x198)},'view':_0x1c66d1=>String(_0x1c66d1)===String(_0x67ae7)?null:{'key':_0x336322(0x186),'value':{'line-height':_0x1c66d1}}}),_0x50db34[_0x336322(0x19d)][_0x336322(0x191)](_0x336322(0x196))[_0x336322(0x19e)]({'model':{'key':_0x336322(0x198),'value':_0x5f186f=>{const _0x2294cc=_0x336322;let _0x4ace95=_0x5f186f[_0x2294cc(0x171)](_0x2294cc(0x173));return _0x3783ed(_0x4ace95)&&(_0x4ace95=String(Number(_0x4ace95[_0x2294cc(0x185)](0x0,-0x1))/0x64)),String(_0x4ace95)===String(_0x67ae7)?null:_0x4ace95;}},'view':{'styles':{'line-height':/.*/}}});}[_0x5008c9(0x17c)](){const _0x4a713d=_0x5008c9,_0x49dfbf=this[_0x4a713d(0x19a)],_0x53810c=this[_0x4a713d(0x19a)][_0x4a713d(0x176)][_0x4a713d(0x1a7)](_0x4a713d(0x194)),_0x315b99=_0x51a9b6(this[_0x4a713d(0x19a)][_0x4a713d(0x176)][_0x4a713d(0x1a7)](_0x4a713d(0x198)))[_0x4a713d(0x17e)](_0xfd1a10=>_0xfd1a10[_0x4a713d(0x192)]),_0x4f39a5=_0xd5ed94(_0x4a713d(0x198),_0x315b99);_0x49dfbf[_0x4a713d(0x19d)][_0x4a713d(0x19e)](_0x4f39a5),_0x49dfbf[_0x4a713d(0x19d)][_0x4a713d(0x191)](_0x4a713d(0x196))[_0x4a713d(0x19e)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x4a713d(0x198),'value':_0x4e9da6=>{const _0x7d44c8=_0x4a713d;let _0x2efc68=_0x4e9da6[_0x7d44c8(0x171)](_0x7d44c8(0x173));return _0x3783ed(_0x2efc68)&&(_0x2efc68=String(Number(_0x2efc68[_0x7d44c8(0x185)](0x0,-0x1))/0x64)),_0x2efc68===String(_0x53810c)?null:_0x4f39a5[_0x7d44c8(0x192)][_0x7d44c8(0x1a6)][_0x7d44c8(0x17f)](_0x2efc68)?_0x2efc68:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x128d00}from'ckeditor5/src/core.js';import{addListToDropdown as _0x3d5cf8,createDropdown as _0x541c7a,MenuBarMenuListItemButtonView as _0xa560ef,MenuBarMenuListItemView as _0x29bea2,MenuBarMenuListView as _0x3ee36f,MenuBarMenuView as _0x27962b,UIModel as _0x3860cb}from'ckeditor5/src/ui.js';import{Collection as _0x463979}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x27541f}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x5d04f3}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x128d00{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x36a7f3={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x36a7f3),this['_registerMenuBarComponent'](_0x36a7f3),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x553ee9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5ae664;for(const _0x4cee9c in _0x553ee9){const _0x3bc52f=_0x4cee9c,_0x5b64f4=_0x553ee9[_0x3bc52f];if('lineHeightLicenseKeyValid'==_0x5b64f4||'lineHeightLicenseKeyInvalid'==_0x5b64f4||'lineHeightLicenseKeyExpired'==_0x5b64f4||'lineHeightLicenseKeyDomainLimit'==_0x5b64f4||'lineHeightLicenseKeyNotAllowed'==_0x5b64f4||'lineHeightLicenseKeyEvaluationLimit'==_0x5b64f4||'lineHeightLicenseKeyTrialLimit'==_0x5b64f4||'lineHeightLicenseKeyUsageLimit'==_0x5b64f4){delete _0x553ee9[_0x3bc52f],_0x5ae664=_0x5b64f4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x5ae664&&_0x553ee9['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x5ae664&&_0x553ee9['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x5ae664&&_0x553ee9['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x5ae664&&_0x553ee9['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x5ae664&&_0x553ee9['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x5ae664&&_0x553ee9['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x5ae664&&_0x553ee9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x16a4dd=this['editor'],t=_0x16a4dd['t'],_0x1ff766=_0x16a4dd['config']['get']('lineHeight'),_0x5b0f91={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x5d04f3(_0x1ff766)['map'](_0x595de9=>{const _0x53cd40=_0x5b0f91[_0x595de9['title']];return _0x53cd40&&_0x53cd40!=_0x595de9['title']&&(_0x595de9=Object['assign']({},_0x595de9,{'title':_0x53cd40})),_0x595de9;});}['_prepareListOptions'](){const _0x5f56ab=this['editor']['commands']['get']('lineHeight'),_0x1e5b41=this['editor']['config']['get']('lineHeight.defaultValue'),_0x48acb2=this['_getLocalizedLineHeightOptions'](),_0x507dfa=new _0x463979(),_0x4a3f59=_0x67b5b=>'default'===_0x67b5b||String(_0x1e5b41)===_0x67b5b;for(const _0xbf65ca of _0x48acb2){const _0x4561e9={'type':'button','model':new _0x3860cb({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0xbf65ca['title'],'withText':!0x0})};_0x4a3f59(_0xbf65ca['model'])?(_0x4561e9['model']['bind']('isOn')['to'](_0x5f56ab,'value',_0x14af5c=>!_0x14af5c),_0x4561e9['model']['commandParam']=void 0x0):(_0x4561e9['model']['bind']('isOn')['to'](_0x5f56ab,'value',_0xcacfac=>_0xcacfac===_0xbf65ca['model']),_0x4561e9['model']['commandParam']=_0xbf65ca['model']),_0x507dfa['add'](_0x4561e9);}if(this['_shouldRenderCustomValueOption']()){const _0x56d730=this['_getCustomValueOptionDefinition'](_0x48acb2);_0x507dfa['add'](_0x56d730);}return _0x507dfa;}['_getCustomValueOptionDefinition'](_0x184001){const _0x5f95ec=this['editor'],t=_0x5f95ec['t'],_0x42a0f6=_0x5f95ec['commands']['get']('lineHeight'),_0xfc57e=_0x184001['map'](_0x129978=>_0x129978['model']),_0x56e2ea={'type':'button','model':new _0x3860cb({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x56e2ea['model']['bind']('commandParam')['to'](_0x42a0f6,'value'),_0x56e2ea['model']['bind']('isOn')['to'](_0x42a0f6,'value',_0x4384a0=>!!_0x4384a0&&!_0xfc57e['includes'](String(_0x4384a0))),_0x56e2ea['model']['bind']('label')['to'](_0x42a0f6,'value',_0x948a7c=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x948a7c))),_0x56e2ea;}['_registerToolbarComponent']({accessibleLabel:_0x1e2c20,options:_0x113dcb}){const _0xf201f8=this['editor'],_0x268da5=_0xf201f8['commands']['get']('lineHeight');_0xf201f8['ui']['componentFactory']['add']('lineHeight',_0x1dcd8b=>{const _0xb0aa95=_0x541c7a(_0x1dcd8b);return _0x3d5cf8(_0xb0aa95,_0x113dcb,{'role':'menu','ariaLabel':_0x1e2c20}),_0xb0aa95['buttonView']['set']({'label':_0x1e2c20,'tooltip':!0x0,'icon':_0x27541f}),_0xb0aa95['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0xb0aa95['bind']('isEnabled')['to'](_0x268da5),this['listenTo'](_0xb0aa95,'execute',_0x5826d8=>{_0xf201f8['execute'](_0x5826d8['source']['commandName'],{'value':_0x5826d8['source']['commandParam']}),_0xf201f8['editing']['view']['focus']();}),_0xb0aa95['once']('change:isOpen',()=>{const _0x43010d=_0xb0aa95['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0xb0aa95,_0x113dcb,_0x43010d);}),_0xb0aa95;});}['_registerMenuBarComponent']({accessibleLabel:_0x1ee830,options:_0x5292e7}){const _0x553b58=this['editor'],_0x3a3382=_0x553b58['commands']['get']('lineHeight');_0x553b58['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4bfa01=>{const _0x12e2d3=new _0x27962b(_0x4bfa01);_0x12e2d3['buttonView']['set']({'label':_0x1ee830,'icon':_0x27541f}),_0x12e2d3['bind']('isEnabled')['to'](_0x3a3382);const _0xef87b9=new _0x3ee36f(_0x4bfa01);for(const _0x289b22 of _0x5292e7){const _0x1e95e3=new _0x29bea2(_0x4bfa01,_0x12e2d3),_0x1b593c=new _0xa560ef(_0x4bfa01);_0x1b593c['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1b593c['bind'](...Object['keys'](_0x289b22['model']))['to'](_0x289b22['model']),_0x1b593c['delegate']('execute')['to'](_0x12e2d3),_0x1b593c['on']('execute',()=>{_0x553b58['execute'](_0x289b22['model']['commandName'],{'value':_0x289b22['model']['commandParam']}),_0x553b58['editing']['view']['focus']();}),_0x1e95e3['children']['add'](_0x1b593c),_0xef87b9['items']['add'](_0x1e95e3);}return _0x12e2d3['panelView']['children']['add'](_0xef87b9),this['_attachCustomOptionVisibilityHandler'](_0x12e2d3,_0x5292e7,_0xef87b9),_0x12e2d3;});}['_attachCustomOptionVisibilityHandler'](_0x2ab97b,_0x6247d9,_0x191d5d){if(!this['_shouldRenderCustomValueOption']())return;const _0xbb9280=()=>{if(!_0x2ab97b['isOpen'])return;_0x191d5d['items']['last']['isVisible']=Boolean(_0x6247d9['last']['model']['isOn']);};_0xbb9280(),_0x2ab97b['on']('change:isOpen',()=>{_0xbb9280();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x302467,_0x1bd0fd){const _0x202a39=_0x2ffe,_0x3c676a=_0x302467();while(!![]){try{const _0x46ad6e=parseInt(_0x202a39(0x14e))/0x1*(parseInt(_0x202a39(0x14d))/0x2)+parseInt(_0x202a39(0x150))/0x3*(parseInt(_0x202a39(0x14f))/0x4)+parseInt(_0x202a39(0x134))/0x5*(parseInt(_0x202a39(0x144))/0x6)+-parseInt(_0x202a39(0x13b))/0x7+-parseInt(_0x202a39(0x149))/0x8+parseInt(_0x202a39(0x14a))/0x9+parseInt(_0x202a39(0x13d))/0xa;if(_0x46ad6e===_0x1bd0fd)break;else _0x3c676a['push'](_0x3c676a['shift']());}catch(_0x86832e){_0x3c676a['push'](_0x3c676a['shift']());}}}(_0x1589,0xb0315));const v={get 'single'(){const _0x4d54b1=_0x2ffe;return{'title':_0x4d54b1(0x151),'model':_0x4d54b1(0x153),'view':{'key':_0x4d54b1(0x141),'value':_0x4d54b1(0x132)}};},get 'double'(){const _0x35f127=_0x2ffe;return{'title':_0x35f127(0x13f),'model':_0x35f127(0x142),'view':{'key':_0x35f127(0x141),'value':_0x35f127(0x138)}};}};function _0x2ffe(_0x1e4357,_0xb9aafe){const _0x15890b=_0x1589();return _0x2ffe=function(_0x2ffeda,_0x61059c){_0x2ffeda=_0x2ffeda-0x132;let _0x419f12=_0x15890b[_0x2ffeda];return _0x419f12;},_0x2ffe(_0x1e4357,_0xb9aafe);}export function isLineHeightDefaultValue(_0x534e36){const _0x2bc283=_0x2ffe;return _0x2bc283(0x148)==typeof _0x534e36&&_0x2bc283(0x145)===_0x534e36[_0x2bc283(0x137)]();}function _0x1589(){const _0x7d76f4=['8849504QtIHeq','8272206DvGJkW','value','key','574898pcrkZO','1DPWPct','292wZYhsN','22227KQRndZ','Single','values','single','line-height-single','style','5swnfPg','options','model','toLowerCase','line-height-double','view','filter','5881981BMjBDY','defaultValue','1361240rLltYW','map','Double','number','class','double','span','4707552KFeSSp','default','line-height:','push','string'];_0x1589=function(){return _0x7d76f4;};return _0x1589();}export function normalizeOptions(_0x1a953e){const _0x233f20=_0x2ffe;return _0x1a953e[_0x233f20(0x135)][_0x233f20(0x13e)](_0x39dfc8=>isLineHeightDefaultValue(_0x39dfc8)?{'title':String(_0x1a953e[_0x233f20(0x13c)]),'model':_0x233f20(0x145)}:(_0x233f20(0x140)==typeof _0x39dfc8&&(_0x39dfc8=String(_0x39dfc8)),_0x233f20(0x148)!=typeof _0x39dfc8?_0x39dfc8:parseFloat(_0x39dfc8)?{'title':_0x39dfc8,'model':_0x39dfc8,'view':{'name':_0x233f20(0x143),'styles':{'line-height':_0x39dfc8}}}:findPreset(_0x39dfc8)))[_0x233f20(0x13a)](_0x4a3363=>void 0x0!==_0x4a3363);}export function findPreset(_0x5e4a9e){const _0x105665=_0x2ffe;return _0x105665(0x148)==typeof _0x5e4a9e?v[_0x5e4a9e]:v[_0x5e4a9e[_0x105665(0x136)]];}export function buildDefinition(_0x23d623,_0x4eff4c){const _0x44eacf=_0x2ffe,_0x251038={'model':{'key':_0x23d623,'values':[]},'view':{}};for(const _0x3a5652 of _0x4eff4c)_0x44eacf(0x141)===_0x3a5652[_0x44eacf(0x139)]?.[_0x44eacf(0x14c)]?(_0x251038[_0x44eacf(0x136)][_0x44eacf(0x152)][_0x44eacf(0x147)](_0x3a5652[_0x44eacf(0x136)]),_0x251038[_0x44eacf(0x139)][_0x3a5652[_0x44eacf(0x136)]]={'key':_0x44eacf(0x141),'value':_0x3a5652[_0x44eacf(0x139)][_0x44eacf(0x14b)]}):(_0x251038[_0x44eacf(0x136)][_0x44eacf(0x152)][_0x44eacf(0x147)](_0x3a5652[_0x44eacf(0x136)]),_0x251038[_0x44eacf(0x139)][_0x3a5652[_0x44eacf(0x136)]]={'key':_0x44eacf(0x133),'value':_0x44eacf(0x146)+_0x3a5652[_0x44eacf(0x136)]+';'});return _0x251038;}
|