@ckeditor/ckeditor5-line-height 47.5.0-alpha.5 → 47.5.0-alpha.6
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 _0x140458=_0x26c7;function _0x26c7(_0x598684,_0x4c9587){const _0x38dfbd=_0x38df();return _0x26c7=function(_0x26c7ba,_0x5d2ef6){_0x26c7ba=_0x26c7ba-0xcb;let _0x2623c2=_0x38dfbd[_0x26c7ba];return _0x2623c2;},_0x26c7(_0x598684,_0x4c9587);}(function(_0x174b7a,_0x80893a){const _0x36aa4b=_0x26c7,_0x34d3e8=_0x174b7a();while(!![]){try{const _0x401c9a=parseInt(_0x36aa4b(0xe3))/0x1*(parseInt(_0x36aa4b(0xd8))/0x2)+parseInt(_0x36aa4b(0xce))/0x3*(-parseInt(_0x36aa4b(0xeb))/0x4)+-parseInt(_0x36aa4b(0xe4))/0x5*(parseInt(_0x36aa4b(0xf6))/0x6)+-parseInt(_0x36aa4b(0xec))/0x7+parseInt(_0x36aa4b(0xe5))/0x8+-parseInt(_0x36aa4b(0xd1))/0x9+-parseInt(_0x36aa4b(0xdd))/0xa*(-parseInt(_0x36aa4b(0xf0))/0xb);if(_0x401c9a===_0x80893a)break;else _0x34d3e8['push'](_0x34d3e8['shift']());}catch(_0x4c2da9){_0x34d3e8['push'](_0x34d3e8['shift']());}}}(_0x38df,0x5e146));import{Plugin as _0x1690ae}from'ckeditor5/src/core.js';import{Matcher as _0x2b0566}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';function _0x38df(){const _0x27322b=['init','add','3JCDDxM','LineHeightTodoListIntegration','get','2874096FcxlCg','--ck-content-list-marker-line-height','registerDowncastStrategy','isOfficialPlugin','for','match','span','26CqmYBJ','element:li','item','setStyle','consumable','9793420guWGjm','elementToElement','high','name','isPremiumPlugin','editor','48139jjcgJb','48815lWEruZ','1688520YJfdZJ','addClass','paragraph','TodoListEditing','listType','todo-list__label__description','523388uFqoDt','3037615PKKNJX','getAttribute','upcast','lineHeight','11UDBZoo','todo','has','ListEditing','viewItem','pluginName','336VTgvww','ck-list-marker-line-height','consume'];_0x38df=function(){return _0x27322b;};return _0x38df();}export class LineHeightTodoListIntegration extends _0x1690ae{static get[_0x140458(0xf5)](){const _0x359ba0=_0x140458;return _0x359ba0(0xcf);}static get[_0x140458(0xd4)](){return!0x0;}static get[_0x140458(0xe1)](){return!0x0;}[_0x140458(0xcc)](){const _0x44fc52=_0x140458,{plugins:_0x2f9983,conversion:_0x2fb44d}=this[_0x44fc52(0xe2)];if(!_0x2f9983[_0x44fc52(0xf2)](_0x44fc52(0xf3))||!_0x2f9983[_0x44fc52(0xf2)](_0x44fc52(0xe8)))return;_0x2f9983[_0x44fc52(0xd0)](_0x44fc52(0xf3))[_0x44fc52(0xd3)]({'scope':_0x44fc52(0xda),'attributeName':_0x44fc52(0xef),'consume':!0x1,'setAttributeOnDowncast'(_0x59e551,_0x5ef584,_0x1199df,_0x3c7398,_0x2cda0f){const _0x33a43e=_0x44fc52;_0x33a43e(0xf1)==_0x2cda0f[_0x33a43e(0xed)](_0x33a43e(0xe9))&&_0x5ef584&&(_0x59e551[_0x33a43e(0xe6)](_0x33a43e(0xf7),_0x1199df),_0x59e551[_0x33a43e(0xdb)](_0x33a43e(0xd2),_0x5ef584,_0x1199df));}}),_0x2fb44d[_0x44fc52(0xd5)](_0x44fc52(0xee))[_0x44fc52(0xde)]({'view':{'name':_0x44fc52(0xd7),'classes':_0x44fc52(0xea)},'model':_0x44fc52(0xe7),'converterPriority':_0x44fc52(0xdf)}),_0x2fb44d[_0x44fc52(0xd5)](_0x44fc52(0xee))[_0x44fc52(0xcd)](_0x5245ce=>{const _0x137ee5=_0x44fc52;_0x5245ce['on'](_0x137ee5(0xd9),function(_0x3e328d){const _0x286e02=new _0x2b0566(_0x3e328d);return(_0x24e651,_0x10e784,_0x32b206)=>{const _0x4bd753=_0x26c7,_0x22800f=_0x286e02[_0x4bd753(0xd6)](_0x10e784[_0x4bd753(0xf4)]);if(!_0x22800f)return;const _0x53ee2d=_0x22800f[_0x4bd753(0xd6)];_0x53ee2d[_0x4bd753(0xe0)]=!0x1,_0x32b206[_0x4bd753(0xdc)][_0x4bd753(0xcb)](_0x10e784[_0x4bd753(0xf4)],_0x53ee2d);};}({'name':'li','classes':_0x137ee5(0xf7),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x36e4(_0x12f3e6,_0x440697){var _0x5681da=_0x5681();return _0x36e4=function(_0x36e43f,_0x407bbf){_0x36e43f=_0x36e43f-0x1a6;var _0x43f419=_0x5681da[_0x36e43f];return _0x43f419;},_0x36e4(_0x12f3e6,_0x440697);}var _0x32f023=_0x36e4;(function(_0x461bd6,_0x1a538c){var _0xb2d942=_0x36e4,_0x5d384d=_0x461bd6();while(!![]){try{var _0x239ee8=parseInt(_0xb2d942(0x1ad))/0x1*(parseInt(_0xb2d942(0x1a9))/0x2)+parseInt(_0xb2d942(0x1b3))/0x3+parseInt(_0xb2d942(0x1b2))/0x4+-parseInt(_0xb2d942(0x1b1))/0x5+-parseInt(_0xb2d942(0x1a8))/0x6*(parseInt(_0xb2d942(0x1ab))/0x7)+-parseInt(_0xb2d942(0x1ac))/0x8+parseInt(_0xb2d942(0x1a7))/0x9;if(_0x239ee8===_0x1a538c)break;else _0x5d384d['push'](_0x5d384d['shift']());}catch(_0x32106b){_0x5d384d['push'](_0x5d384d['shift']());}}}(_0x5681,0x4637e));import{Plugin as _0x4d6f30}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x5f0569}from'./lineheightediting.js';function _0x5681(){var _0x5e4f7c=['isOfficialPlugin','3031740zTuRxn','5118JCcpwb','859486wFCEuj','pluginName','3479CsRCyZ','2894416fTZBzw','1EMpLTA','requires','isPremiumPlugin','LineHeight','1637000LGcuIV','451888CdFCqY','1563546JZefOW'];_0x5681=function(){return _0x5e4f7c;};return _0x5681();}import{LineHeightUI as _0x6a83e}from'./lineheightui.js';export class LineHeight extends _0x4d6f30{static get[_0x32f023(0x1ae)](){return[_0x5f0569,_0x6a83e];}static get[_0x32f023(0x1aa)](){var _0x51c01a=_0x32f023;return _0x51c01a(0x1b0);}static get[_0x32f023(0x1a6)](){return!0x0;}static get[_0x32f023(0x1af)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5a6e(_0x5bcf87,_0x329a6e){const _0x103c9e=_0x103c();return _0x5a6e=function(_0x5a6ee5,_0x48df25){_0x5a6ee5=_0x5a6ee5-0x159;let _0x487760=_0x103c9e[_0x5a6ee5];return _0x487760;},_0x5a6e(_0x5bcf87,_0x329a6e);}const _0x580b8f=_0x5a6e;(function(_0x71e47f,_0x46e672){const _0x28b638=_0x5a6e,_0x1678f3=_0x71e47f();while(!![]){try{const _0x1733ad=-parseInt(_0x28b638(0x174))/0x1*(parseInt(_0x28b638(0x168))/0x2)+parseInt(_0x28b638(0x16b))/0x3*(parseInt(_0x28b638(0x16e))/0x4)+parseInt(_0x28b638(0x15a))/0x5+parseInt(_0x28b638(0x159))/0x6+parseInt(_0x28b638(0x165))/0x7*(-parseInt(_0x28b638(0x166))/0x8)+parseInt(_0x28b638(0x167))/0x9+-parseInt(_0x28b638(0x170))/0xa;if(_0x1733ad===_0x46e672)break;else _0x1678f3['push'](_0x1678f3['shift']());}catch(_0x1018d0){_0x1678f3['push'](_0x1678f3['shift']());}}}(_0x103c,0x4d508));function _0x103c(){const _0x1b813f=['8244790YlMBFn','model','isEnabled','refresh','1009RrBkAE','getAttribute','1528854CBqaEL','2765030dtxaRb','schema','selection','editor','setAttribute','from','value','filter','_canHaveLineHeight','removeAttribute','change','166537kNQjVW','152KYVBfa','5294457nFmKlK','286xRcmiJ','getSelectedBlocks','document','1461QAiDUd','lineHeight','execute','2804orjJzS','checkAttribute'];_0x103c=function(){return _0x1b813f;};return _0x103c();}import{Command as _0x429a15}from'ckeditor5/src/core.js';import{first as _0x183cc8}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x429a15{[_0x580b8f(0x173)](){const _0x56ce6c=_0x580b8f,_0x43d764=this[_0x56ce6c(0x15d)][_0x56ce6c(0x171)][_0x56ce6c(0x16a)],_0x1683b1=_0x183cc8(_0x43d764[_0x56ce6c(0x15c)][_0x56ce6c(0x169)]());this[_0x56ce6c(0x172)]=Boolean(_0x1683b1)&&this[_0x56ce6c(0x162)](_0x1683b1),this[_0x56ce6c(0x160)]=this[_0x56ce6c(0x172)]&&_0x1683b1[_0x56ce6c(0x175)](_0x56ce6c(0x16c));}[_0x580b8f(0x16d)](_0x698bfe={}){const _0x1afc31=_0x580b8f,_0x4f44bc=this[_0x1afc31(0x15d)][_0x1afc31(0x171)],_0x41a0b2=_0x4f44bc[_0x1afc31(0x16a)][_0x1afc31(0x15c)],_0x41c0ba=_0x698bfe[_0x1afc31(0x160)];_0x4f44bc[_0x1afc31(0x164)](_0x357de1=>{const _0x3237b2=_0x1afc31,_0x69d789=Array[_0x3237b2(0x15f)](_0x41a0b2[_0x3237b2(0x169)]())[_0x3237b2(0x161)](_0x13b375=>this[_0x3237b2(0x162)](_0x13b375));for(const _0x2764ac of _0x69d789)_0x41c0ba?_0x357de1[_0x3237b2(0x15e)](_0x3237b2(0x16c),_0x41c0ba,_0x2764ac):_0x357de1[_0x3237b2(0x163)](_0x3237b2(0x16c),_0x2764ac);});}[_0x580b8f(0x162)](_0x296a1a){const _0x4e2e5f=_0x580b8f;return this[_0x4e2e5f(0x15d)][_0x4e2e5f(0x171)][_0x4e2e5f(0x15b)][_0x4e2e5f(0x16f)](_0x296a1a,_0x4e2e5f(0x16c));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x27efde=_0x3afa;(function(_0x18c8cf,_0x5906ea){const _0x2ee509=_0x3afa,_0x3c00fa=_0x18c8cf();while(!![]){try{const _0x53bf6d=parseInt(_0x2ee509(0x143))/0x1*(-parseInt(_0x2ee509(0x11a))/0x2)+parseInt(_0x2ee509(0x13e))/0x3+-parseInt(_0x2ee509(0x128))/0x4+parseInt(_0x2ee509(0x133))/0x5+parseInt(_0x2ee509(0x121))/0x6+-parseInt(_0x2ee509(0x13b))/0x7+-parseInt(_0x2ee509(0x12d))/0x8*(parseInt(_0x2ee509(0x141))/0x9);if(_0x53bf6d===_0x5906ea)break;else _0x3c00fa['push'](_0x3c00fa['shift']());}catch(_0x472e97){_0x3c00fa['push'](_0x3c00fa['shift']());}}}(_0xd8df,0xd8839));import{Plugin as _0x1d818f}from'ckeditor5/src/core.js';function _0x3afa(_0x1ebcca,_0x5ce503){const _0xd8df38=_0xd8df();return _0x3afa=function(_0x3afa97,_0x1c75fe){_0x3afa97=_0x3afa97-0x116;let _0x50d01e=_0xd8df38[_0x3afa97];return _0x50d01e;},_0x3afa(_0x1ebcca,_0x5ce503);}import{LineHeightCommand as _0x2d21ee}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x5a31cf}from'ckeditor5/src/engine.js';import{uid as _0x1714a6,CKEditorError as _0x1aa602}from'ckeditor5/src/utils.js';import{buildDefinition as _0x1389f7,isLineHeightDefaultValue as _0x281145,normalizeOptions as _0x868d6e}from'./utils.js';import{LineHeightTodoListIntegration as _0x41bd23}from'./integrations/todolist.js';function _0xd8df(){const _0xc87ba6=['2484704yUKklO','add','join','pluginName','style','23832zrqBkg','_prepareAnyValueConverters','isPremiumPlugin','line-height','lineHeight.supportAllValues','$block','5454265fRTwZV','lineHeight.defaultValue','fromCharCode','config','LineHeightEditing','map','href','values','7247051GNiVUL','slice','extend','2212002OYWPGm','line-height-invalid-use-of-named-presets','conversion','981MmXtLK','downcast','421583CjTPZh','isOfficialPlugin','commands','schema','define','string','filter','length','getStyle','_validateConfig','afterInit','requires','get','2tADhuv','_preparePredefinedConverters','model','includes','init','editor','lineHeight.options','8768502YxwuWe','lineHeight','setAttributeProperties','for','default','upcast','attributeToAttribute'];_0xd8df=function(){return _0xc87ba6;};return _0xd8df();}export class LineHeightEditing extends _0x1d818f{static get[_0x27efde(0x12b)](){const _0x54d110=_0x27efde;return _0x54d110(0x137);}static get[_0x27efde(0x118)](){return[_0x41bd23];}static get[_0x27efde(0x144)](){return!0x0;}static get[_0x27efde(0x12f)](){return!0x0;}constructor(_0x4af8b7){const _0x46bfbc=_0x27efde;super(_0x4af8b7),_0x4af8b7[_0x46bfbc(0x136)][_0x46bfbc(0x147)](_0x46bfbc(0x122),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x46bfbc(0x125),0x2,2.5,0x3]});}[_0x27efde(0x11e)](){const _0x4eabcc=_0x27efde,_0xdcf29c=this[_0x4eabcc(0x11f)];this[_0x4eabcc(0x116)](),_0xdcf29c[_0x4eabcc(0x11c)][_0x4eabcc(0x146)][_0x4eabcc(0x13d)](_0x4eabcc(0x132),{'allowAttributes':_0x4eabcc(0x122)}),_0xdcf29c[_0x4eabcc(0x11c)][_0x4eabcc(0x146)][_0x4eabcc(0x123)](_0x4eabcc(0x122),{'isFormatting':!0x0}),_0xdcf29c[_0x4eabcc(0x145)][_0x4eabcc(0x129)](_0x4eabcc(0x122),new _0x2d21ee(_0xdcf29c)),this[_0x4eabcc(0x11f)][_0x4eabcc(0x136)][_0x4eabcc(0x119)](_0x4eabcc(0x131))?this[_0x4eabcc(0x12e)]():this[_0x4eabcc(0x11b)]();}[_0x27efde(0x117)](){!async function(_0x503ffa){const _0x3d93ff=_0x4bed1c([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]),_0x55b7fb=0x45ddd215,_0x4dfb9f=0x45da532d^_0x55b7fb,_0x1d6cb3=window[_0x4bed1c([0x44,0x61,0x74,0x65])][_0x4bed1c([0x6e,0x6f,0x77])](),_0x3a23e8=_0x503ffa[_0x4bed1c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x23bb4e=new window[(_0x4bed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c5a18=>{_0x3a23e8[_0x4bed1c([0x6f,0x6e,0x63,0x65])](_0x4bed1c([0x72,0x65,0x61,0x64,0x79]),_0x4c5a18);}),_0x330223={[_0x4bed1c([0x6b,0x74,0x79])]:_0x4bed1c([0x45,0x43]),[_0x4bed1c([0x75,0x73,0x65])]:_0x4bed1c([0x73,0x69,0x67]),[_0x4bed1c([0x63,0x72,0x76])]:_0x4bed1c([0x50,0x2d,0x32,0x35,0x36]),[_0x4bed1c([0x78])]:_0x4bed1c([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]),[_0x4bed1c([0x79])]:_0x4bed1c([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]),[_0x4bed1c([0x61,0x6c,0x67])]:_0x4bed1c([0x45,0x53,0x32,0x35,0x36])},_0x1dfb5e=_0x3a23e8[_0x4bed1c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4bed1c([0x67,0x65,0x74])](_0x4bed1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x542a12(){let _0x1908c3,_0x211eb8=null,_0x50c242=null;try{if(_0x1dfb5e==_0x4bed1c([0x47,0x50,0x4c]))return _0x4bed1c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1908c3=_0x23af4b(),!_0x1908c3)return _0x4bed1c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1908c3[_0x4bed1c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x50c242=_0x2ac722(_0x1908c3[_0x4bed1c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1908c3[_0x4bed1c([0x6a,0x74,0x69])])),await _0x27c5c7()?_0x1e79cf()?_0x20a970()?_0x4bed1c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1e5f22()?(_0x1908c3[_0x4bed1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4bed1c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x211eb8=_0x3d87b2(_0x4bed1c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4729f6()):_0x4bed1c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4bed1c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4bed1c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4bed1c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x20a970(){const _0x55bd86=[_0x4bed1c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4bed1c([0x74,0x72,0x69,0x61,0x6c])][_0x4bed1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1908c3[_0x4bed1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1d6cb3/0x3e8:0xe10*_0x4dfb9f;return _0x1908c3[_0x4bed1c([0x65,0x78,0x70])]<_0x55bd86;}function _0x1e79cf(){const _0x1f3207=_0x1908c3[_0x4bed1c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1f3207&&(!!_0x1f3207[_0x4bed1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bed1c([0x2a]))||!!_0x1f3207[_0x4bed1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bed1c([0x4c,0x48])));}function _0x1e5f22(){const _0x268108=_0x3afa,_0x28ed77=_0x1908c3[_0x4bed1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x28ed77||0x0==_0x28ed77[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf3d336}=new URL(window[_0x4bed1c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x268108(0x139)]);if(_0x28ed77[_0x4bed1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf3d336))return!0x0;const _0x45beed=_0xf3d336[_0x4bed1c([0x73,0x70,0x6c,0x69,0x74])](_0x4bed1c([0x2e]));return _0x28ed77[_0x4bed1c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25aa40=>_0x25aa40[_0x4bed1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bed1c([0x2a])))[_0x4bed1c([0x6d,0x61,0x70])](_0x2fe82d=>_0x2fe82d[_0x4bed1c([0x73,0x70,0x6c,0x69,0x74])](_0x4bed1c([0x2e])))[_0x4bed1c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4638e4=>_0x4638e4[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x45beed[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4bed1c([0x6d,0x61,0x70])](_0x5a76df=>Array(_0x45beed[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5a76df[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4bed1c([0x66,0x69,0x6c,0x6c])](_0x5a76df[0x0]===_0x4bed1c([0x2a])?_0x4bed1c([0x2a]):'')[_0x4bed1c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5a76df))[_0x4bed1c([0x73,0x6f,0x6d,0x65])](_0x437c1c=>_0x45beed[_0x4bed1c([0x65,0x76,0x65,0x72,0x79])]((_0x30fb53,_0x3ec379)=>_0x437c1c[_0x3ec379]===_0x30fb53||_0x437c1c[_0x3ec379]===_0x4bed1c([0x2a])));}function _0x4729f6(){return _0x211eb8&&_0x50c242?new window[(_0x4bed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb9ec44,_0xbae38)=>{_0x211eb8[_0x4bed1c([0x74,0x68,0x65,0x6e])](_0xb9ec44,_0xbae38),_0x50c242[_0x4bed1c([0x74,0x68,0x65,0x6e])](_0x3bb475=>{_0x3bb475!=_0x4bed1c([0x56,0x61,0x6c,0x69,0x64])&&_0xb9ec44(_0x3bb475);},_0xbae38);}):_0x211eb8||_0x50c242||_0x4bed1c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2ac722(_0x4c1508,_0x26ff89){return new window[(_0x4bed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f2669=>{if(_0x3c005e())return _0x4f2669(_0x4bed1c([0x56,0x61,0x6c,0x69,0x64]));_0x41d96c(),_0x3a23e8[_0x4bed1c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4bed1c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xa8997e=!0x1;const _0x5072e5=_0x1714a6();function _0x482bf4(_0x344661){return!!_0x344661&&(typeof _0x344661===_0x4bed1c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x344661===_0x4bed1c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x344661[_0x4bed1c([0x74,0x68,0x65,0x6e])]===_0x4bed1c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x344661[_0x4bed1c([0x63,0x61,0x74,0x63,0x68])]===_0x4bed1c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a8f74(_0x52f87f){_0x533b8b(_0x52f87f)[_0x4bed1c([0x74,0x68,0x65,0x6e])](_0x19010f=>{if(!_0x19010f||_0x19010f[_0x4bed1c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4bed1c([0x6f,0x6b]))return _0x4bed1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x52e392(_0x37c413(_0x5072e5+_0x26ff89))!=_0x19010f[_0x4bed1c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4bed1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4bed1c([0x56,0x61,0x6c,0x69,0x64]);})[_0x4bed1c([0x74,0x68,0x65,0x6e])](_0x38f24f=>(_0x1a7ed3(),_0x38f24f),()=>{const _0x49835c=_0x540a62();return null==_0x49835c?(_0x1a7ed3(),_0x4bed1c([0x56,0x61,0x6c,0x69,0x64])):_0x4bed1c(_0x1d6cb3-_0x49835c>(0x61d15615^_0x55b7fb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4bed1c([0x74,0x68,0x65,0x6e])](_0x4f2669)[_0x4bed1c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f2669(_0x4bed1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x36394f=0x45eb3c95^_0x55b7fb;function _0x1a7ed3(){const _0x198758=_0x4bed1c([0x6c,0x6c,0x63,0x74,0x2d])+_0x52e392(_0x37c413(_0x4c1508)),_0x478f75=_0x2fc01a(_0x52e392(window[_0x4bed1c([0x4d,0x61,0x74,0x68])][_0x4bed1c([0x63,0x65,0x69,0x6c])](_0x1d6cb3/_0x36394f)));window[_0x4bed1c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4bed1c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x198758,_0x478f75);}function _0x540a62(){const _0x2c3d4e=_0x4bed1c([0x6c,0x6c,0x63,0x74,0x2d])+_0x52e392(_0x37c413(_0x4c1508)),_0x3a780c=window[_0x4bed1c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4bed1c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c3d4e);return _0x3a780c?window[_0x4bed1c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fc01a(_0x3a780c),0x10)*_0x36394f:null;}function _0x533b8b(_0x513745){return new window[(_0x4bed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x394ed4,_0xaafaee)=>{_0x513745[_0x4bed1c([0x74,0x68,0x65,0x6e])](_0x394ed4,_0xaafaee),window[_0x4bed1c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xaafaee,0x45dc06d5^_0x55b7fb);});}}_0x3a23e8[_0x4bed1c([0x6f,0x6e])](_0x4bed1c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3a6b35,_0x56185f)=>{if(_0x56185f[0x0]!=_0x4c1508)return _0x4f2669(_0x4bed1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x56185f[0x1]={..._0x56185f[0x1],[_0x4bed1c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5072e5};},{[_0x4bed1c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4bed1c([0x68,0x69,0x67,0x68])}),_0x3a23e8[_0x4bed1c([0x6f,0x6e])](_0x4bed1c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x42d4e=>{_0x482bf4(_0x42d4e[_0x4bed1c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xa8997e=!0x0,_0x4a8f74(_0x42d4e[_0x4bed1c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4bed1c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4bed1c([0x6c,0x6f,0x77])}),_0x23bb4e[_0x4bed1c([0x74,0x68,0x65,0x6e])](()=>{_0xa8997e||_0x4f2669(_0x4bed1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3c005e(){return _0x3a23e8[_0x4bed1c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4bed1c([0x76,0x69,0x65,0x77])][_0x4bed1c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4bed1c([0x61,0x75,0x74,0x6f]);}function _0x41d96c(){_0x3a23e8[_0x4bed1c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4bed1c([0x76,0x69,0x65,0x77])][_0x4bed1c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4bed1c([0x61,0x75,0x74,0x6f]);}}function _0x3d87b2(_0x5d5091){const _0x1c0499=[new window[(_0x4bed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b0560=>setTimeout(_0x4b0560,0x45d4ecd9^_0x55b7fb)),_0x23bb4e[_0x4bed1c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4bed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57a474=>{let _0x4b0d5e=0x0;_0x3a23e8[_0x4bed1c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4bed1c([0x6f,0x6e])](_0x4bed1c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a40c5,_0x1aedcd)=>{_0x1aedcd[0x0][_0x4bed1c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b0d5e++,_0x4b0d5e==(0x45ddd7fd^_0x55b7fb)&&(_0x57a474(),_0x5a40c5[_0x4bed1c([0x6f,0x66,0x66])]());});}))];return window[_0x4bed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4bed1c([0x72,0x61,0x63,0x65])](_0x1c0499)[_0x4bed1c([0x74,0x68,0x65,0x6e])](()=>_0x5d5091);}async function _0x1cd464(){await _0x23bb4e,_0x3a23e8[_0x4bed1c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4bed1c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x50e6d0,_0x3a23e8[_0x4bed1c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4bed1c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x50e6d0,_0x3a23e8[_0x4bed1c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4bed1c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x56158d(_0x658682){const _0x4ebc28=_0x452b93();_0x3a23e8[_0x4ebc28]=_0x4bed1c([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x658682,_0x658682!=_0x4bed1c([0x56,0x61,0x6c,0x69,0x64])&&_0x1cd464();}function _0x452b93(){const _0x1b4e8a=window[_0x4bed1c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4bed1c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4bed1c([0x6e,0x6f,0x77])]())[_0x4bed1c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4bed1c([0x2e]),'');let _0x4660b0=_0x4bed1c([0x50]);for(let _0x380c97=0x0;_0x380c97<_0x1b4e8a[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x380c97+=0x2){let _0x256dd9=window[_0x4bed1c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b4e8a[_0x4bed1c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x380c97,_0x380c97+0x2));_0x256dd9>=_0x3d93ff[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x256dd9-=_0x3d93ff[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4660b0+=_0x3d93ff[_0x256dd9];}return _0x4660b0;}function _0x23af4b(){const _0x3325e4=_0x1dfb5e[_0x4bed1c([0x73,0x70,0x6c,0x69,0x74])](_0x4bed1c([0x2e]));if(0x3!=_0x3325e4[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x269f4b(_0x3325e4[0x1]);function _0x269f4b(_0x4e50dc){const _0xefc43b=_0xcdc4d1(_0x4e50dc);return _0xefc43b&&_0x293aa8()?_0xefc43b:null;function _0x293aa8(){const _0x364761=_0xefc43b[_0x4bed1c([0x6a,0x74,0x69])],_0x456691=window[_0x4bed1c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x364761[_0x4bed1c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x364761[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x373d39={..._0xefc43b,[_0x4bed1c([0x6a,0x74,0x69])]:_0x364761[_0x4bed1c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x364761[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x373d39[_0x4bed1c([0x76,0x63])],_0x37c413(_0x373d39)==_0x456691;}}}async function _0x27c5c7(){let _0x2116b8=!0x0;try{const _0x25928a=_0x1dfb5e[_0x4bed1c([0x73,0x70,0x6c,0x69,0x74])](_0x4bed1c([0x2e])),[_0x489f71,_0x319def,_0x389e9c]=_0x25928a;return _0x273898(_0x489f71),await _0x4c0cae(_0x489f71,_0x319def,_0x389e9c),_0x2116b8;}catch{return!0x1;}function _0x273898(_0x2ed4c1){const _0x22c265=_0xcdc4d1(_0x2ed4c1);_0x22c265&&_0x22c265[_0x4bed1c([0x61,0x6c,0x67])]==_0x4bed1c([0x45,0x53,0x32,0x35,0x36])||(_0x2116b8=!0x1);}async function _0x4c0cae(_0x54eb82,_0x303d41,_0x3294f0){const _0x3440b0=window[_0x4bed1c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4bed1c([0x66,0x72,0x6f,0x6d])](_0x3f307e(_0x3294f0),_0x37ec88=>_0x37ec88[_0x4bed1c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a7aae=new window[(_0x4bed1c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4bed1c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54eb82+_0x4bed1c([0x2e])+_0x303d41),_0x5473e4=window[_0x4bed1c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4bed1c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5473e4)return;const _0x20d6d4=await _0x5473e4[_0x4bed1c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4bed1c([0x6a,0x77,0x6b]),_0x330223,{[_0x4bed1c([0x6e,0x61,0x6d,0x65])]:_0x4bed1c([0x45,0x43,0x44,0x53,0x41]),[_0x4bed1c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4bed1c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4bed1c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5473e4[_0x4bed1c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4bed1c([0x6e,0x61,0x6d,0x65])]:_0x4bed1c([0x45,0x43,0x44,0x53,0x41]),[_0x4bed1c([0x68,0x61,0x73,0x68])]:{[_0x4bed1c([0x6e,0x61,0x6d,0x65])]:_0x4bed1c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x20d6d4,_0x3440b0,_0x2a7aae)||(_0x2116b8=!0x1);}}function _0xcdc4d1(_0x4d8c4c){return _0x4d8c4c[_0x4bed1c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4bed1c([0x65,0x79]))?JSON[_0x4bed1c([0x70,0x61,0x72,0x73,0x65])](_0x3f307e(_0x4d8c4c)):null;}function _0x3f307e(_0x282095){return window[_0x4bed1c([0x61,0x74,0x6f,0x62])](_0x282095[_0x4bed1c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4bed1c([0x2b]))[_0x4bed1c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4bed1c([0x2f])));}function _0x37c413(_0x150f30){let _0x33831f=0x1505;function _0x379daf(_0x7515b6){for(let _0xc7a56a=0x0;_0xc7a56a<_0x7515b6[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc7a56a++){const _0x37d18d=_0x7515b6[_0x4bed1c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xc7a56a);_0x33831f=(_0x33831f<<0x5)+_0x33831f+_0x37d18d,_0x33831f&=_0x33831f;}}function _0x5ba186(_0x20a4b2){Array[_0x4bed1c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x20a4b2)?_0x20a4b2[_0x4bed1c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5ba186):_0x20a4b2&&typeof _0x20a4b2==_0x4bed1c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4bed1c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x20a4b2)[_0x4bed1c([0x73,0x6f,0x72,0x74])]()[_0x4bed1c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5880ab,_0x5defec])=>{_0x379daf(_0x5880ab),_0x5ba186(_0x5defec);}):_0x379daf(window[_0x4bed1c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x20a4b2));}return _0x5ba186(_0x150f30),_0x33831f>>>0x0;}function _0x52e392(_0x34dfd8){return _0x34dfd8[_0x4bed1c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4bed1c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4bed1c([0x30]));}function _0x2fc01a(_0x5d6e11){return _0x5d6e11[_0x4bed1c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4bed1c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4bed1c([0x6a,0x6f,0x69,0x6e])]('');}function _0x50e6d0(){}function _0x4bed1c(_0x3a83e0){const _0xcc82e=_0x3afa;return _0x3a83e0[_0xcc82e(0x138)](_0x223337=>String[_0xcc82e(0x135)](_0x223337))[_0xcc82e(0x12a)]('');}_0x56158d(await _0x542a12());}(this);}[_0x27efde(0x116)](){const _0x2cab6f=_0x27efde,_0x23b6de=this[_0x2cab6f(0x11f)];if(!_0x23b6de[_0x2cab6f(0x136)][_0x2cab6f(0x119)](_0x2cab6f(0x131)))return;const _0x126e80=_0x23b6de[_0x2cab6f(0x136)][_0x2cab6f(0x119)](_0x2cab6f(0x120))[_0x2cab6f(0x149)](_0x3c9bd0=>_0x2cab6f(0x148)==typeof _0x3c9bd0&&(!_0x281145(_0x3c9bd0)&&isNaN(Number(_0x3c9bd0))));if(_0x126e80[_0x2cab6f(0x14a)])throw new _0x1aa602(_0x2cab6f(0x13f),null,{'namedPresets':_0x126e80});}[_0x27efde(0x12e)](){const _0x10c136=_0x27efde,_0x58aa4d=this[_0x10c136(0x11f)],_0x373d84=this[_0x10c136(0x11f)][_0x10c136(0x136)][_0x10c136(0x119)](_0x10c136(0x134));_0x58aa4d[_0x10c136(0x140)][_0x10c136(0x124)](_0x10c136(0x142))[_0x10c136(0x127)]({'model':{'key':_0x10c136(0x122)},'view':_0x1322fb=>String(_0x1322fb)===String(_0x373d84)?null:{'key':_0x10c136(0x12c),'value':{'line-height':_0x1322fb}}}),_0x58aa4d[_0x10c136(0x140)][_0x10c136(0x124)](_0x10c136(0x126))[_0x10c136(0x127)]({'model':{'key':_0x10c136(0x122),'value':_0x135b4f=>{const _0x6e085e=_0x10c136;let _0x166b04=_0x135b4f[_0x6e085e(0x14b)](_0x6e085e(0x130));return _0x5a31cf(_0x166b04)&&(_0x166b04=String(Number(_0x166b04[_0x6e085e(0x13c)](0x0,-0x1))/0x64)),String(_0x166b04)===String(_0x373d84)?null:_0x166b04;}},'view':{'styles':{'line-height':/.*/}}});}[_0x27efde(0x11b)](){const _0x2f0d43=_0x27efde,_0x5ab1aa=this[_0x2f0d43(0x11f)],_0x4b7068=this[_0x2f0d43(0x11f)][_0x2f0d43(0x136)][_0x2f0d43(0x119)](_0x2f0d43(0x134)),_0x2208ee=_0x868d6e(this[_0x2f0d43(0x11f)][_0x2f0d43(0x136)][_0x2f0d43(0x119)](_0x2f0d43(0x122)))[_0x2f0d43(0x149)](_0x4f7660=>_0x4f7660[_0x2f0d43(0x11c)]),_0x38ee0e=_0x1389f7(_0x2f0d43(0x122),_0x2208ee);_0x5ab1aa[_0x2f0d43(0x140)][_0x2f0d43(0x127)](_0x38ee0e),_0x5ab1aa[_0x2f0d43(0x140)][_0x2f0d43(0x124)](_0x2f0d43(0x126))[_0x2f0d43(0x127)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x2f0d43(0x122),'value':_0x586aec=>{const _0x4b6233=_0x2f0d43;let _0xb9fc6f=_0x586aec[_0x4b6233(0x14b)](_0x4b6233(0x130));return _0x5a31cf(_0xb9fc6f)&&(_0xb9fc6f=String(Number(_0xb9fc6f[_0x4b6233(0x13c)](0x0,-0x1))/0x64)),_0xb9fc6f===String(_0x4b7068)?null:_0x38ee0e[_0x4b6233(0x11c)][_0x4b6233(0x13a)][_0x4b6233(0x11d)](_0xb9fc6f)?_0xb9fc6f:null;}}});}}
|
|
23
|
+
const _0x42ff35=_0x4de9;(function(_0x4c18de,_0xbdb376){const _0x23d7c9=_0x4de9,_0x40bd2a=_0x4c18de();while(!![]){try{const _0x4c5a53=-parseInt(_0x23d7c9(0x1d5))/0x1*(-parseInt(_0x23d7c9(0x1d2))/0x2)+-parseInt(_0x23d7c9(0x1e3))/0x3*(parseInt(_0x23d7c9(0x1df))/0x4)+-parseInt(_0x23d7c9(0x1d1))/0x5*(-parseInt(_0x23d7c9(0x1dc))/0x6)+parseInt(_0x23d7c9(0x1f0))/0x7*(-parseInt(_0x23d7c9(0x1d6))/0x8)+-parseInt(_0x23d7c9(0x1ec))/0x9+parseInt(_0x23d7c9(0x1f3))/0xa+parseInt(_0x23d7c9(0x1ca))/0xb*(parseInt(_0x23d7c9(0x1ef))/0xc);if(_0x4c5a53===_0xbdb376)break;else _0x40bd2a['push'](_0x40bd2a['shift']());}catch(_0x594363){_0x40bd2a['push'](_0x40bd2a['shift']());}}}(_0x4300,0x64386));import{Plugin as _0x7dbc80}from'ckeditor5/src/core.js';function _0x4de9(_0x4001cd,_0x3ba625){const _0x4300c6=_0x4300();return _0x4de9=function(_0x4de999,_0x1c78ca){_0x4de999=_0x4de999-0x1c4;let _0x1a0ce8=_0x4300c6[_0x4de999];return _0x1a0ce8;},_0x4de9(_0x4001cd,_0x3ba625);}function _0x4300(){const _0x5c401c=['lineHeight.supportAllValues','1838965jFaUIK','550846xoCtwV','init','define','1smvKAO','1308152NEpowG','schema','attributeToAttribute','for','upcast','filter','6ogXxHM','lineHeight.defaultValue','get','132808UbCWYQ','values','default','_preparePredefinedConverters','9BmCMRJ','add','conversion','commands','line-height','$block','_prepareAnyValueConverters','isPremiumPlugin','getStyle','1759752mSOOpA','LineHeightEditing','isOfficialPlugin','3948RDDNEb','21yiejco','requires','string','5437650ezjFoO','slice','extend','_validateConfig','line-height-invalid-use-of-named-presets','lineHeight.options','lineHeight','config','setAttributeProperties','join','editor','fromCharCode','href','map','length','afterInit','308uZUmkc','model','style','pluginName','downcast','includes'];_0x4300=function(){return _0x5c401c;};return _0x4300();}import{LineHeightCommand as _0x307f89}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x1c6ac7}from'ckeditor5/src/engine.js';import{uid as _0x3dc69b,CKEditorError as _0x771352}from'ckeditor5/src/utils.js';import{buildDefinition as _0x28814e,isLineHeightDefaultValue as _0x3cc5c4,normalizeOptions as _0x1bc47d}from'./utils.js';import{LineHeightTodoListIntegration as _0x19c5da}from'./integrations/todolist.js';export class LineHeightEditing extends _0x7dbc80{static get[_0x42ff35(0x1cd)](){const _0x46121b=_0x42ff35;return _0x46121b(0x1ed);}static get[_0x42ff35(0x1f1)](){return[_0x19c5da];}static get[_0x42ff35(0x1ee)](){return!0x0;}static get[_0x42ff35(0x1ea)](){return!0x0;}constructor(_0x1b3bd7){const _0x5eed42=_0x42ff35;super(_0x1b3bd7),_0x1b3bd7[_0x5eed42(0x1fa)][_0x5eed42(0x1d4)](_0x5eed42(0x1f9),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x5eed42(0x1e1),0x2,2.5,0x3]});}[_0x42ff35(0x1d3)](){const _0x341daa=_0x42ff35,_0x5b1eaa=this[_0x341daa(0x1c4)];this[_0x341daa(0x1f6)](),_0x5b1eaa[_0x341daa(0x1cb)][_0x341daa(0x1d7)][_0x341daa(0x1f5)](_0x341daa(0x1e8),{'allowAttributes':_0x341daa(0x1f9)}),_0x5b1eaa[_0x341daa(0x1cb)][_0x341daa(0x1d7)][_0x341daa(0x1fb)](_0x341daa(0x1f9),{'isFormatting':!0x0}),_0x5b1eaa[_0x341daa(0x1e6)][_0x341daa(0x1e4)](_0x341daa(0x1f9),new _0x307f89(_0x5b1eaa)),this[_0x341daa(0x1c4)][_0x341daa(0x1fa)][_0x341daa(0x1de)](_0x341daa(0x1d0))?this[_0x341daa(0x1e9)]():this[_0x341daa(0x1e2)]();}[_0x42ff35(0x1c9)](){!async function(_0x5de5ac){const _0x504dd7=_0x11f25e([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]),_0x81db5d=0x45ddd215,_0x5bb360=0x45da532d^_0x81db5d,_0x5dad59=window[_0x11f25e([0x44,0x61,0x74,0x65])][_0x11f25e([0x6e,0x6f,0x77])](),_0x313c30=_0x5de5ac[_0x11f25e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x180c7c=new window[(_0x11f25e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4084fd=>{_0x313c30[_0x11f25e([0x6f,0x6e,0x63,0x65])](_0x11f25e([0x72,0x65,0x61,0x64,0x79]),_0x4084fd);}),_0x4a7617={[_0x11f25e([0x6b,0x74,0x79])]:_0x11f25e([0x45,0x43]),[_0x11f25e([0x75,0x73,0x65])]:_0x11f25e([0x73,0x69,0x67]),[_0x11f25e([0x63,0x72,0x76])]:_0x11f25e([0x50,0x2d,0x32,0x35,0x36]),[_0x11f25e([0x78])]:_0x11f25e([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]),[_0x11f25e([0x79])]:_0x11f25e([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]),[_0x11f25e([0x61,0x6c,0x67])]:_0x11f25e([0x45,0x53,0x32,0x35,0x36])},_0x32ed11=_0x313c30[_0x11f25e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x11f25e([0x67,0x65,0x74])](_0x11f25e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x344f5b(){let _0x377a9d,_0x31489e=null,_0x1f9c07=null;try{if(_0x32ed11==_0x11f25e([0x47,0x50,0x4c]))return _0x11f25e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x377a9d=_0x11c6be(),!_0x377a9d)return _0x11f25e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x377a9d[_0x11f25e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f9c07=_0x380b08(_0x377a9d[_0x11f25e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x377a9d[_0x11f25e([0x6a,0x74,0x69])])),await _0x3c20b1()?_0x5aa5a9()?_0x241fbd()?_0x11f25e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2083dc()?(_0x377a9d[_0x11f25e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x11f25e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31489e=_0x3b94b6(_0x11f25e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e5654()):_0x11f25e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x11f25e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x11f25e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x11f25e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x241fbd(){const _0x2d3dd2=[_0x11f25e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x11f25e([0x74,0x72,0x69,0x61,0x6c])][_0x11f25e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x377a9d[_0x11f25e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5dad59/0x3e8:0xe10*_0x5bb360;return _0x377a9d[_0x11f25e([0x65,0x78,0x70])]<_0x2d3dd2;}function _0x5aa5a9(){const _0x3aaeb9=_0x377a9d[_0x11f25e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3aaeb9&&(!!_0x3aaeb9[_0x11f25e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11f25e([0x2a]))||!!_0x3aaeb9[_0x11f25e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11f25e([0x4c,0x48])));}function _0x2083dc(){const _0x445f84=_0x4de9,_0x1d1f72=_0x377a9d[_0x11f25e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1d1f72||0x0==_0x1d1f72[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x54684e}=new URL(window[_0x11f25e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x445f84(0x1c6)]);if(_0x1d1f72[_0x11f25e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54684e))return!0x0;const _0x306c93=_0x54684e[_0x11f25e([0x73,0x70,0x6c,0x69,0x74])](_0x11f25e([0x2e]));return _0x1d1f72[_0x11f25e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4deb04=>_0x4deb04[_0x11f25e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11f25e([0x2a])))[_0x11f25e([0x6d,0x61,0x70])](_0x57ab98=>_0x57ab98[_0x11f25e([0x73,0x70,0x6c,0x69,0x74])](_0x11f25e([0x2e])))[_0x11f25e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53aae6=>_0x53aae6[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x306c93[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x11f25e([0x6d,0x61,0x70])](_0x5f3895=>Array(_0x306c93[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5f3895[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x11f25e([0x66,0x69,0x6c,0x6c])](_0x5f3895[0x0]===_0x11f25e([0x2a])?_0x11f25e([0x2a]):'')[_0x11f25e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5f3895))[_0x11f25e([0x73,0x6f,0x6d,0x65])](_0x483fce=>_0x306c93[_0x11f25e([0x65,0x76,0x65,0x72,0x79])]((_0x131a11,_0x403eb9)=>_0x483fce[_0x403eb9]===_0x131a11||_0x483fce[_0x403eb9]===_0x11f25e([0x2a])));}function _0x2e5654(){return _0x31489e&&_0x1f9c07?new window[(_0x11f25e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d2720,_0xfa66a8)=>{_0x31489e[_0x11f25e([0x74,0x68,0x65,0x6e])](_0x4d2720,_0xfa66a8),_0x1f9c07[_0x11f25e([0x74,0x68,0x65,0x6e])](_0x4c73cf=>{_0x4c73cf!=_0x11f25e([0x56,0x61,0x6c,0x69,0x64])&&_0x4d2720(_0x4c73cf);},_0xfa66a8);}):_0x31489e||_0x1f9c07||_0x11f25e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x380b08(_0x519f76,_0x2f7192){return new window[(_0x11f25e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xccd990=>{if(_0x1bb1a8())return _0xccd990(_0x11f25e([0x56,0x61,0x6c,0x69,0x64]));_0x3619de(),_0x313c30[_0x11f25e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x11f25e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x557263=!0x1;const _0x34fc39=_0x3dc69b();function _0x491461(_0x423646){return!!_0x423646&&(typeof _0x423646===_0x11f25e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x423646===_0x11f25e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x423646[_0x11f25e([0x74,0x68,0x65,0x6e])]===_0x11f25e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x423646[_0x11f25e([0x63,0x61,0x74,0x63,0x68])]===_0x11f25e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x528623(_0x22d9e8){_0x2b3bf2(_0x22d9e8)[_0x11f25e([0x74,0x68,0x65,0x6e])](_0x52badb=>{if(!_0x52badb||_0x52badb[_0x11f25e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x11f25e([0x6f,0x6b]))return _0x11f25e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x20c759(_0x30b924(_0x34fc39+_0x2f7192))!=_0x52badb[_0x11f25e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x11f25e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x11f25e([0x56,0x61,0x6c,0x69,0x64]);})[_0x11f25e([0x74,0x68,0x65,0x6e])](_0x16007e=>(_0x33ac07(),_0x16007e),()=>{const _0x462455=_0x1fe5da();return null==_0x462455?(_0x33ac07(),_0x11f25e([0x56,0x61,0x6c,0x69,0x64])):_0x11f25e(_0x5dad59-_0x462455>(0x61d15615^_0x81db5d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x11f25e([0x74,0x68,0x65,0x6e])](_0xccd990)[_0x11f25e([0x63,0x61,0x74,0x63,0x68])](()=>{_0xccd990(_0x11f25e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5efb4a=0x45eb3c95^_0x81db5d;function _0x33ac07(){const _0x13682d=_0x11f25e([0x6c,0x6c,0x63,0x74,0x2d])+_0x20c759(_0x30b924(_0x519f76)),_0x3adb58=_0x5a510e(_0x20c759(window[_0x11f25e([0x4d,0x61,0x74,0x68])][_0x11f25e([0x63,0x65,0x69,0x6c])](_0x5dad59/_0x5efb4a)));window[_0x11f25e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11f25e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13682d,_0x3adb58);}function _0x1fe5da(){const _0x2ad9bf=_0x11f25e([0x6c,0x6c,0x63,0x74,0x2d])+_0x20c759(_0x30b924(_0x519f76)),_0xcabf97=window[_0x11f25e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11f25e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ad9bf);return _0xcabf97?window[_0x11f25e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a510e(_0xcabf97),0x10)*_0x5efb4a:null;}function _0x2b3bf2(_0x4ae6c8){return new window[(_0x11f25e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x439144,_0x213b77)=>{_0x4ae6c8[_0x11f25e([0x74,0x68,0x65,0x6e])](_0x439144,_0x213b77),window[_0x11f25e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x213b77,0x45dc06d5^_0x81db5d);});}}_0x313c30[_0x11f25e([0x6f,0x6e])](_0x11f25e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2edbcf,_0x5bef7a)=>{if(_0x5bef7a[0x0]!=_0x519f76)return _0xccd990(_0x11f25e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5bef7a[0x1]={..._0x5bef7a[0x1],[_0x11f25e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x34fc39};},{[_0x11f25e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11f25e([0x68,0x69,0x67,0x68])}),_0x313c30[_0x11f25e([0x6f,0x6e])](_0x11f25e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b192d=>{_0x491461(_0x1b192d[_0x11f25e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x557263=!0x0,_0x528623(_0x1b192d[_0x11f25e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x11f25e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11f25e([0x6c,0x6f,0x77])}),_0x180c7c[_0x11f25e([0x74,0x68,0x65,0x6e])](()=>{_0x557263||_0xccd990(_0x11f25e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1bb1a8(){return _0x313c30[_0x11f25e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11f25e([0x76,0x69,0x65,0x77])][_0x11f25e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x11f25e([0x61,0x75,0x74,0x6f]);}function _0x3619de(){_0x313c30[_0x11f25e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11f25e([0x76,0x69,0x65,0x77])][_0x11f25e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x11f25e([0x61,0x75,0x74,0x6f]);}}function _0x3b94b6(_0x8f5038){const _0x7ece11=[new window[(_0x11f25e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13afeb=>setTimeout(_0x13afeb,0x45d4ecd9^_0x81db5d)),_0x180c7c[_0x11f25e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x11f25e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3be18e=>{let _0x1b2178=0x0;_0x313c30[_0x11f25e([0x6d,0x6f,0x64,0x65,0x6c])][_0x11f25e([0x6f,0x6e])](_0x11f25e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3ef111,_0x1fd653)=>{_0x1fd653[0x0][_0x11f25e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1b2178++,_0x1b2178==(0x45ddd7fd^_0x81db5d)&&(_0x3be18e(),_0x3ef111[_0x11f25e([0x6f,0x66,0x66])]());});}))];return window[_0x11f25e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x11f25e([0x72,0x61,0x63,0x65])](_0x7ece11)[_0x11f25e([0x74,0x68,0x65,0x6e])](()=>_0x8f5038);}async function _0x2c9100(){await _0x180c7c,_0x313c30[_0x11f25e([0x6d,0x6f,0x64,0x65,0x6c])][_0x11f25e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1c1e1c,_0x313c30[_0x11f25e([0x6d,0x6f,0x64,0x65,0x6c])][_0x11f25e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1c1e1c,_0x313c30[_0x11f25e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x11f25e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x57c386(_0x38296f){const _0x18b0bd=_0x128998();_0x313c30[_0x18b0bd]=_0x11f25e([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x38296f,_0x38296f!=_0x11f25e([0x56,0x61,0x6c,0x69,0x64])&&_0x2c9100();}function _0x128998(){const _0x4667ac=window[_0x11f25e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x11f25e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x11f25e([0x6e,0x6f,0x77])]())[_0x11f25e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x11f25e([0x2e]),'');let _0x407978=_0x11f25e([0x50]);for(let _0x4c2577=0x0;_0x4c2577<_0x4667ac[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c2577+=0x2){let _0x454d89=window[_0x11f25e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4667ac[_0x11f25e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c2577,_0x4c2577+0x2));_0x454d89>=_0x504dd7[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x454d89-=_0x504dd7[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x407978+=_0x504dd7[_0x454d89];}return _0x407978;}function _0x11c6be(){const _0x17e2bb=_0x32ed11[_0x11f25e([0x73,0x70,0x6c,0x69,0x74])](_0x11f25e([0x2e]));if(0x3!=_0x17e2bb[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4fa423(_0x17e2bb[0x1]);function _0x4fa423(_0x1cd98a){const _0x5c9974=_0x22d599(_0x1cd98a);return _0x5c9974&&_0x1e4c7a()?_0x5c9974:null;function _0x1e4c7a(){const _0x32a0eb=_0x5c9974[_0x11f25e([0x6a,0x74,0x69])],_0x46b0d9=window[_0x11f25e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32a0eb[_0x11f25e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32a0eb[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x24d8ce={..._0x5c9974,[_0x11f25e([0x6a,0x74,0x69])]:_0x32a0eb[_0x11f25e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x32a0eb[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x24d8ce[_0x11f25e([0x76,0x63])],_0x30b924(_0x24d8ce)==_0x46b0d9;}}}async function _0x3c20b1(){let _0x3c3650=!0x0;try{const _0x4bda0d=_0x32ed11[_0x11f25e([0x73,0x70,0x6c,0x69,0x74])](_0x11f25e([0x2e])),[_0x41c1fa,_0x26baca,_0x3c0ce0]=_0x4bda0d;return _0x491daf(_0x41c1fa),await _0x489dcb(_0x41c1fa,_0x26baca,_0x3c0ce0),_0x3c3650;}catch{return!0x1;}function _0x491daf(_0x9eb18c){const _0x27d7aa=_0x22d599(_0x9eb18c);_0x27d7aa&&_0x27d7aa[_0x11f25e([0x61,0x6c,0x67])]==_0x11f25e([0x45,0x53,0x32,0x35,0x36])||(_0x3c3650=!0x1);}async function _0x489dcb(_0x5c51e4,_0x5d8081,_0x5adc1d){const _0xf05b05=window[_0x11f25e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x11f25e([0x66,0x72,0x6f,0x6d])](_0x2336ba(_0x5adc1d),_0xf92a37=>_0xf92a37[_0x11f25e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4ea3bc=new window[(_0x11f25e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x11f25e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5c51e4+_0x11f25e([0x2e])+_0x5d8081),_0x29da9d=window[_0x11f25e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x11f25e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x29da9d)return;const _0x204714=await _0x29da9d[_0x11f25e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x11f25e([0x6a,0x77,0x6b]),_0x4a7617,{[_0x11f25e([0x6e,0x61,0x6d,0x65])]:_0x11f25e([0x45,0x43,0x44,0x53,0x41]),[_0x11f25e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x11f25e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x11f25e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x29da9d[_0x11f25e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x11f25e([0x6e,0x61,0x6d,0x65])]:_0x11f25e([0x45,0x43,0x44,0x53,0x41]),[_0x11f25e([0x68,0x61,0x73,0x68])]:{[_0x11f25e([0x6e,0x61,0x6d,0x65])]:_0x11f25e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x204714,_0xf05b05,_0x4ea3bc)||(_0x3c3650=!0x1);}}function _0x22d599(_0x5e5d71){return _0x5e5d71[_0x11f25e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x11f25e([0x65,0x79]))?JSON[_0x11f25e([0x70,0x61,0x72,0x73,0x65])](_0x2336ba(_0x5e5d71)):null;}function _0x2336ba(_0x58e6a3){return window[_0x11f25e([0x61,0x74,0x6f,0x62])](_0x58e6a3[_0x11f25e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x11f25e([0x2b]))[_0x11f25e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x11f25e([0x2f])));}function _0x30b924(_0xd1fa95){let _0x3df779=0x1505;function _0x4010e7(_0x5ae017){for(let _0x4ce09e=0x0;_0x4ce09e<_0x5ae017[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ce09e++){const _0x55fdd9=_0x5ae017[_0x11f25e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ce09e);_0x3df779=(_0x3df779<<0x5)+_0x3df779+_0x55fdd9,_0x3df779&=_0x3df779;}}function _0x8707d6(_0x2ed309){Array[_0x11f25e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2ed309)?_0x2ed309[_0x11f25e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x8707d6):_0x2ed309&&typeof _0x2ed309==_0x11f25e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x11f25e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2ed309)[_0x11f25e([0x73,0x6f,0x72,0x74])]()[_0x11f25e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3a933b,_0x4870e6])=>{_0x4010e7(_0x3a933b),_0x8707d6(_0x4870e6);}):_0x4010e7(window[_0x11f25e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2ed309));}return _0x8707d6(_0xd1fa95),_0x3df779>>>0x0;}function _0x20c759(_0x1a083b){return _0x1a083b[_0x11f25e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x11f25e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x11f25e([0x30]));}function _0x5a510e(_0x49e77c){return _0x49e77c[_0x11f25e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x11f25e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x11f25e([0x6a,0x6f,0x69,0x6e])]('');}function _0x1c1e1c(){}function _0x11f25e(_0x395fd1){const _0x1c36eb=_0x4de9;return _0x395fd1[_0x1c36eb(0x1c7)](_0x47006f=>String[_0x1c36eb(0x1c5)](_0x47006f))[_0x1c36eb(0x1fc)]('');}_0x57c386(await _0x344f5b());}(this);}[_0x42ff35(0x1f6)](){const _0x40b451=_0x42ff35,_0x432014=this[_0x40b451(0x1c4)];if(!_0x432014[_0x40b451(0x1fa)][_0x40b451(0x1de)](_0x40b451(0x1d0)))return;const _0x9efbb2=_0x432014[_0x40b451(0x1fa)][_0x40b451(0x1de)](_0x40b451(0x1f8))[_0x40b451(0x1db)](_0x414b03=>_0x40b451(0x1f2)==typeof _0x414b03&&(!_0x3cc5c4(_0x414b03)&&isNaN(Number(_0x414b03))));if(_0x9efbb2[_0x40b451(0x1c8)])throw new _0x771352(_0x40b451(0x1f7),null,{'namedPresets':_0x9efbb2});}[_0x42ff35(0x1e9)](){const _0x34f513=_0x42ff35,_0x1db409=this[_0x34f513(0x1c4)],_0x39a968=this[_0x34f513(0x1c4)][_0x34f513(0x1fa)][_0x34f513(0x1de)](_0x34f513(0x1dd));_0x1db409[_0x34f513(0x1e5)][_0x34f513(0x1d9)](_0x34f513(0x1ce))[_0x34f513(0x1d8)]({'model':{'key':_0x34f513(0x1f9)},'view':_0x43ac13=>String(_0x43ac13)===String(_0x39a968)?null:{'key':_0x34f513(0x1cc),'value':{'line-height':_0x43ac13}}}),_0x1db409[_0x34f513(0x1e5)][_0x34f513(0x1d9)](_0x34f513(0x1da))[_0x34f513(0x1d8)]({'model':{'key':_0x34f513(0x1f9),'value':_0x43024=>{const _0x361697=_0x34f513;let _0x116f83=_0x43024[_0x361697(0x1eb)](_0x361697(0x1e7));return _0x1c6ac7(_0x116f83)&&(_0x116f83=String(Number(_0x116f83[_0x361697(0x1f4)](0x0,-0x1))/0x64)),String(_0x116f83)===String(_0x39a968)?null:_0x116f83;}},'view':{'styles':{'line-height':/.*/}}});}[_0x42ff35(0x1e2)](){const _0x3d2032=_0x42ff35,_0x5a6d6e=this[_0x3d2032(0x1c4)],_0xb08106=this[_0x3d2032(0x1c4)][_0x3d2032(0x1fa)][_0x3d2032(0x1de)](_0x3d2032(0x1dd)),_0x380524=_0x1bc47d(this[_0x3d2032(0x1c4)][_0x3d2032(0x1fa)][_0x3d2032(0x1de)](_0x3d2032(0x1f9)))[_0x3d2032(0x1db)](_0x320820=>_0x320820[_0x3d2032(0x1cb)]),_0x317a4c=_0x28814e(_0x3d2032(0x1f9),_0x380524);_0x5a6d6e[_0x3d2032(0x1e5)][_0x3d2032(0x1d8)](_0x317a4c),_0x5a6d6e[_0x3d2032(0x1e5)][_0x3d2032(0x1d9)](_0x3d2032(0x1da))[_0x3d2032(0x1d8)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x3d2032(0x1f9),'value':_0x1b59ba=>{const _0x19cb00=_0x3d2032;let _0x49a7cc=_0x1b59ba[_0x19cb00(0x1eb)](_0x19cb00(0x1e7));return _0x1c6ac7(_0x49a7cc)&&(_0x49a7cc=String(Number(_0x49a7cc[_0x19cb00(0x1f4)](0x0,-0x1))/0x64)),_0x49a7cc===String(_0xb08106)?null:_0x317a4c[_0x19cb00(0x1cb)][_0x19cb00(0x1e0)][_0x19cb00(0x1cf)](_0x49a7cc)?_0x49a7cc:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x561c1e}from'ckeditor5/src/core.js';import{addListToDropdown as _0x214e8a,createDropdown as _0x1b227a,MenuBarMenuListItemButtonView as _0x4796bf,MenuBarMenuListItemView as _0x55fab9,MenuBarMenuListView as _0x90110e,MenuBarMenuView as _0x460f87,UIModel as _0x35e374}from'ckeditor5/src/ui.js';import{Collection as _0x1bdcc5}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x444956}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x166e5d}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x561c1e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x137235={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x137235),this['_registerMenuBarComponent'](_0x137235),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x6b2144=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2f86c8;for(const _0x17afaf in _0x6b2144){const _0x5deaf7=_0x17afaf,_0x1396b9=_0x6b2144[_0x5deaf7];if('lineHeightLicenseKeyValid'==_0x1396b9||'lineHeightLicenseKeyInvalid'==_0x1396b9||'lineHeightLicenseKeyExpired'==_0x1396b9||'lineHeightLicenseKeyDomainLimit'==_0x1396b9||'lineHeightLicenseKeyNotAllowed'==_0x1396b9||'lineHeightLicenseKeyEvaluationLimit'==_0x1396b9||'lineHeightLicenseKeyUsageLimit'==_0x1396b9){delete _0x6b2144[_0x5deaf7],_0x2f86c8=_0x1396b9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2f86c8&&_0x6b2144['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2f86c8&&_0x6b2144['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2f86c8&&_0x6b2144['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2f86c8&&_0x6b2144['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2f86c8&&_0x6b2144['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2f86c8&&_0x6b2144['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x28c183=this['editor'],t=_0x28c183['t'],_0x5e3af3=_0x28c183['config']['get']('lineHeight'),_0x57d2cd={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x166e5d(_0x5e3af3)['map'](_0x1e7951=>{const _0x3f8fa9=_0x57d2cd[_0x1e7951['title']];return _0x3f8fa9&&_0x3f8fa9!=_0x1e7951['title']&&(_0x1e7951=Object['assign']({},_0x1e7951,{'title':_0x3f8fa9})),_0x1e7951;});}['_prepareListOptions'](){const _0x1d993c=this['editor']['commands']['get']('lineHeight'),_0x37f5fc=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4f3635=this['_getLocalizedLineHeightOptions'](),_0x2f09cb=new _0x1bdcc5(),_0x4df60b=_0x343fc3=>'default'===_0x343fc3||String(_0x37f5fc)===_0x343fc3;for(const _0x12b4ba of _0x4f3635){const _0x4ccaed={'type':'button','model':new _0x35e374({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x12b4ba['title'],'withText':!0x0})};_0x4df60b(_0x12b4ba['model'])?(_0x4ccaed['model']['bind']('isOn')['to'](_0x1d993c,'value',_0x2d1f40=>!_0x2d1f40),_0x4ccaed['model']['commandParam']=void 0x0):(_0x4ccaed['model']['bind']('isOn')['to'](_0x1d993c,'value',_0x1829fa=>_0x1829fa===_0x12b4ba['model']),_0x4ccaed['model']['commandParam']=_0x12b4ba['model']),_0x2f09cb['add'](_0x4ccaed);}if(this['_shouldRenderCustomValueOption']()){const _0x3936d7=this['_getCustomValueOptionDefinition'](_0x4f3635);_0x2f09cb['add'](_0x3936d7);}return _0x2f09cb;}['_getCustomValueOptionDefinition'](_0x44267a){const _0x34d977=this['editor'],t=_0x34d977['t'],_0x2cfe7a=_0x34d977['commands']['get']('lineHeight'),_0x3b627a=_0x44267a['map'](_0x513f0b=>_0x513f0b['model']),_0x20794b={'type':'button','model':new _0x35e374({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x20794b['model']['bind']('commandParam')['to'](_0x2cfe7a,'value'),_0x20794b['model']['bind']('isOn')['to'](_0x2cfe7a,'value',_0x168b91=>!!_0x168b91&&!_0x3b627a['includes'](String(_0x168b91))),_0x20794b['model']['bind']('label')['to'](_0x2cfe7a,'value',_0x49f06e=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x49f06e))),_0x20794b;}['_registerToolbarComponent']({accessibleLabel:_0xfd0581,options:_0x3f7035}){const _0x3eaceb=this['editor'],_0x52e0f1=_0x3eaceb['commands']['get']('lineHeight');_0x3eaceb['ui']['componentFactory']['add']('lineHeight',_0x164e72=>{const _0x4e2587=_0x1b227a(_0x164e72);return _0x214e8a(_0x4e2587,_0x3f7035,{'role':'menu','ariaLabel':_0xfd0581}),_0x4e2587['buttonView']['set']({'label':_0xfd0581,'tooltip':!0x0,'icon':_0x444956}),_0x4e2587['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4e2587['bind']('isEnabled')['to'](_0x52e0f1),this['listenTo'](_0x4e2587,'execute',_0x10b791=>{_0x3eaceb['execute'](_0x10b791['source']['commandName'],{'value':_0x10b791['source']['commandParam']}),_0x3eaceb['editing']['view']['focus']();}),_0x4e2587['once']('change:isOpen',()=>{const _0x4d6d72=_0x4e2587['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4e2587,_0x3f7035,_0x4d6d72);}),_0x4e2587;});}['_registerMenuBarComponent']({accessibleLabel:_0xd49005,options:_0x28f7f1}){const _0x473655=this['editor'],_0x26ef64=_0x473655['commands']['get']('lineHeight');_0x473655['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4c9738=>{const _0x4cca49=new _0x460f87(_0x4c9738);_0x4cca49['buttonView']['set']({'label':_0xd49005,'icon':_0x444956}),_0x4cca49['bind']('isEnabled')['to'](_0x26ef64);const _0x283fc9=new _0x90110e(_0x4c9738);for(const _0x3eb29f of _0x28f7f1){const _0x245cbf=new _0x55fab9(_0x4c9738,_0x4cca49),_0x332eb2=new _0x4796bf(_0x4c9738);_0x332eb2['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x332eb2['bind'](...Object['keys'](_0x3eb29f['model']))['to'](_0x3eb29f['model']),_0x332eb2['delegate']('execute')['to'](_0x4cca49),_0x332eb2['on']('execute',()=>{_0x473655['execute'](_0x3eb29f['model']['commandName'],{'value':_0x3eb29f['model']['commandParam']}),_0x473655['editing']['view']['focus']();}),_0x245cbf['children']['add'](_0x332eb2),_0x283fc9['items']['add'](_0x245cbf);}return _0x4cca49['panelView']['children']['add'](_0x283fc9),this['_attachCustomOptionVisibilityHandler'](_0x4cca49,_0x28f7f1,_0x283fc9),_0x4cca49;});}['_attachCustomOptionVisibilityHandler'](_0x25fe71,_0xaf4acb,_0x3dfd10){if(!this['_shouldRenderCustomValueOption']())return;const _0x1d5357=()=>{if(!_0x25fe71['isOpen'])return;_0x3dfd10['items']['last']['isVisible']=Boolean(_0xaf4acb['last']['model']['isOn']);};_0x1d5357(),_0x25fe71['on']('change:isOpen',()=>{_0x1d5357();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x56baaa,_0xb00f56){const _0x2f8ea4=_0x2526,_0x2818c3=_0x56baaa();while(!![]){try{const _0x341396=parseInt(_0x2f8ea4(0x200))/0x1*(-parseInt(_0x2f8ea4(0x205))/0x2)+-parseInt(_0x2f8ea4(0x1fa))/0x3*(-parseInt(_0x2f8ea4(0x1fd))/0x4)+parseInt(_0x2f8ea4(0x1ee))/0x5*(-parseInt(_0x2f8ea4(0x1f2))/0x6)+parseInt(_0x2f8ea4(0x1fb))/0x7*(parseInt(_0x2f8ea4(0x1f5))/0x8)+-parseInt(_0x2f8ea4(0x20a))/0x9+-parseInt(_0x2f8ea4(0x1f0))/0xa+parseInt(_0x2f8ea4(0x202))/0xb;if(_0x341396===_0xb00f56)break;else _0x2818c3['push'](_0x2818c3['shift']());}catch(_0x5ada36){_0x2818c3['push'](_0x2818c3['shift']());}}}(_0x21c0,0xcd67f));const v={get 'single'(){const _0x3cb74a=_0x2526;return{'title':_0x3cb74a(0x203),'model':_0x3cb74a(0x1f8),'view':{'key':_0x3cb74a(0x204),'value':_0x3cb74a(0x1f1)}};},get 'double'(){const _0x4ac6d9=_0x2526;return{'title':_0x4ac6d9(0x207),'model':_0x4ac6d9(0x1ed),'view':{'key':_0x4ac6d9(0x204),'value':_0x4ac6d9(0x209)}};}};export function isLineHeightDefaultValue(_0x1481d6){const _0x3b4f6b=_0x2526;return _0x3b4f6b(0x1ff)==typeof _0x1481d6&&_0x3b4f6b(0x1f3)===_0x1481d6[_0x3b4f6b(0x1fc)]();}export function normalizeOptions(_0x241608){const _0x51d100=_0x2526;return _0x241608[_0x51d100(0x20b)][_0x51d100(0x1ef)](_0x38f27a=>isLineHeightDefaultValue(_0x38f27a)?{'title':String(_0x241608[_0x51d100(0x20d)]),'model':_0x51d100(0x1f3)}:(_0x51d100(0x1f6)==typeof _0x38f27a&&(_0x38f27a=String(_0x38f27a)),_0x51d100(0x1ff)!=typeof _0x38f27a?_0x38f27a:parseFloat(_0x38f27a)?{'title':_0x38f27a,'model':_0x38f27a,'view':{'name':_0x51d100(0x201),'styles':{'line-height':_0x38f27a}}}:findPreset(_0x38f27a)))[_0x51d100(0x1f4)](_0x3f1d94=>void 0x0!==_0x3f1d94);}function _0x2526(_0x492c80,_0xf8ce2c){const _0x21c0c7=_0x21c0();return _0x2526=function(_0x252674,_0x36df4e){_0x252674=_0x252674-0x1ed;let _0x3ba874=_0x21c0c7[_0x252674];return _0x3ba874;},_0x2526(_0x492c80,_0xf8ce2c);}export function findPreset(_0x1b4952){const _0xf20d7b=_0x2526;return _0xf20d7b(0x1ff)==typeof _0x1b4952?v[_0x1b4952]:v[_0x1b4952[_0xf20d7b(0x20f)]];}function _0x21c0(){const _0x4fb95d=['207752hLOBNa','number','line-height:','single','value','1900959MWaqQL','175beRbtj','toLowerCase','4mXWqDg','view','string','4681FzMePP','span','35201375MvVndl','Single','class','62MfeoWR','style','Double','push','line-height-double','13881132CXZSzW','options','values','defaultValue','key','model','double','1789120WiFqeB','map','5229050VxuqXX','line-height-single','24NDmNes','default','filter'];_0x21c0=function(){return _0x4fb95d;};return _0x21c0();}export function buildDefinition(_0x576228,_0x264e2e){const _0x300f6a=_0x2526,_0x51536d={'model':{'key':_0x576228,'values':[]},'view':{}};for(const _0x1f8e17 of _0x264e2e)_0x300f6a(0x204)===_0x1f8e17[_0x300f6a(0x1fe)]?.[_0x300f6a(0x20e)]?(_0x51536d[_0x300f6a(0x20f)][_0x300f6a(0x20c)][_0x300f6a(0x208)](_0x1f8e17[_0x300f6a(0x20f)]),_0x51536d[_0x300f6a(0x1fe)][_0x1f8e17[_0x300f6a(0x20f)]]={'key':_0x300f6a(0x204),'value':_0x1f8e17[_0x300f6a(0x1fe)][_0x300f6a(0x1f9)]}):(_0x51536d[_0x300f6a(0x20f)][_0x300f6a(0x20c)][_0x300f6a(0x208)](_0x1f8e17[_0x300f6a(0x20f)]),_0x51536d[_0x300f6a(0x1fe)][_0x1f8e17[_0x300f6a(0x20f)]]={'key':_0x300f6a(0x206),'value':_0x300f6a(0x1f7)+_0x1f8e17[_0x300f6a(0x20f)]+';'});return _0x51536d;}
|