@ckeditor/ckeditor5-line-height 0.0.0-nightly-next-20251217.0 → 0.0.0-nightly-20251218.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 _0x3ae7e9=_0x14a8;(function(_0x14d76b,_0x214f5e){const _0x56a65b=_0x14a8,_0x3e301f=_0x14d76b();while(!![]){try{const _0x568d21=-parseInt(_0x56a65b(0x98))/0x1*(parseInt(_0x56a65b(0xbb))/0x2)+parseInt(_0x56a65b(0xa7))/0x3+parseInt(_0x56a65b(0xb6))/0x4*(parseInt(_0x56a65b(0xa8))/0x5)+parseInt(_0x56a65b(0xab))/0x6+parseInt(_0x56a65b(0x9c))/0x7*(parseInt(_0x56a65b(0xae))/0x8)+parseInt(_0x56a65b(0xa1))/0x9*(parseInt(_0x56a65b(0xb3))/0xa)+parseInt(_0x56a65b(0xb8))/0xb*(-parseInt(_0x56a65b(0x9f))/0xc);if(_0x568d21===_0x214f5e)break;else _0x3e301f['push'](_0x3e301f['shift']());}catch(_0x437671){_0x3e301f['push'](_0x3e301f['shift']());}}}(_0x5a35,0xd1456));import{Plugin as _0x464f3b}from'ckeditor5/src/core.js';function _0x14a8(_0x2ed87b,_0x29c3b0){const _0x5a35a0=_0x5a35();return _0x14a8=function(_0x14a8b7,_0x3c076c){_0x14a8b7=_0x14a8b7-0x94;let _0xa6b5e1=_0x5a35a0[_0x14a8b7];return _0xa6b5e1;},_0x14a8(_0x2ed87b,_0x29c3b0);}import{Matcher as _0x1c9691}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x464f3b{static get[_0x3ae7e9(0xb1)](){const _0x1d5027=_0x3ae7e9;return _0x1d5027(0xb5);}static get[_0x3ae7e9(0x96)](){return!0x0;}static get[_0x3ae7e9(0xbd)](){return!0x0;}[_0x3ae7e9(0x9d)](){const _0x527a7a=_0x3ae7e9,{plugins:_0x306866,conversion:_0x573c96}=this[_0x527a7a(0xb9)];if(!_0x306866[_0x527a7a(0x9b)](_0x527a7a(0x9a))||!_0x306866[_0x527a7a(0x9b)](_0x527a7a(0xb7)))return;_0x306866[_0x527a7a(0xbe)](_0x527a7a(0x9a))[_0x527a7a(0xa4)]({'scope':_0x527a7a(0xa3),'attributeName':_0x527a7a(0xb4),'consume':!0x1,'setAttributeOnDowncast'(_0x38661e,_0x47aa16,_0x560d4c,_0x21a05c,_0x35c6e3){const _0x359e83=_0x527a7a;_0x359e83(0xaa)==_0x35c6e3[_0x359e83(0xbf)](_0x359e83(0xb0))&&_0x47aa16&&(_0x38661e[_0x359e83(0x97)](_0x359e83(0xa6),_0x560d4c),_0x38661e[_0x359e83(0xbc)](_0x359e83(0x9e),_0x47aa16,_0x560d4c));}}),_0x573c96[_0x527a7a(0x95)](_0x527a7a(0xc0))[_0x527a7a(0xba)]({'view':{'name':_0x527a7a(0xa0),'classes':_0x527a7a(0xb2)},'model':_0x527a7a(0xa2),'converterPriority':_0x527a7a(0xaf)}),_0x573c96[_0x527a7a(0x95)](_0x527a7a(0xc0))[_0x527a7a(0xad)](_0x2ed4ce=>{const _0x593fbb=_0x527a7a;_0x2ed4ce['on'](_0x593fbb(0x99),function(_0x2103a5){const _0x4d274e=new _0x1c9691(_0x2103a5);return(_0x1df55a,_0x1a24ba,_0x31daa7)=>{const _0x4ed9de=_0x14a8,_0x590732=_0x4d274e[_0x4ed9de(0xa5)](_0x1a24ba[_0x4ed9de(0xa9)]);if(!_0x590732)return;const _0x671fd4=_0x590732[_0x4ed9de(0xa5)];_0x671fd4[_0x4ed9de(0xac)]=!0x1,_0x31daa7[_0x4ed9de(0xc1)][_0x4ed9de(0x94)](_0x1a24ba[_0x4ed9de(0xa9)],_0x671fd4);};}({'name':'li','classes':_0x593fbb(0xa6),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}function _0x5a35(){const _0xa41212=['2219021YIUyvw','init','--ck-content-list-marker-line-height','3245736NosFHn','span','271899MqTdZT','paragraph','item','registerDowncastStrategy','match','ck-list-marker-line-height','3192246ggMCiN','3550IeOpts','viewItem','todo','6325290gLGwQG','name','add','40SyuJfV','high','listType','pluginName','todo-list__label__description','50DchMlY','lineHeight','LineHeightTodoListIntegration','3548lQVAmz','TodoListEditing','121DCrElW','editor','elementToElement','434470ALVHLb','setStyle','isPremiumPlugin','get','getAttribute','upcast','consumable','consume','for','isOfficialPlugin','addClass','3AtGMhs','element:li','ListEditing','has'];_0x5a35=function(){return _0xa41212;};return _0x5a35();}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x5bf65e=_0x1a7c;function _0x4e45(){var _0x4cef30=['17140wihXUr','11266620uUfacH','888AAYljd','4GPHtNM','isOfficialPlugin','8djyWCx','requires','pluginName','2346218JXQgkk','isPremiumPlugin','6551082EORIRW','LineHeight','1580156bXBeJS','95571zdHzMj','1343823JfdRfr'];_0x4e45=function(){return _0x4cef30;};return _0x4e45();}(function(_0x881fee,_0x1d5dac){var _0x2a4c36=_0x1a7c,_0xd1e65b=_0x881fee();while(!![]){try{var _0x304c1e=parseInt(_0x2a4c36(0x1ef))/0x1+parseInt(_0x2a4c36(0x1f4))/0x2*(-parseInt(_0x2a4c36(0x1f0))/0x3)+-parseInt(_0x2a4c36(0x1ee))/0x4+-parseInt(_0x2a4c36(0x1f1))/0x5*(parseInt(_0x2a4c36(0x1f3))/0x6)+parseInt(_0x2a4c36(0x1ea))/0x7+parseInt(_0x2a4c36(0x1e7))/0x8*(parseInt(_0x2a4c36(0x1ec))/0x9)+parseInt(_0x2a4c36(0x1f2))/0xa;if(_0x304c1e===_0x1d5dac)break;else _0xd1e65b['push'](_0xd1e65b['shift']());}catch(_0x1b82c7){_0xd1e65b['push'](_0xd1e65b['shift']());}}}(_0x4e45,0x76e80));import{Plugin as _0x16de8d}from'ckeditor5/src/core.js';function _0x1a7c(_0x3e3404,_0x3d153b){var _0x4e45e2=_0x4e45();return _0x1a7c=function(_0x1a7c66,_0x1dbf18){_0x1a7c66=_0x1a7c66-0x1e6;var _0xd285f2=_0x4e45e2[_0x1a7c66];return _0xd285f2;},_0x1a7c(_0x3e3404,_0x3d153b);}import{LineHeightEditing as _0x1bed1d}from'./lineheightediting.js';import{LineHeightUI as _0x3acf09}from'./lineheightui.js';export class LineHeight extends _0x16de8d{static get[_0x5bf65e(0x1e8)](){return[_0x1bed1d,_0x3acf09];}static get[_0x5bf65e(0x1e9)](){var _0x25e358=_0x5bf65e;return _0x25e358(0x1ed);}static get[_0x5bf65e(0x1e6)](){return!0x0;}static get[_0x5bf65e(0x1eb)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc95a2b=_0x33f0;(function(_0x16975f,_0x49bb2e){const _0x5939fb=_0x33f0,_0x12dbef=_0x16975f();while(!![]){try{const _0x19144e=-parseInt(_0x5939fb(0x13c))/0x1*(-parseInt(_0x5939fb(0x12d))/0x2)+-parseInt(_0x5939fb(0x140))/0x3*(-parseInt(_0x5939fb(0x146))/0x4)+parseInt(_0x5939fb(0x130))/0x5*(parseInt(_0x5939fb(0x13e))/0x6)+-parseInt(_0x5939fb(0x13b))/0x7+-parseInt(_0x5939fb(0x12c))/0x8*(-parseInt(_0x5939fb(0x144))/0x9)+parseInt(_0x5939fb(0x13f))/0xa*(-parseInt(_0x5939fb(0x132))/0xb)+-parseInt(_0x5939fb(0x136))/0xc;if(_0x19144e===_0x49bb2e)break;else _0x12dbef['push'](_0x12dbef['shift']());}catch(_0xefc29c){_0x12dbef['push'](_0x12dbef['shift']());}}}(_0x4652,0x3929c));import{Command as _0xd0abb0}from'ckeditor5/src/core.js';function _0x33f0(_0x3750c1,_0x1f57fe){const _0x4652f3=_0x4652();return _0x33f0=function(_0x33f0a8,_0x36692a){_0x33f0a8=_0x33f0a8-0x12c;let _0x25b5f8=_0x4652f3[_0x33f0a8];return _0x25b5f8;},_0x33f0(_0x3750c1,_0x1f57fe);}import{first as _0x2d02eb}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0xd0abb0{[_0xc95a2b(0x134)](){const _0x529b91=_0xc95a2b,_0x117351=this[_0x529b91(0x147)][_0x529b91(0x138)][_0x529b91(0x148)],_0x27836d=_0x2d02eb(_0x117351[_0x529b91(0x14a)][_0x529b91(0x13d)]());this[_0x529b91(0x139)]=Boolean(_0x27836d)&&this[_0x529b91(0x12e)](_0x27836d),this[_0x529b91(0x12f)]=this[_0x529b91(0x139)]&&_0x27836d[_0x529b91(0x149)](_0x529b91(0x131));}[_0xc95a2b(0x141)](_0x281bb4={}){const _0x553d0c=_0xc95a2b,_0xaf7738=this[_0x553d0c(0x147)][_0x553d0c(0x138)],_0x437132=_0xaf7738[_0x553d0c(0x148)][_0x553d0c(0x14a)],_0x198779=_0x281bb4[_0x553d0c(0x12f)];_0xaf7738[_0x553d0c(0x142)](_0x51568d=>{const _0x26e23c=_0x553d0c,_0x1e667c=Array[_0x26e23c(0x135)](_0x437132[_0x26e23c(0x13d)]())[_0x26e23c(0x137)](_0xad3409=>this[_0x26e23c(0x12e)](_0xad3409));for(const _0x204765 of _0x1e667c)_0x198779?_0x51568d[_0x26e23c(0x13a)](_0x26e23c(0x131),_0x198779,_0x204765):_0x51568d[_0x26e23c(0x143)](_0x26e23c(0x131),_0x204765);});}[_0xc95a2b(0x12e)](_0x4be2fd){const _0x18529a=_0xc95a2b;return this[_0x18529a(0x147)][_0x18529a(0x138)][_0x18529a(0x145)][_0x18529a(0x133)](_0x4be2fd,_0x18529a(0x131));}}function _0x4652(){const _0x478a6e=['refresh','from','5706648GiffOH','filter','model','isEnabled','setAttribute','47474EkFNnD','6dNSGee','getSelectedBlocks','6pblKaL','40XAANAL','1272693LNauVJ','execute','change','removeAttribute','37026IEBmsC','schema','4FswZwb','editor','document','getAttribute','selection','64EJwkgN','130382vcUexm','_canHaveLineHeight','value','6775LjmJIC','lineHeight','366212uFncBY','checkAttribute'];_0x4652=function(){return _0x478a6e;};return _0x4652();}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xa1eea2=_0x4f85;(function(_0x23afe8,_0x2943b5){const _0x51dfb=_0x4f85,_0x3e912d=_0x23afe8();while(!![]){try{const _0xc986a=-parseInt(_0x51dfb(0x1e7))/0x1*(-parseInt(_0x51dfb(0x1ec))/0x2)+parseInt(_0x51dfb(0x1e9))/0x3+parseInt(_0x51dfb(0x204))/0x4+-parseInt(_0x51dfb(0x1fc))/0x5*(parseInt(_0x51dfb(0x202))/0x6)+-parseInt(_0x51dfb(0x205))/0x7+parseInt(_0x51dfb(0x1eb))/0x8*(-parseInt(_0x51dfb(0x1dd))/0x9)+parseInt(_0x51dfb(0x1e4))/0xa*(parseInt(_0x51dfb(0x1f2))/0xb);if(_0xc986a===_0x2943b5)break;else _0x3e912d['push'](_0x3e912d['shift']());}catch(_0x580457){_0x3e912d['push'](_0x3e912d['shift']());}}}(_0x27ca,0x67067));import{Plugin as _0x343b65}from'ckeditor5/src/core.js';import{LineHeightCommand as _0xd4559f}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x128ead}from'ckeditor5/src/engine.js';import{uid as _0x386873,CKEditorError as _0x373219}from'ckeditor5/src/utils.js';import{buildDefinition as _0x374e18,isLineHeightDefaultValue as _0x4dccb1,normalizeOptions as _0x6352fc}from'./utils.js';function _0x4f85(_0x2a2f47,_0x132f38){const _0x27ca6e=_0x27ca();return _0x4f85=function(_0x4f8573,_0x4e2891){_0x4f8573=_0x4f8573-0x1dc;let _0x26eb3a=_0x27ca6e[_0x4f8573];return _0x26eb3a;},_0x4f85(_0x2a2f47,_0x132f38);}import{LineHeightTodoListIntegration as _0x20feca}from'./integrations/todolist.js';export class LineHeightEditing extends _0x343b65{static get[_0xa1eea2(0x1ef)](){const _0x5d41bc=_0xa1eea2;return _0x5d41bc(0x203);}static get[_0xa1eea2(0x207)](){return[_0x20feca];}static get[_0xa1eea2(0x1e6)](){return!0x0;}static get[_0xa1eea2(0x206)](){return!0x0;}constructor(_0x2d4044){const _0x37559a=_0xa1eea2;super(_0x2d4044),_0x2d4044[_0x37559a(0x1f8)][_0x37559a(0x211)](_0x37559a(0x1ee),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x37559a(0x20d),0x2,2.5,0x3]});}[_0xa1eea2(0x1f9)](){const _0x5a74c6=_0xa1eea2,_0x2274b4=this[_0x5a74c6(0x20e)];this[_0x5a74c6(0x1fd)](),_0x2274b4[_0x5a74c6(0x209)][_0x5a74c6(0x1dc)][_0x5a74c6(0x1df)](_0x5a74c6(0x210),{'allowAttributes':_0x5a74c6(0x1ee)}),_0x2274b4[_0x5a74c6(0x209)][_0x5a74c6(0x1dc)][_0x5a74c6(0x1f0)](_0x5a74c6(0x1ee),{'isFormatting':!0x0}),_0x2274b4[_0x5a74c6(0x1f6)][_0x5a74c6(0x213)](_0x5a74c6(0x1ee),new _0xd4559f(_0x2274b4)),this[_0x5a74c6(0x20e)][_0x5a74c6(0x1f8)][_0x5a74c6(0x208)](_0x5a74c6(0x1fa))?this[_0x5a74c6(0x1f5)]():this[_0x5a74c6(0x20c)]();}[_0xa1eea2(0x1de)](){!async function(_0x39ff57){const _0x2fead3=_0xfa270e([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]),_0x7ae59=0x45ddd215,_0x3b999e=0x45daae3d^_0x7ae59,_0x40efa6=window[_0xfa270e([0x44,0x61,0x74,0x65])][_0xfa270e([0x6e,0x6f,0x77])](),_0x2a3d11=_0x39ff57[_0xfa270e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x325f6e=new window[(_0xfa270e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46e3ba=>{_0x2a3d11[_0xfa270e([0x6f,0x6e,0x63,0x65])](_0xfa270e([0x72,0x65,0x61,0x64,0x79]),_0x46e3ba);}),_0xebe559={[_0xfa270e([0x6b,0x74,0x79])]:_0xfa270e([0x45,0x43]),[_0xfa270e([0x75,0x73,0x65])]:_0xfa270e([0x73,0x69,0x67]),[_0xfa270e([0x63,0x72,0x76])]:_0xfa270e([0x50,0x2d,0x32,0x35,0x36]),[_0xfa270e([0x78])]:_0xfa270e([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]),[_0xfa270e([0x79])]:_0xfa270e([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]),[_0xfa270e([0x61,0x6c,0x67])]:_0xfa270e([0x45,0x53,0x32,0x35,0x36])},_0x5849ce=_0x2a3d11[_0xfa270e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xfa270e([0x67,0x65,0x74])](_0xfa270e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x25737a(){let _0x56bcb0,_0xd762d2=null,_0x3e0ddb=null;try{if(_0x5849ce==_0xfa270e([0x47,0x50,0x4c]))return _0xfa270e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56bcb0=_0x195835(),!_0x56bcb0)return _0xfa270e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56bcb0[_0xfa270e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e0ddb=_0x523996(_0x56bcb0[_0xfa270e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56bcb0[_0xfa270e([0x6a,0x74,0x69])])),await _0x11ee3f()?_0x327918()?_0x39e4a1()?_0xfa270e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x501398()?(_0x56bcb0[_0xfa270e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xfa270e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd762d2=_0x41610c(_0xfa270e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x56bcb0[_0xfa270e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xfa270e([0x74,0x72,0x69,0x61,0x6c])&&(_0xd762d2=_0x41610c(_0xfa270e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x44f7c0()):_0xfa270e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xfa270e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xfa270e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xfa270e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x39e4a1(){const _0x1915f3=[_0xfa270e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xfa270e([0x74,0x72,0x69,0x61,0x6c])][_0xfa270e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56bcb0[_0xfa270e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x40efa6/0x3e8:0xe10*_0x3b999e;return _0x56bcb0[_0xfa270e([0x65,0x78,0x70])]<_0x1915f3;}function _0x327918(){const _0x7f2207=_0x56bcb0[_0xfa270e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x7f2207&&(!!_0x7f2207[_0xfa270e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfa270e([0x2a]))||!!_0x7f2207[_0xfa270e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfa270e([0x4c,0x48])));}function _0x501398(){const _0x15b29b=_0x4f85,_0x44a82c=_0x56bcb0[_0xfa270e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x44a82c||0x0==_0x44a82c[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x65dc32}=new URL(window[_0xfa270e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x15b29b(0x1e2)]);if(_0x44a82c[_0xfa270e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x65dc32))return!0x0;const _0x5ee42a=_0x65dc32[_0xfa270e([0x73,0x70,0x6c,0x69,0x74])](_0xfa270e([0x2e]));return _0x44a82c[_0xfa270e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f7837=>_0x1f7837[_0xfa270e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfa270e([0x2a])))[_0xfa270e([0x6d,0x61,0x70])](_0x447110=>_0x447110[_0xfa270e([0x73,0x70,0x6c,0x69,0x74])](_0xfa270e([0x2e])))[_0xfa270e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5933f6=>_0x5933f6[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5ee42a[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xfa270e([0x6d,0x61,0x70])](_0x17edbf=>Array(_0x5ee42a[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x17edbf[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xfa270e([0x66,0x69,0x6c,0x6c])](_0x17edbf[0x0]===_0xfa270e([0x2a])?_0xfa270e([0x2a]):'')[_0xfa270e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x17edbf))[_0xfa270e([0x73,0x6f,0x6d,0x65])](_0x3aace6=>_0x5ee42a[_0xfa270e([0x65,0x76,0x65,0x72,0x79])]((_0x223f9e,_0xb05630)=>_0x3aace6[_0xb05630]===_0x223f9e||_0x3aace6[_0xb05630]===_0xfa270e([0x2a])));}function _0x44f7c0(){return _0xd762d2&&_0x3e0ddb?new window[(_0xfa270e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4eab35,_0x3f77bd)=>{_0xd762d2[_0xfa270e([0x74,0x68,0x65,0x6e])](_0x4eab35,_0x3f77bd),_0x3e0ddb[_0xfa270e([0x74,0x68,0x65,0x6e])](_0x3df1d7=>{_0x3df1d7!=_0xfa270e([0x56,0x61,0x6c,0x69,0x64])&&_0x4eab35(_0x3df1d7);},_0x3f77bd);}):_0xd762d2||_0x3e0ddb||_0xfa270e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x523996(_0x31bb56,_0x3cc7fd){return new window[(_0xfa270e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5adcb5=>{if(_0x365bd0())return _0x5adcb5(_0xfa270e([0x56,0x61,0x6c,0x69,0x64]));_0x1ea7e3(),_0x2a3d11[_0xfa270e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xfa270e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xea8d83=!0x1;const _0x23be85=_0x386873();function _0x408d52(_0x24724d){return!!_0x24724d&&(typeof _0x24724d===_0xfa270e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x24724d===_0xfa270e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x24724d[_0xfa270e([0x74,0x68,0x65,0x6e])]===_0xfa270e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x24724d[_0xfa270e([0x63,0x61,0x74,0x63,0x68])]===_0xfa270e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1a680e(_0x113403){_0x2a718b(_0x113403)[_0xfa270e([0x74,0x68,0x65,0x6e])](_0x434ee4=>{if(!_0x434ee4||_0x434ee4[_0xfa270e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xfa270e([0x6f,0x6b]))return _0xfa270e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x482735(_0x521126(_0x23be85+_0x3cc7fd))!=_0x434ee4[_0xfa270e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xfa270e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xfa270e([0x56,0x61,0x6c,0x69,0x64]);})[_0xfa270e([0x74,0x68,0x65,0x6e])](_0x28b2ed=>(_0xd06913(),_0x28b2ed),()=>{const _0x4a61af=_0x96030a();return null==_0x4a61af?(_0xd06913(),_0xfa270e([0x56,0x61,0x6c,0x69,0x64])):_0xfa270e(_0x40efa6-_0x4a61af>(0x61d15615^_0x7ae59)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xfa270e([0x74,0x68,0x65,0x6e])](_0x5adcb5)[_0xfa270e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5adcb5(_0xfa270e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x588f91=0x45eb3c95^_0x7ae59;function _0xd06913(){const _0x5d3da7=_0xfa270e([0x6c,0x6c,0x63,0x74,0x2d])+_0x482735(_0x521126(_0x31bb56)),_0x3c2ce2=_0xc9a96e(_0x482735(window[_0xfa270e([0x4d,0x61,0x74,0x68])][_0xfa270e([0x63,0x65,0x69,0x6c])](_0x40efa6/_0x588f91)));window[_0xfa270e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xfa270e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d3da7,_0x3c2ce2);}function _0x96030a(){const _0x10a861=_0xfa270e([0x6c,0x6c,0x63,0x74,0x2d])+_0x482735(_0x521126(_0x31bb56)),_0x16c386=window[_0xfa270e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xfa270e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10a861);return _0x16c386?window[_0xfa270e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc9a96e(_0x16c386),0x10)*_0x588f91:null;}function _0x2a718b(_0x61ad76){return new window[(_0xfa270e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2351f2,_0x2fcfab)=>{_0x61ad76[_0xfa270e([0x74,0x68,0x65,0x6e])](_0x2351f2,_0x2fcfab),window[_0xfa270e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2fcfab,0x45dc06d5^_0x7ae59);});}}_0x2a3d11[_0xfa270e([0x6f,0x6e])](_0xfa270e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4e6f7d,_0x45a8b9)=>{if(_0x45a8b9[0x0]!=_0x31bb56)return _0x5adcb5(_0xfa270e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x45a8b9[0x1]={..._0x45a8b9[0x1],[_0xfa270e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x23be85};},{[_0xfa270e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xfa270e([0x68,0x69,0x67,0x68])}),_0x2a3d11[_0xfa270e([0x6f,0x6e])](_0xfa270e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x549e34=>{_0x408d52(_0x549e34[_0xfa270e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xea8d83=!0x0,_0x1a680e(_0x549e34[_0xfa270e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xfa270e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xfa270e([0x6c,0x6f,0x77])}),_0x325f6e[_0xfa270e([0x74,0x68,0x65,0x6e])](()=>{_0xea8d83||_0x5adcb5(_0xfa270e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x365bd0(){return _0x2a3d11[_0xfa270e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xfa270e([0x76,0x69,0x65,0x77])][_0xfa270e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xfa270e([0x61,0x75,0x74,0x6f]);}function _0x1ea7e3(){_0x2a3d11[_0xfa270e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xfa270e([0x76,0x69,0x65,0x77])][_0xfa270e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xfa270e([0x61,0x75,0x74,0x6f]);}}function _0x41610c(_0x7bda7b){const _0x421467=[new window[(_0xfa270e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x895c2b=>setTimeout(_0x895c2b,0x45d4ecd9^_0x7ae59)),_0x325f6e[_0xfa270e([0x74,0x68,0x65,0x6e])](()=>new window[(_0xfa270e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54958c=>{let _0x512798=0x0;_0x2a3d11[_0xfa270e([0x6d,0x6f,0x64,0x65,0x6c])][_0xfa270e([0x6f,0x6e])](_0xfa270e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x32f2e5,_0x2acebb)=>{_0x2acebb[0x0][_0xfa270e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x512798++,_0x512798==(0x45ddd3ed^_0x7ae59)&&(_0x54958c(),_0x32f2e5[_0xfa270e([0x6f,0x66,0x66])]());});}))];return window[_0xfa270e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xfa270e([0x72,0x61,0x63,0x65])](_0x421467)[_0xfa270e([0x74,0x68,0x65,0x6e])](()=>_0x7bda7b);}async function _0x356821(){await _0x325f6e,_0x2a3d11[_0xfa270e([0x6d,0x6f,0x64,0x65,0x6c])][_0xfa270e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x383000,_0x2a3d11[_0xfa270e([0x6d,0x6f,0x64,0x65,0x6c])][_0xfa270e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x383000,_0x2a3d11[_0xfa270e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xfa270e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e3e76(_0x4da28f){const _0x197ef8=_0x5e4b4e();_0x2a3d11[_0x197ef8]=_0xfa270e([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4da28f,_0x4da28f!=_0xfa270e([0x56,0x61,0x6c,0x69,0x64])&&_0x356821();}function _0x5e4b4e(){const _0x1d481d=window[_0xfa270e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xfa270e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xfa270e([0x6e,0x6f,0x77])]())[_0xfa270e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xfa270e([0x2e]),'');let _0x3430b7=_0xfa270e([0x50]);for(let _0x1b889f=0x0;_0x1b889f<_0x1d481d[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b889f+=0x2){let _0x3d898a=window[_0xfa270e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d481d[_0xfa270e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b889f,_0x1b889f+0x2));_0x3d898a>=_0x2fead3[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3d898a-=_0x2fead3[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3430b7+=_0x2fead3[_0x3d898a];}return _0x3430b7;}function _0x195835(){const _0xf4889a=_0x5849ce[_0xfa270e([0x73,0x70,0x6c,0x69,0x74])](_0xfa270e([0x2e]));if(0x3!=_0xf4889a[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x18b5d1(_0xf4889a[0x1]);function _0x18b5d1(_0x34c509){const _0x26102b=_0x471d9c(_0x34c509);return _0x26102b&&_0x2e50e2()?_0x26102b:null;function _0x2e50e2(){const _0x1588cd=_0x26102b[_0xfa270e([0x6a,0x74,0x69])],_0x3c5e8e=window[_0xfa270e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1588cd[_0xfa270e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1588cd[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x6d30d4={..._0x26102b,[_0xfa270e([0x6a,0x74,0x69])]:_0x1588cd[_0xfa270e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1588cd[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x6d30d4[_0xfa270e([0x76,0x63])],_0x521126(_0x6d30d4)==_0x3c5e8e;}}}async function _0x11ee3f(){let _0x3573af=!0x0;try{const _0x5d55f7=_0x5849ce[_0xfa270e([0x73,0x70,0x6c,0x69,0x74])](_0xfa270e([0x2e])),[_0x20a890,_0x3cc0fd,_0x220bea]=_0x5d55f7;return _0x2a31de(_0x20a890),await _0x2eb0b3(_0x20a890,_0x3cc0fd,_0x220bea),_0x3573af;}catch{return!0x1;}function _0x2a31de(_0x346bdc){const _0xe8c854=_0x471d9c(_0x346bdc);_0xe8c854&&_0xe8c854[_0xfa270e([0x61,0x6c,0x67])]==_0xfa270e([0x45,0x53,0x32,0x35,0x36])||(_0x3573af=!0x1);}async function _0x2eb0b3(_0x46c66d,_0x4d27e4,_0x20e812){const _0x24b9d8=window[_0xfa270e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xfa270e([0x66,0x72,0x6f,0x6d])](_0x4f2f51(_0x20e812),_0x491a8b=>_0x491a8b[_0xfa270e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x169e66=new window[(_0xfa270e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xfa270e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x46c66d+_0xfa270e([0x2e])+_0x4d27e4),_0x3b909a=window[_0xfa270e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xfa270e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3b909a)return;const _0xa5dc8c=await _0x3b909a[_0xfa270e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xfa270e([0x6a,0x77,0x6b]),_0xebe559,{[_0xfa270e([0x6e,0x61,0x6d,0x65])]:_0xfa270e([0x45,0x43,0x44,0x53,0x41]),[_0xfa270e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xfa270e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xfa270e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3b909a[_0xfa270e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xfa270e([0x6e,0x61,0x6d,0x65])]:_0xfa270e([0x45,0x43,0x44,0x53,0x41]),[_0xfa270e([0x68,0x61,0x73,0x68])]:{[_0xfa270e([0x6e,0x61,0x6d,0x65])]:_0xfa270e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xa5dc8c,_0x24b9d8,_0x169e66)||(_0x3573af=!0x1);}}function _0x471d9c(_0x8835af){return _0x8835af[_0xfa270e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xfa270e([0x65,0x79]))?JSON[_0xfa270e([0x70,0x61,0x72,0x73,0x65])](_0x4f2f51(_0x8835af)):null;}function _0x4f2f51(_0x1a0371){return window[_0xfa270e([0x61,0x74,0x6f,0x62])](_0x1a0371[_0xfa270e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xfa270e([0x2b]))[_0xfa270e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xfa270e([0x2f])));}function _0x521126(_0x205850){let _0x5429a3=0x1505;function _0xdcee52(_0x2f245f){for(let _0x5ddfb8=0x0;_0x5ddfb8<_0x2f245f[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ddfb8++){const _0x540fd4=_0x2f245f[_0xfa270e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5ddfb8);_0x5429a3=(_0x5429a3<<0x5)+_0x5429a3+_0x540fd4,_0x5429a3&=_0x5429a3;}}function _0x1e7fb3(_0x2a59bc){Array[_0xfa270e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2a59bc)?_0x2a59bc[_0xfa270e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e7fb3):_0x2a59bc&&typeof _0x2a59bc==_0xfa270e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xfa270e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2a59bc)[_0xfa270e([0x73,0x6f,0x72,0x74])]()[_0xfa270e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2375fb,_0x3006ea])=>{_0xdcee52(_0x2375fb),_0x1e7fb3(_0x3006ea);}):_0xdcee52(window[_0xfa270e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2a59bc));}return _0x1e7fb3(_0x205850),_0x5429a3>>>0x0;}function _0x482735(_0x26254c){return _0x26254c[_0xfa270e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xfa270e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xfa270e([0x30]));}function _0xc9a96e(_0x26b047){return _0x26b047[_0xfa270e([0x73,0x70,0x6c,0x69,0x74])]('')[_0xfa270e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xfa270e([0x6a,0x6f,0x69,0x6e])]('');}function _0x383000(){}function _0xfa270e(_0x2fbb4b){const _0x188398=_0x4f85;return _0x2fbb4b[_0x188398(0x20f)](_0x5a4854=>String[_0x188398(0x20b)](_0x5a4854))[_0x188398(0x1e0)]('');}_0x5e3e76(await _0x25737a());}(this);}[_0xa1eea2(0x1fd)](){const _0x546d2a=_0xa1eea2,_0x5dd5f8=this[_0x546d2a(0x20e)];if(!_0x5dd5f8[_0x546d2a(0x1f8)][_0x546d2a(0x208)](_0x546d2a(0x1fa)))return;const _0x1b3588=_0x5dd5f8[_0x546d2a(0x1f8)][_0x546d2a(0x208)](_0x546d2a(0x1e8))[_0x546d2a(0x1f3)](_0x1130e8=>_0x546d2a(0x212)==typeof _0x1130e8&&(!_0x4dccb1(_0x1130e8)&&isNaN(Number(_0x1130e8))));if(_0x1b3588[_0x546d2a(0x1e5)])throw new _0x373219(_0x546d2a(0x1f4),null,{'namedPresets':_0x1b3588});}[_0xa1eea2(0x1f5)](){const _0x5eef7d=_0xa1eea2,_0x126064=this[_0x5eef7d(0x20e)],_0x587518=this[_0x5eef7d(0x20e)][_0x5eef7d(0x1f8)][_0x5eef7d(0x208)](_0x5eef7d(0x1ed));_0x126064[_0x5eef7d(0x1f1)][_0x5eef7d(0x200)](_0x5eef7d(0x1ff))[_0x5eef7d(0x1ea)]({'model':{'key':_0x5eef7d(0x1ee)},'view':_0x1d8b85=>String(_0x1d8b85)===String(_0x587518)?null:{'key':_0x5eef7d(0x20a),'value':{'line-height':_0x1d8b85}}}),_0x126064[_0x5eef7d(0x1f1)][_0x5eef7d(0x200)](_0x5eef7d(0x201))[_0x5eef7d(0x1ea)]({'model':{'key':_0x5eef7d(0x1ee),'value':_0x593b28=>{const _0x463d32=_0x5eef7d;let _0x425721=_0x593b28[_0x463d32(0x1e1)](_0x463d32(0x1fe));return _0x128ead(_0x425721)&&(_0x425721=String(Number(_0x425721[_0x463d32(0x1f7)](0x0,-0x1))/0x64)),String(_0x425721)===String(_0x587518)?null:_0x425721;}},'view':{'styles':{'line-height':/.*/}}});}[_0xa1eea2(0x20c)](){const _0x557db5=_0xa1eea2,_0x3c4c4b=this[_0x557db5(0x20e)],_0x5f1146=this[_0x557db5(0x20e)][_0x557db5(0x1f8)][_0x557db5(0x208)](_0x557db5(0x1ed)),_0x59c646=_0x6352fc(this[_0x557db5(0x20e)][_0x557db5(0x1f8)][_0x557db5(0x208)](_0x557db5(0x1ee)))[_0x557db5(0x1f3)](_0x9596de=>_0x9596de[_0x557db5(0x209)]),_0x555e3=_0x374e18(_0x557db5(0x1ee),_0x59c646);_0x3c4c4b[_0x557db5(0x1f1)][_0x557db5(0x1ea)](_0x555e3),_0x3c4c4b[_0x557db5(0x1f1)][_0x557db5(0x200)](_0x557db5(0x201))[_0x557db5(0x1ea)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x557db5(0x1ee),'value':_0x2454a4=>{const _0x591c8c=_0x557db5;let _0x13ec90=_0x2454a4[_0x591c8c(0x1e1)](_0x591c8c(0x1fe));return _0x128ead(_0x13ec90)&&(_0x13ec90=String(Number(_0x13ec90[_0x591c8c(0x1f7)](0x0,-0x1))/0x64)),_0x13ec90===String(_0x5f1146)?null:_0x555e3[_0x591c8c(0x209)][_0x591c8c(0x1fb)][_0x591c8c(0x1e3)](_0x13ec90)?_0x13ec90:null;}}});}}function _0x27ca(){const _0x1cebf9=['for','upcast','30rsMCti','LineHeightEditing','391564RQVvNO','2739261TypVPH','isPremiumPlugin','requires','get','model','style','fromCharCode','_preparePredefinedConverters','default','editor','map','$block','define','string','add','schema','1465569DZEBWI','afterInit','extend','join','getStyle','href','includes','970fyeCBI','length','isOfficialPlugin','16062uVJVLs','lineHeight.options','727680muTUxn','attributeToAttribute','16bpJHcP','40VfKBxD','lineHeight.defaultValue','lineHeight','pluginName','setAttributeProperties','conversion','69410xEScEP','filter','line-height-invalid-use-of-named-presets','_prepareAnyValueConverters','commands','slice','config','init','lineHeight.supportAllValues','values','134765lrVqXf','_validateConfig','line-height','downcast'];_0x27ca=function(){return _0x1cebf9;};return _0x27ca();}
|
|
23
|
+
function _0x40d2(_0x439086,_0x884056){const _0x53ccbf=_0x53cc();return _0x40d2=function(_0x40d2bf,_0x1e2213){_0x40d2bf=_0x40d2bf-0x74;let _0x37650f=_0x53ccbf[_0x40d2bf];return _0x37650f;},_0x40d2(_0x439086,_0x884056);}function _0x53cc(){const _0x425617=['get','lineHeight','commands','config','conversion','4258120MClknC','schema','8814690bgskKb','2619184LWokIK','_preparePredefinedConverters','editor','upcast','join','_validateConfig','style','map','add','fromCharCode','for','string','isPremiumPlugin','slice','pluginName','24AzWjAJ','define','line-height-invalid-use-of-named-presets','LineHeightEditing','lineHeight.options','attributeToAttribute','requires','extend','5348511HMudAn','default','1505158URXAck','init','href','includes','filter','line-height','model','_prepareAnyValueConverters','setAttributeProperties','3408464krQssh','downcast','afterInit','length','lineHeight.defaultValue','737010IOBXTa','$block','lineHeight.supportAllValues','isOfficialPlugin','values','getStyle'];_0x53cc=function(){return _0x425617;};return _0x53cc();}const _0x11a211=_0x40d2;(function(_0x10262f,_0x1debf3){const _0x26a6b9=_0x40d2,_0x494107=_0x10262f();while(!![]){try{const _0x3fdee2=parseInt(_0x26a6b9(0x7b))/0x1+-parseInt(_0x26a6b9(0x97))/0x2+-parseInt(_0x26a6b9(0x89))/0x3+-parseInt(_0x26a6b9(0x84))/0x4+parseInt(_0x26a6b9(0x94))/0x5+-parseInt(_0x26a6b9(0x96))/0x6+parseInt(_0x26a6b9(0x79))/0x7*(parseInt(_0x26a6b9(0xa6))/0x8);if(_0x3fdee2===_0x1debf3)break;else _0x494107['push'](_0x494107['shift']());}catch(_0x80850a){_0x494107['push'](_0x494107['shift']());}}}(_0x53cc,0xbc99c));import{Plugin as _0x172b7f}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x3e9a82}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x365a9e}from'ckeditor5/src/engine.js';import{uid as _0x30a843,CKEditorError as _0x236b69}from'ckeditor5/src/utils.js';import{buildDefinition as _0x415469,isLineHeightDefaultValue as _0x231d18,normalizeOptions as _0x5cd5cc}from'./utils.js';import{LineHeightTodoListIntegration as _0x5909a7}from'./integrations/todolist.js';export class LineHeightEditing extends _0x172b7f{static get[_0x11a211(0xa5)](){const _0x2eade4=_0x11a211;return _0x2eade4(0x74);}static get[_0x11a211(0x77)](){return[_0x5909a7];}static get[_0x11a211(0x8c)](){return!0x0;}static get[_0x11a211(0xa3)](){return!0x0;}constructor(_0x9d55ca){const _0x3d67ac=_0x11a211;super(_0x9d55ca),_0x9d55ca[_0x3d67ac(0x92)][_0x3d67ac(0xa7)](_0x3d67ac(0x90),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x3d67ac(0x7a),0x2,2.5,0x3]});}[_0x11a211(0x7c)](){const _0x1cb643=_0x11a211,_0x3adac1=this[_0x1cb643(0x99)];this[_0x1cb643(0x9c)](),_0x3adac1[_0x1cb643(0x81)][_0x1cb643(0x95)][_0x1cb643(0x78)](_0x1cb643(0x8a),{'allowAttributes':_0x1cb643(0x90)}),_0x3adac1[_0x1cb643(0x81)][_0x1cb643(0x95)][_0x1cb643(0x83)](_0x1cb643(0x90),{'isFormatting':!0x0}),_0x3adac1[_0x1cb643(0x91)][_0x1cb643(0x9f)](_0x1cb643(0x90),new _0x3e9a82(_0x3adac1)),this[_0x1cb643(0x99)][_0x1cb643(0x92)][_0x1cb643(0x8f)](_0x1cb643(0x8b))?this[_0x1cb643(0x82)]():this[_0x1cb643(0x98)]();}[_0x11a211(0x86)](){!async function(_0x3bfa8d){const _0x443b64=_0x27614d([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]),_0x149133=0x45ddd215,_0x15c9c3=0x45daae55^_0x149133,_0x8f03e6=window[_0x27614d([0x44,0x61,0x74,0x65])][_0x27614d([0x6e,0x6f,0x77])](),_0x3330e9=_0x3bfa8d[_0x27614d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1fe9e7=new window[(_0x27614d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52c0c9=>{_0x3330e9[_0x27614d([0x6f,0x6e,0x63,0x65])](_0x27614d([0x72,0x65,0x61,0x64,0x79]),_0x52c0c9);}),_0x564f89={[_0x27614d([0x6b,0x74,0x79])]:_0x27614d([0x45,0x43]),[_0x27614d([0x75,0x73,0x65])]:_0x27614d([0x73,0x69,0x67]),[_0x27614d([0x63,0x72,0x76])]:_0x27614d([0x50,0x2d,0x32,0x35,0x36]),[_0x27614d([0x78])]:_0x27614d([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]),[_0x27614d([0x79])]:_0x27614d([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]),[_0x27614d([0x61,0x6c,0x67])]:_0x27614d([0x45,0x53,0x32,0x35,0x36])},_0x2e8ef9=_0x3330e9[_0x27614d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x27614d([0x67,0x65,0x74])](_0x27614d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d3ecb(){let _0x5be3e6,_0x7966cf=null,_0x3990e5=null;try{if(_0x2e8ef9==_0x27614d([0x47,0x50,0x4c]))return _0x27614d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5be3e6=_0x3c27ed(),!_0x5be3e6)return _0x27614d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5be3e6[_0x27614d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3990e5=_0x2f5af0(_0x5be3e6[_0x27614d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5be3e6[_0x27614d([0x6a,0x74,0x69])])),await _0x3732d0()?_0xe43b4b()?_0xeaca70()?_0x27614d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4e0bda()?(_0x5be3e6[_0x27614d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x27614d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x7966cf=_0x33d681(_0x27614d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5be3e6[_0x27614d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x27614d([0x74,0x72,0x69,0x61,0x6c])&&(_0x7966cf=_0x33d681(_0x27614d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x260187()):_0x27614d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x27614d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x27614d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x27614d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xeaca70(){const _0x43b80c=[_0x27614d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x27614d([0x74,0x72,0x69,0x61,0x6c])][_0x27614d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5be3e6[_0x27614d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x8f03e6/0x3e8:0xe10*_0x15c9c3;return _0x5be3e6[_0x27614d([0x65,0x78,0x70])]<_0x43b80c;}function _0xe43b4b(){const _0x20e002=_0x5be3e6[_0x27614d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x20e002&&(!!_0x20e002[_0x27614d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27614d([0x2a]))||!!_0x20e002[_0x27614d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27614d([0x4c,0x48])));}function _0x4e0bda(){const _0x28c604=_0x40d2,_0x13a259=_0x5be3e6[_0x27614d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x13a259||0x0==_0x13a259[_0x27614d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x461295}=new URL(window[_0x27614d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x28c604(0x7d)]);if(_0x13a259[_0x27614d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x461295))return!0x0;const _0xbae192=_0x461295[_0x27614d([0x73,0x70,0x6c,0x69,0x74])](_0x27614d([0x2e]));return _0x13a259[_0x27614d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x46df08=>_0x46df08[_0x27614d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27614d([0x2a])))[_0x27614d([0x6d,0x61,0x70])](_0x32d25c=>_0x32d25c[_0x27614d([0x73,0x70,0x6c,0x69,0x74])](_0x27614d([0x2e])))[_0x27614d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x494582=>_0x494582[_0x27614d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xbae192[_0x27614d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x27614d([0x6d,0x61,0x70])](_0x36d903=>Array(_0xbae192[_0x27614d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x36d903[_0x27614d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x27614d([0x66,0x69,0x6c,0x6c])](_0x36d903[0x0]===_0x27614d([0x2a])?_0x27614d([0x2a]):'')[_0x27614d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x36d903))[_0x27614d([0x73,0x6f,0x6d,0x65])](_0x4d580f=>_0xbae192[_0x27614d([0x65,0x76,0x65,0x72,0x79])]((_0x4a9d54,_0xa58cb3)=>_0x4d580f[_0xa58cb3]===_0x4a9d54||_0x4d580f[_0xa58cb3]===_0x27614d([0x2a])));}function _0x260187(){return _0x7966cf&&_0x3990e5?new window[(_0x27614d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x555f1e,_0x21800b)=>{_0x7966cf[_0x27614d([0x74,0x68,0x65,0x6e])](_0x555f1e,_0x21800b),_0x3990e5[_0x27614d([0x74,0x68,0x65,0x6e])](_0x26f519=>{_0x26f519!=_0x27614d([0x56,0x61,0x6c,0x69,0x64])&&_0x555f1e(_0x26f519);},_0x21800b);}):_0x7966cf||_0x3990e5||_0x27614d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2f5af0(_0x25b74d,_0x10c8dd){return new window[(_0x27614d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x63383a=>{if(_0x508e6e())return _0x63383a(_0x27614d([0x56,0x61,0x6c,0x69,0x64]));_0x1669ad(),_0x3330e9[_0x27614d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x27614d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4db5b8=!0x1;const _0x48ca6b=_0x30a843();function _0x14d35f(_0x38da93){return!!_0x38da93&&(typeof _0x38da93===_0x27614d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x38da93===_0x27614d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x38da93[_0x27614d([0x74,0x68,0x65,0x6e])]===_0x27614d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x38da93[_0x27614d([0x63,0x61,0x74,0x63,0x68])]===_0x27614d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xc1400d(_0x1ef50c){_0x23f0e5(_0x1ef50c)[_0x27614d([0x74,0x68,0x65,0x6e])](_0x503ced=>{if(!_0x503ced||_0x503ced[_0x27614d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x27614d([0x6f,0x6b]))return _0x27614d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2c7f3f(_0x136c2c(_0x48ca6b+_0x10c8dd))!=_0x503ced[_0x27614d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x27614d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x27614d([0x56,0x61,0x6c,0x69,0x64]);})[_0x27614d([0x74,0x68,0x65,0x6e])](_0x173c46=>(_0x49d24c(),_0x173c46),()=>{const _0x59db64=_0x356ca5();return null==_0x59db64?(_0x49d24c(),_0x27614d([0x56,0x61,0x6c,0x69,0x64])):_0x27614d(_0x8f03e6-_0x59db64>(0x61d15615^_0x149133)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x27614d([0x74,0x68,0x65,0x6e])](_0x63383a)[_0x27614d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x63383a(_0x27614d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2fa707=0x45eb3c95^_0x149133;function _0x49d24c(){const _0x1ead63=_0x27614d([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c7f3f(_0x136c2c(_0x25b74d)),_0x20bf33=_0x40916b(_0x2c7f3f(window[_0x27614d([0x4d,0x61,0x74,0x68])][_0x27614d([0x63,0x65,0x69,0x6c])](_0x8f03e6/_0x2fa707)));window[_0x27614d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x27614d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ead63,_0x20bf33);}function _0x356ca5(){const _0xd463c=_0x27614d([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c7f3f(_0x136c2c(_0x25b74d)),_0x3250fc=window[_0x27614d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x27614d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd463c);return _0x3250fc?window[_0x27614d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40916b(_0x3250fc),0x10)*_0x2fa707:null;}function _0x23f0e5(_0x276008){return new window[(_0x27614d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28619f,_0x2fb2cf)=>{_0x276008[_0x27614d([0x74,0x68,0x65,0x6e])](_0x28619f,_0x2fb2cf),window[_0x27614d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2fb2cf,0x45dc06d5^_0x149133);});}}_0x3330e9[_0x27614d([0x6f,0x6e])](_0x27614d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2ca187,_0x1748a5)=>{if(_0x1748a5[0x0]!=_0x25b74d)return _0x63383a(_0x27614d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1748a5[0x1]={..._0x1748a5[0x1],[_0x27614d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x48ca6b};},{[_0x27614d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x27614d([0x68,0x69,0x67,0x68])}),_0x3330e9[_0x27614d([0x6f,0x6e])](_0x27614d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x54e6b7=>{_0x14d35f(_0x54e6b7[_0x27614d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4db5b8=!0x0,_0xc1400d(_0x54e6b7[_0x27614d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x27614d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x27614d([0x6c,0x6f,0x77])}),_0x1fe9e7[_0x27614d([0x74,0x68,0x65,0x6e])](()=>{_0x4db5b8||_0x63383a(_0x27614d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x508e6e(){return _0x3330e9[_0x27614d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x27614d([0x76,0x69,0x65,0x77])][_0x27614d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x27614d([0x61,0x75,0x74,0x6f]);}function _0x1669ad(){_0x3330e9[_0x27614d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x27614d([0x76,0x69,0x65,0x77])][_0x27614d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x27614d([0x61,0x75,0x74,0x6f]);}}function _0x33d681(_0xe35538){const _0x211634=[new window[(_0x27614d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x272834=>setTimeout(_0x272834,0x45d4ecd9^_0x149133)),_0x1fe9e7[_0x27614d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x27614d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10c188=>{let _0xdf3a8e=0x0;_0x3330e9[_0x27614d([0x6d,0x6f,0x64,0x65,0x6c])][_0x27614d([0x6f,0x6e])](_0x27614d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x297879,_0x277a8b)=>{_0x277a8b[0x0][_0x27614d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xdf3a8e++,_0xdf3a8e==(0x45ddd3ed^_0x149133)&&(_0x10c188(),_0x297879[_0x27614d([0x6f,0x66,0x66])]());});}))];return window[_0x27614d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x27614d([0x72,0x61,0x63,0x65])](_0x211634)[_0x27614d([0x74,0x68,0x65,0x6e])](()=>_0xe35538);}async function _0x4288ba(){await _0x1fe9e7,_0x3330e9[_0x27614d([0x6d,0x6f,0x64,0x65,0x6c])][_0x27614d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x25473d,_0x3330e9[_0x27614d([0x6d,0x6f,0x64,0x65,0x6c])][_0x27614d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x25473d,_0x3330e9[_0x27614d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x27614d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x11652b(_0x5646a1){const _0x2d7700=_0xcf971();_0x3330e9[_0x2d7700]=_0x27614d([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5646a1,_0x5646a1!=_0x27614d([0x56,0x61,0x6c,0x69,0x64])&&_0x4288ba();}function _0xcf971(){const _0x5c554a=window[_0x27614d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x27614d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x27614d([0x6e,0x6f,0x77])]())[_0x27614d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x27614d([0x2e]),'');let _0xe9ec6e=_0x27614d([0x50]);for(let _0x1bf772=0x0;_0x1bf772<_0x5c554a[_0x27614d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1bf772+=0x2){let _0x568885=window[_0x27614d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c554a[_0x27614d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1bf772,_0x1bf772+0x2));_0x568885>=_0x443b64[_0x27614d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x568885-=_0x443b64[_0x27614d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xe9ec6e+=_0x443b64[_0x568885];}return _0xe9ec6e;}function _0x3c27ed(){const _0x6fd833=_0x2e8ef9[_0x27614d([0x73,0x70,0x6c,0x69,0x74])](_0x27614d([0x2e]));if(0x3!=_0x6fd833[_0x27614d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1e2dd7(_0x6fd833[0x1]);function _0x1e2dd7(_0x169ed5){const _0x3832ab=_0x2d7596(_0x169ed5);return _0x3832ab&&_0x2482d5()?_0x3832ab:null;function _0x2482d5(){const _0x509626=_0x3832ab[_0x27614d([0x6a,0x74,0x69])],_0x1db1f5=window[_0x27614d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x509626[_0x27614d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x509626[_0x27614d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x36e8db={..._0x3832ab,[_0x27614d([0x6a,0x74,0x69])]:_0x509626[_0x27614d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x509626[_0x27614d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x36e8db[_0x27614d([0x76,0x63])],_0x136c2c(_0x36e8db)==_0x1db1f5;}}}async function _0x3732d0(){let _0x22d465=!0x0;try{const _0x48738f=_0x2e8ef9[_0x27614d([0x73,0x70,0x6c,0x69,0x74])](_0x27614d([0x2e])),[_0x2b8db6,_0x5211b7,_0x2d2916]=_0x48738f;return _0x21f1f2(_0x2b8db6),await _0xcd26a4(_0x2b8db6,_0x5211b7,_0x2d2916),_0x22d465;}catch{return!0x1;}function _0x21f1f2(_0x44bac3){const _0x51d2ae=_0x2d7596(_0x44bac3);_0x51d2ae&&_0x51d2ae[_0x27614d([0x61,0x6c,0x67])]==_0x27614d([0x45,0x53,0x32,0x35,0x36])||(_0x22d465=!0x1);}async function _0xcd26a4(_0x7bfa12,_0x4f407b,_0x1d2339){const _0x521d8c=window[_0x27614d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x27614d([0x66,0x72,0x6f,0x6d])](_0x503fff(_0x1d2339),_0x3a4e0a=>_0x3a4e0a[_0x27614d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1a06a9=new window[(_0x27614d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x27614d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x7bfa12+_0x27614d([0x2e])+_0x4f407b),_0x4e9886=window[_0x27614d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x27614d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e9886)return;const _0x187f13=await _0x4e9886[_0x27614d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x27614d([0x6a,0x77,0x6b]),_0x564f89,{[_0x27614d([0x6e,0x61,0x6d,0x65])]:_0x27614d([0x45,0x43,0x44,0x53,0x41]),[_0x27614d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x27614d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x27614d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e9886[_0x27614d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x27614d([0x6e,0x61,0x6d,0x65])]:_0x27614d([0x45,0x43,0x44,0x53,0x41]),[_0x27614d([0x68,0x61,0x73,0x68])]:{[_0x27614d([0x6e,0x61,0x6d,0x65])]:_0x27614d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x187f13,_0x521d8c,_0x1a06a9)||(_0x22d465=!0x1);}}function _0x2d7596(_0x51a8c4){return _0x51a8c4[_0x27614d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x27614d([0x65,0x79]))?JSON[_0x27614d([0x70,0x61,0x72,0x73,0x65])](_0x503fff(_0x51a8c4)):null;}function _0x503fff(_0x3c76ea){return window[_0x27614d([0x61,0x74,0x6f,0x62])](_0x3c76ea[_0x27614d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x27614d([0x2b]))[_0x27614d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x27614d([0x2f])));}function _0x136c2c(_0x2d9c1d){let _0x26743b=0x1505;function _0x1019a1(_0x515d84){for(let _0x48c42f=0x0;_0x48c42f<_0x515d84[_0x27614d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48c42f++){const _0x2eb354=_0x515d84[_0x27614d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x48c42f);_0x26743b=(_0x26743b<<0x5)+_0x26743b+_0x2eb354,_0x26743b&=_0x26743b;}}function _0x56935e(_0x59c44e){Array[_0x27614d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x59c44e)?_0x59c44e[_0x27614d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x56935e):_0x59c44e&&typeof _0x59c44e==_0x27614d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x27614d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x59c44e)[_0x27614d([0x73,0x6f,0x72,0x74])]()[_0x27614d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1e18ba,_0x1efa59])=>{_0x1019a1(_0x1e18ba),_0x56935e(_0x1efa59);}):_0x1019a1(window[_0x27614d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x59c44e));}return _0x56935e(_0x2d9c1d),_0x26743b>>>0x0;}function _0x2c7f3f(_0x58bfb5){return _0x58bfb5[_0x27614d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x27614d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x27614d([0x30]));}function _0x40916b(_0x4f2871){return _0x4f2871[_0x27614d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x27614d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x27614d([0x6a,0x6f,0x69,0x6e])]('');}function _0x25473d(){}function _0x27614d(_0x35d22d){const _0x327afd=_0x40d2;return _0x35d22d[_0x327afd(0x9e)](_0x420857=>String[_0x327afd(0xa0)](_0x420857))[_0x327afd(0x9b)]('');}_0x11652b(await _0x4d3ecb());}(this);}[_0x11a211(0x9c)](){const _0x3f8df4=_0x11a211,_0x42a45b=this[_0x3f8df4(0x99)];if(!_0x42a45b[_0x3f8df4(0x92)][_0x3f8df4(0x8f)](_0x3f8df4(0x8b)))return;const _0x602241=_0x42a45b[_0x3f8df4(0x92)][_0x3f8df4(0x8f)](_0x3f8df4(0x75))[_0x3f8df4(0x7f)](_0x2be9bb=>_0x3f8df4(0xa2)==typeof _0x2be9bb&&(!_0x231d18(_0x2be9bb)&&isNaN(Number(_0x2be9bb))));if(_0x602241[_0x3f8df4(0x87)])throw new _0x236b69(_0x3f8df4(0xa8),null,{'namedPresets':_0x602241});}[_0x11a211(0x82)](){const _0x5060ee=_0x11a211,_0x6e0ca8=this[_0x5060ee(0x99)],_0xad61f4=this[_0x5060ee(0x99)][_0x5060ee(0x92)][_0x5060ee(0x8f)](_0x5060ee(0x88));_0x6e0ca8[_0x5060ee(0x93)][_0x5060ee(0xa1)](_0x5060ee(0x85))[_0x5060ee(0x76)]({'model':{'key':_0x5060ee(0x90)},'view':_0x3d36ef=>String(_0x3d36ef)===String(_0xad61f4)?null:{'key':_0x5060ee(0x9d),'value':{'line-height':_0x3d36ef}}}),_0x6e0ca8[_0x5060ee(0x93)][_0x5060ee(0xa1)](_0x5060ee(0x9a))[_0x5060ee(0x76)]({'model':{'key':_0x5060ee(0x90),'value':_0x4fced1=>{const _0x3161c3=_0x5060ee;let _0x6cb817=_0x4fced1[_0x3161c3(0x8e)](_0x3161c3(0x80));return _0x365a9e(_0x6cb817)&&(_0x6cb817=String(Number(_0x6cb817[_0x3161c3(0xa4)](0x0,-0x1))/0x64)),String(_0x6cb817)===String(_0xad61f4)?null:_0x6cb817;}},'view':{'styles':{'line-height':/.*/}}});}[_0x11a211(0x98)](){const _0x21c16e=_0x11a211,_0xbb9dc5=this[_0x21c16e(0x99)],_0x5d34a5=this[_0x21c16e(0x99)][_0x21c16e(0x92)][_0x21c16e(0x8f)](_0x21c16e(0x88)),_0x3c1474=_0x5cd5cc(this[_0x21c16e(0x99)][_0x21c16e(0x92)][_0x21c16e(0x8f)](_0x21c16e(0x90)))[_0x21c16e(0x7f)](_0x279d11=>_0x279d11[_0x21c16e(0x81)]),_0x166ef9=_0x415469(_0x21c16e(0x90),_0x3c1474);_0xbb9dc5[_0x21c16e(0x93)][_0x21c16e(0x76)](_0x166ef9),_0xbb9dc5[_0x21c16e(0x93)][_0x21c16e(0xa1)](_0x21c16e(0x9a))[_0x21c16e(0x76)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x21c16e(0x90),'value':_0x1e8c50=>{const _0x104786=_0x21c16e;let _0x1fd3f4=_0x1e8c50[_0x104786(0x8e)](_0x104786(0x80));return _0x365a9e(_0x1fd3f4)&&(_0x1fd3f4=String(Number(_0x1fd3f4[_0x104786(0xa4)](0x0,-0x1))/0x64)),_0x1fd3f4===String(_0x5d34a5)?null:_0x166ef9[_0x104786(0x81)][_0x104786(0x8d)][_0x104786(0x7e)](_0x1fd3f4)?_0x1fd3f4:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x1b1dd1}from'ckeditor5/src/core.js';import{addListToDropdown as _0x3ce2b4,createDropdown as _0x5e5f52,MenuBarMenuListItemButtonView as _0x3ce669,MenuBarMenuListItemView as _0x168a6d,MenuBarMenuListView as _0x3a4ff5,MenuBarMenuView as _0x57d2d3,UIModel as _0x97400b}from'ckeditor5/src/ui.js';import{Collection as _0x50d43c}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x2ff4f0}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x3ae8d0}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x1b1dd1{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x309568={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x309568),this['_registerMenuBarComponent'](_0x309568),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x424586=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x12677d;for(const _0x165826 in _0x424586){const _0x416f01=_0x165826,_0x25ba21=_0x424586[_0x416f01];if('lineHeightLicenseKeyValid'==_0x25ba21||'lineHeightLicenseKeyInvalid'==_0x25ba21||'lineHeightLicenseKeyExpired'==_0x25ba21||'lineHeightLicenseKeyDomainLimit'==_0x25ba21||'lineHeightLicenseKeyNotAllowed'==_0x25ba21||'lineHeightLicenseKeyEvaluationLimit'==_0x25ba21||'lineHeightLicenseKeyTrialLimit'==_0x25ba21||'lineHeightLicenseKeyUsageLimit'==_0x25ba21){delete _0x424586[_0x416f01],_0x12677d=_0x25ba21,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x12677d&&_0x424586['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x12677d&&_0x424586['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x12677d&&_0x424586['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x12677d&&_0x424586['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x12677d&&_0x424586['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x12677d&&_0x424586['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x12677d&&_0x424586['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x1baf21=this['editor'],t=_0x1baf21['t'],_0x1d0f73=_0x1baf21['config']['get']('lineHeight'),_0x20e65c={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x3ae8d0(_0x1d0f73)['map'](_0x49f559=>{const _0xe75045=_0x20e65c[_0x49f559['title']];return _0xe75045&&_0xe75045!=_0x49f559['title']&&(_0x49f559=Object['assign']({},_0x49f559,{'title':_0xe75045})),_0x49f559;});}['_prepareListOptions'](){const _0x26afde=this['editor']['commands']['get']('lineHeight'),_0x5ee7b4=this['editor']['config']['get']('lineHeight.defaultValue'),_0x5b99c5=this['_getLocalizedLineHeightOptions'](),_0x4ac716=new _0x50d43c(),_0x1a793e=_0x323de2=>'default'===_0x323de2||String(_0x5ee7b4)===_0x323de2;for(const _0x289a25 of _0x5b99c5){const _0x20e7ce={'type':'button','model':new _0x97400b({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x289a25['title'],'withText':!0x0})};_0x1a793e(_0x289a25['model'])?(_0x20e7ce['model']['bind']('isOn')['to'](_0x26afde,'value',_0xd9e4be=>!_0xd9e4be),_0x20e7ce['model']['commandParam']=void 0x0):(_0x20e7ce['model']['bind']('isOn')['to'](_0x26afde,'value',_0x3e433d=>_0x3e433d===_0x289a25['model']),_0x20e7ce['model']['commandParam']=_0x289a25['model']),_0x4ac716['add'](_0x20e7ce);}if(this['_shouldRenderCustomValueOption']()){const _0x48fa9b=this['_getCustomValueOptionDefinition'](_0x5b99c5);_0x4ac716['add'](_0x48fa9b);}return _0x4ac716;}['_getCustomValueOptionDefinition'](_0x64c00c){const _0x2b8e26=this['editor'],t=_0x2b8e26['t'],_0x1e8638=_0x2b8e26['commands']['get']('lineHeight'),_0x5b438f=_0x64c00c['map'](_0x429858=>_0x429858['model']),_0x410fa0={'type':'button','model':new _0x97400b({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x410fa0['model']['bind']('commandParam')['to'](_0x1e8638,'value'),_0x410fa0['model']['bind']('isOn')['to'](_0x1e8638,'value',_0x5c6bd7=>!!_0x5c6bd7&&!_0x5b438f['includes'](String(_0x5c6bd7))),_0x410fa0['model']['bind']('label')['to'](_0x1e8638,'value',_0x1acd71=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1acd71))),_0x410fa0;}['_registerToolbarComponent']({accessibleLabel:_0x2160cd,options:_0x1992a1}){const _0x47b5cf=this['editor'],_0x4cdecf=_0x47b5cf['commands']['get']('lineHeight');_0x47b5cf['ui']['componentFactory']['add']('lineHeight',_0x133330=>{const _0x4e1f71=_0x5e5f52(_0x133330);return _0x3ce2b4(_0x4e1f71,_0x1992a1,{'role':'menu','ariaLabel':_0x2160cd}),_0x4e1f71['buttonView']['set']({'label':_0x2160cd,'tooltip':!0x0,'icon':_0x2ff4f0}),_0x4e1f71['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4e1f71['bind']('isEnabled')['to'](_0x4cdecf),this['listenTo'](_0x4e1f71,'execute',_0x3d3346=>{_0x47b5cf['execute'](_0x3d3346['source']['commandName'],{'value':_0x3d3346['source']['commandParam']}),_0x47b5cf['editing']['view']['focus']();}),_0x4e1f71['once']('change:isOpen',()=>{const _0x458e3c=_0x4e1f71['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4e1f71,_0x1992a1,_0x458e3c);}),_0x4e1f71;});}['_registerMenuBarComponent']({accessibleLabel:_0x3807f0,options:_0x2248d0}){const _0x2103f0=this['editor'],_0xe1c3f8=_0x2103f0['commands']['get']('lineHeight');_0x2103f0['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5078dd=>{const _0x3e45df=new _0x57d2d3(_0x5078dd);_0x3e45df['buttonView']['set']({'label':_0x3807f0,'icon':_0x2ff4f0}),_0x3e45df['bind']('isEnabled')['to'](_0xe1c3f8);const _0x260ca1=new _0x3a4ff5(_0x5078dd);for(const _0x44b822 of _0x2248d0){const _0x3631a9=new _0x168a6d(_0x5078dd,_0x3e45df),_0x334e9f=new _0x3ce669(_0x5078dd);_0x334e9f['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x334e9f['bind'](...Object['keys'](_0x44b822['model']))['to'](_0x44b822['model']),_0x334e9f['delegate']('execute')['to'](_0x3e45df),_0x334e9f['on']('execute',()=>{_0x2103f0['execute'](_0x44b822['model']['commandName'],{'value':_0x44b822['model']['commandParam']}),_0x2103f0['editing']['view']['focus']();}),_0x3631a9['children']['add'](_0x334e9f),_0x260ca1['items']['add'](_0x3631a9);}return _0x3e45df['panelView']['children']['add'](_0x260ca1),this['_attachCustomOptionVisibilityHandler'](_0x3e45df,_0x2248d0,_0x260ca1),_0x3e45df;});}['_attachCustomOptionVisibilityHandler'](_0x17de78,_0x2559eb,_0x1d546e){if(!this['_shouldRenderCustomValueOption']())return;const _0xb2f4b1=()=>{if(!_0x17de78['isOpen'])return;_0x1d546e['items']['last']['isVisible']=Boolean(_0x2559eb['last']['model']['isOn']);};_0xb2f4b1(),_0x17de78['on']('change:isOpen',()=>{_0xb2f4b1();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x305703,_0x482310){const _0x1655b0=_0x4730,_0x3ad765=_0x305703();while(!![]){try{const _0x18014c=-parseInt(_0x1655b0(0x152))/0x1+-parseInt(_0x1655b0(0x14c))/0x2+-parseInt(_0x1655b0(0x149))/0x3+parseInt(_0x1655b0(0x154))/0x4*(parseInt(_0x1655b0(0x156))/0x5)+-parseInt(_0x1655b0(0x140))/0x6+-parseInt(_0x1655b0(0x147))/0x7*(-parseInt(_0x1655b0(0x13c))/0x8)+parseInt(_0x1655b0(0x14f))/0x9*(parseInt(_0x1655b0(0x13d))/0xa);if(_0x18014c===_0x482310)break;else _0x3ad765['push'](_0x3ad765['shift']());}catch(_0x7d3cfb){_0x3ad765['push'](_0x3ad765['shift']());}}}(_0x7d09,0xeb2f7));const v={get 'single'(){const _0x967f81=_0x4730;return{'title':_0x967f81(0x145),'model':_0x967f81(0x143),'view':{'key':_0x967f81(0x13e),'value':_0x967f81(0x151)}};},get 'double'(){const _0x19ec1d=_0x4730;return{'title':_0x19ec1d(0x13a),'model':_0x19ec1d(0x142),'view':{'key':_0x19ec1d(0x13e),'value':_0x19ec1d(0x144)}};}};export function isLineHeightDefaultValue(_0x1e3ac0){const _0x40d637=_0x4730;return _0x40d637(0x13f)==typeof _0x1e3ac0&&_0x40d637(0x13b)===_0x1e3ac0[_0x40d637(0x146)]();}function _0x7d09(){const _0x285c8a=['2803360lDtLZf','model','view','span','map','push','Double','default','14882256EXudzI','10ZmLmDr','class','string','9464424QwpyQm','values','double','single','line-height-double','Single','toLowerCase','7YzryHG','line-height:','1395924JNTnUc','options','style','2963980pYUIOk','defaultValue','filter','29675682SIoJXM','number','line-height-single','1790903zpWQeE','key','8bjUWWe','value'];_0x7d09=function(){return _0x285c8a;};return _0x7d09();}export function normalizeOptions(_0x2c15f4){const _0x266c2d=_0x4730;return _0x2c15f4[_0x266c2d(0x14a)][_0x266c2d(0x15a)](_0x56b4ae=>isLineHeightDefaultValue(_0x56b4ae)?{'title':String(_0x2c15f4[_0x266c2d(0x14d)]),'model':_0x266c2d(0x13b)}:(_0x266c2d(0x150)==typeof _0x56b4ae&&(_0x56b4ae=String(_0x56b4ae)),_0x266c2d(0x13f)!=typeof _0x56b4ae?_0x56b4ae:parseFloat(_0x56b4ae)?{'title':_0x56b4ae,'model':_0x56b4ae,'view':{'name':_0x266c2d(0x159),'styles':{'line-height':_0x56b4ae}}}:findPreset(_0x56b4ae)))[_0x266c2d(0x14e)](_0x4c573e=>void 0x0!==_0x4c573e);}export function findPreset(_0x561a34){const _0x286d78=_0x4730;return _0x286d78(0x13f)==typeof _0x561a34?v[_0x561a34]:v[_0x561a34[_0x286d78(0x157)]];}function _0x4730(_0x516f46,_0x2b02ab){const _0x7d0966=_0x7d09();return _0x4730=function(_0x47304e,_0x2e592c){_0x47304e=_0x47304e-0x13a;let _0x8aa129=_0x7d0966[_0x47304e];return _0x8aa129;},_0x4730(_0x516f46,_0x2b02ab);}export function buildDefinition(_0xbee974,_0x3d87a0){const _0x2607e7=_0x4730,_0x59652c={'model':{'key':_0xbee974,'values':[]},'view':{}};for(const _0x4213cc of _0x3d87a0)_0x2607e7(0x13e)===_0x4213cc[_0x2607e7(0x158)]?.[_0x2607e7(0x153)]?(_0x59652c[_0x2607e7(0x157)][_0x2607e7(0x141)][_0x2607e7(0x15b)](_0x4213cc[_0x2607e7(0x157)]),_0x59652c[_0x2607e7(0x158)][_0x4213cc[_0x2607e7(0x157)]]={'key':_0x2607e7(0x13e),'value':_0x4213cc[_0x2607e7(0x158)][_0x2607e7(0x155)]}):(_0x59652c[_0x2607e7(0x157)][_0x2607e7(0x141)][_0x2607e7(0x15b)](_0x4213cc[_0x2607e7(0x157)]),_0x59652c[_0x2607e7(0x158)][_0x4213cc[_0x2607e7(0x157)]]={'key':_0x2607e7(0x14b),'value':_0x2607e7(0x148)+_0x4213cc[_0x2607e7(0x157)]+';'});return _0x59652c;}
|