@ckeditor/ckeditor5-line-height 46.0.2-alpha.1 → 46.0.3
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 _0x251a(_0x2675bc,_0x555370){const _0x539589=_0x5395();return _0x251a=function(_0x251af,_0x1bd7b7){_0x251af=_0x251af-0x1bf;let _0x45ebed=_0x539589[_0x251af];return _0x45ebed;},_0x251a(_0x2675bc,_0x555370);}const _0x392dd4=_0x251a;(function(_0x2d286c,_0x4d97e2){const _0x132270=_0x251a,_0x488089=_0x2d286c();while(!![]){try{const _0x18d0cd=parseInt(_0x132270(0x1cb))/0x1+-parseInt(_0x132270(0x1cd))/0x2*(parseInt(_0x132270(0x1d8))/0x3)+parseInt(_0x132270(0x1cc))/0x4+parseInt(_0x132270(0x1d7))/0x5*(-parseInt(_0x132270(0x1c1))/0x6)+parseInt(_0x132270(0x1d4))/0x7*(parseInt(_0x132270(0x1bf))/0x8)+parseInt(_0x132270(0x1d6))/0x9+parseInt(_0x132270(0x1d9))/0xa;if(_0x18d0cd===_0x4d97e2)break;else _0x488089['push'](_0x488089['shift']());}catch(_0xc9333d){_0x488089['push'](_0x488089['shift']());}}}(_0x5395,0xeea43));import{Command as _0x70040d}from'ckeditor5/src/core.js';import{first as _0x1d085a}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x70040d{[_0x392dd4(0x1d1)](){const _0x228e5a=_0x392dd4,_0x165bd0=this[_0x228e5a(0x1da)][_0x228e5a(0x1c2)][_0x228e5a(0x1ce)],_0x1c1b5b=_0x1d085a(_0x165bd0[_0x228e5a(0x1d2)][_0x228e5a(0x1d0)]());this[_0x228e5a(0x1c6)]=Boolean(_0x1c1b5b)&&this[_0x228e5a(0x1c4)](_0x1c1b5b),this[_0x228e5a(0x1db)]=this[_0x228e5a(0x1c6)]&&_0x1c1b5b[_0x228e5a(0x1c7)](_0x228e5a(0x1c0));}[_0x392dd4(0x1c8)](_0x31450b={}){const _0x2a2919=_0x392dd4,_0x4994e9=this[_0x2a2919(0x1da)][_0x2a2919(0x1c2)],_0x4a09c8=_0x4994e9[_0x2a2919(0x1ce)][_0x2a2919(0x1d2)],_0x2ca1fa=_0x31450b[_0x2a2919(0x1db)];_0x4994e9[_0x2a2919(0x1d3)](_0x3bfc7d=>{const _0x5c9710=_0x2a2919,_0x21b2b3=Array[_0x5c9710(0x1c9)](_0x4a09c8[_0x5c9710(0x1d0)]())[_0x5c9710(0x1c5)](_0xb018c2=>this[_0x5c9710(0x1c4)](_0xb018c2));for(const _0x3d4016 of _0x21b2b3)_0x2ca1fa?_0x3bfc7d[_0x5c9710(0x1ca)](_0x5c9710(0x1c0),_0x2ca1fa,_0x3d4016):_0x3bfc7d[_0x5c9710(0x1cf)](_0x5c9710(0x1c0),_0x3d4016);});}[_0x392dd4(0x1c4)](_0x54336d){const _0x39c598=_0x392dd4;return this[_0x39c598(0x1da)][_0x39c598(0x1c2)][_0x39c598(0x1d5)][_0x39c598(0x1c3)](_0x54336d,_0x39c598(0x1c0));}}function _0x5395(){const _0x9bcb13=['execute','from','setAttribute','69771CCkgnF','4675904sOtuUU','170622fceJAb','document','removeAttribute','getSelectedBlocks','refresh','selection','change','42taPQiz','schema','5019363FSUIGh','446375yWTaSK','63bFWFeR','4334550PhVxAc','editor','value','2504296WzxATO','lineHeight','90oMWOkq','model','checkAttribute','_canHaveLineHeight','filter','isEnabled','getAttribute'];_0x5395=function(){return _0x9bcb13;};return _0x5395();}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0xf46d(_0x2483a6,_0x50f682){const _0x58b96b=_0x58b9();return _0xf46d=function(_0xf46dc,_0x5ca29d){_0xf46dc=_0xf46dc-0x171;let _0x3ea9f0=_0x58b96b[_0xf46dc];return _0x3ea9f0;},_0xf46d(_0x2483a6,_0x50f682);}const _0x5008c9=_0xf46d;(function(_0x760e3f,_0x4b3d89){const _0x5aa91e=_0xf46d,_0x3bc9e7=_0x760e3f();while(!![]){try{const _0x38197a=-parseInt(_0x5aa91e(0x18a))/0x1*(-parseInt(_0x5aa91e(0x18e))/0x2)+-parseInt(_0x5aa91e(0x1a3))/0x3*(parseInt(_0x5aa91e(0x17a))/0x4)+-parseInt(_0x5aa91e(0x18b))/0x5*(-parseInt(_0x5aa91e(0x188))/0x6)+-parseInt(_0x5aa91e(0x18d))/0x7+-parseInt(_0x5aa91e(0x19b))/0x8+-parseInt(_0x5aa91e(0x1a0))/0x9*(parseInt(_0x5aa91e(0x184))/0xa)+-parseInt(_0x5aa91e(0x181))/0xb*(-parseInt(_0x5aa91e(0x190))/0xc);if(_0x38197a===_0x4b3d89)break;else _0x3bc9e7['push'](_0x3bc9e7['shift']());}catch(_0x3610b1){_0x3bc9e7['push'](_0x3bc9e7['shift']());}}}(_0x58b9,0x5d01f));function _0x58b9(){const _0x5168e2=['line-height-invalid-use-of-named-presets','values','get','string','getStyle','afterInit','line-height','define','_prepareAnyValueConverters','config','isOfficialPlugin','default','add','1391260hoxITe','setAttributeProperties','_preparePredefinedConverters','LineHeightEditing','filter','includes','lineHeight.supportAllValues','17611rjSvRi','commands','length','132590pnINbm','slice','style','map','347916OUEQze','isPremiumPlugin','29EvhHkq','5mqQWtc','extend','4381167tXyoHE','13450zphIkB','href','17436mDZYgn','for','model','$block','lineHeight.defaultValue','fromCharCode','upcast','join','lineHeight','pluginName','editor','5872208cmUNhb','lineHeight.options','conversion','attributeToAttribute','_validateConfig','333tOlkek','downcast','schema','3TbqbeL','init'];_0x58b9=function(){return _0x5168e2;};return _0x58b9();}import{Plugin as _0xd48886}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x418ed9}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x3783ed}from'ckeditor5/src/engine.js';import{uid as _0x548624,CKEditorError as _0x110b1a}from'ckeditor5/src/utils.js';import{buildDefinition as _0xd5ed94,isLineHeightDefaultValue as _0x5ad6fe,normalizeOptions as _0x51a9b6}from'./utils.js';export class LineHeightEditing extends _0xd48886{static get[_0x5008c9(0x199)](){const _0x406db6=_0x5008c9;return _0x406db6(0x17d);}static get[_0x5008c9(0x177)](){return!0x0;}static get[_0x5008c9(0x189)](){return!0x0;}constructor(_0x375a66){const _0x23b4fa=_0x5008c9;super(_0x375a66),_0x375a66[_0x23b4fa(0x176)][_0x23b4fa(0x174)](_0x23b4fa(0x198),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x23b4fa(0x178),0x2,2.5,0x3]});}[_0x5008c9(0x1a4)](){const _0x29756e=_0x5008c9,_0x2a3593=this[_0x29756e(0x19a)];this[_0x29756e(0x19f)](),_0x2a3593[_0x29756e(0x192)][_0x29756e(0x1a2)][_0x29756e(0x18c)](_0x29756e(0x193),{'allowAttributes':_0x29756e(0x198)}),_0x2a3593[_0x29756e(0x192)][_0x29756e(0x1a2)][_0x29756e(0x17b)](_0x29756e(0x198),{'isFormatting':!0x0}),_0x2a3593[_0x29756e(0x182)][_0x29756e(0x179)](_0x29756e(0x198),new _0x418ed9(_0x2a3593)),this[_0x29756e(0x19a)][_0x29756e(0x176)][_0x29756e(0x1a7)](_0x29756e(0x180))?this[_0x29756e(0x175)]():this[_0x29756e(0x17c)]();}[_0x5008c9(0x172)](){!async function(_0x24c6ea){const _0x3cda77=_0x2a1ff1([0x58,0x38,0x61,0x73,0x48,0x65,0x78,0x55,0x4c,0x53,0x79,0x56,0x75,0x33,0x6c,0x49,0x6d,0x4d,0x77,0x5a,0x71,0x74,0x34,0x37,0x54,0x67,0x63,0x39,0x76,0x6e,0x6f,0x70,0x32,0x43,0x52,0x59,0x4f,0x4a,0x30,0x69,0x50,0x45,0x7a,0x4e,0x46,0x41,0x44,0x66,0x62,0x51,0x72,0x4b,0x47,0x6b,0x57,0x68,0x36,0x35,0x64,0x6a,0x42,0x31]),_0x731376=0x5098c0f2,_0x45071f=0x509fb01a^_0x731376,_0x10cdb4=window[_0x2a1ff1([0x44,0x61,0x74,0x65])][_0x2a1ff1([0x6e,0x6f,0x77])](),_0x3334c8=_0x24c6ea[_0x2a1ff1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1981b6=new window[(_0x2a1ff1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51983e=>{_0x3334c8[_0x2a1ff1([0x6f,0x6e,0x63,0x65])](_0x2a1ff1([0x72,0x65,0x61,0x64,0x79]),_0x51983e);}),_0x30f0d1={[_0x2a1ff1([0x6b,0x74,0x79])]:_0x2a1ff1([0x45,0x43]),[_0x2a1ff1([0x75,0x73,0x65])]:_0x2a1ff1([0x73,0x69,0x67]),[_0x2a1ff1([0x63,0x72,0x76])]:_0x2a1ff1([0x50,0x2d,0x32,0x35,0x36]),[_0x2a1ff1([0x78])]:_0x2a1ff1([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]),[_0x2a1ff1([0x79])]:_0x2a1ff1([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]),[_0x2a1ff1([0x61,0x6c,0x67])]:_0x2a1ff1([0x45,0x53,0x32,0x35,0x36])},_0x473b2b=_0x3334c8[_0x2a1ff1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2a1ff1([0x67,0x65,0x74])](_0x2a1ff1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x18d496(){let _0x3fa7ff,_0x48032e=null,_0x5b014c=null;try{if(_0x473b2b==_0x2a1ff1([0x47,0x50,0x4c]))return _0x2a1ff1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3fa7ff=_0x4feec0(),!_0x3fa7ff)return _0x2a1ff1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3fa7ff[_0x2a1ff1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b014c=_0x115637(_0x3fa7ff[_0x2a1ff1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3fa7ff[_0x2a1ff1([0x6a,0x74,0x69])])),await _0x3bc769()?_0x1f89c2()?_0x590c20()?_0x2a1ff1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2d35e5()?(_0x3fa7ff[_0x2a1ff1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a1ff1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x48032e=_0x330e5a(_0x2a1ff1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3fa7ff[_0x2a1ff1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a1ff1([0x74,0x72,0x69,0x61,0x6c])&&(_0x48032e=_0x330e5a(_0x2a1ff1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x48dcc8()):_0x2a1ff1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2a1ff1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2a1ff1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2a1ff1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x590c20(){const _0x361a28=[_0x2a1ff1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2a1ff1([0x74,0x72,0x69,0x61,0x6c])][_0x2a1ff1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fa7ff[_0x2a1ff1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x10cdb4/0x3e8:0xe10*_0x45071f;return _0x3fa7ff[_0x2a1ff1([0x65,0x78,0x70])]<_0x361a28;}function _0x1f89c2(){const _0x26a690=_0x3fa7ff[_0x2a1ff1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x26a690&&(!!_0x26a690[_0x2a1ff1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a1ff1([0x2a]))||!!_0x26a690[_0x2a1ff1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a1ff1([0x4c,0x48])));}function _0x2d35e5(){const _0x111dd9=_0xf46d,_0x15004d=_0x3fa7ff[_0x2a1ff1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x15004d||0x0==_0x15004d[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x34b4e6}=new URL(window[_0x2a1ff1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x111dd9(0x18f)]);if(_0x15004d[_0x2a1ff1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34b4e6))return!0x0;const _0x251ee9=_0x34b4e6[_0x2a1ff1([0x73,0x70,0x6c,0x69,0x74])](_0x2a1ff1([0x2e]));return _0x15004d[_0x2a1ff1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50ad9e=>_0x50ad9e[_0x2a1ff1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a1ff1([0x2a])))[_0x2a1ff1([0x6d,0x61,0x70])](_0x29ed33=>_0x29ed33[_0x2a1ff1([0x73,0x70,0x6c,0x69,0x74])](_0x2a1ff1([0x2e])))[_0x2a1ff1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2bb44c=>_0x2bb44c[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x251ee9[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a1ff1([0x6d,0x61,0x70])](_0x19b2ab=>Array(_0x251ee9[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x19b2ab[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a1ff1([0x66,0x69,0x6c,0x6c])](_0x19b2ab[0x0]===_0x2a1ff1([0x2a])?_0x2a1ff1([0x2a]):'')[_0x2a1ff1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x19b2ab))[_0x2a1ff1([0x73,0x6f,0x6d,0x65])](_0x32b25d=>_0x251ee9[_0x2a1ff1([0x65,0x76,0x65,0x72,0x79])]((_0x3d7301,_0x8c11ae)=>_0x32b25d[_0x8c11ae]===_0x3d7301||_0x32b25d[_0x8c11ae]===_0x2a1ff1([0x2a])));}function _0x48dcc8(){return _0x48032e&&_0x5b014c?new window[(_0x2a1ff1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x268ce8,_0x1ff137)=>{_0x48032e[_0x2a1ff1([0x74,0x68,0x65,0x6e])](_0x268ce8,_0x1ff137),_0x5b014c[_0x2a1ff1([0x74,0x68,0x65,0x6e])](_0x1f5feb=>{_0x1f5feb!=_0x2a1ff1([0x56,0x61,0x6c,0x69,0x64])&&_0x268ce8(_0x1f5feb);},_0x1ff137);}):_0x48032e||_0x5b014c||_0x2a1ff1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x115637(_0x37b5c3,_0x55fc55){return new window[(_0x2a1ff1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a8e4f=>{if(_0x4d277a())return _0x5a8e4f(_0x2a1ff1([0x56,0x61,0x6c,0x69,0x64]));_0x4e3026(),_0x3334c8[_0x2a1ff1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2a1ff1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x36baaf=!0x1;const _0x4b1f01=_0x548624();function _0x163521(_0x1858af){return!!_0x1858af&&(typeof _0x1858af===_0x2a1ff1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1858af===_0x2a1ff1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1858af[_0x2a1ff1([0x74,0x68,0x65,0x6e])]===_0x2a1ff1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1858af[_0x2a1ff1([0x63,0x61,0x74,0x63,0x68])]===_0x2a1ff1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x12d640(_0x48393d){_0x26e516(_0x48393d)[_0x2a1ff1([0x74,0x68,0x65,0x6e])](_0x5c7c56=>{if(!_0x5c7c56||_0x5c7c56[_0x2a1ff1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2a1ff1([0x6f,0x6b]))return _0x2a1ff1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4c47a5(_0x4a4021(_0x4b1f01+_0x55fc55))!=_0x5c7c56[_0x2a1ff1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2a1ff1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2a1ff1([0x56,0x61,0x6c,0x69,0x64]);})[_0x2a1ff1([0x74,0x68,0x65,0x6e])](_0x5ea2f0=>(_0x78fb54(),_0x5ea2f0),()=>{const _0x125f72=_0x5f2e8e();return null==_0x125f72?(_0x78fb54(),_0x2a1ff1([0x56,0x61,0x6c,0x69,0x64])):_0x2a1ff1(_0x10cdb4-_0x125f72>(0x749444f2^_0x731376)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2a1ff1([0x74,0x68,0x65,0x6e])](_0x5a8e4f)[_0x2a1ff1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5a8e4f(_0x2a1ff1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x28bc5c=0x50ae2e72^_0x731376;function _0x78fb54(){const _0x4860d2=_0x2a1ff1([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c47a5(_0x4a4021(_0x37b5c3)),_0x2a297e=_0x4b1bca(_0x4c47a5(window[_0x2a1ff1([0x4d,0x61,0x74,0x68])][_0x2a1ff1([0x63,0x65,0x69,0x6c])](_0x10cdb4/_0x28bc5c)));window[_0x2a1ff1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a1ff1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4860d2,_0x2a297e);}function _0x5f2e8e(){const _0x8c4147=_0x2a1ff1([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c47a5(_0x4a4021(_0x37b5c3)),_0x4c800f=window[_0x2a1ff1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a1ff1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8c4147);return _0x4c800f?window[_0x2a1ff1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b1bca(_0x4c800f),0x10)*_0x28bc5c:null;}function _0x26e516(_0x568bd3){return new window[(_0x2a1ff1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e434b,_0x23202f)=>{_0x568bd3[_0x2a1ff1([0x74,0x68,0x65,0x6e])](_0x1e434b,_0x23202f),window[_0x2a1ff1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x23202f,0x50991432^_0x731376);});}}_0x3334c8[_0x2a1ff1([0x6f,0x6e])](_0x2a1ff1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x23bf03,_0x1fbd02)=>{if(_0x1fbd02[0x0]!=_0x37b5c3)return _0x5a8e4f(_0x2a1ff1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1fbd02[0x1]={..._0x1fbd02[0x1],[_0x2a1ff1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4b1f01};},{[_0x2a1ff1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a1ff1([0x68,0x69,0x67,0x68])}),_0x3334c8[_0x2a1ff1([0x6f,0x6e])](_0x2a1ff1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x173b7b=>{_0x163521(_0x173b7b[_0x2a1ff1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x36baaf=!0x0,_0x12d640(_0x173b7b[_0x2a1ff1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2a1ff1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a1ff1([0x6c,0x6f,0x77])}),_0x1981b6[_0x2a1ff1([0x74,0x68,0x65,0x6e])](()=>{_0x36baaf||_0x5a8e4f(_0x2a1ff1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4d277a(){return _0x3334c8[_0x2a1ff1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a1ff1([0x76,0x69,0x65,0x77])][_0x2a1ff1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2a1ff1([0x61,0x75,0x74,0x6f]);}function _0x4e3026(){_0x3334c8[_0x2a1ff1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a1ff1([0x76,0x69,0x65,0x77])][_0x2a1ff1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a1ff1([0x61,0x75,0x74,0x6f]);}}function _0x330e5a(_0x23d33a){const _0x3dc56d=[new window[(_0x2a1ff1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2880b1=>setTimeout(_0x2880b1,0x5091fe3e^_0x731376)),_0x1981b6[_0x2a1ff1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2a1ff1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44e29c=>{let _0x4612ff=0x0;_0x3334c8[_0x2a1ff1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a1ff1([0x6f,0x6e])](_0x2a1ff1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xa23e17,_0x4ddaf5)=>{_0x4ddaf5[0x0][_0x2a1ff1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4612ff++,_0x4612ff==(0x5098c10a^_0x731376)&&(_0x44e29c(),_0xa23e17[_0x2a1ff1([0x6f,0x66,0x66])]());});}))];return window[_0x2a1ff1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a1ff1([0x72,0x61,0x63,0x65])](_0x3dc56d)[_0x2a1ff1([0x74,0x68,0x65,0x6e])](()=>_0x23d33a);}async function _0x49df14(){await _0x1981b6,_0x3334c8[_0x2a1ff1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a1ff1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x40e20d,_0x3334c8[_0x2a1ff1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a1ff1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x40e20d,_0x3334c8[_0x2a1ff1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2a1ff1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5804b9(_0x581016){const _0x47f650=_0x485563();_0x3334c8[_0x47f650]=_0x2a1ff1([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x581016,_0x581016!=_0x2a1ff1([0x56,0x61,0x6c,0x69,0x64])&&_0x49df14();}function _0x485563(){const _0x54e463=window[_0x2a1ff1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2a1ff1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2a1ff1([0x6e,0x6f,0x77])]())[_0x2a1ff1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2a1ff1([0x2e]),'');let _0x2b1653=_0x2a1ff1([0x58]);for(let _0x504370=0x0;_0x504370<_0x54e463[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x504370+=0x2){let _0x1a11a9=window[_0x2a1ff1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54e463[_0x2a1ff1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x504370,_0x504370+0x2));_0x1a11a9>=_0x3cda77[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1a11a9-=_0x3cda77[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2b1653+=_0x3cda77[_0x1a11a9];}return _0x2b1653;}function _0x4feec0(){const _0x3877fb=_0x473b2b[_0x2a1ff1([0x73,0x70,0x6c,0x69,0x74])](_0x2a1ff1([0x2e]));if(0x3!=_0x3877fb[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x127e4f(_0x3877fb[0x1]);function _0x127e4f(_0x123e5a){const _0x3a48b2=_0x46c935(_0x123e5a);return _0x3a48b2&&_0x2a354c()?_0x3a48b2:null;function _0x2a354c(){const _0x517501=_0x3a48b2[_0x2a1ff1([0x6a,0x74,0x69])],_0x2c8f08=window[_0x2a1ff1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x517501[_0x2a1ff1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x517501[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x49a731={..._0x3a48b2,[_0x2a1ff1([0x6a,0x74,0x69])]:_0x517501[_0x2a1ff1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x517501[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x49a731[_0x2a1ff1([0x76,0x63])],_0x4a4021(_0x49a731)==_0x2c8f08;}}}async function _0x3bc769(){let _0x545552=!0x0;try{const _0x130460=_0x473b2b[_0x2a1ff1([0x73,0x70,0x6c,0x69,0x74])](_0x2a1ff1([0x2e])),[_0xcc911c,_0x561bbe,_0x462177]=_0x130460;return _0x5082f0(_0xcc911c),await _0x399975(_0xcc911c,_0x561bbe,_0x462177),_0x545552;}catch{return!0x1;}function _0x5082f0(_0x1e4cb8){const _0x537cdd=_0x46c935(_0x1e4cb8);_0x537cdd&&_0x537cdd[_0x2a1ff1([0x61,0x6c,0x67])]==_0x2a1ff1([0x45,0x53,0x32,0x35,0x36])||(_0x545552=!0x1);}async function _0x399975(_0x488657,_0x479aae,_0x7a124c){const _0x139af5=window[_0x2a1ff1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2a1ff1([0x66,0x72,0x6f,0x6d])](_0x3b3ab3(_0x7a124c),_0x2aea4c=>_0x2aea4c[_0x2a1ff1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3d3797=new window[(_0x2a1ff1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2a1ff1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x488657+_0x2a1ff1([0x2e])+_0x479aae),_0x4b5c64=window[_0x2a1ff1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2a1ff1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4b5c64)return;const _0x36bcd6=await _0x4b5c64[_0x2a1ff1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2a1ff1([0x6a,0x77,0x6b]),_0x30f0d1,{[_0x2a1ff1([0x6e,0x61,0x6d,0x65])]:_0x2a1ff1([0x45,0x43,0x44,0x53,0x41]),[_0x2a1ff1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2a1ff1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2a1ff1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4b5c64[_0x2a1ff1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2a1ff1([0x6e,0x61,0x6d,0x65])]:_0x2a1ff1([0x45,0x43,0x44,0x53,0x41]),[_0x2a1ff1([0x68,0x61,0x73,0x68])]:{[_0x2a1ff1([0x6e,0x61,0x6d,0x65])]:_0x2a1ff1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x36bcd6,_0x139af5,_0x3d3797)||(_0x545552=!0x1);}}function _0x46c935(_0x2bf8a6){return _0x2bf8a6[_0x2a1ff1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2a1ff1([0x65,0x79]))?JSON[_0x2a1ff1([0x70,0x61,0x72,0x73,0x65])](_0x3b3ab3(_0x2bf8a6)):null;}function _0x3b3ab3(_0x72ae79){return window[_0x2a1ff1([0x61,0x74,0x6f,0x62])](_0x72ae79[_0x2a1ff1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2a1ff1([0x2b]))[_0x2a1ff1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2a1ff1([0x2f])));}function _0x4a4021(_0x7ae3cb){let _0x386d92=0x1505;function _0x881838(_0x1f4e19){for(let _0x1baab2=0x0;_0x1baab2<_0x1f4e19[_0x2a1ff1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1baab2++){const _0x2a3078=_0x1f4e19[_0x2a1ff1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1baab2);_0x386d92=(_0x386d92<<0x5)+_0x386d92+_0x2a3078,_0x386d92&=_0x386d92;}}function _0x387113(_0x41dab7){Array[_0x2a1ff1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x41dab7)?_0x41dab7[_0x2a1ff1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x387113):_0x41dab7&&typeof _0x41dab7==_0x2a1ff1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2a1ff1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x41dab7)[_0x2a1ff1([0x73,0x6f,0x72,0x74])]()[_0x2a1ff1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4ca35d,_0x1a2d82])=>{_0x881838(_0x4ca35d),_0x387113(_0x1a2d82);}):_0x881838(window[_0x2a1ff1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x41dab7));}return _0x387113(_0x7ae3cb),_0x386d92>>>0x0;}function _0x4c47a5(_0x1c6b35){return _0x1c6b35[_0x2a1ff1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2a1ff1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2a1ff1([0x30]));}function _0x4b1bca(_0x1f7ff9){return _0x1f7ff9[_0x2a1ff1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2a1ff1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2a1ff1([0x6a,0x6f,0x69,0x6e])]('');}function _0x40e20d(){}function _0x2a1ff1(_0x15251f){const _0x2dd03d=_0xf46d;return _0x15251f[_0x2dd03d(0x187)](_0x323bd4=>String[_0x2dd03d(0x195)](_0x323bd4))[_0x2dd03d(0x197)]('');}_0x5804b9(await _0x18d496());}(this);}[_0x5008c9(0x19f)](){const _0x52e346=_0x5008c9,_0x3ec111=this[_0x52e346(0x19a)];if(!_0x3ec111[_0x52e346(0x176)][_0x52e346(0x1a7)](_0x52e346(0x180)))return;const _0x482126=_0x3ec111[_0x52e346(0x176)][_0x52e346(0x1a7)](_0x52e346(0x19c))[_0x52e346(0x17e)](_0x4fb8ea=>_0x52e346(0x1a8)==typeof _0x4fb8ea&&(!_0x5ad6fe(_0x4fb8ea)&&isNaN(Number(_0x4fb8ea))));if(_0x482126[_0x52e346(0x183)])throw new _0x110b1a(_0x52e346(0x1a5),null,{'namedPresets':_0x482126});}[_0x5008c9(0x175)](){const _0x336322=_0x5008c9,_0x50db34=this[_0x336322(0x19a)],_0x67ae7=this[_0x336322(0x19a)][_0x336322(0x176)][_0x336322(0x1a7)](_0x336322(0x194));_0x50db34[_0x336322(0x19d)][_0x336322(0x191)](_0x336322(0x1a1))[_0x336322(0x19e)]({'model':{'key':_0x336322(0x198)},'view':_0x1c66d1=>String(_0x1c66d1)===String(_0x67ae7)?null:{'key':_0x336322(0x186),'value':{'line-height':_0x1c66d1}}}),_0x50db34[_0x336322(0x19d)][_0x336322(0x191)](_0x336322(0x196))[_0x336322(0x19e)]({'model':{'key':_0x336322(0x198),'value':_0x5f186f=>{const _0x2294cc=_0x336322;let _0x4ace95=_0x5f186f[_0x2294cc(0x171)](_0x2294cc(0x173));return _0x3783ed(_0x4ace95)&&(_0x4ace95=String(Number(_0x4ace95[_0x2294cc(0x185)](0x0,-0x1))/0x64)),String(_0x4ace95)===String(_0x67ae7)?null:_0x4ace95;}},'view':{'styles':{'line-height':/.*/}}});}[_0x5008c9(0x17c)](){const _0x4a713d=_0x5008c9,_0x49dfbf=this[_0x4a713d(0x19a)],_0x53810c=this[_0x4a713d(0x19a)][_0x4a713d(0x176)][_0x4a713d(0x1a7)](_0x4a713d(0x194)),_0x315b99=_0x51a9b6(this[_0x4a713d(0x19a)][_0x4a713d(0x176)][_0x4a713d(0x1a7)](_0x4a713d(0x198)))[_0x4a713d(0x17e)](_0xfd1a10=>_0xfd1a10[_0x4a713d(0x192)]),_0x4f39a5=_0xd5ed94(_0x4a713d(0x198),_0x315b99);_0x49dfbf[_0x4a713d(0x19d)][_0x4a713d(0x19e)](_0x4f39a5),_0x49dfbf[_0x4a713d(0x19d)][_0x4a713d(0x191)](_0x4a713d(0x196))[_0x4a713d(0x19e)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x4a713d(0x198),'value':_0x4e9da6=>{const _0x7d44c8=_0x4a713d;let _0x2efc68=_0x4e9da6[_0x7d44c8(0x171)](_0x7d44c8(0x173));return _0x3783ed(_0x2efc68)&&(_0x2efc68=String(Number(_0x2efc68[_0x7d44c8(0x185)](0x0,-0x1))/0x64)),_0x2efc68===String(_0x53810c)?null:_0x4f39a5[_0x7d44c8(0x192)][_0x7d44c8(0x1a6)][_0x7d44c8(0x17f)](_0x2efc68)?_0x2efc68:null;}}});}}
|
|
23
|
+
const _0x57550f=_0x3127;(function(_0x1f4d8e,_0x87cdac){const _0x59006d=_0x3127,_0x3831dc=_0x1f4d8e();while(!![]){try{const _0x175488=parseInt(_0x59006d(0x193))/0x1*(parseInt(_0x59006d(0x18c))/0x2)+-parseInt(_0x59006d(0x1a2))/0x3*(parseInt(_0x59006d(0x17b))/0x4)+parseInt(_0x59006d(0x184))/0x5+-parseInt(_0x59006d(0x1b0))/0x6+-parseInt(_0x59006d(0x17f))/0x7+parseInt(_0x59006d(0x19b))/0x8*(parseInt(_0x59006d(0x1aa))/0x9)+parseInt(_0x59006d(0x1a9))/0xa*(parseInt(_0x59006d(0x17c))/0xb);if(_0x175488===_0x87cdac)break;else _0x3831dc['push'](_0x3831dc['shift']());}catch(_0x466567){_0x3831dc['push'](_0x3831dc['shift']());}}}(_0x5b07,0xc1aa0));function _0x5b07(){const _0x4e741e=['href','2941672zvcluL','11YkbJDw','length','LineHeightEditing','8025150ElTlxG','afterInit','_prepareAnyValueConverters','line-height-invalid-use-of-named-presets','isOfficialPlugin','5832165hmpFnQ','_validateConfig','define','commands','style','downcast','extend','upcast','716yZJFhN','init','isPremiumPlugin','schema','for','fromCharCode','line-height','2165Ytzjme','join','lineHeight.supportAllValues','conversion','$block','lineHeight.options','lineHeight.defaultValue','values','80WgrwlQ','attributeToAttribute','getStyle','includes','setAttributeProperties','pluginName','default','6CRsRyz','string','_preparePredefinedConverters','lineHeight','model','config','map','19902770gVNfFF','212274QyNBCH','editor','slice','add','get','filter','4542636aFJDuZ'];_0x5b07=function(){return _0x4e741e;};return _0x5b07();}import{Plugin as _0x1cbaff}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x4cb206}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x341ec1}from'ckeditor5/src/engine.js';import{uid as _0x48b8df,CKEditorError as _0x5cef82}from'ckeditor5/src/utils.js';function _0x3127(_0x2d7033,_0x3829c4){const _0x5b0797=_0x5b07();return _0x3127=function(_0x312768,_0x485b12){_0x312768=_0x312768-0x17b;let _0x11eae6=_0x5b0797[_0x312768];return _0x11eae6;},_0x3127(_0x2d7033,_0x3829c4);}import{buildDefinition as _0x1c2282,isLineHeightDefaultValue as _0x1c0995,normalizeOptions as _0x35b40f}from'./utils.js';export class LineHeightEditing extends _0x1cbaff{static get[_0x57550f(0x1a0)](){const _0x525e49=_0x57550f;return _0x525e49(0x17e);}static get[_0x57550f(0x183)](){return!0x0;}static get[_0x57550f(0x18e)](){return!0x0;}constructor(_0x3a3f03){const _0xab1800=_0x57550f;super(_0x3a3f03),_0x3a3f03[_0xab1800(0x1a7)][_0xab1800(0x186)](_0xab1800(0x1a5),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0xab1800(0x1a1),0x2,2.5,0x3]});}[_0x57550f(0x18d)](){const _0x4c4045=_0x57550f,_0x538d9e=this[_0x4c4045(0x1ab)];this[_0x4c4045(0x185)](),_0x538d9e[_0x4c4045(0x1a6)][_0x4c4045(0x18f)][_0x4c4045(0x18a)](_0x4c4045(0x197),{'allowAttributes':_0x4c4045(0x1a5)}),_0x538d9e[_0x4c4045(0x1a6)][_0x4c4045(0x18f)][_0x4c4045(0x19f)](_0x4c4045(0x1a5),{'isFormatting':!0x0}),_0x538d9e[_0x4c4045(0x187)][_0x4c4045(0x1ad)](_0x4c4045(0x1a5),new _0x4cb206(_0x538d9e)),this[_0x4c4045(0x1ab)][_0x4c4045(0x1a7)][_0x4c4045(0x1ae)](_0x4c4045(0x195))?this[_0x4c4045(0x181)]():this[_0x4c4045(0x1a4)]();}[_0x57550f(0x180)](){!async function(_0x248158){const _0xc3821f=_0x935d5b([0x45,0x54,0x59,0x63,0x6a,0x76,0x53,0x69,0x52,0x61,0x6b,0x70,0x6d,0x6f,0x78,0x74,0x6c,0x62,0x42,0x50,0x4c,0x43,0x33,0x48,0x66,0x73,0x37,0x75,0x35,0x4f,0x46,0x49,0x65,0x4e,0x41,0x64,0x47,0x4d,0x6e,0x57,0x39,0x77,0x34,0x44,0x79,0x72,0x38,0x68,0x32,0x55,0x71,0x5a,0x36,0x31,0x58,0x30,0x7a,0x4a,0x4b,0x51,0x56,0x67]),_0x51b48b=0x50fe1db5,_0x2d422a=0x50f96fe5^_0x51b48b,_0x4095f5=window[_0x935d5b([0x44,0x61,0x74,0x65])][_0x935d5b([0x6e,0x6f,0x77])](),_0x269ac7=_0x248158[_0x935d5b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4b11c1=new window[(_0x935d5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e28ca=>{_0x269ac7[_0x935d5b([0x6f,0x6e,0x63,0x65])](_0x935d5b([0x72,0x65,0x61,0x64,0x79]),_0x3e28ca);}),_0x5a5180={[_0x935d5b([0x6b,0x74,0x79])]:_0x935d5b([0x45,0x43]),[_0x935d5b([0x75,0x73,0x65])]:_0x935d5b([0x73,0x69,0x67]),[_0x935d5b([0x63,0x72,0x76])]:_0x935d5b([0x50,0x2d,0x32,0x35,0x36]),[_0x935d5b([0x78])]:_0x935d5b([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]),[_0x935d5b([0x79])]:_0x935d5b([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]),[_0x935d5b([0x61,0x6c,0x67])]:_0x935d5b([0x45,0x53,0x32,0x35,0x36])},_0x35cbb8=_0x269ac7[_0x935d5b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x935d5b([0x67,0x65,0x74])](_0x935d5b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x518208(){let _0x2f2281,_0x14eee7=null,_0x35e4a1=null;try{if(_0x35cbb8==_0x935d5b([0x47,0x50,0x4c]))return _0x935d5b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2f2281=_0x594313(),!_0x2f2281)return _0x935d5b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2f2281[_0x935d5b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x35e4a1=_0x356c62(_0x2f2281[_0x935d5b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2f2281[_0x935d5b([0x6a,0x74,0x69])])),await _0x4399f4()?_0x49a33c()?_0x5369f5()?_0x935d5b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x371060()?(_0x2f2281[_0x935d5b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x935d5b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x14eee7=_0xa2f3b1(_0x935d5b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2f2281[_0x935d5b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x935d5b([0x74,0x72,0x69,0x61,0x6c])&&(_0x14eee7=_0xa2f3b1(_0x935d5b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x25cf6f()):_0x935d5b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x935d5b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x935d5b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x935d5b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5369f5(){const _0x28b3fb=[_0x935d5b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x935d5b([0x74,0x72,0x69,0x61,0x6c])][_0x935d5b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f2281[_0x935d5b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4095f5/0x3e8:0xe10*_0x2d422a;return _0x2f2281[_0x935d5b([0x65,0x78,0x70])]<_0x28b3fb;}function _0x49a33c(){const _0x43b01a=_0x2f2281[_0x935d5b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x43b01a&&(!!_0x43b01a[_0x935d5b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x935d5b([0x2a]))||!!_0x43b01a[_0x935d5b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x935d5b([0x4c,0x48])));}function _0x371060(){const _0x54fabc=_0x3127,_0x22f765=_0x2f2281[_0x935d5b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x22f765||0x0==_0x22f765[_0x935d5b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5a5db8}=new URL(window[_0x935d5b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x54fabc(0x1b1)]);if(_0x22f765[_0x935d5b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a5db8))return!0x0;const _0x53334a=_0x5a5db8[_0x935d5b([0x73,0x70,0x6c,0x69,0x74])](_0x935d5b([0x2e]));return _0x22f765[_0x935d5b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x156432=>_0x156432[_0x935d5b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x935d5b([0x2a])))[_0x935d5b([0x6d,0x61,0x70])](_0x4e6fdf=>_0x4e6fdf[_0x935d5b([0x73,0x70,0x6c,0x69,0x74])](_0x935d5b([0x2e])))[_0x935d5b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d8de6=>_0x5d8de6[_0x935d5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x53334a[_0x935d5b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x935d5b([0x6d,0x61,0x70])](_0x50c20e=>Array(_0x53334a[_0x935d5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x50c20e[_0x935d5b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x935d5b([0x66,0x69,0x6c,0x6c])](_0x50c20e[0x0]===_0x935d5b([0x2a])?_0x935d5b([0x2a]):'')[_0x935d5b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x50c20e))[_0x935d5b([0x73,0x6f,0x6d,0x65])](_0x2ec8df=>_0x53334a[_0x935d5b([0x65,0x76,0x65,0x72,0x79])]((_0x42512d,_0x13f1e6)=>_0x2ec8df[_0x13f1e6]===_0x42512d||_0x2ec8df[_0x13f1e6]===_0x935d5b([0x2a])));}function _0x25cf6f(){return _0x14eee7&&_0x35e4a1?new window[(_0x935d5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x721c9e,_0x55e2bd)=>{_0x14eee7[_0x935d5b([0x74,0x68,0x65,0x6e])](_0x721c9e,_0x55e2bd),_0x35e4a1[_0x935d5b([0x74,0x68,0x65,0x6e])](_0x4da083=>{_0x4da083!=_0x935d5b([0x56,0x61,0x6c,0x69,0x64])&&_0x721c9e(_0x4da083);},_0x55e2bd);}):_0x14eee7||_0x35e4a1||_0x935d5b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x356c62(_0x17c09f,_0x2d6199){return new window[(_0x935d5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20749e=>{if(_0x55c6cb())return _0x20749e(_0x935d5b([0x56,0x61,0x6c,0x69,0x64]));_0x3b731a(),_0x269ac7[_0x935d5b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x935d5b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xb304dd=!0x1;const _0x10d3bf=_0x48b8df();function _0x27505c(_0x4bc65f){return!!_0x4bc65f&&(typeof _0x4bc65f===_0x935d5b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4bc65f===_0x935d5b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4bc65f[_0x935d5b([0x74,0x68,0x65,0x6e])]===_0x935d5b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4bc65f[_0x935d5b([0x63,0x61,0x74,0x63,0x68])]===_0x935d5b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x123af9(_0x1d5415){_0x498108(_0x1d5415)[_0x935d5b([0x74,0x68,0x65,0x6e])](_0x61b1fb=>{if(!_0x61b1fb||_0x61b1fb[_0x935d5b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x935d5b([0x6f,0x6b]))return _0x935d5b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xb1b591(_0x416583(_0x10d3bf+_0x2d6199))!=_0x61b1fb[_0x935d5b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x935d5b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x935d5b([0x56,0x61,0x6c,0x69,0x64]);})[_0x935d5b([0x74,0x68,0x65,0x6e])](_0x669914=>(_0xa77a9b(),_0x669914),()=>{const _0x399dac=_0x1afba4();return null==_0x399dac?(_0xa77a9b(),_0x935d5b([0x56,0x61,0x6c,0x69,0x64])):_0x935d5b(_0x4095f5-_0x399dac>(0x74f299b5^_0x51b48b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x935d5b([0x74,0x68,0x65,0x6e])](_0x20749e)[_0x935d5b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x20749e(_0x935d5b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x23383d=0x50c8f335^_0x51b48b;function _0xa77a9b(){const _0xb2c4d1=_0x935d5b([0x6c,0x6c,0x63,0x74,0x2d])+_0xb1b591(_0x416583(_0x17c09f)),_0x327188=_0x3603c0(_0xb1b591(window[_0x935d5b([0x4d,0x61,0x74,0x68])][_0x935d5b([0x63,0x65,0x69,0x6c])](_0x4095f5/_0x23383d)));window[_0x935d5b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x935d5b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb2c4d1,_0x327188);}function _0x1afba4(){const _0x5d7020=_0x935d5b([0x6c,0x6c,0x63,0x74,0x2d])+_0xb1b591(_0x416583(_0x17c09f)),_0x25618f=window[_0x935d5b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x935d5b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d7020);return _0x25618f?window[_0x935d5b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3603c0(_0x25618f),0x10)*_0x23383d:null;}function _0x498108(_0x21f733){return new window[(_0x935d5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a3360,_0x13623e)=>{_0x21f733[_0x935d5b([0x74,0x68,0x65,0x6e])](_0x3a3360,_0x13623e),window[_0x935d5b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x13623e,0x50ffc975^_0x51b48b);});}}_0x269ac7[_0x935d5b([0x6f,0x6e])](_0x935d5b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x313046,_0xeafc06)=>{if(_0xeafc06[0x0]!=_0x17c09f)return _0x20749e(_0x935d5b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xeafc06[0x1]={..._0xeafc06[0x1],[_0x935d5b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x10d3bf};},{[_0x935d5b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x935d5b([0x68,0x69,0x67,0x68])}),_0x269ac7[_0x935d5b([0x6f,0x6e])](_0x935d5b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x20ecba=>{_0x27505c(_0x20ecba[_0x935d5b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xb304dd=!0x0,_0x123af9(_0x20ecba[_0x935d5b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x935d5b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x935d5b([0x6c,0x6f,0x77])}),_0x4b11c1[_0x935d5b([0x74,0x68,0x65,0x6e])](()=>{_0xb304dd||_0x20749e(_0x935d5b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x55c6cb(){return _0x269ac7[_0x935d5b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x935d5b([0x76,0x69,0x65,0x77])][_0x935d5b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x935d5b([0x61,0x75,0x74,0x6f]);}function _0x3b731a(){_0x269ac7[_0x935d5b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x935d5b([0x76,0x69,0x65,0x77])][_0x935d5b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x935d5b([0x61,0x75,0x74,0x6f]);}}function _0xa2f3b1(_0x3250d5){const _0x4a7a13=[new window[(_0x935d5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33ed48=>setTimeout(_0x33ed48,0x50f72379^_0x51b48b)),_0x4b11c1[_0x935d5b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x935d5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57ec5b=>{let _0x301a9c=0x0;_0x269ac7[_0x935d5b([0x6d,0x6f,0x64,0x65,0x6c])][_0x935d5b([0x6f,0x6e])](_0x935d5b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x412d20,_0x324284)=>{_0x324284[0x0][_0x935d5b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x301a9c++,_0x301a9c==(0x50fe1c4d^_0x51b48b)&&(_0x57ec5b(),_0x412d20[_0x935d5b([0x6f,0x66,0x66])]());});}))];return window[_0x935d5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x935d5b([0x72,0x61,0x63,0x65])](_0x4a7a13)[_0x935d5b([0x74,0x68,0x65,0x6e])](()=>_0x3250d5);}async function _0x5226a3(){await _0x4b11c1,_0x269ac7[_0x935d5b([0x6d,0x6f,0x64,0x65,0x6c])][_0x935d5b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x14d9aa,_0x269ac7[_0x935d5b([0x6d,0x6f,0x64,0x65,0x6c])][_0x935d5b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x14d9aa,_0x269ac7[_0x935d5b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x935d5b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2c0517(_0x57a2c8){const _0x1df2d9=_0x560d83();_0x269ac7[_0x1df2d9]=_0x935d5b([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x57a2c8,_0x57a2c8!=_0x935d5b([0x56,0x61,0x6c,0x69,0x64])&&_0x5226a3();}function _0x560d83(){const _0x44a84e=window[_0x935d5b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x935d5b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x935d5b([0x6e,0x6f,0x77])]())[_0x935d5b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x935d5b([0x2e]),'');let _0x2e1a06=_0x935d5b([0x45]);for(let _0x24783c=0x0;_0x24783c<_0x44a84e[_0x935d5b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24783c+=0x2){let _0x10bc6b=window[_0x935d5b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44a84e[_0x935d5b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24783c,_0x24783c+0x2));_0x10bc6b>=_0xc3821f[_0x935d5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x10bc6b-=_0xc3821f[_0x935d5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2e1a06+=_0xc3821f[_0x10bc6b];}return _0x2e1a06;}function _0x594313(){const _0x4db909=_0x35cbb8[_0x935d5b([0x73,0x70,0x6c,0x69,0x74])](_0x935d5b([0x2e]));if(0x3!=_0x4db909[_0x935d5b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x186bf5(_0x4db909[0x1]);function _0x186bf5(_0x213946){const _0x9ea0a8=_0x242dff(_0x213946);return _0x9ea0a8&&_0x2629f6()?_0x9ea0a8:null;function _0x2629f6(){const _0x4f3247=_0x9ea0a8[_0x935d5b([0x6a,0x74,0x69])],_0x3f6f3a=window[_0x935d5b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f3247[_0x935d5b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f3247[_0x935d5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x59b182={..._0x9ea0a8,[_0x935d5b([0x6a,0x74,0x69])]:_0x4f3247[_0x935d5b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4f3247[_0x935d5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x59b182[_0x935d5b([0x76,0x63])],_0x416583(_0x59b182)==_0x3f6f3a;}}}async function _0x4399f4(){let _0x541be1=!0x0;try{const _0x72462=_0x35cbb8[_0x935d5b([0x73,0x70,0x6c,0x69,0x74])](_0x935d5b([0x2e])),[_0x28b289,_0x4e4368,_0x2b819c]=_0x72462;return _0x26dcff(_0x28b289),await _0x1874f2(_0x28b289,_0x4e4368,_0x2b819c),_0x541be1;}catch{return!0x1;}function _0x26dcff(_0x125ef9){const _0x3a7e79=_0x242dff(_0x125ef9);_0x3a7e79&&_0x3a7e79[_0x935d5b([0x61,0x6c,0x67])]==_0x935d5b([0x45,0x53,0x32,0x35,0x36])||(_0x541be1=!0x1);}async function _0x1874f2(_0x206bab,_0x252fc9,_0x1fa2c4){const _0x3468d6=window[_0x935d5b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x935d5b([0x66,0x72,0x6f,0x6d])](_0x5d45ed(_0x1fa2c4),_0x45ea14=>_0x45ea14[_0x935d5b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5acb48=new window[(_0x935d5b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x935d5b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x206bab+_0x935d5b([0x2e])+_0x252fc9),_0x458e4f=window[_0x935d5b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x935d5b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x458e4f)return;const _0x5d2556=await _0x458e4f[_0x935d5b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x935d5b([0x6a,0x77,0x6b]),_0x5a5180,{[_0x935d5b([0x6e,0x61,0x6d,0x65])]:_0x935d5b([0x45,0x43,0x44,0x53,0x41]),[_0x935d5b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x935d5b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x935d5b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x458e4f[_0x935d5b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x935d5b([0x6e,0x61,0x6d,0x65])]:_0x935d5b([0x45,0x43,0x44,0x53,0x41]),[_0x935d5b([0x68,0x61,0x73,0x68])]:{[_0x935d5b([0x6e,0x61,0x6d,0x65])]:_0x935d5b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5d2556,_0x3468d6,_0x5acb48)||(_0x541be1=!0x1);}}function _0x242dff(_0x113772){return _0x113772[_0x935d5b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x935d5b([0x65,0x79]))?JSON[_0x935d5b([0x70,0x61,0x72,0x73,0x65])](_0x5d45ed(_0x113772)):null;}function _0x5d45ed(_0x1cf6f4){return window[_0x935d5b([0x61,0x74,0x6f,0x62])](_0x1cf6f4[_0x935d5b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x935d5b([0x2b]))[_0x935d5b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x935d5b([0x2f])));}function _0x416583(_0x74207c){let _0x245fb1=0x1505;function _0x2dfa26(_0x323de2){for(let _0x583289=0x0;_0x583289<_0x323de2[_0x935d5b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x583289++){const _0x10a444=_0x323de2[_0x935d5b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x583289);_0x245fb1=(_0x245fb1<<0x5)+_0x245fb1+_0x10a444,_0x245fb1&=_0x245fb1;}}function _0x148fb0(_0x101a88){Array[_0x935d5b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x101a88)?_0x101a88[_0x935d5b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x148fb0):_0x101a88&&typeof _0x101a88==_0x935d5b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x935d5b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x101a88)[_0x935d5b([0x73,0x6f,0x72,0x74])]()[_0x935d5b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5be43e,_0x143235])=>{_0x2dfa26(_0x5be43e),_0x148fb0(_0x143235);}):_0x2dfa26(window[_0x935d5b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x101a88));}return _0x148fb0(_0x74207c),_0x245fb1>>>0x0;}function _0xb1b591(_0x278001){return _0x278001[_0x935d5b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x935d5b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x935d5b([0x30]));}function _0x3603c0(_0x491272){return _0x491272[_0x935d5b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x935d5b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x935d5b([0x6a,0x6f,0x69,0x6e])]('');}function _0x14d9aa(){}function _0x935d5b(_0x258845){const _0x8c1b0b=_0x3127;return _0x258845[_0x8c1b0b(0x1a8)](_0x36a1b0=>String[_0x8c1b0b(0x191)](_0x36a1b0))[_0x8c1b0b(0x194)]('');}_0x2c0517(await _0x518208());}(this);}[_0x57550f(0x185)](){const _0x21230c=_0x57550f,_0x12b570=this[_0x21230c(0x1ab)];if(!_0x12b570[_0x21230c(0x1a7)][_0x21230c(0x1ae)](_0x21230c(0x195)))return;const _0x540db8=_0x12b570[_0x21230c(0x1a7)][_0x21230c(0x1ae)](_0x21230c(0x198))[_0x21230c(0x1af)](_0x4eb839=>_0x21230c(0x1a3)==typeof _0x4eb839&&(!_0x1c0995(_0x4eb839)&&isNaN(Number(_0x4eb839))));if(_0x540db8[_0x21230c(0x17d)])throw new _0x5cef82(_0x21230c(0x182),null,{'namedPresets':_0x540db8});}[_0x57550f(0x181)](){const _0x54b7d1=_0x57550f,_0x5b9c07=this[_0x54b7d1(0x1ab)],_0x1151e6=this[_0x54b7d1(0x1ab)][_0x54b7d1(0x1a7)][_0x54b7d1(0x1ae)](_0x54b7d1(0x199));_0x5b9c07[_0x54b7d1(0x196)][_0x54b7d1(0x190)](_0x54b7d1(0x189))[_0x54b7d1(0x19c)]({'model':{'key':_0x54b7d1(0x1a5)},'view':_0x1c4a31=>String(_0x1c4a31)===String(_0x1151e6)?null:{'key':_0x54b7d1(0x188),'value':{'line-height':_0x1c4a31}}}),_0x5b9c07[_0x54b7d1(0x196)][_0x54b7d1(0x190)](_0x54b7d1(0x18b))[_0x54b7d1(0x19c)]({'model':{'key':_0x54b7d1(0x1a5),'value':_0x19b1a4=>{const _0x440b0d=_0x54b7d1;let _0x1ffb4d=_0x19b1a4[_0x440b0d(0x19d)](_0x440b0d(0x192));return _0x341ec1(_0x1ffb4d)&&(_0x1ffb4d=String(Number(_0x1ffb4d[_0x440b0d(0x1ac)](0x0,-0x1))/0x64)),String(_0x1ffb4d)===String(_0x1151e6)?null:_0x1ffb4d;}},'view':{'styles':{'line-height':/.*/}}});}[_0x57550f(0x1a4)](){const _0x5535c5=_0x57550f,_0x33a735=this[_0x5535c5(0x1ab)],_0x8408c4=this[_0x5535c5(0x1ab)][_0x5535c5(0x1a7)][_0x5535c5(0x1ae)](_0x5535c5(0x199)),_0x4c4abe=_0x35b40f(this[_0x5535c5(0x1ab)][_0x5535c5(0x1a7)][_0x5535c5(0x1ae)](_0x5535c5(0x1a5)))[_0x5535c5(0x1af)](_0x317756=>_0x317756[_0x5535c5(0x1a6)]),_0x575af9=_0x1c2282(_0x5535c5(0x1a5),_0x4c4abe);_0x33a735[_0x5535c5(0x196)][_0x5535c5(0x19c)](_0x575af9),_0x33a735[_0x5535c5(0x196)][_0x5535c5(0x190)](_0x5535c5(0x18b))[_0x5535c5(0x19c)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x5535c5(0x1a5),'value':_0x200107=>{const _0xbf284a=_0x5535c5;let _0x2211c8=_0x200107[_0xbf284a(0x19d)](_0xbf284a(0x192));return _0x341ec1(_0x2211c8)&&(_0x2211c8=String(Number(_0x2211c8[_0xbf284a(0x1ac)](0x0,-0x1))/0x64)),_0x2211c8===String(_0x8408c4)?null:_0x575af9[_0xbf284a(0x1a6)][_0xbf284a(0x19a)][_0xbf284a(0x19e)](_0x2211c8)?_0x2211c8:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x564b34}from'ckeditor5/src/core.js';import{addListToDropdown as _0x3cfe85,createDropdown as _0x47b66b,MenuBarMenuListItemButtonView as _0x279d64,MenuBarMenuListItemView as _0xc70dbc,MenuBarMenuListView as _0x34bff5,MenuBarMenuView as _0x598ad3,UIModel as _0x4ccabf}from'ckeditor5/src/ui.js';import{Collection as _0x20060a}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x59f36a}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x537cf9}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x564b34{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x447583={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x447583),this['_registerMenuBarComponent'](_0x447583),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2056d3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x27ea45;for(const _0x39dae1 in _0x2056d3){const _0x54ac49=_0x39dae1,_0x14969b=_0x2056d3[_0x54ac49];if('lineHeightLicenseKeyValid'==_0x14969b||'lineHeightLicenseKeyInvalid'==_0x14969b||'lineHeightLicenseKeyExpired'==_0x14969b||'lineHeightLicenseKeyDomainLimit'==_0x14969b||'lineHeightLicenseKeyNotAllowed'==_0x14969b||'lineHeightLicenseKeyEvaluationLimit'==_0x14969b||'lineHeightLicenseKeyTrialLimit'==_0x14969b||'lineHeightLicenseKeyUsageLimit'==_0x14969b){delete _0x2056d3[_0x54ac49],_0x27ea45=_0x14969b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x27ea45&&_0x2056d3['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x27ea45&&_0x2056d3['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x27ea45&&_0x2056d3['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x27ea45&&_0x2056d3['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x27ea45&&_0x2056d3['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x27ea45&&_0x2056d3['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x27ea45&&_0x2056d3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x1009c5=this['editor'],t=_0x1009c5['t'],_0x3fef84=_0x1009c5['config']['get']('lineHeight'),_0x205967={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x537cf9(_0x3fef84)['map'](_0x58aafa=>{const _0x4656d4=_0x205967[_0x58aafa['title']];return _0x4656d4&&_0x4656d4!=_0x58aafa['title']&&(_0x58aafa=Object['assign']({},_0x58aafa,{'title':_0x4656d4})),_0x58aafa;});}['_prepareListOptions'](){const _0x35024d=this['editor']['commands']['get']('lineHeight'),_0x219eff=this['editor']['config']['get']('lineHeight.defaultValue'),_0x494fe1=this['_getLocalizedLineHeightOptions'](),_0xd7149e=new _0x20060a(),_0x89c9c1=_0x33488c=>'default'===_0x33488c||String(_0x219eff)===_0x33488c;for(const _0x3d41ff of _0x494fe1){const _0x5211f7={'type':'button','model':new _0x4ccabf({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x3d41ff['title'],'withText':!0x0})};_0x89c9c1(_0x3d41ff['model'])?(_0x5211f7['model']['bind']('isOn')['to'](_0x35024d,'value',_0x54f7c5=>!_0x54f7c5),_0x5211f7['model']['commandParam']=void 0x0):(_0x5211f7['model']['bind']('isOn')['to'](_0x35024d,'value',_0x5dc3ea=>_0x5dc3ea===_0x3d41ff['model']),_0x5211f7['model']['commandParam']=_0x3d41ff['model']),_0xd7149e['add'](_0x5211f7);}if(this['_shouldRenderCustomValueOption']()){const _0x493939=this['_getCustomValueOptionDefinition'](_0x494fe1);_0xd7149e['add'](_0x493939);}return _0xd7149e;}['_getCustomValueOptionDefinition'](_0x5c004b){const _0x2c86b6=this['editor'],t=_0x2c86b6['t'],_0x53209d=_0x2c86b6['commands']['get']('lineHeight'),_0x1efedd=_0x5c004b['map'](_0x55402f=>_0x55402f['model']),_0x36c1cd={'type':'button','model':new _0x4ccabf({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x36c1cd['model']['bind']('commandParam')['to'](_0x53209d,'value'),_0x36c1cd['model']['bind']('isOn')['to'](_0x53209d,'value',_0x19db39=>!!_0x19db39&&!_0x1efedd['includes'](String(_0x19db39))),_0x36c1cd['model']['bind']('label')['to'](_0x53209d,'value',_0x5395b6=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x5395b6))),_0x36c1cd;}['_registerToolbarComponent']({accessibleLabel:_0x4c191d,options:_0x4b1c7e}){const _0x45f96e=this['editor'],_0x4b4a96=_0x45f96e['commands']['get']('lineHeight');_0x45f96e['ui']['componentFactory']['add']('lineHeight',_0x30ff60=>{const _0x4d8cd3=_0x47b66b(_0x30ff60);return _0x3cfe85(_0x4d8cd3,_0x4b1c7e,{'role':'menu','ariaLabel':_0x4c191d}),_0x4d8cd3['buttonView']['set']({'label':_0x4c191d,'tooltip':!0x0,'icon':_0x59f36a}),_0x4d8cd3['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4d8cd3['bind']('isEnabled')['to'](_0x4b4a96),this['listenTo'](_0x4d8cd3,'execute',_0x217579=>{_0x45f96e['execute'](_0x217579['source']['commandName'],{'value':_0x217579['source']['commandParam']}),_0x45f96e['editing']['view']['focus']();}),_0x4d8cd3['once']('change:isOpen',()=>{const _0x3fc644=_0x4d8cd3['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4d8cd3,_0x4b1c7e,_0x3fc644);}),_0x4d8cd3;});}['_registerMenuBarComponent']({accessibleLabel:_0x2ccc72,options:_0x49957f}){const _0x288240=this['editor'],_0x85bb32=_0x288240['commands']['get']('lineHeight');_0x288240['ui']['componentFactory']['add']('menuBar:lineHeight',_0x32b9ef=>{const _0x4d8985=new _0x598ad3(_0x32b9ef);_0x4d8985['buttonView']['set']({'label':_0x2ccc72,'icon':_0x59f36a}),_0x4d8985['bind']('isEnabled')['to'](_0x85bb32);const _0x667a07=new _0x34bff5(_0x32b9ef);for(const _0x17d2b2 of _0x49957f){const _0x13029f=new _0xc70dbc(_0x32b9ef,_0x4d8985),_0x15258c=new _0x279d64(_0x32b9ef);_0x15258c['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x15258c['bind'](...Object['keys'](_0x17d2b2['model']))['to'](_0x17d2b2['model']),_0x15258c['delegate']('execute')['to'](_0x4d8985),_0x15258c['on']('execute',()=>{_0x288240['execute'](_0x17d2b2['model']['commandName'],{'value':_0x17d2b2['model']['commandParam']}),_0x288240['editing']['view']['focus']();}),_0x13029f['children']['add'](_0x15258c),_0x667a07['items']['add'](_0x13029f);}return _0x4d8985['panelView']['children']['add'](_0x667a07),this['_attachCustomOptionVisibilityHandler'](_0x4d8985,_0x49957f,_0x667a07),_0x4d8985;});}['_attachCustomOptionVisibilityHandler'](_0x5f1eac,_0x3d6e99,_0x18c3d1){if(!this['_shouldRenderCustomValueOption']())return;const _0x7082ab=()=>{if(!_0x5f1eac['isOpen'])return;_0x18c3d1['items']['last']['isVisible']=Boolean(_0x3d6e99['last']['model']['isOn']);};_0x7082ab(),_0x5f1eac['on']('change:isOpen',()=>{_0x7082ab();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x35c66e,_0xef7204){const _0x455740=_0x4314,_0x1d3257=_0x35c66e();while(!![]){try{const _0x3df153=-parseInt(_0x455740(0x1fb))/0x1*(parseInt(_0x455740(0x208))/0x2)+-parseInt(_0x455740(0x1f6))/0x3*(-parseInt(_0x455740(0x203))/0x4)+-parseInt(_0x455740(0x20e))/0x5+-parseInt(_0x455740(0x207))/0x6+-parseInt(_0x455740(0x20b))/0x7*(parseInt(_0x455740(0x211))/0x8)+-parseInt(_0x455740(0x20c))/0x9+-parseInt(_0x455740(0x209))/0xa*(-parseInt(_0x455740(0x1fc))/0xb);if(_0x3df153===_0xef7204)break;else _0x1d3257['push'](_0x1d3257['shift']());}catch(_0xd5f704){_0x1d3257['push'](_0x1d3257['shift']());}}}(_0xbf42,0xaba2b));function _0xbf42(){const _0x5639cf=['Single','line-height-single','push','93GRErzj','options','single','class','number','1396439xxTjHI','58504919EutrpV','filter','toLowerCase','string','values','style','key','41620JTgIVn','view','map','double','4943016qMmgjK','2EjvZnH','10ZUmebF','model','647171HVSnSE','10253979XHLJSe','value','5581470xvbUzJ','Double','defaultValue','40EfLeKC','span','line-height-double','default','line-height:'];_0xbf42=function(){return _0x5639cf;};return _0xbf42();}const v={get 'single'(){const _0x53b387=_0x4314;return{'title':_0x53b387(0x1f3),'model':_0x53b387(0x1f8),'view':{'key':_0x53b387(0x1f9),'value':_0x53b387(0x1f4)}};},get 'double'(){const _0x55336a=_0x4314;return{'title':_0x55336a(0x20f),'model':_0x55336a(0x206),'view':{'key':_0x55336a(0x1f9),'value':_0x55336a(0x213)}};}};export function isLineHeightDefaultValue(_0x451e56){const _0x389efa=_0x4314;return _0x389efa(0x1ff)==typeof _0x451e56&&_0x389efa(0x214)===_0x451e56[_0x389efa(0x1fe)]();}function _0x4314(_0x36b936,_0x3bcd87){const _0xbf42f6=_0xbf42();return _0x4314=function(_0x4314bd,_0x3e3458){_0x4314bd=_0x4314bd-0x1f2;let _0x2cdbc5=_0xbf42f6[_0x4314bd];return _0x2cdbc5;},_0x4314(_0x36b936,_0x3bcd87);}export function normalizeOptions(_0x177373){const _0x39e3c6=_0x4314;return _0x177373[_0x39e3c6(0x1f7)][_0x39e3c6(0x205)](_0x50d1c3=>isLineHeightDefaultValue(_0x50d1c3)?{'title':String(_0x177373[_0x39e3c6(0x210)]),'model':_0x39e3c6(0x214)}:(_0x39e3c6(0x1fa)==typeof _0x50d1c3&&(_0x50d1c3=String(_0x50d1c3)),_0x39e3c6(0x1ff)!=typeof _0x50d1c3?_0x50d1c3:parseFloat(_0x50d1c3)?{'title':_0x50d1c3,'model':_0x50d1c3,'view':{'name':_0x39e3c6(0x212),'styles':{'line-height':_0x50d1c3}}}:findPreset(_0x50d1c3)))[_0x39e3c6(0x1fd)](_0x33b870=>void 0x0!==_0x33b870);}export function findPreset(_0x189d22){const _0xd00ae5=_0x4314;return _0xd00ae5(0x1ff)==typeof _0x189d22?v[_0x189d22]:v[_0x189d22[_0xd00ae5(0x20a)]];}export function buildDefinition(_0xc6c23e,_0x1025c9){const _0xa6eb83=_0x4314,_0x35fa0f={'model':{'key':_0xc6c23e,'values':[]},'view':{}};for(const _0x24021e of _0x1025c9)_0xa6eb83(0x1f9)===_0x24021e[_0xa6eb83(0x204)]?.[_0xa6eb83(0x202)]?(_0x35fa0f[_0xa6eb83(0x20a)][_0xa6eb83(0x200)][_0xa6eb83(0x1f5)](_0x24021e[_0xa6eb83(0x20a)]),_0x35fa0f[_0xa6eb83(0x204)][_0x24021e[_0xa6eb83(0x20a)]]={'key':_0xa6eb83(0x1f9),'value':_0x24021e[_0xa6eb83(0x204)][_0xa6eb83(0x20d)]}):(_0x35fa0f[_0xa6eb83(0x20a)][_0xa6eb83(0x200)][_0xa6eb83(0x1f5)](_0x24021e[_0xa6eb83(0x20a)]),_0x35fa0f[_0xa6eb83(0x204)][_0x24021e[_0xa6eb83(0x20a)]]={'key':_0xa6eb83(0x201),'value':_0xa6eb83(0x1f2)+_0x24021e[_0xa6eb83(0x20a)]+';'});return _0x35fa0f;}
|