@ckeditor/ckeditor5-line-height 47.6.0 → 47.6.1-alpha.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
|
+
function _0x2384(){const _0x3a73e9=['637230Aimjyr','lineHeight','LineHeightTodoListIntegration','isOfficialPlugin','paragraph','pluginName','init','8346epAyOA','listType','ck-list-marker-line-height','registerDowncastStrategy','name','addClass','ListEditing','120QoVYXI','elementToElement','high','todo','span','item','setStyle','consumable','--ck-content-list-marker-line-height','TodoListEditing','match','element:li','consume','574ZAgqDD','for','upcast','4466223sUZbRK','get','223046NizuCr','has','todo-list__label__description','18784hNCwPH','getAttribute','viewItem','163103AeMpyc','443536dzDyBC','editor','add','isPremiumPlugin'];_0x2384=function(){return _0x3a73e9;};return _0x2384();}const _0x32207c=_0x5f35;(function(_0x417367,_0x52cc8a){const _0x1cbd14=_0x5f35,_0xdb2298=_0x417367();while(!![]){try{const _0xc0def=-parseInt(_0x1cbd14(0x14a))/0x1+-parseInt(_0x1cbd14(0x144))/0x2+-parseInt(_0x1cbd14(0x132))/0x3*(parseInt(_0x1cbd14(0x147))/0x4)+parseInt(_0x1cbd14(0x14f))/0x5+-parseInt(_0x1cbd14(0x156))/0x6*(parseInt(_0x1cbd14(0x13f))/0x7)+parseInt(_0x1cbd14(0x14b))/0x8+parseInt(_0x1cbd14(0x142))/0x9;if(_0xc0def===_0x52cc8a)break;else _0xdb2298['push'](_0xdb2298['shift']());}catch(_0x58566a){_0xdb2298['push'](_0xdb2298['shift']());}}}(_0x2384,0x190cf));import{Plugin as _0x3b2d13}from'ckeditor5/src/core.js';import{Matcher as _0xdea86e}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';function _0x5f35(_0x3c0491,_0x2f7bda){const _0x238421=_0x2384();return _0x5f35=function(_0x5f3561,_0x5a3910){_0x5f3561=_0x5f3561-0x130;let _0x4b77d8=_0x238421[_0x5f3561];return _0x4b77d8;},_0x5f35(_0x3c0491,_0x2f7bda);}export class LineHeightTodoListIntegration extends _0x3b2d13{static get[_0x32207c(0x154)](){const _0x21cebe=_0x32207c;return _0x21cebe(0x151);}static get[_0x32207c(0x152)](){return!0x0;}static get[_0x32207c(0x14e)](){return!0x0;}[_0x32207c(0x155)](){const _0xdd2d2=_0x32207c,{plugins:_0x299f44,conversion:_0x358f34}=this[_0xdd2d2(0x14c)];if(!_0x299f44[_0xdd2d2(0x145)](_0xdd2d2(0x131))||!_0x299f44[_0xdd2d2(0x145)](_0xdd2d2(0x13b)))return;_0x299f44[_0xdd2d2(0x143)](_0xdd2d2(0x131))[_0xdd2d2(0x159)]({'scope':_0xdd2d2(0x137),'attributeName':_0xdd2d2(0x150),'consume':!0x1,'setAttributeOnDowncast'(_0x33f5cd,_0x4d032c,_0x51c361,_0x4452ab,_0x36ac7e){const _0x4511cb=_0xdd2d2;_0x4511cb(0x135)==_0x36ac7e[_0x4511cb(0x148)](_0x4511cb(0x157))&&_0x4d032c&&(_0x33f5cd[_0x4511cb(0x130)](_0x4511cb(0x158),_0x51c361),_0x33f5cd[_0x4511cb(0x138)](_0x4511cb(0x13a),_0x4d032c,_0x51c361));}}),_0x358f34[_0xdd2d2(0x140)](_0xdd2d2(0x141))[_0xdd2d2(0x133)]({'view':{'name':_0xdd2d2(0x136),'classes':_0xdd2d2(0x146)},'model':_0xdd2d2(0x153),'converterPriority':_0xdd2d2(0x134)}),_0x358f34[_0xdd2d2(0x140)](_0xdd2d2(0x141))[_0xdd2d2(0x14d)](_0x1aab62=>{const _0xaae111=_0xdd2d2;_0x1aab62['on'](_0xaae111(0x13d),function(_0x18d254){const _0x11d34f=new _0xdea86e(_0x18d254);return(_0x3dceb9,_0x2948c4,_0x1cd090)=>{const _0x5a5ef8=_0x5f35,_0x1a079f=_0x11d34f[_0x5a5ef8(0x13c)](_0x2948c4[_0x5a5ef8(0x149)]);if(!_0x1a079f)return;const _0x13d1da=_0x1a079f[_0x5a5ef8(0x13c)];_0x13d1da[_0x5a5ef8(0x15a)]=!0x1,_0x1cd090[_0x5a5ef8(0x139)][_0x5a5ef8(0x13e)](_0x2948c4[_0x5a5ef8(0x149)],_0x13d1da);};}({'name':'li','classes':_0xaae111(0x158),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5263de=_0x7741;(function(_0x366a5a,_0x103cc7){var _0x54bf52=_0x7741,_0x5707c6=_0x366a5a();while(!![]){try{var _0x5ccede=parseInt(_0x54bf52(0x144))/0x1+parseInt(_0x54bf52(0x13c))/0x2+parseInt(_0x54bf52(0x13b))/0x3+parseInt(_0x54bf52(0x13a))/0x4*(-parseInt(_0x54bf52(0x140))/0x5)+-parseInt(_0x54bf52(0x139))/0x6+-parseInt(_0x54bf52(0x141))/0x7*(-parseInt(_0x54bf52(0x138))/0x8)+-parseInt(_0x54bf52(0x13f))/0x9;if(_0x5ccede===_0x103cc7)break;else _0x5707c6['push'](_0x5707c6['shift']());}catch(_0x907d70){_0x5707c6['push'](_0x5707c6['shift']());}}}(_0x727b,0x6d474));function _0x727b(){var _0x588ae7=['3015909tbtovS','20LZCwLO','2382667oeYroP','requires','LineHeight','327547VvOvgq','isOfficialPlugin','8yhtfMJ','2574744vdsTQt','530912jTCzOn','857364zSRkZL','1578050wzWldZ','pluginName','isPremiumPlugin'];_0x727b=function(){return _0x588ae7;};return _0x727b();}function _0x7741(_0x1c6476,_0x1c088c){var _0x727bb5=_0x727b();return _0x7741=function(_0x77415d,_0x4eb42a){_0x77415d=_0x77415d-0x137;var _0x3ff126=_0x727bb5[_0x77415d];return _0x3ff126;},_0x7741(_0x1c6476,_0x1c088c);}import{Plugin as _0x43c65d}from'ckeditor5/src/core.js';import{LineHeightEditing as _0xe3296c}from'./lineheightediting.js';import{LineHeightUI as _0x34d3b4}from'./lineheightui.js';export class LineHeight extends _0x43c65d{static get[_0x5263de(0x142)](){return[_0xe3296c,_0x34d3b4];}static get[_0x5263de(0x13d)](){var _0x33552d=_0x5263de;return _0x33552d(0x143);}static get[_0x5263de(0x137)](){return!0x0;}static get[_0x5263de(0x13e)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x183752=_0x4668;function _0x2b34(){const _0x1f8f01=['editor','349710KtyPYT','selection','3549092UakHOC','value','refresh','setAttribute','486QzmjCl','schema','getSelectedBlocks','253eUDsFH','model','lineHeight','7UHjFSk','removeAttribute','66ieOXyS','6450ZtOwbB','document','change','1567790iZzYjv','execute','from','930527cAXTit','isEnabled','8104928nscdSR','checkAttribute','_canHaveLineHeight','3686742VIDzUb','getAttribute','filter'];_0x2b34=function(){return _0x1f8f01;};return _0x2b34();}function _0x4668(_0x10343b,_0x2167a9){const _0x2b3417=_0x2b34();return _0x4668=function(_0x466869,_0x4fb4ed){_0x466869=_0x466869-0x187;let _0x5eaa68=_0x2b3417[_0x466869];return _0x5eaa68;},_0x4668(_0x10343b,_0x2167a9);}(function(_0x48e6ec,_0x4e953e){const _0x75a08c=_0x4668,_0x5aff1b=_0x48e6ec();while(!![]){try{const _0x415f01=-parseInt(_0x75a08c(0x1a4))/0x1+parseInt(_0x75a08c(0x19e))/0x2*(-parseInt(_0x75a08c(0x195))/0x3)+-parseInt(_0x75a08c(0x191))/0x4+-parseInt(_0x75a08c(0x18f))/0x5*(-parseInt(_0x75a08c(0x19d))/0x6)+-parseInt(_0x75a08c(0x19b))/0x7*(parseInt(_0x75a08c(0x188))/0x8)+-parseInt(_0x75a08c(0x18b))/0x9+-parseInt(_0x75a08c(0x1a1))/0xa*(-parseInt(_0x75a08c(0x198))/0xb);if(_0x415f01===_0x4e953e)break;else _0x5aff1b['push'](_0x5aff1b['shift']());}catch(_0x151127){_0x5aff1b['push'](_0x5aff1b['shift']());}}}(_0x2b34,0x957b3));import{Command as _0x2f3477}from'ckeditor5/src/core.js';import{first as _0x23c8b3}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x2f3477{[_0x183752(0x193)](){const _0x51921f=_0x183752,_0x53d9e8=this[_0x51921f(0x18e)][_0x51921f(0x199)][_0x51921f(0x19f)],_0x53f29d=_0x23c8b3(_0x53d9e8[_0x51921f(0x190)][_0x51921f(0x197)]());this[_0x51921f(0x187)]=Boolean(_0x53f29d)&&this[_0x51921f(0x18a)](_0x53f29d),this[_0x51921f(0x192)]=this[_0x51921f(0x187)]&&_0x53f29d[_0x51921f(0x18c)](_0x51921f(0x19a));}[_0x183752(0x1a2)](_0x45bdc7={}){const _0x10ce47=_0x183752,_0x3c996d=this[_0x10ce47(0x18e)][_0x10ce47(0x199)],_0xc725e3=_0x3c996d[_0x10ce47(0x19f)][_0x10ce47(0x190)],_0x391cd2=_0x45bdc7[_0x10ce47(0x192)];_0x3c996d[_0x10ce47(0x1a0)](_0x18d316=>{const _0x41ead0=_0x10ce47,_0x94b83a=Array[_0x41ead0(0x1a3)](_0xc725e3[_0x41ead0(0x197)]())[_0x41ead0(0x18d)](_0x369e18=>this[_0x41ead0(0x18a)](_0x369e18));for(const _0x22d9e5 of _0x94b83a)_0x391cd2?_0x18d316[_0x41ead0(0x194)](_0x41ead0(0x19a),_0x391cd2,_0x22d9e5):_0x18d316[_0x41ead0(0x19c)](_0x41ead0(0x19a),_0x22d9e5);});}[_0x183752(0x18a)](_0x40df30){const _0x7b792d=_0x183752;return this[_0x7b792d(0x18e)][_0x7b792d(0x199)][_0x7b792d(0x196)][_0x7b792d(0x189)](_0x40df30,_0x7b792d(0x19a));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5a6ff9=_0x4d39;(function(_0x2f44a0,_0x5e1e1f){const _0x54db61=_0x4d39,_0x404a3e=_0x2f44a0();while(!![]){try{const _0x556477=parseInt(_0x54db61(0x77))/0x1*(parseInt(_0x54db61(0x8e))/0x2)+-parseInt(_0x54db61(0x91))/0x3*(-parseInt(_0x54db61(0x87))/0x4)+-parseInt(_0x54db61(0x81))/0x5+parseInt(_0x54db61(0x86))/0x6*(-parseInt(_0x54db61(0x74))/0x7)+parseInt(_0x54db61(0x9e))/0x8+-parseInt(_0x54db61(0x94))/0x9*(parseInt(_0x54db61(0xa8))/0xa)+-parseInt(_0x54db61(0x9c))/0xb;if(_0x556477===_0x5e1e1f)break;else _0x404a3e['push'](_0x404a3e['shift']());}catch(_0x7ce41d){_0x404a3e['push'](_0x404a3e['shift']());}}}(_0x2bfa,0x43849));import{Plugin as _0x2e6aff}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x1e4ee3}from'./lineheightcommand.js';function _0x2bfa(){const _0x46312a=['length','pluginName','includes','2641495ylxnPj','default','for','extend','add','35136QzIDDX','24224Gcxdto','downcast','$block','isPremiumPlugin','schema','lineHeight.defaultValue','filter','63254KPpFhS','href','_prepareAnyValueConverters','105DRhPMR','lineHeight','join','7533KbmRwE','config','map','conversion','string','lineHeight.options','style','_validateConfig','177353iISwCy','editor','3857608WWESQj','afterInit','fromCharCode','get','line-height','slice','_preparePredefinedConverters','getStyle','isOfficialPlugin','values','990wZXWEc','line-height-invalid-use-of-named-presets','requires','define','14qvZDxr','commands','init','7eFsXIl','LineHeightEditing','model','upcast','setAttributeProperties','attributeToAttribute','lineHeight.supportAllValues'];_0x2bfa=function(){return _0x46312a;};return _0x2bfa();}function _0x4d39(_0x2dd58d,_0x5df1d9){const _0x2bfa27=_0x2bfa();return _0x4d39=function(_0x4d39eb,_0x1fb93b){_0x4d39eb=_0x4d39eb-0x73;let _0x4c7915=_0x2bfa27[_0x4d39eb];return _0x4c7915;},_0x4d39(_0x2dd58d,_0x5df1d9);}import{isPercentageStyleValue as _0x5d7cba}from'ckeditor5/src/engine.js';import{uid as _0x10c848,CKEditorError as _0x404e50}from'ckeditor5/src/utils.js';import{buildDefinition as _0x274a59,isLineHeightDefaultValue as _0xc4d3e2,normalizeOptions as _0x458043}from'./utils.js';import{LineHeightTodoListIntegration as _0x33d13f}from'./integrations/todolist.js';export class LineHeightEditing extends _0x2e6aff{static get[_0x5a6ff9(0x7f)](){const _0x146b93=_0x5a6ff9;return _0x146b93(0x78);}static get[_0x5a6ff9(0xaa)](){return[_0x33d13f];}static get[_0x5a6ff9(0xa6)](){return!0x0;}static get[_0x5a6ff9(0x8a)](){return!0x0;}constructor(_0x2f73b7){const _0x43eccc=_0x5a6ff9;super(_0x2f73b7),_0x2f73b7[_0x43eccc(0x95)][_0x43eccc(0x73)](_0x43eccc(0x92),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x43eccc(0x82),0x2,2.5,0x3]});}[_0x5a6ff9(0x76)](){const _0x4ccb1f=_0x5a6ff9,_0x4ecfa5=this[_0x4ccb1f(0x9d)];this[_0x4ccb1f(0x9b)](),_0x4ecfa5[_0x4ccb1f(0x79)][_0x4ccb1f(0x8b)][_0x4ccb1f(0x84)](_0x4ccb1f(0x89),{'allowAttributes':_0x4ccb1f(0x92)}),_0x4ecfa5[_0x4ccb1f(0x79)][_0x4ccb1f(0x8b)][_0x4ccb1f(0x7b)](_0x4ccb1f(0x92),{'isFormatting':!0x0}),_0x4ecfa5[_0x4ccb1f(0x75)][_0x4ccb1f(0x85)](_0x4ccb1f(0x92),new _0x1e4ee3(_0x4ecfa5)),this[_0x4ccb1f(0x9d)][_0x4ccb1f(0x95)][_0x4ccb1f(0xa1)](_0x4ccb1f(0x7d))?this[_0x4ccb1f(0x90)]():this[_0x4ccb1f(0xa4)]();}[_0x5a6ff9(0x9f)](){!async function(_0x195ef6){const _0x2bbc32=_0x591dd9([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]),_0x1ff15c=0x45ddd215,_0x4993ec=0x45da5175^_0x1ff15c,_0x27582a=window[_0x591dd9([0x44,0x61,0x74,0x65])][_0x591dd9([0x6e,0x6f,0x77])](),_0x1c7931=_0x195ef6[_0x591dd9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1dd55d=new window[(_0x591dd9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5510c3=>{_0x1c7931[_0x591dd9([0x6f,0x6e,0x63,0x65])](_0x591dd9([0x72,0x65,0x61,0x64,0x79]),_0x5510c3);}),_0x25b3dc={[_0x591dd9([0x6b,0x74,0x79])]:_0x591dd9([0x45,0x43]),[_0x591dd9([0x75,0x73,0x65])]:_0x591dd9([0x73,0x69,0x67]),[_0x591dd9([0x63,0x72,0x76])]:_0x591dd9([0x50,0x2d,0x32,0x35,0x36]),[_0x591dd9([0x78])]:_0x591dd9([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]),[_0x591dd9([0x79])]:_0x591dd9([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]),[_0x591dd9([0x61,0x6c,0x67])]:_0x591dd9([0x45,0x53,0x32,0x35,0x36])},_0x4542a2=_0x1c7931[_0x591dd9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x591dd9([0x67,0x65,0x74])](_0x591dd9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2576ad(){let _0x4c6aea,_0x1c3596=null,_0x27599b=null;try{if(_0x4542a2==_0x591dd9([0x47,0x50,0x4c]))return _0x591dd9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4c6aea=_0x3b5c4b(),!_0x4c6aea)return _0x591dd9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4c6aea[_0x591dd9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x27599b=_0x3aed60(_0x4c6aea[_0x591dd9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4c6aea[_0x591dd9([0x6a,0x74,0x69])])),await _0x52143d()?_0x21af30()?_0x3f87fb()?_0x591dd9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2ab1ea()?(_0x4c6aea[_0x591dd9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x591dd9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1c3596=_0x5a430e(_0x591dd9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x57ad72()):_0x591dd9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x591dd9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x591dd9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x591dd9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3f87fb(){const _0x27de4c=[_0x591dd9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x591dd9([0x74,0x72,0x69,0x61,0x6c])][_0x591dd9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c6aea[_0x591dd9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x27582a/0x3e8:0xe10*_0x4993ec;return _0x4c6aea[_0x591dd9([0x65,0x78,0x70])]<_0x27de4c;}function _0x21af30(){const _0x52819c=_0x4c6aea[_0x591dd9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x52819c&&(!!_0x52819c[_0x591dd9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x591dd9([0x2a]))||!!_0x52819c[_0x591dd9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x591dd9([0x4c,0x48])));}function _0x2ab1ea(){const _0x595071=_0x4d39,_0x4cea74=_0x4c6aea[_0x591dd9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4cea74||0x0==_0x4cea74[_0x591dd9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x251db9}=new URL(window[_0x591dd9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x595071(0x8f)]);if(_0x4cea74[_0x591dd9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x251db9))return!0x0;const _0x36ae0d=_0x251db9[_0x591dd9([0x73,0x70,0x6c,0x69,0x74])](_0x591dd9([0x2e]));return _0x4cea74[_0x591dd9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24cb8a=>_0x24cb8a[_0x591dd9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x591dd9([0x2a])))[_0x591dd9([0x6d,0x61,0x70])](_0x33b61f=>_0x33b61f[_0x591dd9([0x73,0x70,0x6c,0x69,0x74])](_0x591dd9([0x2e])))[_0x591dd9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x15e9b8=>_0x15e9b8[_0x591dd9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x36ae0d[_0x591dd9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x591dd9([0x6d,0x61,0x70])](_0x562335=>Array(_0x36ae0d[_0x591dd9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x562335[_0x591dd9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x591dd9([0x66,0x69,0x6c,0x6c])](_0x562335[0x0]===_0x591dd9([0x2a])?_0x591dd9([0x2a]):'')[_0x591dd9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x562335))[_0x591dd9([0x73,0x6f,0x6d,0x65])](_0x4d16c2=>_0x36ae0d[_0x591dd9([0x65,0x76,0x65,0x72,0x79])]((_0x499db4,_0x38d27a)=>_0x4d16c2[_0x38d27a]===_0x499db4||_0x4d16c2[_0x38d27a]===_0x591dd9([0x2a])));}function _0x57ad72(){return _0x1c3596&&_0x27599b?new window[(_0x591dd9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf3ce87,_0x965e86)=>{_0x1c3596[_0x591dd9([0x74,0x68,0x65,0x6e])](_0xf3ce87,_0x965e86),_0x27599b[_0x591dd9([0x74,0x68,0x65,0x6e])](_0x5093ec=>{_0x5093ec!=_0x591dd9([0x56,0x61,0x6c,0x69,0x64])&&_0xf3ce87(_0x5093ec);},_0x965e86);}):_0x1c3596||_0x27599b||_0x591dd9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3aed60(_0x53d758,_0x29a40f){return new window[(_0x591dd9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d62f3=>{if(_0xffb595())return _0x4d62f3(_0x591dd9([0x56,0x61,0x6c,0x69,0x64]));_0x4e7551(),_0x1c7931[_0x591dd9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x591dd9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x301b61=!0x1;const _0x593696=_0x10c848();function _0x2fc7b3(_0x1ae48c){return!!_0x1ae48c&&(typeof _0x1ae48c===_0x591dd9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ae48c===_0x591dd9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ae48c[_0x591dd9([0x74,0x68,0x65,0x6e])]===_0x591dd9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ae48c[_0x591dd9([0x63,0x61,0x74,0x63,0x68])]===_0x591dd9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x39f6fd(_0x2bed24){_0x5b0f0a(_0x2bed24)[_0x591dd9([0x74,0x68,0x65,0x6e])](_0xf8daac=>{if(!_0xf8daac||_0xf8daac[_0x591dd9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x591dd9([0x6f,0x6b]))return _0x591dd9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x274f21(_0x3ad28d(_0x593696+_0x29a40f))!=_0xf8daac[_0x591dd9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x591dd9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x591dd9([0x56,0x61,0x6c,0x69,0x64]);})[_0x591dd9([0x74,0x68,0x65,0x6e])](_0x282f87=>(_0x240cdd(),_0x282f87),()=>{const _0x47223d=_0x41aee5();return null==_0x47223d?(_0x240cdd(),_0x591dd9([0x56,0x61,0x6c,0x69,0x64])):_0x591dd9(_0x27582a-_0x47223d>(0x61d15615^_0x1ff15c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x591dd9([0x74,0x68,0x65,0x6e])](_0x4d62f3)[_0x591dd9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4d62f3(_0x591dd9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x22f615=0x45eb3c95^_0x1ff15c;function _0x240cdd(){const _0x4c97d8=_0x591dd9([0x6c,0x6c,0x63,0x74,0x2d])+_0x274f21(_0x3ad28d(_0x53d758)),_0x4ecf02=_0x375e3a(_0x274f21(window[_0x591dd9([0x4d,0x61,0x74,0x68])][_0x591dd9([0x63,0x65,0x69,0x6c])](_0x27582a/_0x22f615)));window[_0x591dd9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x591dd9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c97d8,_0x4ecf02);}function _0x41aee5(){const _0x3021fd=_0x591dd9([0x6c,0x6c,0x63,0x74,0x2d])+_0x274f21(_0x3ad28d(_0x53d758)),_0x54ba9e=window[_0x591dd9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x591dd9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3021fd);return _0x54ba9e?window[_0x591dd9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x375e3a(_0x54ba9e),0x10)*_0x22f615:null;}function _0x5b0f0a(_0x25afc2){return new window[(_0x591dd9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3cfa59,_0x591dc4)=>{_0x25afc2[_0x591dd9([0x74,0x68,0x65,0x6e])](_0x3cfa59,_0x591dc4),window[_0x591dd9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x591dc4,0x45dc06d5^_0x1ff15c);});}}_0x1c7931[_0x591dd9([0x6f,0x6e])](_0x591dd9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x693ec,_0xb6fbda)=>{if(_0xb6fbda[0x0]!=_0x53d758)return _0x4d62f3(_0x591dd9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb6fbda[0x1]={..._0xb6fbda[0x1],[_0x591dd9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x593696};},{[_0x591dd9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x591dd9([0x68,0x69,0x67,0x68])}),_0x1c7931[_0x591dd9([0x6f,0x6e])](_0x591dd9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c430b=>{_0x2fc7b3(_0x4c430b[_0x591dd9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x301b61=!0x0,_0x39f6fd(_0x4c430b[_0x591dd9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x591dd9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x591dd9([0x6c,0x6f,0x77])}),_0x1dd55d[_0x591dd9([0x74,0x68,0x65,0x6e])](()=>{_0x301b61||_0x4d62f3(_0x591dd9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xffb595(){return _0x1c7931[_0x591dd9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x591dd9([0x76,0x69,0x65,0x77])][_0x591dd9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x591dd9([0x61,0x75,0x74,0x6f]);}function _0x4e7551(){_0x1c7931[_0x591dd9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x591dd9([0x76,0x69,0x65,0x77])][_0x591dd9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x591dd9([0x61,0x75,0x74,0x6f]);}}function _0x5a430e(_0x502834){const _0x1a1181=[new window[(_0x591dd9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fffb6=>setTimeout(_0x3fffb6,0x45d4ecd9^_0x1ff15c)),_0x1dd55d[_0x591dd9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x591dd9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ed3b1=>{let _0x2eb291=0x0;_0x1c7931[_0x591dd9([0x6d,0x6f,0x64,0x65,0x6c])][_0x591dd9([0x6f,0x6e])](_0x591dd9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x360794,_0x3fc3fa)=>{_0x3fc3fa[0x0][_0x591dd9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2eb291++,_0x2eb291==(0x45ddd7fd^_0x1ff15c)&&(_0x4ed3b1(),_0x360794[_0x591dd9([0x6f,0x66,0x66])]());});}))];return window[_0x591dd9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x591dd9([0x72,0x61,0x63,0x65])](_0x1a1181)[_0x591dd9([0x74,0x68,0x65,0x6e])](()=>_0x502834);}async function _0x2088fe(){await _0x1dd55d,_0x1c7931[_0x591dd9([0x6d,0x6f,0x64,0x65,0x6c])][_0x591dd9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3f64d1,_0x1c7931[_0x591dd9([0x6d,0x6f,0x64,0x65,0x6c])][_0x591dd9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3f64d1,_0x1c7931[_0x591dd9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x591dd9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x557130(_0x47d83b){const _0x50b863=_0x577f93();_0x1c7931[_0x50b863]=_0x591dd9([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x47d83b,_0x47d83b!=_0x591dd9([0x56,0x61,0x6c,0x69,0x64])&&_0x2088fe();}function _0x577f93(){const _0x214ce1=window[_0x591dd9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x591dd9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x591dd9([0x6e,0x6f,0x77])]())[_0x591dd9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x591dd9([0x2e]),'');let _0x3d2c13=_0x591dd9([0x50]);for(let _0x2c00dd=0x0;_0x2c00dd<_0x214ce1[_0x591dd9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c00dd+=0x2){let _0x28dd11=window[_0x591dd9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x214ce1[_0x591dd9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c00dd,_0x2c00dd+0x2));_0x28dd11>=_0x2bbc32[_0x591dd9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x28dd11-=_0x2bbc32[_0x591dd9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3d2c13+=_0x2bbc32[_0x28dd11];}return _0x3d2c13;}function _0x3b5c4b(){const _0x36e670=_0x4542a2[_0x591dd9([0x73,0x70,0x6c,0x69,0x74])](_0x591dd9([0x2e]));if(0x3!=_0x36e670[_0x591dd9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x39cf6b(_0x36e670[0x1]);function _0x39cf6b(_0x1c057b){const _0x4d01fa=_0x17610b(_0x1c057b);return _0x4d01fa&&_0x5cad5a()?_0x4d01fa:null;function _0x5cad5a(){const _0x46a06a=_0x4d01fa[_0x591dd9([0x6a,0x74,0x69])],_0x47ce58=window[_0x591dd9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46a06a[_0x591dd9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46a06a[_0x591dd9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x41277d={..._0x4d01fa,[_0x591dd9([0x6a,0x74,0x69])]:_0x46a06a[_0x591dd9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x46a06a[_0x591dd9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x41277d[_0x591dd9([0x76,0x63])],_0x3ad28d(_0x41277d)==_0x47ce58;}}}async function _0x52143d(){let _0x5d6e50=!0x0;try{const _0x1cd56f=_0x4542a2[_0x591dd9([0x73,0x70,0x6c,0x69,0x74])](_0x591dd9([0x2e])),[_0x833d1f,_0x30ef2d,_0x4b9427]=_0x1cd56f;return _0xdfe60c(_0x833d1f),await _0x5bb80e(_0x833d1f,_0x30ef2d,_0x4b9427),_0x5d6e50;}catch{return!0x1;}function _0xdfe60c(_0x48391e){const _0x39e41e=_0x17610b(_0x48391e);_0x39e41e&&_0x39e41e[_0x591dd9([0x61,0x6c,0x67])]==_0x591dd9([0x45,0x53,0x32,0x35,0x36])||(_0x5d6e50=!0x1);}async function _0x5bb80e(_0x3def84,_0x42707d,_0x4b338c){const _0x3be440=window[_0x591dd9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x591dd9([0x66,0x72,0x6f,0x6d])](_0x35d8df(_0x4b338c),_0x3f7229=>_0x3f7229[_0x591dd9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5ca0bb=new window[(_0x591dd9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x591dd9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3def84+_0x591dd9([0x2e])+_0x42707d),_0x584771=window[_0x591dd9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x591dd9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x584771)return;const _0x5af2f9=await _0x584771[_0x591dd9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x591dd9([0x6a,0x77,0x6b]),_0x25b3dc,{[_0x591dd9([0x6e,0x61,0x6d,0x65])]:_0x591dd9([0x45,0x43,0x44,0x53,0x41]),[_0x591dd9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x591dd9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x591dd9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x584771[_0x591dd9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x591dd9([0x6e,0x61,0x6d,0x65])]:_0x591dd9([0x45,0x43,0x44,0x53,0x41]),[_0x591dd9([0x68,0x61,0x73,0x68])]:{[_0x591dd9([0x6e,0x61,0x6d,0x65])]:_0x591dd9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5af2f9,_0x3be440,_0x5ca0bb)||(_0x5d6e50=!0x1);}}function _0x17610b(_0x422f64){return _0x422f64[_0x591dd9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x591dd9([0x65,0x79]))?JSON[_0x591dd9([0x70,0x61,0x72,0x73,0x65])](_0x35d8df(_0x422f64)):null;}function _0x35d8df(_0x112298){return window[_0x591dd9([0x61,0x74,0x6f,0x62])](_0x112298[_0x591dd9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x591dd9([0x2b]))[_0x591dd9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x591dd9([0x2f])));}function _0x3ad28d(_0xf6073e){let _0x394a08=0x1505;function _0x35b19f(_0xa3a8b6){for(let _0x2d955a=0x0;_0x2d955a<_0xa3a8b6[_0x591dd9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d955a++){const _0x10df87=_0xa3a8b6[_0x591dd9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2d955a);_0x394a08=(_0x394a08<<0x5)+_0x394a08+_0x10df87,_0x394a08&=_0x394a08;}}function _0x9c248a(_0x1ae542){Array[_0x591dd9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1ae542)?_0x1ae542[_0x591dd9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x9c248a):_0x1ae542&&typeof _0x1ae542==_0x591dd9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x591dd9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1ae542)[_0x591dd9([0x73,0x6f,0x72,0x74])]()[_0x591dd9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4ac07b,_0x39e17b])=>{_0x35b19f(_0x4ac07b),_0x9c248a(_0x39e17b);}):_0x35b19f(window[_0x591dd9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1ae542));}return _0x9c248a(_0xf6073e),_0x394a08>>>0x0;}function _0x274f21(_0x45080b){return _0x45080b[_0x591dd9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x591dd9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x591dd9([0x30]));}function _0x375e3a(_0x4b4a6e){return _0x4b4a6e[_0x591dd9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x591dd9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x591dd9([0x6a,0x6f,0x69,0x6e])]('');}function _0x3f64d1(){}function _0x591dd9(_0x329547){const _0x46d8cd=_0x4d39;return _0x329547[_0x46d8cd(0x96)](_0x2a61ed=>String[_0x46d8cd(0xa0)](_0x2a61ed))[_0x46d8cd(0x93)]('');}_0x557130(await _0x2576ad());}(this);}[_0x5a6ff9(0x9b)](){const _0x3f752e=_0x5a6ff9,_0x39d329=this[_0x3f752e(0x9d)];if(!_0x39d329[_0x3f752e(0x95)][_0x3f752e(0xa1)](_0x3f752e(0x7d)))return;const _0x2771d7=_0x39d329[_0x3f752e(0x95)][_0x3f752e(0xa1)](_0x3f752e(0x99))[_0x3f752e(0x8d)](_0x4f301d=>_0x3f752e(0x98)==typeof _0x4f301d&&(!_0xc4d3e2(_0x4f301d)&&isNaN(Number(_0x4f301d))));if(_0x2771d7[_0x3f752e(0x7e)])throw new _0x404e50(_0x3f752e(0xa9),null,{'namedPresets':_0x2771d7});}[_0x5a6ff9(0x90)](){const _0x3ea090=_0x5a6ff9,_0x1db097=this[_0x3ea090(0x9d)],_0x42ab00=this[_0x3ea090(0x9d)][_0x3ea090(0x95)][_0x3ea090(0xa1)](_0x3ea090(0x8c));_0x1db097[_0x3ea090(0x97)][_0x3ea090(0x83)](_0x3ea090(0x88))[_0x3ea090(0x7c)]({'model':{'key':_0x3ea090(0x92)},'view':_0x50031d=>String(_0x50031d)===String(_0x42ab00)?null:{'key':_0x3ea090(0x9a),'value':{'line-height':_0x50031d}}}),_0x1db097[_0x3ea090(0x97)][_0x3ea090(0x83)](_0x3ea090(0x7a))[_0x3ea090(0x7c)]({'model':{'key':_0x3ea090(0x92),'value':_0x4d878c=>{const _0x7dafba=_0x3ea090;let _0x47f21a=_0x4d878c[_0x7dafba(0xa5)](_0x7dafba(0xa2));return _0x5d7cba(_0x47f21a)&&(_0x47f21a=String(Number(_0x47f21a[_0x7dafba(0xa3)](0x0,-0x1))/0x64)),String(_0x47f21a)===String(_0x42ab00)?null:_0x47f21a;}},'view':{'styles':{'line-height':/.*/}}});}[_0x5a6ff9(0xa4)](){const _0x56cc2a=_0x5a6ff9,_0x23427e=this[_0x56cc2a(0x9d)],_0x6dc2e6=this[_0x56cc2a(0x9d)][_0x56cc2a(0x95)][_0x56cc2a(0xa1)](_0x56cc2a(0x8c)),_0x8c913a=_0x458043(this[_0x56cc2a(0x9d)][_0x56cc2a(0x95)][_0x56cc2a(0xa1)](_0x56cc2a(0x92)))[_0x56cc2a(0x8d)](_0x1ed729=>_0x1ed729[_0x56cc2a(0x79)]),_0x135daf=_0x274a59(_0x56cc2a(0x92),_0x8c913a);_0x23427e[_0x56cc2a(0x97)][_0x56cc2a(0x7c)](_0x135daf),_0x23427e[_0x56cc2a(0x97)][_0x56cc2a(0x83)](_0x56cc2a(0x7a))[_0x56cc2a(0x7c)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x56cc2a(0x92),'value':_0x57c9cd=>{const _0x28b0b4=_0x56cc2a;let _0x8c2504=_0x57c9cd[_0x28b0b4(0xa5)](_0x28b0b4(0xa2));return _0x5d7cba(_0x8c2504)&&(_0x8c2504=String(Number(_0x8c2504[_0x28b0b4(0xa3)](0x0,-0x1))/0x64)),_0x8c2504===String(_0x6dc2e6)?null:_0x135daf[_0x28b0b4(0x79)][_0x28b0b4(0xa7)][_0x28b0b4(0x80)](_0x8c2504)?_0x8c2504:null;}}});}}
|
|
23
|
+
function _0x3596(){const _0x10d38a=['href','downcast','style','fromCharCode','line-height','23170878pIuiOd','4343991Wbjebg','getStyle','map','afterInit','join','get','isPremiumPlugin','lineHeight.defaultValue','add','slice','lineHeight','2QXjJZW','commands','config','extend','_validateConfig','filter','string','upcast','LineHeightEditing','model','attributeToAttribute','schema','default','1500802psqcff','includes','editor','_preparePredefinedConverters','pluginName','lineHeight.options','line-height-invalid-use-of-named-presets','1276195HEtYUi','requires','for','5413392kdXXOY','length','_prepareAnyValueConverters','lineHeight.supportAllValues','isOfficialPlugin','5802400fPxvbY','1479653dhUWOQ','init','define','setAttributeProperties','4UwnyBp','values','conversion','$block'];_0x3596=function(){return _0x10d38a;};return _0x3596();}const _0x50aa52=_0x358e;(function(_0xc58537,_0x52643c){const _0x506f58=_0x358e,_0x3545bd=_0xc58537();while(!![]){try{const _0x5be4c3=-parseInt(_0x506f58(0x10a))/0x1+parseInt(_0x506f58(0xfd))/0x2*(-parseInt(_0x506f58(0xf2))/0x3)+parseInt(_0x506f58(0x11e))/0x4*(-parseInt(_0x506f58(0x111))/0x5)+parseInt(_0x506f58(0x114))/0x6+-parseInt(_0x506f58(0x11a))/0x7+parseInt(_0x506f58(0x119))/0x8+parseInt(_0x506f58(0xf1))/0x9;if(_0x5be4c3===_0x52643c)break;else _0x3545bd['push'](_0x3545bd['shift']());}catch(_0x17751e){_0x3545bd['push'](_0x3545bd['shift']());}}}(_0x3596,0xc00e1));import{Plugin as _0x49e4d0}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x130a27}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x377d60}from'ckeditor5/src/engine.js';import{uid as _0xfd4c85,CKEditorError as _0x224dda}from'ckeditor5/src/utils.js';import{buildDefinition as _0x464d07,isLineHeightDefaultValue as _0x4137cb,normalizeOptions as _0x463ca0}from'./utils.js';import{LineHeightTodoListIntegration as _0x4c6b5}from'./integrations/todolist.js';function _0x358e(_0x397273,_0x452111){const _0x3596c0=_0x3596();return _0x358e=function(_0x358e65,_0x5f1bf7){_0x358e65=_0x358e65-0xec;let _0x433acb=_0x3596c0[_0x358e65];return _0x433acb;},_0x358e(_0x397273,_0x452111);}export class LineHeightEditing extends _0x49e4d0{static get[_0x50aa52(0x10e)](){const _0x2d72e6=_0x50aa52;return _0x2d72e6(0x105);}static get[_0x50aa52(0x112)](){return[_0x4c6b5];}static get[_0x50aa52(0x118)](){return!0x0;}static get[_0x50aa52(0xf8)](){return!0x0;}constructor(_0x588fcf){const _0x11c969=_0x50aa52;super(_0x588fcf),_0x588fcf[_0x11c969(0xff)][_0x11c969(0x11c)](_0x11c969(0xfc),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x11c969(0x109),0x2,2.5,0x3]});}[_0x50aa52(0x11b)](){const _0x632dd3=_0x50aa52,_0x280d3c=this[_0x632dd3(0x10c)];this[_0x632dd3(0x101)](),_0x280d3c[_0x632dd3(0x106)][_0x632dd3(0x108)][_0x632dd3(0x100)](_0x632dd3(0x121),{'allowAttributes':_0x632dd3(0xfc)}),_0x280d3c[_0x632dd3(0x106)][_0x632dd3(0x108)][_0x632dd3(0x11d)](_0x632dd3(0xfc),{'isFormatting':!0x0}),_0x280d3c[_0x632dd3(0xfe)][_0x632dd3(0xfa)](_0x632dd3(0xfc),new _0x130a27(_0x280d3c)),this[_0x632dd3(0x10c)][_0x632dd3(0xff)][_0x632dd3(0xf7)](_0x632dd3(0x117))?this[_0x632dd3(0x116)]():this[_0x632dd3(0x10d)]();}[_0x50aa52(0xf5)](){!async function(_0x527c35){const _0x17633d=_0x4eac9b([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]),_0x1ab447=0x45ddd215,_0x489010=0x45da51e5^_0x1ab447,_0x45b3cc=window[_0x4eac9b([0x44,0x61,0x74,0x65])][_0x4eac9b([0x6e,0x6f,0x77])](),_0x7d1829=_0x527c35[_0x4eac9b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x170f5a=new window[(_0x4eac9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a31b1=>{_0x7d1829[_0x4eac9b([0x6f,0x6e,0x63,0x65])](_0x4eac9b([0x72,0x65,0x61,0x64,0x79]),_0x4a31b1);}),_0xcc9d31={[_0x4eac9b([0x6b,0x74,0x79])]:_0x4eac9b([0x45,0x43]),[_0x4eac9b([0x75,0x73,0x65])]:_0x4eac9b([0x73,0x69,0x67]),[_0x4eac9b([0x63,0x72,0x76])]:_0x4eac9b([0x50,0x2d,0x32,0x35,0x36]),[_0x4eac9b([0x78])]:_0x4eac9b([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]),[_0x4eac9b([0x79])]:_0x4eac9b([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]),[_0x4eac9b([0x61,0x6c,0x67])]:_0x4eac9b([0x45,0x53,0x32,0x35,0x36])},_0x1a59bf=_0x7d1829[_0x4eac9b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4eac9b([0x67,0x65,0x74])](_0x4eac9b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3cf52f(){let _0x48463f,_0x24af52=null,_0x5418b9=null;try{if(_0x1a59bf==_0x4eac9b([0x47,0x50,0x4c]))return _0x4eac9b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x48463f=_0x2549eb(),!_0x48463f)return _0x4eac9b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x48463f[_0x4eac9b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5418b9=_0x40e9ba(_0x48463f[_0x4eac9b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x48463f[_0x4eac9b([0x6a,0x74,0x69])])),await _0x219f97()?_0x20f415()?_0x5c5aa8()?_0x4eac9b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1bcc3c()?(_0x48463f[_0x4eac9b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4eac9b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x24af52=_0x43227f(_0x4eac9b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x593be5()):_0x4eac9b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4eac9b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4eac9b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4eac9b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c5aa8(){const _0x3316f6=[_0x4eac9b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4eac9b([0x74,0x72,0x69,0x61,0x6c])][_0x4eac9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48463f[_0x4eac9b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x45b3cc/0x3e8:0xe10*_0x489010;return _0x48463f[_0x4eac9b([0x65,0x78,0x70])]<_0x3316f6;}function _0x20f415(){const _0x58d281=_0x48463f[_0x4eac9b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x58d281&&(!!_0x58d281[_0x4eac9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4eac9b([0x2a]))||!!_0x58d281[_0x4eac9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4eac9b([0x4c,0x48])));}function _0x1bcc3c(){const _0x37ceb6=_0x358e,_0x32ceb5=_0x48463f[_0x4eac9b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x32ceb5||0x0==_0x32ceb5[_0x4eac9b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x38770d}=new URL(window[_0x4eac9b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x37ceb6(0xec)]);if(_0x32ceb5[_0x4eac9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38770d))return!0x0;const _0x4fa1dc=_0x38770d[_0x4eac9b([0x73,0x70,0x6c,0x69,0x74])](_0x4eac9b([0x2e]));return _0x32ceb5[_0x4eac9b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a5b5e=>_0x1a5b5e[_0x4eac9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4eac9b([0x2a])))[_0x4eac9b([0x6d,0x61,0x70])](_0xdbd657=>_0xdbd657[_0x4eac9b([0x73,0x70,0x6c,0x69,0x74])](_0x4eac9b([0x2e])))[_0x4eac9b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e0bc9=>_0x4e0bc9[_0x4eac9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4fa1dc[_0x4eac9b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4eac9b([0x6d,0x61,0x70])](_0x3eee09=>Array(_0x4fa1dc[_0x4eac9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3eee09[_0x4eac9b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4eac9b([0x66,0x69,0x6c,0x6c])](_0x3eee09[0x0]===_0x4eac9b([0x2a])?_0x4eac9b([0x2a]):'')[_0x4eac9b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3eee09))[_0x4eac9b([0x73,0x6f,0x6d,0x65])](_0xe6cd16=>_0x4fa1dc[_0x4eac9b([0x65,0x76,0x65,0x72,0x79])]((_0x347e7a,_0x193e50)=>_0xe6cd16[_0x193e50]===_0x347e7a||_0xe6cd16[_0x193e50]===_0x4eac9b([0x2a])));}function _0x593be5(){return _0x24af52&&_0x5418b9?new window[(_0x4eac9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34b7a9,_0x3aaaf8)=>{_0x24af52[_0x4eac9b([0x74,0x68,0x65,0x6e])](_0x34b7a9,_0x3aaaf8),_0x5418b9[_0x4eac9b([0x74,0x68,0x65,0x6e])](_0x5d8a02=>{_0x5d8a02!=_0x4eac9b([0x56,0x61,0x6c,0x69,0x64])&&_0x34b7a9(_0x5d8a02);},_0x3aaaf8);}):_0x24af52||_0x5418b9||_0x4eac9b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x40e9ba(_0x200ee5,_0x48f7a2){return new window[(_0x4eac9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5660c4=>{if(_0x2220c9())return _0x5660c4(_0x4eac9b([0x56,0x61,0x6c,0x69,0x64]));_0x3559ab(),_0x7d1829[_0x4eac9b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4eac9b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x41bc9b=!0x1;const _0x5836e9=_0xfd4c85();function _0x5542d7(_0x43be27){return!!_0x43be27&&(typeof _0x43be27===_0x4eac9b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x43be27===_0x4eac9b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x43be27[_0x4eac9b([0x74,0x68,0x65,0x6e])]===_0x4eac9b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x43be27[_0x4eac9b([0x63,0x61,0x74,0x63,0x68])]===_0x4eac9b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe85b7c(_0x1e9093){_0x390599(_0x1e9093)[_0x4eac9b([0x74,0x68,0x65,0x6e])](_0x2b3447=>{if(!_0x2b3447||_0x2b3447[_0x4eac9b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4eac9b([0x6f,0x6b]))return _0x4eac9b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x27a198(_0x5c6f6c(_0x5836e9+_0x48f7a2))!=_0x2b3447[_0x4eac9b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4eac9b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4eac9b([0x56,0x61,0x6c,0x69,0x64]);})[_0x4eac9b([0x74,0x68,0x65,0x6e])](_0x186d99=>(_0x1670c3(),_0x186d99),()=>{const _0x1d3fd9=_0x3a06bb();return null==_0x1d3fd9?(_0x1670c3(),_0x4eac9b([0x56,0x61,0x6c,0x69,0x64])):_0x4eac9b(_0x45b3cc-_0x1d3fd9>(0x61d15615^_0x1ab447)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4eac9b([0x74,0x68,0x65,0x6e])](_0x5660c4)[_0x4eac9b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5660c4(_0x4eac9b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xa264c8=0x45eb3c95^_0x1ab447;function _0x1670c3(){const _0x348007=_0x4eac9b([0x6c,0x6c,0x63,0x74,0x2d])+_0x27a198(_0x5c6f6c(_0x200ee5)),_0x2da976=_0x4d6291(_0x27a198(window[_0x4eac9b([0x4d,0x61,0x74,0x68])][_0x4eac9b([0x63,0x65,0x69,0x6c])](_0x45b3cc/_0xa264c8)));window[_0x4eac9b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4eac9b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x348007,_0x2da976);}function _0x3a06bb(){const _0xca6946=_0x4eac9b([0x6c,0x6c,0x63,0x74,0x2d])+_0x27a198(_0x5c6f6c(_0x200ee5)),_0x28ee56=window[_0x4eac9b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4eac9b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xca6946);return _0x28ee56?window[_0x4eac9b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d6291(_0x28ee56),0x10)*_0xa264c8:null;}function _0x390599(_0x4b5c14){return new window[(_0x4eac9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a2450,_0x50ae0a)=>{_0x4b5c14[_0x4eac9b([0x74,0x68,0x65,0x6e])](_0x1a2450,_0x50ae0a),window[_0x4eac9b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x50ae0a,0x45dc06d5^_0x1ab447);});}}_0x7d1829[_0x4eac9b([0x6f,0x6e])](_0x4eac9b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1a41c0,_0x312fa8)=>{if(_0x312fa8[0x0]!=_0x200ee5)return _0x5660c4(_0x4eac9b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x312fa8[0x1]={..._0x312fa8[0x1],[_0x4eac9b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5836e9};},{[_0x4eac9b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4eac9b([0x68,0x69,0x67,0x68])}),_0x7d1829[_0x4eac9b([0x6f,0x6e])](_0x4eac9b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x531a3b=>{_0x5542d7(_0x531a3b[_0x4eac9b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x41bc9b=!0x0,_0xe85b7c(_0x531a3b[_0x4eac9b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4eac9b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4eac9b([0x6c,0x6f,0x77])}),_0x170f5a[_0x4eac9b([0x74,0x68,0x65,0x6e])](()=>{_0x41bc9b||_0x5660c4(_0x4eac9b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2220c9(){return _0x7d1829[_0x4eac9b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4eac9b([0x76,0x69,0x65,0x77])][_0x4eac9b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4eac9b([0x61,0x75,0x74,0x6f]);}function _0x3559ab(){_0x7d1829[_0x4eac9b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4eac9b([0x76,0x69,0x65,0x77])][_0x4eac9b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4eac9b([0x61,0x75,0x74,0x6f]);}}function _0x43227f(_0x71855a){const _0x57f671=[new window[(_0x4eac9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x524d28=>setTimeout(_0x524d28,0x45d4ecd9^_0x1ab447)),_0x170f5a[_0x4eac9b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4eac9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ccd17=>{let _0x25afec=0x0;_0x7d1829[_0x4eac9b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4eac9b([0x6f,0x6e])](_0x4eac9b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xb7059,_0x15ee5e)=>{_0x15ee5e[0x0][_0x4eac9b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x25afec++,_0x25afec==(0x45ddd7fd^_0x1ab447)&&(_0x1ccd17(),_0xb7059[_0x4eac9b([0x6f,0x66,0x66])]());});}))];return window[_0x4eac9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4eac9b([0x72,0x61,0x63,0x65])](_0x57f671)[_0x4eac9b([0x74,0x68,0x65,0x6e])](()=>_0x71855a);}async function _0xdf79d1(){await _0x170f5a,_0x7d1829[_0x4eac9b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4eac9b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2491f2,_0x7d1829[_0x4eac9b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4eac9b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2491f2,_0x7d1829[_0x4eac9b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4eac9b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3a2e0c(_0xa40836){const _0x4d6db0=_0x503def();_0x7d1829[_0x4d6db0]=_0x4eac9b([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xa40836,_0xa40836!=_0x4eac9b([0x56,0x61,0x6c,0x69,0x64])&&_0xdf79d1();}function _0x503def(){const _0x1b1c5a=window[_0x4eac9b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4eac9b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4eac9b([0x6e,0x6f,0x77])]())[_0x4eac9b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4eac9b([0x2e]),'');let _0xd7408e=_0x4eac9b([0x50]);for(let _0x424aec=0x0;_0x424aec<_0x1b1c5a[_0x4eac9b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x424aec+=0x2){let _0x56bba2=window[_0x4eac9b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b1c5a[_0x4eac9b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x424aec,_0x424aec+0x2));_0x56bba2>=_0x17633d[_0x4eac9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x56bba2-=_0x17633d[_0x4eac9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd7408e+=_0x17633d[_0x56bba2];}return _0xd7408e;}function _0x2549eb(){const _0x1ecbc6=_0x1a59bf[_0x4eac9b([0x73,0x70,0x6c,0x69,0x74])](_0x4eac9b([0x2e]));if(0x3!=_0x1ecbc6[_0x4eac9b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x142381(_0x1ecbc6[0x1]);function _0x142381(_0x3da85d){const _0x569d42=_0x3d1aca(_0x3da85d);return _0x569d42&&_0x314c3e()?_0x569d42:null;function _0x314c3e(){const _0x401b6f=_0x569d42[_0x4eac9b([0x6a,0x74,0x69])],_0x27e1aa=window[_0x4eac9b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x401b6f[_0x4eac9b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x401b6f[_0x4eac9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x597e1c={..._0x569d42,[_0x4eac9b([0x6a,0x74,0x69])]:_0x401b6f[_0x4eac9b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x401b6f[_0x4eac9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x597e1c[_0x4eac9b([0x76,0x63])],_0x5c6f6c(_0x597e1c)==_0x27e1aa;}}}async function _0x219f97(){let _0x3de629=!0x0;try{const _0x5e33ae=_0x1a59bf[_0x4eac9b([0x73,0x70,0x6c,0x69,0x74])](_0x4eac9b([0x2e])),[_0x13ea7e,_0x253837,_0x58a6ed]=_0x5e33ae;return _0x2f904a(_0x13ea7e),await _0x134f1f(_0x13ea7e,_0x253837,_0x58a6ed),_0x3de629;}catch{return!0x1;}function _0x2f904a(_0x27071c){const _0xd2a428=_0x3d1aca(_0x27071c);_0xd2a428&&_0xd2a428[_0x4eac9b([0x61,0x6c,0x67])]==_0x4eac9b([0x45,0x53,0x32,0x35,0x36])||(_0x3de629=!0x1);}async function _0x134f1f(_0x1bea43,_0x3cd651,_0x3cf3f2){const _0x5d0c04=window[_0x4eac9b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4eac9b([0x66,0x72,0x6f,0x6d])](_0x3c8a4e(_0x3cf3f2),_0x4c281a=>_0x4c281a[_0x4eac9b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3b471c=new window[(_0x4eac9b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4eac9b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1bea43+_0x4eac9b([0x2e])+_0x3cd651),_0x5d7f24=window[_0x4eac9b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4eac9b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d7f24)return;const _0x257289=await _0x5d7f24[_0x4eac9b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4eac9b([0x6a,0x77,0x6b]),_0xcc9d31,{[_0x4eac9b([0x6e,0x61,0x6d,0x65])]:_0x4eac9b([0x45,0x43,0x44,0x53,0x41]),[_0x4eac9b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4eac9b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4eac9b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d7f24[_0x4eac9b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4eac9b([0x6e,0x61,0x6d,0x65])]:_0x4eac9b([0x45,0x43,0x44,0x53,0x41]),[_0x4eac9b([0x68,0x61,0x73,0x68])]:{[_0x4eac9b([0x6e,0x61,0x6d,0x65])]:_0x4eac9b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x257289,_0x5d0c04,_0x3b471c)||(_0x3de629=!0x1);}}function _0x3d1aca(_0x1a88d3){return _0x1a88d3[_0x4eac9b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4eac9b([0x65,0x79]))?JSON[_0x4eac9b([0x70,0x61,0x72,0x73,0x65])](_0x3c8a4e(_0x1a88d3)):null;}function _0x3c8a4e(_0x2b011a){return window[_0x4eac9b([0x61,0x74,0x6f,0x62])](_0x2b011a[_0x4eac9b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4eac9b([0x2b]))[_0x4eac9b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4eac9b([0x2f])));}function _0x5c6f6c(_0x2ed146){let _0x3a77b7=0x1505;function _0x215c37(_0x427987){for(let _0x5a12d5=0x0;_0x5a12d5<_0x427987[_0x4eac9b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a12d5++){const _0x4e07d7=_0x427987[_0x4eac9b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a12d5);_0x3a77b7=(_0x3a77b7<<0x5)+_0x3a77b7+_0x4e07d7,_0x3a77b7&=_0x3a77b7;}}function _0x3dcb5c(_0x3a7e1b){Array[_0x4eac9b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3a7e1b)?_0x3a7e1b[_0x4eac9b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3dcb5c):_0x3a7e1b&&typeof _0x3a7e1b==_0x4eac9b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4eac9b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3a7e1b)[_0x4eac9b([0x73,0x6f,0x72,0x74])]()[_0x4eac9b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3eb177,_0x57da58])=>{_0x215c37(_0x3eb177),_0x3dcb5c(_0x57da58);}):_0x215c37(window[_0x4eac9b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3a7e1b));}return _0x3dcb5c(_0x2ed146),_0x3a77b7>>>0x0;}function _0x27a198(_0x586049){return _0x586049[_0x4eac9b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4eac9b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4eac9b([0x30]));}function _0x4d6291(_0x43cbae){return _0x43cbae[_0x4eac9b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4eac9b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4eac9b([0x6a,0x6f,0x69,0x6e])]('');}function _0x2491f2(){}function _0x4eac9b(_0x15c879){const _0x2a362b=_0x358e;return _0x15c879[_0x2a362b(0xf4)](_0x58b485=>String[_0x2a362b(0xef)](_0x58b485))[_0x2a362b(0xf6)]('');}_0x3a2e0c(await _0x3cf52f());}(this);}[_0x50aa52(0x101)](){const _0x2cb59e=_0x50aa52,_0x5966aa=this[_0x2cb59e(0x10c)];if(!_0x5966aa[_0x2cb59e(0xff)][_0x2cb59e(0xf7)](_0x2cb59e(0x117)))return;const _0xc0c6d1=_0x5966aa[_0x2cb59e(0xff)][_0x2cb59e(0xf7)](_0x2cb59e(0x10f))[_0x2cb59e(0x102)](_0x3b56b3=>_0x2cb59e(0x103)==typeof _0x3b56b3&&(!_0x4137cb(_0x3b56b3)&&isNaN(Number(_0x3b56b3))));if(_0xc0c6d1[_0x2cb59e(0x115)])throw new _0x224dda(_0x2cb59e(0x110),null,{'namedPresets':_0xc0c6d1});}[_0x50aa52(0x116)](){const _0x436f42=_0x50aa52,_0x5b04bf=this[_0x436f42(0x10c)],_0x25906b=this[_0x436f42(0x10c)][_0x436f42(0xff)][_0x436f42(0xf7)](_0x436f42(0xf9));_0x5b04bf[_0x436f42(0x120)][_0x436f42(0x113)](_0x436f42(0xed))[_0x436f42(0x107)]({'model':{'key':_0x436f42(0xfc)},'view':_0x12b1b8=>String(_0x12b1b8)===String(_0x25906b)?null:{'key':_0x436f42(0xee),'value':{'line-height':_0x12b1b8}}}),_0x5b04bf[_0x436f42(0x120)][_0x436f42(0x113)](_0x436f42(0x104))[_0x436f42(0x107)]({'model':{'key':_0x436f42(0xfc),'value':_0x311222=>{const _0x5948da=_0x436f42;let _0x211ebb=_0x311222[_0x5948da(0xf3)](_0x5948da(0xf0));return _0x377d60(_0x211ebb)&&(_0x211ebb=String(Number(_0x211ebb[_0x5948da(0xfb)](0x0,-0x1))/0x64)),String(_0x211ebb)===String(_0x25906b)?null:_0x211ebb;}},'view':{'styles':{'line-height':/.*/}}});}[_0x50aa52(0x10d)](){const _0x2ec754=_0x50aa52,_0x1da221=this[_0x2ec754(0x10c)],_0x2e95ec=this[_0x2ec754(0x10c)][_0x2ec754(0xff)][_0x2ec754(0xf7)](_0x2ec754(0xf9)),_0x36fd1a=_0x463ca0(this[_0x2ec754(0x10c)][_0x2ec754(0xff)][_0x2ec754(0xf7)](_0x2ec754(0xfc)))[_0x2ec754(0x102)](_0x30018e=>_0x30018e[_0x2ec754(0x106)]),_0x5ca6eb=_0x464d07(_0x2ec754(0xfc),_0x36fd1a);_0x1da221[_0x2ec754(0x120)][_0x2ec754(0x107)](_0x5ca6eb),_0x1da221[_0x2ec754(0x120)][_0x2ec754(0x113)](_0x2ec754(0x104))[_0x2ec754(0x107)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x2ec754(0xfc),'value':_0x2986b7=>{const _0x43fd54=_0x2ec754;let _0x5f62a2=_0x2986b7[_0x43fd54(0xf3)](_0x43fd54(0xf0));return _0x377d60(_0x5f62a2)&&(_0x5f62a2=String(Number(_0x5f62a2[_0x43fd54(0xfb)](0x0,-0x1))/0x64)),_0x5f62a2===String(_0x2e95ec)?null:_0x5ca6eb[_0x43fd54(0x106)][_0x43fd54(0x11f)][_0x43fd54(0x10b)](_0x5f62a2)?_0x5f62a2:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x23a58e}from'ckeditor5/src/core.js';import{addListToDropdown as _0x176cba,createDropdown as _0x3be163,MenuBarMenuListItemButtonView as _0x1c5e8b,MenuBarMenuListItemView as _0x59d8db,MenuBarMenuListView as _0x8cd76e,MenuBarMenuView as _0x4d9b6b,UIModel as _0x4cd7fc}from'ckeditor5/src/ui.js';import{Collection as _0x514316}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x5eec5f}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x6edffb}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x23a58e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x58a1fe={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x58a1fe),this['_registerMenuBarComponent'](_0x58a1fe),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x579c82=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x577144;for(const _0x4bc808 in _0x579c82){const _0x202d50=_0x4bc808,_0x21ea4e=_0x579c82[_0x202d50];if('lineHeightLicenseKeyValid'==_0x21ea4e||'lineHeightLicenseKeyInvalid'==_0x21ea4e||'lineHeightLicenseKeyExpired'==_0x21ea4e||'lineHeightLicenseKeyDomainLimit'==_0x21ea4e||'lineHeightLicenseKeyNotAllowed'==_0x21ea4e||'lineHeightLicenseKeyEvaluationLimit'==_0x21ea4e||'lineHeightLicenseKeyUsageLimit'==_0x21ea4e){delete _0x579c82[_0x202d50],_0x577144=_0x21ea4e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x577144&&_0x579c82['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x577144&&_0x579c82['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x577144&&_0x579c82['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x577144&&_0x579c82['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x577144&&_0x579c82['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x577144&&_0x579c82['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x22011c=this['editor'],t=_0x22011c['t'],_0x3f5331=_0x22011c['config']['get']('lineHeight'),_0x403727={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x6edffb(_0x3f5331)['map'](_0x5a3ffc=>{const _0x133f22=_0x403727[_0x5a3ffc['title']];return _0x133f22&&_0x133f22!=_0x5a3ffc['title']&&(_0x5a3ffc=Object['assign']({},_0x5a3ffc,{'title':_0x133f22})),_0x5a3ffc;});}['_prepareListOptions'](){const _0x413ec7=this['editor']['commands']['get']('lineHeight'),_0x3d0599=this['editor']['config']['get']('lineHeight.defaultValue'),_0x47ef8a=this['_getLocalizedLineHeightOptions'](),_0x416407=new _0x514316(),_0xa946bd=_0x2b2006=>'default'===_0x2b2006||String(_0x3d0599)===_0x2b2006;for(const _0x4c2486 of _0x47ef8a){const _0x494f66={'type':'button','model':new _0x4cd7fc({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x4c2486['title'],'withText':!0x0})};_0xa946bd(_0x4c2486['model'])?(_0x494f66['model']['bind']('isOn')['to'](_0x413ec7,'value',_0x1c098f=>!_0x1c098f),_0x494f66['model']['commandParam']=void 0x0):(_0x494f66['model']['bind']('isOn')['to'](_0x413ec7,'value',_0x28d674=>_0x28d674===_0x4c2486['model']),_0x494f66['model']['commandParam']=_0x4c2486['model']),_0x416407['add'](_0x494f66);}if(this['_shouldRenderCustomValueOption']()){const _0x371c74=this['_getCustomValueOptionDefinition'](_0x47ef8a);_0x416407['add'](_0x371c74);}return _0x416407;}['_getCustomValueOptionDefinition'](_0x380edd){const _0xebb243=this['editor'],t=_0xebb243['t'],_0x124120=_0xebb243['commands']['get']('lineHeight'),_0xeddf42=_0x380edd['map'](_0x2705bf=>_0x2705bf['model']),_0x4f8ee3={'type':'button','model':new _0x4cd7fc({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x4f8ee3['model']['bind']('commandParam')['to'](_0x124120,'value'),_0x4f8ee3['model']['bind']('isOn')['to'](_0x124120,'value',_0x47f5d7=>!!_0x47f5d7&&!_0xeddf42['includes'](String(_0x47f5d7))),_0x4f8ee3['model']['bind']('label')['to'](_0x124120,'value',_0x5c04bb=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x5c04bb))),_0x4f8ee3;}['_registerToolbarComponent']({accessibleLabel:_0x32c88c,options:_0x363075}){const _0x35c3e4=this['editor'],_0x47fe40=_0x35c3e4['commands']['get']('lineHeight');_0x35c3e4['ui']['componentFactory']['add']('lineHeight',_0x96ffc=>{const _0x2d3c0d=_0x3be163(_0x96ffc);return _0x176cba(_0x2d3c0d,_0x363075,{'role':'menu','ariaLabel':_0x32c88c}),_0x2d3c0d['buttonView']['set']({'label':_0x32c88c,'tooltip':!0x0,'icon':_0x5eec5f}),_0x2d3c0d['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x2d3c0d['bind']('isEnabled')['to'](_0x47fe40),this['listenTo'](_0x2d3c0d,'execute',_0x14a344=>{_0x35c3e4['execute'](_0x14a344['source']['commandName'],{'value':_0x14a344['source']['commandParam']}),_0x35c3e4['editing']['view']['focus']();}),_0x2d3c0d['once']('change:isOpen',()=>{const _0xdbe2b0=_0x2d3c0d['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x2d3c0d,_0x363075,_0xdbe2b0);}),_0x2d3c0d;});}['_registerMenuBarComponent']({accessibleLabel:_0x3f0ffa,options:_0x54b8f1}){const _0x26d1f2=this['editor'],_0x2ec4e9=_0x26d1f2['commands']['get']('lineHeight');_0x26d1f2['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5dff9a=>{const _0xbe7d6c=new _0x4d9b6b(_0x5dff9a);_0xbe7d6c['buttonView']['set']({'label':_0x3f0ffa,'icon':_0x5eec5f}),_0xbe7d6c['bind']('isEnabled')['to'](_0x2ec4e9);const _0x1a708a=new _0x8cd76e(_0x5dff9a);for(const _0x140d40 of _0x54b8f1){const _0x7dcdf6=new _0x59d8db(_0x5dff9a,_0xbe7d6c),_0x1e7acd=new _0x1c5e8b(_0x5dff9a);_0x1e7acd['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1e7acd['bind'](...Object['keys'](_0x140d40['model']))['to'](_0x140d40['model']),_0x1e7acd['delegate']('execute')['to'](_0xbe7d6c),_0x1e7acd['on']('execute',()=>{_0x26d1f2['execute'](_0x140d40['model']['commandName'],{'value':_0x140d40['model']['commandParam']}),_0x26d1f2['editing']['view']['focus']();}),_0x7dcdf6['children']['add'](_0x1e7acd),_0x1a708a['items']['add'](_0x7dcdf6);}return _0xbe7d6c['panelView']['children']['add'](_0x1a708a),this['_attachCustomOptionVisibilityHandler'](_0xbe7d6c,_0x54b8f1,_0x1a708a),_0xbe7d6c;});}['_attachCustomOptionVisibilityHandler'](_0xff8c65,_0x41532e,_0x1cf4c3){if(!this['_shouldRenderCustomValueOption']())return;const _0xf08d2d=()=>{if(!_0xff8c65['isOpen'])return;_0x1cf4c3['items']['last']['isVisible']=Boolean(_0x41532e['last']['model']['isOn']);};_0xf08d2d(),_0xff8c65['on']('change:isOpen',()=>{_0xf08d2d();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1ea447,_0x2c723c){const _0x4a4709=_0x256f,_0x2fbc09=_0x1ea447();while(!![]){try{const _0x41cf9f=parseInt(_0x4a4709(0x18f))/0x1+-parseInt(_0x4a4709(0x17c))/0x2*(-parseInt(_0x4a4709(0x17e))/0x3)+-parseInt(_0x4a4709(0x196))/0x4+-parseInt(_0x4a4709(0x187))/0x5+parseInt(_0x4a4709(0x180))/0x6+-parseInt(_0x4a4709(0x178))/0x7*(-parseInt(_0x4a4709(0x195))/0x8)+-parseInt(_0x4a4709(0x181))/0x9*(parseInt(_0x4a4709(0x18c))/0xa);if(_0x41cf9f===_0x2c723c)break;else _0x2fbc09['push'](_0x2fbc09['shift']());}catch(_0x1ac326){_0x2fbc09['push'](_0x2fbc09['shift']());}}}(_0x9451,0xe0c8b));function _0x256f(_0x5e95c3,_0x1d1ae6){const _0x945193=_0x9451();return _0x256f=function(_0x256fca,_0x22cdd6){_0x256fca=_0x256fca-0x177;let _0x5bba55=_0x945193[_0x256fca];return _0x5bba55;},_0x256f(_0x5e95c3,_0x1d1ae6);}function _0x9451(){const _0x48f6a6=['style','7915560yyCPzX','Single','value','view','number','20jtFZjc','double','single','1179808efiVZH','values','push','filter','options','string','8kTHZfn','616160pDstBV','line-height-double','map','line-height-single','10458665zWUpyJ','span','default','key','2391178ehKVzu','toLowerCase','3yGGcnk','class','8426214eEWcLR','11771973bFIcFG','defaultValue','line-height:','Double','model'];_0x9451=function(){return _0x48f6a6;};return _0x9451();}const v={get 'single'(){const _0x28daee=_0x256f;return{'title':_0x28daee(0x188),'model':_0x28daee(0x18e),'view':{'key':_0x28daee(0x17f),'value':_0x28daee(0x177)}};},get 'double'(){const _0x40cd9e=_0x256f;return{'title':_0x40cd9e(0x184),'model':_0x40cd9e(0x18d),'view':{'key':_0x40cd9e(0x17f),'value':_0x40cd9e(0x197)}};}};export function isLineHeightDefaultValue(_0x4b9390){const _0x23b010=_0x256f;return _0x23b010(0x194)==typeof _0x4b9390&&_0x23b010(0x17a)===_0x4b9390[_0x23b010(0x17d)]();}export function normalizeOptions(_0x1a02dd){const _0x2c9967=_0x256f;return _0x1a02dd[_0x2c9967(0x193)][_0x2c9967(0x198)](_0x1a1b2b=>isLineHeightDefaultValue(_0x1a1b2b)?{'title':String(_0x1a02dd[_0x2c9967(0x182)]),'model':_0x2c9967(0x17a)}:(_0x2c9967(0x18b)==typeof _0x1a1b2b&&(_0x1a1b2b=String(_0x1a1b2b)),_0x2c9967(0x194)!=typeof _0x1a1b2b?_0x1a1b2b:parseFloat(_0x1a1b2b)?{'title':_0x1a1b2b,'model':_0x1a1b2b,'view':{'name':_0x2c9967(0x179),'styles':{'line-height':_0x1a1b2b}}}:findPreset(_0x1a1b2b)))[_0x2c9967(0x192)](_0x5eca95=>void 0x0!==_0x5eca95);}export function findPreset(_0x4e6432){const _0x13d8a8=_0x256f;return _0x13d8a8(0x194)==typeof _0x4e6432?v[_0x4e6432]:v[_0x4e6432[_0x13d8a8(0x185)]];}export function buildDefinition(_0x504487,_0x1ba708){const _0xfa71c2=_0x256f,_0x20d8c9={'model':{'key':_0x504487,'values':[]},'view':{}};for(const _0x469a51 of _0x1ba708)_0xfa71c2(0x17f)===_0x469a51[_0xfa71c2(0x18a)]?.[_0xfa71c2(0x17b)]?(_0x20d8c9[_0xfa71c2(0x185)][_0xfa71c2(0x190)][_0xfa71c2(0x191)](_0x469a51[_0xfa71c2(0x185)]),_0x20d8c9[_0xfa71c2(0x18a)][_0x469a51[_0xfa71c2(0x185)]]={'key':_0xfa71c2(0x17f),'value':_0x469a51[_0xfa71c2(0x18a)][_0xfa71c2(0x189)]}):(_0x20d8c9[_0xfa71c2(0x185)][_0xfa71c2(0x190)][_0xfa71c2(0x191)](_0x469a51[_0xfa71c2(0x185)]),_0x20d8c9[_0xfa71c2(0x18a)][_0x469a51[_0xfa71c2(0x185)]]={'key':_0xfa71c2(0x186),'value':_0xfa71c2(0x183)+_0x469a51[_0xfa71c2(0x185)]+';'});return _0x20d8c9;}
|