@ckeditor/ckeditor5-line-height 47.2.0-alpha.1 → 47.2.0-alpha.3
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
|
-
|
|
23
|
+
const _0x5be3b5=_0x4399;(function(_0x42d0dd,_0x87e76e){const _0x4a0ca8=_0x4399,_0x40a2d5=_0x42d0dd();while(!![]){try{const _0x1d66f2=parseInt(_0x4a0ca8(0xef))/0x1*(-parseInt(_0x4a0ca8(0xea))/0x2)+parseInt(_0x4a0ca8(0xfa))/0x3+parseInt(_0x4a0ca8(0xed))/0x4*(-parseInt(_0x4a0ca8(0xf4))/0x5)+-parseInt(_0x4a0ca8(0xe0))/0x6+parseInt(_0x4a0ca8(0xf1))/0x7+-parseInt(_0x4a0ca8(0xe8))/0x8*(parseInt(_0x4a0ca8(0xeb))/0x9)+parseInt(_0x4a0ca8(0xf9))/0xa;if(_0x1d66f2===_0x87e76e)break;else _0x40a2d5['push'](_0x40a2d5['shift']());}catch(_0x4d2f41){_0x40a2d5['push'](_0x40a2d5['shift']());}}}(_0x2aaa,0x34128));function _0x4399(_0x321a87,_0x480ff8){const _0x2aaa38=_0x2aaa();return _0x4399=function(_0x439959,_0x3aef1d){_0x439959=_0x439959-0xdf;let _0x269ccd=_0x2aaa38[_0x439959];return _0x269ccd;},_0x4399(_0x321a87,_0x480ff8);}import{Command as _0x59d782}from'ckeditor5/src/core.js';import{first as _0x1f9d1c}from'ckeditor5/src/utils.js';function _0x2aaa(){const _0x4317ec=['5608PJaKuf','_canHaveLineHeight','8290MbCxpY','1035IEbUiw','model','232qumyOv','getSelectedBlocks','38dyqjBJ','filter','1741908haYmOl','getAttribute','checkAttribute','14285fpItuc','setAttribute','selection','change','document','1743880iLHusX','1270650aSHZro','execute','from','1377978bYJAcn','removeAttribute','lineHeight','schema','isEnabled','value','editor','refresh'];_0x2aaa=function(){return _0x4317ec;};return _0x2aaa();}export class LineHeightCommand extends _0x59d782{[_0x5be3b5(0xe7)](){const _0x331af9=_0x5be3b5,_0xc65c63=this[_0x331af9(0xe6)][_0x331af9(0xec)][_0x331af9(0xf8)],_0x3f3a4e=_0x1f9d1c(_0xc65c63[_0x331af9(0xf6)][_0x331af9(0xee)]());this[_0x331af9(0xe4)]=Boolean(_0x3f3a4e)&&this[_0x331af9(0xe9)](_0x3f3a4e),this[_0x331af9(0xe5)]=this[_0x331af9(0xe4)]&&_0x3f3a4e[_0x331af9(0xf2)](_0x331af9(0xe2));}[_0x5be3b5(0xfb)](_0x28ce8e={}){const _0x10057c=_0x5be3b5,_0x58dad2=this[_0x10057c(0xe6)][_0x10057c(0xec)],_0xc5021d=_0x58dad2[_0x10057c(0xf8)][_0x10057c(0xf6)],_0x11a02e=_0x28ce8e[_0x10057c(0xe5)];_0x58dad2[_0x10057c(0xf7)](_0x4ba518=>{const _0x2b47cb=_0x10057c,_0x4983e4=Array[_0x2b47cb(0xdf)](_0xc5021d[_0x2b47cb(0xee)]())[_0x2b47cb(0xf0)](_0x212470=>this[_0x2b47cb(0xe9)](_0x212470));for(const _0x303f54 of _0x4983e4)_0x11a02e?_0x4ba518[_0x2b47cb(0xf5)](_0x2b47cb(0xe2),_0x11a02e,_0x303f54):_0x4ba518[_0x2b47cb(0xe1)](_0x2b47cb(0xe2),_0x303f54);});}[_0x5be3b5(0xe9)](_0x3fe85a){const _0x55d629=_0x5be3b5;return this[_0x55d629(0xe6)][_0x55d629(0xec)][_0x55d629(0xe3)][_0x55d629(0xf3)](_0x3fe85a,_0x55d629(0xe2));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x447ffd=_0x4768;(function(_0x23ef74,_0x294686){const _0x5da0d1=_0x4768,_0x10b5c5=_0x23ef74();while(!![]){try{const _0x14f47c=-parseInt(_0x5da0d1(0x141))/0x1+-parseInt(_0x5da0d1(0x16a))/0x2*(-parseInt(_0x5da0d1(0x14c))/0x3)+parseInt(_0x5da0d1(0x147))/0x4+-parseInt(_0x5da0d1(0x15e))/0x5*(-parseInt(_0x5da0d1(0x16c))/0x6)+parseInt(_0x5da0d1(0x140))/0x7*(parseInt(_0x5da0d1(0x152))/0x8)+-parseInt(_0x5da0d1(0x169))/0x9*(parseInt(_0x5da0d1(0x148))/0xa)+-parseInt(_0x5da0d1(0x15c))/0xb;if(_0x14f47c===_0x294686)break;else _0x10b5c5['push'](_0x10b5c5['shift']());}catch(_0x1acd90){_0x10b5c5['push'](_0x10b5c5['shift']());}}}(_0x29b2,0x44a54));function _0x29b2(){const _0x725409=['lineHeight.defaultValue','includes','upcast','1874781MAIeBQ','54814VkbEfE','for','12MeDrtE','filter','slice','init','pluginName','get','style','_preparePredefinedConverters','length','downcast','href','2177eOfpPZ','414849VOqKAf','_prepareAnyValueConverters','schema','string','config','default','2100668wsoqbv','20rDjkmN','fromCharCode','$block','line-height','27DgaZua','isPremiumPlugin','values','join','add','getStyle','9312xoRcdQ','define','setAttributeProperties','map','attributeToAttribute','_validateConfig','line-height-invalid-use-of-named-presets','model','isOfficialPlugin','afterInit','4014219LjoFOL','editor','859335urGtKh','lineHeight.options','commands','lineHeight','extend','lineHeight.supportAllValues','LineHeightEditing','conversion'];_0x29b2=function(){return _0x725409;};return _0x29b2();}function _0x4768(_0xb896a1,_0x2d584f){const _0x29b255=_0x29b2();return _0x4768=function(_0x476835,_0x92a73e){_0x476835=_0x476835-0x13e;let _0x33c0f7=_0x29b255[_0x476835];return _0x33c0f7;},_0x4768(_0xb896a1,_0x2d584f);}import{Plugin as _0x18a678}from'ckeditor5/src/core.js';import{LineHeightCommand as _0xc01e2}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4c5cf3}from'ckeditor5/src/engine.js';import{uid as _0x27b565,CKEditorError as _0x686176}from'ckeditor5/src/utils.js';import{buildDefinition as _0x3869af,isLineHeightDefaultValue as _0x540710,normalizeOptions as _0xd499e3}from'./utils.js';export class LineHeightEditing extends _0x18a678{static get[_0x447ffd(0x170)](){const _0x249341=_0x447ffd;return _0x249341(0x164);}static get[_0x447ffd(0x15a)](){return!0x0;}static get[_0x447ffd(0x14d)](){return!0x0;}constructor(_0x3b7971){const _0x4a5bc5=_0x447ffd;super(_0x3b7971),_0x3b7971[_0x4a5bc5(0x145)][_0x4a5bc5(0x153)](_0x4a5bc5(0x161),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4a5bc5(0x146),0x2,2.5,0x3]});}[_0x447ffd(0x16f)](){const _0xf8eeca=_0x447ffd,_0x46776c=this[_0xf8eeca(0x15d)];this[_0xf8eeca(0x157)](),_0x46776c[_0xf8eeca(0x159)][_0xf8eeca(0x143)][_0xf8eeca(0x162)](_0xf8eeca(0x14a),{'allowAttributes':_0xf8eeca(0x161)}),_0x46776c[_0xf8eeca(0x159)][_0xf8eeca(0x143)][_0xf8eeca(0x154)](_0xf8eeca(0x161),{'isFormatting':!0x0}),_0x46776c[_0xf8eeca(0x160)][_0xf8eeca(0x150)](_0xf8eeca(0x161),new _0xc01e2(_0x46776c)),this[_0xf8eeca(0x15d)][_0xf8eeca(0x145)][_0xf8eeca(0x171)](_0xf8eeca(0x163))?this[_0xf8eeca(0x142)]():this[_0xf8eeca(0x173)]();}[_0x447ffd(0x15b)](){!async function(_0x1280d7){const _0x3f0c05=_0x3189f5([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]),_0x7be333=0x45ddd215,_0x13e2ca=0x45daa5bd^_0x7be333,_0x41e076=window[_0x3189f5([0x44,0x61,0x74,0x65])][_0x3189f5([0x6e,0x6f,0x77])](),_0x2b95c5=_0x1280d7[_0x3189f5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4fed83=new window[(_0x3189f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56d0fd=>{_0x2b95c5[_0x3189f5([0x6f,0x6e,0x63,0x65])](_0x3189f5([0x72,0x65,0x61,0x64,0x79]),_0x56d0fd);}),_0x2753ae={[_0x3189f5([0x6b,0x74,0x79])]:_0x3189f5([0x45,0x43]),[_0x3189f5([0x75,0x73,0x65])]:_0x3189f5([0x73,0x69,0x67]),[_0x3189f5([0x63,0x72,0x76])]:_0x3189f5([0x50,0x2d,0x32,0x35,0x36]),[_0x3189f5([0x78])]:_0x3189f5([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]),[_0x3189f5([0x79])]:_0x3189f5([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]),[_0x3189f5([0x61,0x6c,0x67])]:_0x3189f5([0x45,0x53,0x32,0x35,0x36])},_0x217347=_0x2b95c5[_0x3189f5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3189f5([0x67,0x65,0x74])](_0x3189f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x588e3c(){let _0x1d6bf8,_0x4e3497=null,_0x837447=null;try{if(_0x217347==_0x3189f5([0x47,0x50,0x4c]))return _0x3189f5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1d6bf8=_0x36bedd(),!_0x1d6bf8)return _0x3189f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1d6bf8[_0x3189f5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x837447=_0x5d218d(_0x1d6bf8[_0x3189f5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1d6bf8[_0x3189f5([0x6a,0x74,0x69])])),await _0x1e8037()?_0x1161d2()?_0x3508c9()?_0x3189f5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x572313()?(_0x1d6bf8[_0x3189f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3189f5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4e3497=_0x4f2a4e(_0x3189f5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1d6bf8[_0x3189f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3189f5([0x74,0x72,0x69,0x61,0x6c])&&(_0x4e3497=_0x4f2a4e(_0x3189f5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x317d24()):_0x3189f5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3189f5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3189f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3189f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3508c9(){const _0x10a393=[_0x3189f5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3189f5([0x74,0x72,0x69,0x61,0x6c])][_0x3189f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d6bf8[_0x3189f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41e076/0x3e8:0xe10*_0x13e2ca;return _0x1d6bf8[_0x3189f5([0x65,0x78,0x70])]<_0x10a393;}function _0x1161d2(){const _0x566c1e=_0x1d6bf8[_0x3189f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x566c1e&&(!!_0x566c1e[_0x3189f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3189f5([0x2a]))||!!_0x566c1e[_0x3189f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3189f5([0x4c,0x48])));}function _0x572313(){const _0x402ff0=_0x4768,_0x4ea2c8=_0x1d6bf8[_0x3189f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4ea2c8||0x0==_0x4ea2c8[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4986d4}=new URL(window[_0x3189f5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x402ff0(0x13f)]);if(_0x4ea2c8[_0x3189f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4986d4))return!0x0;const _0x28d003=_0x4986d4[_0x3189f5([0x73,0x70,0x6c,0x69,0x74])](_0x3189f5([0x2e]));return _0x4ea2c8[_0x3189f5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x119557=>_0x119557[_0x3189f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3189f5([0x2a])))[_0x3189f5([0x6d,0x61,0x70])](_0x26c740=>_0x26c740[_0x3189f5([0x73,0x70,0x6c,0x69,0x74])](_0x3189f5([0x2e])))[_0x3189f5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x41cd65=>_0x41cd65[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x28d003[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3189f5([0x6d,0x61,0x70])](_0x8704ce=>Array(_0x28d003[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x8704ce[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3189f5([0x66,0x69,0x6c,0x6c])](_0x8704ce[0x0]===_0x3189f5([0x2a])?_0x3189f5([0x2a]):'')[_0x3189f5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x8704ce))[_0x3189f5([0x73,0x6f,0x6d,0x65])](_0x373b2c=>_0x28d003[_0x3189f5([0x65,0x76,0x65,0x72,0x79])]((_0x4797e2,_0x125a8f)=>_0x373b2c[_0x125a8f]===_0x4797e2||_0x373b2c[_0x125a8f]===_0x3189f5([0x2a])));}function _0x317d24(){return _0x4e3497&&_0x837447?new window[(_0x3189f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4faf86,_0x1ec22a)=>{_0x4e3497[_0x3189f5([0x74,0x68,0x65,0x6e])](_0x4faf86,_0x1ec22a),_0x837447[_0x3189f5([0x74,0x68,0x65,0x6e])](_0x132dde=>{_0x132dde!=_0x3189f5([0x56,0x61,0x6c,0x69,0x64])&&_0x4faf86(_0x132dde);},_0x1ec22a);}):_0x4e3497||_0x837447||_0x3189f5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d218d(_0xbff899,_0x16cf80){return new window[(_0x3189f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9835d9=>{if(_0x46f07a())return _0x9835d9(_0x3189f5([0x56,0x61,0x6c,0x69,0x64]));_0x78c91c(),_0x2b95c5[_0x3189f5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3189f5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3a6882=!0x1;const _0x34e817=_0x27b565();function _0x1d6b8d(_0x13693f){return!!_0x13693f&&(typeof _0x13693f===_0x3189f5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x13693f===_0x3189f5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x13693f[_0x3189f5([0x74,0x68,0x65,0x6e])]===_0x3189f5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x13693f[_0x3189f5([0x63,0x61,0x74,0x63,0x68])]===_0x3189f5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2ce9c3(_0x5bde61){_0xfb5127(_0x5bde61)[_0x3189f5([0x74,0x68,0x65,0x6e])](_0x20e91c=>{if(!_0x20e91c||_0x20e91c[_0x3189f5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3189f5([0x6f,0x6b]))return _0x3189f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x32a4b3(_0x55fb83(_0x34e817+_0x16cf80))!=_0x20e91c[_0x3189f5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3189f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3189f5([0x56,0x61,0x6c,0x69,0x64]);})[_0x3189f5([0x74,0x68,0x65,0x6e])](_0x1a531b=>(_0x5d803b(),_0x1a531b),()=>{const _0xa79cf4=_0x291c03();return null==_0xa79cf4?(_0x5d803b(),_0x3189f5([0x56,0x61,0x6c,0x69,0x64])):_0x3189f5(_0x41e076-_0xa79cf4>(0x61d15615^_0x7be333)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3189f5([0x74,0x68,0x65,0x6e])](_0x9835d9)[_0x3189f5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x9835d9(_0x3189f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x226b09=0x45eb3c95^_0x7be333;function _0x5d803b(){const _0x288ac5=_0x3189f5([0x6c,0x6c,0x63,0x74,0x2d])+_0x32a4b3(_0x55fb83(_0xbff899)),_0x13f16f=_0x56ced5(_0x32a4b3(window[_0x3189f5([0x4d,0x61,0x74,0x68])][_0x3189f5([0x63,0x65,0x69,0x6c])](_0x41e076/_0x226b09)));window[_0x3189f5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3189f5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x288ac5,_0x13f16f);}function _0x291c03(){const _0x2aabea=_0x3189f5([0x6c,0x6c,0x63,0x74,0x2d])+_0x32a4b3(_0x55fb83(_0xbff899)),_0x12f34e=window[_0x3189f5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3189f5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2aabea);return _0x12f34e?window[_0x3189f5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56ced5(_0x12f34e),0x10)*_0x226b09:null;}function _0xfb5127(_0x469440){return new window[(_0x3189f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9865e5,_0x2dffef)=>{_0x469440[_0x3189f5([0x74,0x68,0x65,0x6e])](_0x9865e5,_0x2dffef),window[_0x3189f5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2dffef,0x45dc06d5^_0x7be333);});}}_0x2b95c5[_0x3189f5([0x6f,0x6e])](_0x3189f5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x125a4d,_0x52452e)=>{if(_0x52452e[0x0]!=_0xbff899)return _0x9835d9(_0x3189f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x52452e[0x1]={..._0x52452e[0x1],[_0x3189f5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x34e817};},{[_0x3189f5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3189f5([0x68,0x69,0x67,0x68])}),_0x2b95c5[_0x3189f5([0x6f,0x6e])](_0x3189f5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d65d2=>{_0x1d6b8d(_0x5d65d2[_0x3189f5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3a6882=!0x0,_0x2ce9c3(_0x5d65d2[_0x3189f5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3189f5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3189f5([0x6c,0x6f,0x77])}),_0x4fed83[_0x3189f5([0x74,0x68,0x65,0x6e])](()=>{_0x3a6882||_0x9835d9(_0x3189f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x46f07a(){return _0x2b95c5[_0x3189f5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3189f5([0x76,0x69,0x65,0x77])][_0x3189f5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3189f5([0x61,0x75,0x74,0x6f]);}function _0x78c91c(){_0x2b95c5[_0x3189f5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3189f5([0x76,0x69,0x65,0x77])][_0x3189f5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3189f5([0x61,0x75,0x74,0x6f]);}}function _0x4f2a4e(_0x3ebd54){const _0x4e0bfd=[new window[(_0x3189f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bc451=>setTimeout(_0x2bc451,0x45d4ecd9^_0x7be333)),_0x4fed83[_0x3189f5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3189f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d3a09=>{let _0x5704dc=0x0;_0x2b95c5[_0x3189f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x3189f5([0x6f,0x6e])](_0x3189f5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x59d355,_0x44ef59)=>{_0x44ef59[0x0][_0x3189f5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5704dc++,_0x5704dc==(0x45ddd3ed^_0x7be333)&&(_0x1d3a09(),_0x59d355[_0x3189f5([0x6f,0x66,0x66])]());});}))];return window[_0x3189f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3189f5([0x72,0x61,0x63,0x65])](_0x4e0bfd)[_0x3189f5([0x74,0x68,0x65,0x6e])](()=>_0x3ebd54);}async function _0x4c0a89(){await _0x4fed83,_0x2b95c5[_0x3189f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x3189f5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4e0b01,_0x2b95c5[_0x3189f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x3189f5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4e0b01,_0x2b95c5[_0x3189f5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3189f5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x481628(_0x28f1f0){const _0x536587=_0x4edef8();_0x2b95c5[_0x536587]=_0x3189f5([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x28f1f0,_0x28f1f0!=_0x3189f5([0x56,0x61,0x6c,0x69,0x64])&&_0x4c0a89();}function _0x4edef8(){const _0x43e70d=window[_0x3189f5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3189f5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3189f5([0x6e,0x6f,0x77])]())[_0x3189f5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3189f5([0x2e]),'');let _0x248884=_0x3189f5([0x50]);for(let _0x15ffa3=0x0;_0x15ffa3<_0x43e70d[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15ffa3+=0x2){let _0x4bd994=window[_0x3189f5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43e70d[_0x3189f5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15ffa3,_0x15ffa3+0x2));_0x4bd994>=_0x3f0c05[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4bd994-=_0x3f0c05[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x248884+=_0x3f0c05[_0x4bd994];}return _0x248884;}function _0x36bedd(){const _0x49b286=_0x217347[_0x3189f5([0x73,0x70,0x6c,0x69,0x74])](_0x3189f5([0x2e]));if(0x3!=_0x49b286[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x223d6c(_0x49b286[0x1]);function _0x223d6c(_0x3967d0){const _0x50f03b=_0x483455(_0x3967d0);return _0x50f03b&&_0x511c68()?_0x50f03b:null;function _0x511c68(){const _0xfabef7=_0x50f03b[_0x3189f5([0x6a,0x74,0x69])],_0x32b0ad=window[_0x3189f5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfabef7[_0x3189f5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xfabef7[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x30d730={..._0x50f03b,[_0x3189f5([0x6a,0x74,0x69])]:_0xfabef7[_0x3189f5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xfabef7[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x30d730[_0x3189f5([0x76,0x63])],_0x55fb83(_0x30d730)==_0x32b0ad;}}}async function _0x1e8037(){let _0x36e139=!0x0;try{const _0x55f265=_0x217347[_0x3189f5([0x73,0x70,0x6c,0x69,0x74])](_0x3189f5([0x2e])),[_0x5de19e,_0x467d3c,_0x12585d]=_0x55f265;return _0x41143c(_0x5de19e),await _0x3cc6b0(_0x5de19e,_0x467d3c,_0x12585d),_0x36e139;}catch{return!0x1;}function _0x41143c(_0x101154){const _0x3fbc97=_0x483455(_0x101154);_0x3fbc97&&_0x3fbc97[_0x3189f5([0x61,0x6c,0x67])]==_0x3189f5([0x45,0x53,0x32,0x35,0x36])||(_0x36e139=!0x1);}async function _0x3cc6b0(_0x11cd20,_0x41d04b,_0x1f7ef2){const _0x2d002e=window[_0x3189f5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3189f5([0x66,0x72,0x6f,0x6d])](_0x1a4325(_0x1f7ef2),_0x67ae0c=>_0x67ae0c[_0x3189f5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x275c3b=new window[(_0x3189f5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3189f5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x11cd20+_0x3189f5([0x2e])+_0x41d04b),_0x581272=window[_0x3189f5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3189f5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x581272)return;const _0x1fcfd2=await _0x581272[_0x3189f5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3189f5([0x6a,0x77,0x6b]),_0x2753ae,{[_0x3189f5([0x6e,0x61,0x6d,0x65])]:_0x3189f5([0x45,0x43,0x44,0x53,0x41]),[_0x3189f5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3189f5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3189f5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x581272[_0x3189f5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3189f5([0x6e,0x61,0x6d,0x65])]:_0x3189f5([0x45,0x43,0x44,0x53,0x41]),[_0x3189f5([0x68,0x61,0x73,0x68])]:{[_0x3189f5([0x6e,0x61,0x6d,0x65])]:_0x3189f5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1fcfd2,_0x2d002e,_0x275c3b)||(_0x36e139=!0x1);}}function _0x483455(_0x31afda){return _0x31afda[_0x3189f5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3189f5([0x65,0x79]))?JSON[_0x3189f5([0x70,0x61,0x72,0x73,0x65])](_0x1a4325(_0x31afda)):null;}function _0x1a4325(_0x3db921){return window[_0x3189f5([0x61,0x74,0x6f,0x62])](_0x3db921[_0x3189f5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3189f5([0x2b]))[_0x3189f5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3189f5([0x2f])));}function _0x55fb83(_0x204205){let _0x17e796=0x1505;function _0x5b22ea(_0x425ac2){for(let _0x1f5bad=0x0;_0x1f5bad<_0x425ac2[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f5bad++){const _0x3993f6=_0x425ac2[_0x3189f5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f5bad);_0x17e796=(_0x17e796<<0x5)+_0x17e796+_0x3993f6,_0x17e796&=_0x17e796;}}function _0x38f685(_0x52d563){Array[_0x3189f5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52d563)?_0x52d563[_0x3189f5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x38f685):_0x52d563&&typeof _0x52d563==_0x3189f5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3189f5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52d563)[_0x3189f5([0x73,0x6f,0x72,0x74])]()[_0x3189f5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x8bfd2a,_0x4e5c56])=>{_0x5b22ea(_0x8bfd2a),_0x38f685(_0x4e5c56);}):_0x5b22ea(window[_0x3189f5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52d563));}return _0x38f685(_0x204205),_0x17e796>>>0x0;}function _0x32a4b3(_0x5876a6){return _0x5876a6[_0x3189f5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3189f5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3189f5([0x30]));}function _0x56ced5(_0xded04a){return _0xded04a[_0x3189f5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3189f5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3189f5([0x6a,0x6f,0x69,0x6e])]('');}function _0x4e0b01(){}function _0x3189f5(_0x3c7856){const _0x5eeeb0=_0x4768;return _0x3c7856[_0x5eeeb0(0x155)](_0x30b7e0=>String[_0x5eeeb0(0x149)](_0x30b7e0))[_0x5eeeb0(0x14f)]('');}_0x481628(await _0x588e3c());}(this);}[_0x447ffd(0x157)](){const _0x284d2c=_0x447ffd,_0x13c030=this[_0x284d2c(0x15d)];if(!_0x13c030[_0x284d2c(0x145)][_0x284d2c(0x171)](_0x284d2c(0x163)))return;const _0x1a72ee=_0x13c030[_0x284d2c(0x145)][_0x284d2c(0x171)](_0x284d2c(0x15f))[_0x284d2c(0x16d)](_0x5528d7=>_0x284d2c(0x144)==typeof _0x5528d7&&(!_0x540710(_0x5528d7)&&isNaN(Number(_0x5528d7))));if(_0x1a72ee[_0x284d2c(0x174)])throw new _0x686176(_0x284d2c(0x158),null,{'namedPresets':_0x1a72ee});}[_0x447ffd(0x142)](){const _0x36c4a0=_0x447ffd,_0x38f867=this[_0x36c4a0(0x15d)],_0x5a0f48=this[_0x36c4a0(0x15d)][_0x36c4a0(0x145)][_0x36c4a0(0x171)](_0x36c4a0(0x166));_0x38f867[_0x36c4a0(0x165)][_0x36c4a0(0x16b)](_0x36c4a0(0x13e))[_0x36c4a0(0x156)]({'model':{'key':_0x36c4a0(0x161)},'view':_0x1060bc=>String(_0x1060bc)===String(_0x5a0f48)?null:{'key':_0x36c4a0(0x172),'value':{'line-height':_0x1060bc}}}),_0x38f867[_0x36c4a0(0x165)][_0x36c4a0(0x16b)](_0x36c4a0(0x168))[_0x36c4a0(0x156)]({'model':{'key':_0x36c4a0(0x161),'value':_0x38ba83=>{const _0x4650ae=_0x36c4a0;let _0x56631e=_0x38ba83[_0x4650ae(0x151)](_0x4650ae(0x14b));return _0x4c5cf3(_0x56631e)&&(_0x56631e=String(Number(_0x56631e[_0x4650ae(0x16e)](0x0,-0x1))/0x64)),String(_0x56631e)===String(_0x5a0f48)?null:_0x56631e;}},'view':{'styles':{'line-height':/.*/}}});}[_0x447ffd(0x173)](){const _0xe2078f=_0x447ffd,_0x399eb0=this[_0xe2078f(0x15d)],_0x280583=this[_0xe2078f(0x15d)][_0xe2078f(0x145)][_0xe2078f(0x171)](_0xe2078f(0x166)),_0x1fc990=_0xd499e3(this[_0xe2078f(0x15d)][_0xe2078f(0x145)][_0xe2078f(0x171)](_0xe2078f(0x161)))[_0xe2078f(0x16d)](_0x4ecd5f=>_0x4ecd5f[_0xe2078f(0x159)]),_0x4c315b=_0x3869af(_0xe2078f(0x161),_0x1fc990);_0x399eb0[_0xe2078f(0x165)][_0xe2078f(0x156)](_0x4c315b),_0x399eb0[_0xe2078f(0x165)][_0xe2078f(0x16b)](_0xe2078f(0x168))[_0xe2078f(0x156)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0xe2078f(0x161),'value':_0x27c900=>{const _0x36bfcc=_0xe2078f;let _0x5e1ff6=_0x27c900[_0x36bfcc(0x151)](_0x36bfcc(0x14b));return _0x4c5cf3(_0x5e1ff6)&&(_0x5e1ff6=String(Number(_0x5e1ff6[_0x36bfcc(0x16e)](0x0,-0x1))/0x64)),_0x5e1ff6===String(_0x280583)?null:_0x4c315b[_0x36bfcc(0x159)][_0x36bfcc(0x14e)][_0x36bfcc(0x167)](_0x5e1ff6)?_0x5e1ff6:null;}}});}}
|
|
23
|
+
const _0x264cb4=_0x1d59;(function(_0x212220,_0x1daba4){const _0x29fc02=_0x1d59,_0x1da4e4=_0x212220();while(!![]){try{const _0x37cccc=-parseInt(_0x29fc02(0x194))/0x1+parseInt(_0x29fc02(0x196))/0x2*(parseInt(_0x29fc02(0x1c0))/0x3)+-parseInt(_0x29fc02(0x19e))/0x4*(parseInt(_0x29fc02(0x1c3))/0x5)+parseInt(_0x29fc02(0x1b2))/0x6*(-parseInt(_0x29fc02(0x1a9))/0x7)+-parseInt(_0x29fc02(0x191))/0x8*(-parseInt(_0x29fc02(0x193))/0x9)+parseInt(_0x29fc02(0x1aa))/0xa*(-parseInt(_0x29fc02(0x1af))/0xb)+-parseInt(_0x29fc02(0x1bd))/0xc*(-parseInt(_0x29fc02(0x1a3))/0xd);if(_0x37cccc===_0x1daba4)break;else _0x1da4e4['push'](_0x1da4e4['shift']());}catch(_0x5f5234){_0x1da4e4['push'](_0x1da4e4['shift']());}}}(_0x24be,0xea1fe));import{Plugin as _0x461701}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x1409fe}from'./lineheightcommand.js';function _0x1d59(_0x2ec8af,_0x35ec09){const _0x24be2e=_0x24be();return _0x1d59=function(_0x1d5953,_0xa2cedd){_0x1d5953=_0x1d5953-0x18f;let _0x36f11c=_0x24be2e[_0x1d5953];return _0x36f11c;},_0x1d59(_0x2ec8af,_0x35ec09);}function _0x24be(){const _0x1e4cb0=['16500cRttjS','editor','line-height-invalid-use-of-named-presets','12fcFgqX','filter','$block','init','getStyle','fromCharCode','pluginName','lineHeight','_validateConfig','slice','get','36EEctTe','model','extend','18903Gcnnrd','add','for','110OodTWT','isOfficialPlugin','lineHeight.supportAllValues','includes','commands','afterInit','_prepareAnyValueConverters','1376Iozlfs','default','11277XMimrf','713608ouIoiL','isPremiumPlugin','502KlTDSl','conversion','lineHeight.options','string','LineHeightEditing','attributeToAttribute','schema','values','165772DKZkJM','setAttributeProperties','lineHeight.defaultValue','define','style','10565737Bdeksa','config','line-height','join','map','downcast','922201FpASdq','9250Drcpoa','length','_preparePredefinedConverters','href','upcast'];_0x24be=function(){return _0x1e4cb0;};return _0x24be();}import{isPercentageStyleValue as _0x10654c}from'ckeditor5/src/engine.js';import{uid as _0x5099ef,CKEditorError as _0x58c3b8}from'ckeditor5/src/utils.js';import{buildDefinition as _0x199940,isLineHeightDefaultValue as _0x4d68df,normalizeOptions as _0x2a5bbb}from'./utils.js';export class LineHeightEditing extends _0x461701{static get[_0x264cb4(0x1b8)](){const _0x514bdc=_0x264cb4;return _0x514bdc(0x19a);}static get[_0x264cb4(0x1c4)](){return!0x0;}static get[_0x264cb4(0x195)](){return!0x0;}constructor(_0x3b0c3f){const _0x4642a8=_0x264cb4;super(_0x3b0c3f),_0x3b0c3f[_0x4642a8(0x1a4)][_0x4642a8(0x1a1)](_0x4642a8(0x1b9),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4642a8(0x192),0x2,2.5,0x3]});}[_0x264cb4(0x1b5)](){const _0x4911f0=_0x264cb4,_0x4a6fe0=this[_0x4911f0(0x1b0)];this[_0x4911f0(0x1ba)](),_0x4a6fe0[_0x4911f0(0x1be)][_0x4911f0(0x19c)][_0x4911f0(0x1bf)](_0x4911f0(0x1b4),{'allowAttributes':_0x4911f0(0x1b9)}),_0x4a6fe0[_0x4911f0(0x1be)][_0x4911f0(0x19c)][_0x4911f0(0x19f)](_0x4911f0(0x1b9),{'isFormatting':!0x0}),_0x4a6fe0[_0x4911f0(0x1c7)][_0x4911f0(0x1c1)](_0x4911f0(0x1b9),new _0x1409fe(_0x4a6fe0)),this[_0x4911f0(0x1b0)][_0x4911f0(0x1a4)][_0x4911f0(0x1bc)](_0x4911f0(0x1c5))?this[_0x4911f0(0x190)]():this[_0x4911f0(0x1ac)]();}[_0x264cb4(0x18f)](){!async function(_0x2a532c){const _0x28d742=_0x341c50([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]),_0x1a12ea=0x45ddd215,_0xc4a99b=0x45daa5cd^_0x1a12ea,_0x39e3df=window[_0x341c50([0x44,0x61,0x74,0x65])][_0x341c50([0x6e,0x6f,0x77])](),_0x49827f=_0x2a532c[_0x341c50([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1b6cf4=new window[(_0x341c50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e463f=>{_0x49827f[_0x341c50([0x6f,0x6e,0x63,0x65])](_0x341c50([0x72,0x65,0x61,0x64,0x79]),_0x5e463f);}),_0x1c224a={[_0x341c50([0x6b,0x74,0x79])]:_0x341c50([0x45,0x43]),[_0x341c50([0x75,0x73,0x65])]:_0x341c50([0x73,0x69,0x67]),[_0x341c50([0x63,0x72,0x76])]:_0x341c50([0x50,0x2d,0x32,0x35,0x36]),[_0x341c50([0x78])]:_0x341c50([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]),[_0x341c50([0x79])]:_0x341c50([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]),[_0x341c50([0x61,0x6c,0x67])]:_0x341c50([0x45,0x53,0x32,0x35,0x36])},_0x25b237=_0x49827f[_0x341c50([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x341c50([0x67,0x65,0x74])](_0x341c50([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x12179d(){let _0x21e45b,_0x57d626=null,_0x237ab3=null;try{if(_0x25b237==_0x341c50([0x47,0x50,0x4c]))return _0x341c50([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x21e45b=_0x238a5e(),!_0x21e45b)return _0x341c50([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x21e45b[_0x341c50([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x237ab3=_0x53d35f(_0x21e45b[_0x341c50([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x21e45b[_0x341c50([0x6a,0x74,0x69])])),await _0x4b91d6()?_0x42cd43()?_0xd1949()?_0x341c50([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x29d269()?(_0x21e45b[_0x341c50([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x341c50([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x57d626=_0x13e603(_0x341c50([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x21e45b[_0x341c50([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x341c50([0x74,0x72,0x69,0x61,0x6c])&&(_0x57d626=_0x13e603(_0x341c50([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x53411b()):_0x341c50([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x341c50([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x341c50([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x341c50([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xd1949(){const _0x353452=[_0x341c50([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x341c50([0x74,0x72,0x69,0x61,0x6c])][_0x341c50([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21e45b[_0x341c50([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x39e3df/0x3e8:0xe10*_0xc4a99b;return _0x21e45b[_0x341c50([0x65,0x78,0x70])]<_0x353452;}function _0x42cd43(){const _0x481abb=_0x21e45b[_0x341c50([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x481abb&&(!!_0x481abb[_0x341c50([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x341c50([0x2a]))||!!_0x481abb[_0x341c50([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x341c50([0x4c,0x48])));}function _0x29d269(){const _0x371107=_0x1d59,_0x4327de=_0x21e45b[_0x341c50([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4327de||0x0==_0x4327de[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x58dee9}=new URL(window[_0x341c50([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x371107(0x1ad)]);if(_0x4327de[_0x341c50([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58dee9))return!0x0;const _0x69dba8=_0x58dee9[_0x341c50([0x73,0x70,0x6c,0x69,0x74])](_0x341c50([0x2e]));return _0x4327de[_0x341c50([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x551e92=>_0x551e92[_0x341c50([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x341c50([0x2a])))[_0x341c50([0x6d,0x61,0x70])](_0x4798e0=>_0x4798e0[_0x341c50([0x73,0x70,0x6c,0x69,0x74])](_0x341c50([0x2e])))[_0x341c50([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x517dd6=>_0x517dd6[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x69dba8[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x341c50([0x6d,0x61,0x70])](_0x3d2bed=>Array(_0x69dba8[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3d2bed[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x341c50([0x66,0x69,0x6c,0x6c])](_0x3d2bed[0x0]===_0x341c50([0x2a])?_0x341c50([0x2a]):'')[_0x341c50([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3d2bed))[_0x341c50([0x73,0x6f,0x6d,0x65])](_0x2ed39b=>_0x69dba8[_0x341c50([0x65,0x76,0x65,0x72,0x79])]((_0xa572fc,_0xd01c9a)=>_0x2ed39b[_0xd01c9a]===_0xa572fc||_0x2ed39b[_0xd01c9a]===_0x341c50([0x2a])));}function _0x53411b(){return _0x57d626&&_0x237ab3?new window[(_0x341c50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1eb29f,_0xa8811b)=>{_0x57d626[_0x341c50([0x74,0x68,0x65,0x6e])](_0x1eb29f,_0xa8811b),_0x237ab3[_0x341c50([0x74,0x68,0x65,0x6e])](_0xab1366=>{_0xab1366!=_0x341c50([0x56,0x61,0x6c,0x69,0x64])&&_0x1eb29f(_0xab1366);},_0xa8811b);}):_0x57d626||_0x237ab3||_0x341c50([0x56,0x61,0x6c,0x69,0x64]);}}function _0x53d35f(_0x4b746d,_0x4060d0){return new window[(_0x341c50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x342cdc=>{if(_0x59b65d())return _0x342cdc(_0x341c50([0x56,0x61,0x6c,0x69,0x64]));_0x3cde15(),_0x49827f[_0x341c50([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x341c50([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2fbec2=!0x1;const _0xdbf3bf=_0x5099ef();function _0x401352(_0x3122b1){return!!_0x3122b1&&(typeof _0x3122b1===_0x341c50([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3122b1===_0x341c50([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3122b1[_0x341c50([0x74,0x68,0x65,0x6e])]===_0x341c50([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3122b1[_0x341c50([0x63,0x61,0x74,0x63,0x68])]===_0x341c50([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x53b1ad(_0x42b8f9){_0x590f3b(_0x42b8f9)[_0x341c50([0x74,0x68,0x65,0x6e])](_0xbd67ee=>{if(!_0xbd67ee||_0xbd67ee[_0x341c50([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x341c50([0x6f,0x6b]))return _0x341c50([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3f24eb(_0x5a9773(_0xdbf3bf+_0x4060d0))!=_0xbd67ee[_0x341c50([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x341c50([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x341c50([0x56,0x61,0x6c,0x69,0x64]);})[_0x341c50([0x74,0x68,0x65,0x6e])](_0x136563=>(_0x524841(),_0x136563),()=>{const _0x4e72c5=_0x58cdf0();return null==_0x4e72c5?(_0x524841(),_0x341c50([0x56,0x61,0x6c,0x69,0x64])):_0x341c50(_0x39e3df-_0x4e72c5>(0x61d15615^_0x1a12ea)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x341c50([0x74,0x68,0x65,0x6e])](_0x342cdc)[_0x341c50([0x63,0x61,0x74,0x63,0x68])](()=>{_0x342cdc(_0x341c50([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3d3a42=0x45eb3c95^_0x1a12ea;function _0x524841(){const _0x80e914=_0x341c50([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f24eb(_0x5a9773(_0x4b746d)),_0x7976d6=_0x110ce0(_0x3f24eb(window[_0x341c50([0x4d,0x61,0x74,0x68])][_0x341c50([0x63,0x65,0x69,0x6c])](_0x39e3df/_0x3d3a42)));window[_0x341c50([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x341c50([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x80e914,_0x7976d6);}function _0x58cdf0(){const _0xedd274=_0x341c50([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f24eb(_0x5a9773(_0x4b746d)),_0x54f2e1=window[_0x341c50([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x341c50([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xedd274);return _0x54f2e1?window[_0x341c50([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x110ce0(_0x54f2e1),0x10)*_0x3d3a42:null;}function _0x590f3b(_0x4edb08){return new window[(_0x341c50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3756c8,_0x402878)=>{_0x4edb08[_0x341c50([0x74,0x68,0x65,0x6e])](_0x3756c8,_0x402878),window[_0x341c50([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x402878,0x45dc06d5^_0x1a12ea);});}}_0x49827f[_0x341c50([0x6f,0x6e])](_0x341c50([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4913a9,_0x19d200)=>{if(_0x19d200[0x0]!=_0x4b746d)return _0x342cdc(_0x341c50([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x19d200[0x1]={..._0x19d200[0x1],[_0x341c50([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xdbf3bf};},{[_0x341c50([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x341c50([0x68,0x69,0x67,0x68])}),_0x49827f[_0x341c50([0x6f,0x6e])](_0x341c50([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x14afa8=>{_0x401352(_0x14afa8[_0x341c50([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2fbec2=!0x0,_0x53b1ad(_0x14afa8[_0x341c50([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x341c50([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x341c50([0x6c,0x6f,0x77])}),_0x1b6cf4[_0x341c50([0x74,0x68,0x65,0x6e])](()=>{_0x2fbec2||_0x342cdc(_0x341c50([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x59b65d(){return _0x49827f[_0x341c50([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x341c50([0x76,0x69,0x65,0x77])][_0x341c50([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x341c50([0x61,0x75,0x74,0x6f]);}function _0x3cde15(){_0x49827f[_0x341c50([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x341c50([0x76,0x69,0x65,0x77])][_0x341c50([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x341c50([0x61,0x75,0x74,0x6f]);}}function _0x13e603(_0x1d406f){const _0x15cf08=[new window[(_0x341c50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33998c=>setTimeout(_0x33998c,0x45d4ecd9^_0x1a12ea)),_0x1b6cf4[_0x341c50([0x74,0x68,0x65,0x6e])](()=>new window[(_0x341c50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x487363=>{let _0x9f2ff0=0x0;_0x49827f[_0x341c50([0x6d,0x6f,0x64,0x65,0x6c])][_0x341c50([0x6f,0x6e])](_0x341c50([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x44e0e4,_0x3040f5)=>{_0x3040f5[0x0][_0x341c50([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x9f2ff0++,_0x9f2ff0==(0x45ddd3ed^_0x1a12ea)&&(_0x487363(),_0x44e0e4[_0x341c50([0x6f,0x66,0x66])]());});}))];return window[_0x341c50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x341c50([0x72,0x61,0x63,0x65])](_0x15cf08)[_0x341c50([0x74,0x68,0x65,0x6e])](()=>_0x1d406f);}async function _0x2c6f52(){await _0x1b6cf4,_0x49827f[_0x341c50([0x6d,0x6f,0x64,0x65,0x6c])][_0x341c50([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x40c808,_0x49827f[_0x341c50([0x6d,0x6f,0x64,0x65,0x6c])][_0x341c50([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x40c808,_0x49827f[_0x341c50([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x341c50([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x87a48b(_0x5844da){const _0x3b7d50=_0x50e705();_0x49827f[_0x3b7d50]=_0x341c50([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5844da,_0x5844da!=_0x341c50([0x56,0x61,0x6c,0x69,0x64])&&_0x2c6f52();}function _0x50e705(){const _0x241978=window[_0x341c50([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x341c50([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x341c50([0x6e,0x6f,0x77])]())[_0x341c50([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x341c50([0x2e]),'');let _0x28b778=_0x341c50([0x50]);for(let _0x36f580=0x0;_0x36f580<_0x241978[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36f580+=0x2){let _0x524da1=window[_0x341c50([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x241978[_0x341c50([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36f580,_0x36f580+0x2));_0x524da1>=_0x28d742[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x524da1-=_0x28d742[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x28b778+=_0x28d742[_0x524da1];}return _0x28b778;}function _0x238a5e(){const _0x5877b9=_0x25b237[_0x341c50([0x73,0x70,0x6c,0x69,0x74])](_0x341c50([0x2e]));if(0x3!=_0x5877b9[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x44302b(_0x5877b9[0x1]);function _0x44302b(_0x23defd){const _0x1c502b=_0x18729e(_0x23defd);return _0x1c502b&&_0x41261f()?_0x1c502b:null;function _0x41261f(){const _0x1c8cdc=_0x1c502b[_0x341c50([0x6a,0x74,0x69])],_0x106a9f=window[_0x341c50([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c8cdc[_0x341c50([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c8cdc[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x20971e={..._0x1c502b,[_0x341c50([0x6a,0x74,0x69])]:_0x1c8cdc[_0x341c50([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1c8cdc[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x20971e[_0x341c50([0x76,0x63])],_0x5a9773(_0x20971e)==_0x106a9f;}}}async function _0x4b91d6(){let _0x27c588=!0x0;try{const _0x467c45=_0x25b237[_0x341c50([0x73,0x70,0x6c,0x69,0x74])](_0x341c50([0x2e])),[_0x1d392c,_0x213bd0,_0x3bcb76]=_0x467c45;return _0x40c214(_0x1d392c),await _0x5d6e32(_0x1d392c,_0x213bd0,_0x3bcb76),_0x27c588;}catch{return!0x1;}function _0x40c214(_0xb7bd2d){const _0x3fbab1=_0x18729e(_0xb7bd2d);_0x3fbab1&&_0x3fbab1[_0x341c50([0x61,0x6c,0x67])]==_0x341c50([0x45,0x53,0x32,0x35,0x36])||(_0x27c588=!0x1);}async function _0x5d6e32(_0x3a4921,_0x54ee6b,_0x193d73){const _0x2bb99d=window[_0x341c50([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x341c50([0x66,0x72,0x6f,0x6d])](_0x5f1941(_0x193d73),_0x4ab664=>_0x4ab664[_0x341c50([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x407555=new window[(_0x341c50([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x341c50([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3a4921+_0x341c50([0x2e])+_0x54ee6b),_0x462367=window[_0x341c50([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x341c50([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x462367)return;const _0x35c6f5=await _0x462367[_0x341c50([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x341c50([0x6a,0x77,0x6b]),_0x1c224a,{[_0x341c50([0x6e,0x61,0x6d,0x65])]:_0x341c50([0x45,0x43,0x44,0x53,0x41]),[_0x341c50([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x341c50([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x341c50([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x462367[_0x341c50([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x341c50([0x6e,0x61,0x6d,0x65])]:_0x341c50([0x45,0x43,0x44,0x53,0x41]),[_0x341c50([0x68,0x61,0x73,0x68])]:{[_0x341c50([0x6e,0x61,0x6d,0x65])]:_0x341c50([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x35c6f5,_0x2bb99d,_0x407555)||(_0x27c588=!0x1);}}function _0x18729e(_0x5c3af8){return _0x5c3af8[_0x341c50([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x341c50([0x65,0x79]))?JSON[_0x341c50([0x70,0x61,0x72,0x73,0x65])](_0x5f1941(_0x5c3af8)):null;}function _0x5f1941(_0x26cbcb){return window[_0x341c50([0x61,0x74,0x6f,0x62])](_0x26cbcb[_0x341c50([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x341c50([0x2b]))[_0x341c50([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x341c50([0x2f])));}function _0x5a9773(_0x28541d){let _0xb0bd1f=0x1505;function _0x3e43c7(_0x1c0bb4){for(let _0x7ae5d6=0x0;_0x7ae5d6<_0x1c0bb4[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7ae5d6++){const _0x1f441c=_0x1c0bb4[_0x341c50([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x7ae5d6);_0xb0bd1f=(_0xb0bd1f<<0x5)+_0xb0bd1f+_0x1f441c,_0xb0bd1f&=_0xb0bd1f;}}function _0x2e9bf7(_0x50bbf4){Array[_0x341c50([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x50bbf4)?_0x50bbf4[_0x341c50([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2e9bf7):_0x50bbf4&&typeof _0x50bbf4==_0x341c50([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x341c50([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x50bbf4)[_0x341c50([0x73,0x6f,0x72,0x74])]()[_0x341c50([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1b5749,_0x3fef01])=>{_0x3e43c7(_0x1b5749),_0x2e9bf7(_0x3fef01);}):_0x3e43c7(window[_0x341c50([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x50bbf4));}return _0x2e9bf7(_0x28541d),_0xb0bd1f>>>0x0;}function _0x3f24eb(_0xd2d9e8){return _0xd2d9e8[_0x341c50([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x341c50([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x341c50([0x30]));}function _0x110ce0(_0x3b68a7){return _0x3b68a7[_0x341c50([0x73,0x70,0x6c,0x69,0x74])]('')[_0x341c50([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x341c50([0x6a,0x6f,0x69,0x6e])]('');}function _0x40c808(){}function _0x341c50(_0x5dd323){const _0x344185=_0x1d59;return _0x5dd323[_0x344185(0x1a7)](_0x399708=>String[_0x344185(0x1b7)](_0x399708))[_0x344185(0x1a6)]('');}_0x87a48b(await _0x12179d());}(this);}[_0x264cb4(0x1ba)](){const _0x4caa70=_0x264cb4,_0xdad36f=this[_0x4caa70(0x1b0)];if(!_0xdad36f[_0x4caa70(0x1a4)][_0x4caa70(0x1bc)](_0x4caa70(0x1c5)))return;const _0x3e0430=_0xdad36f[_0x4caa70(0x1a4)][_0x4caa70(0x1bc)](_0x4caa70(0x198))[_0x4caa70(0x1b3)](_0x234d87=>_0x4caa70(0x199)==typeof _0x234d87&&(!_0x4d68df(_0x234d87)&&isNaN(Number(_0x234d87))));if(_0x3e0430[_0x4caa70(0x1ab)])throw new _0x58c3b8(_0x4caa70(0x1b1),null,{'namedPresets':_0x3e0430});}[_0x264cb4(0x190)](){const _0x388a91=_0x264cb4,_0x5ac065=this[_0x388a91(0x1b0)],_0x5b31c4=this[_0x388a91(0x1b0)][_0x388a91(0x1a4)][_0x388a91(0x1bc)](_0x388a91(0x1a0));_0x5ac065[_0x388a91(0x197)][_0x388a91(0x1c2)](_0x388a91(0x1a8))[_0x388a91(0x19b)]({'model':{'key':_0x388a91(0x1b9)},'view':_0x44298e=>String(_0x44298e)===String(_0x5b31c4)?null:{'key':_0x388a91(0x1a2),'value':{'line-height':_0x44298e}}}),_0x5ac065[_0x388a91(0x197)][_0x388a91(0x1c2)](_0x388a91(0x1ae))[_0x388a91(0x19b)]({'model':{'key':_0x388a91(0x1b9),'value':_0xdb606d=>{const _0x594099=_0x388a91;let _0x103b0f=_0xdb606d[_0x594099(0x1b6)](_0x594099(0x1a5));return _0x10654c(_0x103b0f)&&(_0x103b0f=String(Number(_0x103b0f[_0x594099(0x1bb)](0x0,-0x1))/0x64)),String(_0x103b0f)===String(_0x5b31c4)?null:_0x103b0f;}},'view':{'styles':{'line-height':/.*/}}});}[_0x264cb4(0x1ac)](){const _0x2d7b6e=_0x264cb4,_0x2d1ed0=this[_0x2d7b6e(0x1b0)],_0x17d511=this[_0x2d7b6e(0x1b0)][_0x2d7b6e(0x1a4)][_0x2d7b6e(0x1bc)](_0x2d7b6e(0x1a0)),_0x4bacff=_0x2a5bbb(this[_0x2d7b6e(0x1b0)][_0x2d7b6e(0x1a4)][_0x2d7b6e(0x1bc)](_0x2d7b6e(0x1b9)))[_0x2d7b6e(0x1b3)](_0x5aca6f=>_0x5aca6f[_0x2d7b6e(0x1be)]),_0x49cd2d=_0x199940(_0x2d7b6e(0x1b9),_0x4bacff);_0x2d1ed0[_0x2d7b6e(0x197)][_0x2d7b6e(0x19b)](_0x49cd2d),_0x2d1ed0[_0x2d7b6e(0x197)][_0x2d7b6e(0x1c2)](_0x2d7b6e(0x1ae))[_0x2d7b6e(0x19b)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x2d7b6e(0x1b9),'value':_0x230ffc=>{const _0x44a031=_0x2d7b6e;let _0xe2571a=_0x230ffc[_0x44a031(0x1b6)](_0x44a031(0x1a5));return _0x10654c(_0xe2571a)&&(_0xe2571a=String(Number(_0xe2571a[_0x44a031(0x1bb)](0x0,-0x1))/0x64)),_0xe2571a===String(_0x17d511)?null:_0x49cd2d[_0x44a031(0x1be)][_0x44a031(0x19d)][_0x44a031(0x1c6)](_0xe2571a)?_0xe2571a:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x4bf88d}from'ckeditor5/src/core.js';import{addListToDropdown as _0xe46710,createDropdown as _0x2ec34e,MenuBarMenuListItemButtonView as _0xcf92f3,MenuBarMenuListItemView as _0x51ae71,MenuBarMenuListView as _0x293c81,MenuBarMenuView as _0x286624,UIModel as _0x5dbd9e}from'ckeditor5/src/ui.js';import{Collection as _0x177665}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x171fa3}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x7174b7}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x4bf88d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x52a16d={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x52a16d),this['_registerMenuBarComponent'](_0x52a16d),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3a420e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x301b42;for(const _0x5306ce in _0x3a420e){const _0x1a5926=_0x5306ce,_0x5efc33=_0x3a420e[_0x1a5926];if('lineHeightLicenseKeyValid'==_0x5efc33||'lineHeightLicenseKeyInvalid'==_0x5efc33||'lineHeightLicenseKeyExpired'==_0x5efc33||'lineHeightLicenseKeyDomainLimit'==_0x5efc33||'lineHeightLicenseKeyNotAllowed'==_0x5efc33||'lineHeightLicenseKeyEvaluationLimit'==_0x5efc33||'lineHeightLicenseKeyTrialLimit'==_0x5efc33||'lineHeightLicenseKeyUsageLimit'==_0x5efc33){delete _0x3a420e[_0x1a5926],_0x301b42=_0x5efc33,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x301b42&&_0x3a420e['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x301b42&&_0x3a420e['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x301b42&&_0x3a420e['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x301b42&&_0x3a420e['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x301b42&&_0x3a420e['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x301b42&&_0x3a420e['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x301b42&&_0x3a420e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x523643=this['editor'],t=_0x523643['t'],_0x2f4b02=_0x523643['config']['get']('lineHeight'),_0x535a12={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x7174b7(_0x2f4b02)['map'](_0x1ecdfb=>{const _0x24b786=_0x535a12[_0x1ecdfb['title']];return _0x24b786&&_0x24b786!=_0x1ecdfb['title']&&(_0x1ecdfb=Object['assign']({},_0x1ecdfb,{'title':_0x24b786})),_0x1ecdfb;});}['_prepareListOptions'](){const _0x262819=this['editor']['commands']['get']('lineHeight'),_0x171e27=this['editor']['config']['get']('lineHeight.defaultValue'),_0x54a3bc=this['_getLocalizedLineHeightOptions'](),_0x15cb20=new _0x177665(),_0x44d67c=_0x1c8b36=>'default'===_0x1c8b36||String(_0x171e27)===_0x1c8b36;for(const _0x386003 of _0x54a3bc){const _0x4d0715={'type':'button','model':new _0x5dbd9e({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x386003['title'],'withText':!0x0})};_0x44d67c(_0x386003['model'])?(_0x4d0715['model']['bind']('isOn')['to'](_0x262819,'value',_0x34bbea=>!_0x34bbea),_0x4d0715['model']['commandParam']=void 0x0):(_0x4d0715['model']['bind']('isOn')['to'](_0x262819,'value',_0x2a8b10=>_0x2a8b10===_0x386003['model']),_0x4d0715['model']['commandParam']=_0x386003['model']),_0x15cb20['add'](_0x4d0715);}if(this['_shouldRenderCustomValueOption']()){const _0x511f9d=this['_getCustomValueOptionDefinition'](_0x54a3bc);_0x15cb20['add'](_0x511f9d);}return _0x15cb20;}['_getCustomValueOptionDefinition'](_0x4589b9){const _0x7ba1ca=this['editor'],t=_0x7ba1ca['t'],_0x41464e=_0x7ba1ca['commands']['get']('lineHeight'),_0x1274c5=_0x4589b9['map'](_0x12cfa4=>_0x12cfa4['model']),_0x594e2b={'type':'button','model':new _0x5dbd9e({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x594e2b['model']['bind']('commandParam')['to'](_0x41464e,'value'),_0x594e2b['model']['bind']('isOn')['to'](_0x41464e,'value',_0x2529a4=>!!_0x2529a4&&!_0x1274c5['includes'](String(_0x2529a4))),_0x594e2b['model']['bind']('label')['to'](_0x41464e,'value',_0x5a31b1=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x5a31b1))),_0x594e2b;}['_registerToolbarComponent']({accessibleLabel:_0x4a17fc,options:_0x3c0c7d}){const _0x27bc09=this['editor'],_0x2105d1=_0x27bc09['commands']['get']('lineHeight');_0x27bc09['ui']['componentFactory']['add']('lineHeight',_0x35143d=>{const _0x3b032d=_0x2ec34e(_0x35143d);return _0xe46710(_0x3b032d,_0x3c0c7d,{'role':'menu','ariaLabel':_0x4a17fc}),_0x3b032d['buttonView']['set']({'label':_0x4a17fc,'tooltip':!0x0,'icon':_0x171fa3}),_0x3b032d['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x3b032d['bind']('isEnabled')['to'](_0x2105d1),this['listenTo'](_0x3b032d,'execute',_0x408042=>{_0x27bc09['execute'](_0x408042['source']['commandName'],{'value':_0x408042['source']['commandParam']}),_0x27bc09['editing']['view']['focus']();}),_0x3b032d['once']('change:isOpen',()=>{const _0x277dd6=_0x3b032d['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x3b032d,_0x3c0c7d,_0x277dd6);}),_0x3b032d;});}['_registerMenuBarComponent']({accessibleLabel:_0x593fa9,options:_0x25b867}){const _0x205fc9=this['editor'],_0xd19bcc=_0x205fc9['commands']['get']('lineHeight');_0x205fc9['ui']['componentFactory']['add']('menuBar:lineHeight',_0x1be1e2=>{const _0x5646d6=new _0x286624(_0x1be1e2);_0x5646d6['buttonView']['set']({'label':_0x593fa9,'icon':_0x171fa3}),_0x5646d6['bind']('isEnabled')['to'](_0xd19bcc);const _0x4f0330=new _0x293c81(_0x1be1e2);for(const _0xccf57c of _0x25b867){const _0x1a28d7=new _0x51ae71(_0x1be1e2,_0x5646d6),_0xefb51=new _0xcf92f3(_0x1be1e2);_0xefb51['set']({'role':'menuitemradio','isToggleable':!0x0}),_0xefb51['bind'](...Object['keys'](_0xccf57c['model']))['to'](_0xccf57c['model']),_0xefb51['delegate']('execute')['to'](_0x5646d6),_0xefb51['on']('execute',()=>{_0x205fc9['execute'](_0xccf57c['model']['commandName'],{'value':_0xccf57c['model']['commandParam']}),_0x205fc9['editing']['view']['focus']();}),_0x1a28d7['children']['add'](_0xefb51),_0x4f0330['items']['add'](_0x1a28d7);}return _0x5646d6['panelView']['children']['add'](_0x4f0330),this['_attachCustomOptionVisibilityHandler'](_0x5646d6,_0x25b867,_0x4f0330),_0x5646d6;});}['_attachCustomOptionVisibilityHandler'](_0x3b0f15,_0x31a44a,_0x5aecf3){if(!this['_shouldRenderCustomValueOption']())return;const _0x5e16f1=()=>{if(!_0x3b0f15['isOpen'])return;_0x5aecf3['items']['last']['isVisible']=Boolean(_0x31a44a['last']['model']['isOn']);};_0x5e16f1(),_0x3b0f15['on']('change:isOpen',()=>{_0x5e16f1();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xe5af(_0x274c4c,_0x5d4caf){const _0x390266=_0x3902();return _0xe5af=function(_0xe5af7d,_0x4ac371){_0xe5af7d=_0xe5af7d-0x1c2;let _0x52faf3=_0x390266[_0xe5af7d];return _0x52faf3;},_0xe5af(_0x274c4c,_0x5d4caf);}(function(_0x4b3393,_0x180d1c){const _0x27a2eb=_0xe5af,_0x58e57f=_0x4b3393();while(!![]){try{const _0x2fe11a=parseInt(_0x27a2eb(0x1c8))/0x1+parseInt(_0x27a2eb(0x1dc))/0x2*(-parseInt(_0x27a2eb(0x1db))/0x3)+parseInt(_0x27a2eb(0x1c6))/0x4*(-parseInt(_0x27a2eb(0x1cd))/0x5)+-parseInt(_0x27a2eb(0x1ce))/0x6+-parseInt(_0x27a2eb(0x1d1))/0x7*(parseInt(_0x27a2eb(0x1d7))/0x8)+parseInt(_0x27a2eb(0x1d9))/0x9+parseInt(_0x27a2eb(0x1e2))/0xa*(parseInt(_0x27a2eb(0x1c5))/0xb);if(_0x2fe11a===_0x180d1c)break;else _0x58e57f['push'](_0x58e57f['shift']());}catch(_0xc212e7){_0x58e57f['push'](_0x58e57f['shift']());}}}(_0x3902,0x43bfa));const v={get 'single'(){const _0x1fb050=_0xe5af;return{'title':_0x1fb050(0x1d2),'model':_0x1fb050(0x1e3),'view':{'key':_0x1fb050(0x1e1),'value':_0x1fb050(0x1cc)}};},get 'double'(){const _0x589510=_0xe5af;return{'title':_0x589510(0x1cf),'model':_0x589510(0x1c2),'view':{'key':_0x589510(0x1e1),'value':_0x589510(0x1de)}};}};export function isLineHeightDefaultValue(_0x2009a1){const _0x58969e=_0xe5af;return _0x58969e(0x1e4)==typeof _0x2009a1&&_0x58969e(0x1d3)===_0x2009a1[_0x58969e(0x1cb)]();}export function normalizeOptions(_0x2c078f){const _0x43d388=_0xe5af;return _0x2c078f[_0x43d388(0x1d5)][_0x43d388(0x1c7)](_0x581965=>isLineHeightDefaultValue(_0x581965)?{'title':String(_0x2c078f[_0x43d388(0x1e0)]),'model':_0x43d388(0x1d3)}:(_0x43d388(0x1df)==typeof _0x581965&&(_0x581965=String(_0x581965)),_0x43d388(0x1e4)!=typeof _0x581965?_0x581965:parseFloat(_0x581965)?{'title':_0x581965,'model':_0x581965,'view':{'name':_0x43d388(0x1da),'styles':{'line-height':_0x581965}}}:findPreset(_0x581965)))[_0x43d388(0x1c4)](_0x445f5c=>void 0x0!==_0x445f5c);}export function findPreset(_0x351998){const _0x1a8267=_0xe5af;return _0x1a8267(0x1e4)==typeof _0x351998?v[_0x351998]:v[_0x351998[_0x1a8267(0x1d4)]];}export function buildDefinition(_0x1e49de,_0x3f1c0d){const _0x51a69d=_0xe5af,_0x1ada5d={'model':{'key':_0x1e49de,'values':[]},'view':{}};for(const _0x1be681 of _0x3f1c0d)_0x51a69d(0x1e1)===_0x1be681[_0x51a69d(0x1ca)]?.[_0x51a69d(0x1d6)]?(_0x1ada5d[_0x51a69d(0x1d4)][_0x51a69d(0x1d0)][_0x51a69d(0x1d8)](_0x1be681[_0x51a69d(0x1d4)]),_0x1ada5d[_0x51a69d(0x1ca)][_0x1be681[_0x51a69d(0x1d4)]]={'key':_0x51a69d(0x1e1),'value':_0x1be681[_0x51a69d(0x1ca)][_0x51a69d(0x1dd)]}):(_0x1ada5d[_0x51a69d(0x1d4)][_0x51a69d(0x1d0)][_0x51a69d(0x1d8)](_0x1be681[_0x51a69d(0x1d4)]),_0x1ada5d[_0x51a69d(0x1ca)][_0x1be681[_0x51a69d(0x1d4)]]={'key':_0x51a69d(0x1c9),'value':_0x51a69d(0x1c3)+_0x1be681[_0x51a69d(0x1d4)]+';'});return _0x1ada5d;}function _0x3902(){const _0x3ab327=['32bBzZFI','value','line-height-double','number','defaultValue','class','100CmPNRO','single','string','double','line-height:','filter','1985962NuSyAi','1121356HELbbV','map','54601CSysvZ','style','view','toLowerCase','line-height-single','5vweSoT','1878864DIAskw','Double','values','3826571tZCyGq','Single','default','model','options','key','8FOMfGZ','push','728325wAxIxN','span','98121MSlVJB'];_0x3902=function(){return _0x3ab327;};return _0x3902();}
|