@ckeditor/ckeditor5-line-height 0.0.0-nightly-next-20251221.0 → 0.0.0-nightly-20251222.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 _0x2b0586=_0x3d78;(function(_0x3c875c,_0x12fc12){const _0x1555b1=_0x3d78,_0x126d54=_0x3c875c();while(!![]){try{const _0x360c80=-parseInt(_0x1555b1(0x1e5))/0x1*(-parseInt(_0x1555b1(0x1cf))/0x2)+-parseInt(_0x1555b1(0x1dd))/0x3+-parseInt(_0x1555b1(0x1f1))/0x4*(parseInt(_0x1555b1(0x1cd))/0x5)+parseInt(_0x1555b1(0x1d9))/0x6+parseInt(_0x1555b1(0x1db))/0x7+-parseInt(_0x1555b1(0x1d2))/0x8+parseInt(_0x1555b1(0x1d4))/0x9*(parseInt(_0x1555b1(0x1da))/0xa);if(_0x360c80===_0x12fc12)break;else _0x126d54['push'](_0x126d54['shift']());}catch(_0x437fc5){_0x126d54['push'](_0x126d54['shift']());}}}(_0x22a5,0xda5c9));import{Plugin as _0x384468}from'ckeditor5/src/core.js';import{Matcher as _0x5d69a6}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x384468{static get[_0x2b0586(0x1e9)](){const _0x178577=_0x2b0586;return _0x178577(0x1dc);}static get[_0x2b0586(0x1e1)](){return!0x0;}static get[_0x2b0586(0x1ee)](){return!0x0;}[_0x2b0586(0x1e2)](){const _0x4ab236=_0x2b0586,{plugins:_0x1980bb,conversion:_0x41a78b}=this[_0x4ab236(0x1f5)];if(!_0x1980bb[_0x4ab236(0x1f3)](_0x4ab236(0x1f2))||!_0x1980bb[_0x4ab236(0x1f3)](_0x4ab236(0x1e3)))return;_0x1980bb[_0x4ab236(0x1d0)](_0x4ab236(0x1f2))[_0x4ab236(0x1d5)]({'scope':_0x4ab236(0x1f4),'attributeName':_0x4ab236(0x1de),'consume':!0x1,'setAttributeOnDowncast'(_0x4bd086,_0x457ca4,_0x7e3227,_0xf071bc,_0x6136da){const _0xe675dd=_0x4ab236;_0xe675dd(0x1d3)==_0x6136da[_0xe675dd(0x1ea)](_0xe675dd(0x1e6))&&_0x457ca4&&(_0x4bd086[_0xe675dd(0x1ef)](_0xe675dd(0x1ec),_0x7e3227),_0x4bd086[_0xe675dd(0x1ce)](_0xe675dd(0x1ed),_0x457ca4,_0x7e3227));}}),_0x41a78b[_0x4ab236(0x1d8)](_0x4ab236(0x1f7))[_0x4ab236(0x1d1)]({'view':{'name':_0x4ab236(0x1eb),'classes':_0x4ab236(0x1df)},'model':_0x4ab236(0x1e0),'converterPriority':_0x4ab236(0x1cc)}),_0x41a78b[_0x4ab236(0x1d8)](_0x4ab236(0x1f7))[_0x4ab236(0x1f0)](_0x264423=>{const _0x7ae342=_0x4ab236;_0x264423['on'](_0x7ae342(0x1e7),function(_0xd89f4c){const _0x32357d=new _0x5d69a6(_0xd89f4c);return(_0x5600a9,_0x144543,_0x2311e5)=>{const _0x525e00=_0x3d78,_0x3768b0=_0x32357d[_0x525e00(0x1f6)](_0x144543[_0x525e00(0x1e4)]);if(!_0x3768b0)return;const _0x5366cf=_0x3768b0[_0x525e00(0x1f6)];_0x5366cf[_0x525e00(0x1e8)]=!0x1,_0x2311e5[_0x525e00(0x1d6)][_0x525e00(0x1d7)](_0x144543[_0x525e00(0x1e4)],_0x5366cf);};}({'name':'li','classes':_0x7ae342(0x1ec),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}function _0x3d78(_0xd5a9bc,_0x47993c){const _0x22a58e=_0x22a5();return _0x3d78=function(_0x3d786c,_0x32d585){_0x3d786c=_0x3d786c-0x1cc;let _0x3c4eab=_0x22a58e[_0x3d786c];return _0x3c4eab;},_0x3d78(_0xd5a9bc,_0x47993c);}function _0x22a5(){const _0x384a56=['13006960uvTIeN','todo','18BGfaST','registerDowncastStrategy','consumable','consume','for','9975444rSlOBh','11012050tYZAWt','1038793LaoGlC','LineHeightTodoListIntegration','365433lbPXzi','lineHeight','todo-list__label__description','paragraph','isOfficialPlugin','init','TodoListEditing','viewItem','2RuIgxf','listType','element:li','name','pluginName','getAttribute','span','ck-list-marker-line-height','--ck-content-list-marker-line-height','isPremiumPlugin','addClass','add','6171652urIyqQ','ListEditing','has','item','editor','match','upcast','high','5ngSNIP','setStyle','171620XCycJy','get','elementToElement'];_0x22a5=function(){return _0x384a56;};return _0x22a5();}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1eac8d=_0x47d8;(function(_0x5299e0,_0x12422c){var _0x37c079=_0x47d8,_0x4c573d=_0x5299e0();while(!![]){try{var _0x3c4749=-parseInt(_0x37c079(0xaa))/0x1+-parseInt(_0x37c079(0xa9))/0x2+parseInt(_0x37c079(0xa5))/0x3+parseInt(_0x37c079(0xae))/0x4+parseInt(_0x37c079(0xa8))/0x5+parseInt(_0x37c079(0xac))/0x6+-parseInt(_0x37c079(0xab))/0x7;if(_0x3c4749===_0x12422c)break;else _0x4c573d['push'](_0x4c573d['shift']());}catch(_0x5d10f0){_0x4c573d['push'](_0x4c573d['shift']());}}}(_0x266d,0xbf5d4));function _0x266d(){var _0x587f96=['1453940FhMdIP','1377278DPHlvh','1172062whocJO','470547putOQj','5267754LgBEmp','pluginName','175916ETbYmV','isPremiumPlugin','LineHeight','4497072uSZMtV','requires','isOfficialPlugin'];_0x266d=function(){return _0x587f96;};return _0x266d();}import{Plugin as _0x513b17}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x2b195e}from'./lineheightediting.js';function _0x47d8(_0x13b8dc,_0x3baca2){var _0x266d14=_0x266d();return _0x47d8=function(_0x47d847,_0x5a9098){_0x47d847=_0x47d847-0xa5;var _0x540dbc=_0x266d14[_0x47d847];return _0x540dbc;},_0x47d8(_0x13b8dc,_0x3baca2);}import{LineHeightUI as _0x52296a}from'./lineheightui.js';export class LineHeight extends _0x513b17{static get[_0x1eac8d(0xa6)](){return[_0x2b195e,_0x52296a];}static get[_0x1eac8d(0xad)](){var _0x30a9cf=_0x1eac8d;return _0x30a9cf(0xb0);}static get[_0x1eac8d(0xa7)](){return!0x0;}static get[_0x1eac8d(0xaf)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2c837f=_0x3721;(function(_0x28f2c4,_0x5c7fd4){const _0x4e0473=_0x3721,_0x2a7caa=_0x28f2c4();while(!![]){try{const _0x4f976a=-parseInt(_0x4e0473(0x18c))/0x1*(-parseInt(_0x4e0473(0x190))/0x2)+-parseInt(_0x4e0473(0x189))/0x3*(parseInt(_0x4e0473(0x1a0))/0x4)+-parseInt(_0x4e0473(0x192))/0x5+parseInt(_0x4e0473(0x193))/0x6*(parseInt(_0x4e0473(0x198))/0x7)+-parseInt(_0x4e0473(0x19a))/0x8+-parseInt(_0x4e0473(0x18b))/0x9*(parseInt(_0x4e0473(0x18a))/0xa)+-parseInt(_0x4e0473(0x19e))/0xb*(-parseInt(_0x4e0473(0x191))/0xc);if(_0x4f976a===_0x5c7fd4)break;else _0x2a7caa['push'](_0x2a7caa['shift']());}catch(_0x1f10c8){_0x2a7caa['push'](_0x2a7caa['shift']());}}}(_0x1088,0xf2e77));import{Command as _0x17bf6e}from'ckeditor5/src/core.js';import{first as _0xf646d6}from'ckeditor5/src/utils.js';function _0x3721(_0x525ea6,_0x3b6618){const _0x108897=_0x1088();return _0x3721=function(_0x3721f1,_0x53c2b8){_0x3721f1=_0x3721f1-0x187;let _0x44d5e2=_0x108897[_0x3721f1];return _0x44d5e2;},_0x3721(_0x525ea6,_0x3b6618);}function _0x1088(){const _0x5bafed=['model','editor','setAttribute','refresh','44988VqCZCM','6746140CXjmsz','9rYkSAR','1EQViVJ','getAttribute','checkAttribute','value','2577646dlegyL','1340028isUQMI','7912100ozuaTf','654lXvbnz','execute','from','isEnabled','lineHeight','111559onSJZx','filter','15422960HdMKnU','document','schema','getSelectedBlocks','385jLxFBu','removeAttribute','468fpferk','change','_canHaveLineHeight','selection'];_0x1088=function(){return _0x5bafed;};return _0x1088();}export class LineHeightCommand extends _0x17bf6e{[_0x2c837f(0x188)](){const _0x2b8fc2=_0x2c837f,_0x2dec3c=this[_0x2b8fc2(0x1a5)][_0x2b8fc2(0x1a4)][_0x2b8fc2(0x19b)],_0x4ab8aa=_0xf646d6(_0x2dec3c[_0x2b8fc2(0x1a3)][_0x2b8fc2(0x19d)]());this[_0x2b8fc2(0x196)]=Boolean(_0x4ab8aa)&&this[_0x2b8fc2(0x1a2)](_0x4ab8aa),this[_0x2b8fc2(0x18f)]=this[_0x2b8fc2(0x196)]&&_0x4ab8aa[_0x2b8fc2(0x18d)](_0x2b8fc2(0x197));}[_0x2c837f(0x194)](_0x1ab1f6={}){const _0x400a9f=_0x2c837f,_0x4920d4=this[_0x400a9f(0x1a5)][_0x400a9f(0x1a4)],_0x2869c4=_0x4920d4[_0x400a9f(0x19b)][_0x400a9f(0x1a3)],_0x14f256=_0x1ab1f6[_0x400a9f(0x18f)];_0x4920d4[_0x400a9f(0x1a1)](_0x27f82b=>{const _0x2b80af=_0x400a9f,_0x32620d=Array[_0x2b80af(0x195)](_0x2869c4[_0x2b80af(0x19d)]())[_0x2b80af(0x199)](_0x3ebaa5=>this[_0x2b80af(0x1a2)](_0x3ebaa5));for(const _0x3b20a4 of _0x32620d)_0x14f256?_0x27f82b[_0x2b80af(0x187)](_0x2b80af(0x197),_0x14f256,_0x3b20a4):_0x27f82b[_0x2b80af(0x19f)](_0x2b80af(0x197),_0x3b20a4);});}[_0x2c837f(0x1a2)](_0x56d4a2){const _0x42850a=_0x2c837f;return this[_0x42850a(0x1a5)][_0x42850a(0x1a4)][_0x42850a(0x19c)][_0x42850a(0x18e)](_0x56d4a2,_0x42850a(0x197));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x6a54b0=_0x310d;function _0x310d(_0x38afd0,_0x1726ab){const _0x1b7ccc=_0x1b7c();return _0x310d=function(_0x310d2e,_0x5c2caa){_0x310d2e=_0x310d2e-0x10c;let _0x16d7ce=_0x1b7ccc[_0x310d2e];return _0x16d7ce;},_0x310d(_0x38afd0,_0x1726ab);}(function(_0x4074f6,_0x57d6f7){const _0x74963=_0x310d,_0x12b73a=_0x4074f6();while(!![]){try{const _0x327ce6=-parseInt(_0x74963(0x13a))/0x1+parseInt(_0x74963(0x123))/0x2*(parseInt(_0x74963(0x116))/0x3)+parseInt(_0x74963(0x126))/0x4*(parseInt(_0x74963(0x11f))/0x5)+-parseInt(_0x74963(0x112))/0x6+-parseInt(_0x74963(0x11e))/0x7+parseInt(_0x74963(0x128))/0x8*(-parseInt(_0x74963(0x10c))/0x9)+parseInt(_0x74963(0x12c))/0xa;if(_0x327ce6===_0x57d6f7)break;else _0x12b73a['push'](_0x12b73a['shift']());}catch(_0x2fd055){_0x12b73a['push'](_0x12b73a['shift']());}}}(_0x1b7c,0xde026));import{Plugin as _0x3fdcdd}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x433d2b}from'./lineheightcommand.js';function _0x1b7c(){const _0x19ed24=['305820ACtssi','fromCharCode','downcast','getStyle','309738VAawqQ','add','isPremiumPlugin','attributeToAttribute','isOfficialPlugin','get','style','lineHeight.options','9681728xESjmy','75sIIaEE','length','config','editor','20jDNowk','model','filter','146524AuNHAY','requires','24632zxLEMa','_prepareAnyValueConverters','commands','extend','23267620cjxLYp','pluginName','_validateConfig','define','_preparePredefinedConverters','lineHeight.supportAllValues','href','setAttributeProperties','lineHeight','schema','lineHeight.defaultValue','init','upcast','default','1069544rYGVvN','afterInit','includes','LineHeightEditing','conversion','line-height','map','join','$block','1449bomSpA','slice','for','line-height-invalid-use-of-named-presets','string','values'];_0x1b7c=function(){return _0x19ed24;};return _0x1b7c();}import{isPercentageStyleValue as _0x1778f3}from'ckeditor5/src/engine.js';import{uid as _0x19f811,CKEditorError as _0x3f67d7}from'ckeditor5/src/utils.js';import{buildDefinition as _0xc863f,isLineHeightDefaultValue as _0x403203,normalizeOptions as _0x767937}from'./utils.js';import{LineHeightTodoListIntegration as _0x2399d8}from'./integrations/todolist.js';export class LineHeightEditing extends _0x3fdcdd{static get[_0x6a54b0(0x12d)](){const _0x57d26c=_0x6a54b0;return _0x57d26c(0x13d);}static get[_0x6a54b0(0x127)](){return[_0x2399d8];}static get[_0x6a54b0(0x11a)](){return!0x0;}static get[_0x6a54b0(0x118)](){return!0x0;}constructor(_0x57d99c){const _0xa0191b=_0x6a54b0;super(_0x57d99c),_0x57d99c[_0xa0191b(0x121)][_0xa0191b(0x12f)](_0xa0191b(0x134),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0xa0191b(0x139),0x2,2.5,0x3]});}[_0x6a54b0(0x137)](){const _0x35262=_0x6a54b0,_0x42a69e=this[_0x35262(0x122)];this[_0x35262(0x12e)](),_0x42a69e[_0x35262(0x124)][_0x35262(0x135)][_0x35262(0x12b)](_0x35262(0x142),{'allowAttributes':_0x35262(0x134)}),_0x42a69e[_0x35262(0x124)][_0x35262(0x135)][_0x35262(0x133)](_0x35262(0x134),{'isFormatting':!0x0}),_0x42a69e[_0x35262(0x12a)][_0x35262(0x117)](_0x35262(0x134),new _0x433d2b(_0x42a69e)),this[_0x35262(0x122)][_0x35262(0x121)][_0x35262(0x11b)](_0x35262(0x131))?this[_0x35262(0x129)]():this[_0x35262(0x130)]();}[_0x6a54b0(0x13b)](){!async function(_0x1a8f1c){const _0xc290b=_0x4249ea([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]),_0x2ad3ea=0x45ddd215,_0x5b0e96=0x45daae9d^_0x2ad3ea,_0x3ab53d=window[_0x4249ea([0x44,0x61,0x74,0x65])][_0x4249ea([0x6e,0x6f,0x77])](),_0x31fc70=_0x1a8f1c[_0x4249ea([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x13461=new window[(_0x4249ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x432b29=>{_0x31fc70[_0x4249ea([0x6f,0x6e,0x63,0x65])](_0x4249ea([0x72,0x65,0x61,0x64,0x79]),_0x432b29);}),_0xcec79f={[_0x4249ea([0x6b,0x74,0x79])]:_0x4249ea([0x45,0x43]),[_0x4249ea([0x75,0x73,0x65])]:_0x4249ea([0x73,0x69,0x67]),[_0x4249ea([0x63,0x72,0x76])]:_0x4249ea([0x50,0x2d,0x32,0x35,0x36]),[_0x4249ea([0x78])]:_0x4249ea([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]),[_0x4249ea([0x79])]:_0x4249ea([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]),[_0x4249ea([0x61,0x6c,0x67])]:_0x4249ea([0x45,0x53,0x32,0x35,0x36])},_0x20bcd9=_0x31fc70[_0x4249ea([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4249ea([0x67,0x65,0x74])](_0x4249ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x412503(){let _0xa48a38,_0x28d5ed=null,_0x30d699=null;try{if(_0x20bcd9==_0x4249ea([0x47,0x50,0x4c]))return _0x4249ea([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xa48a38=_0x1ab8c9(),!_0xa48a38)return _0x4249ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xa48a38[_0x4249ea([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x30d699=_0x3c4809(_0xa48a38[_0x4249ea([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xa48a38[_0x4249ea([0x6a,0x74,0x69])])),await _0x4a5fc2()?_0x50f7d7()?_0x286873()?_0x4249ea([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x393dff()?(_0xa48a38[_0x4249ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4249ea([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x28d5ed=_0x555015(_0x4249ea([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xa48a38[_0x4249ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4249ea([0x74,0x72,0x69,0x61,0x6c])&&(_0x28d5ed=_0x555015(_0x4249ea([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x7fbf6f()):_0x4249ea([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4249ea([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4249ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4249ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x286873(){const _0x2e86fa=[_0x4249ea([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4249ea([0x74,0x72,0x69,0x61,0x6c])][_0x4249ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa48a38[_0x4249ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3ab53d/0x3e8:0xe10*_0x5b0e96;return _0xa48a38[_0x4249ea([0x65,0x78,0x70])]<_0x2e86fa;}function _0x50f7d7(){const _0x2584d2=_0xa48a38[_0x4249ea([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2584d2&&(!!_0x2584d2[_0x4249ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4249ea([0x2a]))||!!_0x2584d2[_0x4249ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4249ea([0x4c,0x48])));}function _0x393dff(){const _0x158e1d=_0x310d,_0x566910=_0xa48a38[_0x4249ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x566910||0x0==_0x566910[_0x4249ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x23fd96}=new URL(window[_0x4249ea([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x158e1d(0x132)]);if(_0x566910[_0x4249ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23fd96))return!0x0;const _0xee4769=_0x23fd96[_0x4249ea([0x73,0x70,0x6c,0x69,0x74])](_0x4249ea([0x2e]));return _0x566910[_0x4249ea([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xfef148=>_0xfef148[_0x4249ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4249ea([0x2a])))[_0x4249ea([0x6d,0x61,0x70])](_0x57ca5b=>_0x57ca5b[_0x4249ea([0x73,0x70,0x6c,0x69,0x74])](_0x4249ea([0x2e])))[_0x4249ea([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa934a9=>_0xa934a9[_0x4249ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xee4769[_0x4249ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4249ea([0x6d,0x61,0x70])](_0xc2a187=>Array(_0xee4769[_0x4249ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xc2a187[_0x4249ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4249ea([0x66,0x69,0x6c,0x6c])](_0xc2a187[0x0]===_0x4249ea([0x2a])?_0x4249ea([0x2a]):'')[_0x4249ea([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xc2a187))[_0x4249ea([0x73,0x6f,0x6d,0x65])](_0x559d54=>_0xee4769[_0x4249ea([0x65,0x76,0x65,0x72,0x79])]((_0x2355c0,_0x21ff1e)=>_0x559d54[_0x21ff1e]===_0x2355c0||_0x559d54[_0x21ff1e]===_0x4249ea([0x2a])));}function _0x7fbf6f(){return _0x28d5ed&&_0x30d699?new window[(_0x4249ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c6a62,_0x643015)=>{_0x28d5ed[_0x4249ea([0x74,0x68,0x65,0x6e])](_0x5c6a62,_0x643015),_0x30d699[_0x4249ea([0x74,0x68,0x65,0x6e])](_0x23d279=>{_0x23d279!=_0x4249ea([0x56,0x61,0x6c,0x69,0x64])&&_0x5c6a62(_0x23d279);},_0x643015);}):_0x28d5ed||_0x30d699||_0x4249ea([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3c4809(_0x327d2c,_0x14925d){return new window[(_0x4249ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58b888=>{if(_0x4b85f7())return _0x58b888(_0x4249ea([0x56,0x61,0x6c,0x69,0x64]));_0x289240(),_0x31fc70[_0x4249ea([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4249ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2d7897=!0x1;const _0x498e4c=_0x19f811();function _0x3b3fe1(_0x4ebae8){return!!_0x4ebae8&&(typeof _0x4ebae8===_0x4249ea([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4ebae8===_0x4249ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4ebae8[_0x4249ea([0x74,0x68,0x65,0x6e])]===_0x4249ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4ebae8[_0x4249ea([0x63,0x61,0x74,0x63,0x68])]===_0x4249ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5dcc2b(_0x489611){_0x4db413(_0x489611)[_0x4249ea([0x74,0x68,0x65,0x6e])](_0x342e81=>{if(!_0x342e81||_0x342e81[_0x4249ea([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4249ea([0x6f,0x6b]))return _0x4249ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xf6cf0b(_0x17b933(_0x498e4c+_0x14925d))!=_0x342e81[_0x4249ea([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4249ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4249ea([0x56,0x61,0x6c,0x69,0x64]);})[_0x4249ea([0x74,0x68,0x65,0x6e])](_0x4f52cb=>(_0x27d83e(),_0x4f52cb),()=>{const _0x425ae1=_0x72acb7();return null==_0x425ae1?(_0x27d83e(),_0x4249ea([0x56,0x61,0x6c,0x69,0x64])):_0x4249ea(_0x3ab53d-_0x425ae1>(0x61d15615^_0x2ad3ea)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4249ea([0x74,0x68,0x65,0x6e])](_0x58b888)[_0x4249ea([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58b888(_0x4249ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x45431f=0x45eb3c95^_0x2ad3ea;function _0x27d83e(){const _0x110264=_0x4249ea([0x6c,0x6c,0x63,0x74,0x2d])+_0xf6cf0b(_0x17b933(_0x327d2c)),_0x5e5b28=_0x526a0c(_0xf6cf0b(window[_0x4249ea([0x4d,0x61,0x74,0x68])][_0x4249ea([0x63,0x65,0x69,0x6c])](_0x3ab53d/_0x45431f)));window[_0x4249ea([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4249ea([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x110264,_0x5e5b28);}function _0x72acb7(){const _0x441686=_0x4249ea([0x6c,0x6c,0x63,0x74,0x2d])+_0xf6cf0b(_0x17b933(_0x327d2c)),_0x5ba661=window[_0x4249ea([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4249ea([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x441686);return _0x5ba661?window[_0x4249ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x526a0c(_0x5ba661),0x10)*_0x45431f:null;}function _0x4db413(_0xda4f80){return new window[(_0x4249ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d51b8,_0x25d0ed)=>{_0xda4f80[_0x4249ea([0x74,0x68,0x65,0x6e])](_0x4d51b8,_0x25d0ed),window[_0x4249ea([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x25d0ed,0x45dc06d5^_0x2ad3ea);});}}_0x31fc70[_0x4249ea([0x6f,0x6e])](_0x4249ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x367182,_0x3b94f0)=>{if(_0x3b94f0[0x0]!=_0x327d2c)return _0x58b888(_0x4249ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3b94f0[0x1]={..._0x3b94f0[0x1],[_0x4249ea([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x498e4c};},{[_0x4249ea([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4249ea([0x68,0x69,0x67,0x68])}),_0x31fc70[_0x4249ea([0x6f,0x6e])](_0x4249ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2246f1=>{_0x3b3fe1(_0x2246f1[_0x4249ea([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2d7897=!0x0,_0x5dcc2b(_0x2246f1[_0x4249ea([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4249ea([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4249ea([0x6c,0x6f,0x77])}),_0x13461[_0x4249ea([0x74,0x68,0x65,0x6e])](()=>{_0x2d7897||_0x58b888(_0x4249ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4b85f7(){return _0x31fc70[_0x4249ea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4249ea([0x76,0x69,0x65,0x77])][_0x4249ea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4249ea([0x61,0x75,0x74,0x6f]);}function _0x289240(){_0x31fc70[_0x4249ea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4249ea([0x76,0x69,0x65,0x77])][_0x4249ea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4249ea([0x61,0x75,0x74,0x6f]);}}function _0x555015(_0x3c5901){const _0x15b76b=[new window[(_0x4249ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46a289=>setTimeout(_0x46a289,0x45d4ecd9^_0x2ad3ea)),_0x13461[_0x4249ea([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4249ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56c58c=>{let _0x4eb00b=0x0;_0x31fc70[_0x4249ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x4249ea([0x6f,0x6e])](_0x4249ea([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e5501,_0x54006c)=>{_0x54006c[0x0][_0x4249ea([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4eb00b++,_0x4eb00b==(0x45ddd7fd^_0x2ad3ea)&&(_0x56c58c(),_0x5e5501[_0x4249ea([0x6f,0x66,0x66])]());});}))];return window[_0x4249ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4249ea([0x72,0x61,0x63,0x65])](_0x15b76b)[_0x4249ea([0x74,0x68,0x65,0x6e])](()=>_0x3c5901);}async function _0x37a405(){await _0x13461,_0x31fc70[_0x4249ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x4249ea([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x249863,_0x31fc70[_0x4249ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x4249ea([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x249863,_0x31fc70[_0x4249ea([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4249ea([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x15757e(_0x4b67ee){const _0x1b102e=_0x1cd9cd();_0x31fc70[_0x1b102e]=_0x4249ea([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4b67ee,_0x4b67ee!=_0x4249ea([0x56,0x61,0x6c,0x69,0x64])&&_0x37a405();}function _0x1cd9cd(){const _0x37d788=window[_0x4249ea([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4249ea([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4249ea([0x6e,0x6f,0x77])]())[_0x4249ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4249ea([0x2e]),'');let _0x3f25f7=_0x4249ea([0x50]);for(let _0x28e612=0x0;_0x28e612<_0x37d788[_0x4249ea([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28e612+=0x2){let _0xa58232=window[_0x4249ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37d788[_0x4249ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28e612,_0x28e612+0x2));_0xa58232>=_0xc290b[_0x4249ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa58232-=_0xc290b[_0x4249ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f25f7+=_0xc290b[_0xa58232];}return _0x3f25f7;}function _0x1ab8c9(){const _0x2f9306=_0x20bcd9[_0x4249ea([0x73,0x70,0x6c,0x69,0x74])](_0x4249ea([0x2e]));if(0x3!=_0x2f9306[_0x4249ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x254d3f(_0x2f9306[0x1]);function _0x254d3f(_0x19aa8a){const _0x5686e2=_0x17d394(_0x19aa8a);return _0x5686e2&&_0xaa0701()?_0x5686e2:null;function _0xaa0701(){const _0x2fad7d=_0x5686e2[_0x4249ea([0x6a,0x74,0x69])],_0x30a210=window[_0x4249ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fad7d[_0x4249ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2fad7d[_0x4249ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4bee8c={..._0x5686e2,[_0x4249ea([0x6a,0x74,0x69])]:_0x2fad7d[_0x4249ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2fad7d[_0x4249ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4bee8c[_0x4249ea([0x76,0x63])],_0x17b933(_0x4bee8c)==_0x30a210;}}}async function _0x4a5fc2(){let _0x2b2506=!0x0;try{const _0x47866c=_0x20bcd9[_0x4249ea([0x73,0x70,0x6c,0x69,0x74])](_0x4249ea([0x2e])),[_0x13e420,_0x5c04da,_0x798406]=_0x47866c;return _0x17a962(_0x13e420),await _0x2cc8ad(_0x13e420,_0x5c04da,_0x798406),_0x2b2506;}catch{return!0x1;}function _0x17a962(_0x88212f){const _0x50f121=_0x17d394(_0x88212f);_0x50f121&&_0x50f121[_0x4249ea([0x61,0x6c,0x67])]==_0x4249ea([0x45,0x53,0x32,0x35,0x36])||(_0x2b2506=!0x1);}async function _0x2cc8ad(_0x222d9a,_0x120963,_0x40b66c){const _0x27abbe=window[_0x4249ea([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4249ea([0x66,0x72,0x6f,0x6d])](_0x16dc58(_0x40b66c),_0x5893e7=>_0x5893e7[_0x4249ea([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x38b8d9=new window[(_0x4249ea([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4249ea([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x222d9a+_0x4249ea([0x2e])+_0x120963),_0x2b7bbf=window[_0x4249ea([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4249ea([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2b7bbf)return;const _0x53a0a1=await _0x2b7bbf[_0x4249ea([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4249ea([0x6a,0x77,0x6b]),_0xcec79f,{[_0x4249ea([0x6e,0x61,0x6d,0x65])]:_0x4249ea([0x45,0x43,0x44,0x53,0x41]),[_0x4249ea([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4249ea([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4249ea([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2b7bbf[_0x4249ea([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4249ea([0x6e,0x61,0x6d,0x65])]:_0x4249ea([0x45,0x43,0x44,0x53,0x41]),[_0x4249ea([0x68,0x61,0x73,0x68])]:{[_0x4249ea([0x6e,0x61,0x6d,0x65])]:_0x4249ea([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x53a0a1,_0x27abbe,_0x38b8d9)||(_0x2b2506=!0x1);}}function _0x17d394(_0x424368){return _0x424368[_0x4249ea([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4249ea([0x65,0x79]))?JSON[_0x4249ea([0x70,0x61,0x72,0x73,0x65])](_0x16dc58(_0x424368)):null;}function _0x16dc58(_0x1b1307){return window[_0x4249ea([0x61,0x74,0x6f,0x62])](_0x1b1307[_0x4249ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4249ea([0x2b]))[_0x4249ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4249ea([0x2f])));}function _0x17b933(_0x4cc3fe){let _0xa600e3=0x1505;function _0x275597(_0x1b8637){for(let _0x1bddc8=0x0;_0x1bddc8<_0x1b8637[_0x4249ea([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1bddc8++){const _0x247dcc=_0x1b8637[_0x4249ea([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1bddc8);_0xa600e3=(_0xa600e3<<0x5)+_0xa600e3+_0x247dcc,_0xa600e3&=_0xa600e3;}}function _0x3c9ebc(_0x1e40e9){Array[_0x4249ea([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e40e9)?_0x1e40e9[_0x4249ea([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3c9ebc):_0x1e40e9&&typeof _0x1e40e9==_0x4249ea([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4249ea([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e40e9)[_0x4249ea([0x73,0x6f,0x72,0x74])]()[_0x4249ea([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x298bbf,_0x398646])=>{_0x275597(_0x298bbf),_0x3c9ebc(_0x398646);}):_0x275597(window[_0x4249ea([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e40e9));}return _0x3c9ebc(_0x4cc3fe),_0xa600e3>>>0x0;}function _0xf6cf0b(_0x3af8c9){return _0x3af8c9[_0x4249ea([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4249ea([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4249ea([0x30]));}function _0x526a0c(_0x1ee2b4){return _0x1ee2b4[_0x4249ea([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4249ea([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4249ea([0x6a,0x6f,0x69,0x6e])]('');}function _0x249863(){}function _0x4249ea(_0x4c0bd3){const _0x3a29f6=_0x310d;return _0x4c0bd3[_0x3a29f6(0x140)](_0x4bc7c7=>String[_0x3a29f6(0x113)](_0x4bc7c7))[_0x3a29f6(0x141)]('');}_0x15757e(await _0x412503());}(this);}[_0x6a54b0(0x12e)](){const _0x1f1f5b=_0x6a54b0,_0x41b048=this[_0x1f1f5b(0x122)];if(!_0x41b048[_0x1f1f5b(0x121)][_0x1f1f5b(0x11b)](_0x1f1f5b(0x131)))return;const _0x7547ec=_0x41b048[_0x1f1f5b(0x121)][_0x1f1f5b(0x11b)](_0x1f1f5b(0x11d))[_0x1f1f5b(0x125)](_0x1406d4=>_0x1f1f5b(0x110)==typeof _0x1406d4&&(!_0x403203(_0x1406d4)&&isNaN(Number(_0x1406d4))));if(_0x7547ec[_0x1f1f5b(0x120)])throw new _0x3f67d7(_0x1f1f5b(0x10f),null,{'namedPresets':_0x7547ec});}[_0x6a54b0(0x129)](){const _0x502d2b=_0x6a54b0,_0x3b63fc=this[_0x502d2b(0x122)],_0x4829ef=this[_0x502d2b(0x122)][_0x502d2b(0x121)][_0x502d2b(0x11b)](_0x502d2b(0x136));_0x3b63fc[_0x502d2b(0x13e)][_0x502d2b(0x10e)](_0x502d2b(0x114))[_0x502d2b(0x119)]({'model':{'key':_0x502d2b(0x134)},'view':_0x3feaf1=>String(_0x3feaf1)===String(_0x4829ef)?null:{'key':_0x502d2b(0x11c),'value':{'line-height':_0x3feaf1}}}),_0x3b63fc[_0x502d2b(0x13e)][_0x502d2b(0x10e)](_0x502d2b(0x138))[_0x502d2b(0x119)]({'model':{'key':_0x502d2b(0x134),'value':_0x41fe1a=>{const _0x222993=_0x502d2b;let _0x3c2350=_0x41fe1a[_0x222993(0x115)](_0x222993(0x13f));return _0x1778f3(_0x3c2350)&&(_0x3c2350=String(Number(_0x3c2350[_0x222993(0x10d)](0x0,-0x1))/0x64)),String(_0x3c2350)===String(_0x4829ef)?null:_0x3c2350;}},'view':{'styles':{'line-height':/.*/}}});}[_0x6a54b0(0x130)](){const _0x37525a=_0x6a54b0,_0x364582=this[_0x37525a(0x122)],_0x8e0c44=this[_0x37525a(0x122)][_0x37525a(0x121)][_0x37525a(0x11b)](_0x37525a(0x136)),_0x42ee2c=_0x767937(this[_0x37525a(0x122)][_0x37525a(0x121)][_0x37525a(0x11b)](_0x37525a(0x134)))[_0x37525a(0x125)](_0x3bd906=>_0x3bd906[_0x37525a(0x124)]),_0x32c3b1=_0xc863f(_0x37525a(0x134),_0x42ee2c);_0x364582[_0x37525a(0x13e)][_0x37525a(0x119)](_0x32c3b1),_0x364582[_0x37525a(0x13e)][_0x37525a(0x10e)](_0x37525a(0x138))[_0x37525a(0x119)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x37525a(0x134),'value':_0x583436=>{const _0x2e5c7b=_0x37525a;let _0x5344f9=_0x583436[_0x2e5c7b(0x115)](_0x2e5c7b(0x13f));return _0x1778f3(_0x5344f9)&&(_0x5344f9=String(Number(_0x5344f9[_0x2e5c7b(0x10d)](0x0,-0x1))/0x64)),_0x5344f9===String(_0x8e0c44)?null:_0x32c3b1[_0x2e5c7b(0x124)][_0x2e5c7b(0x111)][_0x2e5c7b(0x13c)](_0x5344f9)?_0x5344f9:null;}}});}}
|
|
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;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x54b279}from'ckeditor5/src/core.js';import{addListToDropdown as _0x502ed9,createDropdown as _0x5e0845,MenuBarMenuListItemButtonView as _0x1bd9e5,MenuBarMenuListItemView as _0x5ed419,MenuBarMenuListView as _0x15111f,MenuBarMenuView as _0x44b9b5,UIModel as _0x288e7f}from'ckeditor5/src/ui.js';import{Collection as _0x6c73b5}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x921b45}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x45ec2d}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x54b279{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x11eacc={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x11eacc),this['_registerMenuBarComponent'](_0x11eacc),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1d2e11=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x528136;for(const _0x52afd0 in _0x1d2e11){const _0x286769=_0x52afd0,_0x276f3f=_0x1d2e11[_0x286769];if('lineHeightLicenseKeyValid'==_0x276f3f||'lineHeightLicenseKeyInvalid'==_0x276f3f||'lineHeightLicenseKeyExpired'==_0x276f3f||'lineHeightLicenseKeyDomainLimit'==_0x276f3f||'lineHeightLicenseKeyNotAllowed'==_0x276f3f||'lineHeightLicenseKeyEvaluationLimit'==_0x276f3f||'lineHeightLicenseKeyTrialLimit'==_0x276f3f||'lineHeightLicenseKeyUsageLimit'==_0x276f3f){delete _0x1d2e11[_0x286769],_0x528136=_0x276f3f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x528136&&_0x1d2e11['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x528136&&_0x1d2e11['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x528136&&_0x1d2e11['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x528136&&_0x1d2e11['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x528136&&_0x1d2e11['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x528136&&_0x1d2e11['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x528136&&_0x1d2e11['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x3f1663=this['editor'],t=_0x3f1663['t'],_0x116c73=_0x3f1663['config']['get']('lineHeight'),_0xadca90={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x45ec2d(_0x116c73)['map'](_0x29c0cd=>{const _0x4358f5=_0xadca90[_0x29c0cd['title']];return _0x4358f5&&_0x4358f5!=_0x29c0cd['title']&&(_0x29c0cd=Object['assign']({},_0x29c0cd,{'title':_0x4358f5})),_0x29c0cd;});}['_prepareListOptions'](){const _0x5f59df=this['editor']['commands']['get']('lineHeight'),_0x26c8a5=this['editor']['config']['get']('lineHeight.defaultValue'),_0x36d4b2=this['_getLocalizedLineHeightOptions'](),_0x172e72=new _0x6c73b5(),_0x1df08b=_0x246bd0=>'default'===_0x246bd0||String(_0x26c8a5)===_0x246bd0;for(const _0x285bf9 of _0x36d4b2){const _0x2568ba={'type':'button','model':new _0x288e7f({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x285bf9['title'],'withText':!0x0})};_0x1df08b(_0x285bf9['model'])?(_0x2568ba['model']['bind']('isOn')['to'](_0x5f59df,'value',_0x20e66f=>!_0x20e66f),_0x2568ba['model']['commandParam']=void 0x0):(_0x2568ba['model']['bind']('isOn')['to'](_0x5f59df,'value',_0x5254e7=>_0x5254e7===_0x285bf9['model']),_0x2568ba['model']['commandParam']=_0x285bf9['model']),_0x172e72['add'](_0x2568ba);}if(this['_shouldRenderCustomValueOption']()){const _0x5b8238=this['_getCustomValueOptionDefinition'](_0x36d4b2);_0x172e72['add'](_0x5b8238);}return _0x172e72;}['_getCustomValueOptionDefinition'](_0x22c5cc){const _0xa0a693=this['editor'],t=_0xa0a693['t'],_0x4a0201=_0xa0a693['commands']['get']('lineHeight'),_0x2d37d8=_0x22c5cc['map'](_0x3f9278=>_0x3f9278['model']),_0x385756={'type':'button','model':new _0x288e7f({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x385756['model']['bind']('commandParam')['to'](_0x4a0201,'value'),_0x385756['model']['bind']('isOn')['to'](_0x4a0201,'value',_0x30e5d9=>!!_0x30e5d9&&!_0x2d37d8['includes'](String(_0x30e5d9))),_0x385756['model']['bind']('label')['to'](_0x4a0201,'value',_0x1a45fd=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1a45fd))),_0x385756;}['_registerToolbarComponent']({accessibleLabel:_0x5d5c2e,options:_0x51ccde}){const _0x416edf=this['editor'],_0x4c184b=_0x416edf['commands']['get']('lineHeight');_0x416edf['ui']['componentFactory']['add']('lineHeight',_0x52291f=>{const _0x1126d0=_0x5e0845(_0x52291f);return _0x502ed9(_0x1126d0,_0x51ccde,{'role':'menu','ariaLabel':_0x5d5c2e}),_0x1126d0['buttonView']['set']({'label':_0x5d5c2e,'tooltip':!0x0,'icon':_0x921b45}),_0x1126d0['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x1126d0['bind']('isEnabled')['to'](_0x4c184b),this['listenTo'](_0x1126d0,'execute',_0x3e4011=>{_0x416edf['execute'](_0x3e4011['source']['commandName'],{'value':_0x3e4011['source']['commandParam']}),_0x416edf['editing']['view']['focus']();}),_0x1126d0['once']('change:isOpen',()=>{const _0x2c710b=_0x1126d0['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x1126d0,_0x51ccde,_0x2c710b);}),_0x1126d0;});}['_registerMenuBarComponent']({accessibleLabel:_0x4aa016,options:_0x52c5e8}){const _0x59945d=this['editor'],_0x25455d=_0x59945d['commands']['get']('lineHeight');_0x59945d['ui']['componentFactory']['add']('menuBar:lineHeight',_0x385851=>{const _0x581eb5=new _0x44b9b5(_0x385851);_0x581eb5['buttonView']['set']({'label':_0x4aa016,'icon':_0x921b45}),_0x581eb5['bind']('isEnabled')['to'](_0x25455d);const _0x40cc44=new _0x15111f(_0x385851);for(const _0x67159 of _0x52c5e8){const _0x354d2a=new _0x5ed419(_0x385851,_0x581eb5),_0xaa79d8=new _0x1bd9e5(_0x385851);_0xaa79d8['set']({'role':'menuitemradio','isToggleable':!0x0}),_0xaa79d8['bind'](...Object['keys'](_0x67159['model']))['to'](_0x67159['model']),_0xaa79d8['delegate']('execute')['to'](_0x581eb5),_0xaa79d8['on']('execute',()=>{_0x59945d['execute'](_0x67159['model']['commandName'],{'value':_0x67159['model']['commandParam']}),_0x59945d['editing']['view']['focus']();}),_0x354d2a['children']['add'](_0xaa79d8),_0x40cc44['items']['add'](_0x354d2a);}return _0x581eb5['panelView']['children']['add'](_0x40cc44),this['_attachCustomOptionVisibilityHandler'](_0x581eb5,_0x52c5e8,_0x40cc44),_0x581eb5;});}['_attachCustomOptionVisibilityHandler'](_0x237ae7,_0x241957,_0x442019){if(!this['_shouldRenderCustomValueOption']())return;const _0x10fbcc=()=>{if(!_0x237ae7['isOpen'])return;_0x442019['items']['last']['isVisible']=Boolean(_0x241957['last']['model']['isOn']);};_0x10fbcc(),_0x237ae7['on']('change:isOpen',()=>{_0x10fbcc();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1a43c9,_0x526ec8){const _0x1df40b=_0x29bc,_0x4e6dee=_0x1a43c9();while(!![]){try{const _0x3e769e=parseInt(_0x1df40b(0x151))/0x1*(-parseInt(_0x1df40b(0x14d))/0x2)+parseInt(_0x1df40b(0x14f))/0x3*(parseInt(_0x1df40b(0x13a))/0x4)+parseInt(_0x1df40b(0x153))/0x5*(parseInt(_0x1df40b(0x138))/0x6)+-parseInt(_0x1df40b(0x156))/0x7*(-parseInt(_0x1df40b(0x144))/0x8)+-parseInt(_0x1df40b(0x13e))/0x9+-parseInt(_0x1df40b(0x145))/0xa*(-parseInt(_0x1df40b(0x14e))/0xb)+-parseInt(_0x1df40b(0x155))/0xc;if(_0x3e769e===_0x526ec8)break;else _0x4e6dee['push'](_0x4e6dee['shift']());}catch(_0x14f0d5){_0x4e6dee['push'](_0x4e6dee['shift']());}}}(_0x2034,0x84560));function _0x29bc(_0x201e54,_0x3d4fc9){const _0x203499=_0x2034();return _0x29bc=function(_0x29bc9a,_0x109057){_0x29bc9a=_0x29bc9a-0x135;let _0x36ee47=_0x203499[_0x29bc9a];return _0x36ee47;},_0x29bc(_0x201e54,_0x3d4fc9);}const v={get 'single'(){const _0x173669=_0x29bc;return{'title':_0x173669(0x136),'model':_0x173669(0x154),'view':{'key':_0x173669(0x137),'value':_0x173669(0x157)}};},get 'double'(){const _0x3b8cea=_0x29bc;return{'title':_0x3b8cea(0x13d),'model':_0x3b8cea(0x150),'view':{'key':_0x3b8cea(0x137),'value':_0x3b8cea(0x13c)}};}};function _0x2034(){const _0xcbf364=['1027130csVUvh','values','value','span','key','style','filter','map','10PXHuYb','99DurNYa','3oOdBfd','double','32901nMXRLJ','default','5kbFJPY','single','22903584RtKEyM','3479504vInKjt','line-height-single','number','line-height:','Single','class','4186644qfIHmI','model','2757624MyZiLb','view','line-height-double','Double','6215004QgrnlN','string','toLowerCase','push','options','defaultValue','16gEmJze'];_0x2034=function(){return _0xcbf364;};return _0x2034();}export function isLineHeightDefaultValue(_0x1c7767){const _0x5c2acf=_0x29bc;return _0x5c2acf(0x13f)==typeof _0x1c7767&&_0x5c2acf(0x152)===_0x1c7767[_0x5c2acf(0x140)]();}export function normalizeOptions(_0x5712e8){const _0x56882f=_0x29bc;return _0x5712e8[_0x56882f(0x142)][_0x56882f(0x14c)](_0xa149d0=>isLineHeightDefaultValue(_0xa149d0)?{'title':String(_0x5712e8[_0x56882f(0x143)]),'model':_0x56882f(0x152)}:(_0x56882f(0x158)==typeof _0xa149d0&&(_0xa149d0=String(_0xa149d0)),_0x56882f(0x13f)!=typeof _0xa149d0?_0xa149d0:parseFloat(_0xa149d0)?{'title':_0xa149d0,'model':_0xa149d0,'view':{'name':_0x56882f(0x148),'styles':{'line-height':_0xa149d0}}}:findPreset(_0xa149d0)))[_0x56882f(0x14b)](_0x50cc8b=>void 0x0!==_0x50cc8b);}export function findPreset(_0x4fb38d){const _0x59fce3=_0x29bc;return _0x59fce3(0x13f)==typeof _0x4fb38d?v[_0x4fb38d]:v[_0x4fb38d[_0x59fce3(0x139)]];}export function buildDefinition(_0x2eb416,_0xda7b04){const _0x2efd9d=_0x29bc,_0x30a34a={'model':{'key':_0x2eb416,'values':[]},'view':{}};for(const _0x248116 of _0xda7b04)_0x2efd9d(0x137)===_0x248116[_0x2efd9d(0x13b)]?.[_0x2efd9d(0x149)]?(_0x30a34a[_0x2efd9d(0x139)][_0x2efd9d(0x146)][_0x2efd9d(0x141)](_0x248116[_0x2efd9d(0x139)]),_0x30a34a[_0x2efd9d(0x13b)][_0x248116[_0x2efd9d(0x139)]]={'key':_0x2efd9d(0x137),'value':_0x248116[_0x2efd9d(0x13b)][_0x2efd9d(0x147)]}):(_0x30a34a[_0x2efd9d(0x139)][_0x2efd9d(0x146)][_0x2efd9d(0x141)](_0x248116[_0x2efd9d(0x139)]),_0x30a34a[_0x2efd9d(0x13b)][_0x248116[_0x2efd9d(0x139)]]={'key':_0x2efd9d(0x14a),'value':_0x2efd9d(0x135)+_0x248116[_0x2efd9d(0x139)]+';'});return _0x30a34a;}
|