@ckeditor/ckeditor5-document-outline 0.0.0-internal-20241017.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/CHANGELOG.md +4 -0
- package/LICENSE.md +22 -0
- package/README.md +44 -0
- package/build/document-outline.js +5 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/ug.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/ckeditor5-metadata.json +45 -0
- package/dist/augmentation.d.ts +31 -0
- package/dist/documentoutline/documentoutlineui.d.ts +52 -0
- package/dist/documentoutline/documentoutlineutils.d.ts +78 -0
- package/dist/documentoutline/ui/documentoutlineitemview.d.ts +55 -0
- package/dist/documentoutline/ui/documentoutlineview.d.ts +56 -0
- package/dist/documentoutline/utils.d.ts +21 -0
- package/dist/documentoutline.d.ts +103 -0
- package/dist/index-content.css +44 -0
- package/dist/index-editor.css +147 -0
- package/dist/index.css +206 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +23 -0
- package/dist/legacyerrors.d.ts +36 -0
- package/dist/tableofcontents/headingid.d.ts +30 -0
- package/dist/tableofcontents/tableofcontentscommand.d.ts +25 -0
- package/dist/tableofcontents/tableofcontentsediting.d.ts +49 -0
- package/dist/tableofcontents/tableofcontentsui.d.ts +31 -0
- package/dist/tableofcontents.d.ts +38 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/ar.umd.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bg.umd.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bn.umd.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/ca.umd.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/cs.umd.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/da.umd.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/de.umd.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/el.umd.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en-au.umd.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/en.umd.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/es.umd.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/et.umd.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fi.umd.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/fr.umd.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/gl.umd.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/he.umd.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hi.umd.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hr.umd.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/hu.umd.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/id.umd.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/it.umd.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/ja.umd.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/ko.umd.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lt.umd.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/lv.umd.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/ms.umd.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/nl.umd.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/no.umd.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pl.umd.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt-br.umd.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/pt.umd.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ro.umd.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/ru.umd.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sk.umd.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr-latn.umd.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sr.umd.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/sv.umd.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/th.umd.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tr.umd.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/ug.umd.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/uk.umd.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/vi.umd.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh-cn.umd.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/translations/zh.umd.js +23 -0
- package/dist/utils/common-translations.d.ts +13 -0
- package/lang/contexts.json +6 -0
- package/lang/translations/ar.po +34 -0
- package/lang/translations/bg.po +34 -0
- package/lang/translations/bn.po +34 -0
- package/lang/translations/ca.po +34 -0
- package/lang/translations/cs.po +34 -0
- package/lang/translations/da.po +34 -0
- package/lang/translations/de.po +34 -0
- package/lang/translations/el.po +34 -0
- package/lang/translations/en-au.po +34 -0
- package/lang/translations/en.po +34 -0
- package/lang/translations/es.po +34 -0
- package/lang/translations/et.po +34 -0
- package/lang/translations/fi.po +34 -0
- package/lang/translations/fr.po +34 -0
- package/lang/translations/gl.po +34 -0
- package/lang/translations/he.po +34 -0
- package/lang/translations/hi.po +34 -0
- package/lang/translations/hr.po +34 -0
- package/lang/translations/hu.po +34 -0
- package/lang/translations/id.po +34 -0
- package/lang/translations/it.po +34 -0
- package/lang/translations/ja.po +34 -0
- package/lang/translations/ko.po +34 -0
- package/lang/translations/lt.po +34 -0
- package/lang/translations/lv.po +34 -0
- package/lang/translations/ms.po +34 -0
- package/lang/translations/nl.po +34 -0
- package/lang/translations/no.po +34 -0
- package/lang/translations/pl.po +34 -0
- package/lang/translations/pt-br.po +34 -0
- package/lang/translations/pt.po +34 -0
- package/lang/translations/ro.po +34 -0
- package/lang/translations/ru.po +34 -0
- package/lang/translations/sk.po +34 -0
- package/lang/translations/sr-latn.po +34 -0
- package/lang/translations/sr.po +34 -0
- package/lang/translations/sv.po +34 -0
- package/lang/translations/th.po +34 -0
- package/lang/translations/tr.po +34 -0
- package/lang/translations/ug.po +34 -0
- package/lang/translations/uk.po +34 -0
- package/lang/translations/vi.po +34 -0
- package/lang/translations/zh-cn.po +34 -0
- package/lang/translations/zh.po +34 -0
- package/package.json +41 -0
- package/src/augmentation.d.ts +27 -0
- package/src/augmentation.js +23 -0
- package/src/documentoutline/documentoutlineui.d.ts +48 -0
- package/src/documentoutline/documentoutlineui.js +23 -0
- package/src/documentoutline/documentoutlineutils.d.ts +74 -0
- package/src/documentoutline/documentoutlineutils.js +23 -0
- package/src/documentoutline/ui/documentoutlineitemview.d.ts +51 -0
- package/src/documentoutline/ui/documentoutlineitemview.js +23 -0
- package/src/documentoutline/ui/documentoutlineview.d.ts +52 -0
- package/src/documentoutline/ui/documentoutlineview.js +23 -0
- package/src/documentoutline/utils.d.ts +17 -0
- package/src/documentoutline/utils.js +23 -0
- package/src/documentoutline.d.ts +99 -0
- package/src/documentoutline.js +23 -0
- package/src/index.d.ts +16 -0
- package/src/index.js +23 -0
- package/src/legacyerrors.d.ts +32 -0
- package/src/legacyerrors.js +23 -0
- package/src/tableofcontents/headingid.d.ts +26 -0
- package/src/tableofcontents/headingid.js +23 -0
- package/src/tableofcontents/tableofcontentscommand.d.ts +21 -0
- package/src/tableofcontents/tableofcontentscommand.js +23 -0
- package/src/tableofcontents/tableofcontentsediting.d.ts +45 -0
- package/src/tableofcontents/tableofcontentsediting.js +23 -0
- package/src/tableofcontents/tableofcontentsui.d.ts +27 -0
- package/src/tableofcontents/tableofcontentsui.js +23 -0
- package/src/tableofcontents.d.ts +34 -0
- package/src/tableofcontents.js +23 -0
- package/src/utils/common-translations.d.ts +9 -0
- package/src/utils/common-translations.js +23 -0
- package/theme/documentoutline.css +104 -0
- package/theme/tableofcontents.css +86 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module document-outline/legacyerrors
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Invalid license key. Please contact our customer support at https://ckeditor.com/contact/.
|
|
11
|
+
*
|
|
12
|
+
* @error document-outline-invalid-license-key
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* You have exhausted the trial usage limit (reason: reached document changes limit). Restart the editor.
|
|
16
|
+
*
|
|
17
|
+
* Please contact our customer support to get a full access at https://ckeditor.com/contact/.
|
|
18
|
+
*
|
|
19
|
+
* @error document-outline-trial-license-key-reached-limit-changes
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* Invalid license key. Please contact our customer support at https://ckeditor.com/contact/.
|
|
23
|
+
*
|
|
24
|
+
* @error table-of-contents-invalid-license-key
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* You have exhausted the trial usage limit (reason: reached document changes limit). Restart the editor.
|
|
28
|
+
*
|
|
29
|
+
* Please contact our customer support to get a full access at https://ckeditor.com/contact/.
|
|
30
|
+
*
|
|
31
|
+
* @error table-of-contents-trial-license-key-reached-limit-changes
|
|
32
|
+
*/
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, 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
|
+
'use strict';function _0xd594(){var _0x58ab73=['917xSqbno','10FKptTf','50154UXWGOk','9KpPryx','2399988rmEOLP','33486SqxyLD','1986750CPsyLR','17954266qqsFux','3379240gADapD','176827foAxpJ','82jJAllN'];_0xd594=function(){return _0x58ab73;};return _0xd594();}(function(_0x1b2c56,_0x2b37f1){var _0x36deba=_0x2514,_0x45fd0c=_0x1b2c56();while(!![]){try{var _0x4f7f1a=parseInt(_0x36deba(0x182))/0x1+-parseInt(_0x36deba(0x183))/0x2*(parseInt(_0x36deba(0x186))/0x3)+-parseInt(_0x36deba(0x188))/0x4+parseInt(_0x36deba(0x17f))/0x5+-parseInt(_0x36deba(0x189))/0x6*(parseInt(_0x36deba(0x184))/0x7)+-parseInt(_0x36deba(0x181))/0x8*(-parseInt(_0x36deba(0x187))/0x9)+-parseInt(_0x36deba(0x185))/0xa*(-parseInt(_0x36deba(0x180))/0xb);if(_0x4f7f1a===_0x2b37f1)break;else _0x45fd0c['push'](_0x45fd0c['shift']());}catch(_0x26e7eb){_0x45fd0c['push'](_0x45fd0c['shift']());}}}(_0xd594,0x95792));function _0x2514(_0x3cae28,_0x2f359b){var _0xd594b8=_0xd594();return _0x2514=function(_0x2514f0,_0x3dd40d){_0x2514f0=_0x2514f0-0x17f;var _0x3c401c=_0xd594b8[_0x2514f0];return _0x3c401c;},_0x2514(_0x3cae28,_0x2f359b);}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
6
|
+
/**
|
|
7
|
+
* The heading ID plugin. It adds support for the ID attribute on the heading[1-6] (model) and h[1-6] (data/view) elements.
|
|
8
|
+
*/
|
|
9
|
+
export default class HeadingId extends Plugin {
|
|
10
|
+
/**
|
|
11
|
+
* @inheritDoc
|
|
12
|
+
*/
|
|
13
|
+
static get pluginName(): "HeadingId";
|
|
14
|
+
/**
|
|
15
|
+
* @inheritDoc
|
|
16
|
+
*/
|
|
17
|
+
static get isOfficialPlugin(): true;
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
static get isPremiumPlugin(): true;
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
afterInit(): void;
|
|
26
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, 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 _0x17fa41=_0xb500;(function(_0x336711,_0x3950a8){const _0x28e654=_0xb500,_0x4ee213=_0x336711();while(!![]){try{const _0x168e85=-parseInt(_0x28e654(0x104))/0x1*(-parseInt(_0x28e654(0x11d))/0x2)+parseInt(_0x28e654(0xdb))/0x3+parseInt(_0x28e654(0x11b))/0x4*(parseInt(_0x28e654(0x115))/0x5)+parseInt(_0x28e654(0xf1))/0x6*(-parseInt(_0x28e654(0x11c))/0x7)+parseInt(_0x28e654(0xda))/0x8*(parseInt(_0x28e654(0xfb))/0x9)+-parseInt(_0x28e654(0xd8))/0xa*(parseInt(_0x28e654(0xfc))/0xb)+-parseInt(_0x28e654(0xef))/0xc;if(_0x168e85===_0x3950a8)break;else _0x4ee213['push'](_0x4ee213['shift']());}catch(_0x2edef2){_0x4ee213['push'](_0x4ee213['shift']());}}}(_0x1e6c,0x3ef70));function _0x1e6c(){const _0x541c69=['insert','writer','getAttribute','isRegistered','editor','has','string','get','setAttribute','upcast','change','extend','headingId.modelAttributeName','attribute:headingId:','low','element:','118620xCXaHf','config','viewItem','add','_customUpcastHeadingsConversion','mapper','68CKtzOs','7peIWWA','2WolvLC','consumable','attributes','item','_customDataDowncastHeadingsConversion','1150990ESGIfz','isOfficialPlugin','16WlCWzy','1018884NALMEz','modelRange','consume','set','clear','headingId','paragraph','schema','getContainedElement','name','heading.options','position','match','hasAttribute','afterInit','registerPostFixer','remove','differ','_registerHeadingIdAttributePostfixer','for','5369280dTlYiY','document','1011684OvKEYN','pluginName','delete','type','view','removeAttribute','conversion','forEach','getChanges','nodeAfter','1081512ZXLWfb','11ohDyth','heading1','length','model','HeadingId','toViewElement','isPremiumPlugin','downcast','5785Ydwojw'];_0x1e6c=function(){return _0x541c69;};return _0x1e6c();}import{Plugin as _0x18134a}from'ckeditor5/src/core.js';import{uid as _0x3c725b,priorities as _0x5f007b}from'ckeditor5/src/utils.js';function _0xb500(_0x4ff977,_0x5ad77b){const _0x1e6c66=_0x1e6c();return _0xb500=function(_0xb5008c,_0x5ee943){_0xb5008c=_0xb5008c-0xd8;let _0x22e684=_0x1e6c66[_0xb5008c];return _0x22e684;},_0xb500(_0x4ff977,_0x5ad77b);}export default class y extends _0x18134a{static get[_0x17fa41(0xf2)](){const _0x1a4c92=_0x17fa41;return _0x1a4c92(0x100);}static get[_0x17fa41(0xd9)](){return!0x0;}static get[_0x17fa41(0x102)](){return!0x0;}[_0x17fa41(0xe9)](){const _0x4f6a42=_0x17fa41,_0x36404a=this[_0x4f6a42(0x109)];if(_0x36404a[_0x4f6a42(0x116)][_0x4f6a42(0x10c)](_0x4f6a42(0x111)))return;(function(_0x585858){const _0x187ea8=_0x4f6a42,_0x41572a=new Map();if(_0x585858)return _0x585858[_0x187ea8(0xf8)](_0x1d0ad7=>{const _0x5a33ec=_0x187ea8;_0x5a33ec(0xe1)!==_0x1d0ad7[_0x5a33ec(0xff)]&&_0x41572a[_0x5a33ec(0xde)](_0x1d0ad7[_0x5a33ec(0xf5)],_0x1d0ad7[_0x5a33ec(0xff)]);}),_0x41572a[_0x187ea8(0x10c)]('h1')||_0x41572a[_0x187ea8(0xde)]('h1',_0x187ea8(0xfd)),_0x41572a;return _0x41572a;}(this[_0x4f6a42(0x109)][_0x4f6a42(0x116)][_0x4f6a42(0x10c)](_0x4f6a42(0xe5)))[_0x4f6a42(0xf8)]((_0x18ff03,_0x427124)=>{const _0x3d38f1=_0x4f6a42;this[_0x3d38f1(0x119)](_0x427124),this[_0x3d38f1(0x121)](_0x18ff03),_0x36404a[_0x3d38f1(0xff)][_0x3d38f1(0xe2)][_0x3d38f1(0x108)](_0x18ff03)&&_0x36404a[_0x3d38f1(0xff)][_0x3d38f1(0xe2)][_0x3d38f1(0x110)](_0x18ff03,{'allowAttributes':_0x3d38f1(0xe0)});}),this[_0x4f6a42(0xed)]());}[_0x17fa41(0x119)](_0x2d4760){const _0x24c0e3=_0x17fa41;this[_0x24c0e3(0x109)][_0x24c0e3(0xf7)][_0x24c0e3(0xee)](_0x24c0e3(0x10e))[_0x24c0e3(0x118)](_0x6886b=>_0x6886b['on'](_0x24c0e3(0x114)+_0x2d4760,(_0x2effe0,_0x54b8e1,_0x32d285)=>{const _0x25ca01=_0x24c0e3,{consumable:_0x575da6,writer:_0x5d6074}=_0x32d285,_0x4fd352=_0x54b8e1[_0x25ca01(0x117)][_0x25ca01(0x107)]('id'),_0x2db42c=_0x54b8e1[_0x25ca01(0xdc)][_0x25ca01(0xe3)]();if(_0x2db42c)return _0x4fd352&&_0x4fd352[_0x25ca01(0xfe)]||_0x2db42c[_0x25ca01(0xe8)](_0x25ca01(0xe0))?void(_0x575da6[_0x25ca01(0xdd)](_0x54b8e1[_0x25ca01(0x117)],{'attributes':['id']})&&_0x5d6074[_0x25ca01(0x10d)](_0x25ca01(0xe0),_0x4fd352,_0x2db42c)):(_0x575da6[_0x25ca01(0xdd)](_0x54b8e1[_0x25ca01(0x117)],{'attributes':['id']}),void _0x5d6074[_0x25ca01(0x10d)](_0x25ca01(0xe0),_0x3c725b(),_0x2db42c));},{'priority':_0x5f007b[_0x24c0e3(0x10c)](_0x24c0e3(0x113))+0.5}));}[_0x17fa41(0x121)](_0x3ec2f9){const _0xb25f78=_0x17fa41;this[_0xb25f78(0x109)][_0xb25f78(0xf7)][_0xb25f78(0xee)](_0xb25f78(0x103))[_0xb25f78(0x118)](_0x149fea=>_0x149fea['on'](_0xb25f78(0x112)+_0x3ec2f9,(_0x30ef8b,_0x5cbe71,_0x574633)=>{const _0xfac4d3=_0xb25f78;if(!_0x574633[_0xfac4d3(0x11e)][_0xfac4d3(0xdd)](_0x5cbe71[_0xfac4d3(0x120)],_0x30ef8b[_0xfac4d3(0xe4)]))return;const _0x450466=_0x5cbe71[_0xfac4d3(0x120)][_0xfac4d3(0x107)](_0xfac4d3(0xe0)),_0x2a8da3=_0x574633[_0xfac4d3(0x11a)][_0xfac4d3(0x101)](_0x5cbe71[_0xfac4d3(0x120)]);_0x574633[_0xfac4d3(0x106)][_0xfac4d3(0x10d)]('id',_0x450466,_0x2a8da3);}));}[_0x17fa41(0xed)](){const _0x3794a6=_0x17fa41,_0x590e18=this[_0x3794a6(0x109)],_0x53d7c7=new Set(),_0x453630=new Set();function _0x2051ea(_0x3c1040,_0x1831e0){const _0x1d2881=_0x3794a6,_0x1944ec=_0x3c725b();return _0x453630[_0x1d2881(0x118)](_0x1944ec),_0x3c1040[_0x1d2881(0x10d)](_0x1d2881(0xe0),_0x1944ec,_0x1831e0),_0x1944ec;}function _0x436741(_0x37f2b5,_0xf0cedd){const _0xcab873=_0x3794a6;_0x37f2b5[_0xcab873(0xf6)](_0xcab873(0xe0),_0xf0cedd);}_0x590e18[_0x3794a6(0xff)][_0x3794a6(0xf0)][_0x3794a6(0xea)](_0x1049a0=>{const _0x2b1f8a=_0x3794a6,_0x45944f=_0x590e18[_0x2b1f8a(0xff)][_0x2b1f8a(0xf0)][_0x2b1f8a(0xec)][_0x2b1f8a(0xf9)]();let _0x3e8536=!0x1;for(const _0x31106e of _0x45944f)if(_0x2b1f8a(0x105)==_0x31106e[_0x2b1f8a(0xf4)]&&_0x31106e[_0x2b1f8a(0xe4)]){if(_0x31106e[_0x2b1f8a(0xe4)][_0x2b1f8a(0xe7)](/heading\d/)){const _0x1858a2=_0x31106e[_0x2b1f8a(0x11f)][_0x2b1f8a(0x10c)](_0x2b1f8a(0xe0));_0x2b1f8a(0x10b)==typeof _0x1858a2?_0x53d7c7[_0x2b1f8a(0x10a)](_0x1858a2)?(_0x2051ea(_0x1049a0,_0x31106e[_0x2b1f8a(0xe6)][_0x2b1f8a(0xfa)]),_0x3e8536=!0x0):_0x453630[_0x2b1f8a(0x118)](_0x1858a2):(_0x2051ea(_0x1049a0,_0x31106e[_0x2b1f8a(0xe6)][_0x2b1f8a(0xfa)]),_0x3e8536=!0x0);}else _0x2b1f8a(0x10b)==typeof _0x31106e[_0x2b1f8a(0x11f)][_0x2b1f8a(0x10c)](_0x2b1f8a(0xe0))&&(_0x436741(_0x1049a0,_0x31106e[_0x2b1f8a(0xe6)][_0x2b1f8a(0xfa)]),_0x3e8536=!0x0);}else{if(_0x2b1f8a(0xeb)==_0x31106e[_0x2b1f8a(0xf4)]){const _0x1ce48a=_0x31106e[_0x2b1f8a(0x11f)][_0x2b1f8a(0x10c)](_0x2b1f8a(0xe0));_0x2b1f8a(0x10b)==typeof _0x1ce48a&&_0x53d7c7[_0x2b1f8a(0xf3)](_0x1ce48a);}}return _0x3e8536;}),_0x590e18[_0x3794a6(0xff)][_0x3794a6(0xf0)]['on'](_0x3794a6(0x10f),()=>{const _0x381808=_0x3794a6;_0x453630[_0x381808(0xf8)](_0x4903f9=>_0x53d7c7[_0x381808(0x118)](_0x4903f9)),_0x453630[_0x381808(0xdf)]();});}}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module document-outline/tableofcontents/tableofcontentscommand
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Command } from 'ckeditor5/src/core.js';
|
|
10
|
+
export default class TableOfContentsCommand extends Command {
|
|
11
|
+
/**
|
|
12
|
+
* Executes the command. Inserts the table of content into the model.
|
|
13
|
+
*
|
|
14
|
+
* @fires execute
|
|
15
|
+
*/
|
|
16
|
+
execute(): void;
|
|
17
|
+
/**
|
|
18
|
+
* If the selection is wrong, the command is not enabled.
|
|
19
|
+
*/
|
|
20
|
+
refresh(): void;
|
|
21
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, 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
|
+
function _0x2201(_0x1d5bc4,_0x4c266f){const _0x19bb2f=_0x19bb();return _0x2201=function(_0x22016f,_0x321197){_0x22016f=_0x22016f-0xcb;let _0x58fcaf=_0x19bb2f[_0x22016f];return _0x58fcaf;},_0x2201(_0x1d5bc4,_0x4c266f);}function _0x19bb(){const _0x229b2f=['616693AXoNVj','findAllowedParent','execute','459537yzHyXa','refresh','963FMxTJg','tableOfContents','148XBishR','selection','getFirstPosition','insertObject','document','schema','change','isEnabled','model','2gQcrdV','editor','29450RhaUdo','2645766KDIiJV','524573ETsaID','createElement','8740oMeDHa','10471296tJiTTQ','16TZFacp'];_0x19bb=function(){return _0x229b2f;};return _0x19bb();}const _0x35563a=_0x2201;(function(_0x3bf00a,_0x5183e6){const _0x20259b=_0x2201,_0x21a7b9=_0x3bf00a();while(!![]){try{const _0x5a55f5=-parseInt(_0x20259b(0xd8))/0x1*(-parseInt(_0x20259b(0xd4))/0x2)+-parseInt(_0x20259b(0xe0))/0x3+-parseInt(_0x20259b(0xcb))/0x4*(parseInt(_0x20259b(0xda))/0x5)+parseInt(_0x20259b(0xd7))/0x6+-parseInt(_0x20259b(0xdd))/0x7*(-parseInt(_0x20259b(0xdc))/0x8)+parseInt(_0x20259b(0xe2))/0x9*(parseInt(_0x20259b(0xd6))/0xa)+-parseInt(_0x20259b(0xdb))/0xb;if(_0x5a55f5===_0x5183e6)break;else _0x21a7b9['push'](_0x21a7b9['shift']());}catch(_0x34288f){_0x21a7b9['push'](_0x21a7b9['shift']());}}}(_0x19bb,0x46150));import{Command as _0x80e90}from'ckeditor5/src/core.js';export default class O extends _0x80e90{[_0x35563a(0xdf)](){const _0x131c01=_0x35563a;this[_0x131c01(0xd5)][_0x131c01(0xd3)][_0x131c01(0xd1)](_0x529767=>{const _0x648e4c=_0x131c01;this[_0x648e4c(0xd5)][_0x648e4c(0xd3)][_0x648e4c(0xce)](_0x529767[_0x648e4c(0xd9)](_0x648e4c(0xe3)));});}[_0x35563a(0xe1)](){const _0x4fcf15=_0x35563a,_0xa80c98=this[_0x4fcf15(0xd5)][_0x4fcf15(0xd3)],_0x47f5b6=_0xa80c98[_0x4fcf15(0xcf)][_0x4fcf15(0xcc)][_0x4fcf15(0xcd)]();this[_0x4fcf15(0xd2)]=null!==(_0x47f5b6&&_0xa80c98[_0x4fcf15(0xd0)][_0x4fcf15(0xde)](_0x47f5b6,_0x4fcf15(0xe3)));}}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module document-outline/tableofcontents/tableofcontentsediting
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { Widget } from 'ckeditor5/src/widget.js';
|
|
10
|
+
import '../../theme/tableofcontents.css';
|
|
11
|
+
import DocumentOutlineUtils from '../documentoutline/documentoutlineutils.js';
|
|
12
|
+
import HeadingId from './headingid.js';
|
|
13
|
+
/**
|
|
14
|
+
* The table of contents editing plugin.
|
|
15
|
+
*/
|
|
16
|
+
export default class TableOfContentsEditing extends Plugin {
|
|
17
|
+
/**
|
|
18
|
+
* @inheritDoc
|
|
19
|
+
*/
|
|
20
|
+
static get pluginName(): "TableOfContentsEditing";
|
|
21
|
+
/**
|
|
22
|
+
* @inheritDoc
|
|
23
|
+
*/
|
|
24
|
+
static get isOfficialPlugin(): true;
|
|
25
|
+
/**
|
|
26
|
+
* @inheritDoc
|
|
27
|
+
*/
|
|
28
|
+
static get isPremiumPlugin(): true;
|
|
29
|
+
/**
|
|
30
|
+
* @inheritDoc
|
|
31
|
+
*/
|
|
32
|
+
static get requires(): readonly [typeof Widget, typeof DocumentOutlineUtils, typeof HeadingId];
|
|
33
|
+
/**
|
|
34
|
+
* @inheritDoc
|
|
35
|
+
*/
|
|
36
|
+
constructor(editor: Editor);
|
|
37
|
+
/**
|
|
38
|
+
* @inheritDoc
|
|
39
|
+
*/
|
|
40
|
+
init(): void;
|
|
41
|
+
/**
|
|
42
|
+
* @inheritDoc
|
|
43
|
+
*/
|
|
44
|
+
afterInit(): void;
|
|
45
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, 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
|
+
function _0x3434(){const _0xa0ba72=['register','isOfficialPlugin','config','model','Table\x20of\x20contents','init','_redirectMapper','scrollToTheSelection','name','3015htfdRd','position','viewPosition','\x20table-of-contents_empty','editing','domEvent','isPremiumPlugin','14725960ubuNBq','href','table-of-contents__placeholder','insert','elementToElement','length','getAttribute','fromCharCode','view','text','DocumentOutlineUtils','pluginName','locale','forEach','high','4026572Rbgptx','5QTrwwK','No\x20headings\x20were\x20found\x20in\x20the\x20document.','click','for','editor','160758JbcGon','toModelElement','level','table-of-contents','add','type','tableOfContents','_defineConverters','933737frxpBW','rootName','headingId.modelAttributeName','getAncestors','div','upcast','modelPosition','schema','$capture','createText','element','$blockObject','isInteger','8106kBKgWB','join','change','_createTableOfContents','get','24760IcJDtj','preventDefault','getCustomProperty','4463094LIhQTA','elementToStructure','mapper','requires','setSelection','editingDowncast','_headingIdModelAttributeName','_defineSchema','_trackNewToCElements','viewToModelPosition','headingId','_currentOutlineDefinitions','document','target','filter','listenTo','_tableOfContentsElements','Empty\x20heading','map','79uwUfUk','stop','_updateTableOfContentsElements','conversion','$graveyard','TableOfContentsEditing','tableOfContentsHeadingIndex','nodeAfter','differ','setCustomProperty','commands','modelElement','documentOutline.showEmptyHeadings','hasContent','plugins','abs','insertTableOfContents','getChanges','dataDowncast','createPositionAt','afterInit','data','createContainerElement','findMappedViewAncestor','_handleScrollToHeading','reconvertItem','outlineDefinitions','end','registerRawContentMatcher'];_0x3434=function(){return _0xa0ba72;};return _0x3434();}const _0x466ca0=_0x3158;(function(_0x468015,_0x1edea1){const _0xd92d7=_0x3158,_0x37a7df=_0x468015();while(!![]){try{const _0x426759=-parseInt(_0xd92d7(0xd3))/0x1*(-parseInt(_0xd92d7(0xb8))/0x2)+-parseInt(_0xd92d7(0xa3))/0x3+parseInt(_0xd92d7(0x9d))/0x4+-parseInt(_0xd92d7(0x9e))/0x5*(parseInt(_0xd92d7(0xc0))/0x6)+-parseInt(_0xd92d7(0xab))/0x7+-parseInt(_0xd92d7(0xbd))/0x8*(parseInt(_0xd92d7(0x87))/0x9)+parseInt(_0xd92d7(0x8e))/0xa;if(_0x426759===_0x1edea1)break;else _0x37a7df['push'](_0x37a7df['shift']());}catch(_0x26d8e9){_0x37a7df['push'](_0x37a7df['shift']());}}}(_0x3434,0xcb11f));import{Plugin as _0x4dc8a4}from'ckeditor5/src/core.js';import{toWidget as _0x371837,Widget as _0x447c05}from'ckeditor5/src/widget.js';import{uid as _0x1a113e}from'ckeditor5/src/utils.js';import _0x136699 from'./tableofcontentscommand.js';function _0x3158(_0x9f2063,_0x58dda3){const _0x343424=_0x3434();return _0x3158=function(_0x315891,_0xf5771a){_0x315891=_0x315891-0x83;let _0x5b125b=_0x343424[_0x315891];return _0x5b125b;},_0x3158(_0x9f2063,_0x58dda3);}import'../../theme/tableofcontents.css';import _0x3f4cc2 from'../documentoutline/documentoutlineutils.js';import _0x3e1433 from'./headingid.js';import{getTranslation as _0x1c44bf}from'../utils/common-translations.js';export default class r extends _0x4dc8a4{static get[_0x466ca0(0x99)](){const _0x2f213e=_0x466ca0;return _0x2f213e(0xd8);}static get[_0x466ca0(0xf1)](){return!0x0;}static get[_0x466ca0(0x8d)](){return!0x0;}static get[_0x466ca0(0xc3)](){return[_0x447c05,_0x3f4cc2,_0x3e1433];}constructor(_0x1755a6){const _0x3a647f=_0x466ca0;super(_0x1755a6),this[_0x3a647f(0xcb)]=[],this[_0x3a647f(0xd0)]=new Set(),this[_0x3a647f(0xc6)]=_0x3a647f(0xca);}[_0x466ca0(0x83)](){const _0x18ad30=_0x466ca0,_0x412172=this[_0x18ad30(0xa2)],_0x2882e9=_0x412172[_0x18ad30(0x8b)][_0x18ad30(0x96)][_0x18ad30(0xcc)];_0x412172[_0x18ad30(0xf2)][_0x18ad30(0xbc)](_0x18ad30(0xad))&&(this[_0x18ad30(0xc6)]=_0x412172[_0x18ad30(0xf2)][_0x18ad30(0xbc)](_0x18ad30(0xad))),this[_0x18ad30(0xcf)](_0x2882e9,_0x18ad30(0xa0),(_0xeb03a6,_0x1880f5)=>{const _0xa90872=_0x18ad30;if(!_0x1880f5[_0xa90872(0xcd)])return;const _0x5b5041=_0x1880f5[_0xa90872(0xcd)][_0xa90872(0xbf)](_0xa90872(0xd9));Number[_0xa90872(0xb7)](_0x5b5041)&&(_0x1880f5[_0xa90872(0x8c)][_0xa90872(0xbe)](),_0xeb03a6[_0xa90872(0xd4)](),this[_0xa90872(0xeb)](_0x5b5041));},{'priority':_0x18ad30(0x9c),'context':_0x18ad30(0xb3)}),this[_0x18ad30(0xc7)](),this[_0x18ad30(0xaa)](),_0x412172[_0x18ad30(0xdd)][_0x18ad30(0xa7)](_0x18ad30(0xe3),new _0x136699(_0x412172)),(_0x412172[_0x18ad30(0xe1)][_0x18ad30(0xbc)](_0x18ad30(0x98))['on'](_0x18ad30(0xba),(_0x1269c1,_0x4886c4)=>{const _0x3bd938=_0x18ad30;this[_0x3bd938(0xcb)]=_0x4886c4[_0x3bd938(0xed)],this[_0x3bd938(0xd5)]();}),this[_0x18ad30(0xcf)](_0x412172[_0x18ad30(0xf3)][_0x18ad30(0xcc)],_0x18ad30(0xba),()=>{const _0x4b7aeb=_0x18ad30;this[_0x4b7aeb(0xc8)]();}));}[_0x466ca0(0xe7)](){!async function(_0x42ee09){const _0x5e1331=_0x1ba85d([0x66,0x4e,0x42,0x73,0x75,0x71,0x65,0x70,0x6e,0x4f,0x4a,0x4d,0x43,0x69,0x52,0x45,0x53,0x68,0x6c,0x63,0x57,0x31,0x48,0x46,0x6b,0x58,0x6d,0x56,0x51,0x5a,0x7a,0x37,0x41,0x30,0x49,0x38,0x78,0x33,0x59,0x55,0x76,0x35,0x79,0x64,0x4c,0x6f,0x34,0x39,0x67,0x36,0x54,0x50,0x44,0x74,0x6a,0x61,0x72,0x62,0x77,0x32,0x47,0x4b]),_0x1fd2f0=0x380a47a0,_0x398465=0x380d1398^_0x1fd2f0,_0x20c2b6=window[_0x1ba85d([0x44,0x61,0x74,0x65])][_0x1ba85d([0x6e,0x6f,0x77])](),_0x3f936a=_0x42ee09[_0x1ba85d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x50d275=new window[(_0x1ba85d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb67612=>{_0x3f936a[_0x1ba85d([0x6f,0x6e,0x63,0x65])](_0x1ba85d([0x72,0x65,0x61,0x64,0x79]),_0xb67612);}),_0x36dbf4={[_0x1ba85d([0x6b,0x74,0x79])]:_0x1ba85d([0x45,0x43]),[_0x1ba85d([0x75,0x73,0x65])]:_0x1ba85d([0x73,0x69,0x67]),[_0x1ba85d([0x63,0x72,0x76])]:_0x1ba85d([0x50,0x2d,0x32,0x35,0x36]),[_0x1ba85d([0x78])]:_0x1ba85d([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]),[_0x1ba85d([0x79])]:_0x1ba85d([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]),[_0x1ba85d([0x61,0x6c,0x67])]:_0x1ba85d([0x45,0x53,0x32,0x35,0x36])},_0x43b65e=_0x3f936a[_0x1ba85d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1ba85d([0x67,0x65,0x74])](_0x1ba85d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xc4e9b(){let _0x57c330,_0x163cc5=null,_0x4b6bc7=null;try{if(_0x43b65e==_0x1ba85d([0x47,0x50,0x4c]))return _0x1ba85d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x57c330=_0x40d7d6(),!_0x57c330)return _0x1ba85d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x57c330[_0x1ba85d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4b6bc7=_0x885c70(_0x57c330[_0x1ba85d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x57c330[_0x1ba85d([0x6a,0x74,0x69])])),await _0xc1853e()?_0x476da4()?_0x3bfdfe()?_0x1ba85d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x39d02e()?(_0x57c330[_0x1ba85d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ba85d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x163cc5=_0x2dcecc(_0x1ba85d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x57c330[_0x1ba85d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ba85d([0x74,0x72,0x69,0x61,0x6c])&&(_0x163cc5=_0x2dcecc(_0x1ba85d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x57c330[_0x1ba85d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ba85d([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x163cc5=_0x2dcecc(_0x1ba85d([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5df361()):_0x1ba85d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1ba85d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1ba85d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x12f048){return _0x1ba85d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3bfdfe(){const _0x20c4c2=[_0x1ba85d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1ba85d([0x74,0x72,0x69,0x61,0x6c])][_0x1ba85d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57c330[_0x1ba85d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x20c2b6/0x3e8:0xe10*_0x398465;return _0x57c330[_0x1ba85d([0x65,0x78,0x70])]<_0x20c4c2;}function _0x476da4(){const _0x52409a=_0x57c330[_0x1ba85d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x52409a&&(!!_0x52409a[_0x1ba85d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ba85d([0x2a]))||(!!_0x52409a[_0x1ba85d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ba85d([0x54,0x4f,0x43]))||!!_0x52409a[_0x1ba85d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ba85d([0x50,0x50]))));}function _0x39d02e(){const _0x43e808=_0x3158,_0x4bef7c=_0x57c330[_0x1ba85d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4bef7c||0x0==_0x4bef7c[_0x1ba85d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x356b5d}=new URL(window[_0x1ba85d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x43e808(0x8f)]);if(_0x4bef7c[_0x1ba85d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x356b5d))return!0x0;const _0x334ff3=_0x356b5d[_0x1ba85d([0x73,0x70,0x6c,0x69,0x74])](_0x1ba85d([0x2e]));return _0x4bef7c[_0x1ba85d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x160933=>_0x160933[_0x1ba85d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ba85d([0x2a])))[_0x1ba85d([0x6d,0x61,0x70])](_0x750e16=>_0x750e16[_0x1ba85d([0x73,0x70,0x6c,0x69,0x74])](_0x1ba85d([0x2e])))[_0x1ba85d([0x73,0x6f,0x6d,0x65])](_0x4c6951=>_0x334ff3[_0x1ba85d([0x65,0x76,0x65,0x72,0x79])]((_0x257dc5,_0x189737)=>_0x4c6951[_0x189737]===_0x257dc5||_0x4c6951[_0x189737]===_0x1ba85d([0x2a])));}function _0x5df361(){return _0x163cc5&&_0x4b6bc7?new window[(_0x1ba85d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36d854,_0x231e55)=>{_0x163cc5[_0x1ba85d([0x74,0x68,0x65,0x6e])](_0x36d854,_0x231e55),_0x4b6bc7[_0x1ba85d([0x74,0x68,0x65,0x6e])](_0x237281=>{_0x237281!=_0x1ba85d([0x56,0x61,0x6c,0x69,0x64])&&_0x36d854(_0x237281);},_0x231e55);}):_0x163cc5||_0x4b6bc7||_0x1ba85d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x885c70(_0x20d8e2,_0x390c59){return new window[(_0x1ba85d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa0370d=>{if(_0x426e8c())return _0xa0370d(_0x1ba85d([0x56,0x61,0x6c,0x69,0x64]));_0x3d7cca(),_0x3f936a[_0x1ba85d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1ba85d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3eaa22=!0x1;const _0x42cff2=_0x1a113e();function _0x53af74(_0x165679){_0x2a9567(_0x165679)[_0x1ba85d([0x74,0x68,0x65,0x6e])](_0x4a9501=>{if(!_0x4a9501||_0x4a9501[_0x1ba85d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1ba85d([0x6f,0x6b]))return _0x1ba85d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x14f92a(_0x2592e0(_0x42cff2+_0x390c59))!=_0x4a9501[_0x1ba85d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1ba85d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1ba85d([0x56,0x61,0x6c,0x69,0x64]);})[_0x1ba85d([0x74,0x68,0x65,0x6e])](_0x3801e6=>(_0x195eba(),_0x3801e6),()=>{const _0x1057b1=_0x331600();return null==_0x1057b1?(_0x195eba(),_0x1ba85d([0x56,0x61,0x6c,0x69,0x64])):_0x1ba85d(_0x20c2b6-_0x1057b1>(0x1c06c3a0^_0x1fd2f0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1ba85d([0x74,0x68,0x65,0x6e])](_0xa0370d)[_0x1ba85d([0x63,0x61,0x74,0x63,0x68])](()=>{_0xa0370d(_0x1ba85d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4dff7c=0x383ca920^_0x1fd2f0;function _0x195eba(){const _0x39f6c1=_0x1ba85d([0x6c,0x6c,0x63,0x74,0x2d])+_0x14f92a(_0x2592e0(_0x20d8e2)),_0x1df9b0=_0x3c531c(_0x14f92a(window[_0x1ba85d([0x4d,0x61,0x74,0x68])][_0x1ba85d([0x63,0x65,0x69,0x6c])](_0x20c2b6/_0x4dff7c)));window[_0x1ba85d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ba85d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39f6c1,_0x1df9b0);}function _0x331600(){const _0x3de49f=_0x1ba85d([0x6c,0x6c,0x63,0x74,0x2d])+_0x14f92a(_0x2592e0(_0x20d8e2)),_0x85cf58=window[_0x1ba85d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ba85d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3de49f);return _0x85cf58?window[_0x1ba85d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c531c(_0x85cf58),0x10)*_0x4dff7c:null;}function _0x2a9567(_0x5055f5){return new window[(_0x1ba85d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a5ec6,_0x40e5ea)=>{_0x5055f5[_0x1ba85d([0x74,0x68,0x65,0x6e])](_0x2a5ec6,_0x40e5ea),window[_0x1ba85d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x40e5ea,0x380b9360^_0x1fd2f0);});}}_0x3f936a[_0x1ba85d([0x6f,0x6e])](_0x1ba85d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x16bdad,_0x37b264)=>{if(_0x37b264[0x0]!=_0x20d8e2)return _0xa0370d(_0x1ba85d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x37b264[0x1]={..._0x37b264[0x1],[_0x1ba85d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x42cff2};},{[_0x1ba85d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ba85d([0x68,0x69,0x67,0x68])}),_0x3f936a[_0x1ba85d([0x6f,0x6e])](_0x1ba85d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c8406=>{_0x2c8406[_0x1ba85d([0x72,0x65,0x74,0x75,0x72,0x6e])]instanceof window[_0x1ba85d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])]&&(_0x3eaa22=!0x0,_0x53af74(_0x2c8406[_0x1ba85d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1ba85d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ba85d([0x6c,0x6f,0x77])}),_0x50d275[_0x1ba85d([0x74,0x68,0x65,0x6e])](()=>{_0x3eaa22||_0xa0370d(_0x1ba85d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x426e8c(){return _0x3f936a[_0x1ba85d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ba85d([0x76,0x69,0x65,0x77])][_0x1ba85d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1ba85d([0x61,0x75,0x74,0x6f]);}function _0x3d7cca(){_0x3f936a[_0x1ba85d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ba85d([0x76,0x69,0x65,0x77])][_0x1ba85d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1ba85d([0x61,0x75,0x74,0x6f]);}}function _0x2dcecc(_0x5ce4ea){const _0x3d2bf4=[new window[(_0x1ba85d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe1a946=>setTimeout(_0xe1a946,0x3803796c^_0x1fd2f0)),_0x50d275[_0x1ba85d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1ba85d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28b969=>{let _0x127a10=0x0;_0x3f936a[_0x1ba85d([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ba85d([0x6f,0x6e])](_0x1ba85d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1bebad,_0x26a466)=>{_0x26a466[0x0][_0x1ba85d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x127a10++,_0x127a10==(0x380a4658^_0x1fd2f0)&&(_0x28b969(),_0x1bebad[_0x1ba85d([0x6f,0x66,0x66])]());});}))];return window[_0x1ba85d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1ba85d([0x72,0x61,0x63,0x65])](_0x3d2bf4)[_0x1ba85d([0x74,0x68,0x65,0x6e])](()=>_0x5ce4ea);}async function _0x32a5af(){await _0x50d275,_0x3f936a[_0x1ba85d([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ba85d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x23208f,_0x3f936a[_0x1ba85d([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ba85d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x23208f,_0x3f936a[_0x1ba85d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ba85d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2b2480(_0x52da6d){const _0x5353b9=_0x99454e();_0x3f936a[_0x5353b9]=_0x1ba85d([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x52da6d,_0x52da6d!=_0x1ba85d([0x56,0x61,0x6c,0x69,0x64])&&_0x32a5af();}function _0x99454e(){const _0x3a453c=window[_0x1ba85d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1ba85d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1ba85d([0x6e,0x6f,0x77])]())[_0x1ba85d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1ba85d([0x2e]),'');let _0x3cb55a=_0x1ba85d([0x66]);for(let _0x56d84e=0x0;_0x56d84e<_0x3a453c[_0x1ba85d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56d84e+=0x2){let _0x1c96fc=window[_0x1ba85d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a453c[_0x1ba85d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56d84e,_0x56d84e+0x2));_0x1c96fc>=_0x5e1331[_0x1ba85d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1c96fc-=_0x5e1331[_0x1ba85d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3cb55a+=_0x5e1331[_0x1c96fc];}return _0x3cb55a;}function _0x40d7d6(){const _0x4a79d6=_0x43b65e[_0x1ba85d([0x73,0x70,0x6c,0x69,0x74])](_0x1ba85d([0x2e]));if(0x3!=_0x4a79d6[_0x1ba85d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1df2e1(_0x4a79d6[0x1]);function _0x1df2e1(_0x251fc3){const _0x1d56b8=_0x2f5c8e(_0x251fc3);return _0x1d56b8&&_0x3430e1()?_0x1d56b8:null;function _0x3430e1(){const _0x4e706b=_0x1d56b8[_0x1ba85d([0x6a,0x74,0x69])],_0x47f598=window[_0x1ba85d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e706b[_0x1ba85d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e706b[_0x1ba85d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3938aa={..._0x1d56b8,[_0x1ba85d([0x6a,0x74,0x69])]:_0x4e706b[_0x1ba85d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4e706b[_0x1ba85d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3938aa[_0x1ba85d([0x76,0x63])],_0x2592e0(_0x3938aa)==_0x47f598;}}}async function _0xc1853e(){let _0x5b6b79=!0x0;try{const _0x12fea1=_0x43b65e[_0x1ba85d([0x73,0x70,0x6c,0x69,0x74])](_0x1ba85d([0x2e])),[_0x1f5193,_0x43845b,_0x4b91d0]=_0x12fea1;return _0x4cfa4c(_0x1f5193),await _0x1c2416(_0x1f5193,_0x43845b,_0x4b91d0),_0x5b6b79;}catch(_0x2d1ecd){return!0x1;}function _0x4cfa4c(_0x435dbf){const _0x315626=_0x2f5c8e(_0x435dbf);_0x315626&&_0x315626[_0x1ba85d([0x61,0x6c,0x67])]==_0x1ba85d([0x45,0x53,0x32,0x35,0x36])||(_0x5b6b79=!0x1);}async function _0x1c2416(_0x3cabbd,_0x4d0010,_0x4daea8){const _0x3cdf83=window[_0x1ba85d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1ba85d([0x66,0x72,0x6f,0x6d])](_0xc63509(_0x4daea8),_0xff12c1=>_0xff12c1[_0x1ba85d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2afb3b=new window[(_0x1ba85d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1ba85d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3cabbd+_0x1ba85d([0x2e])+_0x4d0010),_0x9775bf=window[_0x1ba85d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1ba85d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x9775bf)return;const _0x189c3c=await _0x9775bf[_0x1ba85d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1ba85d([0x6a,0x77,0x6b]),_0x36dbf4,{[_0x1ba85d([0x6e,0x61,0x6d,0x65])]:_0x1ba85d([0x45,0x43,0x44,0x53,0x41]),[_0x1ba85d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1ba85d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1ba85d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x9775bf[_0x1ba85d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1ba85d([0x6e,0x61,0x6d,0x65])]:_0x1ba85d([0x45,0x43,0x44,0x53,0x41]),[_0x1ba85d([0x68,0x61,0x73,0x68])]:{[_0x1ba85d([0x6e,0x61,0x6d,0x65])]:_0x1ba85d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x189c3c,_0x3cdf83,_0x2afb3b)||(_0x5b6b79=!0x1);}}function _0x2f5c8e(_0x40ea88){return _0x40ea88[_0x1ba85d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1ba85d([0x65,0x79]))?JSON[_0x1ba85d([0x70,0x61,0x72,0x73,0x65])](_0xc63509(_0x40ea88)):null;}function _0xc63509(_0x3a3de0){return window[_0x1ba85d([0x61,0x74,0x6f,0x62])](_0x3a3de0[_0x1ba85d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1ba85d([0x2b]))[_0x1ba85d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1ba85d([0x2f])));}function _0x2592e0(_0x436b8c){let _0x2ab79e=0x1505;function _0x5c9422(_0x38ba2e){for(let _0x4a33bc=0x0;_0x4a33bc<_0x38ba2e[_0x1ba85d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a33bc++){const _0x5417fc=_0x38ba2e[_0x1ba85d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4a33bc);_0x2ab79e=(_0x2ab79e<<0x5)+_0x2ab79e+_0x5417fc,_0x2ab79e&=_0x2ab79e;}}function _0x2cec8b(_0x46eed3){Array[_0x1ba85d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x46eed3)?_0x46eed3[_0x1ba85d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2cec8b):_0x46eed3&&typeof _0x46eed3==_0x1ba85d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1ba85d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x46eed3)[_0x1ba85d([0x73,0x6f,0x72,0x74])]()[_0x1ba85d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5b5c16,_0x214daa])=>{_0x5c9422(_0x5b5c16),_0x2cec8b(_0x214daa);}):_0x5c9422(window[_0x1ba85d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x46eed3));}return _0x2cec8b(_0x436b8c),_0x2ab79e>>>0x0;}function _0x14f92a(_0x24ff9c){return _0x24ff9c[_0x1ba85d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1ba85d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1ba85d([0x30]));}function _0x3c531c(_0x4b87df){return _0x4b87df[_0x1ba85d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1ba85d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1ba85d([0x6a,0x6f,0x69,0x6e])]('');}function _0x23208f(){}function _0x1ba85d(_0x52c4fe){const _0x3d23fd=_0x3158;return _0x52c4fe[_0x3d23fd(0xd2)](_0x34fb25=>String[_0x3d23fd(0x95)](_0x34fb25))[_0x3d23fd(0xb9)]('');}_0x2b2480(await _0xc4e9b());}(this);}[_0x466ca0(0xd5)](){const _0x2e1d9d=_0x466ca0;this[_0x2e1d9d(0xd0)][_0x2e1d9d(0x9b)](_0x351db6=>{const _0x493f0d=_0x2e1d9d;_0x493f0d(0xd7)!==_0x351db6[_0x493f0d(0xac)]&&this[_0x493f0d(0xa2)][_0x493f0d(0x8b)][_0x493f0d(0xec)](_0x351db6);});}[_0x466ca0(0xc8)](){const _0x49e280=_0x466ca0;for(const _0x4f3d91 of this[_0x49e280(0xa2)][_0x49e280(0xf3)][_0x49e280(0xcc)][_0x49e280(0xdb)][_0x49e280(0xe4)]({'includeChangesInGraveyard':!0x0})){if(_0x49e280(0x91)!==_0x4f3d91[_0x49e280(0xa8)]||_0x49e280(0xa9)!==_0x4f3d91[_0x49e280(0x86)])return;this[_0x49e280(0xd0)][_0x49e280(0xa7)](_0x4f3d91[_0x49e280(0x88)][_0x49e280(0xda)]);}}[_0x466ca0(0xc7)](){const _0x454687=_0x466ca0;this[_0x454687(0xa2)][_0x454687(0xf3)][_0x454687(0xb2)][_0x454687(0xf0)](_0x454687(0xa9),{'inheritAllFrom':_0x454687(0xb6)});}[_0x466ca0(0xaa)](){const _0x333589=_0x466ca0,_0x2178b3=this[_0x333589(0xa2)][_0x333589(0xd6)];_0x2178b3[_0x333589(0xa1)](_0x333589(0xb0))[_0x333589(0x92)]({'model':_0x333589(0xa9),'view':{'name':_0x333589(0xaf),'classes':_0x333589(0xa6)}}),_0x2178b3[_0x333589(0xa1)](_0x333589(0xe5))[_0x333589(0xc1)]({'model':_0x333589(0xa9),'view':(_0x212765,{writer:_0x540632})=>this[_0x333589(0xbb)](_0x540632,!0x0)}),_0x2178b3[_0x333589(0xa1)](_0x333589(0xc5))[_0x333589(0xc1)]({'model':_0x333589(0xa9),'view':(_0x4a9bde,{writer:_0x3ee2a1})=>{const _0x212166=_0x333589;this[_0x212166(0xd0)][_0x212166(0xa7)](_0x4a9bde);const _0x52d716=this[_0x212166(0xbb)](_0x3ee2a1);return _0x371837(_0x52d716,_0x3ee2a1,{'label':_0x1c44bf(this[_0x212166(0xa2)][_0x212166(0x9a)],_0x212166(0xf4))});}}),this[_0x333589(0xa2)][_0x333589(0xe8)][_0x333589(0xef)]({'name':_0x333589(0xaf),'classes':_0x333589(0xa6)}),this[_0x333589(0xa2)][_0x333589(0x8b)][_0x333589(0xc2)]['on'](_0x333589(0xc9),this[_0x333589(0x84)](),{'priority':_0x333589(0x9c)});}[_0x466ca0(0xbb)](_0x5cb028,_0x4dd819=!0x1){const _0x5ba540=_0x466ca0,{locale:_0x26f017}=this[_0x5ba540(0xa2)],_0x445422=_0x5cb028[_0x5ba540(0xe9)](_0x5ba540(0xaf),{'class':_0x5ba540(0xa6)+(0x0===this[_0x5ba540(0xcb)][_0x5ba540(0x93)]?_0x5ba540(0x8a):''),...!_0x4dd819&&{'data-table-of-contents-label':_0x1c44bf(_0x26f017,_0x5ba540(0xf4))}});0x0===this[_0x5ba540(0xcb)][_0x5ba540(0x93)]&&!0x1===_0x4dd819&&_0x5cb028[_0x5ba540(0x91)](_0x5cb028[_0x5ba540(0xe6)](_0x445422,_0x5ba540(0xee)),_0x5cb028[_0x5ba540(0xe9)]('p',{'class':_0x5ba540(0x90)},[_0x5cb028[_0x5ba540(0xb4)](_0x1c44bf(_0x26f017,_0x5ba540(0x9f)))]));const _0x59d1e8=_0x4dd819?'':'['+_0x1c44bf(_0x26f017,_0x5ba540(0xd1))+']';let _0x1cdab3=_0x445422;return this[_0x5ba540(0xcb)][_0x5ba540(0x9b)]((_0x1ca5c4,_0x2c3ac7,_0x366f4b)=>{const _0x50501c=_0x5ba540,_0x5fe86=this[_0x50501c(0xa2)][_0x50501c(0xf3)][_0x50501c(0xe0)](_0x1ca5c4[_0x50501c(0xde)],{'ignoreWhitespaces':!0x0}),_0x272cef=_0x5fe86?_0x1ca5c4[_0x50501c(0x97)]:_0x59d1e8,_0x28e70d=_0x1ca5c4[_0x50501c(0xde)][_0x50501c(0x94)](this[_0x50501c(0xc6)]),_0x563ed0=_0x5cb028[_0x50501c(0xe9)]('a',{'href':'#'+_0x28e70d,...!_0x4dd819&&{'tabindex':'-1'}},[_0x5cb028[_0x50501c(0xb4)](_0x272cef)]),_0x218dc7=this[_0x50501c(0xa2)][_0x50501c(0xf2)][_0x50501c(0xbc)](_0x50501c(0xdf));_0x5cb028[_0x50501c(0xdc)](_0x50501c(0xd9),_0x2c3ac7,_0x563ed0);const _0x3eb5e9=_0x5cb028[_0x50501c(0xe9)]('li',null,[_0x5fe86||!_0x4dd819&&_0x218dc7?_0x563ed0:_0x5cb028[_0x50501c(0xb4)]('')]),_0x1cbafa=_0x2c3ac7?_0x366f4b[_0x2c3ac7-0x1][_0x50501c(0xa5)]:0x0,_0x2b25db=Math[_0x50501c(0xe2)](_0x1ca5c4[_0x50501c(0xa5)]-_0x1cbafa);if(_0x1ca5c4[_0x50501c(0xa5)]>_0x1cbafa){const _0x1a4450=S(_0x3eb5e9,_0x2b25db,_0x5cb028);_0x5cb028[_0x50501c(0x91)](_0x5cb028[_0x50501c(0xe6)](_0x1cdab3,_0x50501c(0xee)),_0x1a4450);}else{const _0x438ba6=function(_0x1c0c71,_0x4bcce4){const _0x4adbb3=_0x50501c;return _0x1c0c71[_0x4adbb3(0xae)]({'includeSelf':!0x0,'parentFirst':!0x0})[_0x4adbb3(0xce)](_0x4b2186=>_0x4b2186['is'](_0x4adbb3(0xb5),'ol'))[_0x4bcce4];}(_0x1cdab3,_0x2b25db);_0x5cb028[_0x50501c(0x91)](_0x5cb028[_0x50501c(0xe6)](_0x438ba6,_0x50501c(0xee)),_0x3eb5e9);}_0x1cdab3=_0x3eb5e9;}),_0x445422;}[_0x466ca0(0xeb)](_0x1ec9e2){const _0x5ce8be=_0x466ca0,_0x315033=this[_0x5ce8be(0xcb)][_0x1ec9e2][_0x5ce8be(0xde)];this[_0x5ce8be(0xa2)][_0x5ce8be(0xf3)][_0x5ce8be(0xba)](_0x4c5a15=>{const _0x3768bc=_0x5ce8be;_0x4c5a15[_0x3768bc(0xc4)](_0x315033,0x0);}),this[_0x5ce8be(0xa2)][_0x5ce8be(0x8b)][_0x5ce8be(0x96)][_0x5ce8be(0x85)]({'alignToTop':!0x0,'forceScroll':!0x0});}[_0x466ca0(0x84)](){return(_0x2b21dc,_0x4eb5ef)=>{const _0x516d10=_0x3158,_0x527dfa=_0x4eb5ef[_0x516d10(0xc2)],_0x2ace00=_0x527dfa[_0x516d10(0xea)](_0x4eb5ef[_0x516d10(0x89)]),_0x3a870f=_0x527dfa[_0x516d10(0xa4)](_0x2ace00);_0x3a870f['is'](_0x516d10(0xb5),_0x516d10(0xa9))&&(_0x4eb5ef[_0x516d10(0xb1)]=this[_0x516d10(0xa2)][_0x516d10(0xf3)][_0x516d10(0xe6)](_0x3a870f,0x0),_0x2b21dc[_0x516d10(0xd4)]());};}}function S(_0x5bd807,_0x9246a8,_0x31703b){const _0x2f0114=_0x466ca0;return 0x1===_0x9246a8?_0x31703b[_0x2f0114(0xe9)]('ol',null,[_0x5bd807]):_0x31703b[_0x2f0114(0xe9)]('ol',null,[_0x31703b[_0x2f0114(0xe9)]('li',null,[S(_0x5bd807,_0x9246a8-0x1,_0x31703b)])]);}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
6
|
+
/**
|
|
7
|
+
* The UI plugin of the table of contents feature.
|
|
8
|
+
*/
|
|
9
|
+
export default class TableOfContentsUI extends Plugin {
|
|
10
|
+
/**
|
|
11
|
+
* @inheritDoc
|
|
12
|
+
*/
|
|
13
|
+
static get pluginName(): "TableOfContentsUI";
|
|
14
|
+
/**
|
|
15
|
+
* @inheritDoc
|
|
16
|
+
*/
|
|
17
|
+
static get isOfficialPlugin(): true;
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
static get isPremiumPlugin(): true;
|
|
22
|
+
init(): void;
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
destroy(): void;
|
|
27
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, 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
|
+
function _0x1121(){const _0x57c2af=['set','tableOfContentsLicenseKeyNotAllowed','get','1781654vzrsHB','_licenseKeyCheckInterval','4411146AXRUiZ','tableOfContents','editor','tableOfContentsLicenseKeyUsageLimit','developmentLimit','destroy','commands','pluginName','listenTo','isOfficialPlugin','tableOfContentsLicenseKeyTrialLimit','menuBar:tableOfContents','787385lHcXNv','focus','usageLimit','872WKwNip','licenseKey','add','featureNotAllowed','bind','tableOfContentsLicenseKeyEvaluationLimit','componentFactory','1335592MQGgiE','_showLicenseError','init','tableOfContentsLicenseKeyInvalid','config','tableOfContentsLicenseKeyDomainLimit','expired','locale','invalid','trialLimit','119475HEgrjf','tableOfContentsLicenseKeyDevelopmentLimit','2944487OgdIKN','execute','tooltip','Table\x20of\x20contents','insertTableOfContents','tableOfContentsLicenseKeyExpired','view','TableOfContents','domainLimit','4452455gZVBgF','editing','evaluationLimit','_createButton','isEnabled','3oAaZcP','TableOfContentsUI','isPremiumPlugin','tableOfContentsLicenseKeyValid'];_0x1121=function(){return _0x57c2af;};return _0x1121();}const _0x1146bb=_0x35c3;(function(_0x584fda,_0x4a7010){const _0x2ded86=_0x35c3,_0x3f3d18=_0x584fda();while(!![]){try{const _0x3c7064=parseInt(_0x2ded86(0x170))/0x1+-parseInt(_0x2ded86(0x162))/0x2*(parseInt(_0x2ded86(0x15b))/0x3)+parseInt(_0x2ded86(0x17a))/0x4+-parseInt(_0x2ded86(0x18f))/0x5+-parseInt(_0x2ded86(0x164))/0x6+parseInt(_0x2ded86(0x186))/0x7+parseInt(_0x2ded86(0x173))/0x8*(parseInt(_0x2ded86(0x184))/0x9);if(_0x3c7064===_0x4a7010)break;else _0x3f3d18['push'](_0x3f3d18['shift']());}catch(_0x2eccb3){_0x3f3d18['push'](_0x3f3d18['shift']());}}}(_0x1121,0x73546));import{ButtonView as _0x4115fc,MenuBarMenuListItemButtonView as _0xa892b7}from'ckeditor5/src/ui.js';import{Plugin as _0x54da93}from'ckeditor5/src/core.js';import{icons as _0x4ac4a7}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0xe1d4e6}from'../utils/common-translations.js';function _0x35c3(_0x4db1c0,_0x3a62d4){const _0x11211a=_0x1121();return _0x35c3=function(_0x35c338,_0x592112){_0x35c338=_0x35c338-0x158;let _0x568b02=_0x11211a[_0x35c338];return _0x568b02;},_0x35c3(_0x4db1c0,_0x3a62d4);}export default class s extends _0x54da93{static get[_0x1146bb(0x16b)](){const _0x5a8982=_0x1146bb;return _0x5a8982(0x15c);}static get[_0x1146bb(0x16d)](){return!0x0;}static get[_0x1146bb(0x15d)](){return!0x0;}[_0x1146bb(0x17c)](){const _0x3e6b53=_0x1146bb,_0x496400=this[_0x3e6b53(0x166)];_0x496400['ui'][_0x3e6b53(0x179)][_0x3e6b53(0x175)](_0x3e6b53(0x165),()=>{const _0x367c15=_0x3e6b53,_0x5aee28=this[_0x367c15(0x159)](_0x4115fc);return _0x5aee28[_0x367c15(0x188)]=!0x0,_0x5aee28;}),_0x496400['ui'][_0x3e6b53(0x179)][_0x3e6b53(0x175)](_0x3e6b53(0x16f),()=>this[_0x3e6b53(0x159)](_0xa892b7)),this[_0x3e6b53(0x174)]=this[_0x3e6b53(0x166)][_0x3e6b53(0x17e)][_0x3e6b53(0x161)](_0x3e6b53(0x174));const _0x4fb950=this[_0x3e6b53(0x166)];this[_0x3e6b53(0x163)]=setInterval(()=>{const _0x3e505d=_0x3e6b53;let _0xca12f8;for(const _0x504746 in _0x4fb950){const _0x33fbdd=_0x504746,_0xefa0b4=_0x4fb950[_0x33fbdd];if(_0x3e505d(0x15e)==_0xefa0b4||_0x3e505d(0x17d)==_0xefa0b4||_0x3e505d(0x18b)==_0xefa0b4||_0x3e505d(0x17f)==_0xefa0b4||_0x3e505d(0x160)==_0xefa0b4||_0x3e505d(0x178)==_0xefa0b4||_0x3e505d(0x16e)==_0xefa0b4||_0x3e505d(0x185)==_0xefa0b4||_0x3e505d(0x167)==_0xefa0b4){delete _0x4fb950[_0x33fbdd],_0xca12f8=_0xefa0b4,clearInterval(this[_0x3e505d(0x163)]),this[_0x3e505d(0x163)]=void 0x0;break;}}_0x3e505d(0x17d)==_0xca12f8&&_0x4fb950[_0x3e505d(0x17b)](_0x3e505d(0x182)),_0x3e505d(0x18b)==_0xca12f8&&_0x4fb950[_0x3e505d(0x17b)](_0x3e505d(0x180)),_0x3e505d(0x17f)==_0xca12f8&&_0x4fb950[_0x3e505d(0x17b)](_0x3e505d(0x18e)),_0x3e505d(0x160)==_0xca12f8&&_0x4fb950[_0x3e505d(0x17b)](_0x3e505d(0x176),_0x3e505d(0x18d)),_0x3e505d(0x178)==_0xca12f8&&_0x4fb950[_0x3e505d(0x17b)](_0x3e505d(0x158)),_0x3e505d(0x16e)==_0xca12f8&&_0x4fb950[_0x3e505d(0x17b)](_0x3e505d(0x183)),_0x3e505d(0x185)==_0xca12f8&&_0x4fb950[_0x3e505d(0x17b)](_0x3e505d(0x168)),_0x3e505d(0x167)==_0xca12f8&&_0x4fb950[_0x3e505d(0x17b)](_0x3e505d(0x172));},0x3e8);}[_0x1146bb(0x159)](_0x3f8f5f){const _0x257440=_0x1146bb,_0x58e72a=this[_0x257440(0x166)],_0x1ac67c=_0x58e72a[_0x257440(0x181)],_0x545021=_0x58e72a[_0x257440(0x16a)][_0x257440(0x161)](_0x257440(0x18a)),_0x170a14=new _0x3f8f5f(_0x1ac67c);return _0x170a14[_0x257440(0x15f)]({'label':_0xe1d4e6(_0x1ac67c,_0x257440(0x189)),'icon':_0x4ac4a7[_0x257440(0x165)]}),_0x170a14[_0x257440(0x177)](_0x257440(0x15a))['to'](_0x545021,_0x257440(0x15a)),this[_0x257440(0x16c)](_0x170a14,_0x257440(0x187),()=>{const _0x15eee8=_0x257440;_0x58e72a[_0x15eee8(0x187)](_0x15eee8(0x18a)),_0x58e72a[_0x15eee8(0x190)][_0x15eee8(0x18c)][_0x15eee8(0x171)]();}),_0x170a14;}[_0x1146bb(0x169)](){const _0x5e8a2e=_0x1146bb;super[_0x5e8a2e(0x169)](),this[_0x5e8a2e(0x163)]&&clearInterval(this[_0x5e8a2e(0x163)]);}}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module document-outline/tableofcontents
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import TableOfContentsEditing from './tableofcontents/tableofcontentsediting.js';
|
|
11
|
+
import TableOfContentsUI from './tableofcontents/tableofcontentsui.js';
|
|
12
|
+
/**
|
|
13
|
+
* The table of contents feature.
|
|
14
|
+
*
|
|
15
|
+
* For a detailed overview, check the {@glink features/table-of-contents Table of contents} feature documentation.
|
|
16
|
+
*/
|
|
17
|
+
export default class TableOfContents extends Plugin {
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
static get requires(): readonly [typeof TableOfContentsEditing, typeof TableOfContentsUI];
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
static get pluginName(): "TableOfContents";
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
static get isOfficialPlugin(): true;
|
|
30
|
+
/**
|
|
31
|
+
* @inheritDoc
|
|
32
|
+
*/
|
|
33
|
+
static get isPremiumPlugin(): true;
|
|
34
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, 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
|
+
var _0x2491ab=_0x352b;(function(_0x4c3664,_0x8c9cb5){var _0x4eaeee=_0x352b,_0x3ab197=_0x4c3664();while(!![]){try{var _0x2e2018=parseInt(_0x4eaeee(0x74))/0x1+parseInt(_0x4eaeee(0x6e))/0x2+-parseInt(_0x4eaeee(0x6f))/0x3+-parseInt(_0x4eaeee(0x70))/0x4*(-parseInt(_0x4eaeee(0x6d))/0x5)+parseInt(_0x4eaeee(0x73))/0x6*(-parseInt(_0x4eaeee(0x75))/0x7)+parseInt(_0x4eaeee(0x71))/0x8+-parseInt(_0x4eaeee(0x6b))/0x9;if(_0x2e2018===_0x8c9cb5)break;else _0x3ab197['push'](_0x3ab197['shift']());}catch(_0x5ac618){_0x3ab197['push'](_0x3ab197['shift']());}}}(_0x12d5,0x48451));import{Plugin as _0x29c73b}from'ckeditor5/src/core.js';import _0x4c1d7c from'./tableofcontents/tableofcontentsediting.js';function _0x12d5(){var _0x37a83f=['3850479drcqjt','isOfficialPlugin','8065BwXPQD','771306NYszSG','398304vGhJQd','440BdlOUB','931456OXEfNJ','isPremiumPlugin','3384IlFDAd','424697pBDplj','3073jYONUr','TableOfContents','requires','pluginName'];_0x12d5=function(){return _0x37a83f;};return _0x12d5();}function _0x352b(_0x35fc9c,_0x19d07b){var _0x12d5ce=_0x12d5();return _0x352b=function(_0x352b9a,_0x1a67c0){_0x352b9a=_0x352b9a-0x68;var _0x1beb54=_0x12d5ce[_0x352b9a];return _0x1beb54;},_0x352b(_0x35fc9c,_0x19d07b);}import _0x4f6f2e from'./tableofcontents/tableofcontentsui.js';export default class o extends _0x29c73b{static get[_0x2491ab(0x69)](){return[_0x4c1d7c,_0x4f6f2e];}static get[_0x2491ab(0x6a)](){var _0x265912=_0x2491ab;return _0x265912(0x68);}static get[_0x2491ab(0x6c)](){return!0x0;}static get[_0x2491ab(0x72)](){return!0x0;}}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module document-outline/utils/common-translations
|
|
7
|
+
*/
|
|
8
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
9
|
+
export declare function getTranslation(locale: Locale, id: string): string;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, 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
|
+
export function getTranslation(_0x448295,_0x35baa9){const t=_0x448295['t'];switch(_0x35baa9){case'Empty\x20heading':return t('Empty\x20heading');case'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':return t('Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.');case'No\x20headings\x20were\x20found\x20in\x20the\x20document.':return t('No\x20headings\x20were\x20found\x20in\x20the\x20document.');case'Table\x20of\x20contents':return t('Table\x20of\x20contents');default:return _0x35baa9;}}
|
|
@@ -0,0 +1,104 @@
|
|
|
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-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
:root {
|
|
11
|
+
--ck-document-outline-padding: var(--ck-spacing-large);
|
|
12
|
+
--ck-document-outline-base-font-size: .875em;
|
|
13
|
+
--ck-document-outline-placeholder-color: var(--ck-color-engine-placeholder-text);
|
|
14
|
+
|
|
15
|
+
--ck-document-outline-indent-level-1: 0;
|
|
16
|
+
--ck-document-outline-indent-level-2: 1.5em;
|
|
17
|
+
--ck-document-outline-indent-level-3: 3em;
|
|
18
|
+
--ck-document-outline-indent-level-4: 4.5em;
|
|
19
|
+
--ck-document-outline-indent-level-5: 6em;
|
|
20
|
+
--ck-document-outline-indent-level-6: 7.5em;
|
|
21
|
+
|
|
22
|
+
--ck-document-outline-item-padding: var(--ck-spacing-small);
|
|
23
|
+
--ck-document-outline-item-active-color: var(--ck-color-base-active);
|
|
24
|
+
--ck-document-outline-item-default-color: hsl(0, 0%, 26%);
|
|
25
|
+
--ck-document-outline-item-hover-state-color: var(--ck-color-base-text);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.ck.ck-document-outline {
|
|
29
|
+
padding: var(--ck-document-outline-padding);
|
|
30
|
+
font-size: var(--ck-document-outline-base-font-size);
|
|
31
|
+
user-select: none;
|
|
32
|
+
|
|
33
|
+
&:empty::before {
|
|
34
|
+
content: attr(data-document-outline-empty-placeholder);
|
|
35
|
+
display: inline-block;
|
|
36
|
+
color: var(--ck-document-outline-placeholder-color);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
& .ck-document-outline__item {
|
|
40
|
+
padding: var(--ck-document-outline-item-padding);
|
|
41
|
+
color: var(--ck-document-outline-item-default-color);
|
|
42
|
+
white-space: nowrap;
|
|
43
|
+
text-overflow: ellipsis;
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
|
|
47
|
+
&.ck-document-outline__item_empty {
|
|
48
|
+
font-style: italic;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.ck-document-outline__item_empty:hover,
|
|
52
|
+
&:hover {
|
|
53
|
+
color: var(--ck-document-outline-item-hover-state-color);
|
|
54
|
+
text-decoration: underline;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&.ck-document-outline__item_active {
|
|
58
|
+
color: var(--ck-document-outline-item-active-color);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&.ck-document-outline__item_level-1 {
|
|
62
|
+
font-size: 1.1em;
|
|
63
|
+
font-weight: bold;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&[dir="ltr"] {
|
|
68
|
+
& .ck-document-outline__item {
|
|
69
|
+
@mixin document-outline-level-indents padding-left;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&[dir="rtl"] {
|
|
74
|
+
& .ck-document-outline__item {
|
|
75
|
+
@mixin document-outline-level-indents padding-right;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@define-mixin document-outline-level-indents $padding-property {
|
|
81
|
+
&.ck-document-outline__item_level-1 {
|
|
82
|
+
$(padding-property): var(--ck-document-outline-indent-level-1);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&.ck-document-outline__item_level-2 {
|
|
86
|
+
$(padding-property): var(--ck-document-outline-indent-level-2);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&.ck-document-outline__item_level-3 {
|
|
90
|
+
$(padding-property): var(--ck-document-outline-indent-level-3);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&.ck-document-outline__item_level-4 {
|
|
94
|
+
$(padding-property): var(--ck-document-outline-indent-level-4);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&.ck-document-outline__item_level-5 {
|
|
98
|
+
$(padding-property): var(--ck-document-outline-indent-level-5);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&.ck-document-outline__item_level-6 {
|
|
102
|
+
$(padding-property): var(--ck-document-outline-indent-level-6);
|
|
103
|
+
}
|
|
104
|
+
}
|