@ckeditor/ckeditor5-line-height 0.0.0-nightly-20251015.0 → 0.0.0-nightly-20251016.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/index.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
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x57469d=_0x3407;(function(_0x20e3d8,_0xb339b6){const _0x1bc74b=_0x3407,_0x3e194f=_0x20e3d8();while(!![]){try{const _0x5d2700=parseInt(_0x1bc74b(0xe1))/0x1+parseInt(_0x1bc74b(0xdf))/0x2+-parseInt(_0x1bc74b(0xd8))/0x3*(parseInt(_0x1bc74b(0xd9))/0x4)+parseInt(_0x1bc74b(0xdd))/0x5+-parseInt(_0x1bc74b(0xca))/0x6*(-parseInt(_0x1bc74b(0xda))/0x7)+parseInt(_0x1bc74b(0xcc))/0x8*(-parseInt(_0x1bc74b(0xc6))/0x9)+-parseInt(_0x1bc74b(0xd6))/0xa;if(_0x5d2700===_0xb339b6)break;else _0x3e194f['push'](_0x3e194f['shift']());}catch(_0x2d601d){_0x3e194f['push'](_0x3e194f['shift']());}}}(_0x52e9,0xd61e9));function _0x3407(_0x544ac1,_0x40b357){const _0x52e97d=_0x52e9();return _0x3407=function(_0x34070f,_0x92c710){_0x34070f=_0x34070f-0xc6;let _0x25d063=_0x52e97d[_0x34070f];return _0x25d063;},_0x3407(_0x544ac1,_0x40b357);}import{Command as _0x3fe85a}from'ckeditor5/src/core.js';import{first as _0x105c0e}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x3fe85a{[_0x57469d(0xdb)](){const _0xf5fd3b=_0x57469d,_0x24e2f4=this[_0xf5fd3b(0xe0)][_0xf5fd3b(0xcf)][_0xf5fd3b(0xd0)],_0x384d1a=_0x105c0e(_0x24e2f4[_0xf5fd3b(0xd1)][_0xf5fd3b(0xde)]());this[_0xf5fd3b(0xc9)]=Boolean(_0x384d1a)&&this[_0xf5fd3b(0xe2)](_0x384d1a),this[_0xf5fd3b(0xc7)]=this[_0xf5fd3b(0xc9)]&&_0x384d1a[_0xf5fd3b(0xd4)](_0xf5fd3b(0xd2));}[_0x57469d(0xdc)](_0x1e141e={}){const _0x214f08=_0x57469d,_0x4053a3=this[_0x214f08(0xe0)][_0x214f08(0xcf)],_0x40cc8e=_0x4053a3[_0x214f08(0xd0)][_0x214f08(0xd1)],_0xc75571=_0x1e141e[_0x214f08(0xc7)];_0x4053a3[_0x214f08(0xce)](_0x241698=>{const _0x61cb89=_0x214f08,_0x18af6e=Array[_0x61cb89(0xcb)](_0x40cc8e[_0x61cb89(0xde)]())[_0x61cb89(0xcd)](_0x45cb32=>this[_0x61cb89(0xe2)](_0x45cb32));for(const _0x16f7d2 of _0x18af6e)_0xc75571?_0x241698[_0x61cb89(0xd7)](_0x61cb89(0xd2),_0xc75571,_0x16f7d2):_0x241698[_0x61cb89(0xd3)](_0x61cb89(0xd2),_0x16f7d2);});}[_0x57469d(0xe2)](_0x3223b7){const _0x4c79fc=_0x57469d;return this[_0x4c79fc(0xe0)][_0x4c79fc(0xcf)][_0x4c79fc(0xc8)][_0x4c79fc(0xd5)](_0x3223b7,_0x4c79fc(0xd2));}}function _0x52e9(){const _0x30c99a=['removeAttribute','getAttribute','checkAttribute','157700grJqtt','setAttribute','27492KqEvyw','604MFBccj','2261etANnL','refresh','execute','7965930GePyci','getSelectedBlocks','1504636PEZKHE','editor','620457MLBpOD','_canHaveLineHeight','351LHeLBP','value','schema','isEnabled','11790zFWETy','from','271608umVQcQ','filter','change','model','document','selection','lineHeight'];_0x52e9=function(){return _0x30c99a;};return _0x52e9();}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4f1122=_0x3a74;(function(_0x299cd6,_0x259599){const _0xdf5b2e=_0x3a74,_0x2733ee=_0x299cd6();while(!![]){try{const _0x79099f=-parseInt(_0xdf5b2e(0x213))/0x1+-parseInt(_0xdf5b2e(0x225))/0x2+-parseInt(_0xdf5b2e(0x1f4))/0x3+parseInt(_0xdf5b2e(0x20d))/0x4*(parseInt(_0xdf5b2e(0x224))/0x5)+parseInt(_0xdf5b2e(0x219))/0x6*(parseInt(_0xdf5b2e(0x201))/0x7)+-parseInt(_0xdf5b2e(0x21c))/0x8+parseInt(_0xdf5b2e(0x200))/0x9;if(_0x79099f===_0x259599)break;else _0x2733ee['push'](_0x2733ee['shift']());}catch(_0x264d46){_0x2733ee['push'](_0x2733ee['shift']());}}}(_0x2bd3,0x2e17b));import{Plugin as _0x560268}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x1f815f}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x101f59}from'ckeditor5/src/engine.js';function _0x3a74(_0x534181,_0x198958){const _0x2bd3e0=_0x2bd3();return _0x3a74=function(_0x3a749c,_0xb51db5){_0x3a749c=_0x3a749c-0x1f2;let _0x2dc38c=_0x2bd3e0[_0x3a749c];return _0x2dc38c;},_0x3a74(_0x534181,_0x198958);}import{uid as _0xb77a3b,CKEditorError as _0x234400}from'ckeditor5/src/utils.js';import{buildDefinition as _0x212f7f,isLineHeightDefaultValue as _0x5b41e1,normalizeOptions as _0x52e812}from'./utils.js';function _0x2bd3(){const _0x4ceaa1=['21539ZuFxpL','lineHeight.supportAllValues','_validateConfig','extend','filter','getStyle','isPremiumPlugin','default','isOfficialPlugin','$block','schema','_prepareAnyValueConverters','304676nofFLh','downcast','map','init','setAttributeProperties','conversion','20271guyUxY','line-height-invalid-use-of-named-presets','lineHeight.options','join','includes','get','18AVklWU','attributeToAttribute','add','1322248MehGIw','afterInit','define','for','line-height','fromCharCode','href','config','20yEObnI','300656cirdMH','upcast','LineHeightEditing','model','539826tARnny','string','style','slice','pluginName','length','values','editor','lineHeight.defaultValue','lineHeight','commands','_preparePredefinedConverters','3516390rIlmpO'];_0x2bd3=function(){return _0x4ceaa1;};return _0x2bd3();}export class LineHeightEditing extends _0x560268{static get[_0x4f1122(0x1f8)](){const _0x47b11e=_0x4f1122;return _0x47b11e(0x1f2);}static get[_0x4f1122(0x209)](){return!0x0;}static get[_0x4f1122(0x207)](){return!0x0;}constructor(_0x2ba6a2){const _0x4e3690=_0x4f1122;super(_0x2ba6a2),_0x2ba6a2[_0x4e3690(0x223)][_0x4e3690(0x21e)](_0x4e3690(0x1fd),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4e3690(0x208),0x2,2.5,0x3]});}[_0x4f1122(0x210)](){const _0x1f66ed=_0x4f1122,_0x3780a4=this[_0x1f66ed(0x1fb)];this[_0x1f66ed(0x203)](),_0x3780a4[_0x1f66ed(0x1f3)][_0x1f66ed(0x20b)][_0x1f66ed(0x204)](_0x1f66ed(0x20a),{'allowAttributes':_0x1f66ed(0x1fd)}),_0x3780a4[_0x1f66ed(0x1f3)][_0x1f66ed(0x20b)][_0x1f66ed(0x211)](_0x1f66ed(0x1fd),{'isFormatting':!0x0}),_0x3780a4[_0x1f66ed(0x1fe)][_0x1f66ed(0x21b)](_0x1f66ed(0x1fd),new _0x1f815f(_0x3780a4)),this[_0x1f66ed(0x1fb)][_0x1f66ed(0x223)][_0x1f66ed(0x218)](_0x1f66ed(0x202))?this[_0x1f66ed(0x20c)]():this[_0x1f66ed(0x1ff)]();}[_0x4f1122(0x21d)](){!async function(_0x8711b7){const _0x3c5e96=_0x3fcbd1([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]),_0x2076db=0x45ddd215,_0x29b6ef=0x45daa455^_0x2076db,_0x43fdba=window[_0x3fcbd1([0x44,0x61,0x74,0x65])][_0x3fcbd1([0x6e,0x6f,0x77])](),_0x464f86=_0x8711b7[_0x3fcbd1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x20b20a=new window[(_0x3fcbd1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4dbf6e=>{_0x464f86[_0x3fcbd1([0x6f,0x6e,0x63,0x65])](_0x3fcbd1([0x72,0x65,0x61,0x64,0x79]),_0x4dbf6e);}),_0x4b7936={[_0x3fcbd1([0x6b,0x74,0x79])]:_0x3fcbd1([0x45,0x43]),[_0x3fcbd1([0x75,0x73,0x65])]:_0x3fcbd1([0x73,0x69,0x67]),[_0x3fcbd1([0x63,0x72,0x76])]:_0x3fcbd1([0x50,0x2d,0x32,0x35,0x36]),[_0x3fcbd1([0x78])]:_0x3fcbd1([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]),[_0x3fcbd1([0x79])]:_0x3fcbd1([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]),[_0x3fcbd1([0x61,0x6c,0x67])]:_0x3fcbd1([0x45,0x53,0x32,0x35,0x36])},_0x2b8636=_0x464f86[_0x3fcbd1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3fcbd1([0x67,0x65,0x74])](_0x3fcbd1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xdbe299(){let _0x2d25fa,_0x443486=null,_0x35c751=null;try{if(_0x2b8636==_0x3fcbd1([0x47,0x50,0x4c]))return _0x3fcbd1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2d25fa=_0x3b4bce(),!_0x2d25fa)return _0x3fcbd1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2d25fa[_0x3fcbd1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x35c751=_0x2c7a27(_0x2d25fa[_0x3fcbd1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2d25fa[_0x3fcbd1([0x6a,0x74,0x69])])),await _0x211e41()?_0x26e0bf()?_0x50607d()?_0x3fcbd1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4501f4()?(_0x2d25fa[_0x3fcbd1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fcbd1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x443486=_0x300cfc(_0x3fcbd1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2d25fa[_0x3fcbd1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fcbd1([0x74,0x72,0x69,0x61,0x6c])&&(_0x443486=_0x300cfc(_0x3fcbd1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4fe9ce()):_0x3fcbd1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3fcbd1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3fcbd1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3fcbd1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x50607d(){const _0x35a600=[_0x3fcbd1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3fcbd1([0x74,0x72,0x69,0x61,0x6c])][_0x3fcbd1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d25fa[_0x3fcbd1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x43fdba/0x3e8:0xe10*_0x29b6ef;return _0x2d25fa[_0x3fcbd1([0x65,0x78,0x70])]<_0x35a600;}function _0x26e0bf(){const _0x31ec58=_0x2d25fa[_0x3fcbd1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x31ec58&&(!!_0x31ec58[_0x3fcbd1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fcbd1([0x2a]))||!!_0x31ec58[_0x3fcbd1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fcbd1([0x4c,0x48])));}function _0x4501f4(){const _0x4c9ec8=_0x3a74,_0x171cb4=_0x2d25fa[_0x3fcbd1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x171cb4||0x0==_0x171cb4[_0x3fcbd1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x520d9}=new URL(window[_0x3fcbd1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4c9ec8(0x222)]);if(_0x171cb4[_0x3fcbd1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x520d9))return!0x0;const _0xbca412=_0x520d9[_0x3fcbd1([0x73,0x70,0x6c,0x69,0x74])](_0x3fcbd1([0x2e]));return _0x171cb4[_0x3fcbd1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3db79c=>_0x3db79c[_0x3fcbd1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fcbd1([0x2a])))[_0x3fcbd1([0x6d,0x61,0x70])](_0x59e316=>_0x59e316[_0x3fcbd1([0x73,0x70,0x6c,0x69,0x74])](_0x3fcbd1([0x2e])))[_0x3fcbd1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x340b67=>_0x340b67[_0x3fcbd1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xbca412[_0x3fcbd1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fcbd1([0x6d,0x61,0x70])](_0x48857d=>Array(_0xbca412[_0x3fcbd1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x48857d[_0x3fcbd1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fcbd1([0x66,0x69,0x6c,0x6c])](_0x48857d[0x0]===_0x3fcbd1([0x2a])?_0x3fcbd1([0x2a]):'')[_0x3fcbd1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x48857d))[_0x3fcbd1([0x73,0x6f,0x6d,0x65])](_0x53acec=>_0xbca412[_0x3fcbd1([0x65,0x76,0x65,0x72,0x79])]((_0xe490c6,_0x41eaa9)=>_0x53acec[_0x41eaa9]===_0xe490c6||_0x53acec[_0x41eaa9]===_0x3fcbd1([0x2a])));}function _0x4fe9ce(){return _0x443486&&_0x35c751?new window[(_0x3fcbd1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3298f2,_0x50b9f1)=>{_0x443486[_0x3fcbd1([0x74,0x68,0x65,0x6e])](_0x3298f2,_0x50b9f1),_0x35c751[_0x3fcbd1([0x74,0x68,0x65,0x6e])](_0x33aefe=>{_0x33aefe!=_0x3fcbd1([0x56,0x61,0x6c,0x69,0x64])&&_0x3298f2(_0x33aefe);},_0x50b9f1);}):_0x443486||_0x35c751||_0x3fcbd1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2c7a27(_0x5bfab0,_0x251799){return new window[(_0x3fcbd1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c4566=>{if(_0x5d65d9())return _0x3c4566(_0x3fcbd1([0x56,0x61,0x6c,0x69,0x64]));_0x18f087(),_0x464f86[_0x3fcbd1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3fcbd1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x305344=!0x1;const _0x80ff66=_0xb77a3b();function _0x44aacb(_0x42d6f5){return!!_0x42d6f5&&(typeof _0x42d6f5===_0x3fcbd1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x42d6f5===_0x3fcbd1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x42d6f5[_0x3fcbd1([0x74,0x68,0x65,0x6e])]===_0x3fcbd1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x42d6f5[_0x3fcbd1([0x63,0x61,0x74,0x63,0x68])]===_0x3fcbd1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x45d655(_0x1e4d6d){_0x4108d7(_0x1e4d6d)[_0x3fcbd1([0x74,0x68,0x65,0x6e])](_0x5486c0=>{if(!_0x5486c0||_0x5486c0[_0x3fcbd1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3fcbd1([0x6f,0x6b]))return _0x3fcbd1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4babb9(_0x58fd0f(_0x80ff66+_0x251799))!=_0x5486c0[_0x3fcbd1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3fcbd1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3fcbd1([0x56,0x61,0x6c,0x69,0x64]);})[_0x3fcbd1([0x74,0x68,0x65,0x6e])](_0x565cdc=>(_0x5943ce(),_0x565cdc),()=>{const _0x734458=_0x3bb6fd();return null==_0x734458?(_0x5943ce(),_0x3fcbd1([0x56,0x61,0x6c,0x69,0x64])):_0x3fcbd1(_0x43fdba-_0x734458>(0x61d15615^_0x2076db)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3fcbd1([0x74,0x68,0x65,0x6e])](_0x3c4566)[_0x3fcbd1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3c4566(_0x3fcbd1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xb04ffd=0x45eb3c95^_0x2076db;function _0x5943ce(){const _0x3f21ee=_0x3fcbd1([0x6c,0x6c,0x63,0x74,0x2d])+_0x4babb9(_0x58fd0f(_0x5bfab0)),_0x275b1c=_0x254a4c(_0x4babb9(window[_0x3fcbd1([0x4d,0x61,0x74,0x68])][_0x3fcbd1([0x63,0x65,0x69,0x6c])](_0x43fdba/_0xb04ffd)));window[_0x3fcbd1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fcbd1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f21ee,_0x275b1c);}function _0x3bb6fd(){const _0x4fb1e8=_0x3fcbd1([0x6c,0x6c,0x63,0x74,0x2d])+_0x4babb9(_0x58fd0f(_0x5bfab0)),_0x2f67e1=window[_0x3fcbd1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fcbd1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4fb1e8);return _0x2f67e1?window[_0x3fcbd1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x254a4c(_0x2f67e1),0x10)*_0xb04ffd:null;}function _0x4108d7(_0x36c0a8){return new window[(_0x3fcbd1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x799df0,_0x542c3c)=>{_0x36c0a8[_0x3fcbd1([0x74,0x68,0x65,0x6e])](_0x799df0,_0x542c3c),window[_0x3fcbd1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x542c3c,0x45dc06d5^_0x2076db);});}}_0x464f86[_0x3fcbd1([0x6f,0x6e])](_0x3fcbd1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x542f3c,_0x32c883)=>{if(_0x32c883[0x0]!=_0x5bfab0)return _0x3c4566(_0x3fcbd1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x32c883[0x1]={..._0x32c883[0x1],[_0x3fcbd1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x80ff66};},{[_0x3fcbd1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fcbd1([0x68,0x69,0x67,0x68])}),_0x464f86[_0x3fcbd1([0x6f,0x6e])](_0x3fcbd1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x45fe45=>{_0x44aacb(_0x45fe45[_0x3fcbd1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x305344=!0x0,_0x45d655(_0x45fe45[_0x3fcbd1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3fcbd1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fcbd1([0x6c,0x6f,0x77])}),_0x20b20a[_0x3fcbd1([0x74,0x68,0x65,0x6e])](()=>{_0x305344||_0x3c4566(_0x3fcbd1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d65d9(){return _0x464f86[_0x3fcbd1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fcbd1([0x76,0x69,0x65,0x77])][_0x3fcbd1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3fcbd1([0x61,0x75,0x74,0x6f]);}function _0x18f087(){_0x464f86[_0x3fcbd1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fcbd1([0x76,0x69,0x65,0x77])][_0x3fcbd1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3fcbd1([0x61,0x75,0x74,0x6f]);}}function _0x300cfc(_0x3b1b78){const _0x2b53d2=[new window[(_0x3fcbd1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x284240=>setTimeout(_0x284240,0x45d4ecd9^_0x2076db)),_0x20b20a[_0x3fcbd1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3fcbd1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x561930=>{let _0x3d0646=0x0;_0x464f86[_0x3fcbd1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fcbd1([0x6f,0x6e])](_0x3fcbd1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1333a2,_0x456459)=>{_0x456459[0x0][_0x3fcbd1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3d0646++,_0x3d0646==(0x45ddd3ed^_0x2076db)&&(_0x561930(),_0x1333a2[_0x3fcbd1([0x6f,0x66,0x66])]());});}))];return window[_0x3fcbd1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3fcbd1([0x72,0x61,0x63,0x65])](_0x2b53d2)[_0x3fcbd1([0x74,0x68,0x65,0x6e])](()=>_0x3b1b78);}async function _0x835ac1(){await _0x20b20a,_0x464f86[_0x3fcbd1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fcbd1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xccc93,_0x464f86[_0x3fcbd1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fcbd1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xccc93,_0x464f86[_0x3fcbd1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3fcbd1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5c4982(_0x1720ef){const _0x30abbc=_0x93fc66();_0x464f86[_0x30abbc]=_0x3fcbd1([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1720ef,_0x1720ef!=_0x3fcbd1([0x56,0x61,0x6c,0x69,0x64])&&_0x835ac1();}function _0x93fc66(){const _0x4a4dff=window[_0x3fcbd1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3fcbd1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3fcbd1([0x6e,0x6f,0x77])]())[_0x3fcbd1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3fcbd1([0x2e]),'');let _0x2f7f31=_0x3fcbd1([0x50]);for(let _0x38d7a0=0x0;_0x38d7a0<_0x4a4dff[_0x3fcbd1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38d7a0+=0x2){let _0x591ac6=window[_0x3fcbd1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a4dff[_0x3fcbd1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38d7a0,_0x38d7a0+0x2));_0x591ac6>=_0x3c5e96[_0x3fcbd1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x591ac6-=_0x3c5e96[_0x3fcbd1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f7f31+=_0x3c5e96[_0x591ac6];}return _0x2f7f31;}function _0x3b4bce(){const _0x246f32=_0x2b8636[_0x3fcbd1([0x73,0x70,0x6c,0x69,0x74])](_0x3fcbd1([0x2e]));if(0x3!=_0x246f32[_0x3fcbd1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5c4aaa(_0x246f32[0x1]);function _0x5c4aaa(_0x58bc67){const _0x5eafc8=_0x5595ff(_0x58bc67);return _0x5eafc8&&_0x296ba0()?_0x5eafc8:null;function _0x296ba0(){const _0x2cb3d2=_0x5eafc8[_0x3fcbd1([0x6a,0x74,0x69])],_0x1251b2=window[_0x3fcbd1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cb3d2[_0x3fcbd1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2cb3d2[_0x3fcbd1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xef5f56={..._0x5eafc8,[_0x3fcbd1([0x6a,0x74,0x69])]:_0x2cb3d2[_0x3fcbd1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2cb3d2[_0x3fcbd1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xef5f56[_0x3fcbd1([0x76,0x63])],_0x58fd0f(_0xef5f56)==_0x1251b2;}}}async function _0x211e41(){let _0x51a232=!0x0;try{const _0x516380=_0x2b8636[_0x3fcbd1([0x73,0x70,0x6c,0x69,0x74])](_0x3fcbd1([0x2e])),[_0x867622,_0x4b2b51,_0x1234ac]=_0x516380;return _0x3c1052(_0x867622),await _0x52d363(_0x867622,_0x4b2b51,_0x1234ac),_0x51a232;}catch{return!0x1;}function _0x3c1052(_0x2537cf){const _0x11874a=_0x5595ff(_0x2537cf);_0x11874a&&_0x11874a[_0x3fcbd1([0x61,0x6c,0x67])]==_0x3fcbd1([0x45,0x53,0x32,0x35,0x36])||(_0x51a232=!0x1);}async function _0x52d363(_0x5e4dd3,_0x22b465,_0x212505){const _0x5dfa94=window[_0x3fcbd1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3fcbd1([0x66,0x72,0x6f,0x6d])](_0x237484(_0x212505),_0x369ee=>_0x369ee[_0x3fcbd1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x429976=new window[(_0x3fcbd1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3fcbd1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5e4dd3+_0x3fcbd1([0x2e])+_0x22b465),_0x56b942=window[_0x3fcbd1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3fcbd1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x56b942)return;const _0x2dca60=await _0x56b942[_0x3fcbd1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3fcbd1([0x6a,0x77,0x6b]),_0x4b7936,{[_0x3fcbd1([0x6e,0x61,0x6d,0x65])]:_0x3fcbd1([0x45,0x43,0x44,0x53,0x41]),[_0x3fcbd1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3fcbd1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3fcbd1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x56b942[_0x3fcbd1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3fcbd1([0x6e,0x61,0x6d,0x65])]:_0x3fcbd1([0x45,0x43,0x44,0x53,0x41]),[_0x3fcbd1([0x68,0x61,0x73,0x68])]:{[_0x3fcbd1([0x6e,0x61,0x6d,0x65])]:_0x3fcbd1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2dca60,_0x5dfa94,_0x429976)||(_0x51a232=!0x1);}}function _0x5595ff(_0x386c0d){return _0x386c0d[_0x3fcbd1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3fcbd1([0x65,0x79]))?JSON[_0x3fcbd1([0x70,0x61,0x72,0x73,0x65])](_0x237484(_0x386c0d)):null;}function _0x237484(_0x2305e1){return window[_0x3fcbd1([0x61,0x74,0x6f,0x62])](_0x2305e1[_0x3fcbd1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3fcbd1([0x2b]))[_0x3fcbd1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3fcbd1([0x2f])));}function _0x58fd0f(_0x3c29ba){let _0x1ee4ed=0x1505;function _0xa22288(_0x550bb4){for(let _0x41d595=0x0;_0x41d595<_0x550bb4[_0x3fcbd1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41d595++){const _0x5b5129=_0x550bb4[_0x3fcbd1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x41d595);_0x1ee4ed=(_0x1ee4ed<<0x5)+_0x1ee4ed+_0x5b5129,_0x1ee4ed&=_0x1ee4ed;}}function _0x10be2e(_0x3e6c40){Array[_0x3fcbd1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3e6c40)?_0x3e6c40[_0x3fcbd1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x10be2e):_0x3e6c40&&typeof _0x3e6c40==_0x3fcbd1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3fcbd1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3e6c40)[_0x3fcbd1([0x73,0x6f,0x72,0x74])]()[_0x3fcbd1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4b71cc,_0x935b9c])=>{_0xa22288(_0x4b71cc),_0x10be2e(_0x935b9c);}):_0xa22288(window[_0x3fcbd1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3e6c40));}return _0x10be2e(_0x3c29ba),_0x1ee4ed>>>0x0;}function _0x4babb9(_0x517cc3){return _0x517cc3[_0x3fcbd1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3fcbd1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3fcbd1([0x30]));}function _0x254a4c(_0x39000d){return _0x39000d[_0x3fcbd1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3fcbd1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3fcbd1([0x6a,0x6f,0x69,0x6e])]('');}function _0xccc93(){}function _0x3fcbd1(_0x32f634){const _0x10b437=_0x3a74;return _0x32f634[_0x10b437(0x20f)](_0x21e196=>String[_0x10b437(0x221)](_0x21e196))[_0x10b437(0x216)]('');}_0x5c4982(await _0xdbe299());}(this);}[_0x4f1122(0x203)](){const _0x22f6ee=_0x4f1122,_0x7192e8=this[_0x22f6ee(0x1fb)];if(!_0x7192e8[_0x22f6ee(0x223)][_0x22f6ee(0x218)](_0x22f6ee(0x202)))return;const _0x27ed76=_0x7192e8[_0x22f6ee(0x223)][_0x22f6ee(0x218)](_0x22f6ee(0x215))[_0x22f6ee(0x205)](_0x51fe5e=>_0x22f6ee(0x1f5)==typeof _0x51fe5e&&(!_0x5b41e1(_0x51fe5e)&&isNaN(Number(_0x51fe5e))));if(_0x27ed76[_0x22f6ee(0x1f9)])throw new _0x234400(_0x22f6ee(0x214),null,{'namedPresets':_0x27ed76});}[_0x4f1122(0x20c)](){const _0x3e4a58=_0x4f1122,_0x22a976=this[_0x3e4a58(0x1fb)],_0x26e3bb=this[_0x3e4a58(0x1fb)][_0x3e4a58(0x223)][_0x3e4a58(0x218)](_0x3e4a58(0x1fc));_0x22a976[_0x3e4a58(0x212)][_0x3e4a58(0x21f)](_0x3e4a58(0x20e))[_0x3e4a58(0x21a)]({'model':{'key':_0x3e4a58(0x1fd)},'view':_0x55dfbd=>String(_0x55dfbd)===String(_0x26e3bb)?null:{'key':_0x3e4a58(0x1f6),'value':{'line-height':_0x55dfbd}}}),_0x22a976[_0x3e4a58(0x212)][_0x3e4a58(0x21f)](_0x3e4a58(0x226))[_0x3e4a58(0x21a)]({'model':{'key':_0x3e4a58(0x1fd),'value':_0x23735c=>{const _0x295073=_0x3e4a58;let _0x19215d=_0x23735c[_0x295073(0x206)](_0x295073(0x220));return _0x101f59(_0x19215d)&&(_0x19215d=String(Number(_0x19215d[_0x295073(0x1f7)](0x0,-0x1))/0x64)),String(_0x19215d)===String(_0x26e3bb)?null:_0x19215d;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4f1122(0x1ff)](){const _0x3c9b89=_0x4f1122,_0x1621eb=this[_0x3c9b89(0x1fb)],_0x43651a=this[_0x3c9b89(0x1fb)][_0x3c9b89(0x223)][_0x3c9b89(0x218)](_0x3c9b89(0x1fc)),_0x46d0ef=_0x52e812(this[_0x3c9b89(0x1fb)][_0x3c9b89(0x223)][_0x3c9b89(0x218)](_0x3c9b89(0x1fd)))[_0x3c9b89(0x205)](_0x44cb35=>_0x44cb35[_0x3c9b89(0x1f3)]),_0x280759=_0x212f7f(_0x3c9b89(0x1fd),_0x46d0ef);_0x1621eb[_0x3c9b89(0x212)][_0x3c9b89(0x21a)](_0x280759),_0x1621eb[_0x3c9b89(0x212)][_0x3c9b89(0x21f)](_0x3c9b89(0x226))[_0x3c9b89(0x21a)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x3c9b89(0x1fd),'value':_0x1bc657=>{const _0x12cc94=_0x3c9b89;let _0x12d902=_0x1bc657[_0x12cc94(0x206)](_0x12cc94(0x220));return _0x101f59(_0x12d902)&&(_0x12d902=String(Number(_0x12d902[_0x12cc94(0x1f7)](0x0,-0x1))/0x64)),_0x12d902===String(_0x43651a)?null:_0x280759[_0x12cc94(0x1f3)][_0x12cc94(0x1fa)][_0x12cc94(0x217)](_0x12d902)?_0x12d902:null;}}});}}
|
|
23
|
+
const _0x39d610=_0x1a44;function _0x16bf(){const _0x5ef0b0=['afterInit','config','extend','includes','model','length','add','lineHeight','1671990BVoasI','6040VSkakZ','attributeToAttribute','schema','href','map','slice','getStyle','values','setAttributeProperties','2913251VNIbBp','commands','569465fGquVt','8OOaJbh','style','conversion','line-height-invalid-use-of-named-presets','225051jLlcht','define','line-height','lineHeight.supportAllValues','_validateConfig','editor','2107UPQZyH','lineHeight.options','pluginName','init','9nKIGcj','join','$block','140974DeApFF','isPremiumPlugin','LineHeightEditing','3064044VyBVkK','lineHeight.defaultValue','_prepareAnyValueConverters','upcast','filter','4ozGrlB','isOfficialPlugin','for','get','_preparePredefinedConverters','downcast','default','fromCharCode','6OfWiMa','string'];_0x16bf=function(){return _0x5ef0b0;};return _0x16bf();}(function(_0x346725,_0x155f5b){const _0x380925=_0x1a44,_0x50df84=_0x346725();while(!![]){try{const _0x4aef08=parseInt(_0x380925(0x167))/0x1*(parseInt(_0x380925(0x178))/0x2)+-parseInt(_0x380925(0x16b))/0x3*(-parseInt(_0x380925(0x180))/0x4)+parseInt(_0x380925(0x166))/0x5*(-parseInt(_0x380925(0x150))/0x6)+-parseInt(_0x380925(0x171))/0x7*(parseInt(_0x380925(0x15b))/0x8)+-parseInt(_0x380925(0x175))/0x9*(-parseInt(_0x380925(0x15a))/0xa)+-parseInt(_0x380925(0x164))/0xb+parseInt(_0x380925(0x17b))/0xc;if(_0x4aef08===_0x155f5b)break;else _0x50df84['push'](_0x50df84['shift']());}catch(_0x40cb04){_0x50df84['push'](_0x50df84['shift']());}}}(_0x16bf,0x6f324));function _0x1a44(_0x4db10e,_0x3e4c85){const _0x16bfd8=_0x16bf();return _0x1a44=function(_0x1a447b,_0x43ba05){_0x1a447b=_0x1a447b-0x14b;let _0x136e1a=_0x16bfd8[_0x1a447b];return _0x136e1a;},_0x1a44(_0x4db10e,_0x3e4c85);}import{Plugin as _0x30ef91}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x5c670b}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x331d36}from'ckeditor5/src/engine.js';import{uid as _0x41357d,CKEditorError as _0xdb9fd6}from'ckeditor5/src/utils.js';import{buildDefinition as _0x549365,isLineHeightDefaultValue as _0x281a18,normalizeOptions as _0x26223e}from'./utils.js';export class LineHeightEditing extends _0x30ef91{static get[_0x39d610(0x173)](){const _0x332235=_0x39d610;return _0x332235(0x17a);}static get[_0x39d610(0x181)](){return!0x0;}static get[_0x39d610(0x179)](){return!0x0;}constructor(_0x278326){const _0x5461b7=_0x39d610;super(_0x278326),_0x278326[_0x5461b7(0x153)][_0x5461b7(0x16c)](_0x5461b7(0x159),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x5461b7(0x14e),0x2,2.5,0x3]});}[_0x39d610(0x174)](){const _0x20fc1f=_0x39d610,_0x186a97=this[_0x20fc1f(0x170)];this[_0x20fc1f(0x16f)](),_0x186a97[_0x20fc1f(0x156)][_0x20fc1f(0x15d)][_0x20fc1f(0x154)](_0x20fc1f(0x177),{'allowAttributes':_0x20fc1f(0x159)}),_0x186a97[_0x20fc1f(0x156)][_0x20fc1f(0x15d)][_0x20fc1f(0x163)](_0x20fc1f(0x159),{'isFormatting':!0x0}),_0x186a97[_0x20fc1f(0x165)][_0x20fc1f(0x158)](_0x20fc1f(0x159),new _0x5c670b(_0x186a97)),this[_0x20fc1f(0x170)][_0x20fc1f(0x153)][_0x20fc1f(0x14b)](_0x20fc1f(0x16e))?this[_0x20fc1f(0x17d)]():this[_0x20fc1f(0x14c)]();}[_0x39d610(0x152)](){!async function(_0x1893a0){const _0x55b709=_0x4c2f88([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]),_0x5086d7=0x45ddd215,_0x5f5b75=0x45daa44d^_0x5086d7,_0x5ef24f=window[_0x4c2f88([0x44,0x61,0x74,0x65])][_0x4c2f88([0x6e,0x6f,0x77])](),_0x2868a6=_0x1893a0[_0x4c2f88([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x465b93=new window[(_0x4c2f88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ab38f=>{_0x2868a6[_0x4c2f88([0x6f,0x6e,0x63,0x65])](_0x4c2f88([0x72,0x65,0x61,0x64,0x79]),_0x2ab38f);}),_0x26e622={[_0x4c2f88([0x6b,0x74,0x79])]:_0x4c2f88([0x45,0x43]),[_0x4c2f88([0x75,0x73,0x65])]:_0x4c2f88([0x73,0x69,0x67]),[_0x4c2f88([0x63,0x72,0x76])]:_0x4c2f88([0x50,0x2d,0x32,0x35,0x36]),[_0x4c2f88([0x78])]:_0x4c2f88([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]),[_0x4c2f88([0x79])]:_0x4c2f88([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]),[_0x4c2f88([0x61,0x6c,0x67])]:_0x4c2f88([0x45,0x53,0x32,0x35,0x36])},_0x4764d9=_0x2868a6[_0x4c2f88([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c2f88([0x67,0x65,0x74])](_0x4c2f88([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5cff98(){let _0x4f238d,_0x11edf2=null,_0x2ccb6f=null;try{if(_0x4764d9==_0x4c2f88([0x47,0x50,0x4c]))return _0x4c2f88([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4f238d=_0x4880c6(),!_0x4f238d)return _0x4c2f88([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4f238d[_0x4c2f88([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2ccb6f=_0x26216a(_0x4f238d[_0x4c2f88([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4f238d[_0x4c2f88([0x6a,0x74,0x69])])),await _0x5446a8()?_0x5cb719()?_0x558e9b()?_0x4c2f88([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x424a9b()?(_0x4f238d[_0x4c2f88([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c2f88([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x11edf2=_0x4d6b7e(_0x4c2f88([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4f238d[_0x4c2f88([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c2f88([0x74,0x72,0x69,0x61,0x6c])&&(_0x11edf2=_0x4d6b7e(_0x4c2f88([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x594c41()):_0x4c2f88([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c2f88([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c2f88([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4c2f88([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x558e9b(){const _0x14ad47=[_0x4c2f88([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c2f88([0x74,0x72,0x69,0x61,0x6c])][_0x4c2f88([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f238d[_0x4c2f88([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5ef24f/0x3e8:0xe10*_0x5f5b75;return _0x4f238d[_0x4c2f88([0x65,0x78,0x70])]<_0x14ad47;}function _0x5cb719(){const _0x57297f=_0x4f238d[_0x4c2f88([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x57297f&&(!!_0x57297f[_0x4c2f88([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c2f88([0x2a]))||!!_0x57297f[_0x4c2f88([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c2f88([0x4c,0x48])));}function _0x424a9b(){const _0xfabea0=_0x1a44,_0x51b4a4=_0x4f238d[_0x4c2f88([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x51b4a4||0x0==_0x51b4a4[_0x4c2f88([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x599157}=new URL(window[_0x4c2f88([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xfabea0(0x15e)]);if(_0x51b4a4[_0x4c2f88([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x599157))return!0x0;const _0x46ea82=_0x599157[_0x4c2f88([0x73,0x70,0x6c,0x69,0x74])](_0x4c2f88([0x2e]));return _0x51b4a4[_0x4c2f88([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x67cd45=>_0x67cd45[_0x4c2f88([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c2f88([0x2a])))[_0x4c2f88([0x6d,0x61,0x70])](_0x70be04=>_0x70be04[_0x4c2f88([0x73,0x70,0x6c,0x69,0x74])](_0x4c2f88([0x2e])))[_0x4c2f88([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e35bb=>_0x2e35bb[_0x4c2f88([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x46ea82[_0x4c2f88([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c2f88([0x6d,0x61,0x70])](_0xb79f7c=>Array(_0x46ea82[_0x4c2f88([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xb79f7c[_0x4c2f88([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c2f88([0x66,0x69,0x6c,0x6c])](_0xb79f7c[0x0]===_0x4c2f88([0x2a])?_0x4c2f88([0x2a]):'')[_0x4c2f88([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xb79f7c))[_0x4c2f88([0x73,0x6f,0x6d,0x65])](_0x4f5198=>_0x46ea82[_0x4c2f88([0x65,0x76,0x65,0x72,0x79])]((_0x37e7aa,_0x1c1633)=>_0x4f5198[_0x1c1633]===_0x37e7aa||_0x4f5198[_0x1c1633]===_0x4c2f88([0x2a])));}function _0x594c41(){return _0x11edf2&&_0x2ccb6f?new window[(_0x4c2f88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d4049,_0x1f170c)=>{_0x11edf2[_0x4c2f88([0x74,0x68,0x65,0x6e])](_0x3d4049,_0x1f170c),_0x2ccb6f[_0x4c2f88([0x74,0x68,0x65,0x6e])](_0x3ed0b8=>{_0x3ed0b8!=_0x4c2f88([0x56,0x61,0x6c,0x69,0x64])&&_0x3d4049(_0x3ed0b8);},_0x1f170c);}):_0x11edf2||_0x2ccb6f||_0x4c2f88([0x56,0x61,0x6c,0x69,0x64]);}}function _0x26216a(_0x9b48d9,_0x10a5cd){return new window[(_0x4c2f88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x125495=>{if(_0x389431())return _0x125495(_0x4c2f88([0x56,0x61,0x6c,0x69,0x64]));_0x191743(),_0x2868a6[_0x4c2f88([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c2f88([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2eb6d5=!0x1;const _0x1bccc1=_0x41357d();function _0x3e01c2(_0x2f3f66){return!!_0x2f3f66&&(typeof _0x2f3f66===_0x4c2f88([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2f3f66===_0x4c2f88([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2f3f66[_0x4c2f88([0x74,0x68,0x65,0x6e])]===_0x4c2f88([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2f3f66[_0x4c2f88([0x63,0x61,0x74,0x63,0x68])]===_0x4c2f88([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4acfc9(_0xda67ed){_0x36e519(_0xda67ed)[_0x4c2f88([0x74,0x68,0x65,0x6e])](_0x3f09a8=>{if(!_0x3f09a8||_0x3f09a8[_0x4c2f88([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c2f88([0x6f,0x6b]))return _0x4c2f88([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x31f3f2(_0x89e60f(_0x1bccc1+_0x10a5cd))!=_0x3f09a8[_0x4c2f88([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c2f88([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c2f88([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c2f88([0x74,0x68,0x65,0x6e])](_0x15d159=>(_0x18b93f(),_0x15d159),()=>{const _0x558b7d=_0x138cd4();return null==_0x558b7d?(_0x18b93f(),_0x4c2f88([0x56,0x61,0x6c,0x69,0x64])):_0x4c2f88(_0x5ef24f-_0x558b7d>(0x61d15615^_0x5086d7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c2f88([0x74,0x68,0x65,0x6e])](_0x125495)[_0x4c2f88([0x63,0x61,0x74,0x63,0x68])](()=>{_0x125495(_0x4c2f88([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x448f83=0x45eb3c95^_0x5086d7;function _0x18b93f(){const _0x5b24ab=_0x4c2f88([0x6c,0x6c,0x63,0x74,0x2d])+_0x31f3f2(_0x89e60f(_0x9b48d9)),_0x3724c2=_0x2cf2d7(_0x31f3f2(window[_0x4c2f88([0x4d,0x61,0x74,0x68])][_0x4c2f88([0x63,0x65,0x69,0x6c])](_0x5ef24f/_0x448f83)));window[_0x4c2f88([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c2f88([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b24ab,_0x3724c2);}function _0x138cd4(){const _0x21c267=_0x4c2f88([0x6c,0x6c,0x63,0x74,0x2d])+_0x31f3f2(_0x89e60f(_0x9b48d9)),_0x9699a8=window[_0x4c2f88([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c2f88([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21c267);return _0x9699a8?window[_0x4c2f88([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cf2d7(_0x9699a8),0x10)*_0x448f83:null;}function _0x36e519(_0x538603){return new window[(_0x4c2f88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x450c4f,_0x1b3887)=>{_0x538603[_0x4c2f88([0x74,0x68,0x65,0x6e])](_0x450c4f,_0x1b3887),window[_0x4c2f88([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1b3887,0x45dc06d5^_0x5086d7);});}}_0x2868a6[_0x4c2f88([0x6f,0x6e])](_0x4c2f88([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2d204d,_0x3b7dd3)=>{if(_0x3b7dd3[0x0]!=_0x9b48d9)return _0x125495(_0x4c2f88([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3b7dd3[0x1]={..._0x3b7dd3[0x1],[_0x4c2f88([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1bccc1};},{[_0x4c2f88([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c2f88([0x68,0x69,0x67,0x68])}),_0x2868a6[_0x4c2f88([0x6f,0x6e])](_0x4c2f88([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x199cf8=>{_0x3e01c2(_0x199cf8[_0x4c2f88([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2eb6d5=!0x0,_0x4acfc9(_0x199cf8[_0x4c2f88([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c2f88([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c2f88([0x6c,0x6f,0x77])}),_0x465b93[_0x4c2f88([0x74,0x68,0x65,0x6e])](()=>{_0x2eb6d5||_0x125495(_0x4c2f88([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x389431(){return _0x2868a6[_0x4c2f88([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c2f88([0x76,0x69,0x65,0x77])][_0x4c2f88([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c2f88([0x61,0x75,0x74,0x6f]);}function _0x191743(){_0x2868a6[_0x4c2f88([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c2f88([0x76,0x69,0x65,0x77])][_0x4c2f88([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c2f88([0x61,0x75,0x74,0x6f]);}}function _0x4d6b7e(_0x44898c){const _0x4f973c=[new window[(_0x4c2f88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24b08c=>setTimeout(_0x24b08c,0x45d4ecd9^_0x5086d7)),_0x465b93[_0x4c2f88([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c2f88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b8147=>{let _0x2001c6=0x0;_0x2868a6[_0x4c2f88([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c2f88([0x6f,0x6e])](_0x4c2f88([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x697234,_0x5d15de)=>{_0x5d15de[0x0][_0x4c2f88([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2001c6++,_0x2001c6==(0x45ddd3ed^_0x5086d7)&&(_0x5b8147(),_0x697234[_0x4c2f88([0x6f,0x66,0x66])]());});}))];return window[_0x4c2f88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c2f88([0x72,0x61,0x63,0x65])](_0x4f973c)[_0x4c2f88([0x74,0x68,0x65,0x6e])](()=>_0x44898c);}async function _0x1e6557(){await _0x465b93,_0x2868a6[_0x4c2f88([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c2f88([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5b96ca,_0x2868a6[_0x4c2f88([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c2f88([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5b96ca,_0x2868a6[_0x4c2f88([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c2f88([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1fcd99(_0x3451fa){const _0x11139f=_0x24e439();_0x2868a6[_0x11139f]=_0x4c2f88([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3451fa,_0x3451fa!=_0x4c2f88([0x56,0x61,0x6c,0x69,0x64])&&_0x1e6557();}function _0x24e439(){const _0xac711d=window[_0x4c2f88([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c2f88([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c2f88([0x6e,0x6f,0x77])]())[_0x4c2f88([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c2f88([0x2e]),'');let _0x3fd684=_0x4c2f88([0x50]);for(let _0x4ba154=0x0;_0x4ba154<_0xac711d[_0x4c2f88([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ba154+=0x2){let _0x19f620=window[_0x4c2f88([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xac711d[_0x4c2f88([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ba154,_0x4ba154+0x2));_0x19f620>=_0x55b709[_0x4c2f88([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x19f620-=_0x55b709[_0x4c2f88([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3fd684+=_0x55b709[_0x19f620];}return _0x3fd684;}function _0x4880c6(){const _0xc29ccf=_0x4764d9[_0x4c2f88([0x73,0x70,0x6c,0x69,0x74])](_0x4c2f88([0x2e]));if(0x3!=_0xc29ccf[_0x4c2f88([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x54dd7c(_0xc29ccf[0x1]);function _0x54dd7c(_0x22d12c){const _0x112fc8=_0x53b35f(_0x22d12c);return _0x112fc8&&_0x306448()?_0x112fc8:null;function _0x306448(){const _0x4675d7=_0x112fc8[_0x4c2f88([0x6a,0x74,0x69])],_0x56bbde=window[_0x4c2f88([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4675d7[_0x4c2f88([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4675d7[_0x4c2f88([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4e77af={..._0x112fc8,[_0x4c2f88([0x6a,0x74,0x69])]:_0x4675d7[_0x4c2f88([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4675d7[_0x4c2f88([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4e77af[_0x4c2f88([0x76,0x63])],_0x89e60f(_0x4e77af)==_0x56bbde;}}}async function _0x5446a8(){let _0x5dcdff=!0x0;try{const _0x36081c=_0x4764d9[_0x4c2f88([0x73,0x70,0x6c,0x69,0x74])](_0x4c2f88([0x2e])),[_0x224700,_0xf1216e,_0x455d4f]=_0x36081c;return _0x51d291(_0x224700),await _0x378203(_0x224700,_0xf1216e,_0x455d4f),_0x5dcdff;}catch{return!0x1;}function _0x51d291(_0x15c412){const _0x17a43c=_0x53b35f(_0x15c412);_0x17a43c&&_0x17a43c[_0x4c2f88([0x61,0x6c,0x67])]==_0x4c2f88([0x45,0x53,0x32,0x35,0x36])||(_0x5dcdff=!0x1);}async function _0x378203(_0x58647a,_0x5bb545,_0x61648c){const _0x3eb96d=window[_0x4c2f88([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c2f88([0x66,0x72,0x6f,0x6d])](_0x4f7559(_0x61648c),_0x2655aa=>_0x2655aa[_0x4c2f88([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x51e3e1=new window[(_0x4c2f88([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c2f88([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x58647a+_0x4c2f88([0x2e])+_0x5bb545),_0x21d5d5=window[_0x4c2f88([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c2f88([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x21d5d5)return;const _0x321a93=await _0x21d5d5[_0x4c2f88([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c2f88([0x6a,0x77,0x6b]),_0x26e622,{[_0x4c2f88([0x6e,0x61,0x6d,0x65])]:_0x4c2f88([0x45,0x43,0x44,0x53,0x41]),[_0x4c2f88([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c2f88([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c2f88([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x21d5d5[_0x4c2f88([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c2f88([0x6e,0x61,0x6d,0x65])]:_0x4c2f88([0x45,0x43,0x44,0x53,0x41]),[_0x4c2f88([0x68,0x61,0x73,0x68])]:{[_0x4c2f88([0x6e,0x61,0x6d,0x65])]:_0x4c2f88([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x321a93,_0x3eb96d,_0x51e3e1)||(_0x5dcdff=!0x1);}}function _0x53b35f(_0x155194){return _0x155194[_0x4c2f88([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c2f88([0x65,0x79]))?JSON[_0x4c2f88([0x70,0x61,0x72,0x73,0x65])](_0x4f7559(_0x155194)):null;}function _0x4f7559(_0x14264d){return window[_0x4c2f88([0x61,0x74,0x6f,0x62])](_0x14264d[_0x4c2f88([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c2f88([0x2b]))[_0x4c2f88([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c2f88([0x2f])));}function _0x89e60f(_0x37dd31){let _0x716a65=0x1505;function _0x5e3c9b(_0x27ce0e){for(let _0x309a27=0x0;_0x309a27<_0x27ce0e[_0x4c2f88([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x309a27++){const _0x1547dd=_0x27ce0e[_0x4c2f88([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x309a27);_0x716a65=(_0x716a65<<0x5)+_0x716a65+_0x1547dd,_0x716a65&=_0x716a65;}}function _0x144c6c(_0x420d30){Array[_0x4c2f88([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x420d30)?_0x420d30[_0x4c2f88([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x144c6c):_0x420d30&&typeof _0x420d30==_0x4c2f88([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c2f88([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x420d30)[_0x4c2f88([0x73,0x6f,0x72,0x74])]()[_0x4c2f88([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x85b030,_0x173976])=>{_0x5e3c9b(_0x85b030),_0x144c6c(_0x173976);}):_0x5e3c9b(window[_0x4c2f88([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x420d30));}return _0x144c6c(_0x37dd31),_0x716a65>>>0x0;}function _0x31f3f2(_0x50db78){return _0x50db78[_0x4c2f88([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c2f88([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c2f88([0x30]));}function _0x2cf2d7(_0x345ddb){return _0x345ddb[_0x4c2f88([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c2f88([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c2f88([0x6a,0x6f,0x69,0x6e])]('');}function _0x5b96ca(){}function _0x4c2f88(_0x44b6d3){const _0x3c0d63=_0x1a44;return _0x44b6d3[_0x3c0d63(0x15f)](_0x4a6a74=>String[_0x3c0d63(0x14f)](_0x4a6a74))[_0x3c0d63(0x176)]('');}_0x1fcd99(await _0x5cff98());}(this);}[_0x39d610(0x16f)](){const _0x3939e3=_0x39d610,_0x1e0fac=this[_0x3939e3(0x170)];if(!_0x1e0fac[_0x3939e3(0x153)][_0x3939e3(0x14b)](_0x3939e3(0x16e)))return;const _0x5c1db8=_0x1e0fac[_0x3939e3(0x153)][_0x3939e3(0x14b)](_0x3939e3(0x172))[_0x3939e3(0x17f)](_0x38fd0d=>_0x3939e3(0x151)==typeof _0x38fd0d&&(!_0x281a18(_0x38fd0d)&&isNaN(Number(_0x38fd0d))));if(_0x5c1db8[_0x3939e3(0x157)])throw new _0xdb9fd6(_0x3939e3(0x16a),null,{'namedPresets':_0x5c1db8});}[_0x39d610(0x17d)](){const _0x2dc0cb=_0x39d610,_0x464c6c=this[_0x2dc0cb(0x170)],_0x351c2d=this[_0x2dc0cb(0x170)][_0x2dc0cb(0x153)][_0x2dc0cb(0x14b)](_0x2dc0cb(0x17c));_0x464c6c[_0x2dc0cb(0x169)][_0x2dc0cb(0x182)](_0x2dc0cb(0x14d))[_0x2dc0cb(0x15c)]({'model':{'key':_0x2dc0cb(0x159)},'view':_0x39dcac=>String(_0x39dcac)===String(_0x351c2d)?null:{'key':_0x2dc0cb(0x168),'value':{'line-height':_0x39dcac}}}),_0x464c6c[_0x2dc0cb(0x169)][_0x2dc0cb(0x182)](_0x2dc0cb(0x17e))[_0x2dc0cb(0x15c)]({'model':{'key':_0x2dc0cb(0x159),'value':_0x5d6cea=>{const _0xd70d46=_0x2dc0cb;let _0x16f089=_0x5d6cea[_0xd70d46(0x161)](_0xd70d46(0x16d));return _0x331d36(_0x16f089)&&(_0x16f089=String(Number(_0x16f089[_0xd70d46(0x160)](0x0,-0x1))/0x64)),String(_0x16f089)===String(_0x351c2d)?null:_0x16f089;}},'view':{'styles':{'line-height':/.*/}}});}[_0x39d610(0x14c)](){const _0x2ab1ef=_0x39d610,_0x2111fe=this[_0x2ab1ef(0x170)],_0x506da9=this[_0x2ab1ef(0x170)][_0x2ab1ef(0x153)][_0x2ab1ef(0x14b)](_0x2ab1ef(0x17c)),_0x1e59d5=_0x26223e(this[_0x2ab1ef(0x170)][_0x2ab1ef(0x153)][_0x2ab1ef(0x14b)](_0x2ab1ef(0x159)))[_0x2ab1ef(0x17f)](_0x5317ef=>_0x5317ef[_0x2ab1ef(0x156)]),_0x196245=_0x549365(_0x2ab1ef(0x159),_0x1e59d5);_0x2111fe[_0x2ab1ef(0x169)][_0x2ab1ef(0x15c)](_0x196245),_0x2111fe[_0x2ab1ef(0x169)][_0x2ab1ef(0x182)](_0x2ab1ef(0x17e))[_0x2ab1ef(0x15c)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x2ab1ef(0x159),'value':_0x155d56=>{const _0x5ec171=_0x2ab1ef;let _0x5d6c90=_0x155d56[_0x5ec171(0x161)](_0x5ec171(0x16d));return _0x331d36(_0x5d6c90)&&(_0x5d6c90=String(Number(_0x5d6c90[_0x5ec171(0x160)](0x0,-0x1))/0x64)),_0x5d6c90===String(_0x506da9)?null:_0x196245[_0x5ec171(0x156)][_0x5ec171(0x162)][_0x5ec171(0x155)](_0x5d6c90)?_0x5d6c90:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x58a01d}from'ckeditor5/src/core.js';import{addListToDropdown as _0x4286b7,createDropdown as _0x5c7c87,MenuBarMenuListItemButtonView as _0x53dafa,MenuBarMenuListItemView as _0x4b33a1,MenuBarMenuListView as _0x5d9405,MenuBarMenuView as _0x2e9e94,UIModel as _0x38e066}from'ckeditor5/src/ui.js';import{Collection as _0x182176}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x51b904}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x7f26eb}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x58a01d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2e9848={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x2e9848),this['_registerMenuBarComponent'](_0x2e9848),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x224ca6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x293fa6;for(const _0x26b440 in _0x224ca6){const _0x31eeeb=_0x26b440,_0x4b4245=_0x224ca6[_0x31eeeb];if('lineHeightLicenseKeyValid'==_0x4b4245||'lineHeightLicenseKeyInvalid'==_0x4b4245||'lineHeightLicenseKeyExpired'==_0x4b4245||'lineHeightLicenseKeyDomainLimit'==_0x4b4245||'lineHeightLicenseKeyNotAllowed'==_0x4b4245||'lineHeightLicenseKeyEvaluationLimit'==_0x4b4245||'lineHeightLicenseKeyTrialLimit'==_0x4b4245||'lineHeightLicenseKeyUsageLimit'==_0x4b4245){delete _0x224ca6[_0x31eeeb],_0x293fa6=_0x4b4245,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x293fa6&&_0x224ca6['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x293fa6&&_0x224ca6['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x293fa6&&_0x224ca6['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x293fa6&&_0x224ca6['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x293fa6&&_0x224ca6['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x293fa6&&_0x224ca6['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x293fa6&&_0x224ca6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x5ee57f=this['editor'],t=_0x5ee57f['t'],_0xe3c702=_0x5ee57f['config']['get']('lineHeight'),_0x377738={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x7f26eb(_0xe3c702)['map'](_0x45fc07=>{const _0x23bb29=_0x377738[_0x45fc07['title']];return _0x23bb29&&_0x23bb29!=_0x45fc07['title']&&(_0x45fc07=Object['assign']({},_0x45fc07,{'title':_0x23bb29})),_0x45fc07;});}['_prepareListOptions'](){const _0x2d505d=this['editor']['commands']['get']('lineHeight'),_0x3965cd=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3b1b49=this['_getLocalizedLineHeightOptions'](),_0x7ac4b=new _0x182176(),_0x2eeaf4=_0xae3803=>'default'===_0xae3803||String(_0x3965cd)===_0xae3803;for(const _0x3a2a67 of _0x3b1b49){const _0xce7743={'type':'button','model':new _0x38e066({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x3a2a67['title'],'withText':!0x0})};_0x2eeaf4(_0x3a2a67['model'])?(_0xce7743['model']['bind']('isOn')['to'](_0x2d505d,'value',_0x518dc3=>!_0x518dc3),_0xce7743['model']['commandParam']=void 0x0):(_0xce7743['model']['bind']('isOn')['to'](_0x2d505d,'value',_0x1d1721=>_0x1d1721===_0x3a2a67['model']),_0xce7743['model']['commandParam']=_0x3a2a67['model']),_0x7ac4b['add'](_0xce7743);}if(this['_shouldRenderCustomValueOption']()){const _0x36854b=this['_getCustomValueOptionDefinition'](_0x3b1b49);_0x7ac4b['add'](_0x36854b);}return _0x7ac4b;}['_getCustomValueOptionDefinition'](_0x5c0d58){const _0x463db9=this['editor'],t=_0x463db9['t'],_0x1c709f=_0x463db9['commands']['get']('lineHeight'),_0x13652f=_0x5c0d58['map'](_0x36ab34=>_0x36ab34['model']),_0x1e885d={'type':'button','model':new _0x38e066({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x1e885d['model']['bind']('commandParam')['to'](_0x1c709f,'value'),_0x1e885d['model']['bind']('isOn')['to'](_0x1c709f,'value',_0x5f4694=>!!_0x5f4694&&!_0x13652f['includes'](String(_0x5f4694))),_0x1e885d['model']['bind']('label')['to'](_0x1c709f,'value',_0x5740c6=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x5740c6))),_0x1e885d;}['_registerToolbarComponent']({accessibleLabel:_0x20e622,options:_0x58730a}){const _0xe9ba68=this['editor'],_0x477019=_0xe9ba68['commands']['get']('lineHeight');_0xe9ba68['ui']['componentFactory']['add']('lineHeight',_0x1ff6d2=>{const _0x389005=_0x5c7c87(_0x1ff6d2);return _0x4286b7(_0x389005,_0x58730a,{'role':'menu','ariaLabel':_0x20e622}),_0x389005['buttonView']['set']({'label':_0x20e622,'tooltip':!0x0,'icon':_0x51b904}),_0x389005['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x389005['bind']('isEnabled')['to'](_0x477019),this['listenTo'](_0x389005,'execute',_0x4444ed=>{_0xe9ba68['execute'](_0x4444ed['source']['commandName'],{'value':_0x4444ed['source']['commandParam']}),_0xe9ba68['editing']['view']['focus']();}),_0x389005['once']('change:isOpen',()=>{const _0x4385cc=_0x389005['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x389005,_0x58730a,_0x4385cc);}),_0x389005;});}['_registerMenuBarComponent']({accessibleLabel:_0x723196,options:_0x1c06c3}){const _0x289768=this['editor'],_0x2ba4d8=_0x289768['commands']['get']('lineHeight');_0x289768['ui']['componentFactory']['add']('menuBar:lineHeight',_0xa6225c=>{const _0x451e56=new _0x2e9e94(_0xa6225c);_0x451e56['buttonView']['set']({'label':_0x723196,'icon':_0x51b904}),_0x451e56['bind']('isEnabled')['to'](_0x2ba4d8);const _0x2676a2=new _0x5d9405(_0xa6225c);for(const _0x4eeca3 of _0x1c06c3){const _0x1f1c0f=new _0x4b33a1(_0xa6225c,_0x451e56),_0xca67a4=new _0x53dafa(_0xa6225c);_0xca67a4['set']({'role':'menuitemradio','isToggleable':!0x0}),_0xca67a4['bind'](...Object['keys'](_0x4eeca3['model']))['to'](_0x4eeca3['model']),_0xca67a4['delegate']('execute')['to'](_0x451e56),_0xca67a4['on']('execute',()=>{_0x289768['execute'](_0x4eeca3['model']['commandName'],{'value':_0x4eeca3['model']['commandParam']}),_0x289768['editing']['view']['focus']();}),_0x1f1c0f['children']['add'](_0xca67a4),_0x2676a2['items']['add'](_0x1f1c0f);}return _0x451e56['panelView']['children']['add'](_0x2676a2),this['_attachCustomOptionVisibilityHandler'](_0x451e56,_0x1c06c3,_0x2676a2),_0x451e56;});}['_attachCustomOptionVisibilityHandler'](_0x12387e,_0x6f5609,_0x3ba7e5){if(!this['_shouldRenderCustomValueOption']())return;const _0x40c611=()=>{if(!_0x12387e['isOpen'])return;_0x3ba7e5['items']['last']['isVisible']=Boolean(_0x6f5609['last']['model']['isOn']);};_0x40c611(),_0x12387e['on']('change:isOpen',()=>{_0x40c611();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x16d3ed,_0x15a8b2){const _0x85f73a=_0x3030,_0x4ab6fb=_0x16d3ed();while(!![]){try{const _0x312503=-parseInt(_0x85f73a(0x16d))/0x1*(-parseInt(_0x85f73a(0x172))/0x2)+parseInt(_0x85f73a(0x170))/0x3*(parseInt(_0x85f73a(0x17b))/0x4)+parseInt(_0x85f73a(0x168))/0x5+-parseInt(_0x85f73a(0x179))/0x6+-parseInt(_0x85f73a(0x165))/0x7+parseInt(_0x85f73a(0x173))/0x8+-parseInt(_0x85f73a(0x17e))/0x9*(-parseInt(_0x85f73a(0x171))/0xa);if(_0x312503===_0x15a8b2)break;else _0x4ab6fb['push'](_0x4ab6fb['shift']());}catch(_0x3dd714){_0x4ab6fb['push'](_0x4ab6fb['shift']());}}}(_0x2511,0x1c1cb));const v={get 'single'(){const _0x5d9388=_0x3030;return{'title':_0x5d9388(0x17a),'model':_0x5d9388(0x183),'view':{'key':_0x5d9388(0x17f),'value':_0x5d9388(0x177)}};},get 'double'(){const _0x46b476=_0x3030;return{'title':_0x46b476(0x184),'model':_0x46b476(0x180),'view':{'key':_0x46b476(0x17f),'value':_0x46b476(0x17c)}};}};function _0x2511(){const _0x2b8597=['Double','span','toLowerCase','1036511EkfvjU','default','defaultValue','388780bdRzTR','style','string','push','line-height:','22807RQpSOb','view','value','42495YjfCIm','10kMOVal','2KMRtrn','25800KkdPBG','filter','model','values','line-height-single','number','681726XJqmAl','Single','8VhpGXR','line-height-double','options','2202507bJFwzN','class','double','key','map','single'];_0x2511=function(){return _0x2b8597;};return _0x2511();}function _0x3030(_0x19a1fd,_0x3d27f8){const _0x251107=_0x2511();return _0x3030=function(_0x303072,_0x47abbc){_0x303072=_0x303072-0x163;let _0xa91953=_0x251107[_0x303072];return _0xa91953;},_0x3030(_0x19a1fd,_0x3d27f8);}export function isLineHeightDefaultValue(_0x9cce99){const _0x2d124e=_0x3030;return _0x2d124e(0x16a)==typeof _0x9cce99&&_0x2d124e(0x166)===_0x9cce99[_0x2d124e(0x164)]();}export function normalizeOptions(_0x3a38ec){const _0x41242d=_0x3030;return _0x3a38ec[_0x41242d(0x17d)][_0x41242d(0x182)](_0x2a912b=>isLineHeightDefaultValue(_0x2a912b)?{'title':String(_0x3a38ec[_0x41242d(0x167)]),'model':_0x41242d(0x166)}:(_0x41242d(0x178)==typeof _0x2a912b&&(_0x2a912b=String(_0x2a912b)),_0x41242d(0x16a)!=typeof _0x2a912b?_0x2a912b:parseFloat(_0x2a912b)?{'title':_0x2a912b,'model':_0x2a912b,'view':{'name':_0x41242d(0x163),'styles':{'line-height':_0x2a912b}}}:findPreset(_0x2a912b)))[_0x41242d(0x174)](_0x4bdf2a=>void 0x0!==_0x4bdf2a);}export function findPreset(_0x40386d){const _0x11e541=_0x3030;return _0x11e541(0x16a)==typeof _0x40386d?v[_0x40386d]:v[_0x40386d[_0x11e541(0x175)]];}export function buildDefinition(_0x1aa4bd,_0x186625){const _0x5d5f4b=_0x3030,_0xc7205c={'model':{'key':_0x1aa4bd,'values':[]},'view':{}};for(const _0x1f6a04 of _0x186625)_0x5d5f4b(0x17f)===_0x1f6a04[_0x5d5f4b(0x16e)]?.[_0x5d5f4b(0x181)]?(_0xc7205c[_0x5d5f4b(0x175)][_0x5d5f4b(0x176)][_0x5d5f4b(0x16b)](_0x1f6a04[_0x5d5f4b(0x175)]),_0xc7205c[_0x5d5f4b(0x16e)][_0x1f6a04[_0x5d5f4b(0x175)]]={'key':_0x5d5f4b(0x17f),'value':_0x1f6a04[_0x5d5f4b(0x16e)][_0x5d5f4b(0x16f)]}):(_0xc7205c[_0x5d5f4b(0x175)][_0x5d5f4b(0x176)][_0x5d5f4b(0x16b)](_0x1f6a04[_0x5d5f4b(0x175)]),_0xc7205c[_0x5d5f4b(0x16e)][_0x1f6a04[_0x5d5f4b(0x175)]]={'key':_0x5d5f4b(0x169),'value':_0x5d5f4b(0x16c)+_0x1f6a04[_0x5d5f4b(0x175)]+';'});return _0xc7205c;}
|