@ckeditor/ckeditor5-line-height 0.0.0-nightly-next-20251230.0 → 0.0.0-nightly-next-20251231.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/index.js +1 -1
- package/src/integrations/todolist.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x52bf(){const _0x1a6795=['12yrbwNm','item','LineHeightTodoListIntegration','pluginName','36bslZGi','for','high','consumable','7IeYFqP','upcast','544593xWksVZ','add','paragraph','--ck-content-list-marker-line-height','consume','isPremiumPlugin','3465534QapfcM','addClass','4072dUXXwf','ListEditing','setStyle','3066910YyyQUu','elementToElement','908274RlUkOq','match','has','todo-list__label__description','1TvVlCq','TodoListEditing','1725270xSYYih','lineHeight','listType','init','todo','viewItem','getAttribute','element:li','name','span','isOfficialPlugin','ck-list-marker-line-height','editor','get','7224822GGsrHi','registerDowncastStrategy','6795cOFgWi'];_0x52bf=function(){return _0x1a6795;};return _0x52bf();}const _0x52bd30=_0x453a;(function(_0x723de1,_0x47890a){const _0x24585d=_0x453a,_0x4466e6=_0x723de1();while(!![]){try{const _0x3c2dba=-parseInt(_0x24585d(0x92))/0x1*(parseInt(_0x24585d(0x8e))/0x2)+parseInt(_0x24585d(0x81))/0x3*(-parseInt(_0x24585d(0x77))/0x4)+-parseInt(_0x24585d(0x8c))/0x5+parseInt(_0x24585d(0x87))/0x6*(parseInt(_0x24585d(0x7f))/0x7)+-parseInt(_0x24585d(0x89))/0x8*(parseInt(_0x24585d(0x76))/0x9)+-parseInt(_0x24585d(0x94))/0xa+-parseInt(_0x24585d(0x74))/0xb*(-parseInt(_0x24585d(0x7b))/0xc);if(_0x3c2dba===_0x47890a)break;else _0x4466e6['push'](_0x4466e6['shift']());}catch(_0x3f8119){_0x4466e6['push'](_0x4466e6['shift']());}}}(_0x52bf,0x5c8b5));function _0x453a(_0x3b1187,_0x4f6f58){const _0x52bf8f=_0x52bf();return _0x453a=function(_0x453a2c,_0x4b301d){_0x453a2c=_0x453a2c-0x6f;let _0x312593=_0x52bf8f[_0x453a2c];return _0x312593;},_0x453a(_0x3b1187,_0x4f6f58);}import{Plugin as _0x1afb3a}from'ckeditor5/src/core.js';import{Matcher as _0x4fb5ee}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x1afb3a{static get[_0x52bd30(0x7a)](){const _0xaa67ba=_0x52bd30;return _0xaa67ba(0x79);}static get[_0x52bd30(0x70)](){return!0x0;}static get[_0x52bd30(0x86)](){return!0x0;}[_0x52bd30(0x97)](){const _0x1e6598=_0x52bd30,{plugins:_0xd4c09c,conversion:_0xfd660d}=this[_0x1e6598(0x72)];if(!_0xd4c09c[_0x1e6598(0x90)](_0x1e6598(0x8a))||!_0xd4c09c[_0x1e6598(0x90)](_0x1e6598(0x93)))return;_0xd4c09c[_0x1e6598(0x73)](_0x1e6598(0x8a))[_0x1e6598(0x75)]({'scope':_0x1e6598(0x78),'attributeName':_0x1e6598(0x95),'consume':!0x1,'setAttributeOnDowncast'(_0x430f4e,_0x13a082,_0x4d10b6,_0x30c49e,_0x162781){const _0x33d88d=_0x1e6598;_0x33d88d(0x98)==_0x162781[_0x33d88d(0x9a)](_0x33d88d(0x96))&&_0x13a082&&(_0x430f4e[_0x33d88d(0x88)](_0x33d88d(0x71),_0x4d10b6),_0x430f4e[_0x33d88d(0x8b)](_0x33d88d(0x84),_0x13a082,_0x4d10b6));}}),_0xfd660d[_0x1e6598(0x7c)](_0x1e6598(0x80))[_0x1e6598(0x8d)]({'view':{'name':_0x1e6598(0x6f),'classes':_0x1e6598(0x91)},'model':_0x1e6598(0x83),'converterPriority':_0x1e6598(0x7d)}),_0xfd660d[_0x1e6598(0x7c)](_0x1e6598(0x80))[_0x1e6598(0x82)](_0x112f6e=>{const _0xdfcbf0=_0x1e6598;_0x112f6e['on'](_0xdfcbf0(0x9b),function(_0x357f22){const _0x17d0f4=new _0x4fb5ee(_0x357f22);return(_0x355139,_0x9795ad,_0x3c04b8)=>{const _0x52923b=_0x453a,_0x5e9597=_0x17d0f4[_0x52923b(0x8f)](_0x9795ad[_0x52923b(0x99)]);if(!_0x5e9597)return;const _0x58b323=_0x5e9597[_0x52923b(0x8f)];_0x58b323[_0x52923b(0x9c)]=!0x1,_0x3c04b8[_0x52923b(0x7e)][_0x52923b(0x85)](_0x9795ad[_0x52923b(0x99)],_0x58b323);};}({'name':'li','classes':_0xdfcbf0(0x71),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5f4b48=_0x20c7;function _0x4ce7(){var _0x354b38=['pluginName','1174254fAlUff','680ADEJLV','6271135tmgRuz','isPremiumPlugin','970050nMARKE','isOfficialPlugin','6FbtvOU','41209311CGUocA','1362862hwTnNu','1183aeaZfl','4HOukzI','LineHeight','86922yduPdi','62168MWDWmD','requires'];_0x4ce7=function(){return _0x354b38;};return _0x4ce7();}(function(_0x37e03a,_0x34faf9){var _0x3d2a1a=_0x20c7,_0x24f950=_0x37e03a();while(!![]){try{var _0x88ce51=parseInt(_0x3d2a1a(0x1c4))/0x1+-parseInt(_0x3d2a1a(0x1c8))/0x2*(-parseInt(_0x3d2a1a(0x1c6))/0x3)+-parseInt(_0x3d2a1a(0x1ca))/0x4*(-parseInt(_0x3d2a1a(0x1c2))/0x5)+parseInt(_0x3d2a1a(0x1d0))/0x6+parseInt(_0x3d2a1a(0x1c9))/0x7*(parseInt(_0x3d2a1a(0x1cd))/0x8)+parseInt(_0x3d2a1a(0x1cc))/0x9*(-parseInt(_0x3d2a1a(0x1d1))/0xa)+-parseInt(_0x3d2a1a(0x1c7))/0xb;if(_0x88ce51===_0x34faf9)break;else _0x24f950['push'](_0x24f950['shift']());}catch(_0x13107a){_0x24f950['push'](_0x24f950['shift']());}}}(_0x4ce7,0xa936e));import{Plugin as _0x22e28a}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x28d66d}from'./lineheightediting.js';import{LineHeightUI as _0x2cd26d}from'./lineheightui.js';function _0x20c7(_0x4bf1eb,_0x442b12){var _0x4ce70e=_0x4ce7();return _0x20c7=function(_0x20c777,_0x28ec2d){_0x20c777=_0x20c777-0x1c2;var _0x377a83=_0x4ce70e[_0x20c777];return _0x377a83;},_0x20c7(_0x4bf1eb,_0x442b12);}export class LineHeight extends _0x22e28a{static get[_0x5f4b48(0x1ce)](){return[_0x28d66d,_0x2cd26d];}static get[_0x5f4b48(0x1cf)](){var _0x299e93=_0x5f4b48;return _0x299e93(0x1cb);}static get[_0x5f4b48(0x1c5)](){return!0x0;}static get[_0x5f4b48(0x1c3)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3db172=_0x1274;(function(_0x4cafc9,_0x2b1b81){const _0x224a55=_0x1274,_0x8328b6=_0x4cafc9();while(!![]){try{const _0x39174c=-parseInt(_0x224a55(0x96))/0x1*(-parseInt(_0x224a55(0x99))/0x2)+parseInt(_0x224a55(0x9e))/0x3+-parseInt(_0x224a55(0x9d))/0x4+-parseInt(_0x224a55(0xa1))/0x5*(-parseInt(_0x224a55(0x93))/0x6)+-parseInt(_0x224a55(0x9c))/0x7+-parseInt(_0x224a55(0x9a))/0x8+parseInt(_0x224a55(0x90))/0x9;if(_0x39174c===_0x2b1b81)break;else _0x8328b6['push'](_0x8328b6['shift']());}catch(_0x4665f4){_0x8328b6['push'](_0x8328b6['shift']());}}}(_0x22a0,0xcf926));function _0x1274(_0x2e2404,_0x248b97){const _0x22a08b=_0x22a0();return _0x1274=function(_0x127453,_0x5f015b){_0x127453=_0x127453-0x88;let _0xe24774=_0x22a08b[_0x127453];return _0xe24774;},_0x1274(_0x2e2404,_0x248b97);}import{Command as _0x573d2d}from'ckeditor5/src/core.js';function _0x22a0(){const _0x35c61a=['model','refresh','getAttribute','document','change','editor','7664481JqXtlA','value','selection','174zmXayV','removeAttribute','checkAttribute','1nPFBPy','schema','lineHeight','2484866iECdyS','10889640tmtiGh','filter','7762265YwctoZ','4499132clhVFP','2294526IHyFbf','execute','setAttribute','273485AqNBnr','from','_canHaveLineHeight','getSelectedBlocks','isEnabled'];_0x22a0=function(){return _0x35c61a;};return _0x22a0();}import{first as _0x5040c7}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x573d2d{[_0x3db172(0x8b)](){const _0x36276e=_0x3db172,_0x64ccf9=this[_0x36276e(0x8f)][_0x36276e(0x8a)][_0x36276e(0x8d)],_0x34b4a6=_0x5040c7(_0x64ccf9[_0x36276e(0x92)][_0x36276e(0x88)]());this[_0x36276e(0x89)]=Boolean(_0x34b4a6)&&this[_0x36276e(0xa3)](_0x34b4a6),this[_0x36276e(0x91)]=this[_0x36276e(0x89)]&&_0x34b4a6[_0x36276e(0x8c)](_0x36276e(0x98));}[_0x3db172(0x9f)](_0x592868={}){const _0x37934a=_0x3db172,_0x6f851b=this[_0x37934a(0x8f)][_0x37934a(0x8a)],_0x3b490f=_0x6f851b[_0x37934a(0x8d)][_0x37934a(0x92)],_0x57e3a2=_0x592868[_0x37934a(0x91)];_0x6f851b[_0x37934a(0x8e)](_0x23fb8c=>{const _0x35f65e=_0x37934a,_0x487048=Array[_0x35f65e(0xa2)](_0x3b490f[_0x35f65e(0x88)]())[_0x35f65e(0x9b)](_0x26128e=>this[_0x35f65e(0xa3)](_0x26128e));for(const _0x3251d8 of _0x487048)_0x57e3a2?_0x23fb8c[_0x35f65e(0xa0)](_0x35f65e(0x98),_0x57e3a2,_0x3251d8):_0x23fb8c[_0x35f65e(0x94)](_0x35f65e(0x98),_0x3251d8);});}[_0x3db172(0xa3)](_0x43ed65){const _0x1c09c0=_0x3db172;return this[_0x1c09c0(0x8f)][_0x1c09c0(0x8a)][_0x1c09c0(0x97)][_0x1c09c0(0x95)](_0x43ed65,_0x1c09c0(0x98));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x15478e=_0x548b;(function(_0x3a0286,_0x2dc695){const _0x2c84a3=_0x548b,_0x175c65=_0x3a0286();while(!![]){try{const _0x4be31d=parseInt(_0x2c84a3(0xc0))/0x1+-parseInt(_0x2c84a3(0xdf))/0x2*(-parseInt(_0x2c84a3(0xc9))/0x3)+-parseInt(_0x2c84a3(0xc1))/0x4*(-parseInt(_0x2c84a3(0xd8))/0x5)+-parseInt(_0x2c84a3(0xd7))/0x6+parseInt(_0x2c84a3(0xca))/0x7+parseInt(_0x2c84a3(0xcb))/0x8+-parseInt(_0x2c84a3(0xda))/0x9*(parseInt(_0x2c84a3(0xdb))/0xa);if(_0x4be31d===_0x2dc695)break;else _0x175c65['push'](_0x175c65['shift']());}catch(_0x1849da){_0x175c65['push'](_0x175c65['shift']());}}}(_0x2fc1,0x7da3f));function _0x2fc1(){const _0x1d0b66=['length','slice','default','680118jgQrUj','216vzvmcY','includes','extend','isPremiumPlugin','editor','lineHeight.defaultValue','lineHeight.options','lineHeight.supportAllValues','148029LKInyY','97762kyelpf','3475344SYWWhX','get','join','LineHeightEditing','style','commands','href','init','pluginName','lineHeight','afterInit','schema','2035362keUVnW','90895sbiIBd','values','95031FllhQW','1330oNewAc','line-height','for','attributeToAttribute','6IQWJYv','getStyle','add','line-height-invalid-use-of-named-presets','upcast','string','filter','config','_validateConfig','conversion','_preparePredefinedConverters','fromCharCode','setAttributeProperties','requires','map','downcast','define','model','$block','isOfficialPlugin','_prepareAnyValueConverters'];_0x2fc1=function(){return _0x1d0b66;};return _0x2fc1();}import{Plugin as _0x4f308c}from'ckeditor5/src/core.js';import{LineHeightCommand as _0xaa0524}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x2bdf73}from'ckeditor5/src/engine.js';function _0x548b(_0x1f7cf8,_0x426bfb){const _0x2fc17d=_0x2fc1();return _0x548b=function(_0x548b97,_0xab8cfb){_0x548b97=_0x548b97-0xae;let _0x55ec6d=_0x2fc17d[_0x548b97];return _0x55ec6d;},_0x548b(_0x1f7cf8,_0x426bfb);}import{uid as _0x54c4f0,CKEditorError as _0xc272f5}from'ckeditor5/src/utils.js';import{buildDefinition as _0x5a4c9c,isLineHeightDefaultValue as _0x5e09f3,normalizeOptions as _0x2d4170}from'./utils.js';import{LineHeightTodoListIntegration as _0x4213c7}from'./integrations/todolist.js';export class LineHeightEditing extends _0x4f308c{static get[_0x15478e(0xd3)](){const _0x9665b4=_0x15478e;return _0x9665b4(0xce);}static get[_0x15478e(0xb5)](){return[_0x4213c7];}static get[_0x15478e(0xbb)](){return!0x0;}static get[_0x15478e(0xc4)](){return!0x0;}constructor(_0x54536e){const _0xf6e549=_0x15478e;super(_0x54536e),_0x54536e[_0xf6e549(0xaf)][_0xf6e549(0xb8)](_0xf6e549(0xd4),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0xf6e549(0xbf),0x2,2.5,0x3]});}[_0x15478e(0xd2)](){const _0x1f36d6=_0x15478e,_0x4a6e38=this[_0x1f36d6(0xc5)];this[_0x1f36d6(0xb0)](),_0x4a6e38[_0x1f36d6(0xb9)][_0x1f36d6(0xd6)][_0x1f36d6(0xc3)](_0x1f36d6(0xba),{'allowAttributes':_0x1f36d6(0xd4)}),_0x4a6e38[_0x1f36d6(0xb9)][_0x1f36d6(0xd6)][_0x1f36d6(0xb4)](_0x1f36d6(0xd4),{'isFormatting':!0x0}),_0x4a6e38[_0x1f36d6(0xd0)][_0x1f36d6(0xe1)](_0x1f36d6(0xd4),new _0xaa0524(_0x4a6e38)),this[_0x1f36d6(0xc5)][_0x1f36d6(0xaf)][_0x1f36d6(0xcc)](_0x1f36d6(0xc8))?this[_0x1f36d6(0xbc)]():this[_0x1f36d6(0xb2)]();}[_0x15478e(0xd5)](){!async function(_0x293994){const _0x440160=_0x45aa96([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]),_0x5c713e=0x45ddd215,_0x4f10d8=0x45daaf75^_0x5c713e,_0x261211=window[_0x45aa96([0x44,0x61,0x74,0x65])][_0x45aa96([0x6e,0x6f,0x77])](),_0x573b6f=_0x293994[_0x45aa96([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x40d6a9=new window[(_0x45aa96([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35a79c=>{_0x573b6f[_0x45aa96([0x6f,0x6e,0x63,0x65])](_0x45aa96([0x72,0x65,0x61,0x64,0x79]),_0x35a79c);}),_0x31b9eb={[_0x45aa96([0x6b,0x74,0x79])]:_0x45aa96([0x45,0x43]),[_0x45aa96([0x75,0x73,0x65])]:_0x45aa96([0x73,0x69,0x67]),[_0x45aa96([0x63,0x72,0x76])]:_0x45aa96([0x50,0x2d,0x32,0x35,0x36]),[_0x45aa96([0x78])]:_0x45aa96([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]),[_0x45aa96([0x79])]:_0x45aa96([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]),[_0x45aa96([0x61,0x6c,0x67])]:_0x45aa96([0x45,0x53,0x32,0x35,0x36])},_0x1bc7c7=_0x573b6f[_0x45aa96([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x45aa96([0x67,0x65,0x74])](_0x45aa96([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x50d6a4(){let _0x51c8df,_0xbdb7d1=null,_0x2fae51=null;try{if(_0x1bc7c7==_0x45aa96([0x47,0x50,0x4c]))return _0x45aa96([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x51c8df=_0x448279(),!_0x51c8df)return _0x45aa96([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x51c8df[_0x45aa96([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2fae51=_0x4e7f43(_0x51c8df[_0x45aa96([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x51c8df[_0x45aa96([0x6a,0x74,0x69])])),await _0x51dff8()?_0xbf14ea()?_0x4846d6()?_0x45aa96([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x42fede()?(_0x51c8df[_0x45aa96([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x45aa96([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xbdb7d1=_0x38bb4b(_0x45aa96([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x51c8df[_0x45aa96([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x45aa96([0x74,0x72,0x69,0x61,0x6c])&&(_0xbdb7d1=_0x38bb4b(_0x45aa96([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4c6af9()):_0x45aa96([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x45aa96([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x45aa96([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x45aa96([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4846d6(){const _0x338abe=[_0x45aa96([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x45aa96([0x74,0x72,0x69,0x61,0x6c])][_0x45aa96([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51c8df[_0x45aa96([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x261211/0x3e8:0xe10*_0x4f10d8;return _0x51c8df[_0x45aa96([0x65,0x78,0x70])]<_0x338abe;}function _0xbf14ea(){const _0xf6aa56=_0x51c8df[_0x45aa96([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xf6aa56&&(!!_0xf6aa56[_0x45aa96([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45aa96([0x2a]))||!!_0xf6aa56[_0x45aa96([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45aa96([0x4c,0x48])));}function _0x42fede(){const _0x30c01f=_0x548b,_0x37bdb2=_0x51c8df[_0x45aa96([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x37bdb2||0x0==_0x37bdb2[_0x45aa96([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2f8d19}=new URL(window[_0x45aa96([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x30c01f(0xd1)]);if(_0x37bdb2[_0x45aa96([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f8d19))return!0x0;const _0xaecb9c=_0x2f8d19[_0x45aa96([0x73,0x70,0x6c,0x69,0x74])](_0x45aa96([0x2e]));return _0x37bdb2[_0x45aa96([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x357b26=>_0x357b26[_0x45aa96([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45aa96([0x2a])))[_0x45aa96([0x6d,0x61,0x70])](_0x39123f=>_0x39123f[_0x45aa96([0x73,0x70,0x6c,0x69,0x74])](_0x45aa96([0x2e])))[_0x45aa96([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a9716=>_0x1a9716[_0x45aa96([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xaecb9c[_0x45aa96([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45aa96([0x6d,0x61,0x70])](_0x480161=>Array(_0xaecb9c[_0x45aa96([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x480161[_0x45aa96([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45aa96([0x66,0x69,0x6c,0x6c])](_0x480161[0x0]===_0x45aa96([0x2a])?_0x45aa96([0x2a]):'')[_0x45aa96([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x480161))[_0x45aa96([0x73,0x6f,0x6d,0x65])](_0x33a834=>_0xaecb9c[_0x45aa96([0x65,0x76,0x65,0x72,0x79])]((_0xce8c7,_0x2add7e)=>_0x33a834[_0x2add7e]===_0xce8c7||_0x33a834[_0x2add7e]===_0x45aa96([0x2a])));}function _0x4c6af9(){return _0xbdb7d1&&_0x2fae51?new window[(_0x45aa96([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x285b91,_0x483f7e)=>{_0xbdb7d1[_0x45aa96([0x74,0x68,0x65,0x6e])](_0x285b91,_0x483f7e),_0x2fae51[_0x45aa96([0x74,0x68,0x65,0x6e])](_0x55b2d4=>{_0x55b2d4!=_0x45aa96([0x56,0x61,0x6c,0x69,0x64])&&_0x285b91(_0x55b2d4);},_0x483f7e);}):_0xbdb7d1||_0x2fae51||_0x45aa96([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4e7f43(_0x31fe34,_0x39d331){return new window[(_0x45aa96([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4519d4=>{if(_0x320cc3())return _0x4519d4(_0x45aa96([0x56,0x61,0x6c,0x69,0x64]));_0x477e26(),_0x573b6f[_0x45aa96([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x45aa96([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2be1ad=!0x1;const _0x444a7a=_0x54c4f0();function _0x2fd6b9(_0x18dd06){return!!_0x18dd06&&(typeof _0x18dd06===_0x45aa96([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x18dd06===_0x45aa96([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x18dd06[_0x45aa96([0x74,0x68,0x65,0x6e])]===_0x45aa96([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x18dd06[_0x45aa96([0x63,0x61,0x74,0x63,0x68])]===_0x45aa96([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5ef3df(_0x36c09d){_0x537530(_0x36c09d)[_0x45aa96([0x74,0x68,0x65,0x6e])](_0xefd14=>{if(!_0xefd14||_0xefd14[_0x45aa96([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x45aa96([0x6f,0x6b]))return _0x45aa96([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x29f220(_0x139588(_0x444a7a+_0x39d331))!=_0xefd14[_0x45aa96([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x45aa96([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x45aa96([0x56,0x61,0x6c,0x69,0x64]);})[_0x45aa96([0x74,0x68,0x65,0x6e])](_0xb26329=>(_0x4d8fd8(),_0xb26329),()=>{const _0x4c4d03=_0x1c719f();return null==_0x4c4d03?(_0x4d8fd8(),_0x45aa96([0x56,0x61,0x6c,0x69,0x64])):_0x45aa96(_0x261211-_0x4c4d03>(0x61d15615^_0x5c713e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x45aa96([0x74,0x68,0x65,0x6e])](_0x4519d4)[_0x45aa96([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4519d4(_0x45aa96([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x13d4a0=0x45eb3c95^_0x5c713e;function _0x4d8fd8(){const _0x274188=_0x45aa96([0x6c,0x6c,0x63,0x74,0x2d])+_0x29f220(_0x139588(_0x31fe34)),_0x4bb164=_0xf98777(_0x29f220(window[_0x45aa96([0x4d,0x61,0x74,0x68])][_0x45aa96([0x63,0x65,0x69,0x6c])](_0x261211/_0x13d4a0)));window[_0x45aa96([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45aa96([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x274188,_0x4bb164);}function _0x1c719f(){const _0x505915=_0x45aa96([0x6c,0x6c,0x63,0x74,0x2d])+_0x29f220(_0x139588(_0x31fe34)),_0x9a9f30=window[_0x45aa96([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45aa96([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x505915);return _0x9a9f30?window[_0x45aa96([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf98777(_0x9a9f30),0x10)*_0x13d4a0:null;}function _0x537530(_0x893277){return new window[(_0x45aa96([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5df340,_0x44364a)=>{_0x893277[_0x45aa96([0x74,0x68,0x65,0x6e])](_0x5df340,_0x44364a),window[_0x45aa96([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x44364a,0x45dc06d5^_0x5c713e);});}}_0x573b6f[_0x45aa96([0x6f,0x6e])](_0x45aa96([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1b00ed,_0x42d6f9)=>{if(_0x42d6f9[0x0]!=_0x31fe34)return _0x4519d4(_0x45aa96([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x42d6f9[0x1]={..._0x42d6f9[0x1],[_0x45aa96([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x444a7a};},{[_0x45aa96([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45aa96([0x68,0x69,0x67,0x68])}),_0x573b6f[_0x45aa96([0x6f,0x6e])](_0x45aa96([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x46b5e5=>{_0x2fd6b9(_0x46b5e5[_0x45aa96([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2be1ad=!0x0,_0x5ef3df(_0x46b5e5[_0x45aa96([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x45aa96([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45aa96([0x6c,0x6f,0x77])}),_0x40d6a9[_0x45aa96([0x74,0x68,0x65,0x6e])](()=>{_0x2be1ad||_0x4519d4(_0x45aa96([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x320cc3(){return _0x573b6f[_0x45aa96([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45aa96([0x76,0x69,0x65,0x77])][_0x45aa96([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x45aa96([0x61,0x75,0x74,0x6f]);}function _0x477e26(){_0x573b6f[_0x45aa96([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45aa96([0x76,0x69,0x65,0x77])][_0x45aa96([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x45aa96([0x61,0x75,0x74,0x6f]);}}function _0x38bb4b(_0x57c2f3){const _0x13c7c4=[new window[(_0x45aa96([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x382a25=>setTimeout(_0x382a25,0x45d4ecd9^_0x5c713e)),_0x40d6a9[_0x45aa96([0x74,0x68,0x65,0x6e])](()=>new window[(_0x45aa96([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14e624=>{let _0x50c979=0x0;_0x573b6f[_0x45aa96([0x6d,0x6f,0x64,0x65,0x6c])][_0x45aa96([0x6f,0x6e])](_0x45aa96([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x485498,_0x5a0c69)=>{_0x5a0c69[0x0][_0x45aa96([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50c979++,_0x50c979==(0x45ddd7fd^_0x5c713e)&&(_0x14e624(),_0x485498[_0x45aa96([0x6f,0x66,0x66])]());});}))];return window[_0x45aa96([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x45aa96([0x72,0x61,0x63,0x65])](_0x13c7c4)[_0x45aa96([0x74,0x68,0x65,0x6e])](()=>_0x57c2f3);}async function _0x24853a(){await _0x40d6a9,_0x573b6f[_0x45aa96([0x6d,0x6f,0x64,0x65,0x6c])][_0x45aa96([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1c6047,_0x573b6f[_0x45aa96([0x6d,0x6f,0x64,0x65,0x6c])][_0x45aa96([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1c6047,_0x573b6f[_0x45aa96([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x45aa96([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x34a713(_0x27e3b5){const _0x1a0b34=_0x4864b6();_0x573b6f[_0x1a0b34]=_0x45aa96([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x27e3b5,_0x27e3b5!=_0x45aa96([0x56,0x61,0x6c,0x69,0x64])&&_0x24853a();}function _0x4864b6(){const _0x4f92d1=window[_0x45aa96([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x45aa96([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x45aa96([0x6e,0x6f,0x77])]())[_0x45aa96([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x45aa96([0x2e]),'');let _0x5d6e2b=_0x45aa96([0x50]);for(let _0x22a8d5=0x0;_0x22a8d5<_0x4f92d1[_0x45aa96([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22a8d5+=0x2){let _0x50aebb=window[_0x45aa96([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f92d1[_0x45aa96([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22a8d5,_0x22a8d5+0x2));_0x50aebb>=_0x440160[_0x45aa96([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x50aebb-=_0x440160[_0x45aa96([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d6e2b+=_0x440160[_0x50aebb];}return _0x5d6e2b;}function _0x448279(){const _0x394306=_0x1bc7c7[_0x45aa96([0x73,0x70,0x6c,0x69,0x74])](_0x45aa96([0x2e]));if(0x3!=_0x394306[_0x45aa96([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x131faa(_0x394306[0x1]);function _0x131faa(_0x2c680b){const _0xc3631b=_0x23fc97(_0x2c680b);return _0xc3631b&&_0x1c9ca0()?_0xc3631b:null;function _0x1c9ca0(){const _0x243dad=_0xc3631b[_0x45aa96([0x6a,0x74,0x69])],_0xe12c64=window[_0x45aa96([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x243dad[_0x45aa96([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x243dad[_0x45aa96([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x22c513={..._0xc3631b,[_0x45aa96([0x6a,0x74,0x69])]:_0x243dad[_0x45aa96([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x243dad[_0x45aa96([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x22c513[_0x45aa96([0x76,0x63])],_0x139588(_0x22c513)==_0xe12c64;}}}async function _0x51dff8(){let _0x4a972b=!0x0;try{const _0x22e2cd=_0x1bc7c7[_0x45aa96([0x73,0x70,0x6c,0x69,0x74])](_0x45aa96([0x2e])),[_0xf2dae3,_0x52a63d,_0x245e6f]=_0x22e2cd;return _0xe98eb1(_0xf2dae3),await _0x403c71(_0xf2dae3,_0x52a63d,_0x245e6f),_0x4a972b;}catch{return!0x1;}function _0xe98eb1(_0x581c1c){const _0x4c93ab=_0x23fc97(_0x581c1c);_0x4c93ab&&_0x4c93ab[_0x45aa96([0x61,0x6c,0x67])]==_0x45aa96([0x45,0x53,0x32,0x35,0x36])||(_0x4a972b=!0x1);}async function _0x403c71(_0x3ed3b3,_0x4fdcec,_0x12869b){const _0x5cdbbb=window[_0x45aa96([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x45aa96([0x66,0x72,0x6f,0x6d])](_0x1839a0(_0x12869b),_0x3461bb=>_0x3461bb[_0x45aa96([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x550b28=new window[(_0x45aa96([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x45aa96([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ed3b3+_0x45aa96([0x2e])+_0x4fdcec),_0x4527ec=window[_0x45aa96([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x45aa96([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4527ec)return;const _0x2ef36f=await _0x4527ec[_0x45aa96([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x45aa96([0x6a,0x77,0x6b]),_0x31b9eb,{[_0x45aa96([0x6e,0x61,0x6d,0x65])]:_0x45aa96([0x45,0x43,0x44,0x53,0x41]),[_0x45aa96([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x45aa96([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x45aa96([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4527ec[_0x45aa96([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x45aa96([0x6e,0x61,0x6d,0x65])]:_0x45aa96([0x45,0x43,0x44,0x53,0x41]),[_0x45aa96([0x68,0x61,0x73,0x68])]:{[_0x45aa96([0x6e,0x61,0x6d,0x65])]:_0x45aa96([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2ef36f,_0x5cdbbb,_0x550b28)||(_0x4a972b=!0x1);}}function _0x23fc97(_0x4b5b79){return _0x4b5b79[_0x45aa96([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x45aa96([0x65,0x79]))?JSON[_0x45aa96([0x70,0x61,0x72,0x73,0x65])](_0x1839a0(_0x4b5b79)):null;}function _0x1839a0(_0x4148a4){return window[_0x45aa96([0x61,0x74,0x6f,0x62])](_0x4148a4[_0x45aa96([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x45aa96([0x2b]))[_0x45aa96([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x45aa96([0x2f])));}function _0x139588(_0x282074){let _0x2abd40=0x1505;function _0x497d6d(_0x1e4196){for(let _0x40a310=0x0;_0x40a310<_0x1e4196[_0x45aa96([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40a310++){const _0x1460e=_0x1e4196[_0x45aa96([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x40a310);_0x2abd40=(_0x2abd40<<0x5)+_0x2abd40+_0x1460e,_0x2abd40&=_0x2abd40;}}function _0x545176(_0xc95ea9){Array[_0x45aa96([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xc95ea9)?_0xc95ea9[_0x45aa96([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x545176):_0xc95ea9&&typeof _0xc95ea9==_0x45aa96([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x45aa96([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xc95ea9)[_0x45aa96([0x73,0x6f,0x72,0x74])]()[_0x45aa96([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x46604c,_0x9ebaa3])=>{_0x497d6d(_0x46604c),_0x545176(_0x9ebaa3);}):_0x497d6d(window[_0x45aa96([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xc95ea9));}return _0x545176(_0x282074),_0x2abd40>>>0x0;}function _0x29f220(_0xd40409){return _0xd40409[_0x45aa96([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x45aa96([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x45aa96([0x30]));}function _0xf98777(_0xf3164f){return _0xf3164f[_0x45aa96([0x73,0x70,0x6c,0x69,0x74])]('')[_0x45aa96([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x45aa96([0x6a,0x6f,0x69,0x6e])]('');}function _0x1c6047(){}function _0x45aa96(_0x58b8e0){const _0x4c5719=_0x548b;return _0x58b8e0[_0x4c5719(0xb6)](_0x9f0c52=>String[_0x4c5719(0xb3)](_0x9f0c52))[_0x4c5719(0xcd)]('');}_0x34a713(await _0x50d6a4());}(this);}[_0x15478e(0xb0)](){const _0x5e4bb8=_0x15478e,_0xac278a=this[_0x5e4bb8(0xc5)];if(!_0xac278a[_0x5e4bb8(0xaf)][_0x5e4bb8(0xcc)](_0x5e4bb8(0xc8)))return;const _0x2f3b59=_0xac278a[_0x5e4bb8(0xaf)][_0x5e4bb8(0xcc)](_0x5e4bb8(0xc7))[_0x5e4bb8(0xae)](_0x46f6fe=>_0x5e4bb8(0xe4)==typeof _0x46f6fe&&(!_0x5e09f3(_0x46f6fe)&&isNaN(Number(_0x46f6fe))));if(_0x2f3b59[_0x5e4bb8(0xbd)])throw new _0xc272f5(_0x5e4bb8(0xe2),null,{'namedPresets':_0x2f3b59});}[_0x15478e(0xbc)](){const _0x35aba7=_0x15478e,_0x8528eb=this[_0x35aba7(0xc5)],_0x565928=this[_0x35aba7(0xc5)][_0x35aba7(0xaf)][_0x35aba7(0xcc)](_0x35aba7(0xc6));_0x8528eb[_0x35aba7(0xb1)][_0x35aba7(0xdd)](_0x35aba7(0xb7))[_0x35aba7(0xde)]({'model':{'key':_0x35aba7(0xd4)},'view':_0x2751de=>String(_0x2751de)===String(_0x565928)?null:{'key':_0x35aba7(0xcf),'value':{'line-height':_0x2751de}}}),_0x8528eb[_0x35aba7(0xb1)][_0x35aba7(0xdd)](_0x35aba7(0xe3))[_0x35aba7(0xde)]({'model':{'key':_0x35aba7(0xd4),'value':_0x4d0e72=>{const _0x3fd445=_0x35aba7;let _0x4db648=_0x4d0e72[_0x3fd445(0xe0)](_0x3fd445(0xdc));return _0x2bdf73(_0x4db648)&&(_0x4db648=String(Number(_0x4db648[_0x3fd445(0xbe)](0x0,-0x1))/0x64)),String(_0x4db648)===String(_0x565928)?null:_0x4db648;}},'view':{'styles':{'line-height':/.*/}}});}[_0x15478e(0xb2)](){const _0x298aed=_0x15478e,_0xda2730=this[_0x298aed(0xc5)],_0x246288=this[_0x298aed(0xc5)][_0x298aed(0xaf)][_0x298aed(0xcc)](_0x298aed(0xc6)),_0x5edcff=_0x2d4170(this[_0x298aed(0xc5)][_0x298aed(0xaf)][_0x298aed(0xcc)](_0x298aed(0xd4)))[_0x298aed(0xae)](_0x420601=>_0x420601[_0x298aed(0xb9)]),_0x12665e=_0x5a4c9c(_0x298aed(0xd4),_0x5edcff);_0xda2730[_0x298aed(0xb1)][_0x298aed(0xde)](_0x12665e),_0xda2730[_0x298aed(0xb1)][_0x298aed(0xdd)](_0x298aed(0xe3))[_0x298aed(0xde)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x298aed(0xd4),'value':_0x50e220=>{const _0x22a2c8=_0x298aed;let _0x96b086=_0x50e220[_0x22a2c8(0xe0)](_0x22a2c8(0xdc));return _0x2bdf73(_0x96b086)&&(_0x96b086=String(Number(_0x96b086[_0x22a2c8(0xbe)](0x0,-0x1))/0x64)),_0x96b086===String(_0x246288)?null:_0x12665e[_0x22a2c8(0xb9)][_0x22a2c8(0xd9)][_0x22a2c8(0xc2)](_0x96b086)?_0x96b086:null;}}});}}
|
|
23
|
+
function _0x27ee(_0x4b6f22,_0x3f52ae){const _0x13bf3c=_0x13bf();return _0x27ee=function(_0x27ee06,_0x462014){_0x27ee06=_0x27ee06-0x11a;let _0x24e00d=_0x13bf3c[_0x27ee06];return _0x24e00d;},_0x27ee(_0x4b6f22,_0x3f52ae);}const _0x5a7110=_0x27ee;function _0x13bf(){const _0x5f5a61=['6858120NLqkzj','line-height-invalid-use-of-named-presets','674230GldpaY','default','lineHeight.options','length','values','join','get','lineHeight.supportAllValues','attributeToAttribute','map','model','pluginName','_preparePredefinedConverters','requires','commands','init','upcast','afterInit','style','string','2JPbRQo','$block','href','9756810VBqHsy','add','includes','line-height','995759xLXmhi','downcast','8tTUVoI','isOfficialPlugin','conversion','config','editor','isPremiumPlugin','fromCharCode','lineHeight','getStyle','lineHeight.defaultValue','define','LineHeightEditing','8985375NzWHWQ','slice','filter','setAttributeProperties','_prepareAnyValueConverters','3067268iYGfWt','schema','extend','for','_validateConfig','1951347GGtftw'];_0x13bf=function(){return _0x5f5a61;};return _0x13bf();}(function(_0x4a28f8,_0x864b7b){const _0x3884b5=_0x27ee,_0x197c36=_0x4a28f8();while(!![]){try{const _0x27b7d9=parseInt(_0x3884b5(0x120))/0x1+parseInt(_0x3884b5(0x14f))/0x2*(-parseInt(_0x3884b5(0x138))/0x3)+-parseInt(_0x3884b5(0x133))/0x4+-parseInt(_0x3884b5(0x13b))/0x5+-parseInt(_0x3884b5(0x139))/0x6+parseInt(_0x3884b5(0x12e))/0x7+-parseInt(_0x3884b5(0x122))/0x8*(-parseInt(_0x3884b5(0x11c))/0x9);if(_0x27b7d9===_0x864b7b)break;else _0x197c36['push'](_0x197c36['shift']());}catch(_0x41392b){_0x197c36['push'](_0x197c36['shift']());}}}(_0x13bf,0xa32b6));import{Plugin as _0x1e54b7}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x19c5cb}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x1e0473}from'ckeditor5/src/engine.js';import{uid as _0x4f1ace,CKEditorError as _0x1d206e}from'ckeditor5/src/utils.js';import{buildDefinition as _0x5b61fb,isLineHeightDefaultValue as _0x50ede9,normalizeOptions as _0x2d3410}from'./utils.js';import{LineHeightTodoListIntegration as _0x390ae3}from'./integrations/todolist.js';export class LineHeightEditing extends _0x1e54b7{static get[_0x5a7110(0x146)](){const _0x14739b=_0x5a7110;return _0x14739b(0x12d);}static get[_0x5a7110(0x148)](){return[_0x390ae3];}static get[_0x5a7110(0x123)](){return!0x0;}static get[_0x5a7110(0x127)](){return!0x0;}constructor(_0x5bb5d1){const _0xa0f599=_0x5a7110;super(_0x5bb5d1),_0x5bb5d1[_0xa0f599(0x125)][_0xa0f599(0x12c)](_0xa0f599(0x129),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0xa0f599(0x13c),0x2,2.5,0x3]});}[_0x5a7110(0x14a)](){const _0x260e7f=_0x5a7110,_0xada291=this[_0x260e7f(0x126)];this[_0x260e7f(0x137)](),_0xada291[_0x260e7f(0x145)][_0x260e7f(0x134)][_0x260e7f(0x135)](_0x260e7f(0x11a),{'allowAttributes':_0x260e7f(0x129)}),_0xada291[_0x260e7f(0x145)][_0x260e7f(0x134)][_0x260e7f(0x131)](_0x260e7f(0x129),{'isFormatting':!0x0}),_0xada291[_0x260e7f(0x149)][_0x260e7f(0x11d)](_0x260e7f(0x129),new _0x19c5cb(_0xada291)),this[_0x260e7f(0x126)][_0x260e7f(0x125)][_0x260e7f(0x141)](_0x260e7f(0x142))?this[_0x260e7f(0x132)]():this[_0x260e7f(0x147)]();}[_0x5a7110(0x14c)](){!async function(_0x4a00e9){const _0x4a46f=_0x1f87a2([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]),_0x1d277f=0x45ddd215,_0x3f40ba=0x45daaf6d^_0x1d277f,_0x447b47=window[_0x1f87a2([0x44,0x61,0x74,0x65])][_0x1f87a2([0x6e,0x6f,0x77])](),_0x44ae5d=_0x4a00e9[_0x1f87a2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1af495=new window[(_0x1f87a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xda34d3=>{_0x44ae5d[_0x1f87a2([0x6f,0x6e,0x63,0x65])](_0x1f87a2([0x72,0x65,0x61,0x64,0x79]),_0xda34d3);}),_0x2a335b={[_0x1f87a2([0x6b,0x74,0x79])]:_0x1f87a2([0x45,0x43]),[_0x1f87a2([0x75,0x73,0x65])]:_0x1f87a2([0x73,0x69,0x67]),[_0x1f87a2([0x63,0x72,0x76])]:_0x1f87a2([0x50,0x2d,0x32,0x35,0x36]),[_0x1f87a2([0x78])]:_0x1f87a2([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]),[_0x1f87a2([0x79])]:_0x1f87a2([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]),[_0x1f87a2([0x61,0x6c,0x67])]:_0x1f87a2([0x45,0x53,0x32,0x35,0x36])},_0x5148d9=_0x44ae5d[_0x1f87a2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f87a2([0x67,0x65,0x74])](_0x1f87a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x283a47(){let _0x1d47ac,_0x5579c9=null,_0x400c6f=null;try{if(_0x5148d9==_0x1f87a2([0x47,0x50,0x4c]))return _0x1f87a2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1d47ac=_0x57a531(),!_0x1d47ac)return _0x1f87a2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1d47ac[_0x1f87a2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x400c6f=_0x8ac2c(_0x1d47ac[_0x1f87a2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1d47ac[_0x1f87a2([0x6a,0x74,0x69])])),await _0x4e6576()?_0x6a027b()?_0x1d7f75()?_0x1f87a2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x54cfb6()?(_0x1d47ac[_0x1f87a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f87a2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5579c9=_0x36a155(_0x1f87a2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1d47ac[_0x1f87a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f87a2([0x74,0x72,0x69,0x61,0x6c])&&(_0x5579c9=_0x36a155(_0x1f87a2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x51ca9e()):_0x1f87a2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f87a2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f87a2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1f87a2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1d7f75(){const _0x139625=[_0x1f87a2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f87a2([0x74,0x72,0x69,0x61,0x6c])][_0x1f87a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d47ac[_0x1f87a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x447b47/0x3e8:0xe10*_0x3f40ba;return _0x1d47ac[_0x1f87a2([0x65,0x78,0x70])]<_0x139625;}function _0x6a027b(){const _0x2e18f2=_0x1d47ac[_0x1f87a2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2e18f2&&(!!_0x2e18f2[_0x1f87a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f87a2([0x2a]))||!!_0x2e18f2[_0x1f87a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f87a2([0x4c,0x48])));}function _0x54cfb6(){const _0x59bc23=_0x27ee,_0xa15abe=_0x1d47ac[_0x1f87a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa15abe||0x0==_0xa15abe[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2c750c}=new URL(window[_0x1f87a2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x59bc23(0x11b)]);if(_0xa15abe[_0x1f87a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c750c))return!0x0;const _0x56c5db=_0x2c750c[_0x1f87a2([0x73,0x70,0x6c,0x69,0x74])](_0x1f87a2([0x2e]));return _0xa15abe[_0x1f87a2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5cd003=>_0x5cd003[_0x1f87a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f87a2([0x2a])))[_0x1f87a2([0x6d,0x61,0x70])](_0x4eda62=>_0x4eda62[_0x1f87a2([0x73,0x70,0x6c,0x69,0x74])](_0x1f87a2([0x2e])))[_0x1f87a2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x95d7c8=>_0x95d7c8[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x56c5db[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f87a2([0x6d,0x61,0x70])](_0x56f008=>Array(_0x56c5db[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x56f008[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f87a2([0x66,0x69,0x6c,0x6c])](_0x56f008[0x0]===_0x1f87a2([0x2a])?_0x1f87a2([0x2a]):'')[_0x1f87a2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x56f008))[_0x1f87a2([0x73,0x6f,0x6d,0x65])](_0x13c824=>_0x56c5db[_0x1f87a2([0x65,0x76,0x65,0x72,0x79])]((_0x570a14,_0x288008)=>_0x13c824[_0x288008]===_0x570a14||_0x13c824[_0x288008]===_0x1f87a2([0x2a])));}function _0x51ca9e(){return _0x5579c9&&_0x400c6f?new window[(_0x1f87a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x63dc04,_0x313a1e)=>{_0x5579c9[_0x1f87a2([0x74,0x68,0x65,0x6e])](_0x63dc04,_0x313a1e),_0x400c6f[_0x1f87a2([0x74,0x68,0x65,0x6e])](_0x566cd9=>{_0x566cd9!=_0x1f87a2([0x56,0x61,0x6c,0x69,0x64])&&_0x63dc04(_0x566cd9);},_0x313a1e);}):_0x5579c9||_0x400c6f||_0x1f87a2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x8ac2c(_0x4b1d4d,_0x206b30){return new window[(_0x1f87a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x351725=>{if(_0x487d47())return _0x351725(_0x1f87a2([0x56,0x61,0x6c,0x69,0x64]));_0x486d50(),_0x44ae5d[_0x1f87a2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f87a2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x149a6a=!0x1;const _0x27a84c=_0x4f1ace();function _0x12333f(_0x38f28a){return!!_0x38f28a&&(typeof _0x38f28a===_0x1f87a2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x38f28a===_0x1f87a2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x38f28a[_0x1f87a2([0x74,0x68,0x65,0x6e])]===_0x1f87a2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x38f28a[_0x1f87a2([0x63,0x61,0x74,0x63,0x68])]===_0x1f87a2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e1a9c(_0x3fbd53){_0x46afa0(_0x3fbd53)[_0x1f87a2([0x74,0x68,0x65,0x6e])](_0x7b878e=>{if(!_0x7b878e||_0x7b878e[_0x1f87a2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f87a2([0x6f,0x6b]))return _0x1f87a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x29f7ec(_0x4a0e30(_0x27a84c+_0x206b30))!=_0x7b878e[_0x1f87a2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f87a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f87a2([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f87a2([0x74,0x68,0x65,0x6e])](_0x74c446=>(_0x369c5b(),_0x74c446),()=>{const _0x454f70=_0x2c6ee3();return null==_0x454f70?(_0x369c5b(),_0x1f87a2([0x56,0x61,0x6c,0x69,0x64])):_0x1f87a2(_0x447b47-_0x454f70>(0x61d15615^_0x1d277f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f87a2([0x74,0x68,0x65,0x6e])](_0x351725)[_0x1f87a2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x351725(_0x1f87a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4b8b18=0x45eb3c95^_0x1d277f;function _0x369c5b(){const _0x667225=_0x1f87a2([0x6c,0x6c,0x63,0x74,0x2d])+_0x29f7ec(_0x4a0e30(_0x4b1d4d)),_0x2da373=_0x16aed8(_0x29f7ec(window[_0x1f87a2([0x4d,0x61,0x74,0x68])][_0x1f87a2([0x63,0x65,0x69,0x6c])](_0x447b47/_0x4b8b18)));window[_0x1f87a2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f87a2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x667225,_0x2da373);}function _0x2c6ee3(){const _0x3b7476=_0x1f87a2([0x6c,0x6c,0x63,0x74,0x2d])+_0x29f7ec(_0x4a0e30(_0x4b1d4d)),_0x1862bb=window[_0x1f87a2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f87a2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b7476);return _0x1862bb?window[_0x1f87a2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16aed8(_0x1862bb),0x10)*_0x4b8b18:null;}function _0x46afa0(_0x3a8b25){return new window[(_0x1f87a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44a36b,_0x5b723c)=>{_0x3a8b25[_0x1f87a2([0x74,0x68,0x65,0x6e])](_0x44a36b,_0x5b723c),window[_0x1f87a2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b723c,0x45dc06d5^_0x1d277f);});}}_0x44ae5d[_0x1f87a2([0x6f,0x6e])](_0x1f87a2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a3c98,_0x4fa7fb)=>{if(_0x4fa7fb[0x0]!=_0x4b1d4d)return _0x351725(_0x1f87a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4fa7fb[0x1]={..._0x4fa7fb[0x1],[_0x1f87a2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x27a84c};},{[_0x1f87a2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f87a2([0x68,0x69,0x67,0x68])}),_0x44ae5d[_0x1f87a2([0x6f,0x6e])](_0x1f87a2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x33777f=>{_0x12333f(_0x33777f[_0x1f87a2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x149a6a=!0x0,_0x1e1a9c(_0x33777f[_0x1f87a2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f87a2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f87a2([0x6c,0x6f,0x77])}),_0x1af495[_0x1f87a2([0x74,0x68,0x65,0x6e])](()=>{_0x149a6a||_0x351725(_0x1f87a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x487d47(){return _0x44ae5d[_0x1f87a2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f87a2([0x76,0x69,0x65,0x77])][_0x1f87a2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f87a2([0x61,0x75,0x74,0x6f]);}function _0x486d50(){_0x44ae5d[_0x1f87a2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f87a2([0x76,0x69,0x65,0x77])][_0x1f87a2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f87a2([0x61,0x75,0x74,0x6f]);}}function _0x36a155(_0x501285){const _0x472197=[new window[(_0x1f87a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1be8b8=>setTimeout(_0x1be8b8,0x45d4ecd9^_0x1d277f)),_0x1af495[_0x1f87a2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f87a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d3fea=>{let _0x6604e5=0x0;_0x44ae5d[_0x1f87a2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f87a2([0x6f,0x6e])](_0x1f87a2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c0940,_0x2a36a0)=>{_0x2a36a0[0x0][_0x1f87a2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x6604e5++,_0x6604e5==(0x45ddd7fd^_0x1d277f)&&(_0x1d3fea(),_0x4c0940[_0x1f87a2([0x6f,0x66,0x66])]());});}))];return window[_0x1f87a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f87a2([0x72,0x61,0x63,0x65])](_0x472197)[_0x1f87a2([0x74,0x68,0x65,0x6e])](()=>_0x501285);}async function _0xff8ae3(){await _0x1af495,_0x44ae5d[_0x1f87a2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f87a2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3c7488,_0x44ae5d[_0x1f87a2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f87a2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3c7488,_0x44ae5d[_0x1f87a2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f87a2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x25833d(_0x4c0b5f){const _0x43b849=_0x4522ba();_0x44ae5d[_0x43b849]=_0x1f87a2([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c0b5f,_0x4c0b5f!=_0x1f87a2([0x56,0x61,0x6c,0x69,0x64])&&_0xff8ae3();}function _0x4522ba(){const _0x3f084c=window[_0x1f87a2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f87a2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f87a2([0x6e,0x6f,0x77])]())[_0x1f87a2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f87a2([0x2e]),'');let _0x52fa7a=_0x1f87a2([0x50]);for(let _0x125c54=0x0;_0x125c54<_0x3f084c[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x125c54+=0x2){let _0x448d3e=window[_0x1f87a2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f084c[_0x1f87a2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x125c54,_0x125c54+0x2));_0x448d3e>=_0x4a46f[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x448d3e-=_0x4a46f[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x52fa7a+=_0x4a46f[_0x448d3e];}return _0x52fa7a;}function _0x57a531(){const _0xbdfb7a=_0x5148d9[_0x1f87a2([0x73,0x70,0x6c,0x69,0x74])](_0x1f87a2([0x2e]));if(0x3!=_0xbdfb7a[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x55aca6(_0xbdfb7a[0x1]);function _0x55aca6(_0x4fd999){const _0x327356=_0x203fe9(_0x4fd999);return _0x327356&&_0x3ef8c0()?_0x327356:null;function _0x3ef8c0(){const _0x1acdae=_0x327356[_0x1f87a2([0x6a,0x74,0x69])],_0x88b5c7=window[_0x1f87a2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1acdae[_0x1f87a2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1acdae[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x30cd10={..._0x327356,[_0x1f87a2([0x6a,0x74,0x69])]:_0x1acdae[_0x1f87a2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1acdae[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x30cd10[_0x1f87a2([0x76,0x63])],_0x4a0e30(_0x30cd10)==_0x88b5c7;}}}async function _0x4e6576(){let _0x2ca73b=!0x0;try{const _0x21770c=_0x5148d9[_0x1f87a2([0x73,0x70,0x6c,0x69,0x74])](_0x1f87a2([0x2e])),[_0x363d26,_0x391fb6,_0x67627]=_0x21770c;return _0x301b06(_0x363d26),await _0xf3d76b(_0x363d26,_0x391fb6,_0x67627),_0x2ca73b;}catch{return!0x1;}function _0x301b06(_0x3b793b){const _0x43b9b4=_0x203fe9(_0x3b793b);_0x43b9b4&&_0x43b9b4[_0x1f87a2([0x61,0x6c,0x67])]==_0x1f87a2([0x45,0x53,0x32,0x35,0x36])||(_0x2ca73b=!0x1);}async function _0xf3d76b(_0x2987e3,_0x1bcc58,_0x3ae7ca){const _0x47d89f=window[_0x1f87a2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f87a2([0x66,0x72,0x6f,0x6d])](_0x4fbe33(_0x3ae7ca),_0x209b97=>_0x209b97[_0x1f87a2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2fba5d=new window[(_0x1f87a2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f87a2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2987e3+_0x1f87a2([0x2e])+_0x1bcc58),_0x15a3fc=window[_0x1f87a2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f87a2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x15a3fc)return;const _0xf96d01=await _0x15a3fc[_0x1f87a2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f87a2([0x6a,0x77,0x6b]),_0x2a335b,{[_0x1f87a2([0x6e,0x61,0x6d,0x65])]:_0x1f87a2([0x45,0x43,0x44,0x53,0x41]),[_0x1f87a2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f87a2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f87a2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x15a3fc[_0x1f87a2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f87a2([0x6e,0x61,0x6d,0x65])]:_0x1f87a2([0x45,0x43,0x44,0x53,0x41]),[_0x1f87a2([0x68,0x61,0x73,0x68])]:{[_0x1f87a2([0x6e,0x61,0x6d,0x65])]:_0x1f87a2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xf96d01,_0x47d89f,_0x2fba5d)||(_0x2ca73b=!0x1);}}function _0x203fe9(_0x2ecf49){return _0x2ecf49[_0x1f87a2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f87a2([0x65,0x79]))?JSON[_0x1f87a2([0x70,0x61,0x72,0x73,0x65])](_0x4fbe33(_0x2ecf49)):null;}function _0x4fbe33(_0x1e6682){return window[_0x1f87a2([0x61,0x74,0x6f,0x62])](_0x1e6682[_0x1f87a2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f87a2([0x2b]))[_0x1f87a2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f87a2([0x2f])));}function _0x4a0e30(_0x5aa6b3){let _0x527810=0x1505;function _0x2fbc8f(_0x50c70d){for(let _0x2fd411=0x0;_0x2fd411<_0x50c70d[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2fd411++){const _0x249b10=_0x50c70d[_0x1f87a2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2fd411);_0x527810=(_0x527810<<0x5)+_0x527810+_0x249b10,_0x527810&=_0x527810;}}function _0xd40bfd(_0x41d2db){Array[_0x1f87a2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x41d2db)?_0x41d2db[_0x1f87a2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd40bfd):_0x41d2db&&typeof _0x41d2db==_0x1f87a2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f87a2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x41d2db)[_0x1f87a2([0x73,0x6f,0x72,0x74])]()[_0x1f87a2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x21e989,_0x1fd3e2])=>{_0x2fbc8f(_0x21e989),_0xd40bfd(_0x1fd3e2);}):_0x2fbc8f(window[_0x1f87a2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x41d2db));}return _0xd40bfd(_0x5aa6b3),_0x527810>>>0x0;}function _0x29f7ec(_0x4eca89){return _0x4eca89[_0x1f87a2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f87a2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f87a2([0x30]));}function _0x16aed8(_0xb2009d){return _0xb2009d[_0x1f87a2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f87a2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f87a2([0x6a,0x6f,0x69,0x6e])]('');}function _0x3c7488(){}function _0x1f87a2(_0x5ede0d){const _0x50d192=_0x27ee;return _0x5ede0d[_0x50d192(0x144)](_0x4e29d8=>String[_0x50d192(0x128)](_0x4e29d8))[_0x50d192(0x140)]('');}_0x25833d(await _0x283a47());}(this);}[_0x5a7110(0x137)](){const _0x1726b4=_0x5a7110,_0x4ea328=this[_0x1726b4(0x126)];if(!_0x4ea328[_0x1726b4(0x125)][_0x1726b4(0x141)](_0x1726b4(0x142)))return;const _0x2ba793=_0x4ea328[_0x1726b4(0x125)][_0x1726b4(0x141)](_0x1726b4(0x13d))[_0x1726b4(0x130)](_0x450491=>_0x1726b4(0x14e)==typeof _0x450491&&(!_0x50ede9(_0x450491)&&isNaN(Number(_0x450491))));if(_0x2ba793[_0x1726b4(0x13e)])throw new _0x1d206e(_0x1726b4(0x13a),null,{'namedPresets':_0x2ba793});}[_0x5a7110(0x132)](){const _0x34992e=_0x5a7110,_0x4c1cd5=this[_0x34992e(0x126)],_0x5eb7b8=this[_0x34992e(0x126)][_0x34992e(0x125)][_0x34992e(0x141)](_0x34992e(0x12b));_0x4c1cd5[_0x34992e(0x124)][_0x34992e(0x136)](_0x34992e(0x121))[_0x34992e(0x143)]({'model':{'key':_0x34992e(0x129)},'view':_0x59a5a8=>String(_0x59a5a8)===String(_0x5eb7b8)?null:{'key':_0x34992e(0x14d),'value':{'line-height':_0x59a5a8}}}),_0x4c1cd5[_0x34992e(0x124)][_0x34992e(0x136)](_0x34992e(0x14b))[_0x34992e(0x143)]({'model':{'key':_0x34992e(0x129),'value':_0x362e6f=>{const _0x307d9d=_0x34992e;let _0x12b10c=_0x362e6f[_0x307d9d(0x12a)](_0x307d9d(0x11f));return _0x1e0473(_0x12b10c)&&(_0x12b10c=String(Number(_0x12b10c[_0x307d9d(0x12f)](0x0,-0x1))/0x64)),String(_0x12b10c)===String(_0x5eb7b8)?null:_0x12b10c;}},'view':{'styles':{'line-height':/.*/}}});}[_0x5a7110(0x147)](){const _0x575cf4=_0x5a7110,_0x3ac279=this[_0x575cf4(0x126)],_0x1d602b=this[_0x575cf4(0x126)][_0x575cf4(0x125)][_0x575cf4(0x141)](_0x575cf4(0x12b)),_0x5445b3=_0x2d3410(this[_0x575cf4(0x126)][_0x575cf4(0x125)][_0x575cf4(0x141)](_0x575cf4(0x129)))[_0x575cf4(0x130)](_0x109a54=>_0x109a54[_0x575cf4(0x145)]),_0x24f91d=_0x5b61fb(_0x575cf4(0x129),_0x5445b3);_0x3ac279[_0x575cf4(0x124)][_0x575cf4(0x143)](_0x24f91d),_0x3ac279[_0x575cf4(0x124)][_0x575cf4(0x136)](_0x575cf4(0x14b))[_0x575cf4(0x143)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x575cf4(0x129),'value':_0xb2beca=>{const _0x46d931=_0x575cf4;let _0x5e88f9=_0xb2beca[_0x46d931(0x12a)](_0x46d931(0x11f));return _0x1e0473(_0x5e88f9)&&(_0x5e88f9=String(Number(_0x5e88f9[_0x46d931(0x12f)](0x0,-0x1))/0x64)),_0x5e88f9===String(_0x1d602b)?null:_0x24f91d[_0x46d931(0x145)][_0x46d931(0x13f)][_0x46d931(0x11e)](_0x5e88f9)?_0x5e88f9:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x77111}from'ckeditor5/src/core.js';import{addListToDropdown as _0xf7b636,createDropdown as _0x5d0da7,MenuBarMenuListItemButtonView as _0x5f1459,MenuBarMenuListItemView as _0x408312,MenuBarMenuListView as _0x44421d,MenuBarMenuView as _0x54fc76,UIModel as _0x4b345c}from'ckeditor5/src/ui.js';import{Collection as _0x54b63a}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x10b7fc}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x404222}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x77111{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x584e1b={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x584e1b),this['_registerMenuBarComponent'](_0x584e1b),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x50c178=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2094b;for(const _0x5b3f0b in _0x50c178){const _0x3d2963=_0x5b3f0b,_0x332635=_0x50c178[_0x3d2963];if('lineHeightLicenseKeyValid'==_0x332635||'lineHeightLicenseKeyInvalid'==_0x332635||'lineHeightLicenseKeyExpired'==_0x332635||'lineHeightLicenseKeyDomainLimit'==_0x332635||'lineHeightLicenseKeyNotAllowed'==_0x332635||'lineHeightLicenseKeyEvaluationLimit'==_0x332635||'lineHeightLicenseKeyTrialLimit'==_0x332635||'lineHeightLicenseKeyUsageLimit'==_0x332635){delete _0x50c178[_0x3d2963],_0x2094b=_0x332635,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2094b&&_0x50c178['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2094b&&_0x50c178['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2094b&&_0x50c178['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2094b&&_0x50c178['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2094b&&_0x50c178['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2094b&&_0x50c178['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2094b&&_0x50c178['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x14e4a1=this['editor'],t=_0x14e4a1['t'],_0x1c34b9=_0x14e4a1['config']['get']('lineHeight'),_0x6aa09e={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x404222(_0x1c34b9)['map'](_0xde26b5=>{const _0x503c82=_0x6aa09e[_0xde26b5['title']];return _0x503c82&&_0x503c82!=_0xde26b5['title']&&(_0xde26b5=Object['assign']({},_0xde26b5,{'title':_0x503c82})),_0xde26b5;});}['_prepareListOptions'](){const _0x1bde44=this['editor']['commands']['get']('lineHeight'),_0x25ec14=this['editor']['config']['get']('lineHeight.defaultValue'),_0x289876=this['_getLocalizedLineHeightOptions'](),_0x52f9b5=new _0x54b63a(),_0x1d1896=_0x55c0e2=>'default'===_0x55c0e2||String(_0x25ec14)===_0x55c0e2;for(const _0x40aba3 of _0x289876){const _0x591aca={'type':'button','model':new _0x4b345c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x40aba3['title'],'withText':!0x0})};_0x1d1896(_0x40aba3['model'])?(_0x591aca['model']['bind']('isOn')['to'](_0x1bde44,'value',_0x5cb432=>!_0x5cb432),_0x591aca['model']['commandParam']=void 0x0):(_0x591aca['model']['bind']('isOn')['to'](_0x1bde44,'value',_0x183d90=>_0x183d90===_0x40aba3['model']),_0x591aca['model']['commandParam']=_0x40aba3['model']),_0x52f9b5['add'](_0x591aca);}if(this['_shouldRenderCustomValueOption']()){const _0x5969ef=this['_getCustomValueOptionDefinition'](_0x289876);_0x52f9b5['add'](_0x5969ef);}return _0x52f9b5;}['_getCustomValueOptionDefinition'](_0x1cadde){const _0x3943c3=this['editor'],t=_0x3943c3['t'],_0x3faf37=_0x3943c3['commands']['get']('lineHeight'),_0x37b8ec=_0x1cadde['map'](_0x50eb97=>_0x50eb97['model']),_0x51d8b8={'type':'button','model':new _0x4b345c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x51d8b8['model']['bind']('commandParam')['to'](_0x3faf37,'value'),_0x51d8b8['model']['bind']('isOn')['to'](_0x3faf37,'value',_0x9cc49a=>!!_0x9cc49a&&!_0x37b8ec['includes'](String(_0x9cc49a))),_0x51d8b8['model']['bind']('label')['to'](_0x3faf37,'value',_0x4b8e12=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x4b8e12))),_0x51d8b8;}['_registerToolbarComponent']({accessibleLabel:_0x5977db,options:_0x367879}){const _0x686120=this['editor'],_0x58d73f=_0x686120['commands']['get']('lineHeight');_0x686120['ui']['componentFactory']['add']('lineHeight',_0x5df14f=>{const _0xeec61e=_0x5d0da7(_0x5df14f);return _0xf7b636(_0xeec61e,_0x367879,{'role':'menu','ariaLabel':_0x5977db}),_0xeec61e['buttonView']['set']({'label':_0x5977db,'tooltip':!0x0,'icon':_0x10b7fc}),_0xeec61e['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0xeec61e['bind']('isEnabled')['to'](_0x58d73f),this['listenTo'](_0xeec61e,'execute',_0x5e73fe=>{_0x686120['execute'](_0x5e73fe['source']['commandName'],{'value':_0x5e73fe['source']['commandParam']}),_0x686120['editing']['view']['focus']();}),_0xeec61e['once']('change:isOpen',()=>{const _0x49f928=_0xeec61e['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0xeec61e,_0x367879,_0x49f928);}),_0xeec61e;});}['_registerMenuBarComponent']({accessibleLabel:_0x511682,options:_0x4f79aa}){const _0xe0f8f=this['editor'],_0xde46a7=_0xe0f8f['commands']['get']('lineHeight');_0xe0f8f['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5d0e12=>{const _0x35805=new _0x54fc76(_0x5d0e12);_0x35805['buttonView']['set']({'label':_0x511682,'icon':_0x10b7fc}),_0x35805['bind']('isEnabled')['to'](_0xde46a7);const _0x3fd1ad=new _0x44421d(_0x5d0e12);for(const _0x5d8a04 of _0x4f79aa){const _0x1c6d9a=new _0x408312(_0x5d0e12,_0x35805),_0xbc08b8=new _0x5f1459(_0x5d0e12);_0xbc08b8['set']({'role':'menuitemradio','isToggleable':!0x0}),_0xbc08b8['bind'](...Object['keys'](_0x5d8a04['model']))['to'](_0x5d8a04['model']),_0xbc08b8['delegate']('execute')['to'](_0x35805),_0xbc08b8['on']('execute',()=>{_0xe0f8f['execute'](_0x5d8a04['model']['commandName'],{'value':_0x5d8a04['model']['commandParam']}),_0xe0f8f['editing']['view']['focus']();}),_0x1c6d9a['children']['add'](_0xbc08b8),_0x3fd1ad['items']['add'](_0x1c6d9a);}return _0x35805['panelView']['children']['add'](_0x3fd1ad),this['_attachCustomOptionVisibilityHandler'](_0x35805,_0x4f79aa,_0x3fd1ad),_0x35805;});}['_attachCustomOptionVisibilityHandler'](_0x1c5704,_0x392db5,_0x41470d){if(!this['_shouldRenderCustomValueOption']())return;const _0x1ce550=()=>{if(!_0x1c5704['isOpen'])return;_0x41470d['items']['last']['isVisible']=Boolean(_0x392db5['last']['model']['isOn']);};_0x1ce550(),_0x1c5704['on']('change:isOpen',()=>{_0x1ce550();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xd9b7e7,_0x273708){const _0x1efb2f=_0x2bd8,_0x1b3465=_0xd9b7e7();while(!![]){try{const _0x3c307a=-parseInt(_0x1efb2f(0x1bd))/0x1+parseInt(_0x1efb2f(0x1c9))/0x2+parseInt(_0x1efb2f(0x1cd))/0x3+-parseInt(_0x1efb2f(0x1b8))/0x4+parseInt(_0x1efb2f(0x1d5))/0x5+-parseInt(_0x1efb2f(0x1be))/0x6+-parseInt(_0x1efb2f(0x1b7))/0x7*(-parseInt(_0x1efb2f(0x1c3))/0x8);if(_0x3c307a===_0x273708)break;else _0x1b3465['push'](_0x1b3465['shift']());}catch(_0x15268d){_0x1b3465['push'](_0x1b3465['shift']());}}}(_0xa317,0x2eaaa));const v={get 'single'(){const _0x5adf6b=_0x2bd8;return{'title':_0x5adf6b(0x1cc),'model':_0x5adf6b(0x1c6),'view':{'key':_0x5adf6b(0x1d2),'value':_0x5adf6b(0x1bc)}};},get 'double'(){const _0x2175ba=_0x2bd8;return{'title':_0x2175ba(0x1cf),'model':_0x2175ba(0x1d4),'view':{'key':_0x2175ba(0x1d2),'value':_0x2175ba(0x1ce)}};}};function _0xa317(){const _0x2a875c=['filter','options','171670dnxlAm','string','toLowerCase','Single','165243zinyeo','line-height-double','Double','default','view','class','style','double','1172270nGSIkr','map','77ZbSLlh','567584wmmPCP','model','push','span','line-height-single','28035nqugJu','943956vyxpfW','values','defaultValue','line-height:','value','104024WtrCsq','key','number','single'];_0xa317=function(){return _0x2a875c;};return _0xa317();}export function isLineHeightDefaultValue(_0x1b201e){const _0x3ca494=_0x2bd8;return _0x3ca494(0x1ca)==typeof _0x1b201e&&_0x3ca494(0x1d0)===_0x1b201e[_0x3ca494(0x1cb)]();}export function normalizeOptions(_0x125f7){const _0x2291d5=_0x2bd8;return _0x125f7[_0x2291d5(0x1c8)][_0x2291d5(0x1d6)](_0x36b198=>isLineHeightDefaultValue(_0x36b198)?{'title':String(_0x125f7[_0x2291d5(0x1c0)]),'model':_0x2291d5(0x1d0)}:(_0x2291d5(0x1c5)==typeof _0x36b198&&(_0x36b198=String(_0x36b198)),_0x2291d5(0x1ca)!=typeof _0x36b198?_0x36b198:parseFloat(_0x36b198)?{'title':_0x36b198,'model':_0x36b198,'view':{'name':_0x2291d5(0x1bb),'styles':{'line-height':_0x36b198}}}:findPreset(_0x36b198)))[_0x2291d5(0x1c7)](_0x36d844=>void 0x0!==_0x36d844);}export function findPreset(_0x57155c){const _0x181537=_0x2bd8;return _0x181537(0x1ca)==typeof _0x57155c?v[_0x57155c]:v[_0x57155c[_0x181537(0x1b9)]];}function _0x2bd8(_0x4483d8,_0x51178f){const _0xa317b1=_0xa317();return _0x2bd8=function(_0x2bd850,_0x34b15b){_0x2bd850=_0x2bd850-0x1b7;let _0x205816=_0xa317b1[_0x2bd850];return _0x205816;},_0x2bd8(_0x4483d8,_0x51178f);}export function buildDefinition(_0x306d85,_0x279138){const _0x4737c2=_0x2bd8,_0x205d70={'model':{'key':_0x306d85,'values':[]},'view':{}};for(const _0x43ca04 of _0x279138)_0x4737c2(0x1d2)===_0x43ca04[_0x4737c2(0x1d1)]?.[_0x4737c2(0x1c4)]?(_0x205d70[_0x4737c2(0x1b9)][_0x4737c2(0x1bf)][_0x4737c2(0x1ba)](_0x43ca04[_0x4737c2(0x1b9)]),_0x205d70[_0x4737c2(0x1d1)][_0x43ca04[_0x4737c2(0x1b9)]]={'key':_0x4737c2(0x1d2),'value':_0x43ca04[_0x4737c2(0x1d1)][_0x4737c2(0x1c2)]}):(_0x205d70[_0x4737c2(0x1b9)][_0x4737c2(0x1bf)][_0x4737c2(0x1ba)](_0x43ca04[_0x4737c2(0x1b9)]),_0x205d70[_0x4737c2(0x1d1)][_0x43ca04[_0x4737c2(0x1b9)]]={'key':_0x4737c2(0x1d3),'value':_0x4737c2(0x1c1)+_0x43ca04[_0x4737c2(0x1b9)]+';'});return _0x205d70;}
|