@ckeditor/ckeditor5-line-height 0.0.0-nightly-20251222.0 → 0.0.0-nightly-20251223.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
|
+
const _0x150651=_0x50a0;function _0x50a0(_0x2246c8,_0x4bc9bb){const _0x2d392f=_0x2d39();return _0x50a0=function(_0x50a008,_0x3ca51d){_0x50a008=_0x50a008-0xbd;let _0x34c0a7=_0x2d392f[_0x50a008];return _0x34c0a7;},_0x50a0(_0x2246c8,_0x4bc9bb);}(function(_0x248f2b,_0x431fac){const _0x239a27=_0x50a0,_0x2b26a9=_0x248f2b();while(!![]){try{const _0xc5b3ab=parseInt(_0x239a27(0xc2))/0x1+-parseInt(_0x239a27(0xd5))/0x2+-parseInt(_0x239a27(0xc7))/0x3+parseInt(_0x239a27(0xce))/0x4*(parseInt(_0x239a27(0xc8))/0x5)+parseInt(_0x239a27(0xda))/0x6*(-parseInt(_0x239a27(0xcf))/0x7)+-parseInt(_0x239a27(0xe2))/0x8+parseInt(_0x239a27(0xe6))/0x9*(parseInt(_0x239a27(0xd6))/0xa);if(_0xc5b3ab===_0x431fac)break;else _0x2b26a9['push'](_0x2b26a9['shift']());}catch(_0x22b6d1){_0x2b26a9['push'](_0x2b26a9['shift']());}}}(_0x2d39,0x81a5d));import{Plugin as _0x325c07}from'ckeditor5/src/core.js';function _0x2d39(){const _0x19dacf=['ck-list-marker-line-height','isPremiumPlugin','high','name','151376ZoaVoZ','14VoxulB','span','listType','registerDowncastStrategy','consume','init','1360394vlIKAm','10hjPkah','ListEditing','elementToElement','match','2824668CkiQUC','TodoListEditing','consumable','for','paragraph','add','editor','pluginName','2376696qVkVup','isOfficialPlugin','element:li','LineHeightTodoListIntegration','26849574OsjMJs','viewItem','setStyle','upcast','get','lineHeight','item','getAttribute','348889vYvMPm','addClass','todo','--ck-content-list-marker-line-height','has','3101022DzOwbg','20NQjXbM','todo-list__label__description'];_0x2d39=function(){return _0x19dacf;};return _0x2d39();}import{Matcher as _0x2ecefc}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x325c07{static get[_0x150651(0xe1)](){const _0x2dc678=_0x150651;return _0x2dc678(0xe5);}static get[_0x150651(0xe3)](){return!0x0;}static get[_0x150651(0xcb)](){return!0x0;}[_0x150651(0xd4)](){const _0x438e48=_0x150651,{plugins:_0x102d06,conversion:_0x1cdb9b}=this[_0x438e48(0xe0)];if(!_0x102d06[_0x438e48(0xc6)](_0x438e48(0xd7))||!_0x102d06[_0x438e48(0xc6)](_0x438e48(0xdb)))return;_0x102d06[_0x438e48(0xbe)](_0x438e48(0xd7))[_0x438e48(0xd2)]({'scope':_0x438e48(0xc0),'attributeName':_0x438e48(0xbf),'consume':!0x1,'setAttributeOnDowncast'(_0x5c4649,_0x5f1b87,_0x51747e,_0xd81814,_0x58c08a){const _0x2ee603=_0x438e48;_0x2ee603(0xc4)==_0x58c08a[_0x2ee603(0xc1)](_0x2ee603(0xd1))&&_0x5f1b87&&(_0x5c4649[_0x2ee603(0xc3)](_0x2ee603(0xca),_0x51747e),_0x5c4649[_0x2ee603(0xe8)](_0x2ee603(0xc5),_0x5f1b87,_0x51747e));}}),_0x1cdb9b[_0x438e48(0xdd)](_0x438e48(0xbd))[_0x438e48(0xd8)]({'view':{'name':_0x438e48(0xd0),'classes':_0x438e48(0xc9)},'model':_0x438e48(0xde),'converterPriority':_0x438e48(0xcc)}),_0x1cdb9b[_0x438e48(0xdd)](_0x438e48(0xbd))[_0x438e48(0xdf)](_0xba1feb=>{const _0x2906a2=_0x438e48;_0xba1feb['on'](_0x2906a2(0xe4),function(_0x53a893){const _0x5f2b69=new _0x2ecefc(_0x53a893);return(_0x13a6b9,_0x1d5b4c,_0x362846)=>{const _0xe01981=_0x50a0,_0x4ebf32=_0x5f2b69[_0xe01981(0xd9)](_0x1d5b4c[_0xe01981(0xe7)]);if(!_0x4ebf32)return;const _0x121990=_0x4ebf32[_0xe01981(0xd9)];_0x121990[_0xe01981(0xcd)]=!0x1,_0x362846[_0xe01981(0xdc)][_0xe01981(0xd3)](_0x1d5b4c[_0xe01981(0xe7)],_0x121990);};}({'name':'li','classes':_0x2906a2(0xca),'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 _0x29130f=_0x1d0b;function _0x1d0b(_0xb1ce9a,_0x5683ff){var _0x3f88d5=_0x3f88();return _0x1d0b=function(_0x1d0b2c,_0xd0111c){_0x1d0b2c=_0x1d0b2c-0x68;var _0x2a9d1e=_0x3f88d5[_0x1d0b2c];return _0x2a9d1e;},_0x1d0b(_0xb1ce9a,_0x5683ff);}(function(_0x34bf18,_0x21749e){var _0x3cab0c=_0x1d0b,_0x224cc2=_0x34bf18();while(!![]){try{var _0x485ac5=parseInt(_0x3cab0c(0x6e))/0x1+-parseInt(_0x3cab0c(0x73))/0x2+parseInt(_0x3cab0c(0x72))/0x3+parseInt(_0x3cab0c(0x69))/0x4*(-parseInt(_0x3cab0c(0x6c))/0x5)+-parseInt(_0x3cab0c(0x70))/0x6+parseInt(_0x3cab0c(0x6a))/0x7*(parseInt(_0x3cab0c(0x6d))/0x8)+-parseInt(_0x3cab0c(0x71))/0x9*(-parseInt(_0x3cab0c(0x68))/0xa);if(_0x485ac5===_0x21749e)break;else _0x224cc2['push'](_0x224cc2['shift']());}catch(_0x276e23){_0x224cc2['push'](_0x224cc2['shift']());}}}(_0x3f88,0xb3a91));function _0x3f88(){var _0x44af5b=['2516426OVfMmP','requires','isPremiumPlugin','isOfficialPlugin','30rslByC','5792552VkEoxj','4800866kEoGgI','pluginName','5PGEFor','8PFlUIR','567279HNRYPw','LineHeight','7321008SFJRsS','10118835OkLjMl','109038XiREIc'];_0x3f88=function(){return _0x44af5b;};return _0x3f88();}import{Plugin as _0x8d972d}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x347bcd}from'./lineheightediting.js';import{LineHeightUI as _0x4fe06c}from'./lineheightui.js';export class LineHeight extends _0x8d972d{static get[_0x29130f(0x74)](){return[_0x347bcd,_0x4fe06c];}static get[_0x29130f(0x6b)](){var _0xb6e0e8=_0x29130f;return _0xb6e0e8(0x6f);}static get[_0x29130f(0x76)](){return!0x0;}static get[_0x29130f(0x75)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x281982=_0x3a15;(function(_0x54e278,_0x96839a){const _0x3b1b52=_0x3a15,_0x5e47a2=_0x54e278();while(!![]){try{const _0x1b1ee4=-parseInt(_0x3b1b52(0x115))/0x1*(-parseInt(_0x3b1b52(0x10c))/0x2)+-parseInt(_0x3b1b52(0x108))/0x3*(parseInt(_0x3b1b52(0x10b))/0x4)+-parseInt(_0x3b1b52(0x111))/0x5*(parseInt(_0x3b1b52(0x104))/0x6)+-parseInt(_0x3b1b52(0x10f))/0x7*(parseInt(_0x3b1b52(0x118))/0x8)+-parseInt(_0x3b1b52(0x107))/0x9+-parseInt(_0x3b1b52(0x10d))/0xa+parseInt(_0x3b1b52(0x11e))/0xb;if(_0x1b1ee4===_0x96839a)break;else _0x5e47a2['push'](_0x5e47a2['shift']());}catch(_0x4195c6){_0x5e47a2['push'](_0x5e47a2['shift']());}}}(_0x158c,0xd10c3));function _0x3a15(_0x2b16ce,_0x1fba29){const _0x158c8b=_0x158c();return _0x3a15=function(_0x3a1569,_0x3b66c3){_0x3a1569=_0x3a1569-0x101;let _0x1a9c9a=_0x158c8b[_0x3a1569];return _0x1a9c9a;},_0x3a15(_0x2b16ce,_0x1fba29);}import{Command as _0x5584e6}from'ckeditor5/src/core.js';import{first as _0x388a4e}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x5584e6{[_0x281982(0x103)](){const _0x555d9a=_0x281982,_0x42823=this[_0x555d9a(0x110)][_0x555d9a(0x114)][_0x555d9a(0x112)],_0xbc9d08=_0x388a4e(_0x42823[_0x555d9a(0x10a)][_0x555d9a(0x11b)]());this[_0x555d9a(0x101)]=Boolean(_0xbc9d08)&&this[_0x555d9a(0x119)](_0xbc9d08),this[_0x555d9a(0x10e)]=this[_0x555d9a(0x101)]&&_0xbc9d08[_0x555d9a(0x117)](_0x555d9a(0x105));}[_0x281982(0x116)](_0x511d39={}){const _0x347afe=_0x281982,_0x100259=this[_0x347afe(0x110)][_0x347afe(0x114)],_0x5eb420=_0x100259[_0x347afe(0x112)][_0x347afe(0x10a)],_0x45bb97=_0x511d39[_0x347afe(0x10e)];_0x100259[_0x347afe(0x102)](_0x39d848=>{const _0x1f6ca0=_0x347afe,_0x444138=Array[_0x1f6ca0(0x11a)](_0x5eb420[_0x1f6ca0(0x11b)]())[_0x1f6ca0(0x109)](_0x28fed6=>this[_0x1f6ca0(0x119)](_0x28fed6));for(const _0x546a39 of _0x444138)_0x45bb97?_0x39d848[_0x1f6ca0(0x11c)](_0x1f6ca0(0x105),_0x45bb97,_0x546a39):_0x39d848[_0x1f6ca0(0x113)](_0x1f6ca0(0x105),_0x546a39);});}[_0x281982(0x119)](_0x9ee12d){const _0x41f34c=_0x281982;return this[_0x41f34c(0x110)][_0x41f34c(0x114)][_0x41f34c(0x11d)][_0x41f34c(0x106)](_0x9ee12d,_0x41f34c(0x105));}}function _0x158c(){const _0x1193a4=['48298624BeWzgp','isEnabled','change','refresh','87252SvlGcp','lineHeight','checkAttribute','13120317HhafKq','21jnAFef','filter','selection','382208OikNBw','14IUXKFY','16921690SMYGVX','value','769811podhTF','editor','10CToWiA','document','removeAttribute','model','186166zqVGGp','execute','getAttribute','72APUezS','_canHaveLineHeight','from','getSelectedBlocks','setAttribute','schema'];_0x158c=function(){return _0x1193a4;};return _0x158c();}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x358d1a=_0x5a1d;(function(_0x3f73d2,_0x236112){const _0x237219=_0x5a1d,_0x35b996=_0x3f73d2();while(!![]){try{const _0x1b6785=parseInt(_0x237219(0x7f))/0x1+-parseInt(_0x237219(0x8e))/0x2+parseInt(_0x237219(0x9f))/0x3+parseInt(_0x237219(0x9a))/0x4*(-parseInt(_0x237219(0x95))/0x5)+-parseInt(_0x237219(0x83))/0x6*(-parseInt(_0x237219(0x97))/0x7)+-parseInt(_0x237219(0x94))/0x8+-parseInt(_0x237219(0x8d))/0x9*(parseInt(_0x237219(0x79))/0xa);if(_0x1b6785===_0x236112)break;else _0x35b996['push'](_0x35b996['shift']());}catch(_0x59f073){_0x35b996['push'](_0x35b996['shift']());}}}(_0x3f3a,0x743c3));import{Plugin as _0x4664a7}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x2a7669}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x3a9912}from'ckeditor5/src/engine.js';import{uid as _0xdccafc,CKEditorError as _0x26732b}from'ckeditor5/src/utils.js';function _0x5a1d(_0xf08051,_0x42f483){const _0x3f3a2e=_0x3f3a();return _0x5a1d=function(_0x5a1db0,_0x2b2f25){_0x5a1db0=_0x5a1db0-0x73;let _0x1a5e2a=_0x3f3a2e[_0x5a1db0];return _0x1a5e2a;},_0x5a1d(_0xf08051,_0x42f483);}import{buildDefinition as _0x4e3f04,isLineHeightDefaultValue as _0x32e938,normalizeOptions as _0x392121}from'./utils.js';function _0x3f3a(){const _0x3a36c9=['editor','1572360XPncLD','pluginName','get','isOfficialPlugin','LineHeightEditing','_validateConfig','includes','upcast','downcast','string','lineHeight.options','style','conversion','map','lineHeight.supportAllValues','model','_preparePredefinedConverters','1391880eIAhfM','default','add','join','config','getStyle','436646ZgCGgK','init','fromCharCode','afterInit','4323954mGXeAc','requires','lineHeight.defaultValue','isPremiumPlugin','line-height','lineHeight','href','filter','slice','values','45FcgmXK','765606hmARBX','length','commands','attributeToAttribute','for','define','811896QYMjpe','5gsARVh','setAttributeProperties','7JcXONi','$block','_prepareAnyValueConverters','100384ZfSNzR','schema','line-height-invalid-use-of-named-presets','extend'];_0x3f3a=function(){return _0x3a36c9;};return _0x3f3a();}import{LineHeightTodoListIntegration as _0x144812}from'./integrations/todolist.js';export class LineHeightEditing extends _0x4664a7{static get[_0x358d1a(0xa0)](){const _0x592a6e=_0x358d1a;return _0x592a6e(0xa3);}static get[_0x358d1a(0x84)](){return[_0x144812];}static get[_0x358d1a(0xa2)](){return!0x0;}static get[_0x358d1a(0x86)](){return!0x0;}constructor(_0x2b5228){const _0x1078bb=_0x358d1a;super(_0x2b5228),_0x2b5228[_0x1078bb(0x7d)][_0x1078bb(0x93)](_0x1078bb(0x88),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x1078bb(0x7a),0x2,2.5,0x3]});}[_0x358d1a(0x80)](){const _0x53dd94=_0x358d1a,_0x384fbc=this[_0x53dd94(0x9e)];this[_0x53dd94(0xa4)](),_0x384fbc[_0x53dd94(0x77)][_0x53dd94(0x9b)][_0x53dd94(0x9d)](_0x53dd94(0x98),{'allowAttributes':_0x53dd94(0x88)}),_0x384fbc[_0x53dd94(0x77)][_0x53dd94(0x9b)][_0x53dd94(0x96)](_0x53dd94(0x88),{'isFormatting':!0x0}),_0x384fbc[_0x53dd94(0x90)][_0x53dd94(0x7b)](_0x53dd94(0x88),new _0x2a7669(_0x384fbc)),this[_0x53dd94(0x9e)][_0x53dd94(0x7d)][_0x53dd94(0xa1)](_0x53dd94(0x76))?this[_0x53dd94(0x99)]():this[_0x53dd94(0x78)]();}[_0x358d1a(0x82)](){!async function(_0x2744c0){const _0x5d2744=_0x3b4008([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]),_0xa0d44b=0x45ddd215,_0x3fc395=0x45daaeb5^_0xa0d44b,_0x30067e=window[_0x3b4008([0x44,0x61,0x74,0x65])][_0x3b4008([0x6e,0x6f,0x77])](),_0x572791=_0x2744c0[_0x3b4008([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59b61a=new window[(_0x3b4008([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43d281=>{_0x572791[_0x3b4008([0x6f,0x6e,0x63,0x65])](_0x3b4008([0x72,0x65,0x61,0x64,0x79]),_0x43d281);}),_0x50f0a9={[_0x3b4008([0x6b,0x74,0x79])]:_0x3b4008([0x45,0x43]),[_0x3b4008([0x75,0x73,0x65])]:_0x3b4008([0x73,0x69,0x67]),[_0x3b4008([0x63,0x72,0x76])]:_0x3b4008([0x50,0x2d,0x32,0x35,0x36]),[_0x3b4008([0x78])]:_0x3b4008([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]),[_0x3b4008([0x79])]:_0x3b4008([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]),[_0x3b4008([0x61,0x6c,0x67])]:_0x3b4008([0x45,0x53,0x32,0x35,0x36])},_0x179e9f=_0x572791[_0x3b4008([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3b4008([0x67,0x65,0x74])](_0x3b4008([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x480f6e(){let _0x35bb0a,_0x48bd6=null,_0x601b27=null;try{if(_0x179e9f==_0x3b4008([0x47,0x50,0x4c]))return _0x3b4008([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x35bb0a=_0x24923a(),!_0x35bb0a)return _0x3b4008([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x35bb0a[_0x3b4008([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x601b27=_0x3d541e(_0x35bb0a[_0x3b4008([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x35bb0a[_0x3b4008([0x6a,0x74,0x69])])),await _0x6f953f()?_0x16dee1()?_0x412a83()?_0x3b4008([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x70450c()?(_0x35bb0a[_0x3b4008([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b4008([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x48bd6=_0x4deffa(_0x3b4008([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x35bb0a[_0x3b4008([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b4008([0x74,0x72,0x69,0x61,0x6c])&&(_0x48bd6=_0x4deffa(_0x3b4008([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4c81b8()):_0x3b4008([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3b4008([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3b4008([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3b4008([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x412a83(){const _0x5c97aa=[_0x3b4008([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3b4008([0x74,0x72,0x69,0x61,0x6c])][_0x3b4008([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35bb0a[_0x3b4008([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x30067e/0x3e8:0xe10*_0x3fc395;return _0x35bb0a[_0x3b4008([0x65,0x78,0x70])]<_0x5c97aa;}function _0x16dee1(){const _0x5e9137=_0x35bb0a[_0x3b4008([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5e9137&&(!!_0x5e9137[_0x3b4008([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b4008([0x2a]))||!!_0x5e9137[_0x3b4008([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b4008([0x4c,0x48])));}function _0x70450c(){const _0x29db7b=_0x5a1d,_0x2ac5dc=_0x35bb0a[_0x3b4008([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2ac5dc||0x0==_0x2ac5dc[_0x3b4008([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3bd2de}=new URL(window[_0x3b4008([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x29db7b(0x89)]);if(_0x2ac5dc[_0x3b4008([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bd2de))return!0x0;const _0x3e0334=_0x3bd2de[_0x3b4008([0x73,0x70,0x6c,0x69,0x74])](_0x3b4008([0x2e]));return _0x2ac5dc[_0x3b4008([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x192361=>_0x192361[_0x3b4008([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b4008([0x2a])))[_0x3b4008([0x6d,0x61,0x70])](_0x2f7e63=>_0x2f7e63[_0x3b4008([0x73,0x70,0x6c,0x69,0x74])](_0x3b4008([0x2e])))[_0x3b4008([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x84e4c=>_0x84e4c[_0x3b4008([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3e0334[_0x3b4008([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b4008([0x6d,0x61,0x70])](_0x5bace8=>Array(_0x3e0334[_0x3b4008([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5bace8[_0x3b4008([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b4008([0x66,0x69,0x6c,0x6c])](_0x5bace8[0x0]===_0x3b4008([0x2a])?_0x3b4008([0x2a]):'')[_0x3b4008([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5bace8))[_0x3b4008([0x73,0x6f,0x6d,0x65])](_0x5bacbe=>_0x3e0334[_0x3b4008([0x65,0x76,0x65,0x72,0x79])]((_0x2e4f82,_0x1f8de7)=>_0x5bacbe[_0x1f8de7]===_0x2e4f82||_0x5bacbe[_0x1f8de7]===_0x3b4008([0x2a])));}function _0x4c81b8(){return _0x48bd6&&_0x601b27?new window[(_0x3b4008([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53e76c,_0x49a2eb)=>{_0x48bd6[_0x3b4008([0x74,0x68,0x65,0x6e])](_0x53e76c,_0x49a2eb),_0x601b27[_0x3b4008([0x74,0x68,0x65,0x6e])](_0x30c70e=>{_0x30c70e!=_0x3b4008([0x56,0x61,0x6c,0x69,0x64])&&_0x53e76c(_0x30c70e);},_0x49a2eb);}):_0x48bd6||_0x601b27||_0x3b4008([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3d541e(_0x33b262,_0x1864b1){return new window[(_0x3b4008([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19a3e8=>{if(_0x8c1945())return _0x19a3e8(_0x3b4008([0x56,0x61,0x6c,0x69,0x64]));_0xe36a2(),_0x572791[_0x3b4008([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3b4008([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x53e6bb=!0x1;const _0x196781=_0xdccafc();function _0x5272f2(_0x547333){return!!_0x547333&&(typeof _0x547333===_0x3b4008([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x547333===_0x3b4008([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x547333[_0x3b4008([0x74,0x68,0x65,0x6e])]===_0x3b4008([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x547333[_0x3b4008([0x63,0x61,0x74,0x63,0x68])]===_0x3b4008([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x506976(_0x51462f){_0x210356(_0x51462f)[_0x3b4008([0x74,0x68,0x65,0x6e])](_0x4d1c04=>{if(!_0x4d1c04||_0x4d1c04[_0x3b4008([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3b4008([0x6f,0x6b]))return _0x3b4008([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x53b24c(_0x17127f(_0x196781+_0x1864b1))!=_0x4d1c04[_0x3b4008([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3b4008([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3b4008([0x56,0x61,0x6c,0x69,0x64]);})[_0x3b4008([0x74,0x68,0x65,0x6e])](_0x4b8451=>(_0x4401c9(),_0x4b8451),()=>{const _0x36ddc2=_0x1cd286();return null==_0x36ddc2?(_0x4401c9(),_0x3b4008([0x56,0x61,0x6c,0x69,0x64])):_0x3b4008(_0x30067e-_0x36ddc2>(0x61d15615^_0xa0d44b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3b4008([0x74,0x68,0x65,0x6e])](_0x19a3e8)[_0x3b4008([0x63,0x61,0x74,0x63,0x68])](()=>{_0x19a3e8(_0x3b4008([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf66c36=0x45eb3c95^_0xa0d44b;function _0x4401c9(){const _0x19f488=_0x3b4008([0x6c,0x6c,0x63,0x74,0x2d])+_0x53b24c(_0x17127f(_0x33b262)),_0x5c8710=_0x117ef1(_0x53b24c(window[_0x3b4008([0x4d,0x61,0x74,0x68])][_0x3b4008([0x63,0x65,0x69,0x6c])](_0x30067e/_0xf66c36)));window[_0x3b4008([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b4008([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19f488,_0x5c8710);}function _0x1cd286(){const _0x2a5153=_0x3b4008([0x6c,0x6c,0x63,0x74,0x2d])+_0x53b24c(_0x17127f(_0x33b262)),_0x430482=window[_0x3b4008([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b4008([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a5153);return _0x430482?window[_0x3b4008([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x117ef1(_0x430482),0x10)*_0xf66c36:null;}function _0x210356(_0x4cb826){return new window[(_0x3b4008([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3609d4,_0x152da7)=>{_0x4cb826[_0x3b4008([0x74,0x68,0x65,0x6e])](_0x3609d4,_0x152da7),window[_0x3b4008([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x152da7,0x45dc06d5^_0xa0d44b);});}}_0x572791[_0x3b4008([0x6f,0x6e])](_0x3b4008([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1e0403,_0x5b8681)=>{if(_0x5b8681[0x0]!=_0x33b262)return _0x19a3e8(_0x3b4008([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5b8681[0x1]={..._0x5b8681[0x1],[_0x3b4008([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x196781};},{[_0x3b4008([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b4008([0x68,0x69,0x67,0x68])}),_0x572791[_0x3b4008([0x6f,0x6e])](_0x3b4008([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x25e270=>{_0x5272f2(_0x25e270[_0x3b4008([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x53e6bb=!0x0,_0x506976(_0x25e270[_0x3b4008([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3b4008([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b4008([0x6c,0x6f,0x77])}),_0x59b61a[_0x3b4008([0x74,0x68,0x65,0x6e])](()=>{_0x53e6bb||_0x19a3e8(_0x3b4008([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x8c1945(){return _0x572791[_0x3b4008([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b4008([0x76,0x69,0x65,0x77])][_0x3b4008([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3b4008([0x61,0x75,0x74,0x6f]);}function _0xe36a2(){_0x572791[_0x3b4008([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b4008([0x76,0x69,0x65,0x77])][_0x3b4008([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b4008([0x61,0x75,0x74,0x6f]);}}function _0x4deffa(_0x17a047){const _0x3b51a4=[new window[(_0x3b4008([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b671c=>setTimeout(_0x2b671c,0x45d4ecd9^_0xa0d44b)),_0x59b61a[_0x3b4008([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3b4008([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44f3cc=>{let _0xd0098=0x0;_0x572791[_0x3b4008([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b4008([0x6f,0x6e])](_0x3b4008([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f6984,_0x590555)=>{_0x590555[0x0][_0x3b4008([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd0098++,_0xd0098==(0x45ddd7fd^_0xa0d44b)&&(_0x44f3cc(),_0x3f6984[_0x3b4008([0x6f,0x66,0x66])]());});}))];return window[_0x3b4008([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b4008([0x72,0x61,0x63,0x65])](_0x3b51a4)[_0x3b4008([0x74,0x68,0x65,0x6e])](()=>_0x17a047);}async function _0x2f97ed(){await _0x59b61a,_0x572791[_0x3b4008([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b4008([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1a5f55,_0x572791[_0x3b4008([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b4008([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1a5f55,_0x572791[_0x3b4008([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b4008([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xe7f2d4(_0x3dfc08){const _0x30ee5a=_0x16bb85();_0x572791[_0x30ee5a]=_0x3b4008([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3dfc08,_0x3dfc08!=_0x3b4008([0x56,0x61,0x6c,0x69,0x64])&&_0x2f97ed();}function _0x16bb85(){const _0x18cded=window[_0x3b4008([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3b4008([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b4008([0x6e,0x6f,0x77])]())[_0x3b4008([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b4008([0x2e]),'');let _0x4e7aa4=_0x3b4008([0x50]);for(let _0x3b1c6d=0x0;_0x3b1c6d<_0x18cded[_0x3b4008([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b1c6d+=0x2){let _0x3de361=window[_0x3b4008([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18cded[_0x3b4008([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b1c6d,_0x3b1c6d+0x2));_0x3de361>=_0x5d2744[_0x3b4008([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3de361-=_0x5d2744[_0x3b4008([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e7aa4+=_0x5d2744[_0x3de361];}return _0x4e7aa4;}function _0x24923a(){const _0x4bc9ad=_0x179e9f[_0x3b4008([0x73,0x70,0x6c,0x69,0x74])](_0x3b4008([0x2e]));if(0x3!=_0x4bc9ad[_0x3b4008([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x426891(_0x4bc9ad[0x1]);function _0x426891(_0x48172d){const _0xb09794=_0x173c6d(_0x48172d);return _0xb09794&&_0x21426b()?_0xb09794:null;function _0x21426b(){const _0x157079=_0xb09794[_0x3b4008([0x6a,0x74,0x69])],_0x212529=window[_0x3b4008([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x157079[_0x3b4008([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x157079[_0x3b4008([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f13ab={..._0xb09794,[_0x3b4008([0x6a,0x74,0x69])]:_0x157079[_0x3b4008([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x157079[_0x3b4008([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f13ab[_0x3b4008([0x76,0x63])],_0x17127f(_0x2f13ab)==_0x212529;}}}async function _0x6f953f(){let _0x2e2f21=!0x0;try{const _0x195963=_0x179e9f[_0x3b4008([0x73,0x70,0x6c,0x69,0x74])](_0x3b4008([0x2e])),[_0x592215,_0x1e7a90,_0xddde17]=_0x195963;return _0x554c48(_0x592215),await _0x5569dd(_0x592215,_0x1e7a90,_0xddde17),_0x2e2f21;}catch{return!0x1;}function _0x554c48(_0x573886){const _0x261127=_0x173c6d(_0x573886);_0x261127&&_0x261127[_0x3b4008([0x61,0x6c,0x67])]==_0x3b4008([0x45,0x53,0x32,0x35,0x36])||(_0x2e2f21=!0x1);}async function _0x5569dd(_0xb32828,_0x221b7d,_0x296557){const _0x4b9963=window[_0x3b4008([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3b4008([0x66,0x72,0x6f,0x6d])](_0x3a46ad(_0x296557),_0x5445a4=>_0x5445a4[_0x3b4008([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3d6ae0=new window[(_0x3b4008([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3b4008([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xb32828+_0x3b4008([0x2e])+_0x221b7d),_0x2dce5d=window[_0x3b4008([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3b4008([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2dce5d)return;const _0x5927d1=await _0x2dce5d[_0x3b4008([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3b4008([0x6a,0x77,0x6b]),_0x50f0a9,{[_0x3b4008([0x6e,0x61,0x6d,0x65])]:_0x3b4008([0x45,0x43,0x44,0x53,0x41]),[_0x3b4008([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3b4008([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3b4008([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2dce5d[_0x3b4008([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3b4008([0x6e,0x61,0x6d,0x65])]:_0x3b4008([0x45,0x43,0x44,0x53,0x41]),[_0x3b4008([0x68,0x61,0x73,0x68])]:{[_0x3b4008([0x6e,0x61,0x6d,0x65])]:_0x3b4008([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5927d1,_0x4b9963,_0x3d6ae0)||(_0x2e2f21=!0x1);}}function _0x173c6d(_0x55f2af){return _0x55f2af[_0x3b4008([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3b4008([0x65,0x79]))?JSON[_0x3b4008([0x70,0x61,0x72,0x73,0x65])](_0x3a46ad(_0x55f2af)):null;}function _0x3a46ad(_0x346246){return window[_0x3b4008([0x61,0x74,0x6f,0x62])](_0x346246[_0x3b4008([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3b4008([0x2b]))[_0x3b4008([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3b4008([0x2f])));}function _0x17127f(_0xd6a6a8){let _0x594ca6=0x1505;function _0x4a24e9(_0x24b30c){for(let _0x1fe009=0x0;_0x1fe009<_0x24b30c[_0x3b4008([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1fe009++){const _0x36d35d=_0x24b30c[_0x3b4008([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1fe009);_0x594ca6=(_0x594ca6<<0x5)+_0x594ca6+_0x36d35d,_0x594ca6&=_0x594ca6;}}function _0x3c1da0(_0x190fde){Array[_0x3b4008([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x190fde)?_0x190fde[_0x3b4008([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3c1da0):_0x190fde&&typeof _0x190fde==_0x3b4008([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3b4008([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x190fde)[_0x3b4008([0x73,0x6f,0x72,0x74])]()[_0x3b4008([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x29b767,_0x2ada6b])=>{_0x4a24e9(_0x29b767),_0x3c1da0(_0x2ada6b);}):_0x4a24e9(window[_0x3b4008([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x190fde));}return _0x3c1da0(_0xd6a6a8),_0x594ca6>>>0x0;}function _0x53b24c(_0x29cfea){return _0x29cfea[_0x3b4008([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3b4008([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3b4008([0x30]));}function _0x117ef1(_0x23d8a2){return _0x23d8a2[_0x3b4008([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3b4008([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3b4008([0x6a,0x6f,0x69,0x6e])]('');}function _0x1a5f55(){}function _0x3b4008(_0x236bdc){const _0xf87e9a=_0x5a1d;return _0x236bdc[_0xf87e9a(0x75)](_0xac82bf=>String[_0xf87e9a(0x81)](_0xac82bf))[_0xf87e9a(0x7c)]('');}_0xe7f2d4(await _0x480f6e());}(this);}[_0x358d1a(0xa4)](){const _0x323f77=_0x358d1a,_0x393f62=this[_0x323f77(0x9e)];if(!_0x393f62[_0x323f77(0x7d)][_0x323f77(0xa1)](_0x323f77(0x76)))return;const _0xe69feb=_0x393f62[_0x323f77(0x7d)][_0x323f77(0xa1)](_0x323f77(0xa9))[_0x323f77(0x8a)](_0x1c349d=>_0x323f77(0xa8)==typeof _0x1c349d&&(!_0x32e938(_0x1c349d)&&isNaN(Number(_0x1c349d))));if(_0xe69feb[_0x323f77(0x8f)])throw new _0x26732b(_0x323f77(0x9c),null,{'namedPresets':_0xe69feb});}[_0x358d1a(0x99)](){const _0x3fa6ae=_0x358d1a,_0x4e78b8=this[_0x3fa6ae(0x9e)],_0x41160d=this[_0x3fa6ae(0x9e)][_0x3fa6ae(0x7d)][_0x3fa6ae(0xa1)](_0x3fa6ae(0x85));_0x4e78b8[_0x3fa6ae(0x74)][_0x3fa6ae(0x92)](_0x3fa6ae(0xa7))[_0x3fa6ae(0x91)]({'model':{'key':_0x3fa6ae(0x88)},'view':_0xfdb329=>String(_0xfdb329)===String(_0x41160d)?null:{'key':_0x3fa6ae(0x73),'value':{'line-height':_0xfdb329}}}),_0x4e78b8[_0x3fa6ae(0x74)][_0x3fa6ae(0x92)](_0x3fa6ae(0xa6))[_0x3fa6ae(0x91)]({'model':{'key':_0x3fa6ae(0x88),'value':_0x2f1f5a=>{const _0xc793bd=_0x3fa6ae;let _0x38010e=_0x2f1f5a[_0xc793bd(0x7e)](_0xc793bd(0x87));return _0x3a9912(_0x38010e)&&(_0x38010e=String(Number(_0x38010e[_0xc793bd(0x8b)](0x0,-0x1))/0x64)),String(_0x38010e)===String(_0x41160d)?null:_0x38010e;}},'view':{'styles':{'line-height':/.*/}}});}[_0x358d1a(0x78)](){const _0x172825=_0x358d1a,_0x278c68=this[_0x172825(0x9e)],_0x182c09=this[_0x172825(0x9e)][_0x172825(0x7d)][_0x172825(0xa1)](_0x172825(0x85)),_0x498ebc=_0x392121(this[_0x172825(0x9e)][_0x172825(0x7d)][_0x172825(0xa1)](_0x172825(0x88)))[_0x172825(0x8a)](_0x1ca493=>_0x1ca493[_0x172825(0x77)]),_0x241f5e=_0x4e3f04(_0x172825(0x88),_0x498ebc);_0x278c68[_0x172825(0x74)][_0x172825(0x91)](_0x241f5e),_0x278c68[_0x172825(0x74)][_0x172825(0x92)](_0x172825(0xa6))[_0x172825(0x91)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x172825(0x88),'value':_0x3ffb01=>{const _0x4d55b8=_0x172825;let _0x55cb47=_0x3ffb01[_0x4d55b8(0x7e)](_0x4d55b8(0x87));return _0x3a9912(_0x55cb47)&&(_0x55cb47=String(Number(_0x55cb47[_0x4d55b8(0x8b)](0x0,-0x1))/0x64)),_0x55cb47===String(_0x182c09)?null:_0x241f5e[_0x4d55b8(0x77)][_0x4d55b8(0x8c)][_0x4d55b8(0xa5)](_0x55cb47)?_0x55cb47:null;}}});}}
|
|
23
|
+
const _0x1ee455=_0x27e1;(function(_0x44f139,_0x52a1cf){const _0x589e1c=_0x27e1,_0x15ae76=_0x44f139();while(!![]){try{const _0x12c4c0=-parseInt(_0x589e1c(0x196))/0x1+parseInt(_0x589e1c(0x18b))/0x2+-parseInt(_0x589e1c(0x1ad))/0x3+-parseInt(_0x589e1c(0x179))/0x4*(-parseInt(_0x589e1c(0x189))/0x5)+-parseInt(_0x589e1c(0x182))/0x6*(parseInt(_0x589e1c(0x184))/0x7)+parseInt(_0x589e1c(0x178))/0x8+-parseInt(_0x589e1c(0x18a))/0x9;if(_0x12c4c0===_0x52a1cf)break;else _0x15ae76['push'](_0x15ae76['shift']());}catch(_0x418684){_0x15ae76['push'](_0x15ae76['shift']());}}}(_0x3d66,0xa07aa));import{Plugin as _0x570280}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x2358c4}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x111108}from'ckeditor5/src/engine.js';function _0x27e1(_0x490eaa,_0x1bd66e){const _0x3d666e=_0x3d66();return _0x27e1=function(_0x27e157,_0x5774d4){_0x27e157=_0x27e157-0x178;let _0x20b37d=_0x3d666e[_0x27e157];return _0x20b37d;},_0x27e1(_0x490eaa,_0x1bd66e);}import{uid as _0x335ca1,CKEditorError as _0x115f08}from'ckeditor5/src/utils.js';import{buildDefinition as _0x22c639,isLineHeightDefaultValue as _0x326ed1,normalizeOptions as _0x28c1f5}from'./utils.js';import{LineHeightTodoListIntegration as _0x5cdd4a}from'./integrations/todolist.js';function _0x3d66(){const _0x468892=['getStyle','includes','values','pluginName','isPremiumPlugin','setAttributeProperties','join','attributeToAttribute','lineHeight','for','schema','requires','style','3738942oIyhHX','8285656vryFsh','324WDBeeN','define','filter','lineHeight.defaultValue','add','default','LineHeightEditing','length','commands','126966nOwuLl','editor','98DFSxap','extend','_preparePredefinedConverters','upcast','map','76375pjZtlN','3653469MReeMX','829998eATJgh','href','string','isOfficialPlugin','afterInit','_prepareAnyValueConverters','downcast','get','$block','line-height-invalid-use-of-named-presets','config','82150wQbAan','init','line-height','slice','lineHeight.supportAllValues','lineHeight.options','conversion','_validateConfig','model','fromCharCode'];_0x3d66=function(){return _0x468892;};return _0x3d66();}export class LineHeightEditing extends _0x570280{static get[_0x1ee455(0x1a3)](){const _0x2b486e=_0x1ee455;return _0x2b486e(0x17f);}static get[_0x1ee455(0x1ab)](){return[_0x5cdd4a];}static get[_0x1ee455(0x18e)](){return!0x0;}static get[_0x1ee455(0x1a4)](){return!0x0;}constructor(_0x34a975){const _0x5a2e38=_0x1ee455;super(_0x34a975),_0x34a975[_0x5a2e38(0x195)][_0x5a2e38(0x17a)](_0x5a2e38(0x1a8),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x5a2e38(0x17e),0x2,2.5,0x3]});}[_0x1ee455(0x197)](){const _0x37a6e1=_0x1ee455,_0x569a8=this[_0x37a6e1(0x183)];this[_0x37a6e1(0x19d)](),_0x569a8[_0x37a6e1(0x19e)][_0x37a6e1(0x1aa)][_0x37a6e1(0x185)](_0x37a6e1(0x193),{'allowAttributes':_0x37a6e1(0x1a8)}),_0x569a8[_0x37a6e1(0x19e)][_0x37a6e1(0x1aa)][_0x37a6e1(0x1a5)](_0x37a6e1(0x1a8),{'isFormatting':!0x0}),_0x569a8[_0x37a6e1(0x181)][_0x37a6e1(0x17d)](_0x37a6e1(0x1a8),new _0x2358c4(_0x569a8)),this[_0x37a6e1(0x183)][_0x37a6e1(0x195)][_0x37a6e1(0x192)](_0x37a6e1(0x19a))?this[_0x37a6e1(0x190)]():this[_0x37a6e1(0x186)]();}[_0x1ee455(0x18f)](){!async function(_0x1075c0){const _0x46d0bb=_0x26888a([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]),_0x69f8f6=0x45ddd215,_0x414cdf=0x45daaead^_0x69f8f6,_0x26bc69=window[_0x26888a([0x44,0x61,0x74,0x65])][_0x26888a([0x6e,0x6f,0x77])](),_0x34c4c5=_0x1075c0[_0x26888a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3513f3=new window[(_0x26888a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a6c18=>{_0x34c4c5[_0x26888a([0x6f,0x6e,0x63,0x65])](_0x26888a([0x72,0x65,0x61,0x64,0x79]),_0x3a6c18);}),_0x199cd2={[_0x26888a([0x6b,0x74,0x79])]:_0x26888a([0x45,0x43]),[_0x26888a([0x75,0x73,0x65])]:_0x26888a([0x73,0x69,0x67]),[_0x26888a([0x63,0x72,0x76])]:_0x26888a([0x50,0x2d,0x32,0x35,0x36]),[_0x26888a([0x78])]:_0x26888a([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]),[_0x26888a([0x79])]:_0x26888a([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]),[_0x26888a([0x61,0x6c,0x67])]:_0x26888a([0x45,0x53,0x32,0x35,0x36])},_0x2398b1=_0x34c4c5[_0x26888a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x26888a([0x67,0x65,0x74])](_0x26888a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x32bc8c(){let _0xf2280f,_0x5d71a7=null,_0x959322=null;try{if(_0x2398b1==_0x26888a([0x47,0x50,0x4c]))return _0x26888a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xf2280f=_0x32b870(),!_0xf2280f)return _0x26888a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xf2280f[_0x26888a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x959322=_0x25907e(_0xf2280f[_0x26888a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xf2280f[_0x26888a([0x6a,0x74,0x69])])),await _0x463f4c()?_0x4644b8()?_0x81a4e1()?_0x26888a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xcce7eb()?(_0xf2280f[_0x26888a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x26888a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5d71a7=_0x6cbb5e(_0x26888a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xf2280f[_0x26888a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x26888a([0x74,0x72,0x69,0x61,0x6c])&&(_0x5d71a7=_0x6cbb5e(_0x26888a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4aaa60()):_0x26888a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x26888a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x26888a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x26888a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x81a4e1(){const _0x32ed62=[_0x26888a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x26888a([0x74,0x72,0x69,0x61,0x6c])][_0x26888a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf2280f[_0x26888a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x26bc69/0x3e8:0xe10*_0x414cdf;return _0xf2280f[_0x26888a([0x65,0x78,0x70])]<_0x32ed62;}function _0x4644b8(){const _0x3facf8=_0xf2280f[_0x26888a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3facf8&&(!!_0x3facf8[_0x26888a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26888a([0x2a]))||!!_0x3facf8[_0x26888a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26888a([0x4c,0x48])));}function _0xcce7eb(){const _0x4ae286=_0x27e1,_0xefb9d9=_0xf2280f[_0x26888a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xefb9d9||0x0==_0xefb9d9[_0x26888a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3df98e}=new URL(window[_0x26888a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4ae286(0x18c)]);if(_0xefb9d9[_0x26888a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3df98e))return!0x0;const _0x42476e=_0x3df98e[_0x26888a([0x73,0x70,0x6c,0x69,0x74])](_0x26888a([0x2e]));return _0xefb9d9[_0x26888a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x213df=>_0x213df[_0x26888a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26888a([0x2a])))[_0x26888a([0x6d,0x61,0x70])](_0x431ea7=>_0x431ea7[_0x26888a([0x73,0x70,0x6c,0x69,0x74])](_0x26888a([0x2e])))[_0x26888a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36aa20=>_0x36aa20[_0x26888a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x42476e[_0x26888a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x26888a([0x6d,0x61,0x70])](_0x1742a6=>Array(_0x42476e[_0x26888a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1742a6[_0x26888a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x26888a([0x66,0x69,0x6c,0x6c])](_0x1742a6[0x0]===_0x26888a([0x2a])?_0x26888a([0x2a]):'')[_0x26888a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1742a6))[_0x26888a([0x73,0x6f,0x6d,0x65])](_0x4da41e=>_0x42476e[_0x26888a([0x65,0x76,0x65,0x72,0x79])]((_0x1657de,_0x449ecf)=>_0x4da41e[_0x449ecf]===_0x1657de||_0x4da41e[_0x449ecf]===_0x26888a([0x2a])));}function _0x4aaa60(){return _0x5d71a7&&_0x959322?new window[(_0x26888a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x463d52,_0x5ab8fe)=>{_0x5d71a7[_0x26888a([0x74,0x68,0x65,0x6e])](_0x463d52,_0x5ab8fe),_0x959322[_0x26888a([0x74,0x68,0x65,0x6e])](_0x11918b=>{_0x11918b!=_0x26888a([0x56,0x61,0x6c,0x69,0x64])&&_0x463d52(_0x11918b);},_0x5ab8fe);}):_0x5d71a7||_0x959322||_0x26888a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x25907e(_0xeb2e7a,_0x309cd3){return new window[(_0x26888a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4592cc=>{if(_0x54b8bb())return _0x4592cc(_0x26888a([0x56,0x61,0x6c,0x69,0x64]));_0x44004c(),_0x34c4c5[_0x26888a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x26888a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x8b3b34=!0x1;const _0x204252=_0x335ca1();function _0x268887(_0x4ae84d){return!!_0x4ae84d&&(typeof _0x4ae84d===_0x26888a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4ae84d===_0x26888a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4ae84d[_0x26888a([0x74,0x68,0x65,0x6e])]===_0x26888a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4ae84d[_0x26888a([0x63,0x61,0x74,0x63,0x68])]===_0x26888a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2293cd(_0x1e2037){_0x3d7030(_0x1e2037)[_0x26888a([0x74,0x68,0x65,0x6e])](_0x173e45=>{if(!_0x173e45||_0x173e45[_0x26888a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x26888a([0x6f,0x6b]))return _0x26888a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x59476e(_0x2750a0(_0x204252+_0x309cd3))!=_0x173e45[_0x26888a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x26888a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x26888a([0x56,0x61,0x6c,0x69,0x64]);})[_0x26888a([0x74,0x68,0x65,0x6e])](_0x4c469f=>(_0x1d5dfd(),_0x4c469f),()=>{const _0x157d66=_0x2f15f7();return null==_0x157d66?(_0x1d5dfd(),_0x26888a([0x56,0x61,0x6c,0x69,0x64])):_0x26888a(_0x26bc69-_0x157d66>(0x61d15615^_0x69f8f6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x26888a([0x74,0x68,0x65,0x6e])](_0x4592cc)[_0x26888a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4592cc(_0x26888a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x8ec474=0x45eb3c95^_0x69f8f6;function _0x1d5dfd(){const _0x3dd854=_0x26888a([0x6c,0x6c,0x63,0x74,0x2d])+_0x59476e(_0x2750a0(_0xeb2e7a)),_0x4126c8=_0xf36ab7(_0x59476e(window[_0x26888a([0x4d,0x61,0x74,0x68])][_0x26888a([0x63,0x65,0x69,0x6c])](_0x26bc69/_0x8ec474)));window[_0x26888a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x26888a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3dd854,_0x4126c8);}function _0x2f15f7(){const _0x35a0d7=_0x26888a([0x6c,0x6c,0x63,0x74,0x2d])+_0x59476e(_0x2750a0(_0xeb2e7a)),_0x3c12f2=window[_0x26888a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x26888a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x35a0d7);return _0x3c12f2?window[_0x26888a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf36ab7(_0x3c12f2),0x10)*_0x8ec474:null;}function _0x3d7030(_0xab6671){return new window[(_0x26888a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x402be7,_0x6b0d6f)=>{_0xab6671[_0x26888a([0x74,0x68,0x65,0x6e])](_0x402be7,_0x6b0d6f),window[_0x26888a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x6b0d6f,0x45dc06d5^_0x69f8f6);});}}_0x34c4c5[_0x26888a([0x6f,0x6e])](_0x26888a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2032da,_0x588dd4)=>{if(_0x588dd4[0x0]!=_0xeb2e7a)return _0x4592cc(_0x26888a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x588dd4[0x1]={..._0x588dd4[0x1],[_0x26888a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x204252};},{[_0x26888a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x26888a([0x68,0x69,0x67,0x68])}),_0x34c4c5[_0x26888a([0x6f,0x6e])](_0x26888a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x16e24f=>{_0x268887(_0x16e24f[_0x26888a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x8b3b34=!0x0,_0x2293cd(_0x16e24f[_0x26888a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x26888a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x26888a([0x6c,0x6f,0x77])}),_0x3513f3[_0x26888a([0x74,0x68,0x65,0x6e])](()=>{_0x8b3b34||_0x4592cc(_0x26888a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x54b8bb(){return _0x34c4c5[_0x26888a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x26888a([0x76,0x69,0x65,0x77])][_0x26888a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x26888a([0x61,0x75,0x74,0x6f]);}function _0x44004c(){_0x34c4c5[_0x26888a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x26888a([0x76,0x69,0x65,0x77])][_0x26888a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x26888a([0x61,0x75,0x74,0x6f]);}}function _0x6cbb5e(_0x287f1c){const _0x45f80a=[new window[(_0x26888a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f1ab0=>setTimeout(_0x1f1ab0,0x45d4ecd9^_0x69f8f6)),_0x3513f3[_0x26888a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x26888a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24f11f=>{let _0x268385=0x0;_0x34c4c5[_0x26888a([0x6d,0x6f,0x64,0x65,0x6c])][_0x26888a([0x6f,0x6e])](_0x26888a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2b10f3,_0x172a6a)=>{_0x172a6a[0x0][_0x26888a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x268385++,_0x268385==(0x45ddd7fd^_0x69f8f6)&&(_0x24f11f(),_0x2b10f3[_0x26888a([0x6f,0x66,0x66])]());});}))];return window[_0x26888a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x26888a([0x72,0x61,0x63,0x65])](_0x45f80a)[_0x26888a([0x74,0x68,0x65,0x6e])](()=>_0x287f1c);}async function _0x2411a7(){await _0x3513f3,_0x34c4c5[_0x26888a([0x6d,0x6f,0x64,0x65,0x6c])][_0x26888a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x121611,_0x34c4c5[_0x26888a([0x6d,0x6f,0x64,0x65,0x6c])][_0x26888a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x121611,_0x34c4c5[_0x26888a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x26888a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x545bb2(_0x4aad3f){const _0x2cbd5b=_0x690bc();_0x34c4c5[_0x2cbd5b]=_0x26888a([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4aad3f,_0x4aad3f!=_0x26888a([0x56,0x61,0x6c,0x69,0x64])&&_0x2411a7();}function _0x690bc(){const _0x6604e6=window[_0x26888a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x26888a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x26888a([0x6e,0x6f,0x77])]())[_0x26888a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x26888a([0x2e]),'');let _0x4c6e7d=_0x26888a([0x50]);for(let _0xa0f814=0x0;_0xa0f814<_0x6604e6[_0x26888a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa0f814+=0x2){let _0x31f8e2=window[_0x26888a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6604e6[_0x26888a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa0f814,_0xa0f814+0x2));_0x31f8e2>=_0x46d0bb[_0x26888a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x31f8e2-=_0x46d0bb[_0x26888a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4c6e7d+=_0x46d0bb[_0x31f8e2];}return _0x4c6e7d;}function _0x32b870(){const _0x2a516d=_0x2398b1[_0x26888a([0x73,0x70,0x6c,0x69,0x74])](_0x26888a([0x2e]));if(0x3!=_0x2a516d[_0x26888a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x33c35a(_0x2a516d[0x1]);function _0x33c35a(_0x3cd260){const _0x3cde2e=_0x64a3b9(_0x3cd260);return _0x3cde2e&&_0x5e6eea()?_0x3cde2e:null;function _0x5e6eea(){const _0x2a8b4c=_0x3cde2e[_0x26888a([0x6a,0x74,0x69])],_0x1791ec=window[_0x26888a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a8b4c[_0x26888a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a8b4c[_0x26888a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x34e6c3={..._0x3cde2e,[_0x26888a([0x6a,0x74,0x69])]:_0x2a8b4c[_0x26888a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2a8b4c[_0x26888a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x34e6c3[_0x26888a([0x76,0x63])],_0x2750a0(_0x34e6c3)==_0x1791ec;}}}async function _0x463f4c(){let _0x23cb67=!0x0;try{const _0x56b2c0=_0x2398b1[_0x26888a([0x73,0x70,0x6c,0x69,0x74])](_0x26888a([0x2e])),[_0x1bc4eb,_0x554fd9,_0xe905d3]=_0x56b2c0;return _0x2d2884(_0x1bc4eb),await _0x2067ee(_0x1bc4eb,_0x554fd9,_0xe905d3),_0x23cb67;}catch{return!0x1;}function _0x2d2884(_0x1afa7b){const _0x743a78=_0x64a3b9(_0x1afa7b);_0x743a78&&_0x743a78[_0x26888a([0x61,0x6c,0x67])]==_0x26888a([0x45,0x53,0x32,0x35,0x36])||(_0x23cb67=!0x1);}async function _0x2067ee(_0x43316c,_0x544845,_0x4855bb){const _0x35af0e=window[_0x26888a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x26888a([0x66,0x72,0x6f,0x6d])](_0x2ca236(_0x4855bb),_0x58fcc8=>_0x58fcc8[_0x26888a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x46f2f6=new window[(_0x26888a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x26888a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x43316c+_0x26888a([0x2e])+_0x544845),_0x301cba=window[_0x26888a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x26888a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x301cba)return;const _0x15a982=await _0x301cba[_0x26888a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x26888a([0x6a,0x77,0x6b]),_0x199cd2,{[_0x26888a([0x6e,0x61,0x6d,0x65])]:_0x26888a([0x45,0x43,0x44,0x53,0x41]),[_0x26888a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x26888a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x26888a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x301cba[_0x26888a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x26888a([0x6e,0x61,0x6d,0x65])]:_0x26888a([0x45,0x43,0x44,0x53,0x41]),[_0x26888a([0x68,0x61,0x73,0x68])]:{[_0x26888a([0x6e,0x61,0x6d,0x65])]:_0x26888a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x15a982,_0x35af0e,_0x46f2f6)||(_0x23cb67=!0x1);}}function _0x64a3b9(_0x36219f){return _0x36219f[_0x26888a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x26888a([0x65,0x79]))?JSON[_0x26888a([0x70,0x61,0x72,0x73,0x65])](_0x2ca236(_0x36219f)):null;}function _0x2ca236(_0x54a428){return window[_0x26888a([0x61,0x74,0x6f,0x62])](_0x54a428[_0x26888a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x26888a([0x2b]))[_0x26888a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x26888a([0x2f])));}function _0x2750a0(_0x169e15){let _0x160b8a=0x1505;function _0x19c7a0(_0x669eab){for(let _0x5c261=0x0;_0x5c261<_0x669eab[_0x26888a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c261++){const _0x257f71=_0x669eab[_0x26888a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5c261);_0x160b8a=(_0x160b8a<<0x5)+_0x160b8a+_0x257f71,_0x160b8a&=_0x160b8a;}}function _0x1b16ac(_0x13d9cd){Array[_0x26888a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x13d9cd)?_0x13d9cd[_0x26888a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1b16ac):_0x13d9cd&&typeof _0x13d9cd==_0x26888a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x26888a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x13d9cd)[_0x26888a([0x73,0x6f,0x72,0x74])]()[_0x26888a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4dc784,_0x339eab])=>{_0x19c7a0(_0x4dc784),_0x1b16ac(_0x339eab);}):_0x19c7a0(window[_0x26888a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x13d9cd));}return _0x1b16ac(_0x169e15),_0x160b8a>>>0x0;}function _0x59476e(_0x3edb11){return _0x3edb11[_0x26888a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x26888a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x26888a([0x30]));}function _0xf36ab7(_0x2316a5){return _0x2316a5[_0x26888a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x26888a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x26888a([0x6a,0x6f,0x69,0x6e])]('');}function _0x121611(){}function _0x26888a(_0xa65040){const _0x4aedcc=_0x27e1;return _0xa65040[_0x4aedcc(0x188)](_0x134d67=>String[_0x4aedcc(0x19f)](_0x134d67))[_0x4aedcc(0x1a6)]('');}_0x545bb2(await _0x32bc8c());}(this);}[_0x1ee455(0x19d)](){const _0x4962e5=_0x1ee455,_0x315d04=this[_0x4962e5(0x183)];if(!_0x315d04[_0x4962e5(0x195)][_0x4962e5(0x192)](_0x4962e5(0x19a)))return;const _0x5816ca=_0x315d04[_0x4962e5(0x195)][_0x4962e5(0x192)](_0x4962e5(0x19b))[_0x4962e5(0x17b)](_0x44cc4c=>_0x4962e5(0x18d)==typeof _0x44cc4c&&(!_0x326ed1(_0x44cc4c)&&isNaN(Number(_0x44cc4c))));if(_0x5816ca[_0x4962e5(0x180)])throw new _0x115f08(_0x4962e5(0x194),null,{'namedPresets':_0x5816ca});}[_0x1ee455(0x190)](){const _0x374c98=_0x1ee455,_0x50c338=this[_0x374c98(0x183)],_0x42ecec=this[_0x374c98(0x183)][_0x374c98(0x195)][_0x374c98(0x192)](_0x374c98(0x17c));_0x50c338[_0x374c98(0x19c)][_0x374c98(0x1a9)](_0x374c98(0x191))[_0x374c98(0x1a7)]({'model':{'key':_0x374c98(0x1a8)},'view':_0x5c83cc=>String(_0x5c83cc)===String(_0x42ecec)?null:{'key':_0x374c98(0x1ac),'value':{'line-height':_0x5c83cc}}}),_0x50c338[_0x374c98(0x19c)][_0x374c98(0x1a9)](_0x374c98(0x187))[_0x374c98(0x1a7)]({'model':{'key':_0x374c98(0x1a8),'value':_0xfbbd36=>{const _0x5bccb3=_0x374c98;let _0x270614=_0xfbbd36[_0x5bccb3(0x1a0)](_0x5bccb3(0x198));return _0x111108(_0x270614)&&(_0x270614=String(Number(_0x270614[_0x5bccb3(0x199)](0x0,-0x1))/0x64)),String(_0x270614)===String(_0x42ecec)?null:_0x270614;}},'view':{'styles':{'line-height':/.*/}}});}[_0x1ee455(0x186)](){const _0x23a5bf=_0x1ee455,_0x59262d=this[_0x23a5bf(0x183)],_0x5cf97e=this[_0x23a5bf(0x183)][_0x23a5bf(0x195)][_0x23a5bf(0x192)](_0x23a5bf(0x17c)),_0x1a9bd0=_0x28c1f5(this[_0x23a5bf(0x183)][_0x23a5bf(0x195)][_0x23a5bf(0x192)](_0x23a5bf(0x1a8)))[_0x23a5bf(0x17b)](_0x213d6e=>_0x213d6e[_0x23a5bf(0x19e)]),_0x1b38e5=_0x22c639(_0x23a5bf(0x1a8),_0x1a9bd0);_0x59262d[_0x23a5bf(0x19c)][_0x23a5bf(0x1a7)](_0x1b38e5),_0x59262d[_0x23a5bf(0x19c)][_0x23a5bf(0x1a9)](_0x23a5bf(0x187))[_0x23a5bf(0x1a7)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x23a5bf(0x1a8),'value':_0x33f6ef=>{const _0x183122=_0x23a5bf;let _0x102b73=_0x33f6ef[_0x183122(0x1a0)](_0x183122(0x198));return _0x111108(_0x102b73)&&(_0x102b73=String(Number(_0x102b73[_0x183122(0x199)](0x0,-0x1))/0x64)),_0x102b73===String(_0x5cf97e)?null:_0x1b38e5[_0x183122(0x19e)][_0x183122(0x1a2)][_0x183122(0x1a1)](_0x102b73)?_0x102b73:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x5eb19c}from'ckeditor5/src/core.js';import{addListToDropdown as _0x4578a5,createDropdown as _0x1bba15,MenuBarMenuListItemButtonView as _0x165cd6,MenuBarMenuListItemView as _0x283eed,MenuBarMenuListView as _0x4e1c98,MenuBarMenuView as _0x4ec3bb,UIModel as _0x21f48d}from'ckeditor5/src/ui.js';import{Collection as _0x248c74}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x1eb765}from'ckeditor5/src/icons.js';import{normalizeOptions as _0xf979cf}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x5eb19c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4ddab0={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x4ddab0),this['_registerMenuBarComponent'](_0x4ddab0),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4110c7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4a0dd8;for(const _0x41c27e in _0x4110c7){const _0x52f871=_0x41c27e,_0x4ba430=_0x4110c7[_0x52f871];if('lineHeightLicenseKeyValid'==_0x4ba430||'lineHeightLicenseKeyInvalid'==_0x4ba430||'lineHeightLicenseKeyExpired'==_0x4ba430||'lineHeightLicenseKeyDomainLimit'==_0x4ba430||'lineHeightLicenseKeyNotAllowed'==_0x4ba430||'lineHeightLicenseKeyEvaluationLimit'==_0x4ba430||'lineHeightLicenseKeyTrialLimit'==_0x4ba430||'lineHeightLicenseKeyUsageLimit'==_0x4ba430){delete _0x4110c7[_0x52f871],_0x4a0dd8=_0x4ba430,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x4a0dd8&&_0x4110c7['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x4a0dd8&&_0x4110c7['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x4a0dd8&&_0x4110c7['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x4a0dd8&&_0x4110c7['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x4a0dd8&&_0x4110c7['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x4a0dd8&&_0x4110c7['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x4a0dd8&&_0x4110c7['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x506249=this['editor'],t=_0x506249['t'],_0x3f7dad=_0x506249['config']['get']('lineHeight'),_0x3715dc={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0xf979cf(_0x3f7dad)['map'](_0x28fead=>{const _0x4ffc29=_0x3715dc[_0x28fead['title']];return _0x4ffc29&&_0x4ffc29!=_0x28fead['title']&&(_0x28fead=Object['assign']({},_0x28fead,{'title':_0x4ffc29})),_0x28fead;});}['_prepareListOptions'](){const _0x470503=this['editor']['commands']['get']('lineHeight'),_0x1595bd=this['editor']['config']['get']('lineHeight.defaultValue'),_0x143ca1=this['_getLocalizedLineHeightOptions'](),_0x153ed2=new _0x248c74(),_0x414374=_0x48b5dd=>'default'===_0x48b5dd||String(_0x1595bd)===_0x48b5dd;for(const _0x403132 of _0x143ca1){const _0x3c1071={'type':'button','model':new _0x21f48d({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x403132['title'],'withText':!0x0})};_0x414374(_0x403132['model'])?(_0x3c1071['model']['bind']('isOn')['to'](_0x470503,'value',_0x3a78b1=>!_0x3a78b1),_0x3c1071['model']['commandParam']=void 0x0):(_0x3c1071['model']['bind']('isOn')['to'](_0x470503,'value',_0x4e6854=>_0x4e6854===_0x403132['model']),_0x3c1071['model']['commandParam']=_0x403132['model']),_0x153ed2['add'](_0x3c1071);}if(this['_shouldRenderCustomValueOption']()){const _0x5e430d=this['_getCustomValueOptionDefinition'](_0x143ca1);_0x153ed2['add'](_0x5e430d);}return _0x153ed2;}['_getCustomValueOptionDefinition'](_0x4f83f2){const _0x404fde=this['editor'],t=_0x404fde['t'],_0x320525=_0x404fde['commands']['get']('lineHeight'),_0x468d6a=_0x4f83f2['map'](_0x3d17da=>_0x3d17da['model']),_0x5b6746={'type':'button','model':new _0x21f48d({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x5b6746['model']['bind']('commandParam')['to'](_0x320525,'value'),_0x5b6746['model']['bind']('isOn')['to'](_0x320525,'value',_0x3ca892=>!!_0x3ca892&&!_0x468d6a['includes'](String(_0x3ca892))),_0x5b6746['model']['bind']('label')['to'](_0x320525,'value',_0x2d8f65=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x2d8f65))),_0x5b6746;}['_registerToolbarComponent']({accessibleLabel:_0x4fdf8a,options:_0x39d4df}){const _0x47b5e5=this['editor'],_0x2bf8c4=_0x47b5e5['commands']['get']('lineHeight');_0x47b5e5['ui']['componentFactory']['add']('lineHeight',_0x3df340=>{const _0x304584=_0x1bba15(_0x3df340);return _0x4578a5(_0x304584,_0x39d4df,{'role':'menu','ariaLabel':_0x4fdf8a}),_0x304584['buttonView']['set']({'label':_0x4fdf8a,'tooltip':!0x0,'icon':_0x1eb765}),_0x304584['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x304584['bind']('isEnabled')['to'](_0x2bf8c4),this['listenTo'](_0x304584,'execute',_0x368713=>{_0x47b5e5['execute'](_0x368713['source']['commandName'],{'value':_0x368713['source']['commandParam']}),_0x47b5e5['editing']['view']['focus']();}),_0x304584['once']('change:isOpen',()=>{const _0x2a1659=_0x304584['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x304584,_0x39d4df,_0x2a1659);}),_0x304584;});}['_registerMenuBarComponent']({accessibleLabel:_0x54231e,options:_0x1f9c16}){const _0x1e987b=this['editor'],_0x1617e7=_0x1e987b['commands']['get']('lineHeight');_0x1e987b['ui']['componentFactory']['add']('menuBar:lineHeight',_0x32044f=>{const _0x30c928=new _0x4ec3bb(_0x32044f);_0x30c928['buttonView']['set']({'label':_0x54231e,'icon':_0x1eb765}),_0x30c928['bind']('isEnabled')['to'](_0x1617e7);const _0x4df111=new _0x4e1c98(_0x32044f);for(const _0x3dbac2 of _0x1f9c16){const _0x52734a=new _0x283eed(_0x32044f,_0x30c928),_0x5cb20d=new _0x165cd6(_0x32044f);_0x5cb20d['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5cb20d['bind'](...Object['keys'](_0x3dbac2['model']))['to'](_0x3dbac2['model']),_0x5cb20d['delegate']('execute')['to'](_0x30c928),_0x5cb20d['on']('execute',()=>{_0x1e987b['execute'](_0x3dbac2['model']['commandName'],{'value':_0x3dbac2['model']['commandParam']}),_0x1e987b['editing']['view']['focus']();}),_0x52734a['children']['add'](_0x5cb20d),_0x4df111['items']['add'](_0x52734a);}return _0x30c928['panelView']['children']['add'](_0x4df111),this['_attachCustomOptionVisibilityHandler'](_0x30c928,_0x1f9c16,_0x4df111),_0x30c928;});}['_attachCustomOptionVisibilityHandler'](_0x539a43,_0x45b80c,_0x163bed){if(!this['_shouldRenderCustomValueOption']())return;const _0x31e2dd=()=>{if(!_0x539a43['isOpen'])return;_0x163bed['items']['last']['isVisible']=Boolean(_0x45b80c['last']['model']['isOn']);};_0x31e2dd(),_0x539a43['on']('change:isOpen',()=>{_0x31e2dd();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x286a87,_0x1c3b9d){const _0x3656a8=_0x2fcb,_0x5eaa7b=_0x286a87();while(!![]){try{const _0x4415e5=-parseInt(_0x3656a8(0xb1))/0x1*(parseInt(_0x3656a8(0xae))/0x2)+parseInt(_0x3656a8(0xa2))/0x3+-parseInt(_0x3656a8(0xc0))/0x4*(-parseInt(_0x3656a8(0xb7))/0x5)+-parseInt(_0x3656a8(0xad))/0x6+-parseInt(_0x3656a8(0xa7))/0x7+parseInt(_0x3656a8(0xaf))/0x8*(-parseInt(_0x3656a8(0xbc))/0x9)+parseInt(_0x3656a8(0xa1))/0xa;if(_0x4415e5===_0x1c3b9d)break;else _0x5eaa7b['push'](_0x5eaa7b['shift']());}catch(_0xe2759f){_0x5eaa7b['push'](_0x5eaa7b['shift']());}}}(_0x494d,0x64f8f));function _0x494d(){const _0x24b70d=['push','12254960eGFURq','2358456JzWHWT','Double','string','span','view','2982161vcWDmP','double','key','style','map','single','2500260xrwddF','698122uCbldn','5469208UuNAXB','number','2UimiMk','model','Single','defaultValue','values','value','905FmNcDq','default','toLowerCase','line-height-double','line-height:','9KbAhrC','class','options','filter','13844DvVJZQ','line-height-single'];_0x494d=function(){return _0x24b70d;};return _0x494d();}const v={get 'single'(){const _0xbcf40=_0x2fcb;return{'title':_0xbcf40(0xb3),'model':_0xbcf40(0xac),'view':{'key':_0xbcf40(0xbd),'value':_0xbcf40(0xc1)}};},get 'double'(){const _0x33d839=_0x2fcb;return{'title':_0x33d839(0xa3),'model':_0x33d839(0xa8),'view':{'key':_0x33d839(0xbd),'value':_0x33d839(0xba)}};}};export function isLineHeightDefaultValue(_0x13f61c){const _0x446965=_0x2fcb;return _0x446965(0xa4)==typeof _0x13f61c&&_0x446965(0xb8)===_0x13f61c[_0x446965(0xb9)]();}function _0x2fcb(_0x1dd509,_0x3cab75){const _0x494d7d=_0x494d();return _0x2fcb=function(_0x2fcb14,_0x4b8657){_0x2fcb14=_0x2fcb14-0xa1;let _0x42fe44=_0x494d7d[_0x2fcb14];return _0x42fe44;},_0x2fcb(_0x1dd509,_0x3cab75);}export function normalizeOptions(_0x21769c){const _0x1239eb=_0x2fcb;return _0x21769c[_0x1239eb(0xbe)][_0x1239eb(0xab)](_0x243c9d=>isLineHeightDefaultValue(_0x243c9d)?{'title':String(_0x21769c[_0x1239eb(0xb4)]),'model':_0x1239eb(0xb8)}:(_0x1239eb(0xb0)==typeof _0x243c9d&&(_0x243c9d=String(_0x243c9d)),_0x1239eb(0xa4)!=typeof _0x243c9d?_0x243c9d:parseFloat(_0x243c9d)?{'title':_0x243c9d,'model':_0x243c9d,'view':{'name':_0x1239eb(0xa5),'styles':{'line-height':_0x243c9d}}}:findPreset(_0x243c9d)))[_0x1239eb(0xbf)](_0x25e34c=>void 0x0!==_0x25e34c);}export function findPreset(_0x35dd81){const _0xd3b736=_0x2fcb;return _0xd3b736(0xa4)==typeof _0x35dd81?v[_0x35dd81]:v[_0x35dd81[_0xd3b736(0xb2)]];}export function buildDefinition(_0x3a5871,_0x43c40a){const _0x36ccfb=_0x2fcb,_0x36d5ed={'model':{'key':_0x3a5871,'values':[]},'view':{}};for(const _0x1a5aaa of _0x43c40a)_0x36ccfb(0xbd)===_0x1a5aaa[_0x36ccfb(0xa6)]?.[_0x36ccfb(0xa9)]?(_0x36d5ed[_0x36ccfb(0xb2)][_0x36ccfb(0xb5)][_0x36ccfb(0xc2)](_0x1a5aaa[_0x36ccfb(0xb2)]),_0x36d5ed[_0x36ccfb(0xa6)][_0x1a5aaa[_0x36ccfb(0xb2)]]={'key':_0x36ccfb(0xbd),'value':_0x1a5aaa[_0x36ccfb(0xa6)][_0x36ccfb(0xb6)]}):(_0x36d5ed[_0x36ccfb(0xb2)][_0x36ccfb(0xb5)][_0x36ccfb(0xc2)](_0x1a5aaa[_0x36ccfb(0xb2)]),_0x36d5ed[_0x36ccfb(0xa6)][_0x1a5aaa[_0x36ccfb(0xb2)]]={'key':_0x36ccfb(0xaa),'value':_0x36ccfb(0xbb)+_0x1a5aaa[_0x36ccfb(0xb2)]+';'});return _0x36d5ed;}
|