@ckeditor/ckeditor5-line-height 47.7.2-alpha.0 → 47.7.3-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/index.js +1 -1
- package/src/integrations/todolist.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x329aa8=_0x3da7;(function(_0x1cfafa,_0x205ac8){const _0x7a4ecd=_0x3da7,_0x5ade61=_0x1cfafa();while(!![]){try{const _0x1eea95=parseInt(_0x7a4ecd(0x130))/0x1*(-parseInt(_0x7a4ecd(0x12e))/0x2)+parseInt(_0x7a4ecd(0x116))/0x3*(-parseInt(_0x7a4ecd(0x11e))/0x4)+-parseInt(_0x7a4ecd(0x138))/0x5*(-parseInt(_0x7a4ecd(0x12d))/0x6)+-parseInt(_0x7a4ecd(0x129))/0x7+-parseInt(_0x7a4ecd(0x115))/0x8*(parseInt(_0x7a4ecd(0x118))/0x9)+parseInt(_0x7a4ecd(0x111))/0xa+-parseInt(_0x7a4ecd(0x11d))/0xb*(-parseInt(_0x7a4ecd(0x135))/0xc);if(_0x1eea95===_0x205ac8)break;else _0x5ade61['push'](_0x5ade61['shift']());}catch(_0x11e185){_0x5ade61['push'](_0x5ade61['shift']());}}}(_0x3c12,0xc130a));import{Plugin as _0x3f8649}from'ckeditor5/src/core.js';import{Matcher as _0x484612}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x3f8649{static get[_0x329aa8(0x110)](){const _0x3cf969=_0x329aa8;return _0x3cf969(0x114);}static get[_0x329aa8(0x11a)](){return!0x0;}static get[_0x329aa8(0x137)](){return!0x0;}[_0x329aa8(0x112)](){const _0x51558e=_0x329aa8,{plugins:_0x4fc734,conversion:_0xb8a3}=this[_0x51558e(0x119)];if(!_0x4fc734[_0x51558e(0x121)](_0x51558e(0x117))||!_0x4fc734[_0x51558e(0x121)](_0x51558e(0x133)))return;_0x4fc734[_0x51558e(0x12c)](_0x51558e(0x117))[_0x51558e(0x10c)]({'scope':_0x51558e(0x122),'attributeName':_0x51558e(0x11b),'consume':!0x1,'setAttributeOnDowncast'(_0x472277,_0x290709,_0x5cf434,_0x2461cd,_0x346dff){const _0x43746d=_0x51558e;_0x43746d(0x132)==_0x346dff[_0x43746d(0x126)](_0x43746d(0x11f))&&_0x290709&&(_0x472277[_0x43746d(0x113)](_0x43746d(0x10e),_0x5cf434),_0x472277[_0x43746d(0x12f)](_0x43746d(0x139),_0x290709,_0x5cf434));}}),_0xb8a3[_0x51558e(0x10f)](_0x51558e(0x123))[_0x51558e(0x134)]({'view':{'name':_0x51558e(0x131),'classes':_0x51558e(0x120)},'model':_0x51558e(0x128),'converterPriority':_0x51558e(0x12a)}),_0xb8a3[_0x51558e(0x10f)](_0x51558e(0x123))[_0x51558e(0x11c)](_0x2a9319=>{const _0x1293e1=_0x51558e;_0x2a9319['on'](_0x1293e1(0x136),function(_0x3bf4f0){const _0x28992d=new _0x484612(_0x3bf4f0);return(_0x1edbca,_0x164f88,_0x26e54d)=>{const _0x1f6808=_0x3da7,_0x201068=_0x28992d[_0x1f6808(0x12b)](_0x164f88[_0x1f6808(0x10d)]);if(!_0x201068)return;const _0x5e9abc=_0x201068[_0x1f6808(0x12b)];_0x5e9abc[_0x1f6808(0x127)]=!0x1,_0x26e54d[_0x1f6808(0x125)][_0x1f6808(0x124)](_0x164f88[_0x1f6808(0x10d)],_0x5e9abc);};}({'name':'li','classes':_0x1293e1(0x10e),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}function _0x3da7(_0x3f967d,_0x252cbc){const _0x3c12e0=_0x3c12();return _0x3da7=function(_0x3da741,_0x639572){_0x3da741=_0x3da741-0x10c;let _0x47584e=_0x3c12e0[_0x3da741];return _0x47584e;},_0x3da7(_0x3f967d,_0x252cbc);}function _0x3c12(){const _0x1e8acf=['8573950QiWHMB','init','addClass','LineHeightTodoListIntegration','16rkMUJt','28683XGIbTd','ListEditing','4069458LRJRWw','editor','isOfficialPlugin','lineHeight','add','143BYKevJ','636dbjBrm','listType','todo-list__label__description','has','item','upcast','consume','consumable','getAttribute','name','paragraph','1769481ZLMyLm','high','match','get','888yVvmOy','1968716ZunieC','setStyle','1AJqLlT','span','todo','TodoListEditing','elementToElement','2993028ffodsn','element:li','isPremiumPlugin','11930LJpzaF','--ck-content-list-marker-line-height','registerDowncastStrategy','viewItem','ck-list-marker-line-height','for','pluginName'];_0x3c12=function(){return _0x1e8acf;};return _0x3c12();}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x369daa=_0x28dd;(function(_0x1f0dbb,_0x4c1a1d){var _0xc5dd4c=_0x28dd,_0xc70a8=_0x1f0dbb();while(!![]){try{var _0x19adca=-parseInt(_0xc5dd4c(0xf0))/0x1+parseInt(_0xc5dd4c(0xfa))/0x2*(parseInt(_0xc5dd4c(0xeb))/0x3)+parseInt(_0xc5dd4c(0xf7))/0x4*(parseInt(_0xc5dd4c(0xf4))/0x5)+parseInt(_0xc5dd4c(0xf5))/0x6+parseInt(_0xc5dd4c(0xef))/0x7*(-parseInt(_0xc5dd4c(0xf3))/0x8)+-parseInt(_0xc5dd4c(0xf2))/0x9*(-parseInt(_0xc5dd4c(0xf6))/0xa)+-parseInt(_0xc5dd4c(0xf1))/0xb;if(_0x19adca===_0x4c1a1d)break;else _0xc70a8['push'](_0xc70a8['shift']());}catch(_0x9ebc37){_0xc70a8['push'](_0xc70a8['shift']());}}}(_0x2fa3,0x33209));function _0x2fa3(){var _0x8a0a93=['317376eTdKoz','58264UURiHl','1927685XYqOuJ','1027584LBfJXG','100DxMTMM','4BNdnnn','isOfficialPlugin','requires','96GZMfit','14721aLiqSu','isPremiumPlugin','pluginName','LineHeight','49hDOrOZ','86204TDVWph','8782125ndpvsm'];_0x2fa3=function(){return _0x8a0a93;};return _0x2fa3();}import{Plugin as _0x27ba5d}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x155cb0}from'./lineheightediting.js';import{LineHeightUI as _0x515feb}from'./lineheightui.js';function _0x28dd(_0x546366,_0x30b07d){var _0x2fa346=_0x2fa3();return _0x28dd=function(_0x28ddd9,_0x2e7798){_0x28ddd9=_0x28ddd9-0xeb;var _0x16dda5=_0x2fa346[_0x28ddd9];return _0x16dda5;},_0x28dd(_0x546366,_0x30b07d);}export class LineHeight extends _0x27ba5d{static get[_0x369daa(0xf9)](){return[_0x155cb0,_0x515feb];}static get[_0x369daa(0xed)](){var _0x29170b=_0x369daa;return _0x29170b(0xee);}static get[_0x369daa(0xf8)](){return!0x0;}static get[_0x369daa(0xec)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x393e07=_0x4574;function _0x1134(){const _0x93c4cf=['5127dBNJku','2063630YEzuzg','2662544dJMwqO','refresh','from','_canHaveLineHeight','3365544NCxOnN','472ZZddLa','removeAttribute','630097gUtUys','execute','editor','filter','change','selection','18361XgfeDw','checkAttribute','isEnabled','lineHeight','128zDElAJ','model','getSelectedBlocks','14091498sYfbxz','setAttribute','getAttribute','document','schema','value'];_0x1134=function(){return _0x93c4cf;};return _0x1134();}(function(_0x2d6b0b,_0x17130c){const _0x17b2eb=_0x4574,_0x42d4e7=_0x2d6b0b();while(!![]){try{const _0x231126=-parseInt(_0x17b2eb(0x169))/0x1+-parseInt(_0x17b2eb(0x173))/0x2*(parseInt(_0x17b2eb(0x17c))/0x3)+parseInt(_0x17b2eb(0x17e))/0x4+-parseInt(_0x17b2eb(0x17d))/0x5+-parseInt(_0x17b2eb(0x166))/0x6+parseInt(_0x17b2eb(0x16f))/0x7*(-parseInt(_0x17b2eb(0x167))/0x8)+parseInt(_0x17b2eb(0x176))/0x9;if(_0x231126===_0x17130c)break;else _0x42d4e7['push'](_0x42d4e7['shift']());}catch(_0x301b80){_0x42d4e7['push'](_0x42d4e7['shift']());}}}(_0x1134,0x58bd6));import{Command as _0x502062}from'ckeditor5/src/core.js';function _0x4574(_0x39c171,_0xf0e681){const _0x1134ca=_0x1134();return _0x4574=function(_0x45742c,_0x1283ee){_0x45742c=_0x45742c-0x165;let _0x14bee7=_0x1134ca[_0x45742c];return _0x14bee7;},_0x4574(_0x39c171,_0xf0e681);}import{first as _0x187d38}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x502062{[_0x393e07(0x17f)](){const _0x3e5049=_0x393e07,_0x24c458=this[_0x3e5049(0x16b)][_0x3e5049(0x174)][_0x3e5049(0x179)],_0x5772a4=_0x187d38(_0x24c458[_0x3e5049(0x16e)][_0x3e5049(0x175)]());this[_0x3e5049(0x171)]=Boolean(_0x5772a4)&&this[_0x3e5049(0x165)](_0x5772a4),this[_0x3e5049(0x17b)]=this[_0x3e5049(0x171)]&&_0x5772a4[_0x3e5049(0x178)](_0x3e5049(0x172));}[_0x393e07(0x16a)](_0x2d6c58={}){const _0x274b06=_0x393e07,_0x5c03e4=this[_0x274b06(0x16b)][_0x274b06(0x174)],_0x2261d4=_0x5c03e4[_0x274b06(0x179)][_0x274b06(0x16e)],_0x1c2872=_0x2d6c58[_0x274b06(0x17b)];_0x5c03e4[_0x274b06(0x16d)](_0x199bf2=>{const _0x58bf13=_0x274b06,_0x154c5d=Array[_0x58bf13(0x180)](_0x2261d4[_0x58bf13(0x175)]())[_0x58bf13(0x16c)](_0x29b598=>this[_0x58bf13(0x165)](_0x29b598));for(const _0x111ba4 of _0x154c5d)_0x1c2872?_0x199bf2[_0x58bf13(0x177)](_0x58bf13(0x172),_0x1c2872,_0x111ba4):_0x199bf2[_0x58bf13(0x168)](_0x58bf13(0x172),_0x111ba4);});}[_0x393e07(0x165)](_0x3dcea1){const _0x37af53=_0x393e07;return this[_0x37af53(0x16b)][_0x37af53(0x174)][_0x37af53(0x17a)][_0x37af53(0x170)](_0x3dcea1,_0x37af53(0x172));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4aef3e=_0x2f44;(function(_0xa7d9f3,_0x5989c4){const _0x501499=_0x2f44,_0x14ccc7=_0xa7d9f3();while(!![]){try{const _0x439d38=-parseInt(_0x501499(0x1b7))/0x1+-parseInt(_0x501499(0x1a7))/0x2*(-parseInt(_0x501499(0x1c6))/0x3)+parseInt(_0x501499(0x1a3))/0x4*(-parseInt(_0x501499(0x1d6))/0x5)+-parseInt(_0x501499(0x1b9))/0x6*(parseInt(_0x501499(0x1c0))/0x7)+parseInt(_0x501499(0x1c3))/0x8*(-parseInt(_0x501499(0x1ab))/0x9)+-parseInt(_0x501499(0x1d7))/0xa+parseInt(_0x501499(0x1aa))/0xb*(parseInt(_0x501499(0x1c9))/0xc);if(_0x439d38===_0x5989c4)break;else _0x14ccc7['push'](_0x14ccc7['shift']());}catch(_0x201d26){_0x14ccc7['push'](_0x14ccc7['shift']());}}}(_0x3b37,0x4436a));import{Plugin as _0x350d9c}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x195662}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x596d84}from'ckeditor5/src/engine.js';function _0x2f44(_0x54f452,_0x258cf2){const _0x3b3730=_0x3b37();return _0x2f44=function(_0x2f442d,_0x2146ce){_0x2f442d=_0x2f442d-0x1a2;let _0x50854f=_0x3b3730[_0x2f442d];return _0x50854f;},_0x2f44(_0x54f452,_0x258cf2);}import{uid as _0x3aef27,CKEditorError as _0x2a9a6a}from'ckeditor5/src/utils.js';import{buildDefinition as _0x281611,isLineHeightDefaultValue as _0x33994a,normalizeOptions as _0x21a90e}from'./utils.js';function _0x3b37(){const _0x148d6b=['config','5bIjGGD','3953010rpljdH','setAttributeProperties','lineHeight','_validateConfig','filter','835336PcDNrU','fromCharCode','get','style','260074wdbIiX','lineHeight.supportAllValues','default','2222CZFqhJ','216MrgdrA','lineHeight.defaultValue','slice','pluginName','_prepareAnyValueConverters','extend','isPremiumPlugin','$block','lineHeight.options','_preparePredefinedConverters','schema','map','165873ukHWOx','upcast','84UbRJqq','conversion','downcast','includes','attributeToAttribute','editor','define','106211DDUMPT','add','commands','13184GgTsya','afterInit','join','6XmnELY','line-height','requires','61860NLnvQP','model','line-height-invalid-use-of-named-presets','LineHeightEditing','isOfficialPlugin','length','href','init','string','values','for','getStyle'];_0x3b37=function(){return _0x148d6b;};return _0x3b37();}import{LineHeightTodoListIntegration as _0x3f32ab}from'./integrations/todolist.js';export class LineHeightEditing extends _0x350d9c{static get[_0x4aef3e(0x1ae)](){const _0x251a39=_0x4aef3e;return _0x251a39(0x1cc);}static get[_0x4aef3e(0x1c8)](){return[_0x3f32ab];}static get[_0x4aef3e(0x1cd)](){return!0x0;}static get[_0x4aef3e(0x1b1)](){return!0x0;}constructor(_0x3d23e6){const _0x47c87c=_0x4aef3e;super(_0x3d23e6),_0x3d23e6[_0x47c87c(0x1d5)][_0x47c87c(0x1bf)](_0x47c87c(0x1d9),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x47c87c(0x1a9),0x2,2.5,0x3]});}[_0x4aef3e(0x1d0)](){const _0x50f533=_0x4aef3e,_0x593e02=this[_0x50f533(0x1be)];this[_0x50f533(0x1da)](),_0x593e02[_0x50f533(0x1ca)][_0x50f533(0x1b5)][_0x50f533(0x1b0)](_0x50f533(0x1b2),{'allowAttributes':_0x50f533(0x1d9)}),_0x593e02[_0x50f533(0x1ca)][_0x50f533(0x1b5)][_0x50f533(0x1d8)](_0x50f533(0x1d9),{'isFormatting':!0x0}),_0x593e02[_0x50f533(0x1c2)][_0x50f533(0x1c1)](_0x50f533(0x1d9),new _0x195662(_0x593e02)),this[_0x50f533(0x1be)][_0x50f533(0x1d5)][_0x50f533(0x1a5)](_0x50f533(0x1a8))?this[_0x50f533(0x1af)]():this[_0x50f533(0x1b4)]();}[_0x4aef3e(0x1c4)](){!async function(_0x67639d){const _0x107224=_0x34de2e([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]),_0xe7ed3=0x45ddd215,_0x336df3=0x45da5835^_0xe7ed3,_0x1d240e=window[_0x34de2e([0x44,0x61,0x74,0x65])][_0x34de2e([0x6e,0x6f,0x77])](),_0x1c9fd7=_0x67639d[_0x34de2e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4437ce=new window[(_0x34de2e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c69b0=>{_0x1c9fd7[_0x34de2e([0x6f,0x6e,0x63,0x65])](_0x34de2e([0x72,0x65,0x61,0x64,0x79]),_0x5c69b0);}),_0x33e258={[_0x34de2e([0x6b,0x74,0x79])]:_0x34de2e([0x45,0x43]),[_0x34de2e([0x75,0x73,0x65])]:_0x34de2e([0x73,0x69,0x67]),[_0x34de2e([0x63,0x72,0x76])]:_0x34de2e([0x50,0x2d,0x32,0x35,0x36]),[_0x34de2e([0x78])]:_0x34de2e([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]),[_0x34de2e([0x79])]:_0x34de2e([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]),[_0x34de2e([0x61,0x6c,0x67])]:_0x34de2e([0x45,0x53,0x32,0x35,0x36])},_0x1e0ac2=_0x1c9fd7[_0x34de2e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x34de2e([0x67,0x65,0x74])](_0x34de2e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x256527(){let _0xfb4036,_0xd3a250=null,_0x12511c=null;try{if(_0x1e0ac2==_0x34de2e([0x47,0x50,0x4c]))return _0x34de2e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xfb4036=_0x4c4716(),!_0xfb4036)return _0x34de2e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xfb4036[_0x34de2e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x12511c=_0x393afd(_0xfb4036[_0x34de2e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xfb4036[_0x34de2e([0x6a,0x74,0x69])])),await _0x4af2a5()?_0xa8fa65()?_0x504f16()?_0x34de2e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x36be16()?(_0xfb4036[_0x34de2e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34de2e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd3a250=_0x1ab943(_0x34de2e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x25ef2b()):_0x34de2e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x34de2e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x34de2e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x34de2e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x504f16(){const _0x538db0=[_0x34de2e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x34de2e([0x74,0x72,0x69,0x61,0x6c])][_0x34de2e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfb4036[_0x34de2e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1d240e/0x3e8:0xe10*_0x336df3;return _0xfb4036[_0x34de2e([0x65,0x78,0x70])]<_0x538db0;}function _0xa8fa65(){const _0x1c7220=_0xfb4036[_0x34de2e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1c7220&&(!!_0x1c7220[_0x34de2e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34de2e([0x2a]))||!!_0x1c7220[_0x34de2e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34de2e([0x4c,0x48])));}function _0x36be16(){const _0x47feae=_0x2f44,_0x5ab666=_0xfb4036[_0x34de2e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5ab666||0x0==_0x5ab666[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2d0a6a}=new URL(window[_0x34de2e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x47feae(0x1cf)]);if(_0x5ab666[_0x34de2e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d0a6a))return!0x0;const _0xd1b31b=_0x2d0a6a[_0x34de2e([0x73,0x70,0x6c,0x69,0x74])](_0x34de2e([0x2e]));return _0x5ab666[_0x34de2e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1fee78=>_0x1fee78[_0x34de2e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34de2e([0x2a])))[_0x34de2e([0x6d,0x61,0x70])](_0xfd4f41=>_0xfd4f41[_0x34de2e([0x73,0x70,0x6c,0x69,0x74])](_0x34de2e([0x2e])))[_0x34de2e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x404493=>_0x404493[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xd1b31b[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34de2e([0x6d,0x61,0x70])](_0x138b3d=>Array(_0xd1b31b[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x138b3d[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34de2e([0x66,0x69,0x6c,0x6c])](_0x138b3d[0x0]===_0x34de2e([0x2a])?_0x34de2e([0x2a]):'')[_0x34de2e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x138b3d))[_0x34de2e([0x73,0x6f,0x6d,0x65])](_0x31bb2e=>_0xd1b31b[_0x34de2e([0x65,0x76,0x65,0x72,0x79])]((_0x2ead47,_0x3f795d)=>_0x31bb2e[_0x3f795d]===_0x2ead47||_0x31bb2e[_0x3f795d]===_0x34de2e([0x2a])));}function _0x25ef2b(){return _0xd3a250&&_0x12511c?new window[(_0x34de2e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ccaba,_0x75ded0)=>{_0xd3a250[_0x34de2e([0x74,0x68,0x65,0x6e])](_0x3ccaba,_0x75ded0),_0x12511c[_0x34de2e([0x74,0x68,0x65,0x6e])](_0x36ff64=>{_0x36ff64!=_0x34de2e([0x56,0x61,0x6c,0x69,0x64])&&_0x3ccaba(_0x36ff64);},_0x75ded0);}):_0xd3a250||_0x12511c||_0x34de2e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x393afd(_0x523047,_0xe0fcbe){return new window[(_0x34de2e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd2c613=>{if(_0x4261b8())return _0xd2c613(_0x34de2e([0x56,0x61,0x6c,0x69,0x64]));_0x399a93(),_0x1c9fd7[_0x34de2e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x34de2e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x52ddde=!0x1;const _0x3e19dc=_0x3aef27();function _0x3992a3(_0x4cb9aa){return!!_0x4cb9aa&&(typeof _0x4cb9aa===_0x34de2e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4cb9aa===_0x34de2e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4cb9aa[_0x34de2e([0x74,0x68,0x65,0x6e])]===_0x34de2e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4cb9aa[_0x34de2e([0x63,0x61,0x74,0x63,0x68])]===_0x34de2e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2617ca(_0xf3536d){_0x89f062(_0xf3536d)[_0x34de2e([0x74,0x68,0x65,0x6e])](_0x25a091=>{if(!_0x25a091||_0x25a091[_0x34de2e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x34de2e([0x6f,0x6b]))return _0x34de2e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xb49d7c(_0x277f8a(_0x3e19dc+_0xe0fcbe))!=_0x25a091[_0x34de2e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x34de2e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x34de2e([0x56,0x61,0x6c,0x69,0x64]);})[_0x34de2e([0x74,0x68,0x65,0x6e])](_0x179075=>(_0x3f1419(),_0x179075),()=>{const _0x2afe27=_0x415f19();return null==_0x2afe27?(_0x3f1419(),_0x34de2e([0x56,0x61,0x6c,0x69,0x64])):_0x34de2e(_0x1d240e-_0x2afe27>(0x61d15615^_0xe7ed3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x34de2e([0x74,0x68,0x65,0x6e])](_0xd2c613)[_0x34de2e([0x63,0x61,0x74,0x63,0x68])](()=>{_0xd2c613(_0x34de2e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x46fcbf=0x45eb3c95^_0xe7ed3;function _0x3f1419(){const _0x487d3c=_0x34de2e([0x6c,0x6c,0x63,0x74,0x2d])+_0xb49d7c(_0x277f8a(_0x523047)),_0x159c3b=_0x2a448d(_0xb49d7c(window[_0x34de2e([0x4d,0x61,0x74,0x68])][_0x34de2e([0x63,0x65,0x69,0x6c])](_0x1d240e/_0x46fcbf)));window[_0x34de2e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34de2e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x487d3c,_0x159c3b);}function _0x415f19(){const _0x1d61d9=_0x34de2e([0x6c,0x6c,0x63,0x74,0x2d])+_0xb49d7c(_0x277f8a(_0x523047)),_0x5e5ff6=window[_0x34de2e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34de2e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d61d9);return _0x5e5ff6?window[_0x34de2e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a448d(_0x5e5ff6),0x10)*_0x46fcbf:null;}function _0x89f062(_0x4d6c13){return new window[(_0x34de2e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31f6db,_0x1c1a00)=>{_0x4d6c13[_0x34de2e([0x74,0x68,0x65,0x6e])](_0x31f6db,_0x1c1a00),window[_0x34de2e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c1a00,0x45dc06d5^_0xe7ed3);});}}_0x1c9fd7[_0x34de2e([0x6f,0x6e])](_0x34de2e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x278e99,_0x1a45b7)=>{if(_0x1a45b7[0x0]!=_0x523047)return _0xd2c613(_0x34de2e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1a45b7[0x1]={..._0x1a45b7[0x1],[_0x34de2e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e19dc};},{[_0x34de2e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34de2e([0x68,0x69,0x67,0x68])}),_0x1c9fd7[_0x34de2e([0x6f,0x6e])](_0x34de2e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ccc10=>{_0x3992a3(_0x1ccc10[_0x34de2e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x52ddde=!0x0,_0x2617ca(_0x1ccc10[_0x34de2e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x34de2e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34de2e([0x6c,0x6f,0x77])}),_0x4437ce[_0x34de2e([0x74,0x68,0x65,0x6e])](()=>{_0x52ddde||_0xd2c613(_0x34de2e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4261b8(){return _0x1c9fd7[_0x34de2e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34de2e([0x76,0x69,0x65,0x77])][_0x34de2e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x34de2e([0x61,0x75,0x74,0x6f]);}function _0x399a93(){_0x1c9fd7[_0x34de2e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34de2e([0x76,0x69,0x65,0x77])][_0x34de2e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x34de2e([0x61,0x75,0x74,0x6f]);}}function _0x1ab943(_0x23db1b){const _0x19e93e=[new window[(_0x34de2e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c44ce=>setTimeout(_0x2c44ce,0x45d4ecd9^_0xe7ed3)),_0x4437ce[_0x34de2e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x34de2e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c1f5b=>{let _0x3050cb=0x0;_0x1c9fd7[_0x34de2e([0x6d,0x6f,0x64,0x65,0x6c])][_0x34de2e([0x6f,0x6e])](_0x34de2e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1461e8,_0x4741cf)=>{_0x4741cf[0x0][_0x34de2e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3050cb++,_0x3050cb==(0x45ddd7fd^_0xe7ed3)&&(_0x1c1f5b(),_0x1461e8[_0x34de2e([0x6f,0x66,0x66])]());});}))];return window[_0x34de2e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x34de2e([0x72,0x61,0x63,0x65])](_0x19e93e)[_0x34de2e([0x74,0x68,0x65,0x6e])](()=>_0x23db1b);}async function _0x227ae8(){await _0x4437ce,_0x1c9fd7[_0x34de2e([0x6d,0x6f,0x64,0x65,0x6c])][_0x34de2e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x484c0e,_0x1c9fd7[_0x34de2e([0x6d,0x6f,0x64,0x65,0x6c])][_0x34de2e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x484c0e,_0x1c9fd7[_0x34de2e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34de2e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x350b6a(_0x20ed85){const _0x156ca9=_0x216986();_0x1c9fd7[_0x156ca9]=_0x34de2e([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x20ed85,_0x20ed85!=_0x34de2e([0x56,0x61,0x6c,0x69,0x64])&&_0x227ae8();}function _0x216986(){const _0xad3804=window[_0x34de2e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x34de2e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x34de2e([0x6e,0x6f,0x77])]())[_0x34de2e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x34de2e([0x2e]),'');let _0xcf866d=_0x34de2e([0x50]);for(let _0x3de8e7=0x0;_0x3de8e7<_0xad3804[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3de8e7+=0x2){let _0x488f67=window[_0x34de2e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xad3804[_0x34de2e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3de8e7,_0x3de8e7+0x2));_0x488f67>=_0x107224[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x488f67-=_0x107224[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xcf866d+=_0x107224[_0x488f67];}return _0xcf866d;}function _0x4c4716(){const _0x54d0f4=_0x1e0ac2[_0x34de2e([0x73,0x70,0x6c,0x69,0x74])](_0x34de2e([0x2e]));if(0x3!=_0x54d0f4[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x49c961(_0x54d0f4[0x1]);function _0x49c961(_0xd4878d){const _0x40fe0d=_0x4236ec(_0xd4878d);return _0x40fe0d&&_0x477a76()?_0x40fe0d:null;function _0x477a76(){const _0x4589f4=_0x40fe0d[_0x34de2e([0x6a,0x74,0x69])],_0x45a0b6=window[_0x34de2e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4589f4[_0x34de2e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4589f4[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1e76a0={..._0x40fe0d,[_0x34de2e([0x6a,0x74,0x69])]:_0x4589f4[_0x34de2e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4589f4[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1e76a0[_0x34de2e([0x76,0x63])],_0x277f8a(_0x1e76a0)==_0x45a0b6;}}}async function _0x4af2a5(){let _0x1e0cb7=!0x0;try{const _0x4cd8c0=_0x1e0ac2[_0x34de2e([0x73,0x70,0x6c,0x69,0x74])](_0x34de2e([0x2e])),[_0x46d9d7,_0x4ee151,_0x182320]=_0x4cd8c0;return _0x5ef53c(_0x46d9d7),await _0x16e716(_0x46d9d7,_0x4ee151,_0x182320),_0x1e0cb7;}catch{return!0x1;}function _0x5ef53c(_0x2716da){const _0xe07135=_0x4236ec(_0x2716da);_0xe07135&&_0xe07135[_0x34de2e([0x61,0x6c,0x67])]==_0x34de2e([0x45,0x53,0x32,0x35,0x36])||(_0x1e0cb7=!0x1);}async function _0x16e716(_0x165d4f,_0x37b38d,_0x20042a){const _0x14479a=window[_0x34de2e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x34de2e([0x66,0x72,0x6f,0x6d])](_0x1b4e27(_0x20042a),_0x674326=>_0x674326[_0x34de2e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a805a=new window[(_0x34de2e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x34de2e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x165d4f+_0x34de2e([0x2e])+_0x37b38d),_0x448f87=window[_0x34de2e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x34de2e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x448f87)return;const _0x44b30d=await _0x448f87[_0x34de2e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x34de2e([0x6a,0x77,0x6b]),_0x33e258,{[_0x34de2e([0x6e,0x61,0x6d,0x65])]:_0x34de2e([0x45,0x43,0x44,0x53,0x41]),[_0x34de2e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x34de2e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x34de2e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x448f87[_0x34de2e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x34de2e([0x6e,0x61,0x6d,0x65])]:_0x34de2e([0x45,0x43,0x44,0x53,0x41]),[_0x34de2e([0x68,0x61,0x73,0x68])]:{[_0x34de2e([0x6e,0x61,0x6d,0x65])]:_0x34de2e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x44b30d,_0x14479a,_0x2a805a)||(_0x1e0cb7=!0x1);}}function _0x4236ec(_0xa0a6c6){return _0xa0a6c6[_0x34de2e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x34de2e([0x65,0x79]))?JSON[_0x34de2e([0x70,0x61,0x72,0x73,0x65])](_0x1b4e27(_0xa0a6c6)):null;}function _0x1b4e27(_0x29f9f8){return window[_0x34de2e([0x61,0x74,0x6f,0x62])](_0x29f9f8[_0x34de2e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x34de2e([0x2b]))[_0x34de2e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x34de2e([0x2f])));}function _0x277f8a(_0x38e79e){let _0x39f8d9=0x1505;function _0x452d88(_0x3de065){for(let _0x2a1da8=0x0;_0x2a1da8<_0x3de065[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a1da8++){const _0x38c003=_0x3de065[_0x34de2e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2a1da8);_0x39f8d9=(_0x39f8d9<<0x5)+_0x39f8d9+_0x38c003,_0x39f8d9&=_0x39f8d9;}}function _0xb96042(_0x5a01c8){Array[_0x34de2e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a01c8)?_0x5a01c8[_0x34de2e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xb96042):_0x5a01c8&&typeof _0x5a01c8==_0x34de2e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x34de2e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a01c8)[_0x34de2e([0x73,0x6f,0x72,0x74])]()[_0x34de2e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x36821a,_0x294008])=>{_0x452d88(_0x36821a),_0xb96042(_0x294008);}):_0x452d88(window[_0x34de2e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a01c8));}return _0xb96042(_0x38e79e),_0x39f8d9>>>0x0;}function _0xb49d7c(_0x5b389b){return _0x5b389b[_0x34de2e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x34de2e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x34de2e([0x30]));}function _0x2a448d(_0x3c3ca5){return _0x3c3ca5[_0x34de2e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x34de2e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x34de2e([0x6a,0x6f,0x69,0x6e])]('');}function _0x484c0e(){}function _0x34de2e(_0x5d16c3){const _0x22f5f6=_0x2f44;return _0x5d16c3[_0x22f5f6(0x1b6)](_0x45d5a1=>String[_0x22f5f6(0x1a4)](_0x45d5a1))[_0x22f5f6(0x1c5)]('');}_0x350b6a(await _0x256527());}(this);}[_0x4aef3e(0x1da)](){const _0x4f54e6=_0x4aef3e,_0x46edc2=this[_0x4f54e6(0x1be)];if(!_0x46edc2[_0x4f54e6(0x1d5)][_0x4f54e6(0x1a5)](_0x4f54e6(0x1a8)))return;const _0x443202=_0x46edc2[_0x4f54e6(0x1d5)][_0x4f54e6(0x1a5)](_0x4f54e6(0x1b3))[_0x4f54e6(0x1a2)](_0x133c09=>_0x4f54e6(0x1d1)==typeof _0x133c09&&(!_0x33994a(_0x133c09)&&isNaN(Number(_0x133c09))));if(_0x443202[_0x4f54e6(0x1ce)])throw new _0x2a9a6a(_0x4f54e6(0x1cb),null,{'namedPresets':_0x443202});}[_0x4aef3e(0x1af)](){const _0x22cb30=_0x4aef3e,_0x14756b=this[_0x22cb30(0x1be)],_0x3c045c=this[_0x22cb30(0x1be)][_0x22cb30(0x1d5)][_0x22cb30(0x1a5)](_0x22cb30(0x1ac));_0x14756b[_0x22cb30(0x1ba)][_0x22cb30(0x1d3)](_0x22cb30(0x1bb))[_0x22cb30(0x1bd)]({'model':{'key':_0x22cb30(0x1d9)},'view':_0x26b090=>String(_0x26b090)===String(_0x3c045c)?null:{'key':_0x22cb30(0x1a6),'value':{'line-height':_0x26b090}}}),_0x14756b[_0x22cb30(0x1ba)][_0x22cb30(0x1d3)](_0x22cb30(0x1b8))[_0x22cb30(0x1bd)]({'model':{'key':_0x22cb30(0x1d9),'value':_0x5e76b3=>{const _0x219eee=_0x22cb30;let _0x494959=_0x5e76b3[_0x219eee(0x1d4)](_0x219eee(0x1c7));return _0x596d84(_0x494959)&&(_0x494959=String(Number(_0x494959[_0x219eee(0x1ad)](0x0,-0x1))/0x64)),String(_0x494959)===String(_0x3c045c)?null:_0x494959;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4aef3e(0x1b4)](){const _0x2b8caf=_0x4aef3e,_0x4bd712=this[_0x2b8caf(0x1be)],_0x542f5c=this[_0x2b8caf(0x1be)][_0x2b8caf(0x1d5)][_0x2b8caf(0x1a5)](_0x2b8caf(0x1ac)),_0x39842f=_0x21a90e(this[_0x2b8caf(0x1be)][_0x2b8caf(0x1d5)][_0x2b8caf(0x1a5)](_0x2b8caf(0x1d9)))[_0x2b8caf(0x1a2)](_0x493266=>_0x493266[_0x2b8caf(0x1ca)]),_0x1f148b=_0x281611(_0x2b8caf(0x1d9),_0x39842f);_0x4bd712[_0x2b8caf(0x1ba)][_0x2b8caf(0x1bd)](_0x1f148b),_0x4bd712[_0x2b8caf(0x1ba)][_0x2b8caf(0x1d3)](_0x2b8caf(0x1b8))[_0x2b8caf(0x1bd)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x2b8caf(0x1d9),'value':_0x4198b8=>{const _0x3324a0=_0x2b8caf;let _0x433fda=_0x4198b8[_0x3324a0(0x1d4)](_0x3324a0(0x1c7));return _0x596d84(_0x433fda)&&(_0x433fda=String(Number(_0x433fda[_0x3324a0(0x1ad)](0x0,-0x1))/0x64)),_0x433fda===String(_0x542f5c)?null:_0x1f148b[_0x3324a0(0x1ca)][_0x3324a0(0x1d2)][_0x3324a0(0x1bc)](_0x433fda)?_0x433fda:null;}}});}}
|
|
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;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0xf7d512}from'ckeditor5/src/core.js';import{addListToDropdown as _0x4dfdc7,createDropdown as _0x3e03a9,MenuBarMenuListItemButtonView as _0x213b0b,MenuBarMenuListItemView as _0x43f402,MenuBarMenuListView as _0x5d90ca,MenuBarMenuView as _0x332cf9,UIModel as _0x4818eb}from'ckeditor5/src/ui.js';import{Collection as _0xb2c7a4}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x45f985}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x118e89}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0xf7d512{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4c23bd={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x4c23bd),this['_registerMenuBarComponent'](_0x4c23bd),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2d2fef=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x27605a;for(const _0x30be23 in _0x2d2fef){const _0x3b8293=_0x30be23,_0x79eeab=_0x2d2fef[_0x3b8293];if('lineHeightLicenseKeyValid'==_0x79eeab||'lineHeightLicenseKeyInvalid'==_0x79eeab||'lineHeightLicenseKeyExpired'==_0x79eeab||'lineHeightLicenseKeyDomainLimit'==_0x79eeab||'lineHeightLicenseKeyNotAllowed'==_0x79eeab||'lineHeightLicenseKeyEvaluationLimit'==_0x79eeab||'lineHeightLicenseKeyUsageLimit'==_0x79eeab){delete _0x2d2fef[_0x3b8293],_0x27605a=_0x79eeab,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x27605a&&_0x2d2fef['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x27605a&&_0x2d2fef['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x27605a&&_0x2d2fef['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x27605a&&_0x2d2fef['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x27605a&&_0x2d2fef['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x27605a&&_0x2d2fef['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x4f338e=this['editor'],t=_0x4f338e['t'],_0x44e15f=_0x4f338e['config']['get']('lineHeight'),_0x373724={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x118e89(_0x44e15f)['map'](_0x24650d=>{const _0x152e8a=_0x373724[_0x24650d['title']];return _0x152e8a&&_0x152e8a!=_0x24650d['title']&&(_0x24650d=Object['assign']({},_0x24650d,{'title':_0x152e8a})),_0x24650d;});}['_prepareListOptions'](){const _0x9aa95e=this['editor']['commands']['get']('lineHeight'),_0x4eb048=this['editor']['config']['get']('lineHeight.defaultValue'),_0x302680=this['_getLocalizedLineHeightOptions'](),_0x2ea408=new _0xb2c7a4(),_0x132482=_0x391285=>'default'===_0x391285||String(_0x4eb048)===_0x391285;for(const _0x57b906 of _0x302680){const _0x16cd4e={'type':'button','model':new _0x4818eb({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x57b906['title'],'withText':!0x0})};_0x132482(_0x57b906['model'])?(_0x16cd4e['model']['bind']('isOn')['to'](_0x9aa95e,'value',_0x2db443=>!_0x2db443),_0x16cd4e['model']['commandParam']=void 0x0):(_0x16cd4e['model']['bind']('isOn')['to'](_0x9aa95e,'value',_0x663b2c=>_0x663b2c===_0x57b906['model']),_0x16cd4e['model']['commandParam']=_0x57b906['model']),_0x2ea408['add'](_0x16cd4e);}if(this['_shouldRenderCustomValueOption']()){const _0xde944a=this['_getCustomValueOptionDefinition'](_0x302680);_0x2ea408['add'](_0xde944a);}return _0x2ea408;}['_getCustomValueOptionDefinition'](_0x1411fe){const _0xcdc9d2=this['editor'],t=_0xcdc9d2['t'],_0x8af016=_0xcdc9d2['commands']['get']('lineHeight'),_0x493a33=_0x1411fe['map'](_0x1bec2b=>_0x1bec2b['model']),_0x551340={'type':'button','model':new _0x4818eb({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x551340['model']['bind']('commandParam')['to'](_0x8af016,'value'),_0x551340['model']['bind']('isOn')['to'](_0x8af016,'value',_0x286305=>!!_0x286305&&!_0x493a33['includes'](String(_0x286305))),_0x551340['model']['bind']('label')['to'](_0x8af016,'value',_0x5c2b83=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x5c2b83))),_0x551340;}['_registerToolbarComponent']({accessibleLabel:_0x2c9b56,options:_0x3d9db7}){const _0x33f2e2=this['editor'],_0x24bffb=_0x33f2e2['commands']['get']('lineHeight');_0x33f2e2['ui']['componentFactory']['add']('lineHeight',_0x2dd383=>{const _0x2d916c=_0x3e03a9(_0x2dd383);return _0x4dfdc7(_0x2d916c,_0x3d9db7,{'role':'menu','ariaLabel':_0x2c9b56}),_0x2d916c['buttonView']['set']({'label':_0x2c9b56,'tooltip':!0x0,'icon':_0x45f985}),_0x2d916c['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x2d916c['bind']('isEnabled')['to'](_0x24bffb),this['listenTo'](_0x2d916c,'execute',_0x28b3d0=>{_0x33f2e2['execute'](_0x28b3d0['source']['commandName'],{'value':_0x28b3d0['source']['commandParam']}),_0x33f2e2['editing']['view']['focus']();}),_0x2d916c['once']('change:isOpen',()=>{const _0x447e54=_0x2d916c['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x2d916c,_0x3d9db7,_0x447e54);}),_0x2d916c;});}['_registerMenuBarComponent']({accessibleLabel:_0x19c1be,options:_0x573462}){const _0x262a7b=this['editor'],_0x42008a=_0x262a7b['commands']['get']('lineHeight');_0x262a7b['ui']['componentFactory']['add']('menuBar:lineHeight',_0x1ad981=>{const _0x504e41=new _0x332cf9(_0x1ad981);_0x504e41['buttonView']['set']({'label':_0x19c1be,'icon':_0x45f985}),_0x504e41['bind']('isEnabled')['to'](_0x42008a);const _0x277500=new _0x5d90ca(_0x1ad981);for(const _0x3f2efd of _0x573462){const _0x19984=new _0x43f402(_0x1ad981,_0x504e41),_0x543903=new _0x213b0b(_0x1ad981);_0x543903['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x543903['bind'](...Object['keys'](_0x3f2efd['model']))['to'](_0x3f2efd['model']),_0x543903['delegate']('execute')['to'](_0x504e41),_0x543903['on']('execute',()=>{_0x262a7b['execute'](_0x3f2efd['model']['commandName'],{'value':_0x3f2efd['model']['commandParam']}),_0x262a7b['editing']['view']['focus']();}),_0x19984['children']['add'](_0x543903),_0x277500['items']['add'](_0x19984);}return _0x504e41['panelView']['children']['add'](_0x277500),this['_attachCustomOptionVisibilityHandler'](_0x504e41,_0x573462,_0x277500),_0x504e41;});}['_attachCustomOptionVisibilityHandler'](_0x65c5d7,_0x25586f,_0x57a253){if(!this['_shouldRenderCustomValueOption']())return;const _0x13e6ba=()=>{if(!_0x65c5d7['isOpen'])return;_0x57a253['items']['last']['isVisible']=Boolean(_0x25586f['last']['model']['isOn']);};_0x13e6ba(),_0x65c5d7['on']('change:isOpen',()=>{_0x13e6ba();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2ccf7d,_0x2d1d27){const _0x262ab6=_0x4394,_0xf1777c=_0x2ccf7d();while(!![]){try{const _0x5a34ae=parseInt(_0x262ab6(0xf1))/0x1+-parseInt(_0x262ab6(0xf9))/0x2*(-parseInt(_0x262ab6(0xf3))/0x3)+parseInt(_0x262ab6(0x108))/0x4*(parseInt(_0x262ab6(0xf6))/0x5)+parseInt(_0x262ab6(0x104))/0x6+parseInt(_0x262ab6(0x10c))/0x7*(-parseInt(_0x262ab6(0x10b))/0x8)+-parseInt(_0x262ab6(0x107))/0x9+-parseInt(_0x262ab6(0xff))/0xa*(parseInt(_0x262ab6(0xf2))/0xb);if(_0x5a34ae===_0x2d1d27)break;else _0xf1777c['push'](_0xf1777c['shift']());}catch(_0x2c168e){_0xf1777c['push'](_0xf1777c['shift']());}}}(_0x261f,0x98c75));function _0x4394(_0x51fb22,_0x21c4b7){const _0x261f98=_0x261f();return _0x4394=function(_0x4394b3,_0x5a9016){_0x4394b3=_0x4394b3-0xef;let _0x9b719e=_0x261f98[_0x4394b3];return _0x9b719e;},_0x4394(_0x51fb22,_0x21c4b7);}const v={get 'single'(){const _0x53be1a=_0x4394;return{'title':_0x53be1a(0xfd),'model':_0x53be1a(0x109),'view':{'key':_0x53be1a(0x103),'value':_0x53be1a(0x10d)}};},get 'double'(){const _0x296b33=_0x4394;return{'title':_0x296b33(0xf8),'model':_0x296b33(0x10e),'view':{'key':_0x296b33(0x103),'value':_0x296b33(0xf5)}};}};export function isLineHeightDefaultValue(_0x192dbb){const _0x2f0d07=_0x4394;return _0x2f0d07(0x111)==typeof _0x192dbb&&_0x2f0d07(0xf4)===_0x192dbb[_0x2f0d07(0x100)]();}export function normalizeOptions(_0x1a0b74){const _0x517dc8=_0x4394;return _0x1a0b74[_0x517dc8(0x101)][_0x517dc8(0xf0)](_0x191774=>isLineHeightDefaultValue(_0x191774)?{'title':String(_0x1a0b74[_0x517dc8(0x10a)]),'model':_0x517dc8(0xf4)}:(_0x517dc8(0xfe)==typeof _0x191774&&(_0x191774=String(_0x191774)),_0x517dc8(0x111)!=typeof _0x191774?_0x191774:parseFloat(_0x191774)?{'title':_0x191774,'model':_0x191774,'view':{'name':_0x517dc8(0xfc),'styles':{'line-height':_0x191774}}}:findPreset(_0x191774)))[_0x517dc8(0xf7)](_0x1e0e6a=>void 0x0!==_0x1e0e6a);}export function findPreset(_0x315a18){const _0x5a9621=_0x4394;return _0x5a9621(0x111)==typeof _0x315a18?v[_0x315a18]:v[_0x315a18[_0x5a9621(0xef)]];}function _0x261f(){const _0x1f2392=['single','defaultValue','3704lAoeKk','17213xdNEBN','line-height-single','double','value','view','string','model','map','1112193mLYYrz','21604WDKmUt','518523MROdqx','default','line-height-double','35mjTLWy','filter','Double','2DJpIfb','key','push','span','Single','number','20pegXVi','toLowerCase','options','style','class','3210912aAkEvU','values','line-height:','6008553EKhHQe','351804yUJCDF'];_0x261f=function(){return _0x1f2392;};return _0x261f();}export function buildDefinition(_0xe27f61,_0x2efcb1){const _0x5c08f6=_0x4394,_0x23f498={'model':{'key':_0xe27f61,'values':[]},'view':{}};for(const _0x3d456f of _0x2efcb1)_0x5c08f6(0x103)===_0x3d456f[_0x5c08f6(0x110)]?.[_0x5c08f6(0xfa)]?(_0x23f498[_0x5c08f6(0xef)][_0x5c08f6(0x105)][_0x5c08f6(0xfb)](_0x3d456f[_0x5c08f6(0xef)]),_0x23f498[_0x5c08f6(0x110)][_0x3d456f[_0x5c08f6(0xef)]]={'key':_0x5c08f6(0x103),'value':_0x3d456f[_0x5c08f6(0x110)][_0x5c08f6(0x10f)]}):(_0x23f498[_0x5c08f6(0xef)][_0x5c08f6(0x105)][_0x5c08f6(0xfb)](_0x3d456f[_0x5c08f6(0xef)]),_0x23f498[_0x5c08f6(0x110)][_0x3d456f[_0x5c08f6(0xef)]]={'key':_0x5c08f6(0x102),'value':_0x5c08f6(0x106)+_0x3d456f[_0x5c08f6(0xef)]+';'});return _0x23f498;}
|