@ckeditor/ckeditor5-line-height 47.5.0-alpha.0 → 47.5.0-alpha.1
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
|
+
const _0x5b8199=_0x5129;function _0x4e38(){const _0x1bb22b=['listType','881370HNOMSa','--ck-content-list-marker-line-height','addClass','1243648ujhFCe','1900GNYjYn','5607612zDsfCj','registerDowncastStrategy','has','for','pluginName','setStyle','isPremiumPlugin','upcast','element:li','2209983nTvpjj','viewItem','ListEditing','3204bwfxYp','init','LineHeightTodoListIntegration','add','6bSeiuC','name','consumable','span','get','editor','TodoListEditing','getAttribute','61KgHwgr','14344cwokPG','todo-list__label__description','elementToElement','isOfficialPlugin','34870CfjnWZ','todo','4vifAZB','ck-list-marker-line-height','lineHeight','item','paragraph','consume','match','19322NYJYtI','high'];_0x4e38=function(){return _0x1bb22b;};return _0x4e38();}(function(_0x65efcd,_0x575d3b){const _0x48fb2d=_0x5129,_0x948a76=_0x65efcd();while(!![]){try{const _0x554538=-parseInt(_0x48fb2d(0xb8))/0x1*(parseInt(_0x48fb2d(0xc6))/0x2)+-parseInt(_0x48fb2d(0xa9))/0x3+-parseInt(_0x48fb2d(0xbf))/0x4*(parseInt(_0x48fb2d(0xc9))/0x5)+-parseInt(_0x48fb2d(0xb0))/0x6*(-parseInt(_0x48fb2d(0xcc))/0x7)+-parseInt(_0x48fb2d(0xb9))/0x8*(-parseInt(_0x48fb2d(0xac))/0x9)+-parseInt(_0x48fb2d(0xcd))/0xa*(-parseInt(_0x48fb2d(0xbd))/0xb)+parseInt(_0x48fb2d(0xce))/0xc;if(_0x554538===_0x575d3b)break;else _0x948a76['push'](_0x948a76['shift']());}catch(_0x5256a7){_0x948a76['push'](_0x948a76['shift']());}}}(_0x4e38,0x5d955));function _0x5129(_0x875448,_0x105c69){const _0x4e383f=_0x4e38();return _0x5129=function(_0x512977,_0x19d338){_0x512977=_0x512977-0xa2;let _0x5e1a18=_0x4e383f[_0x512977];return _0x5e1a18;},_0x5129(_0x875448,_0x105c69);}import{Plugin as _0x4f0782}from'ckeditor5/src/core.js';import{Matcher as _0x83a750}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x4f0782{static get[_0x5b8199(0xa4)](){const _0x3d3791=_0x5b8199;return _0x3d3791(0xae);}static get[_0x5b8199(0xbc)](){return!0x0;}static get[_0x5b8199(0xa6)](){return!0x0;}[_0x5b8199(0xad)](){const _0x33b5c2=_0x5b8199,{plugins:_0x4b615d,conversion:_0x5b6b8f}=this[_0x33b5c2(0xb5)];if(!_0x4b615d[_0x33b5c2(0xa2)](_0x33b5c2(0xab))||!_0x4b615d[_0x33b5c2(0xa2)](_0x33b5c2(0xb6)))return;_0x4b615d[_0x33b5c2(0xb4)](_0x33b5c2(0xab))[_0x33b5c2(0xcf)]({'scope':_0x33b5c2(0xc2),'attributeName':_0x33b5c2(0xc1),'consume':!0x1,'setAttributeOnDowncast'(_0x411a50,_0x385488,_0x4e7a0a,_0x4bf631,_0x8ce40f){const _0x1a62e5=_0x33b5c2;_0x1a62e5(0xbe)==_0x8ce40f[_0x1a62e5(0xb7)](_0x1a62e5(0xc8))&&_0x385488&&(_0x411a50[_0x1a62e5(0xcb)](_0x1a62e5(0xc0),_0x4e7a0a),_0x411a50[_0x1a62e5(0xa5)](_0x1a62e5(0xca),_0x385488,_0x4e7a0a));}}),_0x5b6b8f[_0x33b5c2(0xa3)](_0x33b5c2(0xa7))[_0x33b5c2(0xbb)]({'view':{'name':_0x33b5c2(0xb3),'classes':_0x33b5c2(0xba)},'model':_0x33b5c2(0xc3),'converterPriority':_0x33b5c2(0xc7)}),_0x5b6b8f[_0x33b5c2(0xa3)](_0x33b5c2(0xa7))[_0x33b5c2(0xaf)](_0xadbf8=>{const _0x1c0e45=_0x33b5c2;_0xadbf8['on'](_0x1c0e45(0xa8),function(_0x18f068){const _0x80be51=new _0x83a750(_0x18f068);return(_0x2b76b8,_0x2fc376,_0x439c48)=>{const _0x2f434f=_0x5129,_0x2e33c6=_0x80be51[_0x2f434f(0xc5)](_0x2fc376[_0x2f434f(0xaa)]);if(!_0x2e33c6)return;const _0xaf504=_0x2e33c6[_0x2f434f(0xc5)];_0xaf504[_0x2f434f(0xb1)]=!0x1,_0x439c48[_0x2f434f(0xb2)][_0x2f434f(0xc4)](_0x2fc376[_0x2f434f(0xaa)],_0xaf504);};}({'name':'li','classes':_0x1c0e45(0xc0),'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 _0x3191(_0x1819b7,_0x2b84e0){var _0x447342=_0x4473();return _0x3191=function(_0x31919c,_0x3bc5c0){_0x31919c=_0x31919c-0x1c4;var _0x3ec7e9=_0x447342[_0x31919c];return _0x3ec7e9;},_0x3191(_0x1819b7,_0x2b84e0);}var _0x31902e=_0x3191;(function(_0x565677,_0x3757ea){var _0x278dc2=_0x3191,_0x37217d=_0x565677();while(!![]){try{var _0x423298=-parseInt(_0x278dc2(0x1c6))/0x1+-parseInt(_0x278dc2(0x1c7))/0x2+parseInt(_0x278dc2(0x1ce))/0x3+parseInt(_0x278dc2(0x1ca))/0x4*(parseInt(_0x278dc2(0x1c9))/0x5)+parseInt(_0x278dc2(0x1cb))/0x6+parseInt(_0x278dc2(0x1cd))/0x7*(parseInt(_0x278dc2(0x1cc))/0x8)+parseInt(_0x278dc2(0x1d0))/0x9*(-parseInt(_0x278dc2(0x1c4))/0xa);if(_0x423298===_0x3757ea)break;else _0x37217d['push'](_0x37217d['shift']());}catch(_0x5ecd97){_0x37217d['push'](_0x37217d['shift']());}}}(_0x4473,0xcd601));import{Plugin as _0xde40cc}from'ckeditor5/src/core.js';import{LineHeightEditing as _0xa06746}from'./lineheightediting.js';import{LineHeightUI as _0x479116}from'./lineheightui.js';export class LineHeight extends _0xde40cc{static get[_0x31902e(0x1cf)](){return[_0xa06746,_0x479116];}static get[_0x31902e(0x1d2)](){var _0x3f55b2=_0x31902e;return _0x3f55b2(0x1c8);}static get[_0x31902e(0x1c5)](){return!0x0;}static get[_0x31902e(0x1d1)](){return!0x0;}}function _0x4473(){var _0x162cb4=['130XYKQuQ','isOfficialPlugin','1265782RMGRnq','1329594Pfrzrv','LineHeight','10pomxaA','2276052XyHHUH','517968yPfmKf','808MAOxIN','38731dqWZAX','3028266OxVMCd','requires','14409YMwkmp','isPremiumPlugin','pluginName'];_0x4473=function(){return _0x162cb4;};return _0x4473();}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x302423=_0xf85a;function _0xf85a(_0x231379,_0x14fead){const _0x2ca22c=_0x2ca2();return _0xf85a=function(_0xf85a40,_0x4392bc){_0xf85a40=_0xf85a40-0x1b3;let _0x59eb4f=_0x2ca22c[_0xf85a40];return _0x59eb4f;},_0xf85a(_0x231379,_0x14fead);}(function(_0xa2c3dc,_0x4fa69b){const _0x48783f=_0xf85a,_0x296948=_0xa2c3dc();while(!![]){try{const _0x282f97=-parseInt(_0x48783f(0x1b9))/0x1*(-parseInt(_0x48783f(0x1d3))/0x2)+-parseInt(_0x48783f(0x1c7))/0x3*(parseInt(_0x48783f(0x1d1))/0x4)+parseInt(_0x48783f(0x1bc))/0x5*(-parseInt(_0x48783f(0x1b6))/0x6)+parseInt(_0x48783f(0x1c3))/0x7*(-parseInt(_0x48783f(0x1b3))/0x8)+-parseInt(_0x48783f(0x1cd))/0x9*(parseInt(_0x48783f(0x1c2))/0xa)+-parseInt(_0x48783f(0x1c6))/0xb*(parseInt(_0x48783f(0x1c8))/0xc)+parseInt(_0x48783f(0x1c4))/0xd*(parseInt(_0x48783f(0x1c5))/0xe);if(_0x282f97===_0x4fa69b)break;else _0x296948['push'](_0x296948['shift']());}catch(_0x584b5a){_0x296948['push'](_0x296948['shift']());}}}(_0x2ca2,0x631f5));import{Command as _0x1bfeaf}from'ckeditor5/src/core.js';function _0x2ca2(){const _0x225359=['20426RdWyyo','8LwyLTD','filter','document','288294OnCXVY','value','_canHaveLineHeight','69bOUXms','execute','from','55CQtwXK','getSelectedBlocks','refresh','getAttribute','model','selection','26310VIdMvN','2067184vnemQJ','1443AjHYBv','120526wlCIcP','2222kMIUeH','2505YYpfKx','2328fTlybK','editor','removeAttribute','lineHeight','schema','153sxysyi','change','isEnabled','setAttribute','1660NzREia','checkAttribute'];_0x2ca2=function(){return _0x225359;};return _0x2ca2();}import{first as _0x23c392}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x1bfeaf{[_0x302423(0x1be)](){const _0x332e2e=_0x302423,_0x55fbd5=this[_0x332e2e(0x1c9)][_0x332e2e(0x1c0)][_0x332e2e(0x1b5)],_0x26e379=_0x23c392(_0x55fbd5[_0x332e2e(0x1c1)][_0x332e2e(0x1bd)]());this[_0x332e2e(0x1cf)]=Boolean(_0x26e379)&&this[_0x332e2e(0x1b8)](_0x26e379),this[_0x332e2e(0x1b7)]=this[_0x332e2e(0x1cf)]&&_0x26e379[_0x332e2e(0x1bf)](_0x332e2e(0x1cb));}[_0x302423(0x1ba)](_0x238fe5={}){const _0x41bd16=_0x302423,_0x1b2295=this[_0x41bd16(0x1c9)][_0x41bd16(0x1c0)],_0x2c0d4d=_0x1b2295[_0x41bd16(0x1b5)][_0x41bd16(0x1c1)],_0x269950=_0x238fe5[_0x41bd16(0x1b7)];_0x1b2295[_0x41bd16(0x1ce)](_0x31a642=>{const _0x253742=_0x41bd16,_0x1dc004=Array[_0x253742(0x1bb)](_0x2c0d4d[_0x253742(0x1bd)]())[_0x253742(0x1b4)](_0x4c510e=>this[_0x253742(0x1b8)](_0x4c510e));for(const _0x48c196 of _0x1dc004)_0x269950?_0x31a642[_0x253742(0x1d0)](_0x253742(0x1cb),_0x269950,_0x48c196):_0x31a642[_0x253742(0x1ca)](_0x253742(0x1cb),_0x48c196);});}[_0x302423(0x1b8)](_0x223ee2){const _0x1ef2db=_0x302423;return this[_0x1ef2db(0x1c9)][_0x1ef2db(0x1c0)][_0x1ef2db(0x1cc)][_0x1ef2db(0x1d2)](_0x223ee2,_0x1ef2db(0x1cb));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x191622=_0x5147;(function(_0x1ed1eb,_0x39754d){const _0x325c05=_0x5147,_0x18258e=_0x1ed1eb();while(!![]){try{const _0x48681c=parseInt(_0x325c05(0xb3))/0x1+parseInt(_0x325c05(0xa8))/0x2+-parseInt(_0x325c05(0x93))/0x3*(parseInt(_0x325c05(0xa5))/0x4)+-parseInt(_0x325c05(0xa2))/0x5+-parseInt(_0x325c05(0xb7))/0x6*(parseInt(_0x325c05(0x9c))/0x7)+parseInt(_0x325c05(0x9e))/0x8*(-parseInt(_0x325c05(0x9a))/0x9)+parseInt(_0x325c05(0xc6))/0xa;if(_0x48681c===_0x39754d)break;else _0x18258e['push'](_0x18258e['shift']());}catch(_0x3ec1a6){_0x18258e['push'](_0x18258e['shift']());}}}(_0x4f39,0x88673));function _0x5147(_0x28f59c,_0x4a0c58){const _0x4f3987=_0x4f39();return _0x5147=function(_0x5147a2,_0x513571){_0x5147a2=_0x5147a2-0x90;let _0x1fb209=_0x4f3987[_0x5147a2];return _0x1fb209;},_0x5147(_0x28f59c,_0x4a0c58);}import{Plugin as _0x5e9e7b}from'ckeditor5/src/core.js';function _0x4f39(){const _0x6a5d6b=['18013180tmBMUn','_preparePredefinedConverters','style','for','33117dklGeA','editor','extend','requires','conversion','length','lineHeight','2312748pWQwHg','_validateConfig','803467OIIPPc','commands','8vYMRBB','downcast','values','_prepareAnyValueConverters','5442195kyZgpm','string','LineHeightEditing','236DnvDGK','href','upcast','1422172mCcEIV','attributeToAttribute','fromCharCode','filter','schema','lineHeight.options','line-height-invalid-use-of-named-presets','get','line-height','afterInit','default','616920IGmeLS','pluginName','slice','isOfficialPlugin','30uCnWfP','config','lineHeight.defaultValue','add','map','model','isPremiumPlugin','$block','getStyle','setAttributeProperties','define','join','lineHeight.supportAllValues','includes','init'];_0x4f39=function(){return _0x6a5d6b;};return _0x4f39();}import{LineHeightCommand as _0x486f51}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x268796}from'ckeditor5/src/engine.js';import{uid as _0x1a8547,CKEditorError as _0x40ad5c}from'ckeditor5/src/utils.js';import{buildDefinition as _0x506b8c,isLineHeightDefaultValue as _0x36f108,normalizeOptions as _0x5f1aa3}from'./utils.js';import{LineHeightTodoListIntegration as _0x5b5b20}from'./integrations/todolist.js';export class LineHeightEditing extends _0x5e9e7b{static get[_0x191622(0xb4)](){const _0x221d70=_0x191622;return _0x221d70(0xa4);}static get[_0x191622(0x96)](){return[_0x5b5b20];}static get[_0x191622(0xb6)](){return!0x0;}static get[_0x191622(0xbd)](){return!0x0;}constructor(_0x1db06b){const _0x596b69=_0x191622;super(_0x1db06b),_0x1db06b[_0x596b69(0xb8)][_0x596b69(0xc1)](_0x596b69(0x99),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x596b69(0xb2),0x2,2.5,0x3]});}[_0x191622(0xc5)](){const _0x2fed7a=_0x191622,_0x1ce3a3=this[_0x2fed7a(0x94)];this[_0x2fed7a(0x9b)](),_0x1ce3a3[_0x2fed7a(0xbc)][_0x2fed7a(0xac)][_0x2fed7a(0x95)](_0x2fed7a(0xbe),{'allowAttributes':_0x2fed7a(0x99)}),_0x1ce3a3[_0x2fed7a(0xbc)][_0x2fed7a(0xac)][_0x2fed7a(0xc0)](_0x2fed7a(0x99),{'isFormatting':!0x0}),_0x1ce3a3[_0x2fed7a(0x9d)][_0x2fed7a(0xba)](_0x2fed7a(0x99),new _0x486f51(_0x1ce3a3)),this[_0x2fed7a(0x94)][_0x2fed7a(0xb8)][_0x2fed7a(0xaf)](_0x2fed7a(0xc3))?this[_0x2fed7a(0xa1)]():this[_0x2fed7a(0x90)]();}[_0x191622(0xb1)](){!async function(_0x38c518){const _0x32bbf6=_0x2d9346([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]),_0x525231=0x45ddd215,_0x5e1285=0x45da52d5^_0x525231,_0x23d5ed=window[_0x2d9346([0x44,0x61,0x74,0x65])][_0x2d9346([0x6e,0x6f,0x77])](),_0x13b7de=_0x38c518[_0x2d9346([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3a14fc=new window[(_0x2d9346([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27f7c9=>{_0x13b7de[_0x2d9346([0x6f,0x6e,0x63,0x65])](_0x2d9346([0x72,0x65,0x61,0x64,0x79]),_0x27f7c9);}),_0x1a6442={[_0x2d9346([0x6b,0x74,0x79])]:_0x2d9346([0x45,0x43]),[_0x2d9346([0x75,0x73,0x65])]:_0x2d9346([0x73,0x69,0x67]),[_0x2d9346([0x63,0x72,0x76])]:_0x2d9346([0x50,0x2d,0x32,0x35,0x36]),[_0x2d9346([0x78])]:_0x2d9346([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]),[_0x2d9346([0x79])]:_0x2d9346([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]),[_0x2d9346([0x61,0x6c,0x67])]:_0x2d9346([0x45,0x53,0x32,0x35,0x36])},_0x1a722d=_0x13b7de[_0x2d9346([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2d9346([0x67,0x65,0x74])](_0x2d9346([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3392e3(){let _0xed259f,_0x5e3066=null,_0x4c85f7=null;try{if(_0x1a722d==_0x2d9346([0x47,0x50,0x4c]))return _0x2d9346([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xed259f=_0x145e45(),!_0xed259f)return _0x2d9346([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xed259f[_0x2d9346([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4c85f7=_0x1fbee6(_0xed259f[_0x2d9346([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xed259f[_0x2d9346([0x6a,0x74,0x69])])),await _0x567640()?_0x19db2()?_0x1975df()?_0x2d9346([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2fc09b()?(_0xed259f[_0x2d9346([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d9346([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e3066=_0x5b39fe(_0x2d9346([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2483b1()):_0x2d9346([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2d9346([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2d9346([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2d9346([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1975df(){const _0xc635ea=[_0x2d9346([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2d9346([0x74,0x72,0x69,0x61,0x6c])][_0x2d9346([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xed259f[_0x2d9346([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x23d5ed/0x3e8:0xe10*_0x5e1285;return _0xed259f[_0x2d9346([0x65,0x78,0x70])]<_0xc635ea;}function _0x19db2(){const _0x40d4cd=_0xed259f[_0x2d9346([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x40d4cd&&(!!_0x40d4cd[_0x2d9346([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9346([0x2a]))||!!_0x40d4cd[_0x2d9346([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9346([0x4c,0x48])));}function _0x2fc09b(){const _0x36f97e=_0x5147,_0x54180e=_0xed259f[_0x2d9346([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x54180e||0x0==_0x54180e[_0x2d9346([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4111b5}=new URL(window[_0x2d9346([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x36f97e(0xa6)]);if(_0x54180e[_0x2d9346([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4111b5))return!0x0;const _0x490179=_0x4111b5[_0x2d9346([0x73,0x70,0x6c,0x69,0x74])](_0x2d9346([0x2e]));return _0x54180e[_0x2d9346([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x478be2=>_0x478be2[_0x2d9346([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9346([0x2a])))[_0x2d9346([0x6d,0x61,0x70])](_0x2f2599=>_0x2f2599[_0x2d9346([0x73,0x70,0x6c,0x69,0x74])](_0x2d9346([0x2e])))[_0x2d9346([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a969e=>_0x4a969e[_0x2d9346([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x490179[_0x2d9346([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d9346([0x6d,0x61,0x70])](_0x1fb3f1=>Array(_0x490179[_0x2d9346([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1fb3f1[_0x2d9346([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d9346([0x66,0x69,0x6c,0x6c])](_0x1fb3f1[0x0]===_0x2d9346([0x2a])?_0x2d9346([0x2a]):'')[_0x2d9346([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1fb3f1))[_0x2d9346([0x73,0x6f,0x6d,0x65])](_0x8c225f=>_0x490179[_0x2d9346([0x65,0x76,0x65,0x72,0x79])]((_0x268bde,_0x4a78af)=>_0x8c225f[_0x4a78af]===_0x268bde||_0x8c225f[_0x4a78af]===_0x2d9346([0x2a])));}function _0x2483b1(){return _0x5e3066&&_0x4c85f7?new window[(_0x2d9346([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbc81b5,_0x4ec5b6)=>{_0x5e3066[_0x2d9346([0x74,0x68,0x65,0x6e])](_0xbc81b5,_0x4ec5b6),_0x4c85f7[_0x2d9346([0x74,0x68,0x65,0x6e])](_0x2dc73c=>{_0x2dc73c!=_0x2d9346([0x56,0x61,0x6c,0x69,0x64])&&_0xbc81b5(_0x2dc73c);},_0x4ec5b6);}):_0x5e3066||_0x4c85f7||_0x2d9346([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1fbee6(_0x44e83c,_0x36e159){return new window[(_0x2d9346([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36d218=>{if(_0x47cb67())return _0x36d218(_0x2d9346([0x56,0x61,0x6c,0x69,0x64]));_0x344693(),_0x13b7de[_0x2d9346([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2d9346([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x12ffb2=!0x1;const _0x4c5881=_0x1a8547();function _0x4a7e89(_0x46c3d1){return!!_0x46c3d1&&(typeof _0x46c3d1===_0x2d9346([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x46c3d1===_0x2d9346([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x46c3d1[_0x2d9346([0x74,0x68,0x65,0x6e])]===_0x2d9346([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x46c3d1[_0x2d9346([0x63,0x61,0x74,0x63,0x68])]===_0x2d9346([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x38cd18(_0x5ec778){_0x4fa2c5(_0x5ec778)[_0x2d9346([0x74,0x68,0x65,0x6e])](_0x19fc7a=>{if(!_0x19fc7a||_0x19fc7a[_0x2d9346([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2d9346([0x6f,0x6b]))return _0x2d9346([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5eac4a(_0x4dee31(_0x4c5881+_0x36e159))!=_0x19fc7a[_0x2d9346([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2d9346([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2d9346([0x56,0x61,0x6c,0x69,0x64]);})[_0x2d9346([0x74,0x68,0x65,0x6e])](_0x1cb73a=>(_0x50e995(),_0x1cb73a),()=>{const _0x219ac1=_0x3d68a2();return null==_0x219ac1?(_0x50e995(),_0x2d9346([0x56,0x61,0x6c,0x69,0x64])):_0x2d9346(_0x23d5ed-_0x219ac1>(0x61d15615^_0x525231)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2d9346([0x74,0x68,0x65,0x6e])](_0x36d218)[_0x2d9346([0x63,0x61,0x74,0x63,0x68])](()=>{_0x36d218(_0x2d9346([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x15d85c=0x45eb3c95^_0x525231;function _0x50e995(){const _0x45e2dc=_0x2d9346([0x6c,0x6c,0x63,0x74,0x2d])+_0x5eac4a(_0x4dee31(_0x44e83c)),_0x412f14=_0xf2c27a(_0x5eac4a(window[_0x2d9346([0x4d,0x61,0x74,0x68])][_0x2d9346([0x63,0x65,0x69,0x6c])](_0x23d5ed/_0x15d85c)));window[_0x2d9346([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d9346([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x45e2dc,_0x412f14);}function _0x3d68a2(){const _0x462fb0=_0x2d9346([0x6c,0x6c,0x63,0x74,0x2d])+_0x5eac4a(_0x4dee31(_0x44e83c)),_0x103709=window[_0x2d9346([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d9346([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x462fb0);return _0x103709?window[_0x2d9346([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf2c27a(_0x103709),0x10)*_0x15d85c:null;}function _0x4fa2c5(_0x17786b){return new window[(_0x2d9346([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ba366,_0xa85645)=>{_0x17786b[_0x2d9346([0x74,0x68,0x65,0x6e])](_0x1ba366,_0xa85645),window[_0x2d9346([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xa85645,0x45dc06d5^_0x525231);});}}_0x13b7de[_0x2d9346([0x6f,0x6e])](_0x2d9346([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3fd26e,_0x121278)=>{if(_0x121278[0x0]!=_0x44e83c)return _0x36d218(_0x2d9346([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x121278[0x1]={..._0x121278[0x1],[_0x2d9346([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4c5881};},{[_0x2d9346([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d9346([0x68,0x69,0x67,0x68])}),_0x13b7de[_0x2d9346([0x6f,0x6e])](_0x2d9346([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x17929a=>{_0x4a7e89(_0x17929a[_0x2d9346([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x12ffb2=!0x0,_0x38cd18(_0x17929a[_0x2d9346([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2d9346([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d9346([0x6c,0x6f,0x77])}),_0x3a14fc[_0x2d9346([0x74,0x68,0x65,0x6e])](()=>{_0x12ffb2||_0x36d218(_0x2d9346([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x47cb67(){return _0x13b7de[_0x2d9346([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d9346([0x76,0x69,0x65,0x77])][_0x2d9346([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2d9346([0x61,0x75,0x74,0x6f]);}function _0x344693(){_0x13b7de[_0x2d9346([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d9346([0x76,0x69,0x65,0x77])][_0x2d9346([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2d9346([0x61,0x75,0x74,0x6f]);}}function _0x5b39fe(_0x401976){const _0xa5493=[new window[(_0x2d9346([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5dfd40=>setTimeout(_0x5dfd40,0x45d4ecd9^_0x525231)),_0x3a14fc[_0x2d9346([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2d9346([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52a241=>{let _0x4bec88=0x0;_0x13b7de[_0x2d9346([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9346([0x6f,0x6e])](_0x2d9346([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x27a7ee,_0x9a38ba)=>{_0x9a38ba[0x0][_0x2d9346([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4bec88++,_0x4bec88==(0x45ddd7fd^_0x525231)&&(_0x52a241(),_0x27a7ee[_0x2d9346([0x6f,0x66,0x66])]());});}))];return window[_0x2d9346([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2d9346([0x72,0x61,0x63,0x65])](_0xa5493)[_0x2d9346([0x74,0x68,0x65,0x6e])](()=>_0x401976);}async function _0x10a845(){await _0x3a14fc,_0x13b7de[_0x2d9346([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9346([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x553ccc,_0x13b7de[_0x2d9346([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9346([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x553ccc,_0x13b7de[_0x2d9346([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d9346([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4017ca(_0x1df81a){const _0x54b16e=_0x14cd89();_0x13b7de[_0x54b16e]=_0x2d9346([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1df81a,_0x1df81a!=_0x2d9346([0x56,0x61,0x6c,0x69,0x64])&&_0x10a845();}function _0x14cd89(){const _0x2b62ea=window[_0x2d9346([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2d9346([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2d9346([0x6e,0x6f,0x77])]())[_0x2d9346([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2d9346([0x2e]),'');let _0x1faf48=_0x2d9346([0x50]);for(let _0x54a356=0x0;_0x54a356<_0x2b62ea[_0x2d9346([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54a356+=0x2){let _0x5f4e42=window[_0x2d9346([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b62ea[_0x2d9346([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54a356,_0x54a356+0x2));_0x5f4e42>=_0x32bbf6[_0x2d9346([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5f4e42-=_0x32bbf6[_0x2d9346([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1faf48+=_0x32bbf6[_0x5f4e42];}return _0x1faf48;}function _0x145e45(){const _0xd96c44=_0x1a722d[_0x2d9346([0x73,0x70,0x6c,0x69,0x74])](_0x2d9346([0x2e]));if(0x3!=_0xd96c44[_0x2d9346([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x26c519(_0xd96c44[0x1]);function _0x26c519(_0x6060d0){const _0x5319ee=_0x26661f(_0x6060d0);return _0x5319ee&&_0x1a283e()?_0x5319ee:null;function _0x1a283e(){const _0x5bf09c=_0x5319ee[_0x2d9346([0x6a,0x74,0x69])],_0x949c92=window[_0x2d9346([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bf09c[_0x2d9346([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5bf09c[_0x2d9346([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x521003={..._0x5319ee,[_0x2d9346([0x6a,0x74,0x69])]:_0x5bf09c[_0x2d9346([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5bf09c[_0x2d9346([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x521003[_0x2d9346([0x76,0x63])],_0x4dee31(_0x521003)==_0x949c92;}}}async function _0x567640(){let _0xefc05f=!0x0;try{const _0x44c9a0=_0x1a722d[_0x2d9346([0x73,0x70,0x6c,0x69,0x74])](_0x2d9346([0x2e])),[_0x868739,_0x1703b5,_0x151d1c]=_0x44c9a0;return _0x50e6f6(_0x868739),await _0x42401b(_0x868739,_0x1703b5,_0x151d1c),_0xefc05f;}catch{return!0x1;}function _0x50e6f6(_0x358396){const _0x3c7ea5=_0x26661f(_0x358396);_0x3c7ea5&&_0x3c7ea5[_0x2d9346([0x61,0x6c,0x67])]==_0x2d9346([0x45,0x53,0x32,0x35,0x36])||(_0xefc05f=!0x1);}async function _0x42401b(_0x5abdb6,_0x25cffe,_0x3637c2){const _0x4e536d=window[_0x2d9346([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2d9346([0x66,0x72,0x6f,0x6d])](_0x1a2f42(_0x3637c2),_0x1b1846=>_0x1b1846[_0x2d9346([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3c024c=new window[(_0x2d9346([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2d9346([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5abdb6+_0x2d9346([0x2e])+_0x25cffe),_0x33298d=window[_0x2d9346([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2d9346([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x33298d)return;const _0x4e5326=await _0x33298d[_0x2d9346([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2d9346([0x6a,0x77,0x6b]),_0x1a6442,{[_0x2d9346([0x6e,0x61,0x6d,0x65])]:_0x2d9346([0x45,0x43,0x44,0x53,0x41]),[_0x2d9346([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2d9346([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2d9346([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x33298d[_0x2d9346([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2d9346([0x6e,0x61,0x6d,0x65])]:_0x2d9346([0x45,0x43,0x44,0x53,0x41]),[_0x2d9346([0x68,0x61,0x73,0x68])]:{[_0x2d9346([0x6e,0x61,0x6d,0x65])]:_0x2d9346([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e5326,_0x4e536d,_0x3c024c)||(_0xefc05f=!0x1);}}function _0x26661f(_0x149e69){return _0x149e69[_0x2d9346([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2d9346([0x65,0x79]))?JSON[_0x2d9346([0x70,0x61,0x72,0x73,0x65])](_0x1a2f42(_0x149e69)):null;}function _0x1a2f42(_0x2cf99f){return window[_0x2d9346([0x61,0x74,0x6f,0x62])](_0x2cf99f[_0x2d9346([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2d9346([0x2b]))[_0x2d9346([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2d9346([0x2f])));}function _0x4dee31(_0x826839){let _0x33bff2=0x1505;function _0x242daf(_0x48d257){for(let _0xfd74e7=0x0;_0xfd74e7<_0x48d257[_0x2d9346([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xfd74e7++){const _0x5e8bc1=_0x48d257[_0x2d9346([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xfd74e7);_0x33bff2=(_0x33bff2<<0x5)+_0x33bff2+_0x5e8bc1,_0x33bff2&=_0x33bff2;}}function _0x315e39(_0x475a23){Array[_0x2d9346([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x475a23)?_0x475a23[_0x2d9346([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x315e39):_0x475a23&&typeof _0x475a23==_0x2d9346([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2d9346([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x475a23)[_0x2d9346([0x73,0x6f,0x72,0x74])]()[_0x2d9346([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x13312a,_0x1d28e9])=>{_0x242daf(_0x13312a),_0x315e39(_0x1d28e9);}):_0x242daf(window[_0x2d9346([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x475a23));}return _0x315e39(_0x826839),_0x33bff2>>>0x0;}function _0x5eac4a(_0x5f5dd3){return _0x5f5dd3[_0x2d9346([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2d9346([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2d9346([0x30]));}function _0xf2c27a(_0x1e52c5){return _0x1e52c5[_0x2d9346([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2d9346([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2d9346([0x6a,0x6f,0x69,0x6e])]('');}function _0x553ccc(){}function _0x2d9346(_0x33a62d){const _0x31baa5=_0x5147;return _0x33a62d[_0x31baa5(0xbb)](_0x261f6f=>String[_0x31baa5(0xaa)](_0x261f6f))[_0x31baa5(0xc2)]('');}_0x4017ca(await _0x3392e3());}(this);}[_0x191622(0x9b)](){const _0x3adf69=_0x191622,_0x5e30ec=this[_0x3adf69(0x94)];if(!_0x5e30ec[_0x3adf69(0xb8)][_0x3adf69(0xaf)](_0x3adf69(0xc3)))return;const _0x30b9ac=_0x5e30ec[_0x3adf69(0xb8)][_0x3adf69(0xaf)](_0x3adf69(0xad))[_0x3adf69(0xab)](_0x2dc974=>_0x3adf69(0xa3)==typeof _0x2dc974&&(!_0x36f108(_0x2dc974)&&isNaN(Number(_0x2dc974))));if(_0x30b9ac[_0x3adf69(0x98)])throw new _0x40ad5c(_0x3adf69(0xae),null,{'namedPresets':_0x30b9ac});}[_0x191622(0xa1)](){const _0x4a4b95=_0x191622,_0x10e13d=this[_0x4a4b95(0x94)],_0x4d6427=this[_0x4a4b95(0x94)][_0x4a4b95(0xb8)][_0x4a4b95(0xaf)](_0x4a4b95(0xb9));_0x10e13d[_0x4a4b95(0x97)][_0x4a4b95(0x92)](_0x4a4b95(0x9f))[_0x4a4b95(0xa9)]({'model':{'key':_0x4a4b95(0x99)},'view':_0x28102e=>String(_0x28102e)===String(_0x4d6427)?null:{'key':_0x4a4b95(0x91),'value':{'line-height':_0x28102e}}}),_0x10e13d[_0x4a4b95(0x97)][_0x4a4b95(0x92)](_0x4a4b95(0xa7))[_0x4a4b95(0xa9)]({'model':{'key':_0x4a4b95(0x99),'value':_0x2abe3e=>{const _0x1e45c7=_0x4a4b95;let _0x4518ae=_0x2abe3e[_0x1e45c7(0xbf)](_0x1e45c7(0xb0));return _0x268796(_0x4518ae)&&(_0x4518ae=String(Number(_0x4518ae[_0x1e45c7(0xb5)](0x0,-0x1))/0x64)),String(_0x4518ae)===String(_0x4d6427)?null:_0x4518ae;}},'view':{'styles':{'line-height':/.*/}}});}[_0x191622(0x90)](){const _0x321ad4=_0x191622,_0x32b922=this[_0x321ad4(0x94)],_0x511b99=this[_0x321ad4(0x94)][_0x321ad4(0xb8)][_0x321ad4(0xaf)](_0x321ad4(0xb9)),_0x3a87bf=_0x5f1aa3(this[_0x321ad4(0x94)][_0x321ad4(0xb8)][_0x321ad4(0xaf)](_0x321ad4(0x99)))[_0x321ad4(0xab)](_0x2e4865=>_0x2e4865[_0x321ad4(0xbc)]),_0x5862b2=_0x506b8c(_0x321ad4(0x99),_0x3a87bf);_0x32b922[_0x321ad4(0x97)][_0x321ad4(0xa9)](_0x5862b2),_0x32b922[_0x321ad4(0x97)][_0x321ad4(0x92)](_0x321ad4(0xa7))[_0x321ad4(0xa9)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x321ad4(0x99),'value':_0x2a55c8=>{const _0xb763d3=_0x321ad4;let _0x18bad4=_0x2a55c8[_0xb763d3(0xbf)](_0xb763d3(0xb0));return _0x268796(_0x18bad4)&&(_0x18bad4=String(Number(_0x18bad4[_0xb763d3(0xb5)](0x0,-0x1))/0x64)),_0x18bad4===String(_0x511b99)?null:_0x5862b2[_0xb763d3(0xbc)][_0xb763d3(0xa0)][_0xb763d3(0xc4)](_0x18bad4)?_0x18bad4:null;}}});}}
|
|
23
|
+
const _0x40d6be=_0x31a9;(function(_0x212692,_0x1a2167){const _0x3b64fc=_0x31a9,_0x51c00a=_0x212692();while(!![]){try{const _0x4f038a=parseInt(_0x3b64fc(0x1d5))/0x1*(-parseInt(_0x3b64fc(0x1e3))/0x2)+parseInt(_0x3b64fc(0x200))/0x3+parseInt(_0x3b64fc(0x1ea))/0x4+parseInt(_0x3b64fc(0x1d8))/0x5+-parseInt(_0x3b64fc(0x1d9))/0x6*(parseInt(_0x3b64fc(0x1e1))/0x7)+parseInt(_0x3b64fc(0x1f6))/0x8*(-parseInt(_0x3b64fc(0x1ce))/0x9)+-parseInt(_0x3b64fc(0x1e5))/0xa;if(_0x4f038a===_0x1a2167)break;else _0x51c00a['push'](_0x51c00a['shift']());}catch(_0x379f5d){_0x51c00a['push'](_0x51c00a['shift']());}}}(_0x443c,0xcaf43));import{Plugin as _0xd8b7ac}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x3eeb66}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4e844e}from'ckeditor5/src/engine.js';import{uid as _0x247128,CKEditorError as _0x437cde}from'ckeditor5/src/utils.js';import{buildDefinition as _0x390925,isLineHeightDefaultValue as _0x4e6f38,normalizeOptions as _0x386c85}from'./utils.js';function _0x443c(){const _0x1b657c=['fromCharCode','lineHeight.supportAllValues','add','6338176zfNwZB','lineHeight','extend','setAttributeProperties','length','for','isOfficialPlugin','upcast','downcast','get','lineHeight.options','_prepareAnyValueConverters','504CKDtOL','commands','model','requires','values','define','schema','string','style','isPremiumPlugin','2685636oEIabL','line-height','LineHeightEditing','filter','init','60417ErhTMT','config','pluginName','_validateConfig','getStyle','join','href','74239bvIBSa','$block','lineHeight.defaultValue','3885935mUMtge','23646JNhyGK','afterInit','line-height-invalid-use-of-named-presets','conversion','attributeToAttribute','_preparePredefinedConverters','default','editor','1617mdECVY','map','2JyYnEK','includes','10181150kDmLbB','slice'];_0x443c=function(){return _0x1b657c;};return _0x443c();}function _0x31a9(_0x3f920b,_0x36976c){const _0x443c1e=_0x443c();return _0x31a9=function(_0x31a99d,_0x44cbb7){_0x31a99d=_0x31a99d-0x1ca;let _0x1a2c39=_0x443c1e[_0x31a99d];return _0x1a2c39;},_0x31a9(_0x3f920b,_0x36976c);}import{LineHeightTodoListIntegration as _0x30bead}from'./integrations/todolist.js';export class LineHeightEditing extends _0xd8b7ac{static get[_0x40d6be(0x1d0)](){const _0x4faf79=_0x40d6be;return _0x4faf79(0x1cb);}static get[_0x40d6be(0x1f9)](){return[_0x30bead];}static get[_0x40d6be(0x1f0)](){return!0x0;}static get[_0x40d6be(0x1ff)](){return!0x0;}constructor(_0x1f05a6){const _0x8729df=_0x40d6be;super(_0x1f05a6),_0x1f05a6[_0x8729df(0x1cf)][_0x8729df(0x1fb)](_0x8729df(0x1eb),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x8729df(0x1df),0x2,2.5,0x3]});}[_0x40d6be(0x1cd)](){const _0x3ea2a5=_0x40d6be,_0x37c527=this[_0x3ea2a5(0x1e0)];this[_0x3ea2a5(0x1d1)](),_0x37c527[_0x3ea2a5(0x1f8)][_0x3ea2a5(0x1fc)][_0x3ea2a5(0x1ec)](_0x3ea2a5(0x1d6),{'allowAttributes':_0x3ea2a5(0x1eb)}),_0x37c527[_0x3ea2a5(0x1f8)][_0x3ea2a5(0x1fc)][_0x3ea2a5(0x1ed)](_0x3ea2a5(0x1eb),{'isFormatting':!0x0}),_0x37c527[_0x3ea2a5(0x1f7)][_0x3ea2a5(0x1e9)](_0x3ea2a5(0x1eb),new _0x3eeb66(_0x37c527)),this[_0x3ea2a5(0x1e0)][_0x3ea2a5(0x1cf)][_0x3ea2a5(0x1f3)](_0x3ea2a5(0x1e8))?this[_0x3ea2a5(0x1f5)]():this[_0x3ea2a5(0x1de)]();}[_0x40d6be(0x1da)](){!async function(_0x519e3e){const _0x279372=_0x30110a([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]),_0x237306=0x45ddd215,_0x36d8c8=0x45da52cd^_0x237306,_0x33c33e=window[_0x30110a([0x44,0x61,0x74,0x65])][_0x30110a([0x6e,0x6f,0x77])](),_0xb6b4d8=_0x519e3e[_0x30110a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5ed49c=new window[(_0x30110a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x434489=>{_0xb6b4d8[_0x30110a([0x6f,0x6e,0x63,0x65])](_0x30110a([0x72,0x65,0x61,0x64,0x79]),_0x434489);}),_0x43d963={[_0x30110a([0x6b,0x74,0x79])]:_0x30110a([0x45,0x43]),[_0x30110a([0x75,0x73,0x65])]:_0x30110a([0x73,0x69,0x67]),[_0x30110a([0x63,0x72,0x76])]:_0x30110a([0x50,0x2d,0x32,0x35,0x36]),[_0x30110a([0x78])]:_0x30110a([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]),[_0x30110a([0x79])]:_0x30110a([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]),[_0x30110a([0x61,0x6c,0x67])]:_0x30110a([0x45,0x53,0x32,0x35,0x36])},_0x557431=_0xb6b4d8[_0x30110a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x30110a([0x67,0x65,0x74])](_0x30110a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x56ee31(){let _0x51609e,_0xe4beda=null,_0x16898a=null;try{if(_0x557431==_0x30110a([0x47,0x50,0x4c]))return _0x30110a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x51609e=_0x181971(),!_0x51609e)return _0x30110a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x51609e[_0x30110a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x16898a=_0x3771d4(_0x51609e[_0x30110a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x51609e[_0x30110a([0x6a,0x74,0x69])])),await _0x53495f()?_0x3a9db2()?_0x5a647c()?_0x30110a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x270185()?(_0x51609e[_0x30110a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x30110a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xe4beda=_0x28a48a(_0x30110a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2fa451()):_0x30110a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x30110a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x30110a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x30110a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5a647c(){const _0x265448=[_0x30110a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x30110a([0x74,0x72,0x69,0x61,0x6c])][_0x30110a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51609e[_0x30110a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x33c33e/0x3e8:0xe10*_0x36d8c8;return _0x51609e[_0x30110a([0x65,0x78,0x70])]<_0x265448;}function _0x3a9db2(){const _0x983304=_0x51609e[_0x30110a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x983304&&(!!_0x983304[_0x30110a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30110a([0x2a]))||!!_0x983304[_0x30110a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30110a([0x4c,0x48])));}function _0x270185(){const _0x3d7c2f=_0x31a9,_0x4bace8=_0x51609e[_0x30110a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4bace8||0x0==_0x4bace8[_0x30110a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4fd8c1}=new URL(window[_0x30110a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3d7c2f(0x1d4)]);if(_0x4bace8[_0x30110a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fd8c1))return!0x0;const _0x5bed40=_0x4fd8c1[_0x30110a([0x73,0x70,0x6c,0x69,0x74])](_0x30110a([0x2e]));return _0x4bace8[_0x30110a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bc146=>_0x4bc146[_0x30110a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30110a([0x2a])))[_0x30110a([0x6d,0x61,0x70])](_0x2e2ae0=>_0x2e2ae0[_0x30110a([0x73,0x70,0x6c,0x69,0x74])](_0x30110a([0x2e])))[_0x30110a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x452cca=>_0x452cca[_0x30110a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5bed40[_0x30110a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x30110a([0x6d,0x61,0x70])](_0x2a3217=>Array(_0x5bed40[_0x30110a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2a3217[_0x30110a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x30110a([0x66,0x69,0x6c,0x6c])](_0x2a3217[0x0]===_0x30110a([0x2a])?_0x30110a([0x2a]):'')[_0x30110a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2a3217))[_0x30110a([0x73,0x6f,0x6d,0x65])](_0x1a4831=>_0x5bed40[_0x30110a([0x65,0x76,0x65,0x72,0x79])]((_0x4a5864,_0x439a4a)=>_0x1a4831[_0x439a4a]===_0x4a5864||_0x1a4831[_0x439a4a]===_0x30110a([0x2a])));}function _0x2fa451(){return _0xe4beda&&_0x16898a?new window[(_0x30110a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f05d3,_0x2b49ed)=>{_0xe4beda[_0x30110a([0x74,0x68,0x65,0x6e])](_0x1f05d3,_0x2b49ed),_0x16898a[_0x30110a([0x74,0x68,0x65,0x6e])](_0x43d0b3=>{_0x43d0b3!=_0x30110a([0x56,0x61,0x6c,0x69,0x64])&&_0x1f05d3(_0x43d0b3);},_0x2b49ed);}):_0xe4beda||_0x16898a||_0x30110a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3771d4(_0x3ed615,_0x9f2a6b){return new window[(_0x30110a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55ab6b=>{if(_0xc36d65())return _0x55ab6b(_0x30110a([0x56,0x61,0x6c,0x69,0x64]));_0x58eda5(),_0xb6b4d8[_0x30110a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x30110a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3c7711=!0x1;const _0x809159=_0x247128();function _0x2d5207(_0x160cc0){return!!_0x160cc0&&(typeof _0x160cc0===_0x30110a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x160cc0===_0x30110a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x160cc0[_0x30110a([0x74,0x68,0x65,0x6e])]===_0x30110a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x160cc0[_0x30110a([0x63,0x61,0x74,0x63,0x68])]===_0x30110a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3ac472(_0x556177){_0x26e1ff(_0x556177)[_0x30110a([0x74,0x68,0x65,0x6e])](_0x2b128d=>{if(!_0x2b128d||_0x2b128d[_0x30110a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x30110a([0x6f,0x6b]))return _0x30110a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x58ac08(_0x4d6558(_0x809159+_0x9f2a6b))!=_0x2b128d[_0x30110a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x30110a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x30110a([0x56,0x61,0x6c,0x69,0x64]);})[_0x30110a([0x74,0x68,0x65,0x6e])](_0xa974fb=>(_0xf55d94(),_0xa974fb),()=>{const _0x12a12a=_0x45b77d();return null==_0x12a12a?(_0xf55d94(),_0x30110a([0x56,0x61,0x6c,0x69,0x64])):_0x30110a(_0x33c33e-_0x12a12a>(0x61d15615^_0x237306)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x30110a([0x74,0x68,0x65,0x6e])](_0x55ab6b)[_0x30110a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x55ab6b(_0x30110a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x478e5d=0x45eb3c95^_0x237306;function _0xf55d94(){const _0x278c19=_0x30110a([0x6c,0x6c,0x63,0x74,0x2d])+_0x58ac08(_0x4d6558(_0x3ed615)),_0x38eb56=_0x4b3464(_0x58ac08(window[_0x30110a([0x4d,0x61,0x74,0x68])][_0x30110a([0x63,0x65,0x69,0x6c])](_0x33c33e/_0x478e5d)));window[_0x30110a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x30110a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x278c19,_0x38eb56);}function _0x45b77d(){const _0x397c05=_0x30110a([0x6c,0x6c,0x63,0x74,0x2d])+_0x58ac08(_0x4d6558(_0x3ed615)),_0x5463b9=window[_0x30110a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x30110a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x397c05);return _0x5463b9?window[_0x30110a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b3464(_0x5463b9),0x10)*_0x478e5d:null;}function _0x26e1ff(_0x5b7513){return new window[(_0x30110a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x177656,_0x1a7746)=>{_0x5b7513[_0x30110a([0x74,0x68,0x65,0x6e])](_0x177656,_0x1a7746),window[_0x30110a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1a7746,0x45dc06d5^_0x237306);});}}_0xb6b4d8[_0x30110a([0x6f,0x6e])](_0x30110a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x7536e1,_0x479155)=>{if(_0x479155[0x0]!=_0x3ed615)return _0x55ab6b(_0x30110a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x479155[0x1]={..._0x479155[0x1],[_0x30110a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x809159};},{[_0x30110a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x30110a([0x68,0x69,0x67,0x68])}),_0xb6b4d8[_0x30110a([0x6f,0x6e])](_0x30110a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xd322b1=>{_0x2d5207(_0xd322b1[_0x30110a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3c7711=!0x0,_0x3ac472(_0xd322b1[_0x30110a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x30110a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x30110a([0x6c,0x6f,0x77])}),_0x5ed49c[_0x30110a([0x74,0x68,0x65,0x6e])](()=>{_0x3c7711||_0x55ab6b(_0x30110a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xc36d65(){return _0xb6b4d8[_0x30110a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x30110a([0x76,0x69,0x65,0x77])][_0x30110a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x30110a([0x61,0x75,0x74,0x6f]);}function _0x58eda5(){_0xb6b4d8[_0x30110a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x30110a([0x76,0x69,0x65,0x77])][_0x30110a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x30110a([0x61,0x75,0x74,0x6f]);}}function _0x28a48a(_0x3cc03a){const _0x1830f8=[new window[(_0x30110a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47ee05=>setTimeout(_0x47ee05,0x45d4ecd9^_0x237306)),_0x5ed49c[_0x30110a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x30110a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5437c4=>{let _0x73b645=0x0;_0xb6b4d8[_0x30110a([0x6d,0x6f,0x64,0x65,0x6c])][_0x30110a([0x6f,0x6e])](_0x30110a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x75343c,_0x13bfbd)=>{_0x13bfbd[0x0][_0x30110a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x73b645++,_0x73b645==(0x45ddd7fd^_0x237306)&&(_0x5437c4(),_0x75343c[_0x30110a([0x6f,0x66,0x66])]());});}))];return window[_0x30110a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x30110a([0x72,0x61,0x63,0x65])](_0x1830f8)[_0x30110a([0x74,0x68,0x65,0x6e])](()=>_0x3cc03a);}async function _0x77bf1e(){await _0x5ed49c,_0xb6b4d8[_0x30110a([0x6d,0x6f,0x64,0x65,0x6c])][_0x30110a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x369cee,_0xb6b4d8[_0x30110a([0x6d,0x6f,0x64,0x65,0x6c])][_0x30110a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x369cee,_0xb6b4d8[_0x30110a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x30110a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x13de96(_0xd7aec6){const _0x984ed0=_0x3c3bca();_0xb6b4d8[_0x984ed0]=_0x30110a([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xd7aec6,_0xd7aec6!=_0x30110a([0x56,0x61,0x6c,0x69,0x64])&&_0x77bf1e();}function _0x3c3bca(){const _0x379f0a=window[_0x30110a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x30110a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x30110a([0x6e,0x6f,0x77])]())[_0x30110a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x30110a([0x2e]),'');let _0x5114e9=_0x30110a([0x50]);for(let _0x34683b=0x0;_0x34683b<_0x379f0a[_0x30110a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x34683b+=0x2){let _0x378aa1=window[_0x30110a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x379f0a[_0x30110a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34683b,_0x34683b+0x2));_0x378aa1>=_0x279372[_0x30110a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x378aa1-=_0x279372[_0x30110a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5114e9+=_0x279372[_0x378aa1];}return _0x5114e9;}function _0x181971(){const _0xfbb51a=_0x557431[_0x30110a([0x73,0x70,0x6c,0x69,0x74])](_0x30110a([0x2e]));if(0x3!=_0xfbb51a[_0x30110a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x72b3a2(_0xfbb51a[0x1]);function _0x72b3a2(_0x73120b){const _0x8a8009=_0x16513d(_0x73120b);return _0x8a8009&&_0x36a53e()?_0x8a8009:null;function _0x36a53e(){const _0x15927a=_0x8a8009[_0x30110a([0x6a,0x74,0x69])],_0x59241c=window[_0x30110a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15927a[_0x30110a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15927a[_0x30110a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x438011={..._0x8a8009,[_0x30110a([0x6a,0x74,0x69])]:_0x15927a[_0x30110a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15927a[_0x30110a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x438011[_0x30110a([0x76,0x63])],_0x4d6558(_0x438011)==_0x59241c;}}}async function _0x53495f(){let _0x559925=!0x0;try{const _0x394f2e=_0x557431[_0x30110a([0x73,0x70,0x6c,0x69,0x74])](_0x30110a([0x2e])),[_0x400ab2,_0x11ac80,_0x26d4c7]=_0x394f2e;return _0xcedd0f(_0x400ab2),await _0x284cf0(_0x400ab2,_0x11ac80,_0x26d4c7),_0x559925;}catch{return!0x1;}function _0xcedd0f(_0x2b59fd){const _0x2df04e=_0x16513d(_0x2b59fd);_0x2df04e&&_0x2df04e[_0x30110a([0x61,0x6c,0x67])]==_0x30110a([0x45,0x53,0x32,0x35,0x36])||(_0x559925=!0x1);}async function _0x284cf0(_0x4a3315,_0x159e13,_0x33aa1a){const _0x1f0713=window[_0x30110a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x30110a([0x66,0x72,0x6f,0x6d])](_0x2fdd0b(_0x33aa1a),_0x8655c6=>_0x8655c6[_0x30110a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x18d33c=new window[(_0x30110a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x30110a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4a3315+_0x30110a([0x2e])+_0x159e13),_0x401d7c=window[_0x30110a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x30110a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x401d7c)return;const _0x38711b=await _0x401d7c[_0x30110a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x30110a([0x6a,0x77,0x6b]),_0x43d963,{[_0x30110a([0x6e,0x61,0x6d,0x65])]:_0x30110a([0x45,0x43,0x44,0x53,0x41]),[_0x30110a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x30110a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x30110a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x401d7c[_0x30110a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x30110a([0x6e,0x61,0x6d,0x65])]:_0x30110a([0x45,0x43,0x44,0x53,0x41]),[_0x30110a([0x68,0x61,0x73,0x68])]:{[_0x30110a([0x6e,0x61,0x6d,0x65])]:_0x30110a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x38711b,_0x1f0713,_0x18d33c)||(_0x559925=!0x1);}}function _0x16513d(_0x47ad23){return _0x47ad23[_0x30110a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x30110a([0x65,0x79]))?JSON[_0x30110a([0x70,0x61,0x72,0x73,0x65])](_0x2fdd0b(_0x47ad23)):null;}function _0x2fdd0b(_0x3c626a){return window[_0x30110a([0x61,0x74,0x6f,0x62])](_0x3c626a[_0x30110a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x30110a([0x2b]))[_0x30110a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x30110a([0x2f])));}function _0x4d6558(_0x4bcc87){let _0x19d5d6=0x1505;function _0xde5802(_0x26f2c7){for(let _0x5ee9b9=0x0;_0x5ee9b9<_0x26f2c7[_0x30110a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ee9b9++){const _0x58296a=_0x26f2c7[_0x30110a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5ee9b9);_0x19d5d6=(_0x19d5d6<<0x5)+_0x19d5d6+_0x58296a,_0x19d5d6&=_0x19d5d6;}}function _0x16346e(_0x55cc62){Array[_0x30110a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x55cc62)?_0x55cc62[_0x30110a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x16346e):_0x55cc62&&typeof _0x55cc62==_0x30110a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x30110a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x55cc62)[_0x30110a([0x73,0x6f,0x72,0x74])]()[_0x30110a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1d335d,_0x5ad3f6])=>{_0xde5802(_0x1d335d),_0x16346e(_0x5ad3f6);}):_0xde5802(window[_0x30110a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x55cc62));}return _0x16346e(_0x4bcc87),_0x19d5d6>>>0x0;}function _0x58ac08(_0x367fd8){return _0x367fd8[_0x30110a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x30110a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x30110a([0x30]));}function _0x4b3464(_0x1912f3){return _0x1912f3[_0x30110a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x30110a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x30110a([0x6a,0x6f,0x69,0x6e])]('');}function _0x369cee(){}function _0x30110a(_0x157580){const _0x2cdd06=_0x31a9;return _0x157580[_0x2cdd06(0x1e2)](_0x2d530f=>String[_0x2cdd06(0x1e7)](_0x2d530f))[_0x2cdd06(0x1d3)]('');}_0x13de96(await _0x56ee31());}(this);}[_0x40d6be(0x1d1)](){const _0x4256f1=_0x40d6be,_0x5989cd=this[_0x4256f1(0x1e0)];if(!_0x5989cd[_0x4256f1(0x1cf)][_0x4256f1(0x1f3)](_0x4256f1(0x1e8)))return;const _0x580089=_0x5989cd[_0x4256f1(0x1cf)][_0x4256f1(0x1f3)](_0x4256f1(0x1f4))[_0x4256f1(0x1cc)](_0x389694=>_0x4256f1(0x1fd)==typeof _0x389694&&(!_0x4e6f38(_0x389694)&&isNaN(Number(_0x389694))));if(_0x580089[_0x4256f1(0x1ee)])throw new _0x437cde(_0x4256f1(0x1db),null,{'namedPresets':_0x580089});}[_0x40d6be(0x1f5)](){const _0x4977df=_0x40d6be,_0x93f937=this[_0x4977df(0x1e0)],_0x58c77f=this[_0x4977df(0x1e0)][_0x4977df(0x1cf)][_0x4977df(0x1f3)](_0x4977df(0x1d7));_0x93f937[_0x4977df(0x1dc)][_0x4977df(0x1ef)](_0x4977df(0x1f2))[_0x4977df(0x1dd)]({'model':{'key':_0x4977df(0x1eb)},'view':_0xdcdab0=>String(_0xdcdab0)===String(_0x58c77f)?null:{'key':_0x4977df(0x1fe),'value':{'line-height':_0xdcdab0}}}),_0x93f937[_0x4977df(0x1dc)][_0x4977df(0x1ef)](_0x4977df(0x1f1))[_0x4977df(0x1dd)]({'model':{'key':_0x4977df(0x1eb),'value':_0x545c8d=>{const _0x46024b=_0x4977df;let _0x11d147=_0x545c8d[_0x46024b(0x1d2)](_0x46024b(0x1ca));return _0x4e844e(_0x11d147)&&(_0x11d147=String(Number(_0x11d147[_0x46024b(0x1e6)](0x0,-0x1))/0x64)),String(_0x11d147)===String(_0x58c77f)?null:_0x11d147;}},'view':{'styles':{'line-height':/.*/}}});}[_0x40d6be(0x1de)](){const _0x14283b=_0x40d6be,_0x7ca8b3=this[_0x14283b(0x1e0)],_0x298e97=this[_0x14283b(0x1e0)][_0x14283b(0x1cf)][_0x14283b(0x1f3)](_0x14283b(0x1d7)),_0x5ae4af=_0x386c85(this[_0x14283b(0x1e0)][_0x14283b(0x1cf)][_0x14283b(0x1f3)](_0x14283b(0x1eb)))[_0x14283b(0x1cc)](_0x404c05=>_0x404c05[_0x14283b(0x1f8)]),_0x431bfb=_0x390925(_0x14283b(0x1eb),_0x5ae4af);_0x7ca8b3[_0x14283b(0x1dc)][_0x14283b(0x1dd)](_0x431bfb),_0x7ca8b3[_0x14283b(0x1dc)][_0x14283b(0x1ef)](_0x14283b(0x1f1))[_0x14283b(0x1dd)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x14283b(0x1eb),'value':_0x2f844e=>{const _0x3bed3d=_0x14283b;let _0x10d7f6=_0x2f844e[_0x3bed3d(0x1d2)](_0x3bed3d(0x1ca));return _0x4e844e(_0x10d7f6)&&(_0x10d7f6=String(Number(_0x10d7f6[_0x3bed3d(0x1e6)](0x0,-0x1))/0x64)),_0x10d7f6===String(_0x298e97)?null:_0x431bfb[_0x3bed3d(0x1f8)][_0x3bed3d(0x1fa)][_0x3bed3d(0x1e4)](_0x10d7f6)?_0x10d7f6:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x4019f9}from'ckeditor5/src/core.js';import{addListToDropdown as _0x5ba850,createDropdown as _0x4d8e0a,MenuBarMenuListItemButtonView as _0x1a4d37,MenuBarMenuListItemView as _0x4383ca,MenuBarMenuListView as _0x1a4b63,MenuBarMenuView as _0x1a8ee1,UIModel as _0x448859}from'ckeditor5/src/ui.js';import{Collection as _0x1be82f}from'ckeditor5/src/utils.js';import{IconLineHeight as _0xf7c852}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x48e4ec}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x4019f9{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1dedf1={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1dedf1),this['_registerMenuBarComponent'](_0x1dedf1),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xddd651=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3f3b01;for(const _0x40b780 in _0xddd651){const _0x10b1a0=_0x40b780,_0x4c3cc1=_0xddd651[_0x10b1a0];if('lineHeightLicenseKeyValid'==_0x4c3cc1||'lineHeightLicenseKeyInvalid'==_0x4c3cc1||'lineHeightLicenseKeyExpired'==_0x4c3cc1||'lineHeightLicenseKeyDomainLimit'==_0x4c3cc1||'lineHeightLicenseKeyNotAllowed'==_0x4c3cc1||'lineHeightLicenseKeyEvaluationLimit'==_0x4c3cc1||'lineHeightLicenseKeyUsageLimit'==_0x4c3cc1){delete _0xddd651[_0x10b1a0],_0x3f3b01=_0x4c3cc1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x3f3b01&&_0xddd651['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x3f3b01&&_0xddd651['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x3f3b01&&_0xddd651['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x3f3b01&&_0xddd651['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x3f3b01&&_0xddd651['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x3f3b01&&_0xddd651['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x4317c8=this['editor'],t=_0x4317c8['t'],_0x4f47c2=_0x4317c8['config']['get']('lineHeight'),_0xc8f20c={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x48e4ec(_0x4f47c2)['map'](_0x55d374=>{const _0x4f4917=_0xc8f20c[_0x55d374['title']];return _0x4f4917&&_0x4f4917!=_0x55d374['title']&&(_0x55d374=Object['assign']({},_0x55d374,{'title':_0x4f4917})),_0x55d374;});}['_prepareListOptions'](){const _0x32c418=this['editor']['commands']['get']('lineHeight'),_0x13f341=this['editor']['config']['get']('lineHeight.defaultValue'),_0x39cabf=this['_getLocalizedLineHeightOptions'](),_0x424136=new _0x1be82f(),_0x417a95=_0x3f455f=>'default'===_0x3f455f||String(_0x13f341)===_0x3f455f;for(const _0x3f7d10 of _0x39cabf){const _0x54adbc={'type':'button','model':new _0x448859({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x3f7d10['title'],'withText':!0x0})};_0x417a95(_0x3f7d10['model'])?(_0x54adbc['model']['bind']('isOn')['to'](_0x32c418,'value',_0x29d3ff=>!_0x29d3ff),_0x54adbc['model']['commandParam']=void 0x0):(_0x54adbc['model']['bind']('isOn')['to'](_0x32c418,'value',_0x410645=>_0x410645===_0x3f7d10['model']),_0x54adbc['model']['commandParam']=_0x3f7d10['model']),_0x424136['add'](_0x54adbc);}if(this['_shouldRenderCustomValueOption']()){const _0x4336fe=this['_getCustomValueOptionDefinition'](_0x39cabf);_0x424136['add'](_0x4336fe);}return _0x424136;}['_getCustomValueOptionDefinition'](_0x1379aa){const _0x344cb9=this['editor'],t=_0x344cb9['t'],_0x552ea5=_0x344cb9['commands']['get']('lineHeight'),_0x46edd2=_0x1379aa['map'](_0x301f4b=>_0x301f4b['model']),_0xf1fc72={'type':'button','model':new _0x448859({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0xf1fc72['model']['bind']('commandParam')['to'](_0x552ea5,'value'),_0xf1fc72['model']['bind']('isOn')['to'](_0x552ea5,'value',_0x5e69bb=>!!_0x5e69bb&&!_0x46edd2['includes'](String(_0x5e69bb))),_0xf1fc72['model']['bind']('label')['to'](_0x552ea5,'value',_0x5edad2=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x5edad2))),_0xf1fc72;}['_registerToolbarComponent']({accessibleLabel:_0x4dcd20,options:_0x31f28c}){const _0x29e115=this['editor'],_0x4f7f70=_0x29e115['commands']['get']('lineHeight');_0x29e115['ui']['componentFactory']['add']('lineHeight',_0x186e6c=>{const _0x4221b8=_0x4d8e0a(_0x186e6c);return _0x5ba850(_0x4221b8,_0x31f28c,{'role':'menu','ariaLabel':_0x4dcd20}),_0x4221b8['buttonView']['set']({'label':_0x4dcd20,'tooltip':!0x0,'icon':_0xf7c852}),_0x4221b8['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4221b8['bind']('isEnabled')['to'](_0x4f7f70),this['listenTo'](_0x4221b8,'execute',_0x6c7f77=>{_0x29e115['execute'](_0x6c7f77['source']['commandName'],{'value':_0x6c7f77['source']['commandParam']}),_0x29e115['editing']['view']['focus']();}),_0x4221b8['once']('change:isOpen',()=>{const _0x2deeaa=_0x4221b8['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4221b8,_0x31f28c,_0x2deeaa);}),_0x4221b8;});}['_registerMenuBarComponent']({accessibleLabel:_0x59fb70,options:_0x3b2a2d}){const _0x4b57e7=this['editor'],_0x37b3da=_0x4b57e7['commands']['get']('lineHeight');_0x4b57e7['ui']['componentFactory']['add']('menuBar:lineHeight',_0x30cdbf=>{const _0x4547e3=new _0x1a8ee1(_0x30cdbf);_0x4547e3['buttonView']['set']({'label':_0x59fb70,'icon':_0xf7c852}),_0x4547e3['bind']('isEnabled')['to'](_0x37b3da);const _0x1e90a7=new _0x1a4b63(_0x30cdbf);for(const _0x333e58 of _0x3b2a2d){const _0x38717b=new _0x4383ca(_0x30cdbf,_0x4547e3),_0x590fe2=new _0x1a4d37(_0x30cdbf);_0x590fe2['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x590fe2['bind'](...Object['keys'](_0x333e58['model']))['to'](_0x333e58['model']),_0x590fe2['delegate']('execute')['to'](_0x4547e3),_0x590fe2['on']('execute',()=>{_0x4b57e7['execute'](_0x333e58['model']['commandName'],{'value':_0x333e58['model']['commandParam']}),_0x4b57e7['editing']['view']['focus']();}),_0x38717b['children']['add'](_0x590fe2),_0x1e90a7['items']['add'](_0x38717b);}return _0x4547e3['panelView']['children']['add'](_0x1e90a7),this['_attachCustomOptionVisibilityHandler'](_0x4547e3,_0x3b2a2d,_0x1e90a7),_0x4547e3;});}['_attachCustomOptionVisibilityHandler'](_0x2e66d6,_0x38e19b,_0x1450d1){if(!this['_shouldRenderCustomValueOption']())return;const _0x35c2a8=()=>{if(!_0x2e66d6['isOpen'])return;_0x1450d1['items']['last']['isVisible']=Boolean(_0x38e19b['last']['model']['isOn']);};_0x35c2a8(),_0x2e66d6['on']('change:isOpen',()=>{_0x35c2a8();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1d6804,_0x5326f0){const _0xa85b7f=_0x6e2d,_0x3529d0=_0x1d6804();while(!![]){try{const _0x3bdc3b=parseInt(_0xa85b7f(0xcf))/0x1*(-parseInt(_0xa85b7f(0xc3))/0x2)+-parseInt(_0xa85b7f(0xce))/0x3+parseInt(_0xa85b7f(0xc0))/0x4+-parseInt(_0xa85b7f(0xca))/0x5*(parseInt(_0xa85b7f(0xcb))/0x6)+parseInt(_0xa85b7f(0xd7))/0x7*(-parseInt(_0xa85b7f(0xd5))/0x8)+parseInt(_0xa85b7f(0xbf))/0x9+parseInt(_0xa85b7f(0xda))/0xa;if(_0x3bdc3b===_0x5326f0)break;else _0x3529d0['push'](_0x3529d0['shift']());}catch(_0x1f2741){_0x3529d0['push'](_0x3529d0['shift']());}}}(_0x51a9,0x27244));const v={get 'single'(){const _0x405018=_0x6e2d;return{'title':_0x405018(0xd9),'model':_0x405018(0xd1),'view':{'key':_0x405018(0xdd),'value':_0x405018(0xc4)}};},get 'double'(){const _0x2c3ca4=_0x6e2d;return{'title':_0x2c3ca4(0xd0),'model':_0x2c3ca4(0xde),'view':{'key':_0x2c3ca4(0xdd),'value':_0x2c3ca4(0xc1)}};}};export function isLineHeightDefaultValue(_0x4f3d20){const _0x127f02=_0x6e2d;return _0x127f02(0xbe)==typeof _0x4f3d20&&_0x127f02(0xd3)===_0x4f3d20[_0x127f02(0xdb)]();}function _0x51a9(){const _0x4a8a48=['488592NEIBOF','739888kOIkFV','line-height-double','values','24958THsuZC','line-height-single','map','number','style','span','push','236765PKMfqm','6bVDpQo','filter','defaultValue','174186XMdxXo','23qJjRdi','Double','single','model','default','options','414376ZmITNF','line-height:','28KGmOTx','value','Single','5206840ggIKMd','toLowerCase','view','class','double','key','string'];_0x51a9=function(){return _0x4a8a48;};return _0x51a9();}function _0x6e2d(_0x5e4c0b,_0x262c06){const _0x51a911=_0x51a9();return _0x6e2d=function(_0x6e2d2,_0x37df92){_0x6e2d2=_0x6e2d2-0xbe;let _0x18a2dd=_0x51a911[_0x6e2d2];return _0x18a2dd;},_0x6e2d(_0x5e4c0b,_0x262c06);}export function normalizeOptions(_0x3d9a63){const _0x16ad04=_0x6e2d;return _0x3d9a63[_0x16ad04(0xd4)][_0x16ad04(0xc5)](_0x4b5994=>isLineHeightDefaultValue(_0x4b5994)?{'title':String(_0x3d9a63[_0x16ad04(0xcd)]),'model':_0x16ad04(0xd3)}:(_0x16ad04(0xc6)==typeof _0x4b5994&&(_0x4b5994=String(_0x4b5994)),_0x16ad04(0xbe)!=typeof _0x4b5994?_0x4b5994:parseFloat(_0x4b5994)?{'title':_0x4b5994,'model':_0x4b5994,'view':{'name':_0x16ad04(0xc8),'styles':{'line-height':_0x4b5994}}}:findPreset(_0x4b5994)))[_0x16ad04(0xcc)](_0x3ec94d=>void 0x0!==_0x3ec94d);}export function findPreset(_0x58d7dd){const _0x538aac=_0x6e2d;return _0x538aac(0xbe)==typeof _0x58d7dd?v[_0x58d7dd]:v[_0x58d7dd[_0x538aac(0xd2)]];}export function buildDefinition(_0x1dea97,_0x942c39){const _0x3177e0=_0x6e2d,_0x4f0632={'model':{'key':_0x1dea97,'values':[]},'view':{}};for(const _0x331fc7 of _0x942c39)_0x3177e0(0xdd)===_0x331fc7[_0x3177e0(0xdc)]?.[_0x3177e0(0xdf)]?(_0x4f0632[_0x3177e0(0xd2)][_0x3177e0(0xc2)][_0x3177e0(0xc9)](_0x331fc7[_0x3177e0(0xd2)]),_0x4f0632[_0x3177e0(0xdc)][_0x331fc7[_0x3177e0(0xd2)]]={'key':_0x3177e0(0xdd),'value':_0x331fc7[_0x3177e0(0xdc)][_0x3177e0(0xd8)]}):(_0x4f0632[_0x3177e0(0xd2)][_0x3177e0(0xc2)][_0x3177e0(0xc9)](_0x331fc7[_0x3177e0(0xd2)]),_0x4f0632[_0x3177e0(0xdc)][_0x331fc7[_0x3177e0(0xd2)]]={'key':_0x3177e0(0xc7),'value':_0x3177e0(0xd6)+_0x331fc7[_0x3177e0(0xd2)]+';'});return _0x4f0632;}
|