@ckeditor/ckeditor5-footnotes 47.3.0 → 47.4.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/LICENSE.md +1 -1
- package/README.md +1 -1
- package/build/footnotes.js +2 -2
- package/dist/index-content.css +1 -1
- package/dist/index-editor.css +1 -1
- package/dist/index.css +4 -4
- package/dist/index.js +2 -2
- package/dist/translations/af.d.ts +1 -1
- package/dist/translations/af.js +2 -2
- package/dist/translations/af.umd.js +2 -2
- package/dist/translations/ar.d.ts +1 -1
- package/dist/translations/ar.js +2 -2
- package/dist/translations/ar.umd.js +2 -2
- package/dist/translations/ast.d.ts +1 -1
- package/dist/translations/ast.js +2 -2
- package/dist/translations/ast.umd.js +2 -2
- package/dist/translations/az.d.ts +1 -1
- package/dist/translations/az.js +2 -2
- package/dist/translations/az.umd.js +2 -2
- package/dist/translations/be.d.ts +1 -1
- package/dist/translations/be.js +2 -2
- package/dist/translations/be.umd.js +2 -2
- package/dist/translations/bg.d.ts +1 -1
- package/dist/translations/bg.js +2 -2
- package/dist/translations/bg.umd.js +2 -2
- package/dist/translations/bn.d.ts +1 -1
- package/dist/translations/bn.js +2 -2
- package/dist/translations/bn.umd.js +2 -2
- package/dist/translations/bs.d.ts +1 -1
- package/dist/translations/bs.js +2 -2
- package/dist/translations/bs.umd.js +2 -2
- package/dist/translations/ca.d.ts +1 -1
- package/dist/translations/ca.js +2 -2
- package/dist/translations/ca.umd.js +2 -2
- package/dist/translations/cs.d.ts +1 -1
- package/dist/translations/cs.js +2 -2
- package/dist/translations/cs.umd.js +2 -2
- package/dist/translations/da.d.ts +1 -1
- package/dist/translations/da.js +2 -2
- package/dist/translations/da.umd.js +2 -2
- package/dist/translations/de-ch.d.ts +1 -1
- package/dist/translations/de-ch.js +2 -2
- package/dist/translations/de-ch.umd.js +2 -2
- package/dist/translations/de.d.ts +1 -1
- package/dist/translations/de.js +2 -2
- package/dist/translations/de.umd.js +2 -2
- package/dist/translations/el.d.ts +1 -1
- package/dist/translations/el.js +2 -2
- package/dist/translations/el.umd.js +2 -2
- package/dist/translations/en-au.d.ts +1 -1
- package/dist/translations/en-au.js +2 -2
- package/dist/translations/en-au.umd.js +2 -2
- package/dist/translations/en-gb.d.ts +1 -1
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en-gb.umd.js +2 -2
- package/dist/translations/en.d.ts +1 -1
- package/dist/translations/en.js +2 -2
- package/dist/translations/en.umd.js +2 -2
- package/dist/translations/eo.d.ts +1 -1
- package/dist/translations/eo.js +2 -2
- package/dist/translations/eo.umd.js +2 -2
- package/dist/translations/es-co.d.ts +1 -1
- package/dist/translations/es-co.js +2 -2
- package/dist/translations/es-co.umd.js +2 -2
- package/dist/translations/es.d.ts +1 -1
- package/dist/translations/es.js +2 -2
- package/dist/translations/es.umd.js +2 -2
- package/dist/translations/et.d.ts +1 -1
- package/dist/translations/et.js +2 -2
- package/dist/translations/et.umd.js +2 -2
- package/dist/translations/eu.d.ts +1 -1
- package/dist/translations/eu.js +2 -2
- package/dist/translations/eu.umd.js +2 -2
- package/dist/translations/fa.d.ts +1 -1
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fa.umd.js +2 -2
- package/dist/translations/fi.d.ts +1 -1
- package/dist/translations/fi.js +2 -2
- package/dist/translations/fi.umd.js +2 -2
- package/dist/translations/fr.d.ts +1 -1
- package/dist/translations/fr.js +2 -2
- package/dist/translations/fr.umd.js +2 -2
- package/dist/translations/gl.d.ts +1 -1
- package/dist/translations/gl.js +2 -2
- package/dist/translations/gl.umd.js +2 -2
- package/dist/translations/gu.d.ts +1 -1
- package/dist/translations/gu.js +2 -2
- package/dist/translations/gu.umd.js +2 -2
- package/dist/translations/he.d.ts +1 -1
- package/dist/translations/he.js +2 -2
- package/dist/translations/he.umd.js +2 -2
- package/dist/translations/hi.d.ts +1 -1
- package/dist/translations/hi.js +2 -2
- package/dist/translations/hi.umd.js +2 -2
- package/dist/translations/hr.d.ts +1 -1
- package/dist/translations/hr.js +2 -2
- package/dist/translations/hr.umd.js +2 -2
- package/dist/translations/hu.d.ts +1 -1
- package/dist/translations/hu.js +2 -2
- package/dist/translations/hu.umd.js +2 -2
- package/dist/translations/hy.d.ts +1 -1
- package/dist/translations/hy.js +2 -2
- package/dist/translations/hy.umd.js +2 -2
- package/dist/translations/id.d.ts +1 -1
- package/dist/translations/id.js +2 -2
- package/dist/translations/id.umd.js +2 -2
- package/dist/translations/it.d.ts +1 -1
- package/dist/translations/it.js +2 -2
- package/dist/translations/it.umd.js +2 -2
- package/dist/translations/ja.d.ts +1 -1
- package/dist/translations/ja.js +2 -2
- package/dist/translations/ja.umd.js +2 -2
- package/dist/translations/jv.d.ts +1 -1
- package/dist/translations/jv.js +2 -2
- package/dist/translations/jv.umd.js +2 -2
- package/dist/translations/kk.d.ts +1 -1
- package/dist/translations/kk.js +2 -2
- package/dist/translations/kk.umd.js +2 -2
- package/dist/translations/km.d.ts +1 -1
- package/dist/translations/km.js +2 -2
- package/dist/translations/km.umd.js +2 -2
- package/dist/translations/kn.d.ts +1 -1
- package/dist/translations/kn.js +2 -2
- package/dist/translations/kn.umd.js +2 -2
- package/dist/translations/ko.d.ts +1 -1
- package/dist/translations/ko.js +2 -2
- package/dist/translations/ko.umd.js +2 -2
- package/dist/translations/ku.d.ts +1 -1
- package/dist/translations/ku.js +2 -2
- package/dist/translations/ku.umd.js +2 -2
- package/dist/translations/lt.d.ts +1 -1
- package/dist/translations/lt.js +2 -2
- package/dist/translations/lt.umd.js +2 -2
- package/dist/translations/lv.d.ts +1 -1
- package/dist/translations/lv.js +2 -2
- package/dist/translations/lv.umd.js +2 -2
- package/dist/translations/ms.d.ts +1 -1
- package/dist/translations/ms.js +2 -2
- package/dist/translations/ms.umd.js +2 -2
- package/dist/translations/nb.d.ts +1 -1
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nb.umd.js +2 -2
- package/dist/translations/ne.d.ts +1 -1
- package/dist/translations/ne.js +2 -2
- package/dist/translations/ne.umd.js +2 -2
- package/dist/translations/nl.d.ts +1 -1
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nl.umd.js +2 -2
- package/dist/translations/no.d.ts +1 -1
- package/dist/translations/no.js +2 -2
- package/dist/translations/no.umd.js +2 -2
- package/dist/translations/oc.d.ts +1 -1
- package/dist/translations/oc.js +2 -2
- package/dist/translations/oc.umd.js +2 -2
- package/dist/translations/pl.d.ts +1 -1
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pl.umd.js +2 -2
- package/dist/translations/pt-br.d.ts +1 -1
- package/dist/translations/pt-br.js +2 -2
- package/dist/translations/pt-br.umd.js +2 -2
- package/dist/translations/pt.d.ts +1 -1
- package/dist/translations/pt.js +2 -2
- package/dist/translations/pt.umd.js +2 -2
- package/dist/translations/ro.d.ts +1 -1
- package/dist/translations/ro.js +2 -2
- package/dist/translations/ro.umd.js +2 -2
- package/dist/translations/ru.d.ts +1 -1
- package/dist/translations/ru.js +2 -2
- package/dist/translations/ru.umd.js +2 -2
- package/dist/translations/si.d.ts +1 -1
- package/dist/translations/si.js +2 -2
- package/dist/translations/si.umd.js +2 -2
- package/dist/translations/sk.d.ts +1 -1
- package/dist/translations/sk.js +2 -2
- package/dist/translations/sk.umd.js +2 -2
- package/dist/translations/sl.d.ts +1 -1
- package/dist/translations/sl.js +2 -2
- package/dist/translations/sl.umd.js +2 -2
- package/dist/translations/sq.d.ts +1 -1
- package/dist/translations/sq.js +2 -2
- package/dist/translations/sq.umd.js +2 -2
- package/dist/translations/sr-latn.d.ts +1 -1
- package/dist/translations/sr-latn.js +2 -2
- package/dist/translations/sr-latn.umd.js +2 -2
- package/dist/translations/sr.d.ts +1 -1
- package/dist/translations/sr.js +2 -2
- package/dist/translations/sr.umd.js +2 -2
- package/dist/translations/sv.d.ts +1 -1
- package/dist/translations/sv.js +2 -2
- package/dist/translations/sv.umd.js +2 -2
- package/dist/translations/th.d.ts +1 -1
- package/dist/translations/th.js +2 -2
- package/dist/translations/th.umd.js +2 -2
- package/dist/translations/ti.d.ts +1 -1
- package/dist/translations/ti.js +2 -2
- package/dist/translations/ti.umd.js +2 -2
- package/dist/translations/tk.d.ts +1 -1
- package/dist/translations/tk.js +2 -2
- package/dist/translations/tk.umd.js +2 -2
- package/dist/translations/tr.d.ts +1 -1
- package/dist/translations/tr.js +2 -2
- package/dist/translations/tr.umd.js +2 -2
- package/dist/translations/tt.d.ts +1 -1
- package/dist/translations/tt.js +2 -2
- package/dist/translations/tt.umd.js +2 -2
- package/dist/translations/ug.d.ts +1 -1
- package/dist/translations/ug.js +2 -2
- package/dist/translations/ug.umd.js +2 -2
- package/dist/translations/uk.d.ts +1 -1
- package/dist/translations/uk.js +2 -2
- package/dist/translations/uk.umd.js +2 -2
- package/dist/translations/ur.d.ts +1 -1
- package/dist/translations/ur.js +2 -2
- package/dist/translations/ur.umd.js +2 -2
- package/dist/translations/uz.d.ts +1 -1
- package/dist/translations/uz.js +2 -2
- package/dist/translations/uz.umd.js +2 -2
- package/dist/translations/vi.d.ts +1 -1
- package/dist/translations/vi.js +2 -2
- package/dist/translations/vi.umd.js +2 -2
- package/dist/translations/zh-cn.d.ts +1 -1
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-cn.umd.js +2 -2
- package/dist/translations/zh.d.ts +1 -1
- package/dist/translations/zh.js +2 -2
- package/dist/translations/zh.umd.js +2 -2
- package/lang/translations/af.po +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/ast.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/be.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/bs.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en-gb.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/eo.po +1 -1
- package/lang/translations/es-co.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/eu.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/gu.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/hy.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/jv.po +1 -1
- package/lang/translations/kk.po +1 -1
- package/lang/translations/km.po +1 -1
- package/lang/translations/kn.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/ku.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nb.po +1 -1
- package/lang/translations/ne.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/oc.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/si.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sl.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/ti.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/uz.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +10 -10
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/commands/insertfootnotecommand.d.ts +1 -1
- package/src/commands/insertfootnotecommand.js +2 -2
- package/src/footnotes.d.ts +1 -1
- package/src/footnotes.js +2 -2
- package/src/footnotesclipboard.d.ts +1 -1
- package/src/footnotesclipboard.js +2 -2
- package/src/footnotesconfig.d.ts +1 -1
- package/src/footnotesconfig.js +1 -1
- package/src/footnotesediting.d.ts +1 -1
- package/src/footnotesediting.js +2 -2
- package/src/footnotesproperties/commands/footnotesstartcommand.d.ts +1 -1
- package/src/footnotesproperties/commands/footnotesstartcommand.js +2 -2
- package/src/footnotesproperties/commands/footnotesstylecommand.d.ts +1 -1
- package/src/footnotesproperties/commands/footnotesstylecommand.js +2 -2
- package/src/footnotesproperties/footnotespropertiesconfig.d.ts +1 -1
- package/src/footnotesproperties/footnotespropertiesconfig.js +2 -2
- package/src/footnotesproperties/footnotespropertiesediting.d.ts +1 -1
- package/src/footnotesproperties/footnotespropertiesediting.js +2 -2
- package/src/footnotesproperties/footnotespropertiesui.d.ts +1 -1
- package/src/footnotesproperties/footnotespropertiesui.js +2 -2
- package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.d.ts +1 -1
- package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +2 -2
- package/src/footnotesproperties.d.ts +1 -1
- package/src/footnotesproperties.js +2 -2
- package/src/footnotestracker.d.ts +1 -1
- package/src/footnotestracker.js +2 -2
- package/src/footnotesui.d.ts +1 -1
- package/src/footnotesui.js +2 -2
- package/src/index.d.ts +1 -1
- package/src/index.js +2 -2
- package/src/modelelementtracker.d.ts +1 -1
- package/src/modelelementtracker.js +2 -2
- package/theme/footnotes.css +1 -1
- package/theme/footnotesproperties.css +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xaaea3f=_0x4ae2;(function(_0x2d888d,_0x4549a0){var _0x4d9e80=_0x4ae2,_0x5ee102=_0x2d888d();while(!![]){try{var _0x1bf888=parseInt(_0x4d9e80(0xa6))/0x1*(-parseInt(_0x4d9e80(0xac))/0x2)+-parseInt(_0x4d9e80(0xa8))/0x3*(parseInt(_0x4d9e80(0xad))/0x4)+parseInt(_0x4d9e80(0xa9))/0x5*(-parseInt(_0x4d9e80(0xa4))/0x6)+parseInt(_0x4d9e80(0xa3))/0x7*(-parseInt(_0x4d9e80(0xae))/0x8)+-parseInt(_0x4d9e80(0xaf))/0x9+parseInt(_0x4d9e80(0xaa))/0xa+parseInt(_0x4d9e80(0xa7))/0xb;if(_0x1bf888===_0x4549a0)break;else _0x5ee102['push'](_0x5ee102['shift']());}catch(_0x444b0a){_0x5ee102['push'](_0x5ee102['shift']());}}}(_0x4215,0xaea31));import{Plugin as _0x174cd5}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x527f42}from'./footnotesproperties/footnotespropertiesediting.js';function _0x4ae2(_0x4f56b2,_0x30848c){var _0x421599=_0x4215();return _0x4ae2=function(_0x4ae2ea,_0x361e14){_0x4ae2ea=_0x4ae2ea-0xa2;var _0x484732=_0x421599[_0x4ae2ea];return _0x484732;},_0x4ae2(_0x4f56b2,_0x30848c);}function _0x4215(){var _0x1882f6=['90801AGUSZC','10qCPZBK','2135500WyQeWS','requires','9848GGPhhm','76SMvDzs','264488tilela','1855035cfWzQH','isOfficialPlugin','FootnotesProperties','isPremiumPlugin','161DHVomU','2732466LeFIoK','pluginName','29iNyWAI','34066692YuNmiX'];_0x4215=function(){return _0x1882f6;};return _0x4215();}import{FootnotesPropertiesUI as _0x355f61}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x174cd5{static get[_0xaaea3f(0xa5)](){var _0x223810=_0xaaea3f;return _0x223810(0xb1);}static get[_0xaaea3f(0xab)](){return[_0x527f42,_0x355f61];}static get[_0xaaea3f(0xb0)](){return!0x0;}static get[_0xaaea3f(0xa2)](){return!0x0;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/footnotestracker.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xdcdfb7=_0x2991;(function(_0x3ba36d,_0x4636a6){const _0x4c3418=_0x2991,_0x8fb832=_0x3ba36d();while(!![]){try{const _0x5bbbd6=-parseInt(_0x4c3418(0x15e))/0x1*(-parseInt(_0x4c3418(0x145))/0x2)+-parseInt(_0x4c3418(0x170))/0x3*(-parseInt(_0x4c3418(0x152))/0x4)+parseInt(_0x4c3418(0x199))/0x5*(-parseInt(_0x4c3418(0x18a))/0x6)+parseInt(_0x4c3418(0x149))/0x7+-parseInt(_0x4c3418(0x1a4))/0x8+parseInt(_0x4c3418(0x151))/0x9+-parseInt(_0x4c3418(0x1a2))/0xa;if(_0x5bbbd6===_0x4636a6)break;else _0x8fb832['push'](_0x8fb832['shift']());}catch(_0x272e80){_0x8fb832['push'](_0x8fb832['shift']());}}}(_0x2534,0xabb69));import{Plugin as _0x3ebace}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x4e18ce}from'./modelelementtracker.js';export class FootnotesTracker extends _0x3ebace{[_0xdcdfb7(0x162)]=[];[_0xdcdfb7(0x19c)]=null;[_0xdcdfb7(0x191)]=null;[_0xdcdfb7(0x16e)];[_0xdcdfb7(0x18d)];[_0xdcdfb7(0x142)];static get[_0xdcdfb7(0x164)](){const _0x39367b=_0xdcdfb7;return _0x39367b(0x167);}static get[_0xdcdfb7(0x16f)](){return!0x0;}static get[_0xdcdfb7(0x14b)](){return!0x0;}constructor(_0x471693){const _0x49abec=_0xdcdfb7;super(_0x471693),this[_0x49abec(0x16e)]=new _0x4e18ce(this[_0x49abec(0x19e)][_0x49abec(0x181)],{'elementName':_0x49abec(0x190),'getElementKey':()=>_0x49abec(0x155)}),this[_0x49abec(0x18d)]=new _0x4e18ce(this[_0x49abec(0x19e)][_0x49abec(0x181)],{'elementName':_0x49abec(0x16c),'getElementKey':_0x3385dc=>_0x3385dc[_0x49abec(0x193)](_0x49abec(0x166))}),this[_0x49abec(0x142)]=new _0x4e18ce(this[_0x49abec(0x19e)][_0x49abec(0x181)],{'elementName':_0x49abec(0x1a3),'getElementKey':_0x173ff7=>_0x173ff7[_0x49abec(0x193)](_0x49abec(0x166))});}[_0xdcdfb7(0x169)](){const _0x6f75e2=_0xdcdfb7,{editor:_0x14e1b1}=this,{model:_0x4950e5,data:_0x2d25a6}=_0x14e1b1;_0x4950e5[_0x6f75e2(0x14c)][_0x6f75e2(0x15b)](_0x233e9c=>{const _0xd57163=_0x6f75e2,_0xb4427a=_0x4950e5[_0xd57163(0x14c)][_0xd57163(0x184)][_0xd57163(0x180)]();let _0x42becb=!0x1;return this[_0xd57163(0x160)](_0x233e9c,_0xb4427a)&&(_0x42becb=!0x0),this[_0xd57163(0x17c)](_0x233e9c,_0xb4427a)&&(_0x42becb=!0x0),this[_0xd57163(0x183)](_0x233e9c,_0xb4427a)&&(_0x42becb=!0x0),this[_0xd57163(0x16a)](_0x233e9c)&&(_0x42becb=!0x0),this[_0xd57163(0x177)](_0x233e9c)&&(_0x42becb=!0x0),this[_0xd57163(0x197)](_0x233e9c)&&(_0x42becb=!0x0),_0x42becb;}),this[_0x6f75e2(0x1a1)](_0x4950e5[_0x6f75e2(0x14c)],_0x6f75e2(0x168),()=>{const _0x2eb12e=_0x6f75e2;_0x4950e5[_0x2eb12e(0x153)]({'isUndoable':!0x1},_0x7c5a57=>{const _0x3d2705=_0x2eb12e;this[_0x3d2705(0x186)](_0x7c5a57);});},{'priority':_0x6f75e2(0x17f)}),this[_0x6f75e2(0x1a1)](_0x2d25a6,_0x6f75e2(0x15f),()=>{const _0x5dc834=_0x6f75e2;this[_0x5dc834(0x162)]=[],this[_0x5dc834(0x16e)][_0x5dc834(0x187)](),this[_0x5dc834(0x18d)][_0x5dc834(0x187)](),this[_0x5dc834(0x142)][_0x5dc834(0x187)]();},{'priority':_0x6f75e2(0x17d)});}[_0xdcdfb7(0x157)](){const _0xf34c8f=_0xdcdfb7;return this[_0xf34c8f(0x19c)];}[_0xdcdfb7(0x179)](_0x1cce8e){const _0x522baf=_0xdcdfb7;return this[_0x522baf(0x162)][_0x522baf(0x176)](_0x23f9fb=>_0x23f9fb['id']===_0x1cce8e)||null;}[_0xdcdfb7(0x1a0)](){const _0x310ec3=_0xdcdfb7;return Array[_0x310ec3(0x188)](this[_0x310ec3(0x162)]);}[_0xdcdfb7(0x14f)](){const _0x1cddee=_0xdcdfb7;return this[_0x1cddee(0x191)];}[_0xdcdfb7(0x16b)](_0x4e3e14){const _0x5eb7ee=_0xdcdfb7;this[_0x5eb7ee(0x191)]=_0x4e3e14;}[_0xdcdfb7(0x15c)](_0x2b4e34,_0x4a20b2=0x0){const _0x71a3d0=_0xdcdfb7;let _0x20af06=!0x1;for(let _0x400670=_0x4a20b2;_0x400670<this[_0x71a3d0(0x162)][_0x71a3d0(0x19b)];_0x400670++)this[_0x71a3d0(0x144)](_0x2b4e34,_0x400670)&&(_0x20af06=!0x0);return _0x20af06;}[_0xdcdfb7(0x178)](_0x3b25fd,_0xb39c0e){const _0x391f1f=_0xdcdfb7,_0x2d479b=_0x3b25fd[_0x391f1f(0x16d)](_0x391f1f(0x190),{});return _0x3b25fd[_0x391f1f(0x171)](_0x2d479b,_0xb39c0e),this[_0x391f1f(0x19c)]=_0x2d479b,_0x2d479b;}[_0xdcdfb7(0x186)](_0xb726c5){const _0x3788e3=_0xdcdfb7;if(!this[_0x3788e3(0x162)][_0x3788e3(0x19b)]||this[_0x3788e3(0x19c)])return;const _0x556f7e=this[_0x3788e3(0x162)][0x0][_0x3788e3(0x17b)][_0x3788e3(0x18c)],_0x2ffd29=this[_0x3788e3(0x178)](_0xb726c5,_0x556f7e);for(const _0x3c01bc of this[_0x3788e3(0x162)])_0x3c01bc[_0x3788e3(0x15a)][_0x3788e3(0x158)]||_0xb726c5[_0x3788e3(0x14e)](_0x3c01bc[_0x3788e3(0x15a)],_0x2ffd29,_0x3788e3(0x15d));this[_0x3788e3(0x15c)](_0xb726c5);}[_0xdcdfb7(0x160)](_0x3f2010,_0x2ed691){const _0x3dd5ca=_0xdcdfb7;let _0x51a528=!0x1;const {inserted:_0x1e2773,removed:_0x146b31,moved:_0x12fcc4}=this[_0x3dd5ca(0x16e)][_0x3dd5ca(0x180)](_0x2ed691);if(_0x12fcc4[_0x3dd5ca(0x19b)]&&(this[_0x3dd5ca(0x19c)]=_0x12fcc4[0x0]),_0x1e2773[_0x3dd5ca(0x19b)]){if(_0x1e2773[_0x3dd5ca(0x19b)]>0x1||this[_0x3dd5ca(0x19c)]&&_0x1e2773[_0x3dd5ca(0x163)](_0x562ee7=>_0x562ee7!==this[_0x3dd5ca(0x19c)])){const _0x4c6be5=_0x3f2010[_0x3dd5ca(0x16d)](_0x3dd5ca(0x190),{}),_0x47c744=[];this[_0x3dd5ca(0x19c)]&&_0x47c744[_0x3dd5ca(0x161)](this[_0x3dd5ca(0x19c)]),_0x47c744[_0x3dd5ca(0x161)](..._0x1e2773),_0x3f2010[_0x3dd5ca(0x14e)](_0x4c6be5,_0x47c744[0x0],_0x3dd5ca(0x196));for(const _0x251509 of _0x47c744)_0x3f2010[_0x3dd5ca(0x198)](_0x3f2010[_0x3dd5ca(0x141)](_0x251509),_0x3f2010[_0x3dd5ca(0x159)](_0x4c6be5,_0x3dd5ca(0x15d))),_0x3f2010[_0x3dd5ca(0x18b)](_0x251509);this[_0x3dd5ca(0x19c)]=_0x4c6be5,this[_0x3dd5ca(0x15c)](_0x3f2010),_0x51a528=!0x0;}else this[_0x3dd5ca(0x19c)]=_0x1e2773[0x0];}if(_0x146b31[_0x3dd5ca(0x19b)]&&_0x3dd5ca(0x175)===this[_0x3dd5ca(0x19c)]?.[_0x3dd5ca(0x18c)][_0x3dd5ca(0x189)]){for(const _0x51b843 of this[_0x3dd5ca(0x162)])_0x3f2010[_0x3dd5ca(0x18b)](_0x51b843[_0x3dd5ca(0x17b)]),_0x51a528=!0x0;this[_0x3dd5ca(0x162)]=[],this[_0x3dd5ca(0x19c)]=null;}return _0x51a528;}[_0xdcdfb7(0x17c)](_0x339806,_0x355d6c){const _0x47140e=_0xdcdfb7;let _0x2cfea7=!0x1;const _0x187c53=this[_0x47140e(0x19e)][_0x47140e(0x17a)][_0x47140e(0x182)](_0x47140e(0x19f)),{inserted:_0xd3250d,moved:_0x24a0ff}=this[_0x47140e(0x142)][_0x47140e(0x180)](_0x355d6c);for(const _0x121206 of[..._0x24a0ff,..._0xd3250d]){const _0x3b2ae7=_0x121206[_0x47140e(0x193)](_0x47140e(0x166)),_0x2d03f3=this[_0x47140e(0x179)](_0x3b2ae7);_0x2d03f3&&(_0x2d03f3[_0x47140e(0x15a)]=_0x121206),_(_0x339806,_0x187c53,_0x121206)&&(_0x2cfea7=!0x0);}return _0x2cfea7;}[_0xdcdfb7(0x183)](_0x15f26e,_0x47ea53){const _0x59a79b=_0xdcdfb7;let _0x56b2cc=!0x1;const {removed:_0x58c233,inserted:_0x2cf1eb,moved:_0x163b83}=this[_0x59a79b(0x18d)][_0x59a79b(0x180)](_0x47ea53);for(const _0x17e6fa of _0x58c233)this[_0x59a79b(0x19d)](_0x15f26e,_0x17e6fa)&&(_0x56b2cc=!0x0);for(const _0x329f5f of _0x2cf1eb)this[_0x59a79b(0x18e)](_0x15f26e,_0x329f5f)&&(_0x56b2cc=!0x0);for(const _0x4a5572 of _0x163b83)this[_0x59a79b(0x185)](_0x15f26e,_0x4a5572)&&(_0x56b2cc=!0x0);return _0x56b2cc;}[_0xdcdfb7(0x177)](_0x1a6d4b){const _0x55c716=_0xdcdfb7;if(!this[_0x55c716(0x19c)])return!0x1;let _0x200fe0=!0x1;if(this[_0x55c716(0x19c)][_0x55c716(0x146)]!==this[_0x55c716(0x162)][_0x55c716(0x19b)]){const _0x3d9059=[];for(const _0x2aa3a5 of this[_0x55c716(0x19c)][_0x55c716(0x14d)]()){const _0x484a77=_0x2aa3a5[_0x55c716(0x193)](_0x55c716(0x166));this[_0x55c716(0x179)](_0x484a77)||(_0x3d9059[_0x55c716(0x156)](_0x2aa3a5),_0x200fe0=!0x0);}for(const _0x43b8f3 of _0x3d9059)_0x1a6d4b[_0x55c716(0x18b)](_0x43b8f3);}const _0x2a7e7a=new Set(),_0x4a9866=[];for(const _0x37f657 of this[_0x55c716(0x19c)][_0x55c716(0x14d)]()){const _0x19b4b2=_0x37f657[_0x55c716(0x193)](_0x55c716(0x166));_0x2a7e7a[_0x55c716(0x150)](_0x19b4b2)?(_0x4a9866[_0x55c716(0x156)](_0x37f657),_0x200fe0=!0x0):_0x2a7e7a[_0x55c716(0x172)](_0x19b4b2);}for(const _0x538a78 of _0x4a9866)_0x1a6d4b[_0x55c716(0x18b)](_0x538a78);return this[_0x55c716(0x19c)][_0x55c716(0x146)]||(_0x1a6d4b[_0x55c716(0x18b)](this[_0x55c716(0x19c)]),this[_0x55c716(0x19c)]=null,_0x200fe0=!0x0),_0x200fe0;}[_0xdcdfb7(0x18e)](_0x2b4752,_0x4771bf){const _0x5be653=_0xdcdfb7;if(this[_0x5be653(0x162)][_0x5be653(0x176)](_0x1cb028=>_0x1cb028[_0x5be653(0x17b)]===_0x4771bf))return!0x1;let _0x42ef63=!0x1;const _0x12439b=_0x4771bf[_0x5be653(0x193)](_0x5be653(0x166)),_0x431622=this[_0x5be653(0x162)][_0x5be653(0x19a)](_0x1761cb=>_0x1761cb['id']===_0x12439b);-0x1!==_0x431622&&(_0x2b4752[_0x5be653(0x18b)](this[_0x5be653(0x162)][_0x431622][_0x5be653(0x17b)]),this[_0x5be653(0x162)][_0x5be653(0x192)](_0x431622,0x1),_0x42ef63=!0x0);let _0x498464=this[_0x5be653(0x19c)]?function(_0x2200e3,_0x130dec){const _0x1b6032=_0x5be653;for(const _0x18153e of _0x2200e3[_0x1b6032(0x14d)]())if(_0x18153e[_0x1b6032(0x193)](_0x1b6032(0x166))===_0x130dec)return _0x18153e;return null;}(this[_0x5be653(0x19c)],_0x12439b):null;_0x498464||(_0x498464=_0x2b4752[_0x5be653(0x16d)](_0x5be653(0x1a3),{'footnoteId':_0x12439b}),this[_0x5be653(0x19c)]&&(_0x2b4752[_0x5be653(0x14e)](_0x498464,this[_0x5be653(0x19c)],_0x5be653(0x15d)),_0x42ef63=!0x0));const _0x66e1c2={'id':_0x12439b,'reference':_0x4771bf,'definition':_0x498464},_0x573d1c=I(this[_0x5be653(0x19e)][_0x5be653(0x181)],this[_0x5be653(0x162)],_0x4771bf);this[_0x5be653(0x162)][_0x5be653(0x192)](_0x573d1c,0x0,_0x66e1c2);let _0x10951f=_0x573d1c;return-0x1!==_0x431622&&(_0x10951f=Math[_0x5be653(0x154)](_0x573d1c,_0x431622)),this[_0x5be653(0x15c)](_0x2b4752,_0x10951f)&&(_0x42ef63=!0x0),_0x42ef63;}[_0xdcdfb7(0x19d)](_0x2d565c,_0x43a07e){const _0x46c0c3=_0xdcdfb7,_0x14f482=this[_0x46c0c3(0x162)][_0x46c0c3(0x19a)](_0x539557=>_0x539557['id']===_0x43a07e);if(-0x1===_0x14f482)return!0x1;let _0x149174=!0x1;const _0x22038a=this[_0x46c0c3(0x162)][_0x14f482];return _0x46c0c3(0x175)!==_0x22038a[_0x46c0c3(0x15a)][_0x46c0c3(0x18c)][_0x46c0c3(0x189)]&&(_0x2d565c[_0x46c0c3(0x18b)](_0x22038a[_0x46c0c3(0x15a)]),_0x149174=!0x0),this[_0x46c0c3(0x162)][_0x46c0c3(0x192)](_0x14f482,0x1),this[_0x46c0c3(0x15c)](_0x2d565c,_0x14f482)&&(_0x149174=!0x0),_0x149174;}[_0xdcdfb7(0x185)](_0xaa844e,_0x21ef70){const _0x13341a=_0xdcdfb7,_0xe84272=_0x21ef70[_0x13341a(0x193)](_0x13341a(0x166)),_0x5435f4=this[_0x13341a(0x162)][_0x13341a(0x19a)](_0x10ccda=>_0x10ccda['id']===_0xe84272),_0x4512d7=this[_0x13341a(0x162)][_0x5435f4];let _0x49a3ee=!0x1;_0x4512d7[_0x13341a(0x17b)]=_0x21ef70,this[_0x13341a(0x162)][_0x13341a(0x192)](_0x5435f4,0x1);const _0x58217b=I(this[_0x13341a(0x19e)][_0x13341a(0x181)],this[_0x13341a(0x162)],_0x21ef70);return this[_0x13341a(0x162)][_0x13341a(0x192)](_0x58217b,0x0,_0x4512d7),this[_0x13341a(0x15c)](_0xaa844e,Math[_0x13341a(0x154)](_0x5435f4,_0x58217b))&&(_0x49a3ee=!0x0),_0x49a3ee;}[_0xdcdfb7(0x144)](_0xbbb27,_0xda3a3e){const _0x41d047=_0xdcdfb7;if(!this[_0x41d047(0x19c)])return!0x1;const _0x2e8f8f=this[_0x41d047(0x162)][_0xda3a3e];let _0x452b58;return _0x452b58=this[_0x41d047(0x191)]?this[_0x41d047(0x191)]({'footnote':_0x2e8f8f,'container':this[_0x41d047(0x19c)],'digits':String(this[_0x41d047(0x162)][_0x41d047(0x19b)])[_0x41d047(0x19b)],'value':_0xda3a3e+0x1}):String(_0xda3a3e+0x1),_0x2e8f8f[_0x41d047(0x17b)][_0x41d047(0x193)](_0x41d047(0x173))!=_0x452b58&&(_0xbbb27[_0x41d047(0x165)](_0x41d047(0x173),_0x452b58,_0x2e8f8f[_0x41d047(0x17b)]),!0x0);}[_0xdcdfb7(0x197)](_0x4062b4){const _0x2b751e=_0xdcdfb7;if(!this[_0x2b751e(0x19c)]||this[_0x2b751e(0x162)][_0x2b751e(0x19b)]<0x2)return!0x1;if(function(_0x4f8523,_0x477446){const _0x3a711a=_0x2b751e;if(_0x4f8523[_0x3a711a(0x19b)]!==_0x477446[_0x3a711a(0x19b)])return!0x1;for(let _0x1b3243=0x0;_0x1b3243<_0x4f8523[_0x3a711a(0x19b)];_0x1b3243++)if(_0x4f8523[_0x1b3243]!==_0x477446[_0x1b3243])return!0x1;return!0x0;}(this[_0x2b751e(0x162)][_0x2b751e(0x147)](_0x4ecc27=>_0x4ecc27['id']),Array[_0x2b751e(0x188)](this[_0x2b751e(0x19c)][_0x2b751e(0x14d)]())[_0x2b751e(0x147)](_0x313c6d=>_0x313c6d[_0x2b751e(0x193)](_0x2b751e(0x166)))))return!0x1;let _0x26e0e9=!0x1;for(let _0x472154=0x0;_0x472154<this[_0x2b751e(0x162)][_0x2b751e(0x19b)];_0x472154++){const _0x459c9c=this[_0x2b751e(0x162)][_0x472154],_0x59e5ae=_0x4062b4[_0x2b751e(0x18f)](_0x459c9c[_0x2b751e(0x15a)]),_0x3a082d=_0x4062b4[_0x2b751e(0x159)](this[_0x2b751e(0x19c)],_0x472154);_0x59e5ae[_0x2b751e(0x143)](_0x3a082d)||(_0x4062b4[_0x2b751e(0x198)](_0x4062b4[_0x2b751e(0x195)](_0x459c9c[_0x2b751e(0x15a)]),_0x3a082d),_0x26e0e9=!0x0);}return _0x26e0e9;}[_0xdcdfb7(0x16a)](_0x1365dd){const _0xa33120=_0xdcdfb7;if(!this[_0xa33120(0x162)][_0xa33120(0x19b)])return!0x1;const {model:_0x2ede93}=this[_0xa33120(0x19e)];let _0x2e1ee2=!0x1;for(let _0x363a27=0x0;_0x363a27<this[_0xa33120(0x162)][_0xa33120(0x19b)]-0x1;_0x363a27++){const _0x52e0d6=this[_0xa33120(0x162)][_0x363a27],_0x36bf18=this[_0xa33120(0x162)][_0x363a27+0x1],_0x517229=_0x2ede93[_0xa33120(0x18f)](_0x52e0d6[_0xa33120(0x17b)]),_0x46a3ea=_0x2ede93[_0xa33120(0x18f)](_0x36bf18[_0xa33120(0x17b)]);_0xa33120(0x174)===_0x517229[_0xa33120(0x17e)](_0x46a3ea)&&(this[_0xa33120(0x185)](_0x1365dd,_0x52e0d6[_0xa33120(0x17b)]),_0x363a27=-0x1,_0x2e1ee2=!0x0);}return _0x2e1ee2;}}function _(_0x49f6e8,_0x260730,_0x555de1){const _0x100b01=_0xdcdfb7;if(_0x555de1[_0x100b01(0x146)])return!0x1;const _0xfc7049=_0x260730?_0x100b01(0x148):_0x100b01(0x194);return _0x49f6e8[_0x100b01(0x14e)](_0x49f6e8[_0x100b01(0x16d)](_0xfc7049),_0x555de1),!0x0;}function I(_0x3710ef,_0x2b33f1,_0x615223){const _0x45e4ad=_0xdcdfb7;if(0x0===_0x2b33f1[_0x45e4ad(0x19b)])return 0x0;const _0x419ca1=_0x3710ef[_0x45e4ad(0x18f)](_0x615223);for(let _0x3f9faa=0x0;_0x3f9faa<_0x2b33f1[_0x45e4ad(0x19b)];_0x3f9faa++){const _0x243f8e=_0x2b33f1[_0x3f9faa],_0x37f4a4=_0x3710ef[_0x45e4ad(0x18f)](_0x243f8e[_0x45e4ad(0x17b)]);if(_0x45e4ad(0x196)===_0x419ca1[_0x45e4ad(0x17e)](_0x37f4a4))return _0x3f9faa;}const _0x287df6=_0x615223[_0x45e4ad(0x18c)];let _0x5bea24=-0x1;for(let _0x3e1e08=_0x2b33f1[_0x45e4ad(0x19b)]-0x1;_0x3e1e08>=0x0;_0x3e1e08--)if(_0x2b33f1[_0x3e1e08][_0x45e4ad(0x17b)][_0x45e4ad(0x18c)]===_0x287df6){_0x5bea24=_0x3e1e08;break;}if(-0x1!==_0x5bea24)return _0x5bea24+0x1;const _0xc386f1=_0x3710ef[_0x45e4ad(0x14c)][_0x45e4ad(0x14a)](),_0x47efa8=_0xc386f1[_0x45e4ad(0x1a5)](_0x287df6[_0x45e4ad(0x189)]),_0x4346a8=_0xc386f1[_0x47efa8+0x1];if(_0x4346a8){for(let _0x453ed1=0x0;_0x453ed1<_0x2b33f1[_0x45e4ad(0x19b)];_0x453ed1++)if(_0x2b33f1[_0x453ed1][_0x45e4ad(0x17b)][_0x45e4ad(0x18c)][_0x45e4ad(0x189)]===_0x4346a8)return _0x453ed1;}return _0x2b33f1[_0x45e4ad(0x19b)];}function _0x2991(_0x45fa71,_0x26f125){const _0x2534d5=_0x2534();return _0x2991=function(_0x2991f4,_0x1e4d76){_0x2991f4=_0x2991f4-0x141;let _0x5a4d4d=_0x2534d5[_0x2991f4];return _0x5a4d4d;},_0x2991(_0x45fa71,_0x26f125);}function _0x2534(){const _0x4c8183=['createElement','_footnoteDefsContainerTracker','isOfficialPlugin','9amzFGZ','append','add','footnoteCounter','after','$graveyard','find','_handleFootnotesDefinitionsObjectSync','_insertEmptyFootnotesDefinitionsContainer','getFootnote','config','reference','_handleFootnoteDefinitionsChanges','high','compareWith','low','getChanges','model','get','_handleFootnoteReferencesChanges','differ','_handleMovedFootnoteReference','_ensureFootnotesDefinitionsContainerExists','reset','from','rootName','1202406EknNCl','remove','root','_footnoteRefsTracker','_handleInsertedFootnoteReference','createPositionBefore','footnotesDefinitions','_footnoteFormatter','splice','getAttribute','footnoteInlineContent','createRangeOn','before','_sortFootnoteDefinitions','move','5qnVHMX','findIndex','length','_footnotesDefinitions','_handleRemoveFootnoteReferenceById','editor','footnotes.multiBlock','getFootnotes','listenTo','15135860YHXOZj','footnoteDefinition','2782024pljkPu','indexOf','createRangeIn','_footnoteDefsTracker','isEqual','_updateFootnoteRefCounter','8XlzxOs','childCount','map','paragraph','3310034wCmRhl','getRootNames','isPremiumPlugin','document','getChildren','insert','getFootnotesFormatter','has','8783298uSMree','1184908RjyPrk','enqueueChange','min','singleton','unshift','getFootnotesDefinitionsObjectElement','parent','createPositionAt','definition','registerPostFixer','_updateFootnotesCounters','end','106903ovstQa','set','_handleFootnotesDefinitionsObjectChanges','push','_footnotes','some','pluginName','setAttribute','footnoteId','FootnotesTracker','change:data','init','_ensureFootnotesReferencesHaveProperOrder','setFootnoteFormatter','footnoteRef'];_0x2534=function(){return _0x4c8183;};return _0x2534();}
|
|
23
|
+
const _0x469782=_0x734c;(function(_0x58e56a,_0x4a48fb){const _0x3a6386=_0x734c,_0x272f14=_0x58e56a();while(!![]){try{const _0x55cef8=-parseInt(_0x3a6386(0x13b))/0x1+-parseInt(_0x3a6386(0x140))/0x2*(parseInt(_0x3a6386(0x130))/0x3)+parseInt(_0x3a6386(0x15c))/0x4+-parseInt(_0x3a6386(0x167))/0x5*(parseInt(_0x3a6386(0x152))/0x6)+parseInt(_0x3a6386(0x12a))/0x7*(parseInt(_0x3a6386(0x172))/0x8)+parseInt(_0x3a6386(0x151))/0x9*(-parseInt(_0x3a6386(0x141))/0xa)+-parseInt(_0x3a6386(0x17f))/0xb*(-parseInt(_0x3a6386(0x175))/0xc);if(_0x55cef8===_0x4a48fb)break;else _0x272f14['push'](_0x272f14['shift']());}catch(_0x28cc46){_0x272f14['push'](_0x272f14['shift']());}}}(_0x21f7,0x4cc01));import{Plugin as _0x2f7d03}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x52f68d}from'./modelelementtracker.js';function _0x734c(_0x5f502d,_0x356d9c){const _0x21f70e=_0x21f7();return _0x734c=function(_0x734c19,_0x5f165b){_0x734c19=_0x734c19-0x120;let _0x1590f2=_0x21f70e[_0x734c19];return _0x1590f2;},_0x734c(_0x5f502d,_0x356d9c);}function _0x21f7(){const _0x225ac3=['_handleFootnotesDefinitionsObjectSync','push','isOfficialPlugin','1213752XxUUvO','getFootnotesDefinitionsObjectElement','init','footnoteRef','footnoteCounter','reset','_sortFootnoteDefinitions','isPremiumPlugin','getChanges','min','setAttribute','67015IkvPVY','_footnoteDefsContainerTracker','change:data','paragraph','set','footnoteId','createElement','getRootNames','_handleFootnoteReferencesChanges','FootnotesTracker','_updateFootnoteRefCounter','4096024jLFqow','singleton','model','108252HQsjmh','after','setFootnoteFormatter','rootName','before','createRangeOn','pluginName','document','parent','compareWith','1507JMzuzI','footnotesDefinitions','length','indexOf','footnoteInlineContent','createPositionAt','get','_footnotes','_footnoteDefsTracker','footnotes.multiBlock','getFootnotes','footnoteDefinition','end','createPositionBefore','isEqual','_handleRemoveFootnoteReferenceById','getFootnotesFormatter','getChildren','7GybiUC','append','createRangeIn','find','enqueueChange','add','12AXzfiE','_footnoteRefsTracker','childCount','move','high','root','_updateFootnotesCounters','getAttribute','_handleMovedFootnoteReference','config','_handleFootnoteDefinitionsChanges','561835ONJnfU','_handleInsertedFootnoteReference','$graveyard','has','splice','48098cMgzEY','10ZbSTPT','_handleFootnotesDefinitionsObjectChanges','findIndex','_footnotesDefinitions','remove','low','unshift','_insertEmptyFootnotesDefinitionsContainer','editor','_ensureFootnotesDefinitionsContainerExists','registerPostFixer','reference','definition','getFootnote','_footnoteFormatter','insert','4402674ngtktx','264PBZruh','from','some','_ensureFootnotesReferencesHaveProperOrder','listenTo','map','differ'];_0x21f7=function(){return _0x225ac3;};return _0x21f7();}export class FootnotesTracker extends _0x2f7d03{[_0x469782(0x186)]=[];[_0x469782(0x144)]=null;[_0x469782(0x14f)]=null;[_0x469782(0x168)];[_0x469782(0x131)];[_0x469782(0x120)];static get[_0x469782(0x17b)](){const _0x10b57a=_0x469782;return _0x10b57a(0x170);}static get[_0x469782(0x15b)](){return!0x0;}static get[_0x469782(0x163)](){return!0x0;}constructor(_0x29a9ac){const _0x42291b=_0x469782;super(_0x29a9ac),this[_0x42291b(0x168)]=new _0x52f68d(this[_0x42291b(0x149)][_0x42291b(0x174)],{'elementName':_0x42291b(0x180),'getElementKey':()=>_0x42291b(0x173)}),this[_0x42291b(0x131)]=new _0x52f68d(this[_0x42291b(0x149)][_0x42291b(0x174)],{'elementName':_0x42291b(0x15f),'getElementKey':_0x32d840=>_0x32d840[_0x42291b(0x137)](_0x42291b(0x16c))}),this[_0x42291b(0x120)]=new _0x52f68d(this[_0x42291b(0x149)][_0x42291b(0x174)],{'elementName':_0x42291b(0x123),'getElementKey':_0x5b7b6c=>_0x5b7b6c[_0x42291b(0x137)](_0x42291b(0x16c))});}[_0x469782(0x15e)](){const _0x162e9e=_0x469782,{editor:_0x355245}=this,{model:_0x21e7c1,data:_0x1d1ad3}=_0x355245;_0x21e7c1[_0x162e9e(0x17c)][_0x162e9e(0x14b)](_0x2bef45=>{const _0x288f43=_0x162e9e,_0x347432=_0x21e7c1[_0x288f43(0x17c)][_0x288f43(0x158)][_0x288f43(0x164)]();let _0x1be9a1=!0x1;return this[_0x288f43(0x142)](_0x2bef45,_0x347432)&&(_0x1be9a1=!0x0),this[_0x288f43(0x13a)](_0x2bef45,_0x347432)&&(_0x1be9a1=!0x0),this[_0x288f43(0x16f)](_0x2bef45,_0x347432)&&(_0x1be9a1=!0x0),this[_0x288f43(0x155)](_0x2bef45)&&(_0x1be9a1=!0x0),this[_0x288f43(0x159)](_0x2bef45)&&(_0x1be9a1=!0x0),this[_0x288f43(0x162)](_0x2bef45)&&(_0x1be9a1=!0x0),_0x1be9a1;}),this[_0x162e9e(0x156)](_0x21e7c1[_0x162e9e(0x17c)],_0x162e9e(0x169),()=>{const _0x3e1193=_0x162e9e;_0x21e7c1[_0x3e1193(0x12e)]({'isUndoable':!0x1},_0x2aeba4=>{const _0x52b92f=_0x3e1193;this[_0x52b92f(0x14a)](_0x2aeba4);});},{'priority':_0x162e9e(0x146)}),this[_0x162e9e(0x156)](_0x1d1ad3,_0x162e9e(0x16b),()=>{const _0xf31a9=_0x162e9e;this[_0xf31a9(0x186)]=[],this[_0xf31a9(0x168)][_0xf31a9(0x161)](),this[_0xf31a9(0x131)][_0xf31a9(0x161)](),this[_0xf31a9(0x120)][_0xf31a9(0x161)]();},{'priority':_0x162e9e(0x134)});}[_0x469782(0x15d)](){const _0x19d6fa=_0x469782;return this[_0x19d6fa(0x144)];}[_0x469782(0x14e)](_0x5056da){const _0x37a0ee=_0x469782;return this[_0x37a0ee(0x186)][_0x37a0ee(0x12d)](_0x1c314c=>_0x1c314c['id']===_0x5056da)||null;}[_0x469782(0x122)](){const _0x2cc902=_0x469782;return Array[_0x2cc902(0x153)](this[_0x2cc902(0x186)]);}[_0x469782(0x128)](){const _0x5ed546=_0x469782;return this[_0x5ed546(0x14f)];}[_0x469782(0x177)](_0x3a29ef){const _0x14a605=_0x469782;this[_0x14a605(0x14f)]=_0x3a29ef;}[_0x469782(0x136)](_0x16a4ec,_0x19b7f9=0x0){const _0x4cc79d=_0x469782;let _0x5a0d33=!0x1;for(let _0x2cad79=_0x19b7f9;_0x2cad79<this[_0x4cc79d(0x186)][_0x4cc79d(0x181)];_0x2cad79++)this[_0x4cc79d(0x171)](_0x16a4ec,_0x2cad79)&&(_0x5a0d33=!0x0);return _0x5a0d33;}[_0x469782(0x148)](_0x9b71d4,_0x2746bc){const _0x1a37c6=_0x469782,_0x58643d=_0x9b71d4[_0x1a37c6(0x16d)](_0x1a37c6(0x180),{});return _0x9b71d4[_0x1a37c6(0x12b)](_0x58643d,_0x2746bc),this[_0x1a37c6(0x144)]=_0x58643d,_0x58643d;}[_0x469782(0x14a)](_0x30bd2b){const _0x475620=_0x469782;if(!this[_0x475620(0x186)][_0x475620(0x181)]||this[_0x475620(0x144)])return;const _0xef061=this[_0x475620(0x186)][0x0][_0x475620(0x14c)][_0x475620(0x135)],_0x132248=this[_0x475620(0x148)](_0x30bd2b,_0xef061);for(const _0x2fae88 of this[_0x475620(0x186)])_0x2fae88[_0x475620(0x14d)][_0x475620(0x17d)]||_0x30bd2b[_0x475620(0x150)](_0x2fae88[_0x475620(0x14d)],_0x132248,_0x475620(0x124));this[_0x475620(0x136)](_0x30bd2b);}[_0x469782(0x142)](_0x7f309,_0x1a5daa){const _0x4a17c0=_0x469782;let _0x51a4ee=!0x1;const {inserted:_0x1eadf4,removed:_0x450074,moved:_0x60e63d}=this[_0x4a17c0(0x168)][_0x4a17c0(0x164)](_0x1a5daa);if(_0x60e63d[_0x4a17c0(0x181)]&&(this[_0x4a17c0(0x144)]=_0x60e63d[0x0]),_0x1eadf4[_0x4a17c0(0x181)]){if(_0x1eadf4[_0x4a17c0(0x181)]>0x1||this[_0x4a17c0(0x144)]&&_0x1eadf4[_0x4a17c0(0x154)](_0x334a68=>_0x334a68!==this[_0x4a17c0(0x144)])){const _0x405780=_0x7f309[_0x4a17c0(0x16d)](_0x4a17c0(0x180),{}),_0x57e8a8=[];this[_0x4a17c0(0x144)]&&_0x57e8a8[_0x4a17c0(0x15a)](this[_0x4a17c0(0x144)]),_0x57e8a8[_0x4a17c0(0x15a)](..._0x1eadf4),_0x7f309[_0x4a17c0(0x150)](_0x405780,_0x57e8a8[0x0],_0x4a17c0(0x179));for(const _0x32da82 of _0x57e8a8)_0x7f309[_0x4a17c0(0x133)](_0x7f309[_0x4a17c0(0x12c)](_0x32da82),_0x7f309[_0x4a17c0(0x184)](_0x405780,_0x4a17c0(0x124))),_0x7f309[_0x4a17c0(0x145)](_0x32da82);this[_0x4a17c0(0x144)]=_0x405780,this[_0x4a17c0(0x136)](_0x7f309),_0x51a4ee=!0x0;}else this[_0x4a17c0(0x144)]=_0x1eadf4[0x0];}if(_0x450074[_0x4a17c0(0x181)]&&_0x4a17c0(0x13d)===this[_0x4a17c0(0x144)]?.[_0x4a17c0(0x135)][_0x4a17c0(0x178)]){for(const _0x25a97e of this[_0x4a17c0(0x186)])_0x7f309[_0x4a17c0(0x145)](_0x25a97e[_0x4a17c0(0x14c)]),_0x51a4ee=!0x0;this[_0x4a17c0(0x186)]=[],this[_0x4a17c0(0x144)]=null;}return _0x51a4ee;}[_0x469782(0x13a)](_0x2cbf13,_0xc6f539){const _0x40dc82=_0x469782;let _0x30635d=!0x1;const _0x239b33=this[_0x40dc82(0x149)][_0x40dc82(0x139)][_0x40dc82(0x185)](_0x40dc82(0x121)),{inserted:_0x2b2b4b,moved:_0x3d19eb}=this[_0x40dc82(0x120)][_0x40dc82(0x164)](_0xc6f539);for(const _0x51e679 of[..._0x3d19eb,..._0x2b2b4b]){const _0x9a2d5b=_0x51e679[_0x40dc82(0x137)](_0x40dc82(0x16c)),_0x3a7236=this[_0x40dc82(0x14e)](_0x9a2d5b);_0x3a7236&&(_0x3a7236[_0x40dc82(0x14d)]=_0x51e679),_(_0x2cbf13,_0x239b33,_0x51e679)&&(_0x30635d=!0x0);}return _0x30635d;}[_0x469782(0x16f)](_0x49cc88,_0x8402e0){const _0x33a4cb=_0x469782;let _0x1b80b3=!0x1;const {removed:_0x54cad9,inserted:_0x4d273d,moved:_0x45fa18}=this[_0x33a4cb(0x131)][_0x33a4cb(0x164)](_0x8402e0);for(const _0x22f5a3 of _0x54cad9)this[_0x33a4cb(0x127)](_0x49cc88,_0x22f5a3)&&(_0x1b80b3=!0x0);for(const _0x74c2e4 of _0x4d273d)this[_0x33a4cb(0x13c)](_0x49cc88,_0x74c2e4)&&(_0x1b80b3=!0x0);for(const _0x46dc07 of _0x45fa18)this[_0x33a4cb(0x138)](_0x49cc88,_0x46dc07)&&(_0x1b80b3=!0x0);return _0x1b80b3;}[_0x469782(0x159)](_0x48f14c){const _0x1fe6de=_0x469782;if(!this[_0x1fe6de(0x144)])return!0x1;let _0x2db2a3=!0x1;if(this[_0x1fe6de(0x144)][_0x1fe6de(0x132)]!==this[_0x1fe6de(0x186)][_0x1fe6de(0x181)]){const _0x1083c3=[];for(const _0x23fafd of this[_0x1fe6de(0x144)][_0x1fe6de(0x129)]()){const _0x4b6875=_0x23fafd[_0x1fe6de(0x137)](_0x1fe6de(0x16c));this[_0x1fe6de(0x14e)](_0x4b6875)||(_0x1083c3[_0x1fe6de(0x147)](_0x23fafd),_0x2db2a3=!0x0);}for(const _0x3bd4f2 of _0x1083c3)_0x48f14c[_0x1fe6de(0x145)](_0x3bd4f2);}const _0x475629=new Set(),_0x5455c3=[];for(const _0x43def5 of this[_0x1fe6de(0x144)][_0x1fe6de(0x129)]()){const _0x435401=_0x43def5[_0x1fe6de(0x137)](_0x1fe6de(0x16c));_0x475629[_0x1fe6de(0x13e)](_0x435401)?(_0x5455c3[_0x1fe6de(0x147)](_0x43def5),_0x2db2a3=!0x0):_0x475629[_0x1fe6de(0x12f)](_0x435401);}for(const _0x20645d of _0x5455c3)_0x48f14c[_0x1fe6de(0x145)](_0x20645d);return this[_0x1fe6de(0x144)][_0x1fe6de(0x132)]||(_0x48f14c[_0x1fe6de(0x145)](this[_0x1fe6de(0x144)]),this[_0x1fe6de(0x144)]=null,_0x2db2a3=!0x0),_0x2db2a3;}[_0x469782(0x13c)](_0x3eb7db,_0x24e1a0){const _0x2c9357=_0x469782;if(this[_0x2c9357(0x186)][_0x2c9357(0x12d)](_0x5d6b92=>_0x5d6b92[_0x2c9357(0x14c)]===_0x24e1a0))return!0x1;let _0x59818a=!0x1;const _0xd882c6=_0x24e1a0[_0x2c9357(0x137)](_0x2c9357(0x16c)),_0x139682=this[_0x2c9357(0x186)][_0x2c9357(0x143)](_0x4c8f53=>_0x4c8f53['id']===_0xd882c6);-0x1!==_0x139682&&(_0x3eb7db[_0x2c9357(0x145)](this[_0x2c9357(0x186)][_0x139682][_0x2c9357(0x14c)]),this[_0x2c9357(0x186)][_0x2c9357(0x13f)](_0x139682,0x1),_0x59818a=!0x0);let _0x2c5bb8=this[_0x2c9357(0x144)]?function(_0x45cc86,_0x5528e8){const _0x4aeb2e=_0x2c9357;for(const _0x260727 of _0x45cc86[_0x4aeb2e(0x129)]())if(_0x260727[_0x4aeb2e(0x137)](_0x4aeb2e(0x16c))===_0x5528e8)return _0x260727;return null;}(this[_0x2c9357(0x144)],_0xd882c6):null;_0x2c5bb8||(_0x2c5bb8=_0x3eb7db[_0x2c9357(0x16d)](_0x2c9357(0x123),{'footnoteId':_0xd882c6}),this[_0x2c9357(0x144)]&&(_0x3eb7db[_0x2c9357(0x150)](_0x2c5bb8,this[_0x2c9357(0x144)],_0x2c9357(0x124)),_0x59818a=!0x0));const _0x31d2c9={'id':_0xd882c6,'reference':_0x24e1a0,'definition':_0x2c5bb8},_0x35cf2c=I(this[_0x2c9357(0x149)][_0x2c9357(0x174)],this[_0x2c9357(0x186)],_0x24e1a0);this[_0x2c9357(0x186)][_0x2c9357(0x13f)](_0x35cf2c,0x0,_0x31d2c9);let _0x48d949=_0x35cf2c;return-0x1!==_0x139682&&(_0x48d949=Math[_0x2c9357(0x165)](_0x35cf2c,_0x139682)),this[_0x2c9357(0x136)](_0x3eb7db,_0x48d949)&&(_0x59818a=!0x0),_0x59818a;}[_0x469782(0x127)](_0x1af87b,_0x19b8ce){const _0x339fb9=_0x469782,_0x5b9d28=this[_0x339fb9(0x186)][_0x339fb9(0x143)](_0x25c679=>_0x25c679['id']===_0x19b8ce);if(-0x1===_0x5b9d28)return!0x1;let _0xdffe4=!0x1;const _0x44945b=this[_0x339fb9(0x186)][_0x5b9d28];return _0x339fb9(0x13d)!==_0x44945b[_0x339fb9(0x14d)][_0x339fb9(0x135)][_0x339fb9(0x178)]&&(_0x1af87b[_0x339fb9(0x145)](_0x44945b[_0x339fb9(0x14d)]),_0xdffe4=!0x0),this[_0x339fb9(0x186)][_0x339fb9(0x13f)](_0x5b9d28,0x1),this[_0x339fb9(0x136)](_0x1af87b,_0x5b9d28)&&(_0xdffe4=!0x0),_0xdffe4;}[_0x469782(0x138)](_0x4e2594,_0x48e537){const _0x1b817=_0x469782,_0x364d4c=_0x48e537[_0x1b817(0x137)](_0x1b817(0x16c)),_0x55653f=this[_0x1b817(0x186)][_0x1b817(0x143)](_0x425991=>_0x425991['id']===_0x364d4c),_0xb672ff=this[_0x1b817(0x186)][_0x55653f];let _0x391281=!0x1;_0xb672ff[_0x1b817(0x14c)]=_0x48e537,this[_0x1b817(0x186)][_0x1b817(0x13f)](_0x55653f,0x1);const _0x5d2ec7=I(this[_0x1b817(0x149)][_0x1b817(0x174)],this[_0x1b817(0x186)],_0x48e537);return this[_0x1b817(0x186)][_0x1b817(0x13f)](_0x5d2ec7,0x0,_0xb672ff),this[_0x1b817(0x136)](_0x4e2594,Math[_0x1b817(0x165)](_0x55653f,_0x5d2ec7))&&(_0x391281=!0x0),_0x391281;}[_0x469782(0x171)](_0x3936b6,_0x23bbe6){const _0x3bce08=_0x469782;if(!this[_0x3bce08(0x144)])return!0x1;const _0x534557=this[_0x3bce08(0x186)][_0x23bbe6];let _0x2ed582;return _0x2ed582=this[_0x3bce08(0x14f)]?this[_0x3bce08(0x14f)]({'footnote':_0x534557,'container':this[_0x3bce08(0x144)],'digits':String(this[_0x3bce08(0x186)][_0x3bce08(0x181)])[_0x3bce08(0x181)],'value':_0x23bbe6+0x1}):String(_0x23bbe6+0x1),_0x534557[_0x3bce08(0x14c)][_0x3bce08(0x137)](_0x3bce08(0x160))!=_0x2ed582&&(_0x3936b6[_0x3bce08(0x166)](_0x3bce08(0x160),_0x2ed582,_0x534557[_0x3bce08(0x14c)]),!0x0);}[_0x469782(0x162)](_0x3d0351){const _0x41ea0d=_0x469782;if(!this[_0x41ea0d(0x144)]||this[_0x41ea0d(0x186)][_0x41ea0d(0x181)]<0x2)return!0x1;if(function(_0x5a84b5,_0x3b6e97){const _0x2d9f14=_0x41ea0d;if(_0x5a84b5[_0x2d9f14(0x181)]!==_0x3b6e97[_0x2d9f14(0x181)])return!0x1;for(let _0x2f523b=0x0;_0x2f523b<_0x5a84b5[_0x2d9f14(0x181)];_0x2f523b++)if(_0x5a84b5[_0x2f523b]!==_0x3b6e97[_0x2f523b])return!0x1;return!0x0;}(this[_0x41ea0d(0x186)][_0x41ea0d(0x157)](_0x131635=>_0x131635['id']),Array[_0x41ea0d(0x153)](this[_0x41ea0d(0x144)][_0x41ea0d(0x129)]())[_0x41ea0d(0x157)](_0x47af3e=>_0x47af3e[_0x41ea0d(0x137)](_0x41ea0d(0x16c)))))return!0x1;let _0x421280=!0x1;for(let _0x1f196a=0x0;_0x1f196a<this[_0x41ea0d(0x186)][_0x41ea0d(0x181)];_0x1f196a++){const _0x5ace8c=this[_0x41ea0d(0x186)][_0x1f196a],_0x590feb=_0x3d0351[_0x41ea0d(0x125)](_0x5ace8c[_0x41ea0d(0x14d)]),_0x754f01=_0x3d0351[_0x41ea0d(0x184)](this[_0x41ea0d(0x144)],_0x1f196a);_0x590feb[_0x41ea0d(0x126)](_0x754f01)||(_0x3d0351[_0x41ea0d(0x133)](_0x3d0351[_0x41ea0d(0x17a)](_0x5ace8c[_0x41ea0d(0x14d)]),_0x754f01),_0x421280=!0x0);}return _0x421280;}[_0x469782(0x155)](_0x5b6951){const _0x4a0689=_0x469782;if(!this[_0x4a0689(0x186)][_0x4a0689(0x181)])return!0x1;const {model:_0x4d25d7}=this[_0x4a0689(0x149)];let _0x45cfd1=!0x1;for(let _0x3f20f5=0x0;_0x3f20f5<this[_0x4a0689(0x186)][_0x4a0689(0x181)]-0x1;_0x3f20f5++){const _0x333ae8=this[_0x4a0689(0x186)][_0x3f20f5],_0x4e787f=this[_0x4a0689(0x186)][_0x3f20f5+0x1],_0x49e551=_0x4d25d7[_0x4a0689(0x125)](_0x333ae8[_0x4a0689(0x14c)]),_0x220cde=_0x4d25d7[_0x4a0689(0x125)](_0x4e787f[_0x4a0689(0x14c)]);_0x4a0689(0x176)===_0x49e551[_0x4a0689(0x17e)](_0x220cde)&&(this[_0x4a0689(0x138)](_0x5b6951,_0x333ae8[_0x4a0689(0x14c)]),_0x3f20f5=-0x1,_0x45cfd1=!0x0);}return _0x45cfd1;}}function _(_0x1bb997,_0xeefdb9,_0x22fdbc){const _0x49d7fe=_0x469782;if(_0x22fdbc[_0x49d7fe(0x132)])return!0x1;const _0x120aed=_0xeefdb9?_0x49d7fe(0x16a):_0x49d7fe(0x183);return _0x1bb997[_0x49d7fe(0x150)](_0x1bb997[_0x49d7fe(0x16d)](_0x120aed),_0x22fdbc),!0x0;}function I(_0x65c4d5,_0x1d70a1,_0x4fb5fc){const _0x4a20b2=_0x469782;if(0x0===_0x1d70a1[_0x4a20b2(0x181)])return 0x0;const _0x2627dd=_0x65c4d5[_0x4a20b2(0x125)](_0x4fb5fc);for(let _0x5d6e3d=0x0;_0x5d6e3d<_0x1d70a1[_0x4a20b2(0x181)];_0x5d6e3d++){const _0x42ca88=_0x1d70a1[_0x5d6e3d],_0x4a2025=_0x65c4d5[_0x4a20b2(0x125)](_0x42ca88[_0x4a20b2(0x14c)]);if(_0x4a20b2(0x179)===_0x2627dd[_0x4a20b2(0x17e)](_0x4a2025))return _0x5d6e3d;}const _0x53a3ac=_0x4fb5fc[_0x4a20b2(0x135)];let _0x12d293=-0x1;for(let _0xc295f7=_0x1d70a1[_0x4a20b2(0x181)]-0x1;_0xc295f7>=0x0;_0xc295f7--)if(_0x1d70a1[_0xc295f7][_0x4a20b2(0x14c)][_0x4a20b2(0x135)]===_0x53a3ac){_0x12d293=_0xc295f7;break;}if(-0x1!==_0x12d293)return _0x12d293+0x1;const _0x1c5d70=_0x65c4d5[_0x4a20b2(0x17c)][_0x4a20b2(0x16e)](),_0x268108=_0x1c5d70[_0x4a20b2(0x182)](_0x53a3ac[_0x4a20b2(0x178)]),_0x522ab8=_0x1c5d70[_0x268108+0x1];if(_0x522ab8){for(let _0x326ec6=0x0;_0x326ec6<_0x1d70a1[_0x4a20b2(0x181)];_0x326ec6++)if(_0x1d70a1[_0x326ec6][_0x4a20b2(0x14c)][_0x4a20b2(0x135)][_0x4a20b2(0x178)]===_0x522ab8)return _0x326ec6;}return _0x1d70a1[_0x4a20b2(0x181)];}
|
package/src/footnotesui.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { Plugin } from 'ckeditor5/src/core.js';
|
package/src/footnotesui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x772b4,MenuBarMenuListItemButtonView as _0x2351bc}from'ckeditor5/src/ui.js';import{Plugin as _0x2c1a66}from'ckeditor5/src/core.js';import{IconFootnote as _0x3eec6b}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x2c1a66{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x143bc6}=this,{componentFactory:_0x56727f}=_0x143bc6['ui'];_0x56727f['add']('insertFootnote',E(_0x143bc6,_0x772b4)),_0x56727f['add']('menuBar:insertFootnote',E(_0x143bc6,_0x2351bc)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x18c673=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2e4416;for(const _0x289b53 in _0x18c673){const _0x338dff=_0x289b53,_0x5da71a=_0x18c673[_0x338dff];if('footnotesLicenseKeyValid'==_0x5da71a||'footnotesLicenseKeyInvalid'==_0x5da71a||'footnotesLicenseKeyExpired'==_0x5da71a||'footnotesLicenseKeyDomainLimit'==_0x5da71a||'footnotesLicenseKeyNotAllowed'==_0x5da71a||'footnotesLicenseKeyEvaluationLimit'==_0x5da71a||'footnotesLicenseKeyUsageLimit'==_0x5da71a){delete _0x18c673[_0x338dff],_0x2e4416=_0x5da71a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x2e4416&&_0x18c673['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x2e4416&&_0x18c673['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x2e4416&&_0x18c673['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x2e4416&&_0x18c673['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x2e4416&&_0x18c673['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x2e4416&&_0x18c673['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x281927,_0x2a8742){const _0x4a06f4=_0x281927['commands']['get']('insertFootnote');return _0x4264b4=>{const {t:t}=_0x4264b4,_0x4c6c19=new _0x2a8742(_0x4264b4),_0x37004e=_0x4c6c19 instanceof _0x2351bc;return _0x4c6c19['bind']('isEnabled')['to'](_0x4a06f4,'isEnabled'),_0x4c6c19['set']({'label':t(_0x37004e?'Footnote':'Insert\x20footnote'),'icon':_0x3eec6b,'tooltip':!0x0}),_0x4c6c19['on']('execute',()=>{_0x4a06f4['execute'](),_0x281927['editing']['view']['focus']();}),_0x4c6c19;};}
|
package/src/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x41e3b1,_0x523847){var _0x3a879a=_0x1c01,_0x5293e1=_0x41e3b1();while(!![]){try{var _0x3d0cf9=parseInt(_0x3a879a(0x1a0))/0x1*(-parseInt(_0x3a879a(0x1a3))/0x2)+-parseInt(_0x3a879a(0x19c))/0x3*(parseInt(_0x3a879a(0x1a5))/0x4)+-parseInt(_0x3a879a(0x1a4))/0x5*(parseInt(_0x3a879a(0x1a6))/0x6)+-parseInt(_0x3a879a(0x1a2))/0x7*(parseInt(_0x3a879a(0x1a1))/0x8)+-parseInt(_0x3a879a(0x1a7))/0x9*(parseInt(_0x3a879a(0x19f))/0xa)+parseInt(_0x3a879a(0x19d))/0xb+parseInt(_0x3a879a(0x19e))/0xc;if(_0x3d0cf9===_0x523847)break;else _0x5293e1['push'](_0x5293e1['shift']());}catch(_0x18d6ce){_0x5293e1['push'](_0x5293e1['shift']());}}}(_0x2083,0x8e635));import'./augmentation.js';export{Footnotes}from'./footnotes.js';function _0x2083(){var _0x2295a8=['50wJLowr','7EdkaGa','30896gQmdEa','1827RyEMQX','162166ItdTMD','65EkKHzN','3940tsAUyt','22908HbkLpe','1529973bscUKZ','1146mSjotA','5948701AVXQcB','34726584msimlA'];_0x2083=function(){return _0x2295a8;};return _0x2083();}export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';function _0x1c01(_0x10638d,_0x5b1613){var _0x20837a=_0x2083();return _0x1c01=function(_0x1c01df,_0x163b09){_0x1c01df=_0x1c01df-0x19c;var _0x5b15e6=_0x20837a[_0x1c01df];return _0x5b15e6;},_0x1c01(_0x10638d,_0x5b1613);}export{FootnotesProperties}from'./footnotesproperties.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2f18ce=_0x3423;function _0x129b(){const _0x565811=['reset','root','_trackedElements','getChanges','values','getElementKey','1WJoibl','remove','createRangeOn','6976635XEcUiI','position','26401122SqUFuf','clear','attributes','rootName','_getElementKey','_model','length','7376152iBmNiU','insert','1300174zxZlPR','258EzBBfq','name','4117284nBXJpR','set','getItems','push','elementName','delete','_elementName','$text','109476irIapp','132321FHccuO','has','get','slice','from','type','$graveyard','flat','add','element','nodeAfter'];_0x129b=function(){return _0x565811;};return _0x129b();}function _0x3423(_0x29145b,_0x16109b){const _0x129b96=_0x129b();return _0x3423=function(_0x34236f,_0x4b8aa4){_0x34236f=_0x34236f-0x1e6;let _0x2e4c85=_0x129b96[_0x34236f];return _0x2e4c85;},_0x3423(_0x29145b,_0x16109b);}(function(_0x2f06aa,_0x4641c3){const _0x3dc312=_0x3423,_0x850bc8=_0x2f06aa();while(!![]){try{const _0x480eb5=parseInt(_0x3dc312(0x1f6))/0x1*(parseInt(_0x3dc312(0x204))/0x2)+-parseInt(_0x3dc312(0x207))/0x3+parseInt(_0x3dc312(0x20f))/0x4+-parseInt(_0x3dc312(0x1f9))/0x5+parseInt(_0x3dc312(0x205))/0x6*(parseInt(_0x3dc312(0x210))/0x7)+-parseInt(_0x3dc312(0x202))/0x8+parseInt(_0x3dc312(0x1fb))/0x9;if(_0x480eb5===_0x4641c3)break;else _0x850bc8['push'](_0x850bc8['shift']());}catch(_0x15476a){_0x850bc8['push'](_0x850bc8['shift']());}}}(_0x129b,0xb3311));export class ModelElementTracker{[_0x2f18ce(0x200)];[_0x2f18ce(0x20d)];[_0x2f18ce(0x1ff)];[_0x2f18ce(0x1f2)]=new Map();constructor(_0x3165d7,_0x415ae5){const _0x551e7e=_0x2f18ce;this[_0x551e7e(0x200)]=_0x3165d7,this[_0x551e7e(0x20d)]=_0x415ae5[_0x551e7e(0x20b)],this[_0x551e7e(0x1ff)]=_0x415ae5[_0x551e7e(0x1f5)];}[_0x2f18ce(0x1f0)](){const _0x58010a=_0x2f18ce;this[_0x58010a(0x1f2)][_0x58010a(0x1fc)]();}[_0x2f18ce(0x1f3)](_0x415965){const _0x56f785=_0x2f18ce,_0xb23cb2=new Set(),_0x3ee62a=new Map();for(const _0x2907b8 of _0x415965){if(_0x56f785(0x203)===_0x2907b8[_0x56f785(0x1ea)]&&_0x56f785(0x20e)!==_0x2907b8[_0x56f785(0x206)]&&_0x2907b8[_0x56f785(0x1fa)][_0x56f785(0x1ef)]){const _0x75e71a=this[_0x56f785(0x200)][_0x56f785(0x1f8)](_0x2907b8[_0x56f785(0x1fa)][_0x56f785(0x1ef)]);for(const _0x2a0b7e of _0x75e71a[_0x56f785(0x209)]()){if(!_0x2a0b7e['is'](_0x56f785(0x1ee),this[_0x56f785(0x20d)]))continue;const _0x43a1ed=this[_0x56f785(0x1ff)](_0x2a0b7e);_0x3ee62a[_0x56f785(0x1e6)](_0x43a1ed)||_0x3ee62a[_0x56f785(0x208)](_0x43a1ed,[]),_0x3ee62a[_0x56f785(0x1e7)](_0x43a1ed)[_0x56f785(0x20a)](_0x2a0b7e);}}if(_0x56f785(0x1f7)===_0x2907b8[_0x56f785(0x1ea)]&&_0x2907b8[_0x56f785(0x206)]===this[_0x56f785(0x20d)]){const _0x464530=this[_0x56f785(0x1ff)]({'getAttribute':_0x52ead3=>_0x2907b8[_0x56f785(0x1fd)][_0x56f785(0x1e7)](_0x52ead3)});_0xb23cb2[_0x56f785(0x1ed)](_0x464530);}}for(const [_0x1336bc,_0xd4ba72]of this[_0x56f785(0x1f2)])_0x56f785(0x1eb)===_0xd4ba72[_0x56f785(0x1f1)][_0x56f785(0x1fe)]&&_0xb23cb2[_0x56f785(0x1ed)](_0x1336bc);for(const _0x2a8d26 of _0xb23cb2)this[_0x56f785(0x1f2)][_0x56f785(0x20c)](_0x2a8d26);for(const [_0x4ba78b,_0x4f3254]of _0x3ee62a)this[_0x56f785(0x1f2)][_0x56f785(0x208)](_0x4ba78b,_0x4f3254[_0x4f3254[_0x56f785(0x201)]-0x1]);const _0x3d659b=new Set();for(const [_0x49ed33,_0x2addb6]of _0x3ee62a)_0xb23cb2[_0x56f785(0x1e6)](_0x49ed33)&&(_0x3d659b[_0x56f785(0x1ed)](_0x2addb6[0x0]),_0x2addb6[_0x56f785(0x201)]>0x1?_0x3ee62a[_0x56f785(0x208)](_0x49ed33,_0x2addb6[_0x56f785(0x1e8)](0x1)):_0x3ee62a[_0x56f785(0x20c)](_0x49ed33),_0xb23cb2[_0x56f785(0x20c)](_0x49ed33));return{'removed':Array[_0x56f785(0x1e9)](_0xb23cb2),'inserted':Array[_0x56f785(0x1e9)](_0x3ee62a[_0x56f785(0x1f4)]())[_0x56f785(0x1ec)](),'moved':Array[_0x56f785(0x1e9)](_0x3d659b)};}}
|
package/theme/footnotes.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
|