@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250826.0 → 0.0.0-nightly-20250827.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18d97f=_0x5deb;(function(_0x135dc0,_0x3fb0be){const _0x52b8d7=_0x5deb,_0x22b0a7=_0x135dc0();while(!![]){try{const _0x36519d=parseInt(_0x52b8d7(0x8a))/0x1+-parseInt(_0x52b8d7(0x84))/0x2+-parseInt(_0x52b8d7(0x83))/0x3*(-parseInt(_0x52b8d7(0x8b))/0x4)+parseInt(_0x52b8d7(0x89))/0x5+-parseInt(_0x52b8d7(0x73))/0x6*(-parseInt(_0x52b8d7(0x85))/0x7)+-parseInt(_0x52b8d7(0x79))/0x8+-parseInt(_0x52b8d7(0x7d))/0x9;if(_0x36519d===_0x3fb0be)break;else _0x22b0a7['push'](_0x22b0a7['shift']());}catch(_0x1e4598){_0x22b0a7['push'](_0x22b0a7['shift']());}}}(_0xfc5c,0xd7c06));import{Command as _0x51264a}from'ckeditor5/src/core.js';import{first as _0x59605c}from'ckeditor5/src/utils.js';function _0x5deb(_0x56a036,_0x5a8da9){const _0xfc5ccb=_0xfc5c();return _0x5deb=function(_0x5deb25,_0x13ec39){_0x5deb25=_0x5deb25-0x72;let _0x181e65=_0xfc5ccb[_0x5deb25];return _0x181e65;},_0x5deb(_0x56a036,_0x5a8da9);}export class LineHeightCommand extends _0x51264a{[_0x18d97f(0x86)](){const _0x1c6942=_0x18d97f,_0x3d3bd2=this[_0x1c6942(0x78)][_0x1c6942(0x76)][_0x1c6942(0x80)],_0x10dc16=_0x59605c(_0x3d3bd2[_0x1c6942(0x7a)][_0x1c6942(0x82)]());this[_0x1c6942(0x81)]=Boolean(_0x10dc16)&&this[_0x1c6942(0x87)](_0x10dc16),this[_0x1c6942(0x8c)]=this[_0x1c6942(0x81)]&&_0x10dc16[_0x1c6942(0x74)](_0x1c6942(0x72));}[_0x18d97f(0x7b)](_0x84c659={}){const _0x1ff40c=_0x18d97f,_0x15f653=this[_0x1ff40c(0x78)][_0x1ff40c(0x76)],_0x556eff=_0x15f653[_0x1ff40c(0x80)][_0x1ff40c(0x7a)],_0x63b251=_0x84c659[_0x1ff40c(0x8c)];_0x15f653[_0x1ff40c(0x7e)](_0xacdfcb=>{const _0x8c4598=_0x1ff40c,_0x33b7a5=Array[_0x8c4598(0x75)](_0x556eff[_0x8c4598(0x82)]())[_0x8c4598(0x7c)](_0x124bc8=>this[_0x8c4598(0x87)](_0x124bc8));for(const _0x401edc of _0x33b7a5)_0x63b251?_0xacdfcb[_0x8c4598(0x8d)](_0x8c4598(0x72),_0x63b251,_0x401edc):_0xacdfcb[_0x8c4598(0x88)](_0x8c4598(0x72),_0x401edc);});}[_0x18d97f(0x87)](_0x39a659){const _0x595441=_0x18d97f;return this[_0x595441(0x78)][_0x595441(0x76)][_0x595441(0x77)][_0x595441(0x7f)](_0x39a659,_0x595441(0x72));}}function _0xfc5c(){const _0x5001f8=['editor','8910312yIPqGe','selection','execute','filter','14853933HoiMcr','change','checkAttribute','document','isEnabled','getSelectedBlocks','63OzEdXA','561722qMkEQo','434SuCFcP','refresh','_canHaveLineHeight','removeAttribute','5245395nFZYDs','616638gqyWNS','111664odMRhH','value','setAttribute','lineHeight','162276NJWMGt','getAttribute','from','model','schema'];_0xfc5c=function(){return _0x5001f8;};return _0xfc5c();}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x385ac7=_0x1966;function _0x10e2(){const _0x1bc052=['init','lineHeight.options','downcast','length','get','commands','afterInit','values','model','setAttributeProperties','upcast','line-height','$block','lineHeight.defaultValue','attributeToAttribute','getStyle','lineHeight','isPremiumPlugin','6069684ugGLQe','filter','slice','lineHeight.supportAllValues','schema','line-height-invalid-use-of-named-presets','_validateConfig','isOfficialPlugin','extend','_prepareAnyValueConverters','add','5038720iWPzUh','style','3798363nktLRn','11645528KvsXbt','conversion','config','string','includes','href','fromCharCode','map','for','editor','default','14sCTXuk','35406Oqsemh','LineHeightEditing','join','5176150rAxEwR','define','636778WPLZvG','pluginName','_preparePredefinedConverters'];_0x10e2=function(){return _0x1bc052;};return _0x10e2();}function _0x1966(_0x3935f4,_0x244807){const _0x10e2b9=_0x10e2();return _0x1966=function(_0x196604,_0xb5d997){_0x196604=_0x196604-0x6e;let _0x1ad44e=_0x10e2b9[_0x196604];return _0x1ad44e;},_0x1966(_0x3935f4,_0x244807);}(function(_0x136519,_0x354dc2){const _0x1ec501=_0x1966,_0x39f33f=_0x136519();while(!![]){try{const _0x3a9dbd=-parseInt(_0x1ec501(0x71))/0x1+parseInt(_0x1ec501(0x76))/0x2+-parseInt(_0x1ec501(0x98))/0x3+-parseInt(_0x1ec501(0x96))/0x4+parseInt(_0x1ec501(0x74))/0x5+-parseInt(_0x1ec501(0x8b))/0x6+-parseInt(_0x1ec501(0x70))/0x7*(-parseInt(_0x1ec501(0x99))/0x8);if(_0x3a9dbd===_0x354dc2)break;else _0x39f33f['push'](_0x39f33f['shift']());}catch(_0x33dfc3){_0x39f33f['push'](_0x39f33f['shift']());}}}(_0x10e2,0xa8fd4));import{Plugin as _0x492f19}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x57c4cc}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4e0465}from'ckeditor5/src/engine.js';import{uid as _0x433831,CKEditorError as _0x2c66c2}from'ckeditor5/src/utils.js';import{buildDefinition as _0x5150b7,isLineHeightDefaultValue as _0x32be84,normalizeOptions as _0x1ce9f9}from'./utils.js';export class LineHeightEditing extends _0x492f19{static get[_0x385ac7(0x77)](){const _0x504a42=_0x385ac7;return _0x504a42(0x72);}static get[_0x385ac7(0x92)](){return!0x0;}static get[_0x385ac7(0x8a)](){return!0x0;}constructor(_0x2ac58a){const _0xea242d=_0x385ac7;super(_0x2ac58a),_0x2ac58a[_0xea242d(0x9b)][_0xea242d(0x75)](_0xea242d(0x89),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0xea242d(0x6f),0x2,2.5,0x3]});}[_0x385ac7(0x79)](){const _0x26cc46=_0x385ac7,_0x3571dd=this[_0x26cc46(0x6e)];this[_0x26cc46(0x91)](),_0x3571dd[_0x26cc46(0x81)][_0x26cc46(0x8f)][_0x26cc46(0x93)](_0x26cc46(0x85),{'allowAttributes':_0x26cc46(0x89)}),_0x3571dd[_0x26cc46(0x81)][_0x26cc46(0x8f)][_0x26cc46(0x82)](_0x26cc46(0x89),{'isFormatting':!0x0}),_0x3571dd[_0x26cc46(0x7e)][_0x26cc46(0x95)](_0x26cc46(0x89),new _0x57c4cc(_0x3571dd)),this[_0x26cc46(0x6e)][_0x26cc46(0x9b)][_0x26cc46(0x7d)](_0x26cc46(0x8e))?this[_0x26cc46(0x94)]():this[_0x26cc46(0x78)]();}[_0x385ac7(0x7f)](){!async function(_0x338236){const _0x5d3508=_0x5aed26([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0x10d1ae=0x4597e011,_0x36e664=0x45909181^_0x10d1ae,_0x30061c=window[_0x5aed26([0x44,0x61,0x74,0x65])][_0x5aed26([0x6e,0x6f,0x77])](),_0x256256=_0x338236[_0x5aed26([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x49d159=new window[(_0x5aed26([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x96ed65=>{_0x256256[_0x5aed26([0x6f,0x6e,0x63,0x65])](_0x5aed26([0x72,0x65,0x61,0x64,0x79]),_0x96ed65);}),_0x2ffb85={[_0x5aed26([0x6b,0x74,0x79])]:_0x5aed26([0x45,0x43]),[_0x5aed26([0x75,0x73,0x65])]:_0x5aed26([0x73,0x69,0x67]),[_0x5aed26([0x63,0x72,0x76])]:_0x5aed26([0x50,0x2d,0x32,0x35,0x36]),[_0x5aed26([0x78])]:_0x5aed26([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]),[_0x5aed26([0x79])]:_0x5aed26([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]),[_0x5aed26([0x61,0x6c,0x67])]:_0x5aed26([0x45,0x53,0x32,0x35,0x36])},_0xb91322=_0x256256[_0x5aed26([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5aed26([0x67,0x65,0x74])](_0x5aed26([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x55b0bb(){let _0x493cc8,_0x29c6eb=null,_0x464c01=null;try{if(_0xb91322==_0x5aed26([0x47,0x50,0x4c]))return _0x5aed26([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x493cc8=_0xe275c7(),!_0x493cc8)return _0x5aed26([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x493cc8[_0x5aed26([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x464c01=_0x2256e8(_0x493cc8[_0x5aed26([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x493cc8[_0x5aed26([0x6a,0x74,0x69])])),await _0x2c992b()?_0x56d3c9()?_0x148e29()?_0x5aed26([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1ee6b1()?(_0x493cc8[_0x5aed26([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5aed26([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x29c6eb=_0x2217ea(_0x5aed26([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x493cc8[_0x5aed26([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5aed26([0x74,0x72,0x69,0x61,0x6c])&&(_0x29c6eb=_0x2217ea(_0x5aed26([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d66e8()):_0x5aed26([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5aed26([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5aed26([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5aed26([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x148e29(){const _0x21cfb1=[_0x5aed26([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5aed26([0x74,0x72,0x69,0x61,0x6c])][_0x5aed26([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x493cc8[_0x5aed26([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x30061c/0x3e8:0xe10*_0x36e664;return _0x493cc8[_0x5aed26([0x65,0x78,0x70])]<_0x21cfb1;}function _0x56d3c9(){const _0x12dbe0=_0x493cc8[_0x5aed26([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x12dbe0&&(!!_0x12dbe0[_0x5aed26([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5aed26([0x2a]))||!!_0x12dbe0[_0x5aed26([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5aed26([0x4c,0x48])));}function _0x1ee6b1(){const _0x3e0c49=_0x1966,_0x2aaaee=_0x493cc8[_0x5aed26([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2aaaee||0x0==_0x2aaaee[_0x5aed26([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x24e038}=new URL(window[_0x5aed26([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3e0c49(0x9e)]);if(_0x2aaaee[_0x5aed26([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24e038))return!0x0;const _0x5f5404=_0x24e038[_0x5aed26([0x73,0x70,0x6c,0x69,0x74])](_0x5aed26([0x2e]));return _0x2aaaee[_0x5aed26([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b56f0=>_0x1b56f0[_0x5aed26([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5aed26([0x2a])))[_0x5aed26([0x6d,0x61,0x70])](_0x1b04ca=>_0x1b04ca[_0x5aed26([0x73,0x70,0x6c,0x69,0x74])](_0x5aed26([0x2e])))[_0x5aed26([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x59e314=>_0x59e314[_0x5aed26([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5f5404[_0x5aed26([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5aed26([0x6d,0x61,0x70])](_0xe13179=>Array(_0x5f5404[_0x5aed26([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xe13179[_0x5aed26([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5aed26([0x66,0x69,0x6c,0x6c])](_0xe13179[0x0]===_0x5aed26([0x2a])?_0x5aed26([0x2a]):'')[_0x5aed26([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xe13179))[_0x5aed26([0x73,0x6f,0x6d,0x65])](_0x4a6666=>_0x5f5404[_0x5aed26([0x65,0x76,0x65,0x72,0x79])]((_0x2cefb9,_0x4120f0)=>_0x4a6666[_0x4120f0]===_0x2cefb9||_0x4a6666[_0x4120f0]===_0x5aed26([0x2a])));}function _0x2d66e8(){return _0x29c6eb&&_0x464c01?new window[(_0x5aed26([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x478bec,_0x1189a3)=>{_0x29c6eb[_0x5aed26([0x74,0x68,0x65,0x6e])](_0x478bec,_0x1189a3),_0x464c01[_0x5aed26([0x74,0x68,0x65,0x6e])](_0x53bce4=>{_0x53bce4!=_0x5aed26([0x56,0x61,0x6c,0x69,0x64])&&_0x478bec(_0x53bce4);},_0x1189a3);}):_0x29c6eb||_0x464c01||_0x5aed26([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2256e8(_0x3c4895,_0x194b20){return new window[(_0x5aed26([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d315f=>{if(_0x332439())return _0x1d315f(_0x5aed26([0x56,0x61,0x6c,0x69,0x64]));_0x16a870(),_0x256256[_0x5aed26([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5aed26([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1bbfa5=!0x1;const _0x598761=_0x433831();function _0x1d0e1c(_0x38c66e){return!!_0x38c66e&&(typeof _0x38c66e===_0x5aed26([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x38c66e===_0x5aed26([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x38c66e[_0x5aed26([0x74,0x68,0x65,0x6e])]===_0x5aed26([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x38c66e[_0x5aed26([0x63,0x61,0x74,0x63,0x68])]===_0x5aed26([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1d7596(_0x19b984){_0x300d51(_0x19b984)[_0x5aed26([0x74,0x68,0x65,0x6e])](_0x5b4fc2=>{if(!_0x5b4fc2||_0x5b4fc2[_0x5aed26([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5aed26([0x6f,0x6b]))return _0x5aed26([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x288f58(_0x2a76ba(_0x598761+_0x194b20))!=_0x5b4fc2[_0x5aed26([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5aed26([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5aed26([0x56,0x61,0x6c,0x69,0x64]);})[_0x5aed26([0x74,0x68,0x65,0x6e])](_0x1afe5d=>(_0x193b02(),_0x1afe5d),()=>{const _0x2a2766=_0x4484ef();return null==_0x2a2766?(_0x193b02(),_0x5aed26([0x56,0x61,0x6c,0x69,0x64])):_0x5aed26(_0x30061c-_0x2a2766>(0x619b6411^_0x10d1ae)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5aed26([0x74,0x68,0x65,0x6e])](_0x1d315f)[_0x5aed26([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d315f(_0x5aed26([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ddf33=0x45a10e91^_0x10d1ae;function _0x193b02(){const _0x919d36=_0x5aed26([0x6c,0x6c,0x63,0x74,0x2d])+_0x288f58(_0x2a76ba(_0x3c4895)),_0x7264f5=_0x55dad0(_0x288f58(window[_0x5aed26([0x4d,0x61,0x74,0x68])][_0x5aed26([0x63,0x65,0x69,0x6c])](_0x30061c/_0x2ddf33)));window[_0x5aed26([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5aed26([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x919d36,_0x7264f5);}function _0x4484ef(){const _0xde762a=_0x5aed26([0x6c,0x6c,0x63,0x74,0x2d])+_0x288f58(_0x2a76ba(_0x3c4895)),_0x56e3d4=window[_0x5aed26([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5aed26([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xde762a);return _0x56e3d4?window[_0x5aed26([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55dad0(_0x56e3d4),0x10)*_0x2ddf33:null;}function _0x300d51(_0x2624c4){return new window[(_0x5aed26([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x314e05,_0x1ad3e9)=>{_0x2624c4[_0x5aed26([0x74,0x68,0x65,0x6e])](_0x314e05,_0x1ad3e9),window[_0x5aed26([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1ad3e9,0x459634d1^_0x10d1ae);});}}_0x256256[_0x5aed26([0x6f,0x6e])](_0x5aed26([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2c6c54,_0x51b737)=>{if(_0x51b737[0x0]!=_0x3c4895)return _0x1d315f(_0x5aed26([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x51b737[0x1]={..._0x51b737[0x1],[_0x5aed26([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x598761};},{[_0x5aed26([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5aed26([0x68,0x69,0x67,0x68])}),_0x256256[_0x5aed26([0x6f,0x6e])](_0x5aed26([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ab64c=>{_0x1d0e1c(_0x3ab64c[_0x5aed26([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1bbfa5=!0x0,_0x1d7596(_0x3ab64c[_0x5aed26([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5aed26([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5aed26([0x6c,0x6f,0x77])}),_0x49d159[_0x5aed26([0x74,0x68,0x65,0x6e])](()=>{_0x1bbfa5||_0x1d315f(_0x5aed26([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x332439(){return _0x256256[_0x5aed26([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5aed26([0x76,0x69,0x65,0x77])][_0x5aed26([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5aed26([0x61,0x75,0x74,0x6f]);}function _0x16a870(){_0x256256[_0x5aed26([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5aed26([0x76,0x69,0x65,0x77])][_0x5aed26([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5aed26([0x61,0x75,0x74,0x6f]);}}function _0x2217ea(_0x8f2dd0){const _0x1d5600=[new window[(_0x5aed26([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26a8de=>setTimeout(_0x26a8de,0x459ededd^_0x10d1ae)),_0x49d159[_0x5aed26([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5aed26([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc3dfaa=>{let _0x3cf9ba=0x0;_0x256256[_0x5aed26([0x6d,0x6f,0x64,0x65,0x6c])][_0x5aed26([0x6f,0x6e])](_0x5aed26([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2b491a,_0x19c891)=>{_0x19c891[0x0][_0x5aed26([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3cf9ba++,_0x3cf9ba==(0x4597e1e9^_0x10d1ae)&&(_0xc3dfaa(),_0x2b491a[_0x5aed26([0x6f,0x66,0x66])]());});}))];return window[_0x5aed26([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5aed26([0x72,0x61,0x63,0x65])](_0x1d5600)[_0x5aed26([0x74,0x68,0x65,0x6e])](()=>_0x8f2dd0);}async function _0x35be11(){await _0x49d159,_0x256256[_0x5aed26([0x6d,0x6f,0x64,0x65,0x6c])][_0x5aed26([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x258aea,_0x256256[_0x5aed26([0x6d,0x6f,0x64,0x65,0x6c])][_0x5aed26([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x258aea,_0x256256[_0x5aed26([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5aed26([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x189922(_0x2e9229){const _0x301166=_0x227957();_0x256256[_0x301166]=_0x5aed26([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2e9229,_0x2e9229!=_0x5aed26([0x56,0x61,0x6c,0x69,0x64])&&_0x35be11();}function _0x227957(){const _0xdf5e1a=window[_0x5aed26([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5aed26([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5aed26([0x6e,0x6f,0x77])]())[_0x5aed26([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5aed26([0x2e]),'');let _0x2f5194=_0x5aed26([0x51]);for(let _0xdfbc41=0x0;_0xdfbc41<_0xdf5e1a[_0x5aed26([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xdfbc41+=0x2){let _0x4e8ef0=window[_0x5aed26([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdf5e1a[_0x5aed26([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xdfbc41,_0xdfbc41+0x2));_0x4e8ef0>=_0x5d3508[_0x5aed26([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4e8ef0-=_0x5d3508[_0x5aed26([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f5194+=_0x5d3508[_0x4e8ef0];}return _0x2f5194;}function _0xe275c7(){const _0xe506d6=_0xb91322[_0x5aed26([0x73,0x70,0x6c,0x69,0x74])](_0x5aed26([0x2e]));if(0x3!=_0xe506d6[_0x5aed26([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xea3ba4(_0xe506d6[0x1]);function _0xea3ba4(_0x940a94){const _0x2385d0=_0x11645c(_0x940a94);return _0x2385d0&&_0x2b52be()?_0x2385d0:null;function _0x2b52be(){const _0x4ad637=_0x2385d0[_0x5aed26([0x6a,0x74,0x69])],_0x1d4f47=window[_0x5aed26([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ad637[_0x5aed26([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ad637[_0x5aed26([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3ff96b={..._0x2385d0,[_0x5aed26([0x6a,0x74,0x69])]:_0x4ad637[_0x5aed26([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ad637[_0x5aed26([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3ff96b[_0x5aed26([0x76,0x63])],_0x2a76ba(_0x3ff96b)==_0x1d4f47;}}}async function _0x2c992b(){let _0x3b3cb3=!0x0;try{const _0x202115=_0xb91322[_0x5aed26([0x73,0x70,0x6c,0x69,0x74])](_0x5aed26([0x2e])),[_0x3d5bd2,_0x495573,_0x134d86]=_0x202115;return _0x42558e(_0x3d5bd2),await _0x4a48f2(_0x3d5bd2,_0x495573,_0x134d86),_0x3b3cb3;}catch{return!0x1;}function _0x42558e(_0x1ad30d){const _0x107cae=_0x11645c(_0x1ad30d);_0x107cae&&_0x107cae[_0x5aed26([0x61,0x6c,0x67])]==_0x5aed26([0x45,0x53,0x32,0x35,0x36])||(_0x3b3cb3=!0x1);}async function _0x4a48f2(_0x3a4207,_0x4c4aa5,_0x1117a5){const _0x365c41=window[_0x5aed26([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5aed26([0x66,0x72,0x6f,0x6d])](_0x763fb6(_0x1117a5),_0x1af9f2=>_0x1af9f2[_0x5aed26([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2d9d9a=new window[(_0x5aed26([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5aed26([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3a4207+_0x5aed26([0x2e])+_0x4c4aa5),_0x24c885=window[_0x5aed26([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5aed26([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x24c885)return;const _0x321dfe=await _0x24c885[_0x5aed26([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5aed26([0x6a,0x77,0x6b]),_0x2ffb85,{[_0x5aed26([0x6e,0x61,0x6d,0x65])]:_0x5aed26([0x45,0x43,0x44,0x53,0x41]),[_0x5aed26([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5aed26([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5aed26([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x24c885[_0x5aed26([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5aed26([0x6e,0x61,0x6d,0x65])]:_0x5aed26([0x45,0x43,0x44,0x53,0x41]),[_0x5aed26([0x68,0x61,0x73,0x68])]:{[_0x5aed26([0x6e,0x61,0x6d,0x65])]:_0x5aed26([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x321dfe,_0x365c41,_0x2d9d9a)||(_0x3b3cb3=!0x1);}}function _0x11645c(_0xfe424c){return _0xfe424c[_0x5aed26([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5aed26([0x65,0x79]))?JSON[_0x5aed26([0x70,0x61,0x72,0x73,0x65])](_0x763fb6(_0xfe424c)):null;}function _0x763fb6(_0x2d1836){return window[_0x5aed26([0x61,0x74,0x6f,0x62])](_0x2d1836[_0x5aed26([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5aed26([0x2b]))[_0x5aed26([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5aed26([0x2f])));}function _0x2a76ba(_0x441cf7){let _0x16c36a=0x1505;function _0x5773cd(_0x596365){for(let _0x3685c1=0x0;_0x3685c1<_0x596365[_0x5aed26([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3685c1++){const _0xb9475d=_0x596365[_0x5aed26([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3685c1);_0x16c36a=(_0x16c36a<<0x5)+_0x16c36a+_0xb9475d,_0x16c36a&=_0x16c36a;}}function _0x5c2989(_0x57d0dc){Array[_0x5aed26([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x57d0dc)?_0x57d0dc[_0x5aed26([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5c2989):_0x57d0dc&&typeof _0x57d0dc==_0x5aed26([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5aed26([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x57d0dc)[_0x5aed26([0x73,0x6f,0x72,0x74])]()[_0x5aed26([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x478114,_0x228306])=>{_0x5773cd(_0x478114),_0x5c2989(_0x228306);}):_0x5773cd(window[_0x5aed26([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x57d0dc));}return _0x5c2989(_0x441cf7),_0x16c36a>>>0x0;}function _0x288f58(_0x8e873a){return _0x8e873a[_0x5aed26([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5aed26([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5aed26([0x30]));}function _0x55dad0(_0x500c24){return _0x500c24[_0x5aed26([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5aed26([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5aed26([0x6a,0x6f,0x69,0x6e])]('');}function _0x258aea(){}function _0x5aed26(_0x8053ff){const _0x27ab3e=_0x1966;return _0x8053ff[_0x27ab3e(0xa0)](_0x3dd060=>String[_0x27ab3e(0x9f)](_0x3dd060))[_0x27ab3e(0x73)]('');}_0x189922(await _0x55b0bb());}(this);}[_0x385ac7(0x91)](){const _0x50d63e=_0x385ac7,_0x50b0e7=this[_0x50d63e(0x6e)];if(!_0x50b0e7[_0x50d63e(0x9b)][_0x50d63e(0x7d)](_0x50d63e(0x8e)))return;const _0x28388a=_0x50b0e7[_0x50d63e(0x9b)][_0x50d63e(0x7d)](_0x50d63e(0x7a))[_0x50d63e(0x8c)](_0x42ac84=>_0x50d63e(0x9c)==typeof _0x42ac84&&(!_0x32be84(_0x42ac84)&&isNaN(Number(_0x42ac84))));if(_0x28388a[_0x50d63e(0x7c)])throw new _0x2c66c2(_0x50d63e(0x90),null,{'namedPresets':_0x28388a});}[_0x385ac7(0x94)](){const _0x9e1a2b=_0x385ac7,_0x422161=this[_0x9e1a2b(0x6e)],_0x5b972b=this[_0x9e1a2b(0x6e)][_0x9e1a2b(0x9b)][_0x9e1a2b(0x7d)](_0x9e1a2b(0x86));_0x422161[_0x9e1a2b(0x9a)][_0x9e1a2b(0xa1)](_0x9e1a2b(0x7b))[_0x9e1a2b(0x87)]({'model':{'key':_0x9e1a2b(0x89)},'view':_0x31125e=>String(_0x31125e)===String(_0x5b972b)?null:{'key':_0x9e1a2b(0x97),'value':{'line-height':_0x31125e}}}),_0x422161[_0x9e1a2b(0x9a)][_0x9e1a2b(0xa1)](_0x9e1a2b(0x83))[_0x9e1a2b(0x87)]({'model':{'key':_0x9e1a2b(0x89),'value':_0x602251=>{const _0x460764=_0x9e1a2b;let _0x48ec62=_0x602251[_0x460764(0x88)](_0x460764(0x84));return _0x4e0465(_0x48ec62)&&(_0x48ec62=String(Number(_0x48ec62[_0x460764(0x8d)](0x0,-0x1))/0x64)),String(_0x48ec62)===String(_0x5b972b)?null:_0x48ec62;}},'view':{'styles':{'line-height':/.*/}}});}[_0x385ac7(0x78)](){const _0x5555be=_0x385ac7,_0x21ecd9=this[_0x5555be(0x6e)],_0x2fdf3c=this[_0x5555be(0x6e)][_0x5555be(0x9b)][_0x5555be(0x7d)](_0x5555be(0x86)),_0x4d0755=_0x1ce9f9(this[_0x5555be(0x6e)][_0x5555be(0x9b)][_0x5555be(0x7d)](_0x5555be(0x89)))[_0x5555be(0x8c)](_0x45494b=>_0x45494b[_0x5555be(0x81)]),_0x43bafa=_0x5150b7(_0x5555be(0x89),_0x4d0755);_0x21ecd9[_0x5555be(0x9a)][_0x5555be(0x87)](_0x43bafa),_0x21ecd9[_0x5555be(0x9a)][_0x5555be(0xa1)](_0x5555be(0x83))[_0x5555be(0x87)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x5555be(0x89),'value':_0x535742=>{const _0x354a52=_0x5555be;let _0x55587f=_0x535742[_0x354a52(0x88)](_0x354a52(0x84));return _0x4e0465(_0x55587f)&&(_0x55587f=String(Number(_0x55587f[_0x354a52(0x8d)](0x0,-0x1))/0x64)),_0x55587f===String(_0x2fdf3c)?null:_0x43bafa[_0x354a52(0x81)][_0x354a52(0x80)][_0x354a52(0x9d)](_0x55587f)?_0x55587f:null;}}});}}
|
|
23
|
+
function _0x4cb9(){const _0x2e5cad=['schema','style','815111oQdCIe','attributeToAttribute','length','afterInit','_preparePredefinedConverters','upcast','isPremiumPlugin','define','1143AhNkYd','setAttributeProperties','init','values','984093LRbTsY','editor','add','6784yNdixY','_validateConfig','extend','lineHeight.supportAllValues','href','conversion','60znpVNJ','25TohiLP','isOfficialPlugin','$block','model','1TxbmXz','for','pluginName','string','_prepareAnyValueConverters','fromCharCode','lineHeight.options','2933416mBedlQ','lineHeight','downcast','includes','68200ILTmGm','242070ytodET','line-height','get','join','4cxnhfv','default','config','map','line-height-invalid-use-of-named-presets','commands','3993457CgtteL','slice','getStyle','filter','LineHeightEditing','lineHeight.defaultValue','2177oSrrET'];_0x4cb9=function(){return _0x2e5cad;};return _0x4cb9();}const _0x3534b5=_0x1fb8;(function(_0x5df886,_0x58d21d){const _0x26c65c=_0x1fb8,_0x4f473c=_0x5df886();while(!![]){try{const _0x43b3b1=-parseInt(_0x26c65c(0x1f6))/0x1*(-parseInt(_0x26c65c(0x1fd))/0x2)+parseInt(_0x26c65c(0x1e8))/0x3*(parseInt(_0x26c65c(0x206))/0x4)+-parseInt(_0x26c65c(0x1f2))/0x5*(-parseInt(_0x26c65c(0x202))/0x6)+-parseInt(_0x26c65c(0x1d9))/0x7*(parseInt(_0x26c65c(0x1eb))/0x8)+parseInt(_0x26c65c(0x1e4))/0x9*(-parseInt(_0x26c65c(0x201))/0xa)+parseInt(_0x26c65c(0x1dc))/0xb*(-parseInt(_0x26c65c(0x1f1))/0xc)+parseInt(_0x26c65c(0x20c))/0xd;if(_0x43b3b1===_0x58d21d)break;else _0x4f473c['push'](_0x4f473c['shift']());}catch(_0x38cbdb){_0x4f473c['push'](_0x4f473c['shift']());}}}(_0x4cb9,0xc41d0));import{Plugin as _0x4b9b8f}from'ckeditor5/src/core.js';function _0x1fb8(_0x52a838,_0x3f44b5){const _0x4cb9e3=_0x4cb9();return _0x1fb8=function(_0x1fb8d8,_0x5f5230){_0x1fb8d8=_0x1fb8d8-0x1d5;let _0x24646b=_0x4cb9e3[_0x1fb8d8];return _0x24646b;},_0x1fb8(_0x52a838,_0x3f44b5);}import{LineHeightCommand as _0x22641d}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x62e3c1}from'ckeditor5/src/engine.js';import{uid as _0x3a4aee,CKEditorError as _0x1131a8}from'ckeditor5/src/utils.js';import{buildDefinition as _0x110554,isLineHeightDefaultValue as _0x3fafe0,normalizeOptions as _0x1ea910}from'./utils.js';export class LineHeightEditing extends _0x4b9b8f{static get[_0x3534b5(0x1f8)](){const _0x569cf9=_0x3534b5;return _0x569cf9(0x1d7);}static get[_0x3534b5(0x1f3)](){return!0x0;}static get[_0x3534b5(0x1e2)](){return!0x0;}constructor(_0xaa909e){const _0x39d9a4=_0x3534b5;super(_0xaa909e),_0xaa909e[_0x39d9a4(0x208)][_0x39d9a4(0x1e3)](_0x39d9a4(0x1fe),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x39d9a4(0x207),0x2,2.5,0x3]});}[_0x3534b5(0x1e6)](){const _0x5a1cda=_0x3534b5,_0x60324f=this[_0x5a1cda(0x1e9)];this[_0x5a1cda(0x1ec)](),_0x60324f[_0x5a1cda(0x1f5)][_0x5a1cda(0x1da)][_0x5a1cda(0x1ed)](_0x5a1cda(0x1f4),{'allowAttributes':_0x5a1cda(0x1fe)}),_0x60324f[_0x5a1cda(0x1f5)][_0x5a1cda(0x1da)][_0x5a1cda(0x1e5)](_0x5a1cda(0x1fe),{'isFormatting':!0x0}),_0x60324f[_0x5a1cda(0x20b)][_0x5a1cda(0x1ea)](_0x5a1cda(0x1fe),new _0x22641d(_0x60324f)),this[_0x5a1cda(0x1e9)][_0x5a1cda(0x208)][_0x5a1cda(0x204)](_0x5a1cda(0x1ee))?this[_0x5a1cda(0x1fa)]():this[_0x5a1cda(0x1e0)]();}[_0x3534b5(0x1df)](){!async function(_0x26ade8){const _0x48ccc7=_0x6e053c([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0x2c35af=0x4597e011,_0x48fbba=0x459091b9^_0x2c35af,_0x197822=window[_0x6e053c([0x44,0x61,0x74,0x65])][_0x6e053c([0x6e,0x6f,0x77])](),_0x4912ff=_0x26ade8[_0x6e053c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5eeb99=new window[(_0x6e053c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d843a=>{_0x4912ff[_0x6e053c([0x6f,0x6e,0x63,0x65])](_0x6e053c([0x72,0x65,0x61,0x64,0x79]),_0x2d843a);}),_0x3fd8ee={[_0x6e053c([0x6b,0x74,0x79])]:_0x6e053c([0x45,0x43]),[_0x6e053c([0x75,0x73,0x65])]:_0x6e053c([0x73,0x69,0x67]),[_0x6e053c([0x63,0x72,0x76])]:_0x6e053c([0x50,0x2d,0x32,0x35,0x36]),[_0x6e053c([0x78])]:_0x6e053c([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]),[_0x6e053c([0x79])]:_0x6e053c([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]),[_0x6e053c([0x61,0x6c,0x67])]:_0x6e053c([0x45,0x53,0x32,0x35,0x36])},_0xedad02=_0x4912ff[_0x6e053c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x6e053c([0x67,0x65,0x74])](_0x6e053c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x32882c(){let _0x1fe226,_0x3db35a=null,_0x4709cd=null;try{if(_0xedad02==_0x6e053c([0x47,0x50,0x4c]))return _0x6e053c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1fe226=_0x2bdbcc(),!_0x1fe226)return _0x6e053c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1fe226[_0x6e053c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4709cd=_0x22427e(_0x1fe226[_0x6e053c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1fe226[_0x6e053c([0x6a,0x74,0x69])])),await _0x56ed49()?_0x2618af()?_0x3a9f80()?_0x6e053c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x338928()?(_0x1fe226[_0x6e053c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x6e053c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3db35a=_0x16e6a9(_0x6e053c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1fe226[_0x6e053c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x6e053c([0x74,0x72,0x69,0x61,0x6c])&&(_0x3db35a=_0x16e6a9(_0x6e053c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x529aa2()):_0x6e053c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x6e053c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x6e053c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x6e053c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3a9f80(){const _0x11ee76=[_0x6e053c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x6e053c([0x74,0x72,0x69,0x61,0x6c])][_0x6e053c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fe226[_0x6e053c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x197822/0x3e8:0xe10*_0x48fbba;return _0x1fe226[_0x6e053c([0x65,0x78,0x70])]<_0x11ee76;}function _0x2618af(){const _0x460b20=_0x1fe226[_0x6e053c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x460b20&&(!!_0x460b20[_0x6e053c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6e053c([0x2a]))||!!_0x460b20[_0x6e053c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6e053c([0x4c,0x48])));}function _0x338928(){const _0x2f55fb=_0x1fb8,_0x46da3e=_0x1fe226[_0x6e053c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x46da3e||0x0==_0x46da3e[_0x6e053c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x28c365}=new URL(window[_0x6e053c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2f55fb(0x1ef)]);if(_0x46da3e[_0x6e053c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28c365))return!0x0;const _0x1e8314=_0x28c365[_0x6e053c([0x73,0x70,0x6c,0x69,0x74])](_0x6e053c([0x2e]));return _0x46da3e[_0x6e053c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8faa8b=>_0x8faa8b[_0x6e053c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6e053c([0x2a])))[_0x6e053c([0x6d,0x61,0x70])](_0x4b10f3=>_0x4b10f3[_0x6e053c([0x73,0x70,0x6c,0x69,0x74])](_0x6e053c([0x2e])))[_0x6e053c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5da0ac=>_0x5da0ac[_0x6e053c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1e8314[_0x6e053c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x6e053c([0x6d,0x61,0x70])](_0x303c9d=>Array(_0x1e8314[_0x6e053c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x303c9d[_0x6e053c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x6e053c([0x66,0x69,0x6c,0x6c])](_0x303c9d[0x0]===_0x6e053c([0x2a])?_0x6e053c([0x2a]):'')[_0x6e053c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x303c9d))[_0x6e053c([0x73,0x6f,0x6d,0x65])](_0x2c68b2=>_0x1e8314[_0x6e053c([0x65,0x76,0x65,0x72,0x79])]((_0x35a03c,_0x2a769e)=>_0x2c68b2[_0x2a769e]===_0x35a03c||_0x2c68b2[_0x2a769e]===_0x6e053c([0x2a])));}function _0x529aa2(){return _0x3db35a&&_0x4709cd?new window[(_0x6e053c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x362397,_0x3cfae9)=>{_0x3db35a[_0x6e053c([0x74,0x68,0x65,0x6e])](_0x362397,_0x3cfae9),_0x4709cd[_0x6e053c([0x74,0x68,0x65,0x6e])](_0x5763ec=>{_0x5763ec!=_0x6e053c([0x56,0x61,0x6c,0x69,0x64])&&_0x362397(_0x5763ec);},_0x3cfae9);}):_0x3db35a||_0x4709cd||_0x6e053c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x22427e(_0x57bf9b,_0x49f9a2){return new window[(_0x6e053c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a4590=>{if(_0x302ae2())return _0x3a4590(_0x6e053c([0x56,0x61,0x6c,0x69,0x64]));_0x284c39(),_0x4912ff[_0x6e053c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x6e053c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1b86e2=!0x1;const _0x4febce=_0x3a4aee();function _0x4e4f4c(_0x2b76b2){return!!_0x2b76b2&&(typeof _0x2b76b2===_0x6e053c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2b76b2===_0x6e053c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2b76b2[_0x6e053c([0x74,0x68,0x65,0x6e])]===_0x6e053c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2b76b2[_0x6e053c([0x63,0x61,0x74,0x63,0x68])]===_0x6e053c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1413b8(_0x1e79d1){_0x4f1f3f(_0x1e79d1)[_0x6e053c([0x74,0x68,0x65,0x6e])](_0x3e1945=>{if(!_0x3e1945||_0x3e1945[_0x6e053c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x6e053c([0x6f,0x6b]))return _0x6e053c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x301268(_0x345c4f(_0x4febce+_0x49f9a2))!=_0x3e1945[_0x6e053c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x6e053c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x6e053c([0x56,0x61,0x6c,0x69,0x64]);})[_0x6e053c([0x74,0x68,0x65,0x6e])](_0x509d7e=>(_0x267880(),_0x509d7e),()=>{const _0x5c3549=_0x11350a();return null==_0x5c3549?(_0x267880(),_0x6e053c([0x56,0x61,0x6c,0x69,0x64])):_0x6e053c(_0x197822-_0x5c3549>(0x619b6411^_0x2c35af)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x6e053c([0x74,0x68,0x65,0x6e])](_0x3a4590)[_0x6e053c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3a4590(_0x6e053c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1d56c6=0x45a10e91^_0x2c35af;function _0x267880(){const _0x42caa8=_0x6e053c([0x6c,0x6c,0x63,0x74,0x2d])+_0x301268(_0x345c4f(_0x57bf9b)),_0x1a7f1a=_0x11b98c(_0x301268(window[_0x6e053c([0x4d,0x61,0x74,0x68])][_0x6e053c([0x63,0x65,0x69,0x6c])](_0x197822/_0x1d56c6)));window[_0x6e053c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x6e053c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x42caa8,_0x1a7f1a);}function _0x11350a(){const _0x3ecca7=_0x6e053c([0x6c,0x6c,0x63,0x74,0x2d])+_0x301268(_0x345c4f(_0x57bf9b)),_0x3d0b2f=window[_0x6e053c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x6e053c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ecca7);return _0x3d0b2f?window[_0x6e053c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11b98c(_0x3d0b2f),0x10)*_0x1d56c6:null;}function _0x4f1f3f(_0x5ecc27){return new window[(_0x6e053c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x283262,_0x459238)=>{_0x5ecc27[_0x6e053c([0x74,0x68,0x65,0x6e])](_0x283262,_0x459238),window[_0x6e053c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x459238,0x459634d1^_0x2c35af);});}}_0x4912ff[_0x6e053c([0x6f,0x6e])](_0x6e053c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xd812c4,_0x39e3cd)=>{if(_0x39e3cd[0x0]!=_0x57bf9b)return _0x3a4590(_0x6e053c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x39e3cd[0x1]={..._0x39e3cd[0x1],[_0x6e053c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4febce};},{[_0x6e053c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x6e053c([0x68,0x69,0x67,0x68])}),_0x4912ff[_0x6e053c([0x6f,0x6e])](_0x6e053c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3726b9=>{_0x4e4f4c(_0x3726b9[_0x6e053c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1b86e2=!0x0,_0x1413b8(_0x3726b9[_0x6e053c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x6e053c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x6e053c([0x6c,0x6f,0x77])}),_0x5eeb99[_0x6e053c([0x74,0x68,0x65,0x6e])](()=>{_0x1b86e2||_0x3a4590(_0x6e053c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x302ae2(){return _0x4912ff[_0x6e053c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6e053c([0x76,0x69,0x65,0x77])][_0x6e053c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x6e053c([0x61,0x75,0x74,0x6f]);}function _0x284c39(){_0x4912ff[_0x6e053c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6e053c([0x76,0x69,0x65,0x77])][_0x6e053c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x6e053c([0x61,0x75,0x74,0x6f]);}}function _0x16e6a9(_0x57f610){const _0x8d7452=[new window[(_0x6e053c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51055b=>setTimeout(_0x51055b,0x459ededd^_0x2c35af)),_0x5eeb99[_0x6e053c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x6e053c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4243c8=>{let _0xa10bd1=0x0;_0x4912ff[_0x6e053c([0x6d,0x6f,0x64,0x65,0x6c])][_0x6e053c([0x6f,0x6e])](_0x6e053c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39c2b9,_0x27046a)=>{_0x27046a[0x0][_0x6e053c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xa10bd1++,_0xa10bd1==(0x4597e1e9^_0x2c35af)&&(_0x4243c8(),_0x39c2b9[_0x6e053c([0x6f,0x66,0x66])]());});}))];return window[_0x6e053c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x6e053c([0x72,0x61,0x63,0x65])](_0x8d7452)[_0x6e053c([0x74,0x68,0x65,0x6e])](()=>_0x57f610);}async function _0x437b00(){await _0x5eeb99,_0x4912ff[_0x6e053c([0x6d,0x6f,0x64,0x65,0x6c])][_0x6e053c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1c1a21,_0x4912ff[_0x6e053c([0x6d,0x6f,0x64,0x65,0x6c])][_0x6e053c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1c1a21,_0x4912ff[_0x6e053c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x6e053c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x58bc4c(_0x4ee653){const _0x2f458e=_0x31e804();_0x4912ff[_0x2f458e]=_0x6e053c([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4ee653,_0x4ee653!=_0x6e053c([0x56,0x61,0x6c,0x69,0x64])&&_0x437b00();}function _0x31e804(){const _0x192dbc=window[_0x6e053c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x6e053c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x6e053c([0x6e,0x6f,0x77])]())[_0x6e053c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x6e053c([0x2e]),'');let _0x4d4364=_0x6e053c([0x51]);for(let _0x4afaa6=0x0;_0x4afaa6<_0x192dbc[_0x6e053c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4afaa6+=0x2){let _0x4f5aa0=window[_0x6e053c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x192dbc[_0x6e053c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4afaa6,_0x4afaa6+0x2));_0x4f5aa0>=_0x48ccc7[_0x6e053c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f5aa0-=_0x48ccc7[_0x6e053c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d4364+=_0x48ccc7[_0x4f5aa0];}return _0x4d4364;}function _0x2bdbcc(){const _0x4d8589=_0xedad02[_0x6e053c([0x73,0x70,0x6c,0x69,0x74])](_0x6e053c([0x2e]));if(0x3!=_0x4d8589[_0x6e053c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x37a35f(_0x4d8589[0x1]);function _0x37a35f(_0x15d0af){const _0x2059c6=_0x24fb1a(_0x15d0af);return _0x2059c6&&_0x46a2ba()?_0x2059c6:null;function _0x46a2ba(){const _0x3b0a14=_0x2059c6[_0x6e053c([0x6a,0x74,0x69])],_0x121f5a=window[_0x6e053c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b0a14[_0x6e053c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b0a14[_0x6e053c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x58506e={..._0x2059c6,[_0x6e053c([0x6a,0x74,0x69])]:_0x3b0a14[_0x6e053c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3b0a14[_0x6e053c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x58506e[_0x6e053c([0x76,0x63])],_0x345c4f(_0x58506e)==_0x121f5a;}}}async function _0x56ed49(){let _0x54f7a6=!0x0;try{const _0x18fbb8=_0xedad02[_0x6e053c([0x73,0x70,0x6c,0x69,0x74])](_0x6e053c([0x2e])),[_0x566ce4,_0x34d775,_0x1af495]=_0x18fbb8;return _0x593215(_0x566ce4),await _0x58ca47(_0x566ce4,_0x34d775,_0x1af495),_0x54f7a6;}catch{return!0x1;}function _0x593215(_0x1c8976){const _0x1fd9ea=_0x24fb1a(_0x1c8976);_0x1fd9ea&&_0x1fd9ea[_0x6e053c([0x61,0x6c,0x67])]==_0x6e053c([0x45,0x53,0x32,0x35,0x36])||(_0x54f7a6=!0x1);}async function _0x58ca47(_0x2d5873,_0x4fb4e8,_0x440ddf){const _0x3ed6ef=window[_0x6e053c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x6e053c([0x66,0x72,0x6f,0x6d])](_0x227911(_0x440ddf),_0x7f907e=>_0x7f907e[_0x6e053c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x56e598=new window[(_0x6e053c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x6e053c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d5873+_0x6e053c([0x2e])+_0x4fb4e8),_0x4ea935=window[_0x6e053c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x6e053c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4ea935)return;const _0x2ac2e2=await _0x4ea935[_0x6e053c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x6e053c([0x6a,0x77,0x6b]),_0x3fd8ee,{[_0x6e053c([0x6e,0x61,0x6d,0x65])]:_0x6e053c([0x45,0x43,0x44,0x53,0x41]),[_0x6e053c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x6e053c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x6e053c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4ea935[_0x6e053c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x6e053c([0x6e,0x61,0x6d,0x65])]:_0x6e053c([0x45,0x43,0x44,0x53,0x41]),[_0x6e053c([0x68,0x61,0x73,0x68])]:{[_0x6e053c([0x6e,0x61,0x6d,0x65])]:_0x6e053c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2ac2e2,_0x3ed6ef,_0x56e598)||(_0x54f7a6=!0x1);}}function _0x24fb1a(_0x30614c){return _0x30614c[_0x6e053c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x6e053c([0x65,0x79]))?JSON[_0x6e053c([0x70,0x61,0x72,0x73,0x65])](_0x227911(_0x30614c)):null;}function _0x227911(_0x1d6e36){return window[_0x6e053c([0x61,0x74,0x6f,0x62])](_0x1d6e36[_0x6e053c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x6e053c([0x2b]))[_0x6e053c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x6e053c([0x2f])));}function _0x345c4f(_0x56eee7){let _0x4ddcb7=0x1505;function _0x5351a9(_0x317ec1){for(let _0x349902=0x0;_0x349902<_0x317ec1[_0x6e053c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x349902++){const _0x2bbff1=_0x317ec1[_0x6e053c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x349902);_0x4ddcb7=(_0x4ddcb7<<0x5)+_0x4ddcb7+_0x2bbff1,_0x4ddcb7&=_0x4ddcb7;}}function _0x41d786(_0x1770d9){Array[_0x6e053c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1770d9)?_0x1770d9[_0x6e053c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x41d786):_0x1770d9&&typeof _0x1770d9==_0x6e053c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x6e053c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1770d9)[_0x6e053c([0x73,0x6f,0x72,0x74])]()[_0x6e053c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x221a34,_0x3f76cf])=>{_0x5351a9(_0x221a34),_0x41d786(_0x3f76cf);}):_0x5351a9(window[_0x6e053c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1770d9));}return _0x41d786(_0x56eee7),_0x4ddcb7>>>0x0;}function _0x301268(_0x2bb1b4){return _0x2bb1b4[_0x6e053c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x6e053c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x6e053c([0x30]));}function _0x11b98c(_0x4b41f2){return _0x4b41f2[_0x6e053c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x6e053c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x6e053c([0x6a,0x6f,0x69,0x6e])]('');}function _0x1c1a21(){}function _0x6e053c(_0x4d8c35){const _0x38b00a=_0x1fb8;return _0x4d8c35[_0x38b00a(0x209)](_0x1001f6=>String[_0x38b00a(0x1fb)](_0x1001f6))[_0x38b00a(0x205)]('');}_0x58bc4c(await _0x32882c());}(this);}[_0x3534b5(0x1ec)](){const _0x13b07d=_0x3534b5,_0x5ad290=this[_0x13b07d(0x1e9)];if(!_0x5ad290[_0x13b07d(0x208)][_0x13b07d(0x204)](_0x13b07d(0x1ee)))return;const _0x5eb97=_0x5ad290[_0x13b07d(0x208)][_0x13b07d(0x204)](_0x13b07d(0x1fc))[_0x13b07d(0x1d6)](_0x5b0e8a=>_0x13b07d(0x1f9)==typeof _0x5b0e8a&&(!_0x3fafe0(_0x5b0e8a)&&isNaN(Number(_0x5b0e8a))));if(_0x5eb97[_0x13b07d(0x1de)])throw new _0x1131a8(_0x13b07d(0x20a),null,{'namedPresets':_0x5eb97});}[_0x3534b5(0x1fa)](){const _0x3e1666=_0x3534b5,_0x18ab0b=this[_0x3e1666(0x1e9)],_0x478cd0=this[_0x3e1666(0x1e9)][_0x3e1666(0x208)][_0x3e1666(0x204)](_0x3e1666(0x1d8));_0x18ab0b[_0x3e1666(0x1f0)][_0x3e1666(0x1f7)](_0x3e1666(0x1ff))[_0x3e1666(0x1dd)]({'model':{'key':_0x3e1666(0x1fe)},'view':_0x28268e=>String(_0x28268e)===String(_0x478cd0)?null:{'key':_0x3e1666(0x1db),'value':{'line-height':_0x28268e}}}),_0x18ab0b[_0x3e1666(0x1f0)][_0x3e1666(0x1f7)](_0x3e1666(0x1e1))[_0x3e1666(0x1dd)]({'model':{'key':_0x3e1666(0x1fe),'value':_0x16a5f6=>{const _0x2a5057=_0x3e1666;let _0x31e8bc=_0x16a5f6[_0x2a5057(0x1d5)](_0x2a5057(0x203));return _0x62e3c1(_0x31e8bc)&&(_0x31e8bc=String(Number(_0x31e8bc[_0x2a5057(0x20d)](0x0,-0x1))/0x64)),String(_0x31e8bc)===String(_0x478cd0)?null:_0x31e8bc;}},'view':{'styles':{'line-height':/.*/}}});}[_0x3534b5(0x1e0)](){const _0x50db07=_0x3534b5,_0x3d8ac9=this[_0x50db07(0x1e9)],_0x4d9736=this[_0x50db07(0x1e9)][_0x50db07(0x208)][_0x50db07(0x204)](_0x50db07(0x1d8)),_0x59b9da=_0x1ea910(this[_0x50db07(0x1e9)][_0x50db07(0x208)][_0x50db07(0x204)](_0x50db07(0x1fe)))[_0x50db07(0x1d6)](_0x548e59=>_0x548e59[_0x50db07(0x1f5)]),_0x42016b=_0x110554(_0x50db07(0x1fe),_0x59b9da);_0x3d8ac9[_0x50db07(0x1f0)][_0x50db07(0x1dd)](_0x42016b),_0x3d8ac9[_0x50db07(0x1f0)][_0x50db07(0x1f7)](_0x50db07(0x1e1))[_0x50db07(0x1dd)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x50db07(0x1fe),'value':_0x38c3b4=>{const _0x215c6f=_0x50db07;let _0x31a100=_0x38c3b4[_0x215c6f(0x1d5)](_0x215c6f(0x203));return _0x62e3c1(_0x31a100)&&(_0x31a100=String(Number(_0x31a100[_0x215c6f(0x20d)](0x0,-0x1))/0x64)),_0x31a100===String(_0x4d9736)?null:_0x42016b[_0x215c6f(0x1f5)][_0x215c6f(0x1e7)][_0x215c6f(0x200)](_0x31a100)?_0x31a100:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x4c9aaf}from'ckeditor5/src/core.js';import{addListToDropdown as _0x221bc5,createDropdown as _0x48d862,MenuBarMenuListItemButtonView as _0x1aa6a9,MenuBarMenuListItemView as _0x4ed6ab,MenuBarMenuListView as _0x6f90b1,MenuBarMenuView as _0x10cb20,UIModel as _0x10ec22}from'ckeditor5/src/ui.js';import{Collection as _0x1b6217}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x3bbd27}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x5979fc}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x4c9aaf{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xb5d60d={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0xb5d60d),this['_registerMenuBarComponent'](_0xb5d60d),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5b2169=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x25dfc2;for(const _0x105d2a in _0x5b2169){const _0x11d259=_0x105d2a,_0x458a9d=_0x5b2169[_0x11d259];if('lineHeightLicenseKeyValid'==_0x458a9d||'lineHeightLicenseKeyInvalid'==_0x458a9d||'lineHeightLicenseKeyExpired'==_0x458a9d||'lineHeightLicenseKeyDomainLimit'==_0x458a9d||'lineHeightLicenseKeyNotAllowed'==_0x458a9d||'lineHeightLicenseKeyEvaluationLimit'==_0x458a9d||'lineHeightLicenseKeyTrialLimit'==_0x458a9d||'lineHeightLicenseKeyUsageLimit'==_0x458a9d){delete _0x5b2169[_0x11d259],_0x25dfc2=_0x458a9d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x25dfc2&&_0x5b2169['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x25dfc2&&_0x5b2169['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x25dfc2&&_0x5b2169['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x25dfc2&&_0x5b2169['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x25dfc2&&_0x5b2169['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x25dfc2&&_0x5b2169['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x25dfc2&&_0x5b2169['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x4950ca=this['editor'],t=_0x4950ca['t'],_0x539f32=_0x4950ca['config']['get']('lineHeight'),_0x68bc4c={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x5979fc(_0x539f32)['map'](_0x44cd75=>{const _0xae73cf=_0x68bc4c[_0x44cd75['title']];return _0xae73cf&&_0xae73cf!=_0x44cd75['title']&&(_0x44cd75=Object['assign']({},_0x44cd75,{'title':_0xae73cf})),_0x44cd75;});}['_prepareListOptions'](){const _0x371283=this['editor']['commands']['get']('lineHeight'),_0x34f6ca=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3b4b38=this['_getLocalizedLineHeightOptions'](),_0x5e5a83=new _0x1b6217(),_0x4b1fa8=_0x551fa1=>'default'===_0x551fa1||String(_0x34f6ca)===_0x551fa1;for(const _0x3db28e of _0x3b4b38){const _0x605aaa={'type':'button','model':new _0x10ec22({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x3db28e['title'],'withText':!0x0})};_0x4b1fa8(_0x3db28e['model'])?(_0x605aaa['model']['bind']('isOn')['to'](_0x371283,'value',_0x3150bf=>!_0x3150bf),_0x605aaa['model']['commandParam']=void 0x0):(_0x605aaa['model']['bind']('isOn')['to'](_0x371283,'value',_0x437948=>_0x437948===_0x3db28e['model']),_0x605aaa['model']['commandParam']=_0x3db28e['model']),_0x5e5a83['add'](_0x605aaa);}if(this['_shouldRenderCustomValueOption']()){const _0x1be4ce=this['_getCustomValueOptionDefinition'](_0x3b4b38);_0x5e5a83['add'](_0x1be4ce);}return _0x5e5a83;}['_getCustomValueOptionDefinition'](_0xde0be5){const _0x4cd426=this['editor'],t=_0x4cd426['t'],_0xedee2c=_0x4cd426['commands']['get']('lineHeight'),_0x2767fb=_0xde0be5['map'](_0xcc408c=>_0xcc408c['model']),_0xd5a92d={'type':'button','model':new _0x10ec22({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0xd5a92d['model']['bind']('commandParam')['to'](_0xedee2c,'value'),_0xd5a92d['model']['bind']('isOn')['to'](_0xedee2c,'value',_0x2be070=>!!_0x2be070&&!_0x2767fb['includes'](String(_0x2be070))),_0xd5a92d['model']['bind']('label')['to'](_0xedee2c,'value',_0x13c7fc=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x13c7fc))),_0xd5a92d;}['_registerToolbarComponent']({accessibleLabel:_0x1c42ba,options:_0x1735d2}){const _0x128fdc=this['editor'],_0x18f3c5=_0x128fdc['commands']['get']('lineHeight');_0x128fdc['ui']['componentFactory']['add']('lineHeight',_0x3e5e1d=>{const _0x12fd93=_0x48d862(_0x3e5e1d);return _0x221bc5(_0x12fd93,_0x1735d2,{'role':'menu','ariaLabel':_0x1c42ba}),_0x12fd93['buttonView']['set']({'label':_0x1c42ba,'tooltip':!0x0,'icon':_0x3bbd27}),_0x12fd93['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x12fd93['bind']('isEnabled')['to'](_0x18f3c5),this['listenTo'](_0x12fd93,'execute',_0x5ccede=>{_0x128fdc['execute'](_0x5ccede['source']['commandName'],{'value':_0x5ccede['source']['commandParam']}),_0x128fdc['editing']['view']['focus']();}),_0x12fd93['once']('change:isOpen',()=>{const _0x2e9ef8=_0x12fd93['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x12fd93,_0x1735d2,_0x2e9ef8);}),_0x12fd93;});}['_registerMenuBarComponent']({accessibleLabel:_0x57efdc,options:_0x2b4bca}){const _0x2c6602=this['editor'],_0x53324a=_0x2c6602['commands']['get']('lineHeight');_0x2c6602['ui']['componentFactory']['add']('menuBar:lineHeight',_0x49bc76=>{const _0x2ca525=new _0x10cb20(_0x49bc76);_0x2ca525['buttonView']['set']({'label':_0x57efdc,'icon':_0x3bbd27}),_0x2ca525['bind']('isEnabled')['to'](_0x53324a);const _0x159e32=new _0x6f90b1(_0x49bc76);for(const _0x24cd31 of _0x2b4bca){const _0x57c898=new _0x4ed6ab(_0x49bc76,_0x2ca525),_0xeee71d=new _0x1aa6a9(_0x49bc76);_0xeee71d['set']({'role':'menuitemradio','isToggleable':!0x0}),_0xeee71d['bind'](...Object['keys'](_0x24cd31['model']))['to'](_0x24cd31['model']),_0xeee71d['delegate']('execute')['to'](_0x2ca525),_0xeee71d['on']('execute',()=>{_0x2c6602['execute'](_0x24cd31['model']['commandName'],{'value':_0x24cd31['model']['commandParam']}),_0x2c6602['editing']['view']['focus']();}),_0x57c898['children']['add'](_0xeee71d),_0x159e32['items']['add'](_0x57c898);}return _0x2ca525['panelView']['children']['add'](_0x159e32),this['_attachCustomOptionVisibilityHandler'](_0x2ca525,_0x2b4bca,_0x159e32),_0x2ca525;});}['_attachCustomOptionVisibilityHandler'](_0x42d373,_0x417890,_0x14bfe2){if(!this['_shouldRenderCustomValueOption']())return;const _0x29cd72=()=>{if(!_0x42d373['isOpen'])return;_0x14bfe2['items']['last']['isVisible']=Boolean(_0x417890['last']['model']['isOn']);};_0x29cd72(),_0x42d373['on']('change:isOpen',()=>{_0x29cd72();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x377516,_0x2ab491){const _0x12f8f3=_0x334b,_0x1c8cdd=_0x377516();while(!![]){try{const _0x39a46d=parseInt(_0x12f8f3(0x1e6))/0x1*(-parseInt(_0x12f8f3(0x1f4))/0x2)+parseInt(_0x12f8f3(0x1e1))/0x3+parseInt(_0x12f8f3(0x1e3))/0x4*(-parseInt(_0x12f8f3(0x1e5))/0x5)+-parseInt(_0x12f8f3(0x1f9))/0x6*(parseInt(_0x12f8f3(0x203))/0x7)+-parseInt(_0x12f8f3(0x1e9))/0x8+parseInt(_0x12f8f3(0x200))/0x9*(parseInt(_0x12f8f3(0x1e4))/0xa)+parseInt(_0x12f8f3(0x1e2))/0xb;if(_0x39a46d===_0x2ab491)break;else _0x1c8cdd['push'](_0x1c8cdd['shift']());}catch(_0x594c35){_0x1c8cdd['push'](_0x1c8cdd['shift']());}}}(_0x5b3f,0x240ca));const v={get 'single'(){const _0x4540a3=_0x334b;return{'title':_0x4540a3(0x201),'model':_0x4540a3(0x1f5),'view':{'key':_0x4540a3(0x1fb),'value':_0x4540a3(0x1ff)}};},get 'double'(){const _0x289f9d=_0x334b;return{'title':_0x289f9d(0x202),'model':_0x289f9d(0x1ed),'view':{'key':_0x289f9d(0x1fb),'value':_0x289f9d(0x1fe)}};}};function _0x5b3f(){const _0x79a55f=['single','toLowerCase','default','string','78018csUrCc','view','class','style','value','line-height-double','line-height-single','9rrOSYh','Single','Double','133NZsMZH','162945KNRckD','3706131ZYYneA','44KLRumF','2849370dbdXBu','31445QfqGCu','94084mPNCrA','line-height:','filter','192888xqYnpw','number','options','push','double','key','model','values','span','map','defaultValue','4RbfsIL'];_0x5b3f=function(){return _0x79a55f;};return _0x5b3f();}export function isLineHeightDefaultValue(_0x1b8bef){const _0x1af2bf=_0x334b;return _0x1af2bf(0x1f8)==typeof _0x1b8bef&&_0x1af2bf(0x1f7)===_0x1b8bef[_0x1af2bf(0x1f6)]();}function _0x334b(_0x168605,_0x41f8b6){const _0x5b3fb8=_0x5b3f();return _0x334b=function(_0x334b2a,_0x5a32b4){_0x334b2a=_0x334b2a-0x1e1;let _0x4f5ee9=_0x5b3fb8[_0x334b2a];return _0x4f5ee9;},_0x334b(_0x168605,_0x41f8b6);}export function normalizeOptions(_0x4c32fe){const _0x5276ea=_0x334b;return _0x4c32fe[_0x5276ea(0x1eb)][_0x5276ea(0x1f2)](_0x48dab6=>isLineHeightDefaultValue(_0x48dab6)?{'title':String(_0x4c32fe[_0x5276ea(0x1f3)]),'model':_0x5276ea(0x1f7)}:(_0x5276ea(0x1ea)==typeof _0x48dab6&&(_0x48dab6=String(_0x48dab6)),_0x5276ea(0x1f8)!=typeof _0x48dab6?_0x48dab6:parseFloat(_0x48dab6)?{'title':_0x48dab6,'model':_0x48dab6,'view':{'name':_0x5276ea(0x1f1),'styles':{'line-height':_0x48dab6}}}:findPreset(_0x48dab6)))[_0x5276ea(0x1e8)](_0x13f636=>void 0x0!==_0x13f636);}export function findPreset(_0x4194a2){const _0x31d24f=_0x334b;return _0x31d24f(0x1f8)==typeof _0x4194a2?v[_0x4194a2]:v[_0x4194a2[_0x31d24f(0x1ef)]];}export function buildDefinition(_0x16fa64,_0xbe0de){const _0xf49340=_0x334b,_0x1240fc={'model':{'key':_0x16fa64,'values':[]},'view':{}};for(const _0x3f822f of _0xbe0de)_0xf49340(0x1fb)===_0x3f822f[_0xf49340(0x1fa)]?.[_0xf49340(0x1ee)]?(_0x1240fc[_0xf49340(0x1ef)][_0xf49340(0x1f0)][_0xf49340(0x1ec)](_0x3f822f[_0xf49340(0x1ef)]),_0x1240fc[_0xf49340(0x1fa)][_0x3f822f[_0xf49340(0x1ef)]]={'key':_0xf49340(0x1fb),'value':_0x3f822f[_0xf49340(0x1fa)][_0xf49340(0x1fd)]}):(_0x1240fc[_0xf49340(0x1ef)][_0xf49340(0x1f0)][_0xf49340(0x1ec)](_0x3f822f[_0xf49340(0x1ef)]),_0x1240fc[_0xf49340(0x1fa)][_0x3f822f[_0xf49340(0x1ef)]]={'key':_0xf49340(0x1fc),'value':_0xf49340(0x1e7)+_0x3f822f[_0xf49340(0x1ef)]+';'});return _0x1240fc;}
|