@ckeditor/ckeditor5-line-height 47.7.3 → 47.7.4
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 _0x330718=_0x338c;(function(_0x108559,_0x44c257){const _0x219aad=_0x338c,_0x2a1f74=_0x108559();while(!![]){try{const _0x78d203=parseInt(_0x219aad(0x131))/0x1+-parseInt(_0x219aad(0x136))/0x2*(parseInt(_0x219aad(0x133))/0x3)+-parseInt(_0x219aad(0x11c))/0x4*(-parseInt(_0x219aad(0x134))/0x5)+parseInt(_0x219aad(0x112))/0x6*(-parseInt(_0x219aad(0x12f))/0x7)+parseInt(_0x219aad(0x124))/0x8*(parseInt(_0x219aad(0x125))/0x9)+parseInt(_0x219aad(0x12e))/0xa*(-parseInt(_0x219aad(0x10f))/0xb)+parseInt(_0x219aad(0x11b))/0xc;if(_0x78d203===_0x44c257)break;else _0x2a1f74['push'](_0x2a1f74['shift']());}catch(_0x16cdf8){_0x2a1f74['push'](_0x2a1f74['shift']());}}}(_0x7526,0xefae1));import{Plugin as _0x1d5e27}from'ckeditor5/src/core.js';import{Matcher as _0x553cdd}from'ckeditor5/src/engine.js';function _0x7526(){const _0x3a1bfc=['556564NOCGjS','for','viewItem','addClass','ck-list-marker-line-height','high','get','item','128nCgbFX','45459rXHETz','has','ListEditing','todo','paragraph','upcast','isPremiumPlugin','name','match','10ATiAlE','51814zppBLk','span','1569210hkAahB','element:li','66cAxohl','65bIZBZB','init','155082aaPJVE','TodoListEditing','editor','--ck-content-list-marker-line-height','listType','isOfficialPlugin','LineHeightTodoListIntegration','21490337sWuHgL','consumable','consume','1542DRCzRi','todo-list__label__description','pluginName','registerDowncastStrategy','setStyle','getAttribute','lineHeight','elementToElement','add','37017036YEWbUc'];_0x7526=function(){return _0x3a1bfc;};return _0x7526();}function _0x338c(_0x187c3e,_0x2a9085){const _0x752646=_0x7526();return _0x338c=function(_0x338c24,_0x1597af){_0x338c24=_0x338c24-0x10d;let _0xf8b0a9=_0x752646[_0x338c24];return _0xf8b0a9;},_0x338c(_0x187c3e,_0x2a9085);}import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x1d5e27{static get[_0x330718(0x114)](){const _0x54b787=_0x330718;return _0x54b787(0x10e);}static get[_0x330718(0x10d)](){return!0x0;}static get[_0x330718(0x12b)](){return!0x0;}[_0x330718(0x135)](){const _0x5967a9=_0x330718,{plugins:_0xbda75b,conversion:_0xd171c}=this[_0x5967a9(0x138)];if(!_0xbda75b[_0x5967a9(0x126)](_0x5967a9(0x127))||!_0xbda75b[_0x5967a9(0x126)](_0x5967a9(0x137)))return;_0xbda75b[_0x5967a9(0x122)](_0x5967a9(0x127))[_0x5967a9(0x115)]({'scope':_0x5967a9(0x123),'attributeName':_0x5967a9(0x118),'consume':!0x1,'setAttributeOnDowncast'(_0x21b00c,_0x40fb4e,_0x1b63da,_0xcb8f70,_0x2e592b){const _0x4f8884=_0x5967a9;_0x4f8884(0x128)==_0x2e592b[_0x4f8884(0x117)](_0x4f8884(0x13a))&&_0x40fb4e&&(_0x21b00c[_0x4f8884(0x11f)](_0x4f8884(0x120),_0x1b63da),_0x21b00c[_0x4f8884(0x116)](_0x4f8884(0x139),_0x40fb4e,_0x1b63da));}}),_0xd171c[_0x5967a9(0x11d)](_0x5967a9(0x12a))[_0x5967a9(0x119)]({'view':{'name':_0x5967a9(0x130),'classes':_0x5967a9(0x113)},'model':_0x5967a9(0x129),'converterPriority':_0x5967a9(0x121)}),_0xd171c[_0x5967a9(0x11d)](_0x5967a9(0x12a))[_0x5967a9(0x11a)](_0xff06bd=>{const _0x3472db=_0x5967a9;_0xff06bd['on'](_0x3472db(0x132),function(_0x58650c){const _0x325dad=new _0x553cdd(_0x58650c);return(_0x365eb8,_0x5105fa,_0x53ca9f)=>{const _0x5d93c0=_0x338c,_0x4699f6=_0x325dad[_0x5d93c0(0x12d)](_0x5105fa[_0x5d93c0(0x11e)]);if(!_0x4699f6)return;const _0x705c77=_0x4699f6[_0x5d93c0(0x12d)];_0x705c77[_0x5d93c0(0x12c)]=!0x1,_0x53ca9f[_0x5d93c0(0x110)][_0x5d93c0(0x111)](_0x5105fa[_0x5d93c0(0x11e)],_0x705c77);};}({'name':'li','classes':_0x3472db(0x120),'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 _0x8b3ddc=_0x541c;(function(_0x399a0e,_0x35dfd6){var _0x347f5b=_0x541c,_0x3a6656=_0x399a0e();while(!![]){try{var _0x2a45b6=-parseInt(_0x347f5b(0xb6))/0x1*(parseInt(_0x347f5b(0xad))/0x2)+parseInt(_0x347f5b(0xac))/0x3*(-parseInt(_0x347f5b(0xb9))/0x4)+-parseInt(_0x347f5b(0xbd))/0x5*(-parseInt(_0x347f5b(0xba))/0x6)+-parseInt(_0x347f5b(0xaf))/0x7*(parseInt(_0x347f5b(0xb1))/0x8)+parseInt(_0x347f5b(0xae))/0x9*(-parseInt(_0x347f5b(0xbc))/0xa)+-parseInt(_0x347f5b(0xb2))/0xb+parseInt(_0x347f5b(0xb3))/0xc*(parseInt(_0x347f5b(0xbb))/0xd);if(_0x2a45b6===_0x35dfd6)break;else _0x3a6656['push'](_0x3a6656['shift']());}catch(_0x5349a9){_0x3a6656['push'](_0x3a6656['shift']());}}}(_0x2d4d,0x5fd3f));import{Plugin as _0x29a90a}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x578474}from'./lineheightediting.js';import{LineHeightUI as _0x55d8c2}from'./lineheightui.js';function _0x541c(_0x428767,_0xc39567){var _0x2d4d9b=_0x2d4d();return _0x541c=function(_0x541ca0,_0x5f00b1){_0x541ca0=_0x541ca0-0xac;var _0x301737=_0x2d4d9b[_0x541ca0];return _0x301737;},_0x541c(_0x428767,_0xc39567);}function _0x2d4d(){var _0x299942=['949170ypSJGd','6MqsPTe','460898BHQlQO','1017pbWHOF','315niGwcH','isPremiumPlugin','60832tZBNSV','609873yoHfWf','24xYlBDt','LineHeight','pluginName','1dOYnWr','requires','isOfficialPlugin','1460656eocIrL','18vxzGNk','10619362CAKZMO','40030saHBzq'];_0x2d4d=function(){return _0x299942;};return _0x2d4d();}export class LineHeight extends _0x29a90a{static get[_0x8b3ddc(0xb7)](){return[_0x578474,_0x55d8c2];}static get[_0x8b3ddc(0xb5)](){var _0x3db3f9=_0x8b3ddc;return _0x3db3f9(0xb4);}static get[_0x8b3ddc(0xb8)](){return!0x0;}static get[_0x8b3ddc(0xb0)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4bf6(_0xd127e7,_0x1b9980){const _0x30ab1e=_0x30ab();return _0x4bf6=function(_0x4bf602,_0x4fcbcf){_0x4bf602=_0x4bf602-0x113;let _0x4a2e0c=_0x30ab1e[_0x4bf602];return _0x4a2e0c;},_0x4bf6(_0xd127e7,_0x1b9980);}const _0x5156dc=_0x4bf6;function _0x30ab(){const _0x5bd0c=['_canHaveLineHeight','731744arkzIH','204HqJZOJ','130UvdSnb','9BhtVZu','35098CsRviY','1078960iobYYd','68252zUgNUw','getSelectedBlocks','change','document','160932llLzzF','editor','filter','refresh','44WgZQlM','removeAttribute','13ScFRXE','isEnabled','schema','execute','9wtgIYG','selection','from','setAttribute','value','400460bEqGni','54916jWzQDZ','checkAttribute','lineHeight','getAttribute','model'];_0x30ab=function(){return _0x5bd0c;};return _0x30ab();}(function(_0x228c38,_0x5bf1a7){const _0x113c8f=_0x4bf6,_0x4f004f=_0x228c38();while(!![]){try{const _0x1aa08f=parseInt(_0x113c8f(0x126))/0x1*(-parseInt(_0x113c8f(0x11c))/0x2)+parseInt(_0x113c8f(0x119))/0x3*(-parseInt(_0x113c8f(0x130))/0x4)+parseInt(_0x113c8f(0x11b))/0x5+parseInt(_0x113c8f(0x117))/0x6*(parseInt(_0x113c8f(0x11a))/0x7)+-parseInt(_0x113c8f(0x116))/0x8*(-parseInt(_0x113c8f(0x12a))/0x9)+-parseInt(_0x113c8f(0x12f))/0xa*(-parseInt(_0x113c8f(0x124))/0xb)+parseInt(_0x113c8f(0x120))/0xc*(parseInt(_0x113c8f(0x118))/0xd);if(_0x1aa08f===_0x5bf1a7)break;else _0x4f004f['push'](_0x4f004f['shift']());}catch(_0x384c15){_0x4f004f['push'](_0x4f004f['shift']());}}}(_0x30ab,0x461e5));import{Command as _0x221962}from'ckeditor5/src/core.js';import{first as _0x507a70}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x221962{[_0x5156dc(0x123)](){const _0x18f8d6=_0x5156dc,_0x259dcc=this[_0x18f8d6(0x121)][_0x18f8d6(0x114)][_0x18f8d6(0x11f)],_0x438bd2=_0x507a70(_0x259dcc[_0x18f8d6(0x12b)][_0x18f8d6(0x11d)]());this[_0x18f8d6(0x127)]=Boolean(_0x438bd2)&&this[_0x18f8d6(0x115)](_0x438bd2),this[_0x18f8d6(0x12e)]=this[_0x18f8d6(0x127)]&&_0x438bd2[_0x18f8d6(0x113)](_0x18f8d6(0x132));}[_0x5156dc(0x129)](_0x38e3e2={}){const _0x97fc06=_0x5156dc,_0x2a7c67=this[_0x97fc06(0x121)][_0x97fc06(0x114)],_0x1f7966=_0x2a7c67[_0x97fc06(0x11f)][_0x97fc06(0x12b)],_0x5d0817=_0x38e3e2[_0x97fc06(0x12e)];_0x2a7c67[_0x97fc06(0x11e)](_0x2d46ef=>{const _0x55a359=_0x97fc06,_0x12a163=Array[_0x55a359(0x12c)](_0x1f7966[_0x55a359(0x11d)]())[_0x55a359(0x122)](_0x2c685f=>this[_0x55a359(0x115)](_0x2c685f));for(const _0x34ca7a of _0x12a163)_0x5d0817?_0x2d46ef[_0x55a359(0x12d)](_0x55a359(0x132),_0x5d0817,_0x34ca7a):_0x2d46ef[_0x55a359(0x125)](_0x55a359(0x132),_0x34ca7a);});}[_0x5156dc(0x115)](_0x1361d8){const _0x3c0d81=_0x5156dc;return this[_0x3c0d81(0x121)][_0x3c0d81(0x114)][_0x3c0d81(0x128)][_0x3c0d81(0x131)](_0x1361d8,_0x3c0d81(0x132));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x15adbb=_0x20ba;(function(_0x558fc4,_0x15786e){const _0x38d724=_0x20ba,_0x261fbe=_0x558fc4();while(!![]){try{const _0x57248a=-parseInt(_0x38d724(0x6e))/0x1+parseInt(_0x38d724(0x8e))/0x2*(parseInt(_0x38d724(0x77))/0x3)+-parseInt(_0x38d724(0x86))/0x4+-parseInt(_0x38d724(0x80))/0x5+-parseInt(_0x38d724(0x6b))/0x6+parseInt(_0x38d724(0x70))/0x7+-parseInt(_0x38d724(0x83))/0x8*(-parseInt(_0x38d724(0x92))/0x9);if(_0x57248a===_0x15786e)break;else _0x261fbe['push'](_0x261fbe['shift']());}catch(_0x13bb9c){_0x261fbe['push'](_0x261fbe['shift']());}}}(_0x2ce9,0xbcccd));import{Plugin as _0x69e80a}from'ckeditor5/src/core.js';function _0x20ba(_0x51f0d4,_0x38e812){const _0x2ce929=_0x2ce9();return _0x20ba=function(_0x20ba0c,_0x3d3e4f){_0x20ba0c=_0x20ba0c-0x65;let _0x55e79b=_0x2ce929[_0x20ba0c];return _0x55e79b;},_0x20ba(_0x51f0d4,_0x38e812);}import{LineHeightCommand as _0x4ceeb4}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x15b7e2}from'ckeditor5/src/engine.js';import{uid as _0x55e9e8,CKEditorError as _0x16dcfa}from'ckeditor5/src/utils.js';import{buildDefinition as _0x390d2b,isLineHeightDefaultValue as _0x5ceb44,normalizeOptions as _0xcd38e6}from'./utils.js';import{LineHeightTodoListIntegration as _0x4dd835}from'./integrations/todolist.js';function _0x2ce9(){const _0x8e5496=['8pAAmTR','model','extend','4847972mNkLtE','lineHeight','for','lineHeight.supportAllValues','map','lineHeight.options','commands','conversion','1379882LjClnv','upcast','line-height','get','18391932xzzPpm','default','requires','_preparePredefinedConverters','init','length','afterInit','includes','slice','_validateConfig','isOfficialPlugin','editor','line-height-invalid-use-of-named-presets','fromCharCode','pluginName','3902484RwFuxS','LineHeightEditing','define','1439722mzeVKi','schema','10322718JYKsHa','values','lineHeight.defaultValue','isPremiumPlugin','string','config','getStyle','3wiVtnv','$block','style','attributeToAttribute','filter','add','href','setAttributeProperties','downcast','663545qwFPwR','_prepareAnyValueConverters','join'];_0x2ce9=function(){return _0x8e5496;};return _0x2ce9();}export class LineHeightEditing extends _0x69e80a{static get[_0x15adbb(0x6a)](){const _0x2e0cb5=_0x15adbb;return _0x2e0cb5(0x6c);}static get[_0x15adbb(0x94)](){return[_0x4dd835];}static get[_0x15adbb(0x66)](){return!0x0;}static get[_0x15adbb(0x73)](){return!0x0;}constructor(_0x1cc1d6){const _0x28a110=_0x15adbb;super(_0x1cc1d6),_0x1cc1d6[_0x28a110(0x75)][_0x28a110(0x6d)](_0x28a110(0x87),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x28a110(0x93),0x2,2.5,0x3]});}[_0x15adbb(0x96)](){const _0x518376=_0x15adbb,_0x5be93a=this[_0x518376(0x67)];this[_0x518376(0x65)](),_0x5be93a[_0x518376(0x84)][_0x518376(0x6f)][_0x518376(0x85)](_0x518376(0x78),{'allowAttributes':_0x518376(0x87)}),_0x5be93a[_0x518376(0x84)][_0x518376(0x6f)][_0x518376(0x7e)](_0x518376(0x87),{'isFormatting':!0x0}),_0x5be93a[_0x518376(0x8c)][_0x518376(0x7c)](_0x518376(0x87),new _0x4ceeb4(_0x5be93a)),this[_0x518376(0x67)][_0x518376(0x75)][_0x518376(0x91)](_0x518376(0x89))?this[_0x518376(0x81)]():this[_0x518376(0x95)]();}[_0x15adbb(0x98)](){!async function(_0x8419ef){const _0x5b75dc=_0x3e1494([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]),_0x18bd93=0x45ddd215,_0x5a989f=0x45da5dd5^_0x18bd93,_0x45deac=window[_0x3e1494([0x44,0x61,0x74,0x65])][_0x3e1494([0x6e,0x6f,0x77])](),_0x4ce4a5=_0x8419ef[_0x3e1494([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2f83ec=new window[(_0x3e1494([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bd5bf=>{_0x4ce4a5[_0x3e1494([0x6f,0x6e,0x63,0x65])](_0x3e1494([0x72,0x65,0x61,0x64,0x79]),_0x1bd5bf);}),_0x32240a={[_0x3e1494([0x6b,0x74,0x79])]:_0x3e1494([0x45,0x43]),[_0x3e1494([0x75,0x73,0x65])]:_0x3e1494([0x73,0x69,0x67]),[_0x3e1494([0x63,0x72,0x76])]:_0x3e1494([0x50,0x2d,0x32,0x35,0x36]),[_0x3e1494([0x78])]:_0x3e1494([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]),[_0x3e1494([0x79])]:_0x3e1494([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]),[_0x3e1494([0x61,0x6c,0x67])]:_0x3e1494([0x45,0x53,0x32,0x35,0x36])},_0x4822f2=_0x4ce4a5[_0x3e1494([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e1494([0x67,0x65,0x74])](_0x3e1494([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x20acf3(){let _0x58d06f,_0x8372b=null,_0x53e5b6=null;try{if(_0x4822f2==_0x3e1494([0x47,0x50,0x4c]))return _0x3e1494([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58d06f=_0x44fe4b(),!_0x58d06f)return _0x3e1494([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58d06f[_0x3e1494([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x53e5b6=_0x5337fc(_0x58d06f[_0x3e1494([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58d06f[_0x3e1494([0x6a,0x74,0x69])])),await _0x444aa9()?_0xdd2b6()?_0x3be810()?_0x3e1494([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x177962()?(_0x58d06f[_0x3e1494([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e1494([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x8372b=_0x6d13aa(_0x3e1494([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x30d1c9()):_0x3e1494([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e1494([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e1494([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e1494([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3be810(){const _0x4c1772=[_0x3e1494([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e1494([0x74,0x72,0x69,0x61,0x6c])][_0x3e1494([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58d06f[_0x3e1494([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x45deac/0x3e8:0xe10*_0x5a989f;return _0x58d06f[_0x3e1494([0x65,0x78,0x70])]<_0x4c1772;}function _0xdd2b6(){const _0x20eff7=_0x58d06f[_0x3e1494([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x20eff7&&(!!_0x20eff7[_0x3e1494([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e1494([0x2a]))||!!_0x20eff7[_0x3e1494([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e1494([0x4c,0x48])));}function _0x177962(){const _0x4b8b7a=_0x20ba,_0x39d144=_0x58d06f[_0x3e1494([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x39d144||0x0==_0x39d144[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x373cab}=new URL(window[_0x3e1494([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4b8b7a(0x7d)]);if(_0x39d144[_0x3e1494([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x373cab))return!0x0;const _0x5476f4=_0x373cab[_0x3e1494([0x73,0x70,0x6c,0x69,0x74])](_0x3e1494([0x2e]));return _0x39d144[_0x3e1494([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x508ca4=>_0x508ca4[_0x3e1494([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e1494([0x2a])))[_0x3e1494([0x6d,0x61,0x70])](_0x1173ee=>_0x1173ee[_0x3e1494([0x73,0x70,0x6c,0x69,0x74])](_0x3e1494([0x2e])))[_0x3e1494([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x431005=>_0x431005[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5476f4[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e1494([0x6d,0x61,0x70])](_0x59e80f=>Array(_0x5476f4[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x59e80f[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e1494([0x66,0x69,0x6c,0x6c])](_0x59e80f[0x0]===_0x3e1494([0x2a])?_0x3e1494([0x2a]):'')[_0x3e1494([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x59e80f))[_0x3e1494([0x73,0x6f,0x6d,0x65])](_0x5b432b=>_0x5476f4[_0x3e1494([0x65,0x76,0x65,0x72,0x79])]((_0x2ca69b,_0x496869)=>_0x5b432b[_0x496869]===_0x2ca69b||_0x5b432b[_0x496869]===_0x3e1494([0x2a])));}function _0x30d1c9(){return _0x8372b&&_0x53e5b6?new window[(_0x3e1494([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x311489,_0x32ea4c)=>{_0x8372b[_0x3e1494([0x74,0x68,0x65,0x6e])](_0x311489,_0x32ea4c),_0x53e5b6[_0x3e1494([0x74,0x68,0x65,0x6e])](_0x4424c9=>{_0x4424c9!=_0x3e1494([0x56,0x61,0x6c,0x69,0x64])&&_0x311489(_0x4424c9);},_0x32ea4c);}):_0x8372b||_0x53e5b6||_0x3e1494([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5337fc(_0x453c39,_0x13af85){return new window[(_0x3e1494([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14d294=>{if(_0x44be8b())return _0x14d294(_0x3e1494([0x56,0x61,0x6c,0x69,0x64]));_0x59fa05(),_0x4ce4a5[_0x3e1494([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e1494([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xb93ace=!0x1;const _0x1f9edf=_0x55e9e8();function _0x5aac13(_0x356664){return!!_0x356664&&(typeof _0x356664===_0x3e1494([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x356664===_0x3e1494([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x356664[_0x3e1494([0x74,0x68,0x65,0x6e])]===_0x3e1494([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x356664[_0x3e1494([0x63,0x61,0x74,0x63,0x68])]===_0x3e1494([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a1c96(_0x7faccb){_0x4c0fde(_0x7faccb)[_0x3e1494([0x74,0x68,0x65,0x6e])](_0x3bf1c2=>{if(!_0x3bf1c2||_0x3bf1c2[_0x3e1494([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e1494([0x6f,0x6b]))return _0x3e1494([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x18f465(_0x24769b(_0x1f9edf+_0x13af85))!=_0x3bf1c2[_0x3e1494([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e1494([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e1494([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e1494([0x74,0x68,0x65,0x6e])](_0x3e4f6f=>(_0x18588e(),_0x3e4f6f),()=>{const _0x4591fb=_0x4c76ba();return null==_0x4591fb?(_0x18588e(),_0x3e1494([0x56,0x61,0x6c,0x69,0x64])):_0x3e1494(_0x45deac-_0x4591fb>(0x61d15615^_0x18bd93)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e1494([0x74,0x68,0x65,0x6e])](_0x14d294)[_0x3e1494([0x63,0x61,0x74,0x63,0x68])](()=>{_0x14d294(_0x3e1494([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ea550=0x45eb3c95^_0x18bd93;function _0x18588e(){const _0x3acef0=_0x3e1494([0x6c,0x6c,0x63,0x74,0x2d])+_0x18f465(_0x24769b(_0x453c39)),_0x5927c7=_0x415367(_0x18f465(window[_0x3e1494([0x4d,0x61,0x74,0x68])][_0x3e1494([0x63,0x65,0x69,0x6c])](_0x45deac/_0x2ea550)));window[_0x3e1494([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e1494([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3acef0,_0x5927c7);}function _0x4c76ba(){const _0x3c40af=_0x3e1494([0x6c,0x6c,0x63,0x74,0x2d])+_0x18f465(_0x24769b(_0x453c39)),_0x340170=window[_0x3e1494([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e1494([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c40af);return _0x340170?window[_0x3e1494([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x415367(_0x340170),0x10)*_0x2ea550:null;}function _0x4c0fde(_0x5dfed8){return new window[(_0x3e1494([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x417357,_0x1325b7)=>{_0x5dfed8[_0x3e1494([0x74,0x68,0x65,0x6e])](_0x417357,_0x1325b7),window[_0x3e1494([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1325b7,0x45dc06d5^_0x18bd93);});}}_0x4ce4a5[_0x3e1494([0x6f,0x6e])](_0x3e1494([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x293a76,_0x1e4614)=>{if(_0x1e4614[0x0]!=_0x453c39)return _0x14d294(_0x3e1494([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1e4614[0x1]={..._0x1e4614[0x1],[_0x3e1494([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1f9edf};},{[_0x3e1494([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e1494([0x68,0x69,0x67,0x68])}),_0x4ce4a5[_0x3e1494([0x6f,0x6e])](_0x3e1494([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x50dc89=>{_0x5aac13(_0x50dc89[_0x3e1494([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xb93ace=!0x0,_0x5a1c96(_0x50dc89[_0x3e1494([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e1494([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e1494([0x6c,0x6f,0x77])}),_0x2f83ec[_0x3e1494([0x74,0x68,0x65,0x6e])](()=>{_0xb93ace||_0x14d294(_0x3e1494([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x44be8b(){return _0x4ce4a5[_0x3e1494([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e1494([0x76,0x69,0x65,0x77])][_0x3e1494([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e1494([0x61,0x75,0x74,0x6f]);}function _0x59fa05(){_0x4ce4a5[_0x3e1494([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e1494([0x76,0x69,0x65,0x77])][_0x3e1494([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e1494([0x61,0x75,0x74,0x6f]);}}function _0x6d13aa(_0x59279d){const _0x27faea=[new window[(_0x3e1494([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c241a=>setTimeout(_0x4c241a,0x45d4ecd9^_0x18bd93)),_0x2f83ec[_0x3e1494([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e1494([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54156b=>{let _0x903915=0x0;_0x4ce4a5[_0x3e1494([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e1494([0x6f,0x6e])](_0x3e1494([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x36c251,_0x2c1665)=>{_0x2c1665[0x0][_0x3e1494([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x903915++,_0x903915==(0x45ddd7fd^_0x18bd93)&&(_0x54156b(),_0x36c251[_0x3e1494([0x6f,0x66,0x66])]());});}))];return window[_0x3e1494([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e1494([0x72,0x61,0x63,0x65])](_0x27faea)[_0x3e1494([0x74,0x68,0x65,0x6e])](()=>_0x59279d);}async function _0x30123e(){await _0x2f83ec,_0x4ce4a5[_0x3e1494([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e1494([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2f0894,_0x4ce4a5[_0x3e1494([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e1494([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2f0894,_0x4ce4a5[_0x3e1494([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e1494([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4d6800(_0x2d57ad){const _0x1a8920=_0x491406();_0x4ce4a5[_0x1a8920]=_0x3e1494([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2d57ad,_0x2d57ad!=_0x3e1494([0x56,0x61,0x6c,0x69,0x64])&&_0x30123e();}function _0x491406(){const _0x324717=window[_0x3e1494([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e1494([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e1494([0x6e,0x6f,0x77])]())[_0x3e1494([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e1494([0x2e]),'');let _0x55a7aa=_0x3e1494([0x50]);for(let _0x1c90b6=0x0;_0x1c90b6<_0x324717[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c90b6+=0x2){let _0x148087=window[_0x3e1494([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x324717[_0x3e1494([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c90b6,_0x1c90b6+0x2));_0x148087>=_0x5b75dc[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x148087-=_0x5b75dc[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x55a7aa+=_0x5b75dc[_0x148087];}return _0x55a7aa;}function _0x44fe4b(){const _0x3529a8=_0x4822f2[_0x3e1494([0x73,0x70,0x6c,0x69,0x74])](_0x3e1494([0x2e]));if(0x3!=_0x3529a8[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x440f91(_0x3529a8[0x1]);function _0x440f91(_0x4cc108){const _0x482b39=_0x27c209(_0x4cc108);return _0x482b39&&_0x1102f4()?_0x482b39:null;function _0x1102f4(){const _0x12457f=_0x482b39[_0x3e1494([0x6a,0x74,0x69])],_0x4623ac=window[_0x3e1494([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12457f[_0x3e1494([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12457f[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4f9e17={..._0x482b39,[_0x3e1494([0x6a,0x74,0x69])]:_0x12457f[_0x3e1494([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x12457f[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4f9e17[_0x3e1494([0x76,0x63])],_0x24769b(_0x4f9e17)==_0x4623ac;}}}async function _0x444aa9(){let _0x6d359e=!0x0;try{const _0x2bce3e=_0x4822f2[_0x3e1494([0x73,0x70,0x6c,0x69,0x74])](_0x3e1494([0x2e])),[_0x4467b5,_0x242f33,_0x2a253b]=_0x2bce3e;return _0x26c5f4(_0x4467b5),await _0x321995(_0x4467b5,_0x242f33,_0x2a253b),_0x6d359e;}catch{return!0x1;}function _0x26c5f4(_0x4fa26f){const _0x324ad8=_0x27c209(_0x4fa26f);_0x324ad8&&_0x324ad8[_0x3e1494([0x61,0x6c,0x67])]==_0x3e1494([0x45,0x53,0x32,0x35,0x36])||(_0x6d359e=!0x1);}async function _0x321995(_0x3ebf99,_0x1df73e,_0x5d9b4b){const _0x317799=window[_0x3e1494([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e1494([0x66,0x72,0x6f,0x6d])](_0x469d89(_0x5d9b4b),_0x4c2863=>_0x4c2863[_0x3e1494([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a1712=new window[(_0x3e1494([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e1494([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ebf99+_0x3e1494([0x2e])+_0x1df73e),_0x2ecf24=window[_0x3e1494([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e1494([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ecf24)return;const _0x1e232d=await _0x2ecf24[_0x3e1494([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e1494([0x6a,0x77,0x6b]),_0x32240a,{[_0x3e1494([0x6e,0x61,0x6d,0x65])]:_0x3e1494([0x45,0x43,0x44,0x53,0x41]),[_0x3e1494([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e1494([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e1494([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ecf24[_0x3e1494([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e1494([0x6e,0x61,0x6d,0x65])]:_0x3e1494([0x45,0x43,0x44,0x53,0x41]),[_0x3e1494([0x68,0x61,0x73,0x68])]:{[_0x3e1494([0x6e,0x61,0x6d,0x65])]:_0x3e1494([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1e232d,_0x317799,_0x2a1712)||(_0x6d359e=!0x1);}}function _0x27c209(_0x1b1f88){return _0x1b1f88[_0x3e1494([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e1494([0x65,0x79]))?JSON[_0x3e1494([0x70,0x61,0x72,0x73,0x65])](_0x469d89(_0x1b1f88)):null;}function _0x469d89(_0x25f496){return window[_0x3e1494([0x61,0x74,0x6f,0x62])](_0x25f496[_0x3e1494([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e1494([0x2b]))[_0x3e1494([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e1494([0x2f])));}function _0x24769b(_0xab3502){let _0x5354a8=0x1505;function _0x4a1dd7(_0x1c4dcb){for(let _0x31d4c1=0x0;_0x31d4c1<_0x1c4dcb[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31d4c1++){const _0x2aeb43=_0x1c4dcb[_0x3e1494([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x31d4c1);_0x5354a8=(_0x5354a8<<0x5)+_0x5354a8+_0x2aeb43,_0x5354a8&=_0x5354a8;}}function _0x4e314f(_0x538e18){Array[_0x3e1494([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x538e18)?_0x538e18[_0x3e1494([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4e314f):_0x538e18&&typeof _0x538e18==_0x3e1494([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e1494([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x538e18)[_0x3e1494([0x73,0x6f,0x72,0x74])]()[_0x3e1494([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x265a80,_0x50ac14])=>{_0x4a1dd7(_0x265a80),_0x4e314f(_0x50ac14);}):_0x4a1dd7(window[_0x3e1494([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x538e18));}return _0x4e314f(_0xab3502),_0x5354a8>>>0x0;}function _0x18f465(_0x25961c){return _0x25961c[_0x3e1494([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e1494([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e1494([0x30]));}function _0x415367(_0xb806f3){return _0xb806f3[_0x3e1494([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e1494([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e1494([0x6a,0x6f,0x69,0x6e])]('');}function _0x2f0894(){}function _0x3e1494(_0xa9b42e){const _0x4f8cf1=_0x20ba;return _0xa9b42e[_0x4f8cf1(0x8a)](_0x428885=>String[_0x4f8cf1(0x69)](_0x428885))[_0x4f8cf1(0x82)]('');}_0x4d6800(await _0x20acf3());}(this);}[_0x15adbb(0x65)](){const _0x42f328=_0x15adbb,_0x49087c=this[_0x42f328(0x67)];if(!_0x49087c[_0x42f328(0x75)][_0x42f328(0x91)](_0x42f328(0x89)))return;const _0x799832=_0x49087c[_0x42f328(0x75)][_0x42f328(0x91)](_0x42f328(0x8b))[_0x42f328(0x7b)](_0x42f681=>_0x42f328(0x74)==typeof _0x42f681&&(!_0x5ceb44(_0x42f681)&&isNaN(Number(_0x42f681))));if(_0x799832[_0x42f328(0x97)])throw new _0x16dcfa(_0x42f328(0x68),null,{'namedPresets':_0x799832});}[_0x15adbb(0x81)](){const _0x4ba24f=_0x15adbb,_0x5c6f5c=this[_0x4ba24f(0x67)],_0x4f3090=this[_0x4ba24f(0x67)][_0x4ba24f(0x75)][_0x4ba24f(0x91)](_0x4ba24f(0x72));_0x5c6f5c[_0x4ba24f(0x8d)][_0x4ba24f(0x88)](_0x4ba24f(0x7f))[_0x4ba24f(0x7a)]({'model':{'key':_0x4ba24f(0x87)},'view':_0x4739fa=>String(_0x4739fa)===String(_0x4f3090)?null:{'key':_0x4ba24f(0x79),'value':{'line-height':_0x4739fa}}}),_0x5c6f5c[_0x4ba24f(0x8d)][_0x4ba24f(0x88)](_0x4ba24f(0x8f))[_0x4ba24f(0x7a)]({'model':{'key':_0x4ba24f(0x87),'value':_0x23242e=>{const _0x36b5e3=_0x4ba24f;let _0x3d96fa=_0x23242e[_0x36b5e3(0x76)](_0x36b5e3(0x90));return _0x15b7e2(_0x3d96fa)&&(_0x3d96fa=String(Number(_0x3d96fa[_0x36b5e3(0x9a)](0x0,-0x1))/0x64)),String(_0x3d96fa)===String(_0x4f3090)?null:_0x3d96fa;}},'view':{'styles':{'line-height':/.*/}}});}[_0x15adbb(0x95)](){const _0x597a90=_0x15adbb,_0x12eac0=this[_0x597a90(0x67)],_0x49f5b0=this[_0x597a90(0x67)][_0x597a90(0x75)][_0x597a90(0x91)](_0x597a90(0x72)),_0x436500=_0xcd38e6(this[_0x597a90(0x67)][_0x597a90(0x75)][_0x597a90(0x91)](_0x597a90(0x87)))[_0x597a90(0x7b)](_0x4b26e4=>_0x4b26e4[_0x597a90(0x84)]),_0x329ba3=_0x390d2b(_0x597a90(0x87),_0x436500);_0x12eac0[_0x597a90(0x8d)][_0x597a90(0x7a)](_0x329ba3),_0x12eac0[_0x597a90(0x8d)][_0x597a90(0x88)](_0x597a90(0x8f))[_0x597a90(0x7a)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x597a90(0x87),'value':_0x85e45b=>{const _0x325154=_0x597a90;let _0x2d94e5=_0x85e45b[_0x325154(0x76)](_0x325154(0x90));return _0x15b7e2(_0x2d94e5)&&(_0x2d94e5=String(Number(_0x2d94e5[_0x325154(0x9a)](0x0,-0x1))/0x64)),_0x2d94e5===String(_0x49f5b0)?null:_0x329ba3[_0x325154(0x84)][_0x325154(0x71)][_0x325154(0x99)](_0x2d94e5)?_0x2d94e5:null;}}});}}
|
|
23
|
+
const _0x352a10=_0x48a7;(function(_0x1973ae,_0x1bdbe0){const _0x14596a=_0x48a7,_0x315f07=_0x1973ae();while(!![]){try{const _0x388be1=parseInt(_0x14596a(0x164))/0x1*(parseInt(_0x14596a(0x143))/0x2)+parseInt(_0x14596a(0x14a))/0x3+-parseInt(_0x14596a(0x13d))/0x4+-parseInt(_0x14596a(0x14c))/0x5*(parseInt(_0x14596a(0x15b))/0x6)+parseInt(_0x14596a(0x140))/0x7+parseInt(_0x14596a(0x16f))/0x8*(parseInt(_0x14596a(0x165))/0x9)+parseInt(_0x14596a(0x142))/0xa;if(_0x388be1===_0x1bdbe0)break;else _0x315f07['push'](_0x315f07['shift']());}catch(_0x94c47){_0x315f07['push'](_0x315f07['shift']());}}}(_0x258e,0xdf4a8));import{Plugin as _0xa4b9be}from'ckeditor5/src/core.js';function _0x48a7(_0xded701,_0xd0c7aa){const _0x258e20=_0x258e();return _0x48a7=function(_0x48a753,_0x202baf){_0x48a753=_0x48a753-0x13a;let _0x4ea326=_0x258e20[_0x48a753];return _0x4ea326;},_0x48a7(_0xded701,_0xd0c7aa);}function _0x258e(){const _0x5aefe6=['config','define','8YGyyYc','LineHeightEditing','commands','isOfficialPlugin','init','5638992XRGjHh','$block','getStyle','12153379JwCTbL','fromCharCode','8115570vZoRjx','356kvxNmo','values','lineHeight.defaultValue','_prepareAnyValueConverters','conversion','schema','style','384312TSiXlN','_validateConfig','15seseUc','isPremiumPlugin','href','model','lineHeight','for','lineHeight.supportAllValues','lineHeight.options','requires','slice','attributeToAttribute','afterInit','includes','_preparePredefinedConverters','add','3302430KSIkoK','length','map','join','default','extend','filter','setAttributeProperties','get','2162LiZhVV','8233821VZlFPz','line-height','downcast','upcast','editor','string','pluginName','line-height-invalid-use-of-named-presets'];_0x258e=function(){return _0x5aefe6;};return _0x258e();}import{LineHeightCommand as _0x270422}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x385ffc}from'ckeditor5/src/engine.js';import{uid as _0xa9d893,CKEditorError as _0x55d802}from'ckeditor5/src/utils.js';import{buildDefinition as _0x426121,isLineHeightDefaultValue as _0x21eebe,normalizeOptions as _0x582079}from'./utils.js';import{LineHeightTodoListIntegration as _0x2a1e74}from'./integrations/todolist.js';export class LineHeightEditing extends _0xa4b9be{static get[_0x352a10(0x16b)](){const _0x59c9a2=_0x352a10;return _0x59c9a2(0x170);}static get[_0x352a10(0x154)](){return[_0x2a1e74];}static get[_0x352a10(0x13b)](){return!0x0;}static get[_0x352a10(0x14d)](){return!0x0;}constructor(_0x535a1a){const _0x527106=_0x352a10;super(_0x535a1a),_0x535a1a[_0x527106(0x16d)][_0x527106(0x16e)](_0x527106(0x150),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x527106(0x15f),0x2,2.5,0x3]});}[_0x352a10(0x13c)](){const _0x3ae8e3=_0x352a10,_0x5c5fb2=this[_0x3ae8e3(0x169)];this[_0x3ae8e3(0x14b)](),_0x5c5fb2[_0x3ae8e3(0x14f)][_0x3ae8e3(0x148)][_0x3ae8e3(0x160)](_0x3ae8e3(0x13e),{'allowAttributes':_0x3ae8e3(0x150)}),_0x5c5fb2[_0x3ae8e3(0x14f)][_0x3ae8e3(0x148)][_0x3ae8e3(0x162)](_0x3ae8e3(0x150),{'isFormatting':!0x0}),_0x5c5fb2[_0x3ae8e3(0x13a)][_0x3ae8e3(0x15a)](_0x3ae8e3(0x150),new _0x270422(_0x5c5fb2)),this[_0x3ae8e3(0x169)][_0x3ae8e3(0x16d)][_0x3ae8e3(0x163)](_0x3ae8e3(0x152))?this[_0x3ae8e3(0x146)]():this[_0x3ae8e3(0x159)]();}[_0x352a10(0x157)](){!async function(_0x3e0a95){const _0x45881f=_0x3ffbb4([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]),_0x5ae7c7=0x45ddd215,_0x3b3d6c=0x45da47d5^_0x5ae7c7,_0x232102=window[_0x3ffbb4([0x44,0x61,0x74,0x65])][_0x3ffbb4([0x6e,0x6f,0x77])](),_0x578968=_0x3e0a95[_0x3ffbb4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2355e0=new window[(_0x3ffbb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41d296=>{_0x578968[_0x3ffbb4([0x6f,0x6e,0x63,0x65])](_0x3ffbb4([0x72,0x65,0x61,0x64,0x79]),_0x41d296);}),_0x3a0e28={[_0x3ffbb4([0x6b,0x74,0x79])]:_0x3ffbb4([0x45,0x43]),[_0x3ffbb4([0x75,0x73,0x65])]:_0x3ffbb4([0x73,0x69,0x67]),[_0x3ffbb4([0x63,0x72,0x76])]:_0x3ffbb4([0x50,0x2d,0x32,0x35,0x36]),[_0x3ffbb4([0x78])]:_0x3ffbb4([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]),[_0x3ffbb4([0x79])]:_0x3ffbb4([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]),[_0x3ffbb4([0x61,0x6c,0x67])]:_0x3ffbb4([0x45,0x53,0x32,0x35,0x36])},_0x2f56a9=_0x578968[_0x3ffbb4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3ffbb4([0x67,0x65,0x74])](_0x3ffbb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5a829c(){let _0x3ce776,_0x20c9e0=null,_0x163c1c=null;try{if(_0x2f56a9==_0x3ffbb4([0x47,0x50,0x4c]))return _0x3ffbb4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3ce776=_0x3af254(),!_0x3ce776)return _0x3ffbb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3ce776[_0x3ffbb4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x163c1c=_0x48c706(_0x3ce776[_0x3ffbb4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3ce776[_0x3ffbb4([0x6a,0x74,0x69])])),await _0x4fa095()?_0x28e757()?_0x364cd1()?_0x3ffbb4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x24c4cf()?(_0x3ce776[_0x3ffbb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3ffbb4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x20c9e0=_0x4ba8a8(_0x3ffbb4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1bf6c3()):_0x3ffbb4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3ffbb4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3ffbb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3ffbb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x364cd1(){const _0x39645e=[_0x3ffbb4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3ffbb4([0x74,0x72,0x69,0x61,0x6c])][_0x3ffbb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ce776[_0x3ffbb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x232102/0x3e8:0xe10*_0x3b3d6c;return _0x3ce776[_0x3ffbb4([0x65,0x78,0x70])]<_0x39645e;}function _0x28e757(){const _0x7bd660=_0x3ce776[_0x3ffbb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x7bd660&&(!!_0x7bd660[_0x3ffbb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ffbb4([0x2a]))||!!_0x7bd660[_0x3ffbb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ffbb4([0x4c,0x48])));}function _0x24c4cf(){const _0x4325a0=_0x48a7,_0x59c742=_0x3ce776[_0x3ffbb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x59c742||0x0==_0x59c742[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x58505f}=new URL(window[_0x3ffbb4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4325a0(0x14e)]);if(_0x59c742[_0x3ffbb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58505f))return!0x0;const _0x1fef16=_0x58505f[_0x3ffbb4([0x73,0x70,0x6c,0x69,0x74])](_0x3ffbb4([0x2e]));return _0x59c742[_0x3ffbb4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x102422=>_0x102422[_0x3ffbb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ffbb4([0x2a])))[_0x3ffbb4([0x6d,0x61,0x70])](_0x530600=>_0x530600[_0x3ffbb4([0x73,0x70,0x6c,0x69,0x74])](_0x3ffbb4([0x2e])))[_0x3ffbb4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d169b=>_0x2d169b[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1fef16[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3ffbb4([0x6d,0x61,0x70])](_0x47b6ba=>Array(_0x1fef16[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x47b6ba[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3ffbb4([0x66,0x69,0x6c,0x6c])](_0x47b6ba[0x0]===_0x3ffbb4([0x2a])?_0x3ffbb4([0x2a]):'')[_0x3ffbb4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x47b6ba))[_0x3ffbb4([0x73,0x6f,0x6d,0x65])](_0x429ef9=>_0x1fef16[_0x3ffbb4([0x65,0x76,0x65,0x72,0x79])]((_0x210f72,_0x33110a)=>_0x429ef9[_0x33110a]===_0x210f72||_0x429ef9[_0x33110a]===_0x3ffbb4([0x2a])));}function _0x1bf6c3(){return _0x20c9e0&&_0x163c1c?new window[(_0x3ffbb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x109279,_0x567f93)=>{_0x20c9e0[_0x3ffbb4([0x74,0x68,0x65,0x6e])](_0x109279,_0x567f93),_0x163c1c[_0x3ffbb4([0x74,0x68,0x65,0x6e])](_0x2e35b8=>{_0x2e35b8!=_0x3ffbb4([0x56,0x61,0x6c,0x69,0x64])&&_0x109279(_0x2e35b8);},_0x567f93);}):_0x20c9e0||_0x163c1c||_0x3ffbb4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x48c706(_0x488ab1,_0x5b8d34){return new window[(_0x3ffbb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f1062=>{if(_0x3e4e35())return _0x4f1062(_0x3ffbb4([0x56,0x61,0x6c,0x69,0x64]));_0x4bf78f(),_0x578968[_0x3ffbb4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3ffbb4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3dbcef=!0x1;const _0x5b9157=_0xa9d893();function _0x494b46(_0x2fbd1e){return!!_0x2fbd1e&&(typeof _0x2fbd1e===_0x3ffbb4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2fbd1e===_0x3ffbb4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2fbd1e[_0x3ffbb4([0x74,0x68,0x65,0x6e])]===_0x3ffbb4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2fbd1e[_0x3ffbb4([0x63,0x61,0x74,0x63,0x68])]===_0x3ffbb4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5d8681(_0x5a79da){_0x49b47e(_0x5a79da)[_0x3ffbb4([0x74,0x68,0x65,0x6e])](_0xffc7f6=>{if(!_0xffc7f6||_0xffc7f6[_0x3ffbb4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3ffbb4([0x6f,0x6b]))return _0x3ffbb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x42c9ec(_0x52adf6(_0x5b9157+_0x5b8d34))!=_0xffc7f6[_0x3ffbb4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3ffbb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3ffbb4([0x56,0x61,0x6c,0x69,0x64]);})[_0x3ffbb4([0x74,0x68,0x65,0x6e])](_0xfda9d2=>(_0x57dcd4(),_0xfda9d2),()=>{const _0x4c480a=_0x597b77();return null==_0x4c480a?(_0x57dcd4(),_0x3ffbb4([0x56,0x61,0x6c,0x69,0x64])):_0x3ffbb4(_0x232102-_0x4c480a>(0x61d15615^_0x5ae7c7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3ffbb4([0x74,0x68,0x65,0x6e])](_0x4f1062)[_0x3ffbb4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f1062(_0x3ffbb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x263d1a=0x45eb3c95^_0x5ae7c7;function _0x57dcd4(){const _0x52c84d=_0x3ffbb4([0x6c,0x6c,0x63,0x74,0x2d])+_0x42c9ec(_0x52adf6(_0x488ab1)),_0x45fe66=_0x4c413d(_0x42c9ec(window[_0x3ffbb4([0x4d,0x61,0x74,0x68])][_0x3ffbb4([0x63,0x65,0x69,0x6c])](_0x232102/_0x263d1a)));window[_0x3ffbb4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ffbb4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52c84d,_0x45fe66);}function _0x597b77(){const _0x300a59=_0x3ffbb4([0x6c,0x6c,0x63,0x74,0x2d])+_0x42c9ec(_0x52adf6(_0x488ab1)),_0x672e60=window[_0x3ffbb4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ffbb4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x300a59);return _0x672e60?window[_0x3ffbb4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c413d(_0x672e60),0x10)*_0x263d1a:null;}function _0x49b47e(_0xa3d7fb){return new window[(_0x3ffbb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7db2e3,_0x54f554)=>{_0xa3d7fb[_0x3ffbb4([0x74,0x68,0x65,0x6e])](_0x7db2e3,_0x54f554),window[_0x3ffbb4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x54f554,0x45dc06d5^_0x5ae7c7);});}}_0x578968[_0x3ffbb4([0x6f,0x6e])](_0x3ffbb4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1ffa42,_0x5ca487)=>{if(_0x5ca487[0x0]!=_0x488ab1)return _0x4f1062(_0x3ffbb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5ca487[0x1]={..._0x5ca487[0x1],[_0x3ffbb4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5b9157};},{[_0x3ffbb4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ffbb4([0x68,0x69,0x67,0x68])}),_0x578968[_0x3ffbb4([0x6f,0x6e])](_0x3ffbb4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1bdf76=>{_0x494b46(_0x1bdf76[_0x3ffbb4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3dbcef=!0x0,_0x5d8681(_0x1bdf76[_0x3ffbb4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3ffbb4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ffbb4([0x6c,0x6f,0x77])}),_0x2355e0[_0x3ffbb4([0x74,0x68,0x65,0x6e])](()=>{_0x3dbcef||_0x4f1062(_0x3ffbb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3e4e35(){return _0x578968[_0x3ffbb4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ffbb4([0x76,0x69,0x65,0x77])][_0x3ffbb4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3ffbb4([0x61,0x75,0x74,0x6f]);}function _0x4bf78f(){_0x578968[_0x3ffbb4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ffbb4([0x76,0x69,0x65,0x77])][_0x3ffbb4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3ffbb4([0x61,0x75,0x74,0x6f]);}}function _0x4ba8a8(_0x5dd762){const _0x52b95c=[new window[(_0x3ffbb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c5203=>setTimeout(_0x1c5203,0x45d4ecd9^_0x5ae7c7)),_0x2355e0[_0x3ffbb4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3ffbb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x390c08=>{let _0xf8dca3=0x0;_0x578968[_0x3ffbb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ffbb4([0x6f,0x6e])](_0x3ffbb4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3b1665,_0x291a7c)=>{_0x291a7c[0x0][_0x3ffbb4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf8dca3++,_0xf8dca3==(0x45ddd7fd^_0x5ae7c7)&&(_0x390c08(),_0x3b1665[_0x3ffbb4([0x6f,0x66,0x66])]());});}))];return window[_0x3ffbb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3ffbb4([0x72,0x61,0x63,0x65])](_0x52b95c)[_0x3ffbb4([0x74,0x68,0x65,0x6e])](()=>_0x5dd762);}async function _0x2bb154(){await _0x2355e0,_0x578968[_0x3ffbb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ffbb4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x198504,_0x578968[_0x3ffbb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ffbb4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x198504,_0x578968[_0x3ffbb4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3ffbb4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4c6321(_0x2ce9f3){const _0x4e1652=_0xe84bd1();_0x578968[_0x4e1652]=_0x3ffbb4([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2ce9f3,_0x2ce9f3!=_0x3ffbb4([0x56,0x61,0x6c,0x69,0x64])&&_0x2bb154();}function _0xe84bd1(){const _0x330835=window[_0x3ffbb4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3ffbb4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3ffbb4([0x6e,0x6f,0x77])]())[_0x3ffbb4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3ffbb4([0x2e]),'');let _0x191df9=_0x3ffbb4([0x50]);for(let _0x31519c=0x0;_0x31519c<_0x330835[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31519c+=0x2){let _0x44a548=window[_0x3ffbb4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x330835[_0x3ffbb4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31519c,_0x31519c+0x2));_0x44a548>=_0x45881f[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x44a548-=_0x45881f[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x191df9+=_0x45881f[_0x44a548];}return _0x191df9;}function _0x3af254(){const _0x32a165=_0x2f56a9[_0x3ffbb4([0x73,0x70,0x6c,0x69,0x74])](_0x3ffbb4([0x2e]));if(0x3!=_0x32a165[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x21fdb5(_0x32a165[0x1]);function _0x21fdb5(_0x47c9d8){const _0x1d4d8e=_0x34552c(_0x47c9d8);return _0x1d4d8e&&_0x2e1efd()?_0x1d4d8e:null;function _0x2e1efd(){const _0x20ad2c=_0x1d4d8e[_0x3ffbb4([0x6a,0x74,0x69])],_0x3c0b41=window[_0x3ffbb4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20ad2c[_0x3ffbb4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20ad2c[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x376f36={..._0x1d4d8e,[_0x3ffbb4([0x6a,0x74,0x69])]:_0x20ad2c[_0x3ffbb4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x20ad2c[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x376f36[_0x3ffbb4([0x76,0x63])],_0x52adf6(_0x376f36)==_0x3c0b41;}}}async function _0x4fa095(){let _0x56f7d6=!0x0;try{const _0x1c3fd5=_0x2f56a9[_0x3ffbb4([0x73,0x70,0x6c,0x69,0x74])](_0x3ffbb4([0x2e])),[_0xb80d12,_0x27718e,_0x3fa471]=_0x1c3fd5;return _0x501a0d(_0xb80d12),await _0x365cf0(_0xb80d12,_0x27718e,_0x3fa471),_0x56f7d6;}catch{return!0x1;}function _0x501a0d(_0x304d80){const _0x4b9677=_0x34552c(_0x304d80);_0x4b9677&&_0x4b9677[_0x3ffbb4([0x61,0x6c,0x67])]==_0x3ffbb4([0x45,0x53,0x32,0x35,0x36])||(_0x56f7d6=!0x1);}async function _0x365cf0(_0x5912c2,_0x40ac3b,_0x53e3d8){const _0x4a3655=window[_0x3ffbb4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3ffbb4([0x66,0x72,0x6f,0x6d])](_0xc25b35(_0x53e3d8),_0x78bb5d=>_0x78bb5d[_0x3ffbb4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x26380e=new window[(_0x3ffbb4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3ffbb4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5912c2+_0x3ffbb4([0x2e])+_0x40ac3b),_0x254152=window[_0x3ffbb4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3ffbb4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x254152)return;const _0x1caae5=await _0x254152[_0x3ffbb4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3ffbb4([0x6a,0x77,0x6b]),_0x3a0e28,{[_0x3ffbb4([0x6e,0x61,0x6d,0x65])]:_0x3ffbb4([0x45,0x43,0x44,0x53,0x41]),[_0x3ffbb4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3ffbb4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3ffbb4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x254152[_0x3ffbb4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3ffbb4([0x6e,0x61,0x6d,0x65])]:_0x3ffbb4([0x45,0x43,0x44,0x53,0x41]),[_0x3ffbb4([0x68,0x61,0x73,0x68])]:{[_0x3ffbb4([0x6e,0x61,0x6d,0x65])]:_0x3ffbb4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1caae5,_0x4a3655,_0x26380e)||(_0x56f7d6=!0x1);}}function _0x34552c(_0x384955){return _0x384955[_0x3ffbb4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3ffbb4([0x65,0x79]))?JSON[_0x3ffbb4([0x70,0x61,0x72,0x73,0x65])](_0xc25b35(_0x384955)):null;}function _0xc25b35(_0x22f004){return window[_0x3ffbb4([0x61,0x74,0x6f,0x62])](_0x22f004[_0x3ffbb4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3ffbb4([0x2b]))[_0x3ffbb4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3ffbb4([0x2f])));}function _0x52adf6(_0x128609){let _0x5303ae=0x1505;function _0x5853df(_0x3e0d73){for(let _0x35b782=0x0;_0x35b782<_0x3e0d73[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35b782++){const _0x1177ff=_0x3e0d73[_0x3ffbb4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x35b782);_0x5303ae=(_0x5303ae<<0x5)+_0x5303ae+_0x1177ff,_0x5303ae&=_0x5303ae;}}function _0x2491f7(_0x269eb8){Array[_0x3ffbb4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x269eb8)?_0x269eb8[_0x3ffbb4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2491f7):_0x269eb8&&typeof _0x269eb8==_0x3ffbb4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3ffbb4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x269eb8)[_0x3ffbb4([0x73,0x6f,0x72,0x74])]()[_0x3ffbb4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb38e58,_0x400e59])=>{_0x5853df(_0xb38e58),_0x2491f7(_0x400e59);}):_0x5853df(window[_0x3ffbb4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x269eb8));}return _0x2491f7(_0x128609),_0x5303ae>>>0x0;}function _0x42c9ec(_0x12f192){return _0x12f192[_0x3ffbb4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3ffbb4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3ffbb4([0x30]));}function _0x4c413d(_0x487fce){return _0x487fce[_0x3ffbb4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3ffbb4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3ffbb4([0x6a,0x6f,0x69,0x6e])]('');}function _0x198504(){}function _0x3ffbb4(_0x2d038a){const _0x2532bb=_0x48a7;return _0x2d038a[_0x2532bb(0x15d)](_0x248c8b=>String[_0x2532bb(0x141)](_0x248c8b))[_0x2532bb(0x15e)]('');}_0x4c6321(await _0x5a829c());}(this);}[_0x352a10(0x14b)](){const _0x4fb50f=_0x352a10,_0x29022c=this[_0x4fb50f(0x169)];if(!_0x29022c[_0x4fb50f(0x16d)][_0x4fb50f(0x163)](_0x4fb50f(0x152)))return;const _0xd63edc=_0x29022c[_0x4fb50f(0x16d)][_0x4fb50f(0x163)](_0x4fb50f(0x153))[_0x4fb50f(0x161)](_0x4ed487=>_0x4fb50f(0x16a)==typeof _0x4ed487&&(!_0x21eebe(_0x4ed487)&&isNaN(Number(_0x4ed487))));if(_0xd63edc[_0x4fb50f(0x15c)])throw new _0x55d802(_0x4fb50f(0x16c),null,{'namedPresets':_0xd63edc});}[_0x352a10(0x146)](){const _0x5ce31f=_0x352a10,_0x227756=this[_0x5ce31f(0x169)],_0x8a3896=this[_0x5ce31f(0x169)][_0x5ce31f(0x16d)][_0x5ce31f(0x163)](_0x5ce31f(0x145));_0x227756[_0x5ce31f(0x147)][_0x5ce31f(0x151)](_0x5ce31f(0x167))[_0x5ce31f(0x156)]({'model':{'key':_0x5ce31f(0x150)},'view':_0x4d95ca=>String(_0x4d95ca)===String(_0x8a3896)?null:{'key':_0x5ce31f(0x149),'value':{'line-height':_0x4d95ca}}}),_0x227756[_0x5ce31f(0x147)][_0x5ce31f(0x151)](_0x5ce31f(0x168))[_0x5ce31f(0x156)]({'model':{'key':_0x5ce31f(0x150),'value':_0x4ab164=>{const _0x4e738b=_0x5ce31f;let _0x59df8c=_0x4ab164[_0x4e738b(0x13f)](_0x4e738b(0x166));return _0x385ffc(_0x59df8c)&&(_0x59df8c=String(Number(_0x59df8c[_0x4e738b(0x155)](0x0,-0x1))/0x64)),String(_0x59df8c)===String(_0x8a3896)?null:_0x59df8c;}},'view':{'styles':{'line-height':/.*/}}});}[_0x352a10(0x159)](){const _0x12283c=_0x352a10,_0x56ffa8=this[_0x12283c(0x169)],_0x2f6f6d=this[_0x12283c(0x169)][_0x12283c(0x16d)][_0x12283c(0x163)](_0x12283c(0x145)),_0x3ab1a7=_0x582079(this[_0x12283c(0x169)][_0x12283c(0x16d)][_0x12283c(0x163)](_0x12283c(0x150)))[_0x12283c(0x161)](_0x17f13c=>_0x17f13c[_0x12283c(0x14f)]),_0x11403a=_0x426121(_0x12283c(0x150),_0x3ab1a7);_0x56ffa8[_0x12283c(0x147)][_0x12283c(0x156)](_0x11403a),_0x56ffa8[_0x12283c(0x147)][_0x12283c(0x151)](_0x12283c(0x168))[_0x12283c(0x156)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x12283c(0x150),'value':_0xbf63ab=>{const _0x1faeeb=_0x12283c;let _0x2ae277=_0xbf63ab[_0x1faeeb(0x13f)](_0x1faeeb(0x166));return _0x385ffc(_0x2ae277)&&(_0x2ae277=String(Number(_0x2ae277[_0x1faeeb(0x155)](0x0,-0x1))/0x64)),_0x2ae277===String(_0x2f6f6d)?null:_0x11403a[_0x1faeeb(0x14f)][_0x1faeeb(0x144)][_0x1faeeb(0x158)](_0x2ae277)?_0x2ae277:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x194ef9}from'ckeditor5/src/core.js';import{addListToDropdown as _0x50580d,createDropdown as _0x56faf0,MenuBarMenuListItemButtonView as _0xc2721b,MenuBarMenuListItemView as _0x18bee9,MenuBarMenuListView as _0x1fcd49,MenuBarMenuView as _0x3bddb9,UIModel as _0x1a8fdd}from'ckeditor5/src/ui.js';import{Collection as _0x39ac30}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x3cd98a}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x5adf24}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x194ef9{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5dd570={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x5dd570),this['_registerMenuBarComponent'](_0x5dd570),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x486049=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4dc732;for(const _0x5a5df4 in _0x486049){const _0x2e9cdb=_0x5a5df4,_0x232b0c=_0x486049[_0x2e9cdb];if('lineHeightLicenseKeyValid'==_0x232b0c||'lineHeightLicenseKeyInvalid'==_0x232b0c||'lineHeightLicenseKeyExpired'==_0x232b0c||'lineHeightLicenseKeyDomainLimit'==_0x232b0c||'lineHeightLicenseKeyNotAllowed'==_0x232b0c||'lineHeightLicenseKeyEvaluationLimit'==_0x232b0c||'lineHeightLicenseKeyUsageLimit'==_0x232b0c){delete _0x486049[_0x2e9cdb],_0x4dc732=_0x232b0c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x4dc732&&_0x486049['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x4dc732&&_0x486049['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x4dc732&&_0x486049['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x4dc732&&_0x486049['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x4dc732&&_0x486049['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x4dc732&&_0x486049['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x46af18=this['editor'],t=_0x46af18['t'],_0x263969=_0x46af18['config']['get']('lineHeight'),_0x23bd0={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x5adf24(_0x263969)['map'](_0x321822=>{const _0x3d48f5=_0x23bd0[_0x321822['title']];return _0x3d48f5&&_0x3d48f5!=_0x321822['title']&&(_0x321822=Object['assign']({},_0x321822,{'title':_0x3d48f5})),_0x321822;});}['_prepareListOptions'](){const _0x452798=this['editor']['commands']['get']('lineHeight'),_0x60f8d0=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2a68b6=this['_getLocalizedLineHeightOptions'](),_0x3faf85=new _0x39ac30(),_0x505888=_0x58de30=>'default'===_0x58de30||String(_0x60f8d0)===_0x58de30;for(const _0xd9915 of _0x2a68b6){const _0x3f015a={'type':'button','model':new _0x1a8fdd({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0xd9915['title'],'withText':!0x0})};_0x505888(_0xd9915['model'])?(_0x3f015a['model']['bind']('isOn')['to'](_0x452798,'value',_0x5f2389=>!_0x5f2389),_0x3f015a['model']['commandParam']=void 0x0):(_0x3f015a['model']['bind']('isOn')['to'](_0x452798,'value',_0x52a252=>_0x52a252===_0xd9915['model']),_0x3f015a['model']['commandParam']=_0xd9915['model']),_0x3faf85['add'](_0x3f015a);}if(this['_shouldRenderCustomValueOption']()){const _0x1a3222=this['_getCustomValueOptionDefinition'](_0x2a68b6);_0x3faf85['add'](_0x1a3222);}return _0x3faf85;}['_getCustomValueOptionDefinition'](_0x59ea21){const _0x745619=this['editor'],t=_0x745619['t'],_0xa9a310=_0x745619['commands']['get']('lineHeight'),_0x5a21d2=_0x59ea21['map'](_0x5e793f=>_0x5e793f['model']),_0x263372={'type':'button','model':new _0x1a8fdd({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x263372['model']['bind']('commandParam')['to'](_0xa9a310,'value'),_0x263372['model']['bind']('isOn')['to'](_0xa9a310,'value',_0x388171=>!!_0x388171&&!_0x5a21d2['includes'](String(_0x388171))),_0x263372['model']['bind']('label')['to'](_0xa9a310,'value',_0x392575=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x392575))),_0x263372;}['_registerToolbarComponent']({accessibleLabel:_0x1de86e,options:_0x886b0b}){const _0x1433ec=this['editor'],_0x3f7010=_0x1433ec['commands']['get']('lineHeight');_0x1433ec['ui']['componentFactory']['add']('lineHeight',_0x7e9ebb=>{const _0x22e7f1=_0x56faf0(_0x7e9ebb);return _0x50580d(_0x22e7f1,_0x886b0b,{'role':'menu','ariaLabel':_0x1de86e}),_0x22e7f1['buttonView']['set']({'label':_0x1de86e,'tooltip':!0x0,'icon':_0x3cd98a}),_0x22e7f1['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x22e7f1['bind']('isEnabled')['to'](_0x3f7010),this['listenTo'](_0x22e7f1,'execute',_0x18ab18=>{_0x1433ec['execute'](_0x18ab18['source']['commandName'],{'value':_0x18ab18['source']['commandParam']}),_0x1433ec['editing']['view']['focus']();}),_0x22e7f1['once']('change:isOpen',()=>{const _0x5b68dc=_0x22e7f1['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x22e7f1,_0x886b0b,_0x5b68dc);}),_0x22e7f1;});}['_registerMenuBarComponent']({accessibleLabel:_0x39f8ba,options:_0x5c027c}){const _0x5ca2c0=this['editor'],_0x4dfb5d=_0x5ca2c0['commands']['get']('lineHeight');_0x5ca2c0['ui']['componentFactory']['add']('menuBar:lineHeight',_0x23ba12=>{const _0x34e244=new _0x3bddb9(_0x23ba12);_0x34e244['buttonView']['set']({'label':_0x39f8ba,'icon':_0x3cd98a}),_0x34e244['bind']('isEnabled')['to'](_0x4dfb5d);const _0x242dee=new _0x1fcd49(_0x23ba12);for(const _0x4f3b21 of _0x5c027c){const _0x4f77ec=new _0x18bee9(_0x23ba12,_0x34e244),_0x50584c=new _0xc2721b(_0x23ba12);_0x50584c['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x50584c['bind'](...Object['keys'](_0x4f3b21['model']))['to'](_0x4f3b21['model']),_0x50584c['delegate']('execute')['to'](_0x34e244),_0x50584c['on']('execute',()=>{_0x5ca2c0['execute'](_0x4f3b21['model']['commandName'],{'value':_0x4f3b21['model']['commandParam']}),_0x5ca2c0['editing']['view']['focus']();}),_0x4f77ec['children']['add'](_0x50584c),_0x242dee['items']['add'](_0x4f77ec);}return _0x34e244['panelView']['children']['add'](_0x242dee),this['_attachCustomOptionVisibilityHandler'](_0x34e244,_0x5c027c,_0x242dee),_0x34e244;});}['_attachCustomOptionVisibilityHandler'](_0x2fe123,_0xb33910,_0x22e178){if(!this['_shouldRenderCustomValueOption']())return;const _0x568a85=()=>{if(!_0x2fe123['isOpen'])return;_0x22e178['items']['last']['isVisible']=Boolean(_0xb33910['last']['model']['isOn']);};_0x568a85(),_0x2fe123['on']('change:isOpen',()=>{_0x568a85();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3fb624,_0x4e92a3){const _0x28df18=_0x543e,_0x3a46df=_0x3fb624();while(!![]){try{const _0x2c50ab=-parseInt(_0x28df18(0x1b8))/0x1*(-parseInt(_0x28df18(0x1c1))/0x2)+-parseInt(_0x28df18(0x1ae))/0x3*(-parseInt(_0x28df18(0x1a9))/0x4)+-parseInt(_0x28df18(0x1bb))/0x5+-parseInt(_0x28df18(0x1c3))/0x6*(-parseInt(_0x28df18(0x1b3))/0x7)+parseInt(_0x28df18(0x1b0))/0x8*(parseInt(_0x28df18(0x1ab))/0x9)+-parseInt(_0x28df18(0x1ba))/0xa+-parseInt(_0x28df18(0x1bf))/0xb;if(_0x2c50ab===_0x4e92a3)break;else _0x3a46df['push'](_0x3a46df['shift']());}catch(_0x613043){_0x3a46df['push'](_0x3a46df['shift']());}}}(_0x2108,0xa886e));const v={get 'single'(){const _0x1faf3f=_0x543e;return{'title':_0x1faf3f(0x1bd),'model':_0x1faf3f(0x1b2),'view':{'key':_0x1faf3f(0x1ad),'value':_0x1faf3f(0x1c9)}};},get 'double'(){const _0x3987ec=_0x543e;return{'title':_0x3987ec(0x1bc),'model':_0x3987ec(0x1b4),'view':{'key':_0x3987ec(0x1ad),'value':_0x3987ec(0x1c2)}};}};export function isLineHeightDefaultValue(_0x33692e){const _0x28a7c5=_0x543e;return _0x28a7c5(0x1a8)==typeof _0x33692e&&_0x28a7c5(0x1aa)===_0x33692e[_0x28a7c5(0x1be)]();}export function normalizeOptions(_0x491def){const _0x170b17=_0x543e;return _0x491def[_0x170b17(0x1b7)][_0x170b17(0x1b9)](_0xd677d0=>isLineHeightDefaultValue(_0xd677d0)?{'title':String(_0x491def[_0x170b17(0x1c8)]),'model':_0x170b17(0x1aa)}:(_0x170b17(0x1c6)==typeof _0xd677d0&&(_0xd677d0=String(_0xd677d0)),_0x170b17(0x1a8)!=typeof _0xd677d0?_0xd677d0:parseFloat(_0xd677d0)?{'title':_0xd677d0,'model':_0xd677d0,'view':{'name':_0x170b17(0x1c5),'styles':{'line-height':_0xd677d0}}}:findPreset(_0xd677d0)))[_0x170b17(0x1b5)](_0x1a58e3=>void 0x0!==_0x1a58e3);}export function findPreset(_0x5cc1ef){const _0x36f0da=_0x543e;return _0x36f0da(0x1a8)==typeof _0x5cc1ef?v[_0x5cc1ef]:v[_0x5cc1ef[_0x36f0da(0x1af)]];}function _0x543e(_0x1c703f,_0x20d5b7){const _0x210836=_0x2108();return _0x543e=function(_0x543eba,_0x2387dd){_0x543eba=_0x543eba-0x1a7;let _0x178ff7=_0x210836[_0x543eba];return _0x178ff7;},_0x543e(_0x1c703f,_0x20d5b7);}export function buildDefinition(_0x5ba6cb,_0x4627ec){const _0x5ea4da=_0x543e,_0xd1ce58={'model':{'key':_0x5ba6cb,'values':[]},'view':{}};for(const _0x5d9613 of _0x4627ec)_0x5ea4da(0x1ad)===_0x5d9613[_0x5ea4da(0x1c4)]?.[_0x5ea4da(0x1b6)]?(_0xd1ce58[_0x5ea4da(0x1af)][_0x5ea4da(0x1a7)][_0x5ea4da(0x1ac)](_0x5d9613[_0x5ea4da(0x1af)]),_0xd1ce58[_0x5ea4da(0x1c4)][_0x5d9613[_0x5ea4da(0x1af)]]={'key':_0x5ea4da(0x1ad),'value':_0x5d9613[_0x5ea4da(0x1c4)][_0x5ea4da(0x1c7)]}):(_0xd1ce58[_0x5ea4da(0x1af)][_0x5ea4da(0x1a7)][_0x5ea4da(0x1ac)](_0x5d9613[_0x5ea4da(0x1af)]),_0xd1ce58[_0x5ea4da(0x1c4)][_0x5d9613[_0x5ea4da(0x1af)]]={'key':_0x5ea4da(0x1b1),'value':_0x5ea4da(0x1c0)+_0x5d9613[_0x5ea4da(0x1af)]+';'});return _0xd1ce58;}function _0x2108(){const _0x3c2338=['toLowerCase','12171984ZaOMNX','line-height:','25644pHlqnL','line-height-double','587706jXrcch','view','span','number','value','defaultValue','line-height-single','values','string','4440516qYEtPh','default','9yovWWm','push','class','3wfDjgN','model','3159160UztzFf','style','single','56LlIXNe','double','filter','key','options','54zprNTw','map','20010udECNl','5910945dBDrgD','Double','Single'];_0x2108=function(){return _0x3c2338;};return _0x2108();}
|