@ckeditor/ckeditor5-line-height 47.7.1 → 47.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/index.js +1 -1
- package/src/integrations/todolist.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12beca=_0x3a81;function _0x2dbb(){const _0x200992=['todo-list__label__description','editor','ck-list-marker-line-height','consume','consumable','viewItem','for','init','todo','span','match','isPremiumPlugin','2749984nsKUNX','32774VHrtlg','listType','2191806NxLTYu','name','TodoListEditing','get','54IJqZLY','8824zwhvgt','LineHeightTodoListIntegration','3101kTNQAa','item','--ck-content-list-marker-line-height','has','getAttribute','isOfficialPlugin','registerDowncastStrategy','pluginName','high','lineHeight','element:li','ListEditing','6OuPaAy','setStyle','4458495vbqvxI','149923EQBxEQ','elementToElement','paragraph','add','addClass','714540TVamdz','upcast'];_0x2dbb=function(){return _0x200992;};return _0x2dbb();}(function(_0x3321d2,_0x173226){const _0x3f65e5=_0x3a81,_0x38df2f=_0x3321d2();while(!![]){try{const _0x28e9c9=parseInt(_0x3f65e5(0x180))/0x1+parseInt(_0x3f65e5(0x168))/0x2*(-parseInt(_0x3f65e5(0x16e))/0x3)+parseInt(_0x3f65e5(0x167))/0x4+parseInt(_0x3f65e5(0x17f))/0x5*(-parseInt(_0x3f65e5(0x17d))/0x6)+-parseInt(_0x3f65e5(0x171))/0x7*(-parseInt(_0x3f65e5(0x16f))/0x8)+parseInt(_0x3f65e5(0x16a))/0x9+parseInt(_0x3f65e5(0x159))/0xa;if(_0x28e9c9===_0x173226)break;else _0x38df2f['push'](_0x38df2f['shift']());}catch(_0x1cb7b0){_0x38df2f['push'](_0x38df2f['shift']());}}}(_0x2dbb,0x6eee3));import{Plugin as _0x224686}from'ckeditor5/src/core.js';import{Matcher as _0x5388fd}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';function _0x3a81(_0x26d1c4,_0x53aa6f){const _0x2dbb00=_0x2dbb();return _0x3a81=function(_0x3a81db,_0x18edf2){_0x3a81db=_0x3a81db-0x159;let _0x2af469=_0x2dbb00[_0x3a81db];return _0x2af469;},_0x3a81(_0x26d1c4,_0x53aa6f);}export class LineHeightTodoListIntegration extends _0x224686{static get[_0x12beca(0x178)](){const _0x59d407=_0x12beca;return _0x59d407(0x170);}static get[_0x12beca(0x176)](){return!0x0;}static get[_0x12beca(0x166)](){return!0x0;}[_0x12beca(0x162)](){const _0x4d3eef=_0x12beca,{plugins:_0x4c4025,conversion:_0x17cfbe}=this[_0x4d3eef(0x15c)];if(!_0x4c4025[_0x4d3eef(0x174)](_0x4d3eef(0x17c))||!_0x4c4025[_0x4d3eef(0x174)](_0x4d3eef(0x16c)))return;_0x4c4025[_0x4d3eef(0x16d)](_0x4d3eef(0x17c))[_0x4d3eef(0x177)]({'scope':_0x4d3eef(0x172),'attributeName':_0x4d3eef(0x17a),'consume':!0x1,'setAttributeOnDowncast'(_0x4c93fa,_0x1882e8,_0xc2f7f0,_0x5b2ceb,_0x2b0b41){const _0x2c9603=_0x4d3eef;_0x2c9603(0x163)==_0x2b0b41[_0x2c9603(0x175)](_0x2c9603(0x169))&&_0x1882e8&&(_0x4c93fa[_0x2c9603(0x184)](_0x2c9603(0x15d),_0xc2f7f0),_0x4c93fa[_0x2c9603(0x17e)](_0x2c9603(0x173),_0x1882e8,_0xc2f7f0));}}),_0x17cfbe[_0x4d3eef(0x161)](_0x4d3eef(0x15a))[_0x4d3eef(0x181)]({'view':{'name':_0x4d3eef(0x164),'classes':_0x4d3eef(0x15b)},'model':_0x4d3eef(0x182),'converterPriority':_0x4d3eef(0x179)}),_0x17cfbe[_0x4d3eef(0x161)](_0x4d3eef(0x15a))[_0x4d3eef(0x183)](_0x12b304=>{const _0x4e3980=_0x4d3eef;_0x12b304['on'](_0x4e3980(0x17b),function(_0x3d04e6){const _0x168f75=new _0x5388fd(_0x3d04e6);return(_0x11fcbf,_0x5622fa,_0x12545f)=>{const _0xd683ac=_0x3a81,_0x12edb0=_0x168f75[_0xd683ac(0x165)](_0x5622fa[_0xd683ac(0x160)]);if(!_0x12edb0)return;const _0x31630e=_0x12edb0[_0xd683ac(0x165)];_0x31630e[_0xd683ac(0x16b)]=!0x1,_0x12545f[_0xd683ac(0x15f)][_0xd683ac(0x15e)](_0x5622fa[_0xd683ac(0x160)],_0x31630e);};}({'name':'li','classes':_0x4e3980(0x15d),'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 _0x29aad9=_0x4338;(function(_0x46595b,_0x2983db){var _0x108382=_0x4338,_0x8ff699=_0x46595b();while(!![]){try{var _0x36b7a6=parseInt(_0x108382(0x1cd))/0x1+parseInt(_0x108382(0x1c7))/0x2*(-parseInt(_0x108382(0x1ca))/0x3)+-parseInt(_0x108382(0x1d0))/0x4+-parseInt(_0x108382(0x1ce))/0x5+-parseInt(_0x108382(0x1c8))/0x6+-parseInt(_0x108382(0x1c6))/0x7*(-parseInt(_0x108382(0x1cf))/0x8)+parseInt(_0x108382(0x1cc))/0x9;if(_0x36b7a6===_0x2983db)break;else _0x8ff699['push'](_0x8ff699['shift']());}catch(_0x4aa4d7){_0x8ff699['push'](_0x8ff699['shift']());}}}(_0x5d63,0x557fe));function _0x4338(_0x4b55e0,_0x3f8ebe){var _0x5d63ec=_0x5d63();return _0x4338=function(_0x43380b,_0x3d3e8c){_0x43380b=_0x43380b-0x1c4;var _0x6ad07=_0x5d63ec[_0x43380b];return _0x6ad07;},_0x4338(_0x4b55e0,_0x3f8ebe);}import{Plugin as _0x190c65}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x5ee226}from'./lineheightediting.js';import{LineHeightUI as _0x22cfa7}from'./lineheightui.js';export class LineHeight extends _0x190c65{static get[_0x29aad9(0x1c9)](){return[_0x5ee226,_0x22cfa7];}static get[_0x29aad9(0x1cb)](){var _0x306cd7=_0x29aad9;return _0x306cd7(0x1c5);}static get[_0x29aad9(0x1d1)](){return!0x0;}static get[_0x29aad9(0x1c4)](){return!0x0;}}function _0x5d63(){var _0x47daee=['isPremiumPlugin','LineHeight','413Zerflu','38248yQjNxA','3542700lOjmIy','requires','99iIiImp','pluginName','7138368KoQoXh','448304mCIMnH','1365155UPASlz','90824KVOgGL','266016rjvtrB','isOfficialPlugin'];_0x5d63=function(){return _0x47daee;};return _0x5d63();}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x456df2=_0x250c;function _0x5722(){const _0x4ad836=['19248rEihCo','_canHaveLineHeight','selection','4534747OuEZvu','model','lineHeight','execute','getSelectedBlocks','5517030OwsdUt','schema','value','453tiIZwx','165195WgkAIl','checkAttribute','3921849xbXKlp','document','getAttribute','removeAttribute','from','editor','8vkmwxm','isEnabled','3705198yPYDdu','1081VvjuWV','setAttribute','1454nrvjIt','refresh','filter','change'];_0x5722=function(){return _0x4ad836;};return _0x5722();}(function(_0xd680d2,_0x24d8a5){const _0x6ac3d4=_0x250c,_0x4e5c46=_0xd680d2();while(!![]){try{const _0x569d83=-parseInt(_0x6ac3d4(0x73))/0x1*(-parseInt(_0x6ac3d4(0x75))/0x2)+-parseInt(_0x6ac3d4(0x84))/0x3*(-parseInt(_0x6ac3d4(0x79))/0x4)+parseInt(_0x6ac3d4(0x85))/0x5+-parseInt(_0x6ac3d4(0x72))/0x6+-parseInt(_0x6ac3d4(0x7c))/0x7+parseInt(_0x6ac3d4(0x70))/0x8*(-parseInt(_0x6ac3d4(0x6a))/0x9)+parseInt(_0x6ac3d4(0x81))/0xa;if(_0x569d83===_0x24d8a5)break;else _0x4e5c46['push'](_0x4e5c46['shift']());}catch(_0x593170){_0x4e5c46['push'](_0x4e5c46['shift']());}}}(_0x5722,0x60b5e));function _0x250c(_0x7c8bdf,_0x491ca8){const _0x57229f=_0x5722();return _0x250c=function(_0x250c00,_0x2c2827){_0x250c00=_0x250c00-0x6a;let _0x174c8c=_0x57229f[_0x250c00];return _0x174c8c;},_0x250c(_0x7c8bdf,_0x491ca8);}import{Command as _0x2f7d21}from'ckeditor5/src/core.js';import{first as _0x4cc06}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x2f7d21{[_0x456df2(0x76)](){const _0x379659=_0x456df2,_0x1d2d0d=this[_0x379659(0x6f)][_0x379659(0x7d)][_0x379659(0x6b)],_0x5906a0=_0x4cc06(_0x1d2d0d[_0x379659(0x7b)][_0x379659(0x80)]());this[_0x379659(0x71)]=Boolean(_0x5906a0)&&this[_0x379659(0x7a)](_0x5906a0),this[_0x379659(0x83)]=this[_0x379659(0x71)]&&_0x5906a0[_0x379659(0x6c)](_0x379659(0x7e));}[_0x456df2(0x7f)](_0x5b5dc7={}){const _0x25679e=_0x456df2,_0x2ca1d4=this[_0x25679e(0x6f)][_0x25679e(0x7d)],_0x370f9d=_0x2ca1d4[_0x25679e(0x6b)][_0x25679e(0x7b)],_0x80f16=_0x5b5dc7[_0x25679e(0x83)];_0x2ca1d4[_0x25679e(0x78)](_0x3c610e=>{const _0x16de34=_0x25679e,_0x306f10=Array[_0x16de34(0x6e)](_0x370f9d[_0x16de34(0x80)]())[_0x16de34(0x77)](_0xb5cd01=>this[_0x16de34(0x7a)](_0xb5cd01));for(const _0x25e969 of _0x306f10)_0x80f16?_0x3c610e[_0x16de34(0x74)](_0x16de34(0x7e),_0x80f16,_0x25e969):_0x3c610e[_0x16de34(0x6d)](_0x16de34(0x7e),_0x25e969);});}[_0x456df2(0x7a)](_0x29e13e){const _0xbe60a8=_0x456df2;return this[_0xbe60a8(0x6f)][_0xbe60a8(0x7d)][_0xbe60a8(0x82)][_0xbe60a8(0x86)](_0x29e13e,_0xbe60a8(0x7e));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x41dcd7=_0xcd01;(function(_0x1dbf79,_0x603c08){const _0x303674=_0xcd01,_0x3aa27d=_0x1dbf79();while(!![]){try{const _0x433442=-parseInt(_0x303674(0x1c3))/0x1+-parseInt(_0x303674(0x1aa))/0x2+-parseInt(_0x303674(0x1af))/0x3*(parseInt(_0x303674(0x1d0))/0x4)+parseInt(_0x303674(0x1c2))/0x5+parseInt(_0x303674(0x1a9))/0x6*(parseInt(_0x303674(0x1ca))/0x7)+-parseInt(_0x303674(0x1cc))/0x8*(-parseInt(_0x303674(0x1cd))/0x9)+-parseInt(_0x303674(0x1ba))/0xa*(-parseInt(_0x303674(0x1c5))/0xb);if(_0x433442===_0x603c08)break;else _0x3aa27d['push'](_0x3aa27d['shift']());}catch(_0x40e2ea){_0x3aa27d['push'](_0x3aa27d['shift']());}}}(_0x4fd4,0xf3513));import{Plugin as _0x290008}from'ckeditor5/src/core.js';function _0x4fd4(){const _0x1de24f=['LineHeightEditing','line-height-invalid-use-of-named-presets','add','3471855QLlYgo','100231RnhDBq','_preparePredefinedConverters','116215QqJlNa','href','map','isPremiumPlugin','upcast','91zDgiqy','lineHeight.defaultValue','2584IrceTt','38079sUKlxQ','commands','define','2843696DeLspJ','line-height','editor','style','extend','setAttributeProperties','getStyle','get','init','includes','afterInit','lineHeight.options','lineHeight.supportAllValues','$block','config','slice','isOfficialPlugin','689706BUbHIr','3896600EvigRp','values','_validateConfig','join','pluginName','3TwkRLu','downcast','length','attributeToAttribute','fromCharCode','default','schema','requires','model','lineHeight','filter','190yIaCoi','_prepareAnyValueConverters','for','conversion','string'];_0x4fd4=function(){return _0x1de24f;};return _0x4fd4();}import{LineHeightCommand as _0x514e91}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x5e8d22}from'ckeditor5/src/engine.js';import{uid as _0x2cdb16,CKEditorError as _0x2e6e6e}from'ckeditor5/src/utils.js';function _0xcd01(_0x5bd75c,_0x5771f2){const _0x4fd401=_0x4fd4();return _0xcd01=function(_0xcd01a6,_0x185439){_0xcd01a6=_0xcd01a6-0x19b;let _0xc76dce=_0x4fd401[_0xcd01a6];return _0xc76dce;},_0xcd01(_0x5bd75c,_0x5771f2);}import{buildDefinition as _0x2fc83f,isLineHeightDefaultValue as _0x501738,normalizeOptions as _0x43edb2}from'./utils.js';import{LineHeightTodoListIntegration as _0x26cffc}from'./integrations/todolist.js';export class LineHeightEditing extends _0x290008{static get[_0x41dcd7(0x1ae)](){const _0x1e32dd=_0x41dcd7;return _0x1e32dd(0x1bf);}static get[_0x41dcd7(0x1b6)](){return[_0x26cffc];}static get[_0x41dcd7(0x1a8)](){return!0x0;}static get[_0x41dcd7(0x1c8)](){return!0x0;}constructor(_0x164b89){const _0x13a083=_0x41dcd7;super(_0x164b89),_0x164b89[_0x13a083(0x1a6)][_0x13a083(0x1cf)](_0x13a083(0x1b8),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x13a083(0x1b4),0x2,2.5,0x3]});}[_0x41dcd7(0x1a0)](){const _0x58bb21=_0x41dcd7,_0x4102f4=this[_0x58bb21(0x1d2)];this[_0x58bb21(0x1ac)](),_0x4102f4[_0x58bb21(0x1b7)][_0x58bb21(0x1b5)][_0x58bb21(0x19c)](_0x58bb21(0x1a5),{'allowAttributes':_0x58bb21(0x1b8)}),_0x4102f4[_0x58bb21(0x1b7)][_0x58bb21(0x1b5)][_0x58bb21(0x19d)](_0x58bb21(0x1b8),{'isFormatting':!0x0}),_0x4102f4[_0x58bb21(0x1ce)][_0x58bb21(0x1c1)](_0x58bb21(0x1b8),new _0x514e91(_0x4102f4)),this[_0x58bb21(0x1d2)][_0x58bb21(0x1a6)][_0x58bb21(0x19f)](_0x58bb21(0x1a4))?this[_0x58bb21(0x1bb)]():this[_0x58bb21(0x1c4)]();}[_0x41dcd7(0x1a2)](){!async function(_0x17177a){const _0x3b2ab9=_0x42de10([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]),_0x3fdd4e=0x45ddd215,_0x143738=0x45da5a05^_0x3fdd4e,_0x1bf17e=window[_0x42de10([0x44,0x61,0x74,0x65])][_0x42de10([0x6e,0x6f,0x77])](),_0x27eff3=_0x17177a[_0x42de10([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x294d68=new window[(_0x42de10([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12650e=>{_0x27eff3[_0x42de10([0x6f,0x6e,0x63,0x65])](_0x42de10([0x72,0x65,0x61,0x64,0x79]),_0x12650e);}),_0x4d43c0={[_0x42de10([0x6b,0x74,0x79])]:_0x42de10([0x45,0x43]),[_0x42de10([0x75,0x73,0x65])]:_0x42de10([0x73,0x69,0x67]),[_0x42de10([0x63,0x72,0x76])]:_0x42de10([0x50,0x2d,0x32,0x35,0x36]),[_0x42de10([0x78])]:_0x42de10([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]),[_0x42de10([0x79])]:_0x42de10([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]),[_0x42de10([0x61,0x6c,0x67])]:_0x42de10([0x45,0x53,0x32,0x35,0x36])},_0x5c76a6=_0x27eff3[_0x42de10([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x42de10([0x67,0x65,0x74])](_0x42de10([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x13a9cc(){let _0x4cf8e7,_0x31e914=null,_0x41f39b=null;try{if(_0x5c76a6==_0x42de10([0x47,0x50,0x4c]))return _0x42de10([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4cf8e7=_0x336fb2(),!_0x4cf8e7)return _0x42de10([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4cf8e7[_0x42de10([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x41f39b=_0xf420e2(_0x4cf8e7[_0x42de10([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4cf8e7[_0x42de10([0x6a,0x74,0x69])])),await _0x3dc712()?_0x19702b()?_0x1046b0()?_0x42de10([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x47b34d()?(_0x4cf8e7[_0x42de10([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x42de10([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31e914=_0x1129c5(_0x42de10([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x525cb8()):_0x42de10([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x42de10([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x42de10([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x42de10([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1046b0(){const _0x2d6903=[_0x42de10([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x42de10([0x74,0x72,0x69,0x61,0x6c])][_0x42de10([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cf8e7[_0x42de10([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1bf17e/0x3e8:0xe10*_0x143738;return _0x4cf8e7[_0x42de10([0x65,0x78,0x70])]<_0x2d6903;}function _0x19702b(){const _0x44ad1d=_0x4cf8e7[_0x42de10([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x44ad1d&&(!!_0x44ad1d[_0x42de10([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42de10([0x2a]))||!!_0x44ad1d[_0x42de10([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42de10([0x4c,0x48])));}function _0x47b34d(){const _0xbf6d6e=_0xcd01,_0x29e808=_0x4cf8e7[_0x42de10([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x29e808||0x0==_0x29e808[_0x42de10([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x291c1a}=new URL(window[_0x42de10([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xbf6d6e(0x1c6)]);if(_0x29e808[_0x42de10([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x291c1a))return!0x0;const _0x281936=_0x291c1a[_0x42de10([0x73,0x70,0x6c,0x69,0x74])](_0x42de10([0x2e]));return _0x29e808[_0x42de10([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f2a65=>_0x2f2a65[_0x42de10([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42de10([0x2a])))[_0x42de10([0x6d,0x61,0x70])](_0x4547df=>_0x4547df[_0x42de10([0x73,0x70,0x6c,0x69,0x74])](_0x42de10([0x2e])))[_0x42de10([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x48b711=>_0x48b711[_0x42de10([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x281936[_0x42de10([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42de10([0x6d,0x61,0x70])](_0x17d5a8=>Array(_0x281936[_0x42de10([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x17d5a8[_0x42de10([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42de10([0x66,0x69,0x6c,0x6c])](_0x17d5a8[0x0]===_0x42de10([0x2a])?_0x42de10([0x2a]):'')[_0x42de10([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x17d5a8))[_0x42de10([0x73,0x6f,0x6d,0x65])](_0x11af24=>_0x281936[_0x42de10([0x65,0x76,0x65,0x72,0x79])]((_0x3406c7,_0x555518)=>_0x11af24[_0x555518]===_0x3406c7||_0x11af24[_0x555518]===_0x42de10([0x2a])));}function _0x525cb8(){return _0x31e914&&_0x41f39b?new window[(_0x42de10([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b99d8,_0x363a4b)=>{_0x31e914[_0x42de10([0x74,0x68,0x65,0x6e])](_0x4b99d8,_0x363a4b),_0x41f39b[_0x42de10([0x74,0x68,0x65,0x6e])](_0x585469=>{_0x585469!=_0x42de10([0x56,0x61,0x6c,0x69,0x64])&&_0x4b99d8(_0x585469);},_0x363a4b);}):_0x31e914||_0x41f39b||_0x42de10([0x56,0x61,0x6c,0x69,0x64]);}}function _0xf420e2(_0x1aca9e,_0x439fb8){return new window[(_0x42de10([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17b1a3=>{if(_0x288a25())return _0x17b1a3(_0x42de10([0x56,0x61,0x6c,0x69,0x64]));_0x71f65e(),_0x27eff3[_0x42de10([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x42de10([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x31ee5a=!0x1;const _0x3f7f69=_0x2cdb16();function _0xbca6c5(_0x2e675a){return!!_0x2e675a&&(typeof _0x2e675a===_0x42de10([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2e675a===_0x42de10([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2e675a[_0x42de10([0x74,0x68,0x65,0x6e])]===_0x42de10([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2e675a[_0x42de10([0x63,0x61,0x74,0x63,0x68])]===_0x42de10([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x134059(_0x2ce438){_0x5d9e38(_0x2ce438)[_0x42de10([0x74,0x68,0x65,0x6e])](_0x521661=>{if(!_0x521661||_0x521661[_0x42de10([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x42de10([0x6f,0x6b]))return _0x42de10([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4104c6(_0x2d6ad6(_0x3f7f69+_0x439fb8))!=_0x521661[_0x42de10([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x42de10([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x42de10([0x56,0x61,0x6c,0x69,0x64]);})[_0x42de10([0x74,0x68,0x65,0x6e])](_0x45e119=>(_0x564e48(),_0x45e119),()=>{const _0x2ab777=_0x227a22();return null==_0x2ab777?(_0x564e48(),_0x42de10([0x56,0x61,0x6c,0x69,0x64])):_0x42de10(_0x1bf17e-_0x2ab777>(0x61d15615^_0x3fdd4e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x42de10([0x74,0x68,0x65,0x6e])](_0x17b1a3)[_0x42de10([0x63,0x61,0x74,0x63,0x68])](()=>{_0x17b1a3(_0x42de10([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x25a8cf=0x45eb3c95^_0x3fdd4e;function _0x564e48(){const _0x107a31=_0x42de10([0x6c,0x6c,0x63,0x74,0x2d])+_0x4104c6(_0x2d6ad6(_0x1aca9e)),_0x5fe599=_0x12a5ad(_0x4104c6(window[_0x42de10([0x4d,0x61,0x74,0x68])][_0x42de10([0x63,0x65,0x69,0x6c])](_0x1bf17e/_0x25a8cf)));window[_0x42de10([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42de10([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x107a31,_0x5fe599);}function _0x227a22(){const _0x19c40f=_0x42de10([0x6c,0x6c,0x63,0x74,0x2d])+_0x4104c6(_0x2d6ad6(_0x1aca9e)),_0x104f64=window[_0x42de10([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42de10([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19c40f);return _0x104f64?window[_0x42de10([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12a5ad(_0x104f64),0x10)*_0x25a8cf:null;}function _0x5d9e38(_0x58baa0){return new window[(_0x42de10([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4661ed,_0xc50c8)=>{_0x58baa0[_0x42de10([0x74,0x68,0x65,0x6e])](_0x4661ed,_0xc50c8),window[_0x42de10([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xc50c8,0x45dc06d5^_0x3fdd4e);});}}_0x27eff3[_0x42de10([0x6f,0x6e])](_0x42de10([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5204e2,_0x2e598c)=>{if(_0x2e598c[0x0]!=_0x1aca9e)return _0x17b1a3(_0x42de10([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2e598c[0x1]={..._0x2e598c[0x1],[_0x42de10([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3f7f69};},{[_0x42de10([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42de10([0x68,0x69,0x67,0x68])}),_0x27eff3[_0x42de10([0x6f,0x6e])](_0x42de10([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x31ff41=>{_0xbca6c5(_0x31ff41[_0x42de10([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x31ee5a=!0x0,_0x134059(_0x31ff41[_0x42de10([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x42de10([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42de10([0x6c,0x6f,0x77])}),_0x294d68[_0x42de10([0x74,0x68,0x65,0x6e])](()=>{_0x31ee5a||_0x17b1a3(_0x42de10([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x288a25(){return _0x27eff3[_0x42de10([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42de10([0x76,0x69,0x65,0x77])][_0x42de10([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x42de10([0x61,0x75,0x74,0x6f]);}function _0x71f65e(){_0x27eff3[_0x42de10([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42de10([0x76,0x69,0x65,0x77])][_0x42de10([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x42de10([0x61,0x75,0x74,0x6f]);}}function _0x1129c5(_0x2a6c78){const _0x30d413=[new window[(_0x42de10([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x500394=>setTimeout(_0x500394,0x45d4ecd9^_0x3fdd4e)),_0x294d68[_0x42de10([0x74,0x68,0x65,0x6e])](()=>new window[(_0x42de10([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24ace7=>{let _0x24ec75=0x0;_0x27eff3[_0x42de10([0x6d,0x6f,0x64,0x65,0x6c])][_0x42de10([0x6f,0x6e])](_0x42de10([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5293f1,_0x38b433)=>{_0x38b433[0x0][_0x42de10([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x24ec75++,_0x24ec75==(0x45ddd7fd^_0x3fdd4e)&&(_0x24ace7(),_0x5293f1[_0x42de10([0x6f,0x66,0x66])]());});}))];return window[_0x42de10([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x42de10([0x72,0x61,0x63,0x65])](_0x30d413)[_0x42de10([0x74,0x68,0x65,0x6e])](()=>_0x2a6c78);}async function _0x5d3778(){await _0x294d68,_0x27eff3[_0x42de10([0x6d,0x6f,0x64,0x65,0x6c])][_0x42de10([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x17f8cc,_0x27eff3[_0x42de10([0x6d,0x6f,0x64,0x65,0x6c])][_0x42de10([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x17f8cc,_0x27eff3[_0x42de10([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x42de10([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x523852(_0x7d1b14){const _0x3425a3=_0x421ac8();_0x27eff3[_0x3425a3]=_0x42de10([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x7d1b14,_0x7d1b14!=_0x42de10([0x56,0x61,0x6c,0x69,0x64])&&_0x5d3778();}function _0x421ac8(){const _0x356c77=window[_0x42de10([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x42de10([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x42de10([0x6e,0x6f,0x77])]())[_0x42de10([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x42de10([0x2e]),'');let _0x32d867=_0x42de10([0x50]);for(let _0x1c3ec7=0x0;_0x1c3ec7<_0x356c77[_0x42de10([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c3ec7+=0x2){let _0x50ca51=window[_0x42de10([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x356c77[_0x42de10([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c3ec7,_0x1c3ec7+0x2));_0x50ca51>=_0x3b2ab9[_0x42de10([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x50ca51-=_0x3b2ab9[_0x42de10([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x32d867+=_0x3b2ab9[_0x50ca51];}return _0x32d867;}function _0x336fb2(){const _0xdc178e=_0x5c76a6[_0x42de10([0x73,0x70,0x6c,0x69,0x74])](_0x42de10([0x2e]));if(0x3!=_0xdc178e[_0x42de10([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2a1487(_0xdc178e[0x1]);function _0x2a1487(_0x511f1f){const _0x1390d2=_0x152fab(_0x511f1f);return _0x1390d2&&_0x2af3bd()?_0x1390d2:null;function _0x2af3bd(){const _0x22ba1a=_0x1390d2[_0x42de10([0x6a,0x74,0x69])],_0xfc1124=window[_0x42de10([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22ba1a[_0x42de10([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22ba1a[_0x42de10([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4cc62e={..._0x1390d2,[_0x42de10([0x6a,0x74,0x69])]:_0x22ba1a[_0x42de10([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x22ba1a[_0x42de10([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4cc62e[_0x42de10([0x76,0x63])],_0x2d6ad6(_0x4cc62e)==_0xfc1124;}}}async function _0x3dc712(){let _0x5287f5=!0x0;try{const _0x31df54=_0x5c76a6[_0x42de10([0x73,0x70,0x6c,0x69,0x74])](_0x42de10([0x2e])),[_0xa541e1,_0x28dfa6,_0x19b82d]=_0x31df54;return _0x3e5bf6(_0xa541e1),await _0x509da6(_0xa541e1,_0x28dfa6,_0x19b82d),_0x5287f5;}catch{return!0x1;}function _0x3e5bf6(_0x368289){const _0x5810a1=_0x152fab(_0x368289);_0x5810a1&&_0x5810a1[_0x42de10([0x61,0x6c,0x67])]==_0x42de10([0x45,0x53,0x32,0x35,0x36])||(_0x5287f5=!0x1);}async function _0x509da6(_0x4def9b,_0xd751c2,_0x4a5827){const _0x1ea4e9=window[_0x42de10([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x42de10([0x66,0x72,0x6f,0x6d])](_0x2d47e9(_0x4a5827),_0x35fe0f=>_0x35fe0f[_0x42de10([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x7f7ac0=new window[(_0x42de10([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x42de10([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4def9b+_0x42de10([0x2e])+_0xd751c2),_0x4de9e1=window[_0x42de10([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x42de10([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4de9e1)return;const _0x1a84e3=await _0x4de9e1[_0x42de10([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x42de10([0x6a,0x77,0x6b]),_0x4d43c0,{[_0x42de10([0x6e,0x61,0x6d,0x65])]:_0x42de10([0x45,0x43,0x44,0x53,0x41]),[_0x42de10([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x42de10([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x42de10([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4de9e1[_0x42de10([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x42de10([0x6e,0x61,0x6d,0x65])]:_0x42de10([0x45,0x43,0x44,0x53,0x41]),[_0x42de10([0x68,0x61,0x73,0x68])]:{[_0x42de10([0x6e,0x61,0x6d,0x65])]:_0x42de10([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1a84e3,_0x1ea4e9,_0x7f7ac0)||(_0x5287f5=!0x1);}}function _0x152fab(_0x1b8d50){return _0x1b8d50[_0x42de10([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x42de10([0x65,0x79]))?JSON[_0x42de10([0x70,0x61,0x72,0x73,0x65])](_0x2d47e9(_0x1b8d50)):null;}function _0x2d47e9(_0x4617a7){return window[_0x42de10([0x61,0x74,0x6f,0x62])](_0x4617a7[_0x42de10([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x42de10([0x2b]))[_0x42de10([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x42de10([0x2f])));}function _0x2d6ad6(_0x4c8c21){let _0x11872c=0x1505;function _0x587a0f(_0x26ff41){for(let _0x2eb1c7=0x0;_0x2eb1c7<_0x26ff41[_0x42de10([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2eb1c7++){const _0x6af782=_0x26ff41[_0x42de10([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2eb1c7);_0x11872c=(_0x11872c<<0x5)+_0x11872c+_0x6af782,_0x11872c&=_0x11872c;}}function _0x3b123f(_0xae0b1c){Array[_0x42de10([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xae0b1c)?_0xae0b1c[_0x42de10([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3b123f):_0xae0b1c&&typeof _0xae0b1c==_0x42de10([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x42de10([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xae0b1c)[_0x42de10([0x73,0x6f,0x72,0x74])]()[_0x42de10([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5daabb,_0x231c3f])=>{_0x587a0f(_0x5daabb),_0x3b123f(_0x231c3f);}):_0x587a0f(window[_0x42de10([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xae0b1c));}return _0x3b123f(_0x4c8c21),_0x11872c>>>0x0;}function _0x4104c6(_0x56a856){return _0x56a856[_0x42de10([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x42de10([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x42de10([0x30]));}function _0x12a5ad(_0x1a0b8d){return _0x1a0b8d[_0x42de10([0x73,0x70,0x6c,0x69,0x74])]('')[_0x42de10([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x42de10([0x6a,0x6f,0x69,0x6e])]('');}function _0x17f8cc(){}function _0x42de10(_0xf453c2){const _0x5a0e7f=_0xcd01;return _0xf453c2[_0x5a0e7f(0x1c7)](_0x3a024c=>String[_0x5a0e7f(0x1b3)](_0x3a024c))[_0x5a0e7f(0x1ad)]('');}_0x523852(await _0x13a9cc());}(this);}[_0x41dcd7(0x1ac)](){const _0x3a925a=_0x41dcd7,_0x5e80a9=this[_0x3a925a(0x1d2)];if(!_0x5e80a9[_0x3a925a(0x1a6)][_0x3a925a(0x19f)](_0x3a925a(0x1a4)))return;const _0x2dac15=_0x5e80a9[_0x3a925a(0x1a6)][_0x3a925a(0x19f)](_0x3a925a(0x1a3))[_0x3a925a(0x1b9)](_0x5f1054=>_0x3a925a(0x1be)==typeof _0x5f1054&&(!_0x501738(_0x5f1054)&&isNaN(Number(_0x5f1054))));if(_0x2dac15[_0x3a925a(0x1b1)])throw new _0x2e6e6e(_0x3a925a(0x1c0),null,{'namedPresets':_0x2dac15});}[_0x41dcd7(0x1bb)](){const _0xa72744=_0x41dcd7,_0x2e26d1=this[_0xa72744(0x1d2)],_0x1c70f8=this[_0xa72744(0x1d2)][_0xa72744(0x1a6)][_0xa72744(0x19f)](_0xa72744(0x1cb));_0x2e26d1[_0xa72744(0x1bd)][_0xa72744(0x1bc)](_0xa72744(0x1b0))[_0xa72744(0x1b2)]({'model':{'key':_0xa72744(0x1b8)},'view':_0x90b763=>String(_0x90b763)===String(_0x1c70f8)?null:{'key':_0xa72744(0x19b),'value':{'line-height':_0x90b763}}}),_0x2e26d1[_0xa72744(0x1bd)][_0xa72744(0x1bc)](_0xa72744(0x1c9))[_0xa72744(0x1b2)]({'model':{'key':_0xa72744(0x1b8),'value':_0x335b19=>{const _0x1ab8da=_0xa72744;let _0x46677c=_0x335b19[_0x1ab8da(0x19e)](_0x1ab8da(0x1d1));return _0x5e8d22(_0x46677c)&&(_0x46677c=String(Number(_0x46677c[_0x1ab8da(0x1a7)](0x0,-0x1))/0x64)),String(_0x46677c)===String(_0x1c70f8)?null:_0x46677c;}},'view':{'styles':{'line-height':/.*/}}});}[_0x41dcd7(0x1c4)](){const _0x4ee5aa=_0x41dcd7,_0x2dcdeb=this[_0x4ee5aa(0x1d2)],_0x504393=this[_0x4ee5aa(0x1d2)][_0x4ee5aa(0x1a6)][_0x4ee5aa(0x19f)](_0x4ee5aa(0x1cb)),_0x57ac85=_0x43edb2(this[_0x4ee5aa(0x1d2)][_0x4ee5aa(0x1a6)][_0x4ee5aa(0x19f)](_0x4ee5aa(0x1b8)))[_0x4ee5aa(0x1b9)](_0x185ce1=>_0x185ce1[_0x4ee5aa(0x1b7)]),_0x4cddb7=_0x2fc83f(_0x4ee5aa(0x1b8),_0x57ac85);_0x2dcdeb[_0x4ee5aa(0x1bd)][_0x4ee5aa(0x1b2)](_0x4cddb7),_0x2dcdeb[_0x4ee5aa(0x1bd)][_0x4ee5aa(0x1bc)](_0x4ee5aa(0x1c9))[_0x4ee5aa(0x1b2)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x4ee5aa(0x1b8),'value':_0x138e73=>{const _0x3b9158=_0x4ee5aa;let _0x3e5966=_0x138e73[_0x3b9158(0x19e)](_0x3b9158(0x1d1));return _0x5e8d22(_0x3e5966)&&(_0x3e5966=String(Number(_0x3e5966[_0x3b9158(0x1a7)](0x0,-0x1))/0x64)),_0x3e5966===String(_0x504393)?null:_0x4cddb7[_0x3b9158(0x1b7)][_0x3b9158(0x1ab)][_0x3b9158(0x1a1)](_0x3e5966)?_0x3e5966:null;}}});}}
|
|
23
|
+
const _0x128680=_0x18d0;(function(_0x554a58,_0x3a8ce4){const _0x34fa7e=_0x18d0,_0x1be39c=_0x554a58();while(!![]){try{const _0x531fd9=parseInt(_0x34fa7e(0x19d))/0x1*(parseInt(_0x34fa7e(0x17b))/0x2)+parseInt(_0x34fa7e(0x17f))/0x3+parseInt(_0x34fa7e(0x18e))/0x4+parseInt(_0x34fa7e(0x187))/0x5+-parseInt(_0x34fa7e(0x17a))/0x6+parseInt(_0x34fa7e(0x19f))/0x7+parseInt(_0x34fa7e(0x1a3))/0x8*(-parseInt(_0x34fa7e(0x19e))/0x9);if(_0x531fd9===_0x3a8ce4)break;else _0x1be39c['push'](_0x1be39c['shift']());}catch(_0x40af99){_0x1be39c['push'](_0x1be39c['shift']());}}}(_0x2e10,0x39b1e));function _0x18d0(_0x37dd5b,_0x3d5ddf){const _0x2e1063=_0x2e10();return _0x18d0=function(_0x18d0bb,_0x109efb){_0x18d0bb=_0x18d0bb-0x179;let _0xdcf1=_0x2e1063[_0x18d0bb];return _0xdcf1;},_0x18d0(_0x37dd5b,_0x3d5ddf);}import{Plugin as _0x376413}from'ckeditor5/src/core.js';function _0x2e10(){const _0x5e232b=['schema','commands','599580KACDPF','isOfficialPlugin','line-height-invalid-use-of-named-presets','includes','for','get','setAttributeProperties','length','263215YJpvzz','href','requires','default','slice','attributeToAttribute','getStyle','1262672VZTCsS','_preparePredefinedConverters','lineHeight.defaultValue','afterInit','downcast','init','fromCharCode','lineHeight.options','line-height','string','style','_prepareAnyValueConverters','define','map','join','1WEBzsL','3141XJzeZw','376642bDreiw','upcast','isPremiumPlugin','filter','7368IUQKyT','$block','pluginName','config','lineHeight','editor','lineHeight.supportAllValues','extend','model','add','_validateConfig','LineHeightEditing','values','466914ksQsHH','27178bZprcQ','conversion'];_0x2e10=function(){return _0x5e232b;};return _0x2e10();}import{LineHeightCommand as _0x55e13a}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4c2dc5}from'ckeditor5/src/engine.js';import{uid as _0x5b6bf4,CKEditorError as _0x375112}from'ckeditor5/src/utils.js';import{buildDefinition as _0xfeec5f,isLineHeightDefaultValue as _0x3a252f,normalizeOptions as _0x26e4eb}from'./utils.js';import{LineHeightTodoListIntegration as _0x26d06c}from'./integrations/todolist.js';export class LineHeightEditing extends _0x376413{static get[_0x128680(0x1a5)](){const _0x699d7e=_0x128680;return _0x699d7e(0x1ae);}static get[_0x128680(0x189)](){return[_0x26d06c];}static get[_0x128680(0x180)](){return!0x0;}static get[_0x128680(0x1a1)](){return!0x0;}constructor(_0x5aecdd){const _0x3473c4=_0x128680;super(_0x5aecdd),_0x5aecdd[_0x3473c4(0x1a6)][_0x3473c4(0x19a)](_0x3473c4(0x1a7),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x3473c4(0x18a),0x2,2.5,0x3]});}[_0x128680(0x193)](){const _0x3dcad8=_0x128680,_0x311ea0=this[_0x3dcad8(0x1a8)];this[_0x3dcad8(0x1ad)](),_0x311ea0[_0x3dcad8(0x1ab)][_0x3dcad8(0x17d)][_0x3dcad8(0x1aa)](_0x3dcad8(0x1a4),{'allowAttributes':_0x3dcad8(0x1a7)}),_0x311ea0[_0x3dcad8(0x1ab)][_0x3dcad8(0x17d)][_0x3dcad8(0x185)](_0x3dcad8(0x1a7),{'isFormatting':!0x0}),_0x311ea0[_0x3dcad8(0x17e)][_0x3dcad8(0x1ac)](_0x3dcad8(0x1a7),new _0x55e13a(_0x311ea0)),this[_0x3dcad8(0x1a8)][_0x3dcad8(0x1a6)][_0x3dcad8(0x184)](_0x3dcad8(0x1a9))?this[_0x3dcad8(0x199)]():this[_0x3dcad8(0x18f)]();}[_0x128680(0x191)](){!async function(_0x2ab1d3){const _0x55501c=_0x484624([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]),_0x4a55f9=0x45ddd215,_0x97d43c=0x45da587d^_0x4a55f9,_0x402629=window[_0x484624([0x44,0x61,0x74,0x65])][_0x484624([0x6e,0x6f,0x77])](),_0x23de01=_0x2ab1d3[_0x484624([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1dc71c=new window[(_0x484624([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a3247=>{_0x23de01[_0x484624([0x6f,0x6e,0x63,0x65])](_0x484624([0x72,0x65,0x61,0x64,0x79]),_0x2a3247);}),_0x1a6c3a={[_0x484624([0x6b,0x74,0x79])]:_0x484624([0x45,0x43]),[_0x484624([0x75,0x73,0x65])]:_0x484624([0x73,0x69,0x67]),[_0x484624([0x63,0x72,0x76])]:_0x484624([0x50,0x2d,0x32,0x35,0x36]),[_0x484624([0x78])]:_0x484624([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]),[_0x484624([0x79])]:_0x484624([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]),[_0x484624([0x61,0x6c,0x67])]:_0x484624([0x45,0x53,0x32,0x35,0x36])},_0x43a3e7=_0x23de01[_0x484624([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x484624([0x67,0x65,0x74])](_0x484624([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x13222d(){let _0x112ba4,_0x3b3208=null,_0x4aaa5d=null;try{if(_0x43a3e7==_0x484624([0x47,0x50,0x4c]))return _0x484624([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x112ba4=_0x329116(),!_0x112ba4)return _0x484624([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x112ba4[_0x484624([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4aaa5d=_0x33ed25(_0x112ba4[_0x484624([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x112ba4[_0x484624([0x6a,0x74,0x69])])),await _0x3b7848()?_0x39825a()?_0x1f9fd0()?_0x484624([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1e36f()?(_0x112ba4[_0x484624([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x484624([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b3208=_0xc994ca(_0x484624([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x8791e5()):_0x484624([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x484624([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x484624([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x484624([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1f9fd0(){const _0x4c883a=[_0x484624([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x484624([0x74,0x72,0x69,0x61,0x6c])][_0x484624([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x112ba4[_0x484624([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x402629/0x3e8:0xe10*_0x97d43c;return _0x112ba4[_0x484624([0x65,0x78,0x70])]<_0x4c883a;}function _0x39825a(){const _0x4c2863=_0x112ba4[_0x484624([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4c2863&&(!!_0x4c2863[_0x484624([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x484624([0x2a]))||!!_0x4c2863[_0x484624([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x484624([0x4c,0x48])));}function _0x1e36f(){const _0x473f4b=_0x18d0,_0x375bda=_0x112ba4[_0x484624([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x375bda||0x0==_0x375bda[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2c4f37}=new URL(window[_0x484624([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x473f4b(0x188)]);if(_0x375bda[_0x484624([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c4f37))return!0x0;const _0x3cf9b1=_0x2c4f37[_0x484624([0x73,0x70,0x6c,0x69,0x74])](_0x484624([0x2e]));return _0x375bda[_0x484624([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x394f4b=>_0x394f4b[_0x484624([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x484624([0x2a])))[_0x484624([0x6d,0x61,0x70])](_0x32ca12=>_0x32ca12[_0x484624([0x73,0x70,0x6c,0x69,0x74])](_0x484624([0x2e])))[_0x484624([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1219fb=>_0x1219fb[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3cf9b1[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x484624([0x6d,0x61,0x70])](_0x114ec0=>Array(_0x3cf9b1[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x114ec0[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x484624([0x66,0x69,0x6c,0x6c])](_0x114ec0[0x0]===_0x484624([0x2a])?_0x484624([0x2a]):'')[_0x484624([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x114ec0))[_0x484624([0x73,0x6f,0x6d,0x65])](_0x581539=>_0x3cf9b1[_0x484624([0x65,0x76,0x65,0x72,0x79])]((_0x473dd1,_0x25d528)=>_0x581539[_0x25d528]===_0x473dd1||_0x581539[_0x25d528]===_0x484624([0x2a])));}function _0x8791e5(){return _0x3b3208&&_0x4aaa5d?new window[(_0x484624([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2367ae,_0x29adc4)=>{_0x3b3208[_0x484624([0x74,0x68,0x65,0x6e])](_0x2367ae,_0x29adc4),_0x4aaa5d[_0x484624([0x74,0x68,0x65,0x6e])](_0x132848=>{_0x132848!=_0x484624([0x56,0x61,0x6c,0x69,0x64])&&_0x2367ae(_0x132848);},_0x29adc4);}):_0x3b3208||_0x4aaa5d||_0x484624([0x56,0x61,0x6c,0x69,0x64]);}}function _0x33ed25(_0x3c9ff4,_0x464742){return new window[(_0x484624([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4eb7c3=>{if(_0x50adf3())return _0x4eb7c3(_0x484624([0x56,0x61,0x6c,0x69,0x64]));_0x3aebee(),_0x23de01[_0x484624([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x484624([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5190b8=!0x1;const _0x378742=_0x5b6bf4();function _0xd4f515(_0x63c2df){return!!_0x63c2df&&(typeof _0x63c2df===_0x484624([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x63c2df===_0x484624([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x63c2df[_0x484624([0x74,0x68,0x65,0x6e])]===_0x484624([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x63c2df[_0x484624([0x63,0x61,0x74,0x63,0x68])]===_0x484624([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x38667b(_0x1e0190){_0x36c403(_0x1e0190)[_0x484624([0x74,0x68,0x65,0x6e])](_0x14b565=>{if(!_0x14b565||_0x14b565[_0x484624([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x484624([0x6f,0x6b]))return _0x484624([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x56cbff(_0x185357(_0x378742+_0x464742))!=_0x14b565[_0x484624([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x484624([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x484624([0x56,0x61,0x6c,0x69,0x64]);})[_0x484624([0x74,0x68,0x65,0x6e])](_0x25f912=>(_0x3735f5(),_0x25f912),()=>{const _0x564225=_0x47d2bf();return null==_0x564225?(_0x3735f5(),_0x484624([0x56,0x61,0x6c,0x69,0x64])):_0x484624(_0x402629-_0x564225>(0x61d15615^_0x4a55f9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x484624([0x74,0x68,0x65,0x6e])](_0x4eb7c3)[_0x484624([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4eb7c3(_0x484624([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1f4cdf=0x45eb3c95^_0x4a55f9;function _0x3735f5(){const _0x2aad1e=_0x484624([0x6c,0x6c,0x63,0x74,0x2d])+_0x56cbff(_0x185357(_0x3c9ff4)),_0x529fb4=_0x1a4f5c(_0x56cbff(window[_0x484624([0x4d,0x61,0x74,0x68])][_0x484624([0x63,0x65,0x69,0x6c])](_0x402629/_0x1f4cdf)));window[_0x484624([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x484624([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2aad1e,_0x529fb4);}function _0x47d2bf(){const _0x3508f7=_0x484624([0x6c,0x6c,0x63,0x74,0x2d])+_0x56cbff(_0x185357(_0x3c9ff4)),_0x7841e4=window[_0x484624([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x484624([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3508f7);return _0x7841e4?window[_0x484624([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a4f5c(_0x7841e4),0x10)*_0x1f4cdf:null;}function _0x36c403(_0x2ad517){return new window[(_0x484624([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x508247,_0x3e9767)=>{_0x2ad517[_0x484624([0x74,0x68,0x65,0x6e])](_0x508247,_0x3e9767),window[_0x484624([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3e9767,0x45dc06d5^_0x4a55f9);});}}_0x23de01[_0x484624([0x6f,0x6e])](_0x484624([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5c03bf,_0x283cbf)=>{if(_0x283cbf[0x0]!=_0x3c9ff4)return _0x4eb7c3(_0x484624([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x283cbf[0x1]={..._0x283cbf[0x1],[_0x484624([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x378742};},{[_0x484624([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x484624([0x68,0x69,0x67,0x68])}),_0x23de01[_0x484624([0x6f,0x6e])](_0x484624([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5a7566=>{_0xd4f515(_0x5a7566[_0x484624([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5190b8=!0x0,_0x38667b(_0x5a7566[_0x484624([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x484624([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x484624([0x6c,0x6f,0x77])}),_0x1dc71c[_0x484624([0x74,0x68,0x65,0x6e])](()=>{_0x5190b8||_0x4eb7c3(_0x484624([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x50adf3(){return _0x23de01[_0x484624([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x484624([0x76,0x69,0x65,0x77])][_0x484624([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x484624([0x61,0x75,0x74,0x6f]);}function _0x3aebee(){_0x23de01[_0x484624([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x484624([0x76,0x69,0x65,0x77])][_0x484624([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x484624([0x61,0x75,0x74,0x6f]);}}function _0xc994ca(_0x38fb03){const _0x3e2e4a=[new window[(_0x484624([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b5757=>setTimeout(_0x4b5757,0x45d4ecd9^_0x4a55f9)),_0x1dc71c[_0x484624([0x74,0x68,0x65,0x6e])](()=>new window[(_0x484624([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10e703=>{let _0x4d43db=0x0;_0x23de01[_0x484624([0x6d,0x6f,0x64,0x65,0x6c])][_0x484624([0x6f,0x6e])](_0x484624([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3eee30,_0x50a545)=>{_0x50a545[0x0][_0x484624([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d43db++,_0x4d43db==(0x45ddd7fd^_0x4a55f9)&&(_0x10e703(),_0x3eee30[_0x484624([0x6f,0x66,0x66])]());});}))];return window[_0x484624([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x484624([0x72,0x61,0x63,0x65])](_0x3e2e4a)[_0x484624([0x74,0x68,0x65,0x6e])](()=>_0x38fb03);}async function _0xa7a10f(){await _0x1dc71c,_0x23de01[_0x484624([0x6d,0x6f,0x64,0x65,0x6c])][_0x484624([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d30c0,_0x23de01[_0x484624([0x6d,0x6f,0x64,0x65,0x6c])][_0x484624([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d30c0,_0x23de01[_0x484624([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x484624([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4212b7(_0x29bce6){const _0x19e16a=_0x3f436b();_0x23de01[_0x19e16a]=_0x484624([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x29bce6,_0x29bce6!=_0x484624([0x56,0x61,0x6c,0x69,0x64])&&_0xa7a10f();}function _0x3f436b(){const _0x1d4b89=window[_0x484624([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x484624([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x484624([0x6e,0x6f,0x77])]())[_0x484624([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x484624([0x2e]),'');let _0x4ba156=_0x484624([0x50]);for(let _0x30588c=0x0;_0x30588c<_0x1d4b89[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30588c+=0x2){let _0x5df53d=window[_0x484624([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d4b89[_0x484624([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30588c,_0x30588c+0x2));_0x5df53d>=_0x55501c[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5df53d-=_0x55501c[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ba156+=_0x55501c[_0x5df53d];}return _0x4ba156;}function _0x329116(){const _0x2b52ff=_0x43a3e7[_0x484624([0x73,0x70,0x6c,0x69,0x74])](_0x484624([0x2e]));if(0x3!=_0x2b52ff[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x41eb5f(_0x2b52ff[0x1]);function _0x41eb5f(_0x279fec){const _0x13b562=_0x2c7b93(_0x279fec);return _0x13b562&&_0x52d797()?_0x13b562:null;function _0x52d797(){const _0x35abd5=_0x13b562[_0x484624([0x6a,0x74,0x69])],_0x37a476=window[_0x484624([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35abd5[_0x484624([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35abd5[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x41a33e={..._0x13b562,[_0x484624([0x6a,0x74,0x69])]:_0x35abd5[_0x484624([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x35abd5[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x41a33e[_0x484624([0x76,0x63])],_0x185357(_0x41a33e)==_0x37a476;}}}async function _0x3b7848(){let _0x3b29f3=!0x0;try{const _0x3ec658=_0x43a3e7[_0x484624([0x73,0x70,0x6c,0x69,0x74])](_0x484624([0x2e])),[_0x484f48,_0x511594,_0xdea121]=_0x3ec658;return _0x2e9a31(_0x484f48),await _0x574d11(_0x484f48,_0x511594,_0xdea121),_0x3b29f3;}catch{return!0x1;}function _0x2e9a31(_0x5dd44d){const _0x220e28=_0x2c7b93(_0x5dd44d);_0x220e28&&_0x220e28[_0x484624([0x61,0x6c,0x67])]==_0x484624([0x45,0x53,0x32,0x35,0x36])||(_0x3b29f3=!0x1);}async function _0x574d11(_0x517e24,_0xa72bb6,_0x4de56e){const _0x1469fc=window[_0x484624([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x484624([0x66,0x72,0x6f,0x6d])](_0x402673(_0x4de56e),_0x3866be=>_0x3866be[_0x484624([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x36c6f0=new window[(_0x484624([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x484624([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x517e24+_0x484624([0x2e])+_0xa72bb6),_0x897bf2=window[_0x484624([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x484624([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x897bf2)return;const _0x4269bd=await _0x897bf2[_0x484624([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x484624([0x6a,0x77,0x6b]),_0x1a6c3a,{[_0x484624([0x6e,0x61,0x6d,0x65])]:_0x484624([0x45,0x43,0x44,0x53,0x41]),[_0x484624([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x484624([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x484624([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x897bf2[_0x484624([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x484624([0x6e,0x61,0x6d,0x65])]:_0x484624([0x45,0x43,0x44,0x53,0x41]),[_0x484624([0x68,0x61,0x73,0x68])]:{[_0x484624([0x6e,0x61,0x6d,0x65])]:_0x484624([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4269bd,_0x1469fc,_0x36c6f0)||(_0x3b29f3=!0x1);}}function _0x2c7b93(_0x4577d5){return _0x4577d5[_0x484624([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x484624([0x65,0x79]))?JSON[_0x484624([0x70,0x61,0x72,0x73,0x65])](_0x402673(_0x4577d5)):null;}function _0x402673(_0x1ffd0f){return window[_0x484624([0x61,0x74,0x6f,0x62])](_0x1ffd0f[_0x484624([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x484624([0x2b]))[_0x484624([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x484624([0x2f])));}function _0x185357(_0x365dc8){let _0x1d54e2=0x1505;function _0x51ea4d(_0x3be12f){for(let _0x46511b=0x0;_0x46511b<_0x3be12f[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x46511b++){const _0x4c760a=_0x3be12f[_0x484624([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x46511b);_0x1d54e2=(_0x1d54e2<<0x5)+_0x1d54e2+_0x4c760a,_0x1d54e2&=_0x1d54e2;}}function _0x5d67a3(_0x1b7b04){Array[_0x484624([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b7b04)?_0x1b7b04[_0x484624([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5d67a3):_0x1b7b04&&typeof _0x1b7b04==_0x484624([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x484624([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b7b04)[_0x484624([0x73,0x6f,0x72,0x74])]()[_0x484624([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1e90ec,_0x1ab853])=>{_0x51ea4d(_0x1e90ec),_0x5d67a3(_0x1ab853);}):_0x51ea4d(window[_0x484624([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b7b04));}return _0x5d67a3(_0x365dc8),_0x1d54e2>>>0x0;}function _0x56cbff(_0x4726f0){return _0x4726f0[_0x484624([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x484624([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x484624([0x30]));}function _0x1a4f5c(_0x5c4d3e){return _0x5c4d3e[_0x484624([0x73,0x70,0x6c,0x69,0x74])]('')[_0x484624([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x484624([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d30c0(){}function _0x484624(_0x1fb34e){const _0x10a26b=_0x18d0;return _0x1fb34e[_0x10a26b(0x19b)](_0x493d81=>String[_0x10a26b(0x194)](_0x493d81))[_0x10a26b(0x19c)]('');}_0x4212b7(await _0x13222d());}(this);}[_0x128680(0x1ad)](){const _0x5ebf92=_0x128680,_0x5b977b=this[_0x5ebf92(0x1a8)];if(!_0x5b977b[_0x5ebf92(0x1a6)][_0x5ebf92(0x184)](_0x5ebf92(0x1a9)))return;const _0xcf0549=_0x5b977b[_0x5ebf92(0x1a6)][_0x5ebf92(0x184)](_0x5ebf92(0x195))[_0x5ebf92(0x1a2)](_0x49aad5=>_0x5ebf92(0x197)==typeof _0x49aad5&&(!_0x3a252f(_0x49aad5)&&isNaN(Number(_0x49aad5))));if(_0xcf0549[_0x5ebf92(0x186)])throw new _0x375112(_0x5ebf92(0x181),null,{'namedPresets':_0xcf0549});}[_0x128680(0x199)](){const _0x2609a3=_0x128680,_0x5422a7=this[_0x2609a3(0x1a8)],_0xcf8fd7=this[_0x2609a3(0x1a8)][_0x2609a3(0x1a6)][_0x2609a3(0x184)](_0x2609a3(0x190));_0x5422a7[_0x2609a3(0x17c)][_0x2609a3(0x183)](_0x2609a3(0x192))[_0x2609a3(0x18c)]({'model':{'key':_0x2609a3(0x1a7)},'view':_0x3f9d2b=>String(_0x3f9d2b)===String(_0xcf8fd7)?null:{'key':_0x2609a3(0x198),'value':{'line-height':_0x3f9d2b}}}),_0x5422a7[_0x2609a3(0x17c)][_0x2609a3(0x183)](_0x2609a3(0x1a0))[_0x2609a3(0x18c)]({'model':{'key':_0x2609a3(0x1a7),'value':_0x36223f=>{const _0x5a39fc=_0x2609a3;let _0x243ab2=_0x36223f[_0x5a39fc(0x18d)](_0x5a39fc(0x196));return _0x4c2dc5(_0x243ab2)&&(_0x243ab2=String(Number(_0x243ab2[_0x5a39fc(0x18b)](0x0,-0x1))/0x64)),String(_0x243ab2)===String(_0xcf8fd7)?null:_0x243ab2;}},'view':{'styles':{'line-height':/.*/}}});}[_0x128680(0x18f)](){const _0x541ff3=_0x128680,_0x178287=this[_0x541ff3(0x1a8)],_0x539797=this[_0x541ff3(0x1a8)][_0x541ff3(0x1a6)][_0x541ff3(0x184)](_0x541ff3(0x190)),_0x154d42=_0x26e4eb(this[_0x541ff3(0x1a8)][_0x541ff3(0x1a6)][_0x541ff3(0x184)](_0x541ff3(0x1a7)))[_0x541ff3(0x1a2)](_0x502df4=>_0x502df4[_0x541ff3(0x1ab)]),_0x57d371=_0xfeec5f(_0x541ff3(0x1a7),_0x154d42);_0x178287[_0x541ff3(0x17c)][_0x541ff3(0x18c)](_0x57d371),_0x178287[_0x541ff3(0x17c)][_0x541ff3(0x183)](_0x541ff3(0x1a0))[_0x541ff3(0x18c)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x541ff3(0x1a7),'value':_0x29f76e=>{const _0x5601f0=_0x541ff3;let _0x3cf357=_0x29f76e[_0x5601f0(0x18d)](_0x5601f0(0x196));return _0x4c2dc5(_0x3cf357)&&(_0x3cf357=String(Number(_0x3cf357[_0x5601f0(0x18b)](0x0,-0x1))/0x64)),_0x3cf357===String(_0x539797)?null:_0x57d371[_0x5601f0(0x1ab)][_0x5601f0(0x179)][_0x5601f0(0x182)](_0x3cf357)?_0x3cf357:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x191727}from'ckeditor5/src/core.js';import{addListToDropdown as _0x176540,createDropdown as _0x49ac82,MenuBarMenuListItemButtonView as _0xb994cd,MenuBarMenuListItemView as _0x1d1a80,MenuBarMenuListView as _0x5475b7,MenuBarMenuView as _0x389cd7,UIModel as _0x1daf8b}from'ckeditor5/src/ui.js';import{Collection as _0x124d30}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x7e130f}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x4cc153}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x191727{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x43edfb={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x43edfb),this['_registerMenuBarComponent'](_0x43edfb),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2223fa=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x37abfb;for(const _0x4131f5 in _0x2223fa){const _0x3d40c2=_0x4131f5,_0x446867=_0x2223fa[_0x3d40c2];if('lineHeightLicenseKeyValid'==_0x446867||'lineHeightLicenseKeyInvalid'==_0x446867||'lineHeightLicenseKeyExpired'==_0x446867||'lineHeightLicenseKeyDomainLimit'==_0x446867||'lineHeightLicenseKeyNotAllowed'==_0x446867||'lineHeightLicenseKeyEvaluationLimit'==_0x446867||'lineHeightLicenseKeyUsageLimit'==_0x446867){delete _0x2223fa[_0x3d40c2],_0x37abfb=_0x446867,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x37abfb&&_0x2223fa['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x37abfb&&_0x2223fa['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x37abfb&&_0x2223fa['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x37abfb&&_0x2223fa['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x37abfb&&_0x2223fa['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x37abfb&&_0x2223fa['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x17703f=this['editor'],t=_0x17703f['t'],_0xf7a1f8=_0x17703f['config']['get']('lineHeight'),_0x13e047={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x4cc153(_0xf7a1f8)['map'](_0x55f9ab=>{const _0x108b1b=_0x13e047[_0x55f9ab['title']];return _0x108b1b&&_0x108b1b!=_0x55f9ab['title']&&(_0x55f9ab=Object['assign']({},_0x55f9ab,{'title':_0x108b1b})),_0x55f9ab;});}['_prepareListOptions'](){const _0x275d9c=this['editor']['commands']['get']('lineHeight'),_0x17e3b7=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3e2928=this['_getLocalizedLineHeightOptions'](),_0x4f436d=new _0x124d30(),_0x381af7=_0x2d870e=>'default'===_0x2d870e||String(_0x17e3b7)===_0x2d870e;for(const _0x5372ad of _0x3e2928){const _0x21b6f7={'type':'button','model':new _0x1daf8b({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x5372ad['title'],'withText':!0x0})};_0x381af7(_0x5372ad['model'])?(_0x21b6f7['model']['bind']('isOn')['to'](_0x275d9c,'value',_0x55867b=>!_0x55867b),_0x21b6f7['model']['commandParam']=void 0x0):(_0x21b6f7['model']['bind']('isOn')['to'](_0x275d9c,'value',_0x734d90=>_0x734d90===_0x5372ad['model']),_0x21b6f7['model']['commandParam']=_0x5372ad['model']),_0x4f436d['add'](_0x21b6f7);}if(this['_shouldRenderCustomValueOption']()){const _0x3672fb=this['_getCustomValueOptionDefinition'](_0x3e2928);_0x4f436d['add'](_0x3672fb);}return _0x4f436d;}['_getCustomValueOptionDefinition'](_0x4c7930){const _0x3c97bd=this['editor'],t=_0x3c97bd['t'],_0x38350e=_0x3c97bd['commands']['get']('lineHeight'),_0x591822=_0x4c7930['map'](_0x218f47=>_0x218f47['model']),_0x35e2a9={'type':'button','model':new _0x1daf8b({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x35e2a9['model']['bind']('commandParam')['to'](_0x38350e,'value'),_0x35e2a9['model']['bind']('isOn')['to'](_0x38350e,'value',_0x2d3090=>!!_0x2d3090&&!_0x591822['includes'](String(_0x2d3090))),_0x35e2a9['model']['bind']('label')['to'](_0x38350e,'value',_0x2d66b2=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x2d66b2))),_0x35e2a9;}['_registerToolbarComponent']({accessibleLabel:_0x45481a,options:_0x76c463}){const _0x34e479=this['editor'],_0x17e5ca=_0x34e479['commands']['get']('lineHeight');_0x34e479['ui']['componentFactory']['add']('lineHeight',_0x141101=>{const _0x468151=_0x49ac82(_0x141101);return _0x176540(_0x468151,_0x76c463,{'role':'menu','ariaLabel':_0x45481a}),_0x468151['buttonView']['set']({'label':_0x45481a,'tooltip':!0x0,'icon':_0x7e130f}),_0x468151['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x468151['bind']('isEnabled')['to'](_0x17e5ca),this['listenTo'](_0x468151,'execute',_0x2ac63b=>{_0x34e479['execute'](_0x2ac63b['source']['commandName'],{'value':_0x2ac63b['source']['commandParam']}),_0x34e479['editing']['view']['focus']();}),_0x468151['once']('change:isOpen',()=>{const _0x37a155=_0x468151['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x468151,_0x76c463,_0x37a155);}),_0x468151;});}['_registerMenuBarComponent']({accessibleLabel:_0x20c610,options:_0x31fad2}){const _0x182938=this['editor'],_0xe05094=_0x182938['commands']['get']('lineHeight');_0x182938['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4c59a5=>{const _0x5839b3=new _0x389cd7(_0x4c59a5);_0x5839b3['buttonView']['set']({'label':_0x20c610,'icon':_0x7e130f}),_0x5839b3['bind']('isEnabled')['to'](_0xe05094);const _0x4ed557=new _0x5475b7(_0x4c59a5);for(const _0x4a802b of _0x31fad2){const _0x1f5797=new _0x1d1a80(_0x4c59a5,_0x5839b3),_0x18a64a=new _0xb994cd(_0x4c59a5);_0x18a64a['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x18a64a['bind'](...Object['keys'](_0x4a802b['model']))['to'](_0x4a802b['model']),_0x18a64a['delegate']('execute')['to'](_0x5839b3),_0x18a64a['on']('execute',()=>{_0x182938['execute'](_0x4a802b['model']['commandName'],{'value':_0x4a802b['model']['commandParam']}),_0x182938['editing']['view']['focus']();}),_0x1f5797['children']['add'](_0x18a64a),_0x4ed557['items']['add'](_0x1f5797);}return _0x5839b3['panelView']['children']['add'](_0x4ed557),this['_attachCustomOptionVisibilityHandler'](_0x5839b3,_0x31fad2,_0x4ed557),_0x5839b3;});}['_attachCustomOptionVisibilityHandler'](_0x44e17f,_0x2dbe1e,_0x1f70b0){if(!this['_shouldRenderCustomValueOption']())return;const _0x564cff=()=>{if(!_0x44e17f['isOpen'])return;_0x1f70b0['items']['last']['isVisible']=Boolean(_0x2dbe1e['last']['model']['isOn']);};_0x564cff(),_0x44e17f['on']('change:isOpen',()=>{_0x564cff();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1e2776,_0x2f785e){const _0x1c349a=_0x1d8a,_0x3bfd83=_0x1e2776();while(!![]){try{const _0x15206f=parseInt(_0x1c349a(0x185))/0x1*(parseInt(_0x1c349a(0x17e))/0x2)+parseInt(_0x1c349a(0x180))/0x3*(-parseInt(_0x1c349a(0x171))/0x4)+parseInt(_0x1c349a(0x16d))/0x5*(-parseInt(_0x1c349a(0x176))/0x6)+-parseInt(_0x1c349a(0x177))/0x7+-parseInt(_0x1c349a(0x164))/0x8*(parseInt(_0x1c349a(0x170))/0x9)+-parseInt(_0x1c349a(0x165))/0xa*(parseInt(_0x1c349a(0x179))/0xb)+-parseInt(_0x1c349a(0x169))/0xc*(-parseInt(_0x1c349a(0x17a))/0xd);if(_0x15206f===_0x2f785e)break;else _0x3bfd83['push'](_0x3bfd83['shift']());}catch(_0x170821){_0x3bfd83['push'](_0x3bfd83['shift']());}}}(_0x555d,0x6f9ec));const v={get 'single'(){const _0x295ec2=_0x1d8a;return{'title':_0x295ec2(0x167),'model':_0x295ec2(0x162),'view':{'key':_0x295ec2(0x174),'value':_0x295ec2(0x178)}};},get 'double'(){const _0x1b47fb=_0x1d8a;return{'title':_0x1b47fb(0x172),'model':_0x1b47fb(0x16e),'view':{'key':_0x1b47fb(0x174),'value':_0x1b47fb(0x16b)}};}};export function isLineHeightDefaultValue(_0x3e14ff){const _0x308a3e=_0x1d8a;return _0x308a3e(0x166)==typeof _0x3e14ff&&_0x308a3e(0x17b)===_0x3e14ff[_0x308a3e(0x173)]();}export function normalizeOptions(_0x21f622){const _0xbe428=_0x1d8a;return _0x21f622[_0xbe428(0x17f)][_0xbe428(0x168)](_0x449823=>isLineHeightDefaultValue(_0x449823)?{'title':String(_0x21f622[_0xbe428(0x16c)]),'model':_0xbe428(0x17b)}:(_0xbe428(0x163)==typeof _0x449823&&(_0x449823=String(_0x449823)),_0xbe428(0x166)!=typeof _0x449823?_0x449823:parseFloat(_0x449823)?{'title':_0x449823,'model':_0x449823,'view':{'name':_0xbe428(0x161),'styles':{'line-height':_0x449823}}}:findPreset(_0x449823)))[_0xbe428(0x183)](_0x26fe21=>void 0x0!==_0x26fe21);}export function findPreset(_0x543e9b){const _0x589938=_0x1d8a;return _0x589938(0x166)==typeof _0x543e9b?v[_0x543e9b]:v[_0x543e9b[_0x589938(0x16f)]];}export function buildDefinition(_0x52610b,_0x59b7ae){const _0x38bf96=_0x1d8a,_0x412cf8={'model':{'key':_0x52610b,'values':[]},'view':{}};for(const _0x1b0786 of _0x59b7ae)_0x38bf96(0x174)===_0x1b0786[_0x38bf96(0x184)]?.[_0x38bf96(0x17c)]?(_0x412cf8[_0x38bf96(0x16f)][_0x38bf96(0x17d)][_0x38bf96(0x16a)](_0x1b0786[_0x38bf96(0x16f)]),_0x412cf8[_0x38bf96(0x184)][_0x1b0786[_0x38bf96(0x16f)]]={'key':_0x38bf96(0x174),'value':_0x1b0786[_0x38bf96(0x184)][_0x38bf96(0x175)]}):(_0x412cf8[_0x38bf96(0x16f)][_0x38bf96(0x17d)][_0x38bf96(0x16a)](_0x1b0786[_0x38bf96(0x16f)]),_0x412cf8[_0x38bf96(0x184)][_0x1b0786[_0x38bf96(0x16f)]]={'key':_0x38bf96(0x181),'value':_0x38bf96(0x182)+_0x1b0786[_0x38bf96(0x16f)]+';'});return _0x412cf8;}function _0x1d8a(_0xc64f71,_0x32fc7f){const _0x555d2a=_0x555d();return _0x1d8a=function(_0x1d8a9e,_0x29ad0c){_0x1d8a9e=_0x1d8a9e-0x161;let _0x4d2f41=_0x555d2a[_0x1d8a9e];return _0x4d2f41;},_0x1d8a(_0xc64f71,_0x32fc7f);}function _0x555d(){const _0x4bfbde=['string','Single','map','12EPjFQc','push','line-height-double','defaultValue','50BBwqXQ','double','model','9uyJCmX','207432ViGNiY','Double','toLowerCase','class','value','9258BoWvFW','5546681MrwlWZ','line-height-single','44IkCgIu','27241123jHAZjI','default','key','values','30882obJowO','options','51IGJUdv','style','line-height:','filter','view','47zZdTAV','span','single','number','1026488sOdzaE','1365730GCoIJy'];_0x555d=function(){return _0x4bfbde;};return _0x555d();}
|