@ckeditor/ckeditor5-line-height 0.0.0-nightly-next-20251222.0 → 0.0.0-nightly-next-20251223.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 +8 -8
- package/src/index.js +1 -1
- package/src/integrations/todolist.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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23ffbf=_0x30d1;(function(_0x5b66e4,_0x1f3746){const _0x5368b3=_0x30d1,_0x17b3d8=_0x5b66e4();while(!![]){try{const _0x48722c=-parseInt(_0x5368b3(0x13e))/0x1+parseInt(_0x5368b3(0x14a))/0x2*(-parseInt(_0x5368b3(0x135))/0x3)+-parseInt(_0x5368b3(0x137))/0x4*(parseInt(_0x5368b3(0x158))/0x5)+parseInt(_0x5368b3(0x13a))/0x6*(parseInt(_0x5368b3(0x157))/0x7)+-parseInt(_0x5368b3(0x138))/0x8*(parseInt(_0x5368b3(0x131))/0x9)+-parseInt(_0x5368b3(0x148))/0xa*(parseInt(_0x5368b3(0x145))/0xb)+parseInt(_0x5368b3(0x14c))/0xc;if(_0x48722c===_0x1f3746)break;else _0x17b3d8['push'](_0x17b3d8['shift']());}catch(_0x1cd246){_0x17b3d8['push'](_0x17b3d8['shift']());}}}(_0x57e3,0x3d7e7));import{Plugin as _0x469d96}from'ckeditor5/src/core.js';import{Matcher as _0x2e675e}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x469d96{static get[_0x23ffbf(0x13f)](){const _0x15ef86=_0x23ffbf;return _0x15ef86(0x156);}static get[_0x23ffbf(0x153)](){return!0x0;}static get[_0x23ffbf(0x14e)](){return!0x0;}[_0x23ffbf(0x154)](){const _0x83389b=_0x23ffbf,{plugins:_0x3a8c2e,conversion:_0x4a7341}=this[_0x83389b(0x143)];if(!_0x3a8c2e[_0x83389b(0x141)](_0x83389b(0x14d))||!_0x3a8c2e[_0x83389b(0x141)](_0x83389b(0x140)))return;_0x3a8c2e[_0x83389b(0x15b)](_0x83389b(0x14d))[_0x83389b(0x15c)]({'scope':_0x83389b(0x15a),'attributeName':_0x83389b(0x150),'consume':!0x1,'setAttributeOnDowncast'(_0x447a89,_0x578d76,_0x3256b4,_0x351014,_0x1d2b2e){const _0xbb4045=_0x83389b;_0xbb4045(0x134)==_0x1d2b2e[_0xbb4045(0x155)](_0xbb4045(0x15e))&&_0x578d76&&(_0x447a89[_0xbb4045(0x151)](_0xbb4045(0x14b),_0x3256b4),_0x447a89[_0xbb4045(0x132)](_0xbb4045(0x147),_0x578d76,_0x3256b4));}}),_0x4a7341[_0x83389b(0x146)](_0x83389b(0x136))[_0x83389b(0x15d)]({'view':{'name':_0x83389b(0x133),'classes':_0x83389b(0x13b)},'model':_0x83389b(0x159),'converterPriority':_0x83389b(0x144)}),_0x4a7341[_0x83389b(0x146)](_0x83389b(0x136))[_0x83389b(0x139)](_0x5388ba=>{const _0x1edb07=_0x83389b;_0x5388ba['on'](_0x1edb07(0x149),function(_0x1fd88f){const _0x91c64d=new _0x2e675e(_0x1fd88f);return(_0xa785ff,_0x1b1611,_0x4b07b8)=>{const _0x4d351f=_0x30d1,_0x228b95=_0x91c64d[_0x4d351f(0x14f)](_0x1b1611[_0x4d351f(0x13d)]);if(!_0x228b95)return;const _0x5861c2=_0x228b95[_0x4d351f(0x14f)];_0x5861c2[_0x4d351f(0x13c)]=!0x1,_0x4b07b8[_0x4d351f(0x152)][_0x4d351f(0x142)](_0x1b1611[_0x4d351f(0x13d)],_0x5861c2);};}({'name':'li','classes':_0x1edb07(0x14b),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}function _0x30d1(_0x1d585c,_0x4d8893){const _0x57e3d8=_0x57e3();return _0x30d1=function(_0x30d148,_0x5506ae){_0x30d148=_0x30d148-0x131;let _0x350c4e=_0x57e3d8[_0x30d148];return _0x350c4e;},_0x30d1(_0x1d585c,_0x4d8893);}function _0x57e3(){const _0x18c2b4=['178vZCIYu','ck-list-marker-line-height','17605056KXooRc','ListEditing','isPremiumPlugin','match','lineHeight','addClass','consumable','isOfficialPlugin','init','getAttribute','LineHeightTodoListIntegration','13531rmwiAW','25vQiHdN','paragraph','item','get','registerDowncastStrategy','elementToElement','listType','10161nVnxNo','setStyle','span','todo','14451sGsBCu','upcast','169228chHunP','2768IbfkNS','add','918jrafFf','todo-list__label__description','name','viewItem','233198Fgraun','pluginName','TodoListEditing','has','consume','editor','high','22RhQGpd','for','--ck-content-list-marker-line-height','1234390mIIdSl','element:li'];_0x57e3=function(){return _0x18c2b4;};return _0x57e3();}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4dd3a8=_0x187c;(function(_0x11f140,_0xd6f5){var _0x243cec=_0x187c,_0x324e6b=_0x11f140();while(!![]){try{var _0x25a438=parseInt(_0x243cec(0x107))/0x1*(parseInt(_0x243cec(0x102))/0x2)+parseInt(_0x243cec(0xfd))/0x3+-parseInt(_0x243cec(0x105))/0x4*(parseInt(_0x243cec(0x104))/0x5)+parseInt(_0x243cec(0x100))/0x6+-parseInt(_0x243cec(0x103))/0x7+-parseInt(_0x243cec(0x106))/0x8+parseInt(_0x243cec(0x101))/0x9*(parseInt(_0x243cec(0xfc))/0xa);if(_0x25a438===_0xd6f5)break;else _0x324e6b['push'](_0x324e6b['shift']());}catch(_0x50489c){_0x324e6b['push'](_0x324e6b['shift']());}}}(_0x38ab,0xc6cfe));import{Plugin as _0x3fffa9}from'ckeditor5/src/core.js';function _0x187c(_0x3e0956,_0x557674){var _0x38abe0=_0x38ab();return _0x187c=function(_0x187c36,_0x39b7ae){_0x187c36=_0x187c36-0xfb;var _0x7ff63c=_0x38abe0[_0x187c36];return _0x7ff63c;},_0x187c(_0x3e0956,_0x557674);}import{LineHeightEditing as _0x183f6a}from'./lineheightediting.js';import{LineHeightUI as _0x2d3061}from'./lineheightui.js';function _0x38ab(){var _0x50ac09=['1690ZQwuxz','1815894IIGPBW','isPremiumPlugin','isOfficialPlugin','6087462Ehdtiw','23292PCUiay','312bAhbWy','4773482oXDmHi','5SczuJd','3669524xjsqsL','5279568aJDCdY','6515HtffMy','pluginName','LineHeight','requires'];_0x38ab=function(){return _0x50ac09;};return _0x38ab();}export class LineHeight extends _0x3fffa9{static get[_0x4dd3a8(0xfb)](){return[_0x183f6a,_0x2d3061];}static get[_0x4dd3a8(0x108)](){var _0x29ada6=_0x4dd3a8;return _0x29ada6(0x109);}static get[_0x4dd3a8(0xff)](){return!0x0;}static get[_0x4dd3a8(0xfe)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x275491=_0x31a5;(function(_0x20e041,_0x523626){const _0x2cda77=_0x31a5,_0x36c365=_0x20e041();while(!![]){try{const _0x20b431=parseInt(_0x2cda77(0x167))/0x1*(-parseInt(_0x2cda77(0x16f))/0x2)+-parseInt(_0x2cda77(0x173))/0x3+-parseInt(_0x2cda77(0x172))/0x4*(parseInt(_0x2cda77(0x163))/0x5)+-parseInt(_0x2cda77(0x168))/0x6+parseInt(_0x2cda77(0x171))/0x7*(parseInt(_0x2cda77(0x17b))/0x8)+-parseInt(_0x2cda77(0x16a))/0x9*(parseInt(_0x2cda77(0x16c))/0xa)+parseInt(_0x2cda77(0x15f))/0xb;if(_0x20b431===_0x523626)break;else _0x36c365['push'](_0x36c365['shift']());}catch(_0x528ef5){_0x36c365['push'](_0x36c365['shift']());}}}(_0x2f66,0xa7a6c));import{Command as _0x5f1623}from'ckeditor5/src/core.js';import{first as _0x3b10fb}from'ckeditor5/src/utils.js';function _0x2f66(){const _0x4c2a50=['8jZVvvS','1537401KlxMUI','change','value','checkAttribute','editor','refresh','isEnabled','lineHeight','88lrjyyM','model','27561391WGByCV','selection','filter','setAttribute','205635gLXsRR','from','removeAttribute','schema','11871dscAtX','6426942htVwPx','execute','9gTRZUe','document','1949470vAkiYZ','getAttribute','_canHaveLineHeight','10eLhplx','getSelectedBlocks','64463htSkMJ'];_0x2f66=function(){return _0x4c2a50;};return _0x2f66();}function _0x31a5(_0x3fe989,_0x535751){const _0x2f6647=_0x2f66();return _0x31a5=function(_0x31a57f,_0x367385){_0x31a57f=_0x31a57f-0x15e;let _0x23e91e=_0x2f6647[_0x31a57f];return _0x23e91e;},_0x31a5(_0x3fe989,_0x535751);}export class LineHeightCommand extends _0x5f1623{[_0x275491(0x178)](){const _0x35c4cc=_0x275491,_0x185fc7=this[_0x35c4cc(0x177)][_0x35c4cc(0x15e)][_0x35c4cc(0x16b)],_0x47bb1d=_0x3b10fb(_0x185fc7[_0x35c4cc(0x160)][_0x35c4cc(0x170)]());this[_0x35c4cc(0x179)]=Boolean(_0x47bb1d)&&this[_0x35c4cc(0x16e)](_0x47bb1d),this[_0x35c4cc(0x175)]=this[_0x35c4cc(0x179)]&&_0x47bb1d[_0x35c4cc(0x16d)](_0x35c4cc(0x17a));}[_0x275491(0x169)](_0x5ba335={}){const _0x5dc2d7=_0x275491,_0x211114=this[_0x5dc2d7(0x177)][_0x5dc2d7(0x15e)],_0x68d67f=_0x211114[_0x5dc2d7(0x16b)][_0x5dc2d7(0x160)],_0xd187b5=_0x5ba335[_0x5dc2d7(0x175)];_0x211114[_0x5dc2d7(0x174)](_0x348d0b=>{const _0x540c9b=_0x5dc2d7,_0x2933e1=Array[_0x540c9b(0x164)](_0x68d67f[_0x540c9b(0x170)]())[_0x540c9b(0x161)](_0x5f0793=>this[_0x540c9b(0x16e)](_0x5f0793));for(const _0x1617ff of _0x2933e1)_0xd187b5?_0x348d0b[_0x540c9b(0x162)](_0x540c9b(0x17a),_0xd187b5,_0x1617ff):_0x348d0b[_0x540c9b(0x165)](_0x540c9b(0x17a),_0x1617ff);});}[_0x275491(0x16e)](_0x15bf05){const _0x48cf29=_0x275491;return this[_0x48cf29(0x177)][_0x48cf29(0x15e)][_0x48cf29(0x166)][_0x48cf29(0x176)](_0x15bf05,_0x48cf29(0x17a));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0xed79(_0x2cf246,_0x33e87b){const _0x22ee9c=_0x22ee();return _0xed79=function(_0xed7929,_0x21e4b0){_0xed7929=_0xed7929-0x1d6;let _0x44334c=_0x22ee9c[_0xed7929];return _0x44334c;},_0xed79(_0x2cf246,_0x33e87b);}const _0x4457b3=_0xed79;(function(_0x2ffa40,_0x5473af){const _0x34a083=_0xed79,_0x5ae37e=_0x2ffa40();while(!![]){try{const _0x25cd8b=parseInt(_0x34a083(0x20b))/0x1*(parseInt(_0x34a083(0x1fa))/0x2)+-parseInt(_0x34a083(0x1e6))/0x3*(-parseInt(_0x34a083(0x1e1))/0x4)+parseInt(_0x34a083(0x1dc))/0x5*(-parseInt(_0x34a083(0x1db))/0x6)+parseInt(_0x34a083(0x1ec))/0x7+parseInt(_0x34a083(0x207))/0x8+parseInt(_0x34a083(0x1d8))/0x9+parseInt(_0x34a083(0x1fb))/0xa*(-parseInt(_0x34a083(0x1e0))/0xb);if(_0x25cd8b===_0x5473af)break;else _0x5ae37e['push'](_0x5ae37e['shift']());}catch(_0x1870e6){_0x5ae37e['push'](_0x5ae37e['shift']());}}}(_0x22ee,0xd9789));function _0x22ee(){const _0x52918e=['model','isOfficialPlugin','requires','setAttributeProperties','for','init','fromCharCode','line-height-invalid-use-of-named-presets','pluginName','5433248njKjZw','_validateConfig','join','extend','1bejsmO','string','style','get','attributeToAttribute','5492592EaeItW','config','lineHeight','6ntDZCb','5546170FwRkoU','slice','values','lineHeight.supportAllValues','22yxxmWM','29024eKaYSN','filter','$block','isPremiumPlugin','default','591qzTVyw','includes','LineHeightEditing','upcast','line-height','map','11550070Bqoubv','getStyle','downcast','editor','_prepareAnyValueConverters','afterInit','_preparePredefinedConverters','length','lineHeight.options','commands','add','lineHeight.defaultValue','define','href','1979654LBJRwO','16793590KPTeFn','schema','conversion'];_0x22ee=function(){return _0x52918e;};return _0x22ee();}import{Plugin as _0x22354e}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x31a7fe}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x2e06ad}from'ckeditor5/src/engine.js';import{uid as _0x30831e,CKEditorError as _0x528ed6}from'ckeditor5/src/utils.js';import{buildDefinition as _0x365e8d,isLineHeightDefaultValue as _0x4d442c,normalizeOptions as _0x54bfd0}from'./utils.js';import{LineHeightTodoListIntegration as _0x337cd9}from'./integrations/todolist.js';export class LineHeightEditing extends _0x22354e{static get[_0x4457b3(0x206)](){const _0x1e38a6=_0x4457b3;return _0x1e38a6(0x1e8);}static get[_0x4457b3(0x200)](){return[_0x337cd9];}static get[_0x4457b3(0x1ff)](){return!0x0;}static get[_0x4457b3(0x1e4)](){return!0x0;}constructor(_0x51bbdf){const _0x2a9b47=_0x4457b3;super(_0x51bbdf),_0x51bbdf[_0x2a9b47(0x1d9)][_0x2a9b47(0x1f8)](_0x2a9b47(0x1da),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x2a9b47(0x1e5),0x2,2.5,0x3]});}[_0x4457b3(0x203)](){const _0x5ea7ed=_0x4457b3,_0x5cb573=this[_0x5ea7ed(0x1ef)];this[_0x5ea7ed(0x208)](),_0x5cb573[_0x5ea7ed(0x1fe)][_0x5ea7ed(0x1fc)][_0x5ea7ed(0x20a)](_0x5ea7ed(0x1e3),{'allowAttributes':_0x5ea7ed(0x1da)}),_0x5cb573[_0x5ea7ed(0x1fe)][_0x5ea7ed(0x1fc)][_0x5ea7ed(0x201)](_0x5ea7ed(0x1da),{'isFormatting':!0x0}),_0x5cb573[_0x5ea7ed(0x1f5)][_0x5ea7ed(0x1f6)](_0x5ea7ed(0x1da),new _0x31a7fe(_0x5cb573)),this[_0x5ea7ed(0x1ef)][_0x5ea7ed(0x1d9)][_0x5ea7ed(0x1d6)](_0x5ea7ed(0x1df))?this[_0x5ea7ed(0x1f0)]():this[_0x5ea7ed(0x1f2)]();}[_0x4457b3(0x1f1)](){!async function(_0x289f25){const _0x35e285=_0x28bb3d([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x2cb0d3=0x45ddd215,_0x5040e8=0x45daaeb5^_0x2cb0d3,_0x404c80=window[_0x28bb3d([0x44,0x61,0x74,0x65])][_0x28bb3d([0x6e,0x6f,0x77])](),_0x37d61b=_0x289f25[_0x28bb3d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x307704=new window[(_0x28bb3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56dc86=>{_0x37d61b[_0x28bb3d([0x6f,0x6e,0x63,0x65])](_0x28bb3d([0x72,0x65,0x61,0x64,0x79]),_0x56dc86);}),_0x5951c5={[_0x28bb3d([0x6b,0x74,0x79])]:_0x28bb3d([0x45,0x43]),[_0x28bb3d([0x75,0x73,0x65])]:_0x28bb3d([0x73,0x69,0x67]),[_0x28bb3d([0x63,0x72,0x76])]:_0x28bb3d([0x50,0x2d,0x32,0x35,0x36]),[_0x28bb3d([0x78])]:_0x28bb3d([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]),[_0x28bb3d([0x79])]:_0x28bb3d([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]),[_0x28bb3d([0x61,0x6c,0x67])]:_0x28bb3d([0x45,0x53,0x32,0x35,0x36])},_0x2aa12a=_0x37d61b[_0x28bb3d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x28bb3d([0x67,0x65,0x74])](_0x28bb3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x18b456(){let _0x5e677e,_0x164de5=null,_0x57df0d=null;try{if(_0x2aa12a==_0x28bb3d([0x47,0x50,0x4c]))return _0x28bb3d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5e677e=_0x953be(),!_0x5e677e)return _0x28bb3d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5e677e[_0x28bb3d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x57df0d=_0x51315a(_0x5e677e[_0x28bb3d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5e677e[_0x28bb3d([0x6a,0x74,0x69])])),await _0x37a8e6()?_0x54d148()?_0x541689()?_0x28bb3d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d1850()?(_0x5e677e[_0x28bb3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x28bb3d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x164de5=_0x39a2e1(_0x28bb3d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5e677e[_0x28bb3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x28bb3d([0x74,0x72,0x69,0x61,0x6c])&&(_0x164de5=_0x39a2e1(_0x28bb3d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5ba45e()):_0x28bb3d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x28bb3d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x28bb3d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x28bb3d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x541689(){const _0x568862=[_0x28bb3d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x28bb3d([0x74,0x72,0x69,0x61,0x6c])][_0x28bb3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e677e[_0x28bb3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x404c80/0x3e8:0xe10*_0x5040e8;return _0x5e677e[_0x28bb3d([0x65,0x78,0x70])]<_0x568862;}function _0x54d148(){const _0x387fc1=_0x5e677e[_0x28bb3d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x387fc1&&(!!_0x387fc1[_0x28bb3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28bb3d([0x2a]))||!!_0x387fc1[_0x28bb3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28bb3d([0x4c,0x48])));}function _0x4d1850(){const _0x482bb3=_0xed79,_0x47bd62=_0x5e677e[_0x28bb3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x47bd62||0x0==_0x47bd62[_0x28bb3d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1ff2bc}=new URL(window[_0x28bb3d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x482bb3(0x1f9)]);if(_0x47bd62[_0x28bb3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ff2bc))return!0x0;const _0xdc00c1=_0x1ff2bc[_0x28bb3d([0x73,0x70,0x6c,0x69,0x74])](_0x28bb3d([0x2e]));return _0x47bd62[_0x28bb3d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e0b3b=>_0x1e0b3b[_0x28bb3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28bb3d([0x2a])))[_0x28bb3d([0x6d,0x61,0x70])](_0x5db945=>_0x5db945[_0x28bb3d([0x73,0x70,0x6c,0x69,0x74])](_0x28bb3d([0x2e])))[_0x28bb3d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40ef0b=>_0x40ef0b[_0x28bb3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xdc00c1[_0x28bb3d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x28bb3d([0x6d,0x61,0x70])](_0x5d7ee5=>Array(_0xdc00c1[_0x28bb3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5d7ee5[_0x28bb3d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x28bb3d([0x66,0x69,0x6c,0x6c])](_0x5d7ee5[0x0]===_0x28bb3d([0x2a])?_0x28bb3d([0x2a]):'')[_0x28bb3d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5d7ee5))[_0x28bb3d([0x73,0x6f,0x6d,0x65])](_0x1a3c29=>_0xdc00c1[_0x28bb3d([0x65,0x76,0x65,0x72,0x79])]((_0x1176dc,_0x4fa382)=>_0x1a3c29[_0x4fa382]===_0x1176dc||_0x1a3c29[_0x4fa382]===_0x28bb3d([0x2a])));}function _0x5ba45e(){return _0x164de5&&_0x57df0d?new window[(_0x28bb3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ed746,_0x2b6e6e)=>{_0x164de5[_0x28bb3d([0x74,0x68,0x65,0x6e])](_0x3ed746,_0x2b6e6e),_0x57df0d[_0x28bb3d([0x74,0x68,0x65,0x6e])](_0x45cb0f=>{_0x45cb0f!=_0x28bb3d([0x56,0x61,0x6c,0x69,0x64])&&_0x3ed746(_0x45cb0f);},_0x2b6e6e);}):_0x164de5||_0x57df0d||_0x28bb3d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x51315a(_0x499624,_0x31b305){return new window[(_0x28bb3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x432af4=>{if(_0x2a61ed())return _0x432af4(_0x28bb3d([0x56,0x61,0x6c,0x69,0x64]));_0x2774f4(),_0x37d61b[_0x28bb3d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x28bb3d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1a138d=!0x1;const _0x12bf45=_0x30831e();function _0x155262(_0x371f7a){return!!_0x371f7a&&(typeof _0x371f7a===_0x28bb3d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x371f7a===_0x28bb3d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x371f7a[_0x28bb3d([0x74,0x68,0x65,0x6e])]===_0x28bb3d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x371f7a[_0x28bb3d([0x63,0x61,0x74,0x63,0x68])]===_0x28bb3d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x31860f(_0x5d30c0){_0x149f14(_0x5d30c0)[_0x28bb3d([0x74,0x68,0x65,0x6e])](_0x567d13=>{if(!_0x567d13||_0x567d13[_0x28bb3d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x28bb3d([0x6f,0x6b]))return _0x28bb3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x389410(_0x2e5152(_0x12bf45+_0x31b305))!=_0x567d13[_0x28bb3d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x28bb3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x28bb3d([0x56,0x61,0x6c,0x69,0x64]);})[_0x28bb3d([0x74,0x68,0x65,0x6e])](_0x4cfdf7=>(_0x477fc2(),_0x4cfdf7),()=>{const _0x314c3f=_0x52d922();return null==_0x314c3f?(_0x477fc2(),_0x28bb3d([0x56,0x61,0x6c,0x69,0x64])):_0x28bb3d(_0x404c80-_0x314c3f>(0x61d15615^_0x2cb0d3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x28bb3d([0x74,0x68,0x65,0x6e])](_0x432af4)[_0x28bb3d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x432af4(_0x28bb3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x577b9b=0x45eb3c95^_0x2cb0d3;function _0x477fc2(){const _0x5bb83c=_0x28bb3d([0x6c,0x6c,0x63,0x74,0x2d])+_0x389410(_0x2e5152(_0x499624)),_0x5a9df9=_0xae276(_0x389410(window[_0x28bb3d([0x4d,0x61,0x74,0x68])][_0x28bb3d([0x63,0x65,0x69,0x6c])](_0x404c80/_0x577b9b)));window[_0x28bb3d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x28bb3d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5bb83c,_0x5a9df9);}function _0x52d922(){const _0xab4034=_0x28bb3d([0x6c,0x6c,0x63,0x74,0x2d])+_0x389410(_0x2e5152(_0x499624)),_0x15960c=window[_0x28bb3d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x28bb3d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xab4034);return _0x15960c?window[_0x28bb3d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xae276(_0x15960c),0x10)*_0x577b9b:null;}function _0x149f14(_0x443e36){return new window[(_0x28bb3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x132825,_0x3cec05)=>{_0x443e36[_0x28bb3d([0x74,0x68,0x65,0x6e])](_0x132825,_0x3cec05),window[_0x28bb3d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3cec05,0x45dc06d5^_0x2cb0d3);});}}_0x37d61b[_0x28bb3d([0x6f,0x6e])](_0x28bb3d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3ec16f,_0x558083)=>{if(_0x558083[0x0]!=_0x499624)return _0x432af4(_0x28bb3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x558083[0x1]={..._0x558083[0x1],[_0x28bb3d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x12bf45};},{[_0x28bb3d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x28bb3d([0x68,0x69,0x67,0x68])}),_0x37d61b[_0x28bb3d([0x6f,0x6e])](_0x28bb3d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2070a5=>{_0x155262(_0x2070a5[_0x28bb3d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1a138d=!0x0,_0x31860f(_0x2070a5[_0x28bb3d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x28bb3d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x28bb3d([0x6c,0x6f,0x77])}),_0x307704[_0x28bb3d([0x74,0x68,0x65,0x6e])](()=>{_0x1a138d||_0x432af4(_0x28bb3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a61ed(){return _0x37d61b[_0x28bb3d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x28bb3d([0x76,0x69,0x65,0x77])][_0x28bb3d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x28bb3d([0x61,0x75,0x74,0x6f]);}function _0x2774f4(){_0x37d61b[_0x28bb3d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x28bb3d([0x76,0x69,0x65,0x77])][_0x28bb3d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x28bb3d([0x61,0x75,0x74,0x6f]);}}function _0x39a2e1(_0x3712fd){const _0x3cb36c=[new window[(_0x28bb3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49b490=>setTimeout(_0x49b490,0x45d4ecd9^_0x2cb0d3)),_0x307704[_0x28bb3d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x28bb3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x191596=>{let _0x7ae543=0x0;_0x37d61b[_0x28bb3d([0x6d,0x6f,0x64,0x65,0x6c])][_0x28bb3d([0x6f,0x6e])](_0x28bb3d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4fa890,_0x283732)=>{_0x283732[0x0][_0x28bb3d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x7ae543++,_0x7ae543==(0x45ddd7fd^_0x2cb0d3)&&(_0x191596(),_0x4fa890[_0x28bb3d([0x6f,0x66,0x66])]());});}))];return window[_0x28bb3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x28bb3d([0x72,0x61,0x63,0x65])](_0x3cb36c)[_0x28bb3d([0x74,0x68,0x65,0x6e])](()=>_0x3712fd);}async function _0x14022a(){await _0x307704,_0x37d61b[_0x28bb3d([0x6d,0x6f,0x64,0x65,0x6c])][_0x28bb3d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3a649d,_0x37d61b[_0x28bb3d([0x6d,0x6f,0x64,0x65,0x6c])][_0x28bb3d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3a649d,_0x37d61b[_0x28bb3d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x28bb3d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x56e27f(_0x8e30f4){const _0x38cd63=_0x224306();_0x37d61b[_0x38cd63]=_0x28bb3d([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x8e30f4,_0x8e30f4!=_0x28bb3d([0x56,0x61,0x6c,0x69,0x64])&&_0x14022a();}function _0x224306(){const _0x5db585=window[_0x28bb3d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x28bb3d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x28bb3d([0x6e,0x6f,0x77])]())[_0x28bb3d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x28bb3d([0x2e]),'');let _0x3359b7=_0x28bb3d([0x50]);for(let _0x4c4ebb=0x0;_0x4c4ebb<_0x5db585[_0x28bb3d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c4ebb+=0x2){let _0x48850b=window[_0x28bb3d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5db585[_0x28bb3d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c4ebb,_0x4c4ebb+0x2));_0x48850b>=_0x35e285[_0x28bb3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x48850b-=_0x35e285[_0x28bb3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3359b7+=_0x35e285[_0x48850b];}return _0x3359b7;}function _0x953be(){const _0x46f84b=_0x2aa12a[_0x28bb3d([0x73,0x70,0x6c,0x69,0x74])](_0x28bb3d([0x2e]));if(0x3!=_0x46f84b[_0x28bb3d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x28315b(_0x46f84b[0x1]);function _0x28315b(_0x459df4){const _0x26d559=_0x5e2776(_0x459df4);return _0x26d559&&_0xc1d8e5()?_0x26d559:null;function _0xc1d8e5(){const _0x36a17c=_0x26d559[_0x28bb3d([0x6a,0x74,0x69])],_0x52d98f=window[_0x28bb3d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36a17c[_0x28bb3d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36a17c[_0x28bb3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x342771={..._0x26d559,[_0x28bb3d([0x6a,0x74,0x69])]:_0x36a17c[_0x28bb3d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x36a17c[_0x28bb3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x342771[_0x28bb3d([0x76,0x63])],_0x2e5152(_0x342771)==_0x52d98f;}}}async function _0x37a8e6(){let _0x150bff=!0x0;try{const _0x253446=_0x2aa12a[_0x28bb3d([0x73,0x70,0x6c,0x69,0x74])](_0x28bb3d([0x2e])),[_0x181912,_0x3a741b,_0x585c11]=_0x253446;return _0x1d899e(_0x181912),await _0x412f8e(_0x181912,_0x3a741b,_0x585c11),_0x150bff;}catch{return!0x1;}function _0x1d899e(_0x3c5688){const _0xfbef63=_0x5e2776(_0x3c5688);_0xfbef63&&_0xfbef63[_0x28bb3d([0x61,0x6c,0x67])]==_0x28bb3d([0x45,0x53,0x32,0x35,0x36])||(_0x150bff=!0x1);}async function _0x412f8e(_0x534794,_0x380aa4,_0x41f16c){const _0x34b994=window[_0x28bb3d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x28bb3d([0x66,0x72,0x6f,0x6d])](_0x20c28e(_0x41f16c),_0x4cc834=>_0x4cc834[_0x28bb3d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1f79eb=new window[(_0x28bb3d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x28bb3d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x534794+_0x28bb3d([0x2e])+_0x380aa4),_0xd8272d=window[_0x28bb3d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x28bb3d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd8272d)return;const _0x137a5b=await _0xd8272d[_0x28bb3d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x28bb3d([0x6a,0x77,0x6b]),_0x5951c5,{[_0x28bb3d([0x6e,0x61,0x6d,0x65])]:_0x28bb3d([0x45,0x43,0x44,0x53,0x41]),[_0x28bb3d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x28bb3d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x28bb3d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd8272d[_0x28bb3d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x28bb3d([0x6e,0x61,0x6d,0x65])]:_0x28bb3d([0x45,0x43,0x44,0x53,0x41]),[_0x28bb3d([0x68,0x61,0x73,0x68])]:{[_0x28bb3d([0x6e,0x61,0x6d,0x65])]:_0x28bb3d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x137a5b,_0x34b994,_0x1f79eb)||(_0x150bff=!0x1);}}function _0x5e2776(_0x58059){return _0x58059[_0x28bb3d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x28bb3d([0x65,0x79]))?JSON[_0x28bb3d([0x70,0x61,0x72,0x73,0x65])](_0x20c28e(_0x58059)):null;}function _0x20c28e(_0x223419){return window[_0x28bb3d([0x61,0x74,0x6f,0x62])](_0x223419[_0x28bb3d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x28bb3d([0x2b]))[_0x28bb3d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x28bb3d([0x2f])));}function _0x2e5152(_0xb71f90){let _0x2943b7=0x1505;function _0x1085c0(_0x2d8ece){for(let _0x46250a=0x0;_0x46250a<_0x2d8ece[_0x28bb3d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x46250a++){const _0x5e4097=_0x2d8ece[_0x28bb3d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x46250a);_0x2943b7=(_0x2943b7<<0x5)+_0x2943b7+_0x5e4097,_0x2943b7&=_0x2943b7;}}function _0x391402(_0x4b74cf){Array[_0x28bb3d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4b74cf)?_0x4b74cf[_0x28bb3d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x391402):_0x4b74cf&&typeof _0x4b74cf==_0x28bb3d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x28bb3d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4b74cf)[_0x28bb3d([0x73,0x6f,0x72,0x74])]()[_0x28bb3d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xaf265f,_0xc674d])=>{_0x1085c0(_0xaf265f),_0x391402(_0xc674d);}):_0x1085c0(window[_0x28bb3d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4b74cf));}return _0x391402(_0xb71f90),_0x2943b7>>>0x0;}function _0x389410(_0x53e7e0){return _0x53e7e0[_0x28bb3d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x28bb3d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x28bb3d([0x30]));}function _0xae276(_0x4d3412){return _0x4d3412[_0x28bb3d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x28bb3d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x28bb3d([0x6a,0x6f,0x69,0x6e])]('');}function _0x3a649d(){}function _0x28bb3d(_0x3e41d3){const _0x4a2568=_0xed79;return _0x3e41d3[_0x4a2568(0x1eb)](_0x472fd0=>String[_0x4a2568(0x204)](_0x472fd0))[_0x4a2568(0x209)]('');}_0x56e27f(await _0x18b456());}(this);}[_0x4457b3(0x208)](){const _0x4d7a07=_0x4457b3,_0x1bb81b=this[_0x4d7a07(0x1ef)];if(!_0x1bb81b[_0x4d7a07(0x1d9)][_0x4d7a07(0x1d6)](_0x4d7a07(0x1df)))return;const _0x596bc6=_0x1bb81b[_0x4d7a07(0x1d9)][_0x4d7a07(0x1d6)](_0x4d7a07(0x1f4))[_0x4d7a07(0x1e2)](_0x250f2a=>_0x4d7a07(0x20c)==typeof _0x250f2a&&(!_0x4d442c(_0x250f2a)&&isNaN(Number(_0x250f2a))));if(_0x596bc6[_0x4d7a07(0x1f3)])throw new _0x528ed6(_0x4d7a07(0x205),null,{'namedPresets':_0x596bc6});}[_0x4457b3(0x1f0)](){const _0x26e47e=_0x4457b3,_0x4a2850=this[_0x26e47e(0x1ef)],_0x49ab26=this[_0x26e47e(0x1ef)][_0x26e47e(0x1d9)][_0x26e47e(0x1d6)](_0x26e47e(0x1f7));_0x4a2850[_0x26e47e(0x1fd)][_0x26e47e(0x202)](_0x26e47e(0x1ee))[_0x26e47e(0x1d7)]({'model':{'key':_0x26e47e(0x1da)},'view':_0xb64757=>String(_0xb64757)===String(_0x49ab26)?null:{'key':_0x26e47e(0x20d),'value':{'line-height':_0xb64757}}}),_0x4a2850[_0x26e47e(0x1fd)][_0x26e47e(0x202)](_0x26e47e(0x1e9))[_0x26e47e(0x1d7)]({'model':{'key':_0x26e47e(0x1da),'value':_0xbdcb21=>{const _0x14071d=_0x26e47e;let _0x1408a3=_0xbdcb21[_0x14071d(0x1ed)](_0x14071d(0x1ea));return _0x2e06ad(_0x1408a3)&&(_0x1408a3=String(Number(_0x1408a3[_0x14071d(0x1dd)](0x0,-0x1))/0x64)),String(_0x1408a3)===String(_0x49ab26)?null:_0x1408a3;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4457b3(0x1f2)](){const _0x11d88c=_0x4457b3,_0x5a18b0=this[_0x11d88c(0x1ef)],_0x3023dc=this[_0x11d88c(0x1ef)][_0x11d88c(0x1d9)][_0x11d88c(0x1d6)](_0x11d88c(0x1f7)),_0x44261f=_0x54bfd0(this[_0x11d88c(0x1ef)][_0x11d88c(0x1d9)][_0x11d88c(0x1d6)](_0x11d88c(0x1da)))[_0x11d88c(0x1e2)](_0x16084b=>_0x16084b[_0x11d88c(0x1fe)]),_0x47b9df=_0x365e8d(_0x11d88c(0x1da),_0x44261f);_0x5a18b0[_0x11d88c(0x1fd)][_0x11d88c(0x1d7)](_0x47b9df),_0x5a18b0[_0x11d88c(0x1fd)][_0x11d88c(0x202)](_0x11d88c(0x1e9))[_0x11d88c(0x1d7)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x11d88c(0x1da),'value':_0x266e74=>{const _0x37d902=_0x11d88c;let _0x5926bd=_0x266e74[_0x37d902(0x1ed)](_0x37d902(0x1ea));return _0x2e06ad(_0x5926bd)&&(_0x5926bd=String(Number(_0x5926bd[_0x37d902(0x1dd)](0x0,-0x1))/0x64)),_0x5926bd===String(_0x3023dc)?null:_0x47b9df[_0x37d902(0x1fe)][_0x37d902(0x1de)][_0x37d902(0x1e7)](_0x5926bd)?_0x5926bd:null;}}});}}
|
|
23
|
+
const _0x3a3091=_0x1bad;function _0xd070(){const _0x4ad738=['LineHeightEditing','schema','lineHeight.defaultValue','7681740FGTvJi','87fGgeBn','isPremiumPlugin','7OsFXjE','map','get','_preparePredefinedConverters','fromCharCode','downcast','add','lineHeight.options','1625838Ggijyi','getStyle','for','extend','2573190wQSRJf','pluginName','$block','includes','style','23444uFYmnm','length','editor','init','lineHeight.supportAllValues','slice','string','values','124ZeAJBY','define','attributeToAttribute','requires','model','filter','afterInit','isOfficialPlugin','conversion','line-height','href','upcast','line-height-invalid-use-of-named-presets','_validateConfig','default','join','lineHeight','config','_prepareAnyValueConverters','commands','87655twwHRK','424842LpcsCb','2295600MlHbTR','setAttributeProperties'];_0xd070=function(){return _0x4ad738;};return _0xd070();}(function(_0x33f898,_0x55d5c9){const _0x4cf66d=_0x1bad,_0x346c30=_0x33f898();while(!![]){try{const _0x555149=-parseInt(_0x4cf66d(0xa5))/0x1+parseInt(_0x4cf66d(0x88))/0x2*(-parseInt(_0x4cf66d(0x75))/0x3)+-parseInt(_0x4cf66d(0x90))/0x4*(parseInt(_0x4cf66d(0xa4))/0x5)+parseInt(_0x4cf66d(0x7f))/0x6*(parseInt(_0x4cf66d(0x77))/0x7)+parseInt(_0x4cf66d(0xa6))/0x8+parseInt(_0x4cf66d(0x83))/0x9+parseInt(_0x4cf66d(0x74))/0xa;if(_0x555149===_0x55d5c9)break;else _0x346c30['push'](_0x346c30['shift']());}catch(_0x52ac98){_0x346c30['push'](_0x346c30['shift']());}}}(_0xd070,0x4a296));import{Plugin as _0x35f740}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x1c2712}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x53d145}from'ckeditor5/src/engine.js';import{uid as _0x496427,CKEditorError as _0x2d005d}from'ckeditor5/src/utils.js';import{buildDefinition as _0x48ce96,isLineHeightDefaultValue as _0x509ba0,normalizeOptions as _0x2fc90b}from'./utils.js';import{LineHeightTodoListIntegration as _0x40addc}from'./integrations/todolist.js';function _0x1bad(_0x5898a6,_0x587e73){const _0xd070ee=_0xd070();return _0x1bad=function(_0x1bad83,_0x3f1e6e){_0x1bad83=_0x1bad83-0x73;let _0x4378aa=_0xd070ee[_0x1bad83];return _0x4378aa;},_0x1bad(_0x5898a6,_0x587e73);}export class LineHeightEditing extends _0x35f740{static get[_0x3a3091(0x84)](){const _0xe3b10d=_0x3a3091;return _0xe3b10d(0xa8);}static get[_0x3a3091(0x93)](){return[_0x40addc];}static get[_0x3a3091(0x97)](){return!0x0;}static get[_0x3a3091(0x76)](){return!0x0;}constructor(_0x7b7a68){const _0x25a7a5=_0x3a3091;super(_0x7b7a68),_0x7b7a68[_0x25a7a5(0xa1)][_0x25a7a5(0x91)](_0x25a7a5(0xa0),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x25a7a5(0x9e),0x2,2.5,0x3]});}[_0x3a3091(0x8b)](){const _0x515c9d=_0x3a3091,_0x319a42=this[_0x515c9d(0x8a)];this[_0x515c9d(0x9d)](),_0x319a42[_0x515c9d(0x94)][_0x515c9d(0xa9)][_0x515c9d(0x82)](_0x515c9d(0x85),{'allowAttributes':_0x515c9d(0xa0)}),_0x319a42[_0x515c9d(0x94)][_0x515c9d(0xa9)][_0x515c9d(0xa7)](_0x515c9d(0xa0),{'isFormatting':!0x0}),_0x319a42[_0x515c9d(0xa3)][_0x515c9d(0x7d)](_0x515c9d(0xa0),new _0x1c2712(_0x319a42)),this[_0x515c9d(0x8a)][_0x515c9d(0xa1)][_0x515c9d(0x79)](_0x515c9d(0x8c))?this[_0x515c9d(0xa2)]():this[_0x515c9d(0x7a)]();}[_0x3a3091(0x96)](){!async function(_0x4e12eb){const _0xfc942f=_0x18de1f([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x16e186=0x45ddd215,_0x4ede6f=0x45daaead^_0x16e186,_0x23a003=window[_0x18de1f([0x44,0x61,0x74,0x65])][_0x18de1f([0x6e,0x6f,0x77])](),_0x100f75=_0x4e12eb[_0x18de1f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x29f66f=new window[(_0x18de1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x528191=>{_0x100f75[_0x18de1f([0x6f,0x6e,0x63,0x65])](_0x18de1f([0x72,0x65,0x61,0x64,0x79]),_0x528191);}),_0x2eb720={[_0x18de1f([0x6b,0x74,0x79])]:_0x18de1f([0x45,0x43]),[_0x18de1f([0x75,0x73,0x65])]:_0x18de1f([0x73,0x69,0x67]),[_0x18de1f([0x63,0x72,0x76])]:_0x18de1f([0x50,0x2d,0x32,0x35,0x36]),[_0x18de1f([0x78])]:_0x18de1f([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]),[_0x18de1f([0x79])]:_0x18de1f([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]),[_0x18de1f([0x61,0x6c,0x67])]:_0x18de1f([0x45,0x53,0x32,0x35,0x36])},_0x3aaaeb=_0x100f75[_0x18de1f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x18de1f([0x67,0x65,0x74])](_0x18de1f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x11e680(){let _0x1c3c18,_0x1b48ec=null,_0x1e8e0a=null;try{if(_0x3aaaeb==_0x18de1f([0x47,0x50,0x4c]))return _0x18de1f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1c3c18=_0x4b4cc4(),!_0x1c3c18)return _0x18de1f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1c3c18[_0x18de1f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e8e0a=_0x39e69b(_0x1c3c18[_0x18de1f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1c3c18[_0x18de1f([0x6a,0x74,0x69])])),await _0x1ce96a()?_0x3a7ef8()?_0x4b08e6()?_0x18de1f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xa119f7()?(_0x1c3c18[_0x18de1f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x18de1f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1b48ec=_0x4b571c(_0x18de1f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1c3c18[_0x18de1f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x18de1f([0x74,0x72,0x69,0x61,0x6c])&&(_0x1b48ec=_0x4b571c(_0x18de1f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1f6d13()):_0x18de1f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x18de1f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x18de1f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x18de1f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4b08e6(){const _0x3ef98b=[_0x18de1f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x18de1f([0x74,0x72,0x69,0x61,0x6c])][_0x18de1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c3c18[_0x18de1f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x23a003/0x3e8:0xe10*_0x4ede6f;return _0x1c3c18[_0x18de1f([0x65,0x78,0x70])]<_0x3ef98b;}function _0x3a7ef8(){const _0x5f9d2b=_0x1c3c18[_0x18de1f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5f9d2b&&(!!_0x5f9d2b[_0x18de1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18de1f([0x2a]))||!!_0x5f9d2b[_0x18de1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18de1f([0x4c,0x48])));}function _0xa119f7(){const _0x2b38c1=_0x1bad,_0x4af1c6=_0x1c3c18[_0x18de1f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4af1c6||0x0==_0x4af1c6[_0x18de1f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3ee81d}=new URL(window[_0x18de1f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2b38c1(0x9a)]);if(_0x4af1c6[_0x18de1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ee81d))return!0x0;const _0x56288d=_0x3ee81d[_0x18de1f([0x73,0x70,0x6c,0x69,0x74])](_0x18de1f([0x2e]));return _0x4af1c6[_0x18de1f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54ce85=>_0x54ce85[_0x18de1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18de1f([0x2a])))[_0x18de1f([0x6d,0x61,0x70])](_0x58eba1=>_0x58eba1[_0x18de1f([0x73,0x70,0x6c,0x69,0x74])](_0x18de1f([0x2e])))[_0x18de1f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x535465=>_0x535465[_0x18de1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x56288d[_0x18de1f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18de1f([0x6d,0x61,0x70])](_0x4937e1=>Array(_0x56288d[_0x18de1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4937e1[_0x18de1f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18de1f([0x66,0x69,0x6c,0x6c])](_0x4937e1[0x0]===_0x18de1f([0x2a])?_0x18de1f([0x2a]):'')[_0x18de1f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4937e1))[_0x18de1f([0x73,0x6f,0x6d,0x65])](_0x3ad6dd=>_0x56288d[_0x18de1f([0x65,0x76,0x65,0x72,0x79])]((_0x30de94,_0xc81c9d)=>_0x3ad6dd[_0xc81c9d]===_0x30de94||_0x3ad6dd[_0xc81c9d]===_0x18de1f([0x2a])));}function _0x1f6d13(){return _0x1b48ec&&_0x1e8e0a?new window[(_0x18de1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6ca8bf,_0x312df8)=>{_0x1b48ec[_0x18de1f([0x74,0x68,0x65,0x6e])](_0x6ca8bf,_0x312df8),_0x1e8e0a[_0x18de1f([0x74,0x68,0x65,0x6e])](_0x957644=>{_0x957644!=_0x18de1f([0x56,0x61,0x6c,0x69,0x64])&&_0x6ca8bf(_0x957644);},_0x312df8);}):_0x1b48ec||_0x1e8e0a||_0x18de1f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x39e69b(_0x5ffdbd,_0x54f8f2){return new window[(_0x18de1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x170738=>{if(_0x53e032())return _0x170738(_0x18de1f([0x56,0x61,0x6c,0x69,0x64]));_0x26272e(),_0x100f75[_0x18de1f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x18de1f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x421c0a=!0x1;const _0x3133a0=_0x496427();function _0x4a6e5f(_0x3f3d87){return!!_0x3f3d87&&(typeof _0x3f3d87===_0x18de1f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3f3d87===_0x18de1f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3f3d87[_0x18de1f([0x74,0x68,0x65,0x6e])]===_0x18de1f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3f3d87[_0x18de1f([0x63,0x61,0x74,0x63,0x68])]===_0x18de1f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x51031b(_0x1e8d78){_0x5003a2(_0x1e8d78)[_0x18de1f([0x74,0x68,0x65,0x6e])](_0x19f27c=>{if(!_0x19f27c||_0x19f27c[_0x18de1f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x18de1f([0x6f,0x6b]))return _0x18de1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x26a747(_0x11bbed(_0x3133a0+_0x54f8f2))!=_0x19f27c[_0x18de1f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x18de1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x18de1f([0x56,0x61,0x6c,0x69,0x64]);})[_0x18de1f([0x74,0x68,0x65,0x6e])](_0x97490d=>(_0x587ca9(),_0x97490d),()=>{const _0x34d540=_0x12e516();return null==_0x34d540?(_0x587ca9(),_0x18de1f([0x56,0x61,0x6c,0x69,0x64])):_0x18de1f(_0x23a003-_0x34d540>(0x61d15615^_0x16e186)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x18de1f([0x74,0x68,0x65,0x6e])](_0x170738)[_0x18de1f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x170738(_0x18de1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x399999=0x45eb3c95^_0x16e186;function _0x587ca9(){const _0x44589c=_0x18de1f([0x6c,0x6c,0x63,0x74,0x2d])+_0x26a747(_0x11bbed(_0x5ffdbd)),_0x41d6fd=_0x2cdc2d(_0x26a747(window[_0x18de1f([0x4d,0x61,0x74,0x68])][_0x18de1f([0x63,0x65,0x69,0x6c])](_0x23a003/_0x399999)));window[_0x18de1f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18de1f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x44589c,_0x41d6fd);}function _0x12e516(){const _0x134ad5=_0x18de1f([0x6c,0x6c,0x63,0x74,0x2d])+_0x26a747(_0x11bbed(_0x5ffdbd)),_0x216f80=window[_0x18de1f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18de1f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x134ad5);return _0x216f80?window[_0x18de1f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cdc2d(_0x216f80),0x10)*_0x399999:null;}function _0x5003a2(_0x38ae79){return new window[(_0x18de1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x175c86,_0x5c8ea2)=>{_0x38ae79[_0x18de1f([0x74,0x68,0x65,0x6e])](_0x175c86,_0x5c8ea2),window[_0x18de1f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5c8ea2,0x45dc06d5^_0x16e186);});}}_0x100f75[_0x18de1f([0x6f,0x6e])](_0x18de1f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3c8309,_0x249e8d)=>{if(_0x249e8d[0x0]!=_0x5ffdbd)return _0x170738(_0x18de1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x249e8d[0x1]={..._0x249e8d[0x1],[_0x18de1f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3133a0};},{[_0x18de1f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18de1f([0x68,0x69,0x67,0x68])}),_0x100f75[_0x18de1f([0x6f,0x6e])](_0x18de1f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x421cfe=>{_0x4a6e5f(_0x421cfe[_0x18de1f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x421c0a=!0x0,_0x51031b(_0x421cfe[_0x18de1f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x18de1f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18de1f([0x6c,0x6f,0x77])}),_0x29f66f[_0x18de1f([0x74,0x68,0x65,0x6e])](()=>{_0x421c0a||_0x170738(_0x18de1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x53e032(){return _0x100f75[_0x18de1f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18de1f([0x76,0x69,0x65,0x77])][_0x18de1f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x18de1f([0x61,0x75,0x74,0x6f]);}function _0x26272e(){_0x100f75[_0x18de1f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18de1f([0x76,0x69,0x65,0x77])][_0x18de1f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x18de1f([0x61,0x75,0x74,0x6f]);}}function _0x4b571c(_0x1ab694){const _0x5f2b87=[new window[(_0x18de1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x850ff6=>setTimeout(_0x850ff6,0x45d4ecd9^_0x16e186)),_0x29f66f[_0x18de1f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x18de1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19f26d=>{let _0x4a2aee=0x0;_0x100f75[_0x18de1f([0x6d,0x6f,0x64,0x65,0x6c])][_0x18de1f([0x6f,0x6e])](_0x18de1f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b1bac,_0x1c6cdf)=>{_0x1c6cdf[0x0][_0x18de1f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4a2aee++,_0x4a2aee==(0x45ddd7fd^_0x16e186)&&(_0x19f26d(),_0x5b1bac[_0x18de1f([0x6f,0x66,0x66])]());});}))];return window[_0x18de1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x18de1f([0x72,0x61,0x63,0x65])](_0x5f2b87)[_0x18de1f([0x74,0x68,0x65,0x6e])](()=>_0x1ab694);}async function _0x156f2f(){await _0x29f66f,_0x100f75[_0x18de1f([0x6d,0x6f,0x64,0x65,0x6c])][_0x18de1f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x40b7c4,_0x100f75[_0x18de1f([0x6d,0x6f,0x64,0x65,0x6c])][_0x18de1f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x40b7c4,_0x100f75[_0x18de1f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x18de1f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5022f7(_0x1877bf){const _0x31d2f7=_0xc87906();_0x100f75[_0x31d2f7]=_0x18de1f([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1877bf,_0x1877bf!=_0x18de1f([0x56,0x61,0x6c,0x69,0x64])&&_0x156f2f();}function _0xc87906(){const _0x259c3d=window[_0x18de1f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x18de1f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x18de1f([0x6e,0x6f,0x77])]())[_0x18de1f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x18de1f([0x2e]),'');let _0x4d5b20=_0x18de1f([0x50]);for(let _0x3e1c47=0x0;_0x3e1c47<_0x259c3d[_0x18de1f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e1c47+=0x2){let _0x44175e=window[_0x18de1f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x259c3d[_0x18de1f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e1c47,_0x3e1c47+0x2));_0x44175e>=_0xfc942f[_0x18de1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x44175e-=_0xfc942f[_0x18de1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d5b20+=_0xfc942f[_0x44175e];}return _0x4d5b20;}function _0x4b4cc4(){const _0x36feb3=_0x3aaaeb[_0x18de1f([0x73,0x70,0x6c,0x69,0x74])](_0x18de1f([0x2e]));if(0x3!=_0x36feb3[_0x18de1f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xe29290(_0x36feb3[0x1]);function _0xe29290(_0x1f0e1d){const _0x2c6a1a=_0x306a46(_0x1f0e1d);return _0x2c6a1a&&_0x2431a9()?_0x2c6a1a:null;function _0x2431a9(){const _0xf21ffa=_0x2c6a1a[_0x18de1f([0x6a,0x74,0x69])],_0x22f36f=window[_0x18de1f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf21ffa[_0x18de1f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf21ffa[_0x18de1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x42f954={..._0x2c6a1a,[_0x18de1f([0x6a,0x74,0x69])]:_0xf21ffa[_0x18de1f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf21ffa[_0x18de1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x42f954[_0x18de1f([0x76,0x63])],_0x11bbed(_0x42f954)==_0x22f36f;}}}async function _0x1ce96a(){let _0x80baf9=!0x0;try{const _0x18b320=_0x3aaaeb[_0x18de1f([0x73,0x70,0x6c,0x69,0x74])](_0x18de1f([0x2e])),[_0x27c9b1,_0x392dcb,_0x1fa9f4]=_0x18b320;return _0x410d16(_0x27c9b1),await _0x219af3(_0x27c9b1,_0x392dcb,_0x1fa9f4),_0x80baf9;}catch{return!0x1;}function _0x410d16(_0x52675a){const _0x15cc5c=_0x306a46(_0x52675a);_0x15cc5c&&_0x15cc5c[_0x18de1f([0x61,0x6c,0x67])]==_0x18de1f([0x45,0x53,0x32,0x35,0x36])||(_0x80baf9=!0x1);}async function _0x219af3(_0x5b2797,_0x50bf80,_0x44278a){const _0x399046=window[_0x18de1f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x18de1f([0x66,0x72,0x6f,0x6d])](_0x480a13(_0x44278a),_0x4fd657=>_0x4fd657[_0x18de1f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5015bb=new window[(_0x18de1f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x18de1f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5b2797+_0x18de1f([0x2e])+_0x50bf80),_0xb0d4a4=window[_0x18de1f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x18de1f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xb0d4a4)return;const _0x3c254b=await _0xb0d4a4[_0x18de1f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x18de1f([0x6a,0x77,0x6b]),_0x2eb720,{[_0x18de1f([0x6e,0x61,0x6d,0x65])]:_0x18de1f([0x45,0x43,0x44,0x53,0x41]),[_0x18de1f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x18de1f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x18de1f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xb0d4a4[_0x18de1f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x18de1f([0x6e,0x61,0x6d,0x65])]:_0x18de1f([0x45,0x43,0x44,0x53,0x41]),[_0x18de1f([0x68,0x61,0x73,0x68])]:{[_0x18de1f([0x6e,0x61,0x6d,0x65])]:_0x18de1f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3c254b,_0x399046,_0x5015bb)||(_0x80baf9=!0x1);}}function _0x306a46(_0x45e418){return _0x45e418[_0x18de1f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x18de1f([0x65,0x79]))?JSON[_0x18de1f([0x70,0x61,0x72,0x73,0x65])](_0x480a13(_0x45e418)):null;}function _0x480a13(_0x30fdaa){return window[_0x18de1f([0x61,0x74,0x6f,0x62])](_0x30fdaa[_0x18de1f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x18de1f([0x2b]))[_0x18de1f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x18de1f([0x2f])));}function _0x11bbed(_0x167e49){let _0x2ef8ff=0x1505;function _0x278a64(_0x47efe4){for(let _0x45e480=0x0;_0x45e480<_0x47efe4[_0x18de1f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45e480++){const _0x5e1d39=_0x47efe4[_0x18de1f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x45e480);_0x2ef8ff=(_0x2ef8ff<<0x5)+_0x2ef8ff+_0x5e1d39,_0x2ef8ff&=_0x2ef8ff;}}function _0x52b8b5(_0x4d7d6d){Array[_0x18de1f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d7d6d)?_0x4d7d6d[_0x18de1f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x52b8b5):_0x4d7d6d&&typeof _0x4d7d6d==_0x18de1f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x18de1f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d7d6d)[_0x18de1f([0x73,0x6f,0x72,0x74])]()[_0x18de1f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ba0c8,_0x395709])=>{_0x278a64(_0x5ba0c8),_0x52b8b5(_0x395709);}):_0x278a64(window[_0x18de1f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d7d6d));}return _0x52b8b5(_0x167e49),_0x2ef8ff>>>0x0;}function _0x26a747(_0x44d372){return _0x44d372[_0x18de1f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x18de1f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x18de1f([0x30]));}function _0x2cdc2d(_0x43d542){return _0x43d542[_0x18de1f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x18de1f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x18de1f([0x6a,0x6f,0x69,0x6e])]('');}function _0x40b7c4(){}function _0x18de1f(_0x2aaf2f){const _0x5d91b4=_0x1bad;return _0x2aaf2f[_0x5d91b4(0x78)](_0x132d7a=>String[_0x5d91b4(0x7b)](_0x132d7a))[_0x5d91b4(0x9f)]('');}_0x5022f7(await _0x11e680());}(this);}[_0x3a3091(0x9d)](){const _0x561c26=_0x3a3091,_0x56d30a=this[_0x561c26(0x8a)];if(!_0x56d30a[_0x561c26(0xa1)][_0x561c26(0x79)](_0x561c26(0x8c)))return;const _0xaa732a=_0x56d30a[_0x561c26(0xa1)][_0x561c26(0x79)](_0x561c26(0x7e))[_0x561c26(0x95)](_0x44e0a0=>_0x561c26(0x8e)==typeof _0x44e0a0&&(!_0x509ba0(_0x44e0a0)&&isNaN(Number(_0x44e0a0))));if(_0xaa732a[_0x561c26(0x89)])throw new _0x2d005d(_0x561c26(0x9c),null,{'namedPresets':_0xaa732a});}[_0x3a3091(0xa2)](){const _0x431538=_0x3a3091,_0x4956c6=this[_0x431538(0x8a)],_0x20e9b8=this[_0x431538(0x8a)][_0x431538(0xa1)][_0x431538(0x79)](_0x431538(0x73));_0x4956c6[_0x431538(0x98)][_0x431538(0x81)](_0x431538(0x7c))[_0x431538(0x92)]({'model':{'key':_0x431538(0xa0)},'view':_0x135b91=>String(_0x135b91)===String(_0x20e9b8)?null:{'key':_0x431538(0x87),'value':{'line-height':_0x135b91}}}),_0x4956c6[_0x431538(0x98)][_0x431538(0x81)](_0x431538(0x9b))[_0x431538(0x92)]({'model':{'key':_0x431538(0xa0),'value':_0x1d56fc=>{const _0x3ef959=_0x431538;let _0x6a153f=_0x1d56fc[_0x3ef959(0x80)](_0x3ef959(0x99));return _0x53d145(_0x6a153f)&&(_0x6a153f=String(Number(_0x6a153f[_0x3ef959(0x8d)](0x0,-0x1))/0x64)),String(_0x6a153f)===String(_0x20e9b8)?null:_0x6a153f;}},'view':{'styles':{'line-height':/.*/}}});}[_0x3a3091(0x7a)](){const _0x114fdd=_0x3a3091,_0x2ffad2=this[_0x114fdd(0x8a)],_0x1e720d=this[_0x114fdd(0x8a)][_0x114fdd(0xa1)][_0x114fdd(0x79)](_0x114fdd(0x73)),_0x5a208e=_0x2fc90b(this[_0x114fdd(0x8a)][_0x114fdd(0xa1)][_0x114fdd(0x79)](_0x114fdd(0xa0)))[_0x114fdd(0x95)](_0x40e912=>_0x40e912[_0x114fdd(0x94)]),_0x79f075=_0x48ce96(_0x114fdd(0xa0),_0x5a208e);_0x2ffad2[_0x114fdd(0x98)][_0x114fdd(0x92)](_0x79f075),_0x2ffad2[_0x114fdd(0x98)][_0x114fdd(0x81)](_0x114fdd(0x9b))[_0x114fdd(0x92)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x114fdd(0xa0),'value':_0x1e8886=>{const _0x128ab4=_0x114fdd;let _0x45fa54=_0x1e8886[_0x128ab4(0x80)](_0x128ab4(0x99));return _0x53d145(_0x45fa54)&&(_0x45fa54=String(Number(_0x45fa54[_0x128ab4(0x8d)](0x0,-0x1))/0x64)),_0x45fa54===String(_0x1e720d)?null:_0x79f075[_0x128ab4(0x94)][_0x128ab4(0x8f)][_0x128ab4(0x86)](_0x45fa54)?_0x45fa54:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0xad0192}from'ckeditor5/src/core.js';import{addListToDropdown as _0x471371,createDropdown as _0x3f9dbd,MenuBarMenuListItemButtonView as _0x496b63,MenuBarMenuListItemView as _0x595470,MenuBarMenuListView as _0x4687c8,MenuBarMenuView as _0x308355,UIModel as _0x4504fb}from'ckeditor5/src/ui.js';import{Collection as _0x1c5a89}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x78d019}from'ckeditor5/src/icons.js';import{normalizeOptions as _0xbe2c6c}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0xad0192{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x449076={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x449076),this['_registerMenuBarComponent'](_0x449076),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x57090f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x200707;for(const _0x17b4cb in _0x57090f){const _0x1e8148=_0x17b4cb,_0x2f3cde=_0x57090f[_0x1e8148];if('lineHeightLicenseKeyValid'==_0x2f3cde||'lineHeightLicenseKeyInvalid'==_0x2f3cde||'lineHeightLicenseKeyExpired'==_0x2f3cde||'lineHeightLicenseKeyDomainLimit'==_0x2f3cde||'lineHeightLicenseKeyNotAllowed'==_0x2f3cde||'lineHeightLicenseKeyEvaluationLimit'==_0x2f3cde||'lineHeightLicenseKeyTrialLimit'==_0x2f3cde||'lineHeightLicenseKeyUsageLimit'==_0x2f3cde){delete _0x57090f[_0x1e8148],_0x200707=_0x2f3cde,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x200707&&_0x57090f['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x200707&&_0x57090f['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x200707&&_0x57090f['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x200707&&_0x57090f['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x200707&&_0x57090f['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x200707&&_0x57090f['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x200707&&_0x57090f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0xb2d2ab=this['editor'],t=_0xb2d2ab['t'],_0x38a106=_0xb2d2ab['config']['get']('lineHeight'),_0x52f59c={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0xbe2c6c(_0x38a106)['map'](_0x16b000=>{const _0x24c8a3=_0x52f59c[_0x16b000['title']];return _0x24c8a3&&_0x24c8a3!=_0x16b000['title']&&(_0x16b000=Object['assign']({},_0x16b000,{'title':_0x24c8a3})),_0x16b000;});}['_prepareListOptions'](){const _0x5c0022=this['editor']['commands']['get']('lineHeight'),_0x2f09bf=this['editor']['config']['get']('lineHeight.defaultValue'),_0xe50fd7=this['_getLocalizedLineHeightOptions'](),_0x1021d3=new _0x1c5a89(),_0x426a7c=_0x1364ec=>'default'===_0x1364ec||String(_0x2f09bf)===_0x1364ec;for(const _0x559981 of _0xe50fd7){const _0x40cd5f={'type':'button','model':new _0x4504fb({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x559981['title'],'withText':!0x0})};_0x426a7c(_0x559981['model'])?(_0x40cd5f['model']['bind']('isOn')['to'](_0x5c0022,'value',_0x3308c7=>!_0x3308c7),_0x40cd5f['model']['commandParam']=void 0x0):(_0x40cd5f['model']['bind']('isOn')['to'](_0x5c0022,'value',_0x48f5f1=>_0x48f5f1===_0x559981['model']),_0x40cd5f['model']['commandParam']=_0x559981['model']),_0x1021d3['add'](_0x40cd5f);}if(this['_shouldRenderCustomValueOption']()){const _0x3e4e7f=this['_getCustomValueOptionDefinition'](_0xe50fd7);_0x1021d3['add'](_0x3e4e7f);}return _0x1021d3;}['_getCustomValueOptionDefinition'](_0x57d5d4){const _0x3e419f=this['editor'],t=_0x3e419f['t'],_0x30e349=_0x3e419f['commands']['get']('lineHeight'),_0x252ee8=_0x57d5d4['map'](_0x336463=>_0x336463['model']),_0x4ed895={'type':'button','model':new _0x4504fb({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x4ed895['model']['bind']('commandParam')['to'](_0x30e349,'value'),_0x4ed895['model']['bind']('isOn')['to'](_0x30e349,'value',_0xefc8bd=>!!_0xefc8bd&&!_0x252ee8['includes'](String(_0xefc8bd))),_0x4ed895['model']['bind']('label')['to'](_0x30e349,'value',_0x1a763d=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1a763d))),_0x4ed895;}['_registerToolbarComponent']({accessibleLabel:_0xf97175,options:_0x2946e9}){const _0x119bf4=this['editor'],_0x16c21c=_0x119bf4['commands']['get']('lineHeight');_0x119bf4['ui']['componentFactory']['add']('lineHeight',_0x324bc2=>{const _0x58e9e1=_0x3f9dbd(_0x324bc2);return _0x471371(_0x58e9e1,_0x2946e9,{'role':'menu','ariaLabel':_0xf97175}),_0x58e9e1['buttonView']['set']({'label':_0xf97175,'tooltip':!0x0,'icon':_0x78d019}),_0x58e9e1['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x58e9e1['bind']('isEnabled')['to'](_0x16c21c),this['listenTo'](_0x58e9e1,'execute',_0x7ddda6=>{_0x119bf4['execute'](_0x7ddda6['source']['commandName'],{'value':_0x7ddda6['source']['commandParam']}),_0x119bf4['editing']['view']['focus']();}),_0x58e9e1['once']('change:isOpen',()=>{const _0x4cee54=_0x58e9e1['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x58e9e1,_0x2946e9,_0x4cee54);}),_0x58e9e1;});}['_registerMenuBarComponent']({accessibleLabel:_0x5e2896,options:_0x4556e9}){const _0x4d0d78=this['editor'],_0x292c25=_0x4d0d78['commands']['get']('lineHeight');_0x4d0d78['ui']['componentFactory']['add']('menuBar:lineHeight',_0x392093=>{const _0x106d76=new _0x308355(_0x392093);_0x106d76['buttonView']['set']({'label':_0x5e2896,'icon':_0x78d019}),_0x106d76['bind']('isEnabled')['to'](_0x292c25);const _0x568a1e=new _0x4687c8(_0x392093);for(const _0x7abba1 of _0x4556e9){const _0x3146b9=new _0x595470(_0x392093,_0x106d76),_0x10c724=new _0x496b63(_0x392093);_0x10c724['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x10c724['bind'](...Object['keys'](_0x7abba1['model']))['to'](_0x7abba1['model']),_0x10c724['delegate']('execute')['to'](_0x106d76),_0x10c724['on']('execute',()=>{_0x4d0d78['execute'](_0x7abba1['model']['commandName'],{'value':_0x7abba1['model']['commandParam']}),_0x4d0d78['editing']['view']['focus']();}),_0x3146b9['children']['add'](_0x10c724),_0x568a1e['items']['add'](_0x3146b9);}return _0x106d76['panelView']['children']['add'](_0x568a1e),this['_attachCustomOptionVisibilityHandler'](_0x106d76,_0x4556e9,_0x568a1e),_0x106d76;});}['_attachCustomOptionVisibilityHandler'](_0x8d1c6,_0x202769,_0x57cee8){if(!this['_shouldRenderCustomValueOption']())return;const _0x1c087b=()=>{if(!_0x8d1c6['isOpen'])return;_0x57cee8['items']['last']['isVisible']=Boolean(_0x202769['last']['model']['isOn']);};_0x1c087b(),_0x8d1c6['on']('change:isOpen',()=>{_0x1c087b();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2389(_0x26a518,_0x3b2e){const _0x4df8ae=_0x4df8();return _0x2389=function(_0x238904,_0x5a84cb){_0x238904=_0x238904-0x1c1;let _0x115418=_0x4df8ae[_0x238904];return _0x115418;},_0x2389(_0x26a518,_0x3b2e);}(function(_0x2fe7d7,_0xce95bf){const _0x172eab=_0x2389,_0x1aad82=_0x2fe7d7();while(!![]){try{const _0x3bbe2f=parseInt(_0x172eab(0x1de))/0x1*(parseInt(_0x172eab(0x1e0))/0x2)+-parseInt(_0x172eab(0x1c3))/0x3+parseInt(_0x172eab(0x1cc))/0x4+-parseInt(_0x172eab(0x1dd))/0x5+-parseInt(_0x172eab(0x1d5))/0x6+-parseInt(_0x172eab(0x1df))/0x7+-parseInt(_0x172eab(0x1c4))/0x8*(-parseInt(_0x172eab(0x1d8))/0x9);if(_0x3bbe2f===_0xce95bf)break;else _0x1aad82['push'](_0x1aad82['shift']());}catch(_0x12ef9a){_0x1aad82['push'](_0x1aad82['shift']());}}}(_0x4df8,0x4bc3a));function _0x4df8(){const _0x198322=['line-height-single','toLowerCase','2017932EVBGNc','key','single','5750307svrvQp','line-height-double','double','span','string','1804390HKgQxm','103zHhgug','295736gTtDvz','6146NGhnJK','map','model','defaultValue','1298244MSYtGd','8enMDpZ','values','push','options','style','Double','class','Single','2108336TWsSXe','view','value','filter','default','line-height:','number'];_0x4df8=function(){return _0x198322;};return _0x4df8();}const v={get 'single'(){const _0x2dd73d=_0x2389;return{'title':_0x2dd73d(0x1cb),'model':_0x2dd73d(0x1d7),'view':{'key':_0x2dd73d(0x1ca),'value':_0x2dd73d(0x1d3)}};},get 'double'(){const _0xf2a51c=_0x2389;return{'title':_0xf2a51c(0x1c9),'model':_0xf2a51c(0x1da),'view':{'key':_0xf2a51c(0x1ca),'value':_0xf2a51c(0x1d9)}};}};export function isLineHeightDefaultValue(_0x1a5cd2){const _0x5ca087=_0x2389;return _0x5ca087(0x1dc)==typeof _0x1a5cd2&&_0x5ca087(0x1d0)===_0x1a5cd2[_0x5ca087(0x1d4)]();}export function normalizeOptions(_0x11a084){const _0x4cea02=_0x2389;return _0x11a084[_0x4cea02(0x1c7)][_0x4cea02(0x1e1)](_0x505427=>isLineHeightDefaultValue(_0x505427)?{'title':String(_0x11a084[_0x4cea02(0x1c2)]),'model':_0x4cea02(0x1d0)}:(_0x4cea02(0x1d2)==typeof _0x505427&&(_0x505427=String(_0x505427)),_0x4cea02(0x1dc)!=typeof _0x505427?_0x505427:parseFloat(_0x505427)?{'title':_0x505427,'model':_0x505427,'view':{'name':_0x4cea02(0x1db),'styles':{'line-height':_0x505427}}}:findPreset(_0x505427)))[_0x4cea02(0x1cf)](_0x117f31=>void 0x0!==_0x117f31);}export function findPreset(_0x1a94d4){const _0x8bacde=_0x2389;return _0x8bacde(0x1dc)==typeof _0x1a94d4?v[_0x1a94d4]:v[_0x1a94d4[_0x8bacde(0x1c1)]];}export function buildDefinition(_0x215f19,_0x240ae5){const _0x331e25=_0x2389,_0x1fc2d4={'model':{'key':_0x215f19,'values':[]},'view':{}};for(const _0x1cf7c2 of _0x240ae5)_0x331e25(0x1ca)===_0x1cf7c2[_0x331e25(0x1cd)]?.[_0x331e25(0x1d6)]?(_0x1fc2d4[_0x331e25(0x1c1)][_0x331e25(0x1c5)][_0x331e25(0x1c6)](_0x1cf7c2[_0x331e25(0x1c1)]),_0x1fc2d4[_0x331e25(0x1cd)][_0x1cf7c2[_0x331e25(0x1c1)]]={'key':_0x331e25(0x1ca),'value':_0x1cf7c2[_0x331e25(0x1cd)][_0x331e25(0x1ce)]}):(_0x1fc2d4[_0x331e25(0x1c1)][_0x331e25(0x1c5)][_0x331e25(0x1c6)](_0x1cf7c2[_0x331e25(0x1c1)]),_0x1fc2d4[_0x331e25(0x1cd)][_0x1cf7c2[_0x331e25(0x1c1)]]={'key':_0x331e25(0x1c8),'value':_0x331e25(0x1d1)+_0x1cf7c2[_0x331e25(0x1c1)]+';'});return _0x1fc2d4;}
|