@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250711.0 → 0.0.0-nightly-20250712.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
|
+
const _0xc322b9=_0x246d;function _0x419d(){const _0x12872d=['removeAttribute','_canHaveLineHeight','205665Ywdpdp','filter','value','342622eIzYLC','lineHeight','selection','refresh','isEnabled','checkAttribute','execute','156300ewVMXi','6pdYZOu','schema','editor','from','487686qbWuOW','283028wwMlog','getAttribute','setAttribute','208JVysLV','document','29457LxTvzc','change','2wJhnLO','getSelectedBlocks','802910ZWllVg','model','209RSSKQc'];_0x419d=function(){return _0x12872d;};return _0x419d();}function _0x246d(_0x38f3fa,_0x49dc6c){const _0x419dde=_0x419d();return _0x246d=function(_0x246d54,_0x3cb049){_0x246d54=_0x246d54-0xf9;let _0x782fc8=_0x419dde[_0x246d54];return _0x782fc8;},_0x246d(_0x38f3fa,_0x49dc6c);}(function(_0x2c2a7b,_0x4758d3){const _0x54c681=_0x246d,_0x3a744d=_0x2c2a7b();while(!![]){try{const _0x19b2a8=-parseInt(_0x54c681(0x10f))/0x1+-parseInt(_0x54c681(0x108))/0x2*(-parseInt(_0x54c681(0x100))/0x3)+parseInt(_0x54c681(0x101))/0x4+-parseInt(_0x54c681(0x10a))/0x5+-parseInt(_0x54c681(0xfc))/0x6*(-parseInt(_0x54c681(0x112))/0x7)+parseInt(_0x54c681(0x104))/0x8*(-parseInt(_0x54c681(0x106))/0x9)+-parseInt(_0x54c681(0xfb))/0xa*(-parseInt(_0x54c681(0x10c))/0xb);if(_0x19b2a8===_0x4758d3)break;else _0x3a744d['push'](_0x3a744d['shift']());}catch(_0xaa46d1){_0x3a744d['push'](_0x3a744d['shift']());}}}(_0x419d,0x1f392));import{Command as _0x5a5198}from'ckeditor5/src/core.js';import{first as _0x2780e1}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x5a5198{[_0xc322b9(0x115)](){const _0x3dded5=_0xc322b9,_0x216ade=this[_0x3dded5(0xfe)][_0x3dded5(0x10b)][_0x3dded5(0x105)],_0x1977a3=_0x2780e1(_0x216ade[_0x3dded5(0x114)][_0x3dded5(0x109)]());this[_0x3dded5(0x116)]=Boolean(_0x1977a3)&&this[_0x3dded5(0x10e)](_0x1977a3),this[_0x3dded5(0x111)]=this[_0x3dded5(0x116)]&&_0x1977a3[_0x3dded5(0x102)](_0x3dded5(0x113));}[_0xc322b9(0xfa)](_0x4929e2={}){const _0x2d99f8=_0xc322b9,_0x290061=this[_0x2d99f8(0xfe)][_0x2d99f8(0x10b)],_0x47d7d2=_0x290061[_0x2d99f8(0x105)][_0x2d99f8(0x114)],_0x11e286=_0x4929e2[_0x2d99f8(0x111)];_0x290061[_0x2d99f8(0x107)](_0x4c82fb=>{const _0x3f994e=_0x2d99f8,_0x596071=Array[_0x3f994e(0xff)](_0x47d7d2[_0x3f994e(0x109)]())[_0x3f994e(0x110)](_0x20017d=>this[_0x3f994e(0x10e)](_0x20017d));for(const _0x172391 of _0x596071)_0x11e286?_0x4c82fb[_0x3f994e(0x103)](_0x3f994e(0x113),_0x11e286,_0x172391):_0x4c82fb[_0x3f994e(0x10d)](_0x3f994e(0x113),_0x172391);});}[_0xc322b9(0x10e)](_0x1b5ea4){const _0x192628=_0xc322b9;return this[_0x192628(0xfe)][_0x192628(0x10b)][_0x192628(0xfd)][_0x192628(0xf9)](_0x1b5ea4,_0x192628(0x113));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4a0f28=_0x2b68;(function(_0x5076ec,_0x9b2191){const _0x1ef65b=_0x2b68,_0x2b3d91=_0x5076ec();while(!![]){try{const _0x4b187f=parseInt(_0x1ef65b(0x12a))/0x1*(parseInt(_0x1ef65b(0x131))/0x2)+parseInt(_0x1ef65b(0x13c))/0x3*(-parseInt(_0x1ef65b(0x150))/0x4)+parseInt(_0x1ef65b(0x154))/0x5+parseInt(_0x1ef65b(0x155))/0x6+parseInt(_0x1ef65b(0x146))/0x7+parseInt(_0x1ef65b(0x13b))/0x8+-parseInt(_0x1ef65b(0x14e))/0x9;if(_0x4b187f===_0x9b2191)break;else _0x2b3d91['push'](_0x2b3d91['shift']());}catch(_0x562488){_0x2b3d91['push'](_0x2b3d91['shift']());}}}(_0x25c3,0x9926a));import{Plugin as _0x3bf999}from'ckeditor5/src/core.js';function _0x2b68(_0x5124d3,_0x17cafd){const _0x25c345=_0x25c3();return _0x2b68=function(_0x2b684b,_0xa1768a){_0x2b684b=_0x2b684b-0x123;let _0x42af0a=_0x25c345[_0x2b684b];return _0x42af0a;},_0x2b68(_0x5124d3,_0x17cafd);}import{LineHeightCommand as _0x4d47f9}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x5c3954}from'ckeditor5/src/engine.js';import{uid as _0x38cd01,CKEditorError as _0x224086}from'ckeditor5/src/utils.js';function _0x25c3(){const _0x4b02f6=['1jonCdw','line-height-invalid-use-of-named-presets','setAttributeProperties','schema','filter','map','length','884462YpaADp','$block','extend','model','isOfficialPlugin','line-height','style','default','upcast','init','7016448mBPRxj','1479hwNcom','includes','add','define','lineHeight.supportAllValues','href','string','editor','_preparePredefinedConverters','lineHeight.options','4118996OTJhae','fromCharCode','pluginName','isPremiumPlugin','afterInit','get','values','lineHeight.defaultValue','18042651IWwtCo','_prepareAnyValueConverters','7588pWhhGL','downcast','config','commands','4447750QGknQK','4620006skYwLt','LineHeightEditing','slice','attributeToAttribute','conversion','lineHeight','for','getStyle','_validateConfig','join'];_0x25c3=function(){return _0x4b02f6;};return _0x25c3();}import{buildDefinition as _0x44f169,isLineHeightDefaultValue as _0xadf25,normalizeOptions as _0x413430}from'./utils.js';export class LineHeightEditing extends _0x3bf999{static get[_0x4a0f28(0x148)](){const _0x5211fa=_0x4a0f28;return _0x5211fa(0x156);}static get[_0x4a0f28(0x135)](){return!0x0;}static get[_0x4a0f28(0x149)](){return!0x0;}constructor(_0x4422a8){const _0x2dfa04=_0x4a0f28;super(_0x4422a8),_0x4422a8[_0x2dfa04(0x152)][_0x2dfa04(0x13f)](_0x2dfa04(0x125),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x2dfa04(0x138),0x2,2.5,0x3]});}[_0x4a0f28(0x13a)](){const _0x12ce78=_0x4a0f28,_0x3d22ed=this[_0x12ce78(0x143)];this[_0x12ce78(0x128)](),_0x3d22ed[_0x12ce78(0x134)][_0x12ce78(0x12d)][_0x12ce78(0x133)](_0x12ce78(0x132),{'allowAttributes':_0x12ce78(0x125)}),_0x3d22ed[_0x12ce78(0x134)][_0x12ce78(0x12d)][_0x12ce78(0x12c)](_0x12ce78(0x125),{'isFormatting':!0x0}),_0x3d22ed[_0x12ce78(0x153)][_0x12ce78(0x13e)](_0x12ce78(0x125),new _0x4d47f9(_0x3d22ed)),this[_0x12ce78(0x143)][_0x12ce78(0x152)][_0x12ce78(0x14b)](_0x12ce78(0x140))?this[_0x12ce78(0x14f)]():this[_0x12ce78(0x144)]();}[_0x4a0f28(0x14a)](){!async function(_0x4afc4e){const _0x1a4bdb=_0x34f999([0x31,0x74,0x47,0x46,0x57,0x36,0x44,0x4e,0x52,0x48,0x67,0x54,0x33,0x72,0x6e,0x68,0x65,0x6a,0x78,0x4d,0x6b,0x37,0x43,0x56,0x75,0x42,0x5a,0x4c,0x73,0x69,0x77,0x79,0x45,0x70,0x76,0x66,0x59,0x35,0x58,0x51,0x4f,0x38,0x30,0x34,0x4b,0x6f,0x55,0x50,0x7a,0x61,0x63,0x39,0x41,0x71,0x6c,0x32,0x6d,0x4a,0x53,0x64,0x49,0x62]),_0x4049c9=0x5df63bf4,_0xdd6aa=0x5df156b4^_0x4049c9,_0x35127e=window[_0x34f999([0x44,0x61,0x74,0x65])][_0x34f999([0x6e,0x6f,0x77])](),_0x3c2107=_0x4afc4e[_0x34f999([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x95d7a1=new window[(_0x34f999([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c5ea2=>{_0x3c2107[_0x34f999([0x6f,0x6e,0x63,0x65])](_0x34f999([0x72,0x65,0x61,0x64,0x79]),_0x2c5ea2);}),_0x359854={[_0x34f999([0x6b,0x74,0x79])]:_0x34f999([0x45,0x43]),[_0x34f999([0x75,0x73,0x65])]:_0x34f999([0x73,0x69,0x67]),[_0x34f999([0x63,0x72,0x76])]:_0x34f999([0x50,0x2d,0x32,0x35,0x36]),[_0x34f999([0x78])]:_0x34f999([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]),[_0x34f999([0x79])]:_0x34f999([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]),[_0x34f999([0x61,0x6c,0x67])]:_0x34f999([0x45,0x53,0x32,0x35,0x36])},_0x595d14=_0x3c2107[_0x34f999([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x34f999([0x67,0x65,0x74])](_0x34f999([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5a27ff(){let _0x119f32,_0xcc840e=null,_0x4d0a24=null;try{if(_0x595d14==_0x34f999([0x47,0x50,0x4c]))return _0x34f999([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x119f32=_0x2b3e27(),!_0x119f32)return _0x34f999([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x119f32[_0x34f999([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d0a24=_0x1894ad(_0x119f32[_0x34f999([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x119f32[_0x34f999([0x6a,0x74,0x69])])),await _0x4c9f4c()?_0x5e723()?_0x5b5f27()?_0x34f999([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3204d1()?(_0x119f32[_0x34f999([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34f999([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xcc840e=_0x4ebedd(_0x34f999([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x119f32[_0x34f999([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34f999([0x74,0x72,0x69,0x61,0x6c])&&(_0xcc840e=_0x4ebedd(_0x34f999([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5f2002()):_0x34f999([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x34f999([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x34f999([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x34f999([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5b5f27(){const _0x5965f9=[_0x34f999([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x34f999([0x74,0x72,0x69,0x61,0x6c])][_0x34f999([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x119f32[_0x34f999([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x35127e/0x3e8:0xe10*_0xdd6aa;return _0x119f32[_0x34f999([0x65,0x78,0x70])]<_0x5965f9;}function _0x5e723(){const _0x4d87f4=_0x119f32[_0x34f999([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4d87f4&&(!!_0x4d87f4[_0x34f999([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34f999([0x2a]))||!!_0x4d87f4[_0x34f999([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34f999([0x4c,0x48])));}function _0x3204d1(){const _0x50b234=_0x2b68,_0x3829db=_0x119f32[_0x34f999([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3829db||0x0==_0x3829db[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4566c8}=new URL(window[_0x34f999([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x50b234(0x141)]);if(_0x3829db[_0x34f999([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4566c8))return!0x0;const _0x31a45a=_0x4566c8[_0x34f999([0x73,0x70,0x6c,0x69,0x74])](_0x34f999([0x2e]));return _0x3829db[_0x34f999([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18fe45=>_0x18fe45[_0x34f999([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34f999([0x2a])))[_0x34f999([0x6d,0x61,0x70])](_0x4dee28=>_0x4dee28[_0x34f999([0x73,0x70,0x6c,0x69,0x74])](_0x34f999([0x2e])))[_0x34f999([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f5c9e=>_0x1f5c9e[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x31a45a[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34f999([0x6d,0x61,0x70])](_0x56cdd0=>Array(_0x31a45a[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x56cdd0[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34f999([0x66,0x69,0x6c,0x6c])](_0x56cdd0[0x0]===_0x34f999([0x2a])?_0x34f999([0x2a]):'')[_0x34f999([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x56cdd0))[_0x34f999([0x73,0x6f,0x6d,0x65])](_0x33fa0b=>_0x31a45a[_0x34f999([0x65,0x76,0x65,0x72,0x79])]((_0x4e581e,_0x361246)=>_0x33fa0b[_0x361246]===_0x4e581e||_0x33fa0b[_0x361246]===_0x34f999([0x2a])));}function _0x5f2002(){return _0xcc840e&&_0x4d0a24?new window[(_0x34f999([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18ca77,_0x5db171)=>{_0xcc840e[_0x34f999([0x74,0x68,0x65,0x6e])](_0x18ca77,_0x5db171),_0x4d0a24[_0x34f999([0x74,0x68,0x65,0x6e])](_0x1a383b=>{_0x1a383b!=_0x34f999([0x56,0x61,0x6c,0x69,0x64])&&_0x18ca77(_0x1a383b);},_0x5db171);}):_0xcc840e||_0x4d0a24||_0x34f999([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1894ad(_0x5b3f3b,_0x341c29){return new window[(_0x34f999([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1415f9=>{if(_0x4afdce())return _0x1415f9(_0x34f999([0x56,0x61,0x6c,0x69,0x64]));_0x2e7260(),_0x3c2107[_0x34f999([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x34f999([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2a7f8f=!0x1;const _0x43d745=_0x38cd01();function _0x1ac0a1(_0x3f07e9){return!!_0x3f07e9&&(typeof _0x3f07e9===_0x34f999([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3f07e9===_0x34f999([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3f07e9[_0x34f999([0x74,0x68,0x65,0x6e])]===_0x34f999([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3f07e9[_0x34f999([0x63,0x61,0x74,0x63,0x68])]===_0x34f999([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x56841a(_0x1c19ae){_0x4cfe1f(_0x1c19ae)[_0x34f999([0x74,0x68,0x65,0x6e])](_0x1e57d3=>{if(!_0x1e57d3||_0x1e57d3[_0x34f999([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x34f999([0x6f,0x6b]))return _0x34f999([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38769d(_0x51ec93(_0x43d745+_0x341c29))!=_0x1e57d3[_0x34f999([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x34f999([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x34f999([0x56,0x61,0x6c,0x69,0x64]);})[_0x34f999([0x74,0x68,0x65,0x6e])](_0x1abd0e=>(_0x1e1cd0(),_0x1abd0e),()=>{const _0x17baf6=_0x2c1694();return null==_0x17baf6?(_0x1e1cd0(),_0x34f999([0x56,0x61,0x6c,0x69,0x64])):_0x34f999(_0x35127e-_0x17baf6>(0x79fabff4^_0x4049c9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x34f999([0x74,0x68,0x65,0x6e])](_0x1415f9)[_0x34f999([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1415f9(_0x34f999([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3d0ed2=0x5dc0d574^_0x4049c9;function _0x1e1cd0(){const _0x290d92=_0x34f999([0x6c,0x6c,0x63,0x74,0x2d])+_0x38769d(_0x51ec93(_0x5b3f3b)),_0x410064=_0x4c8d68(_0x38769d(window[_0x34f999([0x4d,0x61,0x74,0x68])][_0x34f999([0x63,0x65,0x69,0x6c])](_0x35127e/_0x3d0ed2)));window[_0x34f999([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34f999([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x290d92,_0x410064);}function _0x2c1694(){const _0x273dfa=_0x34f999([0x6c,0x6c,0x63,0x74,0x2d])+_0x38769d(_0x51ec93(_0x5b3f3b)),_0xfba93a=window[_0x34f999([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34f999([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x273dfa);return _0xfba93a?window[_0x34f999([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c8d68(_0xfba93a),0x10)*_0x3d0ed2:null;}function _0x4cfe1f(_0x448d7a){return new window[(_0x34f999([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x437da5,_0x12673e)=>{_0x448d7a[_0x34f999([0x74,0x68,0x65,0x6e])](_0x437da5,_0x12673e),window[_0x34f999([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x12673e,0x5df7ef34^_0x4049c9);});}}_0x3c2107[_0x34f999([0x6f,0x6e])](_0x34f999([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xec9390,_0x296005)=>{if(_0x296005[0x0]!=_0x5b3f3b)return _0x1415f9(_0x34f999([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x296005[0x1]={..._0x296005[0x1],[_0x34f999([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x43d745};},{[_0x34f999([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34f999([0x68,0x69,0x67,0x68])}),_0x3c2107[_0x34f999([0x6f,0x6e])](_0x34f999([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4126d2=>{_0x1ac0a1(_0x4126d2[_0x34f999([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2a7f8f=!0x0,_0x56841a(_0x4126d2[_0x34f999([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x34f999([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34f999([0x6c,0x6f,0x77])}),_0x95d7a1[_0x34f999([0x74,0x68,0x65,0x6e])](()=>{_0x2a7f8f||_0x1415f9(_0x34f999([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4afdce(){return _0x3c2107[_0x34f999([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34f999([0x76,0x69,0x65,0x77])][_0x34f999([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x34f999([0x61,0x75,0x74,0x6f]);}function _0x2e7260(){_0x3c2107[_0x34f999([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34f999([0x76,0x69,0x65,0x77])][_0x34f999([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x34f999([0x61,0x75,0x74,0x6f]);}}function _0x4ebedd(_0x233f33){const _0x175b45=[new window[(_0x34f999([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22f71f=>setTimeout(_0x22f71f,0x5dff0538^_0x4049c9)),_0x95d7a1[_0x34f999([0x74,0x68,0x65,0x6e])](()=>new window[(_0x34f999([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb1a20b=>{let _0x3f7da5=0x0;_0x3c2107[_0x34f999([0x6d,0x6f,0x64,0x65,0x6c])][_0x34f999([0x6f,0x6e])](_0x34f999([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f4db5,_0x1f5b2b)=>{_0x1f5b2b[0x0][_0x34f999([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3f7da5++,_0x3f7da5==(0x5df63a0c^_0x4049c9)&&(_0xb1a20b(),_0x4f4db5[_0x34f999([0x6f,0x66,0x66])]());});}))];return window[_0x34f999([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x34f999([0x72,0x61,0x63,0x65])](_0x175b45)[_0x34f999([0x74,0x68,0x65,0x6e])](()=>_0x233f33);}async function _0x40db2a(){await _0x95d7a1,_0x3c2107[_0x34f999([0x6d,0x6f,0x64,0x65,0x6c])][_0x34f999([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5d887f,_0x3c2107[_0x34f999([0x6d,0x6f,0x64,0x65,0x6c])][_0x34f999([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5d887f,_0x3c2107[_0x34f999([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34f999([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x172949(_0x2db554){const _0x31cf73=_0x16dee7();_0x3c2107[_0x31cf73]=_0x34f999([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2db554,_0x2db554!=_0x34f999([0x56,0x61,0x6c,0x69,0x64])&&_0x40db2a();}function _0x16dee7(){const _0x55e7cc=window[_0x34f999([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x34f999([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x34f999([0x6e,0x6f,0x77])]())[_0x34f999([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x34f999([0x2e]),'');let _0x5b45fc=_0x34f999([0x74]);for(let _0x557444=0x0;_0x557444<_0x55e7cc[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x557444+=0x2){let _0xf27f4d=window[_0x34f999([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55e7cc[_0x34f999([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x557444,_0x557444+0x2));_0xf27f4d>=_0x1a4bdb[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xf27f4d-=_0x1a4bdb[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5b45fc+=_0x1a4bdb[_0xf27f4d];}return _0x5b45fc;}function _0x2b3e27(){const _0x4a2e03=_0x595d14[_0x34f999([0x73,0x70,0x6c,0x69,0x74])](_0x34f999([0x2e]));if(0x3!=_0x4a2e03[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x207a3e(_0x4a2e03[0x1]);function _0x207a3e(_0x23c67d){const _0x1791ec=_0x2438b7(_0x23c67d);return _0x1791ec&&_0x29a358()?_0x1791ec:null;function _0x29a358(){const _0x3482cf=_0x1791ec[_0x34f999([0x6a,0x74,0x69])],_0x3b1099=window[_0x34f999([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3482cf[_0x34f999([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3482cf[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x443840={..._0x1791ec,[_0x34f999([0x6a,0x74,0x69])]:_0x3482cf[_0x34f999([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3482cf[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x443840[_0x34f999([0x76,0x63])],_0x51ec93(_0x443840)==_0x3b1099;}}}async function _0x4c9f4c(){let _0x3b0c37=!0x0;try{const _0x3af659=_0x595d14[_0x34f999([0x73,0x70,0x6c,0x69,0x74])](_0x34f999([0x2e])),[_0x50c619,_0x513870,_0x3b8832]=_0x3af659;return _0x4b0af9(_0x50c619),await _0x5c5aa8(_0x50c619,_0x513870,_0x3b8832),_0x3b0c37;}catch{return!0x1;}function _0x4b0af9(_0x2aebb5){const _0x3e304d=_0x2438b7(_0x2aebb5);_0x3e304d&&_0x3e304d[_0x34f999([0x61,0x6c,0x67])]==_0x34f999([0x45,0x53,0x32,0x35,0x36])||(_0x3b0c37=!0x1);}async function _0x5c5aa8(_0x4145f2,_0x3c33bc,_0x51154b){const _0x194c09=window[_0x34f999([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x34f999([0x66,0x72,0x6f,0x6d])](_0x239b2f(_0x51154b),_0x14ca3e=>_0x14ca3e[_0x34f999([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x568437=new window[(_0x34f999([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x34f999([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4145f2+_0x34f999([0x2e])+_0x3c33bc),_0x334150=window[_0x34f999([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x34f999([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x334150)return;const _0x218b5d=await _0x334150[_0x34f999([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x34f999([0x6a,0x77,0x6b]),_0x359854,{[_0x34f999([0x6e,0x61,0x6d,0x65])]:_0x34f999([0x45,0x43,0x44,0x53,0x41]),[_0x34f999([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x34f999([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x34f999([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x334150[_0x34f999([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x34f999([0x6e,0x61,0x6d,0x65])]:_0x34f999([0x45,0x43,0x44,0x53,0x41]),[_0x34f999([0x68,0x61,0x73,0x68])]:{[_0x34f999([0x6e,0x61,0x6d,0x65])]:_0x34f999([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x218b5d,_0x194c09,_0x568437)||(_0x3b0c37=!0x1);}}function _0x2438b7(_0x46c920){return _0x46c920[_0x34f999([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x34f999([0x65,0x79]))?JSON[_0x34f999([0x70,0x61,0x72,0x73,0x65])](_0x239b2f(_0x46c920)):null;}function _0x239b2f(_0x7aef9d){return window[_0x34f999([0x61,0x74,0x6f,0x62])](_0x7aef9d[_0x34f999([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x34f999([0x2b]))[_0x34f999([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x34f999([0x2f])));}function _0x51ec93(_0x17dab6){let _0x1a2a42=0x1505;function _0x54fdea(_0x24c2d2){for(let _0x18df30=0x0;_0x18df30<_0x24c2d2[_0x34f999([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18df30++){const _0x211e5c=_0x24c2d2[_0x34f999([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x18df30);_0x1a2a42=(_0x1a2a42<<0x5)+_0x1a2a42+_0x211e5c,_0x1a2a42&=_0x1a2a42;}}function _0x31813a(_0x1267e8){Array[_0x34f999([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1267e8)?_0x1267e8[_0x34f999([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x31813a):_0x1267e8&&typeof _0x1267e8==_0x34f999([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x34f999([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1267e8)[_0x34f999([0x73,0x6f,0x72,0x74])]()[_0x34f999([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5971ab,_0x4a3987])=>{_0x54fdea(_0x5971ab),_0x31813a(_0x4a3987);}):_0x54fdea(window[_0x34f999([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1267e8));}return _0x31813a(_0x17dab6),_0x1a2a42>>>0x0;}function _0x38769d(_0x29ebfc){return _0x29ebfc[_0x34f999([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x34f999([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x34f999([0x30]));}function _0x4c8d68(_0x314ea4){return _0x314ea4[_0x34f999([0x73,0x70,0x6c,0x69,0x74])]('')[_0x34f999([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x34f999([0x6a,0x6f,0x69,0x6e])]('');}function _0x5d887f(){}function _0x34f999(_0xd6b52a){const _0x190efe=_0x2b68;return _0xd6b52a[_0x190efe(0x12f)](_0x23683e=>String[_0x190efe(0x147)](_0x23683e))[_0x190efe(0x129)]('');}_0x172949(await _0x5a27ff());}(this);}[_0x4a0f28(0x128)](){const _0x3e2aee=_0x4a0f28,_0x5b9f2=this[_0x3e2aee(0x143)];if(!_0x5b9f2[_0x3e2aee(0x152)][_0x3e2aee(0x14b)](_0x3e2aee(0x140)))return;const _0x3792a2=_0x5b9f2[_0x3e2aee(0x152)][_0x3e2aee(0x14b)](_0x3e2aee(0x145))[_0x3e2aee(0x12e)](_0x4dabe7=>_0x3e2aee(0x142)==typeof _0x4dabe7&&(!_0xadf25(_0x4dabe7)&&isNaN(Number(_0x4dabe7))));if(_0x3792a2[_0x3e2aee(0x130)])throw new _0x224086(_0x3e2aee(0x12b),null,{'namedPresets':_0x3792a2});}[_0x4a0f28(0x14f)](){const _0x40a07f=_0x4a0f28,_0x1d6e35=this[_0x40a07f(0x143)],_0x5eba9a=this[_0x40a07f(0x143)][_0x40a07f(0x152)][_0x40a07f(0x14b)](_0x40a07f(0x14d));_0x1d6e35[_0x40a07f(0x124)][_0x40a07f(0x126)](_0x40a07f(0x151))[_0x40a07f(0x123)]({'model':{'key':_0x40a07f(0x125)},'view':_0x2db98f=>String(_0x2db98f)===String(_0x5eba9a)?null:{'key':_0x40a07f(0x137),'value':{'line-height':_0x2db98f}}}),_0x1d6e35[_0x40a07f(0x124)][_0x40a07f(0x126)](_0x40a07f(0x139))[_0x40a07f(0x123)]({'model':{'key':_0x40a07f(0x125),'value':_0x5d0605=>{const _0x149234=_0x40a07f;let _0xb30c3b=_0x5d0605[_0x149234(0x127)](_0x149234(0x136));return _0x5c3954(_0xb30c3b)&&(_0xb30c3b=String(Number(_0xb30c3b[_0x149234(0x157)](0x0,-0x1))/0x64)),String(_0xb30c3b)===String(_0x5eba9a)?null:_0xb30c3b;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4a0f28(0x144)](){const _0x74225b=_0x4a0f28,_0x36ab7e=this[_0x74225b(0x143)],_0x30b840=this[_0x74225b(0x143)][_0x74225b(0x152)][_0x74225b(0x14b)](_0x74225b(0x14d)),_0x23bb32=_0x413430(this[_0x74225b(0x143)][_0x74225b(0x152)][_0x74225b(0x14b)](_0x74225b(0x125)))[_0x74225b(0x12e)](_0x5eb67b=>_0x5eb67b[_0x74225b(0x134)]),_0x181bf2=_0x44f169(_0x74225b(0x125),_0x23bb32);_0x36ab7e[_0x74225b(0x124)][_0x74225b(0x123)](_0x181bf2),_0x36ab7e[_0x74225b(0x124)][_0x74225b(0x126)](_0x74225b(0x139))[_0x74225b(0x123)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x74225b(0x125),'value':_0xd3369=>{const _0x1d35c5=_0x74225b;let _0x2a6b7e=_0xd3369[_0x1d35c5(0x127)](_0x1d35c5(0x136));return _0x5c3954(_0x2a6b7e)&&(_0x2a6b7e=String(Number(_0x2a6b7e[_0x1d35c5(0x157)](0x0,-0x1))/0x64)),_0x2a6b7e===String(_0x30b840)?null:_0x181bf2[_0x1d35c5(0x134)][_0x1d35c5(0x14c)][_0x1d35c5(0x13d)](_0x2a6b7e)?_0x2a6b7e:null;}}});}}
|
|
23
|
+
const _0x1e19b0=_0x5bea;function _0x18da(){const _0x318eb7=['commands','map','extend','498odjXCX','default','$block','editor','lineHeight','4864453jiplvx','init','upcast','setAttributeProperties','style','843770bWbepP','isOfficialPlugin','9EWGvGO','conversion','afterInit','string','line-height-invalid-use-of-named-presets','7835xuvOgK','LineHeightEditing','filter','downcast','879512FWxKdU','attributeToAttribute','length','18711ZoMkpg','add','values','get','slice','config','_prepareAnyValueConverters','404ueGcyo','define','_validateConfig','includes','lineHeight.defaultValue','lineHeight.options','isPremiumPlugin','for','join','model','pluginName','fromCharCode','_preparePredefinedConverters','70523EBjRxz','href','getStyle','lineHeight.supportAllValues','542BSojUn','222CsZZlq','schema','line-height'];_0x18da=function(){return _0x318eb7;};return _0x18da();}(function(_0x252336,_0x461e8e){const _0x5dd80c=_0x5bea,_0x5ff94d=_0x252336();while(!![]){try{const _0x55012b=parseInt(_0x5dd80c(0x100))/0x1+-parseInt(_0x5dd80c(0x104))/0x2*(-parseInt(_0x5dd80c(0x10b))/0x3)+-parseInt(_0x5dd80c(0xf3))/0x4*(-parseInt(_0x5dd80c(0xe5))/0x5)+-parseInt(_0x5dd80c(0x105))/0x6*(-parseInt(_0x5dd80c(0xec))/0x7)+parseInt(_0x5dd80c(0xe9))/0x8+-parseInt(_0x5dd80c(0xe0))/0x9*(-parseInt(_0x5dd80c(0xde))/0xa)+-parseInt(_0x5dd80c(0x110))/0xb;if(_0x55012b===_0x461e8e)break;else _0x5ff94d['push'](_0x5ff94d['shift']());}catch(_0x3000cc){_0x5ff94d['push'](_0x5ff94d['shift']());}}}(_0x18da,0x1e762));import{Plugin as _0x5428f4}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x4ad86d}from'./lineheightcommand.js';function _0x5bea(_0x40ee94,_0x3acc25){const _0x18dab1=_0x18da();return _0x5bea=function(_0x5bea20,_0x2fc697){_0x5bea20=_0x5bea20-0xde;let _0x27abf9=_0x18dab1[_0x5bea20];return _0x27abf9;},_0x5bea(_0x40ee94,_0x3acc25);}import{isPercentageStyleValue as _0x35284c}from'ckeditor5/src/engine.js';import{uid as _0xace1bd,CKEditorError as _0x5c871a}from'ckeditor5/src/utils.js';import{buildDefinition as _0xb524de,isLineHeightDefaultValue as _0x5039d9,normalizeOptions as _0x5955ae}from'./utils.js';export class LineHeightEditing extends _0x5428f4{static get[_0x1e19b0(0xfd)](){const _0x47c5ad=_0x1e19b0;return _0x47c5ad(0xe6);}static get[_0x1e19b0(0xdf)](){return!0x0;}static get[_0x1e19b0(0xf9)](){return!0x0;}constructor(_0x1237f7){const _0x5d59c1=_0x1e19b0;super(_0x1237f7),_0x1237f7[_0x5d59c1(0xf1)][_0x5d59c1(0xf4)](_0x5d59c1(0x10f),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x5d59c1(0x10c),0x2,2.5,0x3]});}[_0x1e19b0(0x111)](){const _0x1fda7a=_0x1e19b0,_0x412e34=this[_0x1fda7a(0x10e)];this[_0x1fda7a(0xf5)](),_0x412e34[_0x1fda7a(0xfc)][_0x1fda7a(0x106)][_0x1fda7a(0x10a)](_0x1fda7a(0x10d),{'allowAttributes':_0x1fda7a(0x10f)}),_0x412e34[_0x1fda7a(0xfc)][_0x1fda7a(0x106)][_0x1fda7a(0x113)](_0x1fda7a(0x10f),{'isFormatting':!0x0}),_0x412e34[_0x1fda7a(0x108)][_0x1fda7a(0xed)](_0x1fda7a(0x10f),new _0x4ad86d(_0x412e34)),this[_0x1fda7a(0x10e)][_0x1fda7a(0xf1)][_0x1fda7a(0xef)](_0x1fda7a(0x103))?this[_0x1fda7a(0xf2)]():this[_0x1fda7a(0xff)]();}[_0x1e19b0(0xe2)](){!async function(_0x128c61){const _0x453510=_0x1f45d3([0x72,0x31,0x38,0x50,0x53,0x77,0x7a,0x79,0x5a,0x33,0x46,0x78,0x73,0x64,0x57,0x62,0x4c,0x30,0x76,0x36,0x49,0x52,0x61,0x47,0x66,0x63,0x75,0x65,0x4b,0x71,0x51,0x4a,0x58,0x59,0x32,0x48,0x70,0x6a,0x54,0x6c,0x37,0x41,0x43,0x74,0x69,0x4f,0x4e,0x67,0x39,0x4d,0x68,0x6e,0x34,0x6b,0x45,0x44,0x6f,0x6d,0x56,0x55,0x35,0x42]),_0x56cfc5=0x4b8b509b,_0x17c9d2=0x4b8c3dc3^_0x56cfc5,_0x481048=window[_0x1f45d3([0x44,0x61,0x74,0x65])][_0x1f45d3([0x6e,0x6f,0x77])](),_0x1b09e7=_0x128c61[_0x1f45d3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x108b42=new window[(_0x1f45d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35ae5f=>{_0x1b09e7[_0x1f45d3([0x6f,0x6e,0x63,0x65])](_0x1f45d3([0x72,0x65,0x61,0x64,0x79]),_0x35ae5f);}),_0x291978={[_0x1f45d3([0x6b,0x74,0x79])]:_0x1f45d3([0x45,0x43]),[_0x1f45d3([0x75,0x73,0x65])]:_0x1f45d3([0x73,0x69,0x67]),[_0x1f45d3([0x63,0x72,0x76])]:_0x1f45d3([0x50,0x2d,0x32,0x35,0x36]),[_0x1f45d3([0x78])]:_0x1f45d3([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]),[_0x1f45d3([0x79])]:_0x1f45d3([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]),[_0x1f45d3([0x61,0x6c,0x67])]:_0x1f45d3([0x45,0x53,0x32,0x35,0x36])},_0x4dab84=_0x1b09e7[_0x1f45d3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f45d3([0x67,0x65,0x74])](_0x1f45d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4eca2f(){let _0x5c0528,_0x537f23=null,_0x1ed99f=null;try{if(_0x4dab84==_0x1f45d3([0x47,0x50,0x4c]))return _0x1f45d3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5c0528=_0x5ed705(),!_0x5c0528)return _0x1f45d3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5c0528[_0x1f45d3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1ed99f=_0x360c2d(_0x5c0528[_0x1f45d3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5c0528[_0x1f45d3([0x6a,0x74,0x69])])),await _0x1303e1()?_0x5eadd5()?_0x1a4d94()?_0x1f45d3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xde71b1()?(_0x5c0528[_0x1f45d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f45d3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x537f23=_0x44d251(_0x1f45d3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5c0528[_0x1f45d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f45d3([0x74,0x72,0x69,0x61,0x6c])&&(_0x537f23=_0x44d251(_0x1f45d3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x528f28()):_0x1f45d3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f45d3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f45d3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1f45d3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1a4d94(){const _0x2b85ee=[_0x1f45d3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f45d3([0x74,0x72,0x69,0x61,0x6c])][_0x1f45d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c0528[_0x1f45d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x481048/0x3e8:0xe10*_0x17c9d2;return _0x5c0528[_0x1f45d3([0x65,0x78,0x70])]<_0x2b85ee;}function _0x5eadd5(){const _0x13712a=_0x5c0528[_0x1f45d3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x13712a&&(!!_0x13712a[_0x1f45d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f45d3([0x2a]))||!!_0x13712a[_0x1f45d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f45d3([0x4c,0x48])));}function _0xde71b1(){const _0x267b15=_0x5bea,_0x2a8cf6=_0x5c0528[_0x1f45d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2a8cf6||0x0==_0x2a8cf6[_0x1f45d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5b7b97}=new URL(window[_0x1f45d3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x267b15(0x101)]);if(_0x2a8cf6[_0x1f45d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b7b97))return!0x0;const _0x70e28c=_0x5b7b97[_0x1f45d3([0x73,0x70,0x6c,0x69,0x74])](_0x1f45d3([0x2e]));return _0x2a8cf6[_0x1f45d3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58ae44=>_0x58ae44[_0x1f45d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f45d3([0x2a])))[_0x1f45d3([0x6d,0x61,0x70])](_0xb8e79a=>_0xb8e79a[_0x1f45d3([0x73,0x70,0x6c,0x69,0x74])](_0x1f45d3([0x2e])))[_0x1f45d3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1cc7b2=>_0x1cc7b2[_0x1f45d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x70e28c[_0x1f45d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f45d3([0x6d,0x61,0x70])](_0x13e37d=>Array(_0x70e28c[_0x1f45d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x13e37d[_0x1f45d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f45d3([0x66,0x69,0x6c,0x6c])](_0x13e37d[0x0]===_0x1f45d3([0x2a])?_0x1f45d3([0x2a]):'')[_0x1f45d3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x13e37d))[_0x1f45d3([0x73,0x6f,0x6d,0x65])](_0xa257ae=>_0x70e28c[_0x1f45d3([0x65,0x76,0x65,0x72,0x79])]((_0x48b519,_0x215f84)=>_0xa257ae[_0x215f84]===_0x48b519||_0xa257ae[_0x215f84]===_0x1f45d3([0x2a])));}function _0x528f28(){return _0x537f23&&_0x1ed99f?new window[(_0x1f45d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5208de,_0x30d2af)=>{_0x537f23[_0x1f45d3([0x74,0x68,0x65,0x6e])](_0x5208de,_0x30d2af),_0x1ed99f[_0x1f45d3([0x74,0x68,0x65,0x6e])](_0x213537=>{_0x213537!=_0x1f45d3([0x56,0x61,0x6c,0x69,0x64])&&_0x5208de(_0x213537);},_0x30d2af);}):_0x537f23||_0x1ed99f||_0x1f45d3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x360c2d(_0x205f65,_0x9d93af){return new window[(_0x1f45d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x142b7e=>{if(_0x29d2fa())return _0x142b7e(_0x1f45d3([0x56,0x61,0x6c,0x69,0x64]));_0x2c0262(),_0x1b09e7[_0x1f45d3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f45d3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x57d419=!0x1;const _0x51dfb0=_0xace1bd();function _0x72ee73(_0x21a6bb){return!!_0x21a6bb&&(typeof _0x21a6bb===_0x1f45d3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x21a6bb===_0x1f45d3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x21a6bb[_0x1f45d3([0x74,0x68,0x65,0x6e])]===_0x1f45d3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x21a6bb[_0x1f45d3([0x63,0x61,0x74,0x63,0x68])]===_0x1f45d3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4e8777(_0x2cf2d2){_0x3bac35(_0x2cf2d2)[_0x1f45d3([0x74,0x68,0x65,0x6e])](_0x30de78=>{if(!_0x30de78||_0x30de78[_0x1f45d3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f45d3([0x6f,0x6b]))return _0x1f45d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2183e1(_0x168db0(_0x51dfb0+_0x9d93af))!=_0x30de78[_0x1f45d3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f45d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f45d3([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f45d3([0x74,0x68,0x65,0x6e])](_0x458148=>(_0x1bf4be(),_0x458148),()=>{const _0x3fd216=_0x2dd392();return null==_0x3fd216?(_0x1bf4be(),_0x1f45d3([0x56,0x61,0x6c,0x69,0x64])):_0x1f45d3(_0x481048-_0x3fd216>(0x6f87d49b^_0x56cfc5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f45d3([0x74,0x68,0x65,0x6e])](_0x142b7e)[_0x1f45d3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x142b7e(_0x1f45d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xd8a23d=0x4bbdbe1b^_0x56cfc5;function _0x1bf4be(){const _0x450c88=_0x1f45d3([0x6c,0x6c,0x63,0x74,0x2d])+_0x2183e1(_0x168db0(_0x205f65)),_0x21588a=_0x355d52(_0x2183e1(window[_0x1f45d3([0x4d,0x61,0x74,0x68])][_0x1f45d3([0x63,0x65,0x69,0x6c])](_0x481048/_0xd8a23d)));window[_0x1f45d3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f45d3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x450c88,_0x21588a);}function _0x2dd392(){const _0x5ec27e=_0x1f45d3([0x6c,0x6c,0x63,0x74,0x2d])+_0x2183e1(_0x168db0(_0x205f65)),_0x258529=window[_0x1f45d3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f45d3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ec27e);return _0x258529?window[_0x1f45d3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x355d52(_0x258529),0x10)*_0xd8a23d:null;}function _0x3bac35(_0x3ec6fa){return new window[(_0x1f45d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x228ef9,_0x98e444)=>{_0x3ec6fa[_0x1f45d3([0x74,0x68,0x65,0x6e])](_0x228ef9,_0x98e444),window[_0x1f45d3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x98e444,0x4b8a845b^_0x56cfc5);});}}_0x1b09e7[_0x1f45d3([0x6f,0x6e])](_0x1f45d3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4c4e38,_0x394f6c)=>{if(_0x394f6c[0x0]!=_0x205f65)return _0x142b7e(_0x1f45d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x394f6c[0x1]={..._0x394f6c[0x1],[_0x1f45d3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x51dfb0};},{[_0x1f45d3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f45d3([0x68,0x69,0x67,0x68])}),_0x1b09e7[_0x1f45d3([0x6f,0x6e])](_0x1f45d3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xca6240=>{_0x72ee73(_0xca6240[_0x1f45d3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x57d419=!0x0,_0x4e8777(_0xca6240[_0x1f45d3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f45d3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f45d3([0x6c,0x6f,0x77])}),_0x108b42[_0x1f45d3([0x74,0x68,0x65,0x6e])](()=>{_0x57d419||_0x142b7e(_0x1f45d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x29d2fa(){return _0x1b09e7[_0x1f45d3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f45d3([0x76,0x69,0x65,0x77])][_0x1f45d3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f45d3([0x61,0x75,0x74,0x6f]);}function _0x2c0262(){_0x1b09e7[_0x1f45d3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f45d3([0x76,0x69,0x65,0x77])][_0x1f45d3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f45d3([0x61,0x75,0x74,0x6f]);}}function _0x44d251(_0x287840){const _0x53dcbd=[new window[(_0x1f45d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32622e=>setTimeout(_0x32622e,0x4b826e57^_0x56cfc5)),_0x108b42[_0x1f45d3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f45d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1444b1=>{let _0x59acf8=0x0;_0x1b09e7[_0x1f45d3([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f45d3([0x6f,0x6e])](_0x1f45d3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3c049c,_0x5dac4)=>{_0x5dac4[0x0][_0x1f45d3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x59acf8++,_0x59acf8==(0x4b8b5163^_0x56cfc5)&&(_0x1444b1(),_0x3c049c[_0x1f45d3([0x6f,0x66,0x66])]());});}))];return window[_0x1f45d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f45d3([0x72,0x61,0x63,0x65])](_0x53dcbd)[_0x1f45d3([0x74,0x68,0x65,0x6e])](()=>_0x287840);}async function _0x4fc76e(){await _0x108b42,_0x1b09e7[_0x1f45d3([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f45d3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x27cbff,_0x1b09e7[_0x1f45d3([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f45d3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x27cbff,_0x1b09e7[_0x1f45d3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f45d3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c6351(_0x1ace46){const _0x43065f=_0x49a247();_0x1b09e7[_0x43065f]=_0x1f45d3([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1ace46,_0x1ace46!=_0x1f45d3([0x56,0x61,0x6c,0x69,0x64])&&_0x4fc76e();}function _0x49a247(){const _0x2f1b20=window[_0x1f45d3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f45d3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f45d3([0x6e,0x6f,0x77])]())[_0x1f45d3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f45d3([0x2e]),'');let _0x511041=_0x1f45d3([0x72]);for(let _0x193578=0x0;_0x193578<_0x2f1b20[_0x1f45d3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x193578+=0x2){let _0x55867a=window[_0x1f45d3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f1b20[_0x1f45d3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x193578,_0x193578+0x2));_0x55867a>=_0x453510[_0x1f45d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x55867a-=_0x453510[_0x1f45d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x511041+=_0x453510[_0x55867a];}return _0x511041;}function _0x5ed705(){const _0x2339f5=_0x4dab84[_0x1f45d3([0x73,0x70,0x6c,0x69,0x74])](_0x1f45d3([0x2e]));if(0x3!=_0x2339f5[_0x1f45d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x483456(_0x2339f5[0x1]);function _0x483456(_0x244d77){const _0x9578a4=_0x1f9c3b(_0x244d77);return _0x9578a4&&_0x58c4fe()?_0x9578a4:null;function _0x58c4fe(){const _0x1400ec=_0x9578a4[_0x1f45d3([0x6a,0x74,0x69])],_0x5734f4=window[_0x1f45d3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1400ec[_0x1f45d3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1400ec[_0x1f45d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc4fd7={..._0x9578a4,[_0x1f45d3([0x6a,0x74,0x69])]:_0x1400ec[_0x1f45d3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1400ec[_0x1f45d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc4fd7[_0x1f45d3([0x76,0x63])],_0x168db0(_0xc4fd7)==_0x5734f4;}}}async function _0x1303e1(){let _0x18ba70=!0x0;try{const _0x2c368b=_0x4dab84[_0x1f45d3([0x73,0x70,0x6c,0x69,0x74])](_0x1f45d3([0x2e])),[_0x4a8acf,_0x8dba4f,_0x4d9e70]=_0x2c368b;return _0x9119c7(_0x4a8acf),await _0x382a79(_0x4a8acf,_0x8dba4f,_0x4d9e70),_0x18ba70;}catch{return!0x1;}function _0x9119c7(_0x1e4935){const _0x34c0b9=_0x1f9c3b(_0x1e4935);_0x34c0b9&&_0x34c0b9[_0x1f45d3([0x61,0x6c,0x67])]==_0x1f45d3([0x45,0x53,0x32,0x35,0x36])||(_0x18ba70=!0x1);}async function _0x382a79(_0xf8a8b1,_0x317bed,_0xbdecfc){const _0xce4ac3=window[_0x1f45d3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f45d3([0x66,0x72,0x6f,0x6d])](_0x100da3(_0xbdecfc),_0x3aa584=>_0x3aa584[_0x1f45d3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5b9e0b=new window[(_0x1f45d3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f45d3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xf8a8b1+_0x1f45d3([0x2e])+_0x317bed),_0x58ca38=window[_0x1f45d3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f45d3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x58ca38)return;const _0x48ff61=await _0x58ca38[_0x1f45d3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f45d3([0x6a,0x77,0x6b]),_0x291978,{[_0x1f45d3([0x6e,0x61,0x6d,0x65])]:_0x1f45d3([0x45,0x43,0x44,0x53,0x41]),[_0x1f45d3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f45d3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f45d3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x58ca38[_0x1f45d3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f45d3([0x6e,0x61,0x6d,0x65])]:_0x1f45d3([0x45,0x43,0x44,0x53,0x41]),[_0x1f45d3([0x68,0x61,0x73,0x68])]:{[_0x1f45d3([0x6e,0x61,0x6d,0x65])]:_0x1f45d3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x48ff61,_0xce4ac3,_0x5b9e0b)||(_0x18ba70=!0x1);}}function _0x1f9c3b(_0x2d8c98){return _0x2d8c98[_0x1f45d3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f45d3([0x65,0x79]))?JSON[_0x1f45d3([0x70,0x61,0x72,0x73,0x65])](_0x100da3(_0x2d8c98)):null;}function _0x100da3(_0x5892ae){return window[_0x1f45d3([0x61,0x74,0x6f,0x62])](_0x5892ae[_0x1f45d3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f45d3([0x2b]))[_0x1f45d3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f45d3([0x2f])));}function _0x168db0(_0x44931d){let _0x412c0d=0x1505;function _0x5d3f2b(_0x2147fd){for(let _0x5f0210=0x0;_0x5f0210<_0x2147fd[_0x1f45d3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f0210++){const _0x135212=_0x2147fd[_0x1f45d3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5f0210);_0x412c0d=(_0x412c0d<<0x5)+_0x412c0d+_0x135212,_0x412c0d&=_0x412c0d;}}function _0x19048f(_0x2607cb){Array[_0x1f45d3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2607cb)?_0x2607cb[_0x1f45d3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x19048f):_0x2607cb&&typeof _0x2607cb==_0x1f45d3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f45d3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2607cb)[_0x1f45d3([0x73,0x6f,0x72,0x74])]()[_0x1f45d3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x48e551,_0x436db5])=>{_0x5d3f2b(_0x48e551),_0x19048f(_0x436db5);}):_0x5d3f2b(window[_0x1f45d3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2607cb));}return _0x19048f(_0x44931d),_0x412c0d>>>0x0;}function _0x2183e1(_0x3d2317){return _0x3d2317[_0x1f45d3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f45d3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f45d3([0x30]));}function _0x355d52(_0xf73023){return _0xf73023[_0x1f45d3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f45d3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f45d3([0x6a,0x6f,0x69,0x6e])]('');}function _0x27cbff(){}function _0x1f45d3(_0x4496fc){const _0x6b8745=_0x5bea;return _0x4496fc[_0x6b8745(0x109)](_0x2d4f65=>String[_0x6b8745(0xfe)](_0x2d4f65))[_0x6b8745(0xfb)]('');}_0x3c6351(await _0x4eca2f());}(this);}[_0x1e19b0(0xf5)](){const _0x335c27=_0x1e19b0,_0x19ba38=this[_0x335c27(0x10e)];if(!_0x19ba38[_0x335c27(0xf1)][_0x335c27(0xef)](_0x335c27(0x103)))return;const _0x26142e=_0x19ba38[_0x335c27(0xf1)][_0x335c27(0xef)](_0x335c27(0xf8))[_0x335c27(0xe7)](_0xf0f11c=>_0x335c27(0xe3)==typeof _0xf0f11c&&(!_0x5039d9(_0xf0f11c)&&isNaN(Number(_0xf0f11c))));if(_0x26142e[_0x335c27(0xeb)])throw new _0x5c871a(_0x335c27(0xe4),null,{'namedPresets':_0x26142e});}[_0x1e19b0(0xf2)](){const _0x4c0890=_0x1e19b0,_0x216b97=this[_0x4c0890(0x10e)],_0xf052a3=this[_0x4c0890(0x10e)][_0x4c0890(0xf1)][_0x4c0890(0xef)](_0x4c0890(0xf7));_0x216b97[_0x4c0890(0xe1)][_0x4c0890(0xfa)](_0x4c0890(0xe8))[_0x4c0890(0xea)]({'model':{'key':_0x4c0890(0x10f)},'view':_0x1db0e9=>String(_0x1db0e9)===String(_0xf052a3)?null:{'key':_0x4c0890(0x114),'value':{'line-height':_0x1db0e9}}}),_0x216b97[_0x4c0890(0xe1)][_0x4c0890(0xfa)](_0x4c0890(0x112))[_0x4c0890(0xea)]({'model':{'key':_0x4c0890(0x10f),'value':_0x5bbbad=>{const _0x486ea1=_0x4c0890;let _0x122ea0=_0x5bbbad[_0x486ea1(0x102)](_0x486ea1(0x107));return _0x35284c(_0x122ea0)&&(_0x122ea0=String(Number(_0x122ea0[_0x486ea1(0xf0)](0x0,-0x1))/0x64)),String(_0x122ea0)===String(_0xf052a3)?null:_0x122ea0;}},'view':{'styles':{'line-height':/.*/}}});}[_0x1e19b0(0xff)](){const _0x43e6fd=_0x1e19b0,_0x3b6679=this[_0x43e6fd(0x10e)],_0x551194=this[_0x43e6fd(0x10e)][_0x43e6fd(0xf1)][_0x43e6fd(0xef)](_0x43e6fd(0xf7)),_0x284954=_0x5955ae(this[_0x43e6fd(0x10e)][_0x43e6fd(0xf1)][_0x43e6fd(0xef)](_0x43e6fd(0x10f)))[_0x43e6fd(0xe7)](_0x76a18=>_0x76a18[_0x43e6fd(0xfc)]),_0xcbc067=_0xb524de(_0x43e6fd(0x10f),_0x284954);_0x3b6679[_0x43e6fd(0xe1)][_0x43e6fd(0xea)](_0xcbc067),_0x3b6679[_0x43e6fd(0xe1)][_0x43e6fd(0xfa)](_0x43e6fd(0x112))[_0x43e6fd(0xea)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x43e6fd(0x10f),'value':_0x288385=>{const _0x31a12c=_0x43e6fd;let _0x2cc8fb=_0x288385[_0x31a12c(0x102)](_0x31a12c(0x107));return _0x35284c(_0x2cc8fb)&&(_0x2cc8fb=String(Number(_0x2cc8fb[_0x31a12c(0xf0)](0x0,-0x1))/0x64)),_0x2cc8fb===String(_0x551194)?null:_0xcbc067[_0x31a12c(0xfc)][_0x31a12c(0xee)][_0x31a12c(0xf6)](_0x2cc8fb)?_0x2cc8fb:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x29dd04}from'ckeditor5/src/core.js';import{addListToDropdown as _0x3926ed,createDropdown as _0xaa947e,MenuBarMenuListItemButtonView as _0x4e11e2,MenuBarMenuListItemView as _0x5bde00,MenuBarMenuListView as _0x1f6363,MenuBarMenuView as _0x2ec459,UIModel as _0xb47f23}from'ckeditor5/src/ui.js';import{Collection as _0x19eb79}from'ckeditor5/src/utils.js';import{IconLineHeight as _0xd65c68}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x2930db}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x29dd04{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x9e6a38={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x9e6a38),this['_registerMenuBarComponent'](_0x9e6a38),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x12095e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1a8355;for(const _0x322cca in _0x12095e){const _0xc14bf8=_0x322cca,_0x3201fa=_0x12095e[_0xc14bf8];if('lineHeightLicenseKeyValid'==_0x3201fa||'lineHeightLicenseKeyInvalid'==_0x3201fa||'lineHeightLicenseKeyExpired'==_0x3201fa||'lineHeightLicenseKeyDomainLimit'==_0x3201fa||'lineHeightLicenseKeyNotAllowed'==_0x3201fa||'lineHeightLicenseKeyEvaluationLimit'==_0x3201fa||'lineHeightLicenseKeyTrialLimit'==_0x3201fa||'lineHeightLicenseKeyUsageLimit'==_0x3201fa){delete _0x12095e[_0xc14bf8],_0x1a8355=_0x3201fa,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x1a8355&&_0x12095e['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x1a8355&&_0x12095e['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x1a8355&&_0x12095e['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x1a8355&&_0x12095e['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x1a8355&&_0x12095e['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x1a8355&&_0x12095e['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x1a8355&&_0x12095e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x5d8835=this['editor'],t=_0x5d8835['t'],_0x59180c=_0x5d8835['config']['get']('lineHeight'),_0x54a67e={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x2930db(_0x59180c)['map'](_0x1ffc53=>{const _0x254e6b=_0x54a67e[_0x1ffc53['title']];return _0x254e6b&&_0x254e6b!=_0x1ffc53['title']&&(_0x1ffc53=Object['assign']({},_0x1ffc53,{'title':_0x254e6b})),_0x1ffc53;});}['_prepareListOptions'](){const _0x2f03ce=this['editor']['commands']['get']('lineHeight'),_0x534ae2=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4c46e0=this['_getLocalizedLineHeightOptions'](),_0x29e733=new _0x19eb79(),_0x4892cf=_0x166e3f=>'default'===_0x166e3f||String(_0x534ae2)===_0x166e3f;for(const _0x2bd389 of _0x4c46e0){const _0xc87374={'type':'button','model':new _0xb47f23({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2bd389['title'],'withText':!0x0})};_0x4892cf(_0x2bd389['model'])?(_0xc87374['model']['bind']('isOn')['to'](_0x2f03ce,'value',_0x32576a=>!_0x32576a),_0xc87374['model']['commandParam']=void 0x0):(_0xc87374['model']['bind']('isOn')['to'](_0x2f03ce,'value',_0x5d8f48=>_0x5d8f48===_0x2bd389['model']),_0xc87374['model']['commandParam']=_0x2bd389['model']),_0x29e733['add'](_0xc87374);}if(this['_shouldRenderCustomValueOption']()){const _0x251d25=this['_getCustomValueOptionDefinition'](_0x4c46e0);_0x29e733['add'](_0x251d25);}return _0x29e733;}['_getCustomValueOptionDefinition'](_0x281dc3){const _0xd8632b=this['editor'],t=_0xd8632b['t'],_0x28a905=_0xd8632b['commands']['get']('lineHeight'),_0x2da878=_0x281dc3['map'](_0x5ae73a=>_0x5ae73a['model']),_0x198ec3={'type':'button','model':new _0xb47f23({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x198ec3['model']['bind']('commandParam')['to'](_0x28a905,'value'),_0x198ec3['model']['bind']('isOn')['to'](_0x28a905,'value',_0x5cb7be=>!!_0x5cb7be&&!_0x2da878['includes'](String(_0x5cb7be))),_0x198ec3['model']['bind']('label')['to'](_0x28a905,'value',_0x524a1f=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x524a1f))),_0x198ec3;}['_registerToolbarComponent']({accessibleLabel:_0x20270a,options:_0x8b2f21}){const _0x14f546=this['editor'],_0x7131a9=_0x14f546['commands']['get']('lineHeight');_0x14f546['ui']['componentFactory']['add']('lineHeight',_0x38cff2=>{const _0x53c5ed=_0xaa947e(_0x38cff2);return _0x3926ed(_0x53c5ed,_0x8b2f21,{'role':'menu','ariaLabel':_0x20270a}),_0x53c5ed['buttonView']['set']({'label':_0x20270a,'tooltip':!0x0,'icon':_0xd65c68}),_0x53c5ed['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x53c5ed['bind']('isEnabled')['to'](_0x7131a9),this['listenTo'](_0x53c5ed,'execute',_0x30a220=>{_0x14f546['execute'](_0x30a220['source']['commandName'],{'value':_0x30a220['source']['commandParam']}),_0x14f546['editing']['view']['focus']();}),_0x53c5ed['once']('change:isOpen',()=>{const _0x116411=_0x53c5ed['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x53c5ed,_0x8b2f21,_0x116411);}),_0x53c5ed;});}['_registerMenuBarComponent']({accessibleLabel:_0x41fa04,options:_0x4a6f43}){const _0x186c84=this['editor'],_0x9b7f5c=_0x186c84['commands']['get']('lineHeight');_0x186c84['ui']['componentFactory']['add']('menuBar:lineHeight',_0x3648e4=>{const _0x1c8643=new _0x2ec459(_0x3648e4);_0x1c8643['buttonView']['set']({'label':_0x41fa04,'icon':_0xd65c68}),_0x1c8643['bind']('isEnabled')['to'](_0x9b7f5c);const _0x5ca865=new _0x1f6363(_0x3648e4);for(const _0x34f41d of _0x4a6f43){const _0x4897b9=new _0x5bde00(_0x3648e4,_0x1c8643),_0x56525b=new _0x4e11e2(_0x3648e4);_0x56525b['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x56525b['bind'](...Object['keys'](_0x34f41d['model']))['to'](_0x34f41d['model']),_0x56525b['delegate']('execute')['to'](_0x1c8643),_0x56525b['on']('execute',()=>{_0x186c84['execute'](_0x34f41d['model']['commandName'],{'value':_0x34f41d['model']['commandParam']}),_0x186c84['editing']['view']['focus']();}),_0x4897b9['children']['add'](_0x56525b),_0x5ca865['items']['add'](_0x4897b9);}return _0x1c8643['panelView']['children']['add'](_0x5ca865),this['_attachCustomOptionVisibilityHandler'](_0x1c8643,_0x4a6f43,_0x5ca865),_0x1c8643;});}['_attachCustomOptionVisibilityHandler'](_0x593d8f,_0x39d305,_0x3061d8){if(!this['_shouldRenderCustomValueOption']())return;const _0x29821e=()=>{if(!_0x593d8f['isOpen'])return;_0x3061d8['items']['last']['isVisible']=Boolean(_0x39d305['last']['model']['isOn']);};_0x29821e(),_0x593d8f['on']('change:isOpen',()=>{_0x29821e();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x13ed(_0x3aa19c,_0x19a30f){const _0x457842=_0x4578();return _0x13ed=function(_0x13ed52,_0x1ca846){_0x13ed52=_0x13ed52-0x1da;let _0x34a740=_0x457842[_0x13ed52];return _0x34a740;},_0x13ed(_0x3aa19c,_0x19a30f);}function _0x4578(){const _0x2a7007=['line-height:','span','single','18920hernEm','view','map','1246102BlQLTu','621coVTZL','class','value','line-height-single','110KdhatV','double','number','2205756bLjAYI','filter','default','1565452aplmEs','6dPvfpP','values','options','defaultValue','line-height-double','toLowerCase','style','push','3599540ckBlhs','key','Double','1skvZXX','Single','1329440PqjHsD','3795606XeBDjf','string','model'];_0x4578=function(){return _0x2a7007;};return _0x4578();}(function(_0xe69fdd,_0x4b07a9){const _0x1e2eac=_0x13ed,_0xcbd563=_0xe69fdd();while(!![]){try{const _0x3a967d=-parseInt(_0x1e2eac(0x1f9))/0x1*(parseInt(_0x1e2eac(0x1e2))/0x2)+-parseInt(_0x1e2eac(0x1ee))/0x3*(-parseInt(_0x1e2eac(0x1ed))/0x4)+-parseInt(_0x1e2eac(0x1f6))/0x5+-parseInt(_0x1e2eac(0x1fc))/0x6+parseInt(_0x1e2eac(0x1ea))/0x7+-parseInt(_0x1e2eac(0x1df))/0x8*(-parseInt(_0x1e2eac(0x1e3))/0x9)+parseInt(_0x1e2eac(0x1fb))/0xa*(parseInt(_0x1e2eac(0x1e7))/0xb);if(_0x3a967d===_0x4b07a9)break;else _0xcbd563['push'](_0xcbd563['shift']());}catch(_0x4e9943){_0xcbd563['push'](_0xcbd563['shift']());}}}(_0x4578,0x961f3));const v={get 'single'(){const _0x51079c=_0x13ed;return{'title':_0x51079c(0x1fa),'model':_0x51079c(0x1de),'view':{'key':_0x51079c(0x1e4),'value':_0x51079c(0x1e6)}};},get 'double'(){const _0x278993=_0x13ed;return{'title':_0x278993(0x1f8),'model':_0x278993(0x1e8),'view':{'key':_0x278993(0x1e4),'value':_0x278993(0x1f2)}};}};export function isLineHeightDefaultValue(_0x25ffbb){const _0x519531=_0x13ed;return _0x519531(0x1da)==typeof _0x25ffbb&&_0x519531(0x1ec)===_0x25ffbb[_0x519531(0x1f3)]();}export function normalizeOptions(_0x81f31a){const _0x120d64=_0x13ed;return _0x81f31a[_0x120d64(0x1f0)][_0x120d64(0x1e1)](_0x13f7c6=>isLineHeightDefaultValue(_0x13f7c6)?{'title':String(_0x81f31a[_0x120d64(0x1f1)]),'model':_0x120d64(0x1ec)}:(_0x120d64(0x1e9)==typeof _0x13f7c6&&(_0x13f7c6=String(_0x13f7c6)),_0x120d64(0x1da)!=typeof _0x13f7c6?_0x13f7c6:parseFloat(_0x13f7c6)?{'title':_0x13f7c6,'model':_0x13f7c6,'view':{'name':_0x120d64(0x1dd),'styles':{'line-height':_0x13f7c6}}}:findPreset(_0x13f7c6)))[_0x120d64(0x1eb)](_0x3cd824=>void 0x0!==_0x3cd824);}export function findPreset(_0x4191ab){const _0x5d97b5=_0x13ed;return _0x5d97b5(0x1da)==typeof _0x4191ab?v[_0x4191ab]:v[_0x4191ab[_0x5d97b5(0x1db)]];}export function buildDefinition(_0x2a9337,_0x3931b9){const _0x909450=_0x13ed,_0x5538ed={'model':{'key':_0x2a9337,'values':[]},'view':{}};for(const _0x2501ee of _0x3931b9)_0x909450(0x1e4)===_0x2501ee[_0x909450(0x1e0)]?.[_0x909450(0x1f7)]?(_0x5538ed[_0x909450(0x1db)][_0x909450(0x1ef)][_0x909450(0x1f5)](_0x2501ee[_0x909450(0x1db)]),_0x5538ed[_0x909450(0x1e0)][_0x2501ee[_0x909450(0x1db)]]={'key':_0x909450(0x1e4),'value':_0x2501ee[_0x909450(0x1e0)][_0x909450(0x1e5)]}):(_0x5538ed[_0x909450(0x1db)][_0x909450(0x1ef)][_0x909450(0x1f5)](_0x2501ee[_0x909450(0x1db)]),_0x5538ed[_0x909450(0x1e0)][_0x2501ee[_0x909450(0x1db)]]={'key':_0x909450(0x1f4),'value':_0x909450(0x1dc)+_0x2501ee[_0x909450(0x1db)]+';'});return _0x5538ed;}
|