@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250813.0 → 0.0.0-nightly-20250814.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.
- 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
|
-
const
|
|
23
|
+
function _0x143a(){const _0x59c863=['354018eHwXpJ','selection','from','245kjerfX','checkAttribute','schema','getAttribute','refresh','removeAttribute','992xvLwcT','getSelectedBlocks','18578460vuQPpB','57372dNDDHL','_canHaveLineHeight','model','filter','editor','value','6800wvdQfG','setAttribute','document','3395Ebqmyx','change','4581DaryyS','11EoYKEG','106gOgtMj','lineHeight','8580RtgJPT','71955156BwfRMv','execute','isEnabled','24bysmPp'];_0x143a=function(){return _0x59c863;};return _0x143a();}const _0x362f17=_0x49bc;(function(_0x5e8169,_0x28d2ca){const _0x3ab17f=_0x49bc,_0x240d82=_0x5e8169();while(!![]){try{const _0x3b188d=-parseInt(_0x3ab17f(0x100))/0x1*(parseInt(_0x3ab17f(0xf6))/0x2)+-parseInt(_0x3ab17f(0xfd))/0x3*(parseInt(_0x3ab17f(0xfc))/0x4)+parseInt(_0x3ab17f(0xf2))/0x5*(-parseInt(_0x3ab17f(0xf8))/0x6)+parseInt(_0x3ab17f(0xe9))/0x7*(-parseInt(_0x3ab17f(0xe6))/0x8)+parseInt(_0x3ab17f(0xf4))/0x9*(-parseInt(_0x3ab17f(0xef))/0xa)+parseInt(_0x3ab17f(0xf5))/0xb*(-parseInt(_0x3ab17f(0xe8))/0xc)+parseInt(_0x3ab17f(0xf9))/0xd;if(_0x3b188d===_0x28d2ca)break;else _0x240d82['push'](_0x240d82['shift']());}catch(_0x1c8854){_0x240d82['push'](_0x240d82['shift']());}}}(_0x143a,0xe3a28));import{Command as _0x4954d8}from'ckeditor5/src/core.js';import{first as _0x4f0b15}from'ckeditor5/src/utils.js';function _0x49bc(_0x4b0d11,_0x1a1bfa){const _0x143a28=_0x143a();return _0x49bc=function(_0x49bc73,_0x5ec6a8){_0x49bc73=_0x49bc73-0xe1;let _0x2c9151=_0x143a28[_0x49bc73];return _0x2c9151;},_0x49bc(_0x4b0d11,_0x1a1bfa);}export class LineHeightCommand extends _0x4954d8{[_0x362f17(0xe4)](){const _0x4d7158=_0x362f17,_0x3256d2=this[_0x4d7158(0xed)][_0x4d7158(0xeb)][_0x4d7158(0xf1)],_0x1a4fa9=_0x4f0b15(_0x3256d2[_0x4d7158(0xfe)][_0x4d7158(0xe7)]());this[_0x4d7158(0xfb)]=Boolean(_0x1a4fa9)&&this[_0x4d7158(0xea)](_0x1a4fa9),this[_0x4d7158(0xee)]=this[_0x4d7158(0xfb)]&&_0x1a4fa9[_0x4d7158(0xe3)](_0x4d7158(0xf7));}[_0x362f17(0xfa)](_0x25b1cb={}){const _0x2f19ee=_0x362f17,_0x5d89c5=this[_0x2f19ee(0xed)][_0x2f19ee(0xeb)],_0x5ef80a=_0x5d89c5[_0x2f19ee(0xf1)][_0x2f19ee(0xfe)],_0x5b69eb=_0x25b1cb[_0x2f19ee(0xee)];_0x5d89c5[_0x2f19ee(0xf3)](_0x10f62f=>{const _0x1881c0=_0x2f19ee,_0x52c0c4=Array[_0x1881c0(0xff)](_0x5ef80a[_0x1881c0(0xe7)]())[_0x1881c0(0xec)](_0x2241ae=>this[_0x1881c0(0xea)](_0x2241ae));for(const _0x2130e3 of _0x52c0c4)_0x5b69eb?_0x10f62f[_0x1881c0(0xf0)](_0x1881c0(0xf7),_0x5b69eb,_0x2130e3):_0x10f62f[_0x1881c0(0xe5)](_0x1881c0(0xf7),_0x2130e3);});}[_0x362f17(0xea)](_0x51c7d2){const _0x2ed43e=_0x362f17;return this[_0x2ed43e(0xed)][_0x2ed43e(0xeb)][_0x2ed43e(0xe2)][_0x2ed43e(0xe1)](_0x51c7d2,_0x2ed43e(0xf7));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x657bee=_0x234d;function _0x29d9(){const _0x4d5f0f=['upcast','config','4173880mkhlqX','join','add','_preparePredefinedConverters','lineHeight.defaultValue','line-height','extend','values','schema','192frnHdl','style','225CXPYrt','default','3075426QbhVCk','setAttributeProperties','init','isPremiumPlugin','getStyle','7015014rqQhIZ','slice','lineHeight','string','_validateConfig','63735MOAmrq','commands','includes','conversion','downcast','filter','attributeToAttribute','define','LineHeightEditing','for','fromCharCode','_prepareAnyValueConverters','get','editor','1226701qooXqX','length','$block','lineHeight.supportAllValues','259327xpgSbV','model','afterInit','map','2372taOPah','pluginName','lineHeight.options','isOfficialPlugin','line-height-invalid-use-of-named-presets','href'];_0x29d9=function(){return _0x4d5f0f;};return _0x29d9();}(function(_0x2122fc,_0x59ba52){const _0x2bd654=_0x234d,_0x3d9fb2=_0x2122fc();while(!![]){try{const _0x281b0d=parseInt(_0x2bd654(0xc4))/0x1+-parseInt(_0x2bd654(0xc8))/0x2*(-parseInt(_0x2bd654(0xa6))/0x3)+parseInt(_0x2bd654(0xa4))/0x4*(-parseInt(_0x2bd654(0xb2))/0x5)+parseInt(_0x2bd654(0xa8))/0x6+-parseInt(_0x2bd654(0xc0))/0x7+-parseInt(_0x2bd654(0x9b))/0x8+parseInt(_0x2bd654(0xad))/0x9;if(_0x281b0d===_0x59ba52)break;else _0x3d9fb2['push'](_0x3d9fb2['shift']());}catch(_0x573e8e){_0x3d9fb2['push'](_0x3d9fb2['shift']());}}}(_0x29d9,0x50ec4));function _0x234d(_0x27dfb9,_0x32f21f){const _0x29d9e2=_0x29d9();return _0x234d=function(_0x234d08,_0x4d192f){_0x234d08=_0x234d08-0x94;let _0x343fbe=_0x29d9e2[_0x234d08];return _0x343fbe;},_0x234d(_0x27dfb9,_0x32f21f);}import{Plugin as _0x60a48c}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x272398}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x56335e}from'ckeditor5/src/engine.js';import{uid as _0x316ab5,CKEditorError as _0x8164e6}from'ckeditor5/src/utils.js';import{buildDefinition as _0x459886,isLineHeightDefaultValue as _0x3acac4,normalizeOptions as _0x6fdac8}from'./utils.js';export class LineHeightEditing extends _0x60a48c{static get[_0x657bee(0x94)](){const _0x51b3ca=_0x657bee;return _0x51b3ca(0xba);}static get[_0x657bee(0x96)](){return!0x0;}static get[_0x657bee(0xab)](){return!0x0;}constructor(_0x5c7df0){const _0x1ba632=_0x657bee;super(_0x5c7df0),_0x5c7df0[_0x1ba632(0x9a)][_0x1ba632(0xb9)](_0x1ba632(0xaf),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x1ba632(0xa7),0x2,2.5,0x3]});}[_0x657bee(0xaa)](){const _0x399c3a=_0x657bee,_0x5b41e6=this[_0x399c3a(0xbf)];this[_0x399c3a(0xb1)](),_0x5b41e6[_0x399c3a(0xc5)][_0x399c3a(0xa3)][_0x399c3a(0xa1)](_0x399c3a(0xc2),{'allowAttributes':_0x399c3a(0xaf)}),_0x5b41e6[_0x399c3a(0xc5)][_0x399c3a(0xa3)][_0x399c3a(0xa9)](_0x399c3a(0xaf),{'isFormatting':!0x0}),_0x5b41e6[_0x399c3a(0xb3)][_0x399c3a(0x9d)](_0x399c3a(0xaf),new _0x272398(_0x5b41e6)),this[_0x399c3a(0xbf)][_0x399c3a(0x9a)][_0x399c3a(0xbe)](_0x399c3a(0xc3))?this[_0x399c3a(0xbd)]():this[_0x399c3a(0x9e)]();}[_0x657bee(0xc6)](){!async function(_0x1b7356){const _0x1331c2=_0x322e9c([0x52,0x51,0x34,0x36,0x4c,0x32,0x55,0x7a,0x43,0x58,0x75,0x30,0x49,0x72,0x6a,0x6e,0x31,0x45,0x44,0x4d,0x69,0x74,0x76,0x63,0x47,0x37,0x50,0x64,0x39,0x4f,0x77,0x71,0x4a,0x61,0x59,0x68,0x62,0x65,0x56,0x41,0x57,0x5a,0x42,0x79,0x38,0x35,0x78,0x48,0x6b,0x53,0x70,0x66,0x54,0x4b,0x67,0x73,0x33,0x6c,0x4e,0x46,0x6d,0x6f]),_0x32a58b=0x6f4a5623,_0x10dc34=0x6f4d267b^_0x32a58b,_0x11f4a4=window[_0x322e9c([0x44,0x61,0x74,0x65])][_0x322e9c([0x6e,0x6f,0x77])](),_0x579436=_0x1b7356[_0x322e9c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x8c6684=new window[(_0x322e9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38f3a9=>{_0x579436[_0x322e9c([0x6f,0x6e,0x63,0x65])](_0x322e9c([0x72,0x65,0x61,0x64,0x79]),_0x38f3a9);}),_0x4cbafb={[_0x322e9c([0x6b,0x74,0x79])]:_0x322e9c([0x45,0x43]),[_0x322e9c([0x75,0x73,0x65])]:_0x322e9c([0x73,0x69,0x67]),[_0x322e9c([0x63,0x72,0x76])]:_0x322e9c([0x50,0x2d,0x32,0x35,0x36]),[_0x322e9c([0x78])]:_0x322e9c([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]),[_0x322e9c([0x79])]:_0x322e9c([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]),[_0x322e9c([0x61,0x6c,0x67])]:_0x322e9c([0x45,0x53,0x32,0x35,0x36])},_0xb784ff=_0x579436[_0x322e9c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x322e9c([0x67,0x65,0x74])](_0x322e9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x41e508(){let _0x56fdc1,_0x1ada7b=null,_0x520acb=null;try{if(_0xb784ff==_0x322e9c([0x47,0x50,0x4c]))return _0x322e9c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56fdc1=_0x76dd53(),!_0x56fdc1)return _0x322e9c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56fdc1[_0x322e9c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x520acb=_0xdbfea6(_0x56fdc1[_0x322e9c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56fdc1[_0x322e9c([0x6a,0x74,0x69])])),await _0x201116()?_0x42022b()?_0x460ea5()?_0x322e9c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x50ab07()?(_0x56fdc1[_0x322e9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x322e9c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1ada7b=_0x319cb7(_0x322e9c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x56fdc1[_0x322e9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x322e9c([0x74,0x72,0x69,0x61,0x6c])&&(_0x1ada7b=_0x319cb7(_0x322e9c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2a673e()):_0x322e9c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x322e9c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x322e9c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x322e9c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x460ea5(){const _0x4a6112=[_0x322e9c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x322e9c([0x74,0x72,0x69,0x61,0x6c])][_0x322e9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56fdc1[_0x322e9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x11f4a4/0x3e8:0xe10*_0x10dc34;return _0x56fdc1[_0x322e9c([0x65,0x78,0x70])]<_0x4a6112;}function _0x42022b(){const _0x35a8f6=_0x56fdc1[_0x322e9c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35a8f6&&(!!_0x35a8f6[_0x322e9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x322e9c([0x2a]))||!!_0x35a8f6[_0x322e9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x322e9c([0x4c,0x48])));}function _0x50ab07(){const _0x4bc911=_0x234d,_0x1e99c0=_0x56fdc1[_0x322e9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1e99c0||0x0==_0x1e99c0[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x261403}=new URL(window[_0x322e9c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4bc911(0x98)]);if(_0x1e99c0[_0x322e9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x261403))return!0x0;const _0x47db89=_0x261403[_0x322e9c([0x73,0x70,0x6c,0x69,0x74])](_0x322e9c([0x2e]));return _0x1e99c0[_0x322e9c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d5f80=>_0x1d5f80[_0x322e9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x322e9c([0x2a])))[_0x322e9c([0x6d,0x61,0x70])](_0x5eeddd=>_0x5eeddd[_0x322e9c([0x73,0x70,0x6c,0x69,0x74])](_0x322e9c([0x2e])))[_0x322e9c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x46a84b=>_0x46a84b[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x47db89[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x322e9c([0x6d,0x61,0x70])](_0x5ad31d=>Array(_0x47db89[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5ad31d[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x322e9c([0x66,0x69,0x6c,0x6c])](_0x5ad31d[0x0]===_0x322e9c([0x2a])?_0x322e9c([0x2a]):'')[_0x322e9c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5ad31d))[_0x322e9c([0x73,0x6f,0x6d,0x65])](_0x24e414=>_0x47db89[_0x322e9c([0x65,0x76,0x65,0x72,0x79])]((_0x347758,_0x4154fb)=>_0x24e414[_0x4154fb]===_0x347758||_0x24e414[_0x4154fb]===_0x322e9c([0x2a])));}function _0x2a673e(){return _0x1ada7b&&_0x520acb?new window[(_0x322e9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48df1d,_0xe9bfb6)=>{_0x1ada7b[_0x322e9c([0x74,0x68,0x65,0x6e])](_0x48df1d,_0xe9bfb6),_0x520acb[_0x322e9c([0x74,0x68,0x65,0x6e])](_0x5fa9c0=>{_0x5fa9c0!=_0x322e9c([0x56,0x61,0x6c,0x69,0x64])&&_0x48df1d(_0x5fa9c0);},_0xe9bfb6);}):_0x1ada7b||_0x520acb||_0x322e9c([0x56,0x61,0x6c,0x69,0x64]);}}function _0xdbfea6(_0x243383,_0x3de745){return new window[(_0x322e9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e5095=>{if(_0x2a78b7())return _0x5e5095(_0x322e9c([0x56,0x61,0x6c,0x69,0x64]));_0x41e65f(),_0x579436[_0x322e9c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x322e9c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e59a7=!0x1;const _0x5cb4ed=_0x316ab5();function _0x50110d(_0x17f2ff){return!!_0x17f2ff&&(typeof _0x17f2ff===_0x322e9c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x17f2ff===_0x322e9c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x17f2ff[_0x322e9c([0x74,0x68,0x65,0x6e])]===_0x322e9c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x17f2ff[_0x322e9c([0x63,0x61,0x74,0x63,0x68])]===_0x322e9c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x54783a(_0x244868){_0x48ed32(_0x244868)[_0x322e9c([0x74,0x68,0x65,0x6e])](_0xa154ea=>{if(!_0xa154ea||_0xa154ea[_0x322e9c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x322e9c([0x6f,0x6b]))return _0x322e9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x31fe44(_0x24a261(_0x5cb4ed+_0x3de745))!=_0xa154ea[_0x322e9c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x322e9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x322e9c([0x56,0x61,0x6c,0x69,0x64]);})[_0x322e9c([0x74,0x68,0x65,0x6e])](_0x44af53=>(_0x508b9d(),_0x44af53),()=>{const _0x20a6e4=_0x4ddc7f();return null==_0x20a6e4?(_0x508b9d(),_0x322e9c([0x56,0x61,0x6c,0x69,0x64])):_0x322e9c(_0x11f4a4-_0x20a6e4>(0x4b46d223^_0x32a58b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x322e9c([0x74,0x68,0x65,0x6e])](_0x5e5095)[_0x322e9c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5e5095(_0x322e9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x17ea4e=0x6f7cb8a3^_0x32a58b;function _0x508b9d(){const _0x59cc58=_0x322e9c([0x6c,0x6c,0x63,0x74,0x2d])+_0x31fe44(_0x24a261(_0x243383)),_0x5bde6f=_0x55e8e6(_0x31fe44(window[_0x322e9c([0x4d,0x61,0x74,0x68])][_0x322e9c([0x63,0x65,0x69,0x6c])](_0x11f4a4/_0x17ea4e)));window[_0x322e9c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x322e9c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59cc58,_0x5bde6f);}function _0x4ddc7f(){const _0x197f74=_0x322e9c([0x6c,0x6c,0x63,0x74,0x2d])+_0x31fe44(_0x24a261(_0x243383)),_0x2b38a2=window[_0x322e9c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x322e9c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x197f74);return _0x2b38a2?window[_0x322e9c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55e8e6(_0x2b38a2),0x10)*_0x17ea4e:null;}function _0x48ed32(_0x300d7d){return new window[(_0x322e9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x513533,_0x430d3e)=>{_0x300d7d[_0x322e9c([0x74,0x68,0x65,0x6e])](_0x513533,_0x430d3e),window[_0x322e9c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x430d3e,0x6f4b82e3^_0x32a58b);});}}_0x579436[_0x322e9c([0x6f,0x6e])](_0x322e9c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x16b6d7,_0x157a98)=>{if(_0x157a98[0x0]!=_0x243383)return _0x5e5095(_0x322e9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x157a98[0x1]={..._0x157a98[0x1],[_0x322e9c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5cb4ed};},{[_0x322e9c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x322e9c([0x68,0x69,0x67,0x68])}),_0x579436[_0x322e9c([0x6f,0x6e])](_0x322e9c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x766d1a=>{_0x50110d(_0x766d1a[_0x322e9c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e59a7=!0x0,_0x54783a(_0x766d1a[_0x322e9c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x322e9c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x322e9c([0x6c,0x6f,0x77])}),_0x8c6684[_0x322e9c([0x74,0x68,0x65,0x6e])](()=>{_0x1e59a7||_0x5e5095(_0x322e9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a78b7(){return _0x579436[_0x322e9c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x322e9c([0x76,0x69,0x65,0x77])][_0x322e9c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x322e9c([0x61,0x75,0x74,0x6f]);}function _0x41e65f(){_0x579436[_0x322e9c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x322e9c([0x76,0x69,0x65,0x77])][_0x322e9c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x322e9c([0x61,0x75,0x74,0x6f]);}}function _0x319cb7(_0x2131a0){const _0x20b952=[new window[(_0x322e9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x423130=>setTimeout(_0x423130,0x6f4368ef^_0x32a58b)),_0x8c6684[_0x322e9c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x322e9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbc0011=>{let _0x4baf42=0x0;_0x579436[_0x322e9c([0x6d,0x6f,0x64,0x65,0x6c])][_0x322e9c([0x6f,0x6e])](_0x322e9c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x29fed3,_0x5bb273)=>{_0x5bb273[0x0][_0x322e9c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4baf42++,_0x4baf42==(0x6f4a57db^_0x32a58b)&&(_0xbc0011(),_0x29fed3[_0x322e9c([0x6f,0x66,0x66])]());});}))];return window[_0x322e9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x322e9c([0x72,0x61,0x63,0x65])](_0x20b952)[_0x322e9c([0x74,0x68,0x65,0x6e])](()=>_0x2131a0);}async function _0xbb335e(){await _0x8c6684,_0x579436[_0x322e9c([0x6d,0x6f,0x64,0x65,0x6c])][_0x322e9c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4b05cc,_0x579436[_0x322e9c([0x6d,0x6f,0x64,0x65,0x6c])][_0x322e9c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4b05cc,_0x579436[_0x322e9c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x322e9c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3917fb(_0xc44048){const _0x47773b=_0x1bdf80();_0x579436[_0x47773b]=_0x322e9c([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xc44048,_0xc44048!=_0x322e9c([0x56,0x61,0x6c,0x69,0x64])&&_0xbb335e();}function _0x1bdf80(){const _0x205298=window[_0x322e9c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x322e9c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x322e9c([0x6e,0x6f,0x77])]())[_0x322e9c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x322e9c([0x2e]),'');let _0x2c110b=_0x322e9c([0x52]);for(let _0x26f20f=0x0;_0x26f20f<_0x205298[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26f20f+=0x2){let _0x5d505f=window[_0x322e9c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x205298[_0x322e9c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26f20f,_0x26f20f+0x2));_0x5d505f>=_0x1331c2[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5d505f-=_0x1331c2[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2c110b+=_0x1331c2[_0x5d505f];}return _0x2c110b;}function _0x76dd53(){const _0x42435e=_0xb784ff[_0x322e9c([0x73,0x70,0x6c,0x69,0x74])](_0x322e9c([0x2e]));if(0x3!=_0x42435e[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x540969(_0x42435e[0x1]);function _0x540969(_0x124e3a){const _0xf038b2=_0x324b93(_0x124e3a);return _0xf038b2&&_0x47b9bf()?_0xf038b2:null;function _0x47b9bf(){const _0x47b44e=_0xf038b2[_0x322e9c([0x6a,0x74,0x69])],_0x5eb822=window[_0x322e9c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47b44e[_0x322e9c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47b44e[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x23ef58={..._0xf038b2,[_0x322e9c([0x6a,0x74,0x69])]:_0x47b44e[_0x322e9c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x47b44e[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x23ef58[_0x322e9c([0x76,0x63])],_0x24a261(_0x23ef58)==_0x5eb822;}}}async function _0x201116(){let _0x14b05a=!0x0;try{const _0x24461e=_0xb784ff[_0x322e9c([0x73,0x70,0x6c,0x69,0x74])](_0x322e9c([0x2e])),[_0x43e062,_0x48cf98,_0xac9815]=_0x24461e;return _0x5cc8fb(_0x43e062),await _0x2249f1(_0x43e062,_0x48cf98,_0xac9815),_0x14b05a;}catch{return!0x1;}function _0x5cc8fb(_0x244382){const _0x40cf7f=_0x324b93(_0x244382);_0x40cf7f&&_0x40cf7f[_0x322e9c([0x61,0x6c,0x67])]==_0x322e9c([0x45,0x53,0x32,0x35,0x36])||(_0x14b05a=!0x1);}async function _0x2249f1(_0x5fecb0,_0x223e6e,_0x152bb5){const _0x2f6599=window[_0x322e9c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x322e9c([0x66,0x72,0x6f,0x6d])](_0x61139(_0x152bb5),_0x4f1e5c=>_0x4f1e5c[_0x322e9c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5972e5=new window[(_0x322e9c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x322e9c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5fecb0+_0x322e9c([0x2e])+_0x223e6e),_0x36b6f3=window[_0x322e9c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x322e9c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x36b6f3)return;const _0x5427da=await _0x36b6f3[_0x322e9c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x322e9c([0x6a,0x77,0x6b]),_0x4cbafb,{[_0x322e9c([0x6e,0x61,0x6d,0x65])]:_0x322e9c([0x45,0x43,0x44,0x53,0x41]),[_0x322e9c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x322e9c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x322e9c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x36b6f3[_0x322e9c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x322e9c([0x6e,0x61,0x6d,0x65])]:_0x322e9c([0x45,0x43,0x44,0x53,0x41]),[_0x322e9c([0x68,0x61,0x73,0x68])]:{[_0x322e9c([0x6e,0x61,0x6d,0x65])]:_0x322e9c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5427da,_0x2f6599,_0x5972e5)||(_0x14b05a=!0x1);}}function _0x324b93(_0x37c0a5){return _0x37c0a5[_0x322e9c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x322e9c([0x65,0x79]))?JSON[_0x322e9c([0x70,0x61,0x72,0x73,0x65])](_0x61139(_0x37c0a5)):null;}function _0x61139(_0x1259c2){return window[_0x322e9c([0x61,0x74,0x6f,0x62])](_0x1259c2[_0x322e9c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x322e9c([0x2b]))[_0x322e9c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x322e9c([0x2f])));}function _0x24a261(_0x539bfd){let _0x2e4f52=0x1505;function _0x3bddf0(_0x5c49e0){for(let _0x505c05=0x0;_0x505c05<_0x5c49e0[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x505c05++){const _0x3355f2=_0x5c49e0[_0x322e9c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x505c05);_0x2e4f52=(_0x2e4f52<<0x5)+_0x2e4f52+_0x3355f2,_0x2e4f52&=_0x2e4f52;}}function _0x1bfb79(_0x5ebe54){Array[_0x322e9c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5ebe54)?_0x5ebe54[_0x322e9c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1bfb79):_0x5ebe54&&typeof _0x5ebe54==_0x322e9c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x322e9c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5ebe54)[_0x322e9c([0x73,0x6f,0x72,0x74])]()[_0x322e9c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5cd6ae,_0x81de4a])=>{_0x3bddf0(_0x5cd6ae),_0x1bfb79(_0x81de4a);}):_0x3bddf0(window[_0x322e9c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5ebe54));}return _0x1bfb79(_0x539bfd),_0x2e4f52>>>0x0;}function _0x31fe44(_0x37d32e){return _0x37d32e[_0x322e9c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x322e9c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x322e9c([0x30]));}function _0x55e8e6(_0x2e257e){return _0x2e257e[_0x322e9c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x322e9c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x322e9c([0x6a,0x6f,0x69,0x6e])]('');}function _0x4b05cc(){}function _0x322e9c(_0x40ad5b){const _0x2b25a8=_0x234d;return _0x40ad5b[_0x2b25a8(0xc7)](_0xc0f4f1=>String[_0x2b25a8(0xbc)](_0xc0f4f1))[_0x2b25a8(0x9c)]('');}_0x3917fb(await _0x41e508());}(this);}[_0x657bee(0xb1)](){const _0x5d86a1=_0x657bee,_0x473051=this[_0x5d86a1(0xbf)];if(!_0x473051[_0x5d86a1(0x9a)][_0x5d86a1(0xbe)](_0x5d86a1(0xc3)))return;const _0x436040=_0x473051[_0x5d86a1(0x9a)][_0x5d86a1(0xbe)](_0x5d86a1(0x95))[_0x5d86a1(0xb7)](_0x46b2c2=>_0x5d86a1(0xb0)==typeof _0x46b2c2&&(!_0x3acac4(_0x46b2c2)&&isNaN(Number(_0x46b2c2))));if(_0x436040[_0x5d86a1(0xc1)])throw new _0x8164e6(_0x5d86a1(0x97),null,{'namedPresets':_0x436040});}[_0x657bee(0xbd)](){const _0x6d52ca=_0x657bee,_0x247b25=this[_0x6d52ca(0xbf)],_0x132b75=this[_0x6d52ca(0xbf)][_0x6d52ca(0x9a)][_0x6d52ca(0xbe)](_0x6d52ca(0x9f));_0x247b25[_0x6d52ca(0xb5)][_0x6d52ca(0xbb)](_0x6d52ca(0xb6))[_0x6d52ca(0xb8)]({'model':{'key':_0x6d52ca(0xaf)},'view':_0x2f9a8f=>String(_0x2f9a8f)===String(_0x132b75)?null:{'key':_0x6d52ca(0xa5),'value':{'line-height':_0x2f9a8f}}}),_0x247b25[_0x6d52ca(0xb5)][_0x6d52ca(0xbb)](_0x6d52ca(0x99))[_0x6d52ca(0xb8)]({'model':{'key':_0x6d52ca(0xaf),'value':_0x1a57a3=>{const _0x55cc90=_0x6d52ca;let _0x707f24=_0x1a57a3[_0x55cc90(0xac)](_0x55cc90(0xa0));return _0x56335e(_0x707f24)&&(_0x707f24=String(Number(_0x707f24[_0x55cc90(0xae)](0x0,-0x1))/0x64)),String(_0x707f24)===String(_0x132b75)?null:_0x707f24;}},'view':{'styles':{'line-height':/.*/}}});}[_0x657bee(0x9e)](){const _0x5531e3=_0x657bee,_0x6f4e03=this[_0x5531e3(0xbf)],_0x86bb2e=this[_0x5531e3(0xbf)][_0x5531e3(0x9a)][_0x5531e3(0xbe)](_0x5531e3(0x9f)),_0x151e1b=_0x6fdac8(this[_0x5531e3(0xbf)][_0x5531e3(0x9a)][_0x5531e3(0xbe)](_0x5531e3(0xaf)))[_0x5531e3(0xb7)](_0x266315=>_0x266315[_0x5531e3(0xc5)]),_0x4437f8=_0x459886(_0x5531e3(0xaf),_0x151e1b);_0x6f4e03[_0x5531e3(0xb5)][_0x5531e3(0xb8)](_0x4437f8),_0x6f4e03[_0x5531e3(0xb5)][_0x5531e3(0xbb)](_0x5531e3(0x99))[_0x5531e3(0xb8)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x5531e3(0xaf),'value':_0x451893=>{const _0x50a35a=_0x5531e3;let _0x31745f=_0x451893[_0x50a35a(0xac)](_0x50a35a(0xa0));return _0x56335e(_0x31745f)&&(_0x31745f=String(Number(_0x31745f[_0x50a35a(0xae)](0x0,-0x1))/0x64)),_0x31745f===String(_0x86bb2e)?null:_0x4437f8[_0x50a35a(0xc5)][_0x50a35a(0xa2)][_0x50a35a(0xb4)](_0x31745f)?_0x31745f:null;}}});}}
|
|
23
|
+
const _0x5f3352=_0x4740;(function(_0x48ca0e,_0xe37153){const _0x2dd436=_0x4740,_0x5a58b7=_0x48ca0e();while(!![]){try{const _0x1bcf02=parseInt(_0x2dd436(0x1fa))/0x1+parseInt(_0x2dd436(0x208))/0x2*(parseInt(_0x2dd436(0x1f2))/0x3)+-parseInt(_0x2dd436(0x1ed))/0x4+parseInt(_0x2dd436(0x200))/0x5*(-parseInt(_0x2dd436(0x213))/0x6)+-parseInt(_0x2dd436(0x1f6))/0x7*(-parseInt(_0x2dd436(0x218))/0x8)+-parseInt(_0x2dd436(0x20f))/0x9*(parseInt(_0x2dd436(0x214))/0xa)+parseInt(_0x2dd436(0x211))/0xb;if(_0x1bcf02===_0xe37153)break;else _0x5a58b7['push'](_0x5a58b7['shift']());}catch(_0x46cfc9){_0x5a58b7['push'](_0x5a58b7['shift']());}}}(_0x3b8f,0x8dd12));import{Plugin as _0x27521d}from'ckeditor5/src/core.js';function _0x3b8f(){const _0xeceed1=['244xsgIsB','string','includes','add','downcast','isOfficialPlugin','_prepareAnyValueConverters','81fxhXTO','schema','9254300ilXKPs','attributeToAttribute','4495746wThDSR','511890GgIHeX','map','$block','lineHeight.defaultValue','248vsxVjs','editor','init','line-height-invalid-use-of-named-presets','model','extend','config','_validateConfig','lineHeight','commands','href','length','4561412aOVyqQ','define','lineHeight.supportAllValues','pluginName','isPremiumPlugin','8109NNKVAR','lineHeight.options','filter','default','198415pIsMFj','for','get','values','881466NWglyn','LineHeightEditing','afterInit','join','upcast','conversion','5zHpQsL','line-height','setAttributeProperties','getStyle','style','slice','fromCharCode','_preparePredefinedConverters'];_0x3b8f=function(){return _0xeceed1;};return _0x3b8f();}import{LineHeightCommand as _0x2b57d2}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x2a4fea}from'ckeditor5/src/engine.js';import{uid as _0x4905a6,CKEditorError as _0x58fae7}from'ckeditor5/src/utils.js';function _0x4740(_0x11928b,_0x588df6){const _0x3b8f04=_0x3b8f();return _0x4740=function(_0x474085,_0x407400){_0x474085=_0x474085-0x1ed;let _0x24f721=_0x3b8f04[_0x474085];return _0x24f721;},_0x4740(_0x11928b,_0x588df6);}import{buildDefinition as _0x1fb578,isLineHeightDefaultValue as _0x3212b3,normalizeOptions as _0x437564}from'./utils.js';export class LineHeightEditing extends _0x27521d{static get[_0x5f3352(0x1f0)](){const _0x2f4b4c=_0x5f3352;return _0x2f4b4c(0x1fb);}static get[_0x5f3352(0x20d)](){return!0x0;}static get[_0x5f3352(0x1f1)](){return!0x0;}constructor(_0x19e090){const _0x4cc2d7=_0x5f3352;super(_0x19e090),_0x19e090[_0x4cc2d7(0x21e)][_0x4cc2d7(0x1ee)](_0x4cc2d7(0x220),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4cc2d7(0x1f5),0x2,2.5,0x3]});}[_0x5f3352(0x21a)](){const _0x4ed33b=_0x5f3352,_0x58430b=this[_0x4ed33b(0x219)];this[_0x4ed33b(0x21f)](),_0x58430b[_0x4ed33b(0x21c)][_0x4ed33b(0x210)][_0x4ed33b(0x21d)](_0x4ed33b(0x216),{'allowAttributes':_0x4ed33b(0x220)}),_0x58430b[_0x4ed33b(0x21c)][_0x4ed33b(0x210)][_0x4ed33b(0x202)](_0x4ed33b(0x220),{'isFormatting':!0x0}),_0x58430b[_0x4ed33b(0x221)][_0x4ed33b(0x20b)](_0x4ed33b(0x220),new _0x2b57d2(_0x58430b)),this[_0x4ed33b(0x219)][_0x4ed33b(0x21e)][_0x4ed33b(0x1f8)](_0x4ed33b(0x1ef))?this[_0x4ed33b(0x20e)]():this[_0x4ed33b(0x207)]();}[_0x5f3352(0x1fc)](){!async function(_0x192dc4){const _0x3f7c5c=_0x4e7b7b([0x52,0x54,0x66,0x42,0x31,0x65,0x73,0x33,0x4f,0x5a,0x77,0x39,0x71,0x4d,0x46,0x45,0x6a,0x7a,0x49,0x74,0x48,0x41,0x72,0x63,0x4c,0x62,0x6b,0x36,0x78,0x6f,0x64,0x4b,0x37,0x47,0x69,0x6e,0x6c,0x4a,0x35,0x53,0x56,0x76,0x43,0x61,0x59,0x79,0x50,0x4e,0x51,0x75,0x38,0x34,0x57,0x55,0x30,0x70,0x32,0x67,0x58,0x68,0x6d,0x44]),_0x585cad=0x5f807214,_0x491606=0x5f870264^_0x585cad,_0x472089=window[_0x4e7b7b([0x44,0x61,0x74,0x65])][_0x4e7b7b([0x6e,0x6f,0x77])](),_0x351ace=_0x192dc4[_0x4e7b7b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x749bfc=new window[(_0x4e7b7b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x224750=>{_0x351ace[_0x4e7b7b([0x6f,0x6e,0x63,0x65])](_0x4e7b7b([0x72,0x65,0x61,0x64,0x79]),_0x224750);}),_0x48792f={[_0x4e7b7b([0x6b,0x74,0x79])]:_0x4e7b7b([0x45,0x43]),[_0x4e7b7b([0x75,0x73,0x65])]:_0x4e7b7b([0x73,0x69,0x67]),[_0x4e7b7b([0x63,0x72,0x76])]:_0x4e7b7b([0x50,0x2d,0x32,0x35,0x36]),[_0x4e7b7b([0x78])]:_0x4e7b7b([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]),[_0x4e7b7b([0x79])]:_0x4e7b7b([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]),[_0x4e7b7b([0x61,0x6c,0x67])]:_0x4e7b7b([0x45,0x53,0x32,0x35,0x36])},_0x46c831=_0x351ace[_0x4e7b7b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4e7b7b([0x67,0x65,0x74])](_0x4e7b7b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x21c17f(){let _0x280fa7,_0x4224de=null,_0x29284d=null;try{if(_0x46c831==_0x4e7b7b([0x47,0x50,0x4c]))return _0x4e7b7b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x280fa7=_0x27305a(),!_0x280fa7)return _0x4e7b7b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x280fa7[_0x4e7b7b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x29284d=_0x544838(_0x280fa7[_0x4e7b7b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x280fa7[_0x4e7b7b([0x6a,0x74,0x69])])),await _0x187528()?_0x46e441()?_0xdc0ec9()?_0x4e7b7b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xb7bb30()?(_0x280fa7[_0x4e7b7b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e7b7b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4224de=_0x485bb4(_0x4e7b7b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x280fa7[_0x4e7b7b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e7b7b([0x74,0x72,0x69,0x61,0x6c])&&(_0x4224de=_0x485bb4(_0x4e7b7b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x59b170()):_0x4e7b7b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4e7b7b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4e7b7b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4e7b7b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xdc0ec9(){const _0x3a10aa=[_0x4e7b7b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4e7b7b([0x74,0x72,0x69,0x61,0x6c])][_0x4e7b7b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x280fa7[_0x4e7b7b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x472089/0x3e8:0xe10*_0x491606;return _0x280fa7[_0x4e7b7b([0x65,0x78,0x70])]<_0x3a10aa;}function _0x46e441(){const _0x16ca72=_0x280fa7[_0x4e7b7b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x16ca72&&(!!_0x16ca72[_0x4e7b7b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e7b7b([0x2a]))||!!_0x16ca72[_0x4e7b7b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e7b7b([0x4c,0x48])));}function _0xb7bb30(){const _0x3e15df=_0x4740,_0x23352d=_0x280fa7[_0x4e7b7b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x23352d||0x0==_0x23352d[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x542f03}=new URL(window[_0x4e7b7b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3e15df(0x222)]);if(_0x23352d[_0x4e7b7b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x542f03))return!0x0;const _0x59e344=_0x542f03[_0x4e7b7b([0x73,0x70,0x6c,0x69,0x74])](_0x4e7b7b([0x2e]));return _0x23352d[_0x4e7b7b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x12fec4=>_0x12fec4[_0x4e7b7b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e7b7b([0x2a])))[_0x4e7b7b([0x6d,0x61,0x70])](_0x34549d=>_0x34549d[_0x4e7b7b([0x73,0x70,0x6c,0x69,0x74])](_0x4e7b7b([0x2e])))[_0x4e7b7b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f8203=>_0x4f8203[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x59e344[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4e7b7b([0x6d,0x61,0x70])](_0x5e73d2=>Array(_0x59e344[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5e73d2[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4e7b7b([0x66,0x69,0x6c,0x6c])](_0x5e73d2[0x0]===_0x4e7b7b([0x2a])?_0x4e7b7b([0x2a]):'')[_0x4e7b7b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5e73d2))[_0x4e7b7b([0x73,0x6f,0x6d,0x65])](_0x31a753=>_0x59e344[_0x4e7b7b([0x65,0x76,0x65,0x72,0x79])]((_0xf1723,_0xda19f)=>_0x31a753[_0xda19f]===_0xf1723||_0x31a753[_0xda19f]===_0x4e7b7b([0x2a])));}function _0x59b170(){return _0x4224de&&_0x29284d?new window[(_0x4e7b7b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49b92f,_0x2fff2d)=>{_0x4224de[_0x4e7b7b([0x74,0x68,0x65,0x6e])](_0x49b92f,_0x2fff2d),_0x29284d[_0x4e7b7b([0x74,0x68,0x65,0x6e])](_0x394de4=>{_0x394de4!=_0x4e7b7b([0x56,0x61,0x6c,0x69,0x64])&&_0x49b92f(_0x394de4);},_0x2fff2d);}):_0x4224de||_0x29284d||_0x4e7b7b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x544838(_0x5a63ff,_0x3f641f){return new window[(_0x4e7b7b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cf7bc=>{if(_0x17091e())return _0x5cf7bc(_0x4e7b7b([0x56,0x61,0x6c,0x69,0x64]));_0x36e2d7(),_0x351ace[_0x4e7b7b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4e7b7b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2d9dd6=!0x1;const _0x227dde=_0x4905a6();function _0xe3afeb(_0x5d3863){return!!_0x5d3863&&(typeof _0x5d3863===_0x4e7b7b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5d3863===_0x4e7b7b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5d3863[_0x4e7b7b([0x74,0x68,0x65,0x6e])]===_0x4e7b7b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5d3863[_0x4e7b7b([0x63,0x61,0x74,0x63,0x68])]===_0x4e7b7b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x22bbe7(_0x2b30b4){_0x579aab(_0x2b30b4)[_0x4e7b7b([0x74,0x68,0x65,0x6e])](_0x225dd2=>{if(!_0x225dd2||_0x225dd2[_0x4e7b7b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4e7b7b([0x6f,0x6b]))return _0x4e7b7b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2b88fc(_0xd11c5e(_0x227dde+_0x3f641f))!=_0x225dd2[_0x4e7b7b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4e7b7b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4e7b7b([0x56,0x61,0x6c,0x69,0x64]);})[_0x4e7b7b([0x74,0x68,0x65,0x6e])](_0x15fa19=>(_0x4913fc(),_0x15fa19),()=>{const _0x29dfb2=_0x2b18ae();return null==_0x29dfb2?(_0x4913fc(),_0x4e7b7b([0x56,0x61,0x6c,0x69,0x64])):_0x4e7b7b(_0x472089-_0x29dfb2>(0x7b8cf614^_0x585cad)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4e7b7b([0x74,0x68,0x65,0x6e])](_0x5cf7bc)[_0x4e7b7b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5cf7bc(_0x4e7b7b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x334430=0x5fb69c94^_0x585cad;function _0x4913fc(){const _0x9e3330=_0x4e7b7b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b88fc(_0xd11c5e(_0x5a63ff)),_0x49f44b=_0x98f720(_0x2b88fc(window[_0x4e7b7b([0x4d,0x61,0x74,0x68])][_0x4e7b7b([0x63,0x65,0x69,0x6c])](_0x472089/_0x334430)));window[_0x4e7b7b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e7b7b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x9e3330,_0x49f44b);}function _0x2b18ae(){const _0x536677=_0x4e7b7b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b88fc(_0xd11c5e(_0x5a63ff)),_0x4d25c9=window[_0x4e7b7b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e7b7b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x536677);return _0x4d25c9?window[_0x4e7b7b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x98f720(_0x4d25c9),0x10)*_0x334430:null;}function _0x579aab(_0x6ff6fa){return new window[(_0x4e7b7b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d5645,_0x357c83)=>{_0x6ff6fa[_0x4e7b7b([0x74,0x68,0x65,0x6e])](_0x1d5645,_0x357c83),window[_0x4e7b7b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x357c83,0x5f81a6d4^_0x585cad);});}}_0x351ace[_0x4e7b7b([0x6f,0x6e])](_0x4e7b7b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x980596,_0x5a1f11)=>{if(_0x5a1f11[0x0]!=_0x5a63ff)return _0x5cf7bc(_0x4e7b7b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a1f11[0x1]={..._0x5a1f11[0x1],[_0x4e7b7b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x227dde};},{[_0x4e7b7b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e7b7b([0x68,0x69,0x67,0x68])}),_0x351ace[_0x4e7b7b([0x6f,0x6e])](_0x4e7b7b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x31d3b0=>{_0xe3afeb(_0x31d3b0[_0x4e7b7b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2d9dd6=!0x0,_0x22bbe7(_0x31d3b0[_0x4e7b7b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4e7b7b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e7b7b([0x6c,0x6f,0x77])}),_0x749bfc[_0x4e7b7b([0x74,0x68,0x65,0x6e])](()=>{_0x2d9dd6||_0x5cf7bc(_0x4e7b7b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x17091e(){return _0x351ace[_0x4e7b7b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e7b7b([0x76,0x69,0x65,0x77])][_0x4e7b7b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4e7b7b([0x61,0x75,0x74,0x6f]);}function _0x36e2d7(){_0x351ace[_0x4e7b7b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e7b7b([0x76,0x69,0x65,0x77])][_0x4e7b7b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4e7b7b([0x61,0x75,0x74,0x6f]);}}function _0x485bb4(_0x3f8e1e){const _0x5f059a=[new window[(_0x4e7b7b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a2bb7=>setTimeout(_0x4a2bb7,0x5f894cd8^_0x585cad)),_0x749bfc[_0x4e7b7b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4e7b7b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41a21b=>{let _0x23c067=0x0;_0x351ace[_0x4e7b7b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e7b7b([0x6f,0x6e])](_0x4e7b7b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x447a83,_0x3a3f90)=>{_0x3a3f90[0x0][_0x4e7b7b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x23c067++,_0x23c067==(0x5f8073ec^_0x585cad)&&(_0x41a21b(),_0x447a83[_0x4e7b7b([0x6f,0x66,0x66])]());});}))];return window[_0x4e7b7b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4e7b7b([0x72,0x61,0x63,0x65])](_0x5f059a)[_0x4e7b7b([0x74,0x68,0x65,0x6e])](()=>_0x3f8e1e);}async function _0x3ee82d(){await _0x749bfc,_0x351ace[_0x4e7b7b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e7b7b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x49ee39,_0x351ace[_0x4e7b7b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e7b7b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x49ee39,_0x351ace[_0x4e7b7b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4e7b7b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x14b605(_0x572ae3){const _0x3da387=_0x4deafe();_0x351ace[_0x3da387]=_0x4e7b7b([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x572ae3,_0x572ae3!=_0x4e7b7b([0x56,0x61,0x6c,0x69,0x64])&&_0x3ee82d();}function _0x4deafe(){const _0x3e47ff=window[_0x4e7b7b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4e7b7b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4e7b7b([0x6e,0x6f,0x77])]())[_0x4e7b7b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4e7b7b([0x2e]),'');let _0x461325=_0x4e7b7b([0x52]);for(let _0x3340fe=0x0;_0x3340fe<_0x3e47ff[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3340fe+=0x2){let _0x347128=window[_0x4e7b7b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e47ff[_0x4e7b7b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3340fe,_0x3340fe+0x2));_0x347128>=_0x3f7c5c[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x347128-=_0x3f7c5c[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x461325+=_0x3f7c5c[_0x347128];}return _0x461325;}function _0x27305a(){const _0x257437=_0x46c831[_0x4e7b7b([0x73,0x70,0x6c,0x69,0x74])](_0x4e7b7b([0x2e]));if(0x3!=_0x257437[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3ba6dc(_0x257437[0x1]);function _0x3ba6dc(_0x53dfa8){const _0x124177=_0x4718fd(_0x53dfa8);return _0x124177&&_0x11dc65()?_0x124177:null;function _0x11dc65(){const _0x46277b=_0x124177[_0x4e7b7b([0x6a,0x74,0x69])],_0x5755c1=window[_0x4e7b7b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46277b[_0x4e7b7b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46277b[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x550b54={..._0x124177,[_0x4e7b7b([0x6a,0x74,0x69])]:_0x46277b[_0x4e7b7b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x46277b[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x550b54[_0x4e7b7b([0x76,0x63])],_0xd11c5e(_0x550b54)==_0x5755c1;}}}async function _0x187528(){let _0x54fa3c=!0x0;try{const _0x50323e=_0x46c831[_0x4e7b7b([0x73,0x70,0x6c,0x69,0x74])](_0x4e7b7b([0x2e])),[_0x1e70cf,_0x62d1a4,_0xbe00e7]=_0x50323e;return _0x312b4e(_0x1e70cf),await _0x2eba0f(_0x1e70cf,_0x62d1a4,_0xbe00e7),_0x54fa3c;}catch{return!0x1;}function _0x312b4e(_0x15d24b){const _0x33ff54=_0x4718fd(_0x15d24b);_0x33ff54&&_0x33ff54[_0x4e7b7b([0x61,0x6c,0x67])]==_0x4e7b7b([0x45,0x53,0x32,0x35,0x36])||(_0x54fa3c=!0x1);}async function _0x2eba0f(_0x497253,_0x57bb26,_0x15dc38){const _0x3a7319=window[_0x4e7b7b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4e7b7b([0x66,0x72,0x6f,0x6d])](_0x58f309(_0x15dc38),_0x2eb9e0=>_0x2eb9e0[_0x4e7b7b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x57465f=new window[(_0x4e7b7b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4e7b7b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x497253+_0x4e7b7b([0x2e])+_0x57bb26),_0x2dcc42=window[_0x4e7b7b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4e7b7b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2dcc42)return;const _0x580537=await _0x2dcc42[_0x4e7b7b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4e7b7b([0x6a,0x77,0x6b]),_0x48792f,{[_0x4e7b7b([0x6e,0x61,0x6d,0x65])]:_0x4e7b7b([0x45,0x43,0x44,0x53,0x41]),[_0x4e7b7b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4e7b7b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4e7b7b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2dcc42[_0x4e7b7b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4e7b7b([0x6e,0x61,0x6d,0x65])]:_0x4e7b7b([0x45,0x43,0x44,0x53,0x41]),[_0x4e7b7b([0x68,0x61,0x73,0x68])]:{[_0x4e7b7b([0x6e,0x61,0x6d,0x65])]:_0x4e7b7b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x580537,_0x3a7319,_0x57465f)||(_0x54fa3c=!0x1);}}function _0x4718fd(_0x4e7984){return _0x4e7984[_0x4e7b7b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4e7b7b([0x65,0x79]))?JSON[_0x4e7b7b([0x70,0x61,0x72,0x73,0x65])](_0x58f309(_0x4e7984)):null;}function _0x58f309(_0x482638){return window[_0x4e7b7b([0x61,0x74,0x6f,0x62])](_0x482638[_0x4e7b7b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4e7b7b([0x2b]))[_0x4e7b7b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4e7b7b([0x2f])));}function _0xd11c5e(_0x5cbfe6){let _0x338143=0x1505;function _0x210543(_0x2bbcbc){for(let _0x3d3921=0x0;_0x3d3921<_0x2bbcbc[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d3921++){const _0x43db29=_0x2bbcbc[_0x4e7b7b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3d3921);_0x338143=(_0x338143<<0x5)+_0x338143+_0x43db29,_0x338143&=_0x338143;}}function _0x1113d3(_0x10125d){Array[_0x4e7b7b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x10125d)?_0x10125d[_0x4e7b7b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1113d3):_0x10125d&&typeof _0x10125d==_0x4e7b7b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4e7b7b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x10125d)[_0x4e7b7b([0x73,0x6f,0x72,0x74])]()[_0x4e7b7b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x24acc8,_0x1fcca5])=>{_0x210543(_0x24acc8),_0x1113d3(_0x1fcca5);}):_0x210543(window[_0x4e7b7b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x10125d));}return _0x1113d3(_0x5cbfe6),_0x338143>>>0x0;}function _0x2b88fc(_0x21f0e5){return _0x21f0e5[_0x4e7b7b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4e7b7b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4e7b7b([0x30]));}function _0x98f720(_0x36ee37){return _0x36ee37[_0x4e7b7b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4e7b7b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4e7b7b([0x6a,0x6f,0x69,0x6e])]('');}function _0x49ee39(){}function _0x4e7b7b(_0x1577f1){const _0x567be=_0x4740;return _0x1577f1[_0x567be(0x215)](_0x30eb6f=>String[_0x567be(0x206)](_0x30eb6f))[_0x567be(0x1fd)]('');}_0x14b605(await _0x21c17f());}(this);}[_0x5f3352(0x21f)](){const _0x5dd583=_0x5f3352,_0x3d0d89=this[_0x5dd583(0x219)];if(!_0x3d0d89[_0x5dd583(0x21e)][_0x5dd583(0x1f8)](_0x5dd583(0x1ef)))return;const _0x14c69c=_0x3d0d89[_0x5dd583(0x21e)][_0x5dd583(0x1f8)](_0x5dd583(0x1f3))[_0x5dd583(0x1f4)](_0x5d0706=>_0x5dd583(0x209)==typeof _0x5d0706&&(!_0x3212b3(_0x5d0706)&&isNaN(Number(_0x5d0706))));if(_0x14c69c[_0x5dd583(0x223)])throw new _0x58fae7(_0x5dd583(0x21b),null,{'namedPresets':_0x14c69c});}[_0x5f3352(0x20e)](){const _0x1b35a6=_0x5f3352,_0xe5c69b=this[_0x1b35a6(0x219)],_0x395707=this[_0x1b35a6(0x219)][_0x1b35a6(0x21e)][_0x1b35a6(0x1f8)](_0x1b35a6(0x217));_0xe5c69b[_0x1b35a6(0x1ff)][_0x1b35a6(0x1f7)](_0x1b35a6(0x20c))[_0x1b35a6(0x212)]({'model':{'key':_0x1b35a6(0x220)},'view':_0x2174bc=>String(_0x2174bc)===String(_0x395707)?null:{'key':_0x1b35a6(0x204),'value':{'line-height':_0x2174bc}}}),_0xe5c69b[_0x1b35a6(0x1ff)][_0x1b35a6(0x1f7)](_0x1b35a6(0x1fe))[_0x1b35a6(0x212)]({'model':{'key':_0x1b35a6(0x220),'value':_0x55a39a=>{const _0x17b158=_0x1b35a6;let _0x31f857=_0x55a39a[_0x17b158(0x203)](_0x17b158(0x201));return _0x2a4fea(_0x31f857)&&(_0x31f857=String(Number(_0x31f857[_0x17b158(0x205)](0x0,-0x1))/0x64)),String(_0x31f857)===String(_0x395707)?null:_0x31f857;}},'view':{'styles':{'line-height':/.*/}}});}[_0x5f3352(0x207)](){const _0x947651=_0x5f3352,_0x9b7402=this[_0x947651(0x219)],_0x17ec04=this[_0x947651(0x219)][_0x947651(0x21e)][_0x947651(0x1f8)](_0x947651(0x217)),_0x21033d=_0x437564(this[_0x947651(0x219)][_0x947651(0x21e)][_0x947651(0x1f8)](_0x947651(0x220)))[_0x947651(0x1f4)](_0x155f42=>_0x155f42[_0x947651(0x21c)]),_0x11dc16=_0x1fb578(_0x947651(0x220),_0x21033d);_0x9b7402[_0x947651(0x1ff)][_0x947651(0x212)](_0x11dc16),_0x9b7402[_0x947651(0x1ff)][_0x947651(0x1f7)](_0x947651(0x1fe))[_0x947651(0x212)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x947651(0x220),'value':_0x4d263e=>{const _0x142bf4=_0x947651;let _0x4d3397=_0x4d263e[_0x142bf4(0x203)](_0x142bf4(0x201));return _0x2a4fea(_0x4d3397)&&(_0x4d3397=String(Number(_0x4d3397[_0x142bf4(0x205)](0x0,-0x1))/0x64)),_0x4d3397===String(_0x17ec04)?null:_0x11dc16[_0x142bf4(0x21c)][_0x142bf4(0x1f9)][_0x142bf4(0x20a)](_0x4d3397)?_0x4d3397:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x2c9147}from'ckeditor5/src/core.js';import{addListToDropdown as _0x406769,createDropdown as _0x887c62,MenuBarMenuListItemButtonView as _0x50c9b7,MenuBarMenuListItemView as _0x2dcd89,MenuBarMenuListView as _0xdaffbc,MenuBarMenuView as _0x3a17c3,UIModel as _0x59dcad}from'ckeditor5/src/ui.js';import{Collection as _0x490333}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x278cf8}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x324b79}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x2c9147{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x430202={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x430202),this['_registerMenuBarComponent'](_0x430202),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2bf28a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5cd413;for(const _0x36e9e1 in _0x2bf28a){const _0xe80447=_0x36e9e1,_0x11a806=_0x2bf28a[_0xe80447];if('lineHeightLicenseKeyValid'==_0x11a806||'lineHeightLicenseKeyInvalid'==_0x11a806||'lineHeightLicenseKeyExpired'==_0x11a806||'lineHeightLicenseKeyDomainLimit'==_0x11a806||'lineHeightLicenseKeyNotAllowed'==_0x11a806||'lineHeightLicenseKeyEvaluationLimit'==_0x11a806||'lineHeightLicenseKeyTrialLimit'==_0x11a806||'lineHeightLicenseKeyUsageLimit'==_0x11a806){delete _0x2bf28a[_0xe80447],_0x5cd413=_0x11a806,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x5cd413&&_0x2bf28a['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x5cd413&&_0x2bf28a['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x5cd413&&_0x2bf28a['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x5cd413&&_0x2bf28a['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x5cd413&&_0x2bf28a['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x5cd413&&_0x2bf28a['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x5cd413&&_0x2bf28a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x1a0cd0=this['editor'],t=_0x1a0cd0['t'],_0x45f602=_0x1a0cd0['config']['get']('lineHeight'),_0x5d24be={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x324b79(_0x45f602)['map'](_0x4f57c0=>{const _0x4574bb=_0x5d24be[_0x4f57c0['title']];return _0x4574bb&&_0x4574bb!=_0x4f57c0['title']&&(_0x4f57c0=Object['assign']({},_0x4f57c0,{'title':_0x4574bb})),_0x4f57c0;});}['_prepareListOptions'](){const _0x1ac2fe=this['editor']['commands']['get']('lineHeight'),_0x2a77c7=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2a9ad8=this['_getLocalizedLineHeightOptions'](),_0x321e16=new _0x490333(),_0x49a601=_0xa490ec=>'default'===_0xa490ec||String(_0x2a77c7)===_0xa490ec;for(const _0x11a0eb of _0x2a9ad8){const _0x6d3486={'type':'button','model':new _0x59dcad({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x11a0eb['title'],'withText':!0x0})};_0x49a601(_0x11a0eb['model'])?(_0x6d3486['model']['bind']('isOn')['to'](_0x1ac2fe,'value',_0x22fbb2=>!_0x22fbb2),_0x6d3486['model']['commandParam']=void 0x0):(_0x6d3486['model']['bind']('isOn')['to'](_0x1ac2fe,'value',_0x2ce1dd=>_0x2ce1dd===_0x11a0eb['model']),_0x6d3486['model']['commandParam']=_0x11a0eb['model']),_0x321e16['add'](_0x6d3486);}if(this['_shouldRenderCustomValueOption']()){const _0x2d72e6=this['_getCustomValueOptionDefinition'](_0x2a9ad8);_0x321e16['add'](_0x2d72e6);}return _0x321e16;}['_getCustomValueOptionDefinition'](_0x1d846b){const _0x46f7a4=this['editor'],t=_0x46f7a4['t'],_0x5e9461=_0x46f7a4['commands']['get']('lineHeight'),_0x5b7bbe=_0x1d846b['map'](_0xb3436d=>_0xb3436d['model']),_0x378a71={'type':'button','model':new _0x59dcad({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x378a71['model']['bind']('commandParam')['to'](_0x5e9461,'value'),_0x378a71['model']['bind']('isOn')['to'](_0x5e9461,'value',_0xea0e7b=>!!_0xea0e7b&&!_0x5b7bbe['includes'](String(_0xea0e7b))),_0x378a71['model']['bind']('label')['to'](_0x5e9461,'value',_0x1f5418=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1f5418))),_0x378a71;}['_registerToolbarComponent']({accessibleLabel:_0x4cae06,options:_0x1de914}){const _0x2decce=this['editor'],_0x30039d=_0x2decce['commands']['get']('lineHeight');_0x2decce['ui']['componentFactory']['add']('lineHeight',_0x5dabf1=>{const _0x1e5d4d=_0x887c62(_0x5dabf1);return _0x406769(_0x1e5d4d,_0x1de914,{'role':'menu','ariaLabel':_0x4cae06}),_0x1e5d4d['buttonView']['set']({'label':_0x4cae06,'tooltip':!0x0,'icon':_0x278cf8}),_0x1e5d4d['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x1e5d4d['bind']('isEnabled')['to'](_0x30039d),this['listenTo'](_0x1e5d4d,'execute',_0x89d319=>{_0x2decce['execute'](_0x89d319['source']['commandName'],{'value':_0x89d319['source']['commandParam']}),_0x2decce['editing']['view']['focus']();}),_0x1e5d4d['once']('change:isOpen',()=>{const _0x5ac42b=_0x1e5d4d['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x1e5d4d,_0x1de914,_0x5ac42b);}),_0x1e5d4d;});}['_registerMenuBarComponent']({accessibleLabel:_0x3532bd,options:_0x495c54}){const _0x4f063d=this['editor'],_0x44a7ad=_0x4f063d['commands']['get']('lineHeight');_0x4f063d['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5e86bc=>{const _0x3401e5=new _0x3a17c3(_0x5e86bc);_0x3401e5['buttonView']['set']({'label':_0x3532bd,'icon':_0x278cf8}),_0x3401e5['bind']('isEnabled')['to'](_0x44a7ad);const _0x5c0ec6=new _0xdaffbc(_0x5e86bc);for(const _0x253e54 of _0x495c54){const _0x3b2d8c=new _0x2dcd89(_0x5e86bc,_0x3401e5),_0x3d26e4=new _0x50c9b7(_0x5e86bc);_0x3d26e4['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x3d26e4['bind'](...Object['keys'](_0x253e54['model']))['to'](_0x253e54['model']),_0x3d26e4['delegate']('execute')['to'](_0x3401e5),_0x3d26e4['on']('execute',()=>{_0x4f063d['execute'](_0x253e54['model']['commandName'],{'value':_0x253e54['model']['commandParam']}),_0x4f063d['editing']['view']['focus']();}),_0x3b2d8c['children']['add'](_0x3d26e4),_0x5c0ec6['items']['add'](_0x3b2d8c);}return _0x3401e5['panelView']['children']['add'](_0x5c0ec6),this['_attachCustomOptionVisibilityHandler'](_0x3401e5,_0x495c54,_0x5c0ec6),_0x3401e5;});}['_attachCustomOptionVisibilityHandler'](_0x37901e,_0x408df8,_0x1e0cc7){if(!this['_shouldRenderCustomValueOption']())return;const _0xfc55c8=()=>{if(!_0x37901e['isOpen'])return;_0x1e0cc7['items']['last']['isVisible']=Boolean(_0x408df8['last']['model']['isOn']);};_0xfc55c8(),_0x37901e['on']('change:isOpen',()=>{_0xfc55c8();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3e36(_0x47839b,_0x328d26){const _0x4ae059=_0x4ae0();return _0x3e36=function(_0x3e3610,_0x203a6f){_0x3e3610=_0x3e3610-0x92;let _0x58da38=_0x4ae059[_0x3e3610];return _0x58da38;},_0x3e36(_0x47839b,_0x328d26);}(function(_0x4e2fc5,_0x3ae270){const _0x40df07=_0x3e36,_0x21788f=_0x4e2fc5();while(!![]){try{const _0x157848=parseInt(_0x40df07(0xb0))/0x1+parseInt(_0x40df07(0xa6))/0x2+parseInt(_0x40df07(0xa1))/0x3+parseInt(_0x40df07(0x98))/0x4*(-parseInt(_0x40df07(0x95))/0x5)+parseInt(_0x40df07(0x97))/0x6*(-parseInt(_0x40df07(0xa0))/0x7)+parseInt(_0x40df07(0x9c))/0x8+-parseInt(_0x40df07(0xa7))/0x9*(-parseInt(_0x40df07(0x92))/0xa);if(_0x157848===_0x3ae270)break;else _0x21788f['push'](_0x21788f['shift']());}catch(_0x246391){_0x21788f['push'](_0x21788f['shift']());}}}(_0x4ae0,0x9728d));const v={get 'single'(){const _0x2d3a33=_0x3e36;return{'title':_0x2d3a33(0xa8),'model':_0x2d3a33(0x99),'view':{'key':_0x2d3a33(0xa2),'value':_0x2d3a33(0xb3)}};},get 'double'(){const _0x568096=_0x3e36;return{'title':_0x568096(0xa4),'model':_0x568096(0xa5),'view':{'key':_0x568096(0xa2),'value':_0x568096(0x9f)}};}};export function isLineHeightDefaultValue(_0x35de92){const _0x2d7664=_0x3e36;return _0x2d7664(0x9e)==typeof _0x35de92&&_0x2d7664(0xa9)===_0x35de92[_0x2d7664(0xac)]();}export function normalizeOptions(_0x5892c9){const _0x8845b5=_0x3e36;return _0x5892c9[_0x8845b5(0xa3)][_0x8845b5(0x9a)](_0x36fddb=>isLineHeightDefaultValue(_0x36fddb)?{'title':String(_0x5892c9[_0x8845b5(0xaf)]),'model':_0x8845b5(0xa9)}:(_0x8845b5(0xae)==typeof _0x36fddb&&(_0x36fddb=String(_0x36fddb)),_0x8845b5(0x9e)!=typeof _0x36fddb?_0x36fddb:parseFloat(_0x36fddb)?{'title':_0x36fddb,'model':_0x36fddb,'view':{'name':_0x8845b5(0xad),'styles':{'line-height':_0x36fddb}}}:findPreset(_0x36fddb)))[_0x8845b5(0x9d)](_0x30093d=>void 0x0!==_0x30093d);}export function findPreset(_0xbe534e){const _0x140e70=_0x3e36;return _0x140e70(0x9e)==typeof _0xbe534e?v[_0xbe534e]:v[_0xbe534e[_0x140e70(0x9b)]];}function _0x4ae0(){const _0x4d37c3=['style','toLowerCase','span','number','defaultValue','151333DADIoU','value','values','line-height-single','25230oEPXTD','view','key','1674545ZHqVHx','line-height:','861372xXMihM','4IEEOLY','single','map','model','4661848bstcTp','filter','string','line-height-double','14CPtPLv','518346xNoKXj','class','options','Double','double','148934XeZdXu','927GVIHHX','Single','default','push'];_0x4ae0=function(){return _0x4d37c3;};return _0x4ae0();}export function buildDefinition(_0x3e59a8,_0x5cbdd4){const _0x1428ea=_0x3e36,_0x401478={'model':{'key':_0x3e59a8,'values':[]},'view':{}};for(const _0x9e036a of _0x5cbdd4)_0x1428ea(0xa2)===_0x9e036a[_0x1428ea(0x93)]?.[_0x1428ea(0x94)]?(_0x401478[_0x1428ea(0x9b)][_0x1428ea(0xb2)][_0x1428ea(0xaa)](_0x9e036a[_0x1428ea(0x9b)]),_0x401478[_0x1428ea(0x93)][_0x9e036a[_0x1428ea(0x9b)]]={'key':_0x1428ea(0xa2),'value':_0x9e036a[_0x1428ea(0x93)][_0x1428ea(0xb1)]}):(_0x401478[_0x1428ea(0x9b)][_0x1428ea(0xb2)][_0x1428ea(0xaa)](_0x9e036a[_0x1428ea(0x9b)]),_0x401478[_0x1428ea(0x93)][_0x9e036a[_0x1428ea(0x9b)]]={'key':_0x1428ea(0xab),'value':_0x1428ea(0x96)+_0x9e036a[_0x1428ea(0x9b)]+';'});return _0x401478;}
|