@ckeditor/ckeditor5-line-height 47.6.1 → 47.6.2-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
|
-
const
|
|
23
|
+
const _0x5c22a1=_0xf5bf;(function(_0x1964b2,_0x1f2e08){const _0x383d48=_0xf5bf,_0x3b9e02=_0x1964b2();while(!![]){try{const _0x3dda50=parseInt(_0x383d48(0x1f3))/0x1*(-parseInt(_0x383d48(0x1e8))/0x2)+parseInt(_0x383d48(0x206))/0x3*(-parseInt(_0x383d48(0x1f2))/0x4)+parseInt(_0x383d48(0x1f5))/0x5+-parseInt(_0x383d48(0x1f6))/0x6*(-parseInt(_0x383d48(0x208))/0x7)+parseInt(_0x383d48(0x205))/0x8+-parseInt(_0x383d48(0x1dd))/0x9*(-parseInt(_0x383d48(0x1f7))/0xa)+-parseInt(_0x383d48(0x1e4))/0xb*(parseInt(_0x383d48(0x1dc))/0xc);if(_0x3dda50===_0x1f2e08)break;else _0x3b9e02['push'](_0x3b9e02['shift']());}catch(_0x1f5665){_0x3b9e02['push'](_0x3b9e02['shift']());}}}(_0x35dc,0x3a19b));import{Plugin as _0x35791f}from'ckeditor5/src/core.js';import{Matcher as _0x149877}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';function _0x35dc(){const _0x4c620d=['TodoListEditing','12ZBQVAd','13347qbRWLR','LineHeightTodoListIntegration','listType','high','for','--ck-content-list-marker-line-height','todo-list__label__description','5550292itHFNl','add','ListEditing','registerDowncastStrategy','49466vgBIYQ','elementToElement','paragraph','match','element:li','upcast','getAttribute','has','isPremiumPlugin','addClass','1218076YKNark','4ryXVGD','init','1674360cJyrIR','78AraFxA','2970VwgfNT','ck-list-marker-line-height','span','consume','get','item','name','isOfficialPlugin','consumable','todo','pluginName','viewItem','editor','lineHeight','1060880TsLUKV','3GMuleS','setStyle','128191xFRUkg'];_0x35dc=function(){return _0x4c620d;};return _0x35dc();}function _0xf5bf(_0x1251c2,_0x23c5a3){const _0x35dce9=_0x35dc();return _0xf5bf=function(_0xf5bf1e,_0x9eee3d){_0xf5bf1e=_0xf5bf1e-0x1db;let _0x2fcaf7=_0x35dce9[_0xf5bf1e];return _0x2fcaf7;},_0xf5bf(_0x1251c2,_0x23c5a3);}export class LineHeightTodoListIntegration extends _0x35791f{static get[_0x5c22a1(0x201)](){const _0x54afba=_0x5c22a1;return _0x54afba(0x1de);}static get[_0x5c22a1(0x1fe)](){return!0x0;}static get[_0x5c22a1(0x1f0)](){return!0x0;}[_0x5c22a1(0x1f4)](){const _0x22fc13=_0x5c22a1,{plugins:_0x114b85,conversion:_0x28295f}=this[_0x22fc13(0x203)];if(!_0x114b85[_0x22fc13(0x1ef)](_0x22fc13(0x1e6))||!_0x114b85[_0x22fc13(0x1ef)](_0x22fc13(0x1db)))return;_0x114b85[_0x22fc13(0x1fb)](_0x22fc13(0x1e6))[_0x22fc13(0x1e7)]({'scope':_0x22fc13(0x1fc),'attributeName':_0x22fc13(0x204),'consume':!0x1,'setAttributeOnDowncast'(_0x496147,_0x46eeb2,_0x32a27c,_0x14158b,_0x465427){const _0x282a2d=_0x22fc13;_0x282a2d(0x200)==_0x465427[_0x282a2d(0x1ee)](_0x282a2d(0x1df))&&_0x46eeb2&&(_0x496147[_0x282a2d(0x1f1)](_0x282a2d(0x1f8),_0x32a27c),_0x496147[_0x282a2d(0x207)](_0x282a2d(0x1e2),_0x46eeb2,_0x32a27c));}}),_0x28295f[_0x22fc13(0x1e1)](_0x22fc13(0x1ed))[_0x22fc13(0x1e9)]({'view':{'name':_0x22fc13(0x1f9),'classes':_0x22fc13(0x1e3)},'model':_0x22fc13(0x1ea),'converterPriority':_0x22fc13(0x1e0)}),_0x28295f[_0x22fc13(0x1e1)](_0x22fc13(0x1ed))[_0x22fc13(0x1e5)](_0x2f90e3=>{const _0x2cb96e=_0x22fc13;_0x2f90e3['on'](_0x2cb96e(0x1ec),function(_0x20c68c){const _0x45d29a=new _0x149877(_0x20c68c);return(_0x58674e,_0x951d4a,_0x36c239)=>{const _0xb42462=_0xf5bf,_0x22bffd=_0x45d29a[_0xb42462(0x1eb)](_0x951d4a[_0xb42462(0x202)]);if(!_0x22bffd)return;const _0x5ca9e1=_0x22bffd[_0xb42462(0x1eb)];_0x5ca9e1[_0xb42462(0x1fd)]=!0x1,_0x36c239[_0xb42462(0x1ff)][_0xb42462(0x1fa)](_0x951d4a[_0xb42462(0x202)],_0x5ca9e1);};}({'name':'li','classes':_0x2cb96e(0x1f8),'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
|
+
var _0x38141a=_0x54d5;(function(_0x452a44,_0x5d61c6){var _0x2109c3=_0x54d5,_0x1cc861=_0x452a44();while(!![]){try{var _0x2a73ad=-parseInt(_0x2109c3(0x1e8))/0x1*(-parseInt(_0x2109c3(0x1eb))/0x2)+parseInt(_0x2109c3(0x1e9))/0x3+parseInt(_0x2109c3(0x1e7))/0x4*(parseInt(_0x2109c3(0x1ec))/0x5)+parseInt(_0x2109c3(0x1e6))/0x6*(-parseInt(_0x2109c3(0x1ee))/0x7)+-parseInt(_0x2109c3(0x1e1))/0x8+-parseInt(_0x2109c3(0x1df))/0x9*(parseInt(_0x2109c3(0x1ed))/0xa)+-parseInt(_0x2109c3(0x1e3))/0xb;if(_0x2a73ad===_0x5d61c6)break;else _0x1cc861['push'](_0x1cc861['shift']());}catch(_0x213ec7){_0x1cc861['push'](_0x1cc861['shift']());}}}(_0xac5f,0xf0439));import{Plugin as _0x4e6f40}from'ckeditor5/src/core.js';function _0xac5f(){var _0x359056=['requires','12VsaSkt','7908REbyyK','158927nXnfYR','1798647iIJVnR','isOfficialPlugin','20PIGhIV','1610eplxHX','2530YDwrmg','522025LgSDyF','50076wPPciz','LineHeight','66864rKbQfX','pluginName','3037012dujxnq','isPremiumPlugin'];_0xac5f=function(){return _0x359056;};return _0xac5f();}import{LineHeightEditing as _0x22095e}from'./lineheightediting.js';import{LineHeightUI as _0x17171f}from'./lineheightui.js';function _0x54d5(_0x5c1b4f,_0xd3affa){var _0xac5fdb=_0xac5f();return _0x54d5=function(_0x54d5e9,_0x215064){_0x54d5e9=_0x54d5e9-0x1df;var _0x319061=_0xac5fdb[_0x54d5e9];return _0x319061;},_0x54d5(_0x5c1b4f,_0xd3affa);}export class LineHeight extends _0x4e6f40{static get[_0x38141a(0x1e5)](){return[_0x22095e,_0x17171f];}static get[_0x38141a(0x1e2)](){var _0x3ea8ce=_0x38141a;return _0x3ea8ce(0x1e0);}static get[_0x38141a(0x1ea)](){return!0x0;}static get[_0x38141a(0x1e4)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1137af=_0x1bbb;function _0x1bbb(_0xd37f12,_0x315500){const _0x329c97=_0x329c();return _0x1bbb=function(_0x1bbb6a,_0x1e7eba){_0x1bbb6a=_0x1bbb6a-0x10d;let _0x3f8b28=_0x329c97[_0x1bbb6a];return _0x3f8b28;},_0x1bbb(_0xd37f12,_0x315500);}(function(_0x4b50d2,_0x3a94db){const _0x236d60=_0x1bbb,_0x440d71=_0x4b50d2();while(!![]){try{const _0x3dc987=parseInt(_0x236d60(0x11f))/0x1*(parseInt(_0x236d60(0x129))/0x2)+-parseInt(_0x236d60(0x120))/0x3+parseInt(_0x236d60(0x127))/0x4+-parseInt(_0x236d60(0x10e))/0x5+parseInt(_0x236d60(0x122))/0x6+parseInt(_0x236d60(0x111))/0x7*(-parseInt(_0x236d60(0x110))/0x8)+-parseInt(_0x236d60(0x114))/0x9*(-parseInt(_0x236d60(0x124))/0xa);if(_0x3dc987===_0x3a94db)break;else _0x440d71['push'](_0x440d71['shift']());}catch(_0x3bf93a){_0x440d71['push'](_0x440d71['shift']());}}}(_0x329c,0xc500e));import{Command as _0x5bb7f7}from'ckeditor5/src/core.js';import{first as _0xad50e9}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x5bb7f7{[_0x1137af(0x113)](){const _0xfebaf=_0x1137af,_0x1e2b4a=this[_0xfebaf(0x116)][_0xfebaf(0x117)][_0xfebaf(0x115)],_0xc02b5=_0xad50e9(_0x1e2b4a[_0xfebaf(0x121)][_0xfebaf(0x10d)]());this[_0xfebaf(0x123)]=Boolean(_0xc02b5)&&this[_0xfebaf(0x112)](_0xc02b5),this[_0xfebaf(0x10f)]=this[_0xfebaf(0x123)]&&_0xc02b5[_0xfebaf(0x11a)](_0xfebaf(0x119));}[_0x1137af(0x125)](_0x56df59={}){const _0x1cedd1=_0x1137af,_0x50c908=this[_0x1cedd1(0x116)][_0x1cedd1(0x117)],_0x562976=_0x50c908[_0x1cedd1(0x115)][_0x1cedd1(0x121)],_0x198fd7=_0x56df59[_0x1cedd1(0x10f)];_0x50c908[_0x1cedd1(0x11d)](_0xba9d6f=>{const _0x5a4d9a=_0x1cedd1,_0xc4ad2f=Array[_0x5a4d9a(0x126)](_0x562976[_0x5a4d9a(0x10d)]())[_0x5a4d9a(0x11c)](_0x4ec7c1=>this[_0x5a4d9a(0x112)](_0x4ec7c1));for(const _0x35a365 of _0xc4ad2f)_0x198fd7?_0xba9d6f[_0x5a4d9a(0x128)](_0x5a4d9a(0x119),_0x198fd7,_0x35a365):_0xba9d6f[_0x5a4d9a(0x11e)](_0x5a4d9a(0x119),_0x35a365);});}[_0x1137af(0x112)](_0x3d5d91){const _0x4a4b6b=_0x1137af;return this[_0x4a4b6b(0x116)][_0x4a4b6b(0x117)][_0x4a4b6b(0x11b)][_0x4a4b6b(0x118)](_0x3d5d91,_0x4a4b6b(0x119));}}function _0x329c(){const _0x4429c2=['value','8rIvafq','8972068WjQdZO','_canHaveLineHeight','refresh','2889VKMJPM','document','editor','model','checkAttribute','lineHeight','getAttribute','schema','filter','change','removeAttribute','1LEVGgL','3779634yedWss','selection','750108RUjElU','isEnabled','59380joutnW','execute','from','5589088vVohbD','setAttribute','153154LfUspl','getSelectedBlocks','782185iIqFZS'];_0x329c=function(){return _0x4429c2;};return _0x329c();}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4d2a5e=_0x5485;function _0x5485(_0x19af42,_0x38965a){const _0x88c3b7=_0x88c3();return _0x5485=function(_0x548545,_0x4cc2fa){_0x548545=_0x548545-0x119;let _0x170417=_0x88c3b7[_0x548545];return _0x170417;},_0x5485(_0x19af42,_0x38965a);}(function(_0x359e6f,_0x1827ee){const _0x3b9b5d=_0x5485,_0x27423f=_0x359e6f();while(!![]){try{const _0x44ab85=-parseInt(_0x3b9b5d(0x120))/0x1+-parseInt(_0x3b9b5d(0x11a))/0x2*(parseInt(_0x3b9b5d(0x130))/0x3)+parseInt(_0x3b9b5d(0x133))/0x4+parseInt(_0x3b9b5d(0x13b))/0x5+parseInt(_0x3b9b5d(0x12a))/0x6+-parseInt(_0x3b9b5d(0x12f))/0x7*(parseInt(_0x3b9b5d(0x144))/0x8)+-parseInt(_0x3b9b5d(0x11f))/0x9*(parseInt(_0x3b9b5d(0x11d))/0xa);if(_0x44ab85===_0x1827ee)break;else _0x27423f['push'](_0x27423f['shift']());}catch(_0x505f91){_0x27423f['push'](_0x27423f['shift']());}}}(_0x88c3,0x9d7e3));import{Plugin as _0x4e1790}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x41bdbe}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x46fae3}from'ckeditor5/src/engine.js';import{uid as _0x31bf5e,CKEditorError as _0x107b7f}from'ckeditor5/src/utils.js';import{buildDefinition as _0x4b4e14,isLineHeightDefaultValue as _0x3926df,normalizeOptions as _0x555d99}from'./utils.js';function _0x88c3(){const _0x3be177=['line-height-invalid-use-of-named-presets','fromCharCode','downcast','editor','getStyle','isPremiumPlugin','$block','_prepareAnyValueConverters','attributeToAttribute','setAttributeProperties','extend','2dDNcnW','length','config','9563230UNhPHr','add','9TdrFWP','4024ZgsZVC','commands','upcast','_validateConfig','href','lineHeight.supportAllValues','_preparePredefinedConverters','afterInit','pluginName','LineHeightEditing','3554346CVqcUO','define','lineHeight','style','lineHeight.defaultValue','2177CIfiPK','997827zdOBZp','string','line-height','2390308AqPKgI','map','get','includes','requires','lineHeight.options','values','slice','4707605mHHETx','for','conversion','init','isOfficialPlugin','join','default','schema','filter','4976NIkXvC','model'];_0x88c3=function(){return _0x3be177;};return _0x88c3();}import{LineHeightTodoListIntegration as _0x4e65c5}from'./integrations/todolist.js';export class LineHeightEditing extends _0x4e1790{static get[_0x4d2a5e(0x128)](){const _0x58c972=_0x4d2a5e;return _0x58c972(0x129);}static get[_0x4d2a5e(0x137)](){return[_0x4e65c5];}static get[_0x4d2a5e(0x13f)](){return!0x0;}static get[_0x4d2a5e(0x14b)](){return!0x0;}constructor(_0x20f21e){const _0x5ecd34=_0x4d2a5e;super(_0x20f21e),_0x20f21e[_0x5ecd34(0x11c)][_0x5ecd34(0x12b)](_0x5ecd34(0x12c),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x5ecd34(0x141),0x2,2.5,0x3]});}[_0x4d2a5e(0x13e)](){const _0x5216a0=_0x4d2a5e,_0x54a44e=this[_0x5216a0(0x149)];this[_0x5216a0(0x123)](),_0x54a44e[_0x5216a0(0x145)][_0x5216a0(0x142)][_0x5216a0(0x119)](_0x5216a0(0x14c),{'allowAttributes':_0x5216a0(0x12c)}),_0x54a44e[_0x5216a0(0x145)][_0x5216a0(0x142)][_0x5216a0(0x14f)](_0x5216a0(0x12c),{'isFormatting':!0x0}),_0x54a44e[_0x5216a0(0x121)][_0x5216a0(0x11e)](_0x5216a0(0x12c),new _0x41bdbe(_0x54a44e)),this[_0x5216a0(0x149)][_0x5216a0(0x11c)][_0x5216a0(0x135)](_0x5216a0(0x125))?this[_0x5216a0(0x14d)]():this[_0x5216a0(0x126)]();}[_0x4d2a5e(0x127)](){!async function(_0x63ee50){const _0x17aeaf=_0x53069e([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]),_0x1b48ff=0x45ddd215,_0x3889fb=0x45da561d^_0x1b48ff,_0xca2bdf=window[_0x53069e([0x44,0x61,0x74,0x65])][_0x53069e([0x6e,0x6f,0x77])](),_0x572658=_0x63ee50[_0x53069e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5bc4ba=new window[(_0x53069e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f5c8f=>{_0x572658[_0x53069e([0x6f,0x6e,0x63,0x65])](_0x53069e([0x72,0x65,0x61,0x64,0x79]),_0x1f5c8f);}),_0x52bf5b={[_0x53069e([0x6b,0x74,0x79])]:_0x53069e([0x45,0x43]),[_0x53069e([0x75,0x73,0x65])]:_0x53069e([0x73,0x69,0x67]),[_0x53069e([0x63,0x72,0x76])]:_0x53069e([0x50,0x2d,0x32,0x35,0x36]),[_0x53069e([0x78])]:_0x53069e([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]),[_0x53069e([0x79])]:_0x53069e([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]),[_0x53069e([0x61,0x6c,0x67])]:_0x53069e([0x45,0x53,0x32,0x35,0x36])},_0x1df74e=_0x572658[_0x53069e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x53069e([0x67,0x65,0x74])](_0x53069e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x36ab61(){let _0x2b6e61,_0x502c0a=null,_0xe182e2=null;try{if(_0x1df74e==_0x53069e([0x47,0x50,0x4c]))return _0x53069e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2b6e61=_0xb516bc(),!_0x2b6e61)return _0x53069e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2b6e61[_0x53069e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xe182e2=_0x305212(_0x2b6e61[_0x53069e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2b6e61[_0x53069e([0x6a,0x74,0x69])])),await _0x3f81ba()?_0x2b78ce()?_0x2e0cfc()?_0x53069e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x384012()?(_0x2b6e61[_0x53069e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x53069e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x502c0a=_0x186e66(_0x53069e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3a6187()):_0x53069e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x53069e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x53069e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x53069e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2e0cfc(){const _0x50f263=[_0x53069e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x53069e([0x74,0x72,0x69,0x61,0x6c])][_0x53069e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b6e61[_0x53069e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xca2bdf/0x3e8:0xe10*_0x3889fb;return _0x2b6e61[_0x53069e([0x65,0x78,0x70])]<_0x50f263;}function _0x2b78ce(){const _0x59bf36=_0x2b6e61[_0x53069e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x59bf36&&(!!_0x59bf36[_0x53069e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53069e([0x2a]))||!!_0x59bf36[_0x53069e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53069e([0x4c,0x48])));}function _0x384012(){const _0x3ddcf8=_0x5485,_0x39dc77=_0x2b6e61[_0x53069e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x39dc77||0x0==_0x39dc77[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x62b8be}=new URL(window[_0x53069e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3ddcf8(0x124)]);if(_0x39dc77[_0x53069e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x62b8be))return!0x0;const _0x1c5df2=_0x62b8be[_0x53069e([0x73,0x70,0x6c,0x69,0x74])](_0x53069e([0x2e]));return _0x39dc77[_0x53069e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fcfe1=>_0x2fcfe1[_0x53069e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53069e([0x2a])))[_0x53069e([0x6d,0x61,0x70])](_0x44cca3=>_0x44cca3[_0x53069e([0x73,0x70,0x6c,0x69,0x74])](_0x53069e([0x2e])))[_0x53069e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x451faa=>_0x451faa[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c5df2[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x53069e([0x6d,0x61,0x70])](_0x461722=>Array(_0x1c5df2[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x461722[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x53069e([0x66,0x69,0x6c,0x6c])](_0x461722[0x0]===_0x53069e([0x2a])?_0x53069e([0x2a]):'')[_0x53069e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x461722))[_0x53069e([0x73,0x6f,0x6d,0x65])](_0x243321=>_0x1c5df2[_0x53069e([0x65,0x76,0x65,0x72,0x79])]((_0x2ded24,_0x3859f1)=>_0x243321[_0x3859f1]===_0x2ded24||_0x243321[_0x3859f1]===_0x53069e([0x2a])));}function _0x3a6187(){return _0x502c0a&&_0xe182e2?new window[(_0x53069e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x579be2,_0x1ee5b)=>{_0x502c0a[_0x53069e([0x74,0x68,0x65,0x6e])](_0x579be2,_0x1ee5b),_0xe182e2[_0x53069e([0x74,0x68,0x65,0x6e])](_0x32dc7c=>{_0x32dc7c!=_0x53069e([0x56,0x61,0x6c,0x69,0x64])&&_0x579be2(_0x32dc7c);},_0x1ee5b);}):_0x502c0a||_0xe182e2||_0x53069e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x305212(_0x16dc43,_0x2d9fd5){return new window[(_0x53069e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x170a28=>{if(_0x42d16a())return _0x170a28(_0x53069e([0x56,0x61,0x6c,0x69,0x64]));_0x181c67(),_0x572658[_0x53069e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x53069e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x20c47e=!0x1;const _0x1abbb1=_0x31bf5e();function _0x1e43f7(_0x2dca9b){return!!_0x2dca9b&&(typeof _0x2dca9b===_0x53069e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2dca9b===_0x53069e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2dca9b[_0x53069e([0x74,0x68,0x65,0x6e])]===_0x53069e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2dca9b[_0x53069e([0x63,0x61,0x74,0x63,0x68])]===_0x53069e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2778e5(_0x25332d){_0x2a25f7(_0x25332d)[_0x53069e([0x74,0x68,0x65,0x6e])](_0x4947e6=>{if(!_0x4947e6||_0x4947e6[_0x53069e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x53069e([0x6f,0x6b]))return _0x53069e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5b0bec(_0x165201(_0x1abbb1+_0x2d9fd5))!=_0x4947e6[_0x53069e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x53069e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x53069e([0x56,0x61,0x6c,0x69,0x64]);})[_0x53069e([0x74,0x68,0x65,0x6e])](_0x369ff2=>(_0x135010(),_0x369ff2),()=>{const _0x2abfae=_0x3fa3d8();return null==_0x2abfae?(_0x135010(),_0x53069e([0x56,0x61,0x6c,0x69,0x64])):_0x53069e(_0xca2bdf-_0x2abfae>(0x61d15615^_0x1b48ff)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x53069e([0x74,0x68,0x65,0x6e])](_0x170a28)[_0x53069e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x170a28(_0x53069e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d8c9e=0x45eb3c95^_0x1b48ff;function _0x135010(){const _0x983393=_0x53069e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b0bec(_0x165201(_0x16dc43)),_0xb3455a=_0x507fe3(_0x5b0bec(window[_0x53069e([0x4d,0x61,0x74,0x68])][_0x53069e([0x63,0x65,0x69,0x6c])](_0xca2bdf/_0x5d8c9e)));window[_0x53069e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x53069e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x983393,_0xb3455a);}function _0x3fa3d8(){const _0x346065=_0x53069e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b0bec(_0x165201(_0x16dc43)),_0x2ed4c0=window[_0x53069e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x53069e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x346065);return _0x2ed4c0?window[_0x53069e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x507fe3(_0x2ed4c0),0x10)*_0x5d8c9e:null;}function _0x2a25f7(_0x21dc3d){return new window[(_0x53069e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6bf1f5,_0x513bf0)=>{_0x21dc3d[_0x53069e([0x74,0x68,0x65,0x6e])](_0x6bf1f5,_0x513bf0),window[_0x53069e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x513bf0,0x45dc06d5^_0x1b48ff);});}}_0x572658[_0x53069e([0x6f,0x6e])](_0x53069e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x564cb1,_0x3949c0)=>{if(_0x3949c0[0x0]!=_0x16dc43)return _0x170a28(_0x53069e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3949c0[0x1]={..._0x3949c0[0x1],[_0x53069e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1abbb1};},{[_0x53069e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x53069e([0x68,0x69,0x67,0x68])}),_0x572658[_0x53069e([0x6f,0x6e])](_0x53069e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x8e851d=>{_0x1e43f7(_0x8e851d[_0x53069e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x20c47e=!0x0,_0x2778e5(_0x8e851d[_0x53069e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x53069e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x53069e([0x6c,0x6f,0x77])}),_0x5bc4ba[_0x53069e([0x74,0x68,0x65,0x6e])](()=>{_0x20c47e||_0x170a28(_0x53069e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x42d16a(){return _0x572658[_0x53069e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53069e([0x76,0x69,0x65,0x77])][_0x53069e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x53069e([0x61,0x75,0x74,0x6f]);}function _0x181c67(){_0x572658[_0x53069e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53069e([0x76,0x69,0x65,0x77])][_0x53069e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x53069e([0x61,0x75,0x74,0x6f]);}}function _0x186e66(_0x30de1a){const _0x2c5efc=[new window[(_0x53069e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d4bb7=>setTimeout(_0x1d4bb7,0x45d4ecd9^_0x1b48ff)),_0x5bc4ba[_0x53069e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x53069e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39cc37=>{let _0xc42d52=0x0;_0x572658[_0x53069e([0x6d,0x6f,0x64,0x65,0x6c])][_0x53069e([0x6f,0x6e])](_0x53069e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x291286,_0x4fefd0)=>{_0x4fefd0[0x0][_0x53069e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xc42d52++,_0xc42d52==(0x45ddd7fd^_0x1b48ff)&&(_0x39cc37(),_0x291286[_0x53069e([0x6f,0x66,0x66])]());});}))];return window[_0x53069e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x53069e([0x72,0x61,0x63,0x65])](_0x2c5efc)[_0x53069e([0x74,0x68,0x65,0x6e])](()=>_0x30de1a);}async function _0x54d6b8(){await _0x5bc4ba,_0x572658[_0x53069e([0x6d,0x6f,0x64,0x65,0x6c])][_0x53069e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x428a4e,_0x572658[_0x53069e([0x6d,0x6f,0x64,0x65,0x6c])][_0x53069e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x428a4e,_0x572658[_0x53069e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x53069e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x42a733(_0x3e0c42){const _0x114dc9=_0x1577e0();_0x572658[_0x114dc9]=_0x53069e([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e0c42,_0x3e0c42!=_0x53069e([0x56,0x61,0x6c,0x69,0x64])&&_0x54d6b8();}function _0x1577e0(){const _0x490a30=window[_0x53069e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x53069e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x53069e([0x6e,0x6f,0x77])]())[_0x53069e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x53069e([0x2e]),'');let _0x53f1c2=_0x53069e([0x50]);for(let _0x268cae=0x0;_0x268cae<_0x490a30[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x268cae+=0x2){let _0x33476f=window[_0x53069e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x490a30[_0x53069e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x268cae,_0x268cae+0x2));_0x33476f>=_0x17aeaf[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x33476f-=_0x17aeaf[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x53f1c2+=_0x17aeaf[_0x33476f];}return _0x53f1c2;}function _0xb516bc(){const _0x36bda3=_0x1df74e[_0x53069e([0x73,0x70,0x6c,0x69,0x74])](_0x53069e([0x2e]));if(0x3!=_0x36bda3[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x18ee03(_0x36bda3[0x1]);function _0x18ee03(_0x3d0ec1){const _0x2c2d11=_0x2f0b61(_0x3d0ec1);return _0x2c2d11&&_0x160a07()?_0x2c2d11:null;function _0x160a07(){const _0x52f0be=_0x2c2d11[_0x53069e([0x6a,0x74,0x69])],_0x4f5b21=window[_0x53069e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52f0be[_0x53069e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x52f0be[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x584b5b={..._0x2c2d11,[_0x53069e([0x6a,0x74,0x69])]:_0x52f0be[_0x53069e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x52f0be[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x584b5b[_0x53069e([0x76,0x63])],_0x165201(_0x584b5b)==_0x4f5b21;}}}async function _0x3f81ba(){let _0x234829=!0x0;try{const _0x54e9ca=_0x1df74e[_0x53069e([0x73,0x70,0x6c,0x69,0x74])](_0x53069e([0x2e])),[_0x540561,_0x494dc5,_0x2fd347]=_0x54e9ca;return _0x3f3a69(_0x540561),await _0x43dc8c(_0x540561,_0x494dc5,_0x2fd347),_0x234829;}catch{return!0x1;}function _0x3f3a69(_0x268c86){const _0xae53a1=_0x2f0b61(_0x268c86);_0xae53a1&&_0xae53a1[_0x53069e([0x61,0x6c,0x67])]==_0x53069e([0x45,0x53,0x32,0x35,0x36])||(_0x234829=!0x1);}async function _0x43dc8c(_0x252b3b,_0x5c9ed4,_0x54c082){const _0x2f02c6=window[_0x53069e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x53069e([0x66,0x72,0x6f,0x6d])](_0x7eed9a(_0x54c082),_0x193774=>_0x193774[_0x53069e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x19a4b4=new window[(_0x53069e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x53069e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x252b3b+_0x53069e([0x2e])+_0x5c9ed4),_0x1f3e1c=window[_0x53069e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x53069e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1f3e1c)return;const _0x381813=await _0x1f3e1c[_0x53069e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x53069e([0x6a,0x77,0x6b]),_0x52bf5b,{[_0x53069e([0x6e,0x61,0x6d,0x65])]:_0x53069e([0x45,0x43,0x44,0x53,0x41]),[_0x53069e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x53069e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x53069e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1f3e1c[_0x53069e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x53069e([0x6e,0x61,0x6d,0x65])]:_0x53069e([0x45,0x43,0x44,0x53,0x41]),[_0x53069e([0x68,0x61,0x73,0x68])]:{[_0x53069e([0x6e,0x61,0x6d,0x65])]:_0x53069e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x381813,_0x2f02c6,_0x19a4b4)||(_0x234829=!0x1);}}function _0x2f0b61(_0x4130f7){return _0x4130f7[_0x53069e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x53069e([0x65,0x79]))?JSON[_0x53069e([0x70,0x61,0x72,0x73,0x65])](_0x7eed9a(_0x4130f7)):null;}function _0x7eed9a(_0x699414){return window[_0x53069e([0x61,0x74,0x6f,0x62])](_0x699414[_0x53069e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x53069e([0x2b]))[_0x53069e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x53069e([0x2f])));}function _0x165201(_0x4e12b9){let _0x3958c2=0x1505;function _0xb2a960(_0x58d6ed){for(let _0x391159=0x0;_0x391159<_0x58d6ed[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x391159++){const _0x126f39=_0x58d6ed[_0x53069e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x391159);_0x3958c2=(_0x3958c2<<0x5)+_0x3958c2+_0x126f39,_0x3958c2&=_0x3958c2;}}function _0x4a439c(_0x43c772){Array[_0x53069e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x43c772)?_0x43c772[_0x53069e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a439c):_0x43c772&&typeof _0x43c772==_0x53069e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x53069e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x43c772)[_0x53069e([0x73,0x6f,0x72,0x74])]()[_0x53069e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x31022e,_0x5e1999])=>{_0xb2a960(_0x31022e),_0x4a439c(_0x5e1999);}):_0xb2a960(window[_0x53069e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x43c772));}return _0x4a439c(_0x4e12b9),_0x3958c2>>>0x0;}function _0x5b0bec(_0x30ddf2){return _0x30ddf2[_0x53069e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x53069e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x53069e([0x30]));}function _0x507fe3(_0x21328a){return _0x21328a[_0x53069e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x53069e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x53069e([0x6a,0x6f,0x69,0x6e])]('');}function _0x428a4e(){}function _0x53069e(_0x5b5891){const _0x4738fc=_0x5485;return _0x5b5891[_0x4738fc(0x134)](_0x37c60=>String[_0x4738fc(0x147)](_0x37c60))[_0x4738fc(0x140)]('');}_0x42a733(await _0x36ab61());}(this);}[_0x4d2a5e(0x123)](){const _0x7b8657=_0x4d2a5e,_0x3d5350=this[_0x7b8657(0x149)];if(!_0x3d5350[_0x7b8657(0x11c)][_0x7b8657(0x135)](_0x7b8657(0x125)))return;const _0x23e905=_0x3d5350[_0x7b8657(0x11c)][_0x7b8657(0x135)](_0x7b8657(0x138))[_0x7b8657(0x143)](_0x341f31=>_0x7b8657(0x131)==typeof _0x341f31&&(!_0x3926df(_0x341f31)&&isNaN(Number(_0x341f31))));if(_0x23e905[_0x7b8657(0x11b)])throw new _0x107b7f(_0x7b8657(0x146),null,{'namedPresets':_0x23e905});}[_0x4d2a5e(0x14d)](){const _0x5dd1bf=_0x4d2a5e,_0x1076e0=this[_0x5dd1bf(0x149)],_0x410f97=this[_0x5dd1bf(0x149)][_0x5dd1bf(0x11c)][_0x5dd1bf(0x135)](_0x5dd1bf(0x12e));_0x1076e0[_0x5dd1bf(0x13d)][_0x5dd1bf(0x13c)](_0x5dd1bf(0x148))[_0x5dd1bf(0x14e)]({'model':{'key':_0x5dd1bf(0x12c)},'view':_0x47f8a3=>String(_0x47f8a3)===String(_0x410f97)?null:{'key':_0x5dd1bf(0x12d),'value':{'line-height':_0x47f8a3}}}),_0x1076e0[_0x5dd1bf(0x13d)][_0x5dd1bf(0x13c)](_0x5dd1bf(0x122))[_0x5dd1bf(0x14e)]({'model':{'key':_0x5dd1bf(0x12c),'value':_0x48cb42=>{const _0x240269=_0x5dd1bf;let _0x17624f=_0x48cb42[_0x240269(0x14a)](_0x240269(0x132));return _0x46fae3(_0x17624f)&&(_0x17624f=String(Number(_0x17624f[_0x240269(0x13a)](0x0,-0x1))/0x64)),String(_0x17624f)===String(_0x410f97)?null:_0x17624f;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4d2a5e(0x126)](){const _0x3ef9ed=_0x4d2a5e,_0x15dc3b=this[_0x3ef9ed(0x149)],_0x451b64=this[_0x3ef9ed(0x149)][_0x3ef9ed(0x11c)][_0x3ef9ed(0x135)](_0x3ef9ed(0x12e)),_0x4d1d02=_0x555d99(this[_0x3ef9ed(0x149)][_0x3ef9ed(0x11c)][_0x3ef9ed(0x135)](_0x3ef9ed(0x12c)))[_0x3ef9ed(0x143)](_0x1643c7=>_0x1643c7[_0x3ef9ed(0x145)]),_0x2cb60e=_0x4b4e14(_0x3ef9ed(0x12c),_0x4d1d02);_0x15dc3b[_0x3ef9ed(0x13d)][_0x3ef9ed(0x14e)](_0x2cb60e),_0x15dc3b[_0x3ef9ed(0x13d)][_0x3ef9ed(0x13c)](_0x3ef9ed(0x122))[_0x3ef9ed(0x14e)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x3ef9ed(0x12c),'value':_0x20afc4=>{const _0x468e71=_0x3ef9ed;let _0x39afa3=_0x20afc4[_0x468e71(0x14a)](_0x468e71(0x132));return _0x46fae3(_0x39afa3)&&(_0x39afa3=String(Number(_0x39afa3[_0x468e71(0x13a)](0x0,-0x1))/0x64)),_0x39afa3===String(_0x451b64)?null:_0x2cb60e[_0x468e71(0x145)][_0x468e71(0x139)][_0x468e71(0x136)](_0x39afa3)?_0x39afa3:null;}}});}}
|
|
23
|
+
const _0x369a89=_0x1f26;(function(_0x2ed746,_0x130a24){const _0x5aa3ef=_0x1f26,_0x5ec3cb=_0x2ed746();while(!![]){try{const _0x3acd6f=parseInt(_0x5aa3ef(0x1cf))/0x1+-parseInt(_0x5aa3ef(0x1ee))/0x2+-parseInt(_0x5aa3ef(0x1e4))/0x3+parseInt(_0x5aa3ef(0x1c1))/0x4*(parseInt(_0x5aa3ef(0x1c3))/0x5)+parseInt(_0x5aa3ef(0x1d2))/0x6*(-parseInt(_0x5aa3ef(0x1c0))/0x7)+-parseInt(_0x5aa3ef(0x1c4))/0x8+-parseInt(_0x5aa3ef(0x1ed))/0x9*(-parseInt(_0x5aa3ef(0x1bc))/0xa);if(_0x3acd6f===_0x130a24)break;else _0x5ec3cb['push'](_0x5ec3cb['shift']());}catch(_0x450f5f){_0x5ec3cb['push'](_0x5ec3cb['shift']());}}}(_0x2476,0x5ab59));import{Plugin as _0x5f2974}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x14c146}from'./lineheightcommand.js';function _0x1f26(_0x233527,_0x15f15e){const _0x2476c2=_0x2476();return _0x1f26=function(_0x1f2673,_0x48be06){_0x1f2673=_0x1f2673-0x1bc;let _0x103f2f=_0x2476c2[_0x1f2673];return _0x103f2f;},_0x1f26(_0x233527,_0x15f15e);}import{isPercentageStyleValue as _0x9b4494}from'ckeditor5/src/engine.js';import{uid as _0x5d6388,CKEditorError as _0x181d85}from'ckeditor5/src/utils.js';import{buildDefinition as _0x283cc1,isLineHeightDefaultValue as _0x4efb98,normalizeOptions as _0x1581fc}from'./utils.js';import{LineHeightTodoListIntegration as _0x4ad0f3}from'./integrations/todolist.js';export class LineHeightEditing extends _0x5f2974{static get[_0x369a89(0x1e2)](){const _0x33094b=_0x369a89;return _0x33094b(0x1d5);}static get[_0x369a89(0x1bd)](){return[_0x4ad0f3];}static get[_0x369a89(0x1cc)](){return!0x0;}static get[_0x369a89(0x1c7)](){return!0x0;}constructor(_0x3e43df){const _0x2da41d=_0x369a89;super(_0x3e43df),_0x3e43df[_0x2da41d(0x1c9)][_0x2da41d(0x1cb)](_0x2da41d(0x1f2),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x2da41d(0x1c5),0x2,2.5,0x3]});}[_0x369a89(0x1e6)](){const _0x1e3a45=_0x369a89,_0x50ccbd=this[_0x1e3a45(0x1bf)];this[_0x1e3a45(0x1d6)](),_0x50ccbd[_0x1e3a45(0x1df)][_0x1e3a45(0x1dc)][_0x1e3a45(0x1d0)](_0x1e3a45(0x1d4),{'allowAttributes':_0x1e3a45(0x1f2)}),_0x50ccbd[_0x1e3a45(0x1df)][_0x1e3a45(0x1dc)][_0x1e3a45(0x1e3)](_0x1e3a45(0x1f2),{'isFormatting':!0x0}),_0x50ccbd[_0x1e3a45(0x1e8)][_0x1e3a45(0x1c8)](_0x1e3a45(0x1f2),new _0x14c146(_0x50ccbd)),this[_0x1e3a45(0x1bf)][_0x1e3a45(0x1c9)][_0x1e3a45(0x1ca)](_0x1e3a45(0x1de))?this[_0x1e3a45(0x1e0)]():this[_0x1e3a45(0x1d1)]();}[_0x369a89(0x1c2)](){!async function(_0x5382b5){const _0x3a7038=_0x36cd2b([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]),_0x1897e1=0x45ddd215,_0x4d283b=0x45da54bd^_0x1897e1,_0x3d0be0=window[_0x36cd2b([0x44,0x61,0x74,0x65])][_0x36cd2b([0x6e,0x6f,0x77])](),_0x44df1f=_0x5382b5[_0x36cd2b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a687a=new window[(_0x36cd2b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51d22e=>{_0x44df1f[_0x36cd2b([0x6f,0x6e,0x63,0x65])](_0x36cd2b([0x72,0x65,0x61,0x64,0x79]),_0x51d22e);}),_0x3c2ee4={[_0x36cd2b([0x6b,0x74,0x79])]:_0x36cd2b([0x45,0x43]),[_0x36cd2b([0x75,0x73,0x65])]:_0x36cd2b([0x73,0x69,0x67]),[_0x36cd2b([0x63,0x72,0x76])]:_0x36cd2b([0x50,0x2d,0x32,0x35,0x36]),[_0x36cd2b([0x78])]:_0x36cd2b([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]),[_0x36cd2b([0x79])]:_0x36cd2b([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]),[_0x36cd2b([0x61,0x6c,0x67])]:_0x36cd2b([0x45,0x53,0x32,0x35,0x36])},_0x10279d=_0x44df1f[_0x36cd2b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x36cd2b([0x67,0x65,0x74])](_0x36cd2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2c2b68(){let _0x3e4388,_0x22f838=null,_0x640d4e=null;try{if(_0x10279d==_0x36cd2b([0x47,0x50,0x4c]))return _0x36cd2b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e4388=_0x15bcec(),!_0x3e4388)return _0x36cd2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3e4388[_0x36cd2b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x640d4e=_0x29c300(_0x3e4388[_0x36cd2b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e4388[_0x36cd2b([0x6a,0x74,0x69])])),await _0x2ab430()?_0x367fc2()?_0x22a513()?_0x36cd2b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5c3869()?(_0x3e4388[_0x36cd2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36cd2b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x22f838=_0x3823d0(_0x36cd2b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x427ec4()):_0x36cd2b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x36cd2b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x36cd2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x36cd2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x22a513(){const _0xd166ec=[_0x36cd2b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x36cd2b([0x74,0x72,0x69,0x61,0x6c])][_0x36cd2b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e4388[_0x36cd2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3d0be0/0x3e8:0xe10*_0x4d283b;return _0x3e4388[_0x36cd2b([0x65,0x78,0x70])]<_0xd166ec;}function _0x367fc2(){const _0x2a06f5=_0x3e4388[_0x36cd2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2a06f5&&(!!_0x2a06f5[_0x36cd2b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36cd2b([0x2a]))||!!_0x2a06f5[_0x36cd2b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36cd2b([0x4c,0x48])));}function _0x5c3869(){const _0x4a5dc9=_0x1f26,_0x3cdcc8=_0x3e4388[_0x36cd2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3cdcc8||0x0==_0x3cdcc8[_0x36cd2b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xdc31cc}=new URL(window[_0x36cd2b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4a5dc9(0x1be)]);if(_0x3cdcc8[_0x36cd2b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdc31cc))return!0x0;const _0x14f683=_0xdc31cc[_0x36cd2b([0x73,0x70,0x6c,0x69,0x74])](_0x36cd2b([0x2e]));return _0x3cdcc8[_0x36cd2b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ad6c7=>_0x3ad6c7[_0x36cd2b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36cd2b([0x2a])))[_0x36cd2b([0x6d,0x61,0x70])](_0x4d1b8c=>_0x4d1b8c[_0x36cd2b([0x73,0x70,0x6c,0x69,0x74])](_0x36cd2b([0x2e])))[_0x36cd2b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28f058=>_0x28f058[_0x36cd2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x14f683[_0x36cd2b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36cd2b([0x6d,0x61,0x70])](_0xf3bcb=>Array(_0x14f683[_0x36cd2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xf3bcb[_0x36cd2b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36cd2b([0x66,0x69,0x6c,0x6c])](_0xf3bcb[0x0]===_0x36cd2b([0x2a])?_0x36cd2b([0x2a]):'')[_0x36cd2b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xf3bcb))[_0x36cd2b([0x73,0x6f,0x6d,0x65])](_0x2d47cf=>_0x14f683[_0x36cd2b([0x65,0x76,0x65,0x72,0x79])]((_0x413b60,_0x228d5f)=>_0x2d47cf[_0x228d5f]===_0x413b60||_0x2d47cf[_0x228d5f]===_0x36cd2b([0x2a])));}function _0x427ec4(){return _0x22f838&&_0x640d4e?new window[(_0x36cd2b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bc03c,_0x152069)=>{_0x22f838[_0x36cd2b([0x74,0x68,0x65,0x6e])](_0x1bc03c,_0x152069),_0x640d4e[_0x36cd2b([0x74,0x68,0x65,0x6e])](_0x50e36a=>{_0x50e36a!=_0x36cd2b([0x56,0x61,0x6c,0x69,0x64])&&_0x1bc03c(_0x50e36a);},_0x152069);}):_0x22f838||_0x640d4e||_0x36cd2b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x29c300(_0x4503f2,_0x598904){return new window[(_0x36cd2b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x596481=>{if(_0x27b705())return _0x596481(_0x36cd2b([0x56,0x61,0x6c,0x69,0x64]));_0x59d2df(),_0x44df1f[_0x36cd2b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x36cd2b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xdb81ea=!0x1;const _0x149f54=_0x5d6388();function _0x55be3f(_0xf97d62){return!!_0xf97d62&&(typeof _0xf97d62===_0x36cd2b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xf97d62===_0x36cd2b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xf97d62[_0x36cd2b([0x74,0x68,0x65,0x6e])]===_0x36cd2b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xf97d62[_0x36cd2b([0x63,0x61,0x74,0x63,0x68])]===_0x36cd2b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x82e9f5(_0xcad41d){_0x14a3b0(_0xcad41d)[_0x36cd2b([0x74,0x68,0x65,0x6e])](_0x50dc24=>{if(!_0x50dc24||_0x50dc24[_0x36cd2b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x36cd2b([0x6f,0x6b]))return _0x36cd2b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x32eaa9(_0x201ade(_0x149f54+_0x598904))!=_0x50dc24[_0x36cd2b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x36cd2b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x36cd2b([0x56,0x61,0x6c,0x69,0x64]);})[_0x36cd2b([0x74,0x68,0x65,0x6e])](_0x3ecc14=>(_0x4b9e82(),_0x3ecc14),()=>{const _0x1a4e41=_0x10966e();return null==_0x1a4e41?(_0x4b9e82(),_0x36cd2b([0x56,0x61,0x6c,0x69,0x64])):_0x36cd2b(_0x3d0be0-_0x1a4e41>(0x61d15615^_0x1897e1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x36cd2b([0x74,0x68,0x65,0x6e])](_0x596481)[_0x36cd2b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x596481(_0x36cd2b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5a5a38=0x45eb3c95^_0x1897e1;function _0x4b9e82(){const _0x356c0e=_0x36cd2b([0x6c,0x6c,0x63,0x74,0x2d])+_0x32eaa9(_0x201ade(_0x4503f2)),_0x26e307=_0x1e2c10(_0x32eaa9(window[_0x36cd2b([0x4d,0x61,0x74,0x68])][_0x36cd2b([0x63,0x65,0x69,0x6c])](_0x3d0be0/_0x5a5a38)));window[_0x36cd2b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36cd2b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x356c0e,_0x26e307);}function _0x10966e(){const _0x4b45cc=_0x36cd2b([0x6c,0x6c,0x63,0x74,0x2d])+_0x32eaa9(_0x201ade(_0x4503f2)),_0x103151=window[_0x36cd2b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36cd2b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b45cc);return _0x103151?window[_0x36cd2b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e2c10(_0x103151),0x10)*_0x5a5a38:null;}function _0x14a3b0(_0x565b94){return new window[(_0x36cd2b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4442ae,_0x5a2a23)=>{_0x565b94[_0x36cd2b([0x74,0x68,0x65,0x6e])](_0x4442ae,_0x5a2a23),window[_0x36cd2b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5a2a23,0x45dc06d5^_0x1897e1);});}}_0x44df1f[_0x36cd2b([0x6f,0x6e])](_0x36cd2b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2ea33b,_0x3b0986)=>{if(_0x3b0986[0x0]!=_0x4503f2)return _0x596481(_0x36cd2b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3b0986[0x1]={..._0x3b0986[0x1],[_0x36cd2b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x149f54};},{[_0x36cd2b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36cd2b([0x68,0x69,0x67,0x68])}),_0x44df1f[_0x36cd2b([0x6f,0x6e])](_0x36cd2b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x22ae4e=>{_0x55be3f(_0x22ae4e[_0x36cd2b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xdb81ea=!0x0,_0x82e9f5(_0x22ae4e[_0x36cd2b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x36cd2b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36cd2b([0x6c,0x6f,0x77])}),_0x5a687a[_0x36cd2b([0x74,0x68,0x65,0x6e])](()=>{_0xdb81ea||_0x596481(_0x36cd2b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x27b705(){return _0x44df1f[_0x36cd2b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36cd2b([0x76,0x69,0x65,0x77])][_0x36cd2b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x36cd2b([0x61,0x75,0x74,0x6f]);}function _0x59d2df(){_0x44df1f[_0x36cd2b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36cd2b([0x76,0x69,0x65,0x77])][_0x36cd2b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x36cd2b([0x61,0x75,0x74,0x6f]);}}function _0x3823d0(_0x3bf127){const _0x22532e=[new window[(_0x36cd2b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3082cc=>setTimeout(_0x3082cc,0x45d4ecd9^_0x1897e1)),_0x5a687a[_0x36cd2b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x36cd2b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56ec37=>{let _0x5d0e14=0x0;_0x44df1f[_0x36cd2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x36cd2b([0x6f,0x6e])](_0x36cd2b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xca07f6,_0x5c7aaa)=>{_0x5c7aaa[0x0][_0x36cd2b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d0e14++,_0x5d0e14==(0x45ddd7fd^_0x1897e1)&&(_0x56ec37(),_0xca07f6[_0x36cd2b([0x6f,0x66,0x66])]());});}))];return window[_0x36cd2b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x36cd2b([0x72,0x61,0x63,0x65])](_0x22532e)[_0x36cd2b([0x74,0x68,0x65,0x6e])](()=>_0x3bf127);}async function _0x40e1b6(){await _0x5a687a,_0x44df1f[_0x36cd2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x36cd2b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1ebe26,_0x44df1f[_0x36cd2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x36cd2b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1ebe26,_0x44df1f[_0x36cd2b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x36cd2b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4b5b71(_0x488c53){const _0x56a700=_0xcb2d4a();_0x44df1f[_0x56a700]=_0x36cd2b([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x488c53,_0x488c53!=_0x36cd2b([0x56,0x61,0x6c,0x69,0x64])&&_0x40e1b6();}function _0xcb2d4a(){const _0x172b83=window[_0x36cd2b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x36cd2b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x36cd2b([0x6e,0x6f,0x77])]())[_0x36cd2b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x36cd2b([0x2e]),'');let _0x2c9020=_0x36cd2b([0x50]);for(let _0x140fba=0x0;_0x140fba<_0x172b83[_0x36cd2b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x140fba+=0x2){let _0x987887=window[_0x36cd2b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x172b83[_0x36cd2b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x140fba,_0x140fba+0x2));_0x987887>=_0x3a7038[_0x36cd2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x987887-=_0x3a7038[_0x36cd2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2c9020+=_0x3a7038[_0x987887];}return _0x2c9020;}function _0x15bcec(){const _0x161b83=_0x10279d[_0x36cd2b([0x73,0x70,0x6c,0x69,0x74])](_0x36cd2b([0x2e]));if(0x3!=_0x161b83[_0x36cd2b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x352698(_0x161b83[0x1]);function _0x352698(_0x18f09a){const _0x2d1755=_0x1d1631(_0x18f09a);return _0x2d1755&&_0x5dddfc()?_0x2d1755:null;function _0x5dddfc(){const _0x42e345=_0x2d1755[_0x36cd2b([0x6a,0x74,0x69])],_0x20e899=window[_0x36cd2b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42e345[_0x36cd2b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42e345[_0x36cd2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x201a10={..._0x2d1755,[_0x36cd2b([0x6a,0x74,0x69])]:_0x42e345[_0x36cd2b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x42e345[_0x36cd2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x201a10[_0x36cd2b([0x76,0x63])],_0x201ade(_0x201a10)==_0x20e899;}}}async function _0x2ab430(){let _0x2253c8=!0x0;try{const _0x2dc6ae=_0x10279d[_0x36cd2b([0x73,0x70,0x6c,0x69,0x74])](_0x36cd2b([0x2e])),[_0x3446c9,_0x42de49,_0x3564f8]=_0x2dc6ae;return _0x1a7594(_0x3446c9),await _0x4799c7(_0x3446c9,_0x42de49,_0x3564f8),_0x2253c8;}catch{return!0x1;}function _0x1a7594(_0xaf87e7){const _0x17735d=_0x1d1631(_0xaf87e7);_0x17735d&&_0x17735d[_0x36cd2b([0x61,0x6c,0x67])]==_0x36cd2b([0x45,0x53,0x32,0x35,0x36])||(_0x2253c8=!0x1);}async function _0x4799c7(_0x54548f,_0x431880,_0x52b250){const _0x5f0177=window[_0x36cd2b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x36cd2b([0x66,0x72,0x6f,0x6d])](_0x19cdce(_0x52b250),_0x7a2415=>_0x7a2415[_0x36cd2b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xbf1f39=new window[(_0x36cd2b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x36cd2b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54548f+_0x36cd2b([0x2e])+_0x431880),_0xa94e2b=window[_0x36cd2b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x36cd2b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xa94e2b)return;const _0x46d32d=await _0xa94e2b[_0x36cd2b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x36cd2b([0x6a,0x77,0x6b]),_0x3c2ee4,{[_0x36cd2b([0x6e,0x61,0x6d,0x65])]:_0x36cd2b([0x45,0x43,0x44,0x53,0x41]),[_0x36cd2b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x36cd2b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x36cd2b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xa94e2b[_0x36cd2b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x36cd2b([0x6e,0x61,0x6d,0x65])]:_0x36cd2b([0x45,0x43,0x44,0x53,0x41]),[_0x36cd2b([0x68,0x61,0x73,0x68])]:{[_0x36cd2b([0x6e,0x61,0x6d,0x65])]:_0x36cd2b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x46d32d,_0x5f0177,_0xbf1f39)||(_0x2253c8=!0x1);}}function _0x1d1631(_0x5bedf4){return _0x5bedf4[_0x36cd2b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x36cd2b([0x65,0x79]))?JSON[_0x36cd2b([0x70,0x61,0x72,0x73,0x65])](_0x19cdce(_0x5bedf4)):null;}function _0x19cdce(_0x1350b3){return window[_0x36cd2b([0x61,0x74,0x6f,0x62])](_0x1350b3[_0x36cd2b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x36cd2b([0x2b]))[_0x36cd2b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x36cd2b([0x2f])));}function _0x201ade(_0x4ab7a9){let _0xba18d8=0x1505;function _0x841b2e(_0x1e501c){for(let _0x29a7f3=0x0;_0x29a7f3<_0x1e501c[_0x36cd2b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29a7f3++){const _0x272f7a=_0x1e501c[_0x36cd2b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x29a7f3);_0xba18d8=(_0xba18d8<<0x5)+_0xba18d8+_0x272f7a,_0xba18d8&=_0xba18d8;}}function _0x4c5144(_0x4d69f7){Array[_0x36cd2b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d69f7)?_0x4d69f7[_0x36cd2b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4c5144):_0x4d69f7&&typeof _0x4d69f7==_0x36cd2b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x36cd2b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d69f7)[_0x36cd2b([0x73,0x6f,0x72,0x74])]()[_0x36cd2b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xe2194c,_0x2a51d5])=>{_0x841b2e(_0xe2194c),_0x4c5144(_0x2a51d5);}):_0x841b2e(window[_0x36cd2b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d69f7));}return _0x4c5144(_0x4ab7a9),_0xba18d8>>>0x0;}function _0x32eaa9(_0x1ad57a){return _0x1ad57a[_0x36cd2b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x36cd2b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x36cd2b([0x30]));}function _0x1e2c10(_0x1882de){return _0x1882de[_0x36cd2b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x36cd2b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x36cd2b([0x6a,0x6f,0x69,0x6e])]('');}function _0x1ebe26(){}function _0x36cd2b(_0x3d28c6){const _0x40f408=_0x1f26;return _0x3d28c6[_0x40f408(0x1ce)](_0x4b5980=>String[_0x40f408(0x1da)](_0x4b5980))[_0x40f408(0x1dd)]('');}_0x4b5b71(await _0x2c2b68());}(this);}[_0x369a89(0x1d6)](){const _0x5c7307=_0x369a89,_0x47d14f=this[_0x5c7307(0x1bf)];if(!_0x47d14f[_0x5c7307(0x1c9)][_0x5c7307(0x1ca)](_0x5c7307(0x1de)))return;const _0x11e3ae=_0x47d14f[_0x5c7307(0x1c9)][_0x5c7307(0x1ca)](_0x5c7307(0x1f0))[_0x5c7307(0x1db)](_0x350e3a=>_0x5c7307(0x1ea)==typeof _0x350e3a&&(!_0x4efb98(_0x350e3a)&&isNaN(Number(_0x350e3a))));if(_0x11e3ae[_0x5c7307(0x1d3)])throw new _0x181d85(_0x5c7307(0x1ef),null,{'namedPresets':_0x11e3ae});}[_0x369a89(0x1e0)](){const _0x3dd575=_0x369a89,_0x7f1078=this[_0x3dd575(0x1bf)],_0x26d15c=this[_0x3dd575(0x1bf)][_0x3dd575(0x1c9)][_0x3dd575(0x1ca)](_0x3dd575(0x1d8));_0x7f1078[_0x3dd575(0x1eb)][_0x3dd575(0x1e9)](_0x3dd575(0x1f1))[_0x3dd575(0x1d9)]({'model':{'key':_0x3dd575(0x1f2)},'view':_0x504c0a=>String(_0x504c0a)===String(_0x26d15c)?null:{'key':_0x3dd575(0x1ec),'value':{'line-height':_0x504c0a}}}),_0x7f1078[_0x3dd575(0x1eb)][_0x3dd575(0x1e9)](_0x3dd575(0x1e5))[_0x3dd575(0x1d9)]({'model':{'key':_0x3dd575(0x1f2),'value':_0x40c596=>{const _0x1cc80b=_0x3dd575;let _0x3c89b2=_0x40c596[_0x1cc80b(0x1e7)](_0x1cc80b(0x1c6));return _0x9b4494(_0x3c89b2)&&(_0x3c89b2=String(Number(_0x3c89b2[_0x1cc80b(0x1cd)](0x0,-0x1))/0x64)),String(_0x3c89b2)===String(_0x26d15c)?null:_0x3c89b2;}},'view':{'styles':{'line-height':/.*/}}});}[_0x369a89(0x1d1)](){const _0x53b641=_0x369a89,_0x2c5eb5=this[_0x53b641(0x1bf)],_0x19a023=this[_0x53b641(0x1bf)][_0x53b641(0x1c9)][_0x53b641(0x1ca)](_0x53b641(0x1d8)),_0x1da4d7=_0x1581fc(this[_0x53b641(0x1bf)][_0x53b641(0x1c9)][_0x53b641(0x1ca)](_0x53b641(0x1f2)))[_0x53b641(0x1db)](_0x3745ba=>_0x3745ba[_0x53b641(0x1df)]),_0x3326fd=_0x283cc1(_0x53b641(0x1f2),_0x1da4d7);_0x2c5eb5[_0x53b641(0x1eb)][_0x53b641(0x1d9)](_0x3326fd),_0x2c5eb5[_0x53b641(0x1eb)][_0x53b641(0x1e9)](_0x53b641(0x1e5))[_0x53b641(0x1d9)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x53b641(0x1f2),'value':_0x52c67d=>{const _0x411014=_0x53b641;let _0x50cbad=_0x52c67d[_0x411014(0x1e7)](_0x411014(0x1c6));return _0x9b4494(_0x50cbad)&&(_0x50cbad=String(Number(_0x50cbad[_0x411014(0x1cd)](0x0,-0x1))/0x64)),_0x50cbad===String(_0x19a023)?null:_0x3326fd[_0x411014(0x1df)][_0x411014(0x1d7)][_0x411014(0x1e1)](_0x50cbad)?_0x50cbad:null;}}});}}function _0x2476(){const _0x4eeb43=['lineHeight.options','downcast','lineHeight','15726280LTGMWL','requires','href','editor','2028649wQiDZj','4MpvtIw','afterInit','902105mQwPjJ','3765104vAvZfe','default','line-height','isPremiumPlugin','add','config','get','define','isOfficialPlugin','slice','map','430851SJmCQd','extend','_preparePredefinedConverters','12xmUKXV','length','$block','LineHeightEditing','_validateConfig','values','lineHeight.defaultValue','attributeToAttribute','fromCharCode','filter','schema','join','lineHeight.supportAllValues','model','_prepareAnyValueConverters','includes','pluginName','setAttributeProperties','524655kkIaqq','upcast','init','getStyle','commands','for','string','conversion','style','9aemCAP','1174436AUGSDH','line-height-invalid-use-of-named-presets'];_0x2476=function(){return _0x4eeb43;};return _0x2476();}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x32b915}from'ckeditor5/src/core.js';import{addListToDropdown as _0x5a51ef,createDropdown as _0x486471,MenuBarMenuListItemButtonView as _0x2bb790,MenuBarMenuListItemView as _0x5057d2,MenuBarMenuListView as _0xc02fe4,MenuBarMenuView as _0xa5b852,UIModel as _0x545c8f}from'ckeditor5/src/ui.js';import{Collection as _0x2b263e}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x543147}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x5a2251}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x32b915{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3e9c3e={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x3e9c3e),this['_registerMenuBarComponent'](_0x3e9c3e),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3c3c0c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x513a91;for(const _0x54cd6 in _0x3c3c0c){const _0x115da6=_0x54cd6,_0x16c6c4=_0x3c3c0c[_0x115da6];if('lineHeightLicenseKeyValid'==_0x16c6c4||'lineHeightLicenseKeyInvalid'==_0x16c6c4||'lineHeightLicenseKeyExpired'==_0x16c6c4||'lineHeightLicenseKeyDomainLimit'==_0x16c6c4||'lineHeightLicenseKeyNotAllowed'==_0x16c6c4||'lineHeightLicenseKeyEvaluationLimit'==_0x16c6c4||'lineHeightLicenseKeyUsageLimit'==_0x16c6c4){delete _0x3c3c0c[_0x115da6],_0x513a91=_0x16c6c4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x513a91&&_0x3c3c0c['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x513a91&&_0x3c3c0c['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x513a91&&_0x3c3c0c['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x513a91&&_0x3c3c0c['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x513a91&&_0x3c3c0c['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x513a91&&_0x3c3c0c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x255374=this['editor'],t=_0x255374['t'],_0x55c300=_0x255374['config']['get']('lineHeight'),_0x1d3111={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x5a2251(_0x55c300)['map'](_0x2e105c=>{const _0x396b08=_0x1d3111[_0x2e105c['title']];return _0x396b08&&_0x396b08!=_0x2e105c['title']&&(_0x2e105c=Object['assign']({},_0x2e105c,{'title':_0x396b08})),_0x2e105c;});}['_prepareListOptions'](){const _0x217e9e=this['editor']['commands']['get']('lineHeight'),_0xbf8bac=this['editor']['config']['get']('lineHeight.defaultValue'),_0x19d34b=this['_getLocalizedLineHeightOptions'](),_0x1ccc40=new _0x2b263e(),_0xb0651e=_0x10fcdc=>'default'===_0x10fcdc||String(_0xbf8bac)===_0x10fcdc;for(const _0x129cd7 of _0x19d34b){const _0xbc3aec={'type':'button','model':new _0x545c8f({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x129cd7['title'],'withText':!0x0})};_0xb0651e(_0x129cd7['model'])?(_0xbc3aec['model']['bind']('isOn')['to'](_0x217e9e,'value',_0x5d8623=>!_0x5d8623),_0xbc3aec['model']['commandParam']=void 0x0):(_0xbc3aec['model']['bind']('isOn')['to'](_0x217e9e,'value',_0x1ab79a=>_0x1ab79a===_0x129cd7['model']),_0xbc3aec['model']['commandParam']=_0x129cd7['model']),_0x1ccc40['add'](_0xbc3aec);}if(this['_shouldRenderCustomValueOption']()){const _0x33e824=this['_getCustomValueOptionDefinition'](_0x19d34b);_0x1ccc40['add'](_0x33e824);}return _0x1ccc40;}['_getCustomValueOptionDefinition'](_0x227d01){const _0x412287=this['editor'],t=_0x412287['t'],_0x5ca651=_0x412287['commands']['get']('lineHeight'),_0x49e394=_0x227d01['map'](_0x16fc8a=>_0x16fc8a['model']),_0x3f0d0b={'type':'button','model':new _0x545c8f({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x3f0d0b['model']['bind']('commandParam')['to'](_0x5ca651,'value'),_0x3f0d0b['model']['bind']('isOn')['to'](_0x5ca651,'value',_0x2dadc7=>!!_0x2dadc7&&!_0x49e394['includes'](String(_0x2dadc7))),_0x3f0d0b['model']['bind']('label')['to'](_0x5ca651,'value',_0x49e5d8=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x49e5d8))),_0x3f0d0b;}['_registerToolbarComponent']({accessibleLabel:_0x387838,options:_0x33badf}){const _0x2f28d7=this['editor'],_0x2bdd9c=_0x2f28d7['commands']['get']('lineHeight');_0x2f28d7['ui']['componentFactory']['add']('lineHeight',_0x4cb931=>{const _0x185ec2=_0x486471(_0x4cb931);return _0x5a51ef(_0x185ec2,_0x33badf,{'role':'menu','ariaLabel':_0x387838}),_0x185ec2['buttonView']['set']({'label':_0x387838,'tooltip':!0x0,'icon':_0x543147}),_0x185ec2['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x185ec2['bind']('isEnabled')['to'](_0x2bdd9c),this['listenTo'](_0x185ec2,'execute',_0x147dfe=>{_0x2f28d7['execute'](_0x147dfe['source']['commandName'],{'value':_0x147dfe['source']['commandParam']}),_0x2f28d7['editing']['view']['focus']();}),_0x185ec2['once']('change:isOpen',()=>{const _0x772b1d=_0x185ec2['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x185ec2,_0x33badf,_0x772b1d);}),_0x185ec2;});}['_registerMenuBarComponent']({accessibleLabel:_0x29065f,options:_0x5d2141}){const _0x465dce=this['editor'],_0x319a42=_0x465dce['commands']['get']('lineHeight');_0x465dce['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4cb29a=>{const _0x4336af=new _0xa5b852(_0x4cb29a);_0x4336af['buttonView']['set']({'label':_0x29065f,'icon':_0x543147}),_0x4336af['bind']('isEnabled')['to'](_0x319a42);const _0x5e1164=new _0xc02fe4(_0x4cb29a);for(const _0x23417c of _0x5d2141){const _0x5dc72b=new _0x5057d2(_0x4cb29a,_0x4336af),_0x3149a4=new _0x2bb790(_0x4cb29a);_0x3149a4['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x3149a4['bind'](...Object['keys'](_0x23417c['model']))['to'](_0x23417c['model']),_0x3149a4['delegate']('execute')['to'](_0x4336af),_0x3149a4['on']('execute',()=>{_0x465dce['execute'](_0x23417c['model']['commandName'],{'value':_0x23417c['model']['commandParam']}),_0x465dce['editing']['view']['focus']();}),_0x5dc72b['children']['add'](_0x3149a4),_0x5e1164['items']['add'](_0x5dc72b);}return _0x4336af['panelView']['children']['add'](_0x5e1164),this['_attachCustomOptionVisibilityHandler'](_0x4336af,_0x5d2141,_0x5e1164),_0x4336af;});}['_attachCustomOptionVisibilityHandler'](_0x3fb15f,_0x36c09a,_0x4be353){if(!this['_shouldRenderCustomValueOption']())return;const _0x59ffee=()=>{if(!_0x3fb15f['isOpen'])return;_0x4be353['items']['last']['isVisible']=Boolean(_0x36c09a['last']['model']['isOn']);};_0x59ffee(),_0x3fb15f['on']('change:isOpen',()=>{_0x59ffee();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x195c86,_0x42ec93){const _0x2d65d4=_0x3b40,_0x36437a=_0x195c86();while(!![]){try{const _0x399c32=parseInt(_0x2d65d4(0x1f4))/0x1+-parseInt(_0x2d65d4(0x1e5))/0x2+parseInt(_0x2d65d4(0x1e9))/0x3+-parseInt(_0x2d65d4(0x1f3))/0x4+parseInt(_0x2d65d4(0x1e6))/0x5*(parseInt(_0x2d65d4(0x1eb))/0x6)+parseInt(_0x2d65d4(0x1e1))/0x7+-parseInt(_0x2d65d4(0x1e0))/0x8*(parseInt(_0x2d65d4(0x1ef))/0x9);if(_0x399c32===_0x42ec93)break;else _0x36437a['push'](_0x36437a['shift']());}catch(_0x14e5d3){_0x36437a['push'](_0x36437a['shift']());}}}(_0x22a0,0x747e9));const v={get 'single'(){const _0x343baf=_0x3b40;return{'title':_0x343baf(0x1d8),'model':_0x343baf(0x1ed),'view':{'key':_0x343baf(0x1e7),'value':_0x343baf(0x1f0)}};},get 'double'(){const _0x19f911=_0x3b40;return{'title':_0x19f911(0x1e2),'model':_0x19f911(0x1e8),'view':{'key':_0x19f911(0x1e7),'value':_0x19f911(0x1dd)}};}};export function isLineHeightDefaultValue(_0x2730a4){const _0x10c1da=_0x3b40;return _0x10c1da(0x1d7)==typeof _0x2730a4&&_0x10c1da(0x1f2)===_0x2730a4[_0x10c1da(0x1da)]();}export function normalizeOptions(_0x1dc1a1){const _0x41fe53=_0x3b40;return _0x1dc1a1[_0x41fe53(0x1ea)][_0x41fe53(0x1dc)](_0x179148=>isLineHeightDefaultValue(_0x179148)?{'title':String(_0x1dc1a1[_0x41fe53(0x1ee)]),'model':_0x41fe53(0x1f2)}:(_0x41fe53(0x1e4)==typeof _0x179148&&(_0x179148=String(_0x179148)),_0x41fe53(0x1d7)!=typeof _0x179148?_0x179148:parseFloat(_0x179148)?{'title':_0x179148,'model':_0x179148,'view':{'name':_0x41fe53(0x1d9),'styles':{'line-height':_0x179148}}}:findPreset(_0x179148)))[_0x41fe53(0x1f5)](_0x26f290=>void 0x0!==_0x26f290);}function _0x22a0(){const _0x432a51=['9HrnWMh','line-height-single','model','default','1313260VPAVRE','577971VaJLRk','filter','line-height:','key','string','Single','span','toLowerCase','style','map','line-height-double','value','push','11191408XQeJca','5918311cpEsYN','Double','view','number','1636982RvZONi','20905NIiSqr','class','double','2277204eXenHd','options','1206dAejwT','values','single','defaultValue'];_0x22a0=function(){return _0x432a51;};return _0x22a0();}function _0x3b40(_0x4c22cf,_0x301c50){const _0x22a0c0=_0x22a0();return _0x3b40=function(_0x3b408a,_0x119c44){_0x3b408a=_0x3b408a-0x1d6;let _0x386f8b=_0x22a0c0[_0x3b408a];return _0x386f8b;},_0x3b40(_0x4c22cf,_0x301c50);}export function findPreset(_0x273040){const _0x35c7b1=_0x3b40;return _0x35c7b1(0x1d7)==typeof _0x273040?v[_0x273040]:v[_0x273040[_0x35c7b1(0x1f1)]];}export function buildDefinition(_0x189fb8,_0x37e31b){const _0x4f112b=_0x3b40,_0x3e698c={'model':{'key':_0x189fb8,'values':[]},'view':{}};for(const _0x96a131 of _0x37e31b)_0x4f112b(0x1e7)===_0x96a131[_0x4f112b(0x1e3)]?.[_0x4f112b(0x1d6)]?(_0x3e698c[_0x4f112b(0x1f1)][_0x4f112b(0x1ec)][_0x4f112b(0x1df)](_0x96a131[_0x4f112b(0x1f1)]),_0x3e698c[_0x4f112b(0x1e3)][_0x96a131[_0x4f112b(0x1f1)]]={'key':_0x4f112b(0x1e7),'value':_0x96a131[_0x4f112b(0x1e3)][_0x4f112b(0x1de)]}):(_0x3e698c[_0x4f112b(0x1f1)][_0x4f112b(0x1ec)][_0x4f112b(0x1df)](_0x96a131[_0x4f112b(0x1f1)]),_0x3e698c[_0x4f112b(0x1e3)][_0x96a131[_0x4f112b(0x1f1)]]={'key':_0x4f112b(0x1db),'value':_0x4f112b(0x1f6)+_0x96a131[_0x4f112b(0x1f1)]+';'});return _0x3e698c;}
|