@ckeditor/ckeditor5-line-height 0.0.0-nightly-20251124.0 → 0.0.0-nightly-20251125.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-content.css +20 -0
- package/dist/index-editor.css +7 -0
- package/dist/index.css +40 -0
- 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 -7
- package/src/augmentation.d.ts +2 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -1
- package/src/integrations/todolist.d.ts +31 -0
- package/src/integrations/todolist.js +23 -0
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.d.ts +5 -0
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
- package/theme/integrations/todolist.css +46 -0
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x31fb49=>{const {zh:{dictionary:_0x24703d,getPluralForm:_0x4190f0}}={'zh':{'dictionary':{'Line\x20height':'行高','LINE_HEIGHT_CUSTOM_OPTION_LABEL':'自訂:%0','LINE_HEIGHT_SINGLE_OPTION_LABEL':'單行','LINE_HEIGHT_DOUBLE_OPTION_LABEL':'雙行'},'getPluralForm':_0x39e0e6=>0x0}};_0x31fb49['zh']||={'dictionary':{},'getPluralForm':null},_0x31fb49['zh']['dictionary']=Object['assign'](_0x31fb49['zh']['dictionary'],_0x24703d),_0x31fb49['zh']['getPluralForm']=_0x4190f0;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-line-height",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20251125.0",
|
|
4
4
|
"description": "Line height feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,12 +13,13 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
21
|
-
"ckeditor5": "0.0.0-nightly-
|
|
16
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20251125.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20251125.0",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20251125.0",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20251125.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20251125.0",
|
|
21
|
+
"@ckeditor/ckeditor5-list": "0.0.0-nightly-20251125.0",
|
|
22
|
+
"ckeditor5": "0.0.0-nightly-20251125.0"
|
|
22
23
|
},
|
|
23
24
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
24
25
|
"author": "CKSource (https://cksource.com/)",
|
package/src/augmentation.d.ts
CHANGED
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
import type { LineHeight, LineHeightEditing, LineHeightUI, LineHeightConfig } from './index.js';
|
|
5
|
+
import type { LineHeight, LineHeightEditing, LineHeightUI, LineHeightConfig, LineHeightTodoListIntegration } from './index.js';
|
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
|
7
7
|
interface PluginsMap {
|
|
8
8
|
[LineHeight.pluginName]: LineHeight;
|
|
9
9
|
[LineHeightEditing.pluginName]: LineHeightEditing;
|
|
10
10
|
[LineHeightUI.pluginName]: LineHeightUI;
|
|
11
|
+
[LineHeightTodoListIntegration.pluginName]: LineHeightTodoListIntegration;
|
|
11
12
|
}
|
|
12
13
|
interface EditorConfig {
|
|
13
14
|
/**
|
package/src/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
export { LineHeight } from './lineheight.js';
|
|
9
9
|
export { LineHeightEditing } from './lineheightediting.js';
|
|
10
10
|
export { LineHeightUI } from './lineheightui.js';
|
|
11
|
+
export { LineHeightTodoListIntegration } from './integrations/todolist.js';
|
|
11
12
|
export { LineHeightCommand } from './lineheightcommand.js';
|
|
12
13
|
export type { LineHeightConfig, LineHeightOption } from './lineheightconfig.js';
|
|
13
14
|
import './augmentation.js';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5ad5c8,_0x208bad){var _0x1118d6=_0x262c,_0x168511=_0x5ad5c8();while(!![]){try{var _0x4a77f9=parseInt(_0x1118d6(0xa3))/0x1+-parseInt(_0x1118d6(0xa4))/0x2+-parseInt(_0x1118d6(0xa0))/0x3+-parseInt(_0x1118d6(0x9f))/0x4+-parseInt(_0x1118d6(0xa2))/0x5+parseInt(_0x1118d6(0x9e))/0x6+parseInt(_0x1118d6(0xa1))/0x7;if(_0x4a77f9===_0x208bad)break;else _0x168511['push'](_0x168511['shift']());}catch(_0x55710c){_0x168511['push'](_0x168511['shift']());}}}(_0x4435,0x6dee7));export{LineHeight}from'./lineheight.js';export{LineHeightEditing}from'./lineheightediting.js';export{LineHeightUI}from'./lineheightui.js';export{LineHeightTodoListIntegration}from'./integrations/todolist.js';export{LineHeightCommand}from'./lineheightcommand.js';import'./augmentation.js';function _0x262c(_0x1dd48b,_0x28df61){var _0x4435a0=_0x4435();return _0x262c=function(_0x262c14,_0x36db08){_0x262c14=_0x262c14-0x9e;var _0x158b98=_0x4435a0[_0x262c14];return _0x158b98;},_0x262c(_0x1dd48b,_0x28df61);}function _0x4435(){var _0x249d62=['138054DwbBsk','5239278VmnsrT','2975692IKBfRP','1522392BNPpxk','5995262poLHAY','1152350WsEHxA','271484AphBgX'];_0x4435=function(){return _0x249d62;};return _0x4435();}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module line-height/integrations/todolist
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import '../../theme/integrations/todolist.css';
|
|
11
|
+
/**
|
|
12
|
+
* The to-do list line height support plugin.
|
|
13
|
+
*/
|
|
14
|
+
export declare class LineHeightTodoListIntegration extends Plugin {
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get pluginName(): "LineHeightTodoListIntegration";
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get isOfficialPlugin(): true;
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static get isPremiumPlugin(): true;
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
init(): void;
|
|
31
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x5c663e=_0x2ff1;function _0x2ff1(_0x32f6d2,_0x483140){const _0x5afcc8=_0x5afc();return _0x2ff1=function(_0x2ff19c,_0x24eaeb){_0x2ff19c=_0x2ff19c-0x7b;let _0x508703=_0x5afcc8[_0x2ff19c];return _0x508703;},_0x2ff1(_0x32f6d2,_0x483140);}(function(_0x39602c,_0x2b7e51){const _0x1de30f=_0x2ff1,_0x5df290=_0x39602c();while(!![]){try{const _0x6498d6=parseInt(_0x1de30f(0x9a))/0x1+parseInt(_0x1de30f(0x9d))/0x2+-parseInt(_0x1de30f(0x81))/0x3+-parseInt(_0x1de30f(0x8d))/0x4+-parseInt(_0x1de30f(0x96))/0x5*(parseInt(_0x1de30f(0x9f))/0x6)+-parseInt(_0x1de30f(0x83))/0x7+parseInt(_0x1de30f(0x95))/0x8;if(_0x6498d6===_0x2b7e51)break;else _0x5df290['push'](_0x5df290['shift']());}catch(_0x51bcc7){_0x5df290['push'](_0x5df290['shift']());}}}(_0x5afc,0x93cfb));import{Plugin as _0x1cb183}from'ckeditor5/src/core.js';import{Matcher as _0x2d7492}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';function _0x5afc(){const _0x28fbe2=['get','high','todo','addClass','upcast','add','consumable','1101333FoHOOV','isOfficialPlugin','7496160SManOq','setStyle','elementToElement','listType','registerDowncastStrategy','ck-list-marker-line-height','match','editor','consume','viewItem','4475144yjKJjG','isPremiumPlugin','pluginName','--ck-content-list-marker-line-height','lineHeight','ListEditing','element:li','has','15841368xhtoyj','5IsBBxR','span','name','item','363716JweMbU','for','TodoListEditing','2226128dfuECs','paragraph','1768434bXiiVv','init','LineHeightTodoListIntegration','getAttribute','todo-list__label__description'];_0x5afc=function(){return _0x28fbe2;};return _0x5afc();}export class LineHeightTodoListIntegration extends _0x1cb183{static get[_0x5c663e(0x8f)](){const _0xaa5f81=_0x5c663e;return _0xaa5f81(0xa1);}static get[_0x5c663e(0x82)](){return!0x0;}static get[_0x5c663e(0x8e)](){return!0x0;}[_0x5c663e(0xa0)](){const _0x2dc476=_0x5c663e,{plugins:_0x2f0fcb,conversion:_0x5da27c}=this[_0x2dc476(0x8a)];if(!_0x2f0fcb[_0x2dc476(0x94)](_0x2dc476(0x92))||!_0x2f0fcb[_0x2dc476(0x94)](_0x2dc476(0x9c)))return;_0x2f0fcb[_0x2dc476(0xa4)](_0x2dc476(0x92))[_0x2dc476(0x87)]({'scope':_0x2dc476(0x99),'attributeName':_0x2dc476(0x91),'consume':!0x1,'setAttributeOnDowncast'(_0x3821b3,_0x3ff932,_0x37d2bc,_0x112f9a,_0x1bf954){const _0x442034=_0x2dc476;_0x442034(0x7c)==_0x1bf954[_0x442034(0xa2)](_0x442034(0x86))&&_0x3ff932&&(_0x3821b3[_0x442034(0x7d)](_0x442034(0x88),_0x37d2bc),_0x3821b3[_0x442034(0x84)](_0x442034(0x90),_0x3ff932,_0x37d2bc));}}),_0x5da27c[_0x2dc476(0x9b)](_0x2dc476(0x7e))[_0x2dc476(0x85)]({'view':{'name':_0x2dc476(0x97),'classes':_0x2dc476(0xa3)},'model':_0x2dc476(0x9e),'converterPriority':_0x2dc476(0x7b)}),_0x5da27c[_0x2dc476(0x9b)](_0x2dc476(0x7e))[_0x2dc476(0x7f)](_0x3280b0=>{const _0xbeab21=_0x2dc476;_0x3280b0['on'](_0xbeab21(0x93),function(_0x30f9c5){const _0x4e88b4=new _0x2d7492(_0x30f9c5);return(_0x4fa433,_0x458945,_0x3a7097)=>{const _0x582e27=_0x2ff1,_0x32aaf7=_0x4e88b4[_0x582e27(0x89)](_0x458945[_0x582e27(0x8c)]);if(!_0x32aaf7)return;const _0x47af89=_0x32aaf7[_0x582e27(0x89)];_0x47af89[_0x582e27(0x98)]=!0x1,_0x3a7097[_0x582e27(0x80)][_0x582e27(0x8b)](_0x458945[_0x582e27(0x8c)],_0x47af89);};}({'name':'li','classes':_0xbeab21(0x88),'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 _0x55452a=_0x48d1;function _0x48d1(_0x35606b,_0x1d6aa8){var _0x35ca22=_0x35ca();return _0x48d1=function(_0x48d1b2,_0x56e76b){_0x48d1b2=_0x48d1b2-0xf6;var _0x2fcaba=_0x35ca22[_0x48d1b2];return _0x2fcaba;},_0x48d1(_0x35606b,_0x1d6aa8);}(function(_0x3c1c40,_0x189d72){var _0x328f6e=_0x48d1,_0x54db4d=_0x3c1c40();while(!![]){try{var _0xf87d10=-parseInt(_0x328f6e(0x102))/0x1*(parseInt(_0x328f6e(0x100))/0x2)+parseInt(_0x328f6e(0xfa))/0x3+parseInt(_0x328f6e(0xf7))/0x4*(parseInt(_0x328f6e(0x105))/0x5)+parseInt(_0x328f6e(0xf8))/0x6*(-parseInt(_0x328f6e(0x104))/0x7)+-parseInt(_0x328f6e(0x101))/0x8*(parseInt(_0x328f6e(0xfc))/0x9)+-parseInt(_0x328f6e(0xff))/0xa+-parseInt(_0x328f6e(0xf6))/0xb*(-parseInt(_0x328f6e(0xfe))/0xc);if(_0xf87d10===_0x189d72)break;else _0x54db4d['push'](_0x54db4d['shift']());}catch(_0x395c0e){_0x54db4d['push'](_0x54db4d['shift']());}}}(_0x35ca,0x4265b));function _0x35ca(){var _0x5ecd6a=['1278867ENMnob','isPremiumPlugin','149967sAdFCD','LineHeight','9662748tHAfap','2800770PZMMzp','4mRAdpc','200oBhlpZ','174019FRkdXl','isOfficialPlugin','259OhTmuL','4595JzRzuT','requires','11fNsFML','396xfYPBr','948WuhXPj','pluginName'];_0x35ca=function(){return _0x5ecd6a;};return _0x35ca();}import{Plugin as _0x3bbc05}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x38a7f4}from'./lineheightediting.js';import{LineHeightUI as _0x2af7a0}from'./lineheightui.js';export class LineHeight extends _0x3bbc05{static get[_0x55452a(0x106)](){return[_0x38a7f4,_0x2af7a0];}static get[_0x55452a(0xf9)](){var _0x76dafb=_0x55452a;return _0x76dafb(0xfd);}static get[_0x55452a(0x103)](){return!0x0;}static get[_0x55452a(0xfb)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b8b86=_0x44ad;function _0x44ad(_0x3a9afc,_0x55ab7c){const _0x5df50d=_0x5df5();return _0x44ad=function(_0x44ad79,_0x1276f3){_0x44ad79=_0x44ad79-0x12a;let _0x5ddc7b=_0x5df50d[_0x44ad79];return _0x5ddc7b;},_0x44ad(_0x3a9afc,_0x55ab7c);}(function(_0x41c962,_0x274fa0){const _0x598140=_0x44ad,_0x1ff788=_0x41c962();while(!![]){try{const _0x5b576e=parseInt(_0x598140(0x136))/0x1+-parseInt(_0x598140(0x140))/0x2+parseInt(_0x598140(0x141))/0x3+-parseInt(_0x598140(0x13e))/0x4+-parseInt(_0x598140(0x12c))/0x5+-parseInt(_0x598140(0x134))/0x6+-parseInt(_0x598140(0x133))/0x7*(-parseInt(_0x598140(0x131))/0x8);if(_0x5b576e===_0x274fa0)break;else _0x1ff788['push'](_0x1ff788['shift']());}catch(_0x5d6155){_0x1ff788['push'](_0x1ff788['shift']());}}}(_0x5df5,0x66f6b));import{Command as _0x5603b6}from'ckeditor5/src/core.js';import{first as _0x738814}from'ckeditor5/src/utils.js';function _0x5df5(){const _0x92cd08=['change','2549916XOyzAa','value','408572BxeaLo','84990cJvELv','document','editor','filter','_canHaveLineHeight','removeAttribute','3013255AaKmzJ','getAttribute','schema','selection','model','5243624sZwkRP','from','21GzAQum','2753706GpaEky','refresh','330417tZGqRj','lineHeight','setAttribute','getSelectedBlocks','isEnabled','execute','checkAttribute'];_0x5df5=function(){return _0x92cd08;};return _0x5df5();}export class LineHeightCommand extends _0x5603b6{[_0x2b8b86(0x135)](){const _0x55c25b=_0x2b8b86,_0x19a90e=this[_0x55c25b(0x143)][_0x55c25b(0x130)][_0x55c25b(0x142)],_0x91f701=_0x738814(_0x19a90e[_0x55c25b(0x12f)][_0x55c25b(0x139)]());this[_0x55c25b(0x13a)]=Boolean(_0x91f701)&&this[_0x55c25b(0x12a)](_0x91f701),this[_0x55c25b(0x13f)]=this[_0x55c25b(0x13a)]&&_0x91f701[_0x55c25b(0x12d)](_0x55c25b(0x137));}[_0x2b8b86(0x13b)](_0x172a34={}){const _0x2a2367=_0x2b8b86,_0x4c0485=this[_0x2a2367(0x143)][_0x2a2367(0x130)],_0x553065=_0x4c0485[_0x2a2367(0x142)][_0x2a2367(0x12f)],_0x376dae=_0x172a34[_0x2a2367(0x13f)];_0x4c0485[_0x2a2367(0x13d)](_0x2bc55c=>{const _0x4843ef=_0x2a2367,_0x408838=Array[_0x4843ef(0x132)](_0x553065[_0x4843ef(0x139)]())[_0x4843ef(0x144)](_0xc29961=>this[_0x4843ef(0x12a)](_0xc29961));for(const _0x2369ac of _0x408838)_0x376dae?_0x2bc55c[_0x4843ef(0x138)](_0x4843ef(0x137),_0x376dae,_0x2369ac):_0x2bc55c[_0x4843ef(0x12b)](_0x4843ef(0x137),_0x2369ac);});}[_0x2b8b86(0x12a)](_0x5cc1b6){const _0x17eb5b=_0x2b8b86;return this[_0x17eb5b(0x143)][_0x17eb5b(0x130)][_0x17eb5b(0x12e)][_0x17eb5b(0x13c)](_0x5cc1b6,_0x17eb5b(0x137));}}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* @module line-height/lineheightediting
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { LineHeightTodoListIntegration } from './integrations/todolist.js';
|
|
9
10
|
/**
|
|
10
11
|
* The line height editing feature.
|
|
11
12
|
*
|
|
@@ -18,6 +19,10 @@ export declare class LineHeightEditing extends Plugin {
|
|
|
18
19
|
* @inheritDoc
|
|
19
20
|
*/
|
|
20
21
|
static get pluginName(): "LineHeightEditing";
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
static get requires(): readonly [typeof LineHeightTodoListIntegration];
|
|
21
26
|
/**
|
|
22
27
|
* @inheritDoc
|
|
23
28
|
*/
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4c5f45=_0x476e;function _0xf090(){const _0x38a88f=['8041386mflXXX','config','line-height','2085548mOCaSO','values','afterInit','filter','lineHeight.supportAllValues','lineHeight.options','pluginName','upcast','_preparePredefinedConverters','lineHeight','extend','add','string','52JeQlBb','slice','setAttributeProperties','line-height-invalid-use-of-named-presets','join','init','for','isPremiumPlugin','style','265999NcVrhZ','href','6547680iPcYrl','editor','getStyle','default','schema','_validateConfig','lineHeight.defaultValue','$block','model','define','LineHeightEditing','map','_prepareAnyValueConverters','includes','136842nOvUTq','fromCharCode','length','4778053ILNzfb','downcast','8125608XkbPSb','isOfficialPlugin','conversion','get','attributeToAttribute','commands'];_0xf090=function(){return _0x38a88f;};return _0xf090();}(function(_0x35bb3e,_0x34bf28){const _0x441f56=_0x476e,_0x150b43=_0x35bb3e();while(!![]){try{const _0x4dac71=-parseInt(_0x441f56(0x167))/0x1+-parseInt(_0x441f56(0x15e))/0x2*(-parseInt(_0x441f56(0x143))/0x3)+-parseInt(_0x441f56(0x151))/0x4+parseInt(_0x441f56(0x169))/0x5+-parseInt(_0x441f56(0x14e))/0x6+-parseInt(_0x441f56(0x146))/0x7+parseInt(_0x441f56(0x148))/0x8;if(_0x4dac71===_0x34bf28)break;else _0x150b43['push'](_0x150b43['shift']());}catch(_0x4fff80){_0x150b43['push'](_0x150b43['shift']());}}}(_0xf090,0xab24d));import{Plugin as _0x453ab6}from'ckeditor5/src/core.js';function _0x476e(_0x21bf29,_0x360d62){const _0xf0907e=_0xf090();return _0x476e=function(_0x476e8a,_0x209fe2){_0x476e8a=_0x476e8a-0x138;let _0x83db4d=_0xf0907e[_0x476e8a];return _0x83db4d;},_0x476e(_0x21bf29,_0x360d62);}import{LineHeightCommand as _0x31448c}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x3d18a7}from'ckeditor5/src/engine.js';import{uid as _0x16df54,CKEditorError as _0x509d52}from'ckeditor5/src/utils.js';import{buildDefinition as _0x568ebb,isLineHeightDefaultValue as _0x111c3c,normalizeOptions as _0x550d2c}from'./utils.js';export class LineHeightEditing extends _0x453ab6{static get[_0x4c5f45(0x157)](){const _0x17dd95=_0x4c5f45;return _0x17dd95(0x13f);}static get[_0x4c5f45(0x149)](){return!0x0;}static get[_0x4c5f45(0x165)](){return!0x0;}constructor(_0x484c27){const _0x485544=_0x4c5f45;super(_0x484c27),_0x484c27[_0x485544(0x14f)][_0x485544(0x13e)](_0x485544(0x15a),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x485544(0x138),0x2,2.5,0x3]});}[_0x4c5f45(0x163)](){const _0x154133=_0x4c5f45,_0x11d75e=this[_0x154133(0x16a)];this[_0x154133(0x13a)](),_0x11d75e[_0x154133(0x13d)][_0x154133(0x139)][_0x154133(0x15b)](_0x154133(0x13c),{'allowAttributes':_0x154133(0x15a)}),_0x11d75e[_0x154133(0x13d)][_0x154133(0x139)][_0x154133(0x160)](_0x154133(0x15a),{'isFormatting':!0x0}),_0x11d75e[_0x154133(0x14d)][_0x154133(0x15c)](_0x154133(0x15a),new _0x31448c(_0x11d75e)),this[_0x154133(0x16a)][_0x154133(0x14f)][_0x154133(0x14b)](_0x154133(0x155))?this[_0x154133(0x141)]():this[_0x154133(0x159)]();}[_0x4c5f45(0x153)](){!async function(_0x331153){const _0x21258a=_0x343c94([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]),_0x22edbb=0x45ddd215,_0x3c66ff=0x45daa815^_0x22edbb,_0x25ff20=window[_0x343c94([0x44,0x61,0x74,0x65])][_0x343c94([0x6e,0x6f,0x77])](),_0x118a6c=_0x331153[_0x343c94([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4687f5=new window[(_0x343c94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17a600=>{_0x118a6c[_0x343c94([0x6f,0x6e,0x63,0x65])](_0x343c94([0x72,0x65,0x61,0x64,0x79]),_0x17a600);}),_0x26c33b={[_0x343c94([0x6b,0x74,0x79])]:_0x343c94([0x45,0x43]),[_0x343c94([0x75,0x73,0x65])]:_0x343c94([0x73,0x69,0x67]),[_0x343c94([0x63,0x72,0x76])]:_0x343c94([0x50,0x2d,0x32,0x35,0x36]),[_0x343c94([0x78])]:_0x343c94([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]),[_0x343c94([0x79])]:_0x343c94([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]),[_0x343c94([0x61,0x6c,0x67])]:_0x343c94([0x45,0x53,0x32,0x35,0x36])},_0x3b69f9=_0x118a6c[_0x343c94([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x343c94([0x67,0x65,0x74])](_0x343c94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x560424(){let _0x31d950,_0x4591dd=null,_0x1207c8=null;try{if(_0x3b69f9==_0x343c94([0x47,0x50,0x4c]))return _0x343c94([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x31d950=_0x4eaa64(),!_0x31d950)return _0x343c94([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x31d950[_0x343c94([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1207c8=_0x3a2763(_0x31d950[_0x343c94([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x31d950[_0x343c94([0x6a,0x74,0x69])])),await _0x29b1b4()?_0x40af10()?_0x203526()?_0x343c94([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x148da3()?(_0x31d950[_0x343c94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x343c94([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4591dd=_0x178138(_0x343c94([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x31d950[_0x343c94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x343c94([0x74,0x72,0x69,0x61,0x6c])&&(_0x4591dd=_0x178138(_0x343c94([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x189dae()):_0x343c94([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x343c94([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x343c94([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x343c94([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x203526(){const _0x1b112c=[_0x343c94([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x343c94([0x74,0x72,0x69,0x61,0x6c])][_0x343c94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31d950[_0x343c94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x25ff20/0x3e8:0xe10*_0x3c66ff;return _0x31d950[_0x343c94([0x65,0x78,0x70])]<_0x1b112c;}function _0x40af10(){const _0x59bb21=_0x31d950[_0x343c94([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x59bb21&&(!!_0x59bb21[_0x343c94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x343c94([0x2a]))||!!_0x59bb21[_0x343c94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x343c94([0x4c,0x48])));}function _0x148da3(){const _0x15b7a1=_0x476e,_0x399610=_0x31d950[_0x343c94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x399610||0x0==_0x399610[_0x343c94([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x21b74f}=new URL(window[_0x343c94([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x15b7a1(0x168)]);if(_0x399610[_0x343c94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21b74f))return!0x0;const _0x1ef5ed=_0x21b74f[_0x343c94([0x73,0x70,0x6c,0x69,0x74])](_0x343c94([0x2e]));return _0x399610[_0x343c94([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8bdca0=>_0x8bdca0[_0x343c94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x343c94([0x2a])))[_0x343c94([0x6d,0x61,0x70])](_0x2dbc13=>_0x2dbc13[_0x343c94([0x73,0x70,0x6c,0x69,0x74])](_0x343c94([0x2e])))[_0x343c94([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2da945=>_0x2da945[_0x343c94([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ef5ed[_0x343c94([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x343c94([0x6d,0x61,0x70])](_0x1542c3=>Array(_0x1ef5ed[_0x343c94([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1542c3[_0x343c94([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x343c94([0x66,0x69,0x6c,0x6c])](_0x1542c3[0x0]===_0x343c94([0x2a])?_0x343c94([0x2a]):'')[_0x343c94([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1542c3))[_0x343c94([0x73,0x6f,0x6d,0x65])](_0x43b7d4=>_0x1ef5ed[_0x343c94([0x65,0x76,0x65,0x72,0x79])]((_0x4f5dc6,_0x579a50)=>_0x43b7d4[_0x579a50]===_0x4f5dc6||_0x43b7d4[_0x579a50]===_0x343c94([0x2a])));}function _0x189dae(){return _0x4591dd&&_0x1207c8?new window[(_0x343c94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8d9314,_0x5e201d)=>{_0x4591dd[_0x343c94([0x74,0x68,0x65,0x6e])](_0x8d9314,_0x5e201d),_0x1207c8[_0x343c94([0x74,0x68,0x65,0x6e])](_0x53507e=>{_0x53507e!=_0x343c94([0x56,0x61,0x6c,0x69,0x64])&&_0x8d9314(_0x53507e);},_0x5e201d);}):_0x4591dd||_0x1207c8||_0x343c94([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3a2763(_0x1f517d,_0x4d72d6){return new window[(_0x343c94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x388881=>{if(_0x18b2fa())return _0x388881(_0x343c94([0x56,0x61,0x6c,0x69,0x64]));_0x25871d(),_0x118a6c[_0x343c94([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x343c94([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x410ac9=!0x1;const _0x11a651=_0x16df54();function _0x3fdc3c(_0x1fc3ec){return!!_0x1fc3ec&&(typeof _0x1fc3ec===_0x343c94([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1fc3ec===_0x343c94([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1fc3ec[_0x343c94([0x74,0x68,0x65,0x6e])]===_0x343c94([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1fc3ec[_0x343c94([0x63,0x61,0x74,0x63,0x68])]===_0x343c94([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3a88a2(_0x19889e){_0x35cd42(_0x19889e)[_0x343c94([0x74,0x68,0x65,0x6e])](_0x594734=>{if(!_0x594734||_0x594734[_0x343c94([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x343c94([0x6f,0x6b]))return _0x343c94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1ffe5e(_0x55eb19(_0x11a651+_0x4d72d6))!=_0x594734[_0x343c94([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x343c94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x343c94([0x56,0x61,0x6c,0x69,0x64]);})[_0x343c94([0x74,0x68,0x65,0x6e])](_0x5b921e=>(_0x6d6ac8(),_0x5b921e),()=>{const _0x1e0e96=_0x4470c9();return null==_0x1e0e96?(_0x6d6ac8(),_0x343c94([0x56,0x61,0x6c,0x69,0x64])):_0x343c94(_0x25ff20-_0x1e0e96>(0x61d15615^_0x22edbb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x343c94([0x74,0x68,0x65,0x6e])](_0x388881)[_0x343c94([0x63,0x61,0x74,0x63,0x68])](()=>{_0x388881(_0x343c94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5cfe80=0x45eb3c95^_0x22edbb;function _0x6d6ac8(){const _0xaed50d=_0x343c94([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ffe5e(_0x55eb19(_0x1f517d)),_0x186210=_0x5d3d0a(_0x1ffe5e(window[_0x343c94([0x4d,0x61,0x74,0x68])][_0x343c94([0x63,0x65,0x69,0x6c])](_0x25ff20/_0x5cfe80)));window[_0x343c94([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x343c94([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xaed50d,_0x186210);}function _0x4470c9(){const _0x4d80ad=_0x343c94([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ffe5e(_0x55eb19(_0x1f517d)),_0x2ace3c=window[_0x343c94([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x343c94([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d80ad);return _0x2ace3c?window[_0x343c94([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d3d0a(_0x2ace3c),0x10)*_0x5cfe80:null;}function _0x35cd42(_0x32b7e2){return new window[(_0x343c94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x19bb0b,_0x555bf5)=>{_0x32b7e2[_0x343c94([0x74,0x68,0x65,0x6e])](_0x19bb0b,_0x555bf5),window[_0x343c94([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x555bf5,0x45dc06d5^_0x22edbb);});}}_0x118a6c[_0x343c94([0x6f,0x6e])](_0x343c94([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3c2a59,_0x451b57)=>{if(_0x451b57[0x0]!=_0x1f517d)return _0x388881(_0x343c94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x451b57[0x1]={..._0x451b57[0x1],[_0x343c94([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x11a651};},{[_0x343c94([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x343c94([0x68,0x69,0x67,0x68])}),_0x118a6c[_0x343c94([0x6f,0x6e])](_0x343c94([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4a7f40=>{_0x3fdc3c(_0x4a7f40[_0x343c94([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x410ac9=!0x0,_0x3a88a2(_0x4a7f40[_0x343c94([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x343c94([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x343c94([0x6c,0x6f,0x77])}),_0x4687f5[_0x343c94([0x74,0x68,0x65,0x6e])](()=>{_0x410ac9||_0x388881(_0x343c94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x18b2fa(){return _0x118a6c[_0x343c94([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x343c94([0x76,0x69,0x65,0x77])][_0x343c94([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x343c94([0x61,0x75,0x74,0x6f]);}function _0x25871d(){_0x118a6c[_0x343c94([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x343c94([0x76,0x69,0x65,0x77])][_0x343c94([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x343c94([0x61,0x75,0x74,0x6f]);}}function _0x178138(_0x2c9247){const _0x1bd7a8=[new window[(_0x343c94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb8b5b4=>setTimeout(_0xb8b5b4,0x45d4ecd9^_0x22edbb)),_0x4687f5[_0x343c94([0x74,0x68,0x65,0x6e])](()=>new window[(_0x343c94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48d490=>{let _0x41828b=0x0;_0x118a6c[_0x343c94([0x6d,0x6f,0x64,0x65,0x6c])][_0x343c94([0x6f,0x6e])](_0x343c94([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b40be,_0x208709)=>{_0x208709[0x0][_0x343c94([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x41828b++,_0x41828b==(0x45ddd3ed^_0x22edbb)&&(_0x48d490(),_0x4b40be[_0x343c94([0x6f,0x66,0x66])]());});}))];return window[_0x343c94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x343c94([0x72,0x61,0x63,0x65])](_0x1bd7a8)[_0x343c94([0x74,0x68,0x65,0x6e])](()=>_0x2c9247);}async function _0x4c95b2(){await _0x4687f5,_0x118a6c[_0x343c94([0x6d,0x6f,0x64,0x65,0x6c])][_0x343c94([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x327a20,_0x118a6c[_0x343c94([0x6d,0x6f,0x64,0x65,0x6c])][_0x343c94([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x327a20,_0x118a6c[_0x343c94([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x343c94([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1eb9a0(_0x47da04){const _0x24076e=_0x3b48bb();_0x118a6c[_0x24076e]=_0x343c94([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x47da04,_0x47da04!=_0x343c94([0x56,0x61,0x6c,0x69,0x64])&&_0x4c95b2();}function _0x3b48bb(){const _0x39efdd=window[_0x343c94([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x343c94([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x343c94([0x6e,0x6f,0x77])]())[_0x343c94([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x343c94([0x2e]),'');let _0x9bc373=_0x343c94([0x50]);for(let _0x282d78=0x0;_0x282d78<_0x39efdd[_0x343c94([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x282d78+=0x2){let _0x13e956=window[_0x343c94([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39efdd[_0x343c94([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x282d78,_0x282d78+0x2));_0x13e956>=_0x21258a[_0x343c94([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x13e956-=_0x21258a[_0x343c94([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x9bc373+=_0x21258a[_0x13e956];}return _0x9bc373;}function _0x4eaa64(){const _0x237982=_0x3b69f9[_0x343c94([0x73,0x70,0x6c,0x69,0x74])](_0x343c94([0x2e]));if(0x3!=_0x237982[_0x343c94([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5714af(_0x237982[0x1]);function _0x5714af(_0x2b6b0c){const _0x5a64f9=_0x380430(_0x2b6b0c);return _0x5a64f9&&_0x556157()?_0x5a64f9:null;function _0x556157(){const _0x3eafa2=_0x5a64f9[_0x343c94([0x6a,0x74,0x69])],_0x4ba26a=window[_0x343c94([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3eafa2[_0x343c94([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3eafa2[_0x343c94([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5bbc9c={..._0x5a64f9,[_0x343c94([0x6a,0x74,0x69])]:_0x3eafa2[_0x343c94([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3eafa2[_0x343c94([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5bbc9c[_0x343c94([0x76,0x63])],_0x55eb19(_0x5bbc9c)==_0x4ba26a;}}}async function _0x29b1b4(){let _0x21c2c5=!0x0;try{const _0x1cf7c3=_0x3b69f9[_0x343c94([0x73,0x70,0x6c,0x69,0x74])](_0x343c94([0x2e])),[_0x7cf99d,_0x244e40,_0x960157]=_0x1cf7c3;return _0x5eb9df(_0x7cf99d),await _0x5675de(_0x7cf99d,_0x244e40,_0x960157),_0x21c2c5;}catch{return!0x1;}function _0x5eb9df(_0x2d65b8){const _0x36aa65=_0x380430(_0x2d65b8);_0x36aa65&&_0x36aa65[_0x343c94([0x61,0x6c,0x67])]==_0x343c94([0x45,0x53,0x32,0x35,0x36])||(_0x21c2c5=!0x1);}async function _0x5675de(_0x2b4c01,_0x9e291e,_0x57760d){const _0xffd14e=window[_0x343c94([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x343c94([0x66,0x72,0x6f,0x6d])](_0x5e5b38(_0x57760d),_0x203c1f=>_0x203c1f[_0x343c94([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4f2a52=new window[(_0x343c94([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x343c94([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2b4c01+_0x343c94([0x2e])+_0x9e291e),_0x18a390=window[_0x343c94([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x343c94([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x18a390)return;const _0x288c06=await _0x18a390[_0x343c94([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x343c94([0x6a,0x77,0x6b]),_0x26c33b,{[_0x343c94([0x6e,0x61,0x6d,0x65])]:_0x343c94([0x45,0x43,0x44,0x53,0x41]),[_0x343c94([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x343c94([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x343c94([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x18a390[_0x343c94([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x343c94([0x6e,0x61,0x6d,0x65])]:_0x343c94([0x45,0x43,0x44,0x53,0x41]),[_0x343c94([0x68,0x61,0x73,0x68])]:{[_0x343c94([0x6e,0x61,0x6d,0x65])]:_0x343c94([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x288c06,_0xffd14e,_0x4f2a52)||(_0x21c2c5=!0x1);}}function _0x380430(_0x1761d8){return _0x1761d8[_0x343c94([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x343c94([0x65,0x79]))?JSON[_0x343c94([0x70,0x61,0x72,0x73,0x65])](_0x5e5b38(_0x1761d8)):null;}function _0x5e5b38(_0x41f8c6){return window[_0x343c94([0x61,0x74,0x6f,0x62])](_0x41f8c6[_0x343c94([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x343c94([0x2b]))[_0x343c94([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x343c94([0x2f])));}function _0x55eb19(_0x2ca8a5){let _0x10bc41=0x1505;function _0x1eb10f(_0x2e003f){for(let _0x2383d9=0x0;_0x2383d9<_0x2e003f[_0x343c94([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2383d9++){const _0x345ee4=_0x2e003f[_0x343c94([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2383d9);_0x10bc41=(_0x10bc41<<0x5)+_0x10bc41+_0x345ee4,_0x10bc41&=_0x10bc41;}}function _0x1bf189(_0x33a8bf){Array[_0x343c94([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x33a8bf)?_0x33a8bf[_0x343c94([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1bf189):_0x33a8bf&&typeof _0x33a8bf==_0x343c94([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x343c94([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x33a8bf)[_0x343c94([0x73,0x6f,0x72,0x74])]()[_0x343c94([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb34116,_0x450ba1])=>{_0x1eb10f(_0xb34116),_0x1bf189(_0x450ba1);}):_0x1eb10f(window[_0x343c94([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x33a8bf));}return _0x1bf189(_0x2ca8a5),_0x10bc41>>>0x0;}function _0x1ffe5e(_0x535ab2){return _0x535ab2[_0x343c94([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x343c94([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x343c94([0x30]));}function _0x5d3d0a(_0x4c11ef){return _0x4c11ef[_0x343c94([0x73,0x70,0x6c,0x69,0x74])]('')[_0x343c94([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x343c94([0x6a,0x6f,0x69,0x6e])]('');}function _0x327a20(){}function _0x343c94(_0x3c9ec4){const _0x1bfbe3=_0x476e;return _0x3c9ec4[_0x1bfbe3(0x140)](_0x1b0eea=>String[_0x1bfbe3(0x144)](_0x1b0eea))[_0x1bfbe3(0x162)]('');}_0x1eb9a0(await _0x560424());}(this);}[_0x4c5f45(0x13a)](){const _0x422654=_0x4c5f45,_0x5676d7=this[_0x422654(0x16a)];if(!_0x5676d7[_0x422654(0x14f)][_0x422654(0x14b)](_0x422654(0x155)))return;const _0x50f26f=_0x5676d7[_0x422654(0x14f)][_0x422654(0x14b)](_0x422654(0x156))[_0x422654(0x154)](_0x32cff2=>_0x422654(0x15d)==typeof _0x32cff2&&(!_0x111c3c(_0x32cff2)&&isNaN(Number(_0x32cff2))));if(_0x50f26f[_0x422654(0x145)])throw new _0x509d52(_0x422654(0x161),null,{'namedPresets':_0x50f26f});}[_0x4c5f45(0x141)](){const _0x41fde1=_0x4c5f45,_0x2512f6=this[_0x41fde1(0x16a)],_0x38ae9b=this[_0x41fde1(0x16a)][_0x41fde1(0x14f)][_0x41fde1(0x14b)](_0x41fde1(0x13b));_0x2512f6[_0x41fde1(0x14a)][_0x41fde1(0x164)](_0x41fde1(0x147))[_0x41fde1(0x14c)]({'model':{'key':_0x41fde1(0x15a)},'view':_0x5c6ad8=>String(_0x5c6ad8)===String(_0x38ae9b)?null:{'key':_0x41fde1(0x166),'value':{'line-height':_0x5c6ad8}}}),_0x2512f6[_0x41fde1(0x14a)][_0x41fde1(0x164)](_0x41fde1(0x158))[_0x41fde1(0x14c)]({'model':{'key':_0x41fde1(0x15a),'value':_0x5d5b14=>{const _0x96cf3b=_0x41fde1;let _0x17f628=_0x5d5b14[_0x96cf3b(0x16b)](_0x96cf3b(0x150));return _0x3d18a7(_0x17f628)&&(_0x17f628=String(Number(_0x17f628[_0x96cf3b(0x15f)](0x0,-0x1))/0x64)),String(_0x17f628)===String(_0x38ae9b)?null:_0x17f628;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4c5f45(0x159)](){const _0x41e485=_0x4c5f45,_0x2f7d4d=this[_0x41e485(0x16a)],_0x228ba1=this[_0x41e485(0x16a)][_0x41e485(0x14f)][_0x41e485(0x14b)](_0x41e485(0x13b)),_0x136f8a=_0x550d2c(this[_0x41e485(0x16a)][_0x41e485(0x14f)][_0x41e485(0x14b)](_0x41e485(0x15a)))[_0x41e485(0x154)](_0x48cba1=>_0x48cba1[_0x41e485(0x13d)]),_0x220b8c=_0x568ebb(_0x41e485(0x15a),_0x136f8a);_0x2f7d4d[_0x41e485(0x14a)][_0x41e485(0x14c)](_0x220b8c),_0x2f7d4d[_0x41e485(0x14a)][_0x41e485(0x164)](_0x41e485(0x158))[_0x41e485(0x14c)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x41e485(0x15a),'value':_0x16fd82=>{const _0x5f51a7=_0x41e485;let _0x197793=_0x16fd82[_0x5f51a7(0x16b)](_0x5f51a7(0x150));return _0x3d18a7(_0x197793)&&(_0x197793=String(Number(_0x197793[_0x5f51a7(0x15f)](0x0,-0x1))/0x64)),_0x197793===String(_0x228ba1)?null:_0x220b8c[_0x5f51a7(0x13d)][_0x5f51a7(0x152)][_0x5f51a7(0x142)](_0x197793)?_0x197793:null;}}});}}
|
|
23
|
+
const _0x243a3c=_0x5477;(function(_0x3b0fcd,_0x622ac){const _0x12e81b=_0x5477,_0xdfa26c=_0x3b0fcd();while(!![]){try{const _0x2d5f93=parseInt(_0x12e81b(0xed))/0x1+-parseInt(_0x12e81b(0x116))/0x2*(-parseInt(_0x12e81b(0xf2))/0x3)+parseInt(_0x12e81b(0x104))/0x4+parseInt(_0x12e81b(0x111))/0x5*(-parseInt(_0x12e81b(0x112))/0x6)+-parseInt(_0x12e81b(0x101))/0x7*(parseInt(_0x12e81b(0x105))/0x8)+-parseInt(_0x12e81b(0xf1))/0x9*(-parseInt(_0x12e81b(0x118))/0xa)+-parseInt(_0x12e81b(0xea))/0xb;if(_0x2d5f93===_0x622ac)break;else _0xdfa26c['push'](_0xdfa26c['shift']());}catch(_0x4c7e4d){_0xdfa26c['push'](_0xdfa26c['shift']());}}}(_0x5ddc,0x7d371));import{Plugin as _0x5d07ed}from'ckeditor5/src/core.js';function _0x5ddc(){const _0x42b6ab=['getStyle','string','3754872NyCxIN','8bHYybd','style','LineHeightEditing','default','_validateConfig','lineHeight.defaultValue','lineHeight.supportAllValues','init','isOfficialPlugin','join','line-height-invalid-use-of-named-presets','pluginName','1985jmgPsn','2910DfhzSs','includes','attributeToAttribute','config','110KtdXMm','commands','6721970sTExMs','lineHeight.options','setAttributeProperties','lineHeight','extend','_prepareAnyValueConverters','length','slice','afterInit','map','11994972dJehUd','upcast','values','243651BZBnDK','define','get','filter','9EiPaNo','123SONqOc','editor','downcast','$block','requires','for','conversion','schema','_preparePredefinedConverters','model','href','isPremiumPlugin','line-height','fromCharCode','add','426601CsnKNF'];_0x5ddc=function(){return _0x42b6ab;};return _0x5ddc();}import{LineHeightCommand as _0x45ab5e}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x540bc0}from'ckeditor5/src/engine.js';import{uid as _0x5034b3,CKEditorError as _0x4b69ea}from'ckeditor5/src/utils.js';function _0x5477(_0x53b54e,_0x3d117b){const _0x5ddcd0=_0x5ddc();return _0x5477=function(_0x547776,_0x331d9d){_0x547776=_0x547776-0xe8;let _0x1f4501=_0x5ddcd0[_0x547776];return _0x1f4501;},_0x5477(_0x53b54e,_0x3d117b);}import{buildDefinition as _0x2e8c07,isLineHeightDefaultValue as _0x31daa2,normalizeOptions as _0x5574a2}from'./utils.js';import{LineHeightTodoListIntegration as _0xe313f7}from'./integrations/todolist.js';export class LineHeightEditing extends _0x5d07ed{static get[_0x243a3c(0x110)](){const _0x554c54=_0x243a3c;return _0x554c54(0x107);}static get[_0x243a3c(0xf6)](){return[_0xe313f7];}static get[_0x243a3c(0x10d)](){return!0x0;}static get[_0x243a3c(0xfd)](){return!0x0;}constructor(_0x23393b){const _0x5b1986=_0x243a3c;super(_0x23393b),_0x23393b[_0x5b1986(0x115)][_0x5b1986(0xee)](_0x5b1986(0x11b),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x5b1986(0x108),0x2,2.5,0x3]});}[_0x243a3c(0x10c)](){const _0x25353e=_0x243a3c,_0x5b3f6a=this[_0x25353e(0xf3)];this[_0x25353e(0x109)](),_0x5b3f6a[_0x25353e(0xfb)][_0x25353e(0xf9)][_0x25353e(0x11c)](_0x25353e(0xf5),{'allowAttributes':_0x25353e(0x11b)}),_0x5b3f6a[_0x25353e(0xfb)][_0x25353e(0xf9)][_0x25353e(0x11a)](_0x25353e(0x11b),{'isFormatting':!0x0}),_0x5b3f6a[_0x25353e(0x117)][_0x25353e(0x100)](_0x25353e(0x11b),new _0x45ab5e(_0x5b3f6a)),this[_0x25353e(0xf3)][_0x25353e(0x115)][_0x25353e(0xef)](_0x25353e(0x10b))?this[_0x25353e(0x11d)]():this[_0x25353e(0xfa)]();}[_0x243a3c(0xe8)](){!async function(_0x3d9278){const _0x4090dd=_0x4c085b([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]),_0x27b9fd=0x45ddd215,_0x15444e=0x45daa80d^_0x27b9fd,_0x2a81c9=window[_0x4c085b([0x44,0x61,0x74,0x65])][_0x4c085b([0x6e,0x6f,0x77])](),_0x2f8763=_0x3d9278[_0x4c085b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5acd80=new window[(_0x4c085b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a1846=>{_0x2f8763[_0x4c085b([0x6f,0x6e,0x63,0x65])](_0x4c085b([0x72,0x65,0x61,0x64,0x79]),_0x3a1846);}),_0x3a9d0c={[_0x4c085b([0x6b,0x74,0x79])]:_0x4c085b([0x45,0x43]),[_0x4c085b([0x75,0x73,0x65])]:_0x4c085b([0x73,0x69,0x67]),[_0x4c085b([0x63,0x72,0x76])]:_0x4c085b([0x50,0x2d,0x32,0x35,0x36]),[_0x4c085b([0x78])]:_0x4c085b([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]),[_0x4c085b([0x79])]:_0x4c085b([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]),[_0x4c085b([0x61,0x6c,0x67])]:_0x4c085b([0x45,0x53,0x32,0x35,0x36])},_0x50fafa=_0x2f8763[_0x4c085b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c085b([0x67,0x65,0x74])](_0x4c085b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1c1c4a(){let _0x586d4d,_0x1a3b14=null,_0x1e76ff=null;try{if(_0x50fafa==_0x4c085b([0x47,0x50,0x4c]))return _0x4c085b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x586d4d=_0x31bc8a(),!_0x586d4d)return _0x4c085b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x586d4d[_0x4c085b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e76ff=_0x46bbc9(_0x586d4d[_0x4c085b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x586d4d[_0x4c085b([0x6a,0x74,0x69])])),await _0x3e6e3a()?_0x10ceb3()?_0x2270c8()?_0x4c085b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xd34ec4()?(_0x586d4d[_0x4c085b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c085b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1a3b14=_0x3b1a04(_0x4c085b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x586d4d[_0x4c085b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c085b([0x74,0x72,0x69,0x61,0x6c])&&(_0x1a3b14=_0x3b1a04(_0x4c085b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4367d0()):_0x4c085b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c085b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c085b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4c085b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2270c8(){const _0x561025=[_0x4c085b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c085b([0x74,0x72,0x69,0x61,0x6c])][_0x4c085b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x586d4d[_0x4c085b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2a81c9/0x3e8:0xe10*_0x15444e;return _0x586d4d[_0x4c085b([0x65,0x78,0x70])]<_0x561025;}function _0x10ceb3(){const _0x403f3a=_0x586d4d[_0x4c085b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x403f3a&&(!!_0x403f3a[_0x4c085b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c085b([0x2a]))||!!_0x403f3a[_0x4c085b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c085b([0x4c,0x48])));}function _0xd34ec4(){const _0x1fb232=_0x5477,_0x5abe4=_0x586d4d[_0x4c085b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5abe4||0x0==_0x5abe4[_0x4c085b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x379e97}=new URL(window[_0x4c085b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1fb232(0xfc)]);if(_0x5abe4[_0x4c085b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x379e97))return!0x0;const _0x821f8=_0x379e97[_0x4c085b([0x73,0x70,0x6c,0x69,0x74])](_0x4c085b([0x2e]));return _0x5abe4[_0x4c085b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x263b2b=>_0x263b2b[_0x4c085b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c085b([0x2a])))[_0x4c085b([0x6d,0x61,0x70])](_0x3b4e2d=>_0x3b4e2d[_0x4c085b([0x73,0x70,0x6c,0x69,0x74])](_0x4c085b([0x2e])))[_0x4c085b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37ad20=>_0x37ad20[_0x4c085b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x821f8[_0x4c085b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c085b([0x6d,0x61,0x70])](_0x3a307a=>Array(_0x821f8[_0x4c085b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3a307a[_0x4c085b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c085b([0x66,0x69,0x6c,0x6c])](_0x3a307a[0x0]===_0x4c085b([0x2a])?_0x4c085b([0x2a]):'')[_0x4c085b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3a307a))[_0x4c085b([0x73,0x6f,0x6d,0x65])](_0x160a56=>_0x821f8[_0x4c085b([0x65,0x76,0x65,0x72,0x79])]((_0x2083f0,_0x2b6205)=>_0x160a56[_0x2b6205]===_0x2083f0||_0x160a56[_0x2b6205]===_0x4c085b([0x2a])));}function _0x4367d0(){return _0x1a3b14&&_0x1e76ff?new window[(_0x4c085b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x467306,_0x14a195)=>{_0x1a3b14[_0x4c085b([0x74,0x68,0x65,0x6e])](_0x467306,_0x14a195),_0x1e76ff[_0x4c085b([0x74,0x68,0x65,0x6e])](_0x1d6fe7=>{_0x1d6fe7!=_0x4c085b([0x56,0x61,0x6c,0x69,0x64])&&_0x467306(_0x1d6fe7);},_0x14a195);}):_0x1a3b14||_0x1e76ff||_0x4c085b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x46bbc9(_0x580d57,_0x3457f1){return new window[(_0x4c085b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cb035=>{if(_0x3ae330())return _0x3cb035(_0x4c085b([0x56,0x61,0x6c,0x69,0x64]));_0x2db60c(),_0x2f8763[_0x4c085b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c085b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xe63bf3=!0x1;const _0x4aafe5=_0x5034b3();function _0x3732c1(_0x202249){return!!_0x202249&&(typeof _0x202249===_0x4c085b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x202249===_0x4c085b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x202249[_0x4c085b([0x74,0x68,0x65,0x6e])]===_0x4c085b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x202249[_0x4c085b([0x63,0x61,0x74,0x63,0x68])]===_0x4c085b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1d9029(_0x332246){_0x128e47(_0x332246)[_0x4c085b([0x74,0x68,0x65,0x6e])](_0x47c9c3=>{if(!_0x47c9c3||_0x47c9c3[_0x4c085b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c085b([0x6f,0x6b]))return _0x4c085b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x51f3a6(_0x255ae2(_0x4aafe5+_0x3457f1))!=_0x47c9c3[_0x4c085b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c085b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c085b([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c085b([0x74,0x68,0x65,0x6e])](_0x3e3679=>(_0x5583b3(),_0x3e3679),()=>{const _0x18081c=_0x29e007();return null==_0x18081c?(_0x5583b3(),_0x4c085b([0x56,0x61,0x6c,0x69,0x64])):_0x4c085b(_0x2a81c9-_0x18081c>(0x61d15615^_0x27b9fd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c085b([0x74,0x68,0x65,0x6e])](_0x3cb035)[_0x4c085b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3cb035(_0x4c085b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5c66e4=0x45eb3c95^_0x27b9fd;function _0x5583b3(){const _0x5582ac=_0x4c085b([0x6c,0x6c,0x63,0x74,0x2d])+_0x51f3a6(_0x255ae2(_0x580d57)),_0x47cd07=_0x2b5436(_0x51f3a6(window[_0x4c085b([0x4d,0x61,0x74,0x68])][_0x4c085b([0x63,0x65,0x69,0x6c])](_0x2a81c9/_0x5c66e4)));window[_0x4c085b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c085b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5582ac,_0x47cd07);}function _0x29e007(){const _0x1abaae=_0x4c085b([0x6c,0x6c,0x63,0x74,0x2d])+_0x51f3a6(_0x255ae2(_0x580d57)),_0x15a045=window[_0x4c085b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c085b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1abaae);return _0x15a045?window[_0x4c085b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b5436(_0x15a045),0x10)*_0x5c66e4:null;}function _0x128e47(_0x101aaf){return new window[(_0x4c085b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x154929,_0x3a681f)=>{_0x101aaf[_0x4c085b([0x74,0x68,0x65,0x6e])](_0x154929,_0x3a681f),window[_0x4c085b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3a681f,0x45dc06d5^_0x27b9fd);});}}_0x2f8763[_0x4c085b([0x6f,0x6e])](_0x4c085b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x42bdb5,_0x297ee1)=>{if(_0x297ee1[0x0]!=_0x580d57)return _0x3cb035(_0x4c085b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x297ee1[0x1]={..._0x297ee1[0x1],[_0x4c085b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4aafe5};},{[_0x4c085b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c085b([0x68,0x69,0x67,0x68])}),_0x2f8763[_0x4c085b([0x6f,0x6e])](_0x4c085b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x11cea3=>{_0x3732c1(_0x11cea3[_0x4c085b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xe63bf3=!0x0,_0x1d9029(_0x11cea3[_0x4c085b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c085b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c085b([0x6c,0x6f,0x77])}),_0x5acd80[_0x4c085b([0x74,0x68,0x65,0x6e])](()=>{_0xe63bf3||_0x3cb035(_0x4c085b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3ae330(){return _0x2f8763[_0x4c085b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c085b([0x76,0x69,0x65,0x77])][_0x4c085b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c085b([0x61,0x75,0x74,0x6f]);}function _0x2db60c(){_0x2f8763[_0x4c085b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c085b([0x76,0x69,0x65,0x77])][_0x4c085b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c085b([0x61,0x75,0x74,0x6f]);}}function _0x3b1a04(_0x90bef6){const _0x335512=[new window[(_0x4c085b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22cd89=>setTimeout(_0x22cd89,0x45d4ecd9^_0x27b9fd)),_0x5acd80[_0x4c085b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c085b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5af15e=>{let _0x3d7b30=0x0;_0x2f8763[_0x4c085b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c085b([0x6f,0x6e])](_0x4c085b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1fd99d,_0x1b00e2)=>{_0x1b00e2[0x0][_0x4c085b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3d7b30++,_0x3d7b30==(0x45ddd3ed^_0x27b9fd)&&(_0x5af15e(),_0x1fd99d[_0x4c085b([0x6f,0x66,0x66])]());});}))];return window[_0x4c085b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c085b([0x72,0x61,0x63,0x65])](_0x335512)[_0x4c085b([0x74,0x68,0x65,0x6e])](()=>_0x90bef6);}async function _0x447d69(){await _0x5acd80,_0x2f8763[_0x4c085b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c085b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc12d5a,_0x2f8763[_0x4c085b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c085b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc12d5a,_0x2f8763[_0x4c085b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c085b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3716bd(_0x1d9fd9){const _0x312ee3=_0xfc850();_0x2f8763[_0x312ee3]=_0x4c085b([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1d9fd9,_0x1d9fd9!=_0x4c085b([0x56,0x61,0x6c,0x69,0x64])&&_0x447d69();}function _0xfc850(){const _0x207e47=window[_0x4c085b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c085b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c085b([0x6e,0x6f,0x77])]())[_0x4c085b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c085b([0x2e]),'');let _0x59fceb=_0x4c085b([0x50]);for(let _0x34d723=0x0;_0x34d723<_0x207e47[_0x4c085b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x34d723+=0x2){let _0x3ba43d=window[_0x4c085b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x207e47[_0x4c085b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34d723,_0x34d723+0x2));_0x3ba43d>=_0x4090dd[_0x4c085b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3ba43d-=_0x4090dd[_0x4c085b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x59fceb+=_0x4090dd[_0x3ba43d];}return _0x59fceb;}function _0x31bc8a(){const _0x594c0a=_0x50fafa[_0x4c085b([0x73,0x70,0x6c,0x69,0x74])](_0x4c085b([0x2e]));if(0x3!=_0x594c0a[_0x4c085b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x422bd5(_0x594c0a[0x1]);function _0x422bd5(_0x388225){const _0x1f3c9d=_0x328be4(_0x388225);return _0x1f3c9d&&_0x4729f8()?_0x1f3c9d:null;function _0x4729f8(){const _0x4b4964=_0x1f3c9d[_0x4c085b([0x6a,0x74,0x69])],_0x494905=window[_0x4c085b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b4964[_0x4c085b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b4964[_0x4c085b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1ef07c={..._0x1f3c9d,[_0x4c085b([0x6a,0x74,0x69])]:_0x4b4964[_0x4c085b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4b4964[_0x4c085b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1ef07c[_0x4c085b([0x76,0x63])],_0x255ae2(_0x1ef07c)==_0x494905;}}}async function _0x3e6e3a(){let _0x3d0ddd=!0x0;try{const _0x55298d=_0x50fafa[_0x4c085b([0x73,0x70,0x6c,0x69,0x74])](_0x4c085b([0x2e])),[_0x239591,_0x5c64b1,_0x28eb5a]=_0x55298d;return _0xd1e78c(_0x239591),await _0x25b6d9(_0x239591,_0x5c64b1,_0x28eb5a),_0x3d0ddd;}catch{return!0x1;}function _0xd1e78c(_0x4f386b){const _0x5a3532=_0x328be4(_0x4f386b);_0x5a3532&&_0x5a3532[_0x4c085b([0x61,0x6c,0x67])]==_0x4c085b([0x45,0x53,0x32,0x35,0x36])||(_0x3d0ddd=!0x1);}async function _0x25b6d9(_0x37afd1,_0x4636ab,_0x9590c2){const _0xeb58d1=window[_0x4c085b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c085b([0x66,0x72,0x6f,0x6d])](_0x4731a9(_0x9590c2),_0x563e8c=>_0x563e8c[_0x4c085b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2c2d77=new window[(_0x4c085b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c085b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x37afd1+_0x4c085b([0x2e])+_0x4636ab),_0x101ed6=window[_0x4c085b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c085b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x101ed6)return;const _0x1e1fc6=await _0x101ed6[_0x4c085b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c085b([0x6a,0x77,0x6b]),_0x3a9d0c,{[_0x4c085b([0x6e,0x61,0x6d,0x65])]:_0x4c085b([0x45,0x43,0x44,0x53,0x41]),[_0x4c085b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c085b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c085b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x101ed6[_0x4c085b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c085b([0x6e,0x61,0x6d,0x65])]:_0x4c085b([0x45,0x43,0x44,0x53,0x41]),[_0x4c085b([0x68,0x61,0x73,0x68])]:{[_0x4c085b([0x6e,0x61,0x6d,0x65])]:_0x4c085b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1e1fc6,_0xeb58d1,_0x2c2d77)||(_0x3d0ddd=!0x1);}}function _0x328be4(_0x49c3f1){return _0x49c3f1[_0x4c085b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c085b([0x65,0x79]))?JSON[_0x4c085b([0x70,0x61,0x72,0x73,0x65])](_0x4731a9(_0x49c3f1)):null;}function _0x4731a9(_0x36a560){return window[_0x4c085b([0x61,0x74,0x6f,0x62])](_0x36a560[_0x4c085b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c085b([0x2b]))[_0x4c085b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c085b([0x2f])));}function _0x255ae2(_0x14c591){let _0x4dc9df=0x1505;function _0x2d918f(_0x5c15c0){for(let _0x418a1e=0x0;_0x418a1e<_0x5c15c0[_0x4c085b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x418a1e++){const _0x2c3cfa=_0x5c15c0[_0x4c085b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x418a1e);_0x4dc9df=(_0x4dc9df<<0x5)+_0x4dc9df+_0x2c3cfa,_0x4dc9df&=_0x4dc9df;}}function _0x2479b2(_0x5ef959){Array[_0x4c085b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5ef959)?_0x5ef959[_0x4c085b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2479b2):_0x5ef959&&typeof _0x5ef959==_0x4c085b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c085b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5ef959)[_0x4c085b([0x73,0x6f,0x72,0x74])]()[_0x4c085b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1a3e6c,_0x4749f1])=>{_0x2d918f(_0x1a3e6c),_0x2479b2(_0x4749f1);}):_0x2d918f(window[_0x4c085b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5ef959));}return _0x2479b2(_0x14c591),_0x4dc9df>>>0x0;}function _0x51f3a6(_0x3050a0){return _0x3050a0[_0x4c085b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c085b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c085b([0x30]));}function _0x2b5436(_0x2adea3){return _0x2adea3[_0x4c085b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c085b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c085b([0x6a,0x6f,0x69,0x6e])]('');}function _0xc12d5a(){}function _0x4c085b(_0x448072){const _0x5d25b7=_0x5477;return _0x448072[_0x5d25b7(0xe9)](_0x47bedd=>String[_0x5d25b7(0xff)](_0x47bedd))[_0x5d25b7(0x10e)]('');}_0x3716bd(await _0x1c1c4a());}(this);}[_0x243a3c(0x109)](){const _0x2fa12d=_0x243a3c,_0xb7a0e1=this[_0x2fa12d(0xf3)];if(!_0xb7a0e1[_0x2fa12d(0x115)][_0x2fa12d(0xef)](_0x2fa12d(0x10b)))return;const _0x2f7602=_0xb7a0e1[_0x2fa12d(0x115)][_0x2fa12d(0xef)](_0x2fa12d(0x119))[_0x2fa12d(0xf0)](_0xb379f8=>_0x2fa12d(0x103)==typeof _0xb379f8&&(!_0x31daa2(_0xb379f8)&&isNaN(Number(_0xb379f8))));if(_0x2f7602[_0x2fa12d(0x11e)])throw new _0x4b69ea(_0x2fa12d(0x10f),null,{'namedPresets':_0x2f7602});}[_0x243a3c(0x11d)](){const _0x43d16e=_0x243a3c,_0x5cb442=this[_0x43d16e(0xf3)],_0xf7b55c=this[_0x43d16e(0xf3)][_0x43d16e(0x115)][_0x43d16e(0xef)](_0x43d16e(0x10a));_0x5cb442[_0x43d16e(0xf8)][_0x43d16e(0xf7)](_0x43d16e(0xf4))[_0x43d16e(0x114)]({'model':{'key':_0x43d16e(0x11b)},'view':_0x48c7e2=>String(_0x48c7e2)===String(_0xf7b55c)?null:{'key':_0x43d16e(0x106),'value':{'line-height':_0x48c7e2}}}),_0x5cb442[_0x43d16e(0xf8)][_0x43d16e(0xf7)](_0x43d16e(0xeb))[_0x43d16e(0x114)]({'model':{'key':_0x43d16e(0x11b),'value':_0x5d21a9=>{const _0x16167a=_0x43d16e;let _0x57d815=_0x5d21a9[_0x16167a(0x102)](_0x16167a(0xfe));return _0x540bc0(_0x57d815)&&(_0x57d815=String(Number(_0x57d815[_0x16167a(0x11f)](0x0,-0x1))/0x64)),String(_0x57d815)===String(_0xf7b55c)?null:_0x57d815;}},'view':{'styles':{'line-height':/.*/}}});}[_0x243a3c(0xfa)](){const _0x139779=_0x243a3c,_0x1c7908=this[_0x139779(0xf3)],_0x57096d=this[_0x139779(0xf3)][_0x139779(0x115)][_0x139779(0xef)](_0x139779(0x10a)),_0x29865a=_0x5574a2(this[_0x139779(0xf3)][_0x139779(0x115)][_0x139779(0xef)](_0x139779(0x11b)))[_0x139779(0xf0)](_0xf2ef62=>_0xf2ef62[_0x139779(0xfb)]),_0xa9412=_0x2e8c07(_0x139779(0x11b),_0x29865a);_0x1c7908[_0x139779(0xf8)][_0x139779(0x114)](_0xa9412),_0x1c7908[_0x139779(0xf8)][_0x139779(0xf7)](_0x139779(0xeb))[_0x139779(0x114)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x139779(0x11b),'value':_0x3d8c39=>{const _0x4e77b1=_0x139779;let _0x256e60=_0x3d8c39[_0x4e77b1(0x102)](_0x4e77b1(0xfe));return _0x540bc0(_0x256e60)&&(_0x256e60=String(Number(_0x256e60[_0x4e77b1(0x11f)](0x0,-0x1))/0x64)),_0x256e60===String(_0x57096d)?null:_0xa9412[_0x4e77b1(0xfb)][_0x4e77b1(0xec)][_0x4e77b1(0x113)](_0x256e60)?_0x256e60:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x1ba908}from'ckeditor5/src/core.js';import{addListToDropdown as _0x4884d0,createDropdown as _0x2fd321,MenuBarMenuListItemButtonView as _0x209735,MenuBarMenuListItemView as _0x489ce3,MenuBarMenuListView as _0x41e36f,MenuBarMenuView as _0x5764a2,UIModel as _0x2ad0f9}from'ckeditor5/src/ui.js';import{Collection as _0x204611}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x2e191d}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x552474}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x1ba908{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x651d34={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x651d34),this['_registerMenuBarComponent'](_0x651d34),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2dd151=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x483db2;for(const _0x57271e in _0x2dd151){const _0x57f65f=_0x57271e,_0x5b0f63=_0x2dd151[_0x57f65f];if('lineHeightLicenseKeyValid'==_0x5b0f63||'lineHeightLicenseKeyInvalid'==_0x5b0f63||'lineHeightLicenseKeyExpired'==_0x5b0f63||'lineHeightLicenseKeyDomainLimit'==_0x5b0f63||'lineHeightLicenseKeyNotAllowed'==_0x5b0f63||'lineHeightLicenseKeyEvaluationLimit'==_0x5b0f63||'lineHeightLicenseKeyTrialLimit'==_0x5b0f63||'lineHeightLicenseKeyUsageLimit'==_0x5b0f63){delete _0x2dd151[_0x57f65f],_0x483db2=_0x5b0f63,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x483db2&&_0x2dd151['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x483db2&&_0x2dd151['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x483db2&&_0x2dd151['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x483db2&&_0x2dd151['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x483db2&&_0x2dd151['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x483db2&&_0x2dd151['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x483db2&&_0x2dd151['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2d0e1a=this['editor'],t=_0x2d0e1a['t'],_0x3a2479=_0x2d0e1a['config']['get']('lineHeight'),_0x3e53b4={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x552474(_0x3a2479)['map'](_0x4885be=>{const _0xc1a12c=_0x3e53b4[_0x4885be['title']];return _0xc1a12c&&_0xc1a12c!=_0x4885be['title']&&(_0x4885be=Object['assign']({},_0x4885be,{'title':_0xc1a12c})),_0x4885be;});}['_prepareListOptions'](){const _0x311c48=this['editor']['commands']['get']('lineHeight'),_0x52d9b1=this['editor']['config']['get']('lineHeight.defaultValue'),_0xf0e33d=this['_getLocalizedLineHeightOptions'](),_0x4d8022=new _0x204611(),_0x3267e6=_0x2c0c8a=>'default'===_0x2c0c8a||String(_0x52d9b1)===_0x2c0c8a;for(const _0x1e8d9d of _0xf0e33d){const _0xdd9fe6={'type':'button','model':new _0x2ad0f9({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x1e8d9d['title'],'withText':!0x0})};_0x3267e6(_0x1e8d9d['model'])?(_0xdd9fe6['model']['bind']('isOn')['to'](_0x311c48,'value',_0x1c9d99=>!_0x1c9d99),_0xdd9fe6['model']['commandParam']=void 0x0):(_0xdd9fe6['model']['bind']('isOn')['to'](_0x311c48,'value',_0x5853d7=>_0x5853d7===_0x1e8d9d['model']),_0xdd9fe6['model']['commandParam']=_0x1e8d9d['model']),_0x4d8022['add'](_0xdd9fe6);}if(this['_shouldRenderCustomValueOption']()){const _0x513a93=this['_getCustomValueOptionDefinition'](_0xf0e33d);_0x4d8022['add'](_0x513a93);}return _0x4d8022;}['_getCustomValueOptionDefinition'](_0x1c4719){const _0x37a0c2=this['editor'],t=_0x37a0c2['t'],_0x5e9a8d=_0x37a0c2['commands']['get']('lineHeight'),_0x399a2b=_0x1c4719['map'](_0x1d6d09=>_0x1d6d09['model']),_0x53efd1={'type':'button','model':new _0x2ad0f9({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x53efd1['model']['bind']('commandParam')['to'](_0x5e9a8d,'value'),_0x53efd1['model']['bind']('isOn')['to'](_0x5e9a8d,'value',_0x7e8522=>!!_0x7e8522&&!_0x399a2b['includes'](String(_0x7e8522))),_0x53efd1['model']['bind']('label')['to'](_0x5e9a8d,'value',_0x3a1b3c=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x3a1b3c))),_0x53efd1;}['_registerToolbarComponent']({accessibleLabel:_0x384d84,options:_0x1b5934}){const _0xd42d56=this['editor'],_0x3ea7a3=_0xd42d56['commands']['get']('lineHeight');_0xd42d56['ui']['componentFactory']['add']('lineHeight',_0x1c763e=>{const _0x2ea015=_0x2fd321(_0x1c763e);return _0x4884d0(_0x2ea015,_0x1b5934,{'role':'menu','ariaLabel':_0x384d84}),_0x2ea015['buttonView']['set']({'label':_0x384d84,'tooltip':!0x0,'icon':_0x2e191d}),_0x2ea015['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x2ea015['bind']('isEnabled')['to'](_0x3ea7a3),this['listenTo'](_0x2ea015,'execute',_0x3110d6=>{_0xd42d56['execute'](_0x3110d6['source']['commandName'],{'value':_0x3110d6['source']['commandParam']}),_0xd42d56['editing']['view']['focus']();}),_0x2ea015['once']('change:isOpen',()=>{const _0x4dc732=_0x2ea015['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x2ea015,_0x1b5934,_0x4dc732);}),_0x2ea015;});}['_registerMenuBarComponent']({accessibleLabel:_0x736908,options:_0x18a2d2}){const _0x328952=this['editor'],_0x563466=_0x328952['commands']['get']('lineHeight');_0x328952['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5ed522=>{const _0x1efea2=new _0x5764a2(_0x5ed522);_0x1efea2['buttonView']['set']({'label':_0x736908,'icon':_0x2e191d}),_0x1efea2['bind']('isEnabled')['to'](_0x563466);const _0x4a321a=new _0x41e36f(_0x5ed522);for(const _0x34df25 of _0x18a2d2){const _0x4fa497=new _0x489ce3(_0x5ed522,_0x1efea2),_0x1d3449=new _0x209735(_0x5ed522);_0x1d3449['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1d3449['bind'](...Object['keys'](_0x34df25['model']))['to'](_0x34df25['model']),_0x1d3449['delegate']('execute')['to'](_0x1efea2),_0x1d3449['on']('execute',()=>{_0x328952['execute'](_0x34df25['model']['commandName'],{'value':_0x34df25['model']['commandParam']}),_0x328952['editing']['view']['focus']();}),_0x4fa497['children']['add'](_0x1d3449),_0x4a321a['items']['add'](_0x4fa497);}return _0x1efea2['panelView']['children']['add'](_0x4a321a),this['_attachCustomOptionVisibilityHandler'](_0x1efea2,_0x18a2d2,_0x4a321a),_0x1efea2;});}['_attachCustomOptionVisibilityHandler'](_0x5a93ec,_0x557e8b,_0xc29105){if(!this['_shouldRenderCustomValueOption']())return;const _0x2eb367=()=>{if(!_0x5a93ec['isOpen'])return;_0xc29105['items']['last']['isVisible']=Boolean(_0x557e8b['last']['model']['isOn']);};_0x2eb367(),_0x5a93ec['on']('change:isOpen',()=>{_0x2eb367();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x344b8e,_0x1644e7){const _0x14aad2=_0xb4ad,_0x450f60=_0x344b8e();while(!![]){try{const _0x5a3cd9=-parseInt(_0x14aad2(0x131))/0x1+parseInt(_0x14aad2(0x13b))/0x2*(parseInt(_0x14aad2(0x147))/0x3)+-parseInt(_0x14aad2(0x148))/0x4*(parseInt(_0x14aad2(0x134))/0x5)+parseInt(_0x14aad2(0x144))/0x6*(parseInt(_0x14aad2(0x13f))/0x7)+-parseInt(_0x14aad2(0x153))/0x8*(parseInt(_0x14aad2(0x146))/0x9)+-parseInt(_0x14aad2(0x143))/0xa*(parseInt(_0x14aad2(0x136))/0xb)+parseInt(_0x14aad2(0x151))/0xc*(parseInt(_0x14aad2(0x13a))/0xd);if(_0x5a3cd9===_0x1644e7)break;else _0x450f60['push'](_0x450f60['shift']());}catch(_0x249500){_0x450f60['push'](_0x450f60['shift']());}}}(_0x1d7c,0x1f91a));function _0x1d7c(){const _0x8dbbce=['Double','350045gIbtwI','number','869tlRbbp','filter','options','string','52FsrKTM','208eKVShs','line-height-double','value','style','28gTbPLm','key','view','line-height:','14510iHfrbz','136698hhvIaP','default','117RkvXFP','4596gIAzuT','12uuRbGG','defaultValue','push','values','Single','span','map','line-height-single','single','1427076eAsADZ','double','90304EvrItn','model','toLowerCase','125446XLrfOm','class'];_0x1d7c=function(){return _0x8dbbce;};return _0x1d7c();}function _0xb4ad(_0x2126c9,_0x5d90ae){const _0x1d7c81=_0x1d7c();return _0xb4ad=function(_0xb4ad81,_0x4f3ff9){_0xb4ad81=_0xb4ad81-0x131;let _0x35bbc2=_0x1d7c81[_0xb4ad81];return _0x35bbc2;},_0xb4ad(_0x2126c9,_0x5d90ae);}const v={get 'single'(){const _0x556cd9=_0xb4ad;return{'title':_0x556cd9(0x14c),'model':_0x556cd9(0x150),'view':{'key':_0x556cd9(0x132),'value':_0x556cd9(0x14f)}};},get 'double'(){const _0x32da02=_0xb4ad;return{'title':_0x32da02(0x133),'model':_0x32da02(0x152),'view':{'key':_0x32da02(0x132),'value':_0x32da02(0x13c)}};}};export function isLineHeightDefaultValue(_0x12a1bb){const _0x2e14c4=_0xb4ad;return _0x2e14c4(0x139)==typeof _0x12a1bb&&_0x2e14c4(0x145)===_0x12a1bb[_0x2e14c4(0x155)]();}export function normalizeOptions(_0xc859d1){const _0x550be6=_0xb4ad;return _0xc859d1[_0x550be6(0x138)][_0x550be6(0x14e)](_0x41608d=>isLineHeightDefaultValue(_0x41608d)?{'title':String(_0xc859d1[_0x550be6(0x149)]),'model':_0x550be6(0x145)}:(_0x550be6(0x135)==typeof _0x41608d&&(_0x41608d=String(_0x41608d)),_0x550be6(0x139)!=typeof _0x41608d?_0x41608d:parseFloat(_0x41608d)?{'title':_0x41608d,'model':_0x41608d,'view':{'name':_0x550be6(0x14d),'styles':{'line-height':_0x41608d}}}:findPreset(_0x41608d)))[_0x550be6(0x137)](_0xafabe1=>void 0x0!==_0xafabe1);}export function findPreset(_0x3ba017){const _0x57b3b3=_0xb4ad;return _0x57b3b3(0x139)==typeof _0x3ba017?v[_0x3ba017]:v[_0x3ba017[_0x57b3b3(0x154)]];}export function buildDefinition(_0x5b97ef,_0xb68a78){const _0x2a7c0b=_0xb4ad,_0x55a9d1={'model':{'key':_0x5b97ef,'values':[]},'view':{}};for(const _0xe2acf3 of _0xb68a78)_0x2a7c0b(0x132)===_0xe2acf3[_0x2a7c0b(0x141)]?.[_0x2a7c0b(0x140)]?(_0x55a9d1[_0x2a7c0b(0x154)][_0x2a7c0b(0x14b)][_0x2a7c0b(0x14a)](_0xe2acf3[_0x2a7c0b(0x154)]),_0x55a9d1[_0x2a7c0b(0x141)][_0xe2acf3[_0x2a7c0b(0x154)]]={'key':_0x2a7c0b(0x132),'value':_0xe2acf3[_0x2a7c0b(0x141)][_0x2a7c0b(0x13d)]}):(_0x55a9d1[_0x2a7c0b(0x154)][_0x2a7c0b(0x14b)][_0x2a7c0b(0x14a)](_0xe2acf3[_0x2a7c0b(0x154)]),_0x55a9d1[_0x2a7c0b(0x141)][_0xe2acf3[_0x2a7c0b(0x154)]]={'key':_0x2a7c0b(0x13e),'value':_0x2a7c0b(0x142)+_0xe2acf3[_0x2a7c0b(0x154)]+';'});return _0x55a9d1;}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
:root {
|
|
11
|
+
--ck-content-list-marker-line-height: var(--ck-content-line-height);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ck-content .todo-list {
|
|
15
|
+
& li.ck-list-marker-line-height {
|
|
16
|
+
/*
|
|
17
|
+
* Workaround for misplacement of checkbox when change to-do list item
|
|
18
|
+
* type from item with description to item without description. Without this
|
|
19
|
+
* checkbox will be vertically shifted.
|
|
20
|
+
*/
|
|
21
|
+
&::before {
|
|
22
|
+
line-height: var(--ck-content-list-marker-line-height);
|
|
23
|
+
content: '';
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
& > .todo-list__label.todo-list__label_without-description {
|
|
27
|
+
position: absolute;
|
|
28
|
+
width: 0;
|
|
29
|
+
line-height: var(--ck-content-list-marker-line-height);
|
|
30
|
+
|
|
31
|
+
& input[type=checkbox] {
|
|
32
|
+
position: relative;
|
|
33
|
+
margin: 0;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.ck-editor__editable.ck-content .todo-list {
|
|
40
|
+
& li.ck-list-marker-line-height > .todo-list__label.todo-list__label_without-description {
|
|
41
|
+
& > span[contenteditable="false"] {
|
|
42
|
+
display: inline-block;
|
|
43
|
+
width: 0;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|