@ckeditor/ckeditor5-line-height 47.7.5-alpha.0 → 47.7.5
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 _0x989892=_0x5157;(function(_0x577453,_0xdf6634){const _0xf0e338=_0x5157,_0x545210=_0x577453();while(!![]){try{const _0x55bdca=parseInt(_0xf0e338(0xa4))/0x1*(-parseInt(_0xf0e338(0x91))/0x2)+parseInt(_0xf0e338(0x8a))/0x3+-parseInt(_0xf0e338(0xaf))/0x4+parseInt(_0xf0e338(0x98))/0x5+parseInt(_0xf0e338(0xab))/0x6*(parseInt(_0xf0e338(0xad))/0x7)+parseInt(_0xf0e338(0x96))/0x8+-parseInt(_0xf0e338(0x87))/0x9;if(_0x55bdca===_0xdf6634)break;else _0x545210['push'](_0x545210['shift']());}catch(_0x4863bc){_0x545210['push'](_0x545210['shift']());}}}(_0x1992,0xd0524));import{Plugin as _0x3c322f}from'ckeditor5/src/core.js';function _0x1992(){const _0xc4f59e=['todo-list__label__description','editor','ck-list-marker-line-height','consume','addClass','setStyle','1235746sctvCc','add','match','paragraph','isOfficialPlugin','1163888sZANZt','span','7832745TkgMKY','registerDowncastStrategy','consumable','todo','element:li','high','for','viewItem','getAttribute','name','lineHeight','elementToElement','2jxmIvm','upcast','init','isPremiumPlugin','has','pluginName','ListEditing','6ojDIAn','listType','159439aGKXQS','--ck-content-list-marker-line-height','471432AGocbZ','TodoListEditing','item','2567925RntVeO','get','LineHeightTodoListIntegration','2272203DjxbEi'];_0x1992=function(){return _0xc4f59e;};return _0x1992();}import{Matcher as _0x3860e4}from'ckeditor5/src/engine.js';function _0x5157(_0x1b2eb2,_0x14ab2a){const _0x1992c6=_0x1992();return _0x5157=function(_0x515752,_0x4e3b6d){_0x515752=_0x515752-0x87;let _0x5e7b25=_0x1992c6[_0x515752];return _0x5e7b25;},_0x5157(_0x1b2eb2,_0x14ab2a);}import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x3c322f{static get[_0x989892(0xa9)](){const _0x3c6bcb=_0x989892;return _0x3c6bcb(0x89);}static get[_0x989892(0x95)](){return!0x0;}static get[_0x989892(0xa7)](){return!0x0;}[_0x989892(0xa6)](){const _0x5ec2e8=_0x989892,{plugins:_0xe472ee,conversion:_0x7d3109}=this[_0x5ec2e8(0x8c)];if(!_0xe472ee[_0x5ec2e8(0xa8)](_0x5ec2e8(0xaa))||!_0xe472ee[_0x5ec2e8(0xa8)](_0x5ec2e8(0xb0)))return;_0xe472ee[_0x5ec2e8(0x88)](_0x5ec2e8(0xaa))[_0x5ec2e8(0x99)]({'scope':_0x5ec2e8(0xb1),'attributeName':_0x5ec2e8(0xa2),'consume':!0x1,'setAttributeOnDowncast'(_0x195198,_0x233767,_0x1ebafb,_0x29d246,_0x5f0480){const _0x87fbd2=_0x5ec2e8;_0x87fbd2(0x9b)==_0x5f0480[_0x87fbd2(0xa0)](_0x87fbd2(0xac))&&_0x233767&&(_0x195198[_0x87fbd2(0x8f)](_0x87fbd2(0x8d),_0x1ebafb),_0x195198[_0x87fbd2(0x90)](_0x87fbd2(0xae),_0x233767,_0x1ebafb));}}),_0x7d3109[_0x5ec2e8(0x9e)](_0x5ec2e8(0xa5))[_0x5ec2e8(0xa3)]({'view':{'name':_0x5ec2e8(0x97),'classes':_0x5ec2e8(0x8b)},'model':_0x5ec2e8(0x94),'converterPriority':_0x5ec2e8(0x9d)}),_0x7d3109[_0x5ec2e8(0x9e)](_0x5ec2e8(0xa5))[_0x5ec2e8(0x92)](_0x34a371=>{const _0x1c886f=_0x5ec2e8;_0x34a371['on'](_0x1c886f(0x9c),function(_0x4307af){const _0x2c3028=new _0x3860e4(_0x4307af);return(_0x81fb03,_0x38ae80,_0x554136)=>{const _0x279260=_0x5157,_0x12d3b1=_0x2c3028[_0x279260(0x93)](_0x38ae80[_0x279260(0x9f)]);if(!_0x12d3b1)return;const _0x136890=_0x12d3b1[_0x279260(0x93)];_0x136890[_0x279260(0xa1)]=!0x1,_0x554136[_0x279260(0x9a)][_0x279260(0x8e)](_0x38ae80[_0x279260(0x9f)],_0x136890);};}({'name':'li','classes':_0x1c886f(0x8d),'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 _0x201944=_0x2a40;function _0x52fa(){var _0x30cf87=['51370429LNeRyO','requires','5SXiTHE','4AJnlke','34605MWRSrR','isOfficialPlugin','2408ezQKfv','LineHeight','210246MgcvCc','10KoGLhb','isPremiumPlugin','pluginName','353279BqaUlg','5211318GesXys','6251684QyEEnU','12921300bxozqo'];_0x52fa=function(){return _0x30cf87;};return _0x52fa();}(function(_0xd1be68,_0x3f7761){var _0x5473bf=_0x2a40,_0x2ada9f=_0xd1be68();while(!![]){try{var _0x587c9b=parseInt(_0x5473bf(0x174))/0x1*(-parseInt(_0x5473bf(0x16b))/0x2)+parseInt(_0x5473bf(0x175))/0x3+-parseInt(_0x5473bf(0x176))/0x4*(-parseInt(_0x5473bf(0x17a))/0x5)+parseInt(_0x5473bf(0x170))/0x6+parseInt(_0x5473bf(0x177))/0x7+parseInt(_0x5473bf(0x16e))/0x8*(parseInt(_0x5473bf(0x16c))/0x9)+parseInt(_0x5473bf(0x171))/0xa*(-parseInt(_0x5473bf(0x178))/0xb);if(_0x587c9b===_0x3f7761)break;else _0x2ada9f['push'](_0x2ada9f['shift']());}catch(_0x5b361c){_0x2ada9f['push'](_0x2ada9f['shift']());}}}(_0x52fa,0xeacb4));import{Plugin as _0x3afc83}from'ckeditor5/src/core.js';function _0x2a40(_0x59e153,_0x1873dc){var _0x52fac9=_0x52fa();return _0x2a40=function(_0x2a4053,_0x523493){_0x2a4053=_0x2a4053-0x16b;var _0x38ac41=_0x52fac9[_0x2a4053];return _0x38ac41;},_0x2a40(_0x59e153,_0x1873dc);}import{LineHeightEditing as _0x34f0cd}from'./lineheightediting.js';import{LineHeightUI as _0x5ef0e7}from'./lineheightui.js';export class LineHeight extends _0x3afc83{static get[_0x201944(0x179)](){return[_0x34f0cd,_0x5ef0e7];}static get[_0x201944(0x173)](){var _0x5a3576=_0x201944;return _0x5a3576(0x16f);}static get[_0x201944(0x16d)](){return!0x0;}static get[_0x201944(0x172)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x525d47=_0x4c23;(function(_0x430bbc,_0x4f2ba9){const _0x3e6288=_0x4c23,_0x2573d9=_0x430bbc();while(!![]){try{const _0x3fea80=parseInt(_0x3e6288(0x1ce))/0x1*(-parseInt(_0x3e6288(0x1bc))/0x2)+parseInt(_0x3e6288(0x1bf))/0x3*(parseInt(_0x3e6288(0x1cb))/0x4)+-parseInt(_0x3e6288(0x1ba))/0x5*(parseInt(_0x3e6288(0x1cc))/0x6)+-parseInt(_0x3e6288(0x1bd))/0x7*(-parseInt(_0x3e6288(0x1b6))/0x8)+-parseInt(_0x3e6288(0x1ca))/0x9*(parseInt(_0x3e6288(0x1c9))/0xa)+parseInt(_0x3e6288(0x1c2))/0xb*(parseInt(_0x3e6288(0x1bb))/0xc)+parseInt(_0x3e6288(0x1c4))/0xd*(parseInt(_0x3e6288(0x1b2))/0xe);if(_0x3fea80===_0x4f2ba9)break;else _0x2573d9['push'](_0x2573d9['shift']());}catch(_0x2db461){_0x2573d9['push'](_0x2573d9['shift']());}}}(_0x497c,0x64640));function _0x497c(){const _0x3ae5ce=['770MFAYam','34479Nvzhgd','2727796cDdYPK','6BuvqLJ','filter','703054xRBkwJ','lineHeight','document','refresh','execute','1498PlFqnv','getSelectedBlocks','isEnabled','checkAttribute','24VxIIfm','editor','change','getAttribute','161205WmbdvJ','54672EwVeUh','2hMIDFE','517538MJgLtD','removeAttribute','3AviPkN','value','selection','1111rNJRyH','schema','9425GAdrmm','from','_canHaveLineHeight','setAttribute','model'];_0x497c=function(){return _0x3ae5ce;};return _0x497c();}import{Command as _0x5b8142}from'ckeditor5/src/core.js';import{first as _0x19ead1}from'ckeditor5/src/utils.js';function _0x4c23(_0x193434,_0xecc5d6){const _0x497c95=_0x497c();return _0x4c23=function(_0x4c2311,_0x3609dd){_0x4c2311=_0x4c2311-0x1b2;let _0x5a6307=_0x497c95[_0x4c2311];return _0x5a6307;},_0x4c23(_0x193434,_0xecc5d6);}export class LineHeightCommand extends _0x5b8142{[_0x525d47(0x1d1)](){const _0x24a02d=_0x525d47,_0x1d5a4d=this[_0x24a02d(0x1b7)][_0x24a02d(0x1c8)][_0x24a02d(0x1d0)],_0x25f66e=_0x19ead1(_0x1d5a4d[_0x24a02d(0x1c1)][_0x24a02d(0x1b3)]());this[_0x24a02d(0x1b4)]=Boolean(_0x25f66e)&&this[_0x24a02d(0x1c6)](_0x25f66e),this[_0x24a02d(0x1c0)]=this[_0x24a02d(0x1b4)]&&_0x25f66e[_0x24a02d(0x1b9)](_0x24a02d(0x1cf));}[_0x525d47(0x1d2)](_0x3a7914={}){const _0x4bd87c=_0x525d47,_0x3617b6=this[_0x4bd87c(0x1b7)][_0x4bd87c(0x1c8)],_0x145463=_0x3617b6[_0x4bd87c(0x1d0)][_0x4bd87c(0x1c1)],_0xe35fd7=_0x3a7914[_0x4bd87c(0x1c0)];_0x3617b6[_0x4bd87c(0x1b8)](_0x31beec=>{const _0x12dd90=_0x4bd87c,_0x5eaf8e=Array[_0x12dd90(0x1c5)](_0x145463[_0x12dd90(0x1b3)]())[_0x12dd90(0x1cd)](_0x4b5277=>this[_0x12dd90(0x1c6)](_0x4b5277));for(const _0x49aa38 of _0x5eaf8e)_0xe35fd7?_0x31beec[_0x12dd90(0x1c7)](_0x12dd90(0x1cf),_0xe35fd7,_0x49aa38):_0x31beec[_0x12dd90(0x1be)](_0x12dd90(0x1cf),_0x49aa38);});}[_0x525d47(0x1c6)](_0x425c07){const _0xa6070=_0x525d47;return this[_0xa6070(0x1b7)][_0xa6070(0x1c8)][_0xa6070(0x1c3)][_0xa6070(0x1b5)](_0x425c07,_0xa6070(0x1cf));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x35156a=_0x11bc;(function(_0x2d9df9,_0x369ed6){const _0x328a49=_0x11bc,_0x1b1447=_0x2d9df9();while(!![]){try{const _0x4cc0ce=parseInt(_0x328a49(0xec))/0x1+-parseInt(_0x328a49(0xdd))/0x2+parseInt(_0x328a49(0xe1))/0x3+-parseInt(_0x328a49(0xf8))/0x4+parseInt(_0x328a49(0x104))/0x5+-parseInt(_0x328a49(0xf0))/0x6*(-parseInt(_0x328a49(0xe5))/0x7)+parseInt(_0x328a49(0x109))/0x8*(-parseInt(_0x328a49(0xe0))/0x9);if(_0x4cc0ce===_0x369ed6)break;else _0x1b1447['push'](_0x1b1447['shift']());}catch(_0x4c9cfe){_0x1b1447['push'](_0x1b1447['shift']());}}}(_0x5f32,0x67ea0));import{Plugin as _0x24f942}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x499bd5}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x9e977}from'ckeditor5/src/engine.js';function _0x5f32(){const _0x37e63b=['_preparePredefinedConverters','1489720vZDotS','downcast','afterInit','values','get','24ekaTrH','lineHeight','conversion','_prepareAnyValueConverters','$block','setAttributeProperties','commands','define','lineHeight.supportAllValues','_validateConfig','814570NHAdXi','for','default','1175922xsjLPz','2026779ArqAQH','map','init','lineHeight.defaultValue','14vJWQNn','editor','filter','line-height','add','upcast','attributeToAttribute','246245ISvYBH','line-height-invalid-use-of-named-presets','model','length','2114754ijWqPv','join','fromCharCode','string','getStyle','config','lineHeight.options','LineHeightEditing','2799236msZMwI','schema','includes','slice','style','isOfficialPlugin','extend','pluginName','isPremiumPlugin','href','requires'];_0x5f32=function(){return _0x37e63b;};return _0x5f32();}import{uid as _0x5730b3,CKEditorError as _0x1fba87}from'ckeditor5/src/utils.js';function _0x11bc(_0x46a7eb,_0x50f0ac){const _0x5f324b=_0x5f32();return _0x11bc=function(_0x11bc34,_0x400213){_0x11bc34=_0x11bc34-0xdd;let _0x5235aa=_0x5f324b[_0x11bc34];return _0x5235aa;},_0x11bc(_0x46a7eb,_0x50f0ac);}import{buildDefinition as _0x5289e4,isLineHeightDefaultValue as _0x428d89,normalizeOptions as _0x1fd829}from'./utils.js';import{LineHeightTodoListIntegration as _0x35df2a}from'./integrations/todolist.js';export class LineHeightEditing extends _0x24f942{static get[_0x35156a(0xff)](){const _0x4c9d92=_0x35156a;return _0x4c9d92(0xf7);}static get[_0x35156a(0x102)](){return[_0x35df2a];}static get[_0x35156a(0xfd)](){return!0x0;}static get[_0x35156a(0x100)](){return!0x0;}constructor(_0x197144){const _0x319cb9=_0x35156a;super(_0x197144),_0x197144[_0x319cb9(0xf5)][_0x319cb9(0x110)](_0x319cb9(0x10a),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x319cb9(0xdf),0x2,2.5,0x3]});}[_0x35156a(0xe3)](){const _0x837752=_0x35156a,_0x49fe37=this[_0x837752(0xe6)];this[_0x837752(0x112)](),_0x49fe37[_0x837752(0xee)][_0x837752(0xf9)][_0x837752(0xfe)](_0x837752(0x10d),{'allowAttributes':_0x837752(0x10a)}),_0x49fe37[_0x837752(0xee)][_0x837752(0xf9)][_0x837752(0x10e)](_0x837752(0x10a),{'isFormatting':!0x0}),_0x49fe37[_0x837752(0x10f)][_0x837752(0xe9)](_0x837752(0x10a),new _0x499bd5(_0x49fe37)),this[_0x837752(0xe6)][_0x837752(0xf5)][_0x837752(0x108)](_0x837752(0x111))?this[_0x837752(0x10c)]():this[_0x837752(0x103)]();}[_0x35156a(0x106)](){!async function(_0x21e8fa){const _0x6a2e1b=_0x3e8603([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]),_0x4881f5=0x45ddd215,_0x45b4e9=0x45da47e5^_0x4881f5,_0x487439=window[_0x3e8603([0x44,0x61,0x74,0x65])][_0x3e8603([0x6e,0x6f,0x77])](),_0x30ff26=_0x21e8fa[_0x3e8603([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x211e9a=new window[(_0x3e8603([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42c910=>{_0x30ff26[_0x3e8603([0x6f,0x6e,0x63,0x65])](_0x3e8603([0x72,0x65,0x61,0x64,0x79]),_0x42c910);}),_0x4c005a={[_0x3e8603([0x6b,0x74,0x79])]:_0x3e8603([0x45,0x43]),[_0x3e8603([0x75,0x73,0x65])]:_0x3e8603([0x73,0x69,0x67]),[_0x3e8603([0x63,0x72,0x76])]:_0x3e8603([0x50,0x2d,0x32,0x35,0x36]),[_0x3e8603([0x78])]:_0x3e8603([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]),[_0x3e8603([0x79])]:_0x3e8603([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]),[_0x3e8603([0x61,0x6c,0x67])]:_0x3e8603([0x45,0x53,0x32,0x35,0x36])},_0x1dc93e=_0x30ff26[_0x3e8603([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e8603([0x67,0x65,0x74])](_0x3e8603([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x54c895(){let _0x320d88,_0x48eb11=null,_0x3de28b=null;try{if(_0x1dc93e==_0x3e8603([0x47,0x50,0x4c]))return _0x3e8603([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x320d88=_0x14c4d4(),!_0x320d88)return _0x3e8603([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x320d88[_0x3e8603([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3de28b=_0x51fa60(_0x320d88[_0x3e8603([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x320d88[_0x3e8603([0x6a,0x74,0x69])])),await _0x1ca063()?_0x528993()?_0x854bbd()?_0x3e8603([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1210fe()?(_0x320d88[_0x3e8603([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e8603([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x48eb11=_0x235912(_0x3e8603([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x202e6b()):_0x3e8603([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e8603([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e8603([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e8603([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x854bbd(){const _0x5e19a0=[_0x3e8603([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e8603([0x74,0x72,0x69,0x61,0x6c])][_0x3e8603([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x320d88[_0x3e8603([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x487439/0x3e8:0xe10*_0x45b4e9;return _0x320d88[_0x3e8603([0x65,0x78,0x70])]<_0x5e19a0;}function _0x528993(){const _0x2e74a6=_0x320d88[_0x3e8603([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2e74a6&&(!!_0x2e74a6[_0x3e8603([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e8603([0x2a]))||!!_0x2e74a6[_0x3e8603([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e8603([0x4c,0x48])));}function _0x1210fe(){const _0x98431f=_0x11bc,_0x5ad092=_0x320d88[_0x3e8603([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5ad092||0x0==_0x5ad092[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2b036e}=new URL(window[_0x3e8603([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x98431f(0x101)]);if(_0x5ad092[_0x3e8603([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b036e))return!0x0;const _0x30f85d=_0x2b036e[_0x3e8603([0x73,0x70,0x6c,0x69,0x74])](_0x3e8603([0x2e]));return _0x5ad092[_0x3e8603([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f7db7=>_0x4f7db7[_0x3e8603([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e8603([0x2a])))[_0x3e8603([0x6d,0x61,0x70])](_0x277ea3=>_0x277ea3[_0x3e8603([0x73,0x70,0x6c,0x69,0x74])](_0x3e8603([0x2e])))[_0x3e8603([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ee02e=>_0x1ee02e[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x30f85d[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e8603([0x6d,0x61,0x70])](_0x37bc79=>Array(_0x30f85d[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x37bc79[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e8603([0x66,0x69,0x6c,0x6c])](_0x37bc79[0x0]===_0x3e8603([0x2a])?_0x3e8603([0x2a]):'')[_0x3e8603([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x37bc79))[_0x3e8603([0x73,0x6f,0x6d,0x65])](_0x577314=>_0x30f85d[_0x3e8603([0x65,0x76,0x65,0x72,0x79])]((_0x368156,_0xa7a16d)=>_0x577314[_0xa7a16d]===_0x368156||_0x577314[_0xa7a16d]===_0x3e8603([0x2a])));}function _0x202e6b(){return _0x48eb11&&_0x3de28b?new window[(_0x3e8603([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbac3e5,_0x384726)=>{_0x48eb11[_0x3e8603([0x74,0x68,0x65,0x6e])](_0xbac3e5,_0x384726),_0x3de28b[_0x3e8603([0x74,0x68,0x65,0x6e])](_0x37c8e8=>{_0x37c8e8!=_0x3e8603([0x56,0x61,0x6c,0x69,0x64])&&_0xbac3e5(_0x37c8e8);},_0x384726);}):_0x48eb11||_0x3de28b||_0x3e8603([0x56,0x61,0x6c,0x69,0x64]);}}function _0x51fa60(_0x2e837d,_0x607e29){return new window[(_0x3e8603([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35012c=>{if(_0x5c92c7())return _0x35012c(_0x3e8603([0x56,0x61,0x6c,0x69,0x64]));_0x12cdd6(),_0x30ff26[_0x3e8603([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e8603([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x557762=!0x1;const _0x37ca91=_0x5730b3();function _0x348008(_0x4122ce){return!!_0x4122ce&&(typeof _0x4122ce===_0x3e8603([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4122ce===_0x3e8603([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4122ce[_0x3e8603([0x74,0x68,0x65,0x6e])]===_0x3e8603([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4122ce[_0x3e8603([0x63,0x61,0x74,0x63,0x68])]===_0x3e8603([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x7f66dd(_0x52737f){_0xf6b254(_0x52737f)[_0x3e8603([0x74,0x68,0x65,0x6e])](_0x5bf9c1=>{if(!_0x5bf9c1||_0x5bf9c1[_0x3e8603([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e8603([0x6f,0x6b]))return _0x3e8603([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xc47cdd(_0x285a55(_0x37ca91+_0x607e29))!=_0x5bf9c1[_0x3e8603([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e8603([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e8603([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e8603([0x74,0x68,0x65,0x6e])](_0x50a6ef=>(_0x302fb0(),_0x50a6ef),()=>{const _0x15f963=_0x2e0e0a();return null==_0x15f963?(_0x302fb0(),_0x3e8603([0x56,0x61,0x6c,0x69,0x64])):_0x3e8603(_0x487439-_0x15f963>(0x61d15615^_0x4881f5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e8603([0x74,0x68,0x65,0x6e])](_0x35012c)[_0x3e8603([0x63,0x61,0x74,0x63,0x68])](()=>{_0x35012c(_0x3e8603([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x448e7b=0x45eb3c95^_0x4881f5;function _0x302fb0(){const _0x4781ce=_0x3e8603([0x6c,0x6c,0x63,0x74,0x2d])+_0xc47cdd(_0x285a55(_0x2e837d)),_0x48b005=_0x1e6fcc(_0xc47cdd(window[_0x3e8603([0x4d,0x61,0x74,0x68])][_0x3e8603([0x63,0x65,0x69,0x6c])](_0x487439/_0x448e7b)));window[_0x3e8603([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e8603([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4781ce,_0x48b005);}function _0x2e0e0a(){const _0x12ee59=_0x3e8603([0x6c,0x6c,0x63,0x74,0x2d])+_0xc47cdd(_0x285a55(_0x2e837d)),_0x3b0503=window[_0x3e8603([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e8603([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12ee59);return _0x3b0503?window[_0x3e8603([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e6fcc(_0x3b0503),0x10)*_0x448e7b:null;}function _0xf6b254(_0x2a74de){return new window[(_0x3e8603([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4158b1,_0x3bd090)=>{_0x2a74de[_0x3e8603([0x74,0x68,0x65,0x6e])](_0x4158b1,_0x3bd090),window[_0x3e8603([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3bd090,0x45dc06d5^_0x4881f5);});}}_0x30ff26[_0x3e8603([0x6f,0x6e])](_0x3e8603([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4c7b76,_0x4f8c8f)=>{if(_0x4f8c8f[0x0]!=_0x2e837d)return _0x35012c(_0x3e8603([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4f8c8f[0x1]={..._0x4f8c8f[0x1],[_0x3e8603([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x37ca91};},{[_0x3e8603([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e8603([0x68,0x69,0x67,0x68])}),_0x30ff26[_0x3e8603([0x6f,0x6e])](_0x3e8603([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x50ebaa=>{_0x348008(_0x50ebaa[_0x3e8603([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x557762=!0x0,_0x7f66dd(_0x50ebaa[_0x3e8603([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e8603([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e8603([0x6c,0x6f,0x77])}),_0x211e9a[_0x3e8603([0x74,0x68,0x65,0x6e])](()=>{_0x557762||_0x35012c(_0x3e8603([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c92c7(){return _0x30ff26[_0x3e8603([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e8603([0x76,0x69,0x65,0x77])][_0x3e8603([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e8603([0x61,0x75,0x74,0x6f]);}function _0x12cdd6(){_0x30ff26[_0x3e8603([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e8603([0x76,0x69,0x65,0x77])][_0x3e8603([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e8603([0x61,0x75,0x74,0x6f]);}}function _0x235912(_0x44dcc7){const _0x88e6e9=[new window[(_0x3e8603([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x338025=>setTimeout(_0x338025,0x45d4ecd9^_0x4881f5)),_0x211e9a[_0x3e8603([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e8603([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bc251=>{let _0x1221dd=0x0;_0x30ff26[_0x3e8603([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e8603([0x6f,0x6e])](_0x3e8603([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x21408a,_0xa55bb9)=>{_0xa55bb9[0x0][_0x3e8603([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1221dd++,_0x1221dd==(0x45ddd7fd^_0x4881f5)&&(_0x1bc251(),_0x21408a[_0x3e8603([0x6f,0x66,0x66])]());});}))];return window[_0x3e8603([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e8603([0x72,0x61,0x63,0x65])](_0x88e6e9)[_0x3e8603([0x74,0x68,0x65,0x6e])](()=>_0x44dcc7);}async function _0x46238c(){await _0x211e9a,_0x30ff26[_0x3e8603([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e8603([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5e134e,_0x30ff26[_0x3e8603([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e8603([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5e134e,_0x30ff26[_0x3e8603([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e8603([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4daec7(_0x293808){const _0x20a639=_0x4177f5();_0x30ff26[_0x20a639]=_0x3e8603([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x293808,_0x293808!=_0x3e8603([0x56,0x61,0x6c,0x69,0x64])&&_0x46238c();}function _0x4177f5(){const _0x205bbd=window[_0x3e8603([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e8603([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e8603([0x6e,0x6f,0x77])]())[_0x3e8603([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e8603([0x2e]),'');let _0xa5a9bf=_0x3e8603([0x50]);for(let _0x37e6b6=0x0;_0x37e6b6<_0x205bbd[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37e6b6+=0x2){let _0x248b5b=window[_0x3e8603([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x205bbd[_0x3e8603([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37e6b6,_0x37e6b6+0x2));_0x248b5b>=_0x6a2e1b[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x248b5b-=_0x6a2e1b[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa5a9bf+=_0x6a2e1b[_0x248b5b];}return _0xa5a9bf;}function _0x14c4d4(){const _0xeab7ce=_0x1dc93e[_0x3e8603([0x73,0x70,0x6c,0x69,0x74])](_0x3e8603([0x2e]));if(0x3!=_0xeab7ce[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x18d951(_0xeab7ce[0x1]);function _0x18d951(_0xe8c9d2){const _0x1f230c=_0x53ae9c(_0xe8c9d2);return _0x1f230c&&_0x433107()?_0x1f230c:null;function _0x433107(){const _0x599f43=_0x1f230c[_0x3e8603([0x6a,0x74,0x69])],_0x26d943=window[_0x3e8603([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x599f43[_0x3e8603([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x599f43[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1e90b1={..._0x1f230c,[_0x3e8603([0x6a,0x74,0x69])]:_0x599f43[_0x3e8603([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x599f43[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1e90b1[_0x3e8603([0x76,0x63])],_0x285a55(_0x1e90b1)==_0x26d943;}}}async function _0x1ca063(){let _0x4e39a0=!0x0;try{const _0x1c3440=_0x1dc93e[_0x3e8603([0x73,0x70,0x6c,0x69,0x74])](_0x3e8603([0x2e])),[_0x4a8d52,_0x18b453,_0x1d8d5e]=_0x1c3440;return _0x2ca283(_0x4a8d52),await _0xbd800c(_0x4a8d52,_0x18b453,_0x1d8d5e),_0x4e39a0;}catch{return!0x1;}function _0x2ca283(_0x151789){const _0x3c5832=_0x53ae9c(_0x151789);_0x3c5832&&_0x3c5832[_0x3e8603([0x61,0x6c,0x67])]==_0x3e8603([0x45,0x53,0x32,0x35,0x36])||(_0x4e39a0=!0x1);}async function _0xbd800c(_0x56fb7b,_0x1e26cb,_0x3d2fbb){const _0x5d1b84=window[_0x3e8603([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e8603([0x66,0x72,0x6f,0x6d])](_0xb2e39b(_0x3d2fbb),_0x33fc2a=>_0x33fc2a[_0x3e8603([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x26790c=new window[(_0x3e8603([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e8603([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x56fb7b+_0x3e8603([0x2e])+_0x1e26cb),_0x4972cc=window[_0x3e8603([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e8603([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4972cc)return;const _0x1fdce2=await _0x4972cc[_0x3e8603([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e8603([0x6a,0x77,0x6b]),_0x4c005a,{[_0x3e8603([0x6e,0x61,0x6d,0x65])]:_0x3e8603([0x45,0x43,0x44,0x53,0x41]),[_0x3e8603([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e8603([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e8603([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4972cc[_0x3e8603([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e8603([0x6e,0x61,0x6d,0x65])]:_0x3e8603([0x45,0x43,0x44,0x53,0x41]),[_0x3e8603([0x68,0x61,0x73,0x68])]:{[_0x3e8603([0x6e,0x61,0x6d,0x65])]:_0x3e8603([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1fdce2,_0x5d1b84,_0x26790c)||(_0x4e39a0=!0x1);}}function _0x53ae9c(_0x4d33ec){return _0x4d33ec[_0x3e8603([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e8603([0x65,0x79]))?JSON[_0x3e8603([0x70,0x61,0x72,0x73,0x65])](_0xb2e39b(_0x4d33ec)):null;}function _0xb2e39b(_0x5a8a84){return window[_0x3e8603([0x61,0x74,0x6f,0x62])](_0x5a8a84[_0x3e8603([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e8603([0x2b]))[_0x3e8603([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e8603([0x2f])));}function _0x285a55(_0x4af291){let _0x4cc808=0x1505;function _0x497c01(_0x43323f){for(let _0x5e2c7e=0x0;_0x5e2c7e<_0x43323f[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e2c7e++){const _0x9760b5=_0x43323f[_0x3e8603([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e2c7e);_0x4cc808=(_0x4cc808<<0x5)+_0x4cc808+_0x9760b5,_0x4cc808&=_0x4cc808;}}function _0x3aaa04(_0x444c54){Array[_0x3e8603([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x444c54)?_0x444c54[_0x3e8603([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3aaa04):_0x444c54&&typeof _0x444c54==_0x3e8603([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e8603([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x444c54)[_0x3e8603([0x73,0x6f,0x72,0x74])]()[_0x3e8603([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb9ce0a,_0x325796])=>{_0x497c01(_0xb9ce0a),_0x3aaa04(_0x325796);}):_0x497c01(window[_0x3e8603([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x444c54));}return _0x3aaa04(_0x4af291),_0x4cc808>>>0x0;}function _0xc47cdd(_0x1cb759){return _0x1cb759[_0x3e8603([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e8603([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e8603([0x30]));}function _0x1e6fcc(_0x10f7e8){return _0x10f7e8[_0x3e8603([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e8603([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e8603([0x6a,0x6f,0x69,0x6e])]('');}function _0x5e134e(){}function _0x3e8603(_0x7fc462){const _0x484b9a=_0x11bc;return _0x7fc462[_0x484b9a(0xe2)](_0x1bcbe7=>String[_0x484b9a(0xf2)](_0x1bcbe7))[_0x484b9a(0xf1)]('');}_0x4daec7(await _0x54c895());}(this);}[_0x35156a(0x112)](){const _0x5a06b2=_0x35156a,_0xf56b64=this[_0x5a06b2(0xe6)];if(!_0xf56b64[_0x5a06b2(0xf5)][_0x5a06b2(0x108)](_0x5a06b2(0x111)))return;const _0x4fad22=_0xf56b64[_0x5a06b2(0xf5)][_0x5a06b2(0x108)](_0x5a06b2(0xf6))[_0x5a06b2(0xe7)](_0x588882=>_0x5a06b2(0xf3)==typeof _0x588882&&(!_0x428d89(_0x588882)&&isNaN(Number(_0x588882))));if(_0x4fad22[_0x5a06b2(0xef)])throw new _0x1fba87(_0x5a06b2(0xed),null,{'namedPresets':_0x4fad22});}[_0x35156a(0x10c)](){const _0x113186=_0x35156a,_0x43d20b=this[_0x113186(0xe6)],_0x6ed932=this[_0x113186(0xe6)][_0x113186(0xf5)][_0x113186(0x108)](_0x113186(0xe4));_0x43d20b[_0x113186(0x10b)][_0x113186(0xde)](_0x113186(0x105))[_0x113186(0xeb)]({'model':{'key':_0x113186(0x10a)},'view':_0x24f395=>String(_0x24f395)===String(_0x6ed932)?null:{'key':_0x113186(0xfc),'value':{'line-height':_0x24f395}}}),_0x43d20b[_0x113186(0x10b)][_0x113186(0xde)](_0x113186(0xea))[_0x113186(0xeb)]({'model':{'key':_0x113186(0x10a),'value':_0x144ae0=>{const _0x19e535=_0x113186;let _0x4a7bb8=_0x144ae0[_0x19e535(0xf4)](_0x19e535(0xe8));return _0x9e977(_0x4a7bb8)&&(_0x4a7bb8=String(Number(_0x4a7bb8[_0x19e535(0xfb)](0x0,-0x1))/0x64)),String(_0x4a7bb8)===String(_0x6ed932)?null:_0x4a7bb8;}},'view':{'styles':{'line-height':/.*/}}});}[_0x35156a(0x103)](){const _0x55cf7b=_0x35156a,_0x27adb7=this[_0x55cf7b(0xe6)],_0x7c1d4b=this[_0x55cf7b(0xe6)][_0x55cf7b(0xf5)][_0x55cf7b(0x108)](_0x55cf7b(0xe4)),_0x34a82e=_0x1fd829(this[_0x55cf7b(0xe6)][_0x55cf7b(0xf5)][_0x55cf7b(0x108)](_0x55cf7b(0x10a)))[_0x55cf7b(0xe7)](_0x3fcbb1=>_0x3fcbb1[_0x55cf7b(0xee)]),_0x291867=_0x5289e4(_0x55cf7b(0x10a),_0x34a82e);_0x27adb7[_0x55cf7b(0x10b)][_0x55cf7b(0xeb)](_0x291867),_0x27adb7[_0x55cf7b(0x10b)][_0x55cf7b(0xde)](_0x55cf7b(0xea))[_0x55cf7b(0xeb)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x55cf7b(0x10a),'value':_0x3a1294=>{const _0x1adb13=_0x55cf7b;let _0x3a162a=_0x3a1294[_0x1adb13(0xf4)](_0x1adb13(0xe8));return _0x9e977(_0x3a162a)&&(_0x3a162a=String(Number(_0x3a162a[_0x1adb13(0xfb)](0x0,-0x1))/0x64)),_0x3a162a===String(_0x7c1d4b)?null:_0x291867[_0x1adb13(0xee)][_0x1adb13(0x107)][_0x1adb13(0xfa)](_0x3a162a)?_0x3a162a:null;}}});}}
|
|
23
|
+
const _0xce4912=_0x57b2;(function(_0x26e9dc,_0x401990){const _0x1b0e67=_0x57b2,_0x2377a5=_0x26e9dc();while(!![]){try{const _0x27da6b=parseInt(_0x1b0e67(0xff))/0x1*(parseInt(_0x1b0e67(0xe3))/0x2)+-parseInt(_0x1b0e67(0xf8))/0x3+parseInt(_0x1b0e67(0xdd))/0x4*(-parseInt(_0x1b0e67(0xe1))/0x5)+parseInt(_0x1b0e67(0xfd))/0x6+parseInt(_0x1b0e67(0xf0))/0x7*(parseInt(_0x1b0e67(0xd8))/0x8)+-parseInt(_0x1b0e67(0xda))/0x9*(parseInt(_0x1b0e67(0xe5))/0xa)+-parseInt(_0x1b0e67(0xf7))/0xb;if(_0x27da6b===_0x401990)break;else _0x2377a5['push'](_0x2377a5['shift']());}catch(_0x365119){_0x2377a5['push'](_0x2377a5['shift']());}}}(_0x4ce4,0xd6cc8));import{Plugin as _0x4e04fd}from'ckeditor5/src/core.js';function _0x57b2(_0xf55f7e,_0x478ec9){const _0x4ce4ef=_0x4ce4();return _0x57b2=function(_0x57b203,_0x2cd753){_0x57b203=_0x57b203-0xcc;let _0x3e04b5=_0x4ce4ef[_0x57b203];return _0x3e04b5;},_0x57b2(_0xf55f7e,_0x478ec9);}import{LineHeightCommand as _0x8ab3c3}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x14c146}from'ckeditor5/src/engine.js';import{uid as _0x40ad1e,CKEditorError as _0x5f0887}from'ckeditor5/src/utils.js';import{buildDefinition as _0x306355,isLineHeightDefaultValue as _0x2e45ab,normalizeOptions as _0x50d351}from'./utils.js';import{LineHeightTodoListIntegration as _0x3db317}from'./integrations/todolist.js';export class LineHeightEditing extends _0x4e04fd{static get[_0xce4912(0xfc)](){const _0x4533e1=_0xce4912;return _0x4533e1(0xf5);}static get[_0xce4912(0xcc)](){return[_0x3db317];}static get[_0xce4912(0xea)](){return!0x0;}static get[_0xce4912(0xfe)](){return!0x0;}constructor(_0x231569){const _0x5e3650=_0xce4912;super(_0x231569),_0x231569[_0x5e3650(0xe9)][_0x5e3650(0xd1)](_0x5e3650(0xe7),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x5e3650(0x102),0x2,2.5,0x3]});}[_0xce4912(0xed)](){const _0x5b136e=_0xce4912,_0x5ee659=this[_0x5b136e(0x103)];this[_0x5b136e(0xf4)](),_0x5ee659[_0x5b136e(0xdb)][_0x5b136e(0xdc)][_0x5b136e(0xef)](_0x5b136e(0xf1),{'allowAttributes':_0x5b136e(0xe7)}),_0x5ee659[_0x5b136e(0xdb)][_0x5b136e(0xdc)][_0x5b136e(0x100)](_0x5b136e(0xe7),{'isFormatting':!0x0}),_0x5ee659[_0x5b136e(0xde)][_0x5b136e(0xe8)](_0x5b136e(0xe7),new _0x8ab3c3(_0x5ee659)),this[_0x5b136e(0x103)][_0x5b136e(0xe9)][_0x5b136e(0xdf)](_0x5b136e(0xf2))?this[_0x5b136e(0xe6)]():this[_0x5b136e(0xd7)]();}[_0xce4912(0xfb)](){!async function(_0x225195){const _0x148478=_0x37b3f5([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]),_0x319f61=0x45ddd215,_0x2f92b0=0x45da4445^_0x319f61,_0x589d27=window[_0x37b3f5([0x44,0x61,0x74,0x65])][_0x37b3f5([0x6e,0x6f,0x77])](),_0x2264a1=_0x225195[_0x37b3f5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x65b835=new window[(_0x37b3f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5efa50=>{_0x2264a1[_0x37b3f5([0x6f,0x6e,0x63,0x65])](_0x37b3f5([0x72,0x65,0x61,0x64,0x79]),_0x5efa50);}),_0x1b1fde={[_0x37b3f5([0x6b,0x74,0x79])]:_0x37b3f5([0x45,0x43]),[_0x37b3f5([0x75,0x73,0x65])]:_0x37b3f5([0x73,0x69,0x67]),[_0x37b3f5([0x63,0x72,0x76])]:_0x37b3f5([0x50,0x2d,0x32,0x35,0x36]),[_0x37b3f5([0x78])]:_0x37b3f5([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]),[_0x37b3f5([0x79])]:_0x37b3f5([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]),[_0x37b3f5([0x61,0x6c,0x67])]:_0x37b3f5([0x45,0x53,0x32,0x35,0x36])},_0x1b8f4a=_0x2264a1[_0x37b3f5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x37b3f5([0x67,0x65,0x74])](_0x37b3f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x42747d(){let _0x28f8ef,_0x2624d0=null,_0x38c954=null;try{if(_0x1b8f4a==_0x37b3f5([0x47,0x50,0x4c]))return _0x37b3f5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x28f8ef=_0x32a1de(),!_0x28f8ef)return _0x37b3f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x28f8ef[_0x37b3f5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x38c954=_0x3234c1(_0x28f8ef[_0x37b3f5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x28f8ef[_0x37b3f5([0x6a,0x74,0x69])])),await _0x426d6b()?_0x417e69()?_0x424d72()?_0x37b3f5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1ccac3()?(_0x28f8ef[_0x37b3f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x37b3f5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2624d0=_0x20da6e(_0x37b3f5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x19cb5b()):_0x37b3f5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x37b3f5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x37b3f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x37b3f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x424d72(){const _0x4cf2ea=[_0x37b3f5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x37b3f5([0x74,0x72,0x69,0x61,0x6c])][_0x37b3f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28f8ef[_0x37b3f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x589d27/0x3e8:0xe10*_0x2f92b0;return _0x28f8ef[_0x37b3f5([0x65,0x78,0x70])]<_0x4cf2ea;}function _0x417e69(){const _0x50f8f8=_0x28f8ef[_0x37b3f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x50f8f8&&(!!_0x50f8f8[_0x37b3f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37b3f5([0x2a]))||!!_0x50f8f8[_0x37b3f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37b3f5([0x4c,0x48])));}function _0x1ccac3(){const _0x2c5613=_0x57b2,_0x39b707=_0x28f8ef[_0x37b3f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x39b707||0x0==_0x39b707[_0x37b3f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1b9f11}=new URL(window[_0x37b3f5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2c5613(0xe0)]);if(_0x39b707[_0x37b3f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b9f11))return!0x0;const _0x302e2c=_0x1b9f11[_0x37b3f5([0x73,0x70,0x6c,0x69,0x74])](_0x37b3f5([0x2e]));return _0x39b707[_0x37b3f5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40b9e8=>_0x40b9e8[_0x37b3f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37b3f5([0x2a])))[_0x37b3f5([0x6d,0x61,0x70])](_0x5898dd=>_0x5898dd[_0x37b3f5([0x73,0x70,0x6c,0x69,0x74])](_0x37b3f5([0x2e])))[_0x37b3f5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x59c03b=>_0x59c03b[_0x37b3f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x302e2c[_0x37b3f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x37b3f5([0x6d,0x61,0x70])](_0x108732=>Array(_0x302e2c[_0x37b3f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x108732[_0x37b3f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x37b3f5([0x66,0x69,0x6c,0x6c])](_0x108732[0x0]===_0x37b3f5([0x2a])?_0x37b3f5([0x2a]):'')[_0x37b3f5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x108732))[_0x37b3f5([0x73,0x6f,0x6d,0x65])](_0x3f3649=>_0x302e2c[_0x37b3f5([0x65,0x76,0x65,0x72,0x79])]((_0x52e549,_0x3abc61)=>_0x3f3649[_0x3abc61]===_0x52e549||_0x3f3649[_0x3abc61]===_0x37b3f5([0x2a])));}function _0x19cb5b(){return _0x2624d0&&_0x38c954?new window[(_0x37b3f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf898fc,_0x558c56)=>{_0x2624d0[_0x37b3f5([0x74,0x68,0x65,0x6e])](_0xf898fc,_0x558c56),_0x38c954[_0x37b3f5([0x74,0x68,0x65,0x6e])](_0x1c3c37=>{_0x1c3c37!=_0x37b3f5([0x56,0x61,0x6c,0x69,0x64])&&_0xf898fc(_0x1c3c37);},_0x558c56);}):_0x2624d0||_0x38c954||_0x37b3f5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3234c1(_0x5a4df6,_0x41269a){return new window[(_0x37b3f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c7a24=>{if(_0x3f7ef6())return _0x4c7a24(_0x37b3f5([0x56,0x61,0x6c,0x69,0x64]));_0x3f64e4(),_0x2264a1[_0x37b3f5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x37b3f5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x263ac9=!0x1;const _0x5ddb8b=_0x40ad1e();function _0x3af23c(_0x286a69){return!!_0x286a69&&(typeof _0x286a69===_0x37b3f5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x286a69===_0x37b3f5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x286a69[_0x37b3f5([0x74,0x68,0x65,0x6e])]===_0x37b3f5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x286a69[_0x37b3f5([0x63,0x61,0x74,0x63,0x68])]===_0x37b3f5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x57cf3e(_0x5ce112){_0x1f3053(_0x5ce112)[_0x37b3f5([0x74,0x68,0x65,0x6e])](_0x4115ae=>{if(!_0x4115ae||_0x4115ae[_0x37b3f5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x37b3f5([0x6f,0x6b]))return _0x37b3f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x291f30(_0x5b1d65(_0x5ddb8b+_0x41269a))!=_0x4115ae[_0x37b3f5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x37b3f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x37b3f5([0x56,0x61,0x6c,0x69,0x64]);})[_0x37b3f5([0x74,0x68,0x65,0x6e])](_0xd970c9=>(_0x1106ab(),_0xd970c9),()=>{const _0x215a48=_0x5c9288();return null==_0x215a48?(_0x1106ab(),_0x37b3f5([0x56,0x61,0x6c,0x69,0x64])):_0x37b3f5(_0x589d27-_0x215a48>(0x61d15615^_0x319f61)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x37b3f5([0x74,0x68,0x65,0x6e])](_0x4c7a24)[_0x37b3f5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c7a24(_0x37b3f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5da873=0x45eb3c95^_0x319f61;function _0x1106ab(){const _0xfdbb4=_0x37b3f5([0x6c,0x6c,0x63,0x74,0x2d])+_0x291f30(_0x5b1d65(_0x5a4df6)),_0x15ffda=_0x4d89c8(_0x291f30(window[_0x37b3f5([0x4d,0x61,0x74,0x68])][_0x37b3f5([0x63,0x65,0x69,0x6c])](_0x589d27/_0x5da873)));window[_0x37b3f5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x37b3f5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xfdbb4,_0x15ffda);}function _0x5c9288(){const _0x1fd3f1=_0x37b3f5([0x6c,0x6c,0x63,0x74,0x2d])+_0x291f30(_0x5b1d65(_0x5a4df6)),_0x1357e6=window[_0x37b3f5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x37b3f5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1fd3f1);return _0x1357e6?window[_0x37b3f5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d89c8(_0x1357e6),0x10)*_0x5da873:null;}function _0x1f3053(_0x71c8ad){return new window[(_0x37b3f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2035fc,_0x3310c5)=>{_0x71c8ad[_0x37b3f5([0x74,0x68,0x65,0x6e])](_0x2035fc,_0x3310c5),window[_0x37b3f5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3310c5,0x45dc06d5^_0x319f61);});}}_0x2264a1[_0x37b3f5([0x6f,0x6e])](_0x37b3f5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x126b60,_0x2b0330)=>{if(_0x2b0330[0x0]!=_0x5a4df6)return _0x4c7a24(_0x37b3f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b0330[0x1]={..._0x2b0330[0x1],[_0x37b3f5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ddb8b};},{[_0x37b3f5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x37b3f5([0x68,0x69,0x67,0x68])}),_0x2264a1[_0x37b3f5([0x6f,0x6e])](_0x37b3f5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3337b1=>{_0x3af23c(_0x3337b1[_0x37b3f5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x263ac9=!0x0,_0x57cf3e(_0x3337b1[_0x37b3f5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x37b3f5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x37b3f5([0x6c,0x6f,0x77])}),_0x65b835[_0x37b3f5([0x74,0x68,0x65,0x6e])](()=>{_0x263ac9||_0x4c7a24(_0x37b3f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3f7ef6(){return _0x2264a1[_0x37b3f5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x37b3f5([0x76,0x69,0x65,0x77])][_0x37b3f5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x37b3f5([0x61,0x75,0x74,0x6f]);}function _0x3f64e4(){_0x2264a1[_0x37b3f5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x37b3f5([0x76,0x69,0x65,0x77])][_0x37b3f5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x37b3f5([0x61,0x75,0x74,0x6f]);}}function _0x20da6e(_0xdedfad){const _0x410d6b=[new window[(_0x37b3f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b4d48=>setTimeout(_0x4b4d48,0x45d4ecd9^_0x319f61)),_0x65b835[_0x37b3f5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x37b3f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x441c14=>{let _0x3870ef=0x0;_0x2264a1[_0x37b3f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x37b3f5([0x6f,0x6e])](_0x37b3f5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2fef76,_0x523ecc)=>{_0x523ecc[0x0][_0x37b3f5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3870ef++,_0x3870ef==(0x45ddd7fd^_0x319f61)&&(_0x441c14(),_0x2fef76[_0x37b3f5([0x6f,0x66,0x66])]());});}))];return window[_0x37b3f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x37b3f5([0x72,0x61,0x63,0x65])](_0x410d6b)[_0x37b3f5([0x74,0x68,0x65,0x6e])](()=>_0xdedfad);}async function _0x16e46a(){await _0x65b835,_0x2264a1[_0x37b3f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x37b3f5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc9e90e,_0x2264a1[_0x37b3f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x37b3f5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc9e90e,_0x2264a1[_0x37b3f5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x37b3f5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2ffc0e(_0x1af739){const _0x499f23=_0x533f76();_0x2264a1[_0x499f23]=_0x37b3f5([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1af739,_0x1af739!=_0x37b3f5([0x56,0x61,0x6c,0x69,0x64])&&_0x16e46a();}function _0x533f76(){const _0x3179d8=window[_0x37b3f5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x37b3f5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x37b3f5([0x6e,0x6f,0x77])]())[_0x37b3f5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x37b3f5([0x2e]),'');let _0xf1a9ad=_0x37b3f5([0x50]);for(let _0x19adc2=0x0;_0x19adc2<_0x3179d8[_0x37b3f5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19adc2+=0x2){let _0x1f1548=window[_0x37b3f5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3179d8[_0x37b3f5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19adc2,_0x19adc2+0x2));_0x1f1548>=_0x148478[_0x37b3f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1f1548-=_0x148478[_0x37b3f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xf1a9ad+=_0x148478[_0x1f1548];}return _0xf1a9ad;}function _0x32a1de(){const _0xddfc7b=_0x1b8f4a[_0x37b3f5([0x73,0x70,0x6c,0x69,0x74])](_0x37b3f5([0x2e]));if(0x3!=_0xddfc7b[_0x37b3f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2589ff(_0xddfc7b[0x1]);function _0x2589ff(_0x3dfd8e){const _0x101b64=_0x557275(_0x3dfd8e);return _0x101b64&&_0x208028()?_0x101b64:null;function _0x208028(){const _0x682bab=_0x101b64[_0x37b3f5([0x6a,0x74,0x69])],_0x40501e=window[_0x37b3f5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x682bab[_0x37b3f5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x682bab[_0x37b3f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x52903e={..._0x101b64,[_0x37b3f5([0x6a,0x74,0x69])]:_0x682bab[_0x37b3f5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x682bab[_0x37b3f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x52903e[_0x37b3f5([0x76,0x63])],_0x5b1d65(_0x52903e)==_0x40501e;}}}async function _0x426d6b(){let _0xaf545=!0x0;try{const _0x4d5cd8=_0x1b8f4a[_0x37b3f5([0x73,0x70,0x6c,0x69,0x74])](_0x37b3f5([0x2e])),[_0x2952c3,_0x11f9e8,_0x39733e]=_0x4d5cd8;return _0x3ddcf3(_0x2952c3),await _0x2a37b5(_0x2952c3,_0x11f9e8,_0x39733e),_0xaf545;}catch{return!0x1;}function _0x3ddcf3(_0x8fd2f){const _0x3be74f=_0x557275(_0x8fd2f);_0x3be74f&&_0x3be74f[_0x37b3f5([0x61,0x6c,0x67])]==_0x37b3f5([0x45,0x53,0x32,0x35,0x36])||(_0xaf545=!0x1);}async function _0x2a37b5(_0x4ec403,_0x357ffb,_0x331e7b){const _0x7e4153=window[_0x37b3f5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x37b3f5([0x66,0x72,0x6f,0x6d])](_0xb37779(_0x331e7b),_0x417c37=>_0x417c37[_0x37b3f5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x16636a=new window[(_0x37b3f5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x37b3f5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4ec403+_0x37b3f5([0x2e])+_0x357ffb),_0x5594be=window[_0x37b3f5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x37b3f5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5594be)return;const _0xd949a=await _0x5594be[_0x37b3f5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x37b3f5([0x6a,0x77,0x6b]),_0x1b1fde,{[_0x37b3f5([0x6e,0x61,0x6d,0x65])]:_0x37b3f5([0x45,0x43,0x44,0x53,0x41]),[_0x37b3f5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x37b3f5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x37b3f5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5594be[_0x37b3f5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x37b3f5([0x6e,0x61,0x6d,0x65])]:_0x37b3f5([0x45,0x43,0x44,0x53,0x41]),[_0x37b3f5([0x68,0x61,0x73,0x68])]:{[_0x37b3f5([0x6e,0x61,0x6d,0x65])]:_0x37b3f5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xd949a,_0x7e4153,_0x16636a)||(_0xaf545=!0x1);}}function _0x557275(_0x250984){return _0x250984[_0x37b3f5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x37b3f5([0x65,0x79]))?JSON[_0x37b3f5([0x70,0x61,0x72,0x73,0x65])](_0xb37779(_0x250984)):null;}function _0xb37779(_0x3f49d1){return window[_0x37b3f5([0x61,0x74,0x6f,0x62])](_0x3f49d1[_0x37b3f5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x37b3f5([0x2b]))[_0x37b3f5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x37b3f5([0x2f])));}function _0x5b1d65(_0x5d3fb7){let _0x27f99a=0x1505;function _0x5d6ca7(_0x57a18f){for(let _0x5f4f62=0x0;_0x5f4f62<_0x57a18f[_0x37b3f5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f4f62++){const _0x26a996=_0x57a18f[_0x37b3f5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5f4f62);_0x27f99a=(_0x27f99a<<0x5)+_0x27f99a+_0x26a996,_0x27f99a&=_0x27f99a;}}function _0xaca0e5(_0x37a0ba){Array[_0x37b3f5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x37a0ba)?_0x37a0ba[_0x37b3f5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xaca0e5):_0x37a0ba&&typeof _0x37a0ba==_0x37b3f5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x37b3f5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x37a0ba)[_0x37b3f5([0x73,0x6f,0x72,0x74])]()[_0x37b3f5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xe3172c,_0x24a0d5])=>{_0x5d6ca7(_0xe3172c),_0xaca0e5(_0x24a0d5);}):_0x5d6ca7(window[_0x37b3f5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x37a0ba));}return _0xaca0e5(_0x5d3fb7),_0x27f99a>>>0x0;}function _0x291f30(_0x23a9ae){return _0x23a9ae[_0x37b3f5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x37b3f5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x37b3f5([0x30]));}function _0x4d89c8(_0x3a1f97){return _0x3a1f97[_0x37b3f5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x37b3f5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x37b3f5([0x6a,0x6f,0x69,0x6e])]('');}function _0xc9e90e(){}function _0x37b3f5(_0x4829db){const _0x5d0358=_0x57b2;return _0x4829db[_0x5d0358(0xe4)](_0xf619c1=>String[_0x5d0358(0xee)](_0xf619c1))[_0x5d0358(0xd4)]('');}_0x2ffc0e(await _0x42747d());}(this);}[_0xce4912(0xf4)](){const _0x4bb945=_0xce4912,_0x399796=this[_0x4bb945(0x103)];if(!_0x399796[_0x4bb945(0xe9)][_0x4bb945(0xdf)](_0x4bb945(0xf2)))return;const _0x3b7ef8=_0x399796[_0x4bb945(0xe9)][_0x4bb945(0xdf)](_0x4bb945(0xcd))[_0x4bb945(0xec)](_0x39c8f9=>_0x4bb945(0xce)==typeof _0x39c8f9&&(!_0x2e45ab(_0x39c8f9)&&isNaN(Number(_0x39c8f9))));if(_0x3b7ef8[_0x4bb945(0xd9)])throw new _0x5f0887(_0x4bb945(0xfa),null,{'namedPresets':_0x3b7ef8});}[_0xce4912(0xe6)](){const _0x3ebbdc=_0xce4912,_0x309ad2=this[_0x3ebbdc(0x103)],_0x51969d=this[_0x3ebbdc(0x103)][_0x3ebbdc(0xe9)][_0x3ebbdc(0xdf)](_0x3ebbdc(0xf6));_0x309ad2[_0x3ebbdc(0xd2)][_0x3ebbdc(0xcf)](_0x3ebbdc(0xd6))[_0x3ebbdc(0xf9)]({'model':{'key':_0x3ebbdc(0xe7)},'view':_0x2dd831=>String(_0x2dd831)===String(_0x51969d)?null:{'key':_0x3ebbdc(0xf3),'value':{'line-height':_0x2dd831}}}),_0x309ad2[_0x3ebbdc(0xd2)][_0x3ebbdc(0xcf)](_0x3ebbdc(0x101))[_0x3ebbdc(0xf9)]({'model':{'key':_0x3ebbdc(0xe7),'value':_0x15b6c8=>{const _0x4b9cea=_0x3ebbdc;let _0x332894=_0x15b6c8[_0x4b9cea(0xeb)](_0x4b9cea(0xd5));return _0x14c146(_0x332894)&&(_0x332894=String(Number(_0x332894[_0x4b9cea(0xd3)](0x0,-0x1))/0x64)),String(_0x332894)===String(_0x51969d)?null:_0x332894;}},'view':{'styles':{'line-height':/.*/}}});}[_0xce4912(0xd7)](){const _0x5c474f=_0xce4912,_0x106855=this[_0x5c474f(0x103)],_0xb8a6ca=this[_0x5c474f(0x103)][_0x5c474f(0xe9)][_0x5c474f(0xdf)](_0x5c474f(0xf6)),_0x20cc10=_0x50d351(this[_0x5c474f(0x103)][_0x5c474f(0xe9)][_0x5c474f(0xdf)](_0x5c474f(0xe7)))[_0x5c474f(0xec)](_0x4598cb=>_0x4598cb[_0x5c474f(0xdb)]),_0x3719b3=_0x306355(_0x5c474f(0xe7),_0x20cc10);_0x106855[_0x5c474f(0xd2)][_0x5c474f(0xf9)](_0x3719b3),_0x106855[_0x5c474f(0xd2)][_0x5c474f(0xcf)](_0x5c474f(0x101))[_0x5c474f(0xf9)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x5c474f(0xe7),'value':_0x16ce98=>{const _0x364cda=_0x5c474f;let _0x156ba7=_0x16ce98[_0x364cda(0xeb)](_0x364cda(0xd5));return _0x14c146(_0x156ba7)&&(_0x156ba7=String(Number(_0x156ba7[_0x364cda(0xd3)](0x0,-0x1))/0x64)),_0x156ba7===String(_0xb8a6ca)?null:_0x3719b3[_0x364cda(0xdb)][_0x364cda(0xd0)][_0x364cda(0xe2)](_0x156ba7)?_0x156ba7:null;}}});}}function _0x4ce4(){const _0x1fcf82=['includes','2501534IdWrug','map','42790hKtiKY','_prepareAnyValueConverters','lineHeight','add','config','isOfficialPlugin','getStyle','filter','init','fromCharCode','extend','14BXDnEw','$block','lineHeight.supportAllValues','style','_validateConfig','LineHeightEditing','lineHeight.defaultValue','49676DIlvnU','3230763TqpshK','attributeToAttribute','line-height-invalid-use-of-named-presets','afterInit','pluginName','6664014YmXMnF','isPremiumPlugin','1lMpIjY','setAttributeProperties','upcast','default','editor','requires','lineHeight.options','string','for','values','define','conversion','slice','join','line-height','downcast','_preparePredefinedConverters','6845408acBQia','length','2187AEOTgc','model','schema','892tBrNvS','commands','get','href','24030SyLQWh'];_0x4ce4=function(){return _0x1fcf82;};return _0x4ce4();}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x48c764}from'ckeditor5/src/core.js';import{addListToDropdown as _0x1ba720,createDropdown as _0x4c6379,MenuBarMenuListItemButtonView as _0x1b0b89,MenuBarMenuListItemView as _0x5242fe,MenuBarMenuListView as _0x4c7284,MenuBarMenuView as _0x2f9816,UIModel as _0x584f94}from'ckeditor5/src/ui.js';import{Collection as _0x16aa2e}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x353a02}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x49bb5e}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x48c764{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x458e32={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x458e32),this['_registerMenuBarComponent'](_0x458e32),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x9f5381=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x54e6f2;for(const _0x1f6111 in _0x9f5381){const _0x146c4c=_0x1f6111,_0x1d774c=_0x9f5381[_0x146c4c];if('lineHeightLicenseKeyValid'==_0x1d774c||'lineHeightLicenseKeyInvalid'==_0x1d774c||'lineHeightLicenseKeyExpired'==_0x1d774c||'lineHeightLicenseKeyDomainLimit'==_0x1d774c||'lineHeightLicenseKeyNotAllowed'==_0x1d774c||'lineHeightLicenseKeyEvaluationLimit'==_0x1d774c||'lineHeightLicenseKeyUsageLimit'==_0x1d774c){delete _0x9f5381[_0x146c4c],_0x54e6f2=_0x1d774c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x54e6f2&&_0x9f5381['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x54e6f2&&_0x9f5381['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x54e6f2&&_0x9f5381['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x54e6f2&&_0x9f5381['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x54e6f2&&_0x9f5381['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x54e6f2&&_0x9f5381['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x102311=this['editor'],t=_0x102311['t'],_0x5ee14c=_0x102311['config']['get']('lineHeight'),_0x155a75={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x49bb5e(_0x5ee14c)['map'](_0x2d6c27=>{const _0x5ed25a=_0x155a75[_0x2d6c27['title']];return _0x5ed25a&&_0x5ed25a!=_0x2d6c27['title']&&(_0x2d6c27=Object['assign']({},_0x2d6c27,{'title':_0x5ed25a})),_0x2d6c27;});}['_prepareListOptions'](){const _0x316190=this['editor']['commands']['get']('lineHeight'),_0x4cce95=this['editor']['config']['get']('lineHeight.defaultValue'),_0x26a3e1=this['_getLocalizedLineHeightOptions'](),_0x33a3a6=new _0x16aa2e(),_0x149f10=_0x13a352=>'default'===_0x13a352||String(_0x4cce95)===_0x13a352;for(const _0x570c5b of _0x26a3e1){const _0x5c6188={'type':'button','model':new _0x584f94({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x570c5b['title'],'withText':!0x0})};_0x149f10(_0x570c5b['model'])?(_0x5c6188['model']['bind']('isOn')['to'](_0x316190,'value',_0x19f574=>!_0x19f574),_0x5c6188['model']['commandParam']=void 0x0):(_0x5c6188['model']['bind']('isOn')['to'](_0x316190,'value',_0x4fdb4a=>_0x4fdb4a===_0x570c5b['model']),_0x5c6188['model']['commandParam']=_0x570c5b['model']),_0x33a3a6['add'](_0x5c6188);}if(this['_shouldRenderCustomValueOption']()){const _0x473762=this['_getCustomValueOptionDefinition'](_0x26a3e1);_0x33a3a6['add'](_0x473762);}return _0x33a3a6;}['_getCustomValueOptionDefinition'](_0x3c3602){const _0x47d14f=this['editor'],t=_0x47d14f['t'],_0x21ed95=_0x47d14f['commands']['get']('lineHeight'),_0xa914f7=_0x3c3602['map'](_0x5d8152=>_0x5d8152['model']),_0x364bf7={'type':'button','model':new _0x584f94({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x364bf7['model']['bind']('commandParam')['to'](_0x21ed95,'value'),_0x364bf7['model']['bind']('isOn')['to'](_0x21ed95,'value',_0x45500b=>!!_0x45500b&&!_0xa914f7['includes'](String(_0x45500b))),_0x364bf7['model']['bind']('label')['to'](_0x21ed95,'value',_0x36b32d=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x36b32d))),_0x364bf7;}['_registerToolbarComponent']({accessibleLabel:_0x43aa59,options:_0x570978}){const _0x22ec48=this['editor'],_0x1456a5=_0x22ec48['commands']['get']('lineHeight');_0x22ec48['ui']['componentFactory']['add']('lineHeight',_0x300a18=>{const _0x46ff9a=_0x4c6379(_0x300a18);return _0x1ba720(_0x46ff9a,_0x570978,{'role':'menu','ariaLabel':_0x43aa59}),_0x46ff9a['buttonView']['set']({'label':_0x43aa59,'tooltip':!0x0,'icon':_0x353a02}),_0x46ff9a['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x46ff9a['bind']('isEnabled')['to'](_0x1456a5),this['listenTo'](_0x46ff9a,'execute',_0x3b1889=>{_0x22ec48['execute'](_0x3b1889['source']['commandName'],{'value':_0x3b1889['source']['commandParam']}),_0x22ec48['editing']['view']['focus']();}),_0x46ff9a['once']('change:isOpen',()=>{const _0x57cf6f=_0x46ff9a['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x46ff9a,_0x570978,_0x57cf6f);}),_0x46ff9a;});}['_registerMenuBarComponent']({accessibleLabel:_0x16e010,options:_0x46ac05}){const _0x3befd4=this['editor'],_0x22ca3d=_0x3befd4['commands']['get']('lineHeight');_0x3befd4['ui']['componentFactory']['add']('menuBar:lineHeight',_0x449a37=>{const _0x4c3fa0=new _0x2f9816(_0x449a37);_0x4c3fa0['buttonView']['set']({'label':_0x16e010,'icon':_0x353a02}),_0x4c3fa0['bind']('isEnabled')['to'](_0x22ca3d);const _0x299a89=new _0x4c7284(_0x449a37);for(const _0x1eb78d of _0x46ac05){const _0x1f47ec=new _0x5242fe(_0x449a37,_0x4c3fa0),_0x5b8a98=new _0x1b0b89(_0x449a37);_0x5b8a98['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5b8a98['bind'](...Object['keys'](_0x1eb78d['model']))['to'](_0x1eb78d['model']),_0x5b8a98['delegate']('execute')['to'](_0x4c3fa0),_0x5b8a98['on']('execute',()=>{_0x3befd4['execute'](_0x1eb78d['model']['commandName'],{'value':_0x1eb78d['model']['commandParam']}),_0x3befd4['editing']['view']['focus']();}),_0x1f47ec['children']['add'](_0x5b8a98),_0x299a89['items']['add'](_0x1f47ec);}return _0x4c3fa0['panelView']['children']['add'](_0x299a89),this['_attachCustomOptionVisibilityHandler'](_0x4c3fa0,_0x46ac05,_0x299a89),_0x4c3fa0;});}['_attachCustomOptionVisibilityHandler'](_0xe2be9a,_0x49bb92,_0x10b4f4){if(!this['_shouldRenderCustomValueOption']())return;const _0x1331e6=()=>{if(!_0xe2be9a['isOpen'])return;_0x10b4f4['items']['last']['isVisible']=Boolean(_0x49bb92['last']['model']['isOn']);};_0x1331e6(),_0xe2be9a['on']('change:isOpen',()=>{_0x1331e6();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x592260,_0x505d6e){const _0x17e9d2=_0x51d2,_0x40bbcf=_0x592260();while(!![]){try{const _0xad17f6=parseInt(_0x17e9d2(0x118))/0x1*(-parseInt(_0x17e9d2(0x100))/0x2)+-parseInt(_0x17e9d2(0x111))/0x3*(parseInt(_0x17e9d2(0xf9))/0x4)+parseInt(_0x17e9d2(0x107))/0x5*(-parseInt(_0x17e9d2(0x108))/0x6)+-parseInt(_0x17e9d2(0x104))/0x7*(parseInt(_0x17e9d2(0x11a))/0x8)+parseInt(_0x17e9d2(0x10b))/0x9+-parseInt(_0x17e9d2(0x102))/0xa*(parseInt(_0x17e9d2(0xff))/0xb)+-parseInt(_0x17e9d2(0x106))/0xc*(-parseInt(_0x17e9d2(0x10e))/0xd);if(_0xad17f6===_0x505d6e)break;else _0x40bbcf['push'](_0x40bbcf['shift']());}catch(_0x5fe0ce){_0x40bbcf['push'](_0x40bbcf['shift']());}}}(_0x34c4,0x4802d));function _0x51d2(_0x18d950,_0x1563bc){const _0x34c42c=_0x34c4();return _0x51d2=function(_0x51d2cb,_0x3b328a){_0x51d2cb=_0x51d2cb-0xf6;let _0x3867f3=_0x34c42c[_0x51d2cb];return _0x3867f3;},_0x51d2(_0x18d950,_0x1563bc);}const v={get 'single'(){const _0x2b9b0c=_0x51d2;return{'title':_0x2b9b0c(0x115),'model':_0x2b9b0c(0xfd),'view':{'key':_0x2b9b0c(0x101),'value':_0x2b9b0c(0xfe)}};},get 'double'(){const _0x502214=_0x51d2;return{'title':_0x502214(0x10d),'model':_0x502214(0xf7),'view':{'key':_0x502214(0x101),'value':_0x502214(0x109)}};}};export function isLineHeightDefaultValue(_0x14b90d){const _0x52337c=_0x51d2;return _0x52337c(0x10a)==typeof _0x14b90d&&_0x52337c(0x103)===_0x14b90d[_0x52337c(0x113)]();}export function normalizeOptions(_0x254854){const _0x3fc1f7=_0x51d2;return _0x254854[_0x3fc1f7(0xfc)][_0x3fc1f7(0x114)](_0x527ee6=>isLineHeightDefaultValue(_0x527ee6)?{'title':String(_0x254854[_0x3fc1f7(0xf8)]),'model':_0x3fc1f7(0x103)}:(_0x3fc1f7(0x10f)==typeof _0x527ee6&&(_0x527ee6=String(_0x527ee6)),_0x3fc1f7(0x10a)!=typeof _0x527ee6?_0x527ee6:parseFloat(_0x527ee6)?{'title':_0x527ee6,'model':_0x527ee6,'view':{'name':_0x3fc1f7(0x117),'styles':{'line-height':_0x527ee6}}}:findPreset(_0x527ee6)))[_0x3fc1f7(0x10c)](_0x25db32=>void 0x0!==_0x25db32);}function _0x34c4(){const _0x447239=['Single','view','span','34978WxDKaE','style','3656iABttQ','line-height:','double','defaultValue','4IDCQhu','value','values','options','single','line-height-single','44aBIerS','30TphJmC','class','1008470egklOJ','default','889ataImQ','model','1161552DABMDO','2094860XLxUFX','6yAxcrk','line-height-double','string','5137839UEWZHo','filter','Double','221UbfurI','number','key','1549131eAUdnt','push','toLowerCase','map'];_0x34c4=function(){return _0x447239;};return _0x34c4();}export function findPreset(_0x432a5d){const _0x43bb0b=_0x51d2;return _0x43bb0b(0x10a)==typeof _0x432a5d?v[_0x432a5d]:v[_0x432a5d[_0x43bb0b(0x105)]];}export function buildDefinition(_0x454569,_0x15432b){const _0x25fc24=_0x51d2,_0x296476={'model':{'key':_0x454569,'values':[]},'view':{}};for(const _0x4344b6 of _0x15432b)_0x25fc24(0x101)===_0x4344b6[_0x25fc24(0x116)]?.[_0x25fc24(0x110)]?(_0x296476[_0x25fc24(0x105)][_0x25fc24(0xfb)][_0x25fc24(0x112)](_0x4344b6[_0x25fc24(0x105)]),_0x296476[_0x25fc24(0x116)][_0x4344b6[_0x25fc24(0x105)]]={'key':_0x25fc24(0x101),'value':_0x4344b6[_0x25fc24(0x116)][_0x25fc24(0xfa)]}):(_0x296476[_0x25fc24(0x105)][_0x25fc24(0xfb)][_0x25fc24(0x112)](_0x4344b6[_0x25fc24(0x105)]),_0x296476[_0x25fc24(0x116)][_0x4344b6[_0x25fc24(0x105)]]={'key':_0x25fc24(0x119),'value':_0x25fc24(0xf6)+_0x4344b6[_0x25fc24(0x105)]+';'});return _0x296476;}
|