@ckeditor/ckeditor5-line-height 46.0.0-alpha.6 → 46.0.0-alpha.8
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 _0x597a(_0x5eff4f,_0x37ffdd){const _0x1fad23=_0x1fad();return _0x597a=function(_0x597a3b,_0x31c325){_0x597a3b=_0x597a3b-0xc7;let _0xbbb073=_0x1fad23[_0x597a3b];return _0xbbb073;},_0x597a(_0x5eff4f,_0x37ffdd);}const _0x322f8d=_0x597a;(function(_0x3e6c57,_0xf76fe4){const _0x22a85a=_0x597a,_0x3c56c1=_0x3e6c57();while(!![]){try{const _0x140a3a=-parseInt(_0x22a85a(0xc8))/0x1*(-parseInt(_0x22a85a(0xdc))/0x2)+-parseInt(_0x22a85a(0xd7))/0x3+-parseInt(_0x22a85a(0xcb))/0x4*(-parseInt(_0x22a85a(0xe4))/0x5)+parseInt(_0x22a85a(0xcc))/0x6*(parseInt(_0x22a85a(0xd5))/0x7)+parseInt(_0x22a85a(0xe3))/0x8*(-parseInt(_0x22a85a(0xde))/0x9)+parseInt(_0x22a85a(0xe1))/0xa*(-parseInt(_0x22a85a(0xe5))/0xb)+-parseInt(_0x22a85a(0xd6))/0xc*(-parseInt(_0x22a85a(0xdf))/0xd);if(_0x140a3a===_0xf76fe4)break;else _0x3c56c1['push'](_0x3c56c1['shift']());}catch(_0xd51cc0){_0x3c56c1['push'](_0x3c56c1['shift']());}}}(_0x1fad,0x6a6ab));import{Command as _0x5490a6}from'ckeditor5/src/core.js';import{first as _0x70d00}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x5490a6{[_0x322f8d(0xe0)](){const _0x2152c5=_0x322f8d,_0x27538b=this[_0x2152c5(0xdb)][_0x2152c5(0xce)][_0x2152c5(0xdd)],_0x38ed14=_0x70d00(_0x27538b[_0x2152c5(0xd4)][_0x2152c5(0xcd)]());this[_0x2152c5(0xd8)]=Boolean(_0x38ed14)&&this[_0x2152c5(0xcf)](_0x38ed14),this[_0x2152c5(0xc7)]=this[_0x2152c5(0xd8)]&&_0x38ed14[_0x2152c5(0xe6)](_0x2152c5(0xd9));}[_0x322f8d(0xd2)](_0x6f71bf={}){const _0x2649fe=_0x322f8d,_0x527079=this[_0x2649fe(0xdb)][_0x2649fe(0xce)],_0x2963df=_0x527079[_0x2649fe(0xdd)][_0x2649fe(0xd4)],_0x325d08=_0x6f71bf[_0x2649fe(0xc7)];_0x527079[_0x2649fe(0xc9)](_0x178bcb=>{const _0x6b7177=_0x2649fe,_0x5aa359=Array[_0x6b7177(0xd1)](_0x2963df[_0x6b7177(0xcd)]())[_0x6b7177(0xd0)](_0x25d29a=>this[_0x6b7177(0xcf)](_0x25d29a));for(const _0x2fddc5 of _0x5aa359)_0x325d08?_0x178bcb[_0x6b7177(0xca)](_0x6b7177(0xd9),_0x325d08,_0x2fddc5):_0x178bcb[_0x6b7177(0xda)](_0x6b7177(0xd9),_0x2fddc5);});}[_0x322f8d(0xcf)](_0x50b517){const _0x84a3cd=_0x322f8d;return this[_0x84a3cd(0xdb)][_0x84a3cd(0xce)][_0x84a3cd(0xd3)][_0x84a3cd(0xe2)](_0x50b517,_0x84a3cd(0xd9));}}function _0x1fad(){const _0xb1a30d=['_canHaveLineHeight','filter','from','execute','schema','selection','31773IdiHfK','12BILKEV','992289Uegwft','isEnabled','lineHeight','removeAttribute','editor','2voHQrG','document','9QAhxAI','702325heiEGD','refresh','473870qnAIrq','checkAttribute','6340808fbMsra','810TTyCSh','22geDzpb','getAttribute','value','761613ZqTCBf','change','setAttribute','7364KJKgre','714HdnILo','getSelectedBlocks','model'];_0x1fad=function(){return _0xb1a30d;};return _0x1fad();}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xffd72c=_0x44b5;(function(_0xb73f78,_0x3cfb76){const _0x2ecbf6=_0x44b5,_0xf12b97=_0xb73f78();while(!![]){try{const _0x2c5811=-parseInt(_0x2ecbf6(0xee))/0x1+-parseInt(_0x2ecbf6(0xda))/0x2*(-parseInt(_0x2ecbf6(0x103))/0x3)+-parseInt(_0x2ecbf6(0xdb))/0x4*(parseInt(_0x2ecbf6(0xf3))/0x5)+-parseInt(_0x2ecbf6(0xe5))/0x6+parseInt(_0x2ecbf6(0xe4))/0x7+-parseInt(_0x2ecbf6(0xff))/0x8*(-parseInt(_0x2ecbf6(0x100))/0x9)+parseInt(_0x2ecbf6(0xf2))/0xa*(parseInt(_0x2ecbf6(0xd2))/0xb);if(_0x2c5811===_0x3cfb76)break;else _0xf12b97['push'](_0xf12b97['shift']());}catch(_0x763df4){_0xf12b97['push'](_0xf12b97['shift']());}}}(_0x3221,0x7f8c8));import{Plugin as _0x3ea5fd}from'ckeditor5/src/core.js';function _0x3221(){const _0x429119=['filter','349634VANrfm','commands','_prepareAnyValueConverters','model','410vbcRxw','35coNcLV','_validateConfig','slice','isOfficialPlugin','length','LineHeightEditing','attributeToAttribute','downcast','extend','lineHeight.defaultValue','fromCharCode','lineHeight','2312mokbWm','3339ZAcOgM','afterInit','conversion','9QXFuDu','lineHeight.supportAllValues','schema','style','upcast','define','205073ZdaDvQ','default','get','editor','includes','isPremiumPlugin','string','$block','322502idwqRv','182844NqTunR','lineHeight.options','getStyle','setAttributeProperties','map','join','add','line-height-invalid-use-of-named-presets','values','4908169tfTcnb','5186706QeHoCr','pluginName','_preparePredefinedConverters','config','for','line-height','href','init'];_0x3221=function(){return _0x429119;};return _0x3221();}import{LineHeightCommand as _0x501894}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x48ae8d}from'ckeditor5/src/engine.js';function _0x44b5(_0x3ec7a3,_0x342a76){const _0x3221bd=_0x3221();return _0x44b5=function(_0x44b5a4,_0x448f11){_0x44b5a4=_0x44b5a4-0xce;let _0x5162e2=_0x3221bd[_0x44b5a4];return _0x5162e2;},_0x44b5(_0x3ec7a3,_0x342a76);}import{uid as _0x1112ec,CKEditorError as _0x51979d}from'ckeditor5/src/utils.js';import{buildDefinition as _0x4a39f2,isLineHeightDefaultValue as _0x5792c1,normalizeOptions as _0x59255a}from'./utils.js';export class LineHeightEditing extends _0x3ea5fd{static get[_0xffd72c(0xe6)](){const _0x27a300=_0xffd72c;return _0x27a300(0xf8);}static get[_0xffd72c(0xf6)](){return!0x0;}static get[_0xffd72c(0xd7)](){return!0x0;}constructor(_0x35d0c5){const _0x1e6e0b=_0xffd72c;super(_0x35d0c5),_0x35d0c5[_0x1e6e0b(0xe8)][_0x1e6e0b(0xd1)](_0x1e6e0b(0xfe),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x1e6e0b(0xd3),0x2,2.5,0x3]});}[_0xffd72c(0xec)](){const _0x5f7ab1=_0xffd72c,_0x61f656=this[_0x5f7ab1(0xd5)];this[_0x5f7ab1(0xf4)](),_0x61f656[_0x5f7ab1(0xf1)][_0x5f7ab1(0xce)][_0x5f7ab1(0xfb)](_0x5f7ab1(0xd9),{'allowAttributes':_0x5f7ab1(0xfe)}),_0x61f656[_0x5f7ab1(0xf1)][_0x5f7ab1(0xce)][_0x5f7ab1(0xde)](_0x5f7ab1(0xfe),{'isFormatting':!0x0}),_0x61f656[_0x5f7ab1(0xef)][_0x5f7ab1(0xe1)](_0x5f7ab1(0xfe),new _0x501894(_0x61f656)),this[_0x5f7ab1(0xd5)][_0x5f7ab1(0xe8)][_0x5f7ab1(0xd4)](_0x5f7ab1(0x104))?this[_0x5f7ab1(0xf0)]():this[_0x5f7ab1(0xe7)]();}[_0xffd72c(0x101)](){!async function(_0x3c777a){const _0x59f079=_0x3a8773([0x64,0x53,0x79,0x72,0x66,0x70,0x58,0x35,0x32,0x50,0x75,0x6b,0x45,0x65,0x6a,0x54,0x56,0x6e,0x76,0x51,0x44,0x4e,0x63,0x41,0x62,0x4b,0x52,0x73,0x36,0x39,0x55,0x4c,0x4d,0x69,0x68,0x43,0x42,0x61,0x30,0x4f,0x48,0x67,0x74,0x6d,0x46,0x77,0x47,0x57,0x7a,0x37,0x6f,0x31,0x33,0x49,0x5a,0x34,0x71,0x59,0x4a,0x38,0x78,0x6c]),_0x58b457=0x72de09af,_0x9a3ed1=0x72d9654f^_0x58b457,_0x41e0f0=window[_0x3a8773([0x44,0x61,0x74,0x65])][_0x3a8773([0x6e,0x6f,0x77])](),_0x3bf464=_0x3c777a[_0x3a8773([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x12523f=new window[(_0x3a8773([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44a651=>{_0x3bf464[_0x3a8773([0x6f,0x6e,0x63,0x65])](_0x3a8773([0x72,0x65,0x61,0x64,0x79]),_0x44a651);}),_0xd5fa38={[_0x3a8773([0x6b,0x74,0x79])]:_0x3a8773([0x45,0x43]),[_0x3a8773([0x75,0x73,0x65])]:_0x3a8773([0x73,0x69,0x67]),[_0x3a8773([0x63,0x72,0x76])]:_0x3a8773([0x50,0x2d,0x32,0x35,0x36]),[_0x3a8773([0x78])]:_0x3a8773([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]),[_0x3a8773([0x79])]:_0x3a8773([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]),[_0x3a8773([0x61,0x6c,0x67])]:_0x3a8773([0x45,0x53,0x32,0x35,0x36])},_0x26c674=_0x3bf464[_0x3a8773([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a8773([0x67,0x65,0x74])](_0x3a8773([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5a7b38(){let _0x358585,_0xae98a8=null,_0x15de2a=null;try{if(_0x26c674==_0x3a8773([0x47,0x50,0x4c]))return _0x3a8773([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x358585=_0x5d9df3(),!_0x358585)return _0x3a8773([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x358585[_0x3a8773([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x15de2a=_0xf40e9(_0x358585[_0x3a8773([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x358585[_0x3a8773([0x6a,0x74,0x69])])),await _0x18070f()?_0x461841()?_0x959828()?_0x3a8773([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2438d7()?(_0x358585[_0x3a8773([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a8773([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xae98a8=_0x299c08(_0x3a8773([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x358585[_0x3a8773([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a8773([0x74,0x72,0x69,0x61,0x6c])&&(_0xae98a8=_0x299c08(_0x3a8773([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe52be5()):_0x3a8773([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a8773([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a8773([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3a8773([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x959828(){const _0xe81268=[_0x3a8773([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a8773([0x74,0x72,0x69,0x61,0x6c])][_0x3a8773([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x358585[_0x3a8773([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41e0f0/0x3e8:0xe10*_0x9a3ed1;return _0x358585[_0x3a8773([0x65,0x78,0x70])]<_0xe81268;}function _0x461841(){const _0x509b84=_0x358585[_0x3a8773([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x509b84&&(!!_0x509b84[_0x3a8773([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a8773([0x2a]))||!!_0x509b84[_0x3a8773([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a8773([0x4c,0x48])));}function _0x2438d7(){const _0x4d3678=_0x44b5,_0x5545f0=_0x358585[_0x3a8773([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5545f0||0x0==_0x5545f0[_0x3a8773([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x41ba9f}=new URL(window[_0x3a8773([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4d3678(0xeb)]);if(_0x5545f0[_0x3a8773([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41ba9f))return!0x0;const _0x3bf232=_0x41ba9f[_0x3a8773([0x73,0x70,0x6c,0x69,0x74])](_0x3a8773([0x2e]));return _0x5545f0[_0x3a8773([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xac1eb3=>_0xac1eb3[_0x3a8773([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a8773([0x2a])))[_0x3a8773([0x6d,0x61,0x70])](_0x3f9268=>_0x3f9268[_0x3a8773([0x73,0x70,0x6c,0x69,0x74])](_0x3a8773([0x2e])))[_0x3a8773([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x175f99=>_0x175f99[_0x3a8773([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3bf232[_0x3a8773([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a8773([0x6d,0x61,0x70])](_0xc6cf87=>Array(_0x3bf232[_0x3a8773([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xc6cf87[_0x3a8773([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a8773([0x66,0x69,0x6c,0x6c])](_0xc6cf87[0x0]===_0x3a8773([0x2a])?_0x3a8773([0x2a]):'')[_0x3a8773([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xc6cf87))[_0x3a8773([0x73,0x6f,0x6d,0x65])](_0x444386=>_0x3bf232[_0x3a8773([0x65,0x76,0x65,0x72,0x79])]((_0x5a500b,_0xb5f6ad)=>_0x444386[_0xb5f6ad]===_0x5a500b||_0x444386[_0xb5f6ad]===_0x3a8773([0x2a])));}function _0xe52be5(){return _0xae98a8&&_0x15de2a?new window[(_0x3a8773([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x408bfc,_0x211f28)=>{_0xae98a8[_0x3a8773([0x74,0x68,0x65,0x6e])](_0x408bfc,_0x211f28),_0x15de2a[_0x3a8773([0x74,0x68,0x65,0x6e])](_0x5996bb=>{_0x5996bb!=_0x3a8773([0x56,0x61,0x6c,0x69,0x64])&&_0x408bfc(_0x5996bb);},_0x211f28);}):_0xae98a8||_0x15de2a||_0x3a8773([0x56,0x61,0x6c,0x69,0x64]);}}function _0xf40e9(_0x62734f,_0x49d888){return new window[(_0x3a8773([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d4f5c=>{if(_0x198027())return _0x1d4f5c(_0x3a8773([0x56,0x61,0x6c,0x69,0x64]));_0x334273(),_0x3bf464[_0x3a8773([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a8773([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x294198=!0x1;const _0x5e7584=_0x1112ec();function _0x9a6d8e(_0x5af925){return!!_0x5af925&&(typeof _0x5af925===_0x3a8773([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5af925===_0x3a8773([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5af925[_0x3a8773([0x74,0x68,0x65,0x6e])]===_0x3a8773([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5af925[_0x3a8773([0x63,0x61,0x74,0x63,0x68])]===_0x3a8773([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2a8aa7(_0x5eb3e4){_0x53c7ed(_0x5eb3e4)[_0x3a8773([0x74,0x68,0x65,0x6e])](_0x54ad5e=>{if(!_0x54ad5e||_0x54ad5e[_0x3a8773([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a8773([0x6f,0x6b]))return _0x3a8773([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4659f4(_0x297383(_0x5e7584+_0x49d888))!=_0x54ad5e[_0x3a8773([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a8773([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a8773([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a8773([0x74,0x68,0x65,0x6e])](_0x32db4a=>(_0x52e1f0(),_0x32db4a),()=>{const _0x3b191f=_0x38486e();return null==_0x3b191f?(_0x52e1f0(),_0x3a8773([0x56,0x61,0x6c,0x69,0x64])):_0x3a8773(_0x41e0f0-_0x3b191f>(0x56d28daf^_0x58b457)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a8773([0x74,0x68,0x65,0x6e])](_0x1d4f5c)[_0x3a8773([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d4f5c(_0x3a8773([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1c7646=0x72e8e72f^_0x58b457;function _0x52e1f0(){const _0x33d308=_0x3a8773([0x6c,0x6c,0x63,0x74,0x2d])+_0x4659f4(_0x297383(_0x62734f)),_0x2e65d5=_0x6519a3(_0x4659f4(window[_0x3a8773([0x4d,0x61,0x74,0x68])][_0x3a8773([0x63,0x65,0x69,0x6c])](_0x41e0f0/_0x1c7646)));window[_0x3a8773([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a8773([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33d308,_0x2e65d5);}function _0x38486e(){const _0x5e1468=_0x3a8773([0x6c,0x6c,0x63,0x74,0x2d])+_0x4659f4(_0x297383(_0x62734f)),_0x151ef5=window[_0x3a8773([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a8773([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e1468);return _0x151ef5?window[_0x3a8773([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6519a3(_0x151ef5),0x10)*_0x1c7646:null;}function _0x53c7ed(_0x56e59f){return new window[(_0x3a8773([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b391d,_0x5f1bba)=>{_0x56e59f[_0x3a8773([0x74,0x68,0x65,0x6e])](_0x3b391d,_0x5f1bba),window[_0x3a8773([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5f1bba,0x72dfdd6f^_0x58b457);});}}_0x3bf464[_0x3a8773([0x6f,0x6e])](_0x3a8773([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1a7317,_0x4e237c)=>{if(_0x4e237c[0x0]!=_0x62734f)return _0x1d4f5c(_0x3a8773([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4e237c[0x1]={..._0x4e237c[0x1],[_0x3a8773([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5e7584};},{[_0x3a8773([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a8773([0x68,0x69,0x67,0x68])}),_0x3bf464[_0x3a8773([0x6f,0x6e])](_0x3a8773([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1d39d5=>{_0x9a6d8e(_0x1d39d5[_0x3a8773([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x294198=!0x0,_0x2a8aa7(_0x1d39d5[_0x3a8773([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a8773([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a8773([0x6c,0x6f,0x77])}),_0x12523f[_0x3a8773([0x74,0x68,0x65,0x6e])](()=>{_0x294198||_0x1d4f5c(_0x3a8773([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x198027(){return _0x3bf464[_0x3a8773([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a8773([0x76,0x69,0x65,0x77])][_0x3a8773([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a8773([0x61,0x75,0x74,0x6f]);}function _0x334273(){_0x3bf464[_0x3a8773([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a8773([0x76,0x69,0x65,0x77])][_0x3a8773([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a8773([0x61,0x75,0x74,0x6f]);}}function _0x299c08(_0x500716){const _0x360a22=[new window[(_0x3a8773([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cad81=>setTimeout(_0x2cad81,0x72d73763^_0x58b457)),_0x12523f[_0x3a8773([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a8773([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47ec86=>{let _0x2de4aa=0x0;_0x3bf464[_0x3a8773([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a8773([0x6f,0x6e])](_0x3a8773([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1cb97e,_0x4d3736)=>{_0x4d3736[0x0][_0x3a8773([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2de4aa++,_0x2de4aa==(0x72de0857^_0x58b457)&&(_0x47ec86(),_0x1cb97e[_0x3a8773([0x6f,0x66,0x66])]());});}))];return window[_0x3a8773([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a8773([0x72,0x61,0x63,0x65])](_0x360a22)[_0x3a8773([0x74,0x68,0x65,0x6e])](()=>_0x500716);}async function _0x24eaf2(){await _0x12523f,_0x3bf464[_0x3a8773([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a8773([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1e85c6,_0x3bf464[_0x3a8773([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a8773([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1e85c6,_0x3bf464[_0x3a8773([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a8773([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5298cd(_0x37e1f1){const _0x1eceb9=_0x113c30();_0x3bf464[_0x1eceb9]=_0x3a8773([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x37e1f1,_0x37e1f1!=_0x3a8773([0x56,0x61,0x6c,0x69,0x64])&&_0x24eaf2();}function _0x113c30(){const _0x318add=window[_0x3a8773([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a8773([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a8773([0x6e,0x6f,0x77])]())[_0x3a8773([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a8773([0x2e]),'');let _0x371e53=_0x3a8773([0x64]);for(let _0x25ebec=0x0;_0x25ebec<_0x318add[_0x3a8773([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x25ebec+=0x2){let _0x2869d5=window[_0x3a8773([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x318add[_0x3a8773([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x25ebec,_0x25ebec+0x2));_0x2869d5>=_0x59f079[_0x3a8773([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2869d5-=_0x59f079[_0x3a8773([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x371e53+=_0x59f079[_0x2869d5];}return _0x371e53;}function _0x5d9df3(){const _0x4f972c=_0x26c674[_0x3a8773([0x73,0x70,0x6c,0x69,0x74])](_0x3a8773([0x2e]));if(0x3!=_0x4f972c[_0x3a8773([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5ce9a9(_0x4f972c[0x1]);function _0x5ce9a9(_0x1f4a94){const _0x5b0548=_0x621dd5(_0x1f4a94);return _0x5b0548&&_0x2a89ce()?_0x5b0548:null;function _0x2a89ce(){const _0x22804c=_0x5b0548[_0x3a8773([0x6a,0x74,0x69])],_0x3ad556=window[_0x3a8773([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22804c[_0x3a8773([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22804c[_0x3a8773([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x57ab10={..._0x5b0548,[_0x3a8773([0x6a,0x74,0x69])]:_0x22804c[_0x3a8773([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x22804c[_0x3a8773([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x57ab10[_0x3a8773([0x76,0x63])],_0x297383(_0x57ab10)==_0x3ad556;}}}async function _0x18070f(){let _0x1b80f7=!0x0;try{const _0x9d1a4a=_0x26c674[_0x3a8773([0x73,0x70,0x6c,0x69,0x74])](_0x3a8773([0x2e])),[_0x8311ac,_0x4b09b3,_0x3f0d16]=_0x9d1a4a;return _0x397233(_0x8311ac),await _0x400b9a(_0x8311ac,_0x4b09b3,_0x3f0d16),_0x1b80f7;}catch{return!0x1;}function _0x397233(_0x4b4155){const _0x573c7b=_0x621dd5(_0x4b4155);_0x573c7b&&_0x573c7b[_0x3a8773([0x61,0x6c,0x67])]==_0x3a8773([0x45,0x53,0x32,0x35,0x36])||(_0x1b80f7=!0x1);}async function _0x400b9a(_0x25ff4b,_0x3ee8c6,_0x303776){const _0x58ecf1=window[_0x3a8773([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a8773([0x66,0x72,0x6f,0x6d])](_0x31dc80(_0x303776),_0x473af6=>_0x473af6[_0x3a8773([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f9267=new window[(_0x3a8773([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a8773([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x25ff4b+_0x3a8773([0x2e])+_0x3ee8c6),_0x71a4e9=window[_0x3a8773([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a8773([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x71a4e9)return;const _0x12915a=await _0x71a4e9[_0x3a8773([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a8773([0x6a,0x77,0x6b]),_0xd5fa38,{[_0x3a8773([0x6e,0x61,0x6d,0x65])]:_0x3a8773([0x45,0x43,0x44,0x53,0x41]),[_0x3a8773([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a8773([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a8773([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x71a4e9[_0x3a8773([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a8773([0x6e,0x61,0x6d,0x65])]:_0x3a8773([0x45,0x43,0x44,0x53,0x41]),[_0x3a8773([0x68,0x61,0x73,0x68])]:{[_0x3a8773([0x6e,0x61,0x6d,0x65])]:_0x3a8773([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12915a,_0x58ecf1,_0x2f9267)||(_0x1b80f7=!0x1);}}function _0x621dd5(_0x4e6aa9){return _0x4e6aa9[_0x3a8773([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a8773([0x65,0x79]))?JSON[_0x3a8773([0x70,0x61,0x72,0x73,0x65])](_0x31dc80(_0x4e6aa9)):null;}function _0x31dc80(_0x59a32c){return window[_0x3a8773([0x61,0x74,0x6f,0x62])](_0x59a32c[_0x3a8773([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a8773([0x2b]))[_0x3a8773([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a8773([0x2f])));}function _0x297383(_0x5cdd66){let _0x3e1c34=0x1505;function _0x233f28(_0x5ba5a2){for(let _0x3c40ef=0x0;_0x3c40ef<_0x5ba5a2[_0x3a8773([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c40ef++){const _0x5d95f7=_0x5ba5a2[_0x3a8773([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3c40ef);_0x3e1c34=(_0x3e1c34<<0x5)+_0x3e1c34+_0x5d95f7,_0x3e1c34&=_0x3e1c34;}}function _0x38f7db(_0x1988a0){Array[_0x3a8773([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1988a0)?_0x1988a0[_0x3a8773([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x38f7db):_0x1988a0&&typeof _0x1988a0==_0x3a8773([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a8773([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1988a0)[_0x3a8773([0x73,0x6f,0x72,0x74])]()[_0x3a8773([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3b7e5a,_0x56d98a])=>{_0x233f28(_0x3b7e5a),_0x38f7db(_0x56d98a);}):_0x233f28(window[_0x3a8773([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1988a0));}return _0x38f7db(_0x5cdd66),_0x3e1c34>>>0x0;}function _0x4659f4(_0x3beb11){return _0x3beb11[_0x3a8773([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a8773([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a8773([0x30]));}function _0x6519a3(_0x2fa4a8){return _0x2fa4a8[_0x3a8773([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a8773([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a8773([0x6a,0x6f,0x69,0x6e])]('');}function _0x1e85c6(){}function _0x3a8773(_0x5c3568){const _0x54faab=_0x44b5;return _0x5c3568[_0x54faab(0xdf)](_0x2e3127=>String[_0x54faab(0xfd)](_0x2e3127))[_0x54faab(0xe0)]('');}_0x5298cd(await _0x5a7b38());}(this);}[_0xffd72c(0xf4)](){const _0x203cf7=_0xffd72c,_0xbf447a=this[_0x203cf7(0xd5)];if(!_0xbf447a[_0x203cf7(0xe8)][_0x203cf7(0xd4)](_0x203cf7(0x104)))return;const _0x3dda0d=_0xbf447a[_0x203cf7(0xe8)][_0x203cf7(0xd4)](_0x203cf7(0xdc))[_0x203cf7(0xed)](_0x4b68ac=>_0x203cf7(0xd8)==typeof _0x4b68ac&&(!_0x5792c1(_0x4b68ac)&&isNaN(Number(_0x4b68ac))));if(_0x3dda0d[_0x203cf7(0xf7)])throw new _0x51979d(_0x203cf7(0xe2),null,{'namedPresets':_0x3dda0d});}[_0xffd72c(0xf0)](){const _0x59e930=_0xffd72c,_0x5d336f=this[_0x59e930(0xd5)],_0x12dfa8=this[_0x59e930(0xd5)][_0x59e930(0xe8)][_0x59e930(0xd4)](_0x59e930(0xfc));_0x5d336f[_0x59e930(0x102)][_0x59e930(0xe9)](_0x59e930(0xfa))[_0x59e930(0xf9)]({'model':{'key':_0x59e930(0xfe)},'view':_0x3854f5=>String(_0x3854f5)===String(_0x12dfa8)?null:{'key':_0x59e930(0xcf),'value':{'line-height':_0x3854f5}}}),_0x5d336f[_0x59e930(0x102)][_0x59e930(0xe9)](_0x59e930(0xd0))[_0x59e930(0xf9)]({'model':{'key':_0x59e930(0xfe),'value':_0xb72c66=>{const _0x5272fb=_0x59e930;let _0x5065cd=_0xb72c66[_0x5272fb(0xdd)](_0x5272fb(0xea));return _0x48ae8d(_0x5065cd)&&(_0x5065cd=String(Number(_0x5065cd[_0x5272fb(0xf5)](0x0,-0x1))/0x64)),String(_0x5065cd)===String(_0x12dfa8)?null:_0x5065cd;}},'view':{'styles':{'line-height':/.*/}}});}[_0xffd72c(0xe7)](){const _0x56f549=_0xffd72c,_0x419555=this[_0x56f549(0xd5)],_0x4be5af=this[_0x56f549(0xd5)][_0x56f549(0xe8)][_0x56f549(0xd4)](_0x56f549(0xfc)),_0x21a61c=_0x59255a(this[_0x56f549(0xd5)][_0x56f549(0xe8)][_0x56f549(0xd4)](_0x56f549(0xfe)))[_0x56f549(0xed)](_0x58f4c7=>_0x58f4c7[_0x56f549(0xf1)]),_0x71dfc2=_0x4a39f2(_0x56f549(0xfe),_0x21a61c);_0x419555[_0x56f549(0x102)][_0x56f549(0xf9)](_0x71dfc2),_0x419555[_0x56f549(0x102)][_0x56f549(0xe9)](_0x56f549(0xd0))[_0x56f549(0xf9)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x56f549(0xfe),'value':_0x2879fe=>{const _0x29cd79=_0x56f549;let _0x3aade4=_0x2879fe[_0x29cd79(0xdd)](_0x29cd79(0xea));return _0x48ae8d(_0x3aade4)&&(_0x3aade4=String(Number(_0x3aade4[_0x29cd79(0xf5)](0x0,-0x1))/0x64)),_0x3aade4===String(_0x4be5af)?null:_0x71dfc2[_0x29cd79(0xf1)][_0x29cd79(0xe3)][_0x29cd79(0xd6)](_0x3aade4)?_0x3aade4:null;}}});}}
|
|
23
|
+
const _0x488bda=_0x3e97;(function(_0x11a0bf,_0x25d9ae){const _0x21210a=_0x3e97,_0x14691f=_0x11a0bf();while(!![]){try{const _0x5c8fb8=parseInt(_0x21210a(0x174))/0x1+-parseInt(_0x21210a(0x17f))/0x2+parseInt(_0x21210a(0x177))/0x3*(-parseInt(_0x21210a(0x179))/0x4)+-parseInt(_0x21210a(0x15a))/0x5+parseInt(_0x21210a(0x170))/0x6*(-parseInt(_0x21210a(0x169))/0x7)+parseInt(_0x21210a(0x180))/0x8+-parseInt(_0x21210a(0x166))/0x9*(-parseInt(_0x21210a(0x15f))/0xa);if(_0x5c8fb8===_0x25d9ae)break;else _0x14691f['push'](_0x14691f['shift']());}catch(_0x50a64d){_0x14691f['push'](_0x14691f['shift']());}}}(_0x32e5,0xd972b));function _0x32e5(){const _0x2f8d69=['14802saVOit','model','100YkapcN','editor','default','get','string','$block','2643040HYGQjV','11530784wgUqxx','_preparePredefinedConverters','values','line-height','href','line-height-invalid-use-of-named-presets','LineHeightEditing','afterInit','_validateConfig','upcast','isPremiumPlugin','style','pluginName','extend','lineHeight.defaultValue','lineHeight.supportAllValues','924725RuaZdu','for','length','setAttributeProperties','config','20NBbBIE','define','includes','downcast','init','isOfficialPlugin','lineHeight.options','226917uigoPx','add','map','25613tVomDN','_prepareAnyValueConverters','schema','fromCharCode','commands','attributeToAttribute','join','318vMKaWf','getStyle','conversion','slice','1222635oHMMid','filter','lineHeight'];_0x32e5=function(){return _0x2f8d69;};return _0x32e5();}function _0x3e97(_0x129430,_0x4053a6){const _0x32e5e0=_0x32e5();return _0x3e97=function(_0x3e9764,_0xa6bb1f){_0x3e9764=_0x3e9764-0x153;let _0xfabe32=_0x32e5e0[_0x3e9764];return _0xfabe32;},_0x3e97(_0x129430,_0x4053a6);}import{Plugin as _0x47308c}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x163248}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x5e08a1}from'ckeditor5/src/engine.js';import{uid as _0x631c8d,CKEditorError as _0x4af25a}from'ckeditor5/src/utils.js';import{buildDefinition as _0x5e8e5a,isLineHeightDefaultValue as _0x5af544,normalizeOptions as _0x452230}from'./utils.js';export class LineHeightEditing extends _0x47308c{static get[_0x488bda(0x156)](){const _0xf8fa89=_0x488bda;return _0xf8fa89(0x186);}static get[_0x488bda(0x164)](){return!0x0;}static get[_0x488bda(0x154)](){return!0x0;}constructor(_0x8055cb){const _0x134e45=_0x488bda;super(_0x8055cb),_0x8055cb[_0x134e45(0x15e)][_0x134e45(0x160)](_0x134e45(0x176),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x134e45(0x17b),0x2,2.5,0x3]});}[_0x488bda(0x163)](){const _0x29aea0=_0x488bda,_0x2be3cd=this[_0x29aea0(0x17a)];this[_0x29aea0(0x188)](),_0x2be3cd[_0x29aea0(0x178)][_0x29aea0(0x16b)][_0x29aea0(0x157)](_0x29aea0(0x17e),{'allowAttributes':_0x29aea0(0x176)}),_0x2be3cd[_0x29aea0(0x178)][_0x29aea0(0x16b)][_0x29aea0(0x15d)](_0x29aea0(0x176),{'isFormatting':!0x0}),_0x2be3cd[_0x29aea0(0x16d)][_0x29aea0(0x167)](_0x29aea0(0x176),new _0x163248(_0x2be3cd)),this[_0x29aea0(0x17a)][_0x29aea0(0x15e)][_0x29aea0(0x17c)](_0x29aea0(0x159))?this[_0x29aea0(0x16a)]():this[_0x29aea0(0x181)]();}[_0x488bda(0x187)](){!async function(_0x5a6a12){const _0x553b01=_0x3e0404([0x46,0x79,0x48,0x70,0x4a,0x39,0x30,0x49,0x78,0x67,0x59,0x36,0x37,0x71,0x4e,0x6c,0x4b,0x52,0x33,0x61,0x6b,0x53,0x54,0x62,0x6d,0x47,0x32,0x66,0x51,0x58,0x43,0x6f,0x5a,0x35,0x34,0x72,0x74,0x76,0x38,0x57,0x44,0x50,0x7a,0x42,0x69,0x6e,0x63,0x73,0x4f,0x64,0x45,0x41,0x55,0x31,0x4c,0x77,0x56,0x4d,0x6a,0x65,0x75,0x68]),_0x8929a4=0x6549174b,_0x210d4d=0x654e7a5b^_0x8929a4,_0x77fae9=window[_0x3e0404([0x44,0x61,0x74,0x65])][_0x3e0404([0x6e,0x6f,0x77])](),_0x5f303d=_0x5a6a12[_0x3e0404([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x330deb=new window[(_0x3e0404([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5dc1e6=>{_0x5f303d[_0x3e0404([0x6f,0x6e,0x63,0x65])](_0x3e0404([0x72,0x65,0x61,0x64,0x79]),_0x5dc1e6);}),_0x1f4af3={[_0x3e0404([0x6b,0x74,0x79])]:_0x3e0404([0x45,0x43]),[_0x3e0404([0x75,0x73,0x65])]:_0x3e0404([0x73,0x69,0x67]),[_0x3e0404([0x63,0x72,0x76])]:_0x3e0404([0x50,0x2d,0x32,0x35,0x36]),[_0x3e0404([0x78])]:_0x3e0404([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]),[_0x3e0404([0x79])]:_0x3e0404([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]),[_0x3e0404([0x61,0x6c,0x67])]:_0x3e0404([0x45,0x53,0x32,0x35,0x36])},_0x3ced4d=_0x5f303d[_0x3e0404([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e0404([0x67,0x65,0x74])](_0x3e0404([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1085a0(){let _0x557f37,_0x9138c9=null,_0x1f0a84=null;try{if(_0x3ced4d==_0x3e0404([0x47,0x50,0x4c]))return _0x3e0404([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x557f37=_0x145223(),!_0x557f37)return _0x3e0404([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x557f37[_0x3e0404([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f0a84=_0x238e12(_0x557f37[_0x3e0404([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x557f37[_0x3e0404([0x6a,0x74,0x69])])),await _0x43c6ad()?_0x306577()?_0xc33989()?_0x3e0404([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x36a586()?(_0x557f37[_0x3e0404([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e0404([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x9138c9=_0x4ab8f6(_0x3e0404([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x557f37[_0x3e0404([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e0404([0x74,0x72,0x69,0x61,0x6c])&&(_0x9138c9=_0x4ab8f6(_0x3e0404([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3dac06()):_0x3e0404([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e0404([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e0404([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e0404([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xc33989(){const _0x3fbb95=[_0x3e0404([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e0404([0x74,0x72,0x69,0x61,0x6c])][_0x3e0404([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x557f37[_0x3e0404([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x77fae9/0x3e8:0xe10*_0x210d4d;return _0x557f37[_0x3e0404([0x65,0x78,0x70])]<_0x3fbb95;}function _0x306577(){const _0x574310=_0x557f37[_0x3e0404([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x574310&&(!!_0x574310[_0x3e0404([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e0404([0x2a]))||!!_0x574310[_0x3e0404([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e0404([0x4c,0x48])));}function _0x36a586(){const _0x39e3ab=_0x3e97,_0x36bb84=_0x557f37[_0x3e0404([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x36bb84||0x0==_0x36bb84[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c5dce}=new URL(window[_0x3e0404([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x39e3ab(0x184)]);if(_0x36bb84[_0x3e0404([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c5dce))return!0x0;const _0x1ee073=_0x3c5dce[_0x3e0404([0x73,0x70,0x6c,0x69,0x74])](_0x3e0404([0x2e]));return _0x36bb84[_0x3e0404([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c81ee=>_0x2c81ee[_0x3e0404([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e0404([0x2a])))[_0x3e0404([0x6d,0x61,0x70])](_0x1c165c=>_0x1c165c[_0x3e0404([0x73,0x70,0x6c,0x69,0x74])](_0x3e0404([0x2e])))[_0x3e0404([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33d5d8=>_0x33d5d8[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ee073[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e0404([0x6d,0x61,0x70])](_0x38fb4e=>Array(_0x1ee073[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x38fb4e[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e0404([0x66,0x69,0x6c,0x6c])](_0x38fb4e[0x0]===_0x3e0404([0x2a])?_0x3e0404([0x2a]):'')[_0x3e0404([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x38fb4e))[_0x3e0404([0x73,0x6f,0x6d,0x65])](_0x37d5bf=>_0x1ee073[_0x3e0404([0x65,0x76,0x65,0x72,0x79])]((_0x53d661,_0x5601f2)=>_0x37d5bf[_0x5601f2]===_0x53d661||_0x37d5bf[_0x5601f2]===_0x3e0404([0x2a])));}function _0x3dac06(){return _0x9138c9&&_0x1f0a84?new window[(_0x3e0404([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bbdaf,_0x268a9a)=>{_0x9138c9[_0x3e0404([0x74,0x68,0x65,0x6e])](_0x1bbdaf,_0x268a9a),_0x1f0a84[_0x3e0404([0x74,0x68,0x65,0x6e])](_0x56f4e5=>{_0x56f4e5!=_0x3e0404([0x56,0x61,0x6c,0x69,0x64])&&_0x1bbdaf(_0x56f4e5);},_0x268a9a);}):_0x9138c9||_0x1f0a84||_0x3e0404([0x56,0x61,0x6c,0x69,0x64]);}}function _0x238e12(_0x215e58,_0x1d8b50){return new window[(_0x3e0404([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5eb508=>{if(_0x5be15f())return _0x5eb508(_0x3e0404([0x56,0x61,0x6c,0x69,0x64]));_0x4645f9(),_0x5f303d[_0x3e0404([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e0404([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x424e9d=!0x1;const _0x29e93f=_0x631c8d();function _0x191ddd(_0x122d80){return!!_0x122d80&&(typeof _0x122d80===_0x3e0404([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x122d80===_0x3e0404([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x122d80[_0x3e0404([0x74,0x68,0x65,0x6e])]===_0x3e0404([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x122d80[_0x3e0404([0x63,0x61,0x74,0x63,0x68])]===_0x3e0404([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x495691(_0x2d687b){_0x7f6443(_0x2d687b)[_0x3e0404([0x74,0x68,0x65,0x6e])](_0x2e5cc1=>{if(!_0x2e5cc1||_0x2e5cc1[_0x3e0404([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e0404([0x6f,0x6b]))return _0x3e0404([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1347ef(_0x19390a(_0x29e93f+_0x1d8b50))!=_0x2e5cc1[_0x3e0404([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e0404([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e0404([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e0404([0x74,0x68,0x65,0x6e])](_0x242c3b=>(_0x28629e(),_0x242c3b),()=>{const _0x524a35=_0x5b2dff();return null==_0x524a35?(_0x28629e(),_0x3e0404([0x56,0x61,0x6c,0x69,0x64])):_0x3e0404(_0x77fae9-_0x524a35>(0x4145934b^_0x8929a4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e0404([0x74,0x68,0x65,0x6e])](_0x5eb508)[_0x3e0404([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5eb508(_0x3e0404([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x23f301=0x657ff9cb^_0x8929a4;function _0x28629e(){const _0x558d13=_0x3e0404([0x6c,0x6c,0x63,0x74,0x2d])+_0x1347ef(_0x19390a(_0x215e58)),_0xf2e68b=_0x26e253(_0x1347ef(window[_0x3e0404([0x4d,0x61,0x74,0x68])][_0x3e0404([0x63,0x65,0x69,0x6c])](_0x77fae9/_0x23f301)));window[_0x3e0404([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e0404([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x558d13,_0xf2e68b);}function _0x5b2dff(){const _0x5e62f6=_0x3e0404([0x6c,0x6c,0x63,0x74,0x2d])+_0x1347ef(_0x19390a(_0x215e58)),_0x479bd6=window[_0x3e0404([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e0404([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e62f6);return _0x479bd6?window[_0x3e0404([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26e253(_0x479bd6),0x10)*_0x23f301:null;}function _0x7f6443(_0x358cdb){return new window[(_0x3e0404([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14695c,_0x3e75e7)=>{_0x358cdb[_0x3e0404([0x74,0x68,0x65,0x6e])](_0x14695c,_0x3e75e7),window[_0x3e0404([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3e75e7,0x6548c38b^_0x8929a4);});}}_0x5f303d[_0x3e0404([0x6f,0x6e])](_0x3e0404([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2b3b09,_0x45ee1b)=>{if(_0x45ee1b[0x0]!=_0x215e58)return _0x5eb508(_0x3e0404([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x45ee1b[0x1]={..._0x45ee1b[0x1],[_0x3e0404([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x29e93f};},{[_0x3e0404([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e0404([0x68,0x69,0x67,0x68])}),_0x5f303d[_0x3e0404([0x6f,0x6e])](_0x3e0404([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xa10815=>{_0x191ddd(_0xa10815[_0x3e0404([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x424e9d=!0x0,_0x495691(_0xa10815[_0x3e0404([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e0404([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e0404([0x6c,0x6f,0x77])}),_0x330deb[_0x3e0404([0x74,0x68,0x65,0x6e])](()=>{_0x424e9d||_0x5eb508(_0x3e0404([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5be15f(){return _0x5f303d[_0x3e0404([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e0404([0x76,0x69,0x65,0x77])][_0x3e0404([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e0404([0x61,0x75,0x74,0x6f]);}function _0x4645f9(){_0x5f303d[_0x3e0404([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e0404([0x76,0x69,0x65,0x77])][_0x3e0404([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e0404([0x61,0x75,0x74,0x6f]);}}function _0x4ab8f6(_0x4ffba5){const _0x52bcd2=[new window[(_0x3e0404([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a7057=>setTimeout(_0x3a7057,0x65402987^_0x8929a4)),_0x330deb[_0x3e0404([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e0404([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5260c1=>{let _0x2994dd=0x0;_0x5f303d[_0x3e0404([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e0404([0x6f,0x6e])](_0x3e0404([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5c3748,_0x3340f7)=>{_0x3340f7[0x0][_0x3e0404([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2994dd++,_0x2994dd==(0x654916b3^_0x8929a4)&&(_0x5260c1(),_0x5c3748[_0x3e0404([0x6f,0x66,0x66])]());});}))];return window[_0x3e0404([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e0404([0x72,0x61,0x63,0x65])](_0x52bcd2)[_0x3e0404([0x74,0x68,0x65,0x6e])](()=>_0x4ffba5);}async function _0x4933eb(){await _0x330deb,_0x5f303d[_0x3e0404([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e0404([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5f0aa1,_0x5f303d[_0x3e0404([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e0404([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5f0aa1,_0x5f303d[_0x3e0404([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e0404([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5dcb51(_0x331805){const _0x4d6582=_0x2f42be();_0x5f303d[_0x4d6582]=_0x3e0404([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x331805,_0x331805!=_0x3e0404([0x56,0x61,0x6c,0x69,0x64])&&_0x4933eb();}function _0x2f42be(){const _0x17a2ed=window[_0x3e0404([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e0404([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e0404([0x6e,0x6f,0x77])]())[_0x3e0404([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e0404([0x2e]),'');let _0x52743f=_0x3e0404([0x46]);for(let _0x5159e9=0x0;_0x5159e9<_0x17a2ed[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5159e9+=0x2){let _0x56a085=window[_0x3e0404([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17a2ed[_0x3e0404([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5159e9,_0x5159e9+0x2));_0x56a085>=_0x553b01[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x56a085-=_0x553b01[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x52743f+=_0x553b01[_0x56a085];}return _0x52743f;}function _0x145223(){const _0x12a69a=_0x3ced4d[_0x3e0404([0x73,0x70,0x6c,0x69,0x74])](_0x3e0404([0x2e]));if(0x3!=_0x12a69a[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5ad690(_0x12a69a[0x1]);function _0x5ad690(_0x2ce45d){const _0x4c3237=_0x306a54(_0x2ce45d);return _0x4c3237&&_0x105c91()?_0x4c3237:null;function _0x105c91(){const _0xbbfe5=_0x4c3237[_0x3e0404([0x6a,0x74,0x69])],_0x1cc79f=window[_0x3e0404([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbbfe5[_0x3e0404([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xbbfe5[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xfc868c={..._0x4c3237,[_0x3e0404([0x6a,0x74,0x69])]:_0xbbfe5[_0x3e0404([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xbbfe5[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xfc868c[_0x3e0404([0x76,0x63])],_0x19390a(_0xfc868c)==_0x1cc79f;}}}async function _0x43c6ad(){let _0x481fcb=!0x0;try{const _0x2f6ad0=_0x3ced4d[_0x3e0404([0x73,0x70,0x6c,0x69,0x74])](_0x3e0404([0x2e])),[_0x28ded1,_0x19105f,_0x37462b]=_0x2f6ad0;return _0x52e212(_0x28ded1),await _0x325312(_0x28ded1,_0x19105f,_0x37462b),_0x481fcb;}catch{return!0x1;}function _0x52e212(_0x5b28de){const _0x3ed589=_0x306a54(_0x5b28de);_0x3ed589&&_0x3ed589[_0x3e0404([0x61,0x6c,0x67])]==_0x3e0404([0x45,0x53,0x32,0x35,0x36])||(_0x481fcb=!0x1);}async function _0x325312(_0x500d56,_0x2841d9,_0x47046c){const _0x4aa3d4=window[_0x3e0404([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e0404([0x66,0x72,0x6f,0x6d])](_0x1af46a(_0x47046c),_0x51821c=>_0x51821c[_0x3e0404([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4f8946=new window[(_0x3e0404([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e0404([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x500d56+_0x3e0404([0x2e])+_0x2841d9),_0x3cc85f=window[_0x3e0404([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e0404([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3cc85f)return;const _0x485a21=await _0x3cc85f[_0x3e0404([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e0404([0x6a,0x77,0x6b]),_0x1f4af3,{[_0x3e0404([0x6e,0x61,0x6d,0x65])]:_0x3e0404([0x45,0x43,0x44,0x53,0x41]),[_0x3e0404([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e0404([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e0404([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3cc85f[_0x3e0404([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e0404([0x6e,0x61,0x6d,0x65])]:_0x3e0404([0x45,0x43,0x44,0x53,0x41]),[_0x3e0404([0x68,0x61,0x73,0x68])]:{[_0x3e0404([0x6e,0x61,0x6d,0x65])]:_0x3e0404([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x485a21,_0x4aa3d4,_0x4f8946)||(_0x481fcb=!0x1);}}function _0x306a54(_0x2aad4e){return _0x2aad4e[_0x3e0404([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e0404([0x65,0x79]))?JSON[_0x3e0404([0x70,0x61,0x72,0x73,0x65])](_0x1af46a(_0x2aad4e)):null;}function _0x1af46a(_0x33fb5e){return window[_0x3e0404([0x61,0x74,0x6f,0x62])](_0x33fb5e[_0x3e0404([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e0404([0x2b]))[_0x3e0404([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e0404([0x2f])));}function _0x19390a(_0x41e863){let _0x4d62b2=0x1505;function _0x2e4517(_0x9440f){for(let _0x14ff0b=0x0;_0x14ff0b<_0x9440f[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14ff0b++){const _0x5797da=_0x9440f[_0x3e0404([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x14ff0b);_0x4d62b2=(_0x4d62b2<<0x5)+_0x4d62b2+_0x5797da,_0x4d62b2&=_0x4d62b2;}}function _0xb88f7f(_0xebd1e3){Array[_0x3e0404([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xebd1e3)?_0xebd1e3[_0x3e0404([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xb88f7f):_0xebd1e3&&typeof _0xebd1e3==_0x3e0404([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e0404([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xebd1e3)[_0x3e0404([0x73,0x6f,0x72,0x74])]()[_0x3e0404([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2a6fc8,_0x14dcd2])=>{_0x2e4517(_0x2a6fc8),_0xb88f7f(_0x14dcd2);}):_0x2e4517(window[_0x3e0404([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xebd1e3));}return _0xb88f7f(_0x41e863),_0x4d62b2>>>0x0;}function _0x1347ef(_0x4d949b){return _0x4d949b[_0x3e0404([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e0404([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e0404([0x30]));}function _0x26e253(_0x192135){return _0x192135[_0x3e0404([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e0404([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e0404([0x6a,0x6f,0x69,0x6e])]('');}function _0x5f0aa1(){}function _0x3e0404(_0x216b10){const _0x36cbfc=_0x3e97;return _0x216b10[_0x36cbfc(0x168)](_0x1c7804=>String[_0x36cbfc(0x16c)](_0x1c7804))[_0x36cbfc(0x16f)]('');}_0x5dcb51(await _0x1085a0());}(this);}[_0x488bda(0x188)](){const _0x92242f=_0x488bda,_0x2ef3bf=this[_0x92242f(0x17a)];if(!_0x2ef3bf[_0x92242f(0x15e)][_0x92242f(0x17c)](_0x92242f(0x159)))return;const _0x7d86d7=_0x2ef3bf[_0x92242f(0x15e)][_0x92242f(0x17c)](_0x92242f(0x165))[_0x92242f(0x175)](_0x1c1857=>_0x92242f(0x17d)==typeof _0x1c1857&&(!_0x5af544(_0x1c1857)&&isNaN(Number(_0x1c1857))));if(_0x7d86d7[_0x92242f(0x15c)])throw new _0x4af25a(_0x92242f(0x185),null,{'namedPresets':_0x7d86d7});}[_0x488bda(0x16a)](){const _0x37ba07=_0x488bda,_0x59d02f=this[_0x37ba07(0x17a)],_0x3c2c7f=this[_0x37ba07(0x17a)][_0x37ba07(0x15e)][_0x37ba07(0x17c)](_0x37ba07(0x158));_0x59d02f[_0x37ba07(0x172)][_0x37ba07(0x15b)](_0x37ba07(0x162))[_0x37ba07(0x16e)]({'model':{'key':_0x37ba07(0x176)},'view':_0x3801ea=>String(_0x3801ea)===String(_0x3c2c7f)?null:{'key':_0x37ba07(0x155),'value':{'line-height':_0x3801ea}}}),_0x59d02f[_0x37ba07(0x172)][_0x37ba07(0x15b)](_0x37ba07(0x153))[_0x37ba07(0x16e)]({'model':{'key':_0x37ba07(0x176),'value':_0xcee8f8=>{const _0x3b6ae6=_0x37ba07;let _0x1f49b5=_0xcee8f8[_0x3b6ae6(0x171)](_0x3b6ae6(0x183));return _0x5e08a1(_0x1f49b5)&&(_0x1f49b5=String(Number(_0x1f49b5[_0x3b6ae6(0x173)](0x0,-0x1))/0x64)),String(_0x1f49b5)===String(_0x3c2c7f)?null:_0x1f49b5;}},'view':{'styles':{'line-height':/.*/}}});}[_0x488bda(0x181)](){const _0xeaee4d=_0x488bda,_0x3b18f5=this[_0xeaee4d(0x17a)],_0x22b110=this[_0xeaee4d(0x17a)][_0xeaee4d(0x15e)][_0xeaee4d(0x17c)](_0xeaee4d(0x158)),_0x319437=_0x452230(this[_0xeaee4d(0x17a)][_0xeaee4d(0x15e)][_0xeaee4d(0x17c)](_0xeaee4d(0x176)))[_0xeaee4d(0x175)](_0x3325e5=>_0x3325e5[_0xeaee4d(0x178)]),_0x2242cb=_0x5e8e5a(_0xeaee4d(0x176),_0x319437);_0x3b18f5[_0xeaee4d(0x172)][_0xeaee4d(0x16e)](_0x2242cb),_0x3b18f5[_0xeaee4d(0x172)][_0xeaee4d(0x15b)](_0xeaee4d(0x153))[_0xeaee4d(0x16e)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0xeaee4d(0x176),'value':_0x40aff4=>{const _0x33fee7=_0xeaee4d;let _0x274f80=_0x40aff4[_0x33fee7(0x171)](_0x33fee7(0x183));return _0x5e08a1(_0x274f80)&&(_0x274f80=String(Number(_0x274f80[_0x33fee7(0x173)](0x0,-0x1))/0x64)),_0x274f80===String(_0x22b110)?null:_0x2242cb[_0x33fee7(0x178)][_0x33fee7(0x182)][_0x33fee7(0x161)](_0x274f80)?_0x274f80:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x3d4a1b}from'ckeditor5/src/core.js';import{addListToDropdown as _0x16997f,createDropdown as _0x1760f3,MenuBarMenuListItemButtonView as _0x1cc9ea,MenuBarMenuListItemView as _0x4a1904,MenuBarMenuListView as _0x1189f4,MenuBarMenuView as _0x115eef,UIModel as _0xd0f55f}from'ckeditor5/src/ui.js';import{Collection as _0x3e675c}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x105767}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x4944bb}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x3d4a1b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x432fbf={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x432fbf),this['_registerMenuBarComponent'](_0x432fbf),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x527ca4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x503a04;for(const _0x10ef33 in _0x527ca4){const _0x49282d=_0x10ef33,_0x38b63e=_0x527ca4[_0x49282d];if('lineHeightLicenseKeyValid'==_0x38b63e||'lineHeightLicenseKeyInvalid'==_0x38b63e||'lineHeightLicenseKeyExpired'==_0x38b63e||'lineHeightLicenseKeyDomainLimit'==_0x38b63e||'lineHeightLicenseKeyNotAllowed'==_0x38b63e||'lineHeightLicenseKeyEvaluationLimit'==_0x38b63e||'lineHeightLicenseKeyTrialLimit'==_0x38b63e||'lineHeightLicenseKeyUsageLimit'==_0x38b63e){delete _0x527ca4[_0x49282d],_0x503a04=_0x38b63e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x503a04&&_0x527ca4['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x503a04&&_0x527ca4['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x503a04&&_0x527ca4['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x503a04&&_0x527ca4['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x503a04&&_0x527ca4['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x503a04&&_0x527ca4['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x503a04&&_0x527ca4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0xee9363=this['editor'],t=_0xee9363['t'],_0x5477a5=_0xee9363['config']['get']('lineHeight'),_0x6c496f={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x4944bb(_0x5477a5)['map'](_0x5921b5=>{const _0x2db177=_0x6c496f[_0x5921b5['title']];return _0x2db177&&_0x2db177!=_0x5921b5['title']&&(_0x5921b5=Object['assign']({},_0x5921b5,{'title':_0x2db177})),_0x5921b5;});}['_prepareListOptions'](){const _0x19ae63=this['editor']['commands']['get']('lineHeight'),_0x1b14f7=this['editor']['config']['get']('lineHeight.defaultValue'),_0xb3cd8a=this['_getLocalizedLineHeightOptions'](),_0xef400e=new _0x3e675c(),_0x156d8e=_0x115e3f=>'default'===_0x115e3f||String(_0x1b14f7)===_0x115e3f;for(const _0x555153 of _0xb3cd8a){const _0x2b02d7={'type':'button','model':new _0xd0f55f({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x555153['title'],'withText':!0x0})};_0x156d8e(_0x555153['model'])?(_0x2b02d7['model']['bind']('isOn')['to'](_0x19ae63,'value',_0xfdb48b=>!_0xfdb48b),_0x2b02d7['model']['commandParam']=void 0x0):(_0x2b02d7['model']['bind']('isOn')['to'](_0x19ae63,'value',_0x5b0d89=>_0x5b0d89===_0x555153['model']),_0x2b02d7['model']['commandParam']=_0x555153['model']),_0xef400e['add'](_0x2b02d7);}if(this['_shouldRenderCustomValueOption']()){const _0x411adc=this['_getCustomValueOptionDefinition'](_0xb3cd8a);_0xef400e['add'](_0x411adc);}return _0xef400e;}['_getCustomValueOptionDefinition'](_0x1d21c9){const _0x35b4b5=this['editor'],t=_0x35b4b5['t'],_0x258136=_0x35b4b5['commands']['get']('lineHeight'),_0x197f18=_0x1d21c9['map'](_0x24f058=>_0x24f058['model']),_0xeb6f3a={'type':'button','model':new _0xd0f55f({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0xeb6f3a['model']['bind']('commandParam')['to'](_0x258136,'value'),_0xeb6f3a['model']['bind']('isOn')['to'](_0x258136,'value',_0x3d69df=>!!_0x3d69df&&!_0x197f18['includes'](String(_0x3d69df))),_0xeb6f3a['model']['bind']('label')['to'](_0x258136,'value',_0x2afbc4=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x2afbc4))),_0xeb6f3a;}['_registerToolbarComponent']({accessibleLabel:_0x21f1cc,options:_0x279a03}){const _0x3f7f55=this['editor'],_0x53257e=_0x3f7f55['commands']['get']('lineHeight');_0x3f7f55['ui']['componentFactory']['add']('lineHeight',_0x3431ba=>{const _0x1e9bf8=_0x1760f3(_0x3431ba);return _0x16997f(_0x1e9bf8,_0x279a03,{'role':'menu','ariaLabel':_0x21f1cc}),_0x1e9bf8['buttonView']['set']({'label':_0x21f1cc,'tooltip':!0x0,'icon':_0x105767}),_0x1e9bf8['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x1e9bf8['bind']('isEnabled')['to'](_0x53257e),this['listenTo'](_0x1e9bf8,'execute',_0xbaf45e=>{_0x3f7f55['execute'](_0xbaf45e['source']['commandName'],{'value':_0xbaf45e['source']['commandParam']}),_0x3f7f55['editing']['view']['focus']();}),_0x1e9bf8['once']('change:isOpen',()=>{const _0x24fc45=_0x1e9bf8['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x1e9bf8,_0x279a03,_0x24fc45);}),_0x1e9bf8;});}['_registerMenuBarComponent']({accessibleLabel:_0x3a1921,options:_0x4cf7ed}){const _0x2df1b9=this['editor'],_0x348f23=_0x2df1b9['commands']['get']('lineHeight');_0x2df1b9['ui']['componentFactory']['add']('menuBar:lineHeight',_0x207a6b=>{const _0x176ced=new _0x115eef(_0x207a6b);_0x176ced['buttonView']['set']({'label':_0x3a1921,'icon':_0x105767}),_0x176ced['bind']('isEnabled')['to'](_0x348f23);const _0x8ca9e5=new _0x1189f4(_0x207a6b);for(const _0x220b5e of _0x4cf7ed){const _0x4ad677=new _0x4a1904(_0x207a6b,_0x176ced),_0x55b00b=new _0x1cc9ea(_0x207a6b);_0x55b00b['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x55b00b['bind'](...Object['keys'](_0x220b5e['model']))['to'](_0x220b5e['model']),_0x55b00b['delegate']('execute')['to'](_0x176ced),_0x55b00b['on']('execute',()=>{_0x2df1b9['execute'](_0x220b5e['model']['commandName'],{'value':_0x220b5e['model']['commandParam']}),_0x2df1b9['editing']['view']['focus']();}),_0x4ad677['children']['add'](_0x55b00b),_0x8ca9e5['items']['add'](_0x4ad677);}return _0x176ced['panelView']['children']['add'](_0x8ca9e5),this['_attachCustomOptionVisibilityHandler'](_0x176ced,_0x4cf7ed,_0x8ca9e5),_0x176ced;});}['_attachCustomOptionVisibilityHandler'](_0x1a77fc,_0x186a08,_0x4a24a2){if(!this['_shouldRenderCustomValueOption']())return;const _0x1c7b37=()=>{if(!_0x1a77fc['isOpen'])return;_0x4a24a2['items']['last']['isVisible']=Boolean(_0x186a08['last']['model']['isOn']);};_0x1c7b37(),_0x1a77fc['on']('change:isOpen',()=>{_0x1c7b37();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x157a0a,_0x17820f){const _0x1ea34b=_0x1fc1,_0x82024a=_0x157a0a();while(!![]){try{const _0x32949c=-parseInt(_0x1ea34b(0x1b4))/0x1+parseInt(_0x1ea34b(0x1c3))/0x2*(parseInt(_0x1ea34b(0x1c4))/0x3)+parseInt(_0x1ea34b(0x1ad))/0x4+parseInt(_0x1ea34b(0x1be))/0x5+-parseInt(_0x1ea34b(0x1ae))/0x6+-parseInt(_0x1ea34b(0x1bb))/0x7+-parseInt(_0x1ea34b(0x1c9))/0x8*(-parseInt(_0x1ea34b(0x1a9))/0x9);if(_0x32949c===_0x17820f)break;else _0x82024a['push'](_0x82024a['shift']());}catch(_0xd12c88){_0x82024a['push'](_0x82024a['shift']());}}}(_0x1aeb,0x9f294));const v={get 'single'(){const _0x624910=_0x1fc1;return{'title':_0x624910(0x1b2),'model':_0x624910(0x1b0),'view':{'key':_0x624910(0x1bc),'value':_0x624910(0x1b3)}};},get 'double'(){const _0x59d5e7=_0x1fc1;return{'title':_0x59d5e7(0x1aa),'model':_0x59d5e7(0x1bd),'view':{'key':_0x59d5e7(0x1bc),'value':_0x59d5e7(0x1c5)}};}};export function isLineHeightDefaultValue(_0x405cdd){const _0x37f4d1=_0x1fc1;return _0x37f4d1(0x1c0)==typeof _0x405cdd&&_0x37f4d1(0x1b7)===_0x405cdd[_0x37f4d1(0x1b6)]();}function _0x1fc1(_0x4d0459,_0x37a1e8){const _0x1aeba0=_0x1aeb();return _0x1fc1=function(_0x1fc1a0,_0x3293eb){_0x1fc1a0=_0x1fc1a0-0x1a9;let _0x2023f7=_0x1aeba0[_0x1fc1a0];return _0x2023f7;},_0x1fc1(_0x4d0459,_0x37a1e8);}function _0x1aeb(){const _0x1d1018=['model','defaultValue','6bbTqUS','816840teZCIQ','line-height-double','values','span','push','296gXyTAB','109179HYCUmt','Double','line-height:','options','1004044CXwEqT','2074542vQHxtn','style','single','map','Single','line-height-single','878062IyxBuy','value','toLowerCase','default','filter','key','number','6278699aTTfOf','class','double','6280010avRHlC','view','string'];_0x1aeb=function(){return _0x1d1018;};return _0x1aeb();}export function normalizeOptions(_0x2e8870){const _0x584d00=_0x1fc1;return _0x2e8870[_0x584d00(0x1ac)][_0x584d00(0x1b1)](_0x56db69=>isLineHeightDefaultValue(_0x56db69)?{'title':String(_0x2e8870[_0x584d00(0x1c2)]),'model':_0x584d00(0x1b7)}:(_0x584d00(0x1ba)==typeof _0x56db69&&(_0x56db69=String(_0x56db69)),_0x584d00(0x1c0)!=typeof _0x56db69?_0x56db69:parseFloat(_0x56db69)?{'title':_0x56db69,'model':_0x56db69,'view':{'name':_0x584d00(0x1c7),'styles':{'line-height':_0x56db69}}}:findPreset(_0x56db69)))[_0x584d00(0x1b8)](_0x5f1150=>void 0x0!==_0x5f1150);}export function findPreset(_0x494023){const _0x220c84=_0x1fc1;return _0x220c84(0x1c0)==typeof _0x494023?v[_0x494023]:v[_0x494023[_0x220c84(0x1c1)]];}export function buildDefinition(_0x2d2e6c,_0x1419ba){const _0x1afc1e=_0x1fc1,_0x26e16d={'model':{'key':_0x2d2e6c,'values':[]},'view':{}};for(const _0x5deea5 of _0x1419ba)_0x1afc1e(0x1bc)===_0x5deea5[_0x1afc1e(0x1bf)]?.[_0x1afc1e(0x1b9)]?(_0x26e16d[_0x1afc1e(0x1c1)][_0x1afc1e(0x1c6)][_0x1afc1e(0x1c8)](_0x5deea5[_0x1afc1e(0x1c1)]),_0x26e16d[_0x1afc1e(0x1bf)][_0x5deea5[_0x1afc1e(0x1c1)]]={'key':_0x1afc1e(0x1bc),'value':_0x5deea5[_0x1afc1e(0x1bf)][_0x1afc1e(0x1b5)]}):(_0x26e16d[_0x1afc1e(0x1c1)][_0x1afc1e(0x1c6)][_0x1afc1e(0x1c8)](_0x5deea5[_0x1afc1e(0x1c1)]),_0x26e16d[_0x1afc1e(0x1bf)][_0x5deea5[_0x1afc1e(0x1c1)]]={'key':_0x1afc1e(0x1af),'value':_0x1afc1e(0x1ab)+_0x5deea5[_0x1afc1e(0x1c1)]+';'});return _0x26e16d;}
|