@ckeditor/ckeditor5-line-height 0.0.0-nightly-20251228.0 → 0.0.0-nightly-next-20251228.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/index.js +1 -1
- package/src/integrations/todolist.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5b89(){const _0x1357a6=['144TiSQLh','--ck-content-list-marker-line-height','item','ListEditing','add','elementToElement','high','for','ck-list-marker-line-height','has','getAttribute','listType','isPremiumPlugin','upcast','TodoListEditing','492878zjGfQJ','element:li','todo-list__label__description','19615905QvarKe','1DmyBEh','3576960PbRBtV','addClass','isOfficialPlugin','viewItem','editor','consume','consumable','lineHeight','33676UeMXHr','todo','span','name','init','paragraph','get','registerDowncastStrategy','pluginName','LineHeightTodoListIntegration','683305tmXgii','setStyle','match','2484336obIeSv','715025hXzkpQ'];_0x5b89=function(){return _0x1357a6;};return _0x5b89();}const _0x10d5a9=_0x58fe;(function(_0xc86074,_0x24f337){const _0x55c9ca=_0x58fe,_0x23d1a0=_0xc86074();while(!![]){try{const _0x571c17=-parseInt(_0x55c9ca(0x109))/0x1*(parseInt(_0x55c9ca(0x130))/0x2)+-parseInt(_0x55c9ca(0x121))/0x3*(parseInt(_0x55c9ca(0x112))/0x4)+-parseInt(_0x55c9ca(0x120))/0x5+-parseInt(_0x55c9ca(0x10a))/0x6+-parseInt(_0x55c9ca(0x11c))/0x7+-parseInt(_0x55c9ca(0x11f))/0x8+parseInt(_0x55c9ca(0x108))/0x9;if(_0x571c17===_0x24f337)break;else _0x23d1a0['push'](_0x23d1a0['shift']());}catch(_0x5873d5){_0x23d1a0['push'](_0x23d1a0['shift']());}}}(_0x5b89,0x5d2e8));import{Plugin as _0x55e959}from'ckeditor5/src/core.js';import{Matcher as _0x2b1134}from'ckeditor5/src/engine.js';function _0x58fe(_0x1a84ce,_0x3fe62e){const _0x5b89ae=_0x5b89();return _0x58fe=function(_0x58fe86,_0x308965){_0x58fe86=_0x58fe86-0x108;let _0x4c221c=_0x5b89ae[_0x58fe86];return _0x4c221c;},_0x58fe(_0x1a84ce,_0x3fe62e);}import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x55e959{static get[_0x10d5a9(0x11a)](){const _0x2356cd=_0x10d5a9;return _0x2356cd(0x11b);}static get[_0x10d5a9(0x10c)](){return!0x0;}static get[_0x10d5a9(0x12d)](){return!0x0;}[_0x10d5a9(0x116)](){const _0x3481fd=_0x10d5a9,{plugins:_0x1fddb9,conversion:_0x5e9890}=this[_0x3481fd(0x10e)];if(!_0x1fddb9[_0x3481fd(0x12a)](_0x3481fd(0x124))||!_0x1fddb9[_0x3481fd(0x12a)](_0x3481fd(0x12f)))return;_0x1fddb9[_0x3481fd(0x118)](_0x3481fd(0x124))[_0x3481fd(0x119)]({'scope':_0x3481fd(0x123),'attributeName':_0x3481fd(0x111),'consume':!0x1,'setAttributeOnDowncast'(_0x37e9d8,_0x55000d,_0x3f16c8,_0x5ef670,_0x37f893){const _0x44914e=_0x3481fd;_0x44914e(0x113)==_0x37f893[_0x44914e(0x12b)](_0x44914e(0x12c))&&_0x55000d&&(_0x37e9d8[_0x44914e(0x10b)](_0x44914e(0x129),_0x3f16c8),_0x37e9d8[_0x44914e(0x11d)](_0x44914e(0x122),_0x55000d,_0x3f16c8));}}),_0x5e9890[_0x3481fd(0x128)](_0x3481fd(0x12e))[_0x3481fd(0x126)]({'view':{'name':_0x3481fd(0x114),'classes':_0x3481fd(0x132)},'model':_0x3481fd(0x117),'converterPriority':_0x3481fd(0x127)}),_0x5e9890[_0x3481fd(0x128)](_0x3481fd(0x12e))[_0x3481fd(0x125)](_0x39a662=>{const _0x2d5ded=_0x3481fd;_0x39a662['on'](_0x2d5ded(0x131),function(_0x4ad502){const _0x5b10b4=new _0x2b1134(_0x4ad502);return(_0x4589fa,_0x3395cc,_0x186169)=>{const _0x500d5f=_0x58fe,_0x340724=_0x5b10b4[_0x500d5f(0x11e)](_0x3395cc[_0x500d5f(0x10d)]);if(!_0x340724)return;const _0x2248d2=_0x340724[_0x500d5f(0x11e)];_0x2248d2[_0x500d5f(0x115)]=!0x1,_0x186169[_0x500d5f(0x110)][_0x500d5f(0x10f)](_0x3395cc[_0x500d5f(0x10d)],_0x2248d2);};}({'name':'li','classes':_0x2d5ded(0x129),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2ef7f2=_0x5b27;(function(_0x23c2c5,_0x2a1388){var _0x27ffdd=_0x5b27,_0x22dcc1=_0x23c2c5();while(!![]){try{var _0x87dfc2=parseInt(_0x27ffdd(0xf5))/0x1*(-parseInt(_0x27ffdd(0x100))/0x2)+-parseInt(_0x27ffdd(0xf7))/0x3+parseInt(_0x27ffdd(0xf9))/0x4+parseInt(_0x27ffdd(0xff))/0x5+-parseInt(_0x27ffdd(0xfe))/0x6*(-parseInt(_0x27ffdd(0xf8))/0x7)+-parseInt(_0x27ffdd(0x102))/0x8+parseInt(_0x27ffdd(0xfd))/0x9*(parseInt(_0x27ffdd(0xfb))/0xa);if(_0x87dfc2===_0x2a1388)break;else _0x22dcc1['push'](_0x22dcc1['shift']());}catch(_0x2dcf7b){_0x22dcc1['push'](_0x22dcc1['shift']());}}}(_0x3958,0x878b4));import{Plugin as _0xf66940}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x3b84cf}from'./lineheightediting.js';import{LineHeightUI as _0x369274}from'./lineheightui.js';export class LineHeight extends _0xf66940{static get[_0x2ef7f2(0xfa)](){return[_0x3b84cf,_0x369274];}static get[_0x2ef7f2(0x101)](){var _0x109ce1=_0x2ef7f2;return _0x109ce1(0xf4);}static get[_0x2ef7f2(0xfc)](){return!0x0;}static get[_0x2ef7f2(0xf6)](){return!0x0;}}function _0x5b27(_0x56bb63,_0x4128ed){var _0x3958ef=_0x3958();return _0x5b27=function(_0x5b271c,_0x158bca){_0x5b271c=_0x5b271c-0xf4;var _0x5e362a=_0x3958ef[_0x5b271c];return _0x5e362a;},_0x5b27(_0x56bb63,_0x4128ed);}function _0x3958(){var _0x4b2d74=['131XuLBzx','isPremiumPlugin','2574924rJWRtL','7174013cWYFvG','485068oKDuTO','requires','10kSSima','isOfficialPlugin','3496302Mqxeax','6XiszCb','1107050tXAbEC','1182TJGJno','pluginName','2120776cOwdDw','LineHeight'];_0x3958=function(){return _0x4b2d74;};return _0x3958();}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x55ac(_0x2e0d7b,_0x4a8751){const _0x30a86f=_0x30a8();return _0x55ac=function(_0x55ac67,_0x56f3f8){_0x55ac67=_0x55ac67-0x94;let _0x20d68a=_0x30a86f[_0x55ac67];return _0x20d68a;},_0x55ac(_0x2e0d7b,_0x4a8751);}const _0x50fd3f=_0x55ac;function _0x30a8(){const _0x1c4cbd=['removeAttribute','filter','1514625TqXSgg','selection','_canHaveLineHeight','value','model','37935800GyGMwM','getSelectedBlocks','5871600dOiUYA','isEnabled','7212708CqdslT','schema','getAttribute','editor','setAttribute','343646nrsrdN','from','document','lineHeight','change','6065430cGpPPK','128173LJGaiG','checkAttribute','refresh','execute','15PlAEKR'];_0x30a8=function(){return _0x1c4cbd;};return _0x30a8();}(function(_0x29c714,_0x2f373b){const _0x3bf610=_0x55ac,_0x160033=_0x29c714();while(!![]){try{const _0x37e2c2=parseInt(_0x3bf610(0x9e))/0x1+-parseInt(_0x3bf610(0x98))/0x2*(parseInt(_0x3bf610(0xa2))/0x3)+-parseInt(_0x3bf610(0xac))/0x4+parseInt(_0x3bf610(0xa5))/0x5+-parseInt(_0x3bf610(0xae))/0x6+-parseInt(_0x3bf610(0x9d))/0x7+parseInt(_0x3bf610(0xaa))/0x8;if(_0x37e2c2===_0x2f373b)break;else _0x160033['push'](_0x160033['shift']());}catch(_0xb2f379){_0x160033['push'](_0x160033['shift']());}}}(_0x30a8,0xbdcea));import{Command as _0x4c728e}from'ckeditor5/src/core.js';import{first as _0x25fee5}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x4c728e{[_0x50fd3f(0xa0)](){const _0xeb2ae7=_0x50fd3f,_0x56772e=this[_0xeb2ae7(0x96)][_0xeb2ae7(0xa9)][_0xeb2ae7(0x9a)],_0xe79c1f=_0x25fee5(_0x56772e[_0xeb2ae7(0xa6)][_0xeb2ae7(0xab)]());this[_0xeb2ae7(0xad)]=Boolean(_0xe79c1f)&&this[_0xeb2ae7(0xa7)](_0xe79c1f),this[_0xeb2ae7(0xa8)]=this[_0xeb2ae7(0xad)]&&_0xe79c1f[_0xeb2ae7(0x95)](_0xeb2ae7(0x9b));}[_0x50fd3f(0xa1)](_0x911a7={}){const _0x4bf67d=_0x50fd3f,_0x181f7d=this[_0x4bf67d(0x96)][_0x4bf67d(0xa9)],_0xc56b7e=_0x181f7d[_0x4bf67d(0x9a)][_0x4bf67d(0xa6)],_0x525dd4=_0x911a7[_0x4bf67d(0xa8)];_0x181f7d[_0x4bf67d(0x9c)](_0x5024a1=>{const _0x2a003c=_0x4bf67d,_0x1d25c1=Array[_0x2a003c(0x99)](_0xc56b7e[_0x2a003c(0xab)]())[_0x2a003c(0xa4)](_0x3a4244=>this[_0x2a003c(0xa7)](_0x3a4244));for(const _0x254107 of _0x1d25c1)_0x525dd4?_0x5024a1[_0x2a003c(0x97)](_0x2a003c(0x9b),_0x525dd4,_0x254107):_0x5024a1[_0x2a003c(0xa3)](_0x2a003c(0x9b),_0x254107);});}[_0x50fd3f(0xa7)](_0xc2a6f0){const _0x9fc096=_0x50fd3f;return this[_0x9fc096(0x96)][_0x9fc096(0xa9)][_0x9fc096(0x94)][_0x9fc096(0x9f)](_0xc2a6f0,_0x9fc096(0x9b));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xc92205=_0x3dd5;function _0x3dd5(_0x3ca709,_0x362041){const _0x1ae3b2=_0x1ae3();return _0x3dd5=function(_0x3dd515,_0x5abefa){_0x3dd515=_0x3dd515-0xd2;let _0x48a974=_0x1ae3b2[_0x3dd515];return _0x48a974;},_0x3dd5(_0x3ca709,_0x362041);}(function(_0x3fa171,_0x24f790){const _0x57a6f4=_0x3dd5,_0x17810f=_0x3fa171();while(!![]){try{const _0x14528b=-parseInt(_0x57a6f4(0xf2))/0x1*(-parseInt(_0x57a6f4(0xf5))/0x2)+parseInt(_0x57a6f4(0x10a))/0x3*(-parseInt(_0x57a6f4(0xd3))/0x4)+-parseInt(_0x57a6f4(0xe0))/0x5+-parseInt(_0x57a6f4(0xe9))/0x6*(-parseInt(_0x57a6f4(0xe4))/0x7)+-parseInt(_0x57a6f4(0x101))/0x8*(-parseInt(_0x57a6f4(0xeb))/0x9)+-parseInt(_0x57a6f4(0xe6))/0xa+-parseInt(_0x57a6f4(0xd9))/0xb*(parseInt(_0x57a6f4(0x102))/0xc);if(_0x14528b===_0x24f790)break;else _0x17810f['push'](_0x17810f['shift']());}catch(_0x46e3d3){_0x17810f['push'](_0x17810f['shift']());}}}(_0x1ae3,0xa79d2));import{Plugin as _0x544726}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x46544d}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4bd55d}from'ckeditor5/src/engine.js';import{uid as _0x16d76e,CKEditorError as _0x47ee4b}from'ckeditor5/src/utils.js';import{buildDefinition as _0x5d6e72,isLineHeightDefaultValue as _0x3780d9,normalizeOptions as _0x106994}from'./utils.js';import{LineHeightTodoListIntegration as _0x1118e0}from'./integrations/todolist.js';export class LineHeightEditing extends _0x544726{static get[_0xc92205(0xdb)](){const _0x53c5ba=_0xc92205;return _0x53c5ba(0x108);}static get[_0xc92205(0x106)](){return[_0x1118e0];}static get[_0xc92205(0x109)](){return!0x0;}static get[_0xc92205(0xee)](){return!0x0;}constructor(_0x11ead4){const _0x38d36a=_0xc92205;super(_0x11ead4),_0x11ead4[_0x38d36a(0xf6)][_0x38d36a(0xf9)](_0x38d36a(0xf0),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x38d36a(0xd4),0x2,2.5,0x3]});}[_0xc92205(0xf7)](){const _0x520851=_0xc92205,_0x188824=this[_0x520851(0xea)];this[_0x520851(0xda)](),_0x188824[_0x520851(0x103)][_0x520851(0xe8)][_0x520851(0xdd)](_0x520851(0xd6),{'allowAttributes':_0x520851(0xf0)}),_0x188824[_0x520851(0x103)][_0x520851(0xe8)][_0x520851(0xdc)](_0x520851(0xf0),{'isFormatting':!0x0}),_0x188824[_0x520851(0xec)][_0x520851(0xed)](_0x520851(0xf0),new _0x46544d(_0x188824)),this[_0x520851(0xea)][_0x520851(0xf6)][_0x520851(0x105)](_0x520851(0xe7))?this[_0x520851(0xff)]():this[_0x520851(0xdf)]();}[_0xc92205(0xd2)](){!async function(_0x571cff){const _0x5aa464=_0x17af34([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]),_0x4496fe=0x45ddd215,_0x4a4555=0x45daaf25^_0x4496fe,_0x935280=window[_0x17af34([0x44,0x61,0x74,0x65])][_0x17af34([0x6e,0x6f,0x77])](),_0x2a33df=_0x571cff[_0x17af34([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x353f81=new window[(_0x17af34([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f78ac=>{_0x2a33df[_0x17af34([0x6f,0x6e,0x63,0x65])](_0x17af34([0x72,0x65,0x61,0x64,0x79]),_0x3f78ac);}),_0x35191b={[_0x17af34([0x6b,0x74,0x79])]:_0x17af34([0x45,0x43]),[_0x17af34([0x75,0x73,0x65])]:_0x17af34([0x73,0x69,0x67]),[_0x17af34([0x63,0x72,0x76])]:_0x17af34([0x50,0x2d,0x32,0x35,0x36]),[_0x17af34([0x78])]:_0x17af34([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]),[_0x17af34([0x79])]:_0x17af34([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]),[_0x17af34([0x61,0x6c,0x67])]:_0x17af34([0x45,0x53,0x32,0x35,0x36])},_0x1681fa=_0x2a33df[_0x17af34([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x17af34([0x67,0x65,0x74])](_0x17af34([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4ea1e4(){let _0x1fb82d,_0x1320cb=null,_0x28f6bf=null;try{if(_0x1681fa==_0x17af34([0x47,0x50,0x4c]))return _0x17af34([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1fb82d=_0x157bd7(),!_0x1fb82d)return _0x17af34([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1fb82d[_0x17af34([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28f6bf=_0x28ba9d(_0x1fb82d[_0x17af34([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1fb82d[_0x17af34([0x6a,0x74,0x69])])),await _0x25ca0b()?_0x1f3e33()?_0x3bd958()?_0x17af34([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1d1769()?(_0x1fb82d[_0x17af34([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x17af34([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1320cb=_0x56e6bb(_0x17af34([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1fb82d[_0x17af34([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x17af34([0x74,0x72,0x69,0x61,0x6c])&&(_0x1320cb=_0x56e6bb(_0x17af34([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xab4cb9()):_0x17af34([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x17af34([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x17af34([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x17af34([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3bd958(){const _0x218266=[_0x17af34([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x17af34([0x74,0x72,0x69,0x61,0x6c])][_0x17af34([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fb82d[_0x17af34([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x935280/0x3e8:0xe10*_0x4a4555;return _0x1fb82d[_0x17af34([0x65,0x78,0x70])]<_0x218266;}function _0x1f3e33(){const _0x3f9044=_0x1fb82d[_0x17af34([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3f9044&&(!!_0x3f9044[_0x17af34([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17af34([0x2a]))||!!_0x3f9044[_0x17af34([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17af34([0x4c,0x48])));}function _0x1d1769(){const _0x5ec47f=_0x3dd5,_0x37284b=_0x1fb82d[_0x17af34([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x37284b||0x0==_0x37284b[_0x17af34([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2cb2a9}=new URL(window[_0x17af34([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5ec47f(0xef)]);if(_0x37284b[_0x17af34([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cb2a9))return!0x0;const _0x4aa8c9=_0x2cb2a9[_0x17af34([0x73,0x70,0x6c,0x69,0x74])](_0x17af34([0x2e]));return _0x37284b[_0x17af34([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x76e427=>_0x76e427[_0x17af34([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17af34([0x2a])))[_0x17af34([0x6d,0x61,0x70])](_0x1404a0=>_0x1404a0[_0x17af34([0x73,0x70,0x6c,0x69,0x74])](_0x17af34([0x2e])))[_0x17af34([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a15a1=>_0x2a15a1[_0x17af34([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4aa8c9[_0x17af34([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17af34([0x6d,0x61,0x70])](_0x392ab7=>Array(_0x4aa8c9[_0x17af34([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x392ab7[_0x17af34([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17af34([0x66,0x69,0x6c,0x6c])](_0x392ab7[0x0]===_0x17af34([0x2a])?_0x17af34([0x2a]):'')[_0x17af34([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x392ab7))[_0x17af34([0x73,0x6f,0x6d,0x65])](_0x1d9b8a=>_0x4aa8c9[_0x17af34([0x65,0x76,0x65,0x72,0x79])]((_0x37905d,_0x451d96)=>_0x1d9b8a[_0x451d96]===_0x37905d||_0x1d9b8a[_0x451d96]===_0x17af34([0x2a])));}function _0xab4cb9(){return _0x1320cb&&_0x28f6bf?new window[(_0x17af34([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ceb2e,_0x2ca6be)=>{_0x1320cb[_0x17af34([0x74,0x68,0x65,0x6e])](_0x1ceb2e,_0x2ca6be),_0x28f6bf[_0x17af34([0x74,0x68,0x65,0x6e])](_0x28de62=>{_0x28de62!=_0x17af34([0x56,0x61,0x6c,0x69,0x64])&&_0x1ceb2e(_0x28de62);},_0x2ca6be);}):_0x1320cb||_0x28f6bf||_0x17af34([0x56,0x61,0x6c,0x69,0x64]);}}function _0x28ba9d(_0x4b1df5,_0x5c578b){return new window[(_0x17af34([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53616c=>{if(_0x5c2b82())return _0x53616c(_0x17af34([0x56,0x61,0x6c,0x69,0x64]));_0x302270(),_0x2a33df[_0x17af34([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x17af34([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x8dc41c=!0x1;const _0x472632=_0x16d76e();function _0x3ee0c6(_0x92d1b2){return!!_0x92d1b2&&(typeof _0x92d1b2===_0x17af34([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x92d1b2===_0x17af34([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x92d1b2[_0x17af34([0x74,0x68,0x65,0x6e])]===_0x17af34([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x92d1b2[_0x17af34([0x63,0x61,0x74,0x63,0x68])]===_0x17af34([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x10872f(_0xdd845c){_0x171b49(_0xdd845c)[_0x17af34([0x74,0x68,0x65,0x6e])](_0x4bcd66=>{if(!_0x4bcd66||_0x4bcd66[_0x17af34([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x17af34([0x6f,0x6b]))return _0x17af34([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3db9a1(_0x4c132e(_0x472632+_0x5c578b))!=_0x4bcd66[_0x17af34([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x17af34([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x17af34([0x56,0x61,0x6c,0x69,0x64]);})[_0x17af34([0x74,0x68,0x65,0x6e])](_0x570b27=>(_0x44641f(),_0x570b27),()=>{const _0x457618=_0xb28ae1();return null==_0x457618?(_0x44641f(),_0x17af34([0x56,0x61,0x6c,0x69,0x64])):_0x17af34(_0x935280-_0x457618>(0x61d15615^_0x4496fe)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x17af34([0x74,0x68,0x65,0x6e])](_0x53616c)[_0x17af34([0x63,0x61,0x74,0x63,0x68])](()=>{_0x53616c(_0x17af34([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x54103d=0x45eb3c95^_0x4496fe;function _0x44641f(){const _0x313a3d=_0x17af34([0x6c,0x6c,0x63,0x74,0x2d])+_0x3db9a1(_0x4c132e(_0x4b1df5)),_0x500d7d=_0xf68446(_0x3db9a1(window[_0x17af34([0x4d,0x61,0x74,0x68])][_0x17af34([0x63,0x65,0x69,0x6c])](_0x935280/_0x54103d)));window[_0x17af34([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17af34([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x313a3d,_0x500d7d);}function _0xb28ae1(){const _0x33c19c=_0x17af34([0x6c,0x6c,0x63,0x74,0x2d])+_0x3db9a1(_0x4c132e(_0x4b1df5)),_0x3539e5=window[_0x17af34([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17af34([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33c19c);return _0x3539e5?window[_0x17af34([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf68446(_0x3539e5),0x10)*_0x54103d:null;}function _0x171b49(_0xae7bda){return new window[(_0x17af34([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x415f1b,_0x1e7649)=>{_0xae7bda[_0x17af34([0x74,0x68,0x65,0x6e])](_0x415f1b,_0x1e7649),window[_0x17af34([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e7649,0x45dc06d5^_0x4496fe);});}}_0x2a33df[_0x17af34([0x6f,0x6e])](_0x17af34([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xb89872,_0xacd2ca)=>{if(_0xacd2ca[0x0]!=_0x4b1df5)return _0x53616c(_0x17af34([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xacd2ca[0x1]={..._0xacd2ca[0x1],[_0x17af34([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x472632};},{[_0x17af34([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17af34([0x68,0x69,0x67,0x68])}),_0x2a33df[_0x17af34([0x6f,0x6e])](_0x17af34([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x82a559=>{_0x3ee0c6(_0x82a559[_0x17af34([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x8dc41c=!0x0,_0x10872f(_0x82a559[_0x17af34([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x17af34([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17af34([0x6c,0x6f,0x77])}),_0x353f81[_0x17af34([0x74,0x68,0x65,0x6e])](()=>{_0x8dc41c||_0x53616c(_0x17af34([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c2b82(){return _0x2a33df[_0x17af34([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17af34([0x76,0x69,0x65,0x77])][_0x17af34([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x17af34([0x61,0x75,0x74,0x6f]);}function _0x302270(){_0x2a33df[_0x17af34([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17af34([0x76,0x69,0x65,0x77])][_0x17af34([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x17af34([0x61,0x75,0x74,0x6f]);}}function _0x56e6bb(_0xdfd358){const _0x33bedb=[new window[(_0x17af34([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x448b8c=>setTimeout(_0x448b8c,0x45d4ecd9^_0x4496fe)),_0x353f81[_0x17af34([0x74,0x68,0x65,0x6e])](()=>new window[(_0x17af34([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x519b60=>{let _0x36a760=0x0;_0x2a33df[_0x17af34([0x6d,0x6f,0x64,0x65,0x6c])][_0x17af34([0x6f,0x6e])](_0x17af34([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x573f46,_0x56cbd8)=>{_0x56cbd8[0x0][_0x17af34([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x36a760++,_0x36a760==(0x45ddd7fd^_0x4496fe)&&(_0x519b60(),_0x573f46[_0x17af34([0x6f,0x66,0x66])]());});}))];return window[_0x17af34([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x17af34([0x72,0x61,0x63,0x65])](_0x33bedb)[_0x17af34([0x74,0x68,0x65,0x6e])](()=>_0xdfd358);}async function _0x87ad6f(){await _0x353f81,_0x2a33df[_0x17af34([0x6d,0x6f,0x64,0x65,0x6c])][_0x17af34([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ad63b,_0x2a33df[_0x17af34([0x6d,0x6f,0x64,0x65,0x6c])][_0x17af34([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ad63b,_0x2a33df[_0x17af34([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x17af34([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1cb62f(_0x33be74){const _0x43ec81=_0x14c486();_0x2a33df[_0x43ec81]=_0x17af34([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x33be74,_0x33be74!=_0x17af34([0x56,0x61,0x6c,0x69,0x64])&&_0x87ad6f();}function _0x14c486(){const _0x4e8448=window[_0x17af34([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x17af34([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x17af34([0x6e,0x6f,0x77])]())[_0x17af34([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x17af34([0x2e]),'');let _0x33163d=_0x17af34([0x50]);for(let _0x19419d=0x0;_0x19419d<_0x4e8448[_0x17af34([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19419d+=0x2){let _0x309cf5=window[_0x17af34([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e8448[_0x17af34([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19419d,_0x19419d+0x2));_0x309cf5>=_0x5aa464[_0x17af34([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x309cf5-=_0x5aa464[_0x17af34([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x33163d+=_0x5aa464[_0x309cf5];}return _0x33163d;}function _0x157bd7(){const _0x1a0789=_0x1681fa[_0x17af34([0x73,0x70,0x6c,0x69,0x74])](_0x17af34([0x2e]));if(0x3!=_0x1a0789[_0x17af34([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x246535(_0x1a0789[0x1]);function _0x246535(_0x5db672){const _0x32dec7=_0x3063b2(_0x5db672);return _0x32dec7&&_0x15fce()?_0x32dec7:null;function _0x15fce(){const _0x37c2db=_0x32dec7[_0x17af34([0x6a,0x74,0x69])],_0x3422d0=window[_0x17af34([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37c2db[_0x17af34([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37c2db[_0x17af34([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2c5e1d={..._0x32dec7,[_0x17af34([0x6a,0x74,0x69])]:_0x37c2db[_0x17af34([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x37c2db[_0x17af34([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2c5e1d[_0x17af34([0x76,0x63])],_0x4c132e(_0x2c5e1d)==_0x3422d0;}}}async function _0x25ca0b(){let _0x35f51c=!0x0;try{const _0x5ef999=_0x1681fa[_0x17af34([0x73,0x70,0x6c,0x69,0x74])](_0x17af34([0x2e])),[_0x408a66,_0x4569f4,_0xa9907]=_0x5ef999;return _0x1d1220(_0x408a66),await _0x3708cc(_0x408a66,_0x4569f4,_0xa9907),_0x35f51c;}catch{return!0x1;}function _0x1d1220(_0x127079){const _0x16eae9=_0x3063b2(_0x127079);_0x16eae9&&_0x16eae9[_0x17af34([0x61,0x6c,0x67])]==_0x17af34([0x45,0x53,0x32,0x35,0x36])||(_0x35f51c=!0x1);}async function _0x3708cc(_0xd910a3,_0x210f91,_0x3e5998){const _0x4f56cc=window[_0x17af34([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x17af34([0x66,0x72,0x6f,0x6d])](_0x256e25(_0x3e5998),_0x373838=>_0x373838[_0x17af34([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xf98d5=new window[(_0x17af34([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x17af34([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xd910a3+_0x17af34([0x2e])+_0x210f91),_0x35dae3=window[_0x17af34([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x17af34([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x35dae3)return;const _0x6e67ea=await _0x35dae3[_0x17af34([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x17af34([0x6a,0x77,0x6b]),_0x35191b,{[_0x17af34([0x6e,0x61,0x6d,0x65])]:_0x17af34([0x45,0x43,0x44,0x53,0x41]),[_0x17af34([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x17af34([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x17af34([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x35dae3[_0x17af34([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x17af34([0x6e,0x61,0x6d,0x65])]:_0x17af34([0x45,0x43,0x44,0x53,0x41]),[_0x17af34([0x68,0x61,0x73,0x68])]:{[_0x17af34([0x6e,0x61,0x6d,0x65])]:_0x17af34([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x6e67ea,_0x4f56cc,_0xf98d5)||(_0x35f51c=!0x1);}}function _0x3063b2(_0x49ba2c){return _0x49ba2c[_0x17af34([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x17af34([0x65,0x79]))?JSON[_0x17af34([0x70,0x61,0x72,0x73,0x65])](_0x256e25(_0x49ba2c)):null;}function _0x256e25(_0x172a8a){return window[_0x17af34([0x61,0x74,0x6f,0x62])](_0x172a8a[_0x17af34([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x17af34([0x2b]))[_0x17af34([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x17af34([0x2f])));}function _0x4c132e(_0x5558f7){let _0x97e9c2=0x1505;function _0x16b6e0(_0x3f96e2){for(let _0x1c4423=0x0;_0x1c4423<_0x3f96e2[_0x17af34([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c4423++){const _0x1baaa6=_0x3f96e2[_0x17af34([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1c4423);_0x97e9c2=(_0x97e9c2<<0x5)+_0x97e9c2+_0x1baaa6,_0x97e9c2&=_0x97e9c2;}}function _0x901880(_0x222937){Array[_0x17af34([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x222937)?_0x222937[_0x17af34([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x901880):_0x222937&&typeof _0x222937==_0x17af34([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x17af34([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x222937)[_0x17af34([0x73,0x6f,0x72,0x74])]()[_0x17af34([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1d7441,_0x373928])=>{_0x16b6e0(_0x1d7441),_0x901880(_0x373928);}):_0x16b6e0(window[_0x17af34([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x222937));}return _0x901880(_0x5558f7),_0x97e9c2>>>0x0;}function _0x3db9a1(_0x57789e){return _0x57789e[_0x17af34([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x17af34([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x17af34([0x30]));}function _0xf68446(_0x326972){return _0x326972[_0x17af34([0x73,0x70,0x6c,0x69,0x74])]('')[_0x17af34([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x17af34([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ad63b(){}function _0x17af34(_0xbcf498){const _0x363dd9=_0x3dd5;return _0xbcf498[_0x363dd9(0xfe)](_0x447bff=>String[_0x363dd9(0xe3)](_0x447bff))[_0x363dd9(0x100)]('');}_0x1cb62f(await _0x4ea1e4());}(this);}[_0xc92205(0xda)](){const _0x1b3aa5=_0xc92205,_0x2fbd26=this[_0x1b3aa5(0xea)];if(!_0x2fbd26[_0x1b3aa5(0xf6)][_0x1b3aa5(0x105)](_0x1b3aa5(0xe7)))return;const _0x5aa903=_0x2fbd26[_0x1b3aa5(0xf6)][_0x1b3aa5(0x105)](_0x1b3aa5(0xd5))[_0x1b3aa5(0xfa)](_0x35615c=>_0x1b3aa5(0xf4)==typeof _0x35615c&&(!_0x3780d9(_0x35615c)&&isNaN(Number(_0x35615c))));if(_0x5aa903[_0x1b3aa5(0xf3)])throw new _0x47ee4b(_0x1b3aa5(0xfc),null,{'namedPresets':_0x5aa903});}[_0xc92205(0xff)](){const _0x161f85=_0xc92205,_0x22e429=this[_0x161f85(0xea)],_0x1e027e=this[_0x161f85(0xea)][_0x161f85(0xf6)][_0x161f85(0x105)](_0x161f85(0xfb));_0x22e429[_0x161f85(0xde)][_0x161f85(0xe5)](_0x161f85(0xd7))[_0x161f85(0x104)]({'model':{'key':_0x161f85(0xf0)},'view':_0x3e216c=>String(_0x3e216c)===String(_0x1e027e)?null:{'key':_0x161f85(0xe2),'value':{'line-height':_0x3e216c}}}),_0x22e429[_0x161f85(0xde)][_0x161f85(0xe5)](_0x161f85(0xfd))[_0x161f85(0x104)]({'model':{'key':_0x161f85(0xf0),'value':_0x38f258=>{const _0x8b3312=_0x161f85;let _0x2b2ef9=_0x38f258[_0x8b3312(0xe1)](_0x8b3312(0x107));return _0x4bd55d(_0x2b2ef9)&&(_0x2b2ef9=String(Number(_0x2b2ef9[_0x8b3312(0xf8)](0x0,-0x1))/0x64)),String(_0x2b2ef9)===String(_0x1e027e)?null:_0x2b2ef9;}},'view':{'styles':{'line-height':/.*/}}});}[_0xc92205(0xdf)](){const _0x336bde=_0xc92205,_0xebb5b9=this[_0x336bde(0xea)],_0x3fe1e7=this[_0x336bde(0xea)][_0x336bde(0xf6)][_0x336bde(0x105)](_0x336bde(0xfb)),_0x1d9fb7=_0x106994(this[_0x336bde(0xea)][_0x336bde(0xf6)][_0x336bde(0x105)](_0x336bde(0xf0)))[_0x336bde(0xfa)](_0x10f874=>_0x10f874[_0x336bde(0x103)]),_0x2c96cd=_0x5d6e72(_0x336bde(0xf0),_0x1d9fb7);_0xebb5b9[_0x336bde(0xde)][_0x336bde(0x104)](_0x2c96cd),_0xebb5b9[_0x336bde(0xde)][_0x336bde(0xe5)](_0x336bde(0xfd))[_0x336bde(0x104)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x336bde(0xf0),'value':_0xbabfc7=>{const _0x523853=_0x336bde;let _0x30416d=_0xbabfc7[_0x523853(0xe1)](_0x523853(0x107));return _0x4bd55d(_0x30416d)&&(_0x30416d=String(Number(_0x30416d[_0x523853(0xf8)](0x0,-0x1))/0x64)),_0x30416d===String(_0x3fe1e7)?null:_0x2c96cd[_0x523853(0x103)][_0x523853(0xf1)][_0x523853(0xd8)](_0x30416d)?_0x30416d:null;}}});}}function _0x1ae3(){const _0x9efac3=['fromCharCode','1057AvCeVE','for','739490KCxufS','lineHeight.supportAllValues','schema','22740LwHtjZ','editor','9FuXnQy','commands','add','isPremiumPlugin','href','lineHeight','values','263iZvlxI','length','string','4518zGGTBP','config','init','slice','define','filter','lineHeight.defaultValue','line-height-invalid-use-of-named-presets','upcast','map','_prepareAnyValueConverters','join','4201976LhVVnB','12FCmIlB','model','attributeToAttribute','get','requires','line-height','LineHeightEditing','isOfficialPlugin','3tRePDH','afterInit','2843356Idnhsk','default','lineHeight.options','$block','downcast','includes','1199583YKkFpM','_validateConfig','pluginName','setAttributeProperties','extend','conversion','_preparePredefinedConverters','556335AJTgPC','getStyle','style'];_0x1ae3=function(){return _0x9efac3;};return _0x1ae3();}
|
|
23
|
+
const _0x5271b1=_0x1a83;(function(_0x2731f3,_0x5dfa67){const _0x187b61=_0x1a83,_0x3bcb21=_0x2731f3();while(!![]){try{const _0x54eb97=-parseInt(_0x187b61(0x13a))/0x1*(parseInt(_0x187b61(0x12d))/0x2)+-parseInt(_0x187b61(0x12f))/0x3+-parseInt(_0x187b61(0x150))/0x4+-parseInt(_0x187b61(0x123))/0x5*(-parseInt(_0x187b61(0x13e))/0x6)+parseInt(_0x187b61(0x149))/0x7*(-parseInt(_0x187b61(0x148))/0x8)+-parseInt(_0x187b61(0x13c))/0x9*(-parseInt(_0x187b61(0x12e))/0xa)+-parseInt(_0x187b61(0x124))/0xb*(-parseInt(_0x187b61(0x136))/0xc);if(_0x54eb97===_0x5dfa67)break;else _0x3bcb21['push'](_0x3bcb21['shift']());}catch(_0x56a37c){_0x3bcb21['push'](_0x3bcb21['shift']());}}}(_0x2cc8,0xc2110));import{Plugin as _0x56e90b}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x452913}from'./lineheightcommand.js';function _0x1a83(_0x4474b1,_0x3b97d7){const _0x2cc844=_0x2cc8();return _0x1a83=function(_0x1a83e1,_0x526984){_0x1a83e1=_0x1a83e1-0x118;let _0xb4cfe2=_0x2cc844[_0x1a83e1];return _0xb4cfe2;},_0x1a83(_0x4474b1,_0x3b97d7);}import{isPercentageStyleValue as _0x4af153}from'ckeditor5/src/engine.js';import{uid as _0x46166e,CKEditorError as _0xf61d0c}from'ckeditor5/src/utils.js';import{buildDefinition as _0x1707b3,isLineHeightDefaultValue as _0x26f4b9,normalizeOptions as _0x15cde8}from'./utils.js';function _0x2cc8(){const _0x1a4209=['string','$block','3283055eMZJVL','558151cVreRK','extend','add','_prepareAnyValueConverters','filter','downcast','LineHeightEditing','conversion','requires','36970ORPIqz','1990ZjcOlE','1539129uomYzA','line-height','for','isOfficialPlugin','_preparePredefinedConverters','lineHeight.supportAllValues','length','588YExeiS','default','pluginName','lineHeight.options','37FqeFET','fromCharCode','35514CvnTeO','style','12IZRYxW','slice','model','lineHeight.defaultValue','getStyle','lineHeight','upcast','join','map','line-height-invalid-use-of-named-presets','8KfuqpN','10399256RnjlcH','schema','includes','values','afterInit','setAttributeProperties','init','4429172HwJUWF','attributeToAttribute','get','_validateConfig','config','commands','isPremiumPlugin','editor','define','href'];_0x2cc8=function(){return _0x1a4209;};return _0x2cc8();}import{LineHeightTodoListIntegration as _0x4b6b9f}from'./integrations/todolist.js';export class LineHeightEditing extends _0x56e90b{static get[_0x5271b1(0x138)](){const _0x3d5c2c=_0x5271b1;return _0x3d5c2c(0x12a);}static get[_0x5271b1(0x12c)](){return[_0x4b6b9f];}static get[_0x5271b1(0x132)](){return!0x0;}static get[_0x5271b1(0x11d)](){return!0x0;}constructor(_0x21ba7b){const _0x269c8a=_0x5271b1;super(_0x21ba7b),_0x21ba7b[_0x269c8a(0x11b)][_0x269c8a(0x11f)](_0x269c8a(0x143),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x269c8a(0x137),0x2,2.5,0x3]});}[_0x5271b1(0x14f)](){const _0x130634=_0x5271b1,_0x53d5f5=this[_0x130634(0x11e)];this[_0x130634(0x11a)](),_0x53d5f5[_0x130634(0x140)][_0x130634(0x14a)][_0x130634(0x125)](_0x130634(0x122),{'allowAttributes':_0x130634(0x143)}),_0x53d5f5[_0x130634(0x140)][_0x130634(0x14a)][_0x130634(0x14e)](_0x130634(0x143),{'isFormatting':!0x0}),_0x53d5f5[_0x130634(0x11c)][_0x130634(0x126)](_0x130634(0x143),new _0x452913(_0x53d5f5)),this[_0x130634(0x11e)][_0x130634(0x11b)][_0x130634(0x119)](_0x130634(0x134))?this[_0x130634(0x127)]():this[_0x130634(0x133)]();}[_0x5271b1(0x14d)](){!async function(_0x2e5677){const _0x19c988=_0x5c5338([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]),_0x53ef14=0x45ddd215,_0x5195d1=0x45daaf25^_0x53ef14,_0x27e91b=window[_0x5c5338([0x44,0x61,0x74,0x65])][_0x5c5338([0x6e,0x6f,0x77])](),_0x4c6ad5=_0x2e5677[_0x5c5338([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2a6808=new window[(_0x5c5338([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22de1b=>{_0x4c6ad5[_0x5c5338([0x6f,0x6e,0x63,0x65])](_0x5c5338([0x72,0x65,0x61,0x64,0x79]),_0x22de1b);}),_0x3bd1fb={[_0x5c5338([0x6b,0x74,0x79])]:_0x5c5338([0x45,0x43]),[_0x5c5338([0x75,0x73,0x65])]:_0x5c5338([0x73,0x69,0x67]),[_0x5c5338([0x63,0x72,0x76])]:_0x5c5338([0x50,0x2d,0x32,0x35,0x36]),[_0x5c5338([0x78])]:_0x5c5338([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]),[_0x5c5338([0x79])]:_0x5c5338([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]),[_0x5c5338([0x61,0x6c,0x67])]:_0x5c5338([0x45,0x53,0x32,0x35,0x36])},_0x2d54d8=_0x4c6ad5[_0x5c5338([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5c5338([0x67,0x65,0x74])](_0x5c5338([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x158da8(){let _0x318e90,_0x36ead7=null,_0x59c21f=null;try{if(_0x2d54d8==_0x5c5338([0x47,0x50,0x4c]))return _0x5c5338([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x318e90=_0x1cc134(),!_0x318e90)return _0x5c5338([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x318e90[_0x5c5338([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x59c21f=_0x32bf0a(_0x318e90[_0x5c5338([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x318e90[_0x5c5338([0x6a,0x74,0x69])])),await _0x4d08af()?_0x10fbf4()?_0xca431b()?_0x5c5338([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x551afe()?(_0x318e90[_0x5c5338([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c5338([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x36ead7=_0x547152(_0x5c5338([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x318e90[_0x5c5338([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c5338([0x74,0x72,0x69,0x61,0x6c])&&(_0x36ead7=_0x547152(_0x5c5338([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5c19d1()):_0x5c5338([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5c5338([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5c5338([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5c5338([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xca431b(){const _0x19cdf3=[_0x5c5338([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5c5338([0x74,0x72,0x69,0x61,0x6c])][_0x5c5338([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x318e90[_0x5c5338([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x27e91b/0x3e8:0xe10*_0x5195d1;return _0x318e90[_0x5c5338([0x65,0x78,0x70])]<_0x19cdf3;}function _0x10fbf4(){const _0x44c3d6=_0x318e90[_0x5c5338([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x44c3d6&&(!!_0x44c3d6[_0x5c5338([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c5338([0x2a]))||!!_0x44c3d6[_0x5c5338([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c5338([0x4c,0x48])));}function _0x551afe(){const _0x41e9a4=_0x1a83,_0x229acb=_0x318e90[_0x5c5338([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x229acb||0x0==_0x229acb[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x132e55}=new URL(window[_0x5c5338([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x41e9a4(0x120)]);if(_0x229acb[_0x5c5338([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x132e55))return!0x0;const _0x413245=_0x132e55[_0x5c5338([0x73,0x70,0x6c,0x69,0x74])](_0x5c5338([0x2e]));return _0x229acb[_0x5c5338([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a026f=>_0x5a026f[_0x5c5338([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c5338([0x2a])))[_0x5c5338([0x6d,0x61,0x70])](_0x36b37c=>_0x36b37c[_0x5c5338([0x73,0x70,0x6c,0x69,0x74])](_0x5c5338([0x2e])))[_0x5c5338([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e0794=>_0x2e0794[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x413245[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c5338([0x6d,0x61,0x70])](_0x300f04=>Array(_0x413245[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x300f04[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c5338([0x66,0x69,0x6c,0x6c])](_0x300f04[0x0]===_0x5c5338([0x2a])?_0x5c5338([0x2a]):'')[_0x5c5338([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x300f04))[_0x5c5338([0x73,0x6f,0x6d,0x65])](_0x37b61e=>_0x413245[_0x5c5338([0x65,0x76,0x65,0x72,0x79])]((_0x5eadb6,_0x3c689f)=>_0x37b61e[_0x3c689f]===_0x5eadb6||_0x37b61e[_0x3c689f]===_0x5c5338([0x2a])));}function _0x5c19d1(){return _0x36ead7&&_0x59c21f?new window[(_0x5c5338([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d6588,_0x5c0261)=>{_0x36ead7[_0x5c5338([0x74,0x68,0x65,0x6e])](_0x3d6588,_0x5c0261),_0x59c21f[_0x5c5338([0x74,0x68,0x65,0x6e])](_0x5ea372=>{_0x5ea372!=_0x5c5338([0x56,0x61,0x6c,0x69,0x64])&&_0x3d6588(_0x5ea372);},_0x5c0261);}):_0x36ead7||_0x59c21f||_0x5c5338([0x56,0x61,0x6c,0x69,0x64]);}}function _0x32bf0a(_0x3cf777,_0xe972cd){return new window[(_0x5c5338([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45230d=>{if(_0x21fad9())return _0x45230d(_0x5c5338([0x56,0x61,0x6c,0x69,0x64]));_0x12f1a1(),_0x4c6ad5[_0x5c5338([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5c5338([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2059ce=!0x1;const _0xa37ee=_0x46166e();function _0x282cd5(_0x2e3e74){return!!_0x2e3e74&&(typeof _0x2e3e74===_0x5c5338([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2e3e74===_0x5c5338([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2e3e74[_0x5c5338([0x74,0x68,0x65,0x6e])]===_0x5c5338([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2e3e74[_0x5c5338([0x63,0x61,0x74,0x63,0x68])]===_0x5c5338([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2ee23e(_0x3e9118){_0x529a3f(_0x3e9118)[_0x5c5338([0x74,0x68,0x65,0x6e])](_0x1c49c8=>{if(!_0x1c49c8||_0x1c49c8[_0x5c5338([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5c5338([0x6f,0x6b]))return _0x5c5338([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x13ce71(_0x57c166(_0xa37ee+_0xe972cd))!=_0x1c49c8[_0x5c5338([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5c5338([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5c5338([0x56,0x61,0x6c,0x69,0x64]);})[_0x5c5338([0x74,0x68,0x65,0x6e])](_0x3c11bd=>(_0x5ab6f8(),_0x3c11bd),()=>{const _0x12c910=_0x8bf74f();return null==_0x12c910?(_0x5ab6f8(),_0x5c5338([0x56,0x61,0x6c,0x69,0x64])):_0x5c5338(_0x27e91b-_0x12c910>(0x61d15615^_0x53ef14)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5c5338([0x74,0x68,0x65,0x6e])](_0x45230d)[_0x5c5338([0x63,0x61,0x74,0x63,0x68])](()=>{_0x45230d(_0x5c5338([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4515a7=0x45eb3c95^_0x53ef14;function _0x5ab6f8(){const _0x4193b7=_0x5c5338([0x6c,0x6c,0x63,0x74,0x2d])+_0x13ce71(_0x57c166(_0x3cf777)),_0x355f7b=_0x3d2936(_0x13ce71(window[_0x5c5338([0x4d,0x61,0x74,0x68])][_0x5c5338([0x63,0x65,0x69,0x6c])](_0x27e91b/_0x4515a7)));window[_0x5c5338([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c5338([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4193b7,_0x355f7b);}function _0x8bf74f(){const _0xe14f93=_0x5c5338([0x6c,0x6c,0x63,0x74,0x2d])+_0x13ce71(_0x57c166(_0x3cf777)),_0x310632=window[_0x5c5338([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c5338([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe14f93);return _0x310632?window[_0x5c5338([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d2936(_0x310632),0x10)*_0x4515a7:null;}function _0x529a3f(_0x1cd506){return new window[(_0x5c5338([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f82e8,_0x5fddee)=>{_0x1cd506[_0x5c5338([0x74,0x68,0x65,0x6e])](_0x4f82e8,_0x5fddee),window[_0x5c5338([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5fddee,0x45dc06d5^_0x53ef14);});}}_0x4c6ad5[_0x5c5338([0x6f,0x6e])](_0x5c5338([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xfc05a3,_0x14761c)=>{if(_0x14761c[0x0]!=_0x3cf777)return _0x45230d(_0x5c5338([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x14761c[0x1]={..._0x14761c[0x1],[_0x5c5338([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa37ee};},{[_0x5c5338([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c5338([0x68,0x69,0x67,0x68])}),_0x4c6ad5[_0x5c5338([0x6f,0x6e])](_0x5c5338([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5c07ef=>{_0x282cd5(_0x5c07ef[_0x5c5338([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2059ce=!0x0,_0x2ee23e(_0x5c07ef[_0x5c5338([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5c5338([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c5338([0x6c,0x6f,0x77])}),_0x2a6808[_0x5c5338([0x74,0x68,0x65,0x6e])](()=>{_0x2059ce||_0x45230d(_0x5c5338([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x21fad9(){return _0x4c6ad5[_0x5c5338([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c5338([0x76,0x69,0x65,0x77])][_0x5c5338([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5c5338([0x61,0x75,0x74,0x6f]);}function _0x12f1a1(){_0x4c6ad5[_0x5c5338([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c5338([0x76,0x69,0x65,0x77])][_0x5c5338([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5c5338([0x61,0x75,0x74,0x6f]);}}function _0x547152(_0x47a425){const _0x149493=[new window[(_0x5c5338([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b70b9=>setTimeout(_0x1b70b9,0x45d4ecd9^_0x53ef14)),_0x2a6808[_0x5c5338([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5c5338([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52e48c=>{let _0x480034=0x0;_0x4c6ad5[_0x5c5338([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c5338([0x6f,0x6e])](_0x5c5338([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x95cde3,_0x5dcde3)=>{_0x5dcde3[0x0][_0x5c5338([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x480034++,_0x480034==(0x45ddd7fd^_0x53ef14)&&(_0x52e48c(),_0x95cde3[_0x5c5338([0x6f,0x66,0x66])]());});}))];return window[_0x5c5338([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5c5338([0x72,0x61,0x63,0x65])](_0x149493)[_0x5c5338([0x74,0x68,0x65,0x6e])](()=>_0x47a425);}async function _0x3fcb94(){await _0x2a6808,_0x4c6ad5[_0x5c5338([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c5338([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x252bb5,_0x4c6ad5[_0x5c5338([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c5338([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x252bb5,_0x4c6ad5[_0x5c5338([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c5338([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19d147(_0x1ecd21){const _0x2be34d=_0x113c63();_0x4c6ad5[_0x2be34d]=_0x5c5338([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1ecd21,_0x1ecd21!=_0x5c5338([0x56,0x61,0x6c,0x69,0x64])&&_0x3fcb94();}function _0x113c63(){const _0x328652=window[_0x5c5338([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5c5338([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c5338([0x6e,0x6f,0x77])]())[_0x5c5338([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c5338([0x2e]),'');let _0x4e1ffc=_0x5c5338([0x50]);for(let _0x4e3d91=0x0;_0x4e3d91<_0x328652[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e3d91+=0x2){let _0x24ab41=window[_0x5c5338([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x328652[_0x5c5338([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e3d91,_0x4e3d91+0x2));_0x24ab41>=_0x19c988[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24ab41-=_0x19c988[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e1ffc+=_0x19c988[_0x24ab41];}return _0x4e1ffc;}function _0x1cc134(){const _0x5d0961=_0x2d54d8[_0x5c5338([0x73,0x70,0x6c,0x69,0x74])](_0x5c5338([0x2e]));if(0x3!=_0x5d0961[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2b90fb(_0x5d0961[0x1]);function _0x2b90fb(_0x2d798c){const _0xbb8695=_0x1228f1(_0x2d798c);return _0xbb8695&&_0x575ab3()?_0xbb8695:null;function _0x575ab3(){const _0x54c8be=_0xbb8695[_0x5c5338([0x6a,0x74,0x69])],_0x11c660=window[_0x5c5338([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54c8be[_0x5c5338([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54c8be[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x41ca54={..._0xbb8695,[_0x5c5338([0x6a,0x74,0x69])]:_0x54c8be[_0x5c5338([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x54c8be[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x41ca54[_0x5c5338([0x76,0x63])],_0x57c166(_0x41ca54)==_0x11c660;}}}async function _0x4d08af(){let _0x7ef8d7=!0x0;try{const _0x50a200=_0x2d54d8[_0x5c5338([0x73,0x70,0x6c,0x69,0x74])](_0x5c5338([0x2e])),[_0x24ccec,_0x398152,_0x43b1cb]=_0x50a200;return _0x1e2ad7(_0x24ccec),await _0x1e028b(_0x24ccec,_0x398152,_0x43b1cb),_0x7ef8d7;}catch{return!0x1;}function _0x1e2ad7(_0x2d062a){const _0x543d99=_0x1228f1(_0x2d062a);_0x543d99&&_0x543d99[_0x5c5338([0x61,0x6c,0x67])]==_0x5c5338([0x45,0x53,0x32,0x35,0x36])||(_0x7ef8d7=!0x1);}async function _0x1e028b(_0x1df380,_0x34fa83,_0x505dc2){const _0x5c1ce5=window[_0x5c5338([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5c5338([0x66,0x72,0x6f,0x6d])](_0x33c7f8(_0x505dc2),_0x27ed27=>_0x27ed27[_0x5c5338([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2b1ac0=new window[(_0x5c5338([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5c5338([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1df380+_0x5c5338([0x2e])+_0x34fa83),_0x44b2f4=window[_0x5c5338([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5c5338([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x44b2f4)return;const _0x14404b=await _0x44b2f4[_0x5c5338([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5c5338([0x6a,0x77,0x6b]),_0x3bd1fb,{[_0x5c5338([0x6e,0x61,0x6d,0x65])]:_0x5c5338([0x45,0x43,0x44,0x53,0x41]),[_0x5c5338([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5c5338([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5c5338([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x44b2f4[_0x5c5338([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5c5338([0x6e,0x61,0x6d,0x65])]:_0x5c5338([0x45,0x43,0x44,0x53,0x41]),[_0x5c5338([0x68,0x61,0x73,0x68])]:{[_0x5c5338([0x6e,0x61,0x6d,0x65])]:_0x5c5338([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x14404b,_0x5c1ce5,_0x2b1ac0)||(_0x7ef8d7=!0x1);}}function _0x1228f1(_0x53aef1){return _0x53aef1[_0x5c5338([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5c5338([0x65,0x79]))?JSON[_0x5c5338([0x70,0x61,0x72,0x73,0x65])](_0x33c7f8(_0x53aef1)):null;}function _0x33c7f8(_0x174135){return window[_0x5c5338([0x61,0x74,0x6f,0x62])](_0x174135[_0x5c5338([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5c5338([0x2b]))[_0x5c5338([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5c5338([0x2f])));}function _0x57c166(_0x35f095){let _0x3583ed=0x1505;function _0x16a66f(_0x368a40){for(let _0x545ab1=0x0;_0x545ab1<_0x368a40[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x545ab1++){const _0x3cdd2c=_0x368a40[_0x5c5338([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x545ab1);_0x3583ed=(_0x3583ed<<0x5)+_0x3583ed+_0x3cdd2c,_0x3583ed&=_0x3583ed;}}function _0x2abf58(_0xf7d71d){Array[_0x5c5338([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xf7d71d)?_0xf7d71d[_0x5c5338([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2abf58):_0xf7d71d&&typeof _0xf7d71d==_0x5c5338([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5c5338([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xf7d71d)[_0x5c5338([0x73,0x6f,0x72,0x74])]()[_0x5c5338([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x29a8ae,_0x48f7c1])=>{_0x16a66f(_0x29a8ae),_0x2abf58(_0x48f7c1);}):_0x16a66f(window[_0x5c5338([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xf7d71d));}return _0x2abf58(_0x35f095),_0x3583ed>>>0x0;}function _0x13ce71(_0x1ca2a0){return _0x1ca2a0[_0x5c5338([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5c5338([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5c5338([0x30]));}function _0x3d2936(_0x44b824){return _0x44b824[_0x5c5338([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5c5338([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5c5338([0x6a,0x6f,0x69,0x6e])]('');}function _0x252bb5(){}function _0x5c5338(_0x233668){const _0x28412e=_0x1a83;return _0x233668[_0x28412e(0x146)](_0x1ef626=>String[_0x28412e(0x13b)](_0x1ef626))[_0x28412e(0x145)]('');}_0x19d147(await _0x158da8());}(this);}[_0x5271b1(0x11a)](){const _0xa965c5=_0x5271b1,_0x2d0acd=this[_0xa965c5(0x11e)];if(!_0x2d0acd[_0xa965c5(0x11b)][_0xa965c5(0x119)](_0xa965c5(0x134)))return;const _0x563528=_0x2d0acd[_0xa965c5(0x11b)][_0xa965c5(0x119)](_0xa965c5(0x139))[_0xa965c5(0x128)](_0x1453e0=>_0xa965c5(0x121)==typeof _0x1453e0&&(!_0x26f4b9(_0x1453e0)&&isNaN(Number(_0x1453e0))));if(_0x563528[_0xa965c5(0x135)])throw new _0xf61d0c(_0xa965c5(0x147),null,{'namedPresets':_0x563528});}[_0x5271b1(0x127)](){const _0x37571b=_0x5271b1,_0x2117fb=this[_0x37571b(0x11e)],_0x5466bd=this[_0x37571b(0x11e)][_0x37571b(0x11b)][_0x37571b(0x119)](_0x37571b(0x141));_0x2117fb[_0x37571b(0x12b)][_0x37571b(0x131)](_0x37571b(0x129))[_0x37571b(0x118)]({'model':{'key':_0x37571b(0x143)},'view':_0x48edd7=>String(_0x48edd7)===String(_0x5466bd)?null:{'key':_0x37571b(0x13d),'value':{'line-height':_0x48edd7}}}),_0x2117fb[_0x37571b(0x12b)][_0x37571b(0x131)](_0x37571b(0x144))[_0x37571b(0x118)]({'model':{'key':_0x37571b(0x143),'value':_0x41a953=>{const _0x52a6b8=_0x37571b;let _0x4b42de=_0x41a953[_0x52a6b8(0x142)](_0x52a6b8(0x130));return _0x4af153(_0x4b42de)&&(_0x4b42de=String(Number(_0x4b42de[_0x52a6b8(0x13f)](0x0,-0x1))/0x64)),String(_0x4b42de)===String(_0x5466bd)?null:_0x4b42de;}},'view':{'styles':{'line-height':/.*/}}});}[_0x5271b1(0x133)](){const _0x1d5786=_0x5271b1,_0x52ecdf=this[_0x1d5786(0x11e)],_0x309240=this[_0x1d5786(0x11e)][_0x1d5786(0x11b)][_0x1d5786(0x119)](_0x1d5786(0x141)),_0x319a4f=_0x15cde8(this[_0x1d5786(0x11e)][_0x1d5786(0x11b)][_0x1d5786(0x119)](_0x1d5786(0x143)))[_0x1d5786(0x128)](_0x21d47b=>_0x21d47b[_0x1d5786(0x140)]),_0x495894=_0x1707b3(_0x1d5786(0x143),_0x319a4f);_0x52ecdf[_0x1d5786(0x12b)][_0x1d5786(0x118)](_0x495894),_0x52ecdf[_0x1d5786(0x12b)][_0x1d5786(0x131)](_0x1d5786(0x144))[_0x1d5786(0x118)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x1d5786(0x143),'value':_0x3b999a=>{const _0x3f935d=_0x1d5786;let _0x135a17=_0x3b999a[_0x3f935d(0x142)](_0x3f935d(0x130));return _0x4af153(_0x135a17)&&(_0x135a17=String(Number(_0x135a17[_0x3f935d(0x13f)](0x0,-0x1))/0x64)),_0x135a17===String(_0x309240)?null:_0x495894[_0x3f935d(0x140)][_0x3f935d(0x14c)][_0x3f935d(0x14b)](_0x135a17)?_0x135a17:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x3807cb}from'ckeditor5/src/core.js';import{addListToDropdown as _0xabe380,createDropdown as _0x567da2,MenuBarMenuListItemButtonView as _0x3c0a92,MenuBarMenuListItemView as _0x128c61,MenuBarMenuListView as _0x380a8e,MenuBarMenuView as _0x55cec9,UIModel as _0x403e45}from'ckeditor5/src/ui.js';import{Collection as _0x128fd2}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x5dd7aa}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x4caab4}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x3807cb{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x271241={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x271241),this['_registerMenuBarComponent'](_0x271241),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1393a9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x17e6f6;for(const _0x59f5c8 in _0x1393a9){const _0x5b4d70=_0x59f5c8,_0x11ee95=_0x1393a9[_0x5b4d70];if('lineHeightLicenseKeyValid'==_0x11ee95||'lineHeightLicenseKeyInvalid'==_0x11ee95||'lineHeightLicenseKeyExpired'==_0x11ee95||'lineHeightLicenseKeyDomainLimit'==_0x11ee95||'lineHeightLicenseKeyNotAllowed'==_0x11ee95||'lineHeightLicenseKeyEvaluationLimit'==_0x11ee95||'lineHeightLicenseKeyTrialLimit'==_0x11ee95||'lineHeightLicenseKeyUsageLimit'==_0x11ee95){delete _0x1393a9[_0x5b4d70],_0x17e6f6=_0x11ee95,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x17e6f6&&_0x1393a9['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x17e6f6&&_0x1393a9['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x17e6f6&&_0x1393a9['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x17e6f6&&_0x1393a9['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x17e6f6&&_0x1393a9['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x17e6f6&&_0x1393a9['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x17e6f6&&_0x1393a9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x589765=this['editor'],t=_0x589765['t'],_0x5c639a=_0x589765['config']['get']('lineHeight'),_0x3b6d62={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x4caab4(_0x5c639a)['map'](_0x31778f=>{const _0x2ffda8=_0x3b6d62[_0x31778f['title']];return _0x2ffda8&&_0x2ffda8!=_0x31778f['title']&&(_0x31778f=Object['assign']({},_0x31778f,{'title':_0x2ffda8})),_0x31778f;});}['_prepareListOptions'](){const _0x37ce39=this['editor']['commands']['get']('lineHeight'),_0xb5546e=this['editor']['config']['get']('lineHeight.defaultValue'),_0xa9d1b9=this['_getLocalizedLineHeightOptions'](),_0x262c08=new _0x128fd2(),_0x5db8fb=_0x5f3b1e=>'default'===_0x5f3b1e||String(_0xb5546e)===_0x5f3b1e;for(const _0x228c1e of _0xa9d1b9){const _0x2bffe9={'type':'button','model':new _0x403e45({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x228c1e['title'],'withText':!0x0})};_0x5db8fb(_0x228c1e['model'])?(_0x2bffe9['model']['bind']('isOn')['to'](_0x37ce39,'value',_0x3fbb1c=>!_0x3fbb1c),_0x2bffe9['model']['commandParam']=void 0x0):(_0x2bffe9['model']['bind']('isOn')['to'](_0x37ce39,'value',_0x474910=>_0x474910===_0x228c1e['model']),_0x2bffe9['model']['commandParam']=_0x228c1e['model']),_0x262c08['add'](_0x2bffe9);}if(this['_shouldRenderCustomValueOption']()){const _0x30b1f4=this['_getCustomValueOptionDefinition'](_0xa9d1b9);_0x262c08['add'](_0x30b1f4);}return _0x262c08;}['_getCustomValueOptionDefinition'](_0x12b47f){const _0x2f4677=this['editor'],t=_0x2f4677['t'],_0xe5b1db=_0x2f4677['commands']['get']('lineHeight'),_0x39e46e=_0x12b47f['map'](_0x223f30=>_0x223f30['model']),_0x434470={'type':'button','model':new _0x403e45({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x434470['model']['bind']('commandParam')['to'](_0xe5b1db,'value'),_0x434470['model']['bind']('isOn')['to'](_0xe5b1db,'value',_0x59166b=>!!_0x59166b&&!_0x39e46e['includes'](String(_0x59166b))),_0x434470['model']['bind']('label')['to'](_0xe5b1db,'value',_0x1b9f4b=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1b9f4b))),_0x434470;}['_registerToolbarComponent']({accessibleLabel:_0xcdb46b,options:_0x5b5024}){const _0x476c7b=this['editor'],_0x568de6=_0x476c7b['commands']['get']('lineHeight');_0x476c7b['ui']['componentFactory']['add']('lineHeight',_0x251dbc=>{const _0x526e10=_0x567da2(_0x251dbc);return _0xabe380(_0x526e10,_0x5b5024,{'role':'menu','ariaLabel':_0xcdb46b}),_0x526e10['buttonView']['set']({'label':_0xcdb46b,'tooltip':!0x0,'icon':_0x5dd7aa}),_0x526e10['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x526e10['bind']('isEnabled')['to'](_0x568de6),this['listenTo'](_0x526e10,'execute',_0xf8082d=>{_0x476c7b['execute'](_0xf8082d['source']['commandName'],{'value':_0xf8082d['source']['commandParam']}),_0x476c7b['editing']['view']['focus']();}),_0x526e10['once']('change:isOpen',()=>{const _0x5eaaf1=_0x526e10['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x526e10,_0x5b5024,_0x5eaaf1);}),_0x526e10;});}['_registerMenuBarComponent']({accessibleLabel:_0x2b51d0,options:_0x57675a}){const _0xea726d=this['editor'],_0x2e50ec=_0xea726d['commands']['get']('lineHeight');_0xea726d['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2bc67e=>{const _0x4c5b15=new _0x55cec9(_0x2bc67e);_0x4c5b15['buttonView']['set']({'label':_0x2b51d0,'icon':_0x5dd7aa}),_0x4c5b15['bind']('isEnabled')['to'](_0x2e50ec);const _0x2626c1=new _0x380a8e(_0x2bc67e);for(const _0x5f033d of _0x57675a){const _0x37e54f=new _0x128c61(_0x2bc67e,_0x4c5b15),_0x665e47=new _0x3c0a92(_0x2bc67e);_0x665e47['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x665e47['bind'](...Object['keys'](_0x5f033d['model']))['to'](_0x5f033d['model']),_0x665e47['delegate']('execute')['to'](_0x4c5b15),_0x665e47['on']('execute',()=>{_0xea726d['execute'](_0x5f033d['model']['commandName'],{'value':_0x5f033d['model']['commandParam']}),_0xea726d['editing']['view']['focus']();}),_0x37e54f['children']['add'](_0x665e47),_0x2626c1['items']['add'](_0x37e54f);}return _0x4c5b15['panelView']['children']['add'](_0x2626c1),this['_attachCustomOptionVisibilityHandler'](_0x4c5b15,_0x57675a,_0x2626c1),_0x4c5b15;});}['_attachCustomOptionVisibilityHandler'](_0x1dec7f,_0x11e7aa,_0x2a2bfd){if(!this['_shouldRenderCustomValueOption']())return;const _0x2b37f9=()=>{if(!_0x1dec7f['isOpen'])return;_0x2a2bfd['items']['last']['isVisible']=Boolean(_0x11e7aa['last']['model']['isOn']);};_0x2b37f9(),_0x1dec7f['on']('change:isOpen',()=>{_0x2b37f9();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xbc3e35,_0x3a0281){const _0x2b0c8d=_0x1de8,_0x424d36=_0xbc3e35();while(!![]){try{const _0x2f4e35=-parseInt(_0x2b0c8d(0x8e))/0x1*(parseInt(_0x2b0c8d(0x8a))/0x2)+parseInt(_0x2b0c8d(0x88))/0x3*(-parseInt(_0x2b0c8d(0xa8))/0x4)+-parseInt(_0x2b0c8d(0xa6))/0x5*(parseInt(_0x2b0c8d(0xa1))/0x6)+-parseInt(_0x2b0c8d(0x96))/0x7*(parseInt(_0x2b0c8d(0x8d))/0x8)+-parseInt(_0x2b0c8d(0x95))/0x9+parseInt(_0x2b0c8d(0x99))/0xa+-parseInt(_0x2b0c8d(0x8b))/0xb*(-parseInt(_0x2b0c8d(0xa7))/0xc);if(_0x2f4e35===_0x3a0281)break;else _0x424d36['push'](_0x424d36['shift']());}catch(_0x5622e8){_0x424d36['push'](_0x424d36['shift']());}}}(_0xb4aa,0x69d32));const v={get 'single'(){const _0xada2f7=_0x1de8;return{'title':_0xada2f7(0xa4),'model':_0xada2f7(0x98),'view':{'key':_0xada2f7(0x8c),'value':_0xada2f7(0x87)}};},get 'double'(){const _0x32830e=_0x1de8;return{'title':_0x32830e(0xa9),'model':_0x32830e(0x9c),'view':{'key':_0x32830e(0x8c),'value':_0x32830e(0x97)}};}};export function isLineHeightDefaultValue(_0x1d5bde){const _0x48570c=_0x1de8;return _0x48570c(0xa2)==typeof _0x1d5bde&&_0x48570c(0x9a)===_0x1d5bde[_0x48570c(0x9e)]();}export function normalizeOptions(_0xec91de){const _0x56363f=_0x1de8;return _0xec91de[_0x56363f(0xa0)][_0x56363f(0x92)](_0x1afb22=>isLineHeightDefaultValue(_0x1afb22)?{'title':String(_0xec91de[_0x56363f(0x90)]),'model':_0x56363f(0x9a)}:(_0x56363f(0x94)==typeof _0x1afb22&&(_0x1afb22=String(_0x1afb22)),_0x56363f(0xa2)!=typeof _0x1afb22?_0x1afb22:parseFloat(_0x1afb22)?{'title':_0x1afb22,'model':_0x1afb22,'view':{'name':_0x56363f(0x9b),'styles':{'line-height':_0x1afb22}}}:findPreset(_0x1afb22)))[_0x56363f(0x9f)](_0x41e59c=>void 0x0!==_0x41e59c);}export function findPreset(_0x488fee){const _0x46f73c=_0x1de8;return _0x46f73c(0xa2)==typeof _0x488fee?v[_0x488fee]:v[_0x488fee[_0x46f73c(0x8f)]];}function _0x1de8(_0x46bf67,_0x198b61){const _0xb4aa44=_0xb4aa();return _0x1de8=function(_0x1de8cb,_0x4995d1){_0x1de8cb=_0x1de8cb-0x86;let _0x3d8b28=_0xb4aa44[_0x1de8cb];return _0x3d8b28;},_0x1de8(_0x46bf67,_0x198b61);}export function buildDefinition(_0x12eeec,_0x57242e){const _0x34582b=_0x1de8,_0x5af59b={'model':{'key':_0x12eeec,'values':[]},'view':{}};for(const _0x15b0aa of _0x57242e)_0x34582b(0x8c)===_0x15b0aa[_0x34582b(0xa5)]?.[_0x34582b(0x91)]?(_0x5af59b[_0x34582b(0x8f)][_0x34582b(0xa3)][_0x34582b(0x9d)](_0x15b0aa[_0x34582b(0x8f)]),_0x5af59b[_0x34582b(0xa5)][_0x15b0aa[_0x34582b(0x8f)]]={'key':_0x34582b(0x8c),'value':_0x15b0aa[_0x34582b(0xa5)][_0x34582b(0x93)]}):(_0x5af59b[_0x34582b(0x8f)][_0x34582b(0xa3)][_0x34582b(0x9d)](_0x15b0aa[_0x34582b(0x8f)]),_0x5af59b[_0x34582b(0xa5)][_0x15b0aa[_0x34582b(0x8f)]]={'key':_0x34582b(0x89),'value':_0x34582b(0x86)+_0x15b0aa[_0x34582b(0x8f)]+';'});return _0x5af59b;}function _0xb4aa(){const _0x12741c=['single','4786780SGePor','default','span','double','push','toLowerCase','filter','options','3336792xelQnO','string','values','Single','view','5tCztAY','19120812HDZeAO','9956eJzDMk','Double','line-height:','line-height-single','21COImsu','style','146fsHGyY','11NTIaKt','class','4652792vKFbcs','3207pMGhmw','model','defaultValue','key','map','value','number','2244204JGtksy','7aedgtr','line-height-double'];_0xb4aa=function(){return _0x12741c;};return _0xb4aa();}
|