@ckeditor/ckeditor5-line-height 0.0.0-nightly-next-20251225.0 → 0.0.0-nightly-20251226.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
|
-
|
|
23
|
+
const _0x1ceb30=_0x1ece;(function(_0x68b029,_0xba5e83){const _0x3d95bd=_0x1ece,_0x1fbd52=_0x68b029();while(!![]){try{const _0x33344b=-parseInt(_0x3d95bd(0x1bc))/0x1+-parseInt(_0x3d95bd(0x1b7))/0x2+-parseInt(_0x3d95bd(0x1d5))/0x3+-parseInt(_0x3d95bd(0x1d3))/0x4*(parseInt(_0x3d95bd(0x1af))/0x5)+-parseInt(_0x3d95bd(0x1c5))/0x6*(parseInt(_0x3d95bd(0x1cf))/0x7)+parseInt(_0x3d95bd(0x1bd))/0x8+-parseInt(_0x3d95bd(0x1c1))/0x9*(-parseInt(_0x3d95bd(0x1b6))/0xa);if(_0x33344b===_0xba5e83)break;else _0x1fbd52['push'](_0x1fbd52['shift']());}catch(_0x1f7c7c){_0x1fbd52['push'](_0x1fbd52['shift']());}}}(_0x47f9,0x560c1));import{Plugin as _0xa043c1}from'ckeditor5/src/core.js';function _0x1ece(_0x9ace63,_0x4a8629){const _0x47f975=_0x47f9();return _0x1ece=function(_0x1ece9d,_0x4c1618){_0x1ece9d=_0x1ece9d-0x1af;let _0x51fafb=_0x47f975[_0x1ece9d];return _0x51fafb;},_0x1ece(_0x9ace63,_0x4a8629);}import{Matcher as _0x25ef28}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0xa043c1{static get[_0x1ceb30(0x1b0)](){const _0x27f5aa=_0x1ceb30;return _0x27f5aa(0x1b9);}static get[_0x1ceb30(0x1ca)](){return!0x0;}static get[_0x1ceb30(0x1bf)](){return!0x0;}[_0x1ceb30(0x1c0)](){const _0x9a3334=_0x1ceb30,{plugins:_0x3e03dd,conversion:_0x28ea1b}=this[_0x9a3334(0x1d8)];if(!_0x3e03dd[_0x9a3334(0x1c3)](_0x9a3334(0x1b5))||!_0x3e03dd[_0x9a3334(0x1c3)](_0x9a3334(0x1c9)))return;_0x3e03dd[_0x9a3334(0x1ba)](_0x9a3334(0x1b5))[_0x9a3334(0x1be)]({'scope':_0x9a3334(0x1c6),'attributeName':_0x9a3334(0x1bb),'consume':!0x1,'setAttributeOnDowncast'(_0x2e55c1,_0x2c8631,_0x33fc14,_0x3c0b13,_0x2338c4){const _0x30a6f1=_0x9a3334;_0x30a6f1(0x1b8)==_0x2338c4[_0x30a6f1(0x1cd)](_0x30a6f1(0x1cc))&&_0x2c8631&&(_0x2e55c1[_0x30a6f1(0x1d9)](_0x30a6f1(0x1d7),_0x33fc14),_0x2e55c1[_0x30a6f1(0x1da)](_0x30a6f1(0x1cb),_0x2c8631,_0x33fc14));}}),_0x28ea1b[_0x9a3334(0x1b3)](_0x9a3334(0x1b2))[_0x9a3334(0x1c4)]({'view':{'name':_0x9a3334(0x1c8),'classes':_0x9a3334(0x1d6)},'model':_0x9a3334(0x1c7),'converterPriority':_0x9a3334(0x1ce)}),_0x28ea1b[_0x9a3334(0x1b3)](_0x9a3334(0x1b2))[_0x9a3334(0x1d2)](_0x212a3a=>{const _0x374d38=_0x9a3334;_0x212a3a['on'](_0x374d38(0x1d0),function(_0x55e158){const _0x3c54d6=new _0x25ef28(_0x55e158);return(_0x583206,_0x51e946,_0x133928)=>{const _0x3d15d5=_0x1ece,_0x192ad6=_0x3c54d6[_0x3d15d5(0x1b4)](_0x51e946[_0x3d15d5(0x1c2)]);if(!_0x192ad6)return;const _0x28d02c=_0x192ad6[_0x3d15d5(0x1b4)];_0x28d02c[_0x3d15d5(0x1d4)]=!0x1,_0x133928[_0x3d15d5(0x1b1)][_0x3d15d5(0x1d1)](_0x51e946[_0x3d15d5(0x1c2)],_0x28d02c);};}({'name':'li','classes':_0x374d38(0x1d7),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}function _0x47f9(){const _0x3d4b5b=['isPremiumPlugin','init','11367801pDpxdf','viewItem','has','elementToElement','56640HziBDk','item','paragraph','span','TodoListEditing','isOfficialPlugin','--ck-content-list-marker-line-height','listType','getAttribute','high','98DdvEUE','element:li','consume','add','1024856oJEOOr','name','1616838deNxoi','todo-list__label__description','ck-list-marker-line-height','editor','addClass','setStyle','5TloEwD','pluginName','consumable','upcast','for','match','ListEditing','10lIRWrf','373056RuPVed','todo','LineHeightTodoListIntegration','get','lineHeight','391865ZPUjZw','4760584ySbQaf','registerDowncastStrategy'];_0x47f9=function(){return _0x3d4b5b;};return _0x47f9();}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x146a90=_0x283d;function _0x283d(_0x1cb6d7,_0x3eacb3){var _0x8626cf=_0x8626();return _0x283d=function(_0x283deb,_0x4ddc7a){_0x283deb=_0x283deb-0x153;var _0x41e149=_0x8626cf[_0x283deb];return _0x41e149;},_0x283d(_0x1cb6d7,_0x3eacb3);}(function(_0xf88bdf,_0x1bba50){var _0x20aa65=_0x283d,_0x8fa080=_0xf88bdf();while(!![]){try{var _0x3a13b9=parseInt(_0x20aa65(0x15c))/0x1+parseInt(_0x20aa65(0x155))/0x2*(-parseInt(_0x20aa65(0x15e))/0x3)+-parseInt(_0x20aa65(0x159))/0x4+-parseInt(_0x20aa65(0x160))/0x5+-parseInt(_0x20aa65(0x161))/0x6*(-parseInt(_0x20aa65(0x15d))/0x7)+parseInt(_0x20aa65(0x15a))/0x8*(-parseInt(_0x20aa65(0x153))/0x9)+parseInt(_0x20aa65(0x15f))/0xa;if(_0x3a13b9===_0x1bba50)break;else _0x8fa080['push'](_0x8fa080['shift']());}catch(_0x5834e1){_0x8fa080['push'](_0x8fa080['shift']());}}}(_0x8626,0xb2396));import{Plugin as _0x277ad1}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x3c08bc}from'./lineheightediting.js';import{LineHeightUI as _0x3759cb}from'./lineheightui.js';export class LineHeight extends _0x277ad1{static get[_0x146a90(0x157)](){return[_0x3c08bc,_0x3759cb];}static get[_0x146a90(0x158)](){var _0x40b618=_0x146a90;return _0x40b618(0x154);}static get[_0x146a90(0x15b)](){return!0x0;}static get[_0x146a90(0x156)](){return!0x0;}}function _0x8626(){var _0x322bce=['62IUWoVK','isPremiumPlugin','requires','pluginName','787876DGYzWD','8wqtmqj','isOfficialPlugin','373446qwqInO','7lZCOBs','52062XPMTOM','22086000ELNQNt','5683870DhgRIa','4924788HpyWcr','7210089FvSijX','LineHeight'];_0x8626=function(){return _0x322bce;};return _0x8626();}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0xae5dea=_0x3440;function _0x3440(_0x402ba7,_0x5f2f85){const _0x3d69e7=_0x3d69();return _0x3440=function(_0x344006,_0x1cc0cd){_0x344006=_0x344006-0xbd;let _0xb72c08=_0x3d69e7[_0x344006];return _0xb72c08;},_0x3440(_0x402ba7,_0x5f2f85);}(function(_0x3c8284,_0x244512){const _0x2edcec=_0x3440,_0x20db5e=_0x3c8284();while(!![]){try{const _0x1499bb=-parseInt(_0x2edcec(0xcb))/0x1*(parseInt(_0x2edcec(0xc1))/0x2)+parseInt(_0x2edcec(0xd9))/0x3*(-parseInt(_0x2edcec(0xc9))/0x4)+parseInt(_0x2edcec(0xd1))/0x5+parseInt(_0x2edcec(0xcd))/0x6+parseInt(_0x2edcec(0xce))/0x7+parseInt(_0x2edcec(0xd0))/0x8+parseInt(_0x2edcec(0xc6))/0x9*(-parseInt(_0x2edcec(0xd3))/0xa);if(_0x1499bb===_0x244512)break;else _0x20db5e['push'](_0x20db5e['shift']());}catch(_0x4db8d8){_0x20db5e['push'](_0x20db5e['shift']());}}}(_0x3d69,0x25c55));import{Command as _0x3b535b}from'ckeditor5/src/core.js';function _0x3d69(){const _0x1c88e6=['16524jzSGfU','refresh','4559QLnbFl','setAttribute','866142TIUjBC','680295QBgPYn','execute','755888MZCFlC','817145KXkXUo','change','10jQHneb','removeAttribute','filter','_canHaveLineHeight','getSelectedBlocks','selection','159LphaAv','editor','checkAttribute','isEnabled','value','14cysZSB','from','schema','document','getAttribute','845028eRwqqW','lineHeight','model'];_0x3d69=function(){return _0x1c88e6;};return _0x3d69();}import{first as _0x2c9723}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x3b535b{[_0xae5dea(0xca)](){const _0x1e51f9=_0xae5dea,_0x463e3a=this[_0x1e51f9(0xbd)][_0x1e51f9(0xc8)][_0x1e51f9(0xc4)],_0x2adcd9=_0x2c9723(_0x463e3a[_0x1e51f9(0xd8)][_0x1e51f9(0xd7)]());this[_0x1e51f9(0xbf)]=Boolean(_0x2adcd9)&&this[_0x1e51f9(0xd6)](_0x2adcd9),this[_0x1e51f9(0xc0)]=this[_0x1e51f9(0xbf)]&&_0x2adcd9[_0x1e51f9(0xc5)](_0x1e51f9(0xc7));}[_0xae5dea(0xcf)](_0x1b62dd={}){const _0x22d9dd=_0xae5dea,_0x4ea7c9=this[_0x22d9dd(0xbd)][_0x22d9dd(0xc8)],_0x3ce8cf=_0x4ea7c9[_0x22d9dd(0xc4)][_0x22d9dd(0xd8)],_0x5d8abb=_0x1b62dd[_0x22d9dd(0xc0)];_0x4ea7c9[_0x22d9dd(0xd2)](_0x3680a0=>{const _0x567c08=_0x22d9dd,_0xd1870d=Array[_0x567c08(0xc2)](_0x3ce8cf[_0x567c08(0xd7)]())[_0x567c08(0xd5)](_0x41df92=>this[_0x567c08(0xd6)](_0x41df92));for(const _0x339c32 of _0xd1870d)_0x5d8abb?_0x3680a0[_0x567c08(0xcc)](_0x567c08(0xc7),_0x5d8abb,_0x339c32):_0x3680a0[_0x567c08(0xd4)](_0x567c08(0xc7),_0x339c32);});}[_0xae5dea(0xd6)](_0x3c0064){const _0x2b18b8=_0xae5dea;return this[_0x2b18b8(0xbd)][_0x2b18b8(0xc8)][_0x2b18b8(0xc3)][_0x2b18b8(0xbe)](_0x3c0064,_0x2b18b8(0xc7));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x364f32=_0x150d;(function(_0x2f3341,_0x429d80){const _0x5ea3b2=_0x150d,_0x45928e=_0x2f3341();while(!![]){try{const _0x68ef85=-parseInt(_0x5ea3b2(0xa5))/0x1+parseInt(_0x5ea3b2(0x8d))/0x2+parseInt(_0x5ea3b2(0xc0))/0x3+-parseInt(_0x5ea3b2(0x8f))/0x4+-parseInt(_0x5ea3b2(0x94))/0x5+-parseInt(_0x5ea3b2(0xb4))/0x6*(-parseInt(_0x5ea3b2(0xaf))/0x7)+-parseInt(_0x5ea3b2(0x96))/0x8*(-parseInt(_0x5ea3b2(0xba))/0x9);if(_0x68ef85===_0x429d80)break;else _0x45928e['push'](_0x45928e['shift']());}catch(_0x5eedcf){_0x45928e['push'](_0x45928e['shift']());}}}(_0x6d7c,0x85914));import{Plugin as _0x5cfb4f}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x5d941e}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x296e3f}from'ckeditor5/src/engine.js';function _0x6d7c(){const _0x2ea9e7=['downcast','LineHeightEditing','7AySSFX','define','fromCharCode','model','_validateConfig','3711570knHoZc','$block','for','lineHeight.supportAllValues','line-height','editor','10467mCQmJN','values','init','afterInit','setAttributeProperties','map','172296EYIxFq','string','line-height-invalid-use-of-named-presets','250546uelmGJ','config','926492ECqIBk','lineHeight.options','_prepareAnyValueConverters','join','getStyle','1701550dxymJH','extend','8488tZlWKZ','pluginName','lineHeight.defaultValue','length','attributeToAttribute','lineHeight','get','style','conversion','slice','schema','isOfficialPlugin','requires','filter','upcast','916218dUnXlT','href','isPremiumPlugin','default','_preparePredefinedConverters','commands','includes','add'];_0x6d7c=function(){return _0x2ea9e7;};return _0x6d7c();}function _0x150d(_0x2d7a99,_0x52d860){const _0x6d7c37=_0x6d7c();return _0x150d=function(_0x150daf,_0x219009){_0x150daf=_0x150daf-0x8b;let _0x2da08b=_0x6d7c37[_0x150daf];return _0x2da08b;},_0x150d(_0x2d7a99,_0x52d860);}import{uid as _0x2e53a8,CKEditorError as _0x5b1ad4}from'ckeditor5/src/utils.js';import{buildDefinition as _0x32146d,isLineHeightDefaultValue as _0x598ba3,normalizeOptions as _0x517435}from'./utils.js';import{LineHeightTodoListIntegration as _0x57bb08}from'./integrations/todolist.js';export class LineHeightEditing extends _0x5cfb4f{static get[_0x364f32(0x97)](){const _0x4f5f0c=_0x364f32;return _0x4f5f0c(0xae);}static get[_0x364f32(0xa2)](){return[_0x57bb08];}static get[_0x364f32(0xa1)](){return!0x0;}static get[_0x364f32(0xa7)](){return!0x0;}constructor(_0x582157){const _0x4f54ff=_0x364f32;super(_0x582157),_0x582157[_0x4f54ff(0x8e)][_0x4f54ff(0xb0)](_0x4f54ff(0x9b),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4f54ff(0xa8),0x2,2.5,0x3]});}[_0x364f32(0xbc)](){const _0xe24325=_0x364f32,_0x2ce36c=this[_0xe24325(0xb9)];this[_0xe24325(0xb3)](),_0x2ce36c[_0xe24325(0xb2)][_0xe24325(0xa0)][_0xe24325(0x95)](_0xe24325(0xb5),{'allowAttributes':_0xe24325(0x9b)}),_0x2ce36c[_0xe24325(0xb2)][_0xe24325(0xa0)][_0xe24325(0xbe)](_0xe24325(0x9b),{'isFormatting':!0x0}),_0x2ce36c[_0xe24325(0xaa)][_0xe24325(0xac)](_0xe24325(0x9b),new _0x5d941e(_0x2ce36c)),this[_0xe24325(0xb9)][_0xe24325(0x8e)][_0xe24325(0x9c)](_0xe24325(0xb7))?this[_0xe24325(0x91)]():this[_0xe24325(0xa9)]();}[_0x364f32(0xbd)](){!async function(_0x174d0c){const _0x84204c=_0x525be4([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]),_0x2edc11=0x45ddd215,_0x2027ef=0x45daaefd^_0x2edc11,_0x9de35e=window[_0x525be4([0x44,0x61,0x74,0x65])][_0x525be4([0x6e,0x6f,0x77])](),_0x1df53e=_0x174d0c[_0x525be4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xcb0879=new window[(_0x525be4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2342de=>{_0x1df53e[_0x525be4([0x6f,0x6e,0x63,0x65])](_0x525be4([0x72,0x65,0x61,0x64,0x79]),_0x2342de);}),_0x3708b5={[_0x525be4([0x6b,0x74,0x79])]:_0x525be4([0x45,0x43]),[_0x525be4([0x75,0x73,0x65])]:_0x525be4([0x73,0x69,0x67]),[_0x525be4([0x63,0x72,0x76])]:_0x525be4([0x50,0x2d,0x32,0x35,0x36]),[_0x525be4([0x78])]:_0x525be4([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]),[_0x525be4([0x79])]:_0x525be4([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]),[_0x525be4([0x61,0x6c,0x67])]:_0x525be4([0x45,0x53,0x32,0x35,0x36])},_0x387000=_0x1df53e[_0x525be4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x525be4([0x67,0x65,0x74])](_0x525be4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1a6e31(){let _0x46cf3c,_0xf62915=null,_0xcba52f=null;try{if(_0x387000==_0x525be4([0x47,0x50,0x4c]))return _0x525be4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x46cf3c=_0x146cf9(),!_0x46cf3c)return _0x525be4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x46cf3c[_0x525be4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xcba52f=_0x56fcd6(_0x46cf3c[_0x525be4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x46cf3c[_0x525be4([0x6a,0x74,0x69])])),await _0x269a0a()?_0x12b936()?_0x32d918()?_0x525be4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x34ba55()?(_0x46cf3c[_0x525be4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x525be4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xf62915=_0xf5b769(_0x525be4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x46cf3c[_0x525be4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x525be4([0x74,0x72,0x69,0x61,0x6c])&&(_0xf62915=_0xf5b769(_0x525be4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5c79f4()):_0x525be4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x525be4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x525be4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x525be4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x32d918(){const _0x251d76=[_0x525be4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x525be4([0x74,0x72,0x69,0x61,0x6c])][_0x525be4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46cf3c[_0x525be4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9de35e/0x3e8:0xe10*_0x2027ef;return _0x46cf3c[_0x525be4([0x65,0x78,0x70])]<_0x251d76;}function _0x12b936(){const _0x5aeacb=_0x46cf3c[_0x525be4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5aeacb&&(!!_0x5aeacb[_0x525be4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x525be4([0x2a]))||!!_0x5aeacb[_0x525be4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x525be4([0x4c,0x48])));}function _0x34ba55(){const _0x1819c5=_0x150d,_0xe8c341=_0x46cf3c[_0x525be4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xe8c341||0x0==_0xe8c341[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2b7df0}=new URL(window[_0x525be4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1819c5(0xa6)]);if(_0xe8c341[_0x525be4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b7df0))return!0x0;const _0x487f9a=_0x2b7df0[_0x525be4([0x73,0x70,0x6c,0x69,0x74])](_0x525be4([0x2e]));return _0xe8c341[_0x525be4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17db5f=>_0x17db5f[_0x525be4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x525be4([0x2a])))[_0x525be4([0x6d,0x61,0x70])](_0x58d929=>_0x58d929[_0x525be4([0x73,0x70,0x6c,0x69,0x74])](_0x525be4([0x2e])))[_0x525be4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47730a=>_0x47730a[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x487f9a[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x525be4([0x6d,0x61,0x70])](_0x14024e=>Array(_0x487f9a[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x14024e[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x525be4([0x66,0x69,0x6c,0x6c])](_0x14024e[0x0]===_0x525be4([0x2a])?_0x525be4([0x2a]):'')[_0x525be4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x14024e))[_0x525be4([0x73,0x6f,0x6d,0x65])](_0xfe5584=>_0x487f9a[_0x525be4([0x65,0x76,0x65,0x72,0x79])]((_0x422b54,_0x10a587)=>_0xfe5584[_0x10a587]===_0x422b54||_0xfe5584[_0x10a587]===_0x525be4([0x2a])));}function _0x5c79f4(){return _0xf62915&&_0xcba52f?new window[(_0x525be4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf826d0,_0x168d81)=>{_0xf62915[_0x525be4([0x74,0x68,0x65,0x6e])](_0xf826d0,_0x168d81),_0xcba52f[_0x525be4([0x74,0x68,0x65,0x6e])](_0x17ffea=>{_0x17ffea!=_0x525be4([0x56,0x61,0x6c,0x69,0x64])&&_0xf826d0(_0x17ffea);},_0x168d81);}):_0xf62915||_0xcba52f||_0x525be4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x56fcd6(_0xa367df,_0x2aa66d){return new window[(_0x525be4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b65ac=>{if(_0x5d6b4e())return _0x4b65ac(_0x525be4([0x56,0x61,0x6c,0x69,0x64]));_0x5dcc92(),_0x1df53e[_0x525be4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x525be4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x238b46=!0x1;const _0x47c030=_0x2e53a8();function _0x1ffec3(_0x5512d1){return!!_0x5512d1&&(typeof _0x5512d1===_0x525be4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5512d1===_0x525be4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5512d1[_0x525be4([0x74,0x68,0x65,0x6e])]===_0x525be4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5512d1[_0x525be4([0x63,0x61,0x74,0x63,0x68])]===_0x525be4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f6686(_0x3f222c){_0x12635c(_0x3f222c)[_0x525be4([0x74,0x68,0x65,0x6e])](_0x4f56a3=>{if(!_0x4f56a3||_0x4f56a3[_0x525be4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x525be4([0x6f,0x6b]))return _0x525be4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x350573(_0x5ce875(_0x47c030+_0x2aa66d))!=_0x4f56a3[_0x525be4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x525be4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x525be4([0x56,0x61,0x6c,0x69,0x64]);})[_0x525be4([0x74,0x68,0x65,0x6e])](_0x348900=>(_0x53b9d8(),_0x348900),()=>{const _0x42dd48=_0x33a135();return null==_0x42dd48?(_0x53b9d8(),_0x525be4([0x56,0x61,0x6c,0x69,0x64])):_0x525be4(_0x9de35e-_0x42dd48>(0x61d15615^_0x2edc11)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x525be4([0x74,0x68,0x65,0x6e])](_0x4b65ac)[_0x525be4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4b65ac(_0x525be4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1e69b8=0x45eb3c95^_0x2edc11;function _0x53b9d8(){const _0x3c82ce=_0x525be4([0x6c,0x6c,0x63,0x74,0x2d])+_0x350573(_0x5ce875(_0xa367df)),_0x3ee2e2=_0xc2425b(_0x350573(window[_0x525be4([0x4d,0x61,0x74,0x68])][_0x525be4([0x63,0x65,0x69,0x6c])](_0x9de35e/_0x1e69b8)));window[_0x525be4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x525be4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c82ce,_0x3ee2e2);}function _0x33a135(){const _0x3a247a=_0x525be4([0x6c,0x6c,0x63,0x74,0x2d])+_0x350573(_0x5ce875(_0xa367df)),_0x524027=window[_0x525be4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x525be4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a247a);return _0x524027?window[_0x525be4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc2425b(_0x524027),0x10)*_0x1e69b8:null;}function _0x12635c(_0x1b6c57){return new window[(_0x525be4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40166c,_0x18353d)=>{_0x1b6c57[_0x525be4([0x74,0x68,0x65,0x6e])](_0x40166c,_0x18353d),window[_0x525be4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x18353d,0x45dc06d5^_0x2edc11);});}}_0x1df53e[_0x525be4([0x6f,0x6e])](_0x525be4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x22653a,_0x298c59)=>{if(_0x298c59[0x0]!=_0xa367df)return _0x4b65ac(_0x525be4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x298c59[0x1]={..._0x298c59[0x1],[_0x525be4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x47c030};},{[_0x525be4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x525be4([0x68,0x69,0x67,0x68])}),_0x1df53e[_0x525be4([0x6f,0x6e])](_0x525be4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ca2d9=>{_0x1ffec3(_0x3ca2d9[_0x525be4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x238b46=!0x0,_0x3f6686(_0x3ca2d9[_0x525be4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x525be4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x525be4([0x6c,0x6f,0x77])}),_0xcb0879[_0x525be4([0x74,0x68,0x65,0x6e])](()=>{_0x238b46||_0x4b65ac(_0x525be4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d6b4e(){return _0x1df53e[_0x525be4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x525be4([0x76,0x69,0x65,0x77])][_0x525be4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x525be4([0x61,0x75,0x74,0x6f]);}function _0x5dcc92(){_0x1df53e[_0x525be4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x525be4([0x76,0x69,0x65,0x77])][_0x525be4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x525be4([0x61,0x75,0x74,0x6f]);}}function _0xf5b769(_0x1c4ef7){const _0x25a8a9=[new window[(_0x525be4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5af7bb=>setTimeout(_0x5af7bb,0x45d4ecd9^_0x2edc11)),_0xcb0879[_0x525be4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x525be4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a3994=>{let _0x52050f=0x0;_0x1df53e[_0x525be4([0x6d,0x6f,0x64,0x65,0x6c])][_0x525be4([0x6f,0x6e])](_0x525be4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2657f8,_0xbcfa58)=>{_0xbcfa58[0x0][_0x525be4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x52050f++,_0x52050f==(0x45ddd7fd^_0x2edc11)&&(_0x2a3994(),_0x2657f8[_0x525be4([0x6f,0x66,0x66])]());});}))];return window[_0x525be4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x525be4([0x72,0x61,0x63,0x65])](_0x25a8a9)[_0x525be4([0x74,0x68,0x65,0x6e])](()=>_0x1c4ef7);}async function _0x2c0ebf(){await _0xcb0879,_0x1df53e[_0x525be4([0x6d,0x6f,0x64,0x65,0x6c])][_0x525be4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2fab41,_0x1df53e[_0x525be4([0x6d,0x6f,0x64,0x65,0x6c])][_0x525be4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2fab41,_0x1df53e[_0x525be4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x525be4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x207b0b(_0x482985){const _0x1e078b=_0x2e987f();_0x1df53e[_0x1e078b]=_0x525be4([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x482985,_0x482985!=_0x525be4([0x56,0x61,0x6c,0x69,0x64])&&_0x2c0ebf();}function _0x2e987f(){const _0x1604df=window[_0x525be4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x525be4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x525be4([0x6e,0x6f,0x77])]())[_0x525be4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x525be4([0x2e]),'');let _0x32a29d=_0x525be4([0x50]);for(let _0x3d1131=0x0;_0x3d1131<_0x1604df[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d1131+=0x2){let _0x3b44da=window[_0x525be4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1604df[_0x525be4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d1131,_0x3d1131+0x2));_0x3b44da>=_0x84204c[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3b44da-=_0x84204c[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x32a29d+=_0x84204c[_0x3b44da];}return _0x32a29d;}function _0x146cf9(){const _0x1f23a8=_0x387000[_0x525be4([0x73,0x70,0x6c,0x69,0x74])](_0x525be4([0x2e]));if(0x3!=_0x1f23a8[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x181edf(_0x1f23a8[0x1]);function _0x181edf(_0x5b59d7){const _0x5b439e=_0x4223ae(_0x5b59d7);return _0x5b439e&&_0x4a0e59()?_0x5b439e:null;function _0x4a0e59(){const _0x159104=_0x5b439e[_0x525be4([0x6a,0x74,0x69])],_0x2c1062=window[_0x525be4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x159104[_0x525be4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x159104[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x34daef={..._0x5b439e,[_0x525be4([0x6a,0x74,0x69])]:_0x159104[_0x525be4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x159104[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x34daef[_0x525be4([0x76,0x63])],_0x5ce875(_0x34daef)==_0x2c1062;}}}async function _0x269a0a(){let _0x2c547a=!0x0;try{const _0x2f10a3=_0x387000[_0x525be4([0x73,0x70,0x6c,0x69,0x74])](_0x525be4([0x2e])),[_0x2e3d5e,_0x1a44eb,_0x3cccdc]=_0x2f10a3;return _0x1e2c8e(_0x2e3d5e),await _0x867666(_0x2e3d5e,_0x1a44eb,_0x3cccdc),_0x2c547a;}catch{return!0x1;}function _0x1e2c8e(_0x3cd628){const _0x373e98=_0x4223ae(_0x3cd628);_0x373e98&&_0x373e98[_0x525be4([0x61,0x6c,0x67])]==_0x525be4([0x45,0x53,0x32,0x35,0x36])||(_0x2c547a=!0x1);}async function _0x867666(_0x56eb82,_0x1267ee,_0xe625d7){const _0x39def8=window[_0x525be4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x525be4([0x66,0x72,0x6f,0x6d])](_0x4c219f(_0xe625d7),_0x2c259f=>_0x2c259f[_0x525be4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x57afb7=new window[(_0x525be4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x525be4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x56eb82+_0x525be4([0x2e])+_0x1267ee),_0x4663ab=window[_0x525be4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x525be4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4663ab)return;const _0x15d7b4=await _0x4663ab[_0x525be4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x525be4([0x6a,0x77,0x6b]),_0x3708b5,{[_0x525be4([0x6e,0x61,0x6d,0x65])]:_0x525be4([0x45,0x43,0x44,0x53,0x41]),[_0x525be4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x525be4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x525be4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4663ab[_0x525be4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x525be4([0x6e,0x61,0x6d,0x65])]:_0x525be4([0x45,0x43,0x44,0x53,0x41]),[_0x525be4([0x68,0x61,0x73,0x68])]:{[_0x525be4([0x6e,0x61,0x6d,0x65])]:_0x525be4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x15d7b4,_0x39def8,_0x57afb7)||(_0x2c547a=!0x1);}}function _0x4223ae(_0x5770a3){return _0x5770a3[_0x525be4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x525be4([0x65,0x79]))?JSON[_0x525be4([0x70,0x61,0x72,0x73,0x65])](_0x4c219f(_0x5770a3)):null;}function _0x4c219f(_0x27cbb2){return window[_0x525be4([0x61,0x74,0x6f,0x62])](_0x27cbb2[_0x525be4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x525be4([0x2b]))[_0x525be4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x525be4([0x2f])));}function _0x5ce875(_0x5d245e){let _0x1f2136=0x1505;function _0x48275e(_0x3c0122){for(let _0x357e75=0x0;_0x357e75<_0x3c0122[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x357e75++){const _0x127949=_0x3c0122[_0x525be4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x357e75);_0x1f2136=(_0x1f2136<<0x5)+_0x1f2136+_0x127949,_0x1f2136&=_0x1f2136;}}function _0x5e76e3(_0x46b31d){Array[_0x525be4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x46b31d)?_0x46b31d[_0x525be4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e76e3):_0x46b31d&&typeof _0x46b31d==_0x525be4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x525be4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x46b31d)[_0x525be4([0x73,0x6f,0x72,0x74])]()[_0x525be4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb6c308,_0x59570c])=>{_0x48275e(_0xb6c308),_0x5e76e3(_0x59570c);}):_0x48275e(window[_0x525be4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x46b31d));}return _0x5e76e3(_0x5d245e),_0x1f2136>>>0x0;}function _0x350573(_0x6a7494){return _0x6a7494[_0x525be4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x525be4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x525be4([0x30]));}function _0xc2425b(_0x2be83d){return _0x2be83d[_0x525be4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x525be4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x525be4([0x6a,0x6f,0x69,0x6e])]('');}function _0x2fab41(){}function _0x525be4(_0x1c06d4){const _0x5e3a48=_0x150d;return _0x1c06d4[_0x5e3a48(0xbf)](_0x5a1e49=>String[_0x5e3a48(0xb1)](_0x5a1e49))[_0x5e3a48(0x92)]('');}_0x207b0b(await _0x1a6e31());}(this);}[_0x364f32(0xb3)](){const _0x4ff91a=_0x364f32,_0x361d2c=this[_0x4ff91a(0xb9)];if(!_0x361d2c[_0x4ff91a(0x8e)][_0x4ff91a(0x9c)](_0x4ff91a(0xb7)))return;const _0x1102b6=_0x361d2c[_0x4ff91a(0x8e)][_0x4ff91a(0x9c)](_0x4ff91a(0x90))[_0x4ff91a(0xa3)](_0x5412e8=>_0x4ff91a(0x8b)==typeof _0x5412e8&&(!_0x598ba3(_0x5412e8)&&isNaN(Number(_0x5412e8))));if(_0x1102b6[_0x4ff91a(0x99)])throw new _0x5b1ad4(_0x4ff91a(0x8c),null,{'namedPresets':_0x1102b6});}[_0x364f32(0x91)](){const _0x1e2c58=_0x364f32,_0x42a8a9=this[_0x1e2c58(0xb9)],_0x4e192e=this[_0x1e2c58(0xb9)][_0x1e2c58(0x8e)][_0x1e2c58(0x9c)](_0x1e2c58(0x98));_0x42a8a9[_0x1e2c58(0x9e)][_0x1e2c58(0xb6)](_0x1e2c58(0xad))[_0x1e2c58(0x9a)]({'model':{'key':_0x1e2c58(0x9b)},'view':_0x4ceaf8=>String(_0x4ceaf8)===String(_0x4e192e)?null:{'key':_0x1e2c58(0x9d),'value':{'line-height':_0x4ceaf8}}}),_0x42a8a9[_0x1e2c58(0x9e)][_0x1e2c58(0xb6)](_0x1e2c58(0xa4))[_0x1e2c58(0x9a)]({'model':{'key':_0x1e2c58(0x9b),'value':_0x2b352d=>{const _0x2a2429=_0x1e2c58;let _0x3f9b1c=_0x2b352d[_0x2a2429(0x93)](_0x2a2429(0xb8));return _0x296e3f(_0x3f9b1c)&&(_0x3f9b1c=String(Number(_0x3f9b1c[_0x2a2429(0x9f)](0x0,-0x1))/0x64)),String(_0x3f9b1c)===String(_0x4e192e)?null:_0x3f9b1c;}},'view':{'styles':{'line-height':/.*/}}});}[_0x364f32(0xa9)](){const _0x4391ce=_0x364f32,_0x5f0087=this[_0x4391ce(0xb9)],_0x53d6a7=this[_0x4391ce(0xb9)][_0x4391ce(0x8e)][_0x4391ce(0x9c)](_0x4391ce(0x98)),_0x5950a6=_0x517435(this[_0x4391ce(0xb9)][_0x4391ce(0x8e)][_0x4391ce(0x9c)](_0x4391ce(0x9b)))[_0x4391ce(0xa3)](_0xad4655=>_0xad4655[_0x4391ce(0xb2)]),_0xe4d44f=_0x32146d(_0x4391ce(0x9b),_0x5950a6);_0x5f0087[_0x4391ce(0x9e)][_0x4391ce(0x9a)](_0xe4d44f),_0x5f0087[_0x4391ce(0x9e)][_0x4391ce(0xb6)](_0x4391ce(0xa4))[_0x4391ce(0x9a)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x4391ce(0x9b),'value':_0x5c8d4a=>{const _0x187bfe=_0x4391ce;let _0x441612=_0x5c8d4a[_0x187bfe(0x93)](_0x187bfe(0xb8));return _0x296e3f(_0x441612)&&(_0x441612=String(Number(_0x441612[_0x187bfe(0x9f)](0x0,-0x1))/0x64)),_0x441612===String(_0x53d6a7)?null:_0xe4d44f[_0x187bfe(0xb2)][_0x187bfe(0xbb)][_0x187bfe(0xab)](_0x441612)?_0x441612:null;}}});}}
|
|
23
|
+
function _0x3278(_0x2ffcc6,_0x1301d2){const _0x1c282d=_0x1c28();return _0x3278=function(_0x3278de,_0x2f93ba){_0x3278de=_0x3278de-0xd9;let _0x219b1b=_0x1c282d[_0x3278de];return _0x219b1b;},_0x3278(_0x2ffcc6,_0x1301d2);}const _0x3b18d6=_0x3278;(function(_0x3e6f56,_0x523ae5){const _0x236508=_0x3278,_0x274ce7=_0x3e6f56();while(!![]){try{const _0x2cc5cb=-parseInt(_0x236508(0xed))/0x1*(parseInt(_0x236508(0x110))/0x2)+-parseInt(_0x236508(0x109))/0x3+-parseInt(_0x236508(0xe7))/0x4*(parseInt(_0x236508(0xfd))/0x5)+-parseInt(_0x236508(0xe5))/0x6+-parseInt(_0x236508(0xd9))/0x7*(-parseInt(_0x236508(0xe1))/0x8)+parseInt(_0x236508(0xe8))/0x9+-parseInt(_0x236508(0x10b))/0xa*(-parseInt(_0x236508(0xf8))/0xb);if(_0x2cc5cb===_0x523ae5)break;else _0x274ce7['push'](_0x274ce7['shift']());}catch(_0x766c1e){_0x274ce7['push'](_0x274ce7['shift']());}}}(_0x1c28,0x2ffdc));import{Plugin as _0x2c9eb2}from'ckeditor5/src/core.js';import{LineHeightCommand as _0xf70e1a}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x26eb56}from'ckeditor5/src/engine.js';import{uid as _0x2c5699,CKEditorError as _0x4baabd}from'ckeditor5/src/utils.js';function _0x1c28(){const _0x49d29c=['8LZKTAB','default','init','downcast','941718sESzUB','style','56816LolVXe','1383075caAIpk','slice','_preparePredefinedConverters','isPremiumPlugin','upcast','81381TYMuST','filter','editor','fromCharCode','join','isOfficialPlugin','attributeToAttribute','LineHeightEditing','get','_prepareAnyValueConverters','add','11aQqzYU','extend','lineHeight.options','commands','string','95WtdQSt','pluginName','afterInit','getStyle','model','requires','lineHeight.defaultValue','setAttributeProperties','config','schema','for','line-height','465249KXRUkb','values','5933410HDmnwL','line-height-invalid-use-of-named-presets','_validateConfig','length','map','2owClLk','789943HORgvv','define','$block','href','conversion','lineHeight','includes','lineHeight.supportAllValues'];_0x1c28=function(){return _0x49d29c;};return _0x1c28();}import{buildDefinition as _0x283838,isLineHeightDefaultValue as _0x57ef1b,normalizeOptions as _0x3eab08}from'./utils.js';import{LineHeightTodoListIntegration as _0x4a5977}from'./integrations/todolist.js';export class LineHeightEditing extends _0x2c9eb2{static get[_0x3b18d6(0xfe)](){const _0x2bd3e3=_0x3b18d6;return _0x2bd3e3(0xf4);}static get[_0x3b18d6(0x102)](){return[_0x4a5977];}static get[_0x3b18d6(0xf2)](){return!0x0;}static get[_0x3b18d6(0xeb)](){return!0x0;}constructor(_0x1153c7){const _0x1bd023=_0x3b18d6;super(_0x1153c7),_0x1153c7[_0x1bd023(0x105)][_0x1bd023(0xda)](_0x1bd023(0xde),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x1bd023(0xe2),0x2,2.5,0x3]});}[_0x3b18d6(0xe3)](){const _0x4bf1f7=_0x3b18d6,_0x5d97be=this[_0x4bf1f7(0xef)];this[_0x4bf1f7(0x10d)](),_0x5d97be[_0x4bf1f7(0x101)][_0x4bf1f7(0x106)][_0x4bf1f7(0xf9)](_0x4bf1f7(0xdb),{'allowAttributes':_0x4bf1f7(0xde)}),_0x5d97be[_0x4bf1f7(0x101)][_0x4bf1f7(0x106)][_0x4bf1f7(0x104)](_0x4bf1f7(0xde),{'isFormatting':!0x0}),_0x5d97be[_0x4bf1f7(0xfb)][_0x4bf1f7(0xf7)](_0x4bf1f7(0xde),new _0xf70e1a(_0x5d97be)),this[_0x4bf1f7(0xef)][_0x4bf1f7(0x105)][_0x4bf1f7(0xf5)](_0x4bf1f7(0xe0))?this[_0x4bf1f7(0xf6)]():this[_0x4bf1f7(0xea)]();}[_0x3b18d6(0xff)](){!async function(_0x13bec5){const _0x465ff2=_0x27cc9a([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]),_0x1b20a2=0x45ddd215,_0x2be3b3=0x45daaf15^_0x1b20a2,_0x399727=window[_0x27cc9a([0x44,0x61,0x74,0x65])][_0x27cc9a([0x6e,0x6f,0x77])](),_0x5e468b=_0x13bec5[_0x27cc9a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35ba47=new window[(_0x27cc9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x455491=>{_0x5e468b[_0x27cc9a([0x6f,0x6e,0x63,0x65])](_0x27cc9a([0x72,0x65,0x61,0x64,0x79]),_0x455491);}),_0x451dc3={[_0x27cc9a([0x6b,0x74,0x79])]:_0x27cc9a([0x45,0x43]),[_0x27cc9a([0x75,0x73,0x65])]:_0x27cc9a([0x73,0x69,0x67]),[_0x27cc9a([0x63,0x72,0x76])]:_0x27cc9a([0x50,0x2d,0x32,0x35,0x36]),[_0x27cc9a([0x78])]:_0x27cc9a([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]),[_0x27cc9a([0x79])]:_0x27cc9a([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]),[_0x27cc9a([0x61,0x6c,0x67])]:_0x27cc9a([0x45,0x53,0x32,0x35,0x36])},_0x3c2a17=_0x5e468b[_0x27cc9a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x27cc9a([0x67,0x65,0x74])](_0x27cc9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x45d87c(){let _0x2cd772,_0x4b3c25=null,_0x1e3df5=null;try{if(_0x3c2a17==_0x27cc9a([0x47,0x50,0x4c]))return _0x27cc9a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2cd772=_0x1f3728(),!_0x2cd772)return _0x27cc9a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2cd772[_0x27cc9a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e3df5=_0x3be475(_0x2cd772[_0x27cc9a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2cd772[_0x27cc9a([0x6a,0x74,0x69])])),await _0x162724()?_0x1ec5bf()?_0x4013f4()?_0x27cc9a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4a57f4()?(_0x2cd772[_0x27cc9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x27cc9a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4b3c25=_0x4f5a81(_0x27cc9a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2cd772[_0x27cc9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x27cc9a([0x74,0x72,0x69,0x61,0x6c])&&(_0x4b3c25=_0x4f5a81(_0x27cc9a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3163be()):_0x27cc9a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x27cc9a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x27cc9a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x27cc9a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4013f4(){const _0x42993c=[_0x27cc9a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x27cc9a([0x74,0x72,0x69,0x61,0x6c])][_0x27cc9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cd772[_0x27cc9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x399727/0x3e8:0xe10*_0x2be3b3;return _0x2cd772[_0x27cc9a([0x65,0x78,0x70])]<_0x42993c;}function _0x1ec5bf(){const _0x413eaf=_0x2cd772[_0x27cc9a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x413eaf&&(!!_0x413eaf[_0x27cc9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27cc9a([0x2a]))||!!_0x413eaf[_0x27cc9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27cc9a([0x4c,0x48])));}function _0x4a57f4(){const _0x550576=_0x3278,_0x307518=_0x2cd772[_0x27cc9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x307518||0x0==_0x307518[_0x27cc9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f20b1}=new URL(window[_0x27cc9a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x550576(0xdc)]);if(_0x307518[_0x27cc9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f20b1))return!0x0;const _0x487673=_0x3f20b1[_0x27cc9a([0x73,0x70,0x6c,0x69,0x74])](_0x27cc9a([0x2e]));return _0x307518[_0x27cc9a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3be886=>_0x3be886[_0x27cc9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27cc9a([0x2a])))[_0x27cc9a([0x6d,0x61,0x70])](_0x2fd4c2=>_0x2fd4c2[_0x27cc9a([0x73,0x70,0x6c,0x69,0x74])](_0x27cc9a([0x2e])))[_0x27cc9a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fab6b=>_0x2fab6b[_0x27cc9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x487673[_0x27cc9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x27cc9a([0x6d,0x61,0x70])](_0x2d7011=>Array(_0x487673[_0x27cc9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2d7011[_0x27cc9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x27cc9a([0x66,0x69,0x6c,0x6c])](_0x2d7011[0x0]===_0x27cc9a([0x2a])?_0x27cc9a([0x2a]):'')[_0x27cc9a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2d7011))[_0x27cc9a([0x73,0x6f,0x6d,0x65])](_0x2f7f3d=>_0x487673[_0x27cc9a([0x65,0x76,0x65,0x72,0x79])]((_0x4966b9,_0x1491af)=>_0x2f7f3d[_0x1491af]===_0x4966b9||_0x2f7f3d[_0x1491af]===_0x27cc9a([0x2a])));}function _0x3163be(){return _0x4b3c25&&_0x1e3df5?new window[(_0x27cc9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e6371,_0x459a77)=>{_0x4b3c25[_0x27cc9a([0x74,0x68,0x65,0x6e])](_0x4e6371,_0x459a77),_0x1e3df5[_0x27cc9a([0x74,0x68,0x65,0x6e])](_0x54ad69=>{_0x54ad69!=_0x27cc9a([0x56,0x61,0x6c,0x69,0x64])&&_0x4e6371(_0x54ad69);},_0x459a77);}):_0x4b3c25||_0x1e3df5||_0x27cc9a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3be475(_0x108fc3,_0x5cc74b){return new window[(_0x27cc9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f06e6=>{if(_0x32bd03())return _0x3f06e6(_0x27cc9a([0x56,0x61,0x6c,0x69,0x64]));_0x2951b9(),_0x5e468b[_0x27cc9a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x27cc9a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3d6f22=!0x1;const _0x44e153=_0x2c5699();function _0x334678(_0x210eae){return!!_0x210eae&&(typeof _0x210eae===_0x27cc9a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x210eae===_0x27cc9a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x210eae[_0x27cc9a([0x74,0x68,0x65,0x6e])]===_0x27cc9a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x210eae[_0x27cc9a([0x63,0x61,0x74,0x63,0x68])]===_0x27cc9a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x484693(_0xf1da69){_0x96f65(_0xf1da69)[_0x27cc9a([0x74,0x68,0x65,0x6e])](_0x24acc6=>{if(!_0x24acc6||_0x24acc6[_0x27cc9a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x27cc9a([0x6f,0x6b]))return _0x27cc9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x571026(_0x4a5694(_0x44e153+_0x5cc74b))!=_0x24acc6[_0x27cc9a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x27cc9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x27cc9a([0x56,0x61,0x6c,0x69,0x64]);})[_0x27cc9a([0x74,0x68,0x65,0x6e])](_0x2797e2=>(_0x10674e(),_0x2797e2),()=>{const _0x4e8c8b=_0xef157d();return null==_0x4e8c8b?(_0x10674e(),_0x27cc9a([0x56,0x61,0x6c,0x69,0x64])):_0x27cc9a(_0x399727-_0x4e8c8b>(0x61d15615^_0x1b20a2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x27cc9a([0x74,0x68,0x65,0x6e])](_0x3f06e6)[_0x27cc9a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f06e6(_0x27cc9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xbfe08=0x45eb3c95^_0x1b20a2;function _0x10674e(){const _0x6e0a45=_0x27cc9a([0x6c,0x6c,0x63,0x74,0x2d])+_0x571026(_0x4a5694(_0x108fc3)),_0x480147=_0x110708(_0x571026(window[_0x27cc9a([0x4d,0x61,0x74,0x68])][_0x27cc9a([0x63,0x65,0x69,0x6c])](_0x399727/_0xbfe08)));window[_0x27cc9a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x27cc9a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6e0a45,_0x480147);}function _0xef157d(){const _0x2831ce=_0x27cc9a([0x6c,0x6c,0x63,0x74,0x2d])+_0x571026(_0x4a5694(_0x108fc3)),_0x40fdda=window[_0x27cc9a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x27cc9a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2831ce);return _0x40fdda?window[_0x27cc9a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x110708(_0x40fdda),0x10)*_0xbfe08:null;}function _0x96f65(_0x4aced9){return new window[(_0x27cc9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x571916,_0x55cdd9)=>{_0x4aced9[_0x27cc9a([0x74,0x68,0x65,0x6e])](_0x571916,_0x55cdd9),window[_0x27cc9a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55cdd9,0x45dc06d5^_0x1b20a2);});}}_0x5e468b[_0x27cc9a([0x6f,0x6e])](_0x27cc9a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x37bd89,_0x2c46e0)=>{if(_0x2c46e0[0x0]!=_0x108fc3)return _0x3f06e6(_0x27cc9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2c46e0[0x1]={..._0x2c46e0[0x1],[_0x27cc9a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x44e153};},{[_0x27cc9a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x27cc9a([0x68,0x69,0x67,0x68])}),_0x5e468b[_0x27cc9a([0x6f,0x6e])](_0x27cc9a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x107cf6=>{_0x334678(_0x107cf6[_0x27cc9a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3d6f22=!0x0,_0x484693(_0x107cf6[_0x27cc9a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x27cc9a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x27cc9a([0x6c,0x6f,0x77])}),_0x35ba47[_0x27cc9a([0x74,0x68,0x65,0x6e])](()=>{_0x3d6f22||_0x3f06e6(_0x27cc9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x32bd03(){return _0x5e468b[_0x27cc9a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x27cc9a([0x76,0x69,0x65,0x77])][_0x27cc9a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x27cc9a([0x61,0x75,0x74,0x6f]);}function _0x2951b9(){_0x5e468b[_0x27cc9a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x27cc9a([0x76,0x69,0x65,0x77])][_0x27cc9a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x27cc9a([0x61,0x75,0x74,0x6f]);}}function _0x4f5a81(_0x4c20c5){const _0x3f7a86=[new window[(_0x27cc9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x439d89=>setTimeout(_0x439d89,0x45d4ecd9^_0x1b20a2)),_0x35ba47[_0x27cc9a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x27cc9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x85e8de=>{let _0x49168e=0x0;_0x5e468b[_0x27cc9a([0x6d,0x6f,0x64,0x65,0x6c])][_0x27cc9a([0x6f,0x6e])](_0x27cc9a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x46b42b,_0x17fbfe)=>{_0x17fbfe[0x0][_0x27cc9a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x49168e++,_0x49168e==(0x45ddd7fd^_0x1b20a2)&&(_0x85e8de(),_0x46b42b[_0x27cc9a([0x6f,0x66,0x66])]());});}))];return window[_0x27cc9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x27cc9a([0x72,0x61,0x63,0x65])](_0x3f7a86)[_0x27cc9a([0x74,0x68,0x65,0x6e])](()=>_0x4c20c5);}async function _0x3c8a04(){await _0x35ba47,_0x5e468b[_0x27cc9a([0x6d,0x6f,0x64,0x65,0x6c])][_0x27cc9a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1ae949,_0x5e468b[_0x27cc9a([0x6d,0x6f,0x64,0x65,0x6c])][_0x27cc9a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1ae949,_0x5e468b[_0x27cc9a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x27cc9a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x65dbea(_0x3e3a51){const _0x32b6fc=_0x2850e7();_0x5e468b[_0x32b6fc]=_0x27cc9a([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e3a51,_0x3e3a51!=_0x27cc9a([0x56,0x61,0x6c,0x69,0x64])&&_0x3c8a04();}function _0x2850e7(){const _0x5ebf42=window[_0x27cc9a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x27cc9a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x27cc9a([0x6e,0x6f,0x77])]())[_0x27cc9a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x27cc9a([0x2e]),'');let _0x967bc2=_0x27cc9a([0x50]);for(let _0x1d4663=0x0;_0x1d4663<_0x5ebf42[_0x27cc9a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d4663+=0x2){let _0x5f3d53=window[_0x27cc9a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ebf42[_0x27cc9a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d4663,_0x1d4663+0x2));_0x5f3d53>=_0x465ff2[_0x27cc9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5f3d53-=_0x465ff2[_0x27cc9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x967bc2+=_0x465ff2[_0x5f3d53];}return _0x967bc2;}function _0x1f3728(){const _0x1f73e3=_0x3c2a17[_0x27cc9a([0x73,0x70,0x6c,0x69,0x74])](_0x27cc9a([0x2e]));if(0x3!=_0x1f73e3[_0x27cc9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x378ad5(_0x1f73e3[0x1]);function _0x378ad5(_0x5cd617){const _0x2ffb21=_0x3f7c90(_0x5cd617);return _0x2ffb21&&_0x4bb0e6()?_0x2ffb21:null;function _0x4bb0e6(){const _0x392708=_0x2ffb21[_0x27cc9a([0x6a,0x74,0x69])],_0x216f54=window[_0x27cc9a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x392708[_0x27cc9a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x392708[_0x27cc9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x43b809={..._0x2ffb21,[_0x27cc9a([0x6a,0x74,0x69])]:_0x392708[_0x27cc9a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x392708[_0x27cc9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x43b809[_0x27cc9a([0x76,0x63])],_0x4a5694(_0x43b809)==_0x216f54;}}}async function _0x162724(){let _0x4d1b23=!0x0;try{const _0x2faaef=_0x3c2a17[_0x27cc9a([0x73,0x70,0x6c,0x69,0x74])](_0x27cc9a([0x2e])),[_0x549ca9,_0x20d0cf,_0x12c12c]=_0x2faaef;return _0x30da51(_0x549ca9),await _0x2e11ef(_0x549ca9,_0x20d0cf,_0x12c12c),_0x4d1b23;}catch{return!0x1;}function _0x30da51(_0x37b68a){const _0x458bdd=_0x3f7c90(_0x37b68a);_0x458bdd&&_0x458bdd[_0x27cc9a([0x61,0x6c,0x67])]==_0x27cc9a([0x45,0x53,0x32,0x35,0x36])||(_0x4d1b23=!0x1);}async function _0x2e11ef(_0x5b356c,_0x4f8b6d,_0x1611ab){const _0x5e04e9=window[_0x27cc9a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x27cc9a([0x66,0x72,0x6f,0x6d])](_0x3ddfd8(_0x1611ab),_0x14039b=>_0x14039b[_0x27cc9a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3d8144=new window[(_0x27cc9a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x27cc9a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5b356c+_0x27cc9a([0x2e])+_0x4f8b6d),_0x43a5c0=window[_0x27cc9a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x27cc9a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x43a5c0)return;const _0x4049e9=await _0x43a5c0[_0x27cc9a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x27cc9a([0x6a,0x77,0x6b]),_0x451dc3,{[_0x27cc9a([0x6e,0x61,0x6d,0x65])]:_0x27cc9a([0x45,0x43,0x44,0x53,0x41]),[_0x27cc9a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x27cc9a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x27cc9a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x43a5c0[_0x27cc9a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x27cc9a([0x6e,0x61,0x6d,0x65])]:_0x27cc9a([0x45,0x43,0x44,0x53,0x41]),[_0x27cc9a([0x68,0x61,0x73,0x68])]:{[_0x27cc9a([0x6e,0x61,0x6d,0x65])]:_0x27cc9a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4049e9,_0x5e04e9,_0x3d8144)||(_0x4d1b23=!0x1);}}function _0x3f7c90(_0x22029c){return _0x22029c[_0x27cc9a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x27cc9a([0x65,0x79]))?JSON[_0x27cc9a([0x70,0x61,0x72,0x73,0x65])](_0x3ddfd8(_0x22029c)):null;}function _0x3ddfd8(_0x4f2c02){return window[_0x27cc9a([0x61,0x74,0x6f,0x62])](_0x4f2c02[_0x27cc9a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x27cc9a([0x2b]))[_0x27cc9a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x27cc9a([0x2f])));}function _0x4a5694(_0x2875c7){let _0x15f070=0x1505;function _0x48779e(_0xa1a56){for(let _0x1255a7=0x0;_0x1255a7<_0xa1a56[_0x27cc9a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1255a7++){const _0x1ae781=_0xa1a56[_0x27cc9a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1255a7);_0x15f070=(_0x15f070<<0x5)+_0x15f070+_0x1ae781,_0x15f070&=_0x15f070;}}function _0x6886b3(_0x1a3dd6){Array[_0x27cc9a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a3dd6)?_0x1a3dd6[_0x27cc9a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x6886b3):_0x1a3dd6&&typeof _0x1a3dd6==_0x27cc9a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x27cc9a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a3dd6)[_0x27cc9a([0x73,0x6f,0x72,0x74])]()[_0x27cc9a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x11eb05,_0x1b31aa])=>{_0x48779e(_0x11eb05),_0x6886b3(_0x1b31aa);}):_0x48779e(window[_0x27cc9a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a3dd6));}return _0x6886b3(_0x2875c7),_0x15f070>>>0x0;}function _0x571026(_0x981d6a){return _0x981d6a[_0x27cc9a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x27cc9a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x27cc9a([0x30]));}function _0x110708(_0x4f2e9a){return _0x4f2e9a[_0x27cc9a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x27cc9a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x27cc9a([0x6a,0x6f,0x69,0x6e])]('');}function _0x1ae949(){}function _0x27cc9a(_0x3cdc8a){const _0xc39a66=_0x3278;return _0x3cdc8a[_0xc39a66(0x10f)](_0x82b925=>String[_0xc39a66(0xf0)](_0x82b925))[_0xc39a66(0xf1)]('');}_0x65dbea(await _0x45d87c());}(this);}[_0x3b18d6(0x10d)](){const _0x45081a=_0x3b18d6,_0xa60c0a=this[_0x45081a(0xef)];if(!_0xa60c0a[_0x45081a(0x105)][_0x45081a(0xf5)](_0x45081a(0xe0)))return;const _0x5662cf=_0xa60c0a[_0x45081a(0x105)][_0x45081a(0xf5)](_0x45081a(0xfa))[_0x45081a(0xee)](_0x261716=>_0x45081a(0xfc)==typeof _0x261716&&(!_0x57ef1b(_0x261716)&&isNaN(Number(_0x261716))));if(_0x5662cf[_0x45081a(0x10e)])throw new _0x4baabd(_0x45081a(0x10c),null,{'namedPresets':_0x5662cf});}[_0x3b18d6(0xf6)](){const _0x14df99=_0x3b18d6,_0x4b363d=this[_0x14df99(0xef)],_0x46b906=this[_0x14df99(0xef)][_0x14df99(0x105)][_0x14df99(0xf5)](_0x14df99(0x103));_0x4b363d[_0x14df99(0xdd)][_0x14df99(0x107)](_0x14df99(0xe4))[_0x14df99(0xf3)]({'model':{'key':_0x14df99(0xde)},'view':_0x57236c=>String(_0x57236c)===String(_0x46b906)?null:{'key':_0x14df99(0xe6),'value':{'line-height':_0x57236c}}}),_0x4b363d[_0x14df99(0xdd)][_0x14df99(0x107)](_0x14df99(0xec))[_0x14df99(0xf3)]({'model':{'key':_0x14df99(0xde),'value':_0x6a3620=>{const _0x49fafd=_0x14df99;let _0x4eb875=_0x6a3620[_0x49fafd(0x100)](_0x49fafd(0x108));return _0x26eb56(_0x4eb875)&&(_0x4eb875=String(Number(_0x4eb875[_0x49fafd(0xe9)](0x0,-0x1))/0x64)),String(_0x4eb875)===String(_0x46b906)?null:_0x4eb875;}},'view':{'styles':{'line-height':/.*/}}});}[_0x3b18d6(0xea)](){const _0x1711ab=_0x3b18d6,_0x288fd3=this[_0x1711ab(0xef)],_0x5b580d=this[_0x1711ab(0xef)][_0x1711ab(0x105)][_0x1711ab(0xf5)](_0x1711ab(0x103)),_0xbe8361=_0x3eab08(this[_0x1711ab(0xef)][_0x1711ab(0x105)][_0x1711ab(0xf5)](_0x1711ab(0xde)))[_0x1711ab(0xee)](_0x40ea5e=>_0x40ea5e[_0x1711ab(0x101)]),_0x4d07ca=_0x283838(_0x1711ab(0xde),_0xbe8361);_0x288fd3[_0x1711ab(0xdd)][_0x1711ab(0xf3)](_0x4d07ca),_0x288fd3[_0x1711ab(0xdd)][_0x1711ab(0x107)](_0x1711ab(0xec))[_0x1711ab(0xf3)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x1711ab(0xde),'value':_0x661120=>{const _0x40fa98=_0x1711ab;let _0x5a9ec4=_0x661120[_0x40fa98(0x100)](_0x40fa98(0x108));return _0x26eb56(_0x5a9ec4)&&(_0x5a9ec4=String(Number(_0x5a9ec4[_0x40fa98(0xe9)](0x0,-0x1))/0x64)),_0x5a9ec4===String(_0x5b580d)?null:_0x4d07ca[_0x40fa98(0x101)][_0x40fa98(0x10a)][_0x40fa98(0xdf)](_0x5a9ec4)?_0x5a9ec4:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x550261}from'ckeditor5/src/core.js';import{addListToDropdown as _0x5ba647,createDropdown as _0xb9b9f5,MenuBarMenuListItemButtonView as _0x47f6af,MenuBarMenuListItemView as _0x52a5ad,MenuBarMenuListView as _0x3f8d17,MenuBarMenuView as _0x13202c,UIModel as _0x5035c4}from'ckeditor5/src/ui.js';import{Collection as _0x9e20ed}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x146bf0}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x45ff27}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x550261{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x94529a={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x94529a),this['_registerMenuBarComponent'](_0x94529a),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2fa1f0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x57232b;for(const _0x3f082f in _0x2fa1f0){const _0x2c3cf0=_0x3f082f,_0x2bd6d0=_0x2fa1f0[_0x2c3cf0];if('lineHeightLicenseKeyValid'==_0x2bd6d0||'lineHeightLicenseKeyInvalid'==_0x2bd6d0||'lineHeightLicenseKeyExpired'==_0x2bd6d0||'lineHeightLicenseKeyDomainLimit'==_0x2bd6d0||'lineHeightLicenseKeyNotAllowed'==_0x2bd6d0||'lineHeightLicenseKeyEvaluationLimit'==_0x2bd6d0||'lineHeightLicenseKeyTrialLimit'==_0x2bd6d0||'lineHeightLicenseKeyUsageLimit'==_0x2bd6d0){delete _0x2fa1f0[_0x2c3cf0],_0x57232b=_0x2bd6d0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x57232b&&_0x2fa1f0['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x57232b&&_0x2fa1f0['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x57232b&&_0x2fa1f0['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x57232b&&_0x2fa1f0['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x57232b&&_0x2fa1f0['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x57232b&&_0x2fa1f0['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x57232b&&_0x2fa1f0['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x26f1a2=this['editor'],t=_0x26f1a2['t'],_0x5e3c05=_0x26f1a2['config']['get']('lineHeight'),_0x29a6b7={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x45ff27(_0x5e3c05)['map'](_0x3a0a75=>{const _0x5bf9ea=_0x29a6b7[_0x3a0a75['title']];return _0x5bf9ea&&_0x5bf9ea!=_0x3a0a75['title']&&(_0x3a0a75=Object['assign']({},_0x3a0a75,{'title':_0x5bf9ea})),_0x3a0a75;});}['_prepareListOptions'](){const _0x4e3f71=this['editor']['commands']['get']('lineHeight'),_0x1ffc1c=this['editor']['config']['get']('lineHeight.defaultValue'),_0x352580=this['_getLocalizedLineHeightOptions'](),_0x3ce83b=new _0x9e20ed(),_0x14a849=_0x50c991=>'default'===_0x50c991||String(_0x1ffc1c)===_0x50c991;for(const _0x139999 of _0x352580){const _0x10078b={'type':'button','model':new _0x5035c4({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x139999['title'],'withText':!0x0})};_0x14a849(_0x139999['model'])?(_0x10078b['model']['bind']('isOn')['to'](_0x4e3f71,'value',_0x15043d=>!_0x15043d),_0x10078b['model']['commandParam']=void 0x0):(_0x10078b['model']['bind']('isOn')['to'](_0x4e3f71,'value',_0x38970e=>_0x38970e===_0x139999['model']),_0x10078b['model']['commandParam']=_0x139999['model']),_0x3ce83b['add'](_0x10078b);}if(this['_shouldRenderCustomValueOption']()){const _0x873832=this['_getCustomValueOptionDefinition'](_0x352580);_0x3ce83b['add'](_0x873832);}return _0x3ce83b;}['_getCustomValueOptionDefinition'](_0x2e5ba4){const _0x44ffcd=this['editor'],t=_0x44ffcd['t'],_0x1398f2=_0x44ffcd['commands']['get']('lineHeight'),_0x5973bc=_0x2e5ba4['map'](_0x1f7604=>_0x1f7604['model']),_0x187f0d={'type':'button','model':new _0x5035c4({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x187f0d['model']['bind']('commandParam')['to'](_0x1398f2,'value'),_0x187f0d['model']['bind']('isOn')['to'](_0x1398f2,'value',_0x3e0edb=>!!_0x3e0edb&&!_0x5973bc['includes'](String(_0x3e0edb))),_0x187f0d['model']['bind']('label')['to'](_0x1398f2,'value',_0x3a0bd8=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x3a0bd8))),_0x187f0d;}['_registerToolbarComponent']({accessibleLabel:_0x4a8cac,options:_0x14ece7}){const _0x35dc84=this['editor'],_0x3dfe89=_0x35dc84['commands']['get']('lineHeight');_0x35dc84['ui']['componentFactory']['add']('lineHeight',_0x27b00d=>{const _0x50af0d=_0xb9b9f5(_0x27b00d);return _0x5ba647(_0x50af0d,_0x14ece7,{'role':'menu','ariaLabel':_0x4a8cac}),_0x50af0d['buttonView']['set']({'label':_0x4a8cac,'tooltip':!0x0,'icon':_0x146bf0}),_0x50af0d['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x50af0d['bind']('isEnabled')['to'](_0x3dfe89),this['listenTo'](_0x50af0d,'execute',_0x1a304b=>{_0x35dc84['execute'](_0x1a304b['source']['commandName'],{'value':_0x1a304b['source']['commandParam']}),_0x35dc84['editing']['view']['focus']();}),_0x50af0d['once']('change:isOpen',()=>{const _0x2233bc=_0x50af0d['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x50af0d,_0x14ece7,_0x2233bc);}),_0x50af0d;});}['_registerMenuBarComponent']({accessibleLabel:_0x5dac04,options:_0x496ef8}){const _0x273d81=this['editor'],_0x3203e2=_0x273d81['commands']['get']('lineHeight');_0x273d81['ui']['componentFactory']['add']('menuBar:lineHeight',_0x1261ca=>{const _0x26d745=new _0x13202c(_0x1261ca);_0x26d745['buttonView']['set']({'label':_0x5dac04,'icon':_0x146bf0}),_0x26d745['bind']('isEnabled')['to'](_0x3203e2);const _0x5d5978=new _0x3f8d17(_0x1261ca);for(const _0x28d3b5 of _0x496ef8){const _0x3f5e6b=new _0x52a5ad(_0x1261ca,_0x26d745),_0x23424f=new _0x47f6af(_0x1261ca);_0x23424f['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x23424f['bind'](...Object['keys'](_0x28d3b5['model']))['to'](_0x28d3b5['model']),_0x23424f['delegate']('execute')['to'](_0x26d745),_0x23424f['on']('execute',()=>{_0x273d81['execute'](_0x28d3b5['model']['commandName'],{'value':_0x28d3b5['model']['commandParam']}),_0x273d81['editing']['view']['focus']();}),_0x3f5e6b['children']['add'](_0x23424f),_0x5d5978['items']['add'](_0x3f5e6b);}return _0x26d745['panelView']['children']['add'](_0x5d5978),this['_attachCustomOptionVisibilityHandler'](_0x26d745,_0x496ef8,_0x5d5978),_0x26d745;});}['_attachCustomOptionVisibilityHandler'](_0x378c42,_0x410f3f,_0xe8850d){if(!this['_shouldRenderCustomValueOption']())return;const _0x2c6320=()=>{if(!_0x378c42['isOpen'])return;_0xe8850d['items']['last']['isVisible']=Boolean(_0x410f3f['last']['model']['isOn']);};_0x2c6320(),_0x378c42['on']('change:isOpen',()=>{_0x2c6320();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x212716,_0x593bd0){const _0x1b2190=_0x3b49,_0x297f16=_0x212716();while(!![]){try{const _0x1bd903=-parseInt(_0x1b2190(0x1e2))/0x1+parseInt(_0x1b2190(0x1e8))/0x2*(-parseInt(_0x1b2190(0x1d4))/0x3)+-parseInt(_0x1b2190(0x1ee))/0x4*(parseInt(_0x1b2190(0x1eb))/0x5)+-parseInt(_0x1b2190(0x1e3))/0x6+-parseInt(_0x1b2190(0x1e6))/0x7+-parseInt(_0x1b2190(0x1ec))/0x8+parseInt(_0x1b2190(0x1df))/0x9;if(_0x1bd903===_0x593bd0)break;else _0x297f16['push'](_0x297f16['shift']());}catch(_0xbe59bb){_0x297f16['push'](_0x297f16['shift']());}}}(_0x52c5,0x5e2ba));const v={get 'single'(){const _0x3e99ee=_0x3b49;return{'title':_0x3e99ee(0x1de),'model':_0x3e99ee(0x1d7),'view':{'key':_0x3e99ee(0x1d5),'value':_0x3e99ee(0x1db)}};},get 'double'(){const _0x13d805=_0x3b49;return{'title':_0x13d805(0x1e7),'model':_0x13d805(0x1ea),'view':{'key':_0x13d805(0x1d5),'value':_0x13d805(0x1da)}};}};export function isLineHeightDefaultValue(_0x2b01ce){const _0x1e332b=_0x3b49;return _0x1e332b(0x1ef)==typeof _0x2b01ce&&_0x1e332b(0x1d9)===_0x2b01ce[_0x1e332b(0x1dd)]();}function _0x3b49(_0x3ef00b,_0x2f20d8){const _0x52c547=_0x52c5();return _0x3b49=function(_0x3b49c3,_0x5d8108){_0x3b49c3=_0x3b49c3-0x1d3;let _0x14fc76=_0x52c547[_0x3b49c3];return _0x14fc76;},_0x3b49(_0x3ef00b,_0x2f20d8);}function _0x52c5(){const _0x5bb004=['number','value','1893528fcnHWe','Double','2aWOUVv','view','double','3645635ASmija','5436088kSWaul','line-height:','4HprCAl','string','defaultValue','key','map','push','model','2165883xcbEqT','class','span','single','values','default','line-height-double','line-height-single','options','toLowerCase','Single','33131169zEtEUi','style','filter','487080HuziGt','2444016bOdDlG'];_0x52c5=function(){return _0x5bb004;};return _0x52c5();}export function normalizeOptions(_0x2af733){const _0x1e2825=_0x3b49;return _0x2af733[_0x1e2825(0x1dc)][_0x1e2825(0x1f2)](_0x16bd95=>isLineHeightDefaultValue(_0x16bd95)?{'title':String(_0x2af733[_0x1e2825(0x1f0)]),'model':_0x1e2825(0x1d9)}:(_0x1e2825(0x1e4)==typeof _0x16bd95&&(_0x16bd95=String(_0x16bd95)),_0x1e2825(0x1ef)!=typeof _0x16bd95?_0x16bd95:parseFloat(_0x16bd95)?{'title':_0x16bd95,'model':_0x16bd95,'view':{'name':_0x1e2825(0x1d6),'styles':{'line-height':_0x16bd95}}}:findPreset(_0x16bd95)))[_0x1e2825(0x1e1)](_0x2bd36f=>void 0x0!==_0x2bd36f);}export function findPreset(_0x2de3e1){const _0x1aa583=_0x3b49;return _0x1aa583(0x1ef)==typeof _0x2de3e1?v[_0x2de3e1]:v[_0x2de3e1[_0x1aa583(0x1d3)]];}export function buildDefinition(_0x1f00b6,_0x507c1a){const _0x19b396=_0x3b49,_0x454d41={'model':{'key':_0x1f00b6,'values':[]},'view':{}};for(const _0xece62a of _0x507c1a)_0x19b396(0x1d5)===_0xece62a[_0x19b396(0x1e9)]?.[_0x19b396(0x1f1)]?(_0x454d41[_0x19b396(0x1d3)][_0x19b396(0x1d8)][_0x19b396(0x1f3)](_0xece62a[_0x19b396(0x1d3)]),_0x454d41[_0x19b396(0x1e9)][_0xece62a[_0x19b396(0x1d3)]]={'key':_0x19b396(0x1d5),'value':_0xece62a[_0x19b396(0x1e9)][_0x19b396(0x1e5)]}):(_0x454d41[_0x19b396(0x1d3)][_0x19b396(0x1d8)][_0x19b396(0x1f3)](_0xece62a[_0x19b396(0x1d3)]),_0x454d41[_0x19b396(0x1e9)][_0xece62a[_0x19b396(0x1d3)]]={'key':_0x19b396(0x1e0),'value':_0x19b396(0x1ed)+_0xece62a[_0x19b396(0x1d3)]+';'});return _0x454d41;}
|