@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250904.0 → 0.0.0-nightly-20250906.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x512db8=_0x4bd2;function _0x4bd2(_0x30c7d7,_0x360fc2){const _0x4ad897=_0x4ad8();return _0x4bd2=function(_0x4bd294,_0x41c87a){_0x4bd294=_0x4bd294-0x1e5;let _0x324512=_0x4ad897[_0x4bd294];return _0x324512;},_0x4bd2(_0x30c7d7,_0x360fc2);}function _0x4ad8(){const _0x45de88=['2fLXPIP','change','getSelectedBlocks','document','1584hYNMFc','removeAttribute','50875OPwuIA','checkAttribute','113235OpYJbA','292070Zohxkc','lineHeight','4597272ThVofr','setAttribute','value','schema','selection','7DtlVYB','56ZSOoCK','413682LPrqtd','isEnabled','651789vgSzUe','from','_canHaveLineHeight','filter','refresh','getAttribute','model','execute','editor','63077TSoEia','126ZTuQSp'];_0x4ad8=function(){return _0x45de88;};return _0x4ad8();}(function(_0x5e10f7,_0x5e84ed){const _0xe0b1aa=_0x4bd2,_0x167178=_0x5e10f7();while(!![]){try{const _0x502e4a=parseInt(_0xe0b1aa(0x1f5))/0x1*(parseInt(_0xe0b1aa(0x1f7))/0x2)+-parseInt(_0xe0b1aa(0x1ec))/0x3+parseInt(_0xe0b1aa(0x1e9))/0x4*(-parseInt(_0xe0b1aa(0x1ff))/0x5)+-parseInt(_0xe0b1aa(0x1ea))/0x6*(-parseInt(_0xe0b1aa(0x1e8))/0x7)+parseInt(_0xe0b1aa(0x202))/0x8+-parseInt(_0xe0b1aa(0x1f6))/0x9*(parseInt(_0xe0b1aa(0x200))/0xa)+-parseInt(_0xe0b1aa(0x1fd))/0xb*(-parseInt(_0xe0b1aa(0x1fb))/0xc);if(_0x502e4a===_0x5e84ed)break;else _0x167178['push'](_0x167178['shift']());}catch(_0x10f54f){_0x167178['push'](_0x167178['shift']());}}}(_0x4ad8,0x5b4cc));import{Command as _0x1cb71c}from'ckeditor5/src/core.js';import{first as _0x3f860f}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x1cb71c{[_0x512db8(0x1f0)](){const _0x268a33=_0x512db8,_0x441234=this[_0x268a33(0x1f4)][_0x268a33(0x1f2)][_0x268a33(0x1fa)],_0x1246a6=_0x3f860f(_0x441234[_0x268a33(0x1e7)][_0x268a33(0x1f9)]());this[_0x268a33(0x1eb)]=Boolean(_0x1246a6)&&this[_0x268a33(0x1ee)](_0x1246a6),this[_0x268a33(0x1e5)]=this[_0x268a33(0x1eb)]&&_0x1246a6[_0x268a33(0x1f1)](_0x268a33(0x201));}[_0x512db8(0x1f3)](_0x1893d5={}){const _0xf2e97=_0x512db8,_0x76680f=this[_0xf2e97(0x1f4)][_0xf2e97(0x1f2)],_0x1806df=_0x76680f[_0xf2e97(0x1fa)][_0xf2e97(0x1e7)],_0x359440=_0x1893d5[_0xf2e97(0x1e5)];_0x76680f[_0xf2e97(0x1f8)](_0x3a2178=>{const _0x30a8af=_0xf2e97,_0x2e9164=Array[_0x30a8af(0x1ed)](_0x1806df[_0x30a8af(0x1f9)]())[_0x30a8af(0x1ef)](_0x401f14=>this[_0x30a8af(0x1ee)](_0x401f14));for(const _0x2c6e52 of _0x2e9164)_0x359440?_0x3a2178[_0x30a8af(0x203)](_0x30a8af(0x201),_0x359440,_0x2c6e52):_0x3a2178[_0x30a8af(0x1fc)](_0x30a8af(0x201),_0x2c6e52);});}[_0x512db8(0x1ee)](_0x273f83){const _0x39c573=_0x512db8;return this[_0x39c573(0x1f4)][_0x39c573(0x1f2)][_0x39c573(0x1e6)][_0x39c573(0x1fe)](_0x273f83,_0x39c573(0x201));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3c1de4=_0x5b83;(function(_0x5de7de,_0x2ebbc8){const _0x3387b8=_0x5b83,_0x425b9c=_0x5de7de();while(!![]){try{const _0x234d36=parseInt(_0x3387b8(0xd1))/0x1+parseInt(_0x3387b8(0xab))/0x2*(parseInt(_0x3387b8(0xb6))/0x3)+parseInt(_0x3387b8(0xc2))/0x4+parseInt(_0x3387b8(0xca))/0x5*(-parseInt(_0x3387b8(0xcc))/0x6)+parseInt(_0x3387b8(0xdf))/0x7*(-parseInt(_0x3387b8(0xd0))/0x8)+-parseInt(_0x3387b8(0xb5))/0x9*(-parseInt(_0x3387b8(0xc6))/0xa)+-parseInt(_0x3387b8(0xcd))/0xb;if(_0x234d36===_0x2ebbc8)break;else _0x425b9c['push'](_0x425b9c['shift']());}catch(_0x464eed){_0x425b9c['push'](_0x425b9c['shift']());}}}(_0x5a5e,0x60870));import{Plugin as _0x316b8b}from'ckeditor5/src/core.js';function _0x5b83(_0x32c730,_0x5a0e2c){const _0x5a5ec1=_0x5a5e();return _0x5b83=function(_0x5b83e3,_0x528860){_0x5b83e3=_0x5b83e3-0xaa;let _0x4a28c2=_0x5a5ec1[_0x5b83e3];return _0x4a28c2;},_0x5b83(_0x32c730,_0x5a0e2c);}import{LineHeightCommand as _0x5ce1fe}from'./lineheightcommand.js';function _0x5a5e(){const _0x13fec9=['633295vNSzSN','map','style','lineHeight.options','model','href','_validateConfig','getStyle','define','includes','lineHeight','add','lineHeight.supportAllValues','line-height-invalid-use-of-named-presets','585172nwmrWj','_prepareAnyValueConverters','fromCharCode','2RyfzWr','$block','afterInit','LineHeightEditing','values','schema','init','commands','pluginName','default','54vfgmKh','1021890EqaaXy','filter','join','config','line-height','slice','extend','string','setAttributeProperties','isPremiumPlugin','downcast','get','2663804fwRYiO','conversion','length','isOfficialPlugin','1175150runcoD','editor','for','lineHeight.defaultValue','135LJdLDF','_preparePredefinedConverters','108048KVFsPs','12418890cscwXz','attributeToAttribute','upcast','32SZQbHU'];_0x5a5e=function(){return _0x13fec9;};return _0x5a5e();}import{isPercentageStyleValue as _0x47fbf9}from'ckeditor5/src/engine.js';import{uid as _0x14895b,CKEditorError as _0x341202}from'ckeditor5/src/utils.js';import{buildDefinition as _0x57ca81,isLineHeightDefaultValue as _0x358806,normalizeOptions as _0x5d495e}from'./utils.js';export class LineHeightEditing extends _0x316b8b{static get[_0x3c1de4(0xb3)](){const _0x450ce6=_0x3c1de4;return _0x450ce6(0xae);}static get[_0x3c1de4(0xc5)](){return!0x0;}static get[_0x3c1de4(0xbf)](){return!0x0;}constructor(_0x1021dd){const _0xc63568=_0x3c1de4;super(_0x1021dd),_0x1021dd[_0xc63568(0xb9)][_0xc63568(0xd9)](_0xc63568(0xdb),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0xc63568(0xb4),0x2,2.5,0x3]});}[_0x3c1de4(0xb1)](){const _0x43769e=_0x3c1de4,_0x467960=this[_0x43769e(0xc7)];this[_0x43769e(0xd7)](),_0x467960[_0x43769e(0xd5)][_0x43769e(0xb0)][_0x43769e(0xbc)](_0x43769e(0xac),{'allowAttributes':_0x43769e(0xdb)}),_0x467960[_0x43769e(0xd5)][_0x43769e(0xb0)][_0x43769e(0xbe)](_0x43769e(0xdb),{'isFormatting':!0x0}),_0x467960[_0x43769e(0xb2)][_0x43769e(0xdc)](_0x43769e(0xdb),new _0x5ce1fe(_0x467960)),this[_0x43769e(0xc7)][_0x43769e(0xb9)][_0x43769e(0xc1)](_0x43769e(0xdd))?this[_0x43769e(0xe0)]():this[_0x43769e(0xcb)]();}[_0x3c1de4(0xad)](){!async function(_0x1dfd47){const _0x3d05a3=_0x2f46b0([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]),_0x12d952=0x4597e011,_0x18db56=0x45909279^_0x12d952,_0x17b08a=window[_0x2f46b0([0x44,0x61,0x74,0x65])][_0x2f46b0([0x6e,0x6f,0x77])](),_0x444d35=_0x1dfd47[_0x2f46b0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x32142b=new window[(_0x2f46b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ceac2=>{_0x444d35[_0x2f46b0([0x6f,0x6e,0x63,0x65])](_0x2f46b0([0x72,0x65,0x61,0x64,0x79]),_0x2ceac2);}),_0x338e41={[_0x2f46b0([0x6b,0x74,0x79])]:_0x2f46b0([0x45,0x43]),[_0x2f46b0([0x75,0x73,0x65])]:_0x2f46b0([0x73,0x69,0x67]),[_0x2f46b0([0x63,0x72,0x76])]:_0x2f46b0([0x50,0x2d,0x32,0x35,0x36]),[_0x2f46b0([0x78])]:_0x2f46b0([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]),[_0x2f46b0([0x79])]:_0x2f46b0([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]),[_0x2f46b0([0x61,0x6c,0x67])]:_0x2f46b0([0x45,0x53,0x32,0x35,0x36])},_0x5194e2=_0x444d35[_0x2f46b0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2f46b0([0x67,0x65,0x74])](_0x2f46b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x320a7d(){let _0x1347e5,_0x16d4a5=null,_0x58c22a=null;try{if(_0x5194e2==_0x2f46b0([0x47,0x50,0x4c]))return _0x2f46b0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1347e5=_0xaaceac(),!_0x1347e5)return _0x2f46b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1347e5[_0x2f46b0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x58c22a=_0x141402(_0x1347e5[_0x2f46b0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1347e5[_0x2f46b0([0x6a,0x74,0x69])])),await _0x2fa89a()?_0x3b8205()?_0x414c02()?_0x2f46b0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2798ae()?(_0x1347e5[_0x2f46b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f46b0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x16d4a5=_0x2d1c64(_0x2f46b0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1347e5[_0x2f46b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f46b0([0x74,0x72,0x69,0x61,0x6c])&&(_0x16d4a5=_0x2d1c64(_0x2f46b0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3486c8()):_0x2f46b0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2f46b0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2f46b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2f46b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x414c02(){const _0x423c4e=[_0x2f46b0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2f46b0([0x74,0x72,0x69,0x61,0x6c])][_0x2f46b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1347e5[_0x2f46b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x17b08a/0x3e8:0xe10*_0x18db56;return _0x1347e5[_0x2f46b0([0x65,0x78,0x70])]<_0x423c4e;}function _0x3b8205(){const _0x4adc10=_0x1347e5[_0x2f46b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4adc10&&(!!_0x4adc10[_0x2f46b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f46b0([0x2a]))||!!_0x4adc10[_0x2f46b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f46b0([0x4c,0x48])));}function _0x2798ae(){const _0x97946e=_0x5b83,_0x4b179d=_0x1347e5[_0x2f46b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4b179d||0x0==_0x4b179d[_0x2f46b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x264ae8}=new URL(window[_0x2f46b0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x97946e(0xd6)]);if(_0x4b179d[_0x2f46b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x264ae8))return!0x0;const _0x168608=_0x264ae8[_0x2f46b0([0x73,0x70,0x6c,0x69,0x74])](_0x2f46b0([0x2e]));return _0x4b179d[_0x2f46b0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x474377=>_0x474377[_0x2f46b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f46b0([0x2a])))[_0x2f46b0([0x6d,0x61,0x70])](_0x41b0bf=>_0x41b0bf[_0x2f46b0([0x73,0x70,0x6c,0x69,0x74])](_0x2f46b0([0x2e])))[_0x2f46b0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2823fa=>_0x2823fa[_0x2f46b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x168608[_0x2f46b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2f46b0([0x6d,0x61,0x70])](_0x23dff0=>Array(_0x168608[_0x2f46b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x23dff0[_0x2f46b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2f46b0([0x66,0x69,0x6c,0x6c])](_0x23dff0[0x0]===_0x2f46b0([0x2a])?_0x2f46b0([0x2a]):'')[_0x2f46b0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x23dff0))[_0x2f46b0([0x73,0x6f,0x6d,0x65])](_0x59e8e3=>_0x168608[_0x2f46b0([0x65,0x76,0x65,0x72,0x79])]((_0x52a1e8,_0x37b502)=>_0x59e8e3[_0x37b502]===_0x52a1e8||_0x59e8e3[_0x37b502]===_0x2f46b0([0x2a])));}function _0x3486c8(){return _0x16d4a5&&_0x58c22a?new window[(_0x2f46b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x388485,_0x4b5d3c)=>{_0x16d4a5[_0x2f46b0([0x74,0x68,0x65,0x6e])](_0x388485,_0x4b5d3c),_0x58c22a[_0x2f46b0([0x74,0x68,0x65,0x6e])](_0x3f8230=>{_0x3f8230!=_0x2f46b0([0x56,0x61,0x6c,0x69,0x64])&&_0x388485(_0x3f8230);},_0x4b5d3c);}):_0x16d4a5||_0x58c22a||_0x2f46b0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x141402(_0x6180cd,_0x548b36){return new window[(_0x2f46b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54dc2e=>{if(_0xc51bbe())return _0x54dc2e(_0x2f46b0([0x56,0x61,0x6c,0x69,0x64]));_0x1ad592(),_0x444d35[_0x2f46b0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2f46b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x30f907=!0x1;const _0x1e454b=_0x14895b();function _0x3c51b8(_0x2a7ec9){return!!_0x2a7ec9&&(typeof _0x2a7ec9===_0x2f46b0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a7ec9===_0x2f46b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a7ec9[_0x2f46b0([0x74,0x68,0x65,0x6e])]===_0x2f46b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a7ec9[_0x2f46b0([0x63,0x61,0x74,0x63,0x68])]===_0x2f46b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x12ec80(_0x4848ec){_0x3d8047(_0x4848ec)[_0x2f46b0([0x74,0x68,0x65,0x6e])](_0xdd7cde=>{if(!_0xdd7cde||_0xdd7cde[_0x2f46b0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2f46b0([0x6f,0x6b]))return _0x2f46b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x342398(_0x390bcf(_0x1e454b+_0x548b36))!=_0xdd7cde[_0x2f46b0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2f46b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2f46b0([0x56,0x61,0x6c,0x69,0x64]);})[_0x2f46b0([0x74,0x68,0x65,0x6e])](_0x2e4aa7=>(_0x3e9f82(),_0x2e4aa7),()=>{const _0x53a895=_0x414801();return null==_0x53a895?(_0x3e9f82(),_0x2f46b0([0x56,0x61,0x6c,0x69,0x64])):_0x2f46b0(_0x17b08a-_0x53a895>(0x619b6411^_0x12d952)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2f46b0([0x74,0x68,0x65,0x6e])](_0x54dc2e)[_0x2f46b0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x54dc2e(_0x2f46b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3f7e9f=0x45a10e91^_0x12d952;function _0x3e9f82(){const _0x38f9a1=_0x2f46b0([0x6c,0x6c,0x63,0x74,0x2d])+_0x342398(_0x390bcf(_0x6180cd)),_0x5a3c70=_0x492593(_0x342398(window[_0x2f46b0([0x4d,0x61,0x74,0x68])][_0x2f46b0([0x63,0x65,0x69,0x6c])](_0x17b08a/_0x3f7e9f)));window[_0x2f46b0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f46b0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38f9a1,_0x5a3c70);}function _0x414801(){const _0x37eac9=_0x2f46b0([0x6c,0x6c,0x63,0x74,0x2d])+_0x342398(_0x390bcf(_0x6180cd)),_0x42e26f=window[_0x2f46b0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f46b0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37eac9);return _0x42e26f?window[_0x2f46b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x492593(_0x42e26f),0x10)*_0x3f7e9f:null;}function _0x3d8047(_0x4af48a){return new window[(_0x2f46b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51b979,_0x3b079a)=>{_0x4af48a[_0x2f46b0([0x74,0x68,0x65,0x6e])](_0x51b979,_0x3b079a),window[_0x2f46b0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3b079a,0x459634d1^_0x12d952);});}}_0x444d35[_0x2f46b0([0x6f,0x6e])](_0x2f46b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x59b7fe,_0x58ab26)=>{if(_0x58ab26[0x0]!=_0x6180cd)return _0x54dc2e(_0x2f46b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x58ab26[0x1]={..._0x58ab26[0x1],[_0x2f46b0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e454b};},{[_0x2f46b0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f46b0([0x68,0x69,0x67,0x68])}),_0x444d35[_0x2f46b0([0x6f,0x6e])](_0x2f46b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x9e0125=>{_0x3c51b8(_0x9e0125[_0x2f46b0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x30f907=!0x0,_0x12ec80(_0x9e0125[_0x2f46b0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2f46b0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f46b0([0x6c,0x6f,0x77])}),_0x32142b[_0x2f46b0([0x74,0x68,0x65,0x6e])](()=>{_0x30f907||_0x54dc2e(_0x2f46b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xc51bbe(){return _0x444d35[_0x2f46b0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f46b0([0x76,0x69,0x65,0x77])][_0x2f46b0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2f46b0([0x61,0x75,0x74,0x6f]);}function _0x1ad592(){_0x444d35[_0x2f46b0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f46b0([0x76,0x69,0x65,0x77])][_0x2f46b0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2f46b0([0x61,0x75,0x74,0x6f]);}}function _0x2d1c64(_0x4bef6d){const _0xca9b9b=[new window[(_0x2f46b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf4ed2b=>setTimeout(_0xf4ed2b,0x459ededd^_0x12d952)),_0x32142b[_0x2f46b0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2f46b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f611a=>{let _0xaa8674=0x0;_0x444d35[_0x2f46b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f46b0([0x6f,0x6e])](_0x2f46b0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x432b0a,_0xcf813c)=>{_0xcf813c[0x0][_0x2f46b0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xaa8674++,_0xaa8674==(0x4597e1e9^_0x12d952)&&(_0x1f611a(),_0x432b0a[_0x2f46b0([0x6f,0x66,0x66])]());});}))];return window[_0x2f46b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2f46b0([0x72,0x61,0x63,0x65])](_0xca9b9b)[_0x2f46b0([0x74,0x68,0x65,0x6e])](()=>_0x4bef6d);}async function _0x538f0c(){await _0x32142b,_0x444d35[_0x2f46b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f46b0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1236c0,_0x444d35[_0x2f46b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f46b0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1236c0,_0x444d35[_0x2f46b0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f46b0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x230607(_0x4969f3){const _0x39e947=_0x3ef8c0();_0x444d35[_0x39e947]=_0x2f46b0([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4969f3,_0x4969f3!=_0x2f46b0([0x56,0x61,0x6c,0x69,0x64])&&_0x538f0c();}function _0x3ef8c0(){const _0x4c2208=window[_0x2f46b0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2f46b0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2f46b0([0x6e,0x6f,0x77])]())[_0x2f46b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2f46b0([0x2e]),'');let _0x559e68=_0x2f46b0([0x51]);for(let _0x5010e5=0x0;_0x5010e5<_0x4c2208[_0x2f46b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5010e5+=0x2){let _0x1c0784=window[_0x2f46b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c2208[_0x2f46b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5010e5,_0x5010e5+0x2));_0x1c0784>=_0x3d05a3[_0x2f46b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1c0784-=_0x3d05a3[_0x2f46b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x559e68+=_0x3d05a3[_0x1c0784];}return _0x559e68;}function _0xaaceac(){const _0x2c001f=_0x5194e2[_0x2f46b0([0x73,0x70,0x6c,0x69,0x74])](_0x2f46b0([0x2e]));if(0x3!=_0x2c001f[_0x2f46b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x199a5f(_0x2c001f[0x1]);function _0x199a5f(_0x23e6da){const _0x46d518=_0x322d76(_0x23e6da);return _0x46d518&&_0x11bb60()?_0x46d518:null;function _0x11bb60(){const _0x5ea7cc=_0x46d518[_0x2f46b0([0x6a,0x74,0x69])],_0x1640ba=window[_0x2f46b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ea7cc[_0x2f46b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ea7cc[_0x2f46b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5c80f2={..._0x46d518,[_0x2f46b0([0x6a,0x74,0x69])]:_0x5ea7cc[_0x2f46b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5ea7cc[_0x2f46b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5c80f2[_0x2f46b0([0x76,0x63])],_0x390bcf(_0x5c80f2)==_0x1640ba;}}}async function _0x2fa89a(){let _0x653cd0=!0x0;try{const _0x2235d8=_0x5194e2[_0x2f46b0([0x73,0x70,0x6c,0x69,0x74])](_0x2f46b0([0x2e])),[_0x25ba10,_0x4dbb2f,_0x45b53f]=_0x2235d8;return _0x55c05c(_0x25ba10),await _0x20e4fa(_0x25ba10,_0x4dbb2f,_0x45b53f),_0x653cd0;}catch{return!0x1;}function _0x55c05c(_0x3e33c9){const _0xe6ddec=_0x322d76(_0x3e33c9);_0xe6ddec&&_0xe6ddec[_0x2f46b0([0x61,0x6c,0x67])]==_0x2f46b0([0x45,0x53,0x32,0x35,0x36])||(_0x653cd0=!0x1);}async function _0x20e4fa(_0x13d9c8,_0x1fbb39,_0x336ee4){const _0x59bbbe=window[_0x2f46b0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2f46b0([0x66,0x72,0x6f,0x6d])](_0x241a69(_0x336ee4),_0x2e836c=>_0x2e836c[_0x2f46b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x570db9=new window[(_0x2f46b0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2f46b0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x13d9c8+_0x2f46b0([0x2e])+_0x1fbb39),_0x2dc2df=window[_0x2f46b0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2f46b0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2dc2df)return;const _0x28aba1=await _0x2dc2df[_0x2f46b0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2f46b0([0x6a,0x77,0x6b]),_0x338e41,{[_0x2f46b0([0x6e,0x61,0x6d,0x65])]:_0x2f46b0([0x45,0x43,0x44,0x53,0x41]),[_0x2f46b0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2f46b0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2f46b0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2dc2df[_0x2f46b0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2f46b0([0x6e,0x61,0x6d,0x65])]:_0x2f46b0([0x45,0x43,0x44,0x53,0x41]),[_0x2f46b0([0x68,0x61,0x73,0x68])]:{[_0x2f46b0([0x6e,0x61,0x6d,0x65])]:_0x2f46b0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x28aba1,_0x59bbbe,_0x570db9)||(_0x653cd0=!0x1);}}function _0x322d76(_0x50bdfa){return _0x50bdfa[_0x2f46b0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2f46b0([0x65,0x79]))?JSON[_0x2f46b0([0x70,0x61,0x72,0x73,0x65])](_0x241a69(_0x50bdfa)):null;}function _0x241a69(_0x58c0d6){return window[_0x2f46b0([0x61,0x74,0x6f,0x62])](_0x58c0d6[_0x2f46b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2f46b0([0x2b]))[_0x2f46b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2f46b0([0x2f])));}function _0x390bcf(_0x196d29){let _0x542a6c=0x1505;function _0x2b7aa8(_0xd06391){for(let _0x35c69b=0x0;_0x35c69b<_0xd06391[_0x2f46b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35c69b++){const _0x3d15c8=_0xd06391[_0x2f46b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x35c69b);_0x542a6c=(_0x542a6c<<0x5)+_0x542a6c+_0x3d15c8,_0x542a6c&=_0x542a6c;}}function _0x4cf380(_0x360c7a){Array[_0x2f46b0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x360c7a)?_0x360c7a[_0x2f46b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4cf380):_0x360c7a&&typeof _0x360c7a==_0x2f46b0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2f46b0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x360c7a)[_0x2f46b0([0x73,0x6f,0x72,0x74])]()[_0x2f46b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x365809,_0x7f9bab])=>{_0x2b7aa8(_0x365809),_0x4cf380(_0x7f9bab);}):_0x2b7aa8(window[_0x2f46b0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x360c7a));}return _0x4cf380(_0x196d29),_0x542a6c>>>0x0;}function _0x342398(_0x1d8c23){return _0x1d8c23[_0x2f46b0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2f46b0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2f46b0([0x30]));}function _0x492593(_0x19bf32){return _0x19bf32[_0x2f46b0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2f46b0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2f46b0([0x6a,0x6f,0x69,0x6e])]('');}function _0x1236c0(){}function _0x2f46b0(_0x235b81){const _0x4efe70=_0x5b83;return _0x235b81[_0x4efe70(0xd2)](_0x3b2dc3=>String[_0x4efe70(0xaa)](_0x3b2dc3))[_0x4efe70(0xb8)]('');}_0x230607(await _0x320a7d());}(this);}[_0x3c1de4(0xd7)](){const _0x6a384d=_0x3c1de4,_0x4ff2fc=this[_0x6a384d(0xc7)];if(!_0x4ff2fc[_0x6a384d(0xb9)][_0x6a384d(0xc1)](_0x6a384d(0xdd)))return;const _0x137c27=_0x4ff2fc[_0x6a384d(0xb9)][_0x6a384d(0xc1)](_0x6a384d(0xd4))[_0x6a384d(0xb7)](_0x4bf317=>_0x6a384d(0xbd)==typeof _0x4bf317&&(!_0x358806(_0x4bf317)&&isNaN(Number(_0x4bf317))));if(_0x137c27[_0x6a384d(0xc4)])throw new _0x341202(_0x6a384d(0xde),null,{'namedPresets':_0x137c27});}[_0x3c1de4(0xe0)](){const _0x46e511=_0x3c1de4,_0x47f54b=this[_0x46e511(0xc7)],_0x3ca431=this[_0x46e511(0xc7)][_0x46e511(0xb9)][_0x46e511(0xc1)](_0x46e511(0xc9));_0x47f54b[_0x46e511(0xc3)][_0x46e511(0xc8)](_0x46e511(0xc0))[_0x46e511(0xce)]({'model':{'key':_0x46e511(0xdb)},'view':_0x40c224=>String(_0x40c224)===String(_0x3ca431)?null:{'key':_0x46e511(0xd3),'value':{'line-height':_0x40c224}}}),_0x47f54b[_0x46e511(0xc3)][_0x46e511(0xc8)](_0x46e511(0xcf))[_0x46e511(0xce)]({'model':{'key':_0x46e511(0xdb),'value':_0x499171=>{const _0xeb3164=_0x46e511;let _0x1a4e23=_0x499171[_0xeb3164(0xd8)](_0xeb3164(0xba));return _0x47fbf9(_0x1a4e23)&&(_0x1a4e23=String(Number(_0x1a4e23[_0xeb3164(0xbb)](0x0,-0x1))/0x64)),String(_0x1a4e23)===String(_0x3ca431)?null:_0x1a4e23;}},'view':{'styles':{'line-height':/.*/}}});}[_0x3c1de4(0xcb)](){const _0x4341cc=_0x3c1de4,_0x3a33ca=this[_0x4341cc(0xc7)],_0x2a3e26=this[_0x4341cc(0xc7)][_0x4341cc(0xb9)][_0x4341cc(0xc1)](_0x4341cc(0xc9)),_0x1de7d4=_0x5d495e(this[_0x4341cc(0xc7)][_0x4341cc(0xb9)][_0x4341cc(0xc1)](_0x4341cc(0xdb)))[_0x4341cc(0xb7)](_0x5c8b4f=>_0x5c8b4f[_0x4341cc(0xd5)]),_0x462b00=_0x57ca81(_0x4341cc(0xdb),_0x1de7d4);_0x3a33ca[_0x4341cc(0xc3)][_0x4341cc(0xce)](_0x462b00),_0x3a33ca[_0x4341cc(0xc3)][_0x4341cc(0xc8)](_0x4341cc(0xcf))[_0x4341cc(0xce)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x4341cc(0xdb),'value':_0x369f12=>{const _0x232cc6=_0x4341cc;let _0x3df37d=_0x369f12[_0x232cc6(0xd8)](_0x232cc6(0xba));return _0x47fbf9(_0x3df37d)&&(_0x3df37d=String(Number(_0x3df37d[_0x232cc6(0xbb)](0x0,-0x1))/0x64)),_0x3df37d===String(_0x2a3e26)?null:_0x462b00[_0x232cc6(0xd5)][_0x232cc6(0xaf)][_0x232cc6(0xda)](_0x3df37d)?_0x3df37d:null;}}});}}
|
|
23
|
+
const _0x472d7a=_0x4a57;(function(_0x3ad57a,_0x430933){const _0xe7ef55=_0x4a57,_0x1952a0=_0x3ad57a();while(!![]){try{const _0x3df4d0=parseInt(_0xe7ef55(0xee))/0x1+parseInt(_0xe7ef55(0xeb))/0x2+-parseInt(_0xe7ef55(0xb9))/0x3*(-parseInt(_0xe7ef55(0xdf))/0x4)+parseInt(_0xe7ef55(0xe7))/0x5*(-parseInt(_0xe7ef55(0xc2))/0x6)+parseInt(_0xe7ef55(0xcf))/0x7+-parseInt(_0xe7ef55(0xcc))/0x8*(-parseInt(_0xe7ef55(0xda))/0x9)+-parseInt(_0xe7ef55(0xcd))/0xa*(parseInt(_0xe7ef55(0xdd))/0xb);if(_0x3df4d0===_0x430933)break;else _0x1952a0['push'](_0x1952a0['shift']());}catch(_0x5d8699){_0x1952a0['push'](_0x1952a0['shift']());}}}(_0x42ea,0x27e2f));import{Plugin as _0x35b7db}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x3b0586}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x434b60}from'ckeditor5/src/engine.js';function _0x4a57(_0x42ebe4,_0x5e159a){const _0x42eaa6=_0x42ea();return _0x4a57=function(_0x4a57c9,_0x59da05){_0x4a57c9=_0x4a57c9-0xb8;let _0x2a7fb4=_0x42eaa6[_0x4a57c9];return _0x2a7fb4;},_0x4a57(_0x42ebe4,_0x5e159a);}import{uid as _0xb9e719,CKEditorError as _0x3e62f5}from'ckeditor5/src/utils.js';import{buildDefinition as _0x1c1d6a,isLineHeightDefaultValue as _0x33fd0a,normalizeOptions as _0x123f0a}from'./utils.js';export class LineHeightEditing extends _0x35b7db{static get[_0x472d7a(0xe4)](){const _0x52a1b0=_0x472d7a;return _0x52a1b0(0xe0);}static get[_0x472d7a(0xc0)](){return!0x0;}static get[_0x472d7a(0xbd)](){return!0x0;}constructor(_0x413b62){const _0xa68695=_0x472d7a;super(_0x413b62),_0x413b62[_0xa68695(0xe6)][_0xa68695(0xec)](_0xa68695(0xd0),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0xa68695(0xea),0x2,2.5,0x3]});}[_0x472d7a(0xe1)](){const _0x5aaec8=_0x472d7a,_0xe7e4dd=this[_0x5aaec8(0xdb)];this[_0x5aaec8(0xd9)](),_0xe7e4dd[_0x5aaec8(0xce)][_0x5aaec8(0xbc)][_0x5aaec8(0xdc)](_0x5aaec8(0xd8),{'allowAttributes':_0x5aaec8(0xd0)}),_0xe7e4dd[_0x5aaec8(0xce)][_0x5aaec8(0xbc)][_0x5aaec8(0xc7)](_0x5aaec8(0xd0),{'isFormatting':!0x0}),_0xe7e4dd[_0x5aaec8(0xe3)][_0x5aaec8(0xd6)](_0x5aaec8(0xd0),new _0x3b0586(_0xe7e4dd)),this[_0x5aaec8(0xdb)][_0x5aaec8(0xe6)][_0x5aaec8(0xed)](_0x5aaec8(0xd3))?this[_0x5aaec8(0xc9)]():this[_0x5aaec8(0xbe)]();}[_0x472d7a(0xd1)](){!async function(_0x54a89e){const _0x5d18f7=_0x1790d3([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]),_0x47d900=0x4597e011,_0x4b894d=0x45909289^_0x47d900,_0x37fbd2=window[_0x1790d3([0x44,0x61,0x74,0x65])][_0x1790d3([0x6e,0x6f,0x77])](),_0x1403d0=_0x54a89e[_0x1790d3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x371d18=new window[(_0x1790d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a2d83=>{_0x1403d0[_0x1790d3([0x6f,0x6e,0x63,0x65])](_0x1790d3([0x72,0x65,0x61,0x64,0x79]),_0x5a2d83);}),_0x5bca45={[_0x1790d3([0x6b,0x74,0x79])]:_0x1790d3([0x45,0x43]),[_0x1790d3([0x75,0x73,0x65])]:_0x1790d3([0x73,0x69,0x67]),[_0x1790d3([0x63,0x72,0x76])]:_0x1790d3([0x50,0x2d,0x32,0x35,0x36]),[_0x1790d3([0x78])]:_0x1790d3([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]),[_0x1790d3([0x79])]:_0x1790d3([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]),[_0x1790d3([0x61,0x6c,0x67])]:_0x1790d3([0x45,0x53,0x32,0x35,0x36])},_0x52d5b1=_0x1403d0[_0x1790d3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1790d3([0x67,0x65,0x74])](_0x1790d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4b012d(){let _0x412442,_0x59b9fb=null,_0x3af142=null;try{if(_0x52d5b1==_0x1790d3([0x47,0x50,0x4c]))return _0x1790d3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x412442=_0x312b9e(),!_0x412442)return _0x1790d3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x412442[_0x1790d3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3af142=_0x206ba0(_0x412442[_0x1790d3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x412442[_0x1790d3([0x6a,0x74,0x69])])),await _0x94d3b6()?_0x5230ac()?_0x1da9d6()?_0x1790d3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2e927c()?(_0x412442[_0x1790d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1790d3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x59b9fb=_0x5e30a5(_0x1790d3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x412442[_0x1790d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1790d3([0x74,0x72,0x69,0x61,0x6c])&&(_0x59b9fb=_0x5e30a5(_0x1790d3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x12acf4()):_0x1790d3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1790d3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1790d3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1790d3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1da9d6(){const _0x30820a=[_0x1790d3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1790d3([0x74,0x72,0x69,0x61,0x6c])][_0x1790d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x412442[_0x1790d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x37fbd2/0x3e8:0xe10*_0x4b894d;return _0x412442[_0x1790d3([0x65,0x78,0x70])]<_0x30820a;}function _0x5230ac(){const _0x3b28eb=_0x412442[_0x1790d3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3b28eb&&(!!_0x3b28eb[_0x1790d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1790d3([0x2a]))||!!_0x3b28eb[_0x1790d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1790d3([0x4c,0x48])));}function _0x2e927c(){const _0x4652fc=_0x4a57,_0x63f575=_0x412442[_0x1790d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x63f575||0x0==_0x63f575[_0x1790d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x52e6d3}=new URL(window[_0x1790d3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4652fc(0xd2)]);if(_0x63f575[_0x1790d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52e6d3))return!0x0;const _0x4c0f1f=_0x52e6d3[_0x1790d3([0x73,0x70,0x6c,0x69,0x74])](_0x1790d3([0x2e]));return _0x63f575[_0x1790d3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3110c3=>_0x3110c3[_0x1790d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1790d3([0x2a])))[_0x1790d3([0x6d,0x61,0x70])](_0x43e70d=>_0x43e70d[_0x1790d3([0x73,0x70,0x6c,0x69,0x74])](_0x1790d3([0x2e])))[_0x1790d3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38b4dd=>_0x38b4dd[_0x1790d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4c0f1f[_0x1790d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1790d3([0x6d,0x61,0x70])](_0x2b262f=>Array(_0x4c0f1f[_0x1790d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2b262f[_0x1790d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1790d3([0x66,0x69,0x6c,0x6c])](_0x2b262f[0x0]===_0x1790d3([0x2a])?_0x1790d3([0x2a]):'')[_0x1790d3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2b262f))[_0x1790d3([0x73,0x6f,0x6d,0x65])](_0x251c62=>_0x4c0f1f[_0x1790d3([0x65,0x76,0x65,0x72,0x79])]((_0x2f31f0,_0x2da6df)=>_0x251c62[_0x2da6df]===_0x2f31f0||_0x251c62[_0x2da6df]===_0x1790d3([0x2a])));}function _0x12acf4(){return _0x59b9fb&&_0x3af142?new window[(_0x1790d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd8f178,_0xbcdd70)=>{_0x59b9fb[_0x1790d3([0x74,0x68,0x65,0x6e])](_0xd8f178,_0xbcdd70),_0x3af142[_0x1790d3([0x74,0x68,0x65,0x6e])](_0x2698a1=>{_0x2698a1!=_0x1790d3([0x56,0x61,0x6c,0x69,0x64])&&_0xd8f178(_0x2698a1);},_0xbcdd70);}):_0x59b9fb||_0x3af142||_0x1790d3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x206ba0(_0x843f6a,_0x5260d3){return new window[(_0x1790d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c02ea=>{if(_0x3f83f1())return _0x2c02ea(_0x1790d3([0x56,0x61,0x6c,0x69,0x64]));_0x5cd72f(),_0x1403d0[_0x1790d3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1790d3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4aa288=!0x1;const _0x1a272c=_0xb9e719();function _0x2dfc31(_0x3d578b){return!!_0x3d578b&&(typeof _0x3d578b===_0x1790d3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d578b===_0x1790d3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d578b[_0x1790d3([0x74,0x68,0x65,0x6e])]===_0x1790d3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d578b[_0x1790d3([0x63,0x61,0x74,0x63,0x68])]===_0x1790d3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2af9d7(_0x50d412){_0x1ae8ba(_0x50d412)[_0x1790d3([0x74,0x68,0x65,0x6e])](_0xa9e358=>{if(!_0xa9e358||_0xa9e358[_0x1790d3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1790d3([0x6f,0x6b]))return _0x1790d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x580711(_0xa96da4(_0x1a272c+_0x5260d3))!=_0xa9e358[_0x1790d3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1790d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1790d3([0x56,0x61,0x6c,0x69,0x64]);})[_0x1790d3([0x74,0x68,0x65,0x6e])](_0x3acf82=>(_0x5cbad3(),_0x3acf82),()=>{const _0x2800c7=_0x27f386();return null==_0x2800c7?(_0x5cbad3(),_0x1790d3([0x56,0x61,0x6c,0x69,0x64])):_0x1790d3(_0x37fbd2-_0x2800c7>(0x619b6411^_0x47d900)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1790d3([0x74,0x68,0x65,0x6e])](_0x2c02ea)[_0x1790d3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2c02ea(_0x1790d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf6c8ed=0x45a10e91^_0x47d900;function _0x5cbad3(){const _0x2dc048=_0x1790d3([0x6c,0x6c,0x63,0x74,0x2d])+_0x580711(_0xa96da4(_0x843f6a)),_0x439776=_0xf435f1(_0x580711(window[_0x1790d3([0x4d,0x61,0x74,0x68])][_0x1790d3([0x63,0x65,0x69,0x6c])](_0x37fbd2/_0xf6c8ed)));window[_0x1790d3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1790d3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2dc048,_0x439776);}function _0x27f386(){const _0x200a02=_0x1790d3([0x6c,0x6c,0x63,0x74,0x2d])+_0x580711(_0xa96da4(_0x843f6a)),_0x580a82=window[_0x1790d3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1790d3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x200a02);return _0x580a82?window[_0x1790d3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf435f1(_0x580a82),0x10)*_0xf6c8ed:null;}function _0x1ae8ba(_0x2e27fa){return new window[(_0x1790d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x25b6af,_0x5d6c08)=>{_0x2e27fa[_0x1790d3([0x74,0x68,0x65,0x6e])](_0x25b6af,_0x5d6c08),window[_0x1790d3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5d6c08,0x459634d1^_0x47d900);});}}_0x1403d0[_0x1790d3([0x6f,0x6e])](_0x1790d3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3c34ee,_0x2ae484)=>{if(_0x2ae484[0x0]!=_0x843f6a)return _0x2c02ea(_0x1790d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2ae484[0x1]={..._0x2ae484[0x1],[_0x1790d3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1a272c};},{[_0x1790d3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1790d3([0x68,0x69,0x67,0x68])}),_0x1403d0[_0x1790d3([0x6f,0x6e])](_0x1790d3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ecc3e=>{_0x2dfc31(_0x4ecc3e[_0x1790d3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4aa288=!0x0,_0x2af9d7(_0x4ecc3e[_0x1790d3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1790d3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1790d3([0x6c,0x6f,0x77])}),_0x371d18[_0x1790d3([0x74,0x68,0x65,0x6e])](()=>{_0x4aa288||_0x2c02ea(_0x1790d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3f83f1(){return _0x1403d0[_0x1790d3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1790d3([0x76,0x69,0x65,0x77])][_0x1790d3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1790d3([0x61,0x75,0x74,0x6f]);}function _0x5cd72f(){_0x1403d0[_0x1790d3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1790d3([0x76,0x69,0x65,0x77])][_0x1790d3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1790d3([0x61,0x75,0x74,0x6f]);}}function _0x5e30a5(_0x4130e4){const _0x5048ba=[new window[(_0x1790d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x290d01=>setTimeout(_0x290d01,0x459ededd^_0x47d900)),_0x371d18[_0x1790d3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1790d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfeba7f=>{let _0x1eb444=0x0;_0x1403d0[_0x1790d3([0x6d,0x6f,0x64,0x65,0x6c])][_0x1790d3([0x6f,0x6e])](_0x1790d3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x34167a,_0x2ef7c7)=>{_0x2ef7c7[0x0][_0x1790d3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1eb444++,_0x1eb444==(0x4597e1e9^_0x47d900)&&(_0xfeba7f(),_0x34167a[_0x1790d3([0x6f,0x66,0x66])]());});}))];return window[_0x1790d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1790d3([0x72,0x61,0x63,0x65])](_0x5048ba)[_0x1790d3([0x74,0x68,0x65,0x6e])](()=>_0x4130e4);}async function _0x1b6e84(){await _0x371d18,_0x1403d0[_0x1790d3([0x6d,0x6f,0x64,0x65,0x6c])][_0x1790d3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x32e03a,_0x1403d0[_0x1790d3([0x6d,0x6f,0x64,0x65,0x6c])][_0x1790d3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x32e03a,_0x1403d0[_0x1790d3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1790d3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x471cac(_0x177108){const _0x456254=_0x20fcbc();_0x1403d0[_0x456254]=_0x1790d3([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x177108,_0x177108!=_0x1790d3([0x56,0x61,0x6c,0x69,0x64])&&_0x1b6e84();}function _0x20fcbc(){const _0x4896d9=window[_0x1790d3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1790d3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1790d3([0x6e,0x6f,0x77])]())[_0x1790d3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1790d3([0x2e]),'');let _0x21ee44=_0x1790d3([0x51]);for(let _0x2d78eb=0x0;_0x2d78eb<_0x4896d9[_0x1790d3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d78eb+=0x2){let _0x3918c0=window[_0x1790d3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4896d9[_0x1790d3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d78eb,_0x2d78eb+0x2));_0x3918c0>=_0x5d18f7[_0x1790d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3918c0-=_0x5d18f7[_0x1790d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x21ee44+=_0x5d18f7[_0x3918c0];}return _0x21ee44;}function _0x312b9e(){const _0x1f6ff2=_0x52d5b1[_0x1790d3([0x73,0x70,0x6c,0x69,0x74])](_0x1790d3([0x2e]));if(0x3!=_0x1f6ff2[_0x1790d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x25b190(_0x1f6ff2[0x1]);function _0x25b190(_0x180406){const _0x32ca31=_0x3802d1(_0x180406);return _0x32ca31&&_0x321eef()?_0x32ca31:null;function _0x321eef(){const _0x46d189=_0x32ca31[_0x1790d3([0x6a,0x74,0x69])],_0x189919=window[_0x1790d3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46d189[_0x1790d3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46d189[_0x1790d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1e1a7a={..._0x32ca31,[_0x1790d3([0x6a,0x74,0x69])]:_0x46d189[_0x1790d3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x46d189[_0x1790d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1e1a7a[_0x1790d3([0x76,0x63])],_0xa96da4(_0x1e1a7a)==_0x189919;}}}async function _0x94d3b6(){let _0x5a4fe3=!0x0;try{const _0x2efc15=_0x52d5b1[_0x1790d3([0x73,0x70,0x6c,0x69,0x74])](_0x1790d3([0x2e])),[_0x20d905,_0x36e920,_0x33e559]=_0x2efc15;return _0x320ae1(_0x20d905),await _0x4d331b(_0x20d905,_0x36e920,_0x33e559),_0x5a4fe3;}catch{return!0x1;}function _0x320ae1(_0xcbd3ab){const _0x29ec04=_0x3802d1(_0xcbd3ab);_0x29ec04&&_0x29ec04[_0x1790d3([0x61,0x6c,0x67])]==_0x1790d3([0x45,0x53,0x32,0x35,0x36])||(_0x5a4fe3=!0x1);}async function _0x4d331b(_0x244ade,_0x3dda98,_0x5dd840){const _0x412a2e=window[_0x1790d3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1790d3([0x66,0x72,0x6f,0x6d])](_0x2d2146(_0x5dd840),_0x388839=>_0x388839[_0x1790d3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1bccf6=new window[(_0x1790d3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1790d3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x244ade+_0x1790d3([0x2e])+_0x3dda98),_0x561d1c=window[_0x1790d3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1790d3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x561d1c)return;const _0x4d1661=await _0x561d1c[_0x1790d3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1790d3([0x6a,0x77,0x6b]),_0x5bca45,{[_0x1790d3([0x6e,0x61,0x6d,0x65])]:_0x1790d3([0x45,0x43,0x44,0x53,0x41]),[_0x1790d3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1790d3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1790d3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x561d1c[_0x1790d3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1790d3([0x6e,0x61,0x6d,0x65])]:_0x1790d3([0x45,0x43,0x44,0x53,0x41]),[_0x1790d3([0x68,0x61,0x73,0x68])]:{[_0x1790d3([0x6e,0x61,0x6d,0x65])]:_0x1790d3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4d1661,_0x412a2e,_0x1bccf6)||(_0x5a4fe3=!0x1);}}function _0x3802d1(_0x3ec650){return _0x3ec650[_0x1790d3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1790d3([0x65,0x79]))?JSON[_0x1790d3([0x70,0x61,0x72,0x73,0x65])](_0x2d2146(_0x3ec650)):null;}function _0x2d2146(_0xedd992){return window[_0x1790d3([0x61,0x74,0x6f,0x62])](_0xedd992[_0x1790d3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1790d3([0x2b]))[_0x1790d3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1790d3([0x2f])));}function _0xa96da4(_0x2b2cfc){let _0x2b80db=0x1505;function _0x94d9e(_0x2ec04b){for(let _0x2ee367=0x0;_0x2ee367<_0x2ec04b[_0x1790d3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ee367++){const _0x288c71=_0x2ec04b[_0x1790d3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2ee367);_0x2b80db=(_0x2b80db<<0x5)+_0x2b80db+_0x288c71,_0x2b80db&=_0x2b80db;}}function _0x9fced8(_0x26ab74){Array[_0x1790d3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x26ab74)?_0x26ab74[_0x1790d3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x9fced8):_0x26ab74&&typeof _0x26ab74==_0x1790d3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1790d3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x26ab74)[_0x1790d3([0x73,0x6f,0x72,0x74])]()[_0x1790d3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x536843,_0x39c48d])=>{_0x94d9e(_0x536843),_0x9fced8(_0x39c48d);}):_0x94d9e(window[_0x1790d3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x26ab74));}return _0x9fced8(_0x2b2cfc),_0x2b80db>>>0x0;}function _0x580711(_0x34ecc8){return _0x34ecc8[_0x1790d3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1790d3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1790d3([0x30]));}function _0xf435f1(_0x107124){return _0x107124[_0x1790d3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1790d3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1790d3([0x6a,0x6f,0x69,0x6e])]('');}function _0x32e03a(){}function _0x1790d3(_0x3e67b6){const _0x40a896=_0x4a57;return _0x3e67b6[_0x40a896(0xc3)](_0x2b6ae7=>String[_0x40a896(0xc8)](_0x2b6ae7))[_0x40a896(0xba)]('');}_0x471cac(await _0x4b012d());}(this);}[_0x472d7a(0xd9)](){const _0x74066f=_0x472d7a,_0x49ff22=this[_0x74066f(0xdb)];if(!_0x49ff22[_0x74066f(0xe6)][_0x74066f(0xed)](_0x74066f(0xd3)))return;const _0x5c045b=_0x49ff22[_0x74066f(0xe6)][_0x74066f(0xed)](_0x74066f(0xcb))[_0x74066f(0xe8)](_0x391918=>_0x74066f(0xd7)==typeof _0x391918&&(!_0x33fd0a(_0x391918)&&isNaN(Number(_0x391918))));if(_0x5c045b[_0x74066f(0xca)])throw new _0x3e62f5(_0x74066f(0xc6),null,{'namedPresets':_0x5c045b});}[_0x472d7a(0xc9)](){const _0x4a034d=_0x472d7a,_0x3a1fa5=this[_0x4a034d(0xdb)],_0x553d09=this[_0x4a034d(0xdb)][_0x4a034d(0xe6)][_0x4a034d(0xed)](_0x4a034d(0xde));_0x3a1fa5[_0x4a034d(0xb8)][_0x4a034d(0xe5)](_0x4a034d(0xbf))[_0x4a034d(0xe2)]({'model':{'key':_0x4a034d(0xd0)},'view':_0x3342a1=>String(_0x3342a1)===String(_0x553d09)?null:{'key':_0x4a034d(0xd4),'value':{'line-height':_0x3342a1}}}),_0x3a1fa5[_0x4a034d(0xb8)][_0x4a034d(0xe5)](_0x4a034d(0xc4))[_0x4a034d(0xe2)]({'model':{'key':_0x4a034d(0xd0),'value':_0x333e0b=>{const _0x16da4f=_0x4a034d;let _0x88f24b=_0x333e0b[_0x16da4f(0xe9)](_0x16da4f(0xbb));return _0x434b60(_0x88f24b)&&(_0x88f24b=String(Number(_0x88f24b[_0x16da4f(0xd5)](0x0,-0x1))/0x64)),String(_0x88f24b)===String(_0x553d09)?null:_0x88f24b;}},'view':{'styles':{'line-height':/.*/}}});}[_0x472d7a(0xbe)](){const _0xd601f8=_0x472d7a,_0x2a6ed7=this[_0xd601f8(0xdb)],_0x3e060d=this[_0xd601f8(0xdb)][_0xd601f8(0xe6)][_0xd601f8(0xed)](_0xd601f8(0xde)),_0x217f93=_0x123f0a(this[_0xd601f8(0xdb)][_0xd601f8(0xe6)][_0xd601f8(0xed)](_0xd601f8(0xd0)))[_0xd601f8(0xe8)](_0x2ab635=>_0x2ab635[_0xd601f8(0xce)]),_0xa684f9=_0x1c1d6a(_0xd601f8(0xd0),_0x217f93);_0x2a6ed7[_0xd601f8(0xb8)][_0xd601f8(0xe2)](_0xa684f9),_0x2a6ed7[_0xd601f8(0xb8)][_0xd601f8(0xe5)](_0xd601f8(0xc4))[_0xd601f8(0xe2)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0xd601f8(0xd0),'value':_0x3f6102=>{const _0x2b57aa=_0xd601f8;let _0x34ff94=_0x3f6102[_0x2b57aa(0xe9)](_0x2b57aa(0xbb));return _0x434b60(_0x34ff94)&&(_0x34ff94=String(Number(_0x34ff94[_0x2b57aa(0xd5)](0x0,-0x1))/0x64)),_0x34ff94===String(_0x3e060d)?null:_0xa684f9[_0x2b57aa(0xce)][_0x2b57aa(0xc5)][_0x2b57aa(0xc1)](_0x34ff94)?_0x34ff94:null;}}});}}function _0x42ea(){const _0xe22e71=['95032mmtBnf','conversion','327840KaWLLS','join','line-height','schema','isPremiumPlugin','_preparePredefinedConverters','downcast','isOfficialPlugin','includes','72ggbiGx','map','upcast','values','line-height-invalid-use-of-named-presets','setAttributeProperties','fromCharCode','_prepareAnyValueConverters','length','lineHeight.options','514544FmqTnH','55170RAfXBh','model','1349992DVxXtr','lineHeight','afterInit','href','lineHeight.supportAllValues','style','slice','add','string','$block','_validateConfig','18UnkvrL','editor','extend','1045OnKJkE','lineHeight.defaultValue','8iDMSIp','LineHeightEditing','init','attributeToAttribute','commands','pluginName','for','config','2535hSOJVs','filter','getStyle','default','116980mSpvIW','define','get'];_0x42ea=function(){return _0xe22e71;};return _0x42ea();}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x2bfd62}from'ckeditor5/src/core.js';import{addListToDropdown as _0x2de989,createDropdown as _0x5cb7d3,MenuBarMenuListItemButtonView as _0x473f80,MenuBarMenuListItemView as _0x5e4a43,MenuBarMenuListView as _0x2e002f,MenuBarMenuView as _0x1a0647,UIModel as _0x3ed239}from'ckeditor5/src/ui.js';import{Collection as _0x21261e}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x2e7485}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x1495c8}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x2bfd62{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x25d244={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x25d244),this['_registerMenuBarComponent'](_0x25d244),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3acec5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5b5988;for(const _0x57d18e in _0x3acec5){const _0x5abc2f=_0x57d18e,_0x45a275=_0x3acec5[_0x5abc2f];if('lineHeightLicenseKeyValid'==_0x45a275||'lineHeightLicenseKeyInvalid'==_0x45a275||'lineHeightLicenseKeyExpired'==_0x45a275||'lineHeightLicenseKeyDomainLimit'==_0x45a275||'lineHeightLicenseKeyNotAllowed'==_0x45a275||'lineHeightLicenseKeyEvaluationLimit'==_0x45a275||'lineHeightLicenseKeyTrialLimit'==_0x45a275||'lineHeightLicenseKeyUsageLimit'==_0x45a275){delete _0x3acec5[_0x5abc2f],_0x5b5988=_0x45a275,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x5b5988&&_0x3acec5['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x5b5988&&_0x3acec5['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x5b5988&&_0x3acec5['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x5b5988&&_0x3acec5['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x5b5988&&_0x3acec5['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x5b5988&&_0x3acec5['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x5b5988&&_0x3acec5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2ca838=this['editor'],t=_0x2ca838['t'],_0x3f9c3d=_0x2ca838['config']['get']('lineHeight'),_0x3418c9={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x1495c8(_0x3f9c3d)['map'](_0x2d5618=>{const _0x8f08e4=_0x3418c9[_0x2d5618['title']];return _0x8f08e4&&_0x8f08e4!=_0x2d5618['title']&&(_0x2d5618=Object['assign']({},_0x2d5618,{'title':_0x8f08e4})),_0x2d5618;});}['_prepareListOptions'](){const _0x42ac58=this['editor']['commands']['get']('lineHeight'),_0xbaf6c8=this['editor']['config']['get']('lineHeight.defaultValue'),_0x27aa4e=this['_getLocalizedLineHeightOptions'](),_0x370575=new _0x21261e(),_0x442dc5=_0x48a136=>'default'===_0x48a136||String(_0xbaf6c8)===_0x48a136;for(const _0x54ec33 of _0x27aa4e){const _0x5abd46={'type':'button','model':new _0x3ed239({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x54ec33['title'],'withText':!0x0})};_0x442dc5(_0x54ec33['model'])?(_0x5abd46['model']['bind']('isOn')['to'](_0x42ac58,'value',_0x4bf2f9=>!_0x4bf2f9),_0x5abd46['model']['commandParam']=void 0x0):(_0x5abd46['model']['bind']('isOn')['to'](_0x42ac58,'value',_0x1e7b6b=>_0x1e7b6b===_0x54ec33['model']),_0x5abd46['model']['commandParam']=_0x54ec33['model']),_0x370575['add'](_0x5abd46);}if(this['_shouldRenderCustomValueOption']()){const _0xf588=this['_getCustomValueOptionDefinition'](_0x27aa4e);_0x370575['add'](_0xf588);}return _0x370575;}['_getCustomValueOptionDefinition'](_0xff3455){const _0x332a47=this['editor'],t=_0x332a47['t'],_0x29b01f=_0x332a47['commands']['get']('lineHeight'),_0x2aca6b=_0xff3455['map'](_0x17b200=>_0x17b200['model']),_0x2dbf44={'type':'button','model':new _0x3ed239({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x2dbf44['model']['bind']('commandParam')['to'](_0x29b01f,'value'),_0x2dbf44['model']['bind']('isOn')['to'](_0x29b01f,'value',_0x28c2c6=>!!_0x28c2c6&&!_0x2aca6b['includes'](String(_0x28c2c6))),_0x2dbf44['model']['bind']('label')['to'](_0x29b01f,'value',_0x1e1b99=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1e1b99))),_0x2dbf44;}['_registerToolbarComponent']({accessibleLabel:_0x168074,options:_0x17e53d}){const _0xf24319=this['editor'],_0x2f74f9=_0xf24319['commands']['get']('lineHeight');_0xf24319['ui']['componentFactory']['add']('lineHeight',_0x1be803=>{const _0x506029=_0x5cb7d3(_0x1be803);return _0x2de989(_0x506029,_0x17e53d,{'role':'menu','ariaLabel':_0x168074}),_0x506029['buttonView']['set']({'label':_0x168074,'tooltip':!0x0,'icon':_0x2e7485}),_0x506029['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x506029['bind']('isEnabled')['to'](_0x2f74f9),this['listenTo'](_0x506029,'execute',_0x448d89=>{_0xf24319['execute'](_0x448d89['source']['commandName'],{'value':_0x448d89['source']['commandParam']}),_0xf24319['editing']['view']['focus']();}),_0x506029['once']('change:isOpen',()=>{const _0x32ff06=_0x506029['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x506029,_0x17e53d,_0x32ff06);}),_0x506029;});}['_registerMenuBarComponent']({accessibleLabel:_0x3751c6,options:_0x5b1de2}){const _0x4671c8=this['editor'],_0x1b6bab=_0x4671c8['commands']['get']('lineHeight');_0x4671c8['ui']['componentFactory']['add']('menuBar:lineHeight',_0x145457=>{const _0x619708=new _0x1a0647(_0x145457);_0x619708['buttonView']['set']({'label':_0x3751c6,'icon':_0x2e7485}),_0x619708['bind']('isEnabled')['to'](_0x1b6bab);const _0x4afbcd=new _0x2e002f(_0x145457);for(const _0x5ac48 of _0x5b1de2){const _0x332b07=new _0x5e4a43(_0x145457,_0x619708),_0x2921cb=new _0x473f80(_0x145457);_0x2921cb['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x2921cb['bind'](...Object['keys'](_0x5ac48['model']))['to'](_0x5ac48['model']),_0x2921cb['delegate']('execute')['to'](_0x619708),_0x2921cb['on']('execute',()=>{_0x4671c8['execute'](_0x5ac48['model']['commandName'],{'value':_0x5ac48['model']['commandParam']}),_0x4671c8['editing']['view']['focus']();}),_0x332b07['children']['add'](_0x2921cb),_0x4afbcd['items']['add'](_0x332b07);}return _0x619708['panelView']['children']['add'](_0x4afbcd),this['_attachCustomOptionVisibilityHandler'](_0x619708,_0x5b1de2,_0x4afbcd),_0x619708;});}['_attachCustomOptionVisibilityHandler'](_0x3aca85,_0x11cfe9,_0x24d8bc){if(!this['_shouldRenderCustomValueOption']())return;const _0x4612f8=()=>{if(!_0x3aca85['isOpen'])return;_0x24d8bc['items']['last']['isVisible']=Boolean(_0x11cfe9['last']['model']['isOn']);};_0x4612f8(),_0x3aca85['on']('change:isOpen',()=>{_0x4612f8();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3142f3,_0x3a9780){const _0x1c00a3=_0x434b,_0x455844=_0x3142f3();while(!![]){try{const _0x43bf76=-parseInt(_0x1c00a3(0x17b))/0x1+-parseInt(_0x1c00a3(0x169))/0x2*(parseInt(_0x1c00a3(0x183))/0x3)+parseInt(_0x1c00a3(0x172))/0x4+-parseInt(_0x1c00a3(0x17d))/0x5+-parseInt(_0x1c00a3(0x166))/0x6+parseInt(_0x1c00a3(0x16b))/0x7+parseInt(_0x1c00a3(0x178))/0x8*(parseInt(_0x1c00a3(0x174))/0x9);if(_0x43bf76===_0x3a9780)break;else _0x455844['push'](_0x455844['shift']());}catch(_0x494b49){_0x455844['push'](_0x455844['shift']());}}}(_0x39ef,0x972ea));function _0x434b(_0x1ad0d8,_0x1c9bbf){const _0x39efe4=_0x39ef();return _0x434b=function(_0x434b99,_0x209f5d){_0x434b99=_0x434b99-0x163;let _0x5cdaec=_0x39efe4[_0x434b99];return _0x5cdaec;},_0x434b(_0x1ad0d8,_0x1c9bbf);}const v={get 'single'(){const _0x49dc81=_0x434b;return{'title':_0x49dc81(0x17c),'model':_0x49dc81(0x182),'view':{'key':_0x49dc81(0x179),'value':_0x49dc81(0x165)}};},get 'double'(){const _0x5b6601=_0x434b;return{'title':_0x5b6601(0x168),'model':_0x5b6601(0x173),'view':{'key':_0x5b6601(0x179),'value':_0x5b6601(0x17f)}};}};export function isLineHeightDefaultValue(_0x566b4e){const _0x403d83=_0x434b;return _0x403d83(0x176)==typeof _0x566b4e&&_0x403d83(0x17e)===_0x566b4e[_0x403d83(0x164)]();}export function normalizeOptions(_0x374555){const _0x245f71=_0x434b;return _0x374555[_0x245f71(0x171)][_0x245f71(0x170)](_0x4d3057=>isLineHeightDefaultValue(_0x4d3057)?{'title':String(_0x374555[_0x245f71(0x16a)]),'model':_0x245f71(0x17e)}:(_0x245f71(0x177)==typeof _0x4d3057&&(_0x4d3057=String(_0x4d3057)),_0x245f71(0x176)!=typeof _0x4d3057?_0x4d3057:parseFloat(_0x4d3057)?{'title':_0x4d3057,'model':_0x4d3057,'view':{'name':_0x245f71(0x181),'styles':{'line-height':_0x4d3057}}}:findPreset(_0x4d3057)))[_0x245f71(0x167)](_0x1330b7=>void 0x0!==_0x1330b7);}export function findPreset(_0x516b3f){const _0x1c5f1d=_0x434b;return _0x1c5f1d(0x176)==typeof _0x516b3f?v[_0x516b3f]:v[_0x516b3f[_0x1c5f1d(0x16c)]];}export function buildDefinition(_0x55c795,_0xef4ba5){const _0x46f51f=_0x434b,_0x372f62={'model':{'key':_0x55c795,'values':[]},'view':{}};for(const _0x144aef of _0xef4ba5)_0x46f51f(0x179)===_0x144aef[_0x46f51f(0x163)]?.[_0x46f51f(0x16e)]?(_0x372f62[_0x46f51f(0x16c)][_0x46f51f(0x16f)][_0x46f51f(0x16d)](_0x144aef[_0x46f51f(0x16c)]),_0x372f62[_0x46f51f(0x163)][_0x144aef[_0x46f51f(0x16c)]]={'key':_0x46f51f(0x179),'value':_0x144aef[_0x46f51f(0x163)][_0x46f51f(0x17a)]}):(_0x372f62[_0x46f51f(0x16c)][_0x46f51f(0x16f)][_0x46f51f(0x16d)](_0x144aef[_0x46f51f(0x16c)]),_0x372f62[_0x46f51f(0x163)][_0x144aef[_0x46f51f(0x16c)]]={'key':_0x46f51f(0x175),'value':_0x46f51f(0x180)+_0x144aef[_0x46f51f(0x16c)]+';'});return _0x372f62;}function _0x39ef(){const _0x21eb83=['values','map','options','3744348GCphAG','double','5031mbSFKU','style','string','number','39448YTroYG','class','value','646203oZreDT','Single','5083130JsZYgK','default','line-height-double','line-height:','span','single','261927hvLYhV','view','toLowerCase','line-height-single','4798836ZjQHrp','filter','Double','18KuMusR','defaultValue','1225994PNqlip','model','push','key'];_0x39ef=function(){return _0x21eb83;};return _0x39ef();}
|