@ckeditor/ckeditor5-line-height 47.7.1 → 47.7.2-alpha.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
|
-
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 _0x4aef3e=_0x2f44;(function(_0xa7d9f3,_0x5989c4){const _0x501499=_0x2f44,_0x14ccc7=_0xa7d9f3();while(!![]){try{const _0x439d38=-parseInt(_0x501499(0x1b7))/0x1+-parseInt(_0x501499(0x1a7))/0x2*(-parseInt(_0x501499(0x1c6))/0x3)+parseInt(_0x501499(0x1a3))/0x4*(-parseInt(_0x501499(0x1d6))/0x5)+-parseInt(_0x501499(0x1b9))/0x6*(parseInt(_0x501499(0x1c0))/0x7)+parseInt(_0x501499(0x1c3))/0x8*(-parseInt(_0x501499(0x1ab))/0x9)+-parseInt(_0x501499(0x1d7))/0xa+parseInt(_0x501499(0x1aa))/0xb*(parseInt(_0x501499(0x1c9))/0xc);if(_0x439d38===_0x5989c4)break;else _0x14ccc7['push'](_0x14ccc7['shift']());}catch(_0x201d26){_0x14ccc7['push'](_0x14ccc7['shift']());}}}(_0x3b37,0x4436a));import{Plugin as _0x350d9c}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x195662}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x596d84}from'ckeditor5/src/engine.js';function _0x2f44(_0x54f452,_0x258cf2){const _0x3b3730=_0x3b37();return _0x2f44=function(_0x2f442d,_0x2146ce){_0x2f442d=_0x2f442d-0x1a2;let _0x50854f=_0x3b3730[_0x2f442d];return _0x50854f;},_0x2f44(_0x54f452,_0x258cf2);}import{uid as _0x3aef27,CKEditorError as _0x2a9a6a}from'ckeditor5/src/utils.js';import{buildDefinition as _0x281611,isLineHeightDefaultValue as _0x33994a,normalizeOptions as _0x21a90e}from'./utils.js';function _0x3b37(){const _0x148d6b=['config','5bIjGGD','3953010rpljdH','setAttributeProperties','lineHeight','_validateConfig','filter','835336PcDNrU','fromCharCode','get','style','260074wdbIiX','lineHeight.supportAllValues','default','2222CZFqhJ','216MrgdrA','lineHeight.defaultValue','slice','pluginName','_prepareAnyValueConverters','extend','isPremiumPlugin','$block','lineHeight.options','_preparePredefinedConverters','schema','map','165873ukHWOx','upcast','84UbRJqq','conversion','downcast','includes','attributeToAttribute','editor','define','106211DDUMPT','add','commands','13184GgTsya','afterInit','join','6XmnELY','line-height','requires','61860NLnvQP','model','line-height-invalid-use-of-named-presets','LineHeightEditing','isOfficialPlugin','length','href','init','string','values','for','getStyle'];_0x3b37=function(){return _0x148d6b;};return _0x3b37();}import{LineHeightTodoListIntegration as _0x3f32ab}from'./integrations/todolist.js';export class LineHeightEditing extends _0x350d9c{static get[_0x4aef3e(0x1ae)](){const _0x251a39=_0x4aef3e;return _0x251a39(0x1cc);}static get[_0x4aef3e(0x1c8)](){return[_0x3f32ab];}static get[_0x4aef3e(0x1cd)](){return!0x0;}static get[_0x4aef3e(0x1b1)](){return!0x0;}constructor(_0x3d23e6){const _0x47c87c=_0x4aef3e;super(_0x3d23e6),_0x3d23e6[_0x47c87c(0x1d5)][_0x47c87c(0x1bf)](_0x47c87c(0x1d9),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x47c87c(0x1a9),0x2,2.5,0x3]});}[_0x4aef3e(0x1d0)](){const _0x50f533=_0x4aef3e,_0x593e02=this[_0x50f533(0x1be)];this[_0x50f533(0x1da)](),_0x593e02[_0x50f533(0x1ca)][_0x50f533(0x1b5)][_0x50f533(0x1b0)](_0x50f533(0x1b2),{'allowAttributes':_0x50f533(0x1d9)}),_0x593e02[_0x50f533(0x1ca)][_0x50f533(0x1b5)][_0x50f533(0x1d8)](_0x50f533(0x1d9),{'isFormatting':!0x0}),_0x593e02[_0x50f533(0x1c2)][_0x50f533(0x1c1)](_0x50f533(0x1d9),new _0x195662(_0x593e02)),this[_0x50f533(0x1be)][_0x50f533(0x1d5)][_0x50f533(0x1a5)](_0x50f533(0x1a8))?this[_0x50f533(0x1af)]():this[_0x50f533(0x1b4)]();}[_0x4aef3e(0x1c4)](){!async function(_0x67639d){const _0x107224=_0x34de2e([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]),_0xe7ed3=0x45ddd215,_0x336df3=0x45da5835^_0xe7ed3,_0x1d240e=window[_0x34de2e([0x44,0x61,0x74,0x65])][_0x34de2e([0x6e,0x6f,0x77])](),_0x1c9fd7=_0x67639d[_0x34de2e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4437ce=new window[(_0x34de2e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c69b0=>{_0x1c9fd7[_0x34de2e([0x6f,0x6e,0x63,0x65])](_0x34de2e([0x72,0x65,0x61,0x64,0x79]),_0x5c69b0);}),_0x33e258={[_0x34de2e([0x6b,0x74,0x79])]:_0x34de2e([0x45,0x43]),[_0x34de2e([0x75,0x73,0x65])]:_0x34de2e([0x73,0x69,0x67]),[_0x34de2e([0x63,0x72,0x76])]:_0x34de2e([0x50,0x2d,0x32,0x35,0x36]),[_0x34de2e([0x78])]:_0x34de2e([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]),[_0x34de2e([0x79])]:_0x34de2e([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]),[_0x34de2e([0x61,0x6c,0x67])]:_0x34de2e([0x45,0x53,0x32,0x35,0x36])},_0x1e0ac2=_0x1c9fd7[_0x34de2e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x34de2e([0x67,0x65,0x74])](_0x34de2e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x256527(){let _0xfb4036,_0xd3a250=null,_0x12511c=null;try{if(_0x1e0ac2==_0x34de2e([0x47,0x50,0x4c]))return _0x34de2e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xfb4036=_0x4c4716(),!_0xfb4036)return _0x34de2e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xfb4036[_0x34de2e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x12511c=_0x393afd(_0xfb4036[_0x34de2e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xfb4036[_0x34de2e([0x6a,0x74,0x69])])),await _0x4af2a5()?_0xa8fa65()?_0x504f16()?_0x34de2e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x36be16()?(_0xfb4036[_0x34de2e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34de2e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd3a250=_0x1ab943(_0x34de2e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x25ef2b()):_0x34de2e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x34de2e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x34de2e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x34de2e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x504f16(){const _0x538db0=[_0x34de2e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x34de2e([0x74,0x72,0x69,0x61,0x6c])][_0x34de2e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfb4036[_0x34de2e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1d240e/0x3e8:0xe10*_0x336df3;return _0xfb4036[_0x34de2e([0x65,0x78,0x70])]<_0x538db0;}function _0xa8fa65(){const _0x1c7220=_0xfb4036[_0x34de2e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1c7220&&(!!_0x1c7220[_0x34de2e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34de2e([0x2a]))||!!_0x1c7220[_0x34de2e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34de2e([0x4c,0x48])));}function _0x36be16(){const _0x47feae=_0x2f44,_0x5ab666=_0xfb4036[_0x34de2e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5ab666||0x0==_0x5ab666[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2d0a6a}=new URL(window[_0x34de2e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x47feae(0x1cf)]);if(_0x5ab666[_0x34de2e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d0a6a))return!0x0;const _0xd1b31b=_0x2d0a6a[_0x34de2e([0x73,0x70,0x6c,0x69,0x74])](_0x34de2e([0x2e]));return _0x5ab666[_0x34de2e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1fee78=>_0x1fee78[_0x34de2e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34de2e([0x2a])))[_0x34de2e([0x6d,0x61,0x70])](_0xfd4f41=>_0xfd4f41[_0x34de2e([0x73,0x70,0x6c,0x69,0x74])](_0x34de2e([0x2e])))[_0x34de2e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x404493=>_0x404493[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xd1b31b[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34de2e([0x6d,0x61,0x70])](_0x138b3d=>Array(_0xd1b31b[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x138b3d[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34de2e([0x66,0x69,0x6c,0x6c])](_0x138b3d[0x0]===_0x34de2e([0x2a])?_0x34de2e([0x2a]):'')[_0x34de2e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x138b3d))[_0x34de2e([0x73,0x6f,0x6d,0x65])](_0x31bb2e=>_0xd1b31b[_0x34de2e([0x65,0x76,0x65,0x72,0x79])]((_0x2ead47,_0x3f795d)=>_0x31bb2e[_0x3f795d]===_0x2ead47||_0x31bb2e[_0x3f795d]===_0x34de2e([0x2a])));}function _0x25ef2b(){return _0xd3a250&&_0x12511c?new window[(_0x34de2e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ccaba,_0x75ded0)=>{_0xd3a250[_0x34de2e([0x74,0x68,0x65,0x6e])](_0x3ccaba,_0x75ded0),_0x12511c[_0x34de2e([0x74,0x68,0x65,0x6e])](_0x36ff64=>{_0x36ff64!=_0x34de2e([0x56,0x61,0x6c,0x69,0x64])&&_0x3ccaba(_0x36ff64);},_0x75ded0);}):_0xd3a250||_0x12511c||_0x34de2e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x393afd(_0x523047,_0xe0fcbe){return new window[(_0x34de2e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd2c613=>{if(_0x4261b8())return _0xd2c613(_0x34de2e([0x56,0x61,0x6c,0x69,0x64]));_0x399a93(),_0x1c9fd7[_0x34de2e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x34de2e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x52ddde=!0x1;const _0x3e19dc=_0x3aef27();function _0x3992a3(_0x4cb9aa){return!!_0x4cb9aa&&(typeof _0x4cb9aa===_0x34de2e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4cb9aa===_0x34de2e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4cb9aa[_0x34de2e([0x74,0x68,0x65,0x6e])]===_0x34de2e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4cb9aa[_0x34de2e([0x63,0x61,0x74,0x63,0x68])]===_0x34de2e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2617ca(_0xf3536d){_0x89f062(_0xf3536d)[_0x34de2e([0x74,0x68,0x65,0x6e])](_0x25a091=>{if(!_0x25a091||_0x25a091[_0x34de2e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x34de2e([0x6f,0x6b]))return _0x34de2e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xb49d7c(_0x277f8a(_0x3e19dc+_0xe0fcbe))!=_0x25a091[_0x34de2e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x34de2e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x34de2e([0x56,0x61,0x6c,0x69,0x64]);})[_0x34de2e([0x74,0x68,0x65,0x6e])](_0x179075=>(_0x3f1419(),_0x179075),()=>{const _0x2afe27=_0x415f19();return null==_0x2afe27?(_0x3f1419(),_0x34de2e([0x56,0x61,0x6c,0x69,0x64])):_0x34de2e(_0x1d240e-_0x2afe27>(0x61d15615^_0xe7ed3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x34de2e([0x74,0x68,0x65,0x6e])](_0xd2c613)[_0x34de2e([0x63,0x61,0x74,0x63,0x68])](()=>{_0xd2c613(_0x34de2e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x46fcbf=0x45eb3c95^_0xe7ed3;function _0x3f1419(){const _0x487d3c=_0x34de2e([0x6c,0x6c,0x63,0x74,0x2d])+_0xb49d7c(_0x277f8a(_0x523047)),_0x159c3b=_0x2a448d(_0xb49d7c(window[_0x34de2e([0x4d,0x61,0x74,0x68])][_0x34de2e([0x63,0x65,0x69,0x6c])](_0x1d240e/_0x46fcbf)));window[_0x34de2e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34de2e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x487d3c,_0x159c3b);}function _0x415f19(){const _0x1d61d9=_0x34de2e([0x6c,0x6c,0x63,0x74,0x2d])+_0xb49d7c(_0x277f8a(_0x523047)),_0x5e5ff6=window[_0x34de2e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34de2e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d61d9);return _0x5e5ff6?window[_0x34de2e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a448d(_0x5e5ff6),0x10)*_0x46fcbf:null;}function _0x89f062(_0x4d6c13){return new window[(_0x34de2e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31f6db,_0x1c1a00)=>{_0x4d6c13[_0x34de2e([0x74,0x68,0x65,0x6e])](_0x31f6db,_0x1c1a00),window[_0x34de2e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c1a00,0x45dc06d5^_0xe7ed3);});}}_0x1c9fd7[_0x34de2e([0x6f,0x6e])](_0x34de2e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x278e99,_0x1a45b7)=>{if(_0x1a45b7[0x0]!=_0x523047)return _0xd2c613(_0x34de2e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1a45b7[0x1]={..._0x1a45b7[0x1],[_0x34de2e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e19dc};},{[_0x34de2e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34de2e([0x68,0x69,0x67,0x68])}),_0x1c9fd7[_0x34de2e([0x6f,0x6e])](_0x34de2e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ccc10=>{_0x3992a3(_0x1ccc10[_0x34de2e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x52ddde=!0x0,_0x2617ca(_0x1ccc10[_0x34de2e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x34de2e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34de2e([0x6c,0x6f,0x77])}),_0x4437ce[_0x34de2e([0x74,0x68,0x65,0x6e])](()=>{_0x52ddde||_0xd2c613(_0x34de2e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4261b8(){return _0x1c9fd7[_0x34de2e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34de2e([0x76,0x69,0x65,0x77])][_0x34de2e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x34de2e([0x61,0x75,0x74,0x6f]);}function _0x399a93(){_0x1c9fd7[_0x34de2e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34de2e([0x76,0x69,0x65,0x77])][_0x34de2e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x34de2e([0x61,0x75,0x74,0x6f]);}}function _0x1ab943(_0x23db1b){const _0x19e93e=[new window[(_0x34de2e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c44ce=>setTimeout(_0x2c44ce,0x45d4ecd9^_0xe7ed3)),_0x4437ce[_0x34de2e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x34de2e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c1f5b=>{let _0x3050cb=0x0;_0x1c9fd7[_0x34de2e([0x6d,0x6f,0x64,0x65,0x6c])][_0x34de2e([0x6f,0x6e])](_0x34de2e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1461e8,_0x4741cf)=>{_0x4741cf[0x0][_0x34de2e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3050cb++,_0x3050cb==(0x45ddd7fd^_0xe7ed3)&&(_0x1c1f5b(),_0x1461e8[_0x34de2e([0x6f,0x66,0x66])]());});}))];return window[_0x34de2e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x34de2e([0x72,0x61,0x63,0x65])](_0x19e93e)[_0x34de2e([0x74,0x68,0x65,0x6e])](()=>_0x23db1b);}async function _0x227ae8(){await _0x4437ce,_0x1c9fd7[_0x34de2e([0x6d,0x6f,0x64,0x65,0x6c])][_0x34de2e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x484c0e,_0x1c9fd7[_0x34de2e([0x6d,0x6f,0x64,0x65,0x6c])][_0x34de2e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x484c0e,_0x1c9fd7[_0x34de2e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34de2e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x350b6a(_0x20ed85){const _0x156ca9=_0x216986();_0x1c9fd7[_0x156ca9]=_0x34de2e([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x20ed85,_0x20ed85!=_0x34de2e([0x56,0x61,0x6c,0x69,0x64])&&_0x227ae8();}function _0x216986(){const _0xad3804=window[_0x34de2e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x34de2e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x34de2e([0x6e,0x6f,0x77])]())[_0x34de2e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x34de2e([0x2e]),'');let _0xcf866d=_0x34de2e([0x50]);for(let _0x3de8e7=0x0;_0x3de8e7<_0xad3804[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3de8e7+=0x2){let _0x488f67=window[_0x34de2e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xad3804[_0x34de2e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3de8e7,_0x3de8e7+0x2));_0x488f67>=_0x107224[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x488f67-=_0x107224[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xcf866d+=_0x107224[_0x488f67];}return _0xcf866d;}function _0x4c4716(){const _0x54d0f4=_0x1e0ac2[_0x34de2e([0x73,0x70,0x6c,0x69,0x74])](_0x34de2e([0x2e]));if(0x3!=_0x54d0f4[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x49c961(_0x54d0f4[0x1]);function _0x49c961(_0xd4878d){const _0x40fe0d=_0x4236ec(_0xd4878d);return _0x40fe0d&&_0x477a76()?_0x40fe0d:null;function _0x477a76(){const _0x4589f4=_0x40fe0d[_0x34de2e([0x6a,0x74,0x69])],_0x45a0b6=window[_0x34de2e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4589f4[_0x34de2e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4589f4[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1e76a0={..._0x40fe0d,[_0x34de2e([0x6a,0x74,0x69])]:_0x4589f4[_0x34de2e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4589f4[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1e76a0[_0x34de2e([0x76,0x63])],_0x277f8a(_0x1e76a0)==_0x45a0b6;}}}async function _0x4af2a5(){let _0x1e0cb7=!0x0;try{const _0x4cd8c0=_0x1e0ac2[_0x34de2e([0x73,0x70,0x6c,0x69,0x74])](_0x34de2e([0x2e])),[_0x46d9d7,_0x4ee151,_0x182320]=_0x4cd8c0;return _0x5ef53c(_0x46d9d7),await _0x16e716(_0x46d9d7,_0x4ee151,_0x182320),_0x1e0cb7;}catch{return!0x1;}function _0x5ef53c(_0x2716da){const _0xe07135=_0x4236ec(_0x2716da);_0xe07135&&_0xe07135[_0x34de2e([0x61,0x6c,0x67])]==_0x34de2e([0x45,0x53,0x32,0x35,0x36])||(_0x1e0cb7=!0x1);}async function _0x16e716(_0x165d4f,_0x37b38d,_0x20042a){const _0x14479a=window[_0x34de2e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x34de2e([0x66,0x72,0x6f,0x6d])](_0x1b4e27(_0x20042a),_0x674326=>_0x674326[_0x34de2e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a805a=new window[(_0x34de2e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x34de2e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x165d4f+_0x34de2e([0x2e])+_0x37b38d),_0x448f87=window[_0x34de2e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x34de2e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x448f87)return;const _0x44b30d=await _0x448f87[_0x34de2e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x34de2e([0x6a,0x77,0x6b]),_0x33e258,{[_0x34de2e([0x6e,0x61,0x6d,0x65])]:_0x34de2e([0x45,0x43,0x44,0x53,0x41]),[_0x34de2e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x34de2e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x34de2e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x448f87[_0x34de2e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x34de2e([0x6e,0x61,0x6d,0x65])]:_0x34de2e([0x45,0x43,0x44,0x53,0x41]),[_0x34de2e([0x68,0x61,0x73,0x68])]:{[_0x34de2e([0x6e,0x61,0x6d,0x65])]:_0x34de2e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x44b30d,_0x14479a,_0x2a805a)||(_0x1e0cb7=!0x1);}}function _0x4236ec(_0xa0a6c6){return _0xa0a6c6[_0x34de2e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x34de2e([0x65,0x79]))?JSON[_0x34de2e([0x70,0x61,0x72,0x73,0x65])](_0x1b4e27(_0xa0a6c6)):null;}function _0x1b4e27(_0x29f9f8){return window[_0x34de2e([0x61,0x74,0x6f,0x62])](_0x29f9f8[_0x34de2e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x34de2e([0x2b]))[_0x34de2e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x34de2e([0x2f])));}function _0x277f8a(_0x38e79e){let _0x39f8d9=0x1505;function _0x452d88(_0x3de065){for(let _0x2a1da8=0x0;_0x2a1da8<_0x3de065[_0x34de2e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a1da8++){const _0x38c003=_0x3de065[_0x34de2e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2a1da8);_0x39f8d9=(_0x39f8d9<<0x5)+_0x39f8d9+_0x38c003,_0x39f8d9&=_0x39f8d9;}}function _0xb96042(_0x5a01c8){Array[_0x34de2e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a01c8)?_0x5a01c8[_0x34de2e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xb96042):_0x5a01c8&&typeof _0x5a01c8==_0x34de2e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x34de2e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a01c8)[_0x34de2e([0x73,0x6f,0x72,0x74])]()[_0x34de2e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x36821a,_0x294008])=>{_0x452d88(_0x36821a),_0xb96042(_0x294008);}):_0x452d88(window[_0x34de2e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a01c8));}return _0xb96042(_0x38e79e),_0x39f8d9>>>0x0;}function _0xb49d7c(_0x5b389b){return _0x5b389b[_0x34de2e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x34de2e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x34de2e([0x30]));}function _0x2a448d(_0x3c3ca5){return _0x3c3ca5[_0x34de2e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x34de2e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x34de2e([0x6a,0x6f,0x69,0x6e])]('');}function _0x484c0e(){}function _0x34de2e(_0x5d16c3){const _0x22f5f6=_0x2f44;return _0x5d16c3[_0x22f5f6(0x1b6)](_0x45d5a1=>String[_0x22f5f6(0x1a4)](_0x45d5a1))[_0x22f5f6(0x1c5)]('');}_0x350b6a(await _0x256527());}(this);}[_0x4aef3e(0x1da)](){const _0x4f54e6=_0x4aef3e,_0x46edc2=this[_0x4f54e6(0x1be)];if(!_0x46edc2[_0x4f54e6(0x1d5)][_0x4f54e6(0x1a5)](_0x4f54e6(0x1a8)))return;const _0x443202=_0x46edc2[_0x4f54e6(0x1d5)][_0x4f54e6(0x1a5)](_0x4f54e6(0x1b3))[_0x4f54e6(0x1a2)](_0x133c09=>_0x4f54e6(0x1d1)==typeof _0x133c09&&(!_0x33994a(_0x133c09)&&isNaN(Number(_0x133c09))));if(_0x443202[_0x4f54e6(0x1ce)])throw new _0x2a9a6a(_0x4f54e6(0x1cb),null,{'namedPresets':_0x443202});}[_0x4aef3e(0x1af)](){const _0x22cb30=_0x4aef3e,_0x14756b=this[_0x22cb30(0x1be)],_0x3c045c=this[_0x22cb30(0x1be)][_0x22cb30(0x1d5)][_0x22cb30(0x1a5)](_0x22cb30(0x1ac));_0x14756b[_0x22cb30(0x1ba)][_0x22cb30(0x1d3)](_0x22cb30(0x1bb))[_0x22cb30(0x1bd)]({'model':{'key':_0x22cb30(0x1d9)},'view':_0x26b090=>String(_0x26b090)===String(_0x3c045c)?null:{'key':_0x22cb30(0x1a6),'value':{'line-height':_0x26b090}}}),_0x14756b[_0x22cb30(0x1ba)][_0x22cb30(0x1d3)](_0x22cb30(0x1b8))[_0x22cb30(0x1bd)]({'model':{'key':_0x22cb30(0x1d9),'value':_0x5e76b3=>{const _0x219eee=_0x22cb30;let _0x494959=_0x5e76b3[_0x219eee(0x1d4)](_0x219eee(0x1c7));return _0x596d84(_0x494959)&&(_0x494959=String(Number(_0x494959[_0x219eee(0x1ad)](0x0,-0x1))/0x64)),String(_0x494959)===String(_0x3c045c)?null:_0x494959;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4aef3e(0x1b4)](){const _0x2b8caf=_0x4aef3e,_0x4bd712=this[_0x2b8caf(0x1be)],_0x542f5c=this[_0x2b8caf(0x1be)][_0x2b8caf(0x1d5)][_0x2b8caf(0x1a5)](_0x2b8caf(0x1ac)),_0x39842f=_0x21a90e(this[_0x2b8caf(0x1be)][_0x2b8caf(0x1d5)][_0x2b8caf(0x1a5)](_0x2b8caf(0x1d9)))[_0x2b8caf(0x1a2)](_0x493266=>_0x493266[_0x2b8caf(0x1ca)]),_0x1f148b=_0x281611(_0x2b8caf(0x1d9),_0x39842f);_0x4bd712[_0x2b8caf(0x1ba)][_0x2b8caf(0x1bd)](_0x1f148b),_0x4bd712[_0x2b8caf(0x1ba)][_0x2b8caf(0x1d3)](_0x2b8caf(0x1b8))[_0x2b8caf(0x1bd)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x2b8caf(0x1d9),'value':_0x4198b8=>{const _0x3324a0=_0x2b8caf;let _0x433fda=_0x4198b8[_0x3324a0(0x1d4)](_0x3324a0(0x1c7));return _0x596d84(_0x433fda)&&(_0x433fda=String(Number(_0x433fda[_0x3324a0(0x1ad)](0x0,-0x1))/0x64)),_0x433fda===String(_0x542f5c)?null:_0x1f148b[_0x3324a0(0x1ca)][_0x3324a0(0x1d2)][_0x3324a0(0x1bc)](_0x433fda)?_0x433fda: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();}
|