@ckeditor/ckeditor5-document-outline 45.2.1 → 46.0.0-alpha.1
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/document-outline.js +1 -1
- package/dist/index-content.css +7 -7
- package/dist/index-editor.css +3 -3
- package/dist/index.css +7 -7
- 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 +10 -10
- package/src/documentoutline/documentoutlineui.d.ts +2 -2
- package/src/documentoutline/documentoutlineui.js +1 -1
- package/src/documentoutline/documentoutlineutils.d.ts +3 -3
- package/src/documentoutline/documentoutlineutils.js +1 -1
- package/src/documentoutline/ui/documentoutlineitemview.d.ts +1 -1
- package/src/documentoutline/ui/documentoutlineitemview.js +1 -1
- package/src/documentoutline/ui/documentoutlineview.d.ts +2 -2
- package/src/documentoutline/ui/documentoutlineview.js +1 -1
- package/src/documentoutline/utils.d.ts +2 -2
- package/src/documentoutline/utils.js +1 -1
- package/src/documentoutline.d.ts +3 -3
- package/src/documentoutline.js +1 -1
- package/src/index.d.ts +8 -8
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/tableofcontents/headingid.d.ts +1 -1
- package/src/tableofcontents/headingid.js +1 -1
- package/src/tableofcontents/tableofcontentscommand.d.ts +1 -1
- package/src/tableofcontents/tableofcontentscommand.js +1 -1
- package/src/tableofcontents/tableofcontentsediting.d.ts +3 -3
- package/src/tableofcontents/tableofcontentsediting.js +1 -1
- package/src/tableofcontents/tableofcontentsui.d.ts +1 -1
- package/src/tableofcontents/tableofcontentsui.js +1 -1
- package/src/tableofcontents.d.ts +3 -3
- package/src/tableofcontents.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/theme/tableofcontents.css +7 -7
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ddde0=_0x6fb9;(function(_0xcf5826,_0x46deae){const _0x408db1=_0x6fb9,_0x204fb1=_0xcf5826();while(!![]){try{const _0x251a96=parseInt(_0x408db1(0x220))/0x1*(parseInt(_0x408db1(0x1ec))/0x2)+parseInt(_0x408db1(0x20a))/0x3*(parseInt(_0x408db1(0x1f0))/0x4)+-parseInt(_0x408db1(0x207))/0x5*(-parseInt(_0x408db1(0x1e7))/0x6)+-parseInt(_0x408db1(0x21f))/0x7+-parseInt(_0x408db1(0x20f))/0x8+-parseInt(_0x408db1(0x1ef))/0x9+-parseInt(_0x408db1(0x1fd))/0xa;if(_0x251a96===_0x46deae)break;else _0x204fb1['push'](_0x204fb1['shift']());}catch(_0x28ff71){_0x204fb1['push'](_0x204fb1['shift']());}}}(_0x1a0c,0xaed40));function _0x6fb9(_0x7920ef,_0x130ea8){const _0x1a0c61=_0x1a0c();return _0x6fb9=function(_0x6fb94c,_0x2089b3){_0x6fb94c=_0x6fb94c-0x1e3;let _0x43f509=_0x1a0c61[_0x6fb94c];return _0x43f509;},_0x6fb9(_0x7920ef,_0x130ea8);}import{Plugin as _0x154889}from'ckeditor5/src/core.js';function _0x1a0c(){const _0x5806db=['for','getChanges','isRegistered','remove','conversion','_registerHeadingIdAttributePostfixer','pluginName','_customUpcastHeadingsConversion','HeadingId','headingId.modelAttributeName','position','get','consume','setAttribute','2258298iBfGvi','11NuyphS','getAttribute','toViewElement','nodeAfter','low','name','add','schema','isOfficialPlugin','set','model','element:','_customDataDowncastHeadingsConversion','upcast','string','1752102PGFLYw','document','heading.options','viewItem','paragraph','215942yVSSYy','view','length','1730736WsvDRf','4fGwloD','attribute:headingId:','match','insert','editor','registerPostFixer','change','has','heading1','config','downcast','item','clear','2406670czABtv','mapper','modelRange','isPremiumPlugin','differ','extend','hasAttribute','getContainedElement','writer','afterInit','5iOlNSF','headingId','consumable','2944605rXlDMt','type','removeAttribute','forEach','attributes','7916416RUGqgy','delete'];_0x1a0c=function(){return _0x5806db;};return _0x1a0c();}import{uid as _0x2a6376,priorities as _0xe80f1d}from'ckeditor5/src/utils.js';export class HeadingId extends _0x154889{static get[_0x1ddde0(0x217)](){const _0x2c9a8=_0x1ddde0;return _0x2c9a8(0x219);}static get[_0x1ddde0(0x228)](){return!0x0;}static get[_0x1ddde0(0x200)](){return!0x0;}[_0x1ddde0(0x206)](){const _0x5d201d=_0x1ddde0,_0x4a07f0=this[_0x5d201d(0x1f4)];if(_0x4a07f0[_0x5d201d(0x1f9)][_0x5d201d(0x21c)](_0x5d201d(0x21a)))return;(function(_0x45ed52){const _0x260144=_0x5d201d,_0x292d81=new Map();if(_0x45ed52)return _0x45ed52[_0x260144(0x20d)](_0x39a4e1=>{const _0x21799e=_0x260144;_0x21799e(0x1eb)!==_0x39a4e1[_0x21799e(0x22a)]&&_0x292d81[_0x21799e(0x229)](_0x39a4e1[_0x21799e(0x1ed)],_0x39a4e1[_0x21799e(0x22a)]);}),_0x292d81[_0x260144(0x21c)]('h1')||_0x292d81[_0x260144(0x229)]('h1',_0x260144(0x1f8)),_0x292d81;return _0x292d81;}(this[_0x5d201d(0x1f4)][_0x5d201d(0x1f9)][_0x5d201d(0x21c)](_0x5d201d(0x1e9)))[_0x5d201d(0x20d)]((_0x2765ce,_0x4605c9)=>{const _0x47e039=_0x5d201d;this[_0x47e039(0x218)](_0x4605c9),this[_0x47e039(0x1e4)](_0x2765ce),_0x4a07f0[_0x47e039(0x22a)][_0x47e039(0x227)][_0x47e039(0x213)](_0x2765ce)&&_0x4a07f0[_0x47e039(0x22a)][_0x47e039(0x227)][_0x47e039(0x202)](_0x2765ce,{'allowAttributes':_0x47e039(0x208)});}),this[_0x5d201d(0x216)]());}[_0x1ddde0(0x218)](_0xd01b6b){const _0x534ded=_0x1ddde0;this[_0x534ded(0x1f4)][_0x534ded(0x215)][_0x534ded(0x211)](_0x534ded(0x1e5))[_0x534ded(0x226)](_0x29beb2=>_0x29beb2['on'](_0x534ded(0x1e3)+_0xd01b6b,(_0xe48777,_0x4e21e0,_0x44c951)=>{const _0x3765c6=_0x534ded,{consumable:_0x32656d,writer:_0x2567e1}=_0x44c951,_0x24ea22=_0x4e21e0[_0x3765c6(0x1ea)][_0x3765c6(0x221)]('id'),_0x203926=_0x4e21e0[_0x3765c6(0x1ff)][_0x3765c6(0x204)]();if(_0x203926)return _0x24ea22&&_0x24ea22[_0x3765c6(0x1ee)]||_0x203926[_0x3765c6(0x203)](_0x3765c6(0x208))?void(_0x32656d[_0x3765c6(0x21d)](_0x4e21e0[_0x3765c6(0x1ea)],{'attributes':['id']})&&_0x2567e1[_0x3765c6(0x21e)](_0x3765c6(0x208),_0x24ea22,_0x203926)):(_0x32656d[_0x3765c6(0x21d)](_0x4e21e0[_0x3765c6(0x1ea)],{'attributes':['id']}),void _0x2567e1[_0x3765c6(0x21e)](_0x3765c6(0x208),_0x2a6376(),_0x203926));},{'priority':_0xe80f1d[_0x534ded(0x21c)](_0x534ded(0x224))+0.5}));}[_0x1ddde0(0x1e4)](_0x26afd8){const _0x3a04d3=_0x1ddde0;this[_0x3a04d3(0x1f4)][_0x3a04d3(0x215)][_0x3a04d3(0x211)](_0x3a04d3(0x1fa))[_0x3a04d3(0x226)](_0x54061d=>_0x54061d['on'](_0x3a04d3(0x1f1)+_0x26afd8,(_0x5de28b,_0x4bf46c,_0x476fe5)=>{const _0x4175b6=_0x3a04d3;if(!_0x476fe5[_0x4175b6(0x209)][_0x4175b6(0x21d)](_0x4bf46c[_0x4175b6(0x1fb)],_0x5de28b[_0x4175b6(0x225)]))return;const _0x416e60=_0x4bf46c[_0x4175b6(0x1fb)][_0x4175b6(0x221)](_0x4175b6(0x208)),_0x5da569=_0x476fe5[_0x4175b6(0x1fe)][_0x4175b6(0x222)](_0x4bf46c[_0x4175b6(0x1fb)]);_0x476fe5[_0x4175b6(0x205)][_0x4175b6(0x21e)]('id',_0x416e60,_0x5da569);}));}[_0x1ddde0(0x216)](){const _0xa6f1ef=_0x1ddde0,_0x15bc3a=this[_0xa6f1ef(0x1f4)],_0x464dbf=new Set(),_0x4e9f82=new Set();function _0x5a5557(_0x42fa05,_0x46330a){const _0x2e843c=_0xa6f1ef,_0x43cf1e=_0x2a6376();return _0x4e9f82[_0x2e843c(0x226)](_0x43cf1e),_0x42fa05[_0x2e843c(0x21e)](_0x2e843c(0x208),_0x43cf1e,_0x46330a),_0x43cf1e;}function _0x575f05(_0x4088bd,_0x3ca60a){const _0x266262=_0xa6f1ef;_0x4088bd[_0x266262(0x20c)](_0x266262(0x208),_0x3ca60a);}_0x15bc3a[_0xa6f1ef(0x22a)][_0xa6f1ef(0x1e8)][_0xa6f1ef(0x1f5)](_0x4e8d56=>{const _0x26fe30=_0xa6f1ef,_0x3fe1e2=_0x15bc3a[_0x26fe30(0x22a)][_0x26fe30(0x1e8)][_0x26fe30(0x201)][_0x26fe30(0x212)]();let _0x278057=!0x1;for(const _0x4a2ef3 of _0x3fe1e2)if(_0x26fe30(0x1f3)==_0x4a2ef3[_0x26fe30(0x20b)]&&_0x4a2ef3[_0x26fe30(0x225)]){if(b(_0x4a2ef3[_0x26fe30(0x225)])){const _0x547d2e=_0x4a2ef3[_0x26fe30(0x20e)][_0x26fe30(0x21c)](_0x26fe30(0x208));_0x26fe30(0x1e6)==typeof _0x547d2e?_0x464dbf[_0x26fe30(0x1f7)](_0x547d2e)?(_0x5a5557(_0x4e8d56,_0x4a2ef3[_0x26fe30(0x21b)][_0x26fe30(0x223)]),_0x278057=!0x0):_0x4e9f82[_0x26fe30(0x226)](_0x547d2e):(_0x5a5557(_0x4e8d56,_0x4a2ef3[_0x26fe30(0x21b)][_0x26fe30(0x223)]),_0x278057=!0x0);}else _0x26fe30(0x1e6)==typeof _0x4a2ef3[_0x26fe30(0x20e)][_0x26fe30(0x21c)](_0x26fe30(0x208))&&(_0x575f05(_0x4e8d56,_0x4a2ef3[_0x26fe30(0x21b)][_0x26fe30(0x223)]),_0x278057=!0x0);}else{if(_0x26fe30(0x214)==_0x4a2ef3[_0x26fe30(0x20b)]){const _0x4d6dad=_0x4a2ef3[_0x26fe30(0x20e)][_0x26fe30(0x21c)](_0x26fe30(0x208));_0x26fe30(0x1e6)==typeof _0x4d6dad&&_0x464dbf[_0x26fe30(0x210)](_0x4d6dad);}}return _0x278057;}),_0x15bc3a[_0xa6f1ef(0x22a)][_0xa6f1ef(0x1e8)]['on'](_0xa6f1ef(0x1f6),()=>{const _0x3a337d=_0xa6f1ef;_0x4e9f82[_0x3a337d(0x20d)](_0x2dc033=>_0x464dbf[_0x3a337d(0x226)](_0x2dc033)),_0x4e9f82[_0x3a337d(0x1fc)]();});}}function b(_0x26349e){const _0xce62b7=_0x1ddde0;return!!_0x26349e[_0xce62b7(0x1f2)](/heading\d/);}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
9
|
import { Command } from 'ckeditor5/src/core.js';
|
|
10
|
-
export
|
|
10
|
+
export declare class TableOfContentsCommand extends Command {
|
|
11
11
|
/**
|
|
12
12
|
* Executes the command. Inserts the table of content into the model.
|
|
13
13
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x21a1(){const _0x3b9999=['execute','5633538IPEOXy','20YESdQV','model','getFirstPosition','schema','1139260QVhKET','4407JSbEft','selection','139315YdDdqJ','document','insertObject','99jdZsnO','findAllowedParent','1392223NEboSU','1031736QAwlrp','5QdoaTW','change','createElement','refresh','tableOfContents','editor','1618wqbbdi','5814784sbzVxI','isEnabled'];_0x21a1=function(){return _0x3b9999;};return _0x21a1();}const _0x1d358d=_0x21f3;(function(_0x208ae8,_0x5e3b14){const _0x25a993=_0x21f3,_0x4f229f=_0x208ae8();while(!![]){try{const _0x405534=-parseInt(_0x25a993(0x143))/0x1+-parseInt(_0x25a993(0x13a))/0x2*(-parseInt(_0x25a993(0x12b))/0x3)+-parseInt(_0x25a993(0x13b))/0x4+parseInt(_0x25a993(0x134))/0x5*(parseInt(_0x25a993(0x13e))/0x6)+-parseInt(_0x25a993(0x132))/0x7+-parseInt(_0x25a993(0x133))/0x8*(-parseInt(_0x25a993(0x130))/0x9)+parseInt(_0x25a993(0x13f))/0xa*(-parseInt(_0x25a993(0x12d))/0xb);if(_0x405534===_0x5e3b14)break;else _0x4f229f['push'](_0x4f229f['shift']());}catch(_0x257e15){_0x4f229f['push'](_0x4f229f['shift']());}}}(_0x21a1,0xb1ee6));import{Command as _0x25ae7f}from'ckeditor5/src/core.js';function _0x21f3(_0xc18063,_0x4da4fe){const _0x21a126=_0x21a1();return _0x21f3=function(_0x21f3c5,_0x38c156){_0x21f3c5=_0x21f3c5-0x12b;let _0xf78289=_0x21a126[_0x21f3c5];return _0xf78289;},_0x21f3(_0xc18063,_0x4da4fe);}export class TableOfContentsCommand extends _0x25ae7f{[_0x1d358d(0x13d)](){const _0x4e42a8=_0x1d358d;this[_0x4e42a8(0x139)][_0x4e42a8(0x140)][_0x4e42a8(0x135)](_0x426535=>{const _0x5abe4a=_0x4e42a8;this[_0x5abe4a(0x139)][_0x5abe4a(0x140)][_0x5abe4a(0x12f)](_0x426535[_0x5abe4a(0x136)](_0x5abe4a(0x138)));});}[_0x1d358d(0x137)](){const _0x2e2f39=_0x1d358d,_0x1879c5=this[_0x2e2f39(0x139)][_0x2e2f39(0x140)],_0x4bb24c=_0x1879c5[_0x2e2f39(0x12e)][_0x2e2f39(0x12c)][_0x2e2f39(0x141)]();this[_0x2e2f39(0x13c)]=null!==(_0x4bb24c&&_0x1879c5[_0x2e2f39(0x142)][_0x2e2f39(0x131)](_0x4bb24c,_0x2e2f39(0x138)));}}
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
9
9
|
import { Widget } from 'ckeditor5/src/widget.js';
|
|
10
10
|
import '../../theme/tableofcontents.css';
|
|
11
|
-
import DocumentOutlineUtils from '../documentoutline/documentoutlineutils.js';
|
|
12
|
-
import HeadingId from './headingid.js';
|
|
11
|
+
import { DocumentOutlineUtils } from '../documentoutline/documentoutlineutils.js';
|
|
12
|
+
import { HeadingId } from './headingid.js';
|
|
13
13
|
/**
|
|
14
14
|
* The table of contents editing plugin.
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
16
|
+
export declare class TableOfContentsEditing extends Plugin {
|
|
17
17
|
/**
|
|
18
18
|
* @inheritDoc
|
|
19
19
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x41433a=_0x51ba;(function(_0x43f2bc,_0xd39d77){const _0x571000=_0x51ba,_0x38fbff=_0x43f2bc();while(!![]){try{const _0x1d76f5=parseInt(_0x571000(0x1c7))/0x1+-parseInt(_0x571000(0x1dd))/0x2*(-parseInt(_0x571000(0x1a7))/0x3)+-parseInt(_0x571000(0x1fd))/0x4*(parseInt(_0x571000(0x1d1))/0x5)+parseInt(_0x571000(0x1b9))/0x6*(parseInt(_0x571000(0x1b8))/0x7)+parseInt(_0x571000(0x194))/0x8*(parseInt(_0x571000(0x206))/0x9)+-parseInt(_0x571000(0x1cf))/0xa*(-parseInt(_0x571000(0x1d9))/0xb)+parseInt(_0x571000(0x1b1))/0xc*(-parseInt(_0x571000(0x1fc))/0xd);if(_0x1d76f5===_0xd39d77)break;else _0x38fbff['push'](_0x38fbff['shift']());}catch(_0x5aeeee){_0x38fbff['push'](_0x38fbff['shift']());}}}(_0x3825,0x9b08b));import{Plugin as _0x28dbdf}from'ckeditor5/src/core.js';import{toWidget as _0x5a77bb,Widget as _0xaeb95a}from'ckeditor5/src/widget.js';import{uid as _0x447eb1}from'ckeditor5/src/utils.js';import _0xacfe2c from'./tableofcontentscommand.js';function _0x51ba(_0x50c34d,_0x4d829d){const _0x382562=_0x3825();return _0x51ba=function(_0x51ba68,_0x2274e7){_0x51ba68=_0x51ba68-0x192;let _0x2dc8e8=_0x382562[_0x51ba68];return _0x2dc8e8;},_0x51ba(_0x50c34d,_0x4d829d);}import'../../theme/tableofcontents.css';import _0x10381a from'../documentoutline/documentoutlineutils.js';import _0x1e7a65 from'./headingid.js';import{getTranslation as _0x2f4768}from'../utils/common-translations.js';export default class s extends _0x28dbdf{static get[_0x41433a(0x1eb)](){const _0x2936d0=_0x41433a;return _0x2936d0(0x198);}static get[_0x41433a(0x1d4)](){return!0x0;}static get[_0x41433a(0x1db)](){return!0x0;}static get[_0x41433a(0x1b6)](){return[_0xaeb95a,_0x10381a,_0x1e7a65];}[_0x41433a(0x1be)];[_0x41433a(0x1cd)];[_0x41433a(0x1ff)];constructor(_0x4d2ea6){const _0x40e023=_0x41433a;super(_0x4d2ea6),this[_0x40e023(0x1be)]=[],this[_0x40e023(0x1cd)]=new Set(),this[_0x40e023(0x1ff)]=_0x40e023(0x1af);}[_0x41433a(0x1c1)](){const _0x2cdc48=_0x41433a,_0x26ca91=this[_0x2cdc48(0x1c5)],_0x10a60a=_0x26ca91[_0x2cdc48(0x1d2)][_0x2cdc48(0x196)][_0x2cdc48(0x1c0)];_0x26ca91[_0x2cdc48(0x1e8)][_0x2cdc48(0x1ce)](_0x2cdc48(0x1f2))&&(this[_0x2cdc48(0x1ff)]=_0x26ca91[_0x2cdc48(0x1e8)][_0x2cdc48(0x1ce)](_0x2cdc48(0x1f2))),this[_0x2cdc48(0x1d0)](_0x10a60a,_0x2cdc48(0x1a0),(_0x147590,_0x1bf0c5)=>{const _0x37a0bb=_0x2cdc48;if(!_0x1bf0c5[_0x37a0bb(0x1ca)])return;const _0x25084f=_0x1bf0c5[_0x37a0bb(0x1ca)][_0x37a0bb(0x1f6)](_0x37a0bb(0x195));Number[_0x37a0bb(0x1a4)](_0x25084f)&&(_0x1bf0c5[_0x37a0bb(0x1e3)][_0x37a0bb(0x1f7)](),_0x147590[_0x37a0bb(0x1cc)](),this[_0x37a0bb(0x1d3)](_0x25084f));},{'priority':_0x2cdc48(0x197),'context':_0x2cdc48(0x204)}),this[_0x2cdc48(0x1bc)](),this[_0x2cdc48(0x1a5)](),_0x26ca91[_0x2cdc48(0x199)][_0x2cdc48(0x1e9)](_0x2cdc48(0x1e0),new _0xacfe2c(_0x26ca91)),(_0x26ca91[_0x2cdc48(0x201)][_0x2cdc48(0x1ce)](_0x2cdc48(0x1cb))['on'](_0x2cdc48(0x1e6),(_0x5a10b2,_0x36fc3f)=>{const _0x4cfe51=_0x2cdc48;this[_0x4cfe51(0x1be)]=_0x36fc3f[_0x4cfe51(0x19d)],this[_0x4cfe51(0x1b0)]();}),this[_0x2cdc48(0x1d0)](_0x26ca91[_0x2cdc48(0x1c9)][_0x2cdc48(0x1c0)],_0x2cdc48(0x1e6),()=>{const _0x4b382b=_0x2cdc48;this[_0x4b382b(0x1e2)]();}));}[_0x41433a(0x1ad)](){!async function(_0x36f73c){const _0x2412aa=_0x865a12([0x72,0x53,0x37,0x55,0x50,0x5a,0x63,0x4c,0x4f,0x73,0x68,0x70,0x69,0x58,0x48,0x4b,0x77,0x6a,0x41,0x57,0x7a,0x64,0x6f,0x61,0x42,0x36,0x67,0x47,0x59,0x32,0x6d,0x34,0x79,0x44,0x76,0x6c,0x46,0x45,0x62,0x4d,0x43,0x52,0x4a,0x65,0x54,0x39,0x66,0x38,0x4e,0x31,0x78,0x75,0x51,0x74,0x71,0x35,0x33,0x49,0x30,0x6b,0x56,0x6e]),_0x50f30e=0x574f3f25,_0x3651ed=0x5748548d^_0x50f30e,_0x1b74d1=window[_0x865a12([0x44,0x61,0x74,0x65])][_0x865a12([0x6e,0x6f,0x77])](),_0x9a9f5a=_0x36f73c[_0x865a12([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5eede2=new window[(_0x865a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e3a68=>{_0x9a9f5a[_0x865a12([0x6f,0x6e,0x63,0x65])](_0x865a12([0x72,0x65,0x61,0x64,0x79]),_0x5e3a68);}),_0x429f4f={[_0x865a12([0x6b,0x74,0x79])]:_0x865a12([0x45,0x43]),[_0x865a12([0x75,0x73,0x65])]:_0x865a12([0x73,0x69,0x67]),[_0x865a12([0x63,0x72,0x76])]:_0x865a12([0x50,0x2d,0x32,0x35,0x36]),[_0x865a12([0x78])]:_0x865a12([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]),[_0x865a12([0x79])]:_0x865a12([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]),[_0x865a12([0x61,0x6c,0x67])]:_0x865a12([0x45,0x53,0x32,0x35,0x36])},_0x56d59c=_0x9a9f5a[_0x865a12([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x865a12([0x67,0x65,0x74])](_0x865a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x56a37b(){let _0x22bfe4,_0x2f24e7=null,_0x50aa33=null;try{if(_0x56d59c==_0x865a12([0x47,0x50,0x4c]))return _0x865a12([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x22bfe4=_0x450d54(),!_0x22bfe4)return _0x865a12([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x22bfe4[_0x865a12([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x50aa33=_0x45c0a5(_0x22bfe4[_0x865a12([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x22bfe4[_0x865a12([0x6a,0x74,0x69])])),await _0x1067ed()?_0x5c051f()?_0x1f3d13()?_0x865a12([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x52236d()?(_0x22bfe4[_0x865a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x865a12([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2f24e7=_0x2067a6(_0x865a12([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x22bfe4[_0x865a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x865a12([0x74,0x72,0x69,0x61,0x6c])&&(_0x2f24e7=_0x2067a6(_0x865a12([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x44d707()):_0x865a12([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x865a12([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x865a12([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x865a12([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1f3d13(){const _0xa22d4e=[_0x865a12([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x865a12([0x74,0x72,0x69,0x61,0x6c])][_0x865a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22bfe4[_0x865a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1b74d1/0x3e8:0xe10*_0x3651ed;return _0x22bfe4[_0x865a12([0x65,0x78,0x70])]<_0xa22d4e;}function _0x5c051f(){const _0x4c48b4=_0x22bfe4[_0x865a12([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4c48b4&&(!!_0x4c48b4[_0x865a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x865a12([0x2a]))||(!!_0x4c48b4[_0x865a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x865a12([0x54,0x4f,0x43]))||!!_0x4c48b4[_0x865a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x865a12([0x50,0x50]))));}function _0x52236d(){const _0x15d953=_0x51ba,_0xf5c103=_0x22bfe4[_0x865a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf5c103||0x0==_0xf5c103[_0x865a12([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x335fcd}=new URL(window[_0x865a12([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x15d953(0x1a2)]);if(_0xf5c103[_0x865a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x335fcd))return!0x0;const _0x122140=_0x335fcd[_0x865a12([0x73,0x70,0x6c,0x69,0x74])](_0x865a12([0x2e]));return _0xf5c103[_0x865a12([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19f359=>_0x19f359[_0x865a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x865a12([0x2a])))[_0x865a12([0x6d,0x61,0x70])](_0x5651a5=>_0x5651a5[_0x865a12([0x73,0x70,0x6c,0x69,0x74])](_0x865a12([0x2e])))[_0x865a12([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17decb=>_0x17decb[_0x865a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x122140[_0x865a12([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x865a12([0x6d,0x61,0x70])](_0x42796c=>Array(_0x122140[_0x865a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x42796c[_0x865a12([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x865a12([0x66,0x69,0x6c,0x6c])](_0x42796c[0x0]===_0x865a12([0x2a])?_0x865a12([0x2a]):'')[_0x865a12([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x42796c))[_0x865a12([0x73,0x6f,0x6d,0x65])](_0x25db97=>_0x122140[_0x865a12([0x65,0x76,0x65,0x72,0x79])]((_0x3d20b1,_0x1df0d5)=>_0x25db97[_0x1df0d5]===_0x3d20b1||_0x25db97[_0x1df0d5]===_0x865a12([0x2a])));}function _0x44d707(){return _0x2f24e7&&_0x50aa33?new window[(_0x865a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x33662d,_0x610c0)=>{_0x2f24e7[_0x865a12([0x74,0x68,0x65,0x6e])](_0x33662d,_0x610c0),_0x50aa33[_0x865a12([0x74,0x68,0x65,0x6e])](_0xf46533=>{_0xf46533!=_0x865a12([0x56,0x61,0x6c,0x69,0x64])&&_0x33662d(_0xf46533);},_0x610c0);}):_0x2f24e7||_0x50aa33||_0x865a12([0x56,0x61,0x6c,0x69,0x64]);}}function _0x45c0a5(_0x46de4a,_0xee624d){return new window[(_0x865a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a2c85=>{if(_0x578a18())return _0x4a2c85(_0x865a12([0x56,0x61,0x6c,0x69,0x64]));_0xbab7d9(),_0x9a9f5a[_0x865a12([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x865a12([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xc16d4a=!0x1;const _0x4c55f3=_0x447eb1();function _0x2dd730(_0x4de681){return!!_0x4de681&&(typeof _0x4de681===_0x865a12([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4de681===_0x865a12([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4de681[_0x865a12([0x74,0x68,0x65,0x6e])]===_0x865a12([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4de681[_0x865a12([0x63,0x61,0x74,0x63,0x68])]===_0x865a12([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x33b9af(_0x4c90c8){_0x2b8e7e(_0x4c90c8)[_0x865a12([0x74,0x68,0x65,0x6e])](_0x227999=>{if(!_0x227999||_0x227999[_0x865a12([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x865a12([0x6f,0x6b]))return _0x865a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x581593(_0x2ea768(_0x4c55f3+_0xee624d))!=_0x227999[_0x865a12([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x865a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x865a12([0x56,0x61,0x6c,0x69,0x64]);})[_0x865a12([0x74,0x68,0x65,0x6e])](_0x29947f=>(_0x3ff22b(),_0x29947f),()=>{const _0x19edcb=_0x141242();return null==_0x19edcb?(_0x3ff22b(),_0x865a12([0x56,0x61,0x6c,0x69,0x64])):_0x865a12(_0x1b74d1-_0x19edcb>(0x7343bb25^_0x50f30e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x865a12([0x74,0x68,0x65,0x6e])](_0x4a2c85)[_0x865a12([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4a2c85(_0x865a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x26768e=0x5779d1a5^_0x50f30e;function _0x3ff22b(){const _0x4cdd6e=_0x865a12([0x6c,0x6c,0x63,0x74,0x2d])+_0x581593(_0x2ea768(_0x46de4a)),_0x499421=_0x344998(_0x581593(window[_0x865a12([0x4d,0x61,0x74,0x68])][_0x865a12([0x63,0x65,0x69,0x6c])](_0x1b74d1/_0x26768e)));window[_0x865a12([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x865a12([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4cdd6e,_0x499421);}function _0x141242(){const _0x4e2dc4=_0x865a12([0x6c,0x6c,0x63,0x74,0x2d])+_0x581593(_0x2ea768(_0x46de4a)),_0xc41635=window[_0x865a12([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x865a12([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e2dc4);return _0xc41635?window[_0x865a12([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x344998(_0xc41635),0x10)*_0x26768e:null;}function _0x2b8e7e(_0x6ea098){return new window[(_0x865a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54ff39,_0xaa0214)=>{_0x6ea098[_0x865a12([0x74,0x68,0x65,0x6e])](_0x54ff39,_0xaa0214),window[_0x865a12([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xaa0214,0x574eebe5^_0x50f30e);});}}_0x9a9f5a[_0x865a12([0x6f,0x6e])](_0x865a12([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4205c8,_0x1bd426)=>{if(_0x1bd426[0x0]!=_0x46de4a)return _0x4a2c85(_0x865a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1bd426[0x1]={..._0x1bd426[0x1],[_0x865a12([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4c55f3};},{[_0x865a12([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x865a12([0x68,0x69,0x67,0x68])}),_0x9a9f5a[_0x865a12([0x6f,0x6e])](_0x865a12([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3d54ed=>{_0x2dd730(_0x3d54ed[_0x865a12([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xc16d4a=!0x0,_0x33b9af(_0x3d54ed[_0x865a12([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x865a12([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x865a12([0x6c,0x6f,0x77])}),_0x5eede2[_0x865a12([0x74,0x68,0x65,0x6e])](()=>{_0xc16d4a||_0x4a2c85(_0x865a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x578a18(){return _0x9a9f5a[_0x865a12([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x865a12([0x76,0x69,0x65,0x77])][_0x865a12([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x865a12([0x61,0x75,0x74,0x6f]);}function _0xbab7d9(){_0x9a9f5a[_0x865a12([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x865a12([0x76,0x69,0x65,0x77])][_0x865a12([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x865a12([0x61,0x75,0x74,0x6f]);}}function _0x2067a6(_0x2178ad){const _0x8d6610=[new window[(_0x865a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1abbc8=>setTimeout(_0x1abbc8,0x574601e9^_0x50f30e)),_0x5eede2[_0x865a12([0x74,0x68,0x65,0x6e])](()=>new window[(_0x865a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3168f5=>{let _0x11f88c=0x0;_0x9a9f5a[_0x865a12([0x6d,0x6f,0x64,0x65,0x6c])][_0x865a12([0x6f,0x6e])](_0x865a12([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2f73c7,_0x17fad0)=>{_0x17fad0[0x0][_0x865a12([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x11f88c++,_0x11f88c==(0x574f3edd^_0x50f30e)&&(_0x3168f5(),_0x2f73c7[_0x865a12([0x6f,0x66,0x66])]());});}))];return window[_0x865a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x865a12([0x72,0x61,0x63,0x65])](_0x8d6610)[_0x865a12([0x74,0x68,0x65,0x6e])](()=>_0x2178ad);}async function _0x3386f4(){await _0x5eede2,_0x9a9f5a[_0x865a12([0x6d,0x6f,0x64,0x65,0x6c])][_0x865a12([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x57c907,_0x9a9f5a[_0x865a12([0x6d,0x6f,0x64,0x65,0x6c])][_0x865a12([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x57c907,_0x9a9f5a[_0x865a12([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x865a12([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2f54c2(_0x12f57a){const _0x17b47f=_0x100309();_0x9a9f5a[_0x17b47f]=_0x865a12([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])+_0x12f57a,_0x12f57a!=_0x865a12([0x56,0x61,0x6c,0x69,0x64])&&_0x3386f4();}function _0x100309(){const _0x55646c=window[_0x865a12([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x865a12([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x865a12([0x6e,0x6f,0x77])]())[_0x865a12([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x865a12([0x2e]),'');let _0x2b8953=_0x865a12([0x72]);for(let _0x14ea05=0x0;_0x14ea05<_0x55646c[_0x865a12([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14ea05+=0x2){let _0x290060=window[_0x865a12([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55646c[_0x865a12([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14ea05,_0x14ea05+0x2));_0x290060>=_0x2412aa[_0x865a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x290060-=_0x2412aa[_0x865a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2b8953+=_0x2412aa[_0x290060];}return _0x2b8953;}function _0x450d54(){const _0x4a5bb4=_0x56d59c[_0x865a12([0x73,0x70,0x6c,0x69,0x74])](_0x865a12([0x2e]));if(0x3!=_0x4a5bb4[_0x865a12([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x37cfc6(_0x4a5bb4[0x1]);function _0x37cfc6(_0x5b12b3){const _0x1392fb=_0xb383ba(_0x5b12b3);return _0x1392fb&&_0x40017f()?_0x1392fb:null;function _0x40017f(){const _0xbec279=_0x1392fb[_0x865a12([0x6a,0x74,0x69])],_0x441bb7=window[_0x865a12([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbec279[_0x865a12([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xbec279[_0x865a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x51a6db={..._0x1392fb,[_0x865a12([0x6a,0x74,0x69])]:_0xbec279[_0x865a12([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xbec279[_0x865a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x51a6db[_0x865a12([0x76,0x63])],_0x2ea768(_0x51a6db)==_0x441bb7;}}}async function _0x1067ed(){let _0x431810=!0x0;try{const _0x381aae=_0x56d59c[_0x865a12([0x73,0x70,0x6c,0x69,0x74])](_0x865a12([0x2e])),[_0x10b39f,_0x3fa2eb,_0x5806c9]=_0x381aae;return _0x2d4b10(_0x10b39f),await _0x238f75(_0x10b39f,_0x3fa2eb,_0x5806c9),_0x431810;}catch{return!0x1;}function _0x2d4b10(_0x532d48){const _0x421578=_0xb383ba(_0x532d48);_0x421578&&_0x421578[_0x865a12([0x61,0x6c,0x67])]==_0x865a12([0x45,0x53,0x32,0x35,0x36])||(_0x431810=!0x1);}async function _0x238f75(_0x5358e6,_0x24a7e1,_0x2c70a8){const _0x45752f=window[_0x865a12([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x865a12([0x66,0x72,0x6f,0x6d])](_0x136c28(_0x2c70a8),_0x452135=>_0x452135[_0x865a12([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5c4f5d=new window[(_0x865a12([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x865a12([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5358e6+_0x865a12([0x2e])+_0x24a7e1),_0x6f8062=window[_0x865a12([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x865a12([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x6f8062)return;const _0x5a3743=await _0x6f8062[_0x865a12([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x865a12([0x6a,0x77,0x6b]),_0x429f4f,{[_0x865a12([0x6e,0x61,0x6d,0x65])]:_0x865a12([0x45,0x43,0x44,0x53,0x41]),[_0x865a12([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x865a12([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x865a12([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x6f8062[_0x865a12([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x865a12([0x6e,0x61,0x6d,0x65])]:_0x865a12([0x45,0x43,0x44,0x53,0x41]),[_0x865a12([0x68,0x61,0x73,0x68])]:{[_0x865a12([0x6e,0x61,0x6d,0x65])]:_0x865a12([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a3743,_0x45752f,_0x5c4f5d)||(_0x431810=!0x1);}}function _0xb383ba(_0x5c3856){return _0x5c3856[_0x865a12([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x865a12([0x65,0x79]))?JSON[_0x865a12([0x70,0x61,0x72,0x73,0x65])](_0x136c28(_0x5c3856)):null;}function _0x136c28(_0x219dfc){return window[_0x865a12([0x61,0x74,0x6f,0x62])](_0x219dfc[_0x865a12([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x865a12([0x2b]))[_0x865a12([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x865a12([0x2f])));}function _0x2ea768(_0x46e008){let _0x11f76c=0x1505;function _0x531c10(_0x2075ae){for(let _0x1b782c=0x0;_0x1b782c<_0x2075ae[_0x865a12([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b782c++){const _0x5eb455=_0x2075ae[_0x865a12([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1b782c);_0x11f76c=(_0x11f76c<<0x5)+_0x11f76c+_0x5eb455,_0x11f76c&=_0x11f76c;}}function _0x5232a4(_0x4da199){Array[_0x865a12([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4da199)?_0x4da199[_0x865a12([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5232a4):_0x4da199&&typeof _0x4da199==_0x865a12([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x865a12([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4da199)[_0x865a12([0x73,0x6f,0x72,0x74])]()[_0x865a12([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x100af3,_0x2dffd7])=>{_0x531c10(_0x100af3),_0x5232a4(_0x2dffd7);}):_0x531c10(window[_0x865a12([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4da199));}return _0x5232a4(_0x46e008),_0x11f76c>>>0x0;}function _0x581593(_0x126a59){return _0x126a59[_0x865a12([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x865a12([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x865a12([0x30]));}function _0x344998(_0x332fe9){return _0x332fe9[_0x865a12([0x73,0x70,0x6c,0x69,0x74])]('')[_0x865a12([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x865a12([0x6a,0x6f,0x69,0x6e])]('');}function _0x57c907(){}function _0x865a12(_0x2600db){const _0x2d2268=_0x51ba;return _0x2600db[_0x2d2268(0x1e7)](_0x1529b4=>String[_0x2d2268(0x19a)](_0x1529b4))[_0x2d2268(0x1f5)]('');}_0x2f54c2(await _0x56a37b());}(this);}[_0x41433a(0x1b0)](){const _0x4167f9=_0x41433a;this[_0x4167f9(0x1cd)][_0x4167f9(0x1ee)](_0x25f992=>{const _0x577051=_0x4167f9;_0x577051(0x1ef)!==_0x25f992[_0x577051(0x1d6)]&&this[_0x577051(0x1c5)][_0x577051(0x1d2)][_0x577051(0x1a9)](_0x25f992);});}[_0x41433a(0x1e2)](){const _0x124eb8=_0x41433a;for(const _0x400994 of this[_0x124eb8(0x1c5)][_0x124eb8(0x1c9)][_0x124eb8(0x1c0)][_0x124eb8(0x1c3)][_0x124eb8(0x1ba)]({'includeChangesInGraveyard':!0x0})){if(_0x124eb8(0x1a3)!==_0x400994[_0x124eb8(0x1b2)]||_0x124eb8(0x1bd)!==_0x400994[_0x124eb8(0x1ed)])return;this[_0x124eb8(0x1cd)][_0x124eb8(0x1e9)](_0x400994[_0x124eb8(0x1f0)][_0x124eb8(0x1ec)]);}}[_0x41433a(0x1bc)](){const _0x359e88=_0x41433a;this[_0x359e88(0x1c5)][_0x359e88(0x1c9)][_0x359e88(0x1ab)][_0x359e88(0x1d5)](_0x359e88(0x1bd),{'inheritAllFrom':_0x359e88(0x200)});}[_0x41433a(0x1a5)](){const _0x5aaa6b=_0x41433a,_0x218371=this[_0x5aaa6b(0x1c5)][_0x5aaa6b(0x1c8)];_0x218371[_0x5aaa6b(0x1d7)](_0x5aaa6b(0x193))[_0x5aaa6b(0x1f9)]({'model':_0x5aaa6b(0x1bd),'view':{'name':_0x5aaa6b(0x1df),'classes':_0x5aaa6b(0x192)}}),_0x218371[_0x5aaa6b(0x1d7)](_0x5aaa6b(0x1fe))[_0x5aaa6b(0x1a6)]({'model':_0x5aaa6b(0x1bd),'view':(_0x548d4b,{writer:_0x19af35})=>this[_0x5aaa6b(0x19c)](_0x19af35,!0x0)}),_0x218371[_0x5aaa6b(0x1d7)](_0x5aaa6b(0x1c4))[_0x5aaa6b(0x1a6)]({'model':_0x5aaa6b(0x1bd),'view':(_0x3e2154,{writer:_0x597dc9})=>{const _0x49e105=_0x5aaa6b;this[_0x49e105(0x1cd)][_0x49e105(0x1e9)](_0x3e2154);const _0x1bf776=this[_0x49e105(0x19c)](_0x597dc9);return _0x5a77bb(_0x1bf776,_0x597dc9,{'label':_0x2f4768(this[_0x49e105(0x1c5)][_0x49e105(0x1a1)],_0x49e105(0x19b))});}}),this[_0x5aaa6b(0x1c5)][_0x5aaa6b(0x1ac)][_0x5aaa6b(0x1b4)]({'name':_0x5aaa6b(0x1df),'classes':_0x5aaa6b(0x192)}),this[_0x5aaa6b(0x1c5)][_0x5aaa6b(0x1d2)][_0x5aaa6b(0x1fb)]['on'](_0x5aaa6b(0x1de),this[_0x5aaa6b(0x1f8)](),{'priority':_0x5aaa6b(0x197)});}[_0x41433a(0x19c)](_0x109fbb,_0x4ea4a3=!0x1){const _0x16d997=_0x41433a,{locale:_0x511bb3}=this[_0x16d997(0x1c5)],_0x365044=_0x109fbb[_0x16d997(0x1dc)](_0x16d997(0x1df),{'class':_0x16d997(0x192)+(0x0===this[_0x16d997(0x1be)][_0x16d997(0x1fa)]?_0x16d997(0x1b3):''),...!_0x4ea4a3&&{'data-table-of-contents-label':_0x2f4768(_0x511bb3,_0x16d997(0x19b))}});0x0===this[_0x16d997(0x1be)][_0x16d997(0x1fa)]&&!0x1===_0x4ea4a3&&_0x109fbb[_0x16d997(0x1a3)](_0x109fbb[_0x16d997(0x1bf)](_0x365044,_0x16d997(0x19e)),_0x109fbb[_0x16d997(0x1dc)]('p',{'class':_0x16d997(0x1ea)},[_0x109fbb[_0x16d997(0x1da)](_0x2f4768(_0x511bb3,_0x16d997(0x1e5)))]));const _0x47197b=_0x4ea4a3?'':'['+_0x2f4768(_0x511bb3,_0x16d997(0x1a8))+']';let _0x474210=_0x365044;return this[_0x16d997(0x1be)][_0x16d997(0x1ee)]((_0x1f2645,_0x7a8aae,_0x4e08ae)=>{const _0x16a545=_0x16d997,_0x311c44=this[_0x16a545(0x1c5)][_0x16a545(0x1c9)][_0x16a545(0x1ae)](_0x1f2645[_0x16a545(0x1b7)],{'ignoreWhitespaces':!0x0}),_0x47de0a=_0x311c44?_0x1f2645[_0x16a545(0x1f3)]:_0x47197b,_0x51ccce=_0x1f2645[_0x16a545(0x1b7)][_0x16a545(0x1d8)](this[_0x16a545(0x1ff)]),_0x3d6c98=_0x109fbb[_0x16a545(0x1dc)]('a',{'href':'#'+_0x51ccce,...!_0x4ea4a3&&{'tabindex':'-1'}},[_0x109fbb[_0x16a545(0x1da)](_0x47de0a)]),_0x5eb1cb=this[_0x16a545(0x1c5)][_0x16a545(0x1e8)][_0x16a545(0x1ce)](_0x16a545(0x1c2));_0x109fbb[_0x16a545(0x202)](_0x16a545(0x195),_0x7a8aae,_0x3d6c98);const _0x351873=_0x109fbb[_0x16a545(0x1dc)]('li',null,[_0x311c44||!_0x4ea4a3&&_0x5eb1cb?_0x3d6c98:_0x109fbb[_0x16a545(0x1da)]('')]),_0x211d97=_0x7a8aae?_0x4e08ae[_0x7a8aae-0x1][_0x16a545(0x1aa)]:0x0,_0x462e8f=Math[_0x16a545(0x1f1)](_0x1f2645[_0x16a545(0x1aa)]-_0x211d97);if(_0x1f2645[_0x16a545(0x1aa)]>_0x211d97){const _0x5363a9=S(_0x351873,_0x462e8f,_0x109fbb);_0x109fbb[_0x16a545(0x1a3)](_0x109fbb[_0x16a545(0x1bf)](_0x474210,_0x16a545(0x19e)),_0x5363a9);}else{const _0x5ec02a=function(_0x7cdcf1,_0x2ce6e7){const _0x423eb4=_0x16a545;return _0x7cdcf1[_0x423eb4(0x1bb)]({'includeSelf':!0x0,'parentFirst':!0x0})[_0x423eb4(0x1f4)](_0x9362e3=>_0x9362e3['is'](_0x423eb4(0x19f),'ol'))[_0x2ce6e7];}(_0x474210,_0x462e8f);_0x109fbb[_0x16a545(0x1a3)](_0x109fbb[_0x16a545(0x1bf)](_0x5ec02a,_0x16a545(0x19e)),_0x351873);}_0x474210=_0x351873;}),_0x365044;}[_0x41433a(0x1d3)](_0x580d99){const _0x1f1cba=_0x41433a,_0x210cf8=this[_0x1f1cba(0x1be)][_0x580d99][_0x1f1cba(0x1b7)];this[_0x1f1cba(0x1c5)][_0x1f1cba(0x1c9)][_0x1f1cba(0x1e6)](_0x1d17f6=>{const _0x5d4f26=_0x1f1cba;_0x1d17f6[_0x5d4f26(0x1b5)](_0x210cf8,0x0);}),this[_0x1f1cba(0x1c5)][_0x1f1cba(0x1d2)][_0x1f1cba(0x196)][_0x1f1cba(0x1e1)]({'alignToTop':!0x0,'forceScroll':!0x0});}[_0x41433a(0x1f8)](){return(_0x4ffd9a,_0x2186b8)=>{const _0x583333=_0x51ba,_0x420f6b=_0x2186b8[_0x583333(0x1fb)],_0x30dd82=_0x420f6b[_0x583333(0x1c6)](_0x2186b8[_0x583333(0x205)]),_0x3851cb=_0x420f6b[_0x583333(0x1e4)](_0x30dd82);_0x3851cb['is'](_0x583333(0x19f),_0x583333(0x1bd))&&(_0x2186b8[_0x583333(0x203)]=this[_0x583333(0x1c5)][_0x583333(0x1c9)][_0x583333(0x1bf)](_0x3851cb,0x0),_0x4ffd9a[_0x583333(0x1cc)]());};}}function S(_0x4195ec,_0x134e67,_0xf27b28){const _0x13da0e=_0x41433a;return 0x1===_0x134e67?_0xf27b28[_0x13da0e(0x1dc)]('ol',null,[_0x4195ec]):_0xf27b28[_0x13da0e(0x1dc)]('ol',null,[_0xf27b28[_0x13da0e(0x1dc)]('li',null,[S(_0x4195ec,_0x134e67-0x1,_0xf27b28)])]);}function _0x3825(){const _0x19cedb=['163644dEotEm','conversion','model','target','DocumentOutlineUtils','stop','_tableOfContentsElements','get','130atdXKE','listenTo','2545yLmbHx','editing','_handleScrollToHeading','isOfficialPlugin','register','rootName','for','getAttribute','758923jZJjEW','createText','isPremiumPlugin','createContainerElement','2uHuQyh','viewToModelPosition','div','insertTableOfContents','scrollToTheSelection','_trackNewToCElements','domEvent','toModelElement','No\x20headings\x20were\x20found\x20in\x20the\x20document.','change','map','config','add','table-of-contents__placeholder','pluginName','nodeAfter','name','forEach','$graveyard','position','abs','headingId.modelAttributeName','text','filter','join','getCustomProperty','preventDefault','_redirectMapper','elementToElement','length','mapper','13BSWIqi','3772nWGOqP','dataDowncast','_headingIdModelAttributeName','$blockObject','plugins','setCustomProperty','modelPosition','$capture','viewPosition','27OkgPTm','table-of-contents','upcast','2344152axhovL','tableOfContentsHeadingIndex','view','high','TableOfContentsEditing','commands','fromCharCode','Table\x20of\x20contents','_createTableOfContents','outlineDefinitions','end','element','click','locale','href','insert','isInteger','_defineConverters','elementToStructure','2596701trdUBd','Empty\x20heading','reconvertItem','level','schema','data','afterInit','hasContent','headingId','_updateTableOfContentsElements','34054692ZjGlHk','type','\x20table-of-contents_empty','registerRawContentMatcher','setSelection','requires','modelElement','2008510nbSQXS','24jPcciq','getChanges','getAncestors','_defineSchema','tableOfContents','_currentOutlineDefinitions','createPositionAt','document','init','documentOutline.showEmptyHeadings','differ','editingDowncast','editor','findMappedViewAncestor'];_0x3825=function(){return _0x19cedb;};return _0x3825();}
|
|
23
|
+
const _0x22d180=_0x3e9d;(function(_0x555923,_0x4615f3){const _0x486b55=_0x3e9d,_0x38a868=_0x555923();while(!![]){try{const _0x3f4b4e=-parseInt(_0x486b55(0xe2))/0x1*(-parseInt(_0x486b55(0xc1))/0x2)+parseInt(_0x486b55(0xfb))/0x3*(-parseInt(_0x486b55(0xe1))/0x4)+parseInt(_0x486b55(0x110))/0x5*(parseInt(_0x486b55(0x124))/0x6)+parseInt(_0x486b55(0x12c))/0x7+parseInt(_0x486b55(0xdc))/0x8+-parseInt(_0x486b55(0x107))/0x9+-parseInt(_0x486b55(0x10b))/0xa;if(_0x3f4b4e===_0x4615f3)break;else _0x38a868['push'](_0x38a868['shift']());}catch(_0x2b7369){_0x38a868['push'](_0x38a868['shift']());}}}(_0x31e6,0x28bde));function _0x31e6(){const _0x33a095=['domEvent','_handleScrollToHeading','isOfficialPlugin','stop','add','editor','setSelection','nodeAfter','DocumentOutlineUtils','level','fromCharCode','2281712reNKmm','scrollToTheSelection','type','tableOfContents','differ','814372QfjIWt','17faWOMU','editing','forEach','join','_tableOfContentsElements','reconvertItem','viewToModelPosition','_currentOutlineDefinitions','getAttribute','registerRawContentMatcher','afterInit','name','register','getAncestors','createText','element','_defineConverters','plugins','_createTableOfContents','locale','$capture','pluginName','href','$blockObject','dataDowncast','3veLGaE','table-of-contents__placeholder','rootName','_defineSchema','modelElement','headingId.modelAttributeName','elementToStructure','conversion','table-of-contents','getCustomProperty','setCustomProperty','listenTo','2301750QBMXVI','isPremiumPlugin','abs','change','2081260GffNwu','view','findMappedViewAncestor','\x20table-of-contents_empty','hasContent','230JgCpWF','high','end','Table\x20of\x20contents','_redirectMapper','modelPosition','upcast','map','headingId','getChanges','insertTableOfContents','for','schema','commands','text','createContainerElement','init','editingDowncast','config','outlineDefinitions','19170OqOfzn','No\x20headings\x20were\x20found\x20in\x20the\x20document.','isInteger','_headingIdModelAttributeName','TableOfContentsEditing','mapper','filter','model','847238ePggwi','requires','viewPosition','target','Empty\x20heading','document','$graveyard','33074NNsRKg','length','position','click','toModelElement','insert','data','elementToElement','preventDefault','div','get','_updateTableOfContentsElements','createPositionAt','documentOutline.showEmptyHeadings','tableOfContentsHeadingIndex','_trackNewToCElements'];_0x31e6=function(){return _0x33a095;};return _0x31e6();}import{Plugin as _0x302849}from'ckeditor5/src/core.js';import{toWidget as _0x41cf06,Widget as _0xe71fb1}from'ckeditor5/src/widget.js';import{uid as _0x16c34b}from'ckeditor5/src/utils.js';import{TableOfContentsCommand as _0x1f9ade}from'./tableofcontentscommand.js';function _0x3e9d(_0x3e4e32,_0x456241){const _0x31e681=_0x31e6();return _0x3e9d=function(_0x3e9d5b,_0x3a169a){_0x3e9d5b=_0x3e9d5b-0xbe;let _0x199c06=_0x31e681[_0x3e9d5b];return _0x199c06;},_0x3e9d(_0x3e4e32,_0x456241);}import'../../theme/tableofcontents.css';import{DocumentOutlineUtils as _0x4eba22}from'../documentoutline/documentoutlineutils.js';import{HeadingId as _0x46e910}from'./headingid.js';import{getTranslation as _0x52d8c0}from'../utils/common-translations.js';export class TableOfContentsEditing extends _0x302849{static get[_0x22d180(0xf7)](){const _0x357cda=_0x22d180;return _0x357cda(0x128);}static get[_0x22d180(0xd3)](){return!0x0;}static get[_0x22d180(0x108)](){return!0x0;}static get[_0x22d180(0x12d)](){return[_0xe71fb1,_0x4eba22,_0x46e910];}[_0x22d180(0xe9)];[_0x22d180(0xe6)];[_0x22d180(0x127)];constructor(_0x15bfc3){const _0x1874fd=_0x22d180;super(_0x15bfc3),this[_0x1874fd(0xe9)]=[],this[_0x1874fd(0xe6)]=new Set(),this[_0x1874fd(0x127)]=_0x1874fd(0x118);}[_0x22d180(0x120)](){const _0x5cf358=_0x22d180,_0x1e8142=this[_0x5cf358(0xd6)],_0x43a734=_0x1e8142[_0x5cf358(0xe3)][_0x5cf358(0x10c)][_0x5cf358(0xbf)];_0x1e8142[_0x5cf358(0x122)][_0x5cf358(0xcb)](_0x5cf358(0x100))&&(this[_0x5cf358(0x127)]=_0x1e8142[_0x5cf358(0x122)][_0x5cf358(0xcb)](_0x5cf358(0x100))),this[_0x5cf358(0x106)](_0x43a734,_0x5cf358(0xc4),(_0x42b67b,_0x11a464)=>{const _0x22b231=_0x5cf358;if(!_0x11a464[_0x22b231(0x12f)])return;const _0x371d2f=_0x11a464[_0x22b231(0x12f)][_0x22b231(0x104)](_0x22b231(0xcf));Number[_0x22b231(0x126)](_0x371d2f)&&(_0x11a464[_0x22b231(0xd1)][_0x22b231(0xc9)](),_0x42b67b[_0x22b231(0xd4)](),this[_0x22b231(0xd2)](_0x371d2f));},{'priority':_0x5cf358(0x111),'context':_0x5cf358(0xf6)}),this[_0x5cf358(0xfe)](),this[_0x5cf358(0xf2)](),_0x1e8142[_0x5cf358(0x11d)][_0x5cf358(0xd5)](_0x5cf358(0x11a),new _0x1f9ade(_0x1e8142)),(_0x1e8142[_0x5cf358(0xf3)][_0x5cf358(0xcb)](_0x5cf358(0xd9))['on'](_0x5cf358(0x10a),(_0x5b0277,_0x22ffbc)=>{const _0x4d705a=_0x5cf358;this[_0x4d705a(0xe9)]=_0x22ffbc[_0x4d705a(0x123)],this[_0x4d705a(0xcc)]();}),this[_0x5cf358(0x106)](_0x1e8142[_0x5cf358(0x12b)][_0x5cf358(0xbf)],_0x5cf358(0x10a),()=>{const _0xd5e94=_0x5cf358;this[_0xd5e94(0xd0)]();}));}[_0x22d180(0xec)](){!async function(_0xd9cec1){const _0x4ef0f2=_0x74f21a([0x5a,0x63,0x30,0x42,0x43,0x48,0x69,0x49,0x46,0x6c,0x78,0x51,0x56,0x57,0x58,0x44,0x45,0x39,0x4f,0x4b,0x72,0x79,0x55,0x6e,0x36,0x62,0x61,0x65,0x4e,0x75,0x67,0x32,0x41,0x66,0x77,0x31,0x71,0x33,0x70,0x34,0x37,0x59,0x50,0x6f,0x73,0x74,0x7a,0x38,0x76,0x64,0x4d,0x6b,0x6a,0x6d,0x53,0x52,0x47,0x68,0x54,0x4c,0x35,0x4a]),_0x1af456=0x79c31665,_0x258d30=0x79c47a0d^_0x1af456,_0x20c345=window[_0x74f21a([0x44,0x61,0x74,0x65])][_0x74f21a([0x6e,0x6f,0x77])](),_0x480374=_0xd9cec1[_0x74f21a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4a4910=new window[(_0x74f21a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ec96c=>{_0x480374[_0x74f21a([0x6f,0x6e,0x63,0x65])](_0x74f21a([0x72,0x65,0x61,0x64,0x79]),_0x4ec96c);}),_0x1fc24a={[_0x74f21a([0x6b,0x74,0x79])]:_0x74f21a([0x45,0x43]),[_0x74f21a([0x75,0x73,0x65])]:_0x74f21a([0x73,0x69,0x67]),[_0x74f21a([0x63,0x72,0x76])]:_0x74f21a([0x50,0x2d,0x32,0x35,0x36]),[_0x74f21a([0x78])]:_0x74f21a([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]),[_0x74f21a([0x79])]:_0x74f21a([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]),[_0x74f21a([0x61,0x6c,0x67])]:_0x74f21a([0x45,0x53,0x32,0x35,0x36])},_0x1b1413=_0x480374[_0x74f21a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x74f21a([0x67,0x65,0x74])](_0x74f21a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd5f807(){let _0x2ebe06,_0x3959f8=null,_0x5b45a5=null;try{if(_0x1b1413==_0x74f21a([0x47,0x50,0x4c]))return _0x74f21a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ebe06=_0x375ae2(),!_0x2ebe06)return _0x74f21a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ebe06[_0x74f21a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b45a5=_0x3e38bc(_0x2ebe06[_0x74f21a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ebe06[_0x74f21a([0x6a,0x74,0x69])])),await _0x5b535b()?_0x24ce74()?_0x340a0f()?_0x74f21a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1fa7dd()?(_0x2ebe06[_0x74f21a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x74f21a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3959f8=_0x244cfd(_0x74f21a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ebe06[_0x74f21a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x74f21a([0x74,0x72,0x69,0x61,0x6c])&&(_0x3959f8=_0x244cfd(_0x74f21a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5d9e21()):_0x74f21a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x74f21a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x74f21a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x74f21a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x340a0f(){const _0x5d8b4d=[_0x74f21a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x74f21a([0x74,0x72,0x69,0x61,0x6c])][_0x74f21a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ebe06[_0x74f21a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x20c345/0x3e8:0xe10*_0x258d30;return _0x2ebe06[_0x74f21a([0x65,0x78,0x70])]<_0x5d8b4d;}function _0x24ce74(){const _0x503ec1=_0x2ebe06[_0x74f21a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x503ec1&&(!!_0x503ec1[_0x74f21a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x74f21a([0x2a]))||(!!_0x503ec1[_0x74f21a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x74f21a([0x54,0x4f,0x43]))||!!_0x503ec1[_0x74f21a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x74f21a([0x50,0x50]))));}function _0x1fa7dd(){const _0x212707=_0x3e9d,_0x1ea63a=_0x2ebe06[_0x74f21a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1ea63a||0x0==_0x1ea63a[_0x74f21a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4c0693}=new URL(window[_0x74f21a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x212707(0xf8)]);if(_0x1ea63a[_0x74f21a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c0693))return!0x0;const _0x89c205=_0x4c0693[_0x74f21a([0x73,0x70,0x6c,0x69,0x74])](_0x74f21a([0x2e]));return _0x1ea63a[_0x74f21a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e811a=>_0x1e811a[_0x74f21a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x74f21a([0x2a])))[_0x74f21a([0x6d,0x61,0x70])](_0x5d3667=>_0x5d3667[_0x74f21a([0x73,0x70,0x6c,0x69,0x74])](_0x74f21a([0x2e])))[_0x74f21a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x367ab2=>_0x367ab2[_0x74f21a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x89c205[_0x74f21a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x74f21a([0x6d,0x61,0x70])](_0x448cf3=>Array(_0x89c205[_0x74f21a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x448cf3[_0x74f21a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x74f21a([0x66,0x69,0x6c,0x6c])](_0x448cf3[0x0]===_0x74f21a([0x2a])?_0x74f21a([0x2a]):'')[_0x74f21a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x448cf3))[_0x74f21a([0x73,0x6f,0x6d,0x65])](_0x18db26=>_0x89c205[_0x74f21a([0x65,0x76,0x65,0x72,0x79])]((_0x3b2268,_0x4d2568)=>_0x18db26[_0x4d2568]===_0x3b2268||_0x18db26[_0x4d2568]===_0x74f21a([0x2a])));}function _0x5d9e21(){return _0x3959f8&&_0x5b45a5?new window[(_0x74f21a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x407566,_0x2e2433)=>{_0x3959f8[_0x74f21a([0x74,0x68,0x65,0x6e])](_0x407566,_0x2e2433),_0x5b45a5[_0x74f21a([0x74,0x68,0x65,0x6e])](_0x45dd42=>{_0x45dd42!=_0x74f21a([0x56,0x61,0x6c,0x69,0x64])&&_0x407566(_0x45dd42);},_0x2e2433);}):_0x3959f8||_0x5b45a5||_0x74f21a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3e38bc(_0x283314,_0x3840de){return new window[(_0x74f21a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e73d4=>{if(_0x1db482())return _0x5e73d4(_0x74f21a([0x56,0x61,0x6c,0x69,0x64]));_0x1c4e36(),_0x480374[_0x74f21a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x74f21a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x362f1b=!0x1;const _0x4de0cb=_0x16c34b();function _0xfe1914(_0x3e68aa){return!!_0x3e68aa&&(typeof _0x3e68aa===_0x74f21a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e68aa===_0x74f21a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e68aa[_0x74f21a([0x74,0x68,0x65,0x6e])]===_0x74f21a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e68aa[_0x74f21a([0x63,0x61,0x74,0x63,0x68])]===_0x74f21a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x447cc1(_0x4b2dce){_0x311665(_0x4b2dce)[_0x74f21a([0x74,0x68,0x65,0x6e])](_0x5120c2=>{if(!_0x5120c2||_0x5120c2[_0x74f21a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x74f21a([0x6f,0x6b]))return _0x74f21a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xd74ce7(_0x5505d5(_0x4de0cb+_0x3840de))!=_0x5120c2[_0x74f21a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x74f21a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x74f21a([0x56,0x61,0x6c,0x69,0x64]);})[_0x74f21a([0x74,0x68,0x65,0x6e])](_0xf4fce9=>(_0x43881f(),_0xf4fce9),()=>{const _0x37e083=_0x572591();return null==_0x37e083?(_0x43881f(),_0x74f21a([0x56,0x61,0x6c,0x69,0x64])):_0x74f21a(_0x20c345-_0x37e083>(0x5dcf9265^_0x1af456)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x74f21a([0x74,0x68,0x65,0x6e])](_0x5e73d4)[_0x74f21a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5e73d4(_0x74f21a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xbda063=0x79f5f8e5^_0x1af456;function _0x43881f(){const _0x3835d1=_0x74f21a([0x6c,0x6c,0x63,0x74,0x2d])+_0xd74ce7(_0x5505d5(_0x283314)),_0x72022a=_0x1efab0(_0xd74ce7(window[_0x74f21a([0x4d,0x61,0x74,0x68])][_0x74f21a([0x63,0x65,0x69,0x6c])](_0x20c345/_0xbda063)));window[_0x74f21a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x74f21a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3835d1,_0x72022a);}function _0x572591(){const _0x2573ba=_0x74f21a([0x6c,0x6c,0x63,0x74,0x2d])+_0xd74ce7(_0x5505d5(_0x283314)),_0x3deb0a=window[_0x74f21a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x74f21a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2573ba);return _0x3deb0a?window[_0x74f21a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1efab0(_0x3deb0a),0x10)*_0xbda063:null;}function _0x311665(_0x2ae3c6){return new window[(_0x74f21a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f156b,_0x54774f)=>{_0x2ae3c6[_0x74f21a([0x74,0x68,0x65,0x6e])](_0x4f156b,_0x54774f),window[_0x74f21a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x54774f,0x79c2c2a5^_0x1af456);});}}_0x480374[_0x74f21a([0x6f,0x6e])](_0x74f21a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x52da4a,_0x3e5619)=>{if(_0x3e5619[0x0]!=_0x283314)return _0x5e73d4(_0x74f21a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3e5619[0x1]={..._0x3e5619[0x1],[_0x74f21a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4de0cb};},{[_0x74f21a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x74f21a([0x68,0x69,0x67,0x68])}),_0x480374[_0x74f21a([0x6f,0x6e])](_0x74f21a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x46421f=>{_0xfe1914(_0x46421f[_0x74f21a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x362f1b=!0x0,_0x447cc1(_0x46421f[_0x74f21a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x74f21a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x74f21a([0x6c,0x6f,0x77])}),_0x4a4910[_0x74f21a([0x74,0x68,0x65,0x6e])](()=>{_0x362f1b||_0x5e73d4(_0x74f21a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1db482(){return _0x480374[_0x74f21a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x74f21a([0x76,0x69,0x65,0x77])][_0x74f21a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x74f21a([0x61,0x75,0x74,0x6f]);}function _0x1c4e36(){_0x480374[_0x74f21a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x74f21a([0x76,0x69,0x65,0x77])][_0x74f21a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x74f21a([0x61,0x75,0x74,0x6f]);}}function _0x244cfd(_0x26b7b8){const _0x428940=[new window[(_0x74f21a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x114120=>setTimeout(_0x114120,0x79ca28a9^_0x1af456)),_0x4a4910[_0x74f21a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x74f21a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3341f3=>{let _0x5c26c8=0x0;_0x480374[_0x74f21a([0x6d,0x6f,0x64,0x65,0x6c])][_0x74f21a([0x6f,0x6e])](_0x74f21a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3b14c3,_0x989ade)=>{_0x989ade[0x0][_0x74f21a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5c26c8++,_0x5c26c8==(0x79c3179d^_0x1af456)&&(_0x3341f3(),_0x3b14c3[_0x74f21a([0x6f,0x66,0x66])]());});}))];return window[_0x74f21a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x74f21a([0x72,0x61,0x63,0x65])](_0x428940)[_0x74f21a([0x74,0x68,0x65,0x6e])](()=>_0x26b7b8);}async function _0x373a2f(){await _0x4a4910,_0x480374[_0x74f21a([0x6d,0x6f,0x64,0x65,0x6c])][_0x74f21a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x28c72c,_0x480374[_0x74f21a([0x6d,0x6f,0x64,0x65,0x6c])][_0x74f21a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x28c72c,_0x480374[_0x74f21a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x74f21a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x584dee(_0x442878){const _0x5e4649=_0x546121();_0x480374[_0x5e4649]=_0x74f21a([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])+_0x442878,_0x442878!=_0x74f21a([0x56,0x61,0x6c,0x69,0x64])&&_0x373a2f();}function _0x546121(){const _0xf1fe5f=window[_0x74f21a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x74f21a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x74f21a([0x6e,0x6f,0x77])]())[_0x74f21a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x74f21a([0x2e]),'');let _0x211961=_0x74f21a([0x5a]);for(let _0x3ae1fd=0x0;_0x3ae1fd<_0xf1fe5f[_0x74f21a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ae1fd+=0x2){let _0x42ad1b=window[_0x74f21a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf1fe5f[_0x74f21a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ae1fd,_0x3ae1fd+0x2));_0x42ad1b>=_0x4ef0f2[_0x74f21a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x42ad1b-=_0x4ef0f2[_0x74f21a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x211961+=_0x4ef0f2[_0x42ad1b];}return _0x211961;}function _0x375ae2(){const _0x9dfa17=_0x1b1413[_0x74f21a([0x73,0x70,0x6c,0x69,0x74])](_0x74f21a([0x2e]));if(0x3!=_0x9dfa17[_0x74f21a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1eff3f(_0x9dfa17[0x1]);function _0x1eff3f(_0x25720b){const _0x43d510=_0x5b262e(_0x25720b);return _0x43d510&&_0xa58720()?_0x43d510:null;function _0xa58720(){const _0x24592a=_0x43d510[_0x74f21a([0x6a,0x74,0x69])],_0x418737=window[_0x74f21a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24592a[_0x74f21a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24592a[_0x74f21a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x42392d={..._0x43d510,[_0x74f21a([0x6a,0x74,0x69])]:_0x24592a[_0x74f21a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x24592a[_0x74f21a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x42392d[_0x74f21a([0x76,0x63])],_0x5505d5(_0x42392d)==_0x418737;}}}async function _0x5b535b(){let _0x3914d4=!0x0;try{const _0x3b1ea=_0x1b1413[_0x74f21a([0x73,0x70,0x6c,0x69,0x74])](_0x74f21a([0x2e])),[_0x3635ef,_0x36dad5,_0x169e12]=_0x3b1ea;return _0x2acd1f(_0x3635ef),await _0x4c3728(_0x3635ef,_0x36dad5,_0x169e12),_0x3914d4;}catch{return!0x1;}function _0x2acd1f(_0x259cdc){const _0x38c3ea=_0x5b262e(_0x259cdc);_0x38c3ea&&_0x38c3ea[_0x74f21a([0x61,0x6c,0x67])]==_0x74f21a([0x45,0x53,0x32,0x35,0x36])||(_0x3914d4=!0x1);}async function _0x4c3728(_0x2c0def,_0xbe74f7,_0x378568){const _0x37424f=window[_0x74f21a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x74f21a([0x66,0x72,0x6f,0x6d])](_0x2d56a8(_0x378568),_0x472d5a=>_0x472d5a[_0x74f21a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x35fcd2=new window[(_0x74f21a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x74f21a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2c0def+_0x74f21a([0x2e])+_0xbe74f7),_0x4094d4=window[_0x74f21a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x74f21a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4094d4)return;const _0x18366d=await _0x4094d4[_0x74f21a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x74f21a([0x6a,0x77,0x6b]),_0x1fc24a,{[_0x74f21a([0x6e,0x61,0x6d,0x65])]:_0x74f21a([0x45,0x43,0x44,0x53,0x41]),[_0x74f21a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x74f21a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x74f21a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4094d4[_0x74f21a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x74f21a([0x6e,0x61,0x6d,0x65])]:_0x74f21a([0x45,0x43,0x44,0x53,0x41]),[_0x74f21a([0x68,0x61,0x73,0x68])]:{[_0x74f21a([0x6e,0x61,0x6d,0x65])]:_0x74f21a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x18366d,_0x37424f,_0x35fcd2)||(_0x3914d4=!0x1);}}function _0x5b262e(_0x383a04){return _0x383a04[_0x74f21a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x74f21a([0x65,0x79]))?JSON[_0x74f21a([0x70,0x61,0x72,0x73,0x65])](_0x2d56a8(_0x383a04)):null;}function _0x2d56a8(_0x1fb573){return window[_0x74f21a([0x61,0x74,0x6f,0x62])](_0x1fb573[_0x74f21a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x74f21a([0x2b]))[_0x74f21a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x74f21a([0x2f])));}function _0x5505d5(_0x18987e){let _0x1ee2af=0x1505;function _0x1985d7(_0x341178){for(let _0x56219b=0x0;_0x56219b<_0x341178[_0x74f21a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56219b++){const _0x54cd4a=_0x341178[_0x74f21a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x56219b);_0x1ee2af=(_0x1ee2af<<0x5)+_0x1ee2af+_0x54cd4a,_0x1ee2af&=_0x1ee2af;}}function _0x441c51(_0x537f51){Array[_0x74f21a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x537f51)?_0x537f51[_0x74f21a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x441c51):_0x537f51&&typeof _0x537f51==_0x74f21a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x74f21a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x537f51)[_0x74f21a([0x73,0x6f,0x72,0x74])]()[_0x74f21a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x594e60,_0x2bca90])=>{_0x1985d7(_0x594e60),_0x441c51(_0x2bca90);}):_0x1985d7(window[_0x74f21a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x537f51));}return _0x441c51(_0x18987e),_0x1ee2af>>>0x0;}function _0xd74ce7(_0x3dd1ff){return _0x3dd1ff[_0x74f21a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x74f21a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x74f21a([0x30]));}function _0x1efab0(_0x5a848d){return _0x5a848d[_0x74f21a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x74f21a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x74f21a([0x6a,0x6f,0x69,0x6e])]('');}function _0x28c72c(){}function _0x74f21a(_0x32b459){const _0x25ae68=_0x3e9d;return _0x32b459[_0x25ae68(0x117)](_0x48b5a2=>String[_0x25ae68(0xdb)](_0x48b5a2))[_0x25ae68(0xe5)]('');}_0x584dee(await _0xd5f807());}(this);}[_0x22d180(0xcc)](){const _0xcc0a4f=_0x22d180;this[_0xcc0a4f(0xe6)][_0xcc0a4f(0xe4)](_0x2c673b=>{const _0x56e2cc=_0xcc0a4f;_0x56e2cc(0xc0)!==_0x2c673b[_0x56e2cc(0xfd)]&&this[_0x56e2cc(0xd6)][_0x56e2cc(0xe3)][_0x56e2cc(0xe7)](_0x2c673b);});}[_0x22d180(0xd0)](){const _0x31a0cf=_0x22d180;for(const _0x363ed3 of this[_0x31a0cf(0xd6)][_0x31a0cf(0x12b)][_0x31a0cf(0xbf)][_0x31a0cf(0xe0)][_0x31a0cf(0x119)]({'includeChangesInGraveyard':!0x0})){if(_0x31a0cf(0xc6)!==_0x363ed3[_0x31a0cf(0xde)]||_0x31a0cf(0xdf)!==_0x363ed3[_0x31a0cf(0xed)])return;this[_0x31a0cf(0xe6)][_0x31a0cf(0xd5)](_0x363ed3[_0x31a0cf(0xc3)][_0x31a0cf(0xd8)]);}}[_0x22d180(0xfe)](){const _0x4f65c5=_0x22d180;this[_0x4f65c5(0xd6)][_0x4f65c5(0x12b)][_0x4f65c5(0x11c)][_0x4f65c5(0xee)](_0x4f65c5(0xdf),{'inheritAllFrom':_0x4f65c5(0xf9)});}[_0x22d180(0xf2)](){const _0x286512=_0x22d180,_0x4db64c=this[_0x286512(0xd6)][_0x286512(0x102)];_0x4db64c[_0x286512(0x11b)](_0x286512(0x116))[_0x286512(0xc8)]({'model':_0x286512(0xdf),'view':{'name':_0x286512(0xca),'classes':_0x286512(0x103)}}),_0x4db64c[_0x286512(0x11b)](_0x286512(0xfa))[_0x286512(0x101)]({'model':_0x286512(0xdf),'view':(_0x2694c4,{writer:_0x1c803f})=>this[_0x286512(0xf4)](_0x1c803f,!0x0)}),_0x4db64c[_0x286512(0x11b)](_0x286512(0x121))[_0x286512(0x101)]({'model':_0x286512(0xdf),'view':(_0xb7c255,{writer:_0x126db2})=>{const _0x2f12f4=_0x286512;this[_0x2f12f4(0xe6)][_0x2f12f4(0xd5)](_0xb7c255);const _0x16a142=this[_0x2f12f4(0xf4)](_0x126db2);return _0x41cf06(_0x16a142,_0x126db2,{'label':_0x52d8c0(this[_0x2f12f4(0xd6)][_0x2f12f4(0xf5)],_0x2f12f4(0x113))});}}),this[_0x286512(0xd6)][_0x286512(0xc7)][_0x286512(0xeb)]({'name':_0x286512(0xca),'classes':_0x286512(0x103)}),this[_0x286512(0xd6)][_0x286512(0xe3)][_0x286512(0x129)]['on'](_0x286512(0xe8),this[_0x286512(0x114)](),{'priority':_0x286512(0x111)});}[_0x22d180(0xf4)](_0x5afc08,_0x51ee56=!0x1){const _0x1a353f=_0x22d180,{locale:_0x2285dc}=this[_0x1a353f(0xd6)],_0x1a46d2=_0x5afc08[_0x1a353f(0x11f)](_0x1a353f(0xca),{'class':_0x1a353f(0x103)+(0x0===this[_0x1a353f(0xe9)][_0x1a353f(0xc2)]?_0x1a353f(0x10e):''),...!_0x51ee56&&{'data-table-of-contents-label':_0x52d8c0(_0x2285dc,_0x1a353f(0x113))}});0x0===this[_0x1a353f(0xe9)][_0x1a353f(0xc2)]&&!0x1===_0x51ee56&&_0x5afc08[_0x1a353f(0xc6)](_0x5afc08[_0x1a353f(0xcd)](_0x1a46d2,_0x1a353f(0x112)),_0x5afc08[_0x1a353f(0x11f)]('p',{'class':_0x1a353f(0xfc)},[_0x5afc08[_0x1a353f(0xf0)](_0x52d8c0(_0x2285dc,_0x1a353f(0x125)))]));const _0x18a805=_0x51ee56?'':'['+_0x52d8c0(_0x2285dc,_0x1a353f(0xbe))+']';let _0x527d19=_0x1a46d2;return this[_0x1a353f(0xe9)][_0x1a353f(0xe4)]((_0x390e4a,_0x43ebb5,_0x96f5ce)=>{const _0x122129=_0x1a353f,_0x2920cb=this[_0x122129(0xd6)][_0x122129(0x12b)][_0x122129(0x10f)](_0x390e4a[_0x122129(0xff)],{'ignoreWhitespaces':!0x0}),_0xda3f22=_0x2920cb?_0x390e4a[_0x122129(0x11e)]:_0x18a805,_0x7a590b=_0x390e4a[_0x122129(0xff)][_0x122129(0xea)](this[_0x122129(0x127)]),_0x334f2f=_0x5afc08[_0x122129(0x11f)]('a',{'href':'#'+_0x7a590b,...!_0x51ee56&&{'tabindex':'-1'}},[_0x5afc08[_0x122129(0xf0)](_0xda3f22)]),_0x433761=this[_0x122129(0xd6)][_0x122129(0x122)][_0x122129(0xcb)](_0x122129(0xce));_0x5afc08[_0x122129(0x105)](_0x122129(0xcf),_0x43ebb5,_0x334f2f);const _0x4807b6=_0x5afc08[_0x122129(0x11f)]('li',null,[_0x2920cb||!_0x51ee56&&_0x433761?_0x334f2f:_0x5afc08[_0x122129(0xf0)]('')]),_0x3194e4=_0x43ebb5?_0x96f5ce[_0x43ebb5-0x1][_0x122129(0xda)]:0x0,_0x45f1df=Math[_0x122129(0x109)](_0x390e4a[_0x122129(0xda)]-_0x3194e4);if(_0x390e4a[_0x122129(0xda)]>_0x3194e4){const _0x49118a=N(_0x4807b6,_0x45f1df,_0x5afc08);_0x5afc08[_0x122129(0xc6)](_0x5afc08[_0x122129(0xcd)](_0x527d19,_0x122129(0x112)),_0x49118a);}else{const _0x2dfccd=function(_0xcc742d,_0x442792){const _0x159c88=_0x122129;return _0xcc742d[_0x159c88(0xef)]({'includeSelf':!0x0,'parentFirst':!0x0})[_0x159c88(0x12a)](_0x2702ac=>_0x2702ac['is'](_0x159c88(0xf1),'ol'))[_0x442792];}(_0x527d19,_0x45f1df);_0x5afc08[_0x122129(0xc6)](_0x5afc08[_0x122129(0xcd)](_0x2dfccd,_0x122129(0x112)),_0x4807b6);}_0x527d19=_0x4807b6;}),_0x1a46d2;}[_0x22d180(0xd2)](_0x5da4fa){const _0x13eee6=_0x22d180,_0x2fb6df=this[_0x13eee6(0xe9)][_0x5da4fa][_0x13eee6(0xff)];this[_0x13eee6(0xd6)][_0x13eee6(0x12b)][_0x13eee6(0x10a)](_0x1f896f=>{const _0x148c53=_0x13eee6;_0x1f896f[_0x148c53(0xd7)](_0x2fb6df,0x0);}),this[_0x13eee6(0xd6)][_0x13eee6(0xe3)][_0x13eee6(0x10c)][_0x13eee6(0xdd)]({'alignToTop':!0x0,'forceScroll':!0x0});}[_0x22d180(0x114)](){return(_0x37e8d6,_0x1b35c6)=>{const _0x2a1c47=_0x3e9d,_0x42cc27=_0x1b35c6[_0x2a1c47(0x129)],_0x3b9d83=_0x42cc27[_0x2a1c47(0x10d)](_0x1b35c6[_0x2a1c47(0x12e)]),_0x525de4=_0x42cc27[_0x2a1c47(0xc5)](_0x3b9d83);_0x525de4['is'](_0x2a1c47(0xf1),_0x2a1c47(0xdf))&&(_0x1b35c6[_0x2a1c47(0x115)]=this[_0x2a1c47(0xd6)][_0x2a1c47(0x12b)][_0x2a1c47(0xcd)](_0x525de4,0x0),_0x37e8d6[_0x2a1c47(0xd4)]());};}}function N(_0x5906d7,_0x32bec8,_0x151b29){const _0x5be2d6=_0x22d180;return 0x1===_0x32bec8?_0x151b29[_0x5be2d6(0x11f)]('ol',null,[_0x5906d7]):_0x151b29[_0x5be2d6(0x11f)]('ol',null,[_0x151b29[_0x5be2d6(0x11f)]('li',null,[N(_0x5906d7,_0x32bec8-0x1,_0x151b29)])]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x368f62=_0x14b6;(function(_0xaff49c,_0x3706db){const _0x24d252=_0x14b6,_0x4d9ed0=_0xaff49c();while(!![]){try{const _0x24386a=-parseInt(_0x24d252(0x20c))/0x1+parseInt(_0x24d252(0x1eb))/0x2+-parseInt(_0x24d252(0x1e7))/0x3+-parseInt(_0x24d252(0x206))/0x4*(parseInt(_0x24d252(0x20a))/0x5)+-parseInt(_0x24d252(0x209))/0x6*(parseInt(_0x24d252(0x1fa))/0x7)+-parseInt(_0x24d252(0x1de))/0x8*(parseInt(_0x24d252(0x1e5))/0x9)+-parseInt(_0x24d252(0x1fd))/0xa*(-parseInt(_0x24d252(0x202))/0xb);if(_0x24386a===_0x3706db)break;else _0x4d9ed0['push'](_0x4d9ed0['shift']());}catch(_0xe4d385){_0x4d9ed0['push'](_0x4d9ed0['shift']());}}}(_0x4476,0x32a78));function _0x14b6(_0x17e197,_0x5245af){const _0x447603=_0x4476();return _0x14b6=function(_0x14b665,_0x1a42ec){_0x14b665=_0x14b665-0x1d5;let _0x1c3778=_0x447603[_0x14b665];return _0x1c3778;},_0x14b6(_0x17e197,_0x5245af);}import{ButtonView as _0x2e153a,MenuBarMenuListItemButtonView as _0x1de70f}from'ckeditor5/src/ui.js';import{Plugin as _0xf39ee2}from'ckeditor5/src/core.js';import{IconTableOfContents as _0x5c145b}from'ckeditor5/src/icons.js';import{getTranslation as _0x279abf}from'../utils/common-translations.js';function _0x4476(){const _0xa7dc30=['6787duXAqc','destroy','_showLicenseError','trialLimit','379180HViLfi','invalid','insertTableOfContents','18IjHspT','10GCaXWu','init','311275cKyATR','featureNotAllowed','isEnabled','Table\x20of\x20contents','focus','locale','listenTo','_licenseKeyCheckInterval','componentFactory','_createButton','menuBar:tableOfContents','16xKAsil','bind','TableOfContentsUI','usageLimit','isPremiumPlugin','licenseKey','config','1761795DXhhWR','isOfficialPlugin','131856zUyVvo','tooltip','execute','pluginName','795834ZnnaNh','tableOfContentsLicenseKeyDomainLimit','domainLimit','evaluationLimit','add','tableOfContentsLicenseKeyInvalid','tableOfContentsLicenseKeyTrialLimit','expired','tableOfContentsLicenseKeyExpired','tableOfContentsLicenseKeyValid','commands','TableOfContents','tableOfContentsLicenseKeyNotAllowed','tableOfContentsLicenseKeyUsageLimit','editing','820757BcqFzi','tableOfContentsLicenseKeyEvaluationLimit','editor','17790FkcDFu','view','set','tableOfContents','get'];_0x4476=function(){return _0xa7dc30;};return _0x4476();}export class TableOfContentsUI extends _0xf39ee2{[_0x368f62(0x1e3)];[_0x368f62(0x1da)];static get[_0x368f62(0x1ea)](){const _0x1ca8ad=_0x368f62;return _0x1ca8ad(0x1e0);}static get[_0x368f62(0x1e6)](){return!0x0;}static get[_0x368f62(0x1e2)](){return!0x0;}[_0x368f62(0x20b)](){const _0x59d722=_0x368f62,_0x1163cf=this[_0x59d722(0x1fc)];_0x1163cf['ui'][_0x59d722(0x1db)][_0x59d722(0x1ef)](_0x59d722(0x200),()=>{const _0x14e428=_0x59d722,_0x2c9f9c=this[_0x14e428(0x1dc)](_0x2e153a);return _0x2c9f9c[_0x14e428(0x1e8)]=!0x0,_0x2c9f9c;}),_0x1163cf['ui'][_0x59d722(0x1db)][_0x59d722(0x1ef)](_0x59d722(0x1dd),()=>this[_0x59d722(0x1dc)](_0x1de70f)),this[_0x59d722(0x1e3)]=this[_0x59d722(0x1fc)][_0x59d722(0x1e4)][_0x59d722(0x201)](_0x59d722(0x1e3));const _0x5dd7c5=this[_0x59d722(0x1fc)];this[_0x59d722(0x1da)]=setInterval(()=>{const _0x140a68=_0x59d722;let _0x125786;for(const _0x55419b in _0x5dd7c5){const _0x47a439=_0x55419b,_0x5d606c=_0x5dd7c5[_0x47a439];if(_0x140a68(0x1f4)==_0x5d606c||_0x140a68(0x1f0)==_0x5d606c||_0x140a68(0x1f3)==_0x5d606c||_0x140a68(0x1ec)==_0x5d606c||_0x140a68(0x1f7)==_0x5d606c||_0x140a68(0x1fb)==_0x5d606c||_0x140a68(0x1f1)==_0x5d606c||_0x140a68(0x1f8)==_0x5d606c){delete _0x5dd7c5[_0x47a439],_0x125786=_0x5d606c,clearInterval(this[_0x140a68(0x1da)]),this[_0x140a68(0x1da)]=void 0x0;break;}}_0x140a68(0x1f0)==_0x125786&&_0x5dd7c5[_0x140a68(0x204)](_0x140a68(0x207)),_0x140a68(0x1f3)==_0x125786&&_0x5dd7c5[_0x140a68(0x204)](_0x140a68(0x1f2)),_0x140a68(0x1ec)==_0x125786&&_0x5dd7c5[_0x140a68(0x204)](_0x140a68(0x1ed)),_0x140a68(0x1f7)==_0x125786&&_0x5dd7c5[_0x140a68(0x204)](_0x140a68(0x20d),_0x140a68(0x1f6)),_0x140a68(0x1fb)==_0x125786&&_0x5dd7c5[_0x140a68(0x204)](_0x140a68(0x1ee)),_0x140a68(0x1f1)==_0x125786&&_0x5dd7c5[_0x140a68(0x204)](_0x140a68(0x205)),_0x140a68(0x1f8)==_0x125786&&_0x5dd7c5[_0x140a68(0x204)](_0x140a68(0x1e1));},0x3e8);}[_0x368f62(0x1dc)](_0x3cdb5a){const _0x12f01a=_0x368f62,_0x44af70=this[_0x12f01a(0x1fc)],_0x4cb689=_0x44af70[_0x12f01a(0x1d8)],_0xb43629=_0x44af70[_0x12f01a(0x1f5)][_0x12f01a(0x201)](_0x12f01a(0x208)),_0x266c87=new _0x3cdb5a(_0x4cb689);return _0x266c87[_0x12f01a(0x1ff)]({'label':_0x279abf(_0x4cb689,_0x12f01a(0x1d6)),'icon':_0x5c145b}),_0x266c87[_0x12f01a(0x1df)](_0x12f01a(0x1d5))['to'](_0xb43629,_0x12f01a(0x1d5)),this[_0x12f01a(0x1d9)](_0x266c87,_0x12f01a(0x1e9),()=>{const _0x2bfe4b=_0x12f01a;_0x44af70[_0x2bfe4b(0x1e9)](_0x2bfe4b(0x208)),_0x44af70[_0x2bfe4b(0x1f9)][_0x2bfe4b(0x1fe)][_0x2bfe4b(0x1d7)]();}),_0x266c87;}[_0x368f62(0x203)](){const _0x119edc=_0x368f62;super[_0x119edc(0x203)](),this[_0x119edc(0x1da)]&&clearInterval(this[_0x119edc(0x1da)]);}}
|
package/src/tableofcontents.d.ts
CHANGED
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
9
|
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
-
import TableOfContentsEditing from './tableofcontents/tableofcontentsediting.js';
|
|
11
|
-
import TableOfContentsUI from './tableofcontents/tableofcontentsui.js';
|
|
10
|
+
import { TableOfContentsEditing } from './tableofcontents/tableofcontentsediting.js';
|
|
11
|
+
import { TableOfContentsUI } from './tableofcontents/tableofcontentsui.js';
|
|
12
12
|
/**
|
|
13
13
|
* The table of contents feature.
|
|
14
14
|
*
|
|
15
15
|
* For a detailed overview, check the {@glink features/table-of-contents Table of contents} feature documentation.
|
|
16
16
|
*/
|
|
17
|
-
export
|
|
17
|
+
export declare class TableOfContents extends Plugin {
|
|
18
18
|
/**
|
|
19
19
|
* @inheritDoc
|
|
20
20
|
*/
|
package/src/tableofcontents.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x342eb9=_0x1078;(function(_0x305a14,_0x23fcde){var _0x17e332=_0x1078,_0x28d211=_0x305a14();while(!![]){try{var _0x1ea718=-parseInt(_0x17e332(0x9b))/0x1+parseInt(_0x17e332(0x92))/0x2*(parseInt(_0x17e332(0x9c))/0x3)+-parseInt(_0x17e332(0x9a))/0x4*(-parseInt(_0x17e332(0x98))/0x5)+-parseInt(_0x17e332(0xa1))/0x6*(parseInt(_0x17e332(0x93))/0x7)+-parseInt(_0x17e332(0x96))/0x8+parseInt(_0x17e332(0x9f))/0x9*(-parseInt(_0x17e332(0x95))/0xa)+parseInt(_0x17e332(0x97))/0xb*(parseInt(_0x17e332(0x94))/0xc);if(_0x1ea718===_0x23fcde)break;else _0x28d211['push'](_0x28d211['shift']());}catch(_0x123518){_0x28d211['push'](_0x28d211['shift']());}}}(_0x10ef,0x35880));function _0x10ef(){var _0x137af6=['50TIsqTD','2813391qDOpHb','24VuxFZY','70hJgtfE','3092336hJVGYB','4940771mREbDm','1811675vcvwBk','isPremiumPlugin','4pffEML','251327Txvbvp','26370DlMBUx','isOfficialPlugin','pluginName','284607Fqtxci','requires','6enVTiv','TableOfContents'];_0x10ef=function(){return _0x137af6;};return _0x10ef();}import{Plugin as _0xab5a37}from'ckeditor5/src/core.js';import{TableOfContentsEditing as _0x15f678}from'./tableofcontents/tableofcontentsediting.js';import{TableOfContentsUI as _0x5d455b}from'./tableofcontents/tableofcontentsui.js';function _0x1078(_0x615348,_0x2529cf){var _0x10effa=_0x10ef();return _0x1078=function(_0x10785a,_0xc2042b){_0x10785a=_0x10785a-0x92;var _0x323d87=_0x10effa[_0x10785a];return _0x323d87;},_0x1078(_0x615348,_0x2529cf);}export class TableOfContents extends _0xab5a37{static get[_0x342eb9(0xa0)](){return[_0x15f678,_0x5d455b];}static get[_0x342eb9(0x9e)](){var _0x802edf=_0x342eb9;return _0x802edf(0xa2);}static get[_0x342eb9(0x9d)](){return!0x0;}static get[_0x342eb9(0x99)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x2f427e,_0x91b816){const t=_0x2f427e['t'];switch(_0x91b816){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 _0x91b816;}}
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
|
|
11
11
|
|
|
12
12
|
:root {
|
|
13
|
-
--ck-table-of-contents-padding: 1em;
|
|
14
|
-
--ck-table-of-contents-line-height: 1.5;
|
|
15
|
-
--ck-table-of-contents-items-start-padding: 24px;
|
|
13
|
+
--ck-content-table-of-contents-padding: 1em;
|
|
14
|
+
--ck-content-table-of-contents-line-height: 1.5;
|
|
15
|
+
--ck-content-table-of-contents-items-start-padding: 24px;
|
|
16
16
|
--ck-table-of-contents-border-color: var(--ck-color-base-border);
|
|
17
17
|
--ck-table-of-contents-label-background-color: hsl(0, 0%, 46%);
|
|
18
18
|
--ck-table-of-contents-background-color: var(--ck-color-base-foreground);
|
|
@@ -28,21 +28,21 @@
|
|
|
28
28
|
|
|
29
29
|
& .table-of-contents__placeholder {
|
|
30
30
|
margin: 0;
|
|
31
|
-
padding: var(--ck-table-of-contents-padding);
|
|
31
|
+
padding: var(--ck-content-table-of-contents-padding);
|
|
32
32
|
font-style: italic;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
& > ol {
|
|
36
|
-
padding: var(--ck-table-of-contents-padding);
|
|
36
|
+
padding: var(--ck-content-table-of-contents-padding);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
& ol {
|
|
40
40
|
margin: 0;
|
|
41
|
-
line-height: var(--ck-table-of-contents-line-height);
|
|
41
|
+
line-height: var(--ck-content-table-of-contents-line-height);
|
|
42
42
|
list-style-type: none;
|
|
43
43
|
|
|
44
44
|
& ol {
|
|
45
|
-
padding-inline-start: var(--ck-table-of-contents-items-start-padding);
|
|
45
|
+
padding-inline-start: var(--ck-content-table-of-contents-items-start-padding);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
& li {
|