@ckeditor/ckeditor5-line-height 47.0.0-alpha.2 → 47.0.0-alpha.4
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
|
+
const _0x30b57b=_0x58bd;function _0x209f(){const _0x4277f8=['7834552COaPON','setAttribute','document','getAttribute','isEnabled','schema','filter','getSelectedBlocks','checkAttribute','execute','editor','21659697tUnxEm','63YCRNIb','lineHeight','model','_canHaveLineHeight','1408899rMTafH','change','236HCSsVF','value','7952450JhlgdO','selection','from','10550DOtyKP','21180ZKZwZP','716490BcXGwU','removeAttribute','refresh'];_0x209f=function(){return _0x4277f8;};return _0x209f();}(function(_0x235f09,_0x4d0088){const _0x5666eb=_0x58bd,_0x15d682=_0x235f09();while(!![]){try{const _0x202be3=parseInt(_0x5666eb(0x1b5))/0x1+parseInt(_0x5666eb(0x1bc))/0x2+parseInt(_0x5666eb(0x1bd))/0x3*(parseInt(_0x5666eb(0x1b7))/0x4)+parseInt(_0x5666eb(0x1b9))/0x5+parseInt(_0x5666eb(0x1be))/0x6*(-parseInt(_0x5666eb(0x1b1))/0x7)+parseInt(_0x5666eb(0x1a5))/0x8+-parseInt(_0x5666eb(0x1b0))/0x9;if(_0x202be3===_0x4d0088)break;else _0x15d682['push'](_0x15d682['shift']());}catch(_0x48144c){_0x15d682['push'](_0x15d682['shift']());}}}(_0x209f,0xe0673));import{Command as _0x1e14da}from'ckeditor5/src/core.js';function _0x58bd(_0x1cd2f6,_0x265f91){const _0x209fdd=_0x209f();return _0x58bd=function(_0x58bd9e,_0x371a19){_0x58bd9e=_0x58bd9e-0x1a5;let _0x5bf54a=_0x209fdd[_0x58bd9e];return _0x5bf54a;},_0x58bd(_0x1cd2f6,_0x265f91);}import{first as _0x541f12}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x1e14da{[_0x30b57b(0x1c0)](){const _0x358a36=_0x30b57b,_0x3f9bd5=this[_0x358a36(0x1af)][_0x358a36(0x1b3)][_0x358a36(0x1a7)],_0x8f479a=_0x541f12(_0x3f9bd5[_0x358a36(0x1ba)][_0x358a36(0x1ac)]());this[_0x358a36(0x1a9)]=Boolean(_0x8f479a)&&this[_0x358a36(0x1b4)](_0x8f479a),this[_0x358a36(0x1b8)]=this[_0x358a36(0x1a9)]&&_0x8f479a[_0x358a36(0x1a8)](_0x358a36(0x1b2));}[_0x30b57b(0x1ae)](_0x992ee={}){const _0x5e1b79=_0x30b57b,_0xffe121=this[_0x5e1b79(0x1af)][_0x5e1b79(0x1b3)],_0x3426d8=_0xffe121[_0x5e1b79(0x1a7)][_0x5e1b79(0x1ba)],_0x1ea254=_0x992ee[_0x5e1b79(0x1b8)];_0xffe121[_0x5e1b79(0x1b6)](_0x3d7d7e=>{const _0x1791e8=_0x5e1b79,_0x4a9a23=Array[_0x1791e8(0x1bb)](_0x3426d8[_0x1791e8(0x1ac)]())[_0x1791e8(0x1ab)](_0x2c8b63=>this[_0x1791e8(0x1b4)](_0x2c8b63));for(const _0x582144 of _0x4a9a23)_0x1ea254?_0x3d7d7e[_0x1791e8(0x1a6)](_0x1791e8(0x1b2),_0x1ea254,_0x582144):_0x3d7d7e[_0x1791e8(0x1bf)](_0x1791e8(0x1b2),_0x582144);});}[_0x30b57b(0x1b4)](_0x46db51){const _0x407938=_0x30b57b;return this[_0x407938(0x1af)][_0x407938(0x1b3)][_0x407938(0x1aa)][_0x407938(0x1ad)](_0x46db51,_0x407938(0x1b2));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0xec2b(_0x2fadc3,_0x266ef9){const _0x3a97ba=_0x3a97();return _0xec2b=function(_0xec2bdf,_0x10908c){_0xec2bdf=_0xec2bdf-0x173;let _0xc1fcda=_0x3a97ba[_0xec2bdf];return _0xc1fcda;},_0xec2b(_0x2fadc3,_0x266ef9);}const _0x4c37dc=_0xec2b;(function(_0x2f8c78,_0x583d7d){const _0x762ca7=_0xec2b,_0x406f86=_0x2f8c78();while(!![]){try{const _0x13e8fe=parseInt(_0x762ca7(0x1a3))/0x1+-parseInt(_0x762ca7(0x196))/0x2*(-parseInt(_0x762ca7(0x19c))/0x3)+parseInt(_0x762ca7(0x175))/0x4+parseInt(_0x762ca7(0x190))/0x5+-parseInt(_0x762ca7(0x187))/0x6*(-parseInt(_0x762ca7(0x17d))/0x7)+-parseInt(_0x762ca7(0x176))/0x8+-parseInt(_0x762ca7(0x1a4))/0x9*(parseInt(_0x762ca7(0x19a))/0xa);if(_0x13e8fe===_0x583d7d)break;else _0x406f86['push'](_0x406f86['shift']());}catch(_0x1453ce){_0x406f86['push'](_0x406f86['shift']());}}}(_0x3a97,0xdd99b));import{Plugin as _0xed1bdb}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x19b806}from'./lineheightcommand.js';function _0x3a97(){const _0x47a0fc=['line-height-invalid-use-of-named-presets','default','slice','config','attributeToAttribute','add','getStyle','146500aGrRZp','LineHeightEditing','string','lineHeight.defaultValue','filter','values','3314ABelPt','line-height','lineHeight.supportAllValues','get','35363620XstthI','fromCharCode','843DKbUzA','lineHeight.options','init','map','schema','join','length','1396507gpKbrH','9TkJGbg','extend','$block','model','style','commands','define','6170572xOzqzv','5932664XjOKhD','pluginName','for','_validateConfig','setAttributeProperties','lineHeight','upcast','4086957nNvezO','editor','href','afterInit','conversion','isOfficialPlugin','downcast','_prepareAnyValueConverters','isPremiumPlugin','includes','18tGfxkB','_preparePredefinedConverters'];_0x3a97=function(){return _0x47a0fc;};return _0x3a97();}import{isPercentageStyleValue as _0x2adb93}from'ckeditor5/src/engine.js';import{uid as _0x3a91e8,CKEditorError as _0x3a3249}from'ckeditor5/src/utils.js';import{buildDefinition as _0xeea21f,isLineHeightDefaultValue as _0x2b3f9e,normalizeOptions as _0x2df998}from'./utils.js';export class LineHeightEditing extends _0xed1bdb{static get[_0x4c37dc(0x177)](){const _0x2930f3=_0x4c37dc;return _0x2930f3(0x191);}static get[_0x4c37dc(0x182)](){return!0x0;}static get[_0x4c37dc(0x185)](){return!0x0;}constructor(_0x1e7db2){const _0x1d8c95=_0x4c37dc;super(_0x1e7db2),_0x1e7db2[_0x1d8c95(0x18c)][_0x1d8c95(0x174)](_0x1d8c95(0x17b),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x1d8c95(0x18a),0x2,2.5,0x3]});}[_0x4c37dc(0x19e)](){const _0x10f653=_0x4c37dc,_0x38eb45=this[_0x10f653(0x17e)];this[_0x10f653(0x179)](),_0x38eb45[_0x10f653(0x1a7)][_0x10f653(0x1a0)][_0x10f653(0x1a5)](_0x10f653(0x1a6),{'allowAttributes':_0x10f653(0x17b)}),_0x38eb45[_0x10f653(0x1a7)][_0x10f653(0x1a0)][_0x10f653(0x17a)](_0x10f653(0x17b),{'isFormatting':!0x0}),_0x38eb45[_0x10f653(0x173)][_0x10f653(0x18e)](_0x10f653(0x17b),new _0x19b806(_0x38eb45)),this[_0x10f653(0x17e)][_0x10f653(0x18c)][_0x10f653(0x199)](_0x10f653(0x198))?this[_0x10f653(0x184)]():this[_0x10f653(0x188)]();}[_0x4c37dc(0x180)](){!async function(_0x424b08){const _0x427eba=_0x2a4020([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0x598d35=0x4597e011,_0x5db828=0x45909469^_0x598d35,_0x3290f5=window[_0x2a4020([0x44,0x61,0x74,0x65])][_0x2a4020([0x6e,0x6f,0x77])](),_0x4d9366=_0x424b08[_0x2a4020([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xfb8ba1=new window[(_0x2a4020([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ad3ac=>{_0x4d9366[_0x2a4020([0x6f,0x6e,0x63,0x65])](_0x2a4020([0x72,0x65,0x61,0x64,0x79]),_0x4ad3ac);}),_0x522c34={[_0x2a4020([0x6b,0x74,0x79])]:_0x2a4020([0x45,0x43]),[_0x2a4020([0x75,0x73,0x65])]:_0x2a4020([0x73,0x69,0x67]),[_0x2a4020([0x63,0x72,0x76])]:_0x2a4020([0x50,0x2d,0x32,0x35,0x36]),[_0x2a4020([0x78])]:_0x2a4020([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]),[_0x2a4020([0x79])]:_0x2a4020([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]),[_0x2a4020([0x61,0x6c,0x67])]:_0x2a4020([0x45,0x53,0x32,0x35,0x36])},_0x467048=_0x4d9366[_0x2a4020([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2a4020([0x67,0x65,0x74])](_0x2a4020([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4c9acb(){let _0x24c439,_0x1a5b99=null,_0xd048a2=null;try{if(_0x467048==_0x2a4020([0x47,0x50,0x4c]))return _0x2a4020([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x24c439=_0x28895c(),!_0x24c439)return _0x2a4020([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x24c439[_0x2a4020([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xd048a2=_0x5ea273(_0x24c439[_0x2a4020([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x24c439[_0x2a4020([0x6a,0x74,0x69])])),await _0x5458f9()?_0x230c10()?_0x25393f()?_0x2a4020([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x441a34()?(_0x24c439[_0x2a4020([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a4020([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1a5b99=_0x372cdd(_0x2a4020([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x24c439[_0x2a4020([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a4020([0x74,0x72,0x69,0x61,0x6c])&&(_0x1a5b99=_0x372cdd(_0x2a4020([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2fbb39()):_0x2a4020([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2a4020([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2a4020([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2a4020([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x25393f(){const _0x5f8746=[_0x2a4020([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2a4020([0x74,0x72,0x69,0x61,0x6c])][_0x2a4020([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24c439[_0x2a4020([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3290f5/0x3e8:0xe10*_0x5db828;return _0x24c439[_0x2a4020([0x65,0x78,0x70])]<_0x5f8746;}function _0x230c10(){const _0x4efe4a=_0x24c439[_0x2a4020([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4efe4a&&(!!_0x4efe4a[_0x2a4020([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a4020([0x2a]))||!!_0x4efe4a[_0x2a4020([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a4020([0x4c,0x48])));}function _0x441a34(){const _0x13bbdf=_0xec2b,_0x5c7780=_0x24c439[_0x2a4020([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5c7780||0x0==_0x5c7780[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3d008f}=new URL(window[_0x2a4020([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x13bbdf(0x17f)]);if(_0x5c7780[_0x2a4020([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d008f))return!0x0;const _0x1f1bc7=_0x3d008f[_0x2a4020([0x73,0x70,0x6c,0x69,0x74])](_0x2a4020([0x2e]));return _0x5c7780[_0x2a4020([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x203ba3=>_0x203ba3[_0x2a4020([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a4020([0x2a])))[_0x2a4020([0x6d,0x61,0x70])](_0x20b133=>_0x20b133[_0x2a4020([0x73,0x70,0x6c,0x69,0x74])](_0x2a4020([0x2e])))[_0x2a4020([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd694f9=>_0xd694f9[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1f1bc7[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a4020([0x6d,0x61,0x70])](_0x147784=>Array(_0x1f1bc7[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x147784[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a4020([0x66,0x69,0x6c,0x6c])](_0x147784[0x0]===_0x2a4020([0x2a])?_0x2a4020([0x2a]):'')[_0x2a4020([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x147784))[_0x2a4020([0x73,0x6f,0x6d,0x65])](_0x4258b8=>_0x1f1bc7[_0x2a4020([0x65,0x76,0x65,0x72,0x79])]((_0x4c7170,_0x32b413)=>_0x4258b8[_0x32b413]===_0x4c7170||_0x4258b8[_0x32b413]===_0x2a4020([0x2a])));}function _0x2fbb39(){return _0x1a5b99&&_0xd048a2?new window[(_0x2a4020([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5451c5,_0x1d42a1)=>{_0x1a5b99[_0x2a4020([0x74,0x68,0x65,0x6e])](_0x5451c5,_0x1d42a1),_0xd048a2[_0x2a4020([0x74,0x68,0x65,0x6e])](_0x190bab=>{_0x190bab!=_0x2a4020([0x56,0x61,0x6c,0x69,0x64])&&_0x5451c5(_0x190bab);},_0x1d42a1);}):_0x1a5b99||_0xd048a2||_0x2a4020([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5ea273(_0x2ddc6a,_0x50bbe4){return new window[(_0x2a4020([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5eda0f=>{if(_0x5bae48())return _0x5eda0f(_0x2a4020([0x56,0x61,0x6c,0x69,0x64]));_0x244881(),_0x4d9366[_0x2a4020([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2a4020([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x976ac6=!0x1;const _0x13a9be=_0x3a91e8();function _0x579a68(_0x9c5a18){return!!_0x9c5a18&&(typeof _0x9c5a18===_0x2a4020([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x9c5a18===_0x2a4020([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x9c5a18[_0x2a4020([0x74,0x68,0x65,0x6e])]===_0x2a4020([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x9c5a18[_0x2a4020([0x63,0x61,0x74,0x63,0x68])]===_0x2a4020([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x41913d(_0x58346b){_0xd43fe3(_0x58346b)[_0x2a4020([0x74,0x68,0x65,0x6e])](_0x104b04=>{if(!_0x104b04||_0x104b04[_0x2a4020([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2a4020([0x6f,0x6b]))return _0x2a4020([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1da14f(_0x31b20b(_0x13a9be+_0x50bbe4))!=_0x104b04[_0x2a4020([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2a4020([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2a4020([0x56,0x61,0x6c,0x69,0x64]);})[_0x2a4020([0x74,0x68,0x65,0x6e])](_0x2da35c=>(_0x3fad77(),_0x2da35c),()=>{const _0x3c8700=_0x118638();return null==_0x3c8700?(_0x3fad77(),_0x2a4020([0x56,0x61,0x6c,0x69,0x64])):_0x2a4020(_0x3290f5-_0x3c8700>(0x619b6411^_0x598d35)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2a4020([0x74,0x68,0x65,0x6e])](_0x5eda0f)[_0x2a4020([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5eda0f(_0x2a4020([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5cf7e3=0x45a10e91^_0x598d35;function _0x3fad77(){const _0x224da2=_0x2a4020([0x6c,0x6c,0x63,0x74,0x2d])+_0x1da14f(_0x31b20b(_0x2ddc6a)),_0x843a5d=_0x1a2dc5(_0x1da14f(window[_0x2a4020([0x4d,0x61,0x74,0x68])][_0x2a4020([0x63,0x65,0x69,0x6c])](_0x3290f5/_0x5cf7e3)));window[_0x2a4020([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a4020([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x224da2,_0x843a5d);}function _0x118638(){const _0x4bcb32=_0x2a4020([0x6c,0x6c,0x63,0x74,0x2d])+_0x1da14f(_0x31b20b(_0x2ddc6a)),_0x3c96ee=window[_0x2a4020([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a4020([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4bcb32);return _0x3c96ee?window[_0x2a4020([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a2dc5(_0x3c96ee),0x10)*_0x5cf7e3:null;}function _0xd43fe3(_0x54f47a){return new window[(_0x2a4020([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44976b,_0x2815b0)=>{_0x54f47a[_0x2a4020([0x74,0x68,0x65,0x6e])](_0x44976b,_0x2815b0),window[_0x2a4020([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2815b0,0x459634d1^_0x598d35);});}}_0x4d9366[_0x2a4020([0x6f,0x6e])](_0x2a4020([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x28219a,_0x1a0650)=>{if(_0x1a0650[0x0]!=_0x2ddc6a)return _0x5eda0f(_0x2a4020([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1a0650[0x1]={..._0x1a0650[0x1],[_0x2a4020([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x13a9be};},{[_0x2a4020([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a4020([0x68,0x69,0x67,0x68])}),_0x4d9366[_0x2a4020([0x6f,0x6e])](_0x2a4020([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x29d5dc=>{_0x579a68(_0x29d5dc[_0x2a4020([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x976ac6=!0x0,_0x41913d(_0x29d5dc[_0x2a4020([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2a4020([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a4020([0x6c,0x6f,0x77])}),_0xfb8ba1[_0x2a4020([0x74,0x68,0x65,0x6e])](()=>{_0x976ac6||_0x5eda0f(_0x2a4020([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5bae48(){return _0x4d9366[_0x2a4020([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a4020([0x76,0x69,0x65,0x77])][_0x2a4020([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2a4020([0x61,0x75,0x74,0x6f]);}function _0x244881(){_0x4d9366[_0x2a4020([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a4020([0x76,0x69,0x65,0x77])][_0x2a4020([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a4020([0x61,0x75,0x74,0x6f]);}}function _0x372cdd(_0x11de88){const _0x5b5f41=[new window[(_0x2a4020([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x298942=>setTimeout(_0x298942,0x459ededd^_0x598d35)),_0xfb8ba1[_0x2a4020([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2a4020([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6710f8=>{let _0x1815ca=0x0;_0x4d9366[_0x2a4020([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a4020([0x6f,0x6e])](_0x2a4020([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4a0762,_0x3ee77e)=>{_0x3ee77e[0x0][_0x2a4020([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1815ca++,_0x1815ca==(0x4597e1e9^_0x598d35)&&(_0x6710f8(),_0x4a0762[_0x2a4020([0x6f,0x66,0x66])]());});}))];return window[_0x2a4020([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a4020([0x72,0x61,0x63,0x65])](_0x5b5f41)[_0x2a4020([0x74,0x68,0x65,0x6e])](()=>_0x11de88);}async function _0x4becb6(){await _0xfb8ba1,_0x4d9366[_0x2a4020([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a4020([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26bc92,_0x4d9366[_0x2a4020([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a4020([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26bc92,_0x4d9366[_0x2a4020([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2a4020([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x399d8b(_0x4130da){const _0x57b312=_0x1fcfae();_0x4d9366[_0x57b312]=_0x2a4020([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4130da,_0x4130da!=_0x2a4020([0x56,0x61,0x6c,0x69,0x64])&&_0x4becb6();}function _0x1fcfae(){const _0x3edc2b=window[_0x2a4020([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2a4020([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2a4020([0x6e,0x6f,0x77])]())[_0x2a4020([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2a4020([0x2e]),'');let _0x229596=_0x2a4020([0x51]);for(let _0x4c3875=0x0;_0x4c3875<_0x3edc2b[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c3875+=0x2){let _0x58737e=window[_0x2a4020([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3edc2b[_0x2a4020([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c3875,_0x4c3875+0x2));_0x58737e>=_0x427eba[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x58737e-=_0x427eba[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x229596+=_0x427eba[_0x58737e];}return _0x229596;}function _0x28895c(){const _0x37c7ef=_0x467048[_0x2a4020([0x73,0x70,0x6c,0x69,0x74])](_0x2a4020([0x2e]));if(0x3!=_0x37c7ef[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x46c2e4(_0x37c7ef[0x1]);function _0x46c2e4(_0x205ebd){const _0x15fd11=_0x4c0c4a(_0x205ebd);return _0x15fd11&&_0x45776e()?_0x15fd11:null;function _0x45776e(){const _0x56d007=_0x15fd11[_0x2a4020([0x6a,0x74,0x69])],_0x3e418c=window[_0x2a4020([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56d007[_0x2a4020([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56d007[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x493a01={..._0x15fd11,[_0x2a4020([0x6a,0x74,0x69])]:_0x56d007[_0x2a4020([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x56d007[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x493a01[_0x2a4020([0x76,0x63])],_0x31b20b(_0x493a01)==_0x3e418c;}}}async function _0x5458f9(){let _0x262726=!0x0;try{const _0x2d1fe3=_0x467048[_0x2a4020([0x73,0x70,0x6c,0x69,0x74])](_0x2a4020([0x2e])),[_0x42f16b,_0x4426c6,_0x7fb4e]=_0x2d1fe3;return _0x49be85(_0x42f16b),await _0x462962(_0x42f16b,_0x4426c6,_0x7fb4e),_0x262726;}catch{return!0x1;}function _0x49be85(_0x51034c){const _0x3c63fe=_0x4c0c4a(_0x51034c);_0x3c63fe&&_0x3c63fe[_0x2a4020([0x61,0x6c,0x67])]==_0x2a4020([0x45,0x53,0x32,0x35,0x36])||(_0x262726=!0x1);}async function _0x462962(_0x3bfa99,_0x3dde23,_0x5adda8){const _0x10bfdd=window[_0x2a4020([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2a4020([0x66,0x72,0x6f,0x6d])](_0x42748e(_0x5adda8),_0x4e800b=>_0x4e800b[_0x2a4020([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x289a48=new window[(_0x2a4020([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2a4020([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3bfa99+_0x2a4020([0x2e])+_0x3dde23),_0x5da29d=window[_0x2a4020([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2a4020([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5da29d)return;const _0x18dbed=await _0x5da29d[_0x2a4020([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2a4020([0x6a,0x77,0x6b]),_0x522c34,{[_0x2a4020([0x6e,0x61,0x6d,0x65])]:_0x2a4020([0x45,0x43,0x44,0x53,0x41]),[_0x2a4020([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2a4020([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2a4020([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5da29d[_0x2a4020([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2a4020([0x6e,0x61,0x6d,0x65])]:_0x2a4020([0x45,0x43,0x44,0x53,0x41]),[_0x2a4020([0x68,0x61,0x73,0x68])]:{[_0x2a4020([0x6e,0x61,0x6d,0x65])]:_0x2a4020([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x18dbed,_0x10bfdd,_0x289a48)||(_0x262726=!0x1);}}function _0x4c0c4a(_0x113a09){return _0x113a09[_0x2a4020([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2a4020([0x65,0x79]))?JSON[_0x2a4020([0x70,0x61,0x72,0x73,0x65])](_0x42748e(_0x113a09)):null;}function _0x42748e(_0x204948){return window[_0x2a4020([0x61,0x74,0x6f,0x62])](_0x204948[_0x2a4020([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2a4020([0x2b]))[_0x2a4020([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2a4020([0x2f])));}function _0x31b20b(_0x3763a3){let _0x4e6c1d=0x1505;function _0x596c1e(_0x353dcb){for(let _0x36c5d5=0x0;_0x36c5d5<_0x353dcb[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36c5d5++){const _0x40d740=_0x353dcb[_0x2a4020([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36c5d5);_0x4e6c1d=(_0x4e6c1d<<0x5)+_0x4e6c1d+_0x40d740,_0x4e6c1d&=_0x4e6c1d;}}function _0x34f851(_0x94e7a0){Array[_0x2a4020([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x94e7a0)?_0x94e7a0[_0x2a4020([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x34f851):_0x94e7a0&&typeof _0x94e7a0==_0x2a4020([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2a4020([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x94e7a0)[_0x2a4020([0x73,0x6f,0x72,0x74])]()[_0x2a4020([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x25f72c,_0x37446f])=>{_0x596c1e(_0x25f72c),_0x34f851(_0x37446f);}):_0x596c1e(window[_0x2a4020([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x94e7a0));}return _0x34f851(_0x3763a3),_0x4e6c1d>>>0x0;}function _0x1da14f(_0x573522){return _0x573522[_0x2a4020([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2a4020([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2a4020([0x30]));}function _0x1a2dc5(_0xf80fea){return _0xf80fea[_0x2a4020([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2a4020([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2a4020([0x6a,0x6f,0x69,0x6e])]('');}function _0x26bc92(){}function _0x2a4020(_0x267ede){const _0x4c04df=_0xec2b;return _0x267ede[_0x4c04df(0x19f)](_0x44b081=>String[_0x4c04df(0x19b)](_0x44b081))[_0x4c04df(0x1a1)]('');}_0x399d8b(await _0x4c9acb());}(this);}[_0x4c37dc(0x179)](){const _0x2a5632=_0x4c37dc,_0x47ec9e=this[_0x2a5632(0x17e)];if(!_0x47ec9e[_0x2a5632(0x18c)][_0x2a5632(0x199)](_0x2a5632(0x198)))return;const _0x425512=_0x47ec9e[_0x2a5632(0x18c)][_0x2a5632(0x199)](_0x2a5632(0x19d))[_0x2a5632(0x194)](_0x2e2c3e=>_0x2a5632(0x192)==typeof _0x2e2c3e&&(!_0x2b3f9e(_0x2e2c3e)&&isNaN(Number(_0x2e2c3e))));if(_0x425512[_0x2a5632(0x1a2)])throw new _0x3a3249(_0x2a5632(0x189),null,{'namedPresets':_0x425512});}[_0x4c37dc(0x184)](){const _0xa74085=_0x4c37dc,_0x186ea6=this[_0xa74085(0x17e)],_0x4f0cca=this[_0xa74085(0x17e)][_0xa74085(0x18c)][_0xa74085(0x199)](_0xa74085(0x193));_0x186ea6[_0xa74085(0x181)][_0xa74085(0x178)](_0xa74085(0x183))[_0xa74085(0x18d)]({'model':{'key':_0xa74085(0x17b)},'view':_0x5eb094=>String(_0x5eb094)===String(_0x4f0cca)?null:{'key':_0xa74085(0x1a8),'value':{'line-height':_0x5eb094}}}),_0x186ea6[_0xa74085(0x181)][_0xa74085(0x178)](_0xa74085(0x17c))[_0xa74085(0x18d)]({'model':{'key':_0xa74085(0x17b),'value':_0x2261db=>{const _0x236844=_0xa74085;let _0x46b40b=_0x2261db[_0x236844(0x18f)](_0x236844(0x197));return _0x2adb93(_0x46b40b)&&(_0x46b40b=String(Number(_0x46b40b[_0x236844(0x18b)](0x0,-0x1))/0x64)),String(_0x46b40b)===String(_0x4f0cca)?null:_0x46b40b;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4c37dc(0x188)](){const _0xa6b9b7=_0x4c37dc,_0x1359b7=this[_0xa6b9b7(0x17e)],_0x3a7dd4=this[_0xa6b9b7(0x17e)][_0xa6b9b7(0x18c)][_0xa6b9b7(0x199)](_0xa6b9b7(0x193)),_0xa195ff=_0x2df998(this[_0xa6b9b7(0x17e)][_0xa6b9b7(0x18c)][_0xa6b9b7(0x199)](_0xa6b9b7(0x17b)))[_0xa6b9b7(0x194)](_0x42e68f=>_0x42e68f[_0xa6b9b7(0x1a7)]),_0x2d16c7=_0xeea21f(_0xa6b9b7(0x17b),_0xa195ff);_0x1359b7[_0xa6b9b7(0x181)][_0xa6b9b7(0x18d)](_0x2d16c7),_0x1359b7[_0xa6b9b7(0x181)][_0xa6b9b7(0x178)](_0xa6b9b7(0x17c))[_0xa6b9b7(0x18d)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0xa6b9b7(0x17b),'value':_0x51e7fe=>{const _0xe6a62=_0xa6b9b7;let _0x787eda=_0x51e7fe[_0xe6a62(0x18f)](_0xe6a62(0x197));return _0x2adb93(_0x787eda)&&(_0x787eda=String(Number(_0x787eda[_0xe6a62(0x18b)](0x0,-0x1))/0x64)),_0x787eda===String(_0x3a7dd4)?null:_0x2d16c7[_0xe6a62(0x1a7)][_0xe6a62(0x195)][_0xe6a62(0x186)](_0x787eda)?_0x787eda:null;}}});}}
|
|
23
|
+
const _0x4e640f=_0x1273;function _0x1273(_0x3aecb3,_0xf29f3c){const _0x1cb751=_0x1cb7();return _0x1273=function(_0x127310,_0x379204){_0x127310=_0x127310-0x19a;let _0x25e23e=_0x1cb751[_0x127310];return _0x25e23e;},_0x1273(_0x3aecb3,_0xf29f3c);}(function(_0x23e07d,_0x1612dd){const _0x2bde39=_0x1273,_0x100747=_0x23e07d();while(!![]){try{const _0x285816=-parseInt(_0x2bde39(0x1cf))/0x1*(parseInt(_0x2bde39(0x1a8))/0x2)+parseInt(_0x2bde39(0x1b5))/0x3*(-parseInt(_0x2bde39(0x1c0))/0x4)+parseInt(_0x2bde39(0x1be))/0x5*(-parseInt(_0x2bde39(0x1c1))/0x6)+parseInt(_0x2bde39(0x1ae))/0x7+parseInt(_0x2bde39(0x1b0))/0x8+parseInt(_0x2bde39(0x19a))/0x9+parseInt(_0x2bde39(0x1ba))/0xa;if(_0x285816===_0x1612dd)break;else _0x100747['push'](_0x100747['shift']());}catch(_0x35f021){_0x100747['push'](_0x100747['shift']());}}}(_0x1cb7,0x370c8));import{Plugin as _0x4cee1e}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x36ee17}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x21d23e}from'ckeditor5/src/engine.js';import{uid as _0x5ca043,CKEditorError as _0x9830d6}from'ckeditor5/src/utils.js';import{buildDefinition as _0x2a9b31,isLineHeightDefaultValue as _0x3bf786,normalizeOptions as _0x4099de}from'./utils.js';function _0x1cb7(){const _0x522dc5=['9xUDbZZ','_preparePredefinedConverters','style','string','lineHeight.options','3324130frLOME','attributeToAttribute','lineHeight','schema','35505LmuQnn','getStyle','471364mUaCIi','84XixMTc','lineHeight.defaultValue','add','default','init','afterInit','isPremiumPlugin','fromCharCode','downcast','isOfficialPlugin','editor','slice','pluginName','model','1571uxyPvJ','2620710iOtajv','for','values','commands','define','lineHeight.supportAllValues','LineHeightEditing','extend','href','upcast','get','_prepareAnyValueConverters','map','_validateConfig','328uPRNrE','$block','line-height','includes','setAttributeProperties','join','671041jUfDbq','length','1732760XKMODg','filter','config','line-height-invalid-use-of-named-presets','conversion'];_0x1cb7=function(){return _0x522dc5;};return _0x1cb7();}export class LineHeightEditing extends _0x4cee1e{static get[_0x4e640f(0x1cd)](){const _0x5e5360=_0x4e640f;return _0x5e5360(0x1a0);}static get[_0x4e640f(0x1ca)](){return!0x0;}static get[_0x4e640f(0x1c7)](){return!0x0;}constructor(_0x1aad8b){const _0x399263=_0x4e640f;super(_0x1aad8b),_0x1aad8b[_0x399263(0x1b2)][_0x399263(0x19e)](_0x399263(0x1bc),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x399263(0x1c4),0x2,2.5,0x3]});}[_0x4e640f(0x1c5)](){const _0x32046a=_0x4e640f,_0x4f6673=this[_0x32046a(0x1cb)];this[_0x32046a(0x1a7)](),_0x4f6673[_0x32046a(0x1ce)][_0x32046a(0x1bd)][_0x32046a(0x1a1)](_0x32046a(0x1a9),{'allowAttributes':_0x32046a(0x1bc)}),_0x4f6673[_0x32046a(0x1ce)][_0x32046a(0x1bd)][_0x32046a(0x1ac)](_0x32046a(0x1bc),{'isFormatting':!0x0}),_0x4f6673[_0x32046a(0x19d)][_0x32046a(0x1c3)](_0x32046a(0x1bc),new _0x36ee17(_0x4f6673)),this[_0x32046a(0x1cb)][_0x32046a(0x1b2)][_0x32046a(0x1a4)](_0x32046a(0x19f))?this[_0x32046a(0x1a5)]():this[_0x32046a(0x1b6)]();}[_0x4e640f(0x1c6)](){!async function(_0x5682bb){const _0x53522a=_0x18aa39([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0xbe076c=0x4597e011,_0x3ad3e0=0x459094b9^_0xbe076c,_0xb38446=window[_0x18aa39([0x44,0x61,0x74,0x65])][_0x18aa39([0x6e,0x6f,0x77])](),_0x1c1f5f=_0x5682bb[_0x18aa39([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e067e=new window[(_0x18aa39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xec4cb8=>{_0x1c1f5f[_0x18aa39([0x6f,0x6e,0x63,0x65])](_0x18aa39([0x72,0x65,0x61,0x64,0x79]),_0xec4cb8);}),_0x2ad2f1={[_0x18aa39([0x6b,0x74,0x79])]:_0x18aa39([0x45,0x43]),[_0x18aa39([0x75,0x73,0x65])]:_0x18aa39([0x73,0x69,0x67]),[_0x18aa39([0x63,0x72,0x76])]:_0x18aa39([0x50,0x2d,0x32,0x35,0x36]),[_0x18aa39([0x78])]:_0x18aa39([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]),[_0x18aa39([0x79])]:_0x18aa39([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]),[_0x18aa39([0x61,0x6c,0x67])]:_0x18aa39([0x45,0x53,0x32,0x35,0x36])},_0x46e230=_0x1c1f5f[_0x18aa39([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x18aa39([0x67,0x65,0x74])](_0x18aa39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x593050(){let _0x28da8e,_0x36a90f=null,_0xc79a8=null;try{if(_0x46e230==_0x18aa39([0x47,0x50,0x4c]))return _0x18aa39([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x28da8e=_0x46b7bb(),!_0x28da8e)return _0x18aa39([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x28da8e[_0x18aa39([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc79a8=_0x46a947(_0x28da8e[_0x18aa39([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x28da8e[_0x18aa39([0x6a,0x74,0x69])])),await _0x4873d5()?_0x14a712()?_0x221c66()?_0x18aa39([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e19c4()?(_0x28da8e[_0x18aa39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x18aa39([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x36a90f=_0x189244(_0x18aa39([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x28da8e[_0x18aa39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x18aa39([0x74,0x72,0x69,0x61,0x6c])&&(_0x36a90f=_0x189244(_0x18aa39([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x535a74()):_0x18aa39([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x18aa39([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x18aa39([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x18aa39([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x221c66(){const _0x416eb9=[_0x18aa39([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x18aa39([0x74,0x72,0x69,0x61,0x6c])][_0x18aa39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28da8e[_0x18aa39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb38446/0x3e8:0xe10*_0x3ad3e0;return _0x28da8e[_0x18aa39([0x65,0x78,0x70])]<_0x416eb9;}function _0x14a712(){const _0x3cdb5a=_0x28da8e[_0x18aa39([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3cdb5a&&(!!_0x3cdb5a[_0x18aa39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18aa39([0x2a]))||!!_0x3cdb5a[_0x18aa39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18aa39([0x4c,0x48])));}function _0x3e19c4(){const _0x32a949=_0x1273,_0x308665=_0x28da8e[_0x18aa39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x308665||0x0==_0x308665[_0x18aa39([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x553ff9}=new URL(window[_0x18aa39([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x32a949(0x1a2)]);if(_0x308665[_0x18aa39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x553ff9))return!0x0;const _0x33ea6f=_0x553ff9[_0x18aa39([0x73,0x70,0x6c,0x69,0x74])](_0x18aa39([0x2e]));return _0x308665[_0x18aa39([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ced2c=>_0x3ced2c[_0x18aa39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18aa39([0x2a])))[_0x18aa39([0x6d,0x61,0x70])](_0x5877a0=>_0x5877a0[_0x18aa39([0x73,0x70,0x6c,0x69,0x74])](_0x18aa39([0x2e])))[_0x18aa39([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b9204=>_0x2b9204[_0x18aa39([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x33ea6f[_0x18aa39([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18aa39([0x6d,0x61,0x70])](_0x3ef9fd=>Array(_0x33ea6f[_0x18aa39([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3ef9fd[_0x18aa39([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18aa39([0x66,0x69,0x6c,0x6c])](_0x3ef9fd[0x0]===_0x18aa39([0x2a])?_0x18aa39([0x2a]):'')[_0x18aa39([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3ef9fd))[_0x18aa39([0x73,0x6f,0x6d,0x65])](_0x50eb97=>_0x33ea6f[_0x18aa39([0x65,0x76,0x65,0x72,0x79])]((_0x73ebbf,_0x2d3a42)=>_0x50eb97[_0x2d3a42]===_0x73ebbf||_0x50eb97[_0x2d3a42]===_0x18aa39([0x2a])));}function _0x535a74(){return _0x36a90f&&_0xc79a8?new window[(_0x18aa39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21c48b,_0x7c50be)=>{_0x36a90f[_0x18aa39([0x74,0x68,0x65,0x6e])](_0x21c48b,_0x7c50be),_0xc79a8[_0x18aa39([0x74,0x68,0x65,0x6e])](_0x19c485=>{_0x19c485!=_0x18aa39([0x56,0x61,0x6c,0x69,0x64])&&_0x21c48b(_0x19c485);},_0x7c50be);}):_0x36a90f||_0xc79a8||_0x18aa39([0x56,0x61,0x6c,0x69,0x64]);}}function _0x46a947(_0x57d894,_0x2ff888){return new window[(_0x18aa39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x356fb7=>{if(_0x5befc3())return _0x356fb7(_0x18aa39([0x56,0x61,0x6c,0x69,0x64]));_0x2c49f1(),_0x1c1f5f[_0x18aa39([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x18aa39([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x586316=!0x1;const _0x57c672=_0x5ca043();function _0x49eb30(_0x1feaa9){return!!_0x1feaa9&&(typeof _0x1feaa9===_0x18aa39([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1feaa9===_0x18aa39([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1feaa9[_0x18aa39([0x74,0x68,0x65,0x6e])]===_0x18aa39([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1feaa9[_0x18aa39([0x63,0x61,0x74,0x63,0x68])]===_0x18aa39([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x579ec9(_0x4b86cd){_0x165da4(_0x4b86cd)[_0x18aa39([0x74,0x68,0x65,0x6e])](_0x31a13b=>{if(!_0x31a13b||_0x31a13b[_0x18aa39([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x18aa39([0x6f,0x6b]))return _0x18aa39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5af838(_0x32743e(_0x57c672+_0x2ff888))!=_0x31a13b[_0x18aa39([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x18aa39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x18aa39([0x56,0x61,0x6c,0x69,0x64]);})[_0x18aa39([0x74,0x68,0x65,0x6e])](_0x4dadbb=>(_0x29ef4b(),_0x4dadbb),()=>{const _0x4614f8=_0x4d32b3();return null==_0x4614f8?(_0x29ef4b(),_0x18aa39([0x56,0x61,0x6c,0x69,0x64])):_0x18aa39(_0xb38446-_0x4614f8>(0x619b6411^_0xbe076c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x18aa39([0x74,0x68,0x65,0x6e])](_0x356fb7)[_0x18aa39([0x63,0x61,0x74,0x63,0x68])](()=>{_0x356fb7(_0x18aa39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x327ff4=0x45a10e91^_0xbe076c;function _0x29ef4b(){const _0x531f75=_0x18aa39([0x6c,0x6c,0x63,0x74,0x2d])+_0x5af838(_0x32743e(_0x57d894)),_0x308e89=_0x13ca87(_0x5af838(window[_0x18aa39([0x4d,0x61,0x74,0x68])][_0x18aa39([0x63,0x65,0x69,0x6c])](_0xb38446/_0x327ff4)));window[_0x18aa39([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18aa39([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x531f75,_0x308e89);}function _0x4d32b3(){const _0x3cfb85=_0x18aa39([0x6c,0x6c,0x63,0x74,0x2d])+_0x5af838(_0x32743e(_0x57d894)),_0x7ae2e4=window[_0x18aa39([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18aa39([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3cfb85);return _0x7ae2e4?window[_0x18aa39([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13ca87(_0x7ae2e4),0x10)*_0x327ff4:null;}function _0x165da4(_0x5ee908){return new window[(_0x18aa39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49bbd4,_0xfaa20e)=>{_0x5ee908[_0x18aa39([0x74,0x68,0x65,0x6e])](_0x49bbd4,_0xfaa20e),window[_0x18aa39([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xfaa20e,0x459634d1^_0xbe076c);});}}_0x1c1f5f[_0x18aa39([0x6f,0x6e])](_0x18aa39([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2320c9,_0x4197d3)=>{if(_0x4197d3[0x0]!=_0x57d894)return _0x356fb7(_0x18aa39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4197d3[0x1]={..._0x4197d3[0x1],[_0x18aa39([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x57c672};},{[_0x18aa39([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18aa39([0x68,0x69,0x67,0x68])}),_0x1c1f5f[_0x18aa39([0x6f,0x6e])](_0x18aa39([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x551f7c=>{_0x49eb30(_0x551f7c[_0x18aa39([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x586316=!0x0,_0x579ec9(_0x551f7c[_0x18aa39([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x18aa39([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18aa39([0x6c,0x6f,0x77])}),_0x5e067e[_0x18aa39([0x74,0x68,0x65,0x6e])](()=>{_0x586316||_0x356fb7(_0x18aa39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5befc3(){return _0x1c1f5f[_0x18aa39([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18aa39([0x76,0x69,0x65,0x77])][_0x18aa39([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x18aa39([0x61,0x75,0x74,0x6f]);}function _0x2c49f1(){_0x1c1f5f[_0x18aa39([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18aa39([0x76,0x69,0x65,0x77])][_0x18aa39([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x18aa39([0x61,0x75,0x74,0x6f]);}}function _0x189244(_0x4a33e3){const _0x5d6d64=[new window[(_0x18aa39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b2977=>setTimeout(_0x3b2977,0x459ededd^_0xbe076c)),_0x5e067e[_0x18aa39([0x74,0x68,0x65,0x6e])](()=>new window[(_0x18aa39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7538a6=>{let _0x41de11=0x0;_0x1c1f5f[_0x18aa39([0x6d,0x6f,0x64,0x65,0x6c])][_0x18aa39([0x6f,0x6e])](_0x18aa39([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39c3b0,_0x179c63)=>{_0x179c63[0x0][_0x18aa39([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x41de11++,_0x41de11==(0x4597e1e9^_0xbe076c)&&(_0x7538a6(),_0x39c3b0[_0x18aa39([0x6f,0x66,0x66])]());});}))];return window[_0x18aa39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x18aa39([0x72,0x61,0x63,0x65])](_0x5d6d64)[_0x18aa39([0x74,0x68,0x65,0x6e])](()=>_0x4a33e3);}async function _0x398a2a(){await _0x5e067e,_0x1c1f5f[_0x18aa39([0x6d,0x6f,0x64,0x65,0x6c])][_0x18aa39([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4231bf,_0x1c1f5f[_0x18aa39([0x6d,0x6f,0x64,0x65,0x6c])][_0x18aa39([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4231bf,_0x1c1f5f[_0x18aa39([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x18aa39([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5516f4(_0x546de8){const _0x5c858d=_0x38bfc9();_0x1c1f5f[_0x5c858d]=_0x18aa39([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x546de8,_0x546de8!=_0x18aa39([0x56,0x61,0x6c,0x69,0x64])&&_0x398a2a();}function _0x38bfc9(){const _0x61f1d6=window[_0x18aa39([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x18aa39([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x18aa39([0x6e,0x6f,0x77])]())[_0x18aa39([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x18aa39([0x2e]),'');let _0x303297=_0x18aa39([0x51]);for(let _0x2b526d=0x0;_0x2b526d<_0x61f1d6[_0x18aa39([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b526d+=0x2){let _0x282d3f=window[_0x18aa39([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x61f1d6[_0x18aa39([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b526d,_0x2b526d+0x2));_0x282d3f>=_0x53522a[_0x18aa39([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x282d3f-=_0x53522a[_0x18aa39([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x303297+=_0x53522a[_0x282d3f];}return _0x303297;}function _0x46b7bb(){const _0x16a01e=_0x46e230[_0x18aa39([0x73,0x70,0x6c,0x69,0x74])](_0x18aa39([0x2e]));if(0x3!=_0x16a01e[_0x18aa39([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1115ca(_0x16a01e[0x1]);function _0x1115ca(_0x4e9401){const _0x54900b=_0x19f285(_0x4e9401);return _0x54900b&&_0x21b1cb()?_0x54900b:null;function _0x21b1cb(){const _0x1c8cc0=_0x54900b[_0x18aa39([0x6a,0x74,0x69])],_0x2fbcc3=window[_0x18aa39([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c8cc0[_0x18aa39([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c8cc0[_0x18aa39([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40caf1={..._0x54900b,[_0x18aa39([0x6a,0x74,0x69])]:_0x1c8cc0[_0x18aa39([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1c8cc0[_0x18aa39([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40caf1[_0x18aa39([0x76,0x63])],_0x32743e(_0x40caf1)==_0x2fbcc3;}}}async function _0x4873d5(){let _0x3a486f=!0x0;try{const _0x516d43=_0x46e230[_0x18aa39([0x73,0x70,0x6c,0x69,0x74])](_0x18aa39([0x2e])),[_0x57c6e3,_0x3e51b8,_0x2bcd35]=_0x516d43;return _0x492509(_0x57c6e3),await _0x4d1495(_0x57c6e3,_0x3e51b8,_0x2bcd35),_0x3a486f;}catch{return!0x1;}function _0x492509(_0x4826c9){const _0x369b5e=_0x19f285(_0x4826c9);_0x369b5e&&_0x369b5e[_0x18aa39([0x61,0x6c,0x67])]==_0x18aa39([0x45,0x53,0x32,0x35,0x36])||(_0x3a486f=!0x1);}async function _0x4d1495(_0x464650,_0x5afebe,_0x1bee6f){const _0x3fe31f=window[_0x18aa39([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x18aa39([0x66,0x72,0x6f,0x6d])](_0x13a066(_0x1bee6f),_0x4ca115=>_0x4ca115[_0x18aa39([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x8bc17=new window[(_0x18aa39([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x18aa39([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x464650+_0x18aa39([0x2e])+_0x5afebe),_0x43e304=window[_0x18aa39([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x18aa39([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x43e304)return;const _0x13cc2b=await _0x43e304[_0x18aa39([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x18aa39([0x6a,0x77,0x6b]),_0x2ad2f1,{[_0x18aa39([0x6e,0x61,0x6d,0x65])]:_0x18aa39([0x45,0x43,0x44,0x53,0x41]),[_0x18aa39([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x18aa39([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x18aa39([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x43e304[_0x18aa39([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x18aa39([0x6e,0x61,0x6d,0x65])]:_0x18aa39([0x45,0x43,0x44,0x53,0x41]),[_0x18aa39([0x68,0x61,0x73,0x68])]:{[_0x18aa39([0x6e,0x61,0x6d,0x65])]:_0x18aa39([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x13cc2b,_0x3fe31f,_0x8bc17)||(_0x3a486f=!0x1);}}function _0x19f285(_0x3b8c1d){return _0x3b8c1d[_0x18aa39([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x18aa39([0x65,0x79]))?JSON[_0x18aa39([0x70,0x61,0x72,0x73,0x65])](_0x13a066(_0x3b8c1d)):null;}function _0x13a066(_0x529266){return window[_0x18aa39([0x61,0x74,0x6f,0x62])](_0x529266[_0x18aa39([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x18aa39([0x2b]))[_0x18aa39([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x18aa39([0x2f])));}function _0x32743e(_0x3cc46e){let _0x5e367e=0x1505;function _0x743954(_0x74c2d2){for(let _0x4655b8=0x0;_0x4655b8<_0x74c2d2[_0x18aa39([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4655b8++){const _0x5a315a=_0x74c2d2[_0x18aa39([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4655b8);_0x5e367e=(_0x5e367e<<0x5)+_0x5e367e+_0x5a315a,_0x5e367e&=_0x5e367e;}}function _0x4c293f(_0x40b89e){Array[_0x18aa39([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x40b89e)?_0x40b89e[_0x18aa39([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4c293f):_0x40b89e&&typeof _0x40b89e==_0x18aa39([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x18aa39([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x40b89e)[_0x18aa39([0x73,0x6f,0x72,0x74])]()[_0x18aa39([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4033ef,_0x3a6ef8])=>{_0x743954(_0x4033ef),_0x4c293f(_0x3a6ef8);}):_0x743954(window[_0x18aa39([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x40b89e));}return _0x4c293f(_0x3cc46e),_0x5e367e>>>0x0;}function _0x5af838(_0x258974){return _0x258974[_0x18aa39([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x18aa39([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x18aa39([0x30]));}function _0x13ca87(_0x40bf91){return _0x40bf91[_0x18aa39([0x73,0x70,0x6c,0x69,0x74])]('')[_0x18aa39([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x18aa39([0x6a,0x6f,0x69,0x6e])]('');}function _0x4231bf(){}function _0x18aa39(_0x5669c7){const _0x449a60=_0x1273;return _0x5669c7[_0x449a60(0x1a6)](_0xc24980=>String[_0x449a60(0x1c8)](_0xc24980))[_0x449a60(0x1ad)]('');}_0x5516f4(await _0x593050());}(this);}[_0x4e640f(0x1a7)](){const _0x516430=_0x4e640f,_0x20a1a4=this[_0x516430(0x1cb)];if(!_0x20a1a4[_0x516430(0x1b2)][_0x516430(0x1a4)](_0x516430(0x19f)))return;const _0x1ff9c6=_0x20a1a4[_0x516430(0x1b2)][_0x516430(0x1a4)](_0x516430(0x1b9))[_0x516430(0x1b1)](_0x31a3f6=>_0x516430(0x1b8)==typeof _0x31a3f6&&(!_0x3bf786(_0x31a3f6)&&isNaN(Number(_0x31a3f6))));if(_0x1ff9c6[_0x516430(0x1af)])throw new _0x9830d6(_0x516430(0x1b3),null,{'namedPresets':_0x1ff9c6});}[_0x4e640f(0x1a5)](){const _0x44fc9c=_0x4e640f,_0xe2462c=this[_0x44fc9c(0x1cb)],_0x45f4f6=this[_0x44fc9c(0x1cb)][_0x44fc9c(0x1b2)][_0x44fc9c(0x1a4)](_0x44fc9c(0x1c2));_0xe2462c[_0x44fc9c(0x1b4)][_0x44fc9c(0x19b)](_0x44fc9c(0x1c9))[_0x44fc9c(0x1bb)]({'model':{'key':_0x44fc9c(0x1bc)},'view':_0x3fa607=>String(_0x3fa607)===String(_0x45f4f6)?null:{'key':_0x44fc9c(0x1b7),'value':{'line-height':_0x3fa607}}}),_0xe2462c[_0x44fc9c(0x1b4)][_0x44fc9c(0x19b)](_0x44fc9c(0x1a3))[_0x44fc9c(0x1bb)]({'model':{'key':_0x44fc9c(0x1bc),'value':_0x180a4e=>{const _0xb27c43=_0x44fc9c;let _0x42293c=_0x180a4e[_0xb27c43(0x1bf)](_0xb27c43(0x1aa));return _0x21d23e(_0x42293c)&&(_0x42293c=String(Number(_0x42293c[_0xb27c43(0x1cc)](0x0,-0x1))/0x64)),String(_0x42293c)===String(_0x45f4f6)?null:_0x42293c;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4e640f(0x1b6)](){const _0x1b96aa=_0x4e640f,_0x18fedb=this[_0x1b96aa(0x1cb)],_0x39e174=this[_0x1b96aa(0x1cb)][_0x1b96aa(0x1b2)][_0x1b96aa(0x1a4)](_0x1b96aa(0x1c2)),_0x3ea198=_0x4099de(this[_0x1b96aa(0x1cb)][_0x1b96aa(0x1b2)][_0x1b96aa(0x1a4)](_0x1b96aa(0x1bc)))[_0x1b96aa(0x1b1)](_0x16f736=>_0x16f736[_0x1b96aa(0x1ce)]),_0x5b49b4=_0x2a9b31(_0x1b96aa(0x1bc),_0x3ea198);_0x18fedb[_0x1b96aa(0x1b4)][_0x1b96aa(0x1bb)](_0x5b49b4),_0x18fedb[_0x1b96aa(0x1b4)][_0x1b96aa(0x19b)](_0x1b96aa(0x1a3))[_0x1b96aa(0x1bb)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x1b96aa(0x1bc),'value':_0x2f74b2=>{const _0x5a9099=_0x1b96aa;let _0x4eb437=_0x2f74b2[_0x5a9099(0x1bf)](_0x5a9099(0x1aa));return _0x21d23e(_0x4eb437)&&(_0x4eb437=String(Number(_0x4eb437[_0x5a9099(0x1cc)](0x0,-0x1))/0x64)),_0x4eb437===String(_0x39e174)?null:_0x5b49b4[_0x5a9099(0x1ce)][_0x5a9099(0x19c)][_0x5a9099(0x1ab)](_0x4eb437)?_0x4eb437:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x4ad9f5}from'ckeditor5/src/core.js';import{addListToDropdown as _0x5dbdc3,createDropdown as _0x1784fc,MenuBarMenuListItemButtonView as _0x1dda79,MenuBarMenuListItemView as _0x1684e5,MenuBarMenuListView as _0x36c605,MenuBarMenuView as _0x227afb,UIModel as _0x4ea822}from'ckeditor5/src/ui.js';import{Collection as _0x1427e6}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x55f81a}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x303d8f}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x4ad9f5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x457c07={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x457c07),this['_registerMenuBarComponent'](_0x457c07),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5ed30e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xbc7286;for(const _0x519c58 in _0x5ed30e){const _0x375530=_0x519c58,_0x2eeee5=_0x5ed30e[_0x375530];if('lineHeightLicenseKeyValid'==_0x2eeee5||'lineHeightLicenseKeyInvalid'==_0x2eeee5||'lineHeightLicenseKeyExpired'==_0x2eeee5||'lineHeightLicenseKeyDomainLimit'==_0x2eeee5||'lineHeightLicenseKeyNotAllowed'==_0x2eeee5||'lineHeightLicenseKeyEvaluationLimit'==_0x2eeee5||'lineHeightLicenseKeyTrialLimit'==_0x2eeee5||'lineHeightLicenseKeyUsageLimit'==_0x2eeee5){delete _0x5ed30e[_0x375530],_0xbc7286=_0x2eeee5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0xbc7286&&_0x5ed30e['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0xbc7286&&_0x5ed30e['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0xbc7286&&_0x5ed30e['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0xbc7286&&_0x5ed30e['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0xbc7286&&_0x5ed30e['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0xbc7286&&_0x5ed30e['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0xbc7286&&_0x5ed30e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x46c5c5=this['editor'],t=_0x46c5c5['t'],_0x3acf9f=_0x46c5c5['config']['get']('lineHeight'),_0x4186f1={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x303d8f(_0x3acf9f)['map'](_0x52283e=>{const _0x28c8fb=_0x4186f1[_0x52283e['title']];return _0x28c8fb&&_0x28c8fb!=_0x52283e['title']&&(_0x52283e=Object['assign']({},_0x52283e,{'title':_0x28c8fb})),_0x52283e;});}['_prepareListOptions'](){const _0x45b258=this['editor']['commands']['get']('lineHeight'),_0x3e381d=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3a3d53=this['_getLocalizedLineHeightOptions'](),_0x22dc6e=new _0x1427e6(),_0x5a2d22=_0x39fba0=>'default'===_0x39fba0||String(_0x3e381d)===_0x39fba0;for(const _0x56cafa of _0x3a3d53){const _0x2edc9e={'type':'button','model':new _0x4ea822({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x56cafa['title'],'withText':!0x0})};_0x5a2d22(_0x56cafa['model'])?(_0x2edc9e['model']['bind']('isOn')['to'](_0x45b258,'value',_0x6365cd=>!_0x6365cd),_0x2edc9e['model']['commandParam']=void 0x0):(_0x2edc9e['model']['bind']('isOn')['to'](_0x45b258,'value',_0x2e6e5c=>_0x2e6e5c===_0x56cafa['model']),_0x2edc9e['model']['commandParam']=_0x56cafa['model']),_0x22dc6e['add'](_0x2edc9e);}if(this['_shouldRenderCustomValueOption']()){const _0x54f835=this['_getCustomValueOptionDefinition'](_0x3a3d53);_0x22dc6e['add'](_0x54f835);}return _0x22dc6e;}['_getCustomValueOptionDefinition'](_0x3cc336){const _0x29dd5d=this['editor'],t=_0x29dd5d['t'],_0x58aec8=_0x29dd5d['commands']['get']('lineHeight'),_0x3dd4bc=_0x3cc336['map'](_0x314646=>_0x314646['model']),_0x485d07={'type':'button','model':new _0x4ea822({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x485d07['model']['bind']('commandParam')['to'](_0x58aec8,'value'),_0x485d07['model']['bind']('isOn')['to'](_0x58aec8,'value',_0x1c3e52=>!!_0x1c3e52&&!_0x3dd4bc['includes'](String(_0x1c3e52))),_0x485d07['model']['bind']('label')['to'](_0x58aec8,'value',_0x2b5002=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x2b5002))),_0x485d07;}['_registerToolbarComponent']({accessibleLabel:_0x4178f5,options:_0x14515a}){const _0x24cce3=this['editor'],_0x235f84=_0x24cce3['commands']['get']('lineHeight');_0x24cce3['ui']['componentFactory']['add']('lineHeight',_0x4c0f3f=>{const _0xcf7e69=_0x1784fc(_0x4c0f3f);return _0x5dbdc3(_0xcf7e69,_0x14515a,{'role':'menu','ariaLabel':_0x4178f5}),_0xcf7e69['buttonView']['set']({'label':_0x4178f5,'tooltip':!0x0,'icon':_0x55f81a}),_0xcf7e69['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0xcf7e69['bind']('isEnabled')['to'](_0x235f84),this['listenTo'](_0xcf7e69,'execute',_0x1bbf6d=>{_0x24cce3['execute'](_0x1bbf6d['source']['commandName'],{'value':_0x1bbf6d['source']['commandParam']}),_0x24cce3['editing']['view']['focus']();}),_0xcf7e69['once']('change:isOpen',()=>{const _0x4aa8b6=_0xcf7e69['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0xcf7e69,_0x14515a,_0x4aa8b6);}),_0xcf7e69;});}['_registerMenuBarComponent']({accessibleLabel:_0xa1897b,options:_0x3fcad0}){const _0x1220c5=this['editor'],_0x413f43=_0x1220c5['commands']['get']('lineHeight');_0x1220c5['ui']['componentFactory']['add']('menuBar:lineHeight',_0x22e4f7=>{const _0x33781b=new _0x227afb(_0x22e4f7);_0x33781b['buttonView']['set']({'label':_0xa1897b,'icon':_0x55f81a}),_0x33781b['bind']('isEnabled')['to'](_0x413f43);const _0x219889=new _0x36c605(_0x22e4f7);for(const _0x23ac4b of _0x3fcad0){const _0x25e47f=new _0x1684e5(_0x22e4f7,_0x33781b),_0x18ae5c=new _0x1dda79(_0x22e4f7);_0x18ae5c['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x18ae5c['bind'](...Object['keys'](_0x23ac4b['model']))['to'](_0x23ac4b['model']),_0x18ae5c['delegate']('execute')['to'](_0x33781b),_0x18ae5c['on']('execute',()=>{_0x1220c5['execute'](_0x23ac4b['model']['commandName'],{'value':_0x23ac4b['model']['commandParam']}),_0x1220c5['editing']['view']['focus']();}),_0x25e47f['children']['add'](_0x18ae5c),_0x219889['items']['add'](_0x25e47f);}return _0x33781b['panelView']['children']['add'](_0x219889),this['_attachCustomOptionVisibilityHandler'](_0x33781b,_0x3fcad0,_0x219889),_0x33781b;});}['_attachCustomOptionVisibilityHandler'](_0x41b0f2,_0x574f5c,_0x2fdcda){if(!this['_shouldRenderCustomValueOption']())return;const _0x4d9b32=()=>{if(!_0x41b0f2['isOpen'])return;_0x2fdcda['items']['last']['isVisible']=Boolean(_0x574f5c['last']['model']['isOn']);};_0x4d9b32(),_0x41b0f2['on']('change:isOpen',()=>{_0x4d9b32();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xe9ce0a,_0x24c3c8){const _0x5b1cdd=_0x1666,_0x4cf1a1=_0xe9ce0a();while(!![]){try{const _0x4d65a5=parseInt(_0x5b1cdd(0x1bb))/0x1+parseInt(_0x5b1cdd(0x1ae))/0x2+-parseInt(_0x5b1cdd(0x1bf))/0x3*(-parseInt(_0x5b1cdd(0x1b9))/0x4)+parseInt(_0x5b1cdd(0x1ac))/0x5*(parseInt(_0x5b1cdd(0x1b6))/0x6)+-parseInt(_0x5b1cdd(0x1c4))/0x7*(parseInt(_0x5b1cdd(0x1c9))/0x8)+parseInt(_0x5b1cdd(0x1c7))/0x9+-parseInt(_0x5b1cdd(0x1cb))/0xa*(parseInt(_0x5b1cdd(0x1c6))/0xb);if(_0x4d65a5===_0x24c3c8)break;else _0x4cf1a1['push'](_0x4cf1a1['shift']());}catch(_0x3cd894){_0x4cf1a1['push'](_0x4cf1a1['shift']());}}}(_0x2636,0x2e0d4));const v={get 'single'(){const _0x473b7b=_0x1666;return{'title':_0x473b7b(0x1b7),'model':_0x473b7b(0x1ad),'view':{'key':_0x473b7b(0x1b2),'value':_0x473b7b(0x1cd)}};},get 'double'(){const _0x151901=_0x1666;return{'title':_0x151901(0x1be),'model':_0x151901(0x1b4),'view':{'key':_0x151901(0x1b2),'value':_0x151901(0x1c5)}};}};function _0x1666(_0x433052,_0x238940){const _0x263617=_0x2636();return _0x1666=function(_0x1666ea,_0x2c4af3){_0x1666ea=_0x1666ea-0x1ac;let _0x2b4840=_0x263617[_0x1666ea];return _0x2b4840;},_0x1666(_0x433052,_0x238940);}export function isLineHeightDefaultValue(_0x5400b4){const _0x1d27c7=_0x1666;return _0x1d27c7(0x1b5)==typeof _0x5400b4&&_0x1d27c7(0x1c8)===_0x5400b4[_0x1d27c7(0x1c0)]();}function _0x2636(){const _0x2d16a0=['values','span','class','options','double','string','73374GmXwTi','Single','line-height:','16kFZkKV','filter','191184VyujqR','value','push','Double','77454cqaGNT','toLowerCase','key','number','map','579418yvLZmO','line-height-double','3953774facVae','3160881zmKOLM','default','8xxqudl','style','20GvHkRp','defaultValue','line-height-single','view','40JyrWEJ','single','493546LXTlLt','model'];_0x2636=function(){return _0x2d16a0;};return _0x2636();}export function normalizeOptions(_0xb1b051){const _0x32484a=_0x1666;return _0xb1b051[_0x32484a(0x1b3)][_0x32484a(0x1c3)](_0x289715=>isLineHeightDefaultValue(_0x289715)?{'title':String(_0xb1b051[_0x32484a(0x1cc)]),'model':_0x32484a(0x1c8)}:(_0x32484a(0x1c2)==typeof _0x289715&&(_0x289715=String(_0x289715)),_0x32484a(0x1b5)!=typeof _0x289715?_0x289715:parseFloat(_0x289715)?{'title':_0x289715,'model':_0x289715,'view':{'name':_0x32484a(0x1b1),'styles':{'line-height':_0x289715}}}:findPreset(_0x289715)))[_0x32484a(0x1ba)](_0x48cec6=>void 0x0!==_0x48cec6);}export function findPreset(_0x15d9cf){const _0x4f0ba4=_0x1666;return _0x4f0ba4(0x1b5)==typeof _0x15d9cf?v[_0x15d9cf]:v[_0x15d9cf[_0x4f0ba4(0x1af)]];}export function buildDefinition(_0x4ede5e,_0x2a6e89){const _0x21d280=_0x1666,_0x41d1e9={'model':{'key':_0x4ede5e,'values':[]},'view':{}};for(const _0x253661 of _0x2a6e89)_0x21d280(0x1b2)===_0x253661[_0x21d280(0x1ce)]?.[_0x21d280(0x1c1)]?(_0x41d1e9[_0x21d280(0x1af)][_0x21d280(0x1b0)][_0x21d280(0x1bd)](_0x253661[_0x21d280(0x1af)]),_0x41d1e9[_0x21d280(0x1ce)][_0x253661[_0x21d280(0x1af)]]={'key':_0x21d280(0x1b2),'value':_0x253661[_0x21d280(0x1ce)][_0x21d280(0x1bc)]}):(_0x41d1e9[_0x21d280(0x1af)][_0x21d280(0x1b0)][_0x21d280(0x1bd)](_0x253661[_0x21d280(0x1af)]),_0x41d1e9[_0x21d280(0x1ce)][_0x253661[_0x21d280(0x1af)]]={'key':_0x21d280(0x1ca),'value':_0x21d280(0x1b8)+_0x253661[_0x21d280(0x1af)]+';'});return _0x41d1e9;}
|