@ckeditor/ckeditor5-line-height 46.0.1-alpha.8 → 46.0.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
|
-
|
|
23
|
+
function _0x2bf9(_0x5a95fe,_0x16c129){const _0x550615=_0x5506();return _0x2bf9=function(_0x2bf93d,_0x44073a){_0x2bf93d=_0x2bf93d-0x80;let _0x2cde32=_0x550615[_0x2bf93d];return _0x2cde32;},_0x2bf9(_0x5a95fe,_0x16c129);}const _0x5d8457=_0x2bf9;(function(_0xe314f7,_0x41bdb0){const _0x327828=_0x2bf9,_0xb9116c=_0xe314f7();while(!![]){try{const _0x297a2c=parseInt(_0x327828(0x8e))/0x1*(parseInt(_0x327828(0x8c))/0x2)+-parseInt(_0x327828(0x89))/0x3+parseInt(_0x327828(0x8b))/0x4*(-parseInt(_0x327828(0x99))/0x5)+-parseInt(_0x327828(0x8d))/0x6+parseInt(_0x327828(0x85))/0x7+parseInt(_0x327828(0x92))/0x8*(parseInt(_0x327828(0x93))/0x9)+-parseInt(_0x327828(0x82))/0xa*(parseInt(_0x327828(0x81))/0xb);if(_0x297a2c===_0x41bdb0)break;else _0xb9116c['push'](_0xb9116c['shift']());}catch(_0x180e6d){_0xb9116c['push'](_0xb9116c['shift']());}}}(_0x5506,0x20731));function _0x5506(){const _0x144fd6=['966220ATqpjC','518524knQqNo','134826SrwWXE','1KrtMLq','getAttribute','value','getSelectedBlocks','683704XOZEnE','9NZxHeS','model','lineHeight','execute','selection','document','5AvmdGy','from','schema','editor','_canHaveLineHeight','removeAttribute','4037MrOQfI','1530fFAzTF','refresh','checkAttribute','1802143cVdqyV','filter','change','isEnabled','447252NaBUJV','setAttribute'];_0x5506=function(){return _0x144fd6;};return _0x5506();}import{Command as _0x216f6e}from'ckeditor5/src/core.js';import{first as _0x4956eb}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x216f6e{[_0x5d8457(0x83)](){const _0x1a67c8=_0x5d8457,_0x50a2e1=this[_0x1a67c8(0x9c)][_0x1a67c8(0x94)][_0x1a67c8(0x98)],_0x1b1c05=_0x4956eb(_0x50a2e1[_0x1a67c8(0x97)][_0x1a67c8(0x91)]());this[_0x1a67c8(0x88)]=Boolean(_0x1b1c05)&&this[_0x1a67c8(0x9d)](_0x1b1c05),this[_0x1a67c8(0x90)]=this[_0x1a67c8(0x88)]&&_0x1b1c05[_0x1a67c8(0x8f)](_0x1a67c8(0x95));}[_0x5d8457(0x96)](_0x5e46c3={}){const _0xa661a8=_0x5d8457,_0x4b07f9=this[_0xa661a8(0x9c)][_0xa661a8(0x94)],_0x1eff1a=_0x4b07f9[_0xa661a8(0x98)][_0xa661a8(0x97)],_0x2f3d3a=_0x5e46c3[_0xa661a8(0x90)];_0x4b07f9[_0xa661a8(0x87)](_0x12ca24=>{const _0x5b0e3b=_0xa661a8,_0x41bd5d=Array[_0x5b0e3b(0x9a)](_0x1eff1a[_0x5b0e3b(0x91)]())[_0x5b0e3b(0x86)](_0x261335=>this[_0x5b0e3b(0x9d)](_0x261335));for(const _0x573130 of _0x41bd5d)_0x2f3d3a?_0x12ca24[_0x5b0e3b(0x8a)](_0x5b0e3b(0x95),_0x2f3d3a,_0x573130):_0x12ca24[_0x5b0e3b(0x80)](_0x5b0e3b(0x95),_0x573130);});}[_0x5d8457(0x9d)](_0x184136){const _0x2cb9ab=_0x5d8457;return this[_0x2cb9ab(0x9c)][_0x2cb9ab(0x94)][_0x2cb9ab(0x9b)][_0x2cb9ab(0x84)](_0x184136,_0x2cb9ab(0x95));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2d2c7a=_0x15e2;function _0x15e2(_0x4de91a,_0x5e367c){const _0x304487=_0x3044();return _0x15e2=function(_0x15e2ea,_0x2b4d1d){_0x15e2ea=_0x15e2ea-0x1a5;let _0x24668d=_0x304487[_0x15e2ea];return _0x24668d;},_0x15e2(_0x4de91a,_0x5e367c);}(function(_0x3e54bb,_0x44a1b5){const _0x44bdfc=_0x15e2,_0x359380=_0x3e54bb();while(!![]){try{const _0x5a2859=-parseInt(_0x44bdfc(0x1a8))/0x1*(parseInt(_0x44bdfc(0x1a7))/0x2)+parseInt(_0x44bdfc(0x1b2))/0x3*(parseInt(_0x44bdfc(0x1b3))/0x4)+parseInt(_0x44bdfc(0x1d1))/0x5*(-parseInt(_0x44bdfc(0x1c1))/0x6)+-parseInt(_0x44bdfc(0x1b9))/0x7+-parseInt(_0x44bdfc(0x1c6))/0x8*(parseInt(_0x44bdfc(0x1c4))/0x9)+-parseInt(_0x44bdfc(0x1d2))/0xa+parseInt(_0x44bdfc(0x1c5))/0xb;if(_0x5a2859===_0x44a1b5)break;else _0x359380['push'](_0x359380['shift']());}catch(_0x1f3745){_0x359380['push'](_0x359380['shift']());}}}(_0x3044,0x613f8));import{Plugin as _0xe34087}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x19d523}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4d4331}from'ckeditor5/src/engine.js';function _0x3044(){const _0x3a4edf=['lineHeight','init','model','setAttributeProperties','45005VCTRMK','1351670OChMEh','define','afterInit','conversion','isOfficialPlugin','string','length','line-height','slice','_validateConfig','lineHeight.defaultValue','lineHeight.supportAllValues','10oZLUrO','88352DPvLlQ','for','href','default','line-height-invalid-use-of-named-presets','add','getStyle','style','get','config','105192yBXbZj','88gQlwtd','isPremiumPlugin','_prepareAnyValueConverters','upcast','join','extend','1437527sExaul','lineHeight.options','map','editor','LineHeightEditing','values','attributeToAttribute','filter','456cgSFwZ','fromCharCode','$block','27OORJMO','14534289tHqlAz','608040kRHKGx','pluginName','downcast','schema','includes','_preparePredefinedConverters','commands'];_0x3044=function(){return _0x3a4edf;};return _0x3044();}import{uid as _0x340595,CKEditorError as _0x378620}from'ckeditor5/src/utils.js';import{buildDefinition as _0x5694e2,isLineHeightDefaultValue as _0x8aecb1,normalizeOptions as _0x1e7be6}from'./utils.js';export class LineHeightEditing extends _0xe34087{static get[_0x2d2c7a(0x1c7)](){const _0x190be9=_0x2d2c7a;return _0x190be9(0x1bd);}static get[_0x2d2c7a(0x1d6)](){return!0x0;}static get[_0x2d2c7a(0x1b4)](){return!0x0;}constructor(_0x3e42a8){const _0x3a8d97=_0x2d2c7a;super(_0x3e42a8),_0x3e42a8[_0x3a8d97(0x1b1)][_0x3a8d97(0x1d3)](_0x3a8d97(0x1cd),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x3a8d97(0x1ab),0x2,2.5,0x3]});}[_0x2d2c7a(0x1ce)](){const _0x54e9c1=_0x2d2c7a,_0x72f01c=this[_0x54e9c1(0x1bc)];this[_0x54e9c1(0x1db)](),_0x72f01c[_0x54e9c1(0x1cf)][_0x54e9c1(0x1c9)][_0x54e9c1(0x1b8)](_0x54e9c1(0x1c3),{'allowAttributes':_0x54e9c1(0x1cd)}),_0x72f01c[_0x54e9c1(0x1cf)][_0x54e9c1(0x1c9)][_0x54e9c1(0x1d0)](_0x54e9c1(0x1cd),{'isFormatting':!0x0}),_0x72f01c[_0x54e9c1(0x1cc)][_0x54e9c1(0x1ad)](_0x54e9c1(0x1cd),new _0x19d523(_0x72f01c)),this[_0x54e9c1(0x1bc)][_0x54e9c1(0x1b1)][_0x54e9c1(0x1b0)](_0x54e9c1(0x1a6))?this[_0x54e9c1(0x1b5)]():this[_0x54e9c1(0x1cb)]();}[_0x2d2c7a(0x1d4)](){!async function(_0x34d95b){const _0x152c1c=_0x407d4c([0x4f,0x45,0x71,0x74,0x42,0x41,0x63,0x4a,0x46,0x50,0x52,0x32,0x62,0x79,0x6c,0x4b,0x66,0x30,0x5a,0x4d,0x59,0x77,0x75,0x57,0x76,0x53,0x48,0x44,0x51,0x55,0x6d,0x70,0x6a,0x43,0x33,0x34,0x67,0x38,0x58,0x6b,0x64,0x31,0x4c,0x36,0x65,0x39,0x7a,0x37,0x6e,0x72,0x47,0x61,0x78,0x35,0x54,0x4e,0x6f,0x68,0x49,0x56,0x73,0x69]),_0x33d7b7=0x3e171c5d,_0x227794=0x3e1073ed^_0x33d7b7,_0x1c144f=window[_0x407d4c([0x44,0x61,0x74,0x65])][_0x407d4c([0x6e,0x6f,0x77])](),_0x2459c2=_0x34d95b[_0x407d4c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3eb75b=new window[(_0x407d4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e575f=>{_0x2459c2[_0x407d4c([0x6f,0x6e,0x63,0x65])](_0x407d4c([0x72,0x65,0x61,0x64,0x79]),_0x3e575f);}),_0x4375a7={[_0x407d4c([0x6b,0x74,0x79])]:_0x407d4c([0x45,0x43]),[_0x407d4c([0x75,0x73,0x65])]:_0x407d4c([0x73,0x69,0x67]),[_0x407d4c([0x63,0x72,0x76])]:_0x407d4c([0x50,0x2d,0x32,0x35,0x36]),[_0x407d4c([0x78])]:_0x407d4c([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]),[_0x407d4c([0x79])]:_0x407d4c([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]),[_0x407d4c([0x61,0x6c,0x67])]:_0x407d4c([0x45,0x53,0x32,0x35,0x36])},_0x5a77f9=_0x2459c2[_0x407d4c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x407d4c([0x67,0x65,0x74])](_0x407d4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3bc0ea(){let _0x3ab8f3,_0x431bdf=null,_0x542b58=null;try{if(_0x5a77f9==_0x407d4c([0x47,0x50,0x4c]))return _0x407d4c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3ab8f3=_0x323179(),!_0x3ab8f3)return _0x407d4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3ab8f3[_0x407d4c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x542b58=_0x104b41(_0x3ab8f3[_0x407d4c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3ab8f3[_0x407d4c([0x6a,0x74,0x69])])),await _0x12c1fe()?_0x42be27()?_0x1b9155()?_0x407d4c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22b83c()?(_0x3ab8f3[_0x407d4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x407d4c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x431bdf=_0x61e20a(_0x407d4c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3ab8f3[_0x407d4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x407d4c([0x74,0x72,0x69,0x61,0x6c])&&(_0x431bdf=_0x61e20a(_0x407d4c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x34eb1d()):_0x407d4c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x407d4c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x407d4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x407d4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1b9155(){const _0x4800fa=[_0x407d4c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x407d4c([0x74,0x72,0x69,0x61,0x6c])][_0x407d4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ab8f3[_0x407d4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1c144f/0x3e8:0xe10*_0x227794;return _0x3ab8f3[_0x407d4c([0x65,0x78,0x70])]<_0x4800fa;}function _0x42be27(){const _0x5c8f42=_0x3ab8f3[_0x407d4c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c8f42&&(!!_0x5c8f42[_0x407d4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x407d4c([0x2a]))||!!_0x5c8f42[_0x407d4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x407d4c([0x4c,0x48])));}function _0x22b83c(){const _0x4ea317=_0x15e2,_0x6d87a5=_0x3ab8f3[_0x407d4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x6d87a5||0x0==_0x6d87a5[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1b9375}=new URL(window[_0x407d4c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4ea317(0x1aa)]);if(_0x6d87a5[_0x407d4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b9375))return!0x0;const _0x4a8e63=_0x1b9375[_0x407d4c([0x73,0x70,0x6c,0x69,0x74])](_0x407d4c([0x2e]));return _0x6d87a5[_0x407d4c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x56f493=>_0x56f493[_0x407d4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x407d4c([0x2a])))[_0x407d4c([0x6d,0x61,0x70])](_0x445f3e=>_0x445f3e[_0x407d4c([0x73,0x70,0x6c,0x69,0x74])](_0x407d4c([0x2e])))[_0x407d4c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b9809=>_0x2b9809[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4a8e63[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x407d4c([0x6d,0x61,0x70])](_0x80e2cb=>Array(_0x4a8e63[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x80e2cb[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x407d4c([0x66,0x69,0x6c,0x6c])](_0x80e2cb[0x0]===_0x407d4c([0x2a])?_0x407d4c([0x2a]):'')[_0x407d4c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x80e2cb))[_0x407d4c([0x73,0x6f,0x6d,0x65])](_0x38f1bd=>_0x4a8e63[_0x407d4c([0x65,0x76,0x65,0x72,0x79])]((_0xa3676b,_0x44f2e0)=>_0x38f1bd[_0x44f2e0]===_0xa3676b||_0x38f1bd[_0x44f2e0]===_0x407d4c([0x2a])));}function _0x34eb1d(){return _0x431bdf&&_0x542b58?new window[(_0x407d4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12b4f9,_0x1bbfc4)=>{_0x431bdf[_0x407d4c([0x74,0x68,0x65,0x6e])](_0x12b4f9,_0x1bbfc4),_0x542b58[_0x407d4c([0x74,0x68,0x65,0x6e])](_0x2875ad=>{_0x2875ad!=_0x407d4c([0x56,0x61,0x6c,0x69,0x64])&&_0x12b4f9(_0x2875ad);},_0x1bbfc4);}):_0x431bdf||_0x542b58||_0x407d4c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x104b41(_0x2f8e2a,_0x42e710){return new window[(_0x407d4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47b780=>{if(_0x27009f())return _0x47b780(_0x407d4c([0x56,0x61,0x6c,0x69,0x64]));_0x214853(),_0x2459c2[_0x407d4c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x407d4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x20fec2=!0x1;const _0x4d7a64=_0x340595();function _0x48f96d(_0x134148){return!!_0x134148&&(typeof _0x134148===_0x407d4c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x134148===_0x407d4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x134148[_0x407d4c([0x74,0x68,0x65,0x6e])]===_0x407d4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x134148[_0x407d4c([0x63,0x61,0x74,0x63,0x68])]===_0x407d4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4efb5e(_0x345e0b){_0xd3f0e2(_0x345e0b)[_0x407d4c([0x74,0x68,0x65,0x6e])](_0x46e642=>{if(!_0x46e642||_0x46e642[_0x407d4c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x407d4c([0x6f,0x6b]))return _0x407d4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a089a(_0xc85779(_0x4d7a64+_0x42e710))!=_0x46e642[_0x407d4c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x407d4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x407d4c([0x56,0x61,0x6c,0x69,0x64]);})[_0x407d4c([0x74,0x68,0x65,0x6e])](_0x3c3c42=>(_0x2834b7(),_0x3c3c42),()=>{const _0x44df62=_0x1de187();return null==_0x44df62?(_0x2834b7(),_0x407d4c([0x56,0x61,0x6c,0x69,0x64])):_0x407d4c(_0x1c144f-_0x44df62>(0x1a1b985d^_0x33d7b7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x407d4c([0x74,0x68,0x65,0x6e])](_0x47b780)[_0x407d4c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x47b780(_0x407d4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x428a67=0x3e21f2dd^_0x33d7b7;function _0x2834b7(){const _0x3de6b3=_0x407d4c([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a089a(_0xc85779(_0x2f8e2a)),_0x34740b=_0x286081(_0x1a089a(window[_0x407d4c([0x4d,0x61,0x74,0x68])][_0x407d4c([0x63,0x65,0x69,0x6c])](_0x1c144f/_0x428a67)));window[_0x407d4c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x407d4c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3de6b3,_0x34740b);}function _0x1de187(){const _0x56b360=_0x407d4c([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a089a(_0xc85779(_0x2f8e2a)),_0x57f94c=window[_0x407d4c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x407d4c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x56b360);return _0x57f94c?window[_0x407d4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x286081(_0x57f94c),0x10)*_0x428a67:null;}function _0xd3f0e2(_0x5cc932){return new window[(_0x407d4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x696a4c,_0x2bcc10)=>{_0x5cc932[_0x407d4c([0x74,0x68,0x65,0x6e])](_0x696a4c,_0x2bcc10),window[_0x407d4c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2bcc10,0x3e16c89d^_0x33d7b7);});}}_0x2459c2[_0x407d4c([0x6f,0x6e])](_0x407d4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x199ffd,_0x3f2102)=>{if(_0x3f2102[0x0]!=_0x2f8e2a)return _0x47b780(_0x407d4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3f2102[0x1]={..._0x3f2102[0x1],[_0x407d4c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4d7a64};},{[_0x407d4c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x407d4c([0x68,0x69,0x67,0x68])}),_0x2459c2[_0x407d4c([0x6f,0x6e])](_0x407d4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5121ef=>{_0x48f96d(_0x5121ef[_0x407d4c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x20fec2=!0x0,_0x4efb5e(_0x5121ef[_0x407d4c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x407d4c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x407d4c([0x6c,0x6f,0x77])}),_0x3eb75b[_0x407d4c([0x74,0x68,0x65,0x6e])](()=>{_0x20fec2||_0x47b780(_0x407d4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x27009f(){return _0x2459c2[_0x407d4c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x407d4c([0x76,0x69,0x65,0x77])][_0x407d4c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x407d4c([0x61,0x75,0x74,0x6f]);}function _0x214853(){_0x2459c2[_0x407d4c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x407d4c([0x76,0x69,0x65,0x77])][_0x407d4c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x407d4c([0x61,0x75,0x74,0x6f]);}}function _0x61e20a(_0xfdce4b){const _0x56cce9=[new window[(_0x407d4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58f115=>setTimeout(_0x58f115,0x3e1e2291^_0x33d7b7)),_0x3eb75b[_0x407d4c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x407d4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e824c=>{let _0x1a831a=0x0;_0x2459c2[_0x407d4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x407d4c([0x6f,0x6e])](_0x407d4c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x24e3da,_0x9daed3)=>{_0x9daed3[0x0][_0x407d4c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1a831a++,_0x1a831a==(0x3e171da5^_0x33d7b7)&&(_0x2e824c(),_0x24e3da[_0x407d4c([0x6f,0x66,0x66])]());});}))];return window[_0x407d4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x407d4c([0x72,0x61,0x63,0x65])](_0x56cce9)[_0x407d4c([0x74,0x68,0x65,0x6e])](()=>_0xfdce4b);}async function _0x30200c(){await _0x3eb75b,_0x2459c2[_0x407d4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x407d4c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x418cc3,_0x2459c2[_0x407d4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x407d4c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x418cc3,_0x2459c2[_0x407d4c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x407d4c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x11f2cd(_0x335eed){const _0x2a9065=_0x39fc58();_0x2459c2[_0x2a9065]=_0x407d4c([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x335eed,_0x335eed!=_0x407d4c([0x56,0x61,0x6c,0x69,0x64])&&_0x30200c();}function _0x39fc58(){const _0x107db6=window[_0x407d4c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x407d4c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x407d4c([0x6e,0x6f,0x77])]())[_0x407d4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x407d4c([0x2e]),'');let _0x5b3411=_0x407d4c([0x4f]);for(let _0xb68e08=0x0;_0xb68e08<_0x107db6[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb68e08+=0x2){let _0x3ff847=window[_0x407d4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x107db6[_0x407d4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb68e08,_0xb68e08+0x2));_0x3ff847>=_0x152c1c[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3ff847-=_0x152c1c[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5b3411+=_0x152c1c[_0x3ff847];}return _0x5b3411;}function _0x323179(){const _0xbc21a4=_0x5a77f9[_0x407d4c([0x73,0x70,0x6c,0x69,0x74])](_0x407d4c([0x2e]));if(0x3!=_0xbc21a4[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ec217(_0xbc21a4[0x1]);function _0x4ec217(_0x117026){const _0x346bfb=_0x327d5e(_0x117026);return _0x346bfb&&_0x169dfd()?_0x346bfb:null;function _0x169dfd(){const _0x364012=_0x346bfb[_0x407d4c([0x6a,0x74,0x69])],_0x1aa8b5=window[_0x407d4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x364012[_0x407d4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x364012[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x573d33={..._0x346bfb,[_0x407d4c([0x6a,0x74,0x69])]:_0x364012[_0x407d4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x364012[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x573d33[_0x407d4c([0x76,0x63])],_0xc85779(_0x573d33)==_0x1aa8b5;}}}async function _0x12c1fe(){let _0x2bca32=!0x0;try{const _0x47a6d5=_0x5a77f9[_0x407d4c([0x73,0x70,0x6c,0x69,0x74])](_0x407d4c([0x2e])),[_0xa7e30c,_0x417ac8,_0x5738a8]=_0x47a6d5;return _0x4baee7(_0xa7e30c),await _0x2e9959(_0xa7e30c,_0x417ac8,_0x5738a8),_0x2bca32;}catch{return!0x1;}function _0x4baee7(_0x3751e8){const _0xd19ba3=_0x327d5e(_0x3751e8);_0xd19ba3&&_0xd19ba3[_0x407d4c([0x61,0x6c,0x67])]==_0x407d4c([0x45,0x53,0x32,0x35,0x36])||(_0x2bca32=!0x1);}async function _0x2e9959(_0x46b7fd,_0x29a5ea,_0x41119f){const _0x154a18=window[_0x407d4c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x407d4c([0x66,0x72,0x6f,0x6d])](_0x4b9878(_0x41119f),_0x3348f3=>_0x3348f3[_0x407d4c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4175fd=new window[(_0x407d4c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x407d4c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x46b7fd+_0x407d4c([0x2e])+_0x29a5ea),_0x41bc29=window[_0x407d4c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x407d4c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x41bc29)return;const _0x274e91=await _0x41bc29[_0x407d4c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x407d4c([0x6a,0x77,0x6b]),_0x4375a7,{[_0x407d4c([0x6e,0x61,0x6d,0x65])]:_0x407d4c([0x45,0x43,0x44,0x53,0x41]),[_0x407d4c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x407d4c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x407d4c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x41bc29[_0x407d4c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x407d4c([0x6e,0x61,0x6d,0x65])]:_0x407d4c([0x45,0x43,0x44,0x53,0x41]),[_0x407d4c([0x68,0x61,0x73,0x68])]:{[_0x407d4c([0x6e,0x61,0x6d,0x65])]:_0x407d4c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x274e91,_0x154a18,_0x4175fd)||(_0x2bca32=!0x1);}}function _0x327d5e(_0x4485b6){return _0x4485b6[_0x407d4c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x407d4c([0x65,0x79]))?JSON[_0x407d4c([0x70,0x61,0x72,0x73,0x65])](_0x4b9878(_0x4485b6)):null;}function _0x4b9878(_0x569ff1){return window[_0x407d4c([0x61,0x74,0x6f,0x62])](_0x569ff1[_0x407d4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x407d4c([0x2b]))[_0x407d4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x407d4c([0x2f])));}function _0xc85779(_0x2ce4f3){let _0x23a16e=0x1505;function _0x199602(_0x3b00e1){for(let _0x5c01aa=0x0;_0x5c01aa<_0x3b00e1[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c01aa++){const _0x5c4729=_0x3b00e1[_0x407d4c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5c01aa);_0x23a16e=(_0x23a16e<<0x5)+_0x23a16e+_0x5c4729,_0x23a16e&=_0x23a16e;}}function _0x42743d(_0x52072e){Array[_0x407d4c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52072e)?_0x52072e[_0x407d4c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x42743d):_0x52072e&&typeof _0x52072e==_0x407d4c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x407d4c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52072e)[_0x407d4c([0x73,0x6f,0x72,0x74])]()[_0x407d4c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4f26a9,_0x1f6ef1])=>{_0x199602(_0x4f26a9),_0x42743d(_0x1f6ef1);}):_0x199602(window[_0x407d4c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52072e));}return _0x42743d(_0x2ce4f3),_0x23a16e>>>0x0;}function _0x1a089a(_0x45f1c8){return _0x45f1c8[_0x407d4c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x407d4c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x407d4c([0x30]));}function _0x286081(_0x4a6625){return _0x4a6625[_0x407d4c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x407d4c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x407d4c([0x6a,0x6f,0x69,0x6e])]('');}function _0x418cc3(){}function _0x407d4c(_0x4cdfd2){const _0x58af94=_0x15e2;return _0x4cdfd2[_0x58af94(0x1bb)](_0x36b8d8=>String[_0x58af94(0x1c2)](_0x36b8d8))[_0x58af94(0x1b7)]('');}_0x11f2cd(await _0x3bc0ea());}(this);}[_0x2d2c7a(0x1db)](){const _0x382875=_0x2d2c7a,_0x8b0eaa=this[_0x382875(0x1bc)];if(!_0x8b0eaa[_0x382875(0x1b1)][_0x382875(0x1b0)](_0x382875(0x1a6)))return;const _0x55021b=_0x8b0eaa[_0x382875(0x1b1)][_0x382875(0x1b0)](_0x382875(0x1ba))[_0x382875(0x1c0)](_0x21d614=>_0x382875(0x1d7)==typeof _0x21d614&&(!_0x8aecb1(_0x21d614)&&isNaN(Number(_0x21d614))));if(_0x55021b[_0x382875(0x1d8)])throw new _0x378620(_0x382875(0x1ac),null,{'namedPresets':_0x55021b});}[_0x2d2c7a(0x1b5)](){const _0x4a662a=_0x2d2c7a,_0x13f0c6=this[_0x4a662a(0x1bc)],_0x3f1e61=this[_0x4a662a(0x1bc)][_0x4a662a(0x1b1)][_0x4a662a(0x1b0)](_0x4a662a(0x1a5));_0x13f0c6[_0x4a662a(0x1d5)][_0x4a662a(0x1a9)](_0x4a662a(0x1c8))[_0x4a662a(0x1bf)]({'model':{'key':_0x4a662a(0x1cd)},'view':_0x4d711a=>String(_0x4d711a)===String(_0x3f1e61)?null:{'key':_0x4a662a(0x1af),'value':{'line-height':_0x4d711a}}}),_0x13f0c6[_0x4a662a(0x1d5)][_0x4a662a(0x1a9)](_0x4a662a(0x1b6))[_0x4a662a(0x1bf)]({'model':{'key':_0x4a662a(0x1cd),'value':_0x870d5=>{const _0xe63355=_0x4a662a;let _0x1a0c3f=_0x870d5[_0xe63355(0x1ae)](_0xe63355(0x1d9));return _0x4d4331(_0x1a0c3f)&&(_0x1a0c3f=String(Number(_0x1a0c3f[_0xe63355(0x1da)](0x0,-0x1))/0x64)),String(_0x1a0c3f)===String(_0x3f1e61)?null:_0x1a0c3f;}},'view':{'styles':{'line-height':/.*/}}});}[_0x2d2c7a(0x1cb)](){const _0x944b2c=_0x2d2c7a,_0x4890a4=this[_0x944b2c(0x1bc)],_0x55fd52=this[_0x944b2c(0x1bc)][_0x944b2c(0x1b1)][_0x944b2c(0x1b0)](_0x944b2c(0x1a5)),_0x5ac093=_0x1e7be6(this[_0x944b2c(0x1bc)][_0x944b2c(0x1b1)][_0x944b2c(0x1b0)](_0x944b2c(0x1cd)))[_0x944b2c(0x1c0)](_0x10ac82=>_0x10ac82[_0x944b2c(0x1cf)]),_0x1f7822=_0x5694e2(_0x944b2c(0x1cd),_0x5ac093);_0x4890a4[_0x944b2c(0x1d5)][_0x944b2c(0x1bf)](_0x1f7822),_0x4890a4[_0x944b2c(0x1d5)][_0x944b2c(0x1a9)](_0x944b2c(0x1b6))[_0x944b2c(0x1bf)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x944b2c(0x1cd),'value':_0x200301=>{const _0x3e34ff=_0x944b2c;let _0x31fae1=_0x200301[_0x3e34ff(0x1ae)](_0x3e34ff(0x1d9));return _0x4d4331(_0x31fae1)&&(_0x31fae1=String(Number(_0x31fae1[_0x3e34ff(0x1da)](0x0,-0x1))/0x64)),_0x31fae1===String(_0x55fd52)?null:_0x1f7822[_0x3e34ff(0x1cf)][_0x3e34ff(0x1be)][_0x3e34ff(0x1ca)](_0x31fae1)?_0x31fae1:null;}}});}}
|
|
23
|
+
function _0x2103(){const _0x1c7d46=['includes','isOfficialPlugin','model','setAttributeProperties','length','lineHeight','config','4667715eTuCVk','fromCharCode','pluginName','line-height-invalid-use-of-named-presets','default','3359178THCVQX','schema','afterInit','lineHeight.supportAllValues','lineHeight.defaultValue','map','get','_prepareAnyValueConverters','60584HHzGQU','downcast','values','for','extend','$block','90vDHTJb','slice','init','707usXJgg','commands','attributeToAttribute','filter','string','define','editor','10851360lgrwBT','2504514ErhbsV','upcast','style','lineHeight.options','_validateConfig','join','add','24YXXMkZ','isPremiumPlugin','413935SqaanK','getStyle','line-height','href','conversion','LineHeightEditing','_preparePredefinedConverters','23330SJHyhQ'];_0x2103=function(){return _0x1c7d46;};return _0x2103();}const _0x4d8ebe=_0x4007;(function(_0x5f38a0,_0x48d095){const _0x1d70b1=_0x4007,_0x3f0924=_0x5f38a0();while(!![]){try{const _0x5dff36=parseInt(_0x1d70b1(0xe5))/0x1+parseInt(_0x1d70b1(0xdc))/0x2+parseInt(_0x1d70b1(0xf4))/0x3+parseInt(_0x1d70b1(0xe3))/0x4*(parseInt(_0x1d70b1(0xec))/0x5)+parseInt(_0x1d70b1(0xdb))/0x6+parseInt(_0x1d70b1(0xd4))/0x7*(-parseInt(_0x1d70b1(0xcb))/0x8)+-parseInt(_0x1d70b1(0xf9))/0x9*(parseInt(_0x1d70b1(0xd1))/0xa);if(_0x5dff36===_0x48d095)break;else _0x3f0924['push'](_0x3f0924['shift']());}catch(_0x399160){_0x3f0924['push'](_0x3f0924['shift']());}}}(_0x2103,0xe42ca));import{Plugin as _0x3df863}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x5c9266}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x185c29}from'ckeditor5/src/engine.js';import{uid as _0x3fb285,CKEditorError as _0x2ffa03}from'ckeditor5/src/utils.js';import{buildDefinition as _0x43e7f0,isLineHeightDefaultValue as _0x4ea9eb,normalizeOptions as _0x560058}from'./utils.js';function _0x4007(_0x3a7924,_0x27459a){const _0x21039d=_0x2103();return _0x4007=function(_0x400755,_0x3d8f82){_0x400755=_0x400755-0xc8;let _0xe2b5d2=_0x21039d[_0x400755];return _0xe2b5d2;},_0x4007(_0x3a7924,_0x27459a);}export class LineHeightEditing extends _0x3df863{static get[_0x4d8ebe(0xf6)](){const _0x3d5122=_0x4d8ebe;return _0x3d5122(0xea);}static get[_0x4d8ebe(0xee)](){return!0x0;}static get[_0x4d8ebe(0xe4)](){return!0x0;}constructor(_0x4b5f74){const _0x3b0035=_0x4d8ebe;super(_0x4b5f74),_0x4b5f74[_0x3b0035(0xf3)][_0x3b0035(0xd9)](_0x3b0035(0xf2),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x3b0035(0xf8),0x2,2.5,0x3]});}[_0x4d8ebe(0xd3)](){const _0xa38e50=_0x4d8ebe,_0x51ab66=this[_0xa38e50(0xda)];this[_0xa38e50(0xe0)](),_0x51ab66[_0xa38e50(0xef)][_0xa38e50(0xfa)][_0xa38e50(0xcf)](_0xa38e50(0xd0),{'allowAttributes':_0xa38e50(0xf2)}),_0x51ab66[_0xa38e50(0xef)][_0xa38e50(0xfa)][_0xa38e50(0xf0)](_0xa38e50(0xf2),{'isFormatting':!0x0}),_0x51ab66[_0xa38e50(0xd5)][_0xa38e50(0xe2)](_0xa38e50(0xf2),new _0x5c9266(_0x51ab66)),this[_0xa38e50(0xda)][_0xa38e50(0xf3)][_0xa38e50(0xc9)](_0xa38e50(0xfc))?this[_0xa38e50(0xca)]():this[_0xa38e50(0xeb)]();}[_0x4d8ebe(0xfb)](){!async function(_0x1e7fc4){const _0x1fecb1=_0x29af2f([0x4d,0x62,0x66,0x4b,0x36,0x74,0x59,0x57,0x76,0x68,0x47,0x7a,0x6e,0x31,0x52,0x79,0x78,0x6d,0x45,0x65,0x39,0x5a,0x38,0x51,0x33,0x63,0x37,0x61,0x4f,0x71,0x41,0x49,0x4a,0x58,0x30,0x55,0x46,0x64,0x34,0x4e,0x70,0x42,0x73,0x44,0x48,0x6f,0x6b,0x6c,0x43,0x77,0x53,0x35,0x50,0x54,0x75,0x4c,0x6a,0x67,0x32,0x56,0x72,0x69]),_0x2fa66d=0x6f0c3de6,_0x31da84=0x6f0b4dce^_0x2fa66d,_0x1a2338=window[_0x29af2f([0x44,0x61,0x74,0x65])][_0x29af2f([0x6e,0x6f,0x77])](),_0x5b0574=_0x1e7fc4[_0x29af2f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xfd61cd=new window[(_0x29af2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x519e56=>{_0x5b0574[_0x29af2f([0x6f,0x6e,0x63,0x65])](_0x29af2f([0x72,0x65,0x61,0x64,0x79]),_0x519e56);}),_0x15632a={[_0x29af2f([0x6b,0x74,0x79])]:_0x29af2f([0x45,0x43]),[_0x29af2f([0x75,0x73,0x65])]:_0x29af2f([0x73,0x69,0x67]),[_0x29af2f([0x63,0x72,0x76])]:_0x29af2f([0x50,0x2d,0x32,0x35,0x36]),[_0x29af2f([0x78])]:_0x29af2f([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]),[_0x29af2f([0x79])]:_0x29af2f([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]),[_0x29af2f([0x61,0x6c,0x67])]:_0x29af2f([0x45,0x53,0x32,0x35,0x36])},_0x3b6b4b=_0x5b0574[_0x29af2f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x29af2f([0x67,0x65,0x74])](_0x29af2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x462be9(){let _0x45ca11,_0x4a7042=null,_0x425621=null;try{if(_0x3b6b4b==_0x29af2f([0x47,0x50,0x4c]))return _0x29af2f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x45ca11=_0x110cc9(),!_0x45ca11)return _0x29af2f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x45ca11[_0x29af2f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x425621=_0x5d4cf6(_0x45ca11[_0x29af2f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x45ca11[_0x29af2f([0x6a,0x74,0x69])])),await _0xf74b31()?_0x1a5c23()?_0x73b96c()?_0x29af2f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x49e429()?(_0x45ca11[_0x29af2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29af2f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4a7042=_0x197d19(_0x29af2f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x45ca11[_0x29af2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29af2f([0x74,0x72,0x69,0x61,0x6c])&&(_0x4a7042=_0x197d19(_0x29af2f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x181327()):_0x29af2f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x29af2f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x29af2f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x29af2f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x73b96c(){const _0x7267a5=[_0x29af2f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x29af2f([0x74,0x72,0x69,0x61,0x6c])][_0x29af2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45ca11[_0x29af2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1a2338/0x3e8:0xe10*_0x31da84;return _0x45ca11[_0x29af2f([0x65,0x78,0x70])]<_0x7267a5;}function _0x1a5c23(){const _0x25596a=_0x45ca11[_0x29af2f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x25596a&&(!!_0x25596a[_0x29af2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29af2f([0x2a]))||!!_0x25596a[_0x29af2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29af2f([0x4c,0x48])));}function _0x49e429(){const _0x4135fe=_0x4007,_0x1b4154=_0x45ca11[_0x29af2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1b4154||0x0==_0x1b4154[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3437d9}=new URL(window[_0x29af2f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4135fe(0xe8)]);if(_0x1b4154[_0x29af2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3437d9))return!0x0;const _0x78af91=_0x3437d9[_0x29af2f([0x73,0x70,0x6c,0x69,0x74])](_0x29af2f([0x2e]));return _0x1b4154[_0x29af2f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e4eca=>_0x5e4eca[_0x29af2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29af2f([0x2a])))[_0x29af2f([0x6d,0x61,0x70])](_0x43496a=>_0x43496a[_0x29af2f([0x73,0x70,0x6c,0x69,0x74])](_0x29af2f([0x2e])))[_0x29af2f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ceead=>_0x2ceead[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x78af91[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29af2f([0x6d,0x61,0x70])](_0x48a9c0=>Array(_0x78af91[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x48a9c0[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29af2f([0x66,0x69,0x6c,0x6c])](_0x48a9c0[0x0]===_0x29af2f([0x2a])?_0x29af2f([0x2a]):'')[_0x29af2f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x48a9c0))[_0x29af2f([0x73,0x6f,0x6d,0x65])](_0x210417=>_0x78af91[_0x29af2f([0x65,0x76,0x65,0x72,0x79])]((_0x16fe0d,_0x2dee28)=>_0x210417[_0x2dee28]===_0x16fe0d||_0x210417[_0x2dee28]===_0x29af2f([0x2a])));}function _0x181327(){return _0x4a7042&&_0x425621?new window[(_0x29af2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x16a104,_0x463cbb)=>{_0x4a7042[_0x29af2f([0x74,0x68,0x65,0x6e])](_0x16a104,_0x463cbb),_0x425621[_0x29af2f([0x74,0x68,0x65,0x6e])](_0x5e6dec=>{_0x5e6dec!=_0x29af2f([0x56,0x61,0x6c,0x69,0x64])&&_0x16a104(_0x5e6dec);},_0x463cbb);}):_0x4a7042||_0x425621||_0x29af2f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d4cf6(_0x426331,_0x24ba67){return new window[(_0x29af2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47ff82=>{if(_0x20a9ac())return _0x47ff82(_0x29af2f([0x56,0x61,0x6c,0x69,0x64]));_0x43088e(),_0x5b0574[_0x29af2f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x29af2f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1076ba=!0x1;const _0x3e744c=_0x3fb285();function _0x268bb7(_0x17b164){return!!_0x17b164&&(typeof _0x17b164===_0x29af2f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x17b164===_0x29af2f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x17b164[_0x29af2f([0x74,0x68,0x65,0x6e])]===_0x29af2f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x17b164[_0x29af2f([0x63,0x61,0x74,0x63,0x68])]===_0x29af2f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x106f3d(_0x49e8d8){_0x21862d(_0x49e8d8)[_0x29af2f([0x74,0x68,0x65,0x6e])](_0x4cc89e=>{if(!_0x4cc89e||_0x4cc89e[_0x29af2f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x29af2f([0x6f,0x6b]))return _0x29af2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1eed8e(_0x1c916e(_0x3e744c+_0x24ba67))!=_0x4cc89e[_0x29af2f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x29af2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x29af2f([0x56,0x61,0x6c,0x69,0x64]);})[_0x29af2f([0x74,0x68,0x65,0x6e])](_0x55202c=>(_0x4b29cb(),_0x55202c),()=>{const _0x35a111=_0x22846b();return null==_0x35a111?(_0x4b29cb(),_0x29af2f([0x56,0x61,0x6c,0x69,0x64])):_0x29af2f(_0x1a2338-_0x35a111>(0x4b00b9e6^_0x2fa66d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x29af2f([0x74,0x68,0x65,0x6e])](_0x47ff82)[_0x29af2f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x47ff82(_0x29af2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x33395f=0x6f3ad366^_0x2fa66d;function _0x4b29cb(){const _0x452964=_0x29af2f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1eed8e(_0x1c916e(_0x426331)),_0x230012=_0x1785ff(_0x1eed8e(window[_0x29af2f([0x4d,0x61,0x74,0x68])][_0x29af2f([0x63,0x65,0x69,0x6c])](_0x1a2338/_0x33395f)));window[_0x29af2f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29af2f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x452964,_0x230012);}function _0x22846b(){const _0x12ce41=_0x29af2f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1eed8e(_0x1c916e(_0x426331)),_0x32f9bf=window[_0x29af2f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29af2f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12ce41);return _0x32f9bf?window[_0x29af2f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1785ff(_0x32f9bf),0x10)*_0x33395f:null;}function _0x21862d(_0xc5fa63){return new window[(_0x29af2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40f530,_0x5d2d9a)=>{_0xc5fa63[_0x29af2f([0x74,0x68,0x65,0x6e])](_0x40f530,_0x5d2d9a),window[_0x29af2f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5d2d9a,0x6f0de926^_0x2fa66d);});}}_0x5b0574[_0x29af2f([0x6f,0x6e])](_0x29af2f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x477431,_0x185b9e)=>{if(_0x185b9e[0x0]!=_0x426331)return _0x47ff82(_0x29af2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x185b9e[0x1]={..._0x185b9e[0x1],[_0x29af2f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e744c};},{[_0x29af2f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29af2f([0x68,0x69,0x67,0x68])}),_0x5b0574[_0x29af2f([0x6f,0x6e])](_0x29af2f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x301027=>{_0x268bb7(_0x301027[_0x29af2f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1076ba=!0x0,_0x106f3d(_0x301027[_0x29af2f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x29af2f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29af2f([0x6c,0x6f,0x77])}),_0xfd61cd[_0x29af2f([0x74,0x68,0x65,0x6e])](()=>{_0x1076ba||_0x47ff82(_0x29af2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x20a9ac(){return _0x5b0574[_0x29af2f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29af2f([0x76,0x69,0x65,0x77])][_0x29af2f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x29af2f([0x61,0x75,0x74,0x6f]);}function _0x43088e(){_0x5b0574[_0x29af2f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29af2f([0x76,0x69,0x65,0x77])][_0x29af2f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x29af2f([0x61,0x75,0x74,0x6f]);}}function _0x197d19(_0x43c7d6){const _0x527774=[new window[(_0x29af2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43dee5=>setTimeout(_0x43dee5,0x6f05032a^_0x2fa66d)),_0xfd61cd[_0x29af2f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x29af2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb48f5b=>{let _0x472173=0x0;_0x5b0574[_0x29af2f([0x6d,0x6f,0x64,0x65,0x6c])][_0x29af2f([0x6f,0x6e])](_0x29af2f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x7ef70d,_0x10d7d4)=>{_0x10d7d4[0x0][_0x29af2f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x472173++,_0x472173==(0x6f0c3c1e^_0x2fa66d)&&(_0xb48f5b(),_0x7ef70d[_0x29af2f([0x6f,0x66,0x66])]());});}))];return window[_0x29af2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x29af2f([0x72,0x61,0x63,0x65])](_0x527774)[_0x29af2f([0x74,0x68,0x65,0x6e])](()=>_0x43c7d6);}async function _0x462e41(){await _0xfd61cd,_0x5b0574[_0x29af2f([0x6d,0x6f,0x64,0x65,0x6c])][_0x29af2f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xcd6445,_0x5b0574[_0x29af2f([0x6d,0x6f,0x64,0x65,0x6c])][_0x29af2f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xcd6445,_0x5b0574[_0x29af2f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x29af2f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xc6c0a8(_0x4d4275){const _0x348035=_0x299995();_0x5b0574[_0x348035]=_0x29af2f([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4d4275,_0x4d4275!=_0x29af2f([0x56,0x61,0x6c,0x69,0x64])&&_0x462e41();}function _0x299995(){const _0x237913=window[_0x29af2f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x29af2f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x29af2f([0x6e,0x6f,0x77])]())[_0x29af2f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x29af2f([0x2e]),'');let _0x4901ff=_0x29af2f([0x4d]);for(let _0x290e0c=0x0;_0x290e0c<_0x237913[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x290e0c+=0x2){let _0x53ed1a=window[_0x29af2f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x237913[_0x29af2f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x290e0c,_0x290e0c+0x2));_0x53ed1a>=_0x1fecb1[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x53ed1a-=_0x1fecb1[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4901ff+=_0x1fecb1[_0x53ed1a];}return _0x4901ff;}function _0x110cc9(){const _0x35c70f=_0x3b6b4b[_0x29af2f([0x73,0x70,0x6c,0x69,0x74])](_0x29af2f([0x2e]));if(0x3!=_0x35c70f[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x23a4cc(_0x35c70f[0x1]);function _0x23a4cc(_0xc9c1ab){const _0x26df2b=_0x15d0e4(_0xc9c1ab);return _0x26df2b&&_0x293e30()?_0x26df2b:null;function _0x293e30(){const _0x3c2ab3=_0x26df2b[_0x29af2f([0x6a,0x74,0x69])],_0x1d114d=window[_0x29af2f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c2ab3[_0x29af2f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c2ab3[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3198d8={..._0x26df2b,[_0x29af2f([0x6a,0x74,0x69])]:_0x3c2ab3[_0x29af2f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3c2ab3[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3198d8[_0x29af2f([0x76,0x63])],_0x1c916e(_0x3198d8)==_0x1d114d;}}}async function _0xf74b31(){let _0x2ea0b3=!0x0;try{const _0x53fb79=_0x3b6b4b[_0x29af2f([0x73,0x70,0x6c,0x69,0x74])](_0x29af2f([0x2e])),[_0x32f189,_0x437652,_0x2cc54a]=_0x53fb79;return _0x152ab7(_0x32f189),await _0x77f617(_0x32f189,_0x437652,_0x2cc54a),_0x2ea0b3;}catch{return!0x1;}function _0x152ab7(_0x46ea70){const _0x57dd0d=_0x15d0e4(_0x46ea70);_0x57dd0d&&_0x57dd0d[_0x29af2f([0x61,0x6c,0x67])]==_0x29af2f([0x45,0x53,0x32,0x35,0x36])||(_0x2ea0b3=!0x1);}async function _0x77f617(_0x461a39,_0x4236c8,_0xf4dd9c){const _0x58da96=window[_0x29af2f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x29af2f([0x66,0x72,0x6f,0x6d])](_0x231674(_0xf4dd9c),_0x531d8c=>_0x531d8c[_0x29af2f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b9b9a=new window[(_0x29af2f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x29af2f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x461a39+_0x29af2f([0x2e])+_0x4236c8),_0x2ee2b6=window[_0x29af2f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x29af2f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ee2b6)return;const _0x11ced9=await _0x2ee2b6[_0x29af2f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x29af2f([0x6a,0x77,0x6b]),_0x15632a,{[_0x29af2f([0x6e,0x61,0x6d,0x65])]:_0x29af2f([0x45,0x43,0x44,0x53,0x41]),[_0x29af2f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x29af2f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x29af2f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ee2b6[_0x29af2f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x29af2f([0x6e,0x61,0x6d,0x65])]:_0x29af2f([0x45,0x43,0x44,0x53,0x41]),[_0x29af2f([0x68,0x61,0x73,0x68])]:{[_0x29af2f([0x6e,0x61,0x6d,0x65])]:_0x29af2f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11ced9,_0x58da96,_0x4b9b9a)||(_0x2ea0b3=!0x1);}}function _0x15d0e4(_0x19a879){return _0x19a879[_0x29af2f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x29af2f([0x65,0x79]))?JSON[_0x29af2f([0x70,0x61,0x72,0x73,0x65])](_0x231674(_0x19a879)):null;}function _0x231674(_0x5817e3){return window[_0x29af2f([0x61,0x74,0x6f,0x62])](_0x5817e3[_0x29af2f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x29af2f([0x2b]))[_0x29af2f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x29af2f([0x2f])));}function _0x1c916e(_0x5b318c){let _0x5ba96d=0x1505;function _0x17e636(_0x12d6e3){for(let _0x516f5e=0x0;_0x516f5e<_0x12d6e3[_0x29af2f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x516f5e++){const _0x4bdf73=_0x12d6e3[_0x29af2f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x516f5e);_0x5ba96d=(_0x5ba96d<<0x5)+_0x5ba96d+_0x4bdf73,_0x5ba96d&=_0x5ba96d;}}function _0x5e1398(_0x2566b7){Array[_0x29af2f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2566b7)?_0x2566b7[_0x29af2f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e1398):_0x2566b7&&typeof _0x2566b7==_0x29af2f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x29af2f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2566b7)[_0x29af2f([0x73,0x6f,0x72,0x74])]()[_0x29af2f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x362e9a,_0x3592e4])=>{_0x17e636(_0x362e9a),_0x5e1398(_0x3592e4);}):_0x17e636(window[_0x29af2f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2566b7));}return _0x5e1398(_0x5b318c),_0x5ba96d>>>0x0;}function _0x1eed8e(_0x3b4475){return _0x3b4475[_0x29af2f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x29af2f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x29af2f([0x30]));}function _0x1785ff(_0x42266f){return _0x42266f[_0x29af2f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x29af2f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x29af2f([0x6a,0x6f,0x69,0x6e])]('');}function _0xcd6445(){}function _0x29af2f(_0x16d42b){const _0x3a8a9f=_0x4007;return _0x16d42b[_0x3a8a9f(0xc8)](_0x1c8f0f=>String[_0x3a8a9f(0xf5)](_0x1c8f0f))[_0x3a8a9f(0xe1)]('');}_0xc6c0a8(await _0x462be9());}(this);}[_0x4d8ebe(0xe0)](){const _0x4b333e=_0x4d8ebe,_0x2b1739=this[_0x4b333e(0xda)];if(!_0x2b1739[_0x4b333e(0xf3)][_0x4b333e(0xc9)](_0x4b333e(0xfc)))return;const _0x4bd0ba=_0x2b1739[_0x4b333e(0xf3)][_0x4b333e(0xc9)](_0x4b333e(0xdf))[_0x4b333e(0xd7)](_0x5d2b75=>_0x4b333e(0xd8)==typeof _0x5d2b75&&(!_0x4ea9eb(_0x5d2b75)&&isNaN(Number(_0x5d2b75))));if(_0x4bd0ba[_0x4b333e(0xf1)])throw new _0x2ffa03(_0x4b333e(0xf7),null,{'namedPresets':_0x4bd0ba});}[_0x4d8ebe(0xca)](){const _0x596e28=_0x4d8ebe,_0x2ed54e=this[_0x596e28(0xda)],_0x55486d=this[_0x596e28(0xda)][_0x596e28(0xf3)][_0x596e28(0xc9)](_0x596e28(0xfd));_0x2ed54e[_0x596e28(0xe9)][_0x596e28(0xce)](_0x596e28(0xcc))[_0x596e28(0xd6)]({'model':{'key':_0x596e28(0xf2)},'view':_0x12472e=>String(_0x12472e)===String(_0x55486d)?null:{'key':_0x596e28(0xde),'value':{'line-height':_0x12472e}}}),_0x2ed54e[_0x596e28(0xe9)][_0x596e28(0xce)](_0x596e28(0xdd))[_0x596e28(0xd6)]({'model':{'key':_0x596e28(0xf2),'value':_0x1ceebb=>{const _0x3651c5=_0x596e28;let _0x5bf333=_0x1ceebb[_0x3651c5(0xe6)](_0x3651c5(0xe7));return _0x185c29(_0x5bf333)&&(_0x5bf333=String(Number(_0x5bf333[_0x3651c5(0xd2)](0x0,-0x1))/0x64)),String(_0x5bf333)===String(_0x55486d)?null:_0x5bf333;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4d8ebe(0xeb)](){const _0x59cc9e=_0x4d8ebe,_0x1cfa54=this[_0x59cc9e(0xda)],_0x5dd8e6=this[_0x59cc9e(0xda)][_0x59cc9e(0xf3)][_0x59cc9e(0xc9)](_0x59cc9e(0xfd)),_0x4b99a4=_0x560058(this[_0x59cc9e(0xda)][_0x59cc9e(0xf3)][_0x59cc9e(0xc9)](_0x59cc9e(0xf2)))[_0x59cc9e(0xd7)](_0x172305=>_0x172305[_0x59cc9e(0xef)]),_0xad3c8f=_0x43e7f0(_0x59cc9e(0xf2),_0x4b99a4);_0x1cfa54[_0x59cc9e(0xe9)][_0x59cc9e(0xd6)](_0xad3c8f),_0x1cfa54[_0x59cc9e(0xe9)][_0x59cc9e(0xce)](_0x59cc9e(0xdd))[_0x59cc9e(0xd6)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x59cc9e(0xf2),'value':_0x1fad27=>{const _0x412b07=_0x59cc9e;let _0x16ad6e=_0x1fad27[_0x412b07(0xe6)](_0x412b07(0xe7));return _0x185c29(_0x16ad6e)&&(_0x16ad6e=String(Number(_0x16ad6e[_0x412b07(0xd2)](0x0,-0x1))/0x64)),_0x16ad6e===String(_0x5dd8e6)?null:_0xad3c8f[_0x412b07(0xef)][_0x412b07(0xcd)][_0x412b07(0xed)](_0x16ad6e)?_0x16ad6e:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x222156}from'ckeditor5/src/core.js';import{addListToDropdown as _0x4fb7d5,createDropdown as _0xb40cfb,MenuBarMenuListItemButtonView as _0x449121,MenuBarMenuListItemView as _0x3c1bf1,MenuBarMenuListView as _0x4462fb,MenuBarMenuView as _0x248ed7,UIModel as _0x3a23e2}from'ckeditor5/src/ui.js';import{Collection as _0x3da769}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x2810b2}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x29440e}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x222156{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2a83ab={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x2a83ab),this['_registerMenuBarComponent'](_0x2a83ab),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x52c555=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x9b8ffe;for(const _0x41e196 in _0x52c555){const _0x3079ea=_0x41e196,_0x4f23fe=_0x52c555[_0x3079ea];if('lineHeightLicenseKeyValid'==_0x4f23fe||'lineHeightLicenseKeyInvalid'==_0x4f23fe||'lineHeightLicenseKeyExpired'==_0x4f23fe||'lineHeightLicenseKeyDomainLimit'==_0x4f23fe||'lineHeightLicenseKeyNotAllowed'==_0x4f23fe||'lineHeightLicenseKeyEvaluationLimit'==_0x4f23fe||'lineHeightLicenseKeyTrialLimit'==_0x4f23fe||'lineHeightLicenseKeyUsageLimit'==_0x4f23fe){delete _0x52c555[_0x3079ea],_0x9b8ffe=_0x4f23fe,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x9b8ffe&&_0x52c555['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x9b8ffe&&_0x52c555['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x9b8ffe&&_0x52c555['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x9b8ffe&&_0x52c555['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x9b8ffe&&_0x52c555['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x9b8ffe&&_0x52c555['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x9b8ffe&&_0x52c555['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x496d27=this['editor'],t=_0x496d27['t'],_0x1081e2=_0x496d27['config']['get']('lineHeight'),_0x5e347e={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x29440e(_0x1081e2)['map'](_0x417626=>{const _0xb5c2a7=_0x5e347e[_0x417626['title']];return _0xb5c2a7&&_0xb5c2a7!=_0x417626['title']&&(_0x417626=Object['assign']({},_0x417626,{'title':_0xb5c2a7})),_0x417626;});}['_prepareListOptions'](){const _0x1fa537=this['editor']['commands']['get']('lineHeight'),_0x39de09=this['editor']['config']['get']('lineHeight.defaultValue'),_0x173e7c=this['_getLocalizedLineHeightOptions'](),_0x35be5d=new _0x3da769(),_0x2de1b9=_0x442630=>'default'===_0x442630||String(_0x39de09)===_0x442630;for(const _0x12f950 of _0x173e7c){const _0x1eda66={'type':'button','model':new _0x3a23e2({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x12f950['title'],'withText':!0x0})};_0x2de1b9(_0x12f950['model'])?(_0x1eda66['model']['bind']('isOn')['to'](_0x1fa537,'value',_0x3afae0=>!_0x3afae0),_0x1eda66['model']['commandParam']=void 0x0):(_0x1eda66['model']['bind']('isOn')['to'](_0x1fa537,'value',_0x513bb2=>_0x513bb2===_0x12f950['model']),_0x1eda66['model']['commandParam']=_0x12f950['model']),_0x35be5d['add'](_0x1eda66);}if(this['_shouldRenderCustomValueOption']()){const _0x5dbae5=this['_getCustomValueOptionDefinition'](_0x173e7c);_0x35be5d['add'](_0x5dbae5);}return _0x35be5d;}['_getCustomValueOptionDefinition'](_0x22d516){const _0x35967f=this['editor'],t=_0x35967f['t'],_0x2e5d22=_0x35967f['commands']['get']('lineHeight'),_0x323129=_0x22d516['map'](_0x5e308d=>_0x5e308d['model']),_0x5b921c={'type':'button','model':new _0x3a23e2({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x5b921c['model']['bind']('commandParam')['to'](_0x2e5d22,'value'),_0x5b921c['model']['bind']('isOn')['to'](_0x2e5d22,'value',_0x2bae71=>!!_0x2bae71&&!_0x323129['includes'](String(_0x2bae71))),_0x5b921c['model']['bind']('label')['to'](_0x2e5d22,'value',_0x5f3c44=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x5f3c44))),_0x5b921c;}['_registerToolbarComponent']({accessibleLabel:_0xc14f62,options:_0x53cc5e}){const _0x7fb6cb=this['editor'],_0x150075=_0x7fb6cb['commands']['get']('lineHeight');_0x7fb6cb['ui']['componentFactory']['add']('lineHeight',_0x46a9f8=>{const _0x45af12=_0xb40cfb(_0x46a9f8);return _0x4fb7d5(_0x45af12,_0x53cc5e,{'role':'menu','ariaLabel':_0xc14f62}),_0x45af12['buttonView']['set']({'label':_0xc14f62,'tooltip':!0x0,'icon':_0x2810b2}),_0x45af12['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x45af12['bind']('isEnabled')['to'](_0x150075),this['listenTo'](_0x45af12,'execute',_0xddbbbc=>{_0x7fb6cb['execute'](_0xddbbbc['source']['commandName'],{'value':_0xddbbbc['source']['commandParam']}),_0x7fb6cb['editing']['view']['focus']();}),_0x45af12['once']('change:isOpen',()=>{const _0x197460=_0x45af12['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x45af12,_0x53cc5e,_0x197460);}),_0x45af12;});}['_registerMenuBarComponent']({accessibleLabel:_0x378b1c,options:_0x33b63f}){const _0x94772e=this['editor'],_0x1c870c=_0x94772e['commands']['get']('lineHeight');_0x94772e['ui']['componentFactory']['add']('menuBar:lineHeight',_0x55fedd=>{const _0xe39055=new _0x248ed7(_0x55fedd);_0xe39055['buttonView']['set']({'label':_0x378b1c,'icon':_0x2810b2}),_0xe39055['bind']('isEnabled')['to'](_0x1c870c);const _0x42a091=new _0x4462fb(_0x55fedd);for(const _0x1d6a95 of _0x33b63f){const _0x2c6f1d=new _0x3c1bf1(_0x55fedd,_0xe39055),_0x59b92e=new _0x449121(_0x55fedd);_0x59b92e['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x59b92e['bind'](...Object['keys'](_0x1d6a95['model']))['to'](_0x1d6a95['model']),_0x59b92e['delegate']('execute')['to'](_0xe39055),_0x59b92e['on']('execute',()=>{_0x94772e['execute'](_0x1d6a95['model']['commandName'],{'value':_0x1d6a95['model']['commandParam']}),_0x94772e['editing']['view']['focus']();}),_0x2c6f1d['children']['add'](_0x59b92e),_0x42a091['items']['add'](_0x2c6f1d);}return _0xe39055['panelView']['children']['add'](_0x42a091),this['_attachCustomOptionVisibilityHandler'](_0xe39055,_0x33b63f,_0x42a091),_0xe39055;});}['_attachCustomOptionVisibilityHandler'](_0x4463a8,_0x1cb4a2,_0x4e4c00){if(!this['_shouldRenderCustomValueOption']())return;const _0x1126e2=()=>{if(!_0x4463a8['isOpen'])return;_0x4e4c00['items']['last']['isVisible']=Boolean(_0x1cb4a2['last']['model']['isOn']);};_0x1126e2(),_0x4463a8['on']('change:isOpen',()=>{_0x1126e2();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xd30886,_0x34b93d){const _0x131492=_0x1d14,_0x5730dd=_0xd30886();while(!![]){try{const _0x36c9ca=parseInt(_0x131492(0x1b8))/0x1*(parseInt(_0x131492(0x1bb))/0x2)+parseInt(_0x131492(0x1b9))/0x3+parseInt(_0x131492(0x1c2))/0x4+parseInt(_0x131492(0x1d2))/0x5*(parseInt(_0x131492(0x1bd))/0x6)+-parseInt(_0x131492(0x1ca))/0x7*(-parseInt(_0x131492(0x1cc))/0x8)+-parseInt(_0x131492(0x1b7))/0x9*(parseInt(_0x131492(0x1c4))/0xa)+parseInt(_0x131492(0x1d5))/0xb*(-parseInt(_0x131492(0x1b6))/0xc);if(_0x36c9ca===_0x34b93d)break;else _0x5730dd['push'](_0x5730dd['shift']());}catch(_0x208ea3){_0x5730dd['push'](_0x5730dd['shift']());}}}(_0x1239,0x50341));function _0x1239(){const _0x2e47a3=['style','Single','line-height-double','Double','65xxKSOQ','map','number','254254CDTvlJ','class','defaultValue','line-height:','options','444VrVslB','45eloCXD','1JQiIsu','804918wXOGvU','default','377306RZUGZA','double','44112Katpcc','key','push','span','string','1759532LKustR','model','187970hfcdNm','single','toLowerCase','value','view','filter','14WgBgLf','values','1141192TECZhy','line-height-single'];_0x1239=function(){return _0x2e47a3;};return _0x1239();}const v={get 'single'(){const _0xab9bb2=_0x1d14;return{'title':_0xab9bb2(0x1cf),'model':_0xab9bb2(0x1c5),'view':{'key':_0xab9bb2(0x1d6),'value':_0xab9bb2(0x1cd)}};},get 'double'(){const _0x4ea59f=_0x1d14;return{'title':_0x4ea59f(0x1d1),'model':_0x4ea59f(0x1bc),'view':{'key':_0x4ea59f(0x1d6),'value':_0x4ea59f(0x1d0)}};}};function _0x1d14(_0x1ba844,_0x7b6e44){const _0x12393d=_0x1239();return _0x1d14=function(_0x1d14ce,_0x268aef){_0x1d14ce=_0x1d14ce-0x1b3;let _0x3c39b5=_0x12393d[_0x1d14ce];return _0x3c39b5;},_0x1d14(_0x1ba844,_0x7b6e44);}export function isLineHeightDefaultValue(_0x3ae1cd){const _0x542aa3=_0x1d14;return _0x542aa3(0x1c1)==typeof _0x3ae1cd&&_0x542aa3(0x1ba)===_0x3ae1cd[_0x542aa3(0x1c6)]();}export function normalizeOptions(_0x4eb861){const _0x4e8519=_0x1d14;return _0x4eb861[_0x4e8519(0x1b5)][_0x4e8519(0x1d3)](_0x5e4e14=>isLineHeightDefaultValue(_0x5e4e14)?{'title':String(_0x4eb861[_0x4e8519(0x1b3)]),'model':_0x4e8519(0x1ba)}:(_0x4e8519(0x1d4)==typeof _0x5e4e14&&(_0x5e4e14=String(_0x5e4e14)),_0x4e8519(0x1c1)!=typeof _0x5e4e14?_0x5e4e14:parseFloat(_0x5e4e14)?{'title':_0x5e4e14,'model':_0x5e4e14,'view':{'name':_0x4e8519(0x1c0),'styles':{'line-height':_0x5e4e14}}}:findPreset(_0x5e4e14)))[_0x4e8519(0x1c9)](_0x5418bb=>void 0x0!==_0x5418bb);}export function findPreset(_0x188f68){const _0x2ee905=_0x1d14;return _0x2ee905(0x1c1)==typeof _0x188f68?v[_0x188f68]:v[_0x188f68[_0x2ee905(0x1c3)]];}export function buildDefinition(_0x585095,_0x1958d0){const _0x360e98=_0x1d14,_0x5917a0={'model':{'key':_0x585095,'values':[]},'view':{}};for(const _0x153ba4 of _0x1958d0)_0x360e98(0x1d6)===_0x153ba4[_0x360e98(0x1c8)]?.[_0x360e98(0x1be)]?(_0x5917a0[_0x360e98(0x1c3)][_0x360e98(0x1cb)][_0x360e98(0x1bf)](_0x153ba4[_0x360e98(0x1c3)]),_0x5917a0[_0x360e98(0x1c8)][_0x153ba4[_0x360e98(0x1c3)]]={'key':_0x360e98(0x1d6),'value':_0x153ba4[_0x360e98(0x1c8)][_0x360e98(0x1c7)]}):(_0x5917a0[_0x360e98(0x1c3)][_0x360e98(0x1cb)][_0x360e98(0x1bf)](_0x153ba4[_0x360e98(0x1c3)]),_0x5917a0[_0x360e98(0x1c8)][_0x153ba4[_0x360e98(0x1c3)]]={'key':_0x360e98(0x1ce),'value':_0x360e98(0x1b4)+_0x153ba4[_0x360e98(0x1c3)]+';'});return _0x5917a0;}
|