@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250717.0 → 0.0.0-nightly-20250719.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2fe9(){const _0x55a216=['55baiusp','document','filter','6135715qikfrl','2012350xrDzDr','model','editor','selection','664MqDEmZ','94157XxLgUS','schema','execute','setAttribute','checkAttribute','660OJoggv','isEnabled','953076QSroRP','6KJvKda','refresh','change','9JVrjIP','lineHeight','value','getAttribute','_canHaveLineHeight','from','getSelectedBlocks','2520504uDCHUZ','removeAttribute','14572dBEGDJ','1183819dEBety'];_0x2fe9=function(){return _0x55a216;};return _0x2fe9();}const _0x179655=_0x1ad9;(function(_0x36ed03,_0x82aa05){const _0x3f313d=_0x1ad9,_0x24a9e7=_0x36ed03();while(!![]){try{const _0x5bd220=parseInt(_0x3f313d(0x11c))/0x1+parseInt(_0x3f313d(0x119))/0x2+parseInt(_0x3f313d(0x12b))/0x3*(parseInt(_0x3f313d(0x11b))/0x4)+parseInt(_0x3f313d(0x120))/0x5*(-parseInt(_0x3f313d(0x12e))/0x6)+parseInt(_0x3f313d(0x126))/0x7*(-parseInt(_0x3f313d(0x125))/0x8)+parseInt(_0x3f313d(0x112))/0x9*(parseInt(_0x3f313d(0x121))/0xa)+parseInt(_0x3f313d(0x11d))/0xb*(-parseInt(_0x3f313d(0x12d))/0xc);if(_0x5bd220===_0x82aa05)break;else _0x24a9e7['push'](_0x24a9e7['shift']());}catch(_0x54872b){_0x24a9e7['push'](_0x24a9e7['shift']());}}}(_0x2fe9,0xac61b));import{Command as _0x429b3f}from'ckeditor5/src/core.js';function _0x1ad9(_0x5cf998,_0x2a22a0){const _0x2fe9ff=_0x2fe9();return _0x1ad9=function(_0x1ad9c8,_0x45ff0){_0x1ad9c8=_0x1ad9c8-0x111;let _0x23c6ca=_0x2fe9ff[_0x1ad9c8];return _0x23c6ca;},_0x1ad9(_0x5cf998,_0x2a22a0);}import{first as _0x331c71}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x429b3f{[_0x179655(0x12f)](){const _0x19b47f=_0x179655,_0x5958c6=this[_0x19b47f(0x123)][_0x19b47f(0x122)][_0x19b47f(0x11e)],_0x2d43e1=_0x331c71(_0x5958c6[_0x19b47f(0x124)][_0x19b47f(0x118)]());this[_0x19b47f(0x12c)]=Boolean(_0x2d43e1)&&this[_0x19b47f(0x116)](_0x2d43e1),this[_0x19b47f(0x114)]=this[_0x19b47f(0x12c)]&&_0x2d43e1[_0x19b47f(0x115)](_0x19b47f(0x113));}[_0x179655(0x128)](_0x437da3={}){const _0x3b33be=_0x179655,_0x484dae=this[_0x3b33be(0x123)][_0x3b33be(0x122)],_0x4a6552=_0x484dae[_0x3b33be(0x11e)][_0x3b33be(0x124)],_0x41add8=_0x437da3[_0x3b33be(0x114)];_0x484dae[_0x3b33be(0x111)](_0x4189dc=>{const _0x2db68a=_0x3b33be,_0x3c1193=Array[_0x2db68a(0x117)](_0x4a6552[_0x2db68a(0x118)]())[_0x2db68a(0x11f)](_0x153f03=>this[_0x2db68a(0x116)](_0x153f03));for(const _0x2d5ad1 of _0x3c1193)_0x41add8?_0x4189dc[_0x2db68a(0x129)](_0x2db68a(0x113),_0x41add8,_0x2d5ad1):_0x4189dc[_0x2db68a(0x11a)](_0x2db68a(0x113),_0x2d5ad1);});}[_0x179655(0x116)](_0xa008fd){const _0x1b51e0=_0x179655;return this[_0x1b51e0(0x123)][_0x1b51e0(0x122)][_0x1b51e0(0x127)][_0x1b51e0(0x12a)](_0xa008fd,_0x1b51e0(0x113));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5e1f5b=_0x1249;function _0x3e2a(){const _0x2ae813=['line-height-invalid-use-of-named-presets','setAttributeProperties','13029wrAnPy','get','_validateConfig','slice','schema','downcast','default','join','1SgesuO','conversion','extend','isOfficialPlugin','51457160BfoFwt','values','for','line-height','3411890RDOfov','define','12181590vdbERQ','style','filter','116ZyqXeZ','afterInit','href','string','fromCharCode','5Hhsmux','LineHeightEditing','upcast','pluginName','_preparePredefinedConverters','_prepareAnyValueConverters','map','commands','$block','5980808pKpmTX','isPremiumPlugin','lineHeight.defaultValue','2624160pZQqfL','getStyle','includes','init','attributeToAttribute','editor','lineHeight.options','length','lineHeight.supportAllValues','add','10694530nLYeFe','config','model','lineHeight'];_0x3e2a=function(){return _0x2ae813;};return _0x3e2a();}(function(_0x526a56,_0x36dab8){const _0x24437b=_0x1249,_0x4bf41d=_0x526a56();while(!![]){try{const _0x383392=-parseInt(_0x24437b(0x90))/0x1*(parseInt(_0x24437b(0x98))/0x2)+parseInt(_0x24437b(0x88))/0x3*(parseInt(_0x24437b(0x9d))/0x4)+-parseInt(_0x24437b(0x6c))/0x5*(parseInt(_0x24437b(0x78))/0x6)+-parseInt(_0x24437b(0x82))/0x7+parseInt(_0x24437b(0x75))/0x8+-parseInt(_0x24437b(0x9a))/0x9+parseInt(_0x24437b(0x94))/0xa;if(_0x383392===_0x36dab8)break;else _0x4bf41d['push'](_0x4bf41d['shift']());}catch(_0xf5d7e9){_0x4bf41d['push'](_0x4bf41d['shift']());}}}(_0x3e2a,0xf2d63));import{Plugin as _0x187cb6}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x58f3da}from'./lineheightcommand.js';function _0x1249(_0x277b47,_0x27407b){const _0x3e2a11=_0x3e2a();return _0x1249=function(_0x124903,_0x45114d){_0x124903=_0x124903-0x6b;let _0x5b5ebe=_0x3e2a11[_0x124903];return _0x5b5ebe;},_0x1249(_0x277b47,_0x27407b);}import{isPercentageStyleValue as _0x249b8d}from'ckeditor5/src/engine.js';import{uid as _0xafcaaf,CKEditorError as _0x4a15e7}from'ckeditor5/src/utils.js';import{buildDefinition as _0x3c3250,isLineHeightDefaultValue as _0x45217c,normalizeOptions as _0x53d495}from'./utils.js';export class LineHeightEditing extends _0x187cb6{static get[_0x5e1f5b(0x6f)](){const _0x9d644a=_0x5e1f5b;return _0x9d644a(0x6d);}static get[_0x5e1f5b(0x93)](){return!0x0;}static get[_0x5e1f5b(0x76)](){return!0x0;}constructor(_0x1cb329){const _0x47726e=_0x5e1f5b;super(_0x1cb329),_0x1cb329[_0x47726e(0x83)][_0x47726e(0x99)](_0x47726e(0x85),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x47726e(0x8e),0x2,2.5,0x3]});}[_0x5e1f5b(0x7b)](){const _0x7a8645=_0x5e1f5b,_0x313ece=this[_0x7a8645(0x7d)];this[_0x7a8645(0x8a)](),_0x313ece[_0x7a8645(0x84)][_0x7a8645(0x8c)][_0x7a8645(0x92)](_0x7a8645(0x74),{'allowAttributes':_0x7a8645(0x85)}),_0x313ece[_0x7a8645(0x84)][_0x7a8645(0x8c)][_0x7a8645(0x87)](_0x7a8645(0x85),{'isFormatting':!0x0}),_0x313ece[_0x7a8645(0x73)][_0x7a8645(0x81)](_0x7a8645(0x85),new _0x58f3da(_0x313ece)),this[_0x7a8645(0x7d)][_0x7a8645(0x83)][_0x7a8645(0x89)](_0x7a8645(0x80))?this[_0x7a8645(0x71)]():this[_0x7a8645(0x70)]();}[_0x5e1f5b(0x9e)](){!async function(_0x2826e5){const _0x3c1465=_0x404d47([0x31,0x44,0x57,0x52,0x53,0x77,0x66,0x54,0x4b,0x6b,0x32,0x46,0x4c,0x55,0x4d,0x50,0x42,0x6a,0x47,0x49,0x72,0x39,0x38,0x59,0x63,0x56,0x79,0x48,0x62,0x45,0x5a,0x76,0x70,0x35,0x7a,0x6c,0x43,0x67,0x41,0x6d,0x78,0x6e,0x4a,0x71,0x34,0x68,0x58,0x4f,0x4e,0x74,0x75,0x33,0x65,0x69,0x64,0x6f,0x37,0x36,0x73,0x30,0x61,0x51]),_0x590318=0x25dbfaf4,_0x39ca04=0x25dc9724^_0x590318,_0x5d88d6=window[_0x404d47([0x44,0x61,0x74,0x65])][_0x404d47([0x6e,0x6f,0x77])](),_0x59af60=_0x2826e5[_0x404d47([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5eef84=new window[(_0x404d47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24c699=>{_0x59af60[_0x404d47([0x6f,0x6e,0x63,0x65])](_0x404d47([0x72,0x65,0x61,0x64,0x79]),_0x24c699);}),_0x1f6e63={[_0x404d47([0x6b,0x74,0x79])]:_0x404d47([0x45,0x43]),[_0x404d47([0x75,0x73,0x65])]:_0x404d47([0x73,0x69,0x67]),[_0x404d47([0x63,0x72,0x76])]:_0x404d47([0x50,0x2d,0x32,0x35,0x36]),[_0x404d47([0x78])]:_0x404d47([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]),[_0x404d47([0x79])]:_0x404d47([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]),[_0x404d47([0x61,0x6c,0x67])]:_0x404d47([0x45,0x53,0x32,0x35,0x36])},_0x393c1b=_0x59af60[_0x404d47([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x404d47([0x67,0x65,0x74])](_0x404d47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x38f3c5(){let _0x28e3a6,_0x129983=null,_0x22b398=null;try{if(_0x393c1b==_0x404d47([0x47,0x50,0x4c]))return _0x404d47([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x28e3a6=_0x1e7a18(),!_0x28e3a6)return _0x404d47([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x28e3a6[_0x404d47([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x22b398=_0xc7fcee(_0x28e3a6[_0x404d47([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x28e3a6[_0x404d47([0x6a,0x74,0x69])])),await _0x1010ec()?_0x4f952f()?_0x419659()?_0x404d47([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1bb9aa()?(_0x28e3a6[_0x404d47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x404d47([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x129983=_0x4a5ffa(_0x404d47([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x28e3a6[_0x404d47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x404d47([0x74,0x72,0x69,0x61,0x6c])&&(_0x129983=_0x4a5ffa(_0x404d47([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x28cc6d()):_0x404d47([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x404d47([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x404d47([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x404d47([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x419659(){const _0x3eef5f=[_0x404d47([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x404d47([0x74,0x72,0x69,0x61,0x6c])][_0x404d47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28e3a6[_0x404d47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5d88d6/0x3e8:0xe10*_0x39ca04;return _0x28e3a6[_0x404d47([0x65,0x78,0x70])]<_0x3eef5f;}function _0x4f952f(){const _0x30f785=_0x28e3a6[_0x404d47([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30f785&&(!!_0x30f785[_0x404d47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x404d47([0x2a]))||!!_0x30f785[_0x404d47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x404d47([0x4c,0x48])));}function _0x1bb9aa(){const _0x3d2a82=_0x1249,_0x3cd3aa=_0x28e3a6[_0x404d47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3cd3aa||0x0==_0x3cd3aa[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x20924e}=new URL(window[_0x404d47([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3d2a82(0x9f)]);if(_0x3cd3aa[_0x404d47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20924e))return!0x0;const _0x529747=_0x20924e[_0x404d47([0x73,0x70,0x6c,0x69,0x74])](_0x404d47([0x2e]));return _0x3cd3aa[_0x404d47([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xaf3920=>_0xaf3920[_0x404d47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x404d47([0x2a])))[_0x404d47([0x6d,0x61,0x70])](_0x5cbfd6=>_0x5cbfd6[_0x404d47([0x73,0x70,0x6c,0x69,0x74])](_0x404d47([0x2e])))[_0x404d47([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xae422f=>_0xae422f[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x529747[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x404d47([0x6d,0x61,0x70])](_0x44c479=>Array(_0x529747[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x44c479[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x404d47([0x66,0x69,0x6c,0x6c])](_0x44c479[0x0]===_0x404d47([0x2a])?_0x404d47([0x2a]):'')[_0x404d47([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x44c479))[_0x404d47([0x73,0x6f,0x6d,0x65])](_0xc3078d=>_0x529747[_0x404d47([0x65,0x76,0x65,0x72,0x79])]((_0x16de09,_0x185675)=>_0xc3078d[_0x185675]===_0x16de09||_0xc3078d[_0x185675]===_0x404d47([0x2a])));}function _0x28cc6d(){return _0x129983&&_0x22b398?new window[(_0x404d47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7d4b16,_0x3244d9)=>{_0x129983[_0x404d47([0x74,0x68,0x65,0x6e])](_0x7d4b16,_0x3244d9),_0x22b398[_0x404d47([0x74,0x68,0x65,0x6e])](_0x46c601=>{_0x46c601!=_0x404d47([0x56,0x61,0x6c,0x69,0x64])&&_0x7d4b16(_0x46c601);},_0x3244d9);}):_0x129983||_0x22b398||_0x404d47([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc7fcee(_0xcae743,_0x487c0f){return new window[(_0x404d47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14cb67=>{if(_0x4b3972())return _0x14cb67(_0x404d47([0x56,0x61,0x6c,0x69,0x64]));_0x1cd12c(),_0x59af60[_0x404d47([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x404d47([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5067ed=!0x1;const _0x415f6b=_0xafcaaf();function _0x188ea3(_0x46e535){return!!_0x46e535&&(typeof _0x46e535===_0x404d47([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x46e535===_0x404d47([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x46e535[_0x404d47([0x74,0x68,0x65,0x6e])]===_0x404d47([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x46e535[_0x404d47([0x63,0x61,0x74,0x63,0x68])]===_0x404d47([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x183697(_0x3411d6){_0x25f14f(_0x3411d6)[_0x404d47([0x74,0x68,0x65,0x6e])](_0x145b47=>{if(!_0x145b47||_0x145b47[_0x404d47([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x404d47([0x6f,0x6b]))return _0x404d47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x279053(_0x5d366b(_0x415f6b+_0x487c0f))!=_0x145b47[_0x404d47([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x404d47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x404d47([0x56,0x61,0x6c,0x69,0x64]);})[_0x404d47([0x74,0x68,0x65,0x6e])](_0x14a52c=>(_0x2de8f9(),_0x14a52c),()=>{const _0x7c8478=_0x749e94();return null==_0x7c8478?(_0x2de8f9(),_0x404d47([0x56,0x61,0x6c,0x69,0x64])):_0x404d47(_0x5d88d6-_0x7c8478>(0x1d77ef4^_0x590318)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x404d47([0x74,0x68,0x65,0x6e])](_0x14cb67)[_0x404d47([0x63,0x61,0x74,0x63,0x68])](()=>{_0x14cb67(_0x404d47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b8b65=0x25ed1474^_0x590318;function _0x2de8f9(){const _0x204711=_0x404d47([0x6c,0x6c,0x63,0x74,0x2d])+_0x279053(_0x5d366b(_0xcae743)),_0x221751=_0x56db26(_0x279053(window[_0x404d47([0x4d,0x61,0x74,0x68])][_0x404d47([0x63,0x65,0x69,0x6c])](_0x5d88d6/_0x2b8b65)));window[_0x404d47([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x404d47([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x204711,_0x221751);}function _0x749e94(){const _0x275708=_0x404d47([0x6c,0x6c,0x63,0x74,0x2d])+_0x279053(_0x5d366b(_0xcae743)),_0x30473c=window[_0x404d47([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x404d47([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x275708);return _0x30473c?window[_0x404d47([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56db26(_0x30473c),0x10)*_0x2b8b65:null;}function _0x25f14f(_0x170606){return new window[(_0x404d47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d4b39,_0x232c80)=>{_0x170606[_0x404d47([0x74,0x68,0x65,0x6e])](_0x2d4b39,_0x232c80),window[_0x404d47([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x232c80,0x25da2e34^_0x590318);});}}_0x59af60[_0x404d47([0x6f,0x6e])](_0x404d47([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x550df9,_0x3e6e72)=>{if(_0x3e6e72[0x0]!=_0xcae743)return _0x14cb67(_0x404d47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3e6e72[0x1]={..._0x3e6e72[0x1],[_0x404d47([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x415f6b};},{[_0x404d47([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x404d47([0x68,0x69,0x67,0x68])}),_0x59af60[_0x404d47([0x6f,0x6e])](_0x404d47([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x25e047=>{_0x188ea3(_0x25e047[_0x404d47([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5067ed=!0x0,_0x183697(_0x25e047[_0x404d47([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x404d47([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x404d47([0x6c,0x6f,0x77])}),_0x5eef84[_0x404d47([0x74,0x68,0x65,0x6e])](()=>{_0x5067ed||_0x14cb67(_0x404d47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4b3972(){return _0x59af60[_0x404d47([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x404d47([0x76,0x69,0x65,0x77])][_0x404d47([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x404d47([0x61,0x75,0x74,0x6f]);}function _0x1cd12c(){_0x59af60[_0x404d47([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x404d47([0x76,0x69,0x65,0x77])][_0x404d47([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x404d47([0x61,0x75,0x74,0x6f]);}}function _0x4a5ffa(_0x38f276){const _0x25aa00=[new window[(_0x404d47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x303d75=>setTimeout(_0x303d75,0x25d2c438^_0x590318)),_0x5eef84[_0x404d47([0x74,0x68,0x65,0x6e])](()=>new window[(_0x404d47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e1dcb=>{let _0x5d0f81=0x0;_0x59af60[_0x404d47([0x6d,0x6f,0x64,0x65,0x6c])][_0x404d47([0x6f,0x6e])](_0x404d47([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x357840,_0xa2c76e)=>{_0xa2c76e[0x0][_0x404d47([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d0f81++,_0x5d0f81==(0x25dbfb0c^_0x590318)&&(_0x2e1dcb(),_0x357840[_0x404d47([0x6f,0x66,0x66])]());});}))];return window[_0x404d47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x404d47([0x72,0x61,0x63,0x65])](_0x25aa00)[_0x404d47([0x74,0x68,0x65,0x6e])](()=>_0x38f276);}async function _0x420bdb(){await _0x5eef84,_0x59af60[_0x404d47([0x6d,0x6f,0x64,0x65,0x6c])][_0x404d47([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x660edd,_0x59af60[_0x404d47([0x6d,0x6f,0x64,0x65,0x6c])][_0x404d47([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x660edd,_0x59af60[_0x404d47([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x404d47([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2043a9(_0x5260a5){const _0x3f2bd6=_0x39f70d();_0x59af60[_0x3f2bd6]=_0x404d47([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5260a5,_0x5260a5!=_0x404d47([0x56,0x61,0x6c,0x69,0x64])&&_0x420bdb();}function _0x39f70d(){const _0x25f166=window[_0x404d47([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x404d47([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x404d47([0x6e,0x6f,0x77])]())[_0x404d47([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x404d47([0x2e]),'');let _0xd9bb38=_0x404d47([0x44]);for(let _0x2ac447=0x0;_0x2ac447<_0x25f166[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ac447+=0x2){let _0xe1efbb=window[_0x404d47([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25f166[_0x404d47([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ac447,_0x2ac447+0x2));_0xe1efbb>=_0x3c1465[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xe1efbb-=_0x3c1465[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd9bb38+=_0x3c1465[_0xe1efbb];}return _0xd9bb38;}function _0x1e7a18(){const _0x5e13f2=_0x393c1b[_0x404d47([0x73,0x70,0x6c,0x69,0x74])](_0x404d47([0x2e]));if(0x3!=_0x5e13f2[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x449571(_0x5e13f2[0x1]);function _0x449571(_0x35df3b){const _0x388ac5=_0x4e7024(_0x35df3b);return _0x388ac5&&_0x2ebe91()?_0x388ac5:null;function _0x2ebe91(){const _0x309440=_0x388ac5[_0x404d47([0x6a,0x74,0x69])],_0x12e9b4=window[_0x404d47([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x309440[_0x404d47([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x309440[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x276b12={..._0x388ac5,[_0x404d47([0x6a,0x74,0x69])]:_0x309440[_0x404d47([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x309440[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x276b12[_0x404d47([0x76,0x63])],_0x5d366b(_0x276b12)==_0x12e9b4;}}}async function _0x1010ec(){let _0x57079d=!0x0;try{const _0x2d1c76=_0x393c1b[_0x404d47([0x73,0x70,0x6c,0x69,0x74])](_0x404d47([0x2e])),[_0x5444f3,_0x399004,_0x5ac226]=_0x2d1c76;return _0x385c28(_0x5444f3),await _0x570f41(_0x5444f3,_0x399004,_0x5ac226),_0x57079d;}catch{return!0x1;}function _0x385c28(_0x578028){const _0x5c4ecb=_0x4e7024(_0x578028);_0x5c4ecb&&_0x5c4ecb[_0x404d47([0x61,0x6c,0x67])]==_0x404d47([0x45,0x53,0x32,0x35,0x36])||(_0x57079d=!0x1);}async function _0x570f41(_0x46fc46,_0x569b99,_0x588a67){const _0x20d5d5=window[_0x404d47([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x404d47([0x66,0x72,0x6f,0x6d])](_0x54fb01(_0x588a67),_0x47d97f=>_0x47d97f[_0x404d47([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x8186b6=new window[(_0x404d47([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x404d47([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x46fc46+_0x404d47([0x2e])+_0x569b99),_0x5a0e20=window[_0x404d47([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x404d47([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a0e20)return;const _0x7f4d6d=await _0x5a0e20[_0x404d47([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x404d47([0x6a,0x77,0x6b]),_0x1f6e63,{[_0x404d47([0x6e,0x61,0x6d,0x65])]:_0x404d47([0x45,0x43,0x44,0x53,0x41]),[_0x404d47([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x404d47([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x404d47([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a0e20[_0x404d47([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x404d47([0x6e,0x61,0x6d,0x65])]:_0x404d47([0x45,0x43,0x44,0x53,0x41]),[_0x404d47([0x68,0x61,0x73,0x68])]:{[_0x404d47([0x6e,0x61,0x6d,0x65])]:_0x404d47([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x7f4d6d,_0x20d5d5,_0x8186b6)||(_0x57079d=!0x1);}}function _0x4e7024(_0x2748f3){return _0x2748f3[_0x404d47([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x404d47([0x65,0x79]))?JSON[_0x404d47([0x70,0x61,0x72,0x73,0x65])](_0x54fb01(_0x2748f3)):null;}function _0x54fb01(_0x36a343){return window[_0x404d47([0x61,0x74,0x6f,0x62])](_0x36a343[_0x404d47([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x404d47([0x2b]))[_0x404d47([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x404d47([0x2f])));}function _0x5d366b(_0x190b0e){let _0x40b15d=0x1505;function _0x5e880b(_0xec05e5){for(let _0x54acea=0x0;_0x54acea<_0xec05e5[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54acea++){const _0x434f5b=_0xec05e5[_0x404d47([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x54acea);_0x40b15d=(_0x40b15d<<0x5)+_0x40b15d+_0x434f5b,_0x40b15d&=_0x40b15d;}}function _0x5ae3db(_0x4cf9fe){Array[_0x404d47([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4cf9fe)?_0x4cf9fe[_0x404d47([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5ae3db):_0x4cf9fe&&typeof _0x4cf9fe==_0x404d47([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x404d47([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4cf9fe)[_0x404d47([0x73,0x6f,0x72,0x74])]()[_0x404d47([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1b1da3,_0x5ab32f])=>{_0x5e880b(_0x1b1da3),_0x5ae3db(_0x5ab32f);}):_0x5e880b(window[_0x404d47([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4cf9fe));}return _0x5ae3db(_0x190b0e),_0x40b15d>>>0x0;}function _0x279053(_0x419f32){return _0x419f32[_0x404d47([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x404d47([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x404d47([0x30]));}function _0x56db26(_0x13989a){return _0x13989a[_0x404d47([0x73,0x70,0x6c,0x69,0x74])]('')[_0x404d47([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x404d47([0x6a,0x6f,0x69,0x6e])]('');}function _0x660edd(){}function _0x404d47(_0x53d2bd){const _0x55aba3=_0x1249;return _0x53d2bd[_0x55aba3(0x72)](_0x5eadd6=>String[_0x55aba3(0x6b)](_0x5eadd6))[_0x55aba3(0x8f)]('');}_0x2043a9(await _0x38f3c5());}(this);}[_0x5e1f5b(0x8a)](){const _0x42ec0f=_0x5e1f5b,_0x3115e1=this[_0x42ec0f(0x7d)];if(!_0x3115e1[_0x42ec0f(0x83)][_0x42ec0f(0x89)](_0x42ec0f(0x80)))return;const _0x30e090=_0x3115e1[_0x42ec0f(0x83)][_0x42ec0f(0x89)](_0x42ec0f(0x7e))[_0x42ec0f(0x9c)](_0x59008a=>_0x42ec0f(0xa0)==typeof _0x59008a&&(!_0x45217c(_0x59008a)&&isNaN(Number(_0x59008a))));if(_0x30e090[_0x42ec0f(0x7f)])throw new _0x4a15e7(_0x42ec0f(0x86),null,{'namedPresets':_0x30e090});}[_0x5e1f5b(0x71)](){const _0x41aa87=_0x5e1f5b,_0x3a5a48=this[_0x41aa87(0x7d)],_0x7cd9c6=this[_0x41aa87(0x7d)][_0x41aa87(0x83)][_0x41aa87(0x89)](_0x41aa87(0x77));_0x3a5a48[_0x41aa87(0x91)][_0x41aa87(0x96)](_0x41aa87(0x8d))[_0x41aa87(0x7c)]({'model':{'key':_0x41aa87(0x85)},'view':_0x31985d=>String(_0x31985d)===String(_0x7cd9c6)?null:{'key':_0x41aa87(0x9b),'value':{'line-height':_0x31985d}}}),_0x3a5a48[_0x41aa87(0x91)][_0x41aa87(0x96)](_0x41aa87(0x6e))[_0x41aa87(0x7c)]({'model':{'key':_0x41aa87(0x85),'value':_0x4f5b64=>{const _0x44c80f=_0x41aa87;let _0x194507=_0x4f5b64[_0x44c80f(0x79)](_0x44c80f(0x97));return _0x249b8d(_0x194507)&&(_0x194507=String(Number(_0x194507[_0x44c80f(0x8b)](0x0,-0x1))/0x64)),String(_0x194507)===String(_0x7cd9c6)?null:_0x194507;}},'view':{'styles':{'line-height':/.*/}}});}[_0x5e1f5b(0x70)](){const _0x1a7adc=_0x5e1f5b,_0x1d7e31=this[_0x1a7adc(0x7d)],_0x598ec1=this[_0x1a7adc(0x7d)][_0x1a7adc(0x83)][_0x1a7adc(0x89)](_0x1a7adc(0x77)),_0x45a11d=_0x53d495(this[_0x1a7adc(0x7d)][_0x1a7adc(0x83)][_0x1a7adc(0x89)](_0x1a7adc(0x85)))[_0x1a7adc(0x9c)](_0x21c9a2=>_0x21c9a2[_0x1a7adc(0x84)]),_0x493517=_0x3c3250(_0x1a7adc(0x85),_0x45a11d);_0x1d7e31[_0x1a7adc(0x91)][_0x1a7adc(0x7c)](_0x493517),_0x1d7e31[_0x1a7adc(0x91)][_0x1a7adc(0x96)](_0x1a7adc(0x6e))[_0x1a7adc(0x7c)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x1a7adc(0x85),'value':_0x4f278c=>{const _0x3673ef=_0x1a7adc;let _0x16fc0=_0x4f278c[_0x3673ef(0x79)](_0x3673ef(0x97));return _0x249b8d(_0x16fc0)&&(_0x16fc0=String(Number(_0x16fc0[_0x3673ef(0x8b)](0x0,-0x1))/0x64)),_0x16fc0===String(_0x598ec1)?null:_0x493517[_0x3673ef(0x84)][_0x3673ef(0x95)][_0x3673ef(0x7a)](_0x16fc0)?_0x16fc0:null;}}});}}
|
|
23
|
+
function _0x151e(){const _0x5155b2=['length','isPremiumPlugin','join','href','245579GETWGo','$block','filter','_validateConfig','fromCharCode','lineHeight.options','add','LineHeightEditing','1112792jNwEft','lineHeight.defaultValue','_prepareAnyValueConverters','includes','upcast','pluginName','3449930asNsWl','5463tLrhoW','5877832QovMBl','getStyle','commands','for','735354ILMjUT','setAttributeProperties','map','model','get','7HypXwP','values','downcast','slice','default','isOfficialPlugin','7090xPwEqo','extend','init','config','conversion','lineHeight.supportAllValues','line-height-invalid-use-of-named-presets','editor','style','250fVUHaC','define','15JUtzlW','schema','_preparePredefinedConverters','string','line-height','attributeToAttribute','8355BsYCSF','lineHeight','24vikwvM','afterInit'];_0x151e=function(){return _0x5155b2;};return _0x151e();}const _0x4635a7=_0x2a79;(function(_0x31446d,_0x5c63c3){const _0x4a7c68=_0x2a79,_0x326d1f=_0x31446d();while(!![]){try{const _0x1e8441=-parseInt(_0x4a7c68(0xd7))/0x1+-parseInt(_0x4a7c68(0xc7))/0x2*(parseInt(_0x4a7c68(0xcf))/0x3)+-parseInt(_0x4a7c68(0xdf))/0x4+parseInt(_0x4a7c68(0xc9))/0x5*(parseInt(_0x4a7c68(0xeb))/0x6)+-parseInt(_0x4a7c68(0xf0))/0x7*(-parseInt(_0x4a7c68(0xe7))/0x8)+parseInt(_0x4a7c68(0xe6))/0x9*(-parseInt(_0x4a7c68(0xf6))/0xa)+parseInt(_0x4a7c68(0xe5))/0xb*(parseInt(_0x4a7c68(0xd1))/0xc);if(_0x1e8441===_0x5c63c3)break;else _0x326d1f['push'](_0x326d1f['shift']());}catch(_0x19f620){_0x326d1f['push'](_0x326d1f['shift']());}}}(_0x151e,0x68589));import{Plugin as _0x292345}from'ckeditor5/src/core.js';function _0x2a79(_0x5b03d0,_0x7dab53){const _0x151e6b=_0x151e();return _0x2a79=function(_0x2a79bb,_0x1c9ed1){_0x2a79bb=_0x2a79bb-0xbf;let _0x19d00d=_0x151e6b[_0x2a79bb];return _0x19d00d;},_0x2a79(_0x5b03d0,_0x7dab53);}import{LineHeightCommand as _0x25d2aa}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x3c9f68}from'ckeditor5/src/engine.js';import{uid as _0x51975a,CKEditorError as _0x589d9d}from'ckeditor5/src/utils.js';import{buildDefinition as _0x139d24,isLineHeightDefaultValue as _0x18bc51,normalizeOptions as _0x3acfb9}from'./utils.js';export class LineHeightEditing extends _0x292345{static get[_0x4635a7(0xe4)](){const _0x55ed5c=_0x4635a7;return _0x55ed5c(0xde);}static get[_0x4635a7(0xf5)](){return!0x0;}static get[_0x4635a7(0xd4)](){return!0x0;}constructor(_0xc15c5c){const _0x22b520=_0x4635a7;super(_0xc15c5c),_0xc15c5c[_0x22b520(0xc1)][_0x22b520(0xc8)](_0x22b520(0xd0),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x22b520(0xf4),0x2,2.5,0x3]});}[_0x4635a7(0xc0)](){const _0x44705d=_0x4635a7,_0x8abfd6=this[_0x44705d(0xc5)];this[_0x44705d(0xda)](),_0x8abfd6[_0x44705d(0xee)][_0x44705d(0xca)][_0x44705d(0xbf)](_0x44705d(0xd8),{'allowAttributes':_0x44705d(0xd0)}),_0x8abfd6[_0x44705d(0xee)][_0x44705d(0xca)][_0x44705d(0xec)](_0x44705d(0xd0),{'isFormatting':!0x0}),_0x8abfd6[_0x44705d(0xe9)][_0x44705d(0xdd)](_0x44705d(0xd0),new _0x25d2aa(_0x8abfd6)),this[_0x44705d(0xc5)][_0x44705d(0xc1)][_0x44705d(0xef)](_0x44705d(0xc3))?this[_0x44705d(0xe1)]():this[_0x44705d(0xcb)]();}[_0x4635a7(0xd2)](){!async function(_0x13ec49){const _0x251a68=_0x1fba70([0x6f,0x72,0x78,0x52,0x6c,0x48,0x39,0x63,0x69,0x6e,0x31,0x65,0x41,0x34,0x61,0x74,0x49,0x45,0x32,0x66,0x56,0x54,0x6b,0x79,0x6d,0x53,0x76,0x75,0x55,0x6a,0x44,0x51,0x37,0x36,0x4f,0x73,0x4e,0x4b,0x58,0x4a,0x62,0x57,0x4d,0x42,0x46,0x33,0x38,0x50,0x47,0x77,0x70,0x30,0x67,0x59,0x43,0x7a,0x68,0x5a,0x71,0x64,0x4c,0x35]),_0x10f5fd=0x56b88abb,_0x53dced=0x56bfe4bb^_0x10f5fd,_0x111a94=window[_0x1fba70([0x44,0x61,0x74,0x65])][_0x1fba70([0x6e,0x6f,0x77])](),_0x526982=_0x13ec49[_0x1fba70([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b5e50=new window[(_0x1fba70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35dcee=>{_0x526982[_0x1fba70([0x6f,0x6e,0x63,0x65])](_0x1fba70([0x72,0x65,0x61,0x64,0x79]),_0x35dcee);}),_0x85d8b5={[_0x1fba70([0x6b,0x74,0x79])]:_0x1fba70([0x45,0x43]),[_0x1fba70([0x75,0x73,0x65])]:_0x1fba70([0x73,0x69,0x67]),[_0x1fba70([0x63,0x72,0x76])]:_0x1fba70([0x50,0x2d,0x32,0x35,0x36]),[_0x1fba70([0x78])]:_0x1fba70([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]),[_0x1fba70([0x79])]:_0x1fba70([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]),[_0x1fba70([0x61,0x6c,0x67])]:_0x1fba70([0x45,0x53,0x32,0x35,0x36])},_0x15a84f=_0x526982[_0x1fba70([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1fba70([0x67,0x65,0x74])](_0x1fba70([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d784d(){let _0x31d22a,_0x35bc84=null,_0x9ffa91=null;try{if(_0x15a84f==_0x1fba70([0x47,0x50,0x4c]))return _0x1fba70([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x31d22a=_0x8649e1(),!_0x31d22a)return _0x1fba70([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x31d22a[_0x1fba70([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x9ffa91=_0x16281d(_0x31d22a[_0x1fba70([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x31d22a[_0x1fba70([0x6a,0x74,0x69])])),await _0xdfbce8()?_0xce7a26()?_0x56532c()?_0x1fba70([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x27e8a8()?(_0x31d22a[_0x1fba70([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1fba70([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x35bc84=_0x200bad(_0x1fba70([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x31d22a[_0x1fba70([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1fba70([0x74,0x72,0x69,0x61,0x6c])&&(_0x35bc84=_0x200bad(_0x1fba70([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe5f457()):_0x1fba70([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1fba70([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1fba70([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1fba70([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x56532c(){const _0x418949=[_0x1fba70([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1fba70([0x74,0x72,0x69,0x61,0x6c])][_0x1fba70([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31d22a[_0x1fba70([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x111a94/0x3e8:0xe10*_0x53dced;return _0x31d22a[_0x1fba70([0x65,0x78,0x70])]<_0x418949;}function _0xce7a26(){const _0x1f8f9a=_0x31d22a[_0x1fba70([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1f8f9a&&(!!_0x1f8f9a[_0x1fba70([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fba70([0x2a]))||!!_0x1f8f9a[_0x1fba70([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fba70([0x4c,0x48])));}function _0x27e8a8(){const _0x140f72=_0x2a79,_0x4ab8a4=_0x31d22a[_0x1fba70([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4ab8a4||0x0==_0x4ab8a4[_0x1fba70([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x211f35}=new URL(window[_0x1fba70([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x140f72(0xd6)]);if(_0x4ab8a4[_0x1fba70([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x211f35))return!0x0;const _0x269e30=_0x211f35[_0x1fba70([0x73,0x70,0x6c,0x69,0x74])](_0x1fba70([0x2e]));return _0x4ab8a4[_0x1fba70([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x93db5c=>_0x93db5c[_0x1fba70([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fba70([0x2a])))[_0x1fba70([0x6d,0x61,0x70])](_0x51e173=>_0x51e173[_0x1fba70([0x73,0x70,0x6c,0x69,0x74])](_0x1fba70([0x2e])))[_0x1fba70([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e24da=>_0x2e24da[_0x1fba70([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x269e30[_0x1fba70([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1fba70([0x6d,0x61,0x70])](_0x14e357=>Array(_0x269e30[_0x1fba70([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x14e357[_0x1fba70([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1fba70([0x66,0x69,0x6c,0x6c])](_0x14e357[0x0]===_0x1fba70([0x2a])?_0x1fba70([0x2a]):'')[_0x1fba70([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x14e357))[_0x1fba70([0x73,0x6f,0x6d,0x65])](_0xb473e7=>_0x269e30[_0x1fba70([0x65,0x76,0x65,0x72,0x79])]((_0x666ffd,_0x41c967)=>_0xb473e7[_0x41c967]===_0x666ffd||_0xb473e7[_0x41c967]===_0x1fba70([0x2a])));}function _0xe5f457(){return _0x35bc84&&_0x9ffa91?new window[(_0x1fba70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23aab5,_0x1f31de)=>{_0x35bc84[_0x1fba70([0x74,0x68,0x65,0x6e])](_0x23aab5,_0x1f31de),_0x9ffa91[_0x1fba70([0x74,0x68,0x65,0x6e])](_0x2d7751=>{_0x2d7751!=_0x1fba70([0x56,0x61,0x6c,0x69,0x64])&&_0x23aab5(_0x2d7751);},_0x1f31de);}):_0x35bc84||_0x9ffa91||_0x1fba70([0x56,0x61,0x6c,0x69,0x64]);}}function _0x16281d(_0x47442e,_0x265d2c){return new window[(_0x1fba70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22cf10=>{if(_0x49080a())return _0x22cf10(_0x1fba70([0x56,0x61,0x6c,0x69,0x64]));_0x1f2a9e(),_0x526982[_0x1fba70([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1fba70([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x22ec15=!0x1;const _0x1ef9e0=_0x51975a();function _0x534151(_0x3e6135){return!!_0x3e6135&&(typeof _0x3e6135===_0x1fba70([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e6135===_0x1fba70([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e6135[_0x1fba70([0x74,0x68,0x65,0x6e])]===_0x1fba70([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e6135[_0x1fba70([0x63,0x61,0x74,0x63,0x68])]===_0x1fba70([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2aed82(_0x4fabd0){_0x1b8d35(_0x4fabd0)[_0x1fba70([0x74,0x68,0x65,0x6e])](_0x3f0bfd=>{if(!_0x3f0bfd||_0x3f0bfd[_0x1fba70([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1fba70([0x6f,0x6b]))return _0x1fba70([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1ba9da(_0x2d5ed3(_0x1ef9e0+_0x265d2c))!=_0x3f0bfd[_0x1fba70([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1fba70([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1fba70([0x56,0x61,0x6c,0x69,0x64]);})[_0x1fba70([0x74,0x68,0x65,0x6e])](_0x4e3e2c=>(_0x40b885(),_0x4e3e2c),()=>{const _0x2a2729=_0x22ad22();return null==_0x2a2729?(_0x40b885(),_0x1fba70([0x56,0x61,0x6c,0x69,0x64])):_0x1fba70(_0x111a94-_0x2a2729>(0x72b40ebb^_0x10f5fd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1fba70([0x74,0x68,0x65,0x6e])](_0x22cf10)[_0x1fba70([0x63,0x61,0x74,0x63,0x68])](()=>{_0x22cf10(_0x1fba70([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3bda24=0x568e643b^_0x10f5fd;function _0x40b885(){const _0x23a06e=_0x1fba70([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ba9da(_0x2d5ed3(_0x47442e)),_0x4e8b49=_0x117bbb(_0x1ba9da(window[_0x1fba70([0x4d,0x61,0x74,0x68])][_0x1fba70([0x63,0x65,0x69,0x6c])](_0x111a94/_0x3bda24)));window[_0x1fba70([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1fba70([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23a06e,_0x4e8b49);}function _0x22ad22(){const _0x51276e=_0x1fba70([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ba9da(_0x2d5ed3(_0x47442e)),_0x518a20=window[_0x1fba70([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1fba70([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51276e);return _0x518a20?window[_0x1fba70([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x117bbb(_0x518a20),0x10)*_0x3bda24:null;}function _0x1b8d35(_0x173a40){return new window[(_0x1fba70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x15f4ab,_0x53074c)=>{_0x173a40[_0x1fba70([0x74,0x68,0x65,0x6e])](_0x15f4ab,_0x53074c),window[_0x1fba70([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x53074c,0x56b95e7b^_0x10f5fd);});}}_0x526982[_0x1fba70([0x6f,0x6e])](_0x1fba70([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x22cf4a,_0x1ef2e3)=>{if(_0x1ef2e3[0x0]!=_0x47442e)return _0x22cf10(_0x1fba70([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1ef2e3[0x1]={..._0x1ef2e3[0x1],[_0x1fba70([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1ef9e0};},{[_0x1fba70([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1fba70([0x68,0x69,0x67,0x68])}),_0x526982[_0x1fba70([0x6f,0x6e])](_0x1fba70([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4a339b=>{_0x534151(_0x4a339b[_0x1fba70([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x22ec15=!0x0,_0x2aed82(_0x4a339b[_0x1fba70([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1fba70([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1fba70([0x6c,0x6f,0x77])}),_0x2b5e50[_0x1fba70([0x74,0x68,0x65,0x6e])](()=>{_0x22ec15||_0x22cf10(_0x1fba70([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x49080a(){return _0x526982[_0x1fba70([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1fba70([0x76,0x69,0x65,0x77])][_0x1fba70([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1fba70([0x61,0x75,0x74,0x6f]);}function _0x1f2a9e(){_0x526982[_0x1fba70([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1fba70([0x76,0x69,0x65,0x77])][_0x1fba70([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1fba70([0x61,0x75,0x74,0x6f]);}}function _0x200bad(_0x382edc){const _0x1a2acf=[new window[(_0x1fba70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2262d3=>setTimeout(_0x2262d3,0x56b1b477^_0x10f5fd)),_0x2b5e50[_0x1fba70([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1fba70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34f531=>{let _0x47b30d=0x0;_0x526982[_0x1fba70([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fba70([0x6f,0x6e])](_0x1fba70([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x77d98c,_0x47446c)=>{_0x47446c[0x0][_0x1fba70([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x47b30d++,_0x47b30d==(0x56b88b43^_0x10f5fd)&&(_0x34f531(),_0x77d98c[_0x1fba70([0x6f,0x66,0x66])]());});}))];return window[_0x1fba70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1fba70([0x72,0x61,0x63,0x65])](_0x1a2acf)[_0x1fba70([0x74,0x68,0x65,0x6e])](()=>_0x382edc);}async function _0xda90cb(){await _0x2b5e50,_0x526982[_0x1fba70([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fba70([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x552475,_0x526982[_0x1fba70([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fba70([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x552475,_0x526982[_0x1fba70([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1fba70([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5d7ede(_0x91aa4f){const _0x25b4e7=_0x4fc7d1();_0x526982[_0x25b4e7]=_0x1fba70([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x91aa4f,_0x91aa4f!=_0x1fba70([0x56,0x61,0x6c,0x69,0x64])&&_0xda90cb();}function _0x4fc7d1(){const _0x4a7243=window[_0x1fba70([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1fba70([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1fba70([0x6e,0x6f,0x77])]())[_0x1fba70([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1fba70([0x2e]),'');let _0x14b503=_0x1fba70([0x6f]);for(let _0x27850a=0x0;_0x27850a<_0x4a7243[_0x1fba70([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27850a+=0x2){let _0x5c98c7=window[_0x1fba70([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a7243[_0x1fba70([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27850a,_0x27850a+0x2));_0x5c98c7>=_0x251a68[_0x1fba70([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c98c7-=_0x251a68[_0x1fba70([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x14b503+=_0x251a68[_0x5c98c7];}return _0x14b503;}function _0x8649e1(){const _0x4ca5d8=_0x15a84f[_0x1fba70([0x73,0x70,0x6c,0x69,0x74])](_0x1fba70([0x2e]));if(0x3!=_0x4ca5d8[_0x1fba70([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1fa6f3(_0x4ca5d8[0x1]);function _0x1fa6f3(_0x1d6b28){const _0x1d043f=_0x42cc92(_0x1d6b28);return _0x1d043f&&_0x1ed6c7()?_0x1d043f:null;function _0x1ed6c7(){const _0x3f1efc=_0x1d043f[_0x1fba70([0x6a,0x74,0x69])],_0x3cdd6a=window[_0x1fba70([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f1efc[_0x1fba70([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f1efc[_0x1fba70([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5c5d76={..._0x1d043f,[_0x1fba70([0x6a,0x74,0x69])]:_0x3f1efc[_0x1fba70([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f1efc[_0x1fba70([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5c5d76[_0x1fba70([0x76,0x63])],_0x2d5ed3(_0x5c5d76)==_0x3cdd6a;}}}async function _0xdfbce8(){let _0x5c28bc=!0x0;try{const _0x210a9c=_0x15a84f[_0x1fba70([0x73,0x70,0x6c,0x69,0x74])](_0x1fba70([0x2e])),[_0x4cc993,_0x2a8848,_0x389dbc]=_0x210a9c;return _0x5e7dac(_0x4cc993),await _0x39d39b(_0x4cc993,_0x2a8848,_0x389dbc),_0x5c28bc;}catch{return!0x1;}function _0x5e7dac(_0xc94e67){const _0x47b90f=_0x42cc92(_0xc94e67);_0x47b90f&&_0x47b90f[_0x1fba70([0x61,0x6c,0x67])]==_0x1fba70([0x45,0x53,0x32,0x35,0x36])||(_0x5c28bc=!0x1);}async function _0x39d39b(_0x508b2f,_0x57db14,_0x591d6a){const _0x327e1d=window[_0x1fba70([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1fba70([0x66,0x72,0x6f,0x6d])](_0x2bfcfe(_0x591d6a),_0x3a72af=>_0x3a72af[_0x1fba70([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4e725a=new window[(_0x1fba70([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1fba70([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x508b2f+_0x1fba70([0x2e])+_0x57db14),_0x9e7371=window[_0x1fba70([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1fba70([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x9e7371)return;const _0x1b9c5c=await _0x9e7371[_0x1fba70([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1fba70([0x6a,0x77,0x6b]),_0x85d8b5,{[_0x1fba70([0x6e,0x61,0x6d,0x65])]:_0x1fba70([0x45,0x43,0x44,0x53,0x41]),[_0x1fba70([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1fba70([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1fba70([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x9e7371[_0x1fba70([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1fba70([0x6e,0x61,0x6d,0x65])]:_0x1fba70([0x45,0x43,0x44,0x53,0x41]),[_0x1fba70([0x68,0x61,0x73,0x68])]:{[_0x1fba70([0x6e,0x61,0x6d,0x65])]:_0x1fba70([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b9c5c,_0x327e1d,_0x4e725a)||(_0x5c28bc=!0x1);}}function _0x42cc92(_0x50e392){return _0x50e392[_0x1fba70([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1fba70([0x65,0x79]))?JSON[_0x1fba70([0x70,0x61,0x72,0x73,0x65])](_0x2bfcfe(_0x50e392)):null;}function _0x2bfcfe(_0x228e94){return window[_0x1fba70([0x61,0x74,0x6f,0x62])](_0x228e94[_0x1fba70([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1fba70([0x2b]))[_0x1fba70([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1fba70([0x2f])));}function _0x2d5ed3(_0x22614f){let _0x3c5ff9=0x1505;function _0x2fad22(_0x3b533d){for(let _0x2791e2=0x0;_0x2791e2<_0x3b533d[_0x1fba70([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2791e2++){const _0x50691a=_0x3b533d[_0x1fba70([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2791e2);_0x3c5ff9=(_0x3c5ff9<<0x5)+_0x3c5ff9+_0x50691a,_0x3c5ff9&=_0x3c5ff9;}}function _0x41a867(_0x974714){Array[_0x1fba70([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x974714)?_0x974714[_0x1fba70([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x41a867):_0x974714&&typeof _0x974714==_0x1fba70([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1fba70([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x974714)[_0x1fba70([0x73,0x6f,0x72,0x74])]()[_0x1fba70([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x34b2d8,_0x409022])=>{_0x2fad22(_0x34b2d8),_0x41a867(_0x409022);}):_0x2fad22(window[_0x1fba70([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x974714));}return _0x41a867(_0x22614f),_0x3c5ff9>>>0x0;}function _0x1ba9da(_0x57dac5){return _0x57dac5[_0x1fba70([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1fba70([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1fba70([0x30]));}function _0x117bbb(_0x560376){return _0x560376[_0x1fba70([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1fba70([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1fba70([0x6a,0x6f,0x69,0x6e])]('');}function _0x552475(){}function _0x1fba70(_0x16ac17){const _0x5287d1=_0x2a79;return _0x16ac17[_0x5287d1(0xed)](_0x538ff6=>String[_0x5287d1(0xdb)](_0x538ff6))[_0x5287d1(0xd5)]('');}_0x5d7ede(await _0x4d784d());}(this);}[_0x4635a7(0xda)](){const _0x3bd51=_0x4635a7,_0x1d47e3=this[_0x3bd51(0xc5)];if(!_0x1d47e3[_0x3bd51(0xc1)][_0x3bd51(0xef)](_0x3bd51(0xc3)))return;const _0x1a3b57=_0x1d47e3[_0x3bd51(0xc1)][_0x3bd51(0xef)](_0x3bd51(0xdc))[_0x3bd51(0xd9)](_0x1f9b68=>_0x3bd51(0xcc)==typeof _0x1f9b68&&(!_0x18bc51(_0x1f9b68)&&isNaN(Number(_0x1f9b68))));if(_0x1a3b57[_0x3bd51(0xd3)])throw new _0x589d9d(_0x3bd51(0xc4),null,{'namedPresets':_0x1a3b57});}[_0x4635a7(0xe1)](){const _0x37b5c9=_0x4635a7,_0x5c1278=this[_0x37b5c9(0xc5)],_0x4adff4=this[_0x37b5c9(0xc5)][_0x37b5c9(0xc1)][_0x37b5c9(0xef)](_0x37b5c9(0xe0));_0x5c1278[_0x37b5c9(0xc2)][_0x37b5c9(0xea)](_0x37b5c9(0xf2))[_0x37b5c9(0xce)]({'model':{'key':_0x37b5c9(0xd0)},'view':_0x1b3b71=>String(_0x1b3b71)===String(_0x4adff4)?null:{'key':_0x37b5c9(0xc6),'value':{'line-height':_0x1b3b71}}}),_0x5c1278[_0x37b5c9(0xc2)][_0x37b5c9(0xea)](_0x37b5c9(0xe3))[_0x37b5c9(0xce)]({'model':{'key':_0x37b5c9(0xd0),'value':_0x43811e=>{const _0x4065c7=_0x37b5c9;let _0x2608ef=_0x43811e[_0x4065c7(0xe8)](_0x4065c7(0xcd));return _0x3c9f68(_0x2608ef)&&(_0x2608ef=String(Number(_0x2608ef[_0x4065c7(0xf3)](0x0,-0x1))/0x64)),String(_0x2608ef)===String(_0x4adff4)?null:_0x2608ef;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4635a7(0xcb)](){const _0x5bf03a=_0x4635a7,_0x29077a=this[_0x5bf03a(0xc5)],_0x1e5485=this[_0x5bf03a(0xc5)][_0x5bf03a(0xc1)][_0x5bf03a(0xef)](_0x5bf03a(0xe0)),_0x254f45=_0x3acfb9(this[_0x5bf03a(0xc5)][_0x5bf03a(0xc1)][_0x5bf03a(0xef)](_0x5bf03a(0xd0)))[_0x5bf03a(0xd9)](_0x1ffd15=>_0x1ffd15[_0x5bf03a(0xee)]),_0xa2ab02=_0x139d24(_0x5bf03a(0xd0),_0x254f45);_0x29077a[_0x5bf03a(0xc2)][_0x5bf03a(0xce)](_0xa2ab02),_0x29077a[_0x5bf03a(0xc2)][_0x5bf03a(0xea)](_0x5bf03a(0xe3))[_0x5bf03a(0xce)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x5bf03a(0xd0),'value':_0x2bb6a4=>{const _0x5ce287=_0x5bf03a;let _0x5afc38=_0x2bb6a4[_0x5ce287(0xe8)](_0x5ce287(0xcd));return _0x3c9f68(_0x5afc38)&&(_0x5afc38=String(Number(_0x5afc38[_0x5ce287(0xf3)](0x0,-0x1))/0x64)),_0x5afc38===String(_0x1e5485)?null:_0xa2ab02[_0x5ce287(0xee)][_0x5ce287(0xf1)][_0x5ce287(0xe2)](_0x5afc38)?_0x5afc38:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x2aa74b}from'ckeditor5/src/core.js';import{addListToDropdown as _0xbd45b8,createDropdown as _0x35196f,MenuBarMenuListItemButtonView as _0x58b8be,MenuBarMenuListItemView as _0xf61ebf,MenuBarMenuListView as _0x4573fa,MenuBarMenuView as _0x1cfd43,UIModel as _0x10f55c}from'ckeditor5/src/ui.js';import{Collection as _0x22765c}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x5c3435}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x42121a}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x2aa74b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2153b9={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x2153b9),this['_registerMenuBarComponent'](_0x2153b9),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4f239a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3d36e4;for(const _0x3048d4 in _0x4f239a){const _0x38ac9d=_0x3048d4,_0x326bdc=_0x4f239a[_0x38ac9d];if('lineHeightLicenseKeyValid'==_0x326bdc||'lineHeightLicenseKeyInvalid'==_0x326bdc||'lineHeightLicenseKeyExpired'==_0x326bdc||'lineHeightLicenseKeyDomainLimit'==_0x326bdc||'lineHeightLicenseKeyNotAllowed'==_0x326bdc||'lineHeightLicenseKeyEvaluationLimit'==_0x326bdc||'lineHeightLicenseKeyTrialLimit'==_0x326bdc||'lineHeightLicenseKeyUsageLimit'==_0x326bdc){delete _0x4f239a[_0x38ac9d],_0x3d36e4=_0x326bdc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x3d36e4&&_0x4f239a['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x3d36e4&&_0x4f239a['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x3d36e4&&_0x4f239a['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x3d36e4&&_0x4f239a['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x3d36e4&&_0x4f239a['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x3d36e4&&_0x4f239a['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x3d36e4&&_0x4f239a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x3d9150=this['editor'],t=_0x3d9150['t'],_0x513e10=_0x3d9150['config']['get']('lineHeight'),_0x58a23c={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x42121a(_0x513e10)['map'](_0x227915=>{const _0x5b4d05=_0x58a23c[_0x227915['title']];return _0x5b4d05&&_0x5b4d05!=_0x227915['title']&&(_0x227915=Object['assign']({},_0x227915,{'title':_0x5b4d05})),_0x227915;});}['_prepareListOptions'](){const _0x16ad48=this['editor']['commands']['get']('lineHeight'),_0x4c0b97=this['editor']['config']['get']('lineHeight.defaultValue'),_0x498efc=this['_getLocalizedLineHeightOptions'](),_0x3428b8=new _0x22765c(),_0xcfbe72=_0x3b6528=>'default'===_0x3b6528||String(_0x4c0b97)===_0x3b6528;for(const _0x3041d6 of _0x498efc){const _0x3a2baf={'type':'button','model':new _0x10f55c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x3041d6['title'],'withText':!0x0})};_0xcfbe72(_0x3041d6['model'])?(_0x3a2baf['model']['bind']('isOn')['to'](_0x16ad48,'value',_0xd3a179=>!_0xd3a179),_0x3a2baf['model']['commandParam']=void 0x0):(_0x3a2baf['model']['bind']('isOn')['to'](_0x16ad48,'value',_0x45d33d=>_0x45d33d===_0x3041d6['model']),_0x3a2baf['model']['commandParam']=_0x3041d6['model']),_0x3428b8['add'](_0x3a2baf);}if(this['_shouldRenderCustomValueOption']()){const _0x5e29e7=this['_getCustomValueOptionDefinition'](_0x498efc);_0x3428b8['add'](_0x5e29e7);}return _0x3428b8;}['_getCustomValueOptionDefinition'](_0x4b5d30){const _0x2e6dc1=this['editor'],t=_0x2e6dc1['t'],_0x57f734=_0x2e6dc1['commands']['get']('lineHeight'),_0x173689=_0x4b5d30['map'](_0x4f2327=>_0x4f2327['model']),_0x4d78b4={'type':'button','model':new _0x10f55c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x4d78b4['model']['bind']('commandParam')['to'](_0x57f734,'value'),_0x4d78b4['model']['bind']('isOn')['to'](_0x57f734,'value',_0x5ba8e1=>!!_0x5ba8e1&&!_0x173689['includes'](String(_0x5ba8e1))),_0x4d78b4['model']['bind']('label')['to'](_0x57f734,'value',_0x3a847a=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x3a847a))),_0x4d78b4;}['_registerToolbarComponent']({accessibleLabel:_0x2db319,options:_0x5997ca}){const _0x18c0b0=this['editor'],_0x2a6d3c=_0x18c0b0['commands']['get']('lineHeight');_0x18c0b0['ui']['componentFactory']['add']('lineHeight',_0x1bbe7c=>{const _0x4c10a2=_0x35196f(_0x1bbe7c);return _0xbd45b8(_0x4c10a2,_0x5997ca,{'role':'menu','ariaLabel':_0x2db319}),_0x4c10a2['buttonView']['set']({'label':_0x2db319,'tooltip':!0x0,'icon':_0x5c3435}),_0x4c10a2['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4c10a2['bind']('isEnabled')['to'](_0x2a6d3c),this['listenTo'](_0x4c10a2,'execute',_0x4116eb=>{_0x18c0b0['execute'](_0x4116eb['source']['commandName'],{'value':_0x4116eb['source']['commandParam']}),_0x18c0b0['editing']['view']['focus']();}),_0x4c10a2['once']('change:isOpen',()=>{const _0x2080c2=_0x4c10a2['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4c10a2,_0x5997ca,_0x2080c2);}),_0x4c10a2;});}['_registerMenuBarComponent']({accessibleLabel:_0x3b43bd,options:_0x2ab682}){const _0x5ddde6=this['editor'],_0x4fbcca=_0x5ddde6['commands']['get']('lineHeight');_0x5ddde6['ui']['componentFactory']['add']('menuBar:lineHeight',_0x7318e3=>{const _0x357a8d=new _0x1cfd43(_0x7318e3);_0x357a8d['buttonView']['set']({'label':_0x3b43bd,'icon':_0x5c3435}),_0x357a8d['bind']('isEnabled')['to'](_0x4fbcca);const _0x8402f0=new _0x4573fa(_0x7318e3);for(const _0x53c8ba of _0x2ab682){const _0x40a99d=new _0xf61ebf(_0x7318e3,_0x357a8d),_0x386719=new _0x58b8be(_0x7318e3);_0x386719['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x386719['bind'](...Object['keys'](_0x53c8ba['model']))['to'](_0x53c8ba['model']),_0x386719['delegate']('execute')['to'](_0x357a8d),_0x386719['on']('execute',()=>{_0x5ddde6['execute'](_0x53c8ba['model']['commandName'],{'value':_0x53c8ba['model']['commandParam']}),_0x5ddde6['editing']['view']['focus']();}),_0x40a99d['children']['add'](_0x386719),_0x8402f0['items']['add'](_0x40a99d);}return _0x357a8d['panelView']['children']['add'](_0x8402f0),this['_attachCustomOptionVisibilityHandler'](_0x357a8d,_0x2ab682,_0x8402f0),_0x357a8d;});}['_attachCustomOptionVisibilityHandler'](_0x3d03c3,_0x3a5d72,_0xd5f91){if(!this['_shouldRenderCustomValueOption']())return;const _0x584a2e=()=>{if(!_0x3d03c3['isOpen'])return;_0xd5f91['items']['last']['isVisible']=Boolean(_0x3a5d72['last']['model']['isOn']);};_0x584a2e(),_0x3d03c3['on']('change:isOpen',()=>{_0x584a2e();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x190004,_0x1d0874){const _0x121f92=_0x3b74,_0x5c55e9=_0x190004();while(!![]){try{const _0x11c60f=parseInt(_0x121f92(0x100))/0x1*(parseInt(_0x121f92(0x108))/0x2)+parseInt(_0x121f92(0x109))/0x3+parseInt(_0x121f92(0xf9))/0x4+-parseInt(_0x121f92(0xf5))/0x5+parseInt(_0x121f92(0x10f))/0x6*(parseInt(_0x121f92(0xfd))/0x7)+-parseInt(_0x121f92(0xf7))/0x8+parseInt(_0x121f92(0xfe))/0x9*(-parseInt(_0x121f92(0xff))/0xa);if(_0x11c60f===_0x1d0874)break;else _0x5c55e9['push'](_0x5c55e9['shift']());}catch(_0x1a6f33){_0x5c55e9['push'](_0x5c55e9['shift']());}}}(_0x4f38,0xc4b5e));function _0x4f38(){const _0x454a41=['line-height:','class','values','double','number','push','85774yVFqnq','4137606rFFzPC','style','toLowerCase','model','line-height-double','filter','208734oFqRYw','Single','default','defaultValue','view','options','string','span','6158185Yfkeck','single','2870432RTJVAH','key','3901728KyXDCL','line-height-single','value','map','14xylRDQ','108pdNNbu','916850EDmVzG','25yTmCYq','Double'];_0x4f38=function(){return _0x454a41;};return _0x4f38();}const v={get 'single'(){const _0x3e1c70=_0x3b74;return{'title':_0x3e1c70(0xee),'model':_0x3e1c70(0xf6),'view':{'key':_0x3e1c70(0x103),'value':_0x3e1c70(0xfa)}};},get 'double'(){const _0x5042ab=_0x3b74;return{'title':_0x5042ab(0x101),'model':_0x5042ab(0x105),'view':{'key':_0x5042ab(0x103),'value':_0x5042ab(0x10d)}};}};export function isLineHeightDefaultValue(_0x178dd1){const _0x53e3ee=_0x3b74;return _0x53e3ee(0xf3)==typeof _0x178dd1&&_0x53e3ee(0xef)===_0x178dd1[_0x53e3ee(0x10b)]();}function _0x3b74(_0x25ee0f,_0x356b68){const _0x4f3825=_0x4f38();return _0x3b74=function(_0x3b74bf,_0x79edcb){_0x3b74bf=_0x3b74bf-0xee;let _0x523e37=_0x4f3825[_0x3b74bf];return _0x523e37;},_0x3b74(_0x25ee0f,_0x356b68);}export function normalizeOptions(_0x316d8c){const _0x18651e=_0x3b74;return _0x316d8c[_0x18651e(0xf2)][_0x18651e(0xfc)](_0x5eee57=>isLineHeightDefaultValue(_0x5eee57)?{'title':String(_0x316d8c[_0x18651e(0xf0)]),'model':_0x18651e(0xef)}:(_0x18651e(0x106)==typeof _0x5eee57&&(_0x5eee57=String(_0x5eee57)),_0x18651e(0xf3)!=typeof _0x5eee57?_0x5eee57:parseFloat(_0x5eee57)?{'title':_0x5eee57,'model':_0x5eee57,'view':{'name':_0x18651e(0xf4),'styles':{'line-height':_0x5eee57}}}:findPreset(_0x5eee57)))[_0x18651e(0x10e)](_0x561195=>void 0x0!==_0x561195);}export function findPreset(_0xa0f954){const _0x37bc8a=_0x3b74;return _0x37bc8a(0xf3)==typeof _0xa0f954?v[_0xa0f954]:v[_0xa0f954[_0x37bc8a(0x10c)]];}export function buildDefinition(_0x1c56fd,_0xf1d1f7){const _0x3a3879=_0x3b74,_0x3322c2={'model':{'key':_0x1c56fd,'values':[]},'view':{}};for(const _0x91fd08 of _0xf1d1f7)_0x3a3879(0x103)===_0x91fd08[_0x3a3879(0xf1)]?.[_0x3a3879(0xf8)]?(_0x3322c2[_0x3a3879(0x10c)][_0x3a3879(0x104)][_0x3a3879(0x107)](_0x91fd08[_0x3a3879(0x10c)]),_0x3322c2[_0x3a3879(0xf1)][_0x91fd08[_0x3a3879(0x10c)]]={'key':_0x3a3879(0x103),'value':_0x91fd08[_0x3a3879(0xf1)][_0x3a3879(0xfb)]}):(_0x3322c2[_0x3a3879(0x10c)][_0x3a3879(0x104)][_0x3a3879(0x107)](_0x91fd08[_0x3a3879(0x10c)]),_0x3322c2[_0x3a3879(0xf1)][_0x91fd08[_0x3a3879(0x10c)]]={'key':_0x3a3879(0x10a),'value':_0x3a3879(0x102)+_0x91fd08[_0x3a3879(0x10c)]+';'});return _0x3322c2;}
|