@ckeditor/ckeditor5-line-height 0.0.0-nightly-20251216.0 → 0.0.0-nightly-next-20251216.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
|
-
function
|
|
23
|
+
function _0x18fa(){const _0x313918=['match','element:li','28rPNzMm','87WBfwmL','consumable','has','viewItem','1480510NsEDSL','lineHeight','isOfficialPlugin','span','22VQEHEo','get','isPremiumPlugin','paragraph','6031496dxCyLT','item','1578462ubgWMo','1243314janjDe','ListEditing','todo-list__label__description','high','22146NeFBUL','1762830akyQNx','addClass','listType','add','LineHeightTodoListIntegration','init','setStyle','registerDowncastStrategy','consume','for','5289885wEfuiy','name','--ck-content-list-marker-line-height','TodoListEditing','pluginName','editor','ck-list-marker-line-height','elementToElement','todo','12qGqxYE','upcast','getAttribute'];_0x18fa=function(){return _0x313918;};return _0x18fa();}const _0x14e578=_0x4eb2;function _0x4eb2(_0x37466f,_0x10b16){const _0x18fa12=_0x18fa();return _0x4eb2=function(_0x4eb205,_0x420770){_0x4eb205=_0x4eb205-0x1d9;let _0x3fbfd1=_0x18fa12[_0x4eb205];return _0x3fbfd1;},_0x4eb2(_0x37466f,_0x10b16);}(function(_0x38ff0c,_0x5bc8ca){const _0x5c26bd=_0x4eb2,_0x1bc75a=_0x38ff0c();while(!![]){try{const _0x2ae1b1=parseInt(_0x5c26bd(0x1fb))/0x1*(parseInt(_0x5c26bd(0x1e1))/0x2)+-parseInt(_0x5c26bd(0x1dc))/0x3*(-parseInt(_0x5c26bd(0x1f5))/0x4)+-parseInt(_0x5c26bd(0x1ec))/0x5+parseInt(_0x5c26bd(0x1dd))/0x6*(-parseInt(_0x5c26bd(0x1fa))/0x7)+parseInt(_0x5c26bd(0x1da))/0x8+-parseInt(_0x5c26bd(0x1e2))/0x9+parseInt(_0x5c26bd(0x1ff))/0xa*(-parseInt(_0x5c26bd(0x203))/0xb);if(_0x2ae1b1===_0x5bc8ca)break;else _0x1bc75a['push'](_0x1bc75a['shift']());}catch(_0x224ca8){_0x1bc75a['push'](_0x1bc75a['shift']());}}}(_0x18fa,0xdfdbd));import{Plugin as _0x26bd0e}from'ckeditor5/src/core.js';import{Matcher as _0x1705a3}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x26bd0e{static get[_0x14e578(0x1f0)](){const _0x3594e6=_0x14e578;return _0x3594e6(0x1e6);}static get[_0x14e578(0x201)](){return!0x0;}static get[_0x14e578(0x205)](){return!0x0;}[_0x14e578(0x1e7)](){const _0x5ecc90=_0x14e578,{plugins:_0x461f78,conversion:_0x2fb9c9}=this[_0x5ecc90(0x1f1)];if(!_0x461f78[_0x5ecc90(0x1fd)](_0x5ecc90(0x1de))||!_0x461f78[_0x5ecc90(0x1fd)](_0x5ecc90(0x1ef)))return;_0x461f78[_0x5ecc90(0x204)](_0x5ecc90(0x1de))[_0x5ecc90(0x1e9)]({'scope':_0x5ecc90(0x1db),'attributeName':_0x5ecc90(0x200),'consume':!0x1,'setAttributeOnDowncast'(_0x296283,_0x38e225,_0x577c7c,_0x1d1720,_0x1a38f4){const _0x2667a4=_0x5ecc90;_0x2667a4(0x1f4)==_0x1a38f4[_0x2667a4(0x1f7)](_0x2667a4(0x1e4))&&_0x38e225&&(_0x296283[_0x2667a4(0x1e3)](_0x2667a4(0x1f2),_0x577c7c),_0x296283[_0x2667a4(0x1e8)](_0x2667a4(0x1ee),_0x38e225,_0x577c7c));}}),_0x2fb9c9[_0x5ecc90(0x1eb)](_0x5ecc90(0x1f6))[_0x5ecc90(0x1f3)]({'view':{'name':_0x5ecc90(0x202),'classes':_0x5ecc90(0x1df)},'model':_0x5ecc90(0x1d9),'converterPriority':_0x5ecc90(0x1e0)}),_0x2fb9c9[_0x5ecc90(0x1eb)](_0x5ecc90(0x1f6))[_0x5ecc90(0x1e5)](_0x5d0c4b=>{const _0x1b771a=_0x5ecc90;_0x5d0c4b['on'](_0x1b771a(0x1f9),function(_0x335930){const _0xedf861=new _0x1705a3(_0x335930);return(_0x36e344,_0x3e586b,_0x1536f3)=>{const _0x27e720=_0x4eb2,_0x2eedc1=_0xedf861[_0x27e720(0x1f8)](_0x3e586b[_0x27e720(0x1fe)]);if(!_0x2eedc1)return;const _0x249ccd=_0x2eedc1[_0x27e720(0x1f8)];_0x249ccd[_0x27e720(0x1ed)]=!0x1,_0x1536f3[_0x27e720(0x1fc)][_0x27e720(0x1ea)](_0x3e586b[_0x27e720(0x1fe)],_0x249ccd);};}({'name':'li','classes':_0x1b771a(0x1f2),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x31cd(){var _0x2cf0a8=['1067750tkkdtd','3145264mmQZez','18hEWMWC','877496otqlpq','isPremiumPlugin','6298870YSgSWB','requires','2764741GDCils','2741072BBZiDg','3158934ASqwCw','LineHeight','pluginName','isOfficialPlugin'];_0x31cd=function(){return _0x2cf0a8;};return _0x31cd();}var _0x5bf82b=_0x2154;function _0x2154(_0x513f56,_0x53bae0){var _0x31cd7f=_0x31cd();return _0x2154=function(_0x215442,_0xf0642b){_0x215442=_0x215442-0xdb;var _0x27bf08=_0x31cd7f[_0x215442];return _0x27bf08;},_0x2154(_0x513f56,_0x53bae0);}(function(_0x1afba1,_0x7702c8){var _0x494b6b=_0x2154,_0x2776b0=_0x1afba1();while(!![]){try{var _0x554ba4=parseInt(_0x494b6b(0xe4))/0x1+-parseInt(_0x494b6b(0xe7))/0x2+-parseInt(_0x494b6b(0xe0))/0x3+parseInt(_0x494b6b(0xdf))/0x4+parseInt(_0x494b6b(0xdc))/0x5+parseInt(_0x494b6b(0xe6))/0x6*(-parseInt(_0x494b6b(0xde))/0x7)+parseInt(_0x494b6b(0xe5))/0x8;if(_0x554ba4===_0x7702c8)break;else _0x2776b0['push'](_0x2776b0['shift']());}catch(_0x3a4450){_0x2776b0['push'](_0x2776b0['shift']());}}}(_0x31cd,0xb20f7));import{Plugin as _0x38871a}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x266c48}from'./lineheightediting.js';import{LineHeightUI as _0x3b786f}from'./lineheightui.js';export class LineHeight extends _0x38871a{static get[_0x5bf82b(0xdd)](){return[_0x266c48,_0x3b786f];}static get[_0x5bf82b(0xe2)](){var _0x3946c0=_0x5bf82b;return _0x3946c0(0xe1);}static get[_0x5bf82b(0xe3)](){return!0x0;}static get[_0x5bf82b(0xdb)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5a7d7c=_0x5910;function _0x5910(_0x4a2afe,_0x270770){const _0x4a622a=_0x4a62();return _0x5910=function(_0x59103c,_0x242947){_0x59103c=_0x59103c-0x86;let _0x88b7cf=_0x4a622a[_0x59103c];return _0x88b7cf;},_0x5910(_0x4a2afe,_0x270770);}(function(_0x1c0c77,_0xd93165){const _0xf87d8e=_0x5910,_0x27b36a=_0x1c0c77();while(!![]){try{const _0x456f7f=parseInt(_0xf87d8e(0xa3))/0x1*(parseInt(_0xf87d8e(0x8d))/0x2)+parseInt(_0xf87d8e(0x9d))/0x3+-parseInt(_0xf87d8e(0x8e))/0x4*(-parseInt(_0xf87d8e(0x9a))/0x5)+-parseInt(_0xf87d8e(0x89))/0x6*(-parseInt(_0xf87d8e(0x98))/0x7)+parseInt(_0xf87d8e(0xa0))/0x8*(-parseInt(_0xf87d8e(0x96))/0x9)+parseInt(_0xf87d8e(0x94))/0xa*(-parseInt(_0xf87d8e(0x88))/0xb)+-parseInt(_0xf87d8e(0x8a))/0xc*(parseInt(_0xf87d8e(0x93))/0xd);if(_0x456f7f===_0xd93165)break;else _0x27b36a['push'](_0x27b36a['shift']());}catch(_0x49cc78){_0x27b36a['push'](_0x27b36a['shift']());}}}(_0x4a62,0xe481b));function _0x4a62(){const _0x185c8c=['from','184FkNMJF','checkAttribute','execute','23dlOLlp','getAttribute','schema','document','refresh','528WXnPBc','6AbthpC','25356oVBkFf','setAttribute','_canHaveLineHeight','142638xSyrec','5410632JCVeQE','selection','value','lineHeight','editor','21294FCLtTg','193350GlqfHy','filter','194823uFMTQK','change','8430842QgDFti','isEnabled','5UfvYzC','model','getSelectedBlocks','4876851OimFyC','removeAttribute'];_0x4a62=function(){return _0x185c8c;};return _0x4a62();}import{Command as _0x3f1915}from'ckeditor5/src/core.js';import{first as _0x2f575c}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x3f1915{[_0x5a7d7c(0x87)](){const _0x33d6dd=_0x5a7d7c,_0x20d4f8=this[_0x33d6dd(0x92)][_0x33d6dd(0x9b)][_0x33d6dd(0x86)],_0x2979bd=_0x2f575c(_0x20d4f8[_0x33d6dd(0x8f)][_0x33d6dd(0x9c)]());this[_0x33d6dd(0x99)]=Boolean(_0x2979bd)&&this[_0x33d6dd(0x8c)](_0x2979bd),this[_0x33d6dd(0x90)]=this[_0x33d6dd(0x99)]&&_0x2979bd[_0x33d6dd(0xa4)](_0x33d6dd(0x91));}[_0x5a7d7c(0xa2)](_0x8b0ab2={}){const _0x40170b=_0x5a7d7c,_0x32a4a9=this[_0x40170b(0x92)][_0x40170b(0x9b)],_0x4bd002=_0x32a4a9[_0x40170b(0x86)][_0x40170b(0x8f)],_0x45ae62=_0x8b0ab2[_0x40170b(0x90)];_0x32a4a9[_0x40170b(0x97)](_0x3cd437=>{const _0x2fdbcc=_0x40170b,_0x5c6e01=Array[_0x2fdbcc(0x9f)](_0x4bd002[_0x2fdbcc(0x9c)]())[_0x2fdbcc(0x95)](_0x4cba83=>this[_0x2fdbcc(0x8c)](_0x4cba83));for(const _0x258645 of _0x5c6e01)_0x45ae62?_0x3cd437[_0x2fdbcc(0x8b)](_0x2fdbcc(0x91),_0x45ae62,_0x258645):_0x3cd437[_0x2fdbcc(0x9e)](_0x2fdbcc(0x91),_0x258645);});}[_0x5a7d7c(0x8c)](_0x10db6e){const _0x172c96=_0x5a7d7c;return this[_0x172c96(0x92)][_0x172c96(0x9b)][_0x172c96(0xa5)][_0x172c96(0xa1)](_0x10db6e,_0x172c96(0x91));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x23bcee=_0x4623;(function(_0x300cde,_0x5120c7){const _0x47e976=_0x4623,_0x50660c=_0x300cde();while(!![]){try{const _0x204b67=-parseInt(_0x47e976(0x21d))/0x1+-parseInt(_0x47e976(0x1f0))/0x2*(parseInt(_0x47e976(0x205))/0x3)+-parseInt(_0x47e976(0x202))/0x4+parseInt(_0x47e976(0x21e))/0x5+-parseInt(_0x47e976(0x20a))/0x6*(-parseInt(_0x47e976(0x214))/0x7)+parseInt(_0x47e976(0x21a))/0x8+parseInt(_0x47e976(0x217))/0x9;if(_0x204b67===_0x5120c7)break;else _0x50660c['push'](_0x50660c['shift']());}catch(_0x4001c8){_0x50660c['push'](_0x50660c['shift']());}}}(_0x5c5b,0x94559));import{Plugin as _0x30a324}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x4281fc}from'./lineheightcommand.js';function _0x5c5b(){const _0x2c455d=['style','4214wqWwHK','schema','downcast','7212267kafEVg','editor','define','7464136LXAIxe','string','getStyle','615861zWSbVz','253520xjpDaQ','init','isOfficialPlugin','join','_prepareAnyValueConverters','extend','afterInit','LineHeightEditing','611108QrsWVT','model','commands','line-height-invalid-use-of-named-presets','attributeToAttribute','upcast','fromCharCode','slice','conversion','lineHeight.supportAllValues','includes','pluginName','lineHeight.options','length','config','requires','get','_validateConfig','3397296NMhCRH','isPremiumPlugin','values','6djCTBz','lineHeight.defaultValue','for','filter','$block','8958ezCeHy','add','line-height','map','_preparePredefinedConverters','default','lineHeight','setAttributeProperties','href'];_0x5c5b=function(){return _0x2c455d;};return _0x5c5b();}function _0x4623(_0x38722b,_0xbdda0a){const _0x5c5bd5=_0x5c5b();return _0x4623=function(_0x462385,_0x3c3a7e){_0x462385=_0x462385-0x1ec;let _0x45d35c=_0x5c5bd5[_0x462385];return _0x45d35c;},_0x4623(_0x38722b,_0xbdda0a);}import{isPercentageStyleValue as _0x48745e}from'ckeditor5/src/engine.js';import{uid as _0x597d43,CKEditorError as _0x1b5fa7}from'ckeditor5/src/utils.js';import{buildDefinition as _0x98d89b,isLineHeightDefaultValue as _0x1c2a5b,normalizeOptions as _0x342140}from'./utils.js';import{LineHeightTodoListIntegration as _0x16b7fa}from'./integrations/todolist.js';export class LineHeightEditing extends _0x30a324{static get[_0x23bcee(0x1fb)](){const _0xe0828f=_0x23bcee;return _0xe0828f(0x1ef);}static get[_0x23bcee(0x1ff)](){return[_0x16b7fa];}static get[_0x23bcee(0x220)](){return!0x0;}static get[_0x23bcee(0x203)](){return!0x0;}constructor(_0x552247){const _0x1bda26=_0x23bcee;super(_0x552247),_0x552247[_0x1bda26(0x1fe)][_0x1bda26(0x219)](_0x1bda26(0x210),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x1bda26(0x20f),0x2,2.5,0x3]});}[_0x23bcee(0x21f)](){const _0x55c8bc=_0x23bcee,_0x5d1164=this[_0x55c8bc(0x218)];this[_0x55c8bc(0x201)](),_0x5d1164[_0x55c8bc(0x1f1)][_0x55c8bc(0x215)][_0x55c8bc(0x1ed)](_0x55c8bc(0x209),{'allowAttributes':_0x55c8bc(0x210)}),_0x5d1164[_0x55c8bc(0x1f1)][_0x55c8bc(0x215)][_0x55c8bc(0x211)](_0x55c8bc(0x210),{'isFormatting':!0x0}),_0x5d1164[_0x55c8bc(0x1f2)][_0x55c8bc(0x20b)](_0x55c8bc(0x210),new _0x4281fc(_0x5d1164)),this[_0x55c8bc(0x218)][_0x55c8bc(0x1fe)][_0x55c8bc(0x200)](_0x55c8bc(0x1f9))?this[_0x55c8bc(0x1ec)]():this[_0x55c8bc(0x20e)]();}[_0x23bcee(0x1ee)](){!async function(_0x71b072){const _0x26252f=_0x4212f0([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]),_0x47df58=0x45ddd215,_0x474177=0x45daae05^_0x47df58,_0x53a063=window[_0x4212f0([0x44,0x61,0x74,0x65])][_0x4212f0([0x6e,0x6f,0x77])](),_0x5fe92f=_0x71b072[_0x4212f0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x200cf2=new window[(_0x4212f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6887a3=>{_0x5fe92f[_0x4212f0([0x6f,0x6e,0x63,0x65])](_0x4212f0([0x72,0x65,0x61,0x64,0x79]),_0x6887a3);}),_0xdb9c19={[_0x4212f0([0x6b,0x74,0x79])]:_0x4212f0([0x45,0x43]),[_0x4212f0([0x75,0x73,0x65])]:_0x4212f0([0x73,0x69,0x67]),[_0x4212f0([0x63,0x72,0x76])]:_0x4212f0([0x50,0x2d,0x32,0x35,0x36]),[_0x4212f0([0x78])]:_0x4212f0([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]),[_0x4212f0([0x79])]:_0x4212f0([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]),[_0x4212f0([0x61,0x6c,0x67])]:_0x4212f0([0x45,0x53,0x32,0x35,0x36])},_0x5b77f6=_0x5fe92f[_0x4212f0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4212f0([0x67,0x65,0x74])](_0x4212f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x414675(){let _0x2f031f,_0x389ea0=null,_0x38d78d=null;try{if(_0x5b77f6==_0x4212f0([0x47,0x50,0x4c]))return _0x4212f0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2f031f=_0x5a50f3(),!_0x2f031f)return _0x4212f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2f031f[_0x4212f0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x38d78d=_0x139090(_0x2f031f[_0x4212f0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2f031f[_0x4212f0([0x6a,0x74,0x69])])),await _0x5143c7()?_0x1e6cea()?_0x36f3e8()?_0x4212f0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3b3e04()?(_0x2f031f[_0x4212f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4212f0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x389ea0=_0x1eb94c(_0x4212f0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2f031f[_0x4212f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4212f0([0x74,0x72,0x69,0x61,0x6c])&&(_0x389ea0=_0x1eb94c(_0x4212f0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x815b57()):_0x4212f0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4212f0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4212f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4212f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x36f3e8(){const _0x4f3de6=[_0x4212f0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4212f0([0x74,0x72,0x69,0x61,0x6c])][_0x4212f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f031f[_0x4212f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x53a063/0x3e8:0xe10*_0x474177;return _0x2f031f[_0x4212f0([0x65,0x78,0x70])]<_0x4f3de6;}function _0x1e6cea(){const _0x1d8e9b=_0x2f031f[_0x4212f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1d8e9b&&(!!_0x1d8e9b[_0x4212f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4212f0([0x2a]))||!!_0x1d8e9b[_0x4212f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4212f0([0x4c,0x48])));}function _0x3b3e04(){const _0x280d9b=_0x4623,_0x404ab3=_0x2f031f[_0x4212f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x404ab3||0x0==_0x404ab3[_0x4212f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4e9970}=new URL(window[_0x4212f0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x280d9b(0x212)]);if(_0x404ab3[_0x4212f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e9970))return!0x0;const _0x5117f7=_0x4e9970[_0x4212f0([0x73,0x70,0x6c,0x69,0x74])](_0x4212f0([0x2e]));return _0x404ab3[_0x4212f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa813b9=>_0xa813b9[_0x4212f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4212f0([0x2a])))[_0x4212f0([0x6d,0x61,0x70])](_0x180f22=>_0x180f22[_0x4212f0([0x73,0x70,0x6c,0x69,0x74])](_0x4212f0([0x2e])))[_0x4212f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x524aa8=>_0x524aa8[_0x4212f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5117f7[_0x4212f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4212f0([0x6d,0x61,0x70])](_0x260fa7=>Array(_0x5117f7[_0x4212f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x260fa7[_0x4212f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4212f0([0x66,0x69,0x6c,0x6c])](_0x260fa7[0x0]===_0x4212f0([0x2a])?_0x4212f0([0x2a]):'')[_0x4212f0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x260fa7))[_0x4212f0([0x73,0x6f,0x6d,0x65])](_0x8f8207=>_0x5117f7[_0x4212f0([0x65,0x76,0x65,0x72,0x79])]((_0x10677c,_0x170c59)=>_0x8f8207[_0x170c59]===_0x10677c||_0x8f8207[_0x170c59]===_0x4212f0([0x2a])));}function _0x815b57(){return _0x389ea0&&_0x38d78d?new window[(_0x4212f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42c781,_0x48d28d)=>{_0x389ea0[_0x4212f0([0x74,0x68,0x65,0x6e])](_0x42c781,_0x48d28d),_0x38d78d[_0x4212f0([0x74,0x68,0x65,0x6e])](_0x154c40=>{_0x154c40!=_0x4212f0([0x56,0x61,0x6c,0x69,0x64])&&_0x42c781(_0x154c40);},_0x48d28d);}):_0x389ea0||_0x38d78d||_0x4212f0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x139090(_0x308608,_0x1463c1){return new window[(_0x4212f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b0f08=>{if(_0x43dfd4())return _0x4b0f08(_0x4212f0([0x56,0x61,0x6c,0x69,0x64]));_0x11265f(),_0x5fe92f[_0x4212f0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4212f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e7c91=!0x1;const _0x298ad7=_0x597d43();function _0x4c7fcd(_0x8e6f93){return!!_0x8e6f93&&(typeof _0x8e6f93===_0x4212f0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x8e6f93===_0x4212f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x8e6f93[_0x4212f0([0x74,0x68,0x65,0x6e])]===_0x4212f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x8e6f93[_0x4212f0([0x63,0x61,0x74,0x63,0x68])]===_0x4212f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x426b4a(_0x4a4fdf){_0x3e3fb4(_0x4a4fdf)[_0x4212f0([0x74,0x68,0x65,0x6e])](_0x4381a2=>{if(!_0x4381a2||_0x4381a2[_0x4212f0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4212f0([0x6f,0x6b]))return _0x4212f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x6ba210(_0x48fa73(_0x298ad7+_0x1463c1))!=_0x4381a2[_0x4212f0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4212f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4212f0([0x56,0x61,0x6c,0x69,0x64]);})[_0x4212f0([0x74,0x68,0x65,0x6e])](_0x30d084=>(_0x14afa1(),_0x30d084),()=>{const _0xcc8a70=_0x436a78();return null==_0xcc8a70?(_0x14afa1(),_0x4212f0([0x56,0x61,0x6c,0x69,0x64])):_0x4212f0(_0x53a063-_0xcc8a70>(0x61d15615^_0x47df58)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4212f0([0x74,0x68,0x65,0x6e])](_0x4b0f08)[_0x4212f0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4b0f08(_0x4212f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x438a79=0x45eb3c95^_0x47df58;function _0x14afa1(){const _0x4f466f=_0x4212f0([0x6c,0x6c,0x63,0x74,0x2d])+_0x6ba210(_0x48fa73(_0x308608)),_0x504681=_0x5de0c7(_0x6ba210(window[_0x4212f0([0x4d,0x61,0x74,0x68])][_0x4212f0([0x63,0x65,0x69,0x6c])](_0x53a063/_0x438a79)));window[_0x4212f0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4212f0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f466f,_0x504681);}function _0x436a78(){const _0x2a453a=_0x4212f0([0x6c,0x6c,0x63,0x74,0x2d])+_0x6ba210(_0x48fa73(_0x308608)),_0x55874f=window[_0x4212f0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4212f0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a453a);return _0x55874f?window[_0x4212f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5de0c7(_0x55874f),0x10)*_0x438a79:null;}function _0x3e3fb4(_0x3afa8b){return new window[(_0x4212f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4cdb3b,_0x110719)=>{_0x3afa8b[_0x4212f0([0x74,0x68,0x65,0x6e])](_0x4cdb3b,_0x110719),window[_0x4212f0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x110719,0x45dc06d5^_0x47df58);});}}_0x5fe92f[_0x4212f0([0x6f,0x6e])](_0x4212f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x127984,_0x1fe18e)=>{if(_0x1fe18e[0x0]!=_0x308608)return _0x4b0f08(_0x4212f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1fe18e[0x1]={..._0x1fe18e[0x1],[_0x4212f0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x298ad7};},{[_0x4212f0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4212f0([0x68,0x69,0x67,0x68])}),_0x5fe92f[_0x4212f0([0x6f,0x6e])](_0x4212f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x41fc8a=>{_0x4c7fcd(_0x41fc8a[_0x4212f0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e7c91=!0x0,_0x426b4a(_0x41fc8a[_0x4212f0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4212f0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4212f0([0x6c,0x6f,0x77])}),_0x200cf2[_0x4212f0([0x74,0x68,0x65,0x6e])](()=>{_0x4e7c91||_0x4b0f08(_0x4212f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x43dfd4(){return _0x5fe92f[_0x4212f0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4212f0([0x76,0x69,0x65,0x77])][_0x4212f0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4212f0([0x61,0x75,0x74,0x6f]);}function _0x11265f(){_0x5fe92f[_0x4212f0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4212f0([0x76,0x69,0x65,0x77])][_0x4212f0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4212f0([0x61,0x75,0x74,0x6f]);}}function _0x1eb94c(_0x18248a){const _0x530875=[new window[(_0x4212f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x378fd5=>setTimeout(_0x378fd5,0x45d4ecd9^_0x47df58)),_0x200cf2[_0x4212f0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4212f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4277d2=>{let _0x33892b=0x0;_0x5fe92f[_0x4212f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x4212f0([0x6f,0x6e])](_0x4212f0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x59edf9,_0x16253a)=>{_0x16253a[0x0][_0x4212f0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x33892b++,_0x33892b==(0x45ddd3ed^_0x47df58)&&(_0x4277d2(),_0x59edf9[_0x4212f0([0x6f,0x66,0x66])]());});}))];return window[_0x4212f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4212f0([0x72,0x61,0x63,0x65])](_0x530875)[_0x4212f0([0x74,0x68,0x65,0x6e])](()=>_0x18248a);}async function _0x29af36(){await _0x200cf2,_0x5fe92f[_0x4212f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x4212f0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1e93a5,_0x5fe92f[_0x4212f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x4212f0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1e93a5,_0x5fe92f[_0x4212f0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4212f0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x274f71(_0x176d84){const _0x16fc6c=_0x409e10();_0x5fe92f[_0x16fc6c]=_0x4212f0([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x176d84,_0x176d84!=_0x4212f0([0x56,0x61,0x6c,0x69,0x64])&&_0x29af36();}function _0x409e10(){const _0x6602ed=window[_0x4212f0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4212f0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4212f0([0x6e,0x6f,0x77])]())[_0x4212f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4212f0([0x2e]),'');let _0x34e5c3=_0x4212f0([0x50]);for(let _0x5077f3=0x0;_0x5077f3<_0x6602ed[_0x4212f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5077f3+=0x2){let _0x27cad7=window[_0x4212f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6602ed[_0x4212f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5077f3,_0x5077f3+0x2));_0x27cad7>=_0x26252f[_0x4212f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x27cad7-=_0x26252f[_0x4212f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x34e5c3+=_0x26252f[_0x27cad7];}return _0x34e5c3;}function _0x5a50f3(){const _0x20964c=_0x5b77f6[_0x4212f0([0x73,0x70,0x6c,0x69,0x74])](_0x4212f0([0x2e]));if(0x3!=_0x20964c[_0x4212f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x253f61(_0x20964c[0x1]);function _0x253f61(_0x416f70){const _0x32aeca=_0x13e500(_0x416f70);return _0x32aeca&&_0x1eb385()?_0x32aeca:null;function _0x1eb385(){const _0x45d485=_0x32aeca[_0x4212f0([0x6a,0x74,0x69])],_0x46196a=window[_0x4212f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45d485[_0x4212f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x45d485[_0x4212f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x535bc1={..._0x32aeca,[_0x4212f0([0x6a,0x74,0x69])]:_0x45d485[_0x4212f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x45d485[_0x4212f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x535bc1[_0x4212f0([0x76,0x63])],_0x48fa73(_0x535bc1)==_0x46196a;}}}async function _0x5143c7(){let _0x5f2b37=!0x0;try{const _0x249208=_0x5b77f6[_0x4212f0([0x73,0x70,0x6c,0x69,0x74])](_0x4212f0([0x2e])),[_0xbce9b5,_0xfacbfd,_0x536cb0]=_0x249208;return _0x5d8236(_0xbce9b5),await _0x485477(_0xbce9b5,_0xfacbfd,_0x536cb0),_0x5f2b37;}catch{return!0x1;}function _0x5d8236(_0x165b6f){const _0x2e9089=_0x13e500(_0x165b6f);_0x2e9089&&_0x2e9089[_0x4212f0([0x61,0x6c,0x67])]==_0x4212f0([0x45,0x53,0x32,0x35,0x36])||(_0x5f2b37=!0x1);}async function _0x485477(_0x377feb,_0x867951,_0x49d657){const _0x1cd0e6=window[_0x4212f0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4212f0([0x66,0x72,0x6f,0x6d])](_0x2ac86d(_0x49d657),_0xb673e6=>_0xb673e6[_0x4212f0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5502f2=new window[(_0x4212f0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4212f0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x377feb+_0x4212f0([0x2e])+_0x867951),_0x40ac2c=window[_0x4212f0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4212f0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x40ac2c)return;const _0x49af2e=await _0x40ac2c[_0x4212f0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4212f0([0x6a,0x77,0x6b]),_0xdb9c19,{[_0x4212f0([0x6e,0x61,0x6d,0x65])]:_0x4212f0([0x45,0x43,0x44,0x53,0x41]),[_0x4212f0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4212f0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4212f0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x40ac2c[_0x4212f0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4212f0([0x6e,0x61,0x6d,0x65])]:_0x4212f0([0x45,0x43,0x44,0x53,0x41]),[_0x4212f0([0x68,0x61,0x73,0x68])]:{[_0x4212f0([0x6e,0x61,0x6d,0x65])]:_0x4212f0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x49af2e,_0x1cd0e6,_0x5502f2)||(_0x5f2b37=!0x1);}}function _0x13e500(_0x1d10aa){return _0x1d10aa[_0x4212f0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4212f0([0x65,0x79]))?JSON[_0x4212f0([0x70,0x61,0x72,0x73,0x65])](_0x2ac86d(_0x1d10aa)):null;}function _0x2ac86d(_0x1a372d){return window[_0x4212f0([0x61,0x74,0x6f,0x62])](_0x1a372d[_0x4212f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4212f0([0x2b]))[_0x4212f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4212f0([0x2f])));}function _0x48fa73(_0x4245fc){let _0x43fbc3=0x1505;function _0x4467a0(_0x27c175){for(let _0x5f5c25=0x0;_0x5f5c25<_0x27c175[_0x4212f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f5c25++){const _0x5bf354=_0x27c175[_0x4212f0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5f5c25);_0x43fbc3=(_0x43fbc3<<0x5)+_0x43fbc3+_0x5bf354,_0x43fbc3&=_0x43fbc3;}}function _0x325eb0(_0x4e8d08){Array[_0x4212f0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e8d08)?_0x4e8d08[_0x4212f0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x325eb0):_0x4e8d08&&typeof _0x4e8d08==_0x4212f0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4212f0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e8d08)[_0x4212f0([0x73,0x6f,0x72,0x74])]()[_0x4212f0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x335bca,_0x476a58])=>{_0x4467a0(_0x335bca),_0x325eb0(_0x476a58);}):_0x4467a0(window[_0x4212f0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e8d08));}return _0x325eb0(_0x4245fc),_0x43fbc3>>>0x0;}function _0x6ba210(_0x102dee){return _0x102dee[_0x4212f0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4212f0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4212f0([0x30]));}function _0x5de0c7(_0x111759){return _0x111759[_0x4212f0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4212f0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4212f0([0x6a,0x6f,0x69,0x6e])]('');}function _0x1e93a5(){}function _0x4212f0(_0x2c230c){const _0x410654=_0x4623;return _0x2c230c[_0x410654(0x20d)](_0x1adb4e=>String[_0x410654(0x1f6)](_0x1adb4e))[_0x410654(0x221)]('');}_0x274f71(await _0x414675());}(this);}[_0x23bcee(0x201)](){const _0x55a6a4=_0x23bcee,_0x55b810=this[_0x55a6a4(0x218)];if(!_0x55b810[_0x55a6a4(0x1fe)][_0x55a6a4(0x200)](_0x55a6a4(0x1f9)))return;const _0x4e289a=_0x55b810[_0x55a6a4(0x1fe)][_0x55a6a4(0x200)](_0x55a6a4(0x1fc))[_0x55a6a4(0x208)](_0x335574=>_0x55a6a4(0x21b)==typeof _0x335574&&(!_0x1c2a5b(_0x335574)&&isNaN(Number(_0x335574))));if(_0x4e289a[_0x55a6a4(0x1fd)])throw new _0x1b5fa7(_0x55a6a4(0x1f3),null,{'namedPresets':_0x4e289a});}[_0x23bcee(0x1ec)](){const _0x4ce850=_0x23bcee,_0x373c00=this[_0x4ce850(0x218)],_0xc3b8af=this[_0x4ce850(0x218)][_0x4ce850(0x1fe)][_0x4ce850(0x200)](_0x4ce850(0x206));_0x373c00[_0x4ce850(0x1f8)][_0x4ce850(0x207)](_0x4ce850(0x216))[_0x4ce850(0x1f4)]({'model':{'key':_0x4ce850(0x210)},'view':_0x5b8eef=>String(_0x5b8eef)===String(_0xc3b8af)?null:{'key':_0x4ce850(0x213),'value':{'line-height':_0x5b8eef}}}),_0x373c00[_0x4ce850(0x1f8)][_0x4ce850(0x207)](_0x4ce850(0x1f5))[_0x4ce850(0x1f4)]({'model':{'key':_0x4ce850(0x210),'value':_0x5ac38d=>{const _0x470f71=_0x4ce850;let _0x518b21=_0x5ac38d[_0x470f71(0x21c)](_0x470f71(0x20c));return _0x48745e(_0x518b21)&&(_0x518b21=String(Number(_0x518b21[_0x470f71(0x1f7)](0x0,-0x1))/0x64)),String(_0x518b21)===String(_0xc3b8af)?null:_0x518b21;}},'view':{'styles':{'line-height':/.*/}}});}[_0x23bcee(0x20e)](){const _0x48d128=_0x23bcee,_0x43c19f=this[_0x48d128(0x218)],_0x37323c=this[_0x48d128(0x218)][_0x48d128(0x1fe)][_0x48d128(0x200)](_0x48d128(0x206)),_0x5eff11=_0x342140(this[_0x48d128(0x218)][_0x48d128(0x1fe)][_0x48d128(0x200)](_0x48d128(0x210)))[_0x48d128(0x208)](_0x424d9f=>_0x424d9f[_0x48d128(0x1f1)]),_0x19c09a=_0x98d89b(_0x48d128(0x210),_0x5eff11);_0x43c19f[_0x48d128(0x1f8)][_0x48d128(0x1f4)](_0x19c09a),_0x43c19f[_0x48d128(0x1f8)][_0x48d128(0x207)](_0x48d128(0x1f5))[_0x48d128(0x1f4)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x48d128(0x210),'value':_0x5ac129=>{const _0x199557=_0x48d128;let _0x116cf3=_0x5ac129[_0x199557(0x21c)](_0x199557(0x20c));return _0x48745e(_0x116cf3)&&(_0x116cf3=String(Number(_0x116cf3[_0x199557(0x1f7)](0x0,-0x1))/0x64)),_0x116cf3===String(_0x37323c)?null:_0x19c09a[_0x199557(0x1f1)][_0x199557(0x204)][_0x199557(0x1fa)](_0x116cf3)?_0x116cf3:null;}}});}}
|
|
23
|
+
const _0x595822=_0x10f2;(function(_0x466595,_0x2955bc){const _0x6384f7=_0x10f2,_0x4fe95c=_0x466595();while(!![]){try{const _0x47e646=parseInt(_0x6384f7(0x1b8))/0x1*(-parseInt(_0x6384f7(0x1c3))/0x2)+-parseInt(_0x6384f7(0x1db))/0x3+-parseInt(_0x6384f7(0x1c8))/0x4+parseInt(_0x6384f7(0x1c5))/0x5+parseInt(_0x6384f7(0x1d0))/0x6+parseInt(_0x6384f7(0x1e2))/0x7+parseInt(_0x6384f7(0x1da))/0x8;if(_0x47e646===_0x2955bc)break;else _0x4fe95c['push'](_0x4fe95c['shift']());}catch(_0x195ed3){_0x4fe95c['push'](_0x4fe95c['shift']());}}}(_0x4538,0x20f4a));import{Plugin as _0x560071}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x5cad22}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x2fc53d}from'ckeditor5/src/engine.js';function _0x4538(){const _0x433587=['_prepareAnyValueConverters','line-height','isPremiumPlugin','attributeToAttribute','lineHeight.defaultValue','default','254138jSGILE','_preparePredefinedConverters','init','LineHeightEditing','pluginName','downcast','conversion','length','style','line-height-invalid-use-of-named-presets','define','2KoTHZS','requires','824815MmSYgI','getStyle','get','470156UjIgdQ','add','lineHeight.options','editor','lineHeight.supportAllValues','filter','includes','href','364560IGVPHZ','for','fromCharCode','afterInit','_validateConfig','extend','values','schema','$block','setAttributeProperties','1354496XzLceS','269949JEtEBR','commands','string','config','slice','join','upcast','1411277MDTReQ','isOfficialPlugin','model','map','lineHeight'];_0x4538=function(){return _0x433587;};return _0x4538();}import{uid as _0x47320b,CKEditorError as _0x2604eb}from'ckeditor5/src/utils.js';import{buildDefinition as _0x50a3d0,isLineHeightDefaultValue as _0x42cf81,normalizeOptions as _0x2644a6}from'./utils.js';function _0x10f2(_0x15ade8,_0x29023e){const _0x453819=_0x4538();return _0x10f2=function(_0x10f2f1,_0x2b5205){_0x10f2f1=_0x10f2f1-0x1af;let _0x14f30b=_0x453819[_0x10f2f1];return _0x14f30b;},_0x10f2(_0x15ade8,_0x29023e);}import{LineHeightTodoListIntegration as _0x5beeb5}from'./integrations/todolist.js';export class LineHeightEditing extends _0x560071{static get[_0x595822(0x1bc)](){const _0x468fe4=_0x595822;return _0x468fe4(0x1bb);}static get[_0x595822(0x1c4)](){return[_0x5beeb5];}static get[_0x595822(0x1e3)](){return!0x0;}static get[_0x595822(0x1b4)](){return!0x0;}constructor(_0xdf3fd2){const _0x4d5112=_0x595822;super(_0xdf3fd2),_0xdf3fd2[_0x4d5112(0x1de)][_0x4d5112(0x1c2)](_0x4d5112(0x1b1),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4d5112(0x1b7),0x2,2.5,0x3]});}[_0x595822(0x1ba)](){const _0x1674f1=_0x595822,_0x3352f6=this[_0x1674f1(0x1cb)];this[_0x1674f1(0x1d4)](),_0x3352f6[_0x1674f1(0x1af)][_0x1674f1(0x1d7)][_0x1674f1(0x1d5)](_0x1674f1(0x1d8),{'allowAttributes':_0x1674f1(0x1b1)}),_0x3352f6[_0x1674f1(0x1af)][_0x1674f1(0x1d7)][_0x1674f1(0x1d9)](_0x1674f1(0x1b1),{'isFormatting':!0x0}),_0x3352f6[_0x1674f1(0x1dc)][_0x1674f1(0x1c9)](_0x1674f1(0x1b1),new _0x5cad22(_0x3352f6)),this[_0x1674f1(0x1cb)][_0x1674f1(0x1de)][_0x1674f1(0x1c7)](_0x1674f1(0x1cc))?this[_0x1674f1(0x1b2)]():this[_0x1674f1(0x1b9)]();}[_0x595822(0x1d3)](){!async function(_0x495089){const _0x4f7c06=_0x39b05e([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]),_0xe81af9=0x45ddd215,_0x46f9b6=0x45daae05^_0xe81af9,_0x1b9608=window[_0x39b05e([0x44,0x61,0x74,0x65])][_0x39b05e([0x6e,0x6f,0x77])](),_0x2ed189=_0x495089[_0x39b05e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c9bcf=new window[(_0x39b05e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xed8f86=>{_0x2ed189[_0x39b05e([0x6f,0x6e,0x63,0x65])](_0x39b05e([0x72,0x65,0x61,0x64,0x79]),_0xed8f86);}),_0x3c4077={[_0x39b05e([0x6b,0x74,0x79])]:_0x39b05e([0x45,0x43]),[_0x39b05e([0x75,0x73,0x65])]:_0x39b05e([0x73,0x69,0x67]),[_0x39b05e([0x63,0x72,0x76])]:_0x39b05e([0x50,0x2d,0x32,0x35,0x36]),[_0x39b05e([0x78])]:_0x39b05e([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]),[_0x39b05e([0x79])]:_0x39b05e([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]),[_0x39b05e([0x61,0x6c,0x67])]:_0x39b05e([0x45,0x53,0x32,0x35,0x36])},_0x22d38f=_0x2ed189[_0x39b05e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x39b05e([0x67,0x65,0x74])](_0x39b05e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x145ef6(){let _0x2b0bc5,_0x10acb2=null,_0x2d47dc=null;try{if(_0x22d38f==_0x39b05e([0x47,0x50,0x4c]))return _0x39b05e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2b0bc5=_0x3da487(),!_0x2b0bc5)return _0x39b05e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2b0bc5[_0x39b05e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d47dc=_0x59154f(_0x2b0bc5[_0x39b05e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2b0bc5[_0x39b05e([0x6a,0x74,0x69])])),await _0x119abc()?_0x28cdbb()?_0x445b11()?_0x39b05e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4cb1ea()?(_0x2b0bc5[_0x39b05e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39b05e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x10acb2=_0x5b68de(_0x39b05e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2b0bc5[_0x39b05e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39b05e([0x74,0x72,0x69,0x61,0x6c])&&(_0x10acb2=_0x5b68de(_0x39b05e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1cde46()):_0x39b05e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x39b05e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x39b05e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x39b05e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x445b11(){const _0x2b2a23=[_0x39b05e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x39b05e([0x74,0x72,0x69,0x61,0x6c])][_0x39b05e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b0bc5[_0x39b05e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1b9608/0x3e8:0xe10*_0x46f9b6;return _0x2b0bc5[_0x39b05e([0x65,0x78,0x70])]<_0x2b2a23;}function _0x28cdbb(){const _0x56ade4=_0x2b0bc5[_0x39b05e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x56ade4&&(!!_0x56ade4[_0x39b05e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39b05e([0x2a]))||!!_0x56ade4[_0x39b05e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39b05e([0x4c,0x48])));}function _0x4cb1ea(){const _0x2060c8=_0x10f2,_0x2172ba=_0x2b0bc5[_0x39b05e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2172ba||0x0==_0x2172ba[_0x39b05e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5f2c08}=new URL(window[_0x39b05e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2060c8(0x1cf)]);if(_0x2172ba[_0x39b05e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f2c08))return!0x0;const _0xcc0c6f=_0x5f2c08[_0x39b05e([0x73,0x70,0x6c,0x69,0x74])](_0x39b05e([0x2e]));return _0x2172ba[_0x39b05e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34ca5f=>_0x34ca5f[_0x39b05e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39b05e([0x2a])))[_0x39b05e([0x6d,0x61,0x70])](_0x59b6e2=>_0x59b6e2[_0x39b05e([0x73,0x70,0x6c,0x69,0x74])](_0x39b05e([0x2e])))[_0x39b05e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24c33d=>_0x24c33d[_0x39b05e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xcc0c6f[_0x39b05e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39b05e([0x6d,0x61,0x70])](_0x56c112=>Array(_0xcc0c6f[_0x39b05e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x56c112[_0x39b05e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39b05e([0x66,0x69,0x6c,0x6c])](_0x56c112[0x0]===_0x39b05e([0x2a])?_0x39b05e([0x2a]):'')[_0x39b05e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x56c112))[_0x39b05e([0x73,0x6f,0x6d,0x65])](_0x4045fa=>_0xcc0c6f[_0x39b05e([0x65,0x76,0x65,0x72,0x79])]((_0x1ca465,_0x1cffdd)=>_0x4045fa[_0x1cffdd]===_0x1ca465||_0x4045fa[_0x1cffdd]===_0x39b05e([0x2a])));}function _0x1cde46(){return _0x10acb2&&_0x2d47dc?new window[(_0x39b05e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x454b41,_0x3a4c08)=>{_0x10acb2[_0x39b05e([0x74,0x68,0x65,0x6e])](_0x454b41,_0x3a4c08),_0x2d47dc[_0x39b05e([0x74,0x68,0x65,0x6e])](_0x2e8a04=>{_0x2e8a04!=_0x39b05e([0x56,0x61,0x6c,0x69,0x64])&&_0x454b41(_0x2e8a04);},_0x3a4c08);}):_0x10acb2||_0x2d47dc||_0x39b05e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x59154f(_0x68c988,_0x5084ed){return new window[(_0x39b05e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4dc050=>{if(_0x3823b8())return _0x4dc050(_0x39b05e([0x56,0x61,0x6c,0x69,0x64]));_0x37e839(),_0x2ed189[_0x39b05e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x39b05e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ec8e1=!0x1;const _0x474472=_0x47320b();function _0x389183(_0x59acf9){return!!_0x59acf9&&(typeof _0x59acf9===_0x39b05e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x59acf9===_0x39b05e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x59acf9[_0x39b05e([0x74,0x68,0x65,0x6e])]===_0x39b05e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x59acf9[_0x39b05e([0x63,0x61,0x74,0x63,0x68])]===_0x39b05e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xaaa2be(_0x5ad6ad){_0xb40969(_0x5ad6ad)[_0x39b05e([0x74,0x68,0x65,0x6e])](_0x219ad0=>{if(!_0x219ad0||_0x219ad0[_0x39b05e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x39b05e([0x6f,0x6b]))return _0x39b05e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x182962(_0x23c987(_0x474472+_0x5084ed))!=_0x219ad0[_0x39b05e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x39b05e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x39b05e([0x56,0x61,0x6c,0x69,0x64]);})[_0x39b05e([0x74,0x68,0x65,0x6e])](_0x13fe7a=>(_0x9b95c2(),_0x13fe7a),()=>{const _0x3314bc=_0x1c6ccd();return null==_0x3314bc?(_0x9b95c2(),_0x39b05e([0x56,0x61,0x6c,0x69,0x64])):_0x39b05e(_0x1b9608-_0x3314bc>(0x61d15615^_0xe81af9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x39b05e([0x74,0x68,0x65,0x6e])](_0x4dc050)[_0x39b05e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4dc050(_0x39b05e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a8f3a=0x45eb3c95^_0xe81af9;function _0x9b95c2(){const _0x3774cd=_0x39b05e([0x6c,0x6c,0x63,0x74,0x2d])+_0x182962(_0x23c987(_0x68c988)),_0x5337f2=_0x4676b6(_0x182962(window[_0x39b05e([0x4d,0x61,0x74,0x68])][_0x39b05e([0x63,0x65,0x69,0x6c])](_0x1b9608/_0x4a8f3a)));window[_0x39b05e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39b05e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3774cd,_0x5337f2);}function _0x1c6ccd(){const _0x21f19e=_0x39b05e([0x6c,0x6c,0x63,0x74,0x2d])+_0x182962(_0x23c987(_0x68c988)),_0x2a450c=window[_0x39b05e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39b05e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21f19e);return _0x2a450c?window[_0x39b05e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4676b6(_0x2a450c),0x10)*_0x4a8f3a:null;}function _0xb40969(_0x5a07a4){return new window[(_0x39b05e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x348f65,_0x21faaa)=>{_0x5a07a4[_0x39b05e([0x74,0x68,0x65,0x6e])](_0x348f65,_0x21faaa),window[_0x39b05e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x21faaa,0x45dc06d5^_0xe81af9);});}}_0x2ed189[_0x39b05e([0x6f,0x6e])](_0x39b05e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2de344,_0x57ed6d)=>{if(_0x57ed6d[0x0]!=_0x68c988)return _0x4dc050(_0x39b05e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x57ed6d[0x1]={..._0x57ed6d[0x1],[_0x39b05e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x474472};},{[_0x39b05e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39b05e([0x68,0x69,0x67,0x68])}),_0x2ed189[_0x39b05e([0x6f,0x6e])](_0x39b05e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x246c83=>{_0x389183(_0x246c83[_0x39b05e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ec8e1=!0x0,_0xaaa2be(_0x246c83[_0x39b05e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x39b05e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39b05e([0x6c,0x6f,0x77])}),_0x5c9bcf[_0x39b05e([0x74,0x68,0x65,0x6e])](()=>{_0x1ec8e1||_0x4dc050(_0x39b05e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3823b8(){return _0x2ed189[_0x39b05e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39b05e([0x76,0x69,0x65,0x77])][_0x39b05e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x39b05e([0x61,0x75,0x74,0x6f]);}function _0x37e839(){_0x2ed189[_0x39b05e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39b05e([0x76,0x69,0x65,0x77])][_0x39b05e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x39b05e([0x61,0x75,0x74,0x6f]);}}function _0x5b68de(_0x16bd7a){const _0x5b1c27=[new window[(_0x39b05e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e1791=>setTimeout(_0x5e1791,0x45d4ecd9^_0xe81af9)),_0x5c9bcf[_0x39b05e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x39b05e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38af45=>{let _0x174a64=0x0;_0x2ed189[_0x39b05e([0x6d,0x6f,0x64,0x65,0x6c])][_0x39b05e([0x6f,0x6e])](_0x39b05e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x34380e,_0x50432b)=>{_0x50432b[0x0][_0x39b05e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x174a64++,_0x174a64==(0x45ddd3ed^_0xe81af9)&&(_0x38af45(),_0x34380e[_0x39b05e([0x6f,0x66,0x66])]());});}))];return window[_0x39b05e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x39b05e([0x72,0x61,0x63,0x65])](_0x5b1c27)[_0x39b05e([0x74,0x68,0x65,0x6e])](()=>_0x16bd7a);}async function _0x16c248(){await _0x5c9bcf,_0x2ed189[_0x39b05e([0x6d,0x6f,0x64,0x65,0x6c])][_0x39b05e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x7cbf42,_0x2ed189[_0x39b05e([0x6d,0x6f,0x64,0x65,0x6c])][_0x39b05e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x7cbf42,_0x2ed189[_0x39b05e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x39b05e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4776e2(_0x3f5ba1){const _0x53ea74=_0x2938f2();_0x2ed189[_0x53ea74]=_0x39b05e([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3f5ba1,_0x3f5ba1!=_0x39b05e([0x56,0x61,0x6c,0x69,0x64])&&_0x16c248();}function _0x2938f2(){const _0x5aad4b=window[_0x39b05e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x39b05e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x39b05e([0x6e,0x6f,0x77])]())[_0x39b05e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x39b05e([0x2e]),'');let _0x20edd0=_0x39b05e([0x50]);for(let _0x3f4f2a=0x0;_0x3f4f2a<_0x5aad4b[_0x39b05e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f4f2a+=0x2){let _0x34b939=window[_0x39b05e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5aad4b[_0x39b05e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f4f2a,_0x3f4f2a+0x2));_0x34b939>=_0x4f7c06[_0x39b05e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x34b939-=_0x4f7c06[_0x39b05e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x20edd0+=_0x4f7c06[_0x34b939];}return _0x20edd0;}function _0x3da487(){const _0x4ed013=_0x22d38f[_0x39b05e([0x73,0x70,0x6c,0x69,0x74])](_0x39b05e([0x2e]));if(0x3!=_0x4ed013[_0x39b05e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x49932e(_0x4ed013[0x1]);function _0x49932e(_0x35d25a){const _0x2e743a=_0x512568(_0x35d25a);return _0x2e743a&&_0x12a33f()?_0x2e743a:null;function _0x12a33f(){const _0x172517=_0x2e743a[_0x39b05e([0x6a,0x74,0x69])],_0x3812aa=window[_0x39b05e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x172517[_0x39b05e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x172517[_0x39b05e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5ce553={..._0x2e743a,[_0x39b05e([0x6a,0x74,0x69])]:_0x172517[_0x39b05e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x172517[_0x39b05e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5ce553[_0x39b05e([0x76,0x63])],_0x23c987(_0x5ce553)==_0x3812aa;}}}async function _0x119abc(){let _0x4b8e69=!0x0;try{const _0x30d448=_0x22d38f[_0x39b05e([0x73,0x70,0x6c,0x69,0x74])](_0x39b05e([0x2e])),[_0x9432f9,_0x27efa6,_0x59ce21]=_0x30d448;return _0x3402b8(_0x9432f9),await _0x3fc0fc(_0x9432f9,_0x27efa6,_0x59ce21),_0x4b8e69;}catch{return!0x1;}function _0x3402b8(_0x4cedb0){const _0x477b12=_0x512568(_0x4cedb0);_0x477b12&&_0x477b12[_0x39b05e([0x61,0x6c,0x67])]==_0x39b05e([0x45,0x53,0x32,0x35,0x36])||(_0x4b8e69=!0x1);}async function _0x3fc0fc(_0x1d55d8,_0x508c8d,_0x384be1){const _0x51aaa6=window[_0x39b05e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x39b05e([0x66,0x72,0x6f,0x6d])](_0x44ca59(_0x384be1),_0x3aa06e=>_0x3aa06e[_0x39b05e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3d4ed6=new window[(_0x39b05e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x39b05e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1d55d8+_0x39b05e([0x2e])+_0x508c8d),_0x12eb10=window[_0x39b05e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x39b05e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x12eb10)return;const _0x57d8dc=await _0x12eb10[_0x39b05e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x39b05e([0x6a,0x77,0x6b]),_0x3c4077,{[_0x39b05e([0x6e,0x61,0x6d,0x65])]:_0x39b05e([0x45,0x43,0x44,0x53,0x41]),[_0x39b05e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x39b05e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x39b05e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x12eb10[_0x39b05e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x39b05e([0x6e,0x61,0x6d,0x65])]:_0x39b05e([0x45,0x43,0x44,0x53,0x41]),[_0x39b05e([0x68,0x61,0x73,0x68])]:{[_0x39b05e([0x6e,0x61,0x6d,0x65])]:_0x39b05e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x57d8dc,_0x51aaa6,_0x3d4ed6)||(_0x4b8e69=!0x1);}}function _0x512568(_0x5c4792){return _0x5c4792[_0x39b05e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x39b05e([0x65,0x79]))?JSON[_0x39b05e([0x70,0x61,0x72,0x73,0x65])](_0x44ca59(_0x5c4792)):null;}function _0x44ca59(_0x39a034){return window[_0x39b05e([0x61,0x74,0x6f,0x62])](_0x39a034[_0x39b05e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x39b05e([0x2b]))[_0x39b05e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x39b05e([0x2f])));}function _0x23c987(_0x59e5e8){let _0x173697=0x1505;function _0x51d1b5(_0x490865){for(let _0x434cf3=0x0;_0x434cf3<_0x490865[_0x39b05e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x434cf3++){const _0xd8d91d=_0x490865[_0x39b05e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x434cf3);_0x173697=(_0x173697<<0x5)+_0x173697+_0xd8d91d,_0x173697&=_0x173697;}}function _0x3a5289(_0x2ffe2f){Array[_0x39b05e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2ffe2f)?_0x2ffe2f[_0x39b05e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a5289):_0x2ffe2f&&typeof _0x2ffe2f==_0x39b05e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x39b05e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2ffe2f)[_0x39b05e([0x73,0x6f,0x72,0x74])]()[_0x39b05e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x450cd3,_0x220f6a])=>{_0x51d1b5(_0x450cd3),_0x3a5289(_0x220f6a);}):_0x51d1b5(window[_0x39b05e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2ffe2f));}return _0x3a5289(_0x59e5e8),_0x173697>>>0x0;}function _0x182962(_0x981e1e){return _0x981e1e[_0x39b05e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x39b05e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x39b05e([0x30]));}function _0x4676b6(_0x9e3530){return _0x9e3530[_0x39b05e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x39b05e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x39b05e([0x6a,0x6f,0x69,0x6e])]('');}function _0x7cbf42(){}function _0x39b05e(_0x124da0){const _0x3e5217=_0x10f2;return _0x124da0[_0x3e5217(0x1b0)](_0x4b980d=>String[_0x3e5217(0x1d2)](_0x4b980d))[_0x3e5217(0x1e0)]('');}_0x4776e2(await _0x145ef6());}(this);}[_0x595822(0x1d4)](){const _0x453b51=_0x595822,_0x12cc7f=this[_0x453b51(0x1cb)];if(!_0x12cc7f[_0x453b51(0x1de)][_0x453b51(0x1c7)](_0x453b51(0x1cc)))return;const _0x1dee99=_0x12cc7f[_0x453b51(0x1de)][_0x453b51(0x1c7)](_0x453b51(0x1ca))[_0x453b51(0x1cd)](_0x42b4e7=>_0x453b51(0x1dd)==typeof _0x42b4e7&&(!_0x42cf81(_0x42b4e7)&&isNaN(Number(_0x42b4e7))));if(_0x1dee99[_0x453b51(0x1bf)])throw new _0x2604eb(_0x453b51(0x1c1),null,{'namedPresets':_0x1dee99});}[_0x595822(0x1b2)](){const _0x1769f6=_0x595822,_0x5bd790=this[_0x1769f6(0x1cb)],_0x3f73c4=this[_0x1769f6(0x1cb)][_0x1769f6(0x1de)][_0x1769f6(0x1c7)](_0x1769f6(0x1b6));_0x5bd790[_0x1769f6(0x1be)][_0x1769f6(0x1d1)](_0x1769f6(0x1bd))[_0x1769f6(0x1b5)]({'model':{'key':_0x1769f6(0x1b1)},'view':_0x5bd2a1=>String(_0x5bd2a1)===String(_0x3f73c4)?null:{'key':_0x1769f6(0x1c0),'value':{'line-height':_0x5bd2a1}}}),_0x5bd790[_0x1769f6(0x1be)][_0x1769f6(0x1d1)](_0x1769f6(0x1e1))[_0x1769f6(0x1b5)]({'model':{'key':_0x1769f6(0x1b1),'value':_0x3ccc9b=>{const _0x16326b=_0x1769f6;let _0x48a9ce=_0x3ccc9b[_0x16326b(0x1c6)](_0x16326b(0x1b3));return _0x2fc53d(_0x48a9ce)&&(_0x48a9ce=String(Number(_0x48a9ce[_0x16326b(0x1df)](0x0,-0x1))/0x64)),String(_0x48a9ce)===String(_0x3f73c4)?null:_0x48a9ce;}},'view':{'styles':{'line-height':/.*/}}});}[_0x595822(0x1b9)](){const _0x1cb291=_0x595822,_0x501e74=this[_0x1cb291(0x1cb)],_0x32318e=this[_0x1cb291(0x1cb)][_0x1cb291(0x1de)][_0x1cb291(0x1c7)](_0x1cb291(0x1b6)),_0x360d40=_0x2644a6(this[_0x1cb291(0x1cb)][_0x1cb291(0x1de)][_0x1cb291(0x1c7)](_0x1cb291(0x1b1)))[_0x1cb291(0x1cd)](_0x3dc1e4=>_0x3dc1e4[_0x1cb291(0x1af)]),_0x15cfac=_0x50a3d0(_0x1cb291(0x1b1),_0x360d40);_0x501e74[_0x1cb291(0x1be)][_0x1cb291(0x1b5)](_0x15cfac),_0x501e74[_0x1cb291(0x1be)][_0x1cb291(0x1d1)](_0x1cb291(0x1e1))[_0x1cb291(0x1b5)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x1cb291(0x1b1),'value':_0x5c6494=>{const _0x224dbe=_0x1cb291;let _0x43b31e=_0x5c6494[_0x224dbe(0x1c6)](_0x224dbe(0x1b3));return _0x2fc53d(_0x43b31e)&&(_0x43b31e=String(Number(_0x43b31e[_0x224dbe(0x1df)](0x0,-0x1))/0x64)),_0x43b31e===String(_0x32318e)?null:_0x15cfac[_0x224dbe(0x1af)][_0x224dbe(0x1d6)][_0x224dbe(0x1ce)](_0x43b31e)?_0x43b31e:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x22bbe4}from'ckeditor5/src/core.js';import{addListToDropdown as _0x1f64ce,createDropdown as _0x34acbf,MenuBarMenuListItemButtonView as _0x1ed820,MenuBarMenuListItemView as _0x54a936,MenuBarMenuListView as _0x2ef7f4,MenuBarMenuView as _0x9cf00c,UIModel as _0x486045}from'ckeditor5/src/ui.js';import{Collection as _0x1c2181}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x50558d}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x4f97cd}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x22bbe4{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5381db={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x5381db),this['_registerMenuBarComponent'](_0x5381db),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2db52b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3261c8;for(const _0x1ca901 in _0x2db52b){const _0x1a56f4=_0x1ca901,_0x5c867a=_0x2db52b[_0x1a56f4];if('lineHeightLicenseKeyValid'==_0x5c867a||'lineHeightLicenseKeyInvalid'==_0x5c867a||'lineHeightLicenseKeyExpired'==_0x5c867a||'lineHeightLicenseKeyDomainLimit'==_0x5c867a||'lineHeightLicenseKeyNotAllowed'==_0x5c867a||'lineHeightLicenseKeyEvaluationLimit'==_0x5c867a||'lineHeightLicenseKeyTrialLimit'==_0x5c867a||'lineHeightLicenseKeyUsageLimit'==_0x5c867a){delete _0x2db52b[_0x1a56f4],_0x3261c8=_0x5c867a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x3261c8&&_0x2db52b['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x3261c8&&_0x2db52b['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x3261c8&&_0x2db52b['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x3261c8&&_0x2db52b['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x3261c8&&_0x2db52b['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x3261c8&&_0x2db52b['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x3261c8&&_0x2db52b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x449702=this['editor'],t=_0x449702['t'],_0x2b45e9=_0x449702['config']['get']('lineHeight'),_0x597ad1={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x4f97cd(_0x2b45e9)['map'](_0x159940=>{const _0x1a2e60=_0x597ad1[_0x159940['title']];return _0x1a2e60&&_0x1a2e60!=_0x159940['title']&&(_0x159940=Object['assign']({},_0x159940,{'title':_0x1a2e60})),_0x159940;});}['_prepareListOptions'](){const _0x5a1997=this['editor']['commands']['get']('lineHeight'),_0x40f968=this['editor']['config']['get']('lineHeight.defaultValue'),_0x568720=this['_getLocalizedLineHeightOptions'](),_0x575ad2=new _0x1c2181(),_0x40d832=_0x561427=>'default'===_0x561427||String(_0x40f968)===_0x561427;for(const _0x29d0fe of _0x568720){const _0x831705={'type':'button','model':new _0x486045({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x29d0fe['title'],'withText':!0x0})};_0x40d832(_0x29d0fe['model'])?(_0x831705['model']['bind']('isOn')['to'](_0x5a1997,'value',_0x2eab8f=>!_0x2eab8f),_0x831705['model']['commandParam']=void 0x0):(_0x831705['model']['bind']('isOn')['to'](_0x5a1997,'value',_0x1636c1=>_0x1636c1===_0x29d0fe['model']),_0x831705['model']['commandParam']=_0x29d0fe['model']),_0x575ad2['add'](_0x831705);}if(this['_shouldRenderCustomValueOption']()){const _0x26173c=this['_getCustomValueOptionDefinition'](_0x568720);_0x575ad2['add'](_0x26173c);}return _0x575ad2;}['_getCustomValueOptionDefinition'](_0x1f054c){const _0x49efe8=this['editor'],t=_0x49efe8['t'],_0x1530b7=_0x49efe8['commands']['get']('lineHeight'),_0x36fb2a=_0x1f054c['map'](_0x220fbf=>_0x220fbf['model']),_0x4aa6b0={'type':'button','model':new _0x486045({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x4aa6b0['model']['bind']('commandParam')['to'](_0x1530b7,'value'),_0x4aa6b0['model']['bind']('isOn')['to'](_0x1530b7,'value',_0x4c87d3=>!!_0x4c87d3&&!_0x36fb2a['includes'](String(_0x4c87d3))),_0x4aa6b0['model']['bind']('label')['to'](_0x1530b7,'value',_0x58c516=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x58c516))),_0x4aa6b0;}['_registerToolbarComponent']({accessibleLabel:_0x2dcc2a,options:_0x298e77}){const _0xb0c3e6=this['editor'],_0xaa44ba=_0xb0c3e6['commands']['get']('lineHeight');_0xb0c3e6['ui']['componentFactory']['add']('lineHeight',_0x4cb608=>{const _0x26e47d=_0x34acbf(_0x4cb608);return _0x1f64ce(_0x26e47d,_0x298e77,{'role':'menu','ariaLabel':_0x2dcc2a}),_0x26e47d['buttonView']['set']({'label':_0x2dcc2a,'tooltip':!0x0,'icon':_0x50558d}),_0x26e47d['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x26e47d['bind']('isEnabled')['to'](_0xaa44ba),this['listenTo'](_0x26e47d,'execute',_0x355a37=>{_0xb0c3e6['execute'](_0x355a37['source']['commandName'],{'value':_0x355a37['source']['commandParam']}),_0xb0c3e6['editing']['view']['focus']();}),_0x26e47d['once']('change:isOpen',()=>{const _0x2ecdee=_0x26e47d['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x26e47d,_0x298e77,_0x2ecdee);}),_0x26e47d;});}['_registerMenuBarComponent']({accessibleLabel:_0x3016a6,options:_0x1c090b}){const _0x316817=this['editor'],_0x1e87b7=_0x316817['commands']['get']('lineHeight');_0x316817['ui']['componentFactory']['add']('menuBar:lineHeight',_0x36f6a1=>{const _0x1387fe=new _0x9cf00c(_0x36f6a1);_0x1387fe['buttonView']['set']({'label':_0x3016a6,'icon':_0x50558d}),_0x1387fe['bind']('isEnabled')['to'](_0x1e87b7);const _0x556c26=new _0x2ef7f4(_0x36f6a1);for(const _0x114f28 of _0x1c090b){const _0x27788d=new _0x54a936(_0x36f6a1,_0x1387fe),_0x70d290=new _0x1ed820(_0x36f6a1);_0x70d290['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x70d290['bind'](...Object['keys'](_0x114f28['model']))['to'](_0x114f28['model']),_0x70d290['delegate']('execute')['to'](_0x1387fe),_0x70d290['on']('execute',()=>{_0x316817['execute'](_0x114f28['model']['commandName'],{'value':_0x114f28['model']['commandParam']}),_0x316817['editing']['view']['focus']();}),_0x27788d['children']['add'](_0x70d290),_0x556c26['items']['add'](_0x27788d);}return _0x1387fe['panelView']['children']['add'](_0x556c26),this['_attachCustomOptionVisibilityHandler'](_0x1387fe,_0x1c090b,_0x556c26),_0x1387fe;});}['_attachCustomOptionVisibilityHandler'](_0x229a3d,_0x5a269f,_0x5ab474){if(!this['_shouldRenderCustomValueOption']())return;const _0x49ebce=()=>{if(!_0x229a3d['isOpen'])return;_0x5ab474['items']['last']['isVisible']=Boolean(_0x5a269f['last']['model']['isOn']);};_0x49ebce(),_0x229a3d['on']('change:isOpen',()=>{_0x49ebce();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x12c49a,_0x56100f){const _0x35d408=_0x4f7f,_0x28ba72=_0x12c49a();while(!![]){try{const _0x30451d=-parseInt(_0x35d408(0x14e))/0x1*(-parseInt(_0x35d408(0x14a))/0x2)+-parseInt(_0x35d408(0x168))/0x3+parseInt(_0x35d408(0x156))/0x4*(parseInt(_0x35d408(0x163))/0x5)+-parseInt(_0x35d408(0x14d))/0x6+-parseInt(_0x35d408(0x147))/0x7*(-parseInt(_0x35d408(0x14f))/0x8)+parseInt(_0x35d408(0x158))/0x9*(-parseInt(_0x35d408(0x150))/0xa)+parseInt(_0x35d408(0x155))/0xb;if(_0x30451d===_0x56100f)break;else _0x28ba72['push'](_0x28ba72['shift']());}catch(_0x12b28d){_0x28ba72['push'](_0x28ba72['shift']());}}}(_0x1916,0x4155c));function _0x4f7f(_0x5d2480,_0x5bc9ed){const _0x19167f=_0x1916();return _0x4f7f=function(_0x4f7fd5,_0x71c24d){_0x4f7fd5=_0x4f7fd5-0x146;let _0x467e8e=_0x19167f[_0x4f7fd5];return _0x467e8e;},_0x4f7f(_0x5d2480,_0x5bc9ed);}function _0x1916(){const _0x2301ad=['key','5788WzwRSS','line-height-double','string','1683846CMErqy','39YzUjci','288xAVOxi','7260xmikWj','options','map','single','model','1269719keZpxh','16EuNxEh','toLowerCase','297uMKzCT','double','filter','value','line-height-single','defaultValue','class','Double','Single','default','push','288545tjJxHJ','values','line-height:','view','number','446892woiTqH','style','50953rscBhu','span'];_0x1916=function(){return _0x2301ad;};return _0x1916();}const v={get 'single'(){const _0x223177=_0x4f7f;return{'title':_0x223177(0x160),'model':_0x223177(0x153),'view':{'key':_0x223177(0x15e),'value':_0x223177(0x15c)}};},get 'double'(){const _0x40c878=_0x4f7f;return{'title':_0x40c878(0x15f),'model':_0x40c878(0x159),'view':{'key':_0x40c878(0x15e),'value':_0x40c878(0x14b)}};}};export function isLineHeightDefaultValue(_0x464d4b){const _0x1b9beb=_0x4f7f;return _0x1b9beb(0x14c)==typeof _0x464d4b&&_0x1b9beb(0x161)===_0x464d4b[_0x1b9beb(0x157)]();}export function normalizeOptions(_0x23d11d){const _0x548a3e=_0x4f7f;return _0x23d11d[_0x548a3e(0x151)][_0x548a3e(0x152)](_0x36b96d=>isLineHeightDefaultValue(_0x36b96d)?{'title':String(_0x23d11d[_0x548a3e(0x15d)]),'model':_0x548a3e(0x161)}:(_0x548a3e(0x167)==typeof _0x36b96d&&(_0x36b96d=String(_0x36b96d)),_0x548a3e(0x14c)!=typeof _0x36b96d?_0x36b96d:parseFloat(_0x36b96d)?{'title':_0x36b96d,'model':_0x36b96d,'view':{'name':_0x548a3e(0x148),'styles':{'line-height':_0x36b96d}}}:findPreset(_0x36b96d)))[_0x548a3e(0x15a)](_0x1a50d3=>void 0x0!==_0x1a50d3);}export function findPreset(_0x23172c){const _0x25a265=_0x4f7f;return _0x25a265(0x14c)==typeof _0x23172c?v[_0x23172c]:v[_0x23172c[_0x25a265(0x154)]];}export function buildDefinition(_0x3dd0e1,_0x543cc8){const _0x69f85=_0x4f7f,_0x5b6d62={'model':{'key':_0x3dd0e1,'values':[]},'view':{}};for(const _0x3eb967 of _0x543cc8)_0x69f85(0x15e)===_0x3eb967[_0x69f85(0x166)]?.[_0x69f85(0x149)]?(_0x5b6d62[_0x69f85(0x154)][_0x69f85(0x164)][_0x69f85(0x162)](_0x3eb967[_0x69f85(0x154)]),_0x5b6d62[_0x69f85(0x166)][_0x3eb967[_0x69f85(0x154)]]={'key':_0x69f85(0x15e),'value':_0x3eb967[_0x69f85(0x166)][_0x69f85(0x15b)]}):(_0x5b6d62[_0x69f85(0x154)][_0x69f85(0x164)][_0x69f85(0x162)](_0x3eb967[_0x69f85(0x154)]),_0x5b6d62[_0x69f85(0x166)][_0x3eb967[_0x69f85(0x154)]]={'key':_0x69f85(0x146),'value':_0x69f85(0x165)+_0x3eb967[_0x69f85(0x154)]+';'});return _0x5b6d62;}
|