@ckeditor/ckeditor5-line-height 0.0.0-nightly-20251007.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
|
-
const
|
|
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
|
-
const _0x30cea4=_0x30ac;(function(_0x4c3e6b,_0x140c69){const _0x5e4d65=_0x30ac,_0x19c4f3=_0x4c3e6b();while(!![]){try{const _0x188f76=parseInt(_0x5e4d65(0x156))/0x1+parseInt(_0x5e4d65(0x145))/0x2*(-parseInt(_0x5e4d65(0x14f))/0x3)+parseInt(_0x5e4d65(0x146))/0x4*(parseInt(_0x5e4d65(0x143))/0x5)+-parseInt(_0x5e4d65(0x164))/0x6*(parseInt(_0x5e4d65(0x175))/0x7)+parseInt(_0x5e4d65(0x155))/0x8*(parseInt(_0x5e4d65(0x157))/0x9)+-parseInt(_0x5e4d65(0x172))/0xa*(-parseInt(_0x5e4d65(0x161))/0xb)+parseInt(_0x5e4d65(0x169))/0xc*(-parseInt(_0x5e4d65(0x154))/0xd);if(_0x188f76===_0x140c69)break;else _0x19c4f3['push'](_0x19c4f3['shift']());}catch(_0x202462){_0x19c4f3['push'](_0x19c4f3['shift']());}}}(_0x1ba5,0xd41a1));import{Plugin as _0x17fc00}from'ckeditor5/src/core.js';function _0x30ac(_0x50640c,_0x2ff772){const _0x1ba527=_0x1ba5();return _0x30ac=function(_0x30aca0,_0x32dfbc){_0x30aca0=_0x30aca0-0x13d;let _0x54087d=_0x1ba527[_0x30aca0];return _0x54087d;},_0x30ac(_0x50640c,_0x2ff772);}import{LineHeightCommand as _0x2c4e58}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x19ec4d}from'ckeditor5/src/engine.js';import{uid as _0x587c44,CKEditorError as _0x401db9}from'ckeditor5/src/utils.js';import{buildDefinition as _0x3e04a1,isLineHeightDefaultValue as _0x38610f,normalizeOptions as _0x316280}from'./utils.js';function _0x1ba5(){const _0x2ac296=['config','_preparePredefinedConverters','for','slice','isPremiumPlugin','1965kYIhbS','get','_validateConfig','lineHeight.options','href','18161DLTLgL','8CQIPwb','1080826YgvYnL','12910977nyNlGU','upcast','model','downcast','conversion','LineHeightEditing','setAttributeProperties','fromCharCode','_prepareAnyValueConverters','line-height','3047MnHWSC','join','add','30732yXIZUl','pluginName','filter','includes','style','11244CObRsh','string','getStyle','extend','lineHeight.defaultValue','commands','attributeToAttribute','afterInit','define','16670QCwnUM','init','editor','1449GRhRuh','map','isOfficialPlugin','line-height-invalid-use-of-named-presets','$block','length','values','7418795Fiwcpy','schema','3734vkyWBo','4OEdlGp','default','lineHeight.supportAllValues','lineHeight'];_0x1ba5=function(){return _0x2ac296;};return _0x1ba5();}export class LineHeightEditing extends _0x17fc00{static get[_0x30cea4(0x165)](){const _0x38e6a5=_0x30cea4;return _0x38e6a5(0x15c);}static get[_0x30cea4(0x13e)](){return!0x0;}static get[_0x30cea4(0x14e)](){return!0x0;}constructor(_0x5ae288){const _0x41ae8d=_0x30cea4;super(_0x5ae288),_0x5ae288[_0x41ae8d(0x14a)][_0x41ae8d(0x171)](_0x41ae8d(0x149),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x41ae8d(0x147),0x2,2.5,0x3]});}[_0x30cea4(0x173)](){const _0x1f3fd2=_0x30cea4,_0x40f740=this[_0x1f3fd2(0x174)];this[_0x1f3fd2(0x151)](),_0x40f740[_0x1f3fd2(0x159)][_0x1f3fd2(0x144)][_0x1f3fd2(0x16c)](_0x1f3fd2(0x140),{'allowAttributes':_0x1f3fd2(0x149)}),_0x40f740[_0x1f3fd2(0x159)][_0x1f3fd2(0x144)][_0x1f3fd2(0x15d)](_0x1f3fd2(0x149),{'isFormatting':!0x0}),_0x40f740[_0x1f3fd2(0x16e)][_0x1f3fd2(0x163)](_0x1f3fd2(0x149),new _0x2c4e58(_0x40f740)),this[_0x1f3fd2(0x174)][_0x1f3fd2(0x14a)][_0x1f3fd2(0x150)](_0x1f3fd2(0x148))?this[_0x1f3fd2(0x15f)]():this[_0x1f3fd2(0x14b)]();}[_0x30cea4(0x170)](){!async function(_0x4365b9){const _0x3f840a=_0x26f619([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]),_0x4db7e1=0x4597e011,_0x47b44c=0x45909591^_0x4db7e1,_0x304622=window[_0x26f619([0x44,0x61,0x74,0x65])][_0x26f619([0x6e,0x6f,0x77])](),_0x59983c=_0x4365b9[_0x26f619([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2ad3e4=new window[(_0x26f619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22c620=>{_0x59983c[_0x26f619([0x6f,0x6e,0x63,0x65])](_0x26f619([0x72,0x65,0x61,0x64,0x79]),_0x22c620);}),_0x4f5f13={[_0x26f619([0x6b,0x74,0x79])]:_0x26f619([0x45,0x43]),[_0x26f619([0x75,0x73,0x65])]:_0x26f619([0x73,0x69,0x67]),[_0x26f619([0x63,0x72,0x76])]:_0x26f619([0x50,0x2d,0x32,0x35,0x36]),[_0x26f619([0x78])]:_0x26f619([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]),[_0x26f619([0x79])]:_0x26f619([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]),[_0x26f619([0x61,0x6c,0x67])]:_0x26f619([0x45,0x53,0x32,0x35,0x36])},_0x52975e=_0x59983c[_0x26f619([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x26f619([0x67,0x65,0x74])](_0x26f619([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x29a5ba(){let _0x32b876,_0x395a44=null,_0x189def=null;try{if(_0x52975e==_0x26f619([0x47,0x50,0x4c]))return _0x26f619([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x32b876=_0xcd82f8(),!_0x32b876)return _0x26f619([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x32b876[_0x26f619([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x189def=_0x236308(_0x32b876[_0x26f619([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x32b876[_0x26f619([0x6a,0x74,0x69])])),await _0x32dc8b()?_0xbd51d7()?_0x1b0a7e()?_0x26f619([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1bc935()?(_0x32b876[_0x26f619([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x26f619([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x395a44=_0x50085d(_0x26f619([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x32b876[_0x26f619([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x26f619([0x74,0x72,0x69,0x61,0x6c])&&(_0x395a44=_0x50085d(_0x26f619([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5d1939()):_0x26f619([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x26f619([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x26f619([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x26f619([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1b0a7e(){const _0x18e2db=[_0x26f619([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x26f619([0x74,0x72,0x69,0x61,0x6c])][_0x26f619([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32b876[_0x26f619([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x304622/0x3e8:0xe10*_0x47b44c;return _0x32b876[_0x26f619([0x65,0x78,0x70])]<_0x18e2db;}function _0xbd51d7(){const _0x26df12=_0x32b876[_0x26f619([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x26df12&&(!!_0x26df12[_0x26f619([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26f619([0x2a]))||!!_0x26df12[_0x26f619([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26f619([0x4c,0x48])));}function _0x1bc935(){const _0x53de6c=_0x30ac,_0x278f10=_0x32b876[_0x26f619([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x278f10||0x0==_0x278f10[_0x26f619([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d8208}=new URL(window[_0x26f619([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x53de6c(0x153)]);if(_0x278f10[_0x26f619([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d8208))return!0x0;const _0xf1c58e=_0x1d8208[_0x26f619([0x73,0x70,0x6c,0x69,0x74])](_0x26f619([0x2e]));return _0x278f10[_0x26f619([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x502150=>_0x502150[_0x26f619([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26f619([0x2a])))[_0x26f619([0x6d,0x61,0x70])](_0x33788e=>_0x33788e[_0x26f619([0x73,0x70,0x6c,0x69,0x74])](_0x26f619([0x2e])))[_0x26f619([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf91039=>_0xf91039[_0x26f619([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xf1c58e[_0x26f619([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x26f619([0x6d,0x61,0x70])](_0x130961=>Array(_0xf1c58e[_0x26f619([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x130961[_0x26f619([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x26f619([0x66,0x69,0x6c,0x6c])](_0x130961[0x0]===_0x26f619([0x2a])?_0x26f619([0x2a]):'')[_0x26f619([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x130961))[_0x26f619([0x73,0x6f,0x6d,0x65])](_0x293379=>_0xf1c58e[_0x26f619([0x65,0x76,0x65,0x72,0x79])]((_0x81b28a,_0x52844f)=>_0x293379[_0x52844f]===_0x81b28a||_0x293379[_0x52844f]===_0x26f619([0x2a])));}function _0x5d1939(){return _0x395a44&&_0x189def?new window[(_0x26f619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d1983,_0x198714)=>{_0x395a44[_0x26f619([0x74,0x68,0x65,0x6e])](_0x1d1983,_0x198714),_0x189def[_0x26f619([0x74,0x68,0x65,0x6e])](_0x2a3ed6=>{_0x2a3ed6!=_0x26f619([0x56,0x61,0x6c,0x69,0x64])&&_0x1d1983(_0x2a3ed6);},_0x198714);}):_0x395a44||_0x189def||_0x26f619([0x56,0x61,0x6c,0x69,0x64]);}}function _0x236308(_0x1609fe,_0x52dae5){return new window[(_0x26f619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41fc18=>{if(_0x518090())return _0x41fc18(_0x26f619([0x56,0x61,0x6c,0x69,0x64]));_0x4af04c(),_0x59983c[_0x26f619([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x26f619([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2667ca=!0x1;const _0x2b5af9=_0x587c44();function _0x57d1bb(_0x2d70d0){return!!_0x2d70d0&&(typeof _0x2d70d0===_0x26f619([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2d70d0===_0x26f619([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2d70d0[_0x26f619([0x74,0x68,0x65,0x6e])]===_0x26f619([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2d70d0[_0x26f619([0x63,0x61,0x74,0x63,0x68])]===_0x26f619([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x507efe(_0xd78b13){_0x7fe58d(_0xd78b13)[_0x26f619([0x74,0x68,0x65,0x6e])](_0x344304=>{if(!_0x344304||_0x344304[_0x26f619([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x26f619([0x6f,0x6b]))return _0x26f619([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3fef3a(_0x46f412(_0x2b5af9+_0x52dae5))!=_0x344304[_0x26f619([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x26f619([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x26f619([0x56,0x61,0x6c,0x69,0x64]);})[_0x26f619([0x74,0x68,0x65,0x6e])](_0x354603=>(_0x2e2f76(),_0x354603),()=>{const _0x2a0354=_0x221cc5();return null==_0x2a0354?(_0x2e2f76(),_0x26f619([0x56,0x61,0x6c,0x69,0x64])):_0x26f619(_0x304622-_0x2a0354>(0x619b6411^_0x4db7e1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x26f619([0x74,0x68,0x65,0x6e])](_0x41fc18)[_0x26f619([0x63,0x61,0x74,0x63,0x68])](()=>{_0x41fc18(_0x26f619([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1058d7=0x45a10e91^_0x4db7e1;function _0x2e2f76(){const _0x5cf913=_0x26f619([0x6c,0x6c,0x63,0x74,0x2d])+_0x3fef3a(_0x46f412(_0x1609fe)),_0x6f9a47=_0x3df295(_0x3fef3a(window[_0x26f619([0x4d,0x61,0x74,0x68])][_0x26f619([0x63,0x65,0x69,0x6c])](_0x304622/_0x1058d7)));window[_0x26f619([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x26f619([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5cf913,_0x6f9a47);}function _0x221cc5(){const _0x2dd310=_0x26f619([0x6c,0x6c,0x63,0x74,0x2d])+_0x3fef3a(_0x46f412(_0x1609fe)),_0x407198=window[_0x26f619([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x26f619([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2dd310);return _0x407198?window[_0x26f619([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3df295(_0x407198),0x10)*_0x1058d7:null;}function _0x7fe58d(_0x22cf8d){return new window[(_0x26f619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x284a8b,_0x20af3b)=>{_0x22cf8d[_0x26f619([0x74,0x68,0x65,0x6e])](_0x284a8b,_0x20af3b),window[_0x26f619([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x20af3b,0x459634d1^_0x4db7e1);});}}_0x59983c[_0x26f619([0x6f,0x6e])](_0x26f619([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x364a36,_0x44296f)=>{if(_0x44296f[0x0]!=_0x1609fe)return _0x41fc18(_0x26f619([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x44296f[0x1]={..._0x44296f[0x1],[_0x26f619([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2b5af9};},{[_0x26f619([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x26f619([0x68,0x69,0x67,0x68])}),_0x59983c[_0x26f619([0x6f,0x6e])](_0x26f619([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x258573=>{_0x57d1bb(_0x258573[_0x26f619([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2667ca=!0x0,_0x507efe(_0x258573[_0x26f619([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x26f619([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x26f619([0x6c,0x6f,0x77])}),_0x2ad3e4[_0x26f619([0x74,0x68,0x65,0x6e])](()=>{_0x2667ca||_0x41fc18(_0x26f619([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x518090(){return _0x59983c[_0x26f619([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x26f619([0x76,0x69,0x65,0x77])][_0x26f619([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x26f619([0x61,0x75,0x74,0x6f]);}function _0x4af04c(){_0x59983c[_0x26f619([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x26f619([0x76,0x69,0x65,0x77])][_0x26f619([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x26f619([0x61,0x75,0x74,0x6f]);}}function _0x50085d(_0x1712c3){const _0x551a4c=[new window[(_0x26f619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1093f8=>setTimeout(_0x1093f8,0x459ededd^_0x4db7e1)),_0x2ad3e4[_0x26f619([0x74,0x68,0x65,0x6e])](()=>new window[(_0x26f619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4216fb=>{let _0x5c259f=0x0;_0x59983c[_0x26f619([0x6d,0x6f,0x64,0x65,0x6c])][_0x26f619([0x6f,0x6e])](_0x26f619([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xff2467,_0xfb55c2)=>{_0xfb55c2[0x0][_0x26f619([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5c259f++,_0x5c259f==(0x4597e1e9^_0x4db7e1)&&(_0x4216fb(),_0xff2467[_0x26f619([0x6f,0x66,0x66])]());});}))];return window[_0x26f619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x26f619([0x72,0x61,0x63,0x65])](_0x551a4c)[_0x26f619([0x74,0x68,0x65,0x6e])](()=>_0x1712c3);}async function _0x420246(){await _0x2ad3e4,_0x59983c[_0x26f619([0x6d,0x6f,0x64,0x65,0x6c])][_0x26f619([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5041aa,_0x59983c[_0x26f619([0x6d,0x6f,0x64,0x65,0x6c])][_0x26f619([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5041aa,_0x59983c[_0x26f619([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x26f619([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5af900(_0x47e33c){const _0x299ebd=_0x3711d5();_0x59983c[_0x299ebd]=_0x26f619([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x47e33c,_0x47e33c!=_0x26f619([0x56,0x61,0x6c,0x69,0x64])&&_0x420246();}function _0x3711d5(){const _0x384a3e=window[_0x26f619([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x26f619([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x26f619([0x6e,0x6f,0x77])]())[_0x26f619([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x26f619([0x2e]),'');let _0x285c5a=_0x26f619([0x51]);for(let _0x4a16bf=0x0;_0x4a16bf<_0x384a3e[_0x26f619([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a16bf+=0x2){let _0x2e9eab=window[_0x26f619([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x384a3e[_0x26f619([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a16bf,_0x4a16bf+0x2));_0x2e9eab>=_0x3f840a[_0x26f619([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2e9eab-=_0x3f840a[_0x26f619([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x285c5a+=_0x3f840a[_0x2e9eab];}return _0x285c5a;}function _0xcd82f8(){const _0x2cd8ce=_0x52975e[_0x26f619([0x73,0x70,0x6c,0x69,0x74])](_0x26f619([0x2e]));if(0x3!=_0x2cd8ce[_0x26f619([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a05b0(_0x2cd8ce[0x1]);function _0x1a05b0(_0x10116b){const _0x5bdce4=_0x4e4f36(_0x10116b);return _0x5bdce4&&_0x13f87c()?_0x5bdce4:null;function _0x13f87c(){const _0x4b8b30=_0x5bdce4[_0x26f619([0x6a,0x74,0x69])],_0x34c87d=window[_0x26f619([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b8b30[_0x26f619([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b8b30[_0x26f619([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x24399f={..._0x5bdce4,[_0x26f619([0x6a,0x74,0x69])]:_0x4b8b30[_0x26f619([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4b8b30[_0x26f619([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x24399f[_0x26f619([0x76,0x63])],_0x46f412(_0x24399f)==_0x34c87d;}}}async function _0x32dc8b(){let _0x55dc5e=!0x0;try{const _0x4b648c=_0x52975e[_0x26f619([0x73,0x70,0x6c,0x69,0x74])](_0x26f619([0x2e])),[_0x22ac34,_0x5bc7bf,_0x155078]=_0x4b648c;return _0x1fc126(_0x22ac34),await _0xcda73d(_0x22ac34,_0x5bc7bf,_0x155078),_0x55dc5e;}catch{return!0x1;}function _0x1fc126(_0x4b71e8){const _0x54907d=_0x4e4f36(_0x4b71e8);_0x54907d&&_0x54907d[_0x26f619([0x61,0x6c,0x67])]==_0x26f619([0x45,0x53,0x32,0x35,0x36])||(_0x55dc5e=!0x1);}async function _0xcda73d(_0x2ca821,_0x1991b2,_0x5a9185){const _0x3d75af=window[_0x26f619([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x26f619([0x66,0x72,0x6f,0x6d])](_0x3f0e7e(_0x5a9185),_0x19663c=>_0x19663c[_0x26f619([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e0be1=new window[(_0x26f619([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x26f619([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2ca821+_0x26f619([0x2e])+_0x1991b2),_0x3c164a=window[_0x26f619([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x26f619([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3c164a)return;const _0x389271=await _0x3c164a[_0x26f619([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x26f619([0x6a,0x77,0x6b]),_0x4f5f13,{[_0x26f619([0x6e,0x61,0x6d,0x65])]:_0x26f619([0x45,0x43,0x44,0x53,0x41]),[_0x26f619([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x26f619([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x26f619([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3c164a[_0x26f619([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x26f619([0x6e,0x61,0x6d,0x65])]:_0x26f619([0x45,0x43,0x44,0x53,0x41]),[_0x26f619([0x68,0x61,0x73,0x68])]:{[_0x26f619([0x6e,0x61,0x6d,0x65])]:_0x26f619([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x389271,_0x3d75af,_0x5e0be1)||(_0x55dc5e=!0x1);}}function _0x4e4f36(_0x1bf991){return _0x1bf991[_0x26f619([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x26f619([0x65,0x79]))?JSON[_0x26f619([0x70,0x61,0x72,0x73,0x65])](_0x3f0e7e(_0x1bf991)):null;}function _0x3f0e7e(_0x6652cd){return window[_0x26f619([0x61,0x74,0x6f,0x62])](_0x6652cd[_0x26f619([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x26f619([0x2b]))[_0x26f619([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x26f619([0x2f])));}function _0x46f412(_0x3d9396){let _0x1538f8=0x1505;function _0x203185(_0x1dda31){for(let _0x5b2f59=0x0;_0x5b2f59<_0x1dda31[_0x26f619([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b2f59++){const _0x272035=_0x1dda31[_0x26f619([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b2f59);_0x1538f8=(_0x1538f8<<0x5)+_0x1538f8+_0x272035,_0x1538f8&=_0x1538f8;}}function _0x533e1b(_0x425e77){Array[_0x26f619([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x425e77)?_0x425e77[_0x26f619([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x533e1b):_0x425e77&&typeof _0x425e77==_0x26f619([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x26f619([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x425e77)[_0x26f619([0x73,0x6f,0x72,0x74])]()[_0x26f619([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2e268c,_0x22e47f])=>{_0x203185(_0x2e268c),_0x533e1b(_0x22e47f);}):_0x203185(window[_0x26f619([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x425e77));}return _0x533e1b(_0x3d9396),_0x1538f8>>>0x0;}function _0x3fef3a(_0x591144){return _0x591144[_0x26f619([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x26f619([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x26f619([0x30]));}function _0x3df295(_0x45edf1){return _0x45edf1[_0x26f619([0x73,0x70,0x6c,0x69,0x74])]('')[_0x26f619([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x26f619([0x6a,0x6f,0x69,0x6e])]('');}function _0x5041aa(){}function _0x26f619(_0x5281ed){const _0x4ab949=_0x30ac;return _0x5281ed[_0x4ab949(0x13d)](_0x21bed7=>String[_0x4ab949(0x15e)](_0x21bed7))[_0x4ab949(0x162)]('');}_0x5af900(await _0x29a5ba());}(this);}[_0x30cea4(0x151)](){const _0xde7fb=_0x30cea4,_0x312655=this[_0xde7fb(0x174)];if(!_0x312655[_0xde7fb(0x14a)][_0xde7fb(0x150)](_0xde7fb(0x148)))return;const _0x20b59c=_0x312655[_0xde7fb(0x14a)][_0xde7fb(0x150)](_0xde7fb(0x152))[_0xde7fb(0x166)](_0x3989b7=>_0xde7fb(0x16a)==typeof _0x3989b7&&(!_0x38610f(_0x3989b7)&&isNaN(Number(_0x3989b7))));if(_0x20b59c[_0xde7fb(0x141)])throw new _0x401db9(_0xde7fb(0x13f),null,{'namedPresets':_0x20b59c});}[_0x30cea4(0x15f)](){const _0x51c11f=_0x30cea4,_0x43481e=this[_0x51c11f(0x174)],_0x21b302=this[_0x51c11f(0x174)][_0x51c11f(0x14a)][_0x51c11f(0x150)](_0x51c11f(0x16d));_0x43481e[_0x51c11f(0x15b)][_0x51c11f(0x14c)](_0x51c11f(0x15a))[_0x51c11f(0x16f)]({'model':{'key':_0x51c11f(0x149)},'view':_0x126ff7=>String(_0x126ff7)===String(_0x21b302)?null:{'key':_0x51c11f(0x168),'value':{'line-height':_0x126ff7}}}),_0x43481e[_0x51c11f(0x15b)][_0x51c11f(0x14c)](_0x51c11f(0x158))[_0x51c11f(0x16f)]({'model':{'key':_0x51c11f(0x149),'value':_0x4f3841=>{const _0x2e7eca=_0x51c11f;let _0x20dd5d=_0x4f3841[_0x2e7eca(0x16b)](_0x2e7eca(0x160));return _0x19ec4d(_0x20dd5d)&&(_0x20dd5d=String(Number(_0x20dd5d[_0x2e7eca(0x14d)](0x0,-0x1))/0x64)),String(_0x20dd5d)===String(_0x21b302)?null:_0x20dd5d;}},'view':{'styles':{'line-height':/.*/}}});}[_0x30cea4(0x14b)](){const _0x543880=_0x30cea4,_0x122d5e=this[_0x543880(0x174)],_0x5d804a=this[_0x543880(0x174)][_0x543880(0x14a)][_0x543880(0x150)](_0x543880(0x16d)),_0x58c9a3=_0x316280(this[_0x543880(0x174)][_0x543880(0x14a)][_0x543880(0x150)](_0x543880(0x149)))[_0x543880(0x166)](_0x5c6004=>_0x5c6004[_0x543880(0x159)]),_0x84a867=_0x3e04a1(_0x543880(0x149),_0x58c9a3);_0x122d5e[_0x543880(0x15b)][_0x543880(0x16f)](_0x84a867),_0x122d5e[_0x543880(0x15b)][_0x543880(0x14c)](_0x543880(0x158))[_0x543880(0x16f)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x543880(0x149),'value':_0x263ff2=>{const _0x268ae5=_0x543880;let _0x37e058=_0x263ff2[_0x268ae5(0x16b)](_0x268ae5(0x160));return _0x19ec4d(_0x37e058)&&(_0x37e058=String(Number(_0x37e058[_0x268ae5(0x14d)](0x0,-0x1))/0x64)),_0x37e058===String(_0x5d804a)?null:_0x84a867[_0x268ae5(0x159)][_0x268ae5(0x142)][_0x268ae5(0x167)](_0x37e058)?_0x37e058: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;}
|