@ckeditor/ckeditor5-line-height 46.1.1 → 47.0.0-alpha.1
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 _0x1d1c(_0x4479d8,_0x491563){const _0x953ad=_0x953a();return _0x1d1c=function(_0x1d1c53,_0x1ebc81){_0x1d1c53=_0x1d1c53-0x179;let _0x23b0a0=_0x953ad[_0x1d1c53];return _0x23b0a0;},_0x1d1c(_0x4479d8,_0x491563);}const _0x373bae=_0x1d1c;(function(_0x420e4a,_0x179410){const _0x1d8c3d=_0x1d1c,_0x5f321e=_0x420e4a();while(!![]){try{const _0x5de113=parseInt(_0x1d8c3d(0x17c))/0x1*(-parseInt(_0x1d8c3d(0x185))/0x2)+-parseInt(_0x1d8c3d(0x182))/0x3+parseInt(_0x1d8c3d(0x184))/0x4+-parseInt(_0x1d8c3d(0x181))/0x5+parseInt(_0x1d8c3d(0x190))/0x6*(parseInt(_0x1d8c3d(0x187))/0x7)+-parseInt(_0x1d8c3d(0x18d))/0x8*(parseInt(_0x1d8c3d(0x18f))/0x9)+parseInt(_0x1d8c3d(0x17b))/0xa*(parseInt(_0x1d8c3d(0x180))/0xb);if(_0x5de113===_0x179410)break;else _0x5f321e['push'](_0x5f321e['shift']());}catch(_0x1f68e0){_0x5f321e['push'](_0x5f321e['shift']());}}}(_0x953a,0x48d55));import{Command as _0x242ca6}from'ckeditor5/src/core.js';import{first as _0x40829e}from'ckeditor5/src/utils.js';function _0x953a(){const _0x170a69=['1256MluhtJ','getAttribute','4545dQzeEX','285918xnIHJV','checkAttribute','lineHeight','from','filter','isEnabled','change','refresh','removeAttribute','3470cZceqc','2zBiZoS','setAttribute','getSelectedBlocks','editor','41657BpCynp','2815680addjwd','356448gtaHPe','schema','1012152wxMGWc','555218BiyjdK','model','7cvgMmf','value','selection','document','execute','_canHaveLineHeight'];_0x953a=function(){return _0x170a69;};return _0x953a();}export class LineHeightCommand extends _0x242ca6{[_0x373bae(0x179)](){const _0x1f2530=_0x373bae,_0x35a47b=this[_0x1f2530(0x17f)][_0x1f2530(0x186)][_0x1f2530(0x18a)],_0xca091d=_0x40829e(_0x35a47b[_0x1f2530(0x189)][_0x1f2530(0x17e)]());this[_0x1f2530(0x195)]=Boolean(_0xca091d)&&this[_0x1f2530(0x18c)](_0xca091d),this[_0x1f2530(0x188)]=this[_0x1f2530(0x195)]&&_0xca091d[_0x1f2530(0x18e)](_0x1f2530(0x192));}[_0x373bae(0x18b)](_0x1e5778={}){const _0x12aea0=_0x373bae,_0x4583e3=this[_0x12aea0(0x17f)][_0x12aea0(0x186)],_0x2f8a61=_0x4583e3[_0x12aea0(0x18a)][_0x12aea0(0x189)],_0x4e7823=_0x1e5778[_0x12aea0(0x188)];_0x4583e3[_0x12aea0(0x196)](_0xa59517=>{const _0xb41d84=_0x12aea0,_0x718324=Array[_0xb41d84(0x193)](_0x2f8a61[_0xb41d84(0x17e)]())[_0xb41d84(0x194)](_0x302bf6=>this[_0xb41d84(0x18c)](_0x302bf6));for(const _0xa8be4 of _0x718324)_0x4e7823?_0xa59517[_0xb41d84(0x17d)](_0xb41d84(0x192),_0x4e7823,_0xa8be4):_0xa59517[_0xb41d84(0x17a)](_0xb41d84(0x192),_0xa8be4);});}[_0x373bae(0x18c)](_0x2f1f7d){const _0x3432d0=_0x373bae;return this[_0x3432d0(0x17f)][_0x3432d0(0x186)][_0x3432d0(0x183)][_0x3432d0(0x191)](_0x2f1f7d,_0x3432d0(0x192));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x238a07=_0x32ec;function _0x4053(){const _0x1e89c4=['values','35DSlwYI','4009635SQhWBA','string','lineHeight','isPremiumPlugin','afterInit','conversion','href','join','lineHeight.defaultValue','includes','commands','_prepareAnyValueConverters','setAttributeProperties','lineHeight.options','isOfficialPlugin','1077210fxSErP','upcast','_preparePredefinedConverters','extend','init','default','style','model','get','LineHeightEditing','config','for','457944mCMCZf','622316mqCMeG','49GCmxaw','define','slice','length','line-height-invalid-use-of-named-presets','1909226HhNLZS','$block','getStyle','_validateConfig','downcast','map','filter','lineHeight.supportAllValues','line-height','add','3226602hREJKV','editor','500144ECUkyx','attributeToAttribute','fromCharCode','pluginName','schema','54WxmFJO'];_0x4053=function(){return _0x1e89c4;};return _0x4053();}function _0x32ec(_0x4a59fe,_0x4601a5){const _0x405345=_0x4053();return _0x32ec=function(_0x32ecfd,_0x5433d6){_0x32ecfd=_0x32ecfd-0xbc;let _0x4156d3=_0x405345[_0x32ecfd];return _0x4156d3;},_0x32ec(_0x4a59fe,_0x4601a5);}(function(_0x1152e9,_0x480623){const _0x32e4b6=_0x32ec,_0x50600a=_0x1152e9();while(!![]){try{const _0x1b8353=parseInt(_0x32e4b6(0xc2))/0x1+-parseInt(_0x32e4b6(0xc8))/0x2+parseInt(_0x32e4b6(0xdc))/0x3+-parseInt(_0x32e4b6(0xc1))/0x4*(parseInt(_0x32e4b6(0xdb))/0x5)+parseInt(_0x32e4b6(0xd2))/0x6+parseInt(_0x32e4b6(0xc3))/0x7*(-parseInt(_0x32e4b6(0xd4))/0x8)+parseInt(_0x32e4b6(0xd9))/0x9*(parseInt(_0x32e4b6(0xeb))/0xa);if(_0x1b8353===_0x480623)break;else _0x50600a['push'](_0x50600a['shift']());}catch(_0x4fc007){_0x50600a['push'](_0x50600a['shift']());}}}(_0x4053,0xe7c41));import{Plugin as _0x152ef2}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x52a812}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x21fb04}from'ckeditor5/src/engine.js';import{uid as _0x437748,CKEditorError as _0x536adc}from'ckeditor5/src/utils.js';import{buildDefinition as _0x339b06,isLineHeightDefaultValue as _0x1de739,normalizeOptions as _0x3765a5}from'./utils.js';export class LineHeightEditing extends _0x152ef2{static get[_0x238a07(0xd7)](){const _0x44cef0=_0x238a07;return _0x44cef0(0xbe);}static get[_0x238a07(0xea)](){return!0x0;}static get[_0x238a07(0xdf)](){return!0x0;}constructor(_0x383342){const _0x23d4c7=_0x238a07;super(_0x383342),_0x383342[_0x23d4c7(0xbf)][_0x23d4c7(0xc4)](_0x23d4c7(0xde),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x23d4c7(0xf0),0x2,2.5,0x3]});}[_0x238a07(0xef)](){const _0x34b6c2=_0x238a07,_0x1f3222=this[_0x34b6c2(0xd3)];this[_0x34b6c2(0xcb)](),_0x1f3222[_0x34b6c2(0xbc)][_0x34b6c2(0xd8)][_0x34b6c2(0xee)](_0x34b6c2(0xc9),{'allowAttributes':_0x34b6c2(0xde)}),_0x1f3222[_0x34b6c2(0xbc)][_0x34b6c2(0xd8)][_0x34b6c2(0xe8)](_0x34b6c2(0xde),{'isFormatting':!0x0}),_0x1f3222[_0x34b6c2(0xe6)][_0x34b6c2(0xd1)](_0x34b6c2(0xde),new _0x52a812(_0x1f3222)),this[_0x34b6c2(0xd3)][_0x34b6c2(0xbf)][_0x34b6c2(0xbd)](_0x34b6c2(0xcf))?this[_0x34b6c2(0xe7)]():this[_0x34b6c2(0xed)]();}[_0x238a07(0xe0)](){!async function(_0x53856f){const _0x5eaa8b=_0x4b29f9([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]),_0x400ea4=0x4597e011,_0x11d422=0x45909361^_0x400ea4,_0x524b75=window[_0x4b29f9([0x44,0x61,0x74,0x65])][_0x4b29f9([0x6e,0x6f,0x77])](),_0x462e44=_0x53856f[_0x4b29f9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2f6584=new window[(_0x4b29f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27317a=>{_0x462e44[_0x4b29f9([0x6f,0x6e,0x63,0x65])](_0x4b29f9([0x72,0x65,0x61,0x64,0x79]),_0x27317a);}),_0x446c10={[_0x4b29f9([0x6b,0x74,0x79])]:_0x4b29f9([0x45,0x43]),[_0x4b29f9([0x75,0x73,0x65])]:_0x4b29f9([0x73,0x69,0x67]),[_0x4b29f9([0x63,0x72,0x76])]:_0x4b29f9([0x50,0x2d,0x32,0x35,0x36]),[_0x4b29f9([0x78])]:_0x4b29f9([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]),[_0x4b29f9([0x79])]:_0x4b29f9([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]),[_0x4b29f9([0x61,0x6c,0x67])]:_0x4b29f9([0x45,0x53,0x32,0x35,0x36])},_0x1932e6=_0x462e44[_0x4b29f9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4b29f9([0x67,0x65,0x74])](_0x4b29f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x114a4c(){let _0x287421,_0x2fea98=null,_0x46f5f8=null;try{if(_0x1932e6==_0x4b29f9([0x47,0x50,0x4c]))return _0x4b29f9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x287421=_0xb7ca59(),!_0x287421)return _0x4b29f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x287421[_0x4b29f9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x46f5f8=_0x37a12c(_0x287421[_0x4b29f9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x287421[_0x4b29f9([0x6a,0x74,0x69])])),await _0x4dfb58()?_0x4f14be()?_0x213eb1()?_0x4b29f9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4b0292()?(_0x287421[_0x4b29f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b29f9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2fea98=_0x5e8157(_0x4b29f9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x287421[_0x4b29f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b29f9([0x74,0x72,0x69,0x61,0x6c])&&(_0x2fea98=_0x5e8157(_0x4b29f9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2dbea4()):_0x4b29f9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4b29f9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4b29f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4b29f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x213eb1(){const _0x212feb=[_0x4b29f9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4b29f9([0x74,0x72,0x69,0x61,0x6c])][_0x4b29f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x287421[_0x4b29f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x524b75/0x3e8:0xe10*_0x11d422;return _0x287421[_0x4b29f9([0x65,0x78,0x70])]<_0x212feb;}function _0x4f14be(){const _0x47eb72=_0x287421[_0x4b29f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x47eb72&&(!!_0x47eb72[_0x4b29f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b29f9([0x2a]))||!!_0x47eb72[_0x4b29f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b29f9([0x4c,0x48])));}function _0x4b0292(){const _0x361d70=_0x32ec,_0x41a1aa=_0x287421[_0x4b29f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x41a1aa||0x0==_0x41a1aa[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1bb829}=new URL(window[_0x4b29f9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x361d70(0xe2)]);if(_0x41a1aa[_0x4b29f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bb829))return!0x0;const _0x2035df=_0x1bb829[_0x4b29f9([0x73,0x70,0x6c,0x69,0x74])](_0x4b29f9([0x2e]));return _0x41a1aa[_0x4b29f9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x380b4e=>_0x380b4e[_0x4b29f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b29f9([0x2a])))[_0x4b29f9([0x6d,0x61,0x70])](_0x510bc4=>_0x510bc4[_0x4b29f9([0x73,0x70,0x6c,0x69,0x74])](_0x4b29f9([0x2e])))[_0x4b29f9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36c5f5=>_0x36c5f5[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2035df[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b29f9([0x6d,0x61,0x70])](_0x5f446f=>Array(_0x2035df[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5f446f[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b29f9([0x66,0x69,0x6c,0x6c])](_0x5f446f[0x0]===_0x4b29f9([0x2a])?_0x4b29f9([0x2a]):'')[_0x4b29f9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5f446f))[_0x4b29f9([0x73,0x6f,0x6d,0x65])](_0x5f31b0=>_0x2035df[_0x4b29f9([0x65,0x76,0x65,0x72,0x79])]((_0x587d3f,_0x28dfc0)=>_0x5f31b0[_0x28dfc0]===_0x587d3f||_0x5f31b0[_0x28dfc0]===_0x4b29f9([0x2a])));}function _0x2dbea4(){return _0x2fea98&&_0x46f5f8?new window[(_0x4b29f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4af7f1,_0x423fed)=>{_0x2fea98[_0x4b29f9([0x74,0x68,0x65,0x6e])](_0x4af7f1,_0x423fed),_0x46f5f8[_0x4b29f9([0x74,0x68,0x65,0x6e])](_0x2fdfc1=>{_0x2fdfc1!=_0x4b29f9([0x56,0x61,0x6c,0x69,0x64])&&_0x4af7f1(_0x2fdfc1);},_0x423fed);}):_0x2fea98||_0x46f5f8||_0x4b29f9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x37a12c(_0x3d2a74,_0x1970e2){return new window[(_0x4b29f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31c8da=>{if(_0x3d535c())return _0x31c8da(_0x4b29f9([0x56,0x61,0x6c,0x69,0x64]));_0x3b9415(),_0x462e44[_0x4b29f9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4b29f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2f7d39=!0x1;const _0x438ea5=_0x437748();function _0x6e0d67(_0x5bcc05){return!!_0x5bcc05&&(typeof _0x5bcc05===_0x4b29f9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5bcc05===_0x4b29f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5bcc05[_0x4b29f9([0x74,0x68,0x65,0x6e])]===_0x4b29f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5bcc05[_0x4b29f9([0x63,0x61,0x74,0x63,0x68])]===_0x4b29f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4de607(_0x5ed255){_0x247591(_0x5ed255)[_0x4b29f9([0x74,0x68,0x65,0x6e])](_0x2c9aad=>{if(!_0x2c9aad||_0x2c9aad[_0x4b29f9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4b29f9([0x6f,0x6b]))return _0x4b29f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x31a6b9(_0x244097(_0x438ea5+_0x1970e2))!=_0x2c9aad[_0x4b29f9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4b29f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4b29f9([0x56,0x61,0x6c,0x69,0x64]);})[_0x4b29f9([0x74,0x68,0x65,0x6e])](_0x5a6051=>(_0x7906e9(),_0x5a6051),()=>{const _0x182284=_0x5e6580();return null==_0x182284?(_0x7906e9(),_0x4b29f9([0x56,0x61,0x6c,0x69,0x64])):_0x4b29f9(_0x524b75-_0x182284>(0x619b6411^_0x400ea4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4b29f9([0x74,0x68,0x65,0x6e])](_0x31c8da)[_0x4b29f9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x31c8da(_0x4b29f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x573f16=0x45a10e91^_0x400ea4;function _0x7906e9(){const _0x1ee769=_0x4b29f9([0x6c,0x6c,0x63,0x74,0x2d])+_0x31a6b9(_0x244097(_0x3d2a74)),_0x1c4ffc=_0x221fc5(_0x31a6b9(window[_0x4b29f9([0x4d,0x61,0x74,0x68])][_0x4b29f9([0x63,0x65,0x69,0x6c])](_0x524b75/_0x573f16)));window[_0x4b29f9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b29f9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ee769,_0x1c4ffc);}function _0x5e6580(){const _0x1ccbe5=_0x4b29f9([0x6c,0x6c,0x63,0x74,0x2d])+_0x31a6b9(_0x244097(_0x3d2a74)),_0x15ada2=window[_0x4b29f9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b29f9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ccbe5);return _0x15ada2?window[_0x4b29f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x221fc5(_0x15ada2),0x10)*_0x573f16:null;}function _0x247591(_0x200013){return new window[(_0x4b29f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28b6d6,_0x589c11)=>{_0x200013[_0x4b29f9([0x74,0x68,0x65,0x6e])](_0x28b6d6,_0x589c11),window[_0x4b29f9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x589c11,0x459634d1^_0x400ea4);});}}_0x462e44[_0x4b29f9([0x6f,0x6e])](_0x4b29f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2b5816,_0x1667cc)=>{if(_0x1667cc[0x0]!=_0x3d2a74)return _0x31c8da(_0x4b29f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1667cc[0x1]={..._0x1667cc[0x1],[_0x4b29f9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x438ea5};},{[_0x4b29f9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b29f9([0x68,0x69,0x67,0x68])}),_0x462e44[_0x4b29f9([0x6f,0x6e])](_0x4b29f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x42d9fa=>{_0x6e0d67(_0x42d9fa[_0x4b29f9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2f7d39=!0x0,_0x4de607(_0x42d9fa[_0x4b29f9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4b29f9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b29f9([0x6c,0x6f,0x77])}),_0x2f6584[_0x4b29f9([0x74,0x68,0x65,0x6e])](()=>{_0x2f7d39||_0x31c8da(_0x4b29f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3d535c(){return _0x462e44[_0x4b29f9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b29f9([0x76,0x69,0x65,0x77])][_0x4b29f9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4b29f9([0x61,0x75,0x74,0x6f]);}function _0x3b9415(){_0x462e44[_0x4b29f9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b29f9([0x76,0x69,0x65,0x77])][_0x4b29f9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4b29f9([0x61,0x75,0x74,0x6f]);}}function _0x5e8157(_0x17f57f){const _0x3c91fe=[new window[(_0x4b29f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a1c58=>setTimeout(_0x1a1c58,0x459ededd^_0x400ea4)),_0x2f6584[_0x4b29f9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4b29f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33db9f=>{let _0x215efa=0x0;_0x462e44[_0x4b29f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b29f9([0x6f,0x6e])](_0x4b29f9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x47c2d1,_0x5a14b6)=>{_0x5a14b6[0x0][_0x4b29f9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x215efa++,_0x215efa==(0x4597e1e9^_0x400ea4)&&(_0x33db9f(),_0x47c2d1[_0x4b29f9([0x6f,0x66,0x66])]());});}))];return window[_0x4b29f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4b29f9([0x72,0x61,0x63,0x65])](_0x3c91fe)[_0x4b29f9([0x74,0x68,0x65,0x6e])](()=>_0x17f57f);}async function _0x19714a(){await _0x2f6584,_0x462e44[_0x4b29f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b29f9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x34986a,_0x462e44[_0x4b29f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b29f9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x34986a,_0x462e44[_0x4b29f9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4b29f9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x16a76a(_0x2f549e){const _0x16affa=_0x56b7bd();_0x462e44[_0x16affa]=_0x4b29f9([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2f549e,_0x2f549e!=_0x4b29f9([0x56,0x61,0x6c,0x69,0x64])&&_0x19714a();}function _0x56b7bd(){const _0x4b39de=window[_0x4b29f9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4b29f9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4b29f9([0x6e,0x6f,0x77])]())[_0x4b29f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4b29f9([0x2e]),'');let _0x5d4dc1=_0x4b29f9([0x51]);for(let _0x522d30=0x0;_0x522d30<_0x4b39de[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x522d30+=0x2){let _0x22fe6b=window[_0x4b29f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b39de[_0x4b29f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x522d30,_0x522d30+0x2));_0x22fe6b>=_0x5eaa8b[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x22fe6b-=_0x5eaa8b[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d4dc1+=_0x5eaa8b[_0x22fe6b];}return _0x5d4dc1;}function _0xb7ca59(){const _0x3f3fcf=_0x1932e6[_0x4b29f9([0x73,0x70,0x6c,0x69,0x74])](_0x4b29f9([0x2e]));if(0x3!=_0x3f3fcf[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1e5cde(_0x3f3fcf[0x1]);function _0x1e5cde(_0x430128){const _0x1715f6=_0x58ec40(_0x430128);return _0x1715f6&&_0x165d2d()?_0x1715f6:null;function _0x165d2d(){const _0x21521b=_0x1715f6[_0x4b29f9([0x6a,0x74,0x69])],_0x13ca1f=window[_0x4b29f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21521b[_0x4b29f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21521b[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x232908={..._0x1715f6,[_0x4b29f9([0x6a,0x74,0x69])]:_0x21521b[_0x4b29f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x21521b[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x232908[_0x4b29f9([0x76,0x63])],_0x244097(_0x232908)==_0x13ca1f;}}}async function _0x4dfb58(){let _0x4e8575=!0x0;try{const _0x4ddd47=_0x1932e6[_0x4b29f9([0x73,0x70,0x6c,0x69,0x74])](_0x4b29f9([0x2e])),[_0x94acd0,_0x557f79,_0x4d6038]=_0x4ddd47;return _0x5045c2(_0x94acd0),await _0x29da2e(_0x94acd0,_0x557f79,_0x4d6038),_0x4e8575;}catch{return!0x1;}function _0x5045c2(_0x287fed){const _0x1b9605=_0x58ec40(_0x287fed);_0x1b9605&&_0x1b9605[_0x4b29f9([0x61,0x6c,0x67])]==_0x4b29f9([0x45,0x53,0x32,0x35,0x36])||(_0x4e8575=!0x1);}async function _0x29da2e(_0x137b2b,_0x772ad2,_0x43351c){const _0x301f81=window[_0x4b29f9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4b29f9([0x66,0x72,0x6f,0x6d])](_0x2be871(_0x43351c),_0x43bfe8=>_0x43bfe8[_0x4b29f9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3e3e35=new window[(_0x4b29f9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4b29f9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x137b2b+_0x4b29f9([0x2e])+_0x772ad2),_0x5e25de=window[_0x4b29f9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4b29f9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5e25de)return;const _0x2911c4=await _0x5e25de[_0x4b29f9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4b29f9([0x6a,0x77,0x6b]),_0x446c10,{[_0x4b29f9([0x6e,0x61,0x6d,0x65])]:_0x4b29f9([0x45,0x43,0x44,0x53,0x41]),[_0x4b29f9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4b29f9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4b29f9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5e25de[_0x4b29f9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4b29f9([0x6e,0x61,0x6d,0x65])]:_0x4b29f9([0x45,0x43,0x44,0x53,0x41]),[_0x4b29f9([0x68,0x61,0x73,0x68])]:{[_0x4b29f9([0x6e,0x61,0x6d,0x65])]:_0x4b29f9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2911c4,_0x301f81,_0x3e3e35)||(_0x4e8575=!0x1);}}function _0x58ec40(_0x1cc7fc){return _0x1cc7fc[_0x4b29f9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4b29f9([0x65,0x79]))?JSON[_0x4b29f9([0x70,0x61,0x72,0x73,0x65])](_0x2be871(_0x1cc7fc)):null;}function _0x2be871(_0x10b1bd){return window[_0x4b29f9([0x61,0x74,0x6f,0x62])](_0x10b1bd[_0x4b29f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4b29f9([0x2b]))[_0x4b29f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4b29f9([0x2f])));}function _0x244097(_0x3846b4){let _0x10f96c=0x1505;function _0x5f4bbc(_0x1c49dc){for(let _0x41c3d6=0x0;_0x41c3d6<_0x1c49dc[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41c3d6++){const _0x3d784c=_0x1c49dc[_0x4b29f9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x41c3d6);_0x10f96c=(_0x10f96c<<0x5)+_0x10f96c+_0x3d784c,_0x10f96c&=_0x10f96c;}}function _0x50c73b(_0x249d31){Array[_0x4b29f9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x249d31)?_0x249d31[_0x4b29f9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x50c73b):_0x249d31&&typeof _0x249d31==_0x4b29f9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4b29f9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x249d31)[_0x4b29f9([0x73,0x6f,0x72,0x74])]()[_0x4b29f9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x132a3d,_0x5e995a])=>{_0x5f4bbc(_0x132a3d),_0x50c73b(_0x5e995a);}):_0x5f4bbc(window[_0x4b29f9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x249d31));}return _0x50c73b(_0x3846b4),_0x10f96c>>>0x0;}function _0x31a6b9(_0x4c5d7e){return _0x4c5d7e[_0x4b29f9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4b29f9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4b29f9([0x30]));}function _0x221fc5(_0x5e11c6){return _0x5e11c6[_0x4b29f9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4b29f9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4b29f9([0x6a,0x6f,0x69,0x6e])]('');}function _0x34986a(){}function _0x4b29f9(_0x54f70f){const _0x45d487=_0x32ec;return _0x54f70f[_0x45d487(0xcd)](_0x3dcf08=>String[_0x45d487(0xd6)](_0x3dcf08))[_0x45d487(0xe3)]('');}_0x16a76a(await _0x114a4c());}(this);}[_0x238a07(0xcb)](){const _0x2bb480=_0x238a07,_0x523f35=this[_0x2bb480(0xd3)];if(!_0x523f35[_0x2bb480(0xbf)][_0x2bb480(0xbd)](_0x2bb480(0xcf)))return;const _0x2f08ae=_0x523f35[_0x2bb480(0xbf)][_0x2bb480(0xbd)](_0x2bb480(0xe9))[_0x2bb480(0xce)](_0x2cc595=>_0x2bb480(0xdd)==typeof _0x2cc595&&(!_0x1de739(_0x2cc595)&&isNaN(Number(_0x2cc595))));if(_0x2f08ae[_0x2bb480(0xc6)])throw new _0x536adc(_0x2bb480(0xc7),null,{'namedPresets':_0x2f08ae});}[_0x238a07(0xe7)](){const _0x11c399=_0x238a07,_0x52a968=this[_0x11c399(0xd3)],_0x308d53=this[_0x11c399(0xd3)][_0x11c399(0xbf)][_0x11c399(0xbd)](_0x11c399(0xe4));_0x52a968[_0x11c399(0xe1)][_0x11c399(0xc0)](_0x11c399(0xcc))[_0x11c399(0xd5)]({'model':{'key':_0x11c399(0xde)},'view':_0x1b646f=>String(_0x1b646f)===String(_0x308d53)?null:{'key':_0x11c399(0xf1),'value':{'line-height':_0x1b646f}}}),_0x52a968[_0x11c399(0xe1)][_0x11c399(0xc0)](_0x11c399(0xec))[_0x11c399(0xd5)]({'model':{'key':_0x11c399(0xde),'value':_0x41773d=>{const _0x458960=_0x11c399;let _0x346c97=_0x41773d[_0x458960(0xca)](_0x458960(0xd0));return _0x21fb04(_0x346c97)&&(_0x346c97=String(Number(_0x346c97[_0x458960(0xc5)](0x0,-0x1))/0x64)),String(_0x346c97)===String(_0x308d53)?null:_0x346c97;}},'view':{'styles':{'line-height':/.*/}}});}[_0x238a07(0xed)](){const _0xd288f0=_0x238a07,_0x59f028=this[_0xd288f0(0xd3)],_0xcb8303=this[_0xd288f0(0xd3)][_0xd288f0(0xbf)][_0xd288f0(0xbd)](_0xd288f0(0xe4)),_0xee3cd3=_0x3765a5(this[_0xd288f0(0xd3)][_0xd288f0(0xbf)][_0xd288f0(0xbd)](_0xd288f0(0xde)))[_0xd288f0(0xce)](_0x389dfb=>_0x389dfb[_0xd288f0(0xbc)]),_0x2a786a=_0x339b06(_0xd288f0(0xde),_0xee3cd3);_0x59f028[_0xd288f0(0xe1)][_0xd288f0(0xd5)](_0x2a786a),_0x59f028[_0xd288f0(0xe1)][_0xd288f0(0xc0)](_0xd288f0(0xec))[_0xd288f0(0xd5)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0xd288f0(0xde),'value':_0x5711b8=>{const _0xd73725=_0xd288f0;let _0x587ca4=_0x5711b8[_0xd73725(0xca)](_0xd73725(0xd0));return _0x21fb04(_0x587ca4)&&(_0x587ca4=String(Number(_0x587ca4[_0xd73725(0xc5)](0x0,-0x1))/0x64)),_0x587ca4===String(_0xcb8303)?null:_0x2a786a[_0xd73725(0xbc)][_0xd73725(0xda)][_0xd73725(0xe5)](_0x587ca4)?_0x587ca4:null;}}});}}
|
|
23
|
+
function _0xeafb(_0x5cd88f,_0x2863e2){const _0x1aae81=_0x1aae();return _0xeafb=function(_0xeafb89,_0x4a4869){_0xeafb89=_0xeafb89-0x12e;let _0x2f3c75=_0x1aae81[_0xeafb89];return _0x2f3c75;},_0xeafb(_0x5cd88f,_0x2863e2);}const _0x12dcc6=_0xeafb;(function(_0x8a3ffd,_0x33fe21){const _0x380fda=_0xeafb,_0x2f608b=_0x8a3ffd();while(!![]){try{const _0x3f6c41=-parseInt(_0x380fda(0x154))/0x1+-parseInt(_0x380fda(0x160))/0x2*(parseInt(_0x380fda(0x12e))/0x3)+-parseInt(_0x380fda(0x13d))/0x4+-parseInt(_0x380fda(0x15c))/0x5+parseInt(_0x380fda(0x143))/0x6+parseInt(_0x380fda(0x13f))/0x7+parseInt(_0x380fda(0x15f))/0x8*(parseInt(_0x380fda(0x12f))/0x9);if(_0x3f6c41===_0x33fe21)break;else _0x2f608b['push'](_0x2f608b['shift']());}catch(_0x2df0dc){_0x2f608b['push'](_0x2f608b['shift']());}}}(_0x1aae,0x377fa));import{Plugin as _0x294254}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x515fe1}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x469a80}from'ckeditor5/src/engine.js';import{uid as _0x2d87f3,CKEditorError as _0x55c180}from'ckeditor5/src/utils.js';import{buildDefinition as _0x577cbf,isLineHeightDefaultValue as _0x4ccdd0,normalizeOptions as _0x5c81ea}from'./utils.js';export class LineHeightEditing extends _0x294254{static get[_0x12dcc6(0x146)](){const _0x150a3a=_0x12dcc6;return _0x150a3a(0x14c);}static get[_0x12dcc6(0x13b)](){return!0x0;}static get[_0x12dcc6(0x162)](){return!0x0;}constructor(_0x554940){const _0x16371e=_0x12dcc6;super(_0x554940),_0x554940[_0x16371e(0x14d)][_0x16371e(0x135)](_0x16371e(0x13a),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x16371e(0x159),0x2,2.5,0x3]});}[_0x12dcc6(0x14b)](){const _0x4fe9a0=_0x12dcc6,_0x207fd1=this[_0x4fe9a0(0x139)];this[_0x4fe9a0(0x141)](),_0x207fd1[_0x4fe9a0(0x15a)][_0x4fe9a0(0x15d)][_0x4fe9a0(0x152)](_0x4fe9a0(0x156),{'allowAttributes':_0x4fe9a0(0x13a)}),_0x207fd1[_0x4fe9a0(0x15a)][_0x4fe9a0(0x15d)][_0x4fe9a0(0x134)](_0x4fe9a0(0x13a),{'isFormatting':!0x0}),_0x207fd1[_0x4fe9a0(0x13c)][_0x4fe9a0(0x148)](_0x4fe9a0(0x13a),new _0x515fe1(_0x207fd1)),this[_0x4fe9a0(0x139)][_0x4fe9a0(0x14d)][_0x4fe9a0(0x131)](_0x4fe9a0(0x149))?this[_0x4fe9a0(0x153)]():this[_0x4fe9a0(0x133)]();}[_0x12dcc6(0x137)](){!async function(_0x388c1b){const _0x484fde=_0x29d23e([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]),_0x1ad6cb=0x4597e011,_0x70b4b4=0x45909471^_0x1ad6cb,_0xee634d=window[_0x29d23e([0x44,0x61,0x74,0x65])][_0x29d23e([0x6e,0x6f,0x77])](),_0x5ab5ec=_0x388c1b[_0x29d23e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xbdd8f8=new window[(_0x29d23e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c6597=>{_0x5ab5ec[_0x29d23e([0x6f,0x6e,0x63,0x65])](_0x29d23e([0x72,0x65,0x61,0x64,0x79]),_0x3c6597);}),_0x3b6514={[_0x29d23e([0x6b,0x74,0x79])]:_0x29d23e([0x45,0x43]),[_0x29d23e([0x75,0x73,0x65])]:_0x29d23e([0x73,0x69,0x67]),[_0x29d23e([0x63,0x72,0x76])]:_0x29d23e([0x50,0x2d,0x32,0x35,0x36]),[_0x29d23e([0x78])]:_0x29d23e([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]),[_0x29d23e([0x79])]:_0x29d23e([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]),[_0x29d23e([0x61,0x6c,0x67])]:_0x29d23e([0x45,0x53,0x32,0x35,0x36])},_0x5a5b02=_0x5ab5ec[_0x29d23e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x29d23e([0x67,0x65,0x74])](_0x29d23e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4b3cb5(){let _0x11c743,_0x15591c=null,_0xe494c2=null;try{if(_0x5a5b02==_0x29d23e([0x47,0x50,0x4c]))return _0x29d23e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x11c743=_0x333d34(),!_0x11c743)return _0x29d23e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x11c743[_0x29d23e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xe494c2=_0x172b60(_0x11c743[_0x29d23e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x11c743[_0x29d23e([0x6a,0x74,0x69])])),await _0xbe01d6()?_0x4ec256()?_0x17a3b1()?_0x29d23e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3cf737()?(_0x11c743[_0x29d23e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29d23e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x15591c=_0xab14f5(_0x29d23e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x11c743[_0x29d23e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29d23e([0x74,0x72,0x69,0x61,0x6c])&&(_0x15591c=_0xab14f5(_0x29d23e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x96040f()):_0x29d23e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x29d23e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x29d23e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x29d23e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x17a3b1(){const _0x2e2dbd=[_0x29d23e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x29d23e([0x74,0x72,0x69,0x61,0x6c])][_0x29d23e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11c743[_0x29d23e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xee634d/0x3e8:0xe10*_0x70b4b4;return _0x11c743[_0x29d23e([0x65,0x78,0x70])]<_0x2e2dbd;}function _0x4ec256(){const _0x5f12c9=_0x11c743[_0x29d23e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5f12c9&&(!!_0x5f12c9[_0x29d23e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29d23e([0x2a]))||!!_0x5f12c9[_0x29d23e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29d23e([0x4c,0x48])));}function _0x3cf737(){const _0x46e709=_0xeafb,_0x4eb086=_0x11c743[_0x29d23e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4eb086||0x0==_0x4eb086[_0x29d23e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x25c223}=new URL(window[_0x29d23e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x46e709(0x130)]);if(_0x4eb086[_0x29d23e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25c223))return!0x0;const _0x23a5df=_0x25c223[_0x29d23e([0x73,0x70,0x6c,0x69,0x74])](_0x29d23e([0x2e]));return _0x4eb086[_0x29d23e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e4941=>_0x4e4941[_0x29d23e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29d23e([0x2a])))[_0x29d23e([0x6d,0x61,0x70])](_0x2376df=>_0x2376df[_0x29d23e([0x73,0x70,0x6c,0x69,0x74])](_0x29d23e([0x2e])))[_0x29d23e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28f8c3=>_0x28f8c3[_0x29d23e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x23a5df[_0x29d23e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29d23e([0x6d,0x61,0x70])](_0x486538=>Array(_0x23a5df[_0x29d23e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x486538[_0x29d23e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29d23e([0x66,0x69,0x6c,0x6c])](_0x486538[0x0]===_0x29d23e([0x2a])?_0x29d23e([0x2a]):'')[_0x29d23e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x486538))[_0x29d23e([0x73,0x6f,0x6d,0x65])](_0x736a91=>_0x23a5df[_0x29d23e([0x65,0x76,0x65,0x72,0x79])]((_0x293c8b,_0x39ffdf)=>_0x736a91[_0x39ffdf]===_0x293c8b||_0x736a91[_0x39ffdf]===_0x29d23e([0x2a])));}function _0x96040f(){return _0x15591c&&_0xe494c2?new window[(_0x29d23e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xc3451e,_0x32df40)=>{_0x15591c[_0x29d23e([0x74,0x68,0x65,0x6e])](_0xc3451e,_0x32df40),_0xe494c2[_0x29d23e([0x74,0x68,0x65,0x6e])](_0x4202e8=>{_0x4202e8!=_0x29d23e([0x56,0x61,0x6c,0x69,0x64])&&_0xc3451e(_0x4202e8);},_0x32df40);}):_0x15591c||_0xe494c2||_0x29d23e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x172b60(_0x55ab4d,_0x16c8d6){return new window[(_0x29d23e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x437519=>{if(_0x1f8335())return _0x437519(_0x29d23e([0x56,0x61,0x6c,0x69,0x64]));_0x2faacd(),_0x5ab5ec[_0x29d23e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x29d23e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1d546a=!0x1;const _0x458bae=_0x2d87f3();function _0x2d9449(_0xc8b88f){return!!_0xc8b88f&&(typeof _0xc8b88f===_0x29d23e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xc8b88f===_0x29d23e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xc8b88f[_0x29d23e([0x74,0x68,0x65,0x6e])]===_0x29d23e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xc8b88f[_0x29d23e([0x63,0x61,0x74,0x63,0x68])]===_0x29d23e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2c9841(_0x759c4c){_0x4bb324(_0x759c4c)[_0x29d23e([0x74,0x68,0x65,0x6e])](_0x11a60c=>{if(!_0x11a60c||_0x11a60c[_0x29d23e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x29d23e([0x6f,0x6b]))return _0x29d23e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x248d92(_0x20539a(_0x458bae+_0x16c8d6))!=_0x11a60c[_0x29d23e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x29d23e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x29d23e([0x56,0x61,0x6c,0x69,0x64]);})[_0x29d23e([0x74,0x68,0x65,0x6e])](_0x5b382c=>(_0x531f31(),_0x5b382c),()=>{const _0x14cd38=_0x5b0706();return null==_0x14cd38?(_0x531f31(),_0x29d23e([0x56,0x61,0x6c,0x69,0x64])):_0x29d23e(_0xee634d-_0x14cd38>(0x619b6411^_0x1ad6cb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x29d23e([0x74,0x68,0x65,0x6e])](_0x437519)[_0x29d23e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x437519(_0x29d23e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2c086d=0x45a10e91^_0x1ad6cb;function _0x531f31(){const _0x2d76c6=_0x29d23e([0x6c,0x6c,0x63,0x74,0x2d])+_0x248d92(_0x20539a(_0x55ab4d)),_0x11c5a3=_0x243e53(_0x248d92(window[_0x29d23e([0x4d,0x61,0x74,0x68])][_0x29d23e([0x63,0x65,0x69,0x6c])](_0xee634d/_0x2c086d)));window[_0x29d23e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29d23e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d76c6,_0x11c5a3);}function _0x5b0706(){const _0x1bfd34=_0x29d23e([0x6c,0x6c,0x63,0x74,0x2d])+_0x248d92(_0x20539a(_0x55ab4d)),_0x3d2475=window[_0x29d23e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29d23e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1bfd34);return _0x3d2475?window[_0x29d23e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x243e53(_0x3d2475),0x10)*_0x2c086d:null;}function _0x4bb324(_0x31693f){return new window[(_0x29d23e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54ab3d,_0x483816)=>{_0x31693f[_0x29d23e([0x74,0x68,0x65,0x6e])](_0x54ab3d,_0x483816),window[_0x29d23e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x483816,0x459634d1^_0x1ad6cb);});}}_0x5ab5ec[_0x29d23e([0x6f,0x6e])](_0x29d23e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x25b66b,_0x1bf06f)=>{if(_0x1bf06f[0x0]!=_0x55ab4d)return _0x437519(_0x29d23e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1bf06f[0x1]={..._0x1bf06f[0x1],[_0x29d23e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x458bae};},{[_0x29d23e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29d23e([0x68,0x69,0x67,0x68])}),_0x5ab5ec[_0x29d23e([0x6f,0x6e])](_0x29d23e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3288d4=>{_0x2d9449(_0x3288d4[_0x29d23e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1d546a=!0x0,_0x2c9841(_0x3288d4[_0x29d23e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x29d23e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29d23e([0x6c,0x6f,0x77])}),_0xbdd8f8[_0x29d23e([0x74,0x68,0x65,0x6e])](()=>{_0x1d546a||_0x437519(_0x29d23e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1f8335(){return _0x5ab5ec[_0x29d23e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29d23e([0x76,0x69,0x65,0x77])][_0x29d23e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x29d23e([0x61,0x75,0x74,0x6f]);}function _0x2faacd(){_0x5ab5ec[_0x29d23e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29d23e([0x76,0x69,0x65,0x77])][_0x29d23e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x29d23e([0x61,0x75,0x74,0x6f]);}}function _0xab14f5(_0x30ace8){const _0x31d7c5=[new window[(_0x29d23e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x358aa9=>setTimeout(_0x358aa9,0x459ededd^_0x1ad6cb)),_0xbdd8f8[_0x29d23e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x29d23e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d0b0a=>{let _0x1add6d=0x0;_0x5ab5ec[_0x29d23e([0x6d,0x6f,0x64,0x65,0x6c])][_0x29d23e([0x6f,0x6e])](_0x29d23e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4433c2,_0x5ad17b)=>{_0x5ad17b[0x0][_0x29d23e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1add6d++,_0x1add6d==(0x4597e1e9^_0x1ad6cb)&&(_0x1d0b0a(),_0x4433c2[_0x29d23e([0x6f,0x66,0x66])]());});}))];return window[_0x29d23e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x29d23e([0x72,0x61,0x63,0x65])](_0x31d7c5)[_0x29d23e([0x74,0x68,0x65,0x6e])](()=>_0x30ace8);}async function _0x5d4813(){await _0xbdd8f8,_0x5ab5ec[_0x29d23e([0x6d,0x6f,0x64,0x65,0x6c])][_0x29d23e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x15cb30,_0x5ab5ec[_0x29d23e([0x6d,0x6f,0x64,0x65,0x6c])][_0x29d23e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x15cb30,_0x5ab5ec[_0x29d23e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x29d23e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x57e35a(_0x4a809f){const _0x3881d0=_0x5e2c29();_0x5ab5ec[_0x3881d0]=_0x29d23e([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4a809f,_0x4a809f!=_0x29d23e([0x56,0x61,0x6c,0x69,0x64])&&_0x5d4813();}function _0x5e2c29(){const _0x5af21b=window[_0x29d23e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x29d23e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x29d23e([0x6e,0x6f,0x77])]())[_0x29d23e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x29d23e([0x2e]),'');let _0x48aa95=_0x29d23e([0x51]);for(let _0x37210d=0x0;_0x37210d<_0x5af21b[_0x29d23e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37210d+=0x2){let _0x225c5b=window[_0x29d23e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5af21b[_0x29d23e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37210d,_0x37210d+0x2));_0x225c5b>=_0x484fde[_0x29d23e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x225c5b-=_0x484fde[_0x29d23e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x48aa95+=_0x484fde[_0x225c5b];}return _0x48aa95;}function _0x333d34(){const _0x5204c1=_0x5a5b02[_0x29d23e([0x73,0x70,0x6c,0x69,0x74])](_0x29d23e([0x2e]));if(0x3!=_0x5204c1[_0x29d23e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x36a6ff(_0x5204c1[0x1]);function _0x36a6ff(_0x461f39){const _0x10f7f0=_0x343f7a(_0x461f39);return _0x10f7f0&&_0x134444()?_0x10f7f0:null;function _0x134444(){const _0x13df44=_0x10f7f0[_0x29d23e([0x6a,0x74,0x69])],_0x4d77d6=window[_0x29d23e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13df44[_0x29d23e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13df44[_0x29d23e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1ea34b={..._0x10f7f0,[_0x29d23e([0x6a,0x74,0x69])]:_0x13df44[_0x29d23e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x13df44[_0x29d23e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1ea34b[_0x29d23e([0x76,0x63])],_0x20539a(_0x1ea34b)==_0x4d77d6;}}}async function _0xbe01d6(){let _0x4aeb3a=!0x0;try{const _0x387a2c=_0x5a5b02[_0x29d23e([0x73,0x70,0x6c,0x69,0x74])](_0x29d23e([0x2e])),[_0x5ac77c,_0x40c98b,_0x2ee940]=_0x387a2c;return _0x56b86e(_0x5ac77c),await _0x2b1804(_0x5ac77c,_0x40c98b,_0x2ee940),_0x4aeb3a;}catch{return!0x1;}function _0x56b86e(_0x114c1d){const _0x39a623=_0x343f7a(_0x114c1d);_0x39a623&&_0x39a623[_0x29d23e([0x61,0x6c,0x67])]==_0x29d23e([0x45,0x53,0x32,0x35,0x36])||(_0x4aeb3a=!0x1);}async function _0x2b1804(_0x4bfab4,_0x155548,_0x34c42c){const _0x43f118=window[_0x29d23e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x29d23e([0x66,0x72,0x6f,0x6d])](_0x13b758(_0x34c42c),_0x5a3b12=>_0x5a3b12[_0x29d23e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x560750=new window[(_0x29d23e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x29d23e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4bfab4+_0x29d23e([0x2e])+_0x155548),_0x52caa7=window[_0x29d23e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x29d23e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x52caa7)return;const _0x137aa6=await _0x52caa7[_0x29d23e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x29d23e([0x6a,0x77,0x6b]),_0x3b6514,{[_0x29d23e([0x6e,0x61,0x6d,0x65])]:_0x29d23e([0x45,0x43,0x44,0x53,0x41]),[_0x29d23e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x29d23e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x29d23e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x52caa7[_0x29d23e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x29d23e([0x6e,0x61,0x6d,0x65])]:_0x29d23e([0x45,0x43,0x44,0x53,0x41]),[_0x29d23e([0x68,0x61,0x73,0x68])]:{[_0x29d23e([0x6e,0x61,0x6d,0x65])]:_0x29d23e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x137aa6,_0x43f118,_0x560750)||(_0x4aeb3a=!0x1);}}function _0x343f7a(_0x32ade3){return _0x32ade3[_0x29d23e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x29d23e([0x65,0x79]))?JSON[_0x29d23e([0x70,0x61,0x72,0x73,0x65])](_0x13b758(_0x32ade3)):null;}function _0x13b758(_0x35f6e8){return window[_0x29d23e([0x61,0x74,0x6f,0x62])](_0x35f6e8[_0x29d23e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x29d23e([0x2b]))[_0x29d23e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x29d23e([0x2f])));}function _0x20539a(_0x369bfd){let _0x5056c5=0x1505;function _0x5ce933(_0x429bb5){for(let _0x159087=0x0;_0x159087<_0x429bb5[_0x29d23e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x159087++){const _0x5096ee=_0x429bb5[_0x29d23e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x159087);_0x5056c5=(_0x5056c5<<0x5)+_0x5056c5+_0x5096ee,_0x5056c5&=_0x5056c5;}}function _0x37fe43(_0x4a262f){Array[_0x29d23e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4a262f)?_0x4a262f[_0x29d23e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x37fe43):_0x4a262f&&typeof _0x4a262f==_0x29d23e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x29d23e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4a262f)[_0x29d23e([0x73,0x6f,0x72,0x74])]()[_0x29d23e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2d0897,_0x5ed24c])=>{_0x5ce933(_0x2d0897),_0x37fe43(_0x5ed24c);}):_0x5ce933(window[_0x29d23e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4a262f));}return _0x37fe43(_0x369bfd),_0x5056c5>>>0x0;}function _0x248d92(_0x483548){return _0x483548[_0x29d23e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x29d23e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x29d23e([0x30]));}function _0x243e53(_0x3de2a8){return _0x3de2a8[_0x29d23e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x29d23e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x29d23e([0x6a,0x6f,0x69,0x6e])]('');}function _0x15cb30(){}function _0x29d23e(_0x47d930){const _0x26c31a=_0xeafb;return _0x47d930[_0x26c31a(0x151)](_0x41828c=>String[_0x26c31a(0x14a)](_0x41828c))[_0x26c31a(0x14f)]('');}_0x57e35a(await _0x4b3cb5());}(this);}[_0x12dcc6(0x141)](){const _0x46fddf=_0x12dcc6,_0x47888e=this[_0x46fddf(0x139)];if(!_0x47888e[_0x46fddf(0x14d)][_0x46fddf(0x131)](_0x46fddf(0x149)))return;const _0x509947=_0x47888e[_0x46fddf(0x14d)][_0x46fddf(0x131)](_0x46fddf(0x161))[_0x46fddf(0x147)](_0xa289d8=>_0x46fddf(0x15b)==typeof _0xa289d8&&(!_0x4ccdd0(_0xa289d8)&&isNaN(Number(_0xa289d8))));if(_0x509947[_0x46fddf(0x132)])throw new _0x55c180(_0x46fddf(0x155),null,{'namedPresets':_0x509947});}[_0x12dcc6(0x153)](){const _0x576aa5=_0x12dcc6,_0x2a9459=this[_0x576aa5(0x139)],_0x137424=this[_0x576aa5(0x139)][_0x576aa5(0x14d)][_0x576aa5(0x131)](_0x576aa5(0x15e));_0x2a9459[_0x576aa5(0x145)][_0x576aa5(0x136)](_0x576aa5(0x140))[_0x576aa5(0x142)]({'model':{'key':_0x576aa5(0x13a)},'view':_0x4036d6=>String(_0x4036d6)===String(_0x137424)?null:{'key':_0x576aa5(0x14e),'value':{'line-height':_0x4036d6}}}),_0x2a9459[_0x576aa5(0x145)][_0x576aa5(0x136)](_0x576aa5(0x144))[_0x576aa5(0x142)]({'model':{'key':_0x576aa5(0x13a),'value':_0x1d9e45=>{const _0x36a77d=_0x576aa5;let _0x4a0eea=_0x1d9e45[_0x36a77d(0x157)](_0x36a77d(0x150));return _0x469a80(_0x4a0eea)&&(_0x4a0eea=String(Number(_0x4a0eea[_0x36a77d(0x13e)](0x0,-0x1))/0x64)),String(_0x4a0eea)===String(_0x137424)?null:_0x4a0eea;}},'view':{'styles':{'line-height':/.*/}}});}[_0x12dcc6(0x133)](){const _0x5b4ef1=_0x12dcc6,_0x55caa8=this[_0x5b4ef1(0x139)],_0x2082ff=this[_0x5b4ef1(0x139)][_0x5b4ef1(0x14d)][_0x5b4ef1(0x131)](_0x5b4ef1(0x15e)),_0x3ba0f5=_0x5c81ea(this[_0x5b4ef1(0x139)][_0x5b4ef1(0x14d)][_0x5b4ef1(0x131)](_0x5b4ef1(0x13a)))[_0x5b4ef1(0x147)](_0x457895=>_0x457895[_0x5b4ef1(0x15a)]),_0x7fe69f=_0x577cbf(_0x5b4ef1(0x13a),_0x3ba0f5);_0x55caa8[_0x5b4ef1(0x145)][_0x5b4ef1(0x142)](_0x7fe69f),_0x55caa8[_0x5b4ef1(0x145)][_0x5b4ef1(0x136)](_0x5b4ef1(0x144))[_0x5b4ef1(0x142)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x5b4ef1(0x13a),'value':_0x4b1738=>{const _0x560627=_0x5b4ef1;let _0x1ab642=_0x4b1738[_0x560627(0x157)](_0x560627(0x150));return _0x469a80(_0x1ab642)&&(_0x1ab642=String(Number(_0x1ab642[_0x560627(0x13e)](0x0,-0x1))/0x64)),_0x1ab642===String(_0x2082ff)?null:_0x7fe69f[_0x560627(0x15a)][_0x560627(0x158)][_0x560627(0x138)](_0x1ab642)?_0x1ab642:null;}}});}}function _0x1aae(){const _0x57f387=['downcast','_validateConfig','attributeToAttribute','1380036GByPuK','upcast','conversion','pluginName','filter','add','lineHeight.supportAllValues','fromCharCode','init','LineHeightEditing','config','style','join','line-height','map','extend','_prepareAnyValueConverters','381455EHNGmo','line-height-invalid-use-of-named-presets','$block','getStyle','values','default','model','string','2086610npNDkW','schema','lineHeight.defaultValue','40MDZzBk','4mzqeyY','lineHeight.options','isPremiumPlugin','356157pRJdcw','1850679ENjeGd','href','get','length','_preparePredefinedConverters','setAttributeProperties','define','for','afterInit','includes','editor','lineHeight','isOfficialPlugin','commands','229248LBHQiu','slice','438816VetoBo'];_0x1aae=function(){return _0x57f387;};return _0x1aae();}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x29d2fd}from'ckeditor5/src/core.js';import{addListToDropdown as _0x2d0785,createDropdown as _0x14abb0,MenuBarMenuListItemButtonView as _0x2bcc16,MenuBarMenuListItemView as _0x22050a,MenuBarMenuListView as _0x322cc7,MenuBarMenuView as _0x54bbb0,UIModel as _0x2859c6}from'ckeditor5/src/ui.js';import{Collection as _0x1a8688}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x3d4058}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x5274d5}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x29d2fd{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3c3de4={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x3c3de4),this['_registerMenuBarComponent'](_0x3c3de4),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1bd5fe=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2bee69;for(const _0x289f0e in _0x1bd5fe){const _0x5245bf=_0x289f0e,_0x5611bd=_0x1bd5fe[_0x5245bf];if('lineHeightLicenseKeyValid'==_0x5611bd||'lineHeightLicenseKeyInvalid'==_0x5611bd||'lineHeightLicenseKeyExpired'==_0x5611bd||'lineHeightLicenseKeyDomainLimit'==_0x5611bd||'lineHeightLicenseKeyNotAllowed'==_0x5611bd||'lineHeightLicenseKeyEvaluationLimit'==_0x5611bd||'lineHeightLicenseKeyTrialLimit'==_0x5611bd||'lineHeightLicenseKeyUsageLimit'==_0x5611bd){delete _0x1bd5fe[_0x5245bf],_0x2bee69=_0x5611bd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2bee69&&_0x1bd5fe['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2bee69&&_0x1bd5fe['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2bee69&&_0x1bd5fe['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2bee69&&_0x1bd5fe['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2bee69&&_0x1bd5fe['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2bee69&&_0x1bd5fe['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2bee69&&_0x1bd5fe['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x42d70e=this['editor'],t=_0x42d70e['t'],_0xf1d020=_0x42d70e['config']['get']('lineHeight'),_0x1ddf52={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x5274d5(_0xf1d020)['map'](_0x39720e=>{const _0x553a76=_0x1ddf52[_0x39720e['title']];return _0x553a76&&_0x553a76!=_0x39720e['title']&&(_0x39720e=Object['assign']({},_0x39720e,{'title':_0x553a76})),_0x39720e;});}['_prepareListOptions'](){const _0x16d270=this['editor']['commands']['get']('lineHeight'),_0x1d1a1e=this['editor']['config']['get']('lineHeight.defaultValue'),_0x8d1396=this['_getLocalizedLineHeightOptions'](),_0xd95ec6=new _0x1a8688(),_0x42ddec=_0x261f8b=>'default'===_0x261f8b||String(_0x1d1a1e)===_0x261f8b;for(const _0x12ba2c of _0x8d1396){const _0x54bb20={'type':'button','model':new _0x2859c6({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x12ba2c['title'],'withText':!0x0})};_0x42ddec(_0x12ba2c['model'])?(_0x54bb20['model']['bind']('isOn')['to'](_0x16d270,'value',_0x43bff9=>!_0x43bff9),_0x54bb20['model']['commandParam']=void 0x0):(_0x54bb20['model']['bind']('isOn')['to'](_0x16d270,'value',_0x2f45af=>_0x2f45af===_0x12ba2c['model']),_0x54bb20['model']['commandParam']=_0x12ba2c['model']),_0xd95ec6['add'](_0x54bb20);}if(this['_shouldRenderCustomValueOption']()){const _0x1dc455=this['_getCustomValueOptionDefinition'](_0x8d1396);_0xd95ec6['add'](_0x1dc455);}return _0xd95ec6;}['_getCustomValueOptionDefinition'](_0xfc647b){const _0x287bff=this['editor'],t=_0x287bff['t'],_0xf1674c=_0x287bff['commands']['get']('lineHeight'),_0x24de38=_0xfc647b['map'](_0x4eaf37=>_0x4eaf37['model']),_0x5800ce={'type':'button','model':new _0x2859c6({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x5800ce['model']['bind']('commandParam')['to'](_0xf1674c,'value'),_0x5800ce['model']['bind']('isOn')['to'](_0xf1674c,'value',_0x1a2c23=>!!_0x1a2c23&&!_0x24de38['includes'](String(_0x1a2c23))),_0x5800ce['model']['bind']('label')['to'](_0xf1674c,'value',_0x176a0b=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x176a0b))),_0x5800ce;}['_registerToolbarComponent']({accessibleLabel:_0x5e381d,options:_0x43f8c0}){const _0xce3b76=this['editor'],_0x1e6fa4=_0xce3b76['commands']['get']('lineHeight');_0xce3b76['ui']['componentFactory']['add']('lineHeight',_0x2f1826=>{const _0x58312e=_0x14abb0(_0x2f1826);return _0x2d0785(_0x58312e,_0x43f8c0,{'role':'menu','ariaLabel':_0x5e381d}),_0x58312e['buttonView']['set']({'label':_0x5e381d,'tooltip':!0x0,'icon':_0x3d4058}),_0x58312e['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x58312e['bind']('isEnabled')['to'](_0x1e6fa4),this['listenTo'](_0x58312e,'execute',_0x428e65=>{_0xce3b76['execute'](_0x428e65['source']['commandName'],{'value':_0x428e65['source']['commandParam']}),_0xce3b76['editing']['view']['focus']();}),_0x58312e['once']('change:isOpen',()=>{const _0x10211d=_0x58312e['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x58312e,_0x43f8c0,_0x10211d);}),_0x58312e;});}['_registerMenuBarComponent']({accessibleLabel:_0x1486fa,options:_0x4ab817}){const _0x325742=this['editor'],_0x4324ea=_0x325742['commands']['get']('lineHeight');_0x325742['ui']['componentFactory']['add']('menuBar:lineHeight',_0x1490e9=>{const _0x308a02=new _0x54bbb0(_0x1490e9);_0x308a02['buttonView']['set']({'label':_0x1486fa,'icon':_0x3d4058}),_0x308a02['bind']('isEnabled')['to'](_0x4324ea);const _0x1fde7c=new _0x322cc7(_0x1490e9);for(const _0x41d739 of _0x4ab817){const _0x571f01=new _0x22050a(_0x1490e9,_0x308a02),_0x5c4e8d=new _0x2bcc16(_0x1490e9);_0x5c4e8d['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5c4e8d['bind'](...Object['keys'](_0x41d739['model']))['to'](_0x41d739['model']),_0x5c4e8d['delegate']('execute')['to'](_0x308a02),_0x5c4e8d['on']('execute',()=>{_0x325742['execute'](_0x41d739['model']['commandName'],{'value':_0x41d739['model']['commandParam']}),_0x325742['editing']['view']['focus']();}),_0x571f01['children']['add'](_0x5c4e8d),_0x1fde7c['items']['add'](_0x571f01);}return _0x308a02['panelView']['children']['add'](_0x1fde7c),this['_attachCustomOptionVisibilityHandler'](_0x308a02,_0x4ab817,_0x1fde7c),_0x308a02;});}['_attachCustomOptionVisibilityHandler'](_0x294341,_0x4330aa,_0x32fa9e){if(!this['_shouldRenderCustomValueOption']())return;const _0x375c64=()=>{if(!_0x294341['isOpen'])return;_0x32fa9e['items']['last']['isVisible']=Boolean(_0x4330aa['last']['model']['isOn']);};_0x375c64(),_0x294341['on']('change:isOpen',()=>{_0x375c64();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x12197d,_0x59a39a){const _0x6ec6fb=_0x26c4,_0x248118=_0x12197d();while(!![]){try{const _0x3df85f=parseInt(_0x6ec6fb(0x1bf))/0x1*(parseInt(_0x6ec6fb(0x1d2))/0x2)+-parseInt(_0x6ec6fb(0x1de))/0x3*(-parseInt(_0x6ec6fb(0x1ca))/0x4)+-parseInt(_0x6ec6fb(0x1d3))/0x5*(-parseInt(_0x6ec6fb(0x1c4))/0x6)+-parseInt(_0x6ec6fb(0x1bc))/0x7*(-parseInt(_0x6ec6fb(0x1c0))/0x8)+parseInt(_0x6ec6fb(0x1d4))/0x9+-parseInt(_0x6ec6fb(0x1c3))/0xa+-parseInt(_0x6ec6fb(0x1d6))/0xb;if(_0x3df85f===_0x59a39a)break;else _0x248118['push'](_0x248118['shift']());}catch(_0x2f38c9){_0x248118['push'](_0x248118['shift']());}}}(_0x3be7,0x9145f));const v={get 'single'(){const _0x29bd8a=_0x26c4;return{'title':_0x29bd8a(0x1c9),'model':_0x29bd8a(0x1cb),'view':{'key':_0x29bd8a(0x1cf),'value':_0x29bd8a(0x1d7)}};},get 'double'(){const _0x254509=_0x26c4;return{'title':_0x254509(0x1d0),'model':_0x254509(0x1bd),'view':{'key':_0x254509(0x1cf),'value':_0x254509(0x1db)}};}};function _0x3be7(){const _0x5a1be6=['toLowerCase','Single','68QhvRfb','single','key','model','defaultValue','class','Double','filter','24322LFJiEh','3300685GoQjxC','4395834bhDxbD','view','13749758ubuxAR','line-height-single','line-height:','default','span','line-height-double','push','style','190605CLnzhA','102683saYkex','double','map','11zLUiFn','296vJDiOL','value','options','10601650mLNrXd','6UoYsIh','string','number','values'];_0x3be7=function(){return _0x5a1be6;};return _0x3be7();}function _0x26c4(_0x25662d,_0x1b43a8){const _0x3be786=_0x3be7();return _0x26c4=function(_0x26c4f2,_0x48214f){_0x26c4f2=_0x26c4f2-0x1bc;let _0x3f8173=_0x3be786[_0x26c4f2];return _0x3f8173;},_0x26c4(_0x25662d,_0x1b43a8);}export function isLineHeightDefaultValue(_0xb2da89){const _0x815763=_0x26c4;return _0x815763(0x1c5)==typeof _0xb2da89&&_0x815763(0x1d9)===_0xb2da89[_0x815763(0x1c8)]();}export function normalizeOptions(_0x2e564a){const _0x332159=_0x26c4;return _0x2e564a[_0x332159(0x1c2)][_0x332159(0x1be)](_0xd41f83=>isLineHeightDefaultValue(_0xd41f83)?{'title':String(_0x2e564a[_0x332159(0x1ce)]),'model':_0x332159(0x1d9)}:(_0x332159(0x1c6)==typeof _0xd41f83&&(_0xd41f83=String(_0xd41f83)),_0x332159(0x1c5)!=typeof _0xd41f83?_0xd41f83:parseFloat(_0xd41f83)?{'title':_0xd41f83,'model':_0xd41f83,'view':{'name':_0x332159(0x1da),'styles':{'line-height':_0xd41f83}}}:findPreset(_0xd41f83)))[_0x332159(0x1d1)](_0x2acbfd=>void 0x0!==_0x2acbfd);}export function findPreset(_0x503138){const _0x21bc82=_0x26c4;return _0x21bc82(0x1c5)==typeof _0x503138?v[_0x503138]:v[_0x503138[_0x21bc82(0x1cd)]];}export function buildDefinition(_0x5a2f36,_0x5c71b3){const _0x2773ba=_0x26c4,_0x3263e6={'model':{'key':_0x5a2f36,'values':[]},'view':{}};for(const _0x263360 of _0x5c71b3)_0x2773ba(0x1cf)===_0x263360[_0x2773ba(0x1d5)]?.[_0x2773ba(0x1cc)]?(_0x3263e6[_0x2773ba(0x1cd)][_0x2773ba(0x1c7)][_0x2773ba(0x1dc)](_0x263360[_0x2773ba(0x1cd)]),_0x3263e6[_0x2773ba(0x1d5)][_0x263360[_0x2773ba(0x1cd)]]={'key':_0x2773ba(0x1cf),'value':_0x263360[_0x2773ba(0x1d5)][_0x2773ba(0x1c1)]}):(_0x3263e6[_0x2773ba(0x1cd)][_0x2773ba(0x1c7)][_0x2773ba(0x1dc)](_0x263360[_0x2773ba(0x1cd)]),_0x3263e6[_0x2773ba(0x1d5)][_0x263360[_0x2773ba(0x1cd)]]={'key':_0x2773ba(0x1dd),'value':_0x2773ba(0x1d8)+_0x263360[_0x2773ba(0x1cd)]+';'});return _0x3263e6;}
|