@ckeditor/ckeditor5-line-height 0.0.0-nightly-20251006.0 → 0.0.0-nightly-20251008.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
|
-
|
|
23
|
+
function _0x2e8d(_0xaf2117,_0x571ecd){const _0x316eb8=_0x316e();return _0x2e8d=function(_0x2e8d30,_0x28a12a){_0x2e8d30=_0x2e8d30-0x146;let _0x334b1f=_0x316eb8[_0x2e8d30];return _0x334b1f;},_0x2e8d(_0xaf2117,_0x571ecd);}function _0x316e(){const _0x2ba55=['schema','execute','filter','getAttribute','selection','548456jjQlLi','checkAttribute','_canHaveLineHeight','206423XPfhOf','change','5384885vWFBIv','361201TllJch','497709JYERuz','isEnabled','from','document','1985547gzmQPC','2155592XSsDix','getSelectedBlocks','removeAttribute','setAttribute','88PrWSDk','editor','lineHeight','model','222wEpMni','value','refresh'];_0x316e=function(){return _0x2ba55;};return _0x316e();}const _0x31adbc=_0x2e8d;(function(_0x1677de,_0x2de4fa){const _0x22cd28=_0x2e8d,_0x459a32=_0x1677de();while(!![]){try{const _0xd40b2f=parseInt(_0x22cd28(0x151))/0x1+-parseInt(_0x22cd28(0x14b))/0x2+-parseInt(_0x22cd28(0x156))/0x3+parseInt(_0x22cd28(0x157))/0x4+parseInt(_0x22cd28(0x150))/0x5+-parseInt(_0x22cd28(0x15f))/0x6*(parseInt(_0x22cd28(0x14e))/0x7)+-parseInt(_0x22cd28(0x15b))/0x8*(-parseInt(_0x22cd28(0x152))/0x9);if(_0xd40b2f===_0x2de4fa)break;else _0x459a32['push'](_0x459a32['shift']());}catch(_0xc131f7){_0x459a32['push'](_0x459a32['shift']());}}}(_0x316e,0x88489));import{Command as _0x517ab1}from'ckeditor5/src/core.js';import{first as _0x1d7c1d}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x517ab1{[_0x31adbc(0x161)](){const _0x4e1211=_0x31adbc,_0x1d83b8=this[_0x4e1211(0x15c)][_0x4e1211(0x15e)][_0x4e1211(0x155)],_0x45a95a=_0x1d7c1d(_0x1d83b8[_0x4e1211(0x14a)][_0x4e1211(0x158)]());this[_0x4e1211(0x153)]=Boolean(_0x45a95a)&&this[_0x4e1211(0x14d)](_0x45a95a),this[_0x4e1211(0x160)]=this[_0x4e1211(0x153)]&&_0x45a95a[_0x4e1211(0x149)](_0x4e1211(0x15d));}[_0x31adbc(0x147)](_0xd2bf23={}){const _0x1cafa1=_0x31adbc,_0x37628e=this[_0x1cafa1(0x15c)][_0x1cafa1(0x15e)],_0x125c00=_0x37628e[_0x1cafa1(0x155)][_0x1cafa1(0x14a)],_0x1934a4=_0xd2bf23[_0x1cafa1(0x160)];_0x37628e[_0x1cafa1(0x14f)](_0x680ca2=>{const _0x347086=_0x1cafa1,_0x10d483=Array[_0x347086(0x154)](_0x125c00[_0x347086(0x158)]())[_0x347086(0x148)](_0x1c05cf=>this[_0x347086(0x14d)](_0x1c05cf));for(const _0x34eb39 of _0x10d483)_0x1934a4?_0x680ca2[_0x347086(0x15a)](_0x347086(0x15d),_0x1934a4,_0x34eb39):_0x680ca2[_0x347086(0x159)](_0x347086(0x15d),_0x34eb39);});}[_0x31adbc(0x14d)](_0x23e0a5){const _0x39432a=_0x31adbc;return this[_0x39432a(0x15c)][_0x39432a(0x15e)][_0x39432a(0x146)][_0x39432a(0x14c)](_0x23e0a5,_0x39432a(0x15d));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x40a9(){const _0x9cddfb=['includes','LineHeightEditing','commands','58LBSrGC','isPremiumPlugin','12910843akkVZk','attributeToAttribute','2664HBfZtc','default','values','define','6qVVuBO','226104SxdZDs','_preparePredefinedConverters','lineHeight.defaultValue','model','conversion','setAttributeProperties','string','join','line-height-invalid-use-of-named-presets','getStyle','extend','slice','init','add','map','1056531vodYlt','fromCharCode','lineHeight.options','_prepareAnyValueConverters','3864510ZXuikG','config','line-height','823670NqbMwW','get','length','lineHeight','editor','upcast','filter','style','afterInit','20WkXjxt','pluginName','for','342MTNmYZ','lineHeight.supportAllValues','$block','href','79496HdtXLq','downcast','isOfficialPlugin','schema','_validateConfig'];_0x40a9=function(){return _0x9cddfb;};return _0x40a9();}const _0x236338=_0x364d;(function(_0x22bd8a,_0x3d09f1){const _0x29d990=_0x364d,_0x5075b6=_0x22bd8a();while(!![]){try{const _0x18add8=parseInt(_0x29d990(0x199))/0x1*(-parseInt(_0x29d990(0x19d))/0x2)+-parseInt(_0x29d990(0x1a2))/0x3*(-parseInt(_0x29d990(0x18a))/0x4)+parseInt(_0x29d990(0x181))/0x5+parseInt(_0x29d990(0x1a1))/0x6*(parseInt(_0x29d990(0x17a))/0x7)+-parseInt(_0x29d990(0x191))/0x8*(-parseInt(_0x29d990(0x18d))/0x9)+parseInt(_0x29d990(0x17e))/0xa+-parseInt(_0x29d990(0x19b))/0xb;if(_0x18add8===_0x3d09f1)break;else _0x5075b6['push'](_0x5075b6['shift']());}catch(_0x1488dc){_0x5075b6['push'](_0x5075b6['shift']());}}}(_0x40a9,0x3231b));import{Plugin as _0x5c6e84}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x53987b}from'./lineheightcommand.js';function _0x364d(_0x10b86c,_0x48446e){const _0x40a987=_0x40a9();return _0x364d=function(_0x364dec,_0x451f57){_0x364dec=_0x364dec-0x17a;let _0x4ed5ca=_0x40a987[_0x364dec];return _0x4ed5ca;},_0x364d(_0x10b86c,_0x48446e);}import{isPercentageStyleValue as _0x27cd1f}from'ckeditor5/src/engine.js';import{uid as _0x227839,CKEditorError as _0x221454}from'ckeditor5/src/utils.js';import{buildDefinition as _0x3dbdf8,isLineHeightDefaultValue as _0x444dbb,normalizeOptions as _0xea0584}from'./utils.js';export class LineHeightEditing extends _0x5c6e84{static get[_0x236338(0x18b)](){const _0x674891=_0x236338;return _0x674891(0x197);}static get[_0x236338(0x193)](){return!0x0;}static get[_0x236338(0x19a)](){return!0x0;}constructor(_0x35bd89){const _0x5d6280=_0x236338;super(_0x35bd89),_0x35bd89[_0x5d6280(0x17f)][_0x5d6280(0x1a0)](_0x5d6280(0x184),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x5d6280(0x19e),0x2,2.5,0x3]});}[_0x236338(0x1ae)](){const _0x316461=_0x236338,_0x47adb6=this[_0x316461(0x185)];this[_0x316461(0x195)](),_0x47adb6[_0x316461(0x1a5)][_0x316461(0x194)][_0x316461(0x1ac)](_0x316461(0x18f),{'allowAttributes':_0x316461(0x184)}),_0x47adb6[_0x316461(0x1a5)][_0x316461(0x194)][_0x316461(0x1a7)](_0x316461(0x184),{'isFormatting':!0x0}),_0x47adb6[_0x316461(0x198)][_0x316461(0x1af)](_0x316461(0x184),new _0x53987b(_0x47adb6)),this[_0x316461(0x185)][_0x316461(0x17f)][_0x316461(0x182)](_0x316461(0x18e))?this[_0x316461(0x17d)]():this[_0x316461(0x1a3)]();}[_0x236338(0x189)](){!async function(_0x5893ac){const _0x56a65f=_0x31960a([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]),_0x204876=0x4597e011,_0x411a0b=0x45909579^_0x204876,_0x252840=window[_0x31960a([0x44,0x61,0x74,0x65])][_0x31960a([0x6e,0x6f,0x77])](),_0x1051cd=_0x5893ac[_0x31960a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1e8c6f=new window[(_0x31960a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54a2ee=>{_0x1051cd[_0x31960a([0x6f,0x6e,0x63,0x65])](_0x31960a([0x72,0x65,0x61,0x64,0x79]),_0x54a2ee);}),_0x269307={[_0x31960a([0x6b,0x74,0x79])]:_0x31960a([0x45,0x43]),[_0x31960a([0x75,0x73,0x65])]:_0x31960a([0x73,0x69,0x67]),[_0x31960a([0x63,0x72,0x76])]:_0x31960a([0x50,0x2d,0x32,0x35,0x36]),[_0x31960a([0x78])]:_0x31960a([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]),[_0x31960a([0x79])]:_0x31960a([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]),[_0x31960a([0x61,0x6c,0x67])]:_0x31960a([0x45,0x53,0x32,0x35,0x36])},_0x46774c=_0x1051cd[_0x31960a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x31960a([0x67,0x65,0x74])](_0x31960a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2f0238(){let _0x2b1f13,_0x17a624=null,_0x5349b2=null;try{if(_0x46774c==_0x31960a([0x47,0x50,0x4c]))return _0x31960a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2b1f13=_0x553bea(),!_0x2b1f13)return _0x31960a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2b1f13[_0x31960a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5349b2=_0x659863(_0x2b1f13[_0x31960a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2b1f13[_0x31960a([0x6a,0x74,0x69])])),await _0x4c5d4c()?_0x51aad5()?_0x2f6614()?_0x31960a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x468782()?(_0x2b1f13[_0x31960a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x31960a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17a624=_0x4f8cab(_0x31960a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2b1f13[_0x31960a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x31960a([0x74,0x72,0x69,0x61,0x6c])&&(_0x17a624=_0x4f8cab(_0x31960a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5ebcea()):_0x31960a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x31960a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x31960a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x31960a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2f6614(){const _0x14a252=[_0x31960a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x31960a([0x74,0x72,0x69,0x61,0x6c])][_0x31960a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b1f13[_0x31960a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x252840/0x3e8:0xe10*_0x411a0b;return _0x2b1f13[_0x31960a([0x65,0x78,0x70])]<_0x14a252;}function _0x51aad5(){const _0x259fc5=_0x2b1f13[_0x31960a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x259fc5&&(!!_0x259fc5[_0x31960a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31960a([0x2a]))||!!_0x259fc5[_0x31960a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31960a([0x4c,0x48])));}function _0x468782(){const _0x363672=_0x364d,_0x33b063=_0x2b1f13[_0x31960a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x33b063||0x0==_0x33b063[_0x31960a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x89164d}=new URL(window[_0x31960a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x363672(0x190)]);if(_0x33b063[_0x31960a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x89164d))return!0x0;const _0x5867c9=_0x89164d[_0x31960a([0x73,0x70,0x6c,0x69,0x74])](_0x31960a([0x2e]));return _0x33b063[_0x31960a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34e842=>_0x34e842[_0x31960a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31960a([0x2a])))[_0x31960a([0x6d,0x61,0x70])](_0xebea38=>_0xebea38[_0x31960a([0x73,0x70,0x6c,0x69,0x74])](_0x31960a([0x2e])))[_0x31960a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x454e3d=>_0x454e3d[_0x31960a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5867c9[_0x31960a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x31960a([0x6d,0x61,0x70])](_0x13606d=>Array(_0x5867c9[_0x31960a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x13606d[_0x31960a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x31960a([0x66,0x69,0x6c,0x6c])](_0x13606d[0x0]===_0x31960a([0x2a])?_0x31960a([0x2a]):'')[_0x31960a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x13606d))[_0x31960a([0x73,0x6f,0x6d,0x65])](_0x19607f=>_0x5867c9[_0x31960a([0x65,0x76,0x65,0x72,0x79])]((_0x21b660,_0x43e144)=>_0x19607f[_0x43e144]===_0x21b660||_0x19607f[_0x43e144]===_0x31960a([0x2a])));}function _0x5ebcea(){return _0x17a624&&_0x5349b2?new window[(_0x31960a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41dd65,_0x371d29)=>{_0x17a624[_0x31960a([0x74,0x68,0x65,0x6e])](_0x41dd65,_0x371d29),_0x5349b2[_0x31960a([0x74,0x68,0x65,0x6e])](_0x34f341=>{_0x34f341!=_0x31960a([0x56,0x61,0x6c,0x69,0x64])&&_0x41dd65(_0x34f341);},_0x371d29);}):_0x17a624||_0x5349b2||_0x31960a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x659863(_0x212699,_0x414cfe){return new window[(_0x31960a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b1d97=>{if(_0x3716f1())return _0x2b1d97(_0x31960a([0x56,0x61,0x6c,0x69,0x64]));_0x281cff(),_0x1051cd[_0x31960a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x31960a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x303585=!0x1;const _0x5cb5b1=_0x227839();function _0x5b4beb(_0x26d412){return!!_0x26d412&&(typeof _0x26d412===_0x31960a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x26d412===_0x31960a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x26d412[_0x31960a([0x74,0x68,0x65,0x6e])]===_0x31960a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x26d412[_0x31960a([0x63,0x61,0x74,0x63,0x68])]===_0x31960a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5d6663(_0x831447){_0x40125b(_0x831447)[_0x31960a([0x74,0x68,0x65,0x6e])](_0x8d81ec=>{if(!_0x8d81ec||_0x8d81ec[_0x31960a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x31960a([0x6f,0x6b]))return _0x31960a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2809e3(_0x5bbc32(_0x5cb5b1+_0x414cfe))!=_0x8d81ec[_0x31960a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x31960a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x31960a([0x56,0x61,0x6c,0x69,0x64]);})[_0x31960a([0x74,0x68,0x65,0x6e])](_0x318a1f=>(_0x531e05(),_0x318a1f),()=>{const _0xbebdd1=_0x3311df();return null==_0xbebdd1?(_0x531e05(),_0x31960a([0x56,0x61,0x6c,0x69,0x64])):_0x31960a(_0x252840-_0xbebdd1>(0x619b6411^_0x204876)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x31960a([0x74,0x68,0x65,0x6e])](_0x2b1d97)[_0x31960a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b1d97(_0x31960a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x349558=0x45a10e91^_0x204876;function _0x531e05(){const _0x51ab5f=_0x31960a([0x6c,0x6c,0x63,0x74,0x2d])+_0x2809e3(_0x5bbc32(_0x212699)),_0x5dbce6=_0x4148ee(_0x2809e3(window[_0x31960a([0x4d,0x61,0x74,0x68])][_0x31960a([0x63,0x65,0x69,0x6c])](_0x252840/_0x349558)));window[_0x31960a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31960a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51ab5f,_0x5dbce6);}function _0x3311df(){const _0x91df60=_0x31960a([0x6c,0x6c,0x63,0x74,0x2d])+_0x2809e3(_0x5bbc32(_0x212699)),_0xbb2a6a=window[_0x31960a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31960a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x91df60);return _0xbb2a6a?window[_0x31960a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4148ee(_0xbb2a6a),0x10)*_0x349558:null;}function _0x40125b(_0x50a18b){return new window[(_0x31960a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26eb54,_0x4a24b3)=>{_0x50a18b[_0x31960a([0x74,0x68,0x65,0x6e])](_0x26eb54,_0x4a24b3),window[_0x31960a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4a24b3,0x459634d1^_0x204876);});}}_0x1051cd[_0x31960a([0x6f,0x6e])](_0x31960a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x22c4dc,_0x516c56)=>{if(_0x516c56[0x0]!=_0x212699)return _0x2b1d97(_0x31960a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x516c56[0x1]={..._0x516c56[0x1],[_0x31960a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5cb5b1};},{[_0x31960a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31960a([0x68,0x69,0x67,0x68])}),_0x1051cd[_0x31960a([0x6f,0x6e])](_0x31960a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xfec72d=>{_0x5b4beb(_0xfec72d[_0x31960a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x303585=!0x0,_0x5d6663(_0xfec72d[_0x31960a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x31960a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31960a([0x6c,0x6f,0x77])}),_0x1e8c6f[_0x31960a([0x74,0x68,0x65,0x6e])](()=>{_0x303585||_0x2b1d97(_0x31960a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3716f1(){return _0x1051cd[_0x31960a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31960a([0x76,0x69,0x65,0x77])][_0x31960a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x31960a([0x61,0x75,0x74,0x6f]);}function _0x281cff(){_0x1051cd[_0x31960a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31960a([0x76,0x69,0x65,0x77])][_0x31960a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x31960a([0x61,0x75,0x74,0x6f]);}}function _0x4f8cab(_0x9cfeab){const _0x2561fc=[new window[(_0x31960a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x257eb8=>setTimeout(_0x257eb8,0x459ededd^_0x204876)),_0x1e8c6f[_0x31960a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x31960a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33d860=>{let _0x12940a=0x0;_0x1051cd[_0x31960a([0x6d,0x6f,0x64,0x65,0x6c])][_0x31960a([0x6f,0x6e])](_0x31960a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5189d9,_0x14af98)=>{_0x14af98[0x0][_0x31960a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x12940a++,_0x12940a==(0x4597e1e9^_0x204876)&&(_0x33d860(),_0x5189d9[_0x31960a([0x6f,0x66,0x66])]());});}))];return window[_0x31960a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x31960a([0x72,0x61,0x63,0x65])](_0x2561fc)[_0x31960a([0x74,0x68,0x65,0x6e])](()=>_0x9cfeab);}async function _0x221631(){await _0x1e8c6f,_0x1051cd[_0x31960a([0x6d,0x6f,0x64,0x65,0x6c])][_0x31960a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20d869,_0x1051cd[_0x31960a([0x6d,0x6f,0x64,0x65,0x6c])][_0x31960a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20d869,_0x1051cd[_0x31960a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x31960a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4a89f8(_0x17e537){const _0x228b7b=_0x57ac64();_0x1051cd[_0x228b7b]=_0x31960a([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x17e537,_0x17e537!=_0x31960a([0x56,0x61,0x6c,0x69,0x64])&&_0x221631();}function _0x57ac64(){const _0x407880=window[_0x31960a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x31960a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x31960a([0x6e,0x6f,0x77])]())[_0x31960a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x31960a([0x2e]),'');let _0x18d5c8=_0x31960a([0x51]);for(let _0x2d0aa0=0x0;_0x2d0aa0<_0x407880[_0x31960a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d0aa0+=0x2){let _0x19fa68=window[_0x31960a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x407880[_0x31960a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d0aa0,_0x2d0aa0+0x2));_0x19fa68>=_0x56a65f[_0x31960a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x19fa68-=_0x56a65f[_0x31960a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x18d5c8+=_0x56a65f[_0x19fa68];}return _0x18d5c8;}function _0x553bea(){const _0x5ea970=_0x46774c[_0x31960a([0x73,0x70,0x6c,0x69,0x74])](_0x31960a([0x2e]));if(0x3!=_0x5ea970[_0x31960a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xc5cb4a(_0x5ea970[0x1]);function _0xc5cb4a(_0xad0d92){const _0x45bbfc=_0x2e9639(_0xad0d92);return _0x45bbfc&&_0xf9d67b()?_0x45bbfc:null;function _0xf9d67b(){const _0x17e665=_0x45bbfc[_0x31960a([0x6a,0x74,0x69])],_0x1466fd=window[_0x31960a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17e665[_0x31960a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17e665[_0x31960a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd8838d={..._0x45bbfc,[_0x31960a([0x6a,0x74,0x69])]:_0x17e665[_0x31960a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x17e665[_0x31960a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd8838d[_0x31960a([0x76,0x63])],_0x5bbc32(_0xd8838d)==_0x1466fd;}}}async function _0x4c5d4c(){let _0x20d8e0=!0x0;try{const _0x18409b=_0x46774c[_0x31960a([0x73,0x70,0x6c,0x69,0x74])](_0x31960a([0x2e])),[_0x43b0ae,_0x556a9c,_0x2743f7]=_0x18409b;return _0xf5d594(_0x43b0ae),await _0x51e017(_0x43b0ae,_0x556a9c,_0x2743f7),_0x20d8e0;}catch{return!0x1;}function _0xf5d594(_0x209f65){const _0x21cb5a=_0x2e9639(_0x209f65);_0x21cb5a&&_0x21cb5a[_0x31960a([0x61,0x6c,0x67])]==_0x31960a([0x45,0x53,0x32,0x35,0x36])||(_0x20d8e0=!0x1);}async function _0x51e017(_0x41bc87,_0x5b3bed,_0x46d366){const _0x1fcf92=window[_0x31960a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x31960a([0x66,0x72,0x6f,0x6d])](_0x52e076(_0x46d366),_0x31e41e=>_0x31e41e[_0x31960a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x249459=new window[(_0x31960a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x31960a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x41bc87+_0x31960a([0x2e])+_0x5b3bed),_0x2d5d79=window[_0x31960a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x31960a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2d5d79)return;const _0x10fd27=await _0x2d5d79[_0x31960a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x31960a([0x6a,0x77,0x6b]),_0x269307,{[_0x31960a([0x6e,0x61,0x6d,0x65])]:_0x31960a([0x45,0x43,0x44,0x53,0x41]),[_0x31960a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x31960a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x31960a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2d5d79[_0x31960a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x31960a([0x6e,0x61,0x6d,0x65])]:_0x31960a([0x45,0x43,0x44,0x53,0x41]),[_0x31960a([0x68,0x61,0x73,0x68])]:{[_0x31960a([0x6e,0x61,0x6d,0x65])]:_0x31960a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x10fd27,_0x1fcf92,_0x249459)||(_0x20d8e0=!0x1);}}function _0x2e9639(_0x4d4cef){return _0x4d4cef[_0x31960a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x31960a([0x65,0x79]))?JSON[_0x31960a([0x70,0x61,0x72,0x73,0x65])](_0x52e076(_0x4d4cef)):null;}function _0x52e076(_0x41748d){return window[_0x31960a([0x61,0x74,0x6f,0x62])](_0x41748d[_0x31960a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x31960a([0x2b]))[_0x31960a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x31960a([0x2f])));}function _0x5bbc32(_0x175ac3){let _0x2dd263=0x1505;function _0x59c332(_0x3952e5){for(let _0x52837e=0x0;_0x52837e<_0x3952e5[_0x31960a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x52837e++){const _0x398664=_0x3952e5[_0x31960a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x52837e);_0x2dd263=(_0x2dd263<<0x5)+_0x2dd263+_0x398664,_0x2dd263&=_0x2dd263;}}function _0xc1cc09(_0x5e293d){Array[_0x31960a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5e293d)?_0x5e293d[_0x31960a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xc1cc09):_0x5e293d&&typeof _0x5e293d==_0x31960a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x31960a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5e293d)[_0x31960a([0x73,0x6f,0x72,0x74])]()[_0x31960a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x57acc9,_0x36d9b8])=>{_0x59c332(_0x57acc9),_0xc1cc09(_0x36d9b8);}):_0x59c332(window[_0x31960a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5e293d));}return _0xc1cc09(_0x175ac3),_0x2dd263>>>0x0;}function _0x2809e3(_0x3f4780){return _0x3f4780[_0x31960a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x31960a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x31960a([0x30]));}function _0x4148ee(_0x34dccb){return _0x34dccb[_0x31960a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x31960a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x31960a([0x6a,0x6f,0x69,0x6e])]('');}function _0x20d869(){}function _0x31960a(_0x2dda33){const _0x11da30=_0x364d;return _0x2dda33[_0x11da30(0x1b0)](_0xd55f9f=>String[_0x11da30(0x17b)](_0xd55f9f))[_0x11da30(0x1a9)]('');}_0x4a89f8(await _0x2f0238());}(this);}[_0x236338(0x195)](){const _0x2c1fbe=_0x236338,_0x5511e9=this[_0x2c1fbe(0x185)];if(!_0x5511e9[_0x2c1fbe(0x17f)][_0x2c1fbe(0x182)](_0x2c1fbe(0x18e)))return;const _0x311767=_0x5511e9[_0x2c1fbe(0x17f)][_0x2c1fbe(0x182)](_0x2c1fbe(0x17c))[_0x2c1fbe(0x187)](_0x2e8c4a=>_0x2c1fbe(0x1a8)==typeof _0x2e8c4a&&(!_0x444dbb(_0x2e8c4a)&&isNaN(Number(_0x2e8c4a))));if(_0x311767[_0x2c1fbe(0x183)])throw new _0x221454(_0x2c1fbe(0x1aa),null,{'namedPresets':_0x311767});}[_0x236338(0x17d)](){const _0x172149=_0x236338,_0x28f9dd=this[_0x172149(0x185)],_0x90cc85=this[_0x172149(0x185)][_0x172149(0x17f)][_0x172149(0x182)](_0x172149(0x1a4));_0x28f9dd[_0x172149(0x1a6)][_0x172149(0x18c)](_0x172149(0x192))[_0x172149(0x19c)]({'model':{'key':_0x172149(0x184)},'view':_0x57ffe8=>String(_0x57ffe8)===String(_0x90cc85)?null:{'key':_0x172149(0x188),'value':{'line-height':_0x57ffe8}}}),_0x28f9dd[_0x172149(0x1a6)][_0x172149(0x18c)](_0x172149(0x186))[_0x172149(0x19c)]({'model':{'key':_0x172149(0x184),'value':_0x24a67b=>{const _0x1af150=_0x172149;let _0x5a4692=_0x24a67b[_0x1af150(0x1ab)](_0x1af150(0x180));return _0x27cd1f(_0x5a4692)&&(_0x5a4692=String(Number(_0x5a4692[_0x1af150(0x1ad)](0x0,-0x1))/0x64)),String(_0x5a4692)===String(_0x90cc85)?null:_0x5a4692;}},'view':{'styles':{'line-height':/.*/}}});}[_0x236338(0x1a3)](){const _0x14c35d=_0x236338,_0x1077e4=this[_0x14c35d(0x185)],_0x16a65=this[_0x14c35d(0x185)][_0x14c35d(0x17f)][_0x14c35d(0x182)](_0x14c35d(0x1a4)),_0x39e0ca=_0xea0584(this[_0x14c35d(0x185)][_0x14c35d(0x17f)][_0x14c35d(0x182)](_0x14c35d(0x184)))[_0x14c35d(0x187)](_0x40e6bb=>_0x40e6bb[_0x14c35d(0x1a5)]),_0xca4f5b=_0x3dbdf8(_0x14c35d(0x184),_0x39e0ca);_0x1077e4[_0x14c35d(0x1a6)][_0x14c35d(0x19c)](_0xca4f5b),_0x1077e4[_0x14c35d(0x1a6)][_0x14c35d(0x18c)](_0x14c35d(0x186))[_0x14c35d(0x19c)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x14c35d(0x184),'value':_0x99ec28=>{const _0x25481c=_0x14c35d;let _0x19cfc5=_0x99ec28[_0x25481c(0x1ab)](_0x25481c(0x180));return _0x27cd1f(_0x19cfc5)&&(_0x19cfc5=String(Number(_0x19cfc5[_0x25481c(0x1ad)](0x0,-0x1))/0x64)),_0x19cfc5===String(_0x16a65)?null:_0xca4f5b[_0x25481c(0x1a5)][_0x25481c(0x19f)][_0x25481c(0x196)](_0x19cfc5)?_0x19cfc5:null;}}});}}
|
|
23
|
+
function _0x417c(){const _0x132fdb=['upcast','LineHeightEditing','schema','attributeToAttribute','_prepareAnyValueConverters','pluginName','style','default','20ZPQhWO','2085808kOazbJ','3306127mEsBEw','349531kgGVgr','get','downcast','1918rUGjyV','86522nuwcls','extend','define','map','lineHeight.defaultValue','getStyle','length','line-height','lineHeight.options','model','_validateConfig','for','setAttributeProperties','filter','isPremiumPlugin','values','isOfficialPlugin','7368950scffBz','href','afterInit','38110uUabQz','2222616RrrUjx','36FAlQsJ','string','lineHeight','line-height-invalid-use-of-named-presets','editor','commands','conversion','126LdWJkh','lineHeight.supportAllValues','_preparePredefinedConverters','$block','includes','9ZuRJrK','add','slice','config','fromCharCode','4aBpYSB','init','join','21MiZjUA'];_0x417c=function(){return _0x132fdb;};return _0x417c();}function _0x215e(_0x2e94d6,_0x38f883){const _0x417c9d=_0x417c();return _0x215e=function(_0x215ed7,_0x45b5e6){_0x215ed7=_0x215ed7-0x85;let _0x23e58d=_0x417c9d[_0x215ed7];return _0x23e58d;},_0x215e(_0x2e94d6,_0x38f883);}const _0x228e48=_0x215e;(function(_0x1cd9ee,_0x2c43c5){const _0x4d5e2d=_0x215e,_0x25e2bf=_0x1cd9ee();while(!![]){try{const _0x1aa8f5=parseInt(_0x4d5e2d(0x8c))/0x1*(parseInt(_0x4d5e2d(0x93))/0x2)+parseInt(_0x4d5e2d(0xa8))/0x3*(parseInt(_0x4d5e2d(0xba))/0x4)+parseInt(_0x4d5e2d(0xa7))/0x5*(parseInt(_0x4d5e2d(0xb0))/0x6)+parseInt(_0x4d5e2d(0xbd))/0x7*(parseInt(_0x4d5e2d(0x8d))/0x8)+parseInt(_0x4d5e2d(0xb5))/0x9*(parseInt(_0x4d5e2d(0xa4))/0xa)+parseInt(_0x4d5e2d(0x8e))/0xb*(parseInt(_0x4d5e2d(0xa9))/0xc)+parseInt(_0x4d5e2d(0x8f))/0xd*(-parseInt(_0x4d5e2d(0x92))/0xe);if(_0x1aa8f5===_0x2c43c5)break;else _0x25e2bf['push'](_0x25e2bf['shift']());}catch(_0x357c88){_0x25e2bf['push'](_0x25e2bf['shift']());}}}(_0x417c,0x7ae53));import{Plugin as _0x5d1688}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x2109d5}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x173218}from'ckeditor5/src/engine.js';import{uid as _0x5cd866,CKEditorError as _0x506324}from'ckeditor5/src/utils.js';import{buildDefinition as _0x547e7e,isLineHeightDefaultValue as _0x2f1695,normalizeOptions as _0xffb39a}from'./utils.js';export class LineHeightEditing extends _0x5d1688{static get[_0x228e48(0x89)](){const _0x420d64=_0x228e48;return _0x420d64(0x85);}static get[_0x228e48(0xa3)](){return!0x0;}static get[_0x228e48(0xa1)](){return!0x0;}constructor(_0x379945){const _0x2bfe84=_0x228e48;super(_0x379945),_0x379945[_0x2bfe84(0xb8)][_0x2bfe84(0x95)](_0x2bfe84(0xab),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x2bfe84(0x8b),0x2,2.5,0x3]});}[_0x228e48(0xbb)](){const _0x2b6d5e=_0x228e48,_0x551f80=this[_0x2b6d5e(0xad)];this[_0x2b6d5e(0x9d)](),_0x551f80[_0x2b6d5e(0x9c)][_0x2b6d5e(0x86)][_0x2b6d5e(0x94)](_0x2b6d5e(0xb3),{'allowAttributes':_0x2b6d5e(0xab)}),_0x551f80[_0x2b6d5e(0x9c)][_0x2b6d5e(0x86)][_0x2b6d5e(0x9f)](_0x2b6d5e(0xab),{'isFormatting':!0x0}),_0x551f80[_0x2b6d5e(0xae)][_0x2b6d5e(0xb6)](_0x2b6d5e(0xab),new _0x2109d5(_0x551f80)),this[_0x2b6d5e(0xad)][_0x2b6d5e(0xb8)][_0x2b6d5e(0x90)](_0x2b6d5e(0xb1))?this[_0x2b6d5e(0x88)]():this[_0x2b6d5e(0xb2)]();}[_0x228e48(0xa6)](){!async function(_0x3b770f){const _0x4de200=_0x43b9e0([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]),_0x14d0a1=0x4597e011,_0x116d62=0x45909589^_0x14d0a1,_0x253aab=window[_0x43b9e0([0x44,0x61,0x74,0x65])][_0x43b9e0([0x6e,0x6f,0x77])](),_0x2fbfc7=_0x3b770f[_0x43b9e0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xb3e345=new window[(_0x43b9e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56f337=>{_0x2fbfc7[_0x43b9e0([0x6f,0x6e,0x63,0x65])](_0x43b9e0([0x72,0x65,0x61,0x64,0x79]),_0x56f337);}),_0x44a434={[_0x43b9e0([0x6b,0x74,0x79])]:_0x43b9e0([0x45,0x43]),[_0x43b9e0([0x75,0x73,0x65])]:_0x43b9e0([0x73,0x69,0x67]),[_0x43b9e0([0x63,0x72,0x76])]:_0x43b9e0([0x50,0x2d,0x32,0x35,0x36]),[_0x43b9e0([0x78])]:_0x43b9e0([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]),[_0x43b9e0([0x79])]:_0x43b9e0([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]),[_0x43b9e0([0x61,0x6c,0x67])]:_0x43b9e0([0x45,0x53,0x32,0x35,0x36])},_0x3efa8e=_0x2fbfc7[_0x43b9e0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x43b9e0([0x67,0x65,0x74])](_0x43b9e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x20d3b7(){let _0x605fa5,_0x1c0790=null,_0x234096=null;try{if(_0x3efa8e==_0x43b9e0([0x47,0x50,0x4c]))return _0x43b9e0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x605fa5=_0x540698(),!_0x605fa5)return _0x43b9e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x605fa5[_0x43b9e0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x234096=_0x2beef8(_0x605fa5[_0x43b9e0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x605fa5[_0x43b9e0([0x6a,0x74,0x69])])),await _0xb3b2ce()?_0x2fe2af()?_0x3397ba()?_0x43b9e0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x41ed95()?(_0x605fa5[_0x43b9e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x43b9e0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1c0790=_0x4b4941(_0x43b9e0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x605fa5[_0x43b9e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x43b9e0([0x74,0x72,0x69,0x61,0x6c])&&(_0x1c0790=_0x4b4941(_0x43b9e0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x59739e()):_0x43b9e0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x43b9e0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x43b9e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x43b9e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3397ba(){const _0x4afd7b=[_0x43b9e0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x43b9e0([0x74,0x72,0x69,0x61,0x6c])][_0x43b9e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x605fa5[_0x43b9e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x253aab/0x3e8:0xe10*_0x116d62;return _0x605fa5[_0x43b9e0([0x65,0x78,0x70])]<_0x4afd7b;}function _0x2fe2af(){const _0x3ab3f6=_0x605fa5[_0x43b9e0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3ab3f6&&(!!_0x3ab3f6[_0x43b9e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43b9e0([0x2a]))||!!_0x3ab3f6[_0x43b9e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43b9e0([0x4c,0x48])));}function _0x41ed95(){const _0x2baa76=_0x215e,_0x7277c6=_0x605fa5[_0x43b9e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x7277c6||0x0==_0x7277c6[_0x43b9e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3eadc6}=new URL(window[_0x43b9e0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2baa76(0xa5)]);if(_0x7277c6[_0x43b9e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3eadc6))return!0x0;const _0xd7be52=_0x3eadc6[_0x43b9e0([0x73,0x70,0x6c,0x69,0x74])](_0x43b9e0([0x2e]));return _0x7277c6[_0x43b9e0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b0147=>_0x5b0147[_0x43b9e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43b9e0([0x2a])))[_0x43b9e0([0x6d,0x61,0x70])](_0x45622b=>_0x45622b[_0x43b9e0([0x73,0x70,0x6c,0x69,0x74])](_0x43b9e0([0x2e])))[_0x43b9e0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x231838=>_0x231838[_0x43b9e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xd7be52[_0x43b9e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x43b9e0([0x6d,0x61,0x70])](_0x4431e6=>Array(_0xd7be52[_0x43b9e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4431e6[_0x43b9e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x43b9e0([0x66,0x69,0x6c,0x6c])](_0x4431e6[0x0]===_0x43b9e0([0x2a])?_0x43b9e0([0x2a]):'')[_0x43b9e0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4431e6))[_0x43b9e0([0x73,0x6f,0x6d,0x65])](_0x565f21=>_0xd7be52[_0x43b9e0([0x65,0x76,0x65,0x72,0x79])]((_0x39581d,_0x44a73f)=>_0x565f21[_0x44a73f]===_0x39581d||_0x565f21[_0x44a73f]===_0x43b9e0([0x2a])));}function _0x59739e(){return _0x1c0790&&_0x234096?new window[(_0x43b9e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f3429,_0x2b4d5c)=>{_0x1c0790[_0x43b9e0([0x74,0x68,0x65,0x6e])](_0x1f3429,_0x2b4d5c),_0x234096[_0x43b9e0([0x74,0x68,0x65,0x6e])](_0x2d87bc=>{_0x2d87bc!=_0x43b9e0([0x56,0x61,0x6c,0x69,0x64])&&_0x1f3429(_0x2d87bc);},_0x2b4d5c);}):_0x1c0790||_0x234096||_0x43b9e0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2beef8(_0xfe1e8e,_0x35017a){return new window[(_0x43b9e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1492cb=>{if(_0x209add())return _0x1492cb(_0x43b9e0([0x56,0x61,0x6c,0x69,0x64]));_0xaa0ffa(),_0x2fbfc7[_0x43b9e0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x43b9e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x129cef=!0x1;const _0x1aa144=_0x5cd866();function _0x2264f8(_0x596974){return!!_0x596974&&(typeof _0x596974===_0x43b9e0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x596974===_0x43b9e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x596974[_0x43b9e0([0x74,0x68,0x65,0x6e])]===_0x43b9e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x596974[_0x43b9e0([0x63,0x61,0x74,0x63,0x68])]===_0x43b9e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x52110e(_0x31d602){_0x14b6ec(_0x31d602)[_0x43b9e0([0x74,0x68,0x65,0x6e])](_0x318424=>{if(!_0x318424||_0x318424[_0x43b9e0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x43b9e0([0x6f,0x6b]))return _0x43b9e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x55db93(_0x5f2685(_0x1aa144+_0x35017a))!=_0x318424[_0x43b9e0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x43b9e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x43b9e0([0x56,0x61,0x6c,0x69,0x64]);})[_0x43b9e0([0x74,0x68,0x65,0x6e])](_0x431969=>(_0x539aae(),_0x431969),()=>{const _0x2fd6bc=_0x4942f6();return null==_0x2fd6bc?(_0x539aae(),_0x43b9e0([0x56,0x61,0x6c,0x69,0x64])):_0x43b9e0(_0x253aab-_0x2fd6bc>(0x619b6411^_0x14d0a1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x43b9e0([0x74,0x68,0x65,0x6e])](_0x1492cb)[_0x43b9e0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1492cb(_0x43b9e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2330c1=0x45a10e91^_0x14d0a1;function _0x539aae(){const _0x39409b=_0x43b9e0([0x6c,0x6c,0x63,0x74,0x2d])+_0x55db93(_0x5f2685(_0xfe1e8e)),_0x48a86e=_0x1a0f22(_0x55db93(window[_0x43b9e0([0x4d,0x61,0x74,0x68])][_0x43b9e0([0x63,0x65,0x69,0x6c])](_0x253aab/_0x2330c1)));window[_0x43b9e0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x43b9e0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39409b,_0x48a86e);}function _0x4942f6(){const _0x562cce=_0x43b9e0([0x6c,0x6c,0x63,0x74,0x2d])+_0x55db93(_0x5f2685(_0xfe1e8e)),_0x11146a=window[_0x43b9e0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x43b9e0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x562cce);return _0x11146a?window[_0x43b9e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a0f22(_0x11146a),0x10)*_0x2330c1:null;}function _0x14b6ec(_0x516764){return new window[(_0x43b9e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ba0da,_0x5c860d)=>{_0x516764[_0x43b9e0([0x74,0x68,0x65,0x6e])](_0x2ba0da,_0x5c860d),window[_0x43b9e0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5c860d,0x459634d1^_0x14d0a1);});}}_0x2fbfc7[_0x43b9e0([0x6f,0x6e])](_0x43b9e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xe202e0,_0x4f22f2)=>{if(_0x4f22f2[0x0]!=_0xfe1e8e)return _0x1492cb(_0x43b9e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4f22f2[0x1]={..._0x4f22f2[0x1],[_0x43b9e0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1aa144};},{[_0x43b9e0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x43b9e0([0x68,0x69,0x67,0x68])}),_0x2fbfc7[_0x43b9e0([0x6f,0x6e])](_0x43b9e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x21dde6=>{_0x2264f8(_0x21dde6[_0x43b9e0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x129cef=!0x0,_0x52110e(_0x21dde6[_0x43b9e0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x43b9e0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x43b9e0([0x6c,0x6f,0x77])}),_0xb3e345[_0x43b9e0([0x74,0x68,0x65,0x6e])](()=>{_0x129cef||_0x1492cb(_0x43b9e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x209add(){return _0x2fbfc7[_0x43b9e0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x43b9e0([0x76,0x69,0x65,0x77])][_0x43b9e0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x43b9e0([0x61,0x75,0x74,0x6f]);}function _0xaa0ffa(){_0x2fbfc7[_0x43b9e0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x43b9e0([0x76,0x69,0x65,0x77])][_0x43b9e0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x43b9e0([0x61,0x75,0x74,0x6f]);}}function _0x4b4941(_0x3a53b0){const _0x22e765=[new window[(_0x43b9e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d2500=>setTimeout(_0x4d2500,0x459ededd^_0x14d0a1)),_0xb3e345[_0x43b9e0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x43b9e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c2b31=>{let _0x7bda04=0x0;_0x2fbfc7[_0x43b9e0([0x6d,0x6f,0x64,0x65,0x6c])][_0x43b9e0([0x6f,0x6e])](_0x43b9e0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3c5a78,_0x28dd22)=>{_0x28dd22[0x0][_0x43b9e0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x7bda04++,_0x7bda04==(0x4597e1e9^_0x14d0a1)&&(_0x1c2b31(),_0x3c5a78[_0x43b9e0([0x6f,0x66,0x66])]());});}))];return window[_0x43b9e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x43b9e0([0x72,0x61,0x63,0x65])](_0x22e765)[_0x43b9e0([0x74,0x68,0x65,0x6e])](()=>_0x3a53b0);}async function _0x77334e(){await _0xb3e345,_0x2fbfc7[_0x43b9e0([0x6d,0x6f,0x64,0x65,0x6c])][_0x43b9e0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1d1126,_0x2fbfc7[_0x43b9e0([0x6d,0x6f,0x64,0x65,0x6c])][_0x43b9e0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1d1126,_0x2fbfc7[_0x43b9e0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x43b9e0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3d6689(_0x577b88){const _0x56e83f=_0x5edd6a();_0x2fbfc7[_0x56e83f]=_0x43b9e0([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x577b88,_0x577b88!=_0x43b9e0([0x56,0x61,0x6c,0x69,0x64])&&_0x77334e();}function _0x5edd6a(){const _0x3927ef=window[_0x43b9e0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x43b9e0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x43b9e0([0x6e,0x6f,0x77])]())[_0x43b9e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x43b9e0([0x2e]),'');let _0x42c45d=_0x43b9e0([0x51]);for(let _0x5ec4b1=0x0;_0x5ec4b1<_0x3927ef[_0x43b9e0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ec4b1+=0x2){let _0x32155e=window[_0x43b9e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3927ef[_0x43b9e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ec4b1,_0x5ec4b1+0x2));_0x32155e>=_0x4de200[_0x43b9e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x32155e-=_0x4de200[_0x43b9e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x42c45d+=_0x4de200[_0x32155e];}return _0x42c45d;}function _0x540698(){const _0x161a9c=_0x3efa8e[_0x43b9e0([0x73,0x70,0x6c,0x69,0x74])](_0x43b9e0([0x2e]));if(0x3!=_0x161a9c[_0x43b9e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2af226(_0x161a9c[0x1]);function _0x2af226(_0x26c113){const _0x16cffb=_0x56321b(_0x26c113);return _0x16cffb&&_0xa4ab31()?_0x16cffb:null;function _0xa4ab31(){const _0x2d61d9=_0x16cffb[_0x43b9e0([0x6a,0x74,0x69])],_0x4c3c55=window[_0x43b9e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d61d9[_0x43b9e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d61d9[_0x43b9e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x16191d={..._0x16cffb,[_0x43b9e0([0x6a,0x74,0x69])]:_0x2d61d9[_0x43b9e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2d61d9[_0x43b9e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x16191d[_0x43b9e0([0x76,0x63])],_0x5f2685(_0x16191d)==_0x4c3c55;}}}async function _0xb3b2ce(){let _0x53b682=!0x0;try{const _0x5cb48f=_0x3efa8e[_0x43b9e0([0x73,0x70,0x6c,0x69,0x74])](_0x43b9e0([0x2e])),[_0x200a96,_0x24c4cb,_0x9e30b8]=_0x5cb48f;return _0x13d183(_0x200a96),await _0x44667c(_0x200a96,_0x24c4cb,_0x9e30b8),_0x53b682;}catch{return!0x1;}function _0x13d183(_0x40aaf6){const _0x24b527=_0x56321b(_0x40aaf6);_0x24b527&&_0x24b527[_0x43b9e0([0x61,0x6c,0x67])]==_0x43b9e0([0x45,0x53,0x32,0x35,0x36])||(_0x53b682=!0x1);}async function _0x44667c(_0x4fc8ca,_0x15b924,_0x338164){const _0x3060cb=window[_0x43b9e0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x43b9e0([0x66,0x72,0x6f,0x6d])](_0x5885be(_0x338164),_0x631906=>_0x631906[_0x43b9e0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x6b35f4=new window[(_0x43b9e0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x43b9e0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4fc8ca+_0x43b9e0([0x2e])+_0x15b924),_0x4e3c29=window[_0x43b9e0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x43b9e0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e3c29)return;const _0x24e412=await _0x4e3c29[_0x43b9e0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x43b9e0([0x6a,0x77,0x6b]),_0x44a434,{[_0x43b9e0([0x6e,0x61,0x6d,0x65])]:_0x43b9e0([0x45,0x43,0x44,0x53,0x41]),[_0x43b9e0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x43b9e0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x43b9e0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e3c29[_0x43b9e0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x43b9e0([0x6e,0x61,0x6d,0x65])]:_0x43b9e0([0x45,0x43,0x44,0x53,0x41]),[_0x43b9e0([0x68,0x61,0x73,0x68])]:{[_0x43b9e0([0x6e,0x61,0x6d,0x65])]:_0x43b9e0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x24e412,_0x3060cb,_0x6b35f4)||(_0x53b682=!0x1);}}function _0x56321b(_0x4d9fab){return _0x4d9fab[_0x43b9e0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x43b9e0([0x65,0x79]))?JSON[_0x43b9e0([0x70,0x61,0x72,0x73,0x65])](_0x5885be(_0x4d9fab)):null;}function _0x5885be(_0x8d2735){return window[_0x43b9e0([0x61,0x74,0x6f,0x62])](_0x8d2735[_0x43b9e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x43b9e0([0x2b]))[_0x43b9e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x43b9e0([0x2f])));}function _0x5f2685(_0x463939){let _0x2a1b94=0x1505;function _0x51df75(_0x4201d5){for(let _0x2ec8fd=0x0;_0x2ec8fd<_0x4201d5[_0x43b9e0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ec8fd++){const _0x2689ae=_0x4201d5[_0x43b9e0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2ec8fd);_0x2a1b94=(_0x2a1b94<<0x5)+_0x2a1b94+_0x2689ae,_0x2a1b94&=_0x2a1b94;}}function _0x33f9b6(_0x13594f){Array[_0x43b9e0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x13594f)?_0x13594f[_0x43b9e0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33f9b6):_0x13594f&&typeof _0x13594f==_0x43b9e0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x43b9e0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x13594f)[_0x43b9e0([0x73,0x6f,0x72,0x74])]()[_0x43b9e0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x9e16d0,_0x96f6fd])=>{_0x51df75(_0x9e16d0),_0x33f9b6(_0x96f6fd);}):_0x51df75(window[_0x43b9e0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x13594f));}return _0x33f9b6(_0x463939),_0x2a1b94>>>0x0;}function _0x55db93(_0x3c368a){return _0x3c368a[_0x43b9e0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x43b9e0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x43b9e0([0x30]));}function _0x1a0f22(_0x30c685){return _0x30c685[_0x43b9e0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x43b9e0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x43b9e0([0x6a,0x6f,0x69,0x6e])]('');}function _0x1d1126(){}function _0x43b9e0(_0x1b8d04){const _0x4cc1fc=_0x215e;return _0x1b8d04[_0x4cc1fc(0x96)](_0x511694=>String[_0x4cc1fc(0xb9)](_0x511694))[_0x4cc1fc(0xbc)]('');}_0x3d6689(await _0x20d3b7());}(this);}[_0x228e48(0x9d)](){const _0x29cf23=_0x228e48,_0x1ab03d=this[_0x29cf23(0xad)];if(!_0x1ab03d[_0x29cf23(0xb8)][_0x29cf23(0x90)](_0x29cf23(0xb1)))return;const _0x413fcd=_0x1ab03d[_0x29cf23(0xb8)][_0x29cf23(0x90)](_0x29cf23(0x9b))[_0x29cf23(0xa0)](_0x52297e=>_0x29cf23(0xaa)==typeof _0x52297e&&(!_0x2f1695(_0x52297e)&&isNaN(Number(_0x52297e))));if(_0x413fcd[_0x29cf23(0x99)])throw new _0x506324(_0x29cf23(0xac),null,{'namedPresets':_0x413fcd});}[_0x228e48(0x88)](){const _0x5a5b7a=_0x228e48,_0x2e2950=this[_0x5a5b7a(0xad)],_0x2fb2b8=this[_0x5a5b7a(0xad)][_0x5a5b7a(0xb8)][_0x5a5b7a(0x90)](_0x5a5b7a(0x97));_0x2e2950[_0x5a5b7a(0xaf)][_0x5a5b7a(0x9e)](_0x5a5b7a(0x91))[_0x5a5b7a(0x87)]({'model':{'key':_0x5a5b7a(0xab)},'view':_0x243ea9=>String(_0x243ea9)===String(_0x2fb2b8)?null:{'key':_0x5a5b7a(0x8a),'value':{'line-height':_0x243ea9}}}),_0x2e2950[_0x5a5b7a(0xaf)][_0x5a5b7a(0x9e)](_0x5a5b7a(0xbe))[_0x5a5b7a(0x87)]({'model':{'key':_0x5a5b7a(0xab),'value':_0x282515=>{const _0x365c86=_0x5a5b7a;let _0x139be3=_0x282515[_0x365c86(0x98)](_0x365c86(0x9a));return _0x173218(_0x139be3)&&(_0x139be3=String(Number(_0x139be3[_0x365c86(0xb7)](0x0,-0x1))/0x64)),String(_0x139be3)===String(_0x2fb2b8)?null:_0x139be3;}},'view':{'styles':{'line-height':/.*/}}});}[_0x228e48(0xb2)](){const _0x34cc76=_0x228e48,_0x24a7e0=this[_0x34cc76(0xad)],_0x36b1e9=this[_0x34cc76(0xad)][_0x34cc76(0xb8)][_0x34cc76(0x90)](_0x34cc76(0x97)),_0x15cdce=_0xffb39a(this[_0x34cc76(0xad)][_0x34cc76(0xb8)][_0x34cc76(0x90)](_0x34cc76(0xab)))[_0x34cc76(0xa0)](_0x54d5b8=>_0x54d5b8[_0x34cc76(0x9c)]),_0x1868a1=_0x547e7e(_0x34cc76(0xab),_0x15cdce);_0x24a7e0[_0x34cc76(0xaf)][_0x34cc76(0x87)](_0x1868a1),_0x24a7e0[_0x34cc76(0xaf)][_0x34cc76(0x9e)](_0x34cc76(0xbe))[_0x34cc76(0x87)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x34cc76(0xab),'value':_0x3aea20=>{const _0x19d1bf=_0x34cc76;let _0x253dc6=_0x3aea20[_0x19d1bf(0x98)](_0x19d1bf(0x9a));return _0x173218(_0x253dc6)&&(_0x253dc6=String(Number(_0x253dc6[_0x19d1bf(0xb7)](0x0,-0x1))/0x64)),_0x253dc6===String(_0x36b1e9)?null:_0x1868a1[_0x19d1bf(0x9c)][_0x19d1bf(0xa2)][_0x19d1bf(0xb4)](_0x253dc6)?_0x253dc6:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x49c22b}from'ckeditor5/src/core.js';import{addListToDropdown as _0x5da0e5,createDropdown as _0x596a0c,MenuBarMenuListItemButtonView as _0x1eab54,MenuBarMenuListItemView as _0x10bb78,MenuBarMenuListView as _0x4c69bf,MenuBarMenuView as _0x468d7c,UIModel as _0x20bc5f}from'ckeditor5/src/ui.js';import{Collection as _0x419bdc}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x1b37b3}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x49bf64}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x49c22b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1f0f7f={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1f0f7f),this['_registerMenuBarComponent'](_0x1f0f7f),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x392bb9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3c44fd;for(const _0xecca94 in _0x392bb9){const _0x2e986c=_0xecca94,_0x4d5fca=_0x392bb9[_0x2e986c];if('lineHeightLicenseKeyValid'==_0x4d5fca||'lineHeightLicenseKeyInvalid'==_0x4d5fca||'lineHeightLicenseKeyExpired'==_0x4d5fca||'lineHeightLicenseKeyDomainLimit'==_0x4d5fca||'lineHeightLicenseKeyNotAllowed'==_0x4d5fca||'lineHeightLicenseKeyEvaluationLimit'==_0x4d5fca||'lineHeightLicenseKeyTrialLimit'==_0x4d5fca||'lineHeightLicenseKeyUsageLimit'==_0x4d5fca){delete _0x392bb9[_0x2e986c],_0x3c44fd=_0x4d5fca,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x3c44fd&&_0x392bb9['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x3c44fd&&_0x392bb9['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x3c44fd&&_0x392bb9['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x3c44fd&&_0x392bb9['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x3c44fd&&_0x392bb9['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x3c44fd&&_0x392bb9['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x3c44fd&&_0x392bb9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x67f314=this['editor'],t=_0x67f314['t'],_0x92f1a8=_0x67f314['config']['get']('lineHeight'),_0x19c3f={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x49bf64(_0x92f1a8)['map'](_0xc81ef9=>{const _0xfc71e0=_0x19c3f[_0xc81ef9['title']];return _0xfc71e0&&_0xfc71e0!=_0xc81ef9['title']&&(_0xc81ef9=Object['assign']({},_0xc81ef9,{'title':_0xfc71e0})),_0xc81ef9;});}['_prepareListOptions'](){const _0x173e08=this['editor']['commands']['get']('lineHeight'),_0x242039=this['editor']['config']['get']('lineHeight.defaultValue'),_0x45ffd1=this['_getLocalizedLineHeightOptions'](),_0x1a891b=new _0x419bdc(),_0x16c4e3=_0x18e1e8=>'default'===_0x18e1e8||String(_0x242039)===_0x18e1e8;for(const _0x284810 of _0x45ffd1){const _0x46cf68={'type':'button','model':new _0x20bc5f({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x284810['title'],'withText':!0x0})};_0x16c4e3(_0x284810['model'])?(_0x46cf68['model']['bind']('isOn')['to'](_0x173e08,'value',_0x5dfed8=>!_0x5dfed8),_0x46cf68['model']['commandParam']=void 0x0):(_0x46cf68['model']['bind']('isOn')['to'](_0x173e08,'value',_0x1482d1=>_0x1482d1===_0x284810['model']),_0x46cf68['model']['commandParam']=_0x284810['model']),_0x1a891b['add'](_0x46cf68);}if(this['_shouldRenderCustomValueOption']()){const _0x426fb7=this['_getCustomValueOptionDefinition'](_0x45ffd1);_0x1a891b['add'](_0x426fb7);}return _0x1a891b;}['_getCustomValueOptionDefinition'](_0x3400e5){const _0x3c62f9=this['editor'],t=_0x3c62f9['t'],_0x93b3e8=_0x3c62f9['commands']['get']('lineHeight'),_0x4bf319=_0x3400e5['map'](_0x1cd16e=>_0x1cd16e['model']),_0x45fc2c={'type':'button','model':new _0x20bc5f({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x45fc2c['model']['bind']('commandParam')['to'](_0x93b3e8,'value'),_0x45fc2c['model']['bind']('isOn')['to'](_0x93b3e8,'value',_0x3fd952=>!!_0x3fd952&&!_0x4bf319['includes'](String(_0x3fd952))),_0x45fc2c['model']['bind']('label')['to'](_0x93b3e8,'value',_0x37086d=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x37086d))),_0x45fc2c;}['_registerToolbarComponent']({accessibleLabel:_0x5e123b,options:_0x149628}){const _0x468b63=this['editor'],_0x433b42=_0x468b63['commands']['get']('lineHeight');_0x468b63['ui']['componentFactory']['add']('lineHeight',_0x4f0174=>{const _0x585eb0=_0x596a0c(_0x4f0174);return _0x5da0e5(_0x585eb0,_0x149628,{'role':'menu','ariaLabel':_0x5e123b}),_0x585eb0['buttonView']['set']({'label':_0x5e123b,'tooltip':!0x0,'icon':_0x1b37b3}),_0x585eb0['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x585eb0['bind']('isEnabled')['to'](_0x433b42),this['listenTo'](_0x585eb0,'execute',_0x7fe28d=>{_0x468b63['execute'](_0x7fe28d['source']['commandName'],{'value':_0x7fe28d['source']['commandParam']}),_0x468b63['editing']['view']['focus']();}),_0x585eb0['once']('change:isOpen',()=>{const _0x480490=_0x585eb0['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x585eb0,_0x149628,_0x480490);}),_0x585eb0;});}['_registerMenuBarComponent']({accessibleLabel:_0x57995f,options:_0x234442}){const _0xf7bf7c=this['editor'],_0x15be42=_0xf7bf7c['commands']['get']('lineHeight');_0xf7bf7c['ui']['componentFactory']['add']('menuBar:lineHeight',_0x141218=>{const _0x47a3c8=new _0x468d7c(_0x141218);_0x47a3c8['buttonView']['set']({'label':_0x57995f,'icon':_0x1b37b3}),_0x47a3c8['bind']('isEnabled')['to'](_0x15be42);const _0x109954=new _0x4c69bf(_0x141218);for(const _0x410920 of _0x234442){const _0x131cc4=new _0x10bb78(_0x141218,_0x47a3c8),_0xc2573a=new _0x1eab54(_0x141218);_0xc2573a['set']({'role':'menuitemradio','isToggleable':!0x0}),_0xc2573a['bind'](...Object['keys'](_0x410920['model']))['to'](_0x410920['model']),_0xc2573a['delegate']('execute')['to'](_0x47a3c8),_0xc2573a['on']('execute',()=>{_0xf7bf7c['execute'](_0x410920['model']['commandName'],{'value':_0x410920['model']['commandParam']}),_0xf7bf7c['editing']['view']['focus']();}),_0x131cc4['children']['add'](_0xc2573a),_0x109954['items']['add'](_0x131cc4);}return _0x47a3c8['panelView']['children']['add'](_0x109954),this['_attachCustomOptionVisibilityHandler'](_0x47a3c8,_0x234442,_0x109954),_0x47a3c8;});}['_attachCustomOptionVisibilityHandler'](_0x1c52e0,_0x20b434,_0xa08cf2){if(!this['_shouldRenderCustomValueOption']())return;const _0x42f710=()=>{if(!_0x1c52e0['isOpen'])return;_0xa08cf2['items']['last']['isVisible']=Boolean(_0x20b434['last']['model']['isOn']);};_0x42f710(),_0x1c52e0['on']('change:isOpen',()=>{_0x42f710();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x596d(_0x23fb51,_0x1a29ac){const _0x569c59=_0x569c();return _0x596d=function(_0x596d7f,_0x6c0166){_0x596d7f=_0x596d7f-0xbc;let _0x403bea=_0x569c59[_0x596d7f];return _0x403bea;},_0x596d(_0x23fb51,_0x1a29ac);}function _0x569c(){const _0x58a87b=['1545012kNbJsW','49774kahIwo','value','map','97886FIiYcl','values','2319072kkanxh','1847280jEBcfz','push','984385ThQjKA','view','1516644wrBnQf','line-height:','model','double','Double','class','51wnsVUA','toLowerCase','key','options','style','number','line-height-double','defaultValue','single','default','filter','span','line-height-single','string','Single'];_0x569c=function(){return _0x58a87b;};return _0x569c();}(function(_0x56a68a,_0x2b50c0){const _0x2d49d2=_0x596d,_0x4d04ae=_0x56a68a();while(!![]){try{const _0x36ff83=-parseInt(_0x2d49d2(0xc9))/0x1+parseInt(_0x2d49d2(0xc6))/0x2*(-parseInt(_0x2d49d2(0xd6))/0x3)+parseInt(_0x2d49d2(0xc5))/0x4+parseInt(_0x2d49d2(0xce))/0x5+parseInt(_0x2d49d2(0xd0))/0x6+-parseInt(_0x2d49d2(0xcb))/0x7+parseInt(_0x2d49d2(0xcc))/0x8;if(_0x36ff83===_0x2b50c0)break;else _0x4d04ae['push'](_0x4d04ae['shift']());}catch(_0x4d476e){_0x4d04ae['push'](_0x4d04ae['shift']());}}}(_0x569c,0x34619));const v={get 'single'(){const _0x1932bc=_0x596d;return{'title':_0x1932bc(0xc4),'model':_0x1932bc(0xbe),'view':{'key':_0x1932bc(0xd5),'value':_0x1932bc(0xc2)}};},get 'double'(){const _0x1275f9=_0x596d;return{'title':_0x1275f9(0xd4),'model':_0x1275f9(0xd3),'view':{'key':_0x1275f9(0xd5),'value':_0x1275f9(0xbc)}};}};export function isLineHeightDefaultValue(_0x1b9314){const _0x3f3ba4=_0x596d;return _0x3f3ba4(0xc3)==typeof _0x1b9314&&_0x3f3ba4(0xbf)===_0x1b9314[_0x3f3ba4(0xd7)]();}export function normalizeOptions(_0x5cba13){const _0x16a3d9=_0x596d;return _0x5cba13[_0x16a3d9(0xd9)][_0x16a3d9(0xc8)](_0x1e3fa7=>isLineHeightDefaultValue(_0x1e3fa7)?{'title':String(_0x5cba13[_0x16a3d9(0xbd)]),'model':_0x16a3d9(0xbf)}:(_0x16a3d9(0xdb)==typeof _0x1e3fa7&&(_0x1e3fa7=String(_0x1e3fa7)),_0x16a3d9(0xc3)!=typeof _0x1e3fa7?_0x1e3fa7:parseFloat(_0x1e3fa7)?{'title':_0x1e3fa7,'model':_0x1e3fa7,'view':{'name':_0x16a3d9(0xc1),'styles':{'line-height':_0x1e3fa7}}}:findPreset(_0x1e3fa7)))[_0x16a3d9(0xc0)](_0x4e9c8c=>void 0x0!==_0x4e9c8c);}export function findPreset(_0x1903c6){const _0x11fb57=_0x596d;return _0x11fb57(0xc3)==typeof _0x1903c6?v[_0x1903c6]:v[_0x1903c6[_0x11fb57(0xd2)]];}export function buildDefinition(_0x1ebcc6,_0x1fe491){const _0x21c2ef=_0x596d,_0x329120={'model':{'key':_0x1ebcc6,'values':[]},'view':{}};for(const _0x474f56 of _0x1fe491)_0x21c2ef(0xd5)===_0x474f56[_0x21c2ef(0xcf)]?.[_0x21c2ef(0xd8)]?(_0x329120[_0x21c2ef(0xd2)][_0x21c2ef(0xca)][_0x21c2ef(0xcd)](_0x474f56[_0x21c2ef(0xd2)]),_0x329120[_0x21c2ef(0xcf)][_0x474f56[_0x21c2ef(0xd2)]]={'key':_0x21c2ef(0xd5),'value':_0x474f56[_0x21c2ef(0xcf)][_0x21c2ef(0xc7)]}):(_0x329120[_0x21c2ef(0xd2)][_0x21c2ef(0xca)][_0x21c2ef(0xcd)](_0x474f56[_0x21c2ef(0xd2)]),_0x329120[_0x21c2ef(0xcf)][_0x474f56[_0x21c2ef(0xd2)]]={'key':_0x21c2ef(0xda),'value':_0x21c2ef(0xd1)+_0x474f56[_0x21c2ef(0xd2)]+';'});return _0x329120;}
|