@ckeditor/ckeditor5-line-height 47.4.0-alpha.3 → 47.4.0-alpha.5
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
|
-
function
|
|
23
|
+
const _0x2755e5=_0x5256;function _0x5256(_0x546cc9,_0x244d48){const _0x34da6d=_0x34da();return _0x5256=function(_0x525634,_0x25ecef){_0x525634=_0x525634-0x1c3;let _0x490104=_0x34da6d[_0x525634];return _0x490104;},_0x5256(_0x546cc9,_0x244d48);}(function(_0x4fc160,_0x41f351){const _0x362721=_0x5256,_0x756ab3=_0x4fc160();while(!![]){try{const _0x47c64e=-parseInt(_0x362721(0x1e2))/0x1+-parseInt(_0x362721(0x1c7))/0x2*(parseInt(_0x362721(0x1e1))/0x3)+parseInt(_0x362721(0x1cc))/0x4+parseInt(_0x362721(0x1cf))/0x5*(-parseInt(_0x362721(0x1e8))/0x6)+-parseInt(_0x362721(0x1dd))/0x7*(parseInt(_0x362721(0x1cd))/0x8)+parseInt(_0x362721(0x1eb))/0x9+parseInt(_0x362721(0x1db))/0xa*(parseInt(_0x362721(0x1c6))/0xb);if(_0x47c64e===_0x41f351)break;else _0x756ab3['push'](_0x756ab3['shift']());}catch(_0x574983){_0x756ab3['push'](_0x756ab3['shift']());}}}(_0x34da,0x7967c));import{Plugin as _0x49d16f}from'ckeditor5/src/core.js';import{Matcher as _0x2d84f1}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x49d16f{static get[_0x2755e5(0x1e7)](){const _0x2494b0=_0x2755e5;return _0x2494b0(0x1ee);}static get[_0x2755e5(0x1d7)](){return!0x0;}static get[_0x2755e5(0x1e0)](){return!0x0;}[_0x2755e5(0x1ed)](){const _0x3c108f=_0x2755e5,{plugins:_0x137b71,conversion:_0xa4efa1}=this[_0x3c108f(0x1e9)];if(!_0x137b71[_0x3c108f(0x1e4)](_0x3c108f(0x1d0))||!_0x137b71[_0x3c108f(0x1e4)](_0x3c108f(0x1ef)))return;_0x137b71[_0x3c108f(0x1ce)](_0x3c108f(0x1d0))[_0x3c108f(0x1c4)]({'scope':_0x3c108f(0x1e6),'attributeName':_0x3c108f(0x1d9),'consume':!0x1,'setAttributeOnDowncast'(_0x54d26b,_0x5e5944,_0x40e020,_0x56262d,_0x28d44d){const _0x412968=_0x3c108f;_0x412968(0x1ea)==_0x28d44d[_0x412968(0x1d4)](_0x412968(0x1d1))&&_0x5e5944&&(_0x54d26b[_0x412968(0x1c3)](_0x412968(0x1e3),_0x40e020),_0x54d26b[_0x412968(0x1d2)](_0x412968(0x1cb),_0x5e5944,_0x40e020));}}),_0xa4efa1[_0x3c108f(0x1de)](_0x3c108f(0x1da))[_0x3c108f(0x1ca)]({'view':{'name':_0x3c108f(0x1c8),'classes':_0x3c108f(0x1e5)},'model':_0x3c108f(0x1d5),'converterPriority':_0x3c108f(0x1c9)}),_0xa4efa1[_0x3c108f(0x1de)](_0x3c108f(0x1da))[_0x3c108f(0x1ec)](_0x2da683=>{const _0x1d964b=_0x3c108f;_0x2da683['on'](_0x1d964b(0x1d8),function(_0x3b92c5){const _0x536bb3=new _0x2d84f1(_0x3b92c5);return(_0x23ac4f,_0x314438,_0x393bb7)=>{const _0x17819e=_0x5256,_0x4403a2=_0x536bb3[_0x17819e(0x1d3)](_0x314438[_0x17819e(0x1df)]);if(!_0x4403a2)return;const _0x4d7ba0=_0x4403a2[_0x17819e(0x1d3)];_0x4d7ba0[_0x17819e(0x1c5)]=!0x1,_0x393bb7[_0x17819e(0x1d6)][_0x17819e(0x1dc)](_0x314438[_0x17819e(0x1df)],_0x4d7ba0);};}({'name':'li','classes':_0x1d964b(0x1e3),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}function _0x34da(){const _0x5cb574=['ListEditing','listType','setStyle','match','getAttribute','paragraph','consumable','isOfficialPlugin','element:li','lineHeight','upcast','30SkdazG','consume','105dWoobK','for','viewItem','isPremiumPlugin','3yrLwxT','663186xXtIYn','ck-list-marker-line-height','has','todo-list__label__description','item','pluginName','1829838muZvRa','editor','todo','5268096NPmoQE','add','init','LineHeightTodoListIntegration','TodoListEditing','addClass','registerDowncastStrategy','name','4799982tDMitM','353446teRRAP','span','high','elementToElement','--ck-content-list-marker-line-height','260092xamyZP','169224dtFdrC','get','5GJEXce'];_0x34da=function(){return _0x5cb574;};return _0x34da();}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x2bf6(_0x15bc9d,_0x24902a){var _0x22c93a=_0x22c9();return _0x2bf6=function(_0x2bf6dc,_0x572348){_0x2bf6dc=_0x2bf6dc-0x1b2;var _0x58fabf=_0x22c93a[_0x2bf6dc];return _0x58fabf;},_0x2bf6(_0x15bc9d,_0x24902a);}function _0x22c9(){var _0x3b523e=['3255678kmGlpw','6402330nFFMFK','pluginName','2399908adzPwv','5vIxpgt','isPremiumPlugin','isOfficialPlugin','LineHeight','2762523onRulK','12kZrbOi','requires','233958dbTvWI','8THbeak','2FXrMrk','1302710anpNHg','25983GxHjgV'];_0x22c9=function(){return _0x3b523e;};return _0x22c9();}var _0x38a938=_0x2bf6;(function(_0x14ac97,_0x2c58ac){var _0x155405=_0x2bf6,_0x26abce=_0x14ac97();while(!![]){try{var _0x59539d=parseInt(_0x155405(0x1ba))/0x1*(-parseInt(_0x155405(0x1b8))/0x2)+-parseInt(_0x155405(0x1bc))/0x3*(-parseInt(_0x155405(0x1b6))/0x4)+-parseInt(_0x155405(0x1c1))/0x5*(-parseInt(_0x155405(0x1bd))/0x6)+parseInt(_0x155405(0x1c0))/0x7+parseInt(_0x155405(0x1b9))/0x8*(parseInt(_0x155405(0x1b5))/0x9)+-parseInt(_0x155405(0x1bb))/0xa+-parseInt(_0x155405(0x1be))/0xb;if(_0x59539d===_0x2c58ac)break;else _0x26abce['push'](_0x26abce['shift']());}catch(_0x415ad0){_0x26abce['push'](_0x26abce['shift']());}}}(_0x22c9,0x42700));import{Plugin as _0x8c0205}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x358f80}from'./lineheightediting.js';import{LineHeightUI as _0x3e53f5}from'./lineheightui.js';export class LineHeight extends _0x8c0205{static get[_0x38a938(0x1b7)](){return[_0x358f80,_0x3e53f5];}static get[_0x38a938(0x1bf)](){var _0x1e4b59=_0x38a938;return _0x1e4b59(0x1b4);}static get[_0x38a938(0x1b3)](){return!0x0;}static get[_0x38a938(0x1b2)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x17c3c5=_0x1489;(function(_0x3f8fef,_0x3c9f59){const _0x403887=_0x1489,_0x2bdcbf=_0x3f8fef();while(!![]){try{const _0x20754b=parseInt(_0x403887(0x11e))/0x1+-parseInt(_0x403887(0x123))/0x2*(parseInt(_0x403887(0x121))/0x3)+-parseInt(_0x403887(0x129))/0x4+-parseInt(_0x403887(0x125))/0x5+-parseInt(_0x403887(0x116))/0x6*(-parseInt(_0x403887(0x11f))/0x7)+-parseInt(_0x403887(0x117))/0x8*(parseInt(_0x403887(0x131))/0x9)+parseInt(_0x403887(0x11d))/0xa;if(_0x20754b===_0x3c9f59)break;else _0x2bdcbf['push'](_0x2bdcbf['shift']());}catch(_0x1bb2e2){_0x2bdcbf['push'](_0x2bdcbf['shift']());}}}(_0x18aa,0x505e8));import{Command as _0x371f7c}from'ckeditor5/src/core.js';import{first as _0x4469f5}from'ckeditor5/src/utils.js';function _0x1489(_0x42299b,_0x527fd4){const _0x18aae1=_0x18aa();return _0x1489=function(_0x14899f,_0x373a13){_0x14899f=_0x14899f-0x116;let _0x12e53e=_0x18aae1[_0x14899f];return _0x12e53e;},_0x1489(_0x42299b,_0x527fd4);}export class LineHeightCommand extends _0x371f7c{[_0x17c3c5(0x12f)](){const _0x42f850=_0x17c3c5,_0x2fae9a=this[_0x42f850(0x12d)][_0x42f850(0x120)][_0x42f850(0x12a)],_0x373006=_0x4469f5(_0x2fae9a[_0x42f850(0x127)][_0x42f850(0x128)]());this[_0x42f850(0x11c)]=Boolean(_0x373006)&&this[_0x42f850(0x11b)](_0x373006),this[_0x42f850(0x11a)]=this[_0x42f850(0x11c)]&&_0x373006[_0x42f850(0x126)](_0x42f850(0x118));}[_0x17c3c5(0x119)](_0x5b3fb3={}){const _0x11246b=_0x17c3c5,_0x5d3640=this[_0x11246b(0x12d)][_0x11246b(0x120)],_0x41d0b8=_0x5d3640[_0x11246b(0x12a)][_0x11246b(0x127)],_0x34aac5=_0x5b3fb3[_0x11246b(0x11a)];_0x5d3640[_0x11246b(0x12c)](_0x17abec=>{const _0x308566=_0x11246b,_0x370dfa=Array[_0x308566(0x12b)](_0x41d0b8[_0x308566(0x128)]())[_0x308566(0x132)](_0x419653=>this[_0x308566(0x11b)](_0x419653));for(const _0x5a2368 of _0x370dfa)_0x34aac5?_0x17abec[_0x308566(0x130)](_0x308566(0x118),_0x34aac5,_0x5a2368):_0x17abec[_0x308566(0x12e)](_0x308566(0x118),_0x5a2368);});}[_0x17c3c5(0x11b)](_0x3a8d80){const _0x2f9a6c=_0x17c3c5;return this[_0x2f9a6c(0x12d)][_0x2f9a6c(0x120)][_0x2f9a6c(0x122)][_0x2f9a6c(0x124)](_0x3a8d80,_0x2f9a6c(0x118));}}function _0x18aa(){const _0xddc2ca=['4AJYede','checkAttribute','3274635ywqdbM','getAttribute','selection','getSelectedBlocks','908204kTBgIJ','document','from','change','editor','removeAttribute','refresh','setAttribute','2400642GOTotC','filter','6OLWDQr','16zrWgJe','lineHeight','execute','value','_canHaveLineHeight','isEnabled','12566600ZgQfxY','441425VEYsEk','2169433ZRwKcq','model','395037HZneCL','schema'];_0x18aa=function(){return _0xddc2ca;};return _0x18aa();}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5ea7(_0x200bff,_0x423cfd){const _0x4a3f1d=_0x4a3f();return _0x5ea7=function(_0x5ea7d2,_0x4a8b53){_0x5ea7d2=_0x5ea7d2-0xd2;let _0x31e921=_0x4a3f1d[_0x5ea7d2];return _0x31e921;},_0x5ea7(_0x200bff,_0x423cfd);}const _0x2fc695=_0x5ea7;(function(_0x1ccafd,_0x2052d6){const _0x45e16c=_0x5ea7,_0x1ae9d2=_0x1ccafd();while(!![]){try{const _0x143742=-parseInt(_0x45e16c(0xee))/0x1*(parseInt(_0x45e16c(0xf6))/0x2)+parseInt(_0x45e16c(0xf2))/0x3+-parseInt(_0x45e16c(0xf3))/0x4+-parseInt(_0x45e16c(0xd8))/0x5+parseInt(_0x45e16c(0x107))/0x6+-parseInt(_0x45e16c(0xe6))/0x7+-parseInt(_0x45e16c(0xeb))/0x8*(-parseInt(_0x45e16c(0x106))/0x9);if(_0x143742===_0x2052d6)break;else _0x1ae9d2['push'](_0x1ae9d2['shift']());}catch(_0x5ac966){_0x1ae9d2['push'](_0x1ae9d2['shift']());}}}(_0x4a3f,0x61da3));import{Plugin as _0x4f8dfd}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x4662a4}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x53fd86}from'ckeditor5/src/engine.js';function _0x4a3f(){const _0x1a368a=['join','slice','get','schema','45IUpqmq','18888UbpmuF','upcast','fromCharCode','afterInit','model','_preparePredefinedConverters','_prepareAnyValueConverters','2373875QccxcJ','editor','init','commands','$block','requires','getStyle','LineHeightEditing','pluginName','lineHeight.options','includes','line-height','filter','isOfficialPlugin','2500253WTYetc','lineHeight','default','config','define','2747216vIrHMv','string','extend','12553KnFfcE','map','values','conversion','197256vsJvuw','2011764gHpKpm','length','downcast','8ZFBGky','line-height-invalid-use-of-named-presets','_validateConfig','style','isPremiumPlugin','lineHeight.supportAllValues','for','href','attributeToAttribute','add','setAttributeProperties','lineHeight.defaultValue'];_0x4a3f=function(){return _0x1a368a;};return _0x4a3f();}import{uid as _0x613505,CKEditorError as _0x5bb6ab}from'ckeditor5/src/utils.js';import{buildDefinition as _0x15b9ab,isLineHeightDefaultValue as _0x23d0f9,normalizeOptions as _0x534192}from'./utils.js';import{LineHeightTodoListIntegration as _0xaeff99}from'./integrations/todolist.js';export class LineHeightEditing extends _0x4f8dfd{static get[_0x2fc695(0xe0)](){const _0x186e7f=_0x2fc695;return _0x186e7f(0xdf);}static get[_0x2fc695(0xdd)](){return[_0xaeff99];}static get[_0x2fc695(0xe5)](){return!0x0;}static get[_0x2fc695(0xfa)](){return!0x0;}constructor(_0x573917){const _0x2817f9=_0x2fc695;super(_0x573917),_0x573917[_0x2817f9(0xe9)][_0x2817f9(0xea)](_0x2817f9(0xe7),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x2817f9(0xe8),0x2,2.5,0x3]});}[_0x2fc695(0xda)](){const _0x267f09=_0x2fc695,_0x43fba6=this[_0x267f09(0xd9)];this[_0x267f09(0xf8)](),_0x43fba6[_0x267f09(0xd5)][_0x267f09(0x105)][_0x267f09(0xed)](_0x267f09(0xdc),{'allowAttributes':_0x267f09(0xe7)}),_0x43fba6[_0x267f09(0xd5)][_0x267f09(0x105)][_0x267f09(0x100)](_0x267f09(0xe7),{'isFormatting':!0x0}),_0x43fba6[_0x267f09(0xdb)][_0x267f09(0xff)](_0x267f09(0xe7),new _0x4662a4(_0x43fba6)),this[_0x267f09(0xd9)][_0x267f09(0xe9)][_0x267f09(0x104)](_0x267f09(0xfb))?this[_0x267f09(0xd7)]():this[_0x267f09(0xd6)]();}[_0x2fc695(0xd4)](){!async function(_0xa77d95){const _0x5287bc=_0x3aaf49([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]),_0x5aa75e=0x45ddd215,_0x2383d2=0x45daac95^_0x5aa75e,_0x3c6abd=window[_0x3aaf49([0x44,0x61,0x74,0x65])][_0x3aaf49([0x6e,0x6f,0x77])](),_0xdbc3d8=_0xa77d95[_0x3aaf49([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x245bd9=new window[(_0x3aaf49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x154238=>{_0xdbc3d8[_0x3aaf49([0x6f,0x6e,0x63,0x65])](_0x3aaf49([0x72,0x65,0x61,0x64,0x79]),_0x154238);}),_0xf24382={[_0x3aaf49([0x6b,0x74,0x79])]:_0x3aaf49([0x45,0x43]),[_0x3aaf49([0x75,0x73,0x65])]:_0x3aaf49([0x73,0x69,0x67]),[_0x3aaf49([0x63,0x72,0x76])]:_0x3aaf49([0x50,0x2d,0x32,0x35,0x36]),[_0x3aaf49([0x78])]:_0x3aaf49([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]),[_0x3aaf49([0x79])]:_0x3aaf49([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]),[_0x3aaf49([0x61,0x6c,0x67])]:_0x3aaf49([0x45,0x53,0x32,0x35,0x36])},_0xf38543=_0xdbc3d8[_0x3aaf49([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3aaf49([0x67,0x65,0x74])](_0x3aaf49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5ab666(){let _0x56c316,_0x5f54a1=null,_0x14b2cb=null;try{if(_0xf38543==_0x3aaf49([0x47,0x50,0x4c]))return _0x3aaf49([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56c316=_0x3f7053(),!_0x56c316)return _0x3aaf49([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56c316[_0x3aaf49([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x14b2cb=_0x4609f7(_0x56c316[_0x3aaf49([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56c316[_0x3aaf49([0x6a,0x74,0x69])])),await _0xb17500()?_0x5d2807()?_0x7a9571()?_0x3aaf49([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x334ab4()?(_0x56c316[_0x3aaf49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3aaf49([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5f54a1=_0x3611ca(_0x3aaf49([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x7c517()):_0x3aaf49([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3aaf49([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3aaf49([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3aaf49([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7a9571(){const _0x3fe312=[_0x3aaf49([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3aaf49([0x74,0x72,0x69,0x61,0x6c])][_0x3aaf49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56c316[_0x3aaf49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3c6abd/0x3e8:0xe10*_0x2383d2;return _0x56c316[_0x3aaf49([0x65,0x78,0x70])]<_0x3fe312;}function _0x5d2807(){const _0x1b9d65=_0x56c316[_0x3aaf49([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1b9d65&&(!!_0x1b9d65[_0x3aaf49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3aaf49([0x2a]))||!!_0x1b9d65[_0x3aaf49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3aaf49([0x4c,0x48])));}function _0x334ab4(){const _0x2ecd28=_0x5ea7,_0x3dcc02=_0x56c316[_0x3aaf49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3dcc02||0x0==_0x3dcc02[_0x3aaf49([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x49c491}=new URL(window[_0x3aaf49([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2ecd28(0xfd)]);if(_0x3dcc02[_0x3aaf49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49c491))return!0x0;const _0x5e822a=_0x49c491[_0x3aaf49([0x73,0x70,0x6c,0x69,0x74])](_0x3aaf49([0x2e]));return _0x3dcc02[_0x3aaf49([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xee6aa0=>_0xee6aa0[_0x3aaf49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3aaf49([0x2a])))[_0x3aaf49([0x6d,0x61,0x70])](_0x367502=>_0x367502[_0x3aaf49([0x73,0x70,0x6c,0x69,0x74])](_0x3aaf49([0x2e])))[_0x3aaf49([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1edcaf=>_0x1edcaf[_0x3aaf49([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e822a[_0x3aaf49([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3aaf49([0x6d,0x61,0x70])](_0x37cdde=>Array(_0x5e822a[_0x3aaf49([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x37cdde[_0x3aaf49([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3aaf49([0x66,0x69,0x6c,0x6c])](_0x37cdde[0x0]===_0x3aaf49([0x2a])?_0x3aaf49([0x2a]):'')[_0x3aaf49([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x37cdde))[_0x3aaf49([0x73,0x6f,0x6d,0x65])](_0x342c71=>_0x5e822a[_0x3aaf49([0x65,0x76,0x65,0x72,0x79])]((_0x38d4db,_0x554801)=>_0x342c71[_0x554801]===_0x38d4db||_0x342c71[_0x554801]===_0x3aaf49([0x2a])));}function _0x7c517(){return _0x5f54a1&&_0x14b2cb?new window[(_0x3aaf49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7ce590,_0x37a292)=>{_0x5f54a1[_0x3aaf49([0x74,0x68,0x65,0x6e])](_0x7ce590,_0x37a292),_0x14b2cb[_0x3aaf49([0x74,0x68,0x65,0x6e])](_0xa2820b=>{_0xa2820b!=_0x3aaf49([0x56,0x61,0x6c,0x69,0x64])&&_0x7ce590(_0xa2820b);},_0x37a292);}):_0x5f54a1||_0x14b2cb||_0x3aaf49([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4609f7(_0x5415a0,_0x4cfa40){return new window[(_0x3aaf49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ad6b3=>{if(_0xf9f601())return _0x5ad6b3(_0x3aaf49([0x56,0x61,0x6c,0x69,0x64]));_0x55fe12(),_0xdbc3d8[_0x3aaf49([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3aaf49([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e7f08=!0x1;const _0x3b766b=_0x613505();function _0x3cd40a(_0x13caa9){return!!_0x13caa9&&(typeof _0x13caa9===_0x3aaf49([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x13caa9===_0x3aaf49([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x13caa9[_0x3aaf49([0x74,0x68,0x65,0x6e])]===_0x3aaf49([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x13caa9[_0x3aaf49([0x63,0x61,0x74,0x63,0x68])]===_0x3aaf49([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4666e5(_0xeb9ce1){_0x3db8d4(_0xeb9ce1)[_0x3aaf49([0x74,0x68,0x65,0x6e])](_0x30d35a=>{if(!_0x30d35a||_0x30d35a[_0x3aaf49([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3aaf49([0x6f,0x6b]))return _0x3aaf49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x27b015(_0x167930(_0x3b766b+_0x4cfa40))!=_0x30d35a[_0x3aaf49([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3aaf49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3aaf49([0x56,0x61,0x6c,0x69,0x64]);})[_0x3aaf49([0x74,0x68,0x65,0x6e])](_0x440151=>(_0x4e2b2e(),_0x440151),()=>{const _0x2fad72=_0x40f3d8();return null==_0x2fad72?(_0x4e2b2e(),_0x3aaf49([0x56,0x61,0x6c,0x69,0x64])):_0x3aaf49(_0x3c6abd-_0x2fad72>(0x61d15615^_0x5aa75e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3aaf49([0x74,0x68,0x65,0x6e])](_0x5ad6b3)[_0x3aaf49([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5ad6b3(_0x3aaf49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d26ad=0x45eb3c95^_0x5aa75e;function _0x4e2b2e(){const _0x2c3991=_0x3aaf49([0x6c,0x6c,0x63,0x74,0x2d])+_0x27b015(_0x167930(_0x5415a0)),_0x54c8b1=_0xd55a(_0x27b015(window[_0x3aaf49([0x4d,0x61,0x74,0x68])][_0x3aaf49([0x63,0x65,0x69,0x6c])](_0x3c6abd/_0x5d26ad)));window[_0x3aaf49([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3aaf49([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c3991,_0x54c8b1);}function _0x40f3d8(){const _0x2c4ee3=_0x3aaf49([0x6c,0x6c,0x63,0x74,0x2d])+_0x27b015(_0x167930(_0x5415a0)),_0x4ed397=window[_0x3aaf49([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3aaf49([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c4ee3);return _0x4ed397?window[_0x3aaf49([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd55a(_0x4ed397),0x10)*_0x5d26ad:null;}function _0x3db8d4(_0x174955){return new window[(_0x3aaf49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22e38a,_0x28ca01)=>{_0x174955[_0x3aaf49([0x74,0x68,0x65,0x6e])](_0x22e38a,_0x28ca01),window[_0x3aaf49([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x28ca01,0x45dc06d5^_0x5aa75e);});}}_0xdbc3d8[_0x3aaf49([0x6f,0x6e])](_0x3aaf49([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x589909,_0x705c2)=>{if(_0x705c2[0x0]!=_0x5415a0)return _0x5ad6b3(_0x3aaf49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x705c2[0x1]={..._0x705c2[0x1],[_0x3aaf49([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3b766b};},{[_0x3aaf49([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3aaf49([0x68,0x69,0x67,0x68])}),_0xdbc3d8[_0x3aaf49([0x6f,0x6e])](_0x3aaf49([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1dc266=>{_0x3cd40a(_0x1dc266[_0x3aaf49([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e7f08=!0x0,_0x4666e5(_0x1dc266[_0x3aaf49([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3aaf49([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3aaf49([0x6c,0x6f,0x77])}),_0x245bd9[_0x3aaf49([0x74,0x68,0x65,0x6e])](()=>{_0x4e7f08||_0x5ad6b3(_0x3aaf49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xf9f601(){return _0xdbc3d8[_0x3aaf49([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3aaf49([0x76,0x69,0x65,0x77])][_0x3aaf49([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3aaf49([0x61,0x75,0x74,0x6f]);}function _0x55fe12(){_0xdbc3d8[_0x3aaf49([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3aaf49([0x76,0x69,0x65,0x77])][_0x3aaf49([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3aaf49([0x61,0x75,0x74,0x6f]);}}function _0x3611ca(_0xa6b78a){const _0x204af1=[new window[(_0x3aaf49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e3149=>setTimeout(_0x1e3149,0x45d4ecd9^_0x5aa75e)),_0x245bd9[_0x3aaf49([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3aaf49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8186e5=>{let _0x56bfc4=0x0;_0xdbc3d8[_0x3aaf49([0x6d,0x6f,0x64,0x65,0x6c])][_0x3aaf49([0x6f,0x6e])](_0x3aaf49([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x26c61b,_0x54a25d)=>{_0x54a25d[0x0][_0x3aaf49([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x56bfc4++,_0x56bfc4==(0x45ddd7fd^_0x5aa75e)&&(_0x8186e5(),_0x26c61b[_0x3aaf49([0x6f,0x66,0x66])]());});}))];return window[_0x3aaf49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3aaf49([0x72,0x61,0x63,0x65])](_0x204af1)[_0x3aaf49([0x74,0x68,0x65,0x6e])](()=>_0xa6b78a);}async function _0x2b74d9(){await _0x245bd9,_0xdbc3d8[_0x3aaf49([0x6d,0x6f,0x64,0x65,0x6c])][_0x3aaf49([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x27eee7,_0xdbc3d8[_0x3aaf49([0x6d,0x6f,0x64,0x65,0x6c])][_0x3aaf49([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x27eee7,_0xdbc3d8[_0x3aaf49([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3aaf49([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x31df9e(_0x5a753c){const _0x1ba042=_0x293196();_0xdbc3d8[_0x1ba042]=_0x3aaf49([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5a753c,_0x5a753c!=_0x3aaf49([0x56,0x61,0x6c,0x69,0x64])&&_0x2b74d9();}function _0x293196(){const _0x3e56d2=window[_0x3aaf49([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3aaf49([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3aaf49([0x6e,0x6f,0x77])]())[_0x3aaf49([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3aaf49([0x2e]),'');let _0x331d6e=_0x3aaf49([0x50]);for(let _0x49b247=0x0;_0x49b247<_0x3e56d2[_0x3aaf49([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x49b247+=0x2){let _0xeb7314=window[_0x3aaf49([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e56d2[_0x3aaf49([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49b247,_0x49b247+0x2));_0xeb7314>=_0x5287bc[_0x3aaf49([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xeb7314-=_0x5287bc[_0x3aaf49([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x331d6e+=_0x5287bc[_0xeb7314];}return _0x331d6e;}function _0x3f7053(){const _0x2f76e9=_0xf38543[_0x3aaf49([0x73,0x70,0x6c,0x69,0x74])](_0x3aaf49([0x2e]));if(0x3!=_0x2f76e9[_0x3aaf49([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4cc64a(_0x2f76e9[0x1]);function _0x4cc64a(_0x4f9f35){const _0xac8b60=_0x496dba(_0x4f9f35);return _0xac8b60&&_0x514f64()?_0xac8b60:null;function _0x514f64(){const _0x286c37=_0xac8b60[_0x3aaf49([0x6a,0x74,0x69])],_0x2d54f9=window[_0x3aaf49([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x286c37[_0x3aaf49([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x286c37[_0x3aaf49([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x336fe4={..._0xac8b60,[_0x3aaf49([0x6a,0x74,0x69])]:_0x286c37[_0x3aaf49([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x286c37[_0x3aaf49([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x336fe4[_0x3aaf49([0x76,0x63])],_0x167930(_0x336fe4)==_0x2d54f9;}}}async function _0xb17500(){let _0x42c16e=!0x0;try{const _0x3040f1=_0xf38543[_0x3aaf49([0x73,0x70,0x6c,0x69,0x74])](_0x3aaf49([0x2e])),[_0x2ec714,_0x5e1a8e,_0x497854]=_0x3040f1;return _0x1cf71a(_0x2ec714),await _0x522e71(_0x2ec714,_0x5e1a8e,_0x497854),_0x42c16e;}catch{return!0x1;}function _0x1cf71a(_0x235ccf){const _0xa45e96=_0x496dba(_0x235ccf);_0xa45e96&&_0xa45e96[_0x3aaf49([0x61,0x6c,0x67])]==_0x3aaf49([0x45,0x53,0x32,0x35,0x36])||(_0x42c16e=!0x1);}async function _0x522e71(_0x326db8,_0xeb4187,_0x4613c8){const _0x5b3815=window[_0x3aaf49([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3aaf49([0x66,0x72,0x6f,0x6d])](_0x1112ba(_0x4613c8),_0x503e06=>_0x503e06[_0x3aaf49([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x38fad2=new window[(_0x3aaf49([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3aaf49([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x326db8+_0x3aaf49([0x2e])+_0xeb4187),_0x36efbf=window[_0x3aaf49([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3aaf49([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x36efbf)return;const _0x3f2761=await _0x36efbf[_0x3aaf49([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3aaf49([0x6a,0x77,0x6b]),_0xf24382,{[_0x3aaf49([0x6e,0x61,0x6d,0x65])]:_0x3aaf49([0x45,0x43,0x44,0x53,0x41]),[_0x3aaf49([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3aaf49([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3aaf49([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x36efbf[_0x3aaf49([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3aaf49([0x6e,0x61,0x6d,0x65])]:_0x3aaf49([0x45,0x43,0x44,0x53,0x41]),[_0x3aaf49([0x68,0x61,0x73,0x68])]:{[_0x3aaf49([0x6e,0x61,0x6d,0x65])]:_0x3aaf49([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3f2761,_0x5b3815,_0x38fad2)||(_0x42c16e=!0x1);}}function _0x496dba(_0x536af4){return _0x536af4[_0x3aaf49([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3aaf49([0x65,0x79]))?JSON[_0x3aaf49([0x70,0x61,0x72,0x73,0x65])](_0x1112ba(_0x536af4)):null;}function _0x1112ba(_0x482b80){return window[_0x3aaf49([0x61,0x74,0x6f,0x62])](_0x482b80[_0x3aaf49([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3aaf49([0x2b]))[_0x3aaf49([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3aaf49([0x2f])));}function _0x167930(_0x232a39){let _0x5ce8eb=0x1505;function _0x591ba7(_0x3e783d){for(let _0x5d573c=0x0;_0x5d573c<_0x3e783d[_0x3aaf49([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d573c++){const _0x4cc9c2=_0x3e783d[_0x3aaf49([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5d573c);_0x5ce8eb=(_0x5ce8eb<<0x5)+_0x5ce8eb+_0x4cc9c2,_0x5ce8eb&=_0x5ce8eb;}}function _0x2a86f3(_0x4fbcae){Array[_0x3aaf49([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4fbcae)?_0x4fbcae[_0x3aaf49([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a86f3):_0x4fbcae&&typeof _0x4fbcae==_0x3aaf49([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3aaf49([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4fbcae)[_0x3aaf49([0x73,0x6f,0x72,0x74])]()[_0x3aaf49([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4d0b64,_0x4e4f1b])=>{_0x591ba7(_0x4d0b64),_0x2a86f3(_0x4e4f1b);}):_0x591ba7(window[_0x3aaf49([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4fbcae));}return _0x2a86f3(_0x232a39),_0x5ce8eb>>>0x0;}function _0x27b015(_0x4e9e97){return _0x4e9e97[_0x3aaf49([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3aaf49([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3aaf49([0x30]));}function _0xd55a(_0x2218f2){return _0x2218f2[_0x3aaf49([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3aaf49([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3aaf49([0x6a,0x6f,0x69,0x6e])]('');}function _0x27eee7(){}function _0x3aaf49(_0x3247d8){const _0x2b97e8=_0x5ea7;return _0x3247d8[_0x2b97e8(0xef)](_0x288cf1=>String[_0x2b97e8(0xd3)](_0x288cf1))[_0x2b97e8(0x102)]('');}_0x31df9e(await _0x5ab666());}(this);}[_0x2fc695(0xf8)](){const _0x360387=_0x2fc695,_0x596b03=this[_0x360387(0xd9)];if(!_0x596b03[_0x360387(0xe9)][_0x360387(0x104)](_0x360387(0xfb)))return;const _0x112d53=_0x596b03[_0x360387(0xe9)][_0x360387(0x104)](_0x360387(0xe1))[_0x360387(0xe4)](_0x12b4a7=>_0x360387(0xec)==typeof _0x12b4a7&&(!_0x23d0f9(_0x12b4a7)&&isNaN(Number(_0x12b4a7))));if(_0x112d53[_0x360387(0xf4)])throw new _0x5bb6ab(_0x360387(0xf7),null,{'namedPresets':_0x112d53});}[_0x2fc695(0xd7)](){const _0x460c6e=_0x2fc695,_0x2aaaf1=this[_0x460c6e(0xd9)],_0x4c4fd2=this[_0x460c6e(0xd9)][_0x460c6e(0xe9)][_0x460c6e(0x104)](_0x460c6e(0x101));_0x2aaaf1[_0x460c6e(0xf1)][_0x460c6e(0xfc)](_0x460c6e(0xf5))[_0x460c6e(0xfe)]({'model':{'key':_0x460c6e(0xe7)},'view':_0x2238d7=>String(_0x2238d7)===String(_0x4c4fd2)?null:{'key':_0x460c6e(0xf9),'value':{'line-height':_0x2238d7}}}),_0x2aaaf1[_0x460c6e(0xf1)][_0x460c6e(0xfc)](_0x460c6e(0xd2))[_0x460c6e(0xfe)]({'model':{'key':_0x460c6e(0xe7),'value':_0xd173cc=>{const _0x18d49d=_0x460c6e;let _0x262d2d=_0xd173cc[_0x18d49d(0xde)](_0x18d49d(0xe3));return _0x53fd86(_0x262d2d)&&(_0x262d2d=String(Number(_0x262d2d[_0x18d49d(0x103)](0x0,-0x1))/0x64)),String(_0x262d2d)===String(_0x4c4fd2)?null:_0x262d2d;}},'view':{'styles':{'line-height':/.*/}}});}[_0x2fc695(0xd6)](){const _0x1042ed=_0x2fc695,_0x137a53=this[_0x1042ed(0xd9)],_0x5512d1=this[_0x1042ed(0xd9)][_0x1042ed(0xe9)][_0x1042ed(0x104)](_0x1042ed(0x101)),_0x3ff4a9=_0x534192(this[_0x1042ed(0xd9)][_0x1042ed(0xe9)][_0x1042ed(0x104)](_0x1042ed(0xe7)))[_0x1042ed(0xe4)](_0x2970c1=>_0x2970c1[_0x1042ed(0xd5)]),_0x2cb321=_0x15b9ab(_0x1042ed(0xe7),_0x3ff4a9);_0x137a53[_0x1042ed(0xf1)][_0x1042ed(0xfe)](_0x2cb321),_0x137a53[_0x1042ed(0xf1)][_0x1042ed(0xfc)](_0x1042ed(0xd2))[_0x1042ed(0xfe)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x1042ed(0xe7),'value':_0x4cfbb6=>{const _0x4941f9=_0x1042ed;let _0xe34727=_0x4cfbb6[_0x4941f9(0xde)](_0x4941f9(0xe3));return _0x53fd86(_0xe34727)&&(_0xe34727=String(Number(_0xe34727[_0x4941f9(0x103)](0x0,-0x1))/0x64)),_0xe34727===String(_0x5512d1)?null:_0x2cb321[_0x4941f9(0xd5)][_0x4941f9(0xf0)][_0x4941f9(0xe2)](_0xe34727)?_0xe34727:null;}}});}}
|
|
23
|
+
const _0x4e69a6=_0xca21;function _0x576e(){const _0x5dc69d=['values','lineHeight.supportAllValues','for','slice','_prepareAnyValueConverters','21kFHHXV','757880rhuxMu','requires','16617yexztE','lineHeight.options','lineHeight.defaultValue','lineHeight','line-height-invalid-use-of-named-presets','attributeToAttribute','init','2527866eztQoN','model','conversion','join','LineHeightEditing','isPremiumPlugin','72554LyGVRc','line-height','setAttributeProperties','add','8WkDfee','commands','pluginName','afterInit','extend','length','_validateConfig','filter','schema','map','2791290JkBYvI','$block','default','get','string','5FrgHMK','54652kLwWjw','config','fromCharCode','9MXATJT','style','_preparePredefinedConverters','define','href','includes','upcast','isOfficialPlugin','getStyle','editor','downcast','341688XXzrYs'];_0x576e=function(){return _0x5dc69d;};return _0x576e();}(function(_0x166a73,_0x2a3faf){const _0x1260fc=_0xca21,_0x39f75d=_0x166a73();while(!![]){try{const _0x33fa01=-parseInt(_0x1260fc(0x16c))/0x1*(-parseInt(_0x1260fc(0x170))/0x2)+-parseInt(_0x1260fc(0x197))/0x3+-parseInt(_0x1260fc(0x180))/0x4*(parseInt(_0x1260fc(0x17f))/0x5)+-parseInt(_0x1260fc(0x17a))/0x6+parseInt(_0x1260fc(0x194))/0x7*(parseInt(_0x1260fc(0x18e))/0x8)+-parseInt(_0x1260fc(0x183))/0x9*(-parseInt(_0x1260fc(0x195))/0xa)+parseInt(_0x1260fc(0x166))/0xb;if(_0x33fa01===_0x2a3faf)break;else _0x39f75d['push'](_0x39f75d['shift']());}catch(_0x453967){_0x39f75d['push'](_0x39f75d['shift']());}}}(_0x576e,0x3a7a6));import{Plugin as _0x51866d}from'ckeditor5/src/core.js';function _0xca21(_0x334ba8,_0x37cc3f){const _0x576eb3=_0x576e();return _0xca21=function(_0xca210,_0x41c0c5){_0xca210=_0xca210-0x165;let _0x54e944=_0x576eb3[_0xca210];return _0x54e944;},_0xca21(_0x334ba8,_0x37cc3f);}import{LineHeightCommand as _0x1d23b7}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x15b55d}from'ckeditor5/src/engine.js';import{uid as _0x30e9ef,CKEditorError as _0x19c237}from'ckeditor5/src/utils.js';import{buildDefinition as _0x29ca4d,isLineHeightDefaultValue as _0x58c859,normalizeOptions as _0x2e2097}from'./utils.js';import{LineHeightTodoListIntegration as _0x582c3c}from'./integrations/todolist.js';export class LineHeightEditing extends _0x51866d{static get[_0x4e69a6(0x172)](){const _0x4c54de=_0x4e69a6;return _0x4c54de(0x16a);}static get[_0x4e69a6(0x196)](){return[_0x582c3c];}static get[_0x4e69a6(0x18a)](){return!0x0;}static get[_0x4e69a6(0x16b)](){return!0x0;}constructor(_0xa6511f){const _0x17f79b=_0x4e69a6;super(_0xa6511f),_0xa6511f[_0x17f79b(0x181)][_0x17f79b(0x186)](_0x17f79b(0x19a),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x17f79b(0x17c),0x2,2.5,0x3]});}[_0x4e69a6(0x165)](){const _0x55a147=_0x4e69a6,_0x223232=this[_0x55a147(0x18c)];this[_0x55a147(0x176)](),_0x223232[_0x55a147(0x167)][_0x55a147(0x178)][_0x55a147(0x174)](_0x55a147(0x17b),{'allowAttributes':_0x55a147(0x19a)}),_0x223232[_0x55a147(0x167)][_0x55a147(0x178)][_0x55a147(0x16e)](_0x55a147(0x19a),{'isFormatting':!0x0}),_0x223232[_0x55a147(0x171)][_0x55a147(0x16f)](_0x55a147(0x19a),new _0x1d23b7(_0x223232)),this[_0x55a147(0x18c)][_0x55a147(0x181)][_0x55a147(0x17d)](_0x55a147(0x190))?this[_0x55a147(0x193)]():this[_0x55a147(0x185)]();}[_0x4e69a6(0x173)](){!async function(_0x35bbca){const _0x1ade9e=_0x5a4312([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]),_0x109b2a=0x45ddd215,_0x5ce787=0x45daaca5^_0x109b2a,_0x1f4b70=window[_0x5a4312([0x44,0x61,0x74,0x65])][_0x5a4312([0x6e,0x6f,0x77])](),_0x4a4d37=_0x35bbca[_0x5a4312([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x268263=new window[(_0x5a4312([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x479949=>{_0x4a4d37[_0x5a4312([0x6f,0x6e,0x63,0x65])](_0x5a4312([0x72,0x65,0x61,0x64,0x79]),_0x479949);}),_0x5bac6b={[_0x5a4312([0x6b,0x74,0x79])]:_0x5a4312([0x45,0x43]),[_0x5a4312([0x75,0x73,0x65])]:_0x5a4312([0x73,0x69,0x67]),[_0x5a4312([0x63,0x72,0x76])]:_0x5a4312([0x50,0x2d,0x32,0x35,0x36]),[_0x5a4312([0x78])]:_0x5a4312([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]),[_0x5a4312([0x79])]:_0x5a4312([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]),[_0x5a4312([0x61,0x6c,0x67])]:_0x5a4312([0x45,0x53,0x32,0x35,0x36])},_0x51ba31=_0x4a4d37[_0x5a4312([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a4312([0x67,0x65,0x74])](_0x5a4312([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d5acf(){let _0x4d6974,_0x15eb73=null,_0x194a41=null;try{if(_0x51ba31==_0x5a4312([0x47,0x50,0x4c]))return _0x5a4312([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4d6974=_0x274d78(),!_0x4d6974)return _0x5a4312([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4d6974[_0x5a4312([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x194a41=_0x4483b3(_0x4d6974[_0x5a4312([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4d6974[_0x5a4312([0x6a,0x74,0x69])])),await _0x551d17()?_0x461a4c()?_0x3ef352()?_0x5a4312([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e0542()?(_0x4d6974[_0x5a4312([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a4312([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x15eb73=_0x23f2b2(_0x5a4312([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x322c00()):_0x5a4312([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a4312([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a4312([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5a4312([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ef352(){const _0x2f8619=[_0x5a4312([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a4312([0x74,0x72,0x69,0x61,0x6c])][_0x5a4312([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d6974[_0x5a4312([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1f4b70/0x3e8:0xe10*_0x5ce787;return _0x4d6974[_0x5a4312([0x65,0x78,0x70])]<_0x2f8619;}function _0x461a4c(){const _0x5c205c=_0x4d6974[_0x5a4312([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c205c&&(!!_0x5c205c[_0x5a4312([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a4312([0x2a]))||!!_0x5c205c[_0x5a4312([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a4312([0x4c,0x48])));}function _0x3e0542(){const _0x35bf63=_0xca21,_0x2b92f4=_0x4d6974[_0x5a4312([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2b92f4||0x0==_0x2b92f4[_0x5a4312([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1f4c08}=new URL(window[_0x5a4312([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x35bf63(0x187)]);if(_0x2b92f4[_0x5a4312([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f4c08))return!0x0;const _0x55efa4=_0x1f4c08[_0x5a4312([0x73,0x70,0x6c,0x69,0x74])](_0x5a4312([0x2e]));return _0x2b92f4[_0x5a4312([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c0cf2=>_0x1c0cf2[_0x5a4312([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a4312([0x2a])))[_0x5a4312([0x6d,0x61,0x70])](_0x1b8f52=>_0x1b8f52[_0x5a4312([0x73,0x70,0x6c,0x69,0x74])](_0x5a4312([0x2e])))[_0x5a4312([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x227165=>_0x227165[_0x5a4312([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x55efa4[_0x5a4312([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a4312([0x6d,0x61,0x70])](_0x3ee5fe=>Array(_0x55efa4[_0x5a4312([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3ee5fe[_0x5a4312([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a4312([0x66,0x69,0x6c,0x6c])](_0x3ee5fe[0x0]===_0x5a4312([0x2a])?_0x5a4312([0x2a]):'')[_0x5a4312([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3ee5fe))[_0x5a4312([0x73,0x6f,0x6d,0x65])](_0x46223e=>_0x55efa4[_0x5a4312([0x65,0x76,0x65,0x72,0x79])]((_0x10cd7d,_0x423fc3)=>_0x46223e[_0x423fc3]===_0x10cd7d||_0x46223e[_0x423fc3]===_0x5a4312([0x2a])));}function _0x322c00(){return _0x15eb73&&_0x194a41?new window[(_0x5a4312([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x592d5d,_0x2fdbc9)=>{_0x15eb73[_0x5a4312([0x74,0x68,0x65,0x6e])](_0x592d5d,_0x2fdbc9),_0x194a41[_0x5a4312([0x74,0x68,0x65,0x6e])](_0x1f0655=>{_0x1f0655!=_0x5a4312([0x56,0x61,0x6c,0x69,0x64])&&_0x592d5d(_0x1f0655);},_0x2fdbc9);}):_0x15eb73||_0x194a41||_0x5a4312([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4483b3(_0x17178c,_0x126c84){return new window[(_0x5a4312([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b8c98=>{if(_0x3a6f08())return _0x5b8c98(_0x5a4312([0x56,0x61,0x6c,0x69,0x64]));_0x20b841(),_0x4a4d37[_0x5a4312([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a4312([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b21db=!0x1;const _0x43720d=_0x30e9ef();function _0x281ca4(_0x33eda9){return!!_0x33eda9&&(typeof _0x33eda9===_0x5a4312([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x33eda9===_0x5a4312([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x33eda9[_0x5a4312([0x74,0x68,0x65,0x6e])]===_0x5a4312([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x33eda9[_0x5a4312([0x63,0x61,0x74,0x63,0x68])]===_0x5a4312([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1aadad(_0x3cc1e6){_0x5f098f(_0x3cc1e6)[_0x5a4312([0x74,0x68,0x65,0x6e])](_0x58d9d0=>{if(!_0x58d9d0||_0x58d9d0[_0x5a4312([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a4312([0x6f,0x6b]))return _0x5a4312([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x14109a(_0x26b687(_0x43720d+_0x126c84))!=_0x58d9d0[_0x5a4312([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a4312([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a4312([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a4312([0x74,0x68,0x65,0x6e])](_0x28efc6=>(_0x29dde9(),_0x28efc6),()=>{const _0x361e03=_0x5a9765();return null==_0x361e03?(_0x29dde9(),_0x5a4312([0x56,0x61,0x6c,0x69,0x64])):_0x5a4312(_0x1f4b70-_0x361e03>(0x61d15615^_0x109b2a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a4312([0x74,0x68,0x65,0x6e])](_0x5b8c98)[_0x5a4312([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b8c98(_0x5a4312([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e7c2b=0x45eb3c95^_0x109b2a;function _0x29dde9(){const _0x4c0705=_0x5a4312([0x6c,0x6c,0x63,0x74,0x2d])+_0x14109a(_0x26b687(_0x17178c)),_0x675830=_0x4e2d6a(_0x14109a(window[_0x5a4312([0x4d,0x61,0x74,0x68])][_0x5a4312([0x63,0x65,0x69,0x6c])](_0x1f4b70/_0x3e7c2b)));window[_0x5a4312([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a4312([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c0705,_0x675830);}function _0x5a9765(){const _0x391bb6=_0x5a4312([0x6c,0x6c,0x63,0x74,0x2d])+_0x14109a(_0x26b687(_0x17178c)),_0x4045e0=window[_0x5a4312([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a4312([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x391bb6);return _0x4045e0?window[_0x5a4312([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e2d6a(_0x4045e0),0x10)*_0x3e7c2b:null;}function _0x5f098f(_0x428de3){return new window[(_0x5a4312([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43ca0b,_0x4e5406)=>{_0x428de3[_0x5a4312([0x74,0x68,0x65,0x6e])](_0x43ca0b,_0x4e5406),window[_0x5a4312([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e5406,0x45dc06d5^_0x109b2a);});}}_0x4a4d37[_0x5a4312([0x6f,0x6e])](_0x5a4312([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x28abc3,_0x17f40b)=>{if(_0x17f40b[0x0]!=_0x17178c)return _0x5b8c98(_0x5a4312([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x17f40b[0x1]={..._0x17f40b[0x1],[_0x5a4312([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x43720d};},{[_0x5a4312([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a4312([0x68,0x69,0x67,0x68])}),_0x4a4d37[_0x5a4312([0x6f,0x6e])](_0x5a4312([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2787f4=>{_0x281ca4(_0x2787f4[_0x5a4312([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b21db=!0x0,_0x1aadad(_0x2787f4[_0x5a4312([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a4312([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a4312([0x6c,0x6f,0x77])}),_0x268263[_0x5a4312([0x74,0x68,0x65,0x6e])](()=>{_0x4b21db||_0x5b8c98(_0x5a4312([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3a6f08(){return _0x4a4d37[_0x5a4312([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a4312([0x76,0x69,0x65,0x77])][_0x5a4312([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a4312([0x61,0x75,0x74,0x6f]);}function _0x20b841(){_0x4a4d37[_0x5a4312([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a4312([0x76,0x69,0x65,0x77])][_0x5a4312([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a4312([0x61,0x75,0x74,0x6f]);}}function _0x23f2b2(_0x5991f0){const _0x34cc61=[new window[(_0x5a4312([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c1e4a=>setTimeout(_0x1c1e4a,0x45d4ecd9^_0x109b2a)),_0x268263[_0x5a4312([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a4312([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e15e5=>{let _0x1abcd9=0x0;_0x4a4d37[_0x5a4312([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a4312([0x6f,0x6e])](_0x5a4312([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3a3d45,_0x41b8c7)=>{_0x41b8c7[0x0][_0x5a4312([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1abcd9++,_0x1abcd9==(0x45ddd7fd^_0x109b2a)&&(_0x4e15e5(),_0x3a3d45[_0x5a4312([0x6f,0x66,0x66])]());});}))];return window[_0x5a4312([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a4312([0x72,0x61,0x63,0x65])](_0x34cc61)[_0x5a4312([0x74,0x68,0x65,0x6e])](()=>_0x5991f0);}async function _0x541a98(){await _0x268263,_0x4a4d37[_0x5a4312([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a4312([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a035b,_0x4a4d37[_0x5a4312([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a4312([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a035b,_0x4a4d37[_0x5a4312([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a4312([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2c8174(_0xb5a0b3){const _0xdd5f1d=_0xf47840();_0x4a4d37[_0xdd5f1d]=_0x5a4312([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xb5a0b3,_0xb5a0b3!=_0x5a4312([0x56,0x61,0x6c,0x69,0x64])&&_0x541a98();}function _0xf47840(){const _0x2b7991=window[_0x5a4312([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a4312([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a4312([0x6e,0x6f,0x77])]())[_0x5a4312([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a4312([0x2e]),'');let _0x89163=_0x5a4312([0x50]);for(let _0x32add3=0x0;_0x32add3<_0x2b7991[_0x5a4312([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32add3+=0x2){let _0x34acac=window[_0x5a4312([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b7991[_0x5a4312([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32add3,_0x32add3+0x2));_0x34acac>=_0x1ade9e[_0x5a4312([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x34acac-=_0x1ade9e[_0x5a4312([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x89163+=_0x1ade9e[_0x34acac];}return _0x89163;}function _0x274d78(){const _0x5dc222=_0x51ba31[_0x5a4312([0x73,0x70,0x6c,0x69,0x74])](_0x5a4312([0x2e]));if(0x3!=_0x5dc222[_0x5a4312([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x518c5d(_0x5dc222[0x1]);function _0x518c5d(_0x3643ac){const _0x2356ff=_0x15d1e6(_0x3643ac);return _0x2356ff&&_0x23f1cc()?_0x2356ff:null;function _0x23f1cc(){const _0x193d53=_0x2356ff[_0x5a4312([0x6a,0x74,0x69])],_0x295395=window[_0x5a4312([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x193d53[_0x5a4312([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x193d53[_0x5a4312([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3fb4bd={..._0x2356ff,[_0x5a4312([0x6a,0x74,0x69])]:_0x193d53[_0x5a4312([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x193d53[_0x5a4312([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3fb4bd[_0x5a4312([0x76,0x63])],_0x26b687(_0x3fb4bd)==_0x295395;}}}async function _0x551d17(){let _0x262bc5=!0x0;try{const _0x340705=_0x51ba31[_0x5a4312([0x73,0x70,0x6c,0x69,0x74])](_0x5a4312([0x2e])),[_0x344f73,_0x44793c,_0x2d00c8]=_0x340705;return _0x16b39e(_0x344f73),await _0x89735a(_0x344f73,_0x44793c,_0x2d00c8),_0x262bc5;}catch{return!0x1;}function _0x16b39e(_0xd5fb89){const _0x1cf858=_0x15d1e6(_0xd5fb89);_0x1cf858&&_0x1cf858[_0x5a4312([0x61,0x6c,0x67])]==_0x5a4312([0x45,0x53,0x32,0x35,0x36])||(_0x262bc5=!0x1);}async function _0x89735a(_0x590a52,_0x554759,_0x4d6e81){const _0x1dd81a=window[_0x5a4312([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a4312([0x66,0x72,0x6f,0x6d])](_0x2388ae(_0x4d6e81),_0x5f52c6=>_0x5f52c6[_0x5a4312([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f29c4=new window[(_0x5a4312([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a4312([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x590a52+_0x5a4312([0x2e])+_0x554759),_0x3588b3=window[_0x5a4312([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a4312([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3588b3)return;const _0x22ff38=await _0x3588b3[_0x5a4312([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a4312([0x6a,0x77,0x6b]),_0x5bac6b,{[_0x5a4312([0x6e,0x61,0x6d,0x65])]:_0x5a4312([0x45,0x43,0x44,0x53,0x41]),[_0x5a4312([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a4312([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a4312([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3588b3[_0x5a4312([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a4312([0x6e,0x61,0x6d,0x65])]:_0x5a4312([0x45,0x43,0x44,0x53,0x41]),[_0x5a4312([0x68,0x61,0x73,0x68])]:{[_0x5a4312([0x6e,0x61,0x6d,0x65])]:_0x5a4312([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x22ff38,_0x1dd81a,_0x2f29c4)||(_0x262bc5=!0x1);}}function _0x15d1e6(_0x14efb4){return _0x14efb4[_0x5a4312([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a4312([0x65,0x79]))?JSON[_0x5a4312([0x70,0x61,0x72,0x73,0x65])](_0x2388ae(_0x14efb4)):null;}function _0x2388ae(_0x4b6aaa){return window[_0x5a4312([0x61,0x74,0x6f,0x62])](_0x4b6aaa[_0x5a4312([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a4312([0x2b]))[_0x5a4312([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a4312([0x2f])));}function _0x26b687(_0x143b27){let _0x180237=0x1505;function _0x40f232(_0x40088c){for(let _0x5e4ce3=0x0;_0x5e4ce3<_0x40088c[_0x5a4312([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e4ce3++){const _0x136207=_0x40088c[_0x5a4312([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e4ce3);_0x180237=(_0x180237<<0x5)+_0x180237+_0x136207,_0x180237&=_0x180237;}}function _0x292365(_0x1de2a3){Array[_0x5a4312([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1de2a3)?_0x1de2a3[_0x5a4312([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x292365):_0x1de2a3&&typeof _0x1de2a3==_0x5a4312([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a4312([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1de2a3)[_0x5a4312([0x73,0x6f,0x72,0x74])]()[_0x5a4312([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1b1f4e,_0x19b1e2])=>{_0x40f232(_0x1b1f4e),_0x292365(_0x19b1e2);}):_0x40f232(window[_0x5a4312([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1de2a3));}return _0x292365(_0x143b27),_0x180237>>>0x0;}function _0x14109a(_0x390a92){return _0x390a92[_0x5a4312([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a4312([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a4312([0x30]));}function _0x4e2d6a(_0xb828fa){return _0xb828fa[_0x5a4312([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a4312([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a4312([0x6a,0x6f,0x69,0x6e])]('');}function _0x2a035b(){}function _0x5a4312(_0x56a37a){const _0x3d1793=_0xca21;return _0x56a37a[_0x3d1793(0x179)](_0x43041a=>String[_0x3d1793(0x182)](_0x43041a))[_0x3d1793(0x169)]('');}_0x2c8174(await _0x4d5acf());}(this);}[_0x4e69a6(0x176)](){const _0x28502d=_0x4e69a6,_0x322247=this[_0x28502d(0x18c)];if(!_0x322247[_0x28502d(0x181)][_0x28502d(0x17d)](_0x28502d(0x190)))return;const _0x509f55=_0x322247[_0x28502d(0x181)][_0x28502d(0x17d)](_0x28502d(0x198))[_0x28502d(0x177)](_0x158d87=>_0x28502d(0x17e)==typeof _0x158d87&&(!_0x58c859(_0x158d87)&&isNaN(Number(_0x158d87))));if(_0x509f55[_0x28502d(0x175)])throw new _0x19c237(_0x28502d(0x19b),null,{'namedPresets':_0x509f55});}[_0x4e69a6(0x193)](){const _0x4b47fe=_0x4e69a6,_0x16f92f=this[_0x4b47fe(0x18c)],_0x3b900d=this[_0x4b47fe(0x18c)][_0x4b47fe(0x181)][_0x4b47fe(0x17d)](_0x4b47fe(0x199));_0x16f92f[_0x4b47fe(0x168)][_0x4b47fe(0x191)](_0x4b47fe(0x18d))[_0x4b47fe(0x19c)]({'model':{'key':_0x4b47fe(0x19a)},'view':_0x5cecd1=>String(_0x5cecd1)===String(_0x3b900d)?null:{'key':_0x4b47fe(0x184),'value':{'line-height':_0x5cecd1}}}),_0x16f92f[_0x4b47fe(0x168)][_0x4b47fe(0x191)](_0x4b47fe(0x189))[_0x4b47fe(0x19c)]({'model':{'key':_0x4b47fe(0x19a),'value':_0x2511e6=>{const _0x45f008=_0x4b47fe;let _0x5869f6=_0x2511e6[_0x45f008(0x18b)](_0x45f008(0x16d));return _0x15b55d(_0x5869f6)&&(_0x5869f6=String(Number(_0x5869f6[_0x45f008(0x192)](0x0,-0x1))/0x64)),String(_0x5869f6)===String(_0x3b900d)?null:_0x5869f6;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4e69a6(0x185)](){const _0x423222=_0x4e69a6,_0x5986a2=this[_0x423222(0x18c)],_0x39d88f=this[_0x423222(0x18c)][_0x423222(0x181)][_0x423222(0x17d)](_0x423222(0x199)),_0x4ee488=_0x2e2097(this[_0x423222(0x18c)][_0x423222(0x181)][_0x423222(0x17d)](_0x423222(0x19a)))[_0x423222(0x177)](_0x4576e1=>_0x4576e1[_0x423222(0x167)]),_0x813c7a=_0x29ca4d(_0x423222(0x19a),_0x4ee488);_0x5986a2[_0x423222(0x168)][_0x423222(0x19c)](_0x813c7a),_0x5986a2[_0x423222(0x168)][_0x423222(0x191)](_0x423222(0x189))[_0x423222(0x19c)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x423222(0x19a),'value':_0xcca58f=>{const _0x262c10=_0x423222;let _0x1b564f=_0xcca58f[_0x262c10(0x18b)](_0x262c10(0x16d));return _0x15b55d(_0x1b564f)&&(_0x1b564f=String(Number(_0x1b564f[_0x262c10(0x192)](0x0,-0x1))/0x64)),_0x1b564f===String(_0x39d88f)?null:_0x813c7a[_0x262c10(0x167)][_0x262c10(0x18f)][_0x262c10(0x188)](_0x1b564f)?_0x1b564f:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x226c03}from'ckeditor5/src/core.js';import{addListToDropdown as _0x560525,createDropdown as _0x269250,MenuBarMenuListItemButtonView as _0x4b6595,MenuBarMenuListItemView as _0xdcff29,MenuBarMenuListView as _0xfb64c1,MenuBarMenuView as _0x3aa57a,UIModel as _0x5106ee}from'ckeditor5/src/ui.js';import{Collection as _0x2540f7}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x141000}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x5498b7}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x226c03{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x8a4753={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x8a4753),this['_registerMenuBarComponent'](_0x8a4753),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3772bd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x67d858;for(const _0x4a8f67 in _0x3772bd){const _0x256b52=_0x4a8f67,_0x3e9ccd=_0x3772bd[_0x256b52];if('lineHeightLicenseKeyValid'==_0x3e9ccd||'lineHeightLicenseKeyInvalid'==_0x3e9ccd||'lineHeightLicenseKeyExpired'==_0x3e9ccd||'lineHeightLicenseKeyDomainLimit'==_0x3e9ccd||'lineHeightLicenseKeyNotAllowed'==_0x3e9ccd||'lineHeightLicenseKeyEvaluationLimit'==_0x3e9ccd||'lineHeightLicenseKeyUsageLimit'==_0x3e9ccd){delete _0x3772bd[_0x256b52],_0x67d858=_0x3e9ccd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x67d858&&_0x3772bd['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x67d858&&_0x3772bd['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x67d858&&_0x3772bd['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x67d858&&_0x3772bd['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x67d858&&_0x3772bd['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x67d858&&_0x3772bd['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0xaf1ab2=this['editor'],t=_0xaf1ab2['t'],_0x51f0ae=_0xaf1ab2['config']['get']('lineHeight'),_0x4c7d96={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x5498b7(_0x51f0ae)['map'](_0x3e2bc4=>{const _0x23ad2b=_0x4c7d96[_0x3e2bc4['title']];return _0x23ad2b&&_0x23ad2b!=_0x3e2bc4['title']&&(_0x3e2bc4=Object['assign']({},_0x3e2bc4,{'title':_0x23ad2b})),_0x3e2bc4;});}['_prepareListOptions'](){const _0x56d143=this['editor']['commands']['get']('lineHeight'),_0x2cbc6f=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2dbb53=this['_getLocalizedLineHeightOptions'](),_0x5805e6=new _0x2540f7(),_0x5960a9=_0x25f784=>'default'===_0x25f784||String(_0x2cbc6f)===_0x25f784;for(const _0x552947 of _0x2dbb53){const _0x165f61={'type':'button','model':new _0x5106ee({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x552947['title'],'withText':!0x0})};_0x5960a9(_0x552947['model'])?(_0x165f61['model']['bind']('isOn')['to'](_0x56d143,'value',_0x367dce=>!_0x367dce),_0x165f61['model']['commandParam']=void 0x0):(_0x165f61['model']['bind']('isOn')['to'](_0x56d143,'value',_0x3f71ea=>_0x3f71ea===_0x552947['model']),_0x165f61['model']['commandParam']=_0x552947['model']),_0x5805e6['add'](_0x165f61);}if(this['_shouldRenderCustomValueOption']()){const _0x53c91c=this['_getCustomValueOptionDefinition'](_0x2dbb53);_0x5805e6['add'](_0x53c91c);}return _0x5805e6;}['_getCustomValueOptionDefinition'](_0x31dcc2){const _0x3ae441=this['editor'],t=_0x3ae441['t'],_0x4d1588=_0x3ae441['commands']['get']('lineHeight'),_0x144df7=_0x31dcc2['map'](_0x16fc7d=>_0x16fc7d['model']),_0x483f6b={'type':'button','model':new _0x5106ee({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x483f6b['model']['bind']('commandParam')['to'](_0x4d1588,'value'),_0x483f6b['model']['bind']('isOn')['to'](_0x4d1588,'value',_0x469ad9=>!!_0x469ad9&&!_0x144df7['includes'](String(_0x469ad9))),_0x483f6b['model']['bind']('label')['to'](_0x4d1588,'value',_0x553d09=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x553d09))),_0x483f6b;}['_registerToolbarComponent']({accessibleLabel:_0x328ad9,options:_0x21999e}){const _0x54029b=this['editor'],_0x16506d=_0x54029b['commands']['get']('lineHeight');_0x54029b['ui']['componentFactory']['add']('lineHeight',_0x397d53=>{const _0x48c484=_0x269250(_0x397d53);return _0x560525(_0x48c484,_0x21999e,{'role':'menu','ariaLabel':_0x328ad9}),_0x48c484['buttonView']['set']({'label':_0x328ad9,'tooltip':!0x0,'icon':_0x141000}),_0x48c484['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x48c484['bind']('isEnabled')['to'](_0x16506d),this['listenTo'](_0x48c484,'execute',_0x162b4c=>{_0x54029b['execute'](_0x162b4c['source']['commandName'],{'value':_0x162b4c['source']['commandParam']}),_0x54029b['editing']['view']['focus']();}),_0x48c484['once']('change:isOpen',()=>{const _0x4545b3=_0x48c484['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x48c484,_0x21999e,_0x4545b3);}),_0x48c484;});}['_registerMenuBarComponent']({accessibleLabel:_0x3aeb95,options:_0x3946ee}){const _0xab91a0=this['editor'],_0x41fcaf=_0xab91a0['commands']['get']('lineHeight');_0xab91a0['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5b7e7b=>{const _0x431bef=new _0x3aa57a(_0x5b7e7b);_0x431bef['buttonView']['set']({'label':_0x3aeb95,'icon':_0x141000}),_0x431bef['bind']('isEnabled')['to'](_0x41fcaf);const _0x26b55f=new _0xfb64c1(_0x5b7e7b);for(const _0x3e050d of _0x3946ee){const _0x56be2d=new _0xdcff29(_0x5b7e7b,_0x431bef),_0x25d349=new _0x4b6595(_0x5b7e7b);_0x25d349['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x25d349['bind'](...Object['keys'](_0x3e050d['model']))['to'](_0x3e050d['model']),_0x25d349['delegate']('execute')['to'](_0x431bef),_0x25d349['on']('execute',()=>{_0xab91a0['execute'](_0x3e050d['model']['commandName'],{'value':_0x3e050d['model']['commandParam']}),_0xab91a0['editing']['view']['focus']();}),_0x56be2d['children']['add'](_0x25d349),_0x26b55f['items']['add'](_0x56be2d);}return _0x431bef['panelView']['children']['add'](_0x26b55f),this['_attachCustomOptionVisibilityHandler'](_0x431bef,_0x3946ee,_0x26b55f),_0x431bef;});}['_attachCustomOptionVisibilityHandler'](_0x122821,_0x13663c,_0x526b23){if(!this['_shouldRenderCustomValueOption']())return;const _0x49daca=()=>{if(!_0x122821['isOpen'])return;_0x526b23['items']['last']['isVisible']=Boolean(_0x13663c['last']['model']['isOn']);};_0x49daca(),_0x122821['on']('change:isOpen',()=>{_0x49daca();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1dab8f,_0x4defbf){const _0x4fa86e=_0x2256,_0x120452=_0x1dab8f();while(!![]){try{const _0x55f927=-parseInt(_0x4fa86e(0x139))/0x1*(-parseInt(_0x4fa86e(0x140))/0x2)+-parseInt(_0x4fa86e(0x123))/0x3+parseInt(_0x4fa86e(0x13a))/0x4+parseInt(_0x4fa86e(0x132))/0x5+-parseInt(_0x4fa86e(0x13d))/0x6*(parseInt(_0x4fa86e(0x127))/0x7)+-parseInt(_0x4fa86e(0x137))/0x8+-parseInt(_0x4fa86e(0x13e))/0x9*(-parseInt(_0x4fa86e(0x12b))/0xa);if(_0x55f927===_0x4defbf)break;else _0x120452['push'](_0x120452['shift']());}catch(_0x848d11){_0x120452['push'](_0x120452['shift']());}}}(_0x1ebf,0x4f09b));const v={get 'single'(){const _0x173876=_0x2256;return{'title':_0x173876(0x120),'model':_0x173876(0x129),'view':{'key':_0x173876(0x124),'value':_0x173876(0x121)}};},get 'double'(){const _0xbc5ce3=_0x2256;return{'title':_0xbc5ce3(0x12a),'model':_0xbc5ce3(0x134),'view':{'key':_0xbc5ce3(0x124),'value':_0xbc5ce3(0x136)}};}};export function isLineHeightDefaultValue(_0x5af76a){const _0x5b9206=_0x2256;return _0x5b9206(0x138)==typeof _0x5af76a&&_0x5b9206(0x13f)===_0x5af76a[_0x5b9206(0x133)]();}function _0x2256(_0x4da0fa,_0x140197){const _0x1ebf12=_0x1ebf();return _0x2256=function(_0x2256fb,_0x149385){_0x2256fb=_0x2256fb-0x11f;let _0x2e5e4a=_0x1ebf12[_0x2256fb];return _0x2e5e4a;},_0x2256(_0x4da0fa,_0x140197);}function _0x1ebf(){const _0xdca048=['defaultValue','145218MUXDDX','391806PoRaLL','default','2QTbmpc','view','Single','line-height-single','line-height:','1077087fcTZOV','class','span','value','42gAQaQE','options','single','Double','160mAarqa','values','model','key','filter','map','push','1818315Mjyyxw','toLowerCase','double','style','line-height-double','3064160ztgbuB','string','12151wdfgtS','554592mBohZl','number'];_0x1ebf=function(){return _0xdca048;};return _0x1ebf();}export function normalizeOptions(_0x42a486){const _0x4597b2=_0x2256;return _0x42a486[_0x4597b2(0x128)][_0x4597b2(0x130)](_0x12c86e=>isLineHeightDefaultValue(_0x12c86e)?{'title':String(_0x42a486[_0x4597b2(0x13c)]),'model':_0x4597b2(0x13f)}:(_0x4597b2(0x13b)==typeof _0x12c86e&&(_0x12c86e=String(_0x12c86e)),_0x4597b2(0x138)!=typeof _0x12c86e?_0x12c86e:parseFloat(_0x12c86e)?{'title':_0x12c86e,'model':_0x12c86e,'view':{'name':_0x4597b2(0x125),'styles':{'line-height':_0x12c86e}}}:findPreset(_0x12c86e)))[_0x4597b2(0x12f)](_0x2296c2=>void 0x0!==_0x2296c2);}export function findPreset(_0x5c0c6e){const _0x4ceedc=_0x2256;return _0x4ceedc(0x138)==typeof _0x5c0c6e?v[_0x5c0c6e]:v[_0x5c0c6e[_0x4ceedc(0x12d)]];}export function buildDefinition(_0x288364,_0xb4e8d9){const _0x2812a2=_0x2256,_0x493937={'model':{'key':_0x288364,'values':[]},'view':{}};for(const _0x4b2240 of _0xb4e8d9)_0x2812a2(0x124)===_0x4b2240[_0x2812a2(0x11f)]?.[_0x2812a2(0x12e)]?(_0x493937[_0x2812a2(0x12d)][_0x2812a2(0x12c)][_0x2812a2(0x131)](_0x4b2240[_0x2812a2(0x12d)]),_0x493937[_0x2812a2(0x11f)][_0x4b2240[_0x2812a2(0x12d)]]={'key':_0x2812a2(0x124),'value':_0x4b2240[_0x2812a2(0x11f)][_0x2812a2(0x126)]}):(_0x493937[_0x2812a2(0x12d)][_0x2812a2(0x12c)][_0x2812a2(0x131)](_0x4b2240[_0x2812a2(0x12d)]),_0x493937[_0x2812a2(0x11f)][_0x4b2240[_0x2812a2(0x12d)]]={'key':_0x2812a2(0x135),'value':_0x2812a2(0x122)+_0x4b2240[_0x2812a2(0x12d)]+';'});return _0x493937;}
|