@ckeditor/ckeditor5-line-height 47.3.0-alpha.1 → 47.3.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/index.js +1 -1
- package/src/integrations/todolist.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4efe68=_0x4a7b;(function(_0x2a1ddf,_0x42266e){const _0x385d0d=_0x4a7b,_0xbcf366=_0x2a1ddf();while(!![]){try{const _0x5d6012=parseInt(_0x385d0d(0x155))/0x1*(parseInt(_0x385d0d(0x166))/0x2)+-parseInt(_0x385d0d(0x16b))/0x3+parseInt(_0x385d0d(0x15b))/0x4+-parseInt(_0x385d0d(0x165))/0x5+parseInt(_0x385d0d(0x172))/0x6+parseInt(_0x385d0d(0x171))/0x7+-parseInt(_0x385d0d(0x156))/0x8;if(_0x5d6012===_0x42266e)break;else _0xbcf366['push'](_0xbcf366['shift']());}catch(_0x4295c3){_0xbcf366['push'](_0xbcf366['shift']());}}}(_0x257b,0x4477d));import{Plugin as _0x2122c2}from'ckeditor5/src/core.js';import{Matcher as _0x175c4d}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';function _0x4a7b(_0x14c33d,_0x3a9b3a){const _0x257b3a=_0x257b();return _0x4a7b=function(_0x4a7ba6,_0x2a4959){_0x4a7ba6=_0x4a7ba6-0x14c;let _0x397466=_0x257b3a[_0x4a7ba6];return _0x397466;},_0x4a7b(_0x14c33d,_0x3a9b3a);}export class LineHeightTodoListIntegration extends _0x2122c2{static get[_0x4efe68(0x170)](){const _0x5d193f=_0x4efe68;return _0x5d193f(0x14e);}static get[_0x4efe68(0x153)](){return!0x0;}static get[_0x4efe68(0x14c)](){return!0x0;}[_0x4efe68(0x15d)](){const _0x195da5=_0x4efe68,{plugins:_0x204352,conversion:_0x3c084f}=this[_0x195da5(0x14d)];if(!_0x204352[_0x195da5(0x160)](_0x195da5(0x150))||!_0x204352[_0x195da5(0x160)](_0x195da5(0x164)))return;_0x204352[_0x195da5(0x15e)](_0x195da5(0x150))[_0x195da5(0x173)]({'scope':_0x195da5(0x167),'attributeName':_0x195da5(0x152),'consume':!0x1,'setAttributeOnDowncast'(_0x253f1e,_0x34e510,_0x505525,_0x419a90,_0x517983){const _0x3c2ab4=_0x195da5;_0x3c2ab4(0x157)==_0x517983[_0x3c2ab4(0x175)](_0x3c2ab4(0x16e))&&_0x34e510&&(_0x253f1e[_0x3c2ab4(0x16c)](_0x3c2ab4(0x168),_0x505525),_0x253f1e[_0x3c2ab4(0x16f)](_0x3c2ab4(0x15c),_0x34e510,_0x505525));}}),_0x3c084f[_0x195da5(0x151)](_0x195da5(0x154))[_0x195da5(0x169)]({'view':{'name':_0x195da5(0x163),'classes':_0x195da5(0x162)},'model':_0x195da5(0x16a),'converterPriority':_0x195da5(0x16d)}),_0x3c084f[_0x195da5(0x151)](_0x195da5(0x154))[_0x195da5(0x15f)](_0x1d4bb7=>{const _0x2ceac3=_0x195da5;_0x1d4bb7['on'](_0x2ceac3(0x158),function(_0x38b641){const _0x3c1c8d=new _0x175c4d(_0x38b641);return(_0x161ed8,_0x26be18,_0x23a29a)=>{const _0x215223=_0x4a7b,_0x5acba4=_0x3c1c8d[_0x215223(0x159)](_0x26be18[_0x215223(0x161)]);if(!_0x5acba4)return;const _0x3e045d=_0x5acba4[_0x215223(0x159)];_0x3e045d[_0x215223(0x14f)]=!0x1,_0x23a29a[_0x215223(0x15a)][_0x215223(0x174)](_0x26be18[_0x215223(0x161)],_0x3e045d);};}({'name':'li','classes':_0x2ceac3(0x168),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}function _0x257b(){const _0x276ec9=['ck-list-marker-line-height','elementToElement','paragraph','958668PDzLrD','addClass','high','listType','setStyle','pluginName','2454172dLiENE','2339472uWFqVK','registerDowncastStrategy','consume','getAttribute','isPremiumPlugin','editor','LineHeightTodoListIntegration','name','ListEditing','for','lineHeight','isOfficialPlugin','upcast','446713reqtBx','1690408tdnPlr','todo','element:li','match','consumable','219848FqStlZ','--ck-content-list-marker-line-height','init','get','add','has','viewItem','todo-list__label__description','span','TodoListEditing','2154405eanLTj','2AFIVpi','item'];_0x257b=function(){return _0x276ec9;};return _0x257b();}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x37c9(_0x5928a3,_0x5a654a){var _0x35c0b3=_0x35c0();return _0x37c9=function(_0x37c9d7,_0x318e51){_0x37c9d7=_0x37c9d7-0x7b;var _0x31d60b=_0x35c0b3[_0x37c9d7];return _0x31d60b;},_0x37c9(_0x5928a3,_0x5a654a);}var _0x51a2d8=_0x37c9;(function(_0x3469d5,_0x3a5aa2){var _0x34208b=_0x37c9,_0x52204a=_0x3469d5();while(!![]){try{var _0x403990=-parseInt(_0x34208b(0x89))/0x1*(-parseInt(_0x34208b(0x85))/0x2)+parseInt(_0x34208b(0x7b))/0x3+parseInt(_0x34208b(0x84))/0x4+parseInt(_0x34208b(0x80))/0x5*(-parseInt(_0x34208b(0x86))/0x6)+-parseInt(_0x34208b(0x7f))/0x7+-parseInt(_0x34208b(0x81))/0x8+parseInt(_0x34208b(0x7e))/0x9*(parseInt(_0x34208b(0x7d))/0xa);if(_0x403990===_0x3a5aa2)break;else _0x52204a['push'](_0x52204a['shift']());}catch(_0x445102){_0x52204a['push'](_0x52204a['shift']());}}}(_0x35c0,0x9b82d));import{Plugin as _0x3d2470}from'ckeditor5/src/core.js';import{LineHeightEditing as _0xeae0c1}from'./lineheightediting.js';import{LineHeightUI as _0x4d2d1e}from'./lineheightui.js';export class LineHeight extends _0x3d2470{static get[_0x51a2d8(0x83)](){return[_0xeae0c1,_0x4d2d1e];}static get[_0x51a2d8(0x82)](){var _0x496d9f=_0x51a2d8;return _0x496d9f(0x88);}static get[_0x51a2d8(0x7c)](){return!0x0;}static get[_0x51a2d8(0x87)](){return!0x0;}}function _0x35c0(){var _0x498db6=['2339264MrsISw','146GGhQHD','570oFfont','isPremiumPlugin','LineHeight','5462zAhcjN','3694137eiEgsZ','isOfficialPlugin','3426530oCEhHB','9jyrQzz','7009296MFusaC','44975RVDCbI','517984GtySQQ','pluginName','requires'];_0x35c0=function(){return _0x498db6;};return _0x35c0();}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44f211=_0x2196;function _0x1a92(){const _0x418170=['model','1106760JVAtRg','6fXBtit','selection','846693wISLda','1617633aqKWSk','value','execute','schema','from','20kbYrJq','lineHeight','checkAttribute','4138264UcWicy','refresh','isEnabled','removeAttribute','3411bnSONX','164376ddONTf','filter','document','3600002XQZMjz','editor','_canHaveLineHeight','setAttribute','14330NCrGcV','change','getSelectedBlocks','getAttribute'];_0x1a92=function(){return _0x418170;};return _0x1a92();}(function(_0x34b29d,_0xff2ba0){const _0x336ccb=_0x2196,_0x174146=_0x34b29d();while(!![]){try{const _0x5d9b00=parseInt(_0x336ccb(0x1b1))/0x1+-parseInt(_0x336ccb(0x1bf))/0x2+-parseInt(_0x336ccb(0x1b2))/0x3+-parseInt(_0x336ccb(0x1ae))/0x4*(parseInt(_0x336ccb(0x1b7))/0x5)+parseInt(_0x336ccb(0x1af))/0x6*(parseInt(_0x336ccb(0x1c2))/0x7)+parseInt(_0x336ccb(0x1ba))/0x8+-parseInt(_0x336ccb(0x1be))/0x9*(-parseInt(_0x336ccb(0x1c6))/0xa);if(_0x5d9b00===_0xff2ba0)break;else _0x174146['push'](_0x174146['shift']());}catch(_0x485a92){_0x174146['push'](_0x174146['shift']());}}}(_0x1a92,0xa93da));import{Command as _0x225fb8}from'ckeditor5/src/core.js';function _0x2196(_0x281841,_0x1ebd93){const _0x1a92c3=_0x1a92();return _0x2196=function(_0x21963e,_0x50bddb){_0x21963e=_0x21963e-0x1ab;let _0x26eab3=_0x1a92c3[_0x21963e];return _0x26eab3;},_0x2196(_0x281841,_0x1ebd93);}import{first as _0x4edf20}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x225fb8{[_0x44f211(0x1bb)](){const _0x2c0e82=_0x44f211,_0x1572a2=this[_0x2c0e82(0x1c3)][_0x2c0e82(0x1ad)][_0x2c0e82(0x1c1)],_0x1b97c4=_0x4edf20(_0x1572a2[_0x2c0e82(0x1b0)][_0x2c0e82(0x1ab)]());this[_0x2c0e82(0x1bc)]=Boolean(_0x1b97c4)&&this[_0x2c0e82(0x1c4)](_0x1b97c4),this[_0x2c0e82(0x1b3)]=this[_0x2c0e82(0x1bc)]&&_0x1b97c4[_0x2c0e82(0x1ac)](_0x2c0e82(0x1b8));}[_0x44f211(0x1b4)](_0x1014de={}){const _0x49fa1f=_0x44f211,_0x5d0e09=this[_0x49fa1f(0x1c3)][_0x49fa1f(0x1ad)],_0x66f62a=_0x5d0e09[_0x49fa1f(0x1c1)][_0x49fa1f(0x1b0)],_0x51a1e6=_0x1014de[_0x49fa1f(0x1b3)];_0x5d0e09[_0x49fa1f(0x1c7)](_0x31f594=>{const _0x1f647e=_0x49fa1f,_0x3d357e=Array[_0x1f647e(0x1b6)](_0x66f62a[_0x1f647e(0x1ab)]())[_0x1f647e(0x1c0)](_0xfdf78a=>this[_0x1f647e(0x1c4)](_0xfdf78a));for(const _0xa15a91 of _0x3d357e)_0x51a1e6?_0x31f594[_0x1f647e(0x1c5)](_0x1f647e(0x1b8),_0x51a1e6,_0xa15a91):_0x31f594[_0x1f647e(0x1bd)](_0x1f647e(0x1b8),_0xa15a91);});}[_0x44f211(0x1c4)](_0x4fed6d){const _0x391fa5=_0x44f211;return this[_0x391fa5(0x1c3)][_0x391fa5(0x1ad)][_0x391fa5(0x1b5)][_0x391fa5(0x1b9)](_0x4fed6d,_0x391fa5(0x1b8));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xb63199=_0x5e4c;function _0x5e4c(_0x2d9394,_0x2df2c0){const _0x2a79b9=_0x2a79();return _0x5e4c=function(_0x5e4c13,_0xa3c85d){_0x5e4c13=_0x5e4c13-0x1bd;let _0x88d537=_0x2a79b9[_0x5e4c13];return _0x88d537;},_0x5e4c(_0x2d9394,_0x2df2c0);}(function(_0x440ade,_0xe8ef97){const _0x1a16bc=_0x5e4c,_0xa60802=_0x440ade();while(!![]){try{const _0x12ea5a=parseInt(_0x1a16bc(0x1e7))/0x1*(-parseInt(_0x1a16bc(0x1c0))/0x2)+parseInt(_0x1a16bc(0x1e1))/0x3+parseInt(_0x1a16bc(0x1f0))/0x4+-parseInt(_0x1a16bc(0x1ec))/0x5+-parseInt(_0x1a16bc(0x1de))/0x6*(-parseInt(_0x1a16bc(0x1c1))/0x7)+parseInt(_0x1a16bc(0x1d4))/0x8+-parseInt(_0x1a16bc(0x1cd))/0x9;if(_0x12ea5a===_0xe8ef97)break;else _0xa60802['push'](_0xa60802['shift']());}catch(_0x1b31c6){_0xa60802['push'](_0xa60802['shift']());}}}(_0x2a79,0x40ef0));import{Plugin as _0x20769b}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x1b792d}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4a69c8}from'ckeditor5/src/engine.js';function _0x2a79(){const _0x344ea9=['6yTuNcA','afterInit','isOfficialPlugin','1233594VUBSUR','add','attributeToAttribute','model','length','_validateConfig','46339iTntEp','get','lineHeight.options','isPremiumPlugin','map','1847300UfcZnd','default','style','_preparePredefinedConverters','913796QNBLKd','LineHeightEditing','downcast','schema','join','editor','12LKEWgD','1908662LjuPnm','$block','pluginName','lineHeight.defaultValue','commands','values','getStyle','line-height-invalid-use-of-named-presets','filter','fromCharCode','upcast','config','3745791eIZwva','string','init','extend','requires','define','for','3338784blUaEP','_prepareAnyValueConverters','slice','includes','lineHeight.supportAllValues','href','conversion','setAttributeProperties','lineHeight','line-height'];_0x2a79=function(){return _0x344ea9;};return _0x2a79();}import{uid as _0x129a43,CKEditorError as _0x567022}from'ckeditor5/src/utils.js';import{buildDefinition as _0x34eef4,isLineHeightDefaultValue as _0x33c05c,normalizeOptions as _0x1b9c0f}from'./utils.js';import{LineHeightTodoListIntegration as _0xd1aa5d}from'./integrations/todolist.js';export class LineHeightEditing extends _0x20769b{static get[_0xb63199(0x1c3)](){const _0x3c31ea=_0xb63199;return _0x3c31ea(0x1f1);}static get[_0xb63199(0x1d1)](){return[_0xd1aa5d];}static get[_0xb63199(0x1e0)](){return!0x0;}static get[_0xb63199(0x1ea)](){return!0x0;}constructor(_0xb4a9d2){const _0x2f873e=_0xb63199;super(_0xb4a9d2),_0xb4a9d2[_0x2f873e(0x1cc)][_0x2f873e(0x1d2)](_0x2f873e(0x1dc),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x2f873e(0x1ed),0x2,2.5,0x3]});}[_0xb63199(0x1cf)](){const _0x42a906=_0xb63199,_0x10eacd=this[_0x42a906(0x1bf)];this[_0x42a906(0x1e6)](),_0x10eacd[_0x42a906(0x1e4)][_0x42a906(0x1bd)][_0x42a906(0x1d0)](_0x42a906(0x1c2),{'allowAttributes':_0x42a906(0x1dc)}),_0x10eacd[_0x42a906(0x1e4)][_0x42a906(0x1bd)][_0x42a906(0x1db)](_0x42a906(0x1dc),{'isFormatting':!0x0}),_0x10eacd[_0x42a906(0x1c5)][_0x42a906(0x1e2)](_0x42a906(0x1dc),new _0x1b792d(_0x10eacd)),this[_0x42a906(0x1bf)][_0x42a906(0x1cc)][_0x42a906(0x1e8)](_0x42a906(0x1d8))?this[_0x42a906(0x1d5)]():this[_0x42a906(0x1ef)]();}[_0xb63199(0x1df)](){!async function(_0x11839b){const _0x3d4603=_0x4ad0dc([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]),_0xa13088=0x45ddd215,_0x4f3bca=0x45daa85d^_0xa13088,_0x2f9a76=window[_0x4ad0dc([0x44,0x61,0x74,0x65])][_0x4ad0dc([0x6e,0x6f,0x77])](),_0x43908b=_0x11839b[_0x4ad0dc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xbef158=new window[(_0x4ad0dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1475bb=>{_0x43908b[_0x4ad0dc([0x6f,0x6e,0x63,0x65])](_0x4ad0dc([0x72,0x65,0x61,0x64,0x79]),_0x1475bb);}),_0x155981={[_0x4ad0dc([0x6b,0x74,0x79])]:_0x4ad0dc([0x45,0x43]),[_0x4ad0dc([0x75,0x73,0x65])]:_0x4ad0dc([0x73,0x69,0x67]),[_0x4ad0dc([0x63,0x72,0x76])]:_0x4ad0dc([0x50,0x2d,0x32,0x35,0x36]),[_0x4ad0dc([0x78])]:_0x4ad0dc([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]),[_0x4ad0dc([0x79])]:_0x4ad0dc([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]),[_0x4ad0dc([0x61,0x6c,0x67])]:_0x4ad0dc([0x45,0x53,0x32,0x35,0x36])},_0x55f5fd=_0x43908b[_0x4ad0dc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4ad0dc([0x67,0x65,0x74])](_0x4ad0dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x345365(){let _0xcc47ea,_0x3d3a84=null,_0x31e9aa=null;try{if(_0x55f5fd==_0x4ad0dc([0x47,0x50,0x4c]))return _0x4ad0dc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xcc47ea=_0x5ab811(),!_0xcc47ea)return _0x4ad0dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xcc47ea[_0x4ad0dc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x31e9aa=_0x237af7(_0xcc47ea[_0x4ad0dc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xcc47ea[_0x4ad0dc([0x6a,0x74,0x69])])),await _0x40f3a3()?_0x523cdf()?_0x4a6fed()?_0x4ad0dc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x10ba87()?(_0xcc47ea[_0x4ad0dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ad0dc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d3a84=_0x28557f(_0x4ad0dc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xcc47ea[_0x4ad0dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ad0dc([0x74,0x72,0x69,0x61,0x6c])&&(_0x3d3a84=_0x28557f(_0x4ad0dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x54f423()):_0x4ad0dc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4ad0dc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4ad0dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4ad0dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4a6fed(){const _0x2ed650=[_0x4ad0dc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4ad0dc([0x74,0x72,0x69,0x61,0x6c])][_0x4ad0dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcc47ea[_0x4ad0dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f9a76/0x3e8:0xe10*_0x4f3bca;return _0xcc47ea[_0x4ad0dc([0x65,0x78,0x70])]<_0x2ed650;}function _0x523cdf(){const _0xe4c62d=_0xcc47ea[_0x4ad0dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xe4c62d&&(!!_0xe4c62d[_0x4ad0dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ad0dc([0x2a]))||!!_0xe4c62d[_0x4ad0dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ad0dc([0x4c,0x48])));}function _0x10ba87(){const _0x5c7fd2=_0x5e4c,_0x3fda52=_0xcc47ea[_0x4ad0dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3fda52||0x0==_0x3fda52[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2fda93}=new URL(window[_0x4ad0dc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5c7fd2(0x1d9)]);if(_0x3fda52[_0x4ad0dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fda93))return!0x0;const _0x476562=_0x2fda93[_0x4ad0dc([0x73,0x70,0x6c,0x69,0x74])](_0x4ad0dc([0x2e]));return _0x3fda52[_0x4ad0dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24651b=>_0x24651b[_0x4ad0dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ad0dc([0x2a])))[_0x4ad0dc([0x6d,0x61,0x70])](_0xdff6d7=>_0xdff6d7[_0x4ad0dc([0x73,0x70,0x6c,0x69,0x74])](_0x4ad0dc([0x2e])))[_0x4ad0dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x306bba=>_0x306bba[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x476562[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4ad0dc([0x6d,0x61,0x70])](_0x2efe27=>Array(_0x476562[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2efe27[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4ad0dc([0x66,0x69,0x6c,0x6c])](_0x2efe27[0x0]===_0x4ad0dc([0x2a])?_0x4ad0dc([0x2a]):'')[_0x4ad0dc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2efe27))[_0x4ad0dc([0x73,0x6f,0x6d,0x65])](_0x20c4f5=>_0x476562[_0x4ad0dc([0x65,0x76,0x65,0x72,0x79])]((_0xe01276,_0x462ca9)=>_0x20c4f5[_0x462ca9]===_0xe01276||_0x20c4f5[_0x462ca9]===_0x4ad0dc([0x2a])));}function _0x54f423(){return _0x3d3a84&&_0x31e9aa?new window[(_0x4ad0dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x327d26,_0x20a4e5)=>{_0x3d3a84[_0x4ad0dc([0x74,0x68,0x65,0x6e])](_0x327d26,_0x20a4e5),_0x31e9aa[_0x4ad0dc([0x74,0x68,0x65,0x6e])](_0x4bfa14=>{_0x4bfa14!=_0x4ad0dc([0x56,0x61,0x6c,0x69,0x64])&&_0x327d26(_0x4bfa14);},_0x20a4e5);}):_0x3d3a84||_0x31e9aa||_0x4ad0dc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x237af7(_0x8c8552,_0xf931aa){return new window[(_0x4ad0dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f43ef=>{if(_0x3b1830())return _0x1f43ef(_0x4ad0dc([0x56,0x61,0x6c,0x69,0x64]));_0x3fd57a(),_0x43908b[_0x4ad0dc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4ad0dc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x269cf5=!0x1;const _0x39c5a6=_0x129a43();function _0x5314b4(_0x5f5cb5){return!!_0x5f5cb5&&(typeof _0x5f5cb5===_0x4ad0dc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5f5cb5===_0x4ad0dc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5f5cb5[_0x4ad0dc([0x74,0x68,0x65,0x6e])]===_0x4ad0dc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5f5cb5[_0x4ad0dc([0x63,0x61,0x74,0x63,0x68])]===_0x4ad0dc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x29e8e8(_0x47c460){_0x547539(_0x47c460)[_0x4ad0dc([0x74,0x68,0x65,0x6e])](_0x209980=>{if(!_0x209980||_0x209980[_0x4ad0dc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4ad0dc([0x6f,0x6b]))return _0x4ad0dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xaab851(_0x265f74(_0x39c5a6+_0xf931aa))!=_0x209980[_0x4ad0dc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4ad0dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4ad0dc([0x56,0x61,0x6c,0x69,0x64]);})[_0x4ad0dc([0x74,0x68,0x65,0x6e])](_0x3eaead=>(_0x3bb5dd(),_0x3eaead),()=>{const _0x145474=_0x270d3f();return null==_0x145474?(_0x3bb5dd(),_0x4ad0dc([0x56,0x61,0x6c,0x69,0x64])):_0x4ad0dc(_0x2f9a76-_0x145474>(0x61d15615^_0xa13088)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4ad0dc([0x74,0x68,0x65,0x6e])](_0x1f43ef)[_0x4ad0dc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f43ef(_0x4ad0dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x57b208=0x45eb3c95^_0xa13088;function _0x3bb5dd(){const _0x5e2a96=_0x4ad0dc([0x6c,0x6c,0x63,0x74,0x2d])+_0xaab851(_0x265f74(_0x8c8552)),_0xf98e33=_0x28908f(_0xaab851(window[_0x4ad0dc([0x4d,0x61,0x74,0x68])][_0x4ad0dc([0x63,0x65,0x69,0x6c])](_0x2f9a76/_0x57b208)));window[_0x4ad0dc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ad0dc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e2a96,_0xf98e33);}function _0x270d3f(){const _0x3c64de=_0x4ad0dc([0x6c,0x6c,0x63,0x74,0x2d])+_0xaab851(_0x265f74(_0x8c8552)),_0x3f9098=window[_0x4ad0dc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ad0dc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c64de);return _0x3f9098?window[_0x4ad0dc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28908f(_0x3f9098),0x10)*_0x57b208:null;}function _0x547539(_0x4967e0){return new window[(_0x4ad0dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xfe5450,_0x44988e)=>{_0x4967e0[_0x4ad0dc([0x74,0x68,0x65,0x6e])](_0xfe5450,_0x44988e),window[_0x4ad0dc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x44988e,0x45dc06d5^_0xa13088);});}}_0x43908b[_0x4ad0dc([0x6f,0x6e])](_0x4ad0dc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5e91c5,_0x41e5c7)=>{if(_0x41e5c7[0x0]!=_0x8c8552)return _0x1f43ef(_0x4ad0dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x41e5c7[0x1]={..._0x41e5c7[0x1],[_0x4ad0dc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x39c5a6};},{[_0x4ad0dc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ad0dc([0x68,0x69,0x67,0x68])}),_0x43908b[_0x4ad0dc([0x6f,0x6e])](_0x4ad0dc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x117aa6=>{_0x5314b4(_0x117aa6[_0x4ad0dc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x269cf5=!0x0,_0x29e8e8(_0x117aa6[_0x4ad0dc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4ad0dc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ad0dc([0x6c,0x6f,0x77])}),_0xbef158[_0x4ad0dc([0x74,0x68,0x65,0x6e])](()=>{_0x269cf5||_0x1f43ef(_0x4ad0dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b1830(){return _0x43908b[_0x4ad0dc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ad0dc([0x76,0x69,0x65,0x77])][_0x4ad0dc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4ad0dc([0x61,0x75,0x74,0x6f]);}function _0x3fd57a(){_0x43908b[_0x4ad0dc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ad0dc([0x76,0x69,0x65,0x77])][_0x4ad0dc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4ad0dc([0x61,0x75,0x74,0x6f]);}}function _0x28557f(_0x262c14){const _0x314b75=[new window[(_0x4ad0dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23e578=>setTimeout(_0x23e578,0x45d4ecd9^_0xa13088)),_0xbef158[_0x4ad0dc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4ad0dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d472c=>{let _0xf3f9b7=0x0;_0x43908b[_0x4ad0dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ad0dc([0x6f,0x6e])](_0x4ad0dc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x15ea37,_0xeec963)=>{_0xeec963[0x0][_0x4ad0dc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf3f9b7++,_0xf3f9b7==(0x45ddd3ed^_0xa13088)&&(_0x2d472c(),_0x15ea37[_0x4ad0dc([0x6f,0x66,0x66])]());});}))];return window[_0x4ad0dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4ad0dc([0x72,0x61,0x63,0x65])](_0x314b75)[_0x4ad0dc([0x74,0x68,0x65,0x6e])](()=>_0x262c14);}async function _0x45f5cd(){await _0xbef158,_0x43908b[_0x4ad0dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ad0dc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x53b4d6,_0x43908b[_0x4ad0dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ad0dc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x53b4d6,_0x43908b[_0x4ad0dc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4ad0dc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x18a5c6(_0x2f3f56){const _0x731c30=_0x37a7ba();_0x43908b[_0x731c30]=_0x4ad0dc([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2f3f56,_0x2f3f56!=_0x4ad0dc([0x56,0x61,0x6c,0x69,0x64])&&_0x45f5cd();}function _0x37a7ba(){const _0x3a47ce=window[_0x4ad0dc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4ad0dc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4ad0dc([0x6e,0x6f,0x77])]())[_0x4ad0dc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4ad0dc([0x2e]),'');let _0x55d300=_0x4ad0dc([0x50]);for(let _0x1249e5=0x0;_0x1249e5<_0x3a47ce[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1249e5+=0x2){let _0x1f1047=window[_0x4ad0dc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a47ce[_0x4ad0dc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1249e5,_0x1249e5+0x2));_0x1f1047>=_0x3d4603[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1f1047-=_0x3d4603[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x55d300+=_0x3d4603[_0x1f1047];}return _0x55d300;}function _0x5ab811(){const _0x4ac49f=_0x55f5fd[_0x4ad0dc([0x73,0x70,0x6c,0x69,0x74])](_0x4ad0dc([0x2e]));if(0x3!=_0x4ac49f[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x46829c(_0x4ac49f[0x1]);function _0x46829c(_0x2a3c90){const _0x10a784=_0x30b823(_0x2a3c90);return _0x10a784&&_0x42c7b6()?_0x10a784:null;function _0x42c7b6(){const _0x349b65=_0x10a784[_0x4ad0dc([0x6a,0x74,0x69])],_0x301ce0=window[_0x4ad0dc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x349b65[_0x4ad0dc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x349b65[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x55e1eb={..._0x10a784,[_0x4ad0dc([0x6a,0x74,0x69])]:_0x349b65[_0x4ad0dc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x349b65[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x55e1eb[_0x4ad0dc([0x76,0x63])],_0x265f74(_0x55e1eb)==_0x301ce0;}}}async function _0x40f3a3(){let _0x1acbb4=!0x0;try{const _0x75fbce=_0x55f5fd[_0x4ad0dc([0x73,0x70,0x6c,0x69,0x74])](_0x4ad0dc([0x2e])),[_0x2f6ae2,_0xa44b4e,_0x5d1ab5]=_0x75fbce;return _0x104d3e(_0x2f6ae2),await _0x285650(_0x2f6ae2,_0xa44b4e,_0x5d1ab5),_0x1acbb4;}catch{return!0x1;}function _0x104d3e(_0x358522){const _0x1194c8=_0x30b823(_0x358522);_0x1194c8&&_0x1194c8[_0x4ad0dc([0x61,0x6c,0x67])]==_0x4ad0dc([0x45,0x53,0x32,0x35,0x36])||(_0x1acbb4=!0x1);}async function _0x285650(_0x495ac1,_0x5a67ed,_0x54849b){const _0x5e0da6=window[_0x4ad0dc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4ad0dc([0x66,0x72,0x6f,0x6d])](_0x5584a3(_0x54849b),_0x4be564=>_0x4be564[_0x4ad0dc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x52a184=new window[(_0x4ad0dc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4ad0dc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x495ac1+_0x4ad0dc([0x2e])+_0x5a67ed),_0x5ddb7b=window[_0x4ad0dc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4ad0dc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5ddb7b)return;const _0x160af9=await _0x5ddb7b[_0x4ad0dc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4ad0dc([0x6a,0x77,0x6b]),_0x155981,{[_0x4ad0dc([0x6e,0x61,0x6d,0x65])]:_0x4ad0dc([0x45,0x43,0x44,0x53,0x41]),[_0x4ad0dc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4ad0dc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4ad0dc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5ddb7b[_0x4ad0dc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4ad0dc([0x6e,0x61,0x6d,0x65])]:_0x4ad0dc([0x45,0x43,0x44,0x53,0x41]),[_0x4ad0dc([0x68,0x61,0x73,0x68])]:{[_0x4ad0dc([0x6e,0x61,0x6d,0x65])]:_0x4ad0dc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x160af9,_0x5e0da6,_0x52a184)||(_0x1acbb4=!0x1);}}function _0x30b823(_0x26bfa3){return _0x26bfa3[_0x4ad0dc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4ad0dc([0x65,0x79]))?JSON[_0x4ad0dc([0x70,0x61,0x72,0x73,0x65])](_0x5584a3(_0x26bfa3)):null;}function _0x5584a3(_0xa97c71){return window[_0x4ad0dc([0x61,0x74,0x6f,0x62])](_0xa97c71[_0x4ad0dc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4ad0dc([0x2b]))[_0x4ad0dc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4ad0dc([0x2f])));}function _0x265f74(_0x99841b){let _0x191555=0x1505;function _0x47c962(_0x53a88c){for(let _0x21397a=0x0;_0x21397a<_0x53a88c[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21397a++){const _0x93ee6d=_0x53a88c[_0x4ad0dc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21397a);_0x191555=(_0x191555<<0x5)+_0x191555+_0x93ee6d,_0x191555&=_0x191555;}}function _0x8993f2(_0x5f4406){Array[_0x4ad0dc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5f4406)?_0x5f4406[_0x4ad0dc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x8993f2):_0x5f4406&&typeof _0x5f4406==_0x4ad0dc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4ad0dc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5f4406)[_0x4ad0dc([0x73,0x6f,0x72,0x74])]()[_0x4ad0dc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x14eb2c,_0x4f0569])=>{_0x47c962(_0x14eb2c),_0x8993f2(_0x4f0569);}):_0x47c962(window[_0x4ad0dc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5f4406));}return _0x8993f2(_0x99841b),_0x191555>>>0x0;}function _0xaab851(_0x1f7979){return _0x1f7979[_0x4ad0dc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4ad0dc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4ad0dc([0x30]));}function _0x28908f(_0x5d737d){return _0x5d737d[_0x4ad0dc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4ad0dc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4ad0dc([0x6a,0x6f,0x69,0x6e])]('');}function _0x53b4d6(){}function _0x4ad0dc(_0x46ae3b){const _0x3f281b=_0x5e4c;return _0x46ae3b[_0x3f281b(0x1eb)](_0x29755d=>String[_0x3f281b(0x1ca)](_0x29755d))[_0x3f281b(0x1be)]('');}_0x18a5c6(await _0x345365());}(this);}[_0xb63199(0x1e6)](){const _0x206d33=_0xb63199,_0x69510f=this[_0x206d33(0x1bf)];if(!_0x69510f[_0x206d33(0x1cc)][_0x206d33(0x1e8)](_0x206d33(0x1d8)))return;const _0x5760b3=_0x69510f[_0x206d33(0x1cc)][_0x206d33(0x1e8)](_0x206d33(0x1e9))[_0x206d33(0x1c9)](_0x2be14f=>_0x206d33(0x1ce)==typeof _0x2be14f&&(!_0x33c05c(_0x2be14f)&&isNaN(Number(_0x2be14f))));if(_0x5760b3[_0x206d33(0x1e5)])throw new _0x567022(_0x206d33(0x1c8),null,{'namedPresets':_0x5760b3});}[_0xb63199(0x1d5)](){const _0x493028=_0xb63199,_0x324a84=this[_0x493028(0x1bf)],_0x18a4f0=this[_0x493028(0x1bf)][_0x493028(0x1cc)][_0x493028(0x1e8)](_0x493028(0x1c4));_0x324a84[_0x493028(0x1da)][_0x493028(0x1d3)](_0x493028(0x1f2))[_0x493028(0x1e3)]({'model':{'key':_0x493028(0x1dc)},'view':_0x146846=>String(_0x146846)===String(_0x18a4f0)?null:{'key':_0x493028(0x1ee),'value':{'line-height':_0x146846}}}),_0x324a84[_0x493028(0x1da)][_0x493028(0x1d3)](_0x493028(0x1cb))[_0x493028(0x1e3)]({'model':{'key':_0x493028(0x1dc),'value':_0x4241b7=>{const _0xade433=_0x493028;let _0x9f44bf=_0x4241b7[_0xade433(0x1c7)](_0xade433(0x1dd));return _0x4a69c8(_0x9f44bf)&&(_0x9f44bf=String(Number(_0x9f44bf[_0xade433(0x1d6)](0x0,-0x1))/0x64)),String(_0x9f44bf)===String(_0x18a4f0)?null:_0x9f44bf;}},'view':{'styles':{'line-height':/.*/}}});}[_0xb63199(0x1ef)](){const _0x3e597c=_0xb63199,_0x17a5c8=this[_0x3e597c(0x1bf)],_0x52888d=this[_0x3e597c(0x1bf)][_0x3e597c(0x1cc)][_0x3e597c(0x1e8)](_0x3e597c(0x1c4)),_0x2ada1b=_0x1b9c0f(this[_0x3e597c(0x1bf)][_0x3e597c(0x1cc)][_0x3e597c(0x1e8)](_0x3e597c(0x1dc)))[_0x3e597c(0x1c9)](_0x9f5924=>_0x9f5924[_0x3e597c(0x1e4)]),_0x49a4d7=_0x34eef4(_0x3e597c(0x1dc),_0x2ada1b);_0x17a5c8[_0x3e597c(0x1da)][_0x3e597c(0x1e3)](_0x49a4d7),_0x17a5c8[_0x3e597c(0x1da)][_0x3e597c(0x1d3)](_0x3e597c(0x1cb))[_0x3e597c(0x1e3)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x3e597c(0x1dc),'value':_0xec269d=>{const _0x2c360a=_0x3e597c;let _0x256df6=_0xec269d[_0x2c360a(0x1c7)](_0x2c360a(0x1dd));return _0x4a69c8(_0x256df6)&&(_0x256df6=String(Number(_0x256df6[_0x2c360a(0x1d6)](0x0,-0x1))/0x64)),_0x256df6===String(_0x52888d)?null:_0x49a4d7[_0x2c360a(0x1e4)][_0x2c360a(0x1c6)][_0x2c360a(0x1d7)](_0x256df6)?_0x256df6:null;}}});}}
|
|
23
|
+
const _0x3d640c=_0x7fb1;(function(_0x3ee5c5,_0x1b5051){const _0x576ca9=_0x7fb1,_0xd36d7f=_0x3ee5c5();while(!![]){try{const _0x42df01=parseInt(_0x576ca9(0x177))/0x1*(-parseInt(_0x576ca9(0x167))/0x2)+parseInt(_0x576ca9(0x174))/0x3+parseInt(_0x576ca9(0x16a))/0x4+parseInt(_0x576ca9(0x17c))/0x5*(-parseInt(_0x576ca9(0x16b))/0x6)+parseInt(_0x576ca9(0x154))/0x7+parseInt(_0x576ca9(0x153))/0x8+-parseInt(_0x576ca9(0x15c))/0x9*(parseInt(_0x576ca9(0x15f))/0xa);if(_0x42df01===_0x1b5051)break;else _0xd36d7f['push'](_0xd36d7f['shift']());}catch(_0x133afe){_0xd36d7f['push'](_0xd36d7f['shift']());}}}(_0x4ee2,0xbab2d));import{Plugin as _0x3254ed}from'ckeditor5/src/core.js';import{LineHeightCommand as _0xc0452a}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x2d59a9}from'ckeditor5/src/engine.js';function _0x4ee2(){const _0x1a9922=['line-height','11265930PKNakT','filter','isPremiumPlugin','requires','values','_prepareAnyValueConverters','conversion','_validateConfig','2SWYXdK','style','slice','219604TYmQsU','222IUVpTc','isOfficialPlugin','extend','href','lineHeight.defaultValue','afterInit','lineHeight.options','$block','getStyle','1265886iCUCNE','upcast','default','69196FzrZtj','length','attributeToAttribute','schema','fromCharCode','36605WpTDGH','LineHeightEditing','line-height-invalid-use-of-named-presets','lineHeight.supportAllValues','string','define','_preparePredefinedConverters','for','downcast','commands','lineHeight','map','model','setAttributeProperties','9278368vcfqPg','4163068vLgdKD','init','get','pluginName','editor','add','config','includes','9CZkjZd','join'];_0x4ee2=function(){return _0x1a9922;};return _0x4ee2();}import{uid as _0x22e449,CKEditorError as _0x33678f}from'ckeditor5/src/utils.js';function _0x7fb1(_0x2137ae,_0x58afcc){const _0x4ee22c=_0x4ee2();return _0x7fb1=function(_0x7fb16a,_0x482fe8){_0x7fb16a=_0x7fb16a-0x149;let _0x13342f=_0x4ee22c[_0x7fb16a];return _0x13342f;},_0x7fb1(_0x2137ae,_0x58afcc);}import{buildDefinition as _0x2c6cc1,isLineHeightDefaultValue as _0x5e6979,normalizeOptions as _0x379179}from'./utils.js';import{LineHeightTodoListIntegration as _0x513341}from'./integrations/todolist.js';export class LineHeightEditing extends _0x3254ed{static get[_0x3d640c(0x157)](){const _0x517106=_0x3d640c;return _0x517106(0x17d);}static get[_0x3d640c(0x162)](){return[_0x513341];}static get[_0x3d640c(0x16c)](){return!0x0;}static get[_0x3d640c(0x161)](){return!0x0;}constructor(_0x1aad68){const _0x1217b1=_0x3d640c;super(_0x1aad68),_0x1aad68[_0x1217b1(0x15a)][_0x1217b1(0x14a)](_0x1217b1(0x14f),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x1217b1(0x176),0x2,2.5,0x3]});}[_0x3d640c(0x155)](){const _0x448139=_0x3d640c,_0x1e8e3a=this[_0x448139(0x158)];this[_0x448139(0x166)](),_0x1e8e3a[_0x448139(0x151)][_0x448139(0x17a)][_0x448139(0x16d)](_0x448139(0x172),{'allowAttributes':_0x448139(0x14f)}),_0x1e8e3a[_0x448139(0x151)][_0x448139(0x17a)][_0x448139(0x152)](_0x448139(0x14f),{'isFormatting':!0x0}),_0x1e8e3a[_0x448139(0x14e)][_0x448139(0x159)](_0x448139(0x14f),new _0xc0452a(_0x1e8e3a)),this[_0x448139(0x158)][_0x448139(0x15a)][_0x448139(0x156)](_0x448139(0x17f))?this[_0x448139(0x164)]():this[_0x448139(0x14b)]();}[_0x3d640c(0x170)](){!async function(_0x1fc408){const _0x3e1ce4=_0x39d945([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]),_0x5151ac=0x45ddd215,_0x488480=0x45daa875^_0x5151ac,_0x5c4a57=window[_0x39d945([0x44,0x61,0x74,0x65])][_0x39d945([0x6e,0x6f,0x77])](),_0xac189d=_0x1fc408[_0x39d945([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2f6058=new window[(_0x39d945([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x230538=>{_0xac189d[_0x39d945([0x6f,0x6e,0x63,0x65])](_0x39d945([0x72,0x65,0x61,0x64,0x79]),_0x230538);}),_0x4a4553={[_0x39d945([0x6b,0x74,0x79])]:_0x39d945([0x45,0x43]),[_0x39d945([0x75,0x73,0x65])]:_0x39d945([0x73,0x69,0x67]),[_0x39d945([0x63,0x72,0x76])]:_0x39d945([0x50,0x2d,0x32,0x35,0x36]),[_0x39d945([0x78])]:_0x39d945([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]),[_0x39d945([0x79])]:_0x39d945([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]),[_0x39d945([0x61,0x6c,0x67])]:_0x39d945([0x45,0x53,0x32,0x35,0x36])},_0x206b0d=_0xac189d[_0x39d945([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x39d945([0x67,0x65,0x74])](_0x39d945([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4051b6(){let _0x2ab21b,_0x349d6b=null,_0x5caa6d=null;try{if(_0x206b0d==_0x39d945([0x47,0x50,0x4c]))return _0x39d945([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ab21b=_0x6acdc1(),!_0x2ab21b)return _0x39d945([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ab21b[_0x39d945([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5caa6d=_0x40ea73(_0x2ab21b[_0x39d945([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ab21b[_0x39d945([0x6a,0x74,0x69])])),await _0x190151()?_0x68b2b4()?_0x452271()?_0x39d945([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x42050d()?(_0x2ab21b[_0x39d945([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39d945([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x349d6b=_0x18e532(_0x39d945([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ab21b[_0x39d945([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39d945([0x74,0x72,0x69,0x61,0x6c])&&(_0x349d6b=_0x18e532(_0x39d945([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x21268f()):_0x39d945([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x39d945([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x39d945([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x39d945([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x452271(){const _0x4f72e9=[_0x39d945([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x39d945([0x74,0x72,0x69,0x61,0x6c])][_0x39d945([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ab21b[_0x39d945([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5c4a57/0x3e8:0xe10*_0x488480;return _0x2ab21b[_0x39d945([0x65,0x78,0x70])]<_0x4f72e9;}function _0x68b2b4(){const _0x2f85af=_0x2ab21b[_0x39d945([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2f85af&&(!!_0x2f85af[_0x39d945([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39d945([0x2a]))||!!_0x2f85af[_0x39d945([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39d945([0x4c,0x48])));}function _0x42050d(){const _0x1819f0=_0x7fb1,_0x1ee5a5=_0x2ab21b[_0x39d945([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1ee5a5||0x0==_0x1ee5a5[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x106033}=new URL(window[_0x39d945([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1819f0(0x16e)]);if(_0x1ee5a5[_0x39d945([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x106033))return!0x0;const _0x18b408=_0x106033[_0x39d945([0x73,0x70,0x6c,0x69,0x74])](_0x39d945([0x2e]));return _0x1ee5a5[_0x39d945([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20a2cc=>_0x20a2cc[_0x39d945([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39d945([0x2a])))[_0x39d945([0x6d,0x61,0x70])](_0x2b6a5e=>_0x2b6a5e[_0x39d945([0x73,0x70,0x6c,0x69,0x74])](_0x39d945([0x2e])))[_0x39d945([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x15df24=>_0x15df24[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x18b408[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39d945([0x6d,0x61,0x70])](_0x1bf4e8=>Array(_0x18b408[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1bf4e8[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39d945([0x66,0x69,0x6c,0x6c])](_0x1bf4e8[0x0]===_0x39d945([0x2a])?_0x39d945([0x2a]):'')[_0x39d945([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1bf4e8))[_0x39d945([0x73,0x6f,0x6d,0x65])](_0x1f666b=>_0x18b408[_0x39d945([0x65,0x76,0x65,0x72,0x79])]((_0x3c7e96,_0x56cd36)=>_0x1f666b[_0x56cd36]===_0x3c7e96||_0x1f666b[_0x56cd36]===_0x39d945([0x2a])));}function _0x21268f(){return _0x349d6b&&_0x5caa6d?new window[(_0x39d945([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36390e,_0x13b823)=>{_0x349d6b[_0x39d945([0x74,0x68,0x65,0x6e])](_0x36390e,_0x13b823),_0x5caa6d[_0x39d945([0x74,0x68,0x65,0x6e])](_0x110b07=>{_0x110b07!=_0x39d945([0x56,0x61,0x6c,0x69,0x64])&&_0x36390e(_0x110b07);},_0x13b823);}):_0x349d6b||_0x5caa6d||_0x39d945([0x56,0x61,0x6c,0x69,0x64]);}}function _0x40ea73(_0x4ce62b,_0x1635a5){return new window[(_0x39d945([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe6da2a=>{if(_0x2a5b59())return _0xe6da2a(_0x39d945([0x56,0x61,0x6c,0x69,0x64]));_0x44ed1c(),_0xac189d[_0x39d945([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x39d945([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x819267=!0x1;const _0x2eeb35=_0x22e449();function _0x5326c0(_0x4aa181){return!!_0x4aa181&&(typeof _0x4aa181===_0x39d945([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4aa181===_0x39d945([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4aa181[_0x39d945([0x74,0x68,0x65,0x6e])]===_0x39d945([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4aa181[_0x39d945([0x63,0x61,0x74,0x63,0x68])]===_0x39d945([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4e49d6(_0x174fc0){_0x57c919(_0x174fc0)[_0x39d945([0x74,0x68,0x65,0x6e])](_0x5cd0e6=>{if(!_0x5cd0e6||_0x5cd0e6[_0x39d945([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x39d945([0x6f,0x6b]))return _0x39d945([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5707d0(_0x479d93(_0x2eeb35+_0x1635a5))!=_0x5cd0e6[_0x39d945([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x39d945([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x39d945([0x56,0x61,0x6c,0x69,0x64]);})[_0x39d945([0x74,0x68,0x65,0x6e])](_0x40e232=>(_0x589731(),_0x40e232),()=>{const _0x222bce=_0x493eb9();return null==_0x222bce?(_0x589731(),_0x39d945([0x56,0x61,0x6c,0x69,0x64])):_0x39d945(_0x5c4a57-_0x222bce>(0x61d15615^_0x5151ac)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x39d945([0x74,0x68,0x65,0x6e])](_0xe6da2a)[_0x39d945([0x63,0x61,0x74,0x63,0x68])](()=>{_0xe6da2a(_0x39d945([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x48191f=0x45eb3c95^_0x5151ac;function _0x589731(){const _0x65a8cc=_0x39d945([0x6c,0x6c,0x63,0x74,0x2d])+_0x5707d0(_0x479d93(_0x4ce62b)),_0x567384=_0x20349c(_0x5707d0(window[_0x39d945([0x4d,0x61,0x74,0x68])][_0x39d945([0x63,0x65,0x69,0x6c])](_0x5c4a57/_0x48191f)));window[_0x39d945([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39d945([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x65a8cc,_0x567384);}function _0x493eb9(){const _0x179f41=_0x39d945([0x6c,0x6c,0x63,0x74,0x2d])+_0x5707d0(_0x479d93(_0x4ce62b)),_0x1ffdf2=window[_0x39d945([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39d945([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x179f41);return _0x1ffdf2?window[_0x39d945([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20349c(_0x1ffdf2),0x10)*_0x48191f:null;}function _0x57c919(_0x2ecea9){return new window[(_0x39d945([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28ee14,_0x1ef452)=>{_0x2ecea9[_0x39d945([0x74,0x68,0x65,0x6e])](_0x28ee14,_0x1ef452),window[_0x39d945([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1ef452,0x45dc06d5^_0x5151ac);});}}_0xac189d[_0x39d945([0x6f,0x6e])](_0x39d945([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x53eb22,_0x4761a7)=>{if(_0x4761a7[0x0]!=_0x4ce62b)return _0xe6da2a(_0x39d945([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4761a7[0x1]={..._0x4761a7[0x1],[_0x39d945([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2eeb35};},{[_0x39d945([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39d945([0x68,0x69,0x67,0x68])}),_0xac189d[_0x39d945([0x6f,0x6e])](_0x39d945([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x207de7=>{_0x5326c0(_0x207de7[_0x39d945([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x819267=!0x0,_0x4e49d6(_0x207de7[_0x39d945([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x39d945([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39d945([0x6c,0x6f,0x77])}),_0x2f6058[_0x39d945([0x74,0x68,0x65,0x6e])](()=>{_0x819267||_0xe6da2a(_0x39d945([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a5b59(){return _0xac189d[_0x39d945([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39d945([0x76,0x69,0x65,0x77])][_0x39d945([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x39d945([0x61,0x75,0x74,0x6f]);}function _0x44ed1c(){_0xac189d[_0x39d945([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39d945([0x76,0x69,0x65,0x77])][_0x39d945([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x39d945([0x61,0x75,0x74,0x6f]);}}function _0x18e532(_0x52002a){const _0x58d65d=[new window[(_0x39d945([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x104736=>setTimeout(_0x104736,0x45d4ecd9^_0x5151ac)),_0x2f6058[_0x39d945([0x74,0x68,0x65,0x6e])](()=>new window[(_0x39d945([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51c318=>{let _0x40fce4=0x0;_0xac189d[_0x39d945([0x6d,0x6f,0x64,0x65,0x6c])][_0x39d945([0x6f,0x6e])](_0x39d945([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x19d935,_0x428350)=>{_0x428350[0x0][_0x39d945([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x40fce4++,_0x40fce4==(0x45ddd3ed^_0x5151ac)&&(_0x51c318(),_0x19d935[_0x39d945([0x6f,0x66,0x66])]());});}))];return window[_0x39d945([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x39d945([0x72,0x61,0x63,0x65])](_0x58d65d)[_0x39d945([0x74,0x68,0x65,0x6e])](()=>_0x52002a);}async function _0x6400de(){await _0x2f6058,_0xac189d[_0x39d945([0x6d,0x6f,0x64,0x65,0x6c])][_0x39d945([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x8a3453,_0xac189d[_0x39d945([0x6d,0x6f,0x64,0x65,0x6c])][_0x39d945([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x8a3453,_0xac189d[_0x39d945([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x39d945([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2cdecd(_0x20520c){const _0x57ea08=_0xa12f00();_0xac189d[_0x57ea08]=_0x39d945([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x20520c,_0x20520c!=_0x39d945([0x56,0x61,0x6c,0x69,0x64])&&_0x6400de();}function _0xa12f00(){const _0x32725a=window[_0x39d945([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x39d945([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x39d945([0x6e,0x6f,0x77])]())[_0x39d945([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x39d945([0x2e]),'');let _0x4fb7b1=_0x39d945([0x50]);for(let _0x44431e=0x0;_0x44431e<_0x32725a[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44431e+=0x2){let _0x322e6d=window[_0x39d945([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32725a[_0x39d945([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44431e,_0x44431e+0x2));_0x322e6d>=_0x3e1ce4[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x322e6d-=_0x3e1ce4[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4fb7b1+=_0x3e1ce4[_0x322e6d];}return _0x4fb7b1;}function _0x6acdc1(){const _0x5bcada=_0x206b0d[_0x39d945([0x73,0x70,0x6c,0x69,0x74])](_0x39d945([0x2e]));if(0x3!=_0x5bcada[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x625878(_0x5bcada[0x1]);function _0x625878(_0x304814){const _0x4aee85=_0x5ef89c(_0x304814);return _0x4aee85&&_0x5aeec3()?_0x4aee85:null;function _0x5aeec3(){const _0x4ee612=_0x4aee85[_0x39d945([0x6a,0x74,0x69])],_0x473855=window[_0x39d945([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ee612[_0x39d945([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ee612[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3cb20e={..._0x4aee85,[_0x39d945([0x6a,0x74,0x69])]:_0x4ee612[_0x39d945([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ee612[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3cb20e[_0x39d945([0x76,0x63])],_0x479d93(_0x3cb20e)==_0x473855;}}}async function _0x190151(){let _0x59dd6f=!0x0;try{const _0x425da9=_0x206b0d[_0x39d945([0x73,0x70,0x6c,0x69,0x74])](_0x39d945([0x2e])),[_0x1097fb,_0x3bc85a,_0x3b4b2e]=_0x425da9;return _0x4200c3(_0x1097fb),await _0x56e2b9(_0x1097fb,_0x3bc85a,_0x3b4b2e),_0x59dd6f;}catch{return!0x1;}function _0x4200c3(_0xac4c2b){const _0x32b268=_0x5ef89c(_0xac4c2b);_0x32b268&&_0x32b268[_0x39d945([0x61,0x6c,0x67])]==_0x39d945([0x45,0x53,0x32,0x35,0x36])||(_0x59dd6f=!0x1);}async function _0x56e2b9(_0x1296a4,_0x2e0f74,_0x172dbc){const _0x4eb0cc=window[_0x39d945([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x39d945([0x66,0x72,0x6f,0x6d])](_0x17d6b5(_0x172dbc),_0x2f8875=>_0x2f8875[_0x39d945([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x392d77=new window[(_0x39d945([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x39d945([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1296a4+_0x39d945([0x2e])+_0x2e0f74),_0x2caf4b=window[_0x39d945([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x39d945([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2caf4b)return;const _0x5aa19e=await _0x2caf4b[_0x39d945([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x39d945([0x6a,0x77,0x6b]),_0x4a4553,{[_0x39d945([0x6e,0x61,0x6d,0x65])]:_0x39d945([0x45,0x43,0x44,0x53,0x41]),[_0x39d945([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x39d945([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x39d945([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2caf4b[_0x39d945([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x39d945([0x6e,0x61,0x6d,0x65])]:_0x39d945([0x45,0x43,0x44,0x53,0x41]),[_0x39d945([0x68,0x61,0x73,0x68])]:{[_0x39d945([0x6e,0x61,0x6d,0x65])]:_0x39d945([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5aa19e,_0x4eb0cc,_0x392d77)||(_0x59dd6f=!0x1);}}function _0x5ef89c(_0x50910c){return _0x50910c[_0x39d945([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x39d945([0x65,0x79]))?JSON[_0x39d945([0x70,0x61,0x72,0x73,0x65])](_0x17d6b5(_0x50910c)):null;}function _0x17d6b5(_0x1549f5){return window[_0x39d945([0x61,0x74,0x6f,0x62])](_0x1549f5[_0x39d945([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x39d945([0x2b]))[_0x39d945([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x39d945([0x2f])));}function _0x479d93(_0x242305){let _0x480bd5=0x1505;function _0x35af21(_0x59fcfc){for(let _0xe53a2c=0x0;_0xe53a2c<_0x59fcfc[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe53a2c++){const _0x9f6872=_0x59fcfc[_0x39d945([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xe53a2c);_0x480bd5=(_0x480bd5<<0x5)+_0x480bd5+_0x9f6872,_0x480bd5&=_0x480bd5;}}function _0x1f3c28(_0x45780d){Array[_0x39d945([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x45780d)?_0x45780d[_0x39d945([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1f3c28):_0x45780d&&typeof _0x45780d==_0x39d945([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x39d945([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x45780d)[_0x39d945([0x73,0x6f,0x72,0x74])]()[_0x39d945([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x434669,_0x12fc3b])=>{_0x35af21(_0x434669),_0x1f3c28(_0x12fc3b);}):_0x35af21(window[_0x39d945([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x45780d));}return _0x1f3c28(_0x242305),_0x480bd5>>>0x0;}function _0x5707d0(_0x12ac76){return _0x12ac76[_0x39d945([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x39d945([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x39d945([0x30]));}function _0x20349c(_0x56d264){return _0x56d264[_0x39d945([0x73,0x70,0x6c,0x69,0x74])]('')[_0x39d945([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x39d945([0x6a,0x6f,0x69,0x6e])]('');}function _0x8a3453(){}function _0x39d945(_0x51ea0b){const _0x104a7c=_0x7fb1;return _0x51ea0b[_0x104a7c(0x150)](_0x112225=>String[_0x104a7c(0x17b)](_0x112225))[_0x104a7c(0x15d)]('');}_0x2cdecd(await _0x4051b6());}(this);}[_0x3d640c(0x166)](){const _0x2f51a3=_0x3d640c,_0x495b9d=this[_0x2f51a3(0x158)];if(!_0x495b9d[_0x2f51a3(0x15a)][_0x2f51a3(0x156)](_0x2f51a3(0x17f)))return;const _0x155f7d=_0x495b9d[_0x2f51a3(0x15a)][_0x2f51a3(0x156)](_0x2f51a3(0x171))[_0x2f51a3(0x160)](_0x10f648=>_0x2f51a3(0x149)==typeof _0x10f648&&(!_0x5e6979(_0x10f648)&&isNaN(Number(_0x10f648))));if(_0x155f7d[_0x2f51a3(0x178)])throw new _0x33678f(_0x2f51a3(0x17e),null,{'namedPresets':_0x155f7d});}[_0x3d640c(0x164)](){const _0x4b263d=_0x3d640c,_0x2e092e=this[_0x4b263d(0x158)],_0x5c77c0=this[_0x4b263d(0x158)][_0x4b263d(0x15a)][_0x4b263d(0x156)](_0x4b263d(0x16f));_0x2e092e[_0x4b263d(0x165)][_0x4b263d(0x14c)](_0x4b263d(0x14d))[_0x4b263d(0x179)]({'model':{'key':_0x4b263d(0x14f)},'view':_0x2d52a7=>String(_0x2d52a7)===String(_0x5c77c0)?null:{'key':_0x4b263d(0x168),'value':{'line-height':_0x2d52a7}}}),_0x2e092e[_0x4b263d(0x165)][_0x4b263d(0x14c)](_0x4b263d(0x175))[_0x4b263d(0x179)]({'model':{'key':_0x4b263d(0x14f),'value':_0x1f9ad3=>{const _0x3caf39=_0x4b263d;let _0x7c26e4=_0x1f9ad3[_0x3caf39(0x173)](_0x3caf39(0x15e));return _0x2d59a9(_0x7c26e4)&&(_0x7c26e4=String(Number(_0x7c26e4[_0x3caf39(0x169)](0x0,-0x1))/0x64)),String(_0x7c26e4)===String(_0x5c77c0)?null:_0x7c26e4;}},'view':{'styles':{'line-height':/.*/}}});}[_0x3d640c(0x14b)](){const _0xf4cc0=_0x3d640c,_0x3f5322=this[_0xf4cc0(0x158)],_0x186207=this[_0xf4cc0(0x158)][_0xf4cc0(0x15a)][_0xf4cc0(0x156)](_0xf4cc0(0x16f)),_0x325468=_0x379179(this[_0xf4cc0(0x158)][_0xf4cc0(0x15a)][_0xf4cc0(0x156)](_0xf4cc0(0x14f)))[_0xf4cc0(0x160)](_0xdb9ebd=>_0xdb9ebd[_0xf4cc0(0x151)]),_0x1c9606=_0x2c6cc1(_0xf4cc0(0x14f),_0x325468);_0x3f5322[_0xf4cc0(0x165)][_0xf4cc0(0x179)](_0x1c9606),_0x3f5322[_0xf4cc0(0x165)][_0xf4cc0(0x14c)](_0xf4cc0(0x175))[_0xf4cc0(0x179)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0xf4cc0(0x14f),'value':_0x23ad68=>{const _0x8727ac=_0xf4cc0;let _0x5eabc2=_0x23ad68[_0x8727ac(0x173)](_0x8727ac(0x15e));return _0x2d59a9(_0x5eabc2)&&(_0x5eabc2=String(Number(_0x5eabc2[_0x8727ac(0x169)](0x0,-0x1))/0x64)),_0x5eabc2===String(_0x186207)?null:_0x1c9606[_0x8727ac(0x151)][_0x8727ac(0x163)][_0x8727ac(0x15b)](_0x5eabc2)?_0x5eabc2:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x5c19c6}from'ckeditor5/src/core.js';import{addListToDropdown as _0x7ba6ab,createDropdown as _0x55eafa,MenuBarMenuListItemButtonView as _0xb12121,MenuBarMenuListItemView as _0x2dfec8,MenuBarMenuListView as _0x4edb05,MenuBarMenuView as _0x688987,UIModel as _0x492638}from'ckeditor5/src/ui.js';import{Collection as _0x525769}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x47579a}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x4d3334}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x5c19c6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3f0e70={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x3f0e70),this['_registerMenuBarComponent'](_0x3f0e70),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5cd456=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x303562;for(const _0x2c5ce9 in _0x5cd456){const _0x18d79e=_0x2c5ce9,_0x438bde=_0x5cd456[_0x18d79e];if('lineHeightLicenseKeyValid'==_0x438bde||'lineHeightLicenseKeyInvalid'==_0x438bde||'lineHeightLicenseKeyExpired'==_0x438bde||'lineHeightLicenseKeyDomainLimit'==_0x438bde||'lineHeightLicenseKeyNotAllowed'==_0x438bde||'lineHeightLicenseKeyEvaluationLimit'==_0x438bde||'lineHeightLicenseKeyTrialLimit'==_0x438bde||'lineHeightLicenseKeyUsageLimit'==_0x438bde){delete _0x5cd456[_0x18d79e],_0x303562=_0x438bde,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x303562&&_0x5cd456['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x303562&&_0x5cd456['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x303562&&_0x5cd456['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x303562&&_0x5cd456['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x303562&&_0x5cd456['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x303562&&_0x5cd456['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x303562&&_0x5cd456['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0xa13355=this['editor'],t=_0xa13355['t'],_0x57b173=_0xa13355['config']['get']('lineHeight'),_0x1da550={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x4d3334(_0x57b173)['map'](_0x9ca3e2=>{const _0x383d5b=_0x1da550[_0x9ca3e2['title']];return _0x383d5b&&_0x383d5b!=_0x9ca3e2['title']&&(_0x9ca3e2=Object['assign']({},_0x9ca3e2,{'title':_0x383d5b})),_0x9ca3e2;});}['_prepareListOptions'](){const _0x423f17=this['editor']['commands']['get']('lineHeight'),_0x17847e=this['editor']['config']['get']('lineHeight.defaultValue'),_0x43091c=this['_getLocalizedLineHeightOptions'](),_0x3b5e3b=new _0x525769(),_0xed78c5=_0x2db085=>'default'===_0x2db085||String(_0x17847e)===_0x2db085;for(const _0x25cdd7 of _0x43091c){const _0x11967a={'type':'button','model':new _0x492638({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x25cdd7['title'],'withText':!0x0})};_0xed78c5(_0x25cdd7['model'])?(_0x11967a['model']['bind']('isOn')['to'](_0x423f17,'value',_0x4a55a1=>!_0x4a55a1),_0x11967a['model']['commandParam']=void 0x0):(_0x11967a['model']['bind']('isOn')['to'](_0x423f17,'value',_0x10dfa9=>_0x10dfa9===_0x25cdd7['model']),_0x11967a['model']['commandParam']=_0x25cdd7['model']),_0x3b5e3b['add'](_0x11967a);}if(this['_shouldRenderCustomValueOption']()){const _0x1be99a=this['_getCustomValueOptionDefinition'](_0x43091c);_0x3b5e3b['add'](_0x1be99a);}return _0x3b5e3b;}['_getCustomValueOptionDefinition'](_0x52658f){const _0x272568=this['editor'],t=_0x272568['t'],_0x5cece0=_0x272568['commands']['get']('lineHeight'),_0x43d7cd=_0x52658f['map'](_0x3e9695=>_0x3e9695['model']),_0x597e25={'type':'button','model':new _0x492638({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x597e25['model']['bind']('commandParam')['to'](_0x5cece0,'value'),_0x597e25['model']['bind']('isOn')['to'](_0x5cece0,'value',_0x4c25bd=>!!_0x4c25bd&&!_0x43d7cd['includes'](String(_0x4c25bd))),_0x597e25['model']['bind']('label')['to'](_0x5cece0,'value',_0x489eea=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x489eea))),_0x597e25;}['_registerToolbarComponent']({accessibleLabel:_0x1b7435,options:_0x5ec859}){const _0x3653f0=this['editor'],_0x3eaf3f=_0x3653f0['commands']['get']('lineHeight');_0x3653f0['ui']['componentFactory']['add']('lineHeight',_0x1aa8e1=>{const _0x21a6b9=_0x55eafa(_0x1aa8e1);return _0x7ba6ab(_0x21a6b9,_0x5ec859,{'role':'menu','ariaLabel':_0x1b7435}),_0x21a6b9['buttonView']['set']({'label':_0x1b7435,'tooltip':!0x0,'icon':_0x47579a}),_0x21a6b9['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x21a6b9['bind']('isEnabled')['to'](_0x3eaf3f),this['listenTo'](_0x21a6b9,'execute',_0xf0f7be=>{_0x3653f0['execute'](_0xf0f7be['source']['commandName'],{'value':_0xf0f7be['source']['commandParam']}),_0x3653f0['editing']['view']['focus']();}),_0x21a6b9['once']('change:isOpen',()=>{const _0x4ed47e=_0x21a6b9['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x21a6b9,_0x5ec859,_0x4ed47e);}),_0x21a6b9;});}['_registerMenuBarComponent']({accessibleLabel:_0xc8cab3,options:_0x33499a}){const _0x54d24f=this['editor'],_0x43c932=_0x54d24f['commands']['get']('lineHeight');_0x54d24f['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4dc7e=>{const _0x23d95c=new _0x688987(_0x4dc7e);_0x23d95c['buttonView']['set']({'label':_0xc8cab3,'icon':_0x47579a}),_0x23d95c['bind']('isEnabled')['to'](_0x43c932);const _0x14e54b=new _0x4edb05(_0x4dc7e);for(const _0x2707d8 of _0x33499a){const _0x5252f4=new _0x2dfec8(_0x4dc7e,_0x23d95c),_0x4ca2eb=new _0xb12121(_0x4dc7e);_0x4ca2eb['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x4ca2eb['bind'](...Object['keys'](_0x2707d8['model']))['to'](_0x2707d8['model']),_0x4ca2eb['delegate']('execute')['to'](_0x23d95c),_0x4ca2eb['on']('execute',()=>{_0x54d24f['execute'](_0x2707d8['model']['commandName'],{'value':_0x2707d8['model']['commandParam']}),_0x54d24f['editing']['view']['focus']();}),_0x5252f4['children']['add'](_0x4ca2eb),_0x14e54b['items']['add'](_0x5252f4);}return _0x23d95c['panelView']['children']['add'](_0x14e54b),this['_attachCustomOptionVisibilityHandler'](_0x23d95c,_0x33499a,_0x14e54b),_0x23d95c;});}['_attachCustomOptionVisibilityHandler'](_0x484353,_0x11d224,_0x81ab06){if(!this['_shouldRenderCustomValueOption']())return;const _0xc6473d=()=>{if(!_0x484353['isOpen'])return;_0x81ab06['items']['last']['isVisible']=Boolean(_0x11d224['last']['model']['isOn']);};_0xc6473d(),_0x484353['on']('change:isOpen',()=>{_0xc6473d();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1af79c,_0x22a47a){const _0x566905=_0x54f9,_0x5f3540=_0x1af79c();while(!![]){try{const _0x267c6b=-parseInt(_0x566905(0x157))/0x1+-parseInt(_0x566905(0x141))/0x2+parseInt(_0x566905(0x13b))/0x3*(-parseInt(_0x566905(0x14d))/0x4)+parseInt(_0x566905(0x14b))/0x5+parseInt(_0x566905(0x144))/0x6+parseInt(_0x566905(0x146))/0x7*(-parseInt(_0x566905(0x151))/0x8)+parseInt(_0x566905(0x149))/0x9;if(_0x267c6b===_0x22a47a)break;else _0x5f3540['push'](_0x5f3540['shift']());}catch(_0x2090f3){_0x5f3540['push'](_0x5f3540['shift']());}}}(_0x1526,0x71b68));const v={get 'single'(){const _0x47af58=_0x54f9;return{'title':_0x47af58(0x148),'model':_0x47af58(0x142),'view':{'key':_0x47af58(0x14f),'value':_0x47af58(0x14e)}};},get 'double'(){const _0xb5896b=_0x54f9;return{'title':_0xb5896b(0x13e),'model':_0xb5896b(0x139),'view':{'key':_0xb5896b(0x14f),'value':_0xb5896b(0x152)}};}};export function isLineHeightDefaultValue(_0xd6c12c){const _0x308e51=_0x54f9;return _0x308e51(0x158)==typeof _0xd6c12c&&_0x308e51(0x153)===_0xd6c12c[_0x308e51(0x159)]();}export function normalizeOptions(_0x1dd92){const _0x8f80a3=_0x54f9;return _0x1dd92[_0x8f80a3(0x14c)][_0x8f80a3(0x147)](_0x1c0436=>isLineHeightDefaultValue(_0x1c0436)?{'title':String(_0x1dd92[_0x8f80a3(0x155)]),'model':_0x8f80a3(0x153)}:(_0x8f80a3(0x13a)==typeof _0x1c0436&&(_0x1c0436=String(_0x1c0436)),_0x8f80a3(0x158)!=typeof _0x1c0436?_0x1c0436:parseFloat(_0x1c0436)?{'title':_0x1c0436,'model':_0x1c0436,'view':{'name':_0x8f80a3(0x13d),'styles':{'line-height':_0x1c0436}}}:findPreset(_0x1c0436)))[_0x8f80a3(0x145)](_0x3092af=>void 0x0!==_0x3092af);}function _0x1526(){const _0x11a745=['style','defaultValue','key','510136JlbgAU','string','toLowerCase','double','number','213WrKpMa','values','span','Double','model','view','1629864KqacAx','single','line-height:','2857464lIxDid','filter','14sauQAZ','map','Single','18049050tTUZwY','value','1314505zAqgpJ','options','33604iXaJOJ','line-height-single','class','push','1429152zcfQTO','line-height-double','default'];_0x1526=function(){return _0x11a745;};return _0x1526();}export function findPreset(_0x324791){const _0x177c7a=_0x54f9;return _0x177c7a(0x158)==typeof _0x324791?v[_0x324791]:v[_0x324791[_0x177c7a(0x13f)]];}function _0x54f9(_0x2a78b7,_0x4272f6){const _0x152639=_0x1526();return _0x54f9=function(_0x54f9f2,_0xbb4eaf){_0x54f9f2=_0x54f9f2-0x139;let _0x38119f=_0x152639[_0x54f9f2];return _0x38119f;},_0x54f9(_0x2a78b7,_0x4272f6);}export function buildDefinition(_0x4e19cb,_0x964e78){const _0x576b97=_0x54f9,_0x582021={'model':{'key':_0x4e19cb,'values':[]},'view':{}};for(const _0x2280b0 of _0x964e78)_0x576b97(0x14f)===_0x2280b0[_0x576b97(0x140)]?.[_0x576b97(0x156)]?(_0x582021[_0x576b97(0x13f)][_0x576b97(0x13c)][_0x576b97(0x150)](_0x2280b0[_0x576b97(0x13f)]),_0x582021[_0x576b97(0x140)][_0x2280b0[_0x576b97(0x13f)]]={'key':_0x576b97(0x14f),'value':_0x2280b0[_0x576b97(0x140)][_0x576b97(0x14a)]}):(_0x582021[_0x576b97(0x13f)][_0x576b97(0x13c)][_0x576b97(0x150)](_0x2280b0[_0x576b97(0x13f)]),_0x582021[_0x576b97(0x140)][_0x2280b0[_0x576b97(0x13f)]]={'key':_0x576b97(0x154),'value':_0x576b97(0x143)+_0x2280b0[_0x576b97(0x13f)]+';'});return _0x582021;}
|