@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251105.0 → 0.0.0-nightly-20251106.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/footnotes.js +2 -1
- package/build/translations/af.js +1 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/ast.js +1 -0
- package/build/translations/az.js +1 -0
- package/build/translations/be.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/bs.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de-ch.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/en-gb.js +1 -0
- package/build/translations/eo.js +1 -0
- package/build/translations/es-co.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/eu.js +1 -0
- package/build/translations/fa.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/gu.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/hy.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/jv.js +1 -0
- package/build/translations/kk.js +1 -0
- package/build/translations/km.js +1 -0
- package/build/translations/kn.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/ku.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nb.js +1 -0
- package/build/translations/ne.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/oc.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/si.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sl.js +1 -0
- package/build/translations/sq.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/ti.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/tt.js +1 -0
- package/build/translations/ug.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/ur.js +1 -0
- package/build/translations/uz.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/dist/index-content.css +0 -12
- package/dist/index.css +6 -12
- package/dist/index.js +1 -1
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/af.umd.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/ar.umd.js +23 -0
- package/dist/translations/ast.d.ts +8 -0
- package/dist/translations/ast.js +23 -0
- package/dist/translations/ast.umd.js +23 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +23 -0
- package/dist/translations/az.umd.js +23 -0
- package/dist/translations/be.d.ts +8 -0
- package/dist/translations/be.js +23 -0
- package/dist/translations/be.umd.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bg.umd.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bn.umd.js +23 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +23 -0
- package/dist/translations/bs.umd.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/ca.umd.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/cs.umd.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/da.umd.js +23 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de-ch.umd.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/de.umd.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/el.umd.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en-au.umd.js +23 -0
- package/dist/translations/en-gb.d.ts +8 -0
- package/dist/translations/en-gb.js +23 -0
- package/dist/translations/en-gb.umd.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/en.umd.js +23 -0
- package/dist/translations/eo.d.ts +8 -0
- package/dist/translations/eo.js +23 -0
- package/dist/translations/eo.umd.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es-co.umd.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/es.umd.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/et.umd.js +23 -0
- package/dist/translations/eu.d.ts +8 -0
- package/dist/translations/eu.js +23 -0
- package/dist/translations/eu.umd.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fa.umd.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fi.umd.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/fr.umd.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/gl.umd.js +23 -0
- package/dist/translations/gu.d.ts +8 -0
- package/dist/translations/gu.js +23 -0
- package/dist/translations/gu.umd.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/he.umd.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hi.umd.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hr.umd.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/hu.umd.js +23 -0
- package/dist/translations/hy.d.ts +8 -0
- package/dist/translations/hy.js +23 -0
- package/dist/translations/hy.umd.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/id.umd.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/it.umd.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/ja.umd.js +23 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/jv.umd.js +23 -0
- package/dist/translations/kk.d.ts +8 -0
- package/dist/translations/kk.js +23 -0
- package/dist/translations/kk.umd.js +23 -0
- package/dist/translations/km.d.ts +8 -0
- package/dist/translations/km.js +23 -0
- package/dist/translations/km.umd.js +23 -0
- package/dist/translations/kn.d.ts +8 -0
- package/dist/translations/kn.js +23 -0
- package/dist/translations/kn.umd.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/ko.umd.js +23 -0
- package/dist/translations/ku.d.ts +8 -0
- package/dist/translations/ku.js +23 -0
- package/dist/translations/ku.umd.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lt.umd.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/lv.umd.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/ms.umd.js +23 -0
- package/dist/translations/nb.d.ts +8 -0
- package/dist/translations/nb.js +23 -0
- package/dist/translations/nb.umd.js +23 -0
- package/dist/translations/ne.d.ts +8 -0
- package/dist/translations/ne.js +23 -0
- package/dist/translations/ne.umd.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/nl.umd.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/no.umd.js +23 -0
- package/dist/translations/oc.d.ts +8 -0
- package/dist/translations/oc.js +23 -0
- package/dist/translations/oc.umd.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pl.umd.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt-br.umd.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/pt.umd.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ro.umd.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/ru.umd.js +23 -0
- package/dist/translations/si.d.ts +8 -0
- package/dist/translations/si.js +23 -0
- package/dist/translations/si.umd.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sk.umd.js +23 -0
- package/dist/translations/sl.d.ts +8 -0
- package/dist/translations/sl.js +23 -0
- package/dist/translations/sl.umd.js +23 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +23 -0
- package/dist/translations/sq.umd.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr-latn.umd.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sr.umd.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/sv.umd.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/th.umd.js +23 -0
- package/dist/translations/ti.d.ts +8 -0
- package/dist/translations/ti.js +23 -0
- package/dist/translations/ti.umd.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tk.umd.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tr.umd.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/tt.umd.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/ug.umd.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/uk.umd.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/ur.umd.js +23 -0
- package/dist/translations/uz.d.ts +8 -0
- package/dist/translations/uz.js +23 -0
- package/dist/translations/uz.umd.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/vi.umd.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh-cn.umd.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/translations/zh.umd.js +23 -0
- package/lang/translations/af.po +112 -0
- package/lang/translations/ar.po +112 -0
- package/lang/translations/ast.po +112 -0
- package/lang/translations/az.po +112 -0
- package/lang/translations/be.po +112 -0
- package/lang/translations/bg.po +112 -0
- package/lang/translations/bn.po +112 -0
- package/lang/translations/bs.po +112 -0
- package/lang/translations/ca.po +112 -0
- package/lang/translations/cs.po +112 -0
- package/lang/translations/da.po +112 -0
- package/lang/translations/de-ch.po +112 -0
- package/lang/translations/de.po +112 -0
- package/lang/translations/el.po +112 -0
- package/lang/translations/en-au.po +112 -0
- package/lang/translations/en-gb.po +112 -0
- package/lang/translations/en.po +112 -0
- package/lang/translations/eo.po +112 -0
- package/lang/translations/es-co.po +112 -0
- package/lang/translations/es.po +112 -0
- package/lang/translations/et.po +112 -0
- package/lang/translations/eu.po +112 -0
- package/lang/translations/fa.po +112 -0
- package/lang/translations/fi.po +112 -0
- package/lang/translations/fr.po +112 -0
- package/lang/translations/gl.po +112 -0
- package/lang/translations/gu.po +112 -0
- package/lang/translations/he.po +112 -0
- package/lang/translations/hi.po +112 -0
- package/lang/translations/hr.po +112 -0
- package/lang/translations/hu.po +112 -0
- package/lang/translations/hy.po +112 -0
- package/lang/translations/id.po +112 -0
- package/lang/translations/it.po +112 -0
- package/lang/translations/ja.po +112 -0
- package/lang/translations/jv.po +112 -0
- package/lang/translations/kk.po +112 -0
- package/lang/translations/km.po +112 -0
- package/lang/translations/kn.po +112 -0
- package/lang/translations/ko.po +112 -0
- package/lang/translations/ku.po +112 -0
- package/lang/translations/lt.po +112 -0
- package/lang/translations/lv.po +112 -0
- package/lang/translations/ms.po +112 -0
- package/lang/translations/nb.po +112 -0
- package/lang/translations/ne.po +112 -0
- package/lang/translations/nl.po +112 -0
- package/lang/translations/no.po +112 -0
- package/lang/translations/oc.po +112 -0
- package/lang/translations/pl.po +112 -0
- package/lang/translations/pt-br.po +112 -0
- package/lang/translations/pt.po +112 -0
- package/lang/translations/ro.po +112 -0
- package/lang/translations/ru.po +112 -0
- package/lang/translations/si.po +112 -0
- package/lang/translations/sk.po +112 -0
- package/lang/translations/sl.po +112 -0
- package/lang/translations/sq.po +112 -0
- package/lang/translations/sr-latn.po +112 -0
- package/lang/translations/sr.po +112 -0
- package/lang/translations/sv.po +112 -0
- package/lang/translations/th.po +112 -0
- package/lang/translations/ti.po +112 -0
- package/lang/translations/tk.po +112 -0
- package/lang/translations/tr.po +112 -0
- package/lang/translations/tt.po +112 -0
- package/lang/translations/ug.po +112 -0
- package/lang/translations/uk.po +112 -0
- package/lang/translations/ur.po +112 -0
- package/lang/translations/uz.po +112 -0
- package/lang/translations/vi.po +112 -0
- package/lang/translations/zh-cn.po +112 -0
- package/lang/translations/zh.po +112 -0
- package/package.json +9 -9
- package/src/commands/insertfootnotecommand.js +1 -1
- package/src/footnotes.js +1 -1
- package/src/footnotesclipboard.js +1 -1
- package/src/footnotesediting.js +1 -1
- package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
- package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
- package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
- package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
- package/src/footnotesproperties/footnotespropertiesui.js +1 -1
- package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
- package/src/footnotesproperties.js +1 -1
- package/src/footnotestracker.js +1 -1
- package/src/footnotesui.js +1 -1
- package/src/index.js +1 -1
- package/src/modelelementtracker.js +1 -1
- package/theme/footnotes.css +6 -16
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x440bab,ButtonView as _0x3b332d,ContextualBalloon as _0x374c06,createDropdown as _0x1a07c3}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x4a0089}from'ckeditor5/src/widget.js';import{Plugin as _0x15b53c}from'ckeditor5/src/core.js';import{IconFootnote as _0x4669ba,IconListStyleDecimal as _0x32d08c,IconListStyleDecimalLeadingZero as _0x2ecafa,IconListStyleLowerLatin as _0x21c07d,IconListStyleLowerRoman as _0x256892,IconListStyleUpperLatin as _0x55c667,IconListStyleUpperRoman as _0x4fb643}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x52e574}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x582424}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x15b53c{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x374c06,_0x4a0089];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x322a00}=this,{componentFactory:_0x58ff7e}=_0x322a00['ui'];_0x322a00['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x58ff7e['add']('footnotesStyle',function(_0x1a5d99){return _0x44f6c8=>{const {t:t}=_0x44f6c8,_0x522cbb=_0x1a5d99['commands']['get']('footnotesStyle'),_0x1bdd4e=_0x1a07c3(_0x44f6c8),{buttonView:_0x19f70c}=_0x1bdd4e;return _0x1bdd4e['class']='ck-footnotes-styles-dropdown',_0x1bdd4e['bind']('isEnabled')['to'](_0x522cbb,'isEnabled'),_0x19f70c['set']({'label':t('Footnotes\x20style'),'icon':_0x4669ba,'tooltip':!0x0}),_0x1bdd4e['once']('change:isOpen',()=>{const _0x47d0df=function({editor:_0x47167a,dropdownView:_0x109523}){const {t:t}=_0x47167a['locale'],_0x2c0dcc=t('Footnotes\x20definitions\x20styles'),_0x4f5588=function(_0x20d3ea){const t=_0x20d3ea['locale']['t'],_0x492790=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x32d08c},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x2ecafa},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x256892},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4fb643},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x21c07d},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x55c667}];return _0x492790['map'](function(_0x24f51c){const _0x25ba05=_0x24f51c['locale'];return({label:_0x394903,icon:_0xa6e90b,tooltip:_0x5adf5d,style:_0x545076})=>{const _0xfeb63a=_0x24f51c['commands']['get']('footnotesStyle'),_0x18264b=new _0x3b332d(_0x25ba05);return _0x18264b['set']({'label':_0x394903,'icon':_0xa6e90b,'tooltip':_0x5adf5d}),_0x18264b['bind']('isOn')['to'](_0xfeb63a,'value',_0x37fef8=>_0x37fef8===_0x545076),_0x18264b['bind']('isEnabled')['to'](_0xfeb63a,'isEnabled'),_0x18264b['on']('execute',()=>{_0x24f51c['execute']('footnotesStyle',{'value':_0x545076}),_0x24f51c['editing']['view']['focus']();}),_0x18264b;};}(_0x20d3ea));}(_0x47167a),_0x54239e=new _0x52e574(_0x47167a['locale'],{'styleGridAriaLabel':_0x2c0dcc,'styleButtonViews':_0x4f5588});return _0x54239e['delegate']('execute')['to'](_0x109523),_0x54239e['on']('footnotesListStart',(_0x249490,_0x55ad5d)=>{_0x47167a['execute']('footnotesStart',{'value':_0x55ad5d['startIndex']});}),_0x54239e;}({'editor':_0x1a5d99,'dropdownView':_0x1bdd4e});_0x1bdd4e['panelView']['children']['add'](_0x47d0df);}),_0x1bdd4e;};}(_0x322a00));}['afterInit'](){const {editor:_0x560518}=this,{t:t}=_0x560518['locale'],_0x2736f5=_0x560518['plugins']['get'](_0x4a0089),{defaultPositions:_0x2ef34d}=_0x440bab;_0x2736f5['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x560518['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x4c2af5=>{let _0x202e18=_0x4c2af5['getFirstPosition']()?.['parent'];return _0x202e18?.['is']('$text')&&(_0x202e18=_0x202e18['parent']),_0x202e18?.['is']('element')?_0x202e18['findAncestor'](_0x582424):null;},'positions':[_0x2ef34d['southArrowNorth'],_0x2ef34d['southArrowNorthMiddleWest'],_0x2ef34d['southArrowNorthMiddleEast'],_0x2ef34d['southArrowNorthWest'],_0x2ef34d['southArrowNorthEast'],_0x2ef34d['northArrowSouth'],_0x2ef34d['northArrowSouthMiddleWest'],_0x2ef34d['northArrowSouthMiddleEast'],_0x2ef34d['northArrowSouthWest'],_0x2ef34d['northArrowSouthEast'],_0x2ef34d['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x36e28f,View as _0x3d9777,ViewCollection as _0x14adae,FocusCycler as _0x4f96a7,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et}from'ckeditor5/src/ui.js';import{FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x3d9777{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x14adae();['focusCycler'];constructor(_0x2d0a7a,{styleButtonViews:_0x5dfc9f,styleGridAriaLabel:_0x1a18be}){super(_0x2d0a7a),(this['focusCycler']=new _0x4f96a7({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x5dfc9f,_0x1a18be),[this['startIndexFieldView'],this['additionalProperties']]=this['_appendAdditionalPropertiesCollapsibleView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-footnotes-definitions-properties']},'children':this['children']}));}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']);for(const _0x5bcbc0 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5bcbc0['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x32270b=_0x41e64a=>_0x41e64a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x32270b),this['keystrokes']['set']('arrowleft',_0x32270b),this['keystrokes']['set']('arrowup',_0x32270b),this['keystrokes']['set']('arrowdown',_0x32270b);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x12ed8c,_0x157e4e){const _0xd6e547=new _0x3d9777(this['locale']);return _0xd6e547['children']=_0xd6e547['createCollection'](),_0xd6e547['children']['addMany'](_0x12ed8c),_0xd6e547['setTemplate']({'tag':'div','attributes':{'aria-label':_0x157e4e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xd6e547['children']}),_0xd6e547['children']['delegate']('execute')['to'](this),_0xd6e547['focus']=function(){for(const _0x20dff3 of this['children'])if(_0x20dff3 instanceof _0x36e28f&&_0x20dff3['isOn'])return void _0x20dff3['focus']();this['children']['first']['focus']();},_0xd6e547['focusTracker']=new ot(),_0xd6e547['keystrokes']=new rt(),_0xd6e547['render'](),_0xd6e547['keystrokes']['listenTo'](_0xd6e547['element']),this['children']['add'](_0xd6e547),_0xd6e547;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x18f148=this['_createStartIndexPropertyView'](),_0x417805=[_0x18f148],_0x1a6ea4=new st(this['locale'],_0x417805);return _0x1a6ea4['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1a6ea4['buttonView']['bind']('isEnabled')['toMany'](_0x417805,'isEnabled',(..._0x4d33b9)=>_0x4d33b9['some'](_0x4a6d73=>_0x4a6d73)),_0x1a6ea4['buttonView']['on']('change:isEnabled',(_0x314f0b,_0x120828,_0x11462c)=>{_0x11462c||(_0x1a6ea4['isCollapsed']=!0x0);}),this['children']['add'](_0x1a6ea4),[_0x18f148,_0x1a6ea4];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x473c0a=new it(this['locale'],et);return _0x473c0a['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x473c0a['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x473c0a['fieldView']['on']('input',()=>{const _0x2e2fd9=_0x473c0a['fieldView']['element'],_0x1b3861=_0x2e2fd9['valueAsNumber'];Number['isNaN'](_0x1b3861)?_0x473c0a['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x2e2fd9['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1b3861}):_0x473c0a['errorText']=t(_0x1b3861<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x473c0a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xc7ef35=_0x4a3f;(function(_0x488263,_0x1c59f7){var _0x305648=_0x4a3f,_0x2c532e=_0x488263();while(!![]){try{var _0x200008=parseInt(_0x305648(0xe6))/0x1+parseInt(_0x305648(0xe8))/0x2*(parseInt(_0x305648(0xe9))/0x3)+-parseInt(_0x305648(0xdd))/0x4+-parseInt(_0x305648(0xe1))/0x5+parseInt(_0x305648(0xde))/0x6+parseInt(_0x305648(0xe4))/0x7+-parseInt(_0x305648(0xdf))/0x8*(parseInt(_0x305648(0xe3))/0x9);if(_0x200008===_0x1c59f7)break;else _0x2c532e['push'](_0x2c532e['shift']());}catch(_0x315a1c){_0x2c532e['push'](_0x2c532e['shift']());}}}(_0x19fa,0xca716));import{Plugin as _0x5e43f2}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x420898}from'./footnotesproperties/footnotespropertiesediting.js';function _0x19fa(){var _0xf182c8=['3704905Upvkbw','requires','7220565bFYhss','11432092KRumhS','pluginName','1501189UuLLmC','isPremiumPlugin','651242uGVbbI','12djuAsG','FootnotesProperties','238264VJSLyC','7226094tFIiVI','40OtdOgu','isOfficialPlugin'];_0x19fa=function(){return _0xf182c8;};return _0x19fa();}function _0x4a3f(_0x57e544,_0x1fe542){var _0x19faf4=_0x19fa();return _0x4a3f=function(_0x4a3f66,_0x311a52){_0x4a3f66=_0x4a3f66-0xdc;var _0x28c8b9=_0x19faf4[_0x4a3f66];return _0x28c8b9;},_0x4a3f(_0x57e544,_0x1fe542);}import{FootnotesPropertiesUI as _0x4e0d1d}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x5e43f2{static get[_0xc7ef35(0xe5)](){var _0xa576c0=_0xc7ef35;return _0xa576c0(0xdc);}static get[_0xc7ef35(0xe2)](){return[_0x420898,_0x4e0d1d];}static get[_0xc7ef35(0xe0)](){return!0x0;}static get[_0xc7ef35(0xe7)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2c5c44=_0xe431;(function(_0x4b4167,_0x5e6fdc){const _0x2caca4=_0xe431,_0xa5ea59=_0x4b4167();while(!![]){try{const _0x543519=parseInt(_0x2caca4(0x243))/0x1*(parseInt(_0x2caca4(0x247))/0x2)+-parseInt(_0x2caca4(0x254))/0x3*(parseInt(_0x2caca4(0x229))/0x4)+parseInt(_0x2caca4(0x20f))/0x5+parseInt(_0x2caca4(0x23c))/0x6*(-parseInt(_0x2caca4(0x223))/0x7)+parseInt(_0x2caca4(0x220))/0x8+parseInt(_0x2caca4(0x21e))/0x9+-parseInt(_0x2caca4(0x23a))/0xa*(-parseInt(_0x2caca4(0x22a))/0xb);if(_0x543519===_0x5e6fdc)break;else _0xa5ea59['push'](_0xa5ea59['shift']());}catch(_0x3814c0){_0xa5ea59['push'](_0xa5ea59['shift']());}}}(_0x2f07,0x6d4b4));import{Plugin as _0x2a0192}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x87bba4}from'./modelelementtracker.js';export class FootnotesTracker extends _0x2a0192{[_0x2c5c44(0x20a)]=[];[_0x2c5c44(0x24f)]=null;[_0x2c5c44(0x201)]=null;[_0x2c5c44(0x233)];[_0x2c5c44(0x22b)];[_0x2c5c44(0x24c)];static get[_0x2c5c44(0x218)](){const _0xaef489=_0x2c5c44;return _0xaef489(0x226);}static get[_0x2c5c44(0x203)](){return!0x0;}static get[_0x2c5c44(0x211)](){return!0x0;}constructor(_0xd9cd45){const _0x4a7130=_0x2c5c44;super(_0xd9cd45),this[_0x4a7130(0x233)]=new _0x87bba4(this[_0x4a7130(0x23f)][_0x4a7130(0x238)],{'elementName':_0x4a7130(0x200),'getElementKey':()=>_0x4a7130(0x206)}),this[_0x4a7130(0x22b)]=new _0x87bba4(this[_0x4a7130(0x23f)][_0x4a7130(0x238)],{'elementName':_0x4a7130(0x240),'getElementKey':_0x3b1862=>_0x3b1862[_0x4a7130(0x1f6)](_0x4a7130(0x236))}),this[_0x4a7130(0x24c)]=new _0x87bba4(this[_0x4a7130(0x23f)][_0x4a7130(0x238)],{'elementName':_0x4a7130(0x22c),'getElementKey':_0x2da968=>_0x2da968[_0x4a7130(0x1f6)](_0x4a7130(0x236))});}[_0x2c5c44(0x216)](){const _0x229e11=_0x2c5c44,{editor:_0xf991db}=this,{model:_0x241521,data:_0x5cc788}=_0xf991db;_0x241521[_0x229e11(0x209)][_0x229e11(0x244)](_0x403736=>{const _0x22b098=_0x229e11,_0x2c8277=_0x241521[_0x22b098(0x209)][_0x22b098(0x24b)][_0x22b098(0x252)]();let _0x408ec5=!0x1;return this[_0x22b098(0x246)](_0x403736,_0x2c8277)&&(_0x408ec5=!0x0),this[_0x22b098(0x239)](_0x403736,_0x2c8277)&&(_0x408ec5=!0x0),this[_0x22b098(0x250)](_0x403736,_0x2c8277)&&(_0x408ec5=!0x0),this[_0x22b098(0x210)](_0x403736)&&(_0x408ec5=!0x0),this[_0x22b098(0x1f2)](_0x403736)&&(_0x408ec5=!0x0),this[_0x22b098(0x224)](_0x403736)&&(_0x408ec5=!0x0),_0x408ec5;}),this[_0x229e11(0x1fa)](_0x241521[_0x229e11(0x209)],_0x229e11(0x22e),()=>{const _0x46313b=_0x229e11;_0x241521[_0x46313b(0x251)]({'isUndoable':!0x1},_0x449d43=>{const _0x27eab4=_0x46313b;this[_0x27eab4(0x234)](_0x449d43);});},{'priority':_0x229e11(0x24a)}),this[_0x229e11(0x1fa)](_0x5cc788,_0x229e11(0x245),()=>{const _0x570413=_0x229e11;this[_0x570413(0x20a)]=[],this[_0x570413(0x233)][_0x570413(0x21c)](),this[_0x570413(0x22b)][_0x570413(0x21c)](),this[_0x570413(0x24c)][_0x570413(0x21c)]();},{'priority':_0x229e11(0x213)});}[_0x2c5c44(0x221)](){const _0x278e00=_0x2c5c44;return this[_0x278e00(0x24f)];}[_0x2c5c44(0x1f9)](_0x749436){const _0x16d76f=_0x2c5c44;return this[_0x16d76f(0x20a)][_0x16d76f(0x202)](_0x4ce049=>_0x4ce049['id']===_0x749436)||null;}[_0x2c5c44(0x205)](){const _0x3a6221=_0x2c5c44;return Array[_0x3a6221(0x21f)](this[_0x3a6221(0x20a)]);}[_0x2c5c44(0x21a)](){const _0x1e38fd=_0x2c5c44;return this[_0x1e38fd(0x201)];}[_0x2c5c44(0x237)](_0x4b4221){const _0x1fba41=_0x2c5c44;this[_0x1fba41(0x201)]=_0x4b4221;}[_0x2c5c44(0x1fc)](_0x1a2f66,_0x1413e1=0x0){const _0x4ac969=_0x2c5c44;let _0x2408a0=!0x1;for(let _0x37749b=_0x1413e1;_0x37749b<this[_0x4ac969(0x20a)][_0x4ac969(0x217)];_0x37749b++)this[_0x4ac969(0x1fe)](_0x1a2f66,_0x37749b)&&(_0x2408a0=!0x0);return _0x2408a0;}[_0x2c5c44(0x20d)](_0x2ea287,_0x3ee368){const _0x2034dc=_0x2c5c44,_0x4764c6=_0x2ea287[_0x2034dc(0x21d)](_0x2034dc(0x200),{});return _0x2ea287[_0x2034dc(0x214)](_0x4764c6,_0x3ee368),this[_0x2034dc(0x24f)]=_0x4764c6,_0x4764c6;}[_0x2c5c44(0x234)](_0x508644){const _0x3d975b=_0x2c5c44;if(!this[_0x3d975b(0x20a)][_0x3d975b(0x217)]||this[_0x3d975b(0x24f)])return;const _0xb281ff=this[_0x3d975b(0x20a)][0x0][_0x3d975b(0x227)][_0x3d975b(0x1ff)],_0x16cbb6=this[_0x3d975b(0x20d)](_0x508644,_0xb281ff);for(const _0x5d1f6 of this[_0x3d975b(0x20a)])_0x5d1f6[_0x3d975b(0x20e)][_0x3d975b(0x1f0)]||_0x508644[_0x3d975b(0x1fd)](_0x5d1f6[_0x3d975b(0x20e)],_0x16cbb6,_0x3d975b(0x253));this[_0x3d975b(0x1fc)](_0x508644);}[_0x2c5c44(0x246)](_0x5527f7,_0x114279){const _0x1472b3=_0x2c5c44;let _0x46ed10=!0x1;const {inserted:_0x5639f4,removed:_0x1f522b,moved:_0x5bf7f9}=this[_0x1472b3(0x233)][_0x1472b3(0x252)](_0x114279);if(_0x5bf7f9[_0x1472b3(0x217)]&&(this[_0x1472b3(0x24f)]=_0x5bf7f9[0x0]),_0x5639f4[_0x1472b3(0x217)]){if(_0x5639f4[_0x1472b3(0x217)]>0x1||this[_0x1472b3(0x24f)]&&_0x5639f4[_0x1472b3(0x255)](_0xe78977=>_0xe78977!==this[_0x1472b3(0x24f)])){const _0x484b0e=_0x5527f7[_0x1472b3(0x21d)](_0x1472b3(0x200),{}),_0x33a825=[];this[_0x1472b3(0x24f)]&&_0x33a825[_0x1472b3(0x242)](this[_0x1472b3(0x24f)]),_0x33a825[_0x1472b3(0x242)](..._0x5639f4),_0x5527f7[_0x1472b3(0x1fd)](_0x484b0e,_0x33a825[0x0],_0x1472b3(0x235));for(const _0x40773f of _0x33a825)_0x5527f7[_0x1472b3(0x232)](_0x5527f7[_0x1472b3(0x1f8)](_0x40773f),_0x5527f7[_0x1472b3(0x23e)](_0x484b0e,_0x1472b3(0x253))),_0x5527f7[_0x1472b3(0x21b)](_0x40773f);this[_0x1472b3(0x24f)]=_0x484b0e,this[_0x1472b3(0x1fc)](_0x5527f7),_0x46ed10=!0x0;}else this[_0x1472b3(0x24f)]=_0x5639f4[0x0];}if(_0x1f522b[_0x1472b3(0x217)]&&_0x1472b3(0x1f5)===this[_0x1472b3(0x24f)]?.[_0x1472b3(0x1ff)][_0x1472b3(0x23d)]){for(const _0x48f383 of this[_0x1472b3(0x20a)])_0x5527f7[_0x1472b3(0x21b)](_0x48f383[_0x1472b3(0x227)]),_0x46ed10=!0x0;this[_0x1472b3(0x20a)]=[],this[_0x1472b3(0x24f)]=null;}return _0x46ed10;}[_0x2c5c44(0x239)](_0x2912b7,_0x24e039){const _0x1a7d48=_0x2c5c44;let _0x36c6c2=!0x1;const _0x53823c=this[_0x1a7d48(0x23f)][_0x1a7d48(0x204)][_0x1a7d48(0x230)](_0x1a7d48(0x24e)),{inserted:_0x488eff,moved:_0xc9ca6f}=this[_0x1a7d48(0x24c)][_0x1a7d48(0x252)](_0x24e039);for(const _0x4b745e of[..._0xc9ca6f,..._0x488eff]){const _0x3097b1=_0x4b745e[_0x1a7d48(0x1f6)](_0x1a7d48(0x236)),_0x517580=this[_0x1a7d48(0x1f9)](_0x3097b1);_0x517580&&(_0x517580[_0x1a7d48(0x20e)]=_0x4b745e),_(_0x2912b7,_0x53823c,_0x4b745e)&&(_0x36c6c2=!0x0);}return _0x36c6c2;}[_0x2c5c44(0x250)](_0x428a95,_0x4e1378){const _0x350333=_0x2c5c44;let _0x1753f3=!0x1;const {removed:_0x173682,inserted:_0x532dc8,moved:_0x46e567}=this[_0x350333(0x22b)][_0x350333(0x252)](_0x4e1378);for(const _0x447a00 of _0x173682)this[_0x350333(0x212)](_0x428a95,_0x447a00)&&(_0x1753f3=!0x0);for(const _0x358ee3 of _0x532dc8)this[_0x350333(0x231)](_0x428a95,_0x358ee3)&&(_0x1753f3=!0x0);for(const _0x4f56ba of _0x46e567)this[_0x350333(0x1fb)](_0x428a95,_0x4f56ba)&&(_0x1753f3=!0x0);return _0x1753f3;}[_0x2c5c44(0x1f2)](_0x1d9d04){const _0x1da206=_0x2c5c44;if(!this[_0x1da206(0x24f)])return!0x1;let _0x1b62d2=!0x1;if(this[_0x1da206(0x24f)][_0x1da206(0x207)]!==this[_0x1da206(0x20a)][_0x1da206(0x217)]){const _0xe332ca=[];for(const _0x5b74c8 of this[_0x1da206(0x24f)][_0x1da206(0x225)]()){const _0x3fbbe2=_0x5b74c8[_0x1da206(0x1f6)](_0x1da206(0x236));this[_0x1da206(0x1f9)](_0x3fbbe2)||(_0xe332ca[_0x1da206(0x1f1)](_0x5b74c8),_0x1b62d2=!0x0);}for(const _0x126c67 of _0xe332ca)_0x1d9d04[_0x1da206(0x21b)](_0x126c67);}const _0x44691f=new Set(),_0x567820=[];for(const _0x234cc1 of this[_0x1da206(0x24f)][_0x1da206(0x225)]()){const _0x148025=_0x234cc1[_0x1da206(0x1f6)](_0x1da206(0x236));_0x44691f[_0x1da206(0x228)](_0x148025)?(_0x567820[_0x1da206(0x1f1)](_0x234cc1),_0x1b62d2=!0x0):_0x44691f[_0x1da206(0x22d)](_0x148025);}for(const _0x5174e6 of _0x567820)_0x1d9d04[_0x1da206(0x21b)](_0x5174e6);return this[_0x1da206(0x24f)][_0x1da206(0x207)]||(_0x1d9d04[_0x1da206(0x21b)](this[_0x1da206(0x24f)]),this[_0x1da206(0x24f)]=null,_0x1b62d2=!0x0),_0x1b62d2;}[_0x2c5c44(0x231)](_0x3708b7,_0x32b8e8){const _0x1ca41f=_0x2c5c44;if(this[_0x1ca41f(0x20a)][_0x1ca41f(0x202)](_0x417cf2=>_0x417cf2[_0x1ca41f(0x227)]===_0x32b8e8))return!0x1;let _0x4ddc1f=!0x1;const _0x127e74=_0x32b8e8[_0x1ca41f(0x1f6)](_0x1ca41f(0x236)),_0x21acd5=this[_0x1ca41f(0x20a)][_0x1ca41f(0x249)](_0x5613d5=>_0x5613d5['id']===_0x127e74);-0x1!==_0x21acd5&&(_0x3708b7[_0x1ca41f(0x21b)](this[_0x1ca41f(0x20a)][_0x21acd5][_0x1ca41f(0x227)]),this[_0x1ca41f(0x20a)][_0x1ca41f(0x222)](_0x21acd5,0x1),_0x4ddc1f=!0x0);let _0x2c49b7=this[_0x1ca41f(0x24f)]?function(_0x1b1981,_0x487f97){const _0x5748bb=_0x1ca41f;for(const _0x3f0723 of _0x1b1981[_0x5748bb(0x225)]())if(_0x3f0723[_0x5748bb(0x1f6)](_0x5748bb(0x236))===_0x487f97)return _0x3f0723;return null;}(this[_0x1ca41f(0x24f)],_0x127e74):null;_0x2c49b7||(_0x2c49b7=_0x3708b7[_0x1ca41f(0x21d)](_0x1ca41f(0x22c),{'footnoteId':_0x127e74}),this[_0x1ca41f(0x24f)]&&(_0x3708b7[_0x1ca41f(0x1fd)](_0x2c49b7,this[_0x1ca41f(0x24f)],_0x1ca41f(0x253)),_0x4ddc1f=!0x0));const _0x137b18={'id':_0x127e74,'reference':_0x32b8e8,'definition':_0x2c49b7},_0x17a5bc=I(this[_0x1ca41f(0x23f)][_0x1ca41f(0x238)],this[_0x1ca41f(0x20a)],_0x32b8e8);this[_0x1ca41f(0x20a)][_0x1ca41f(0x222)](_0x17a5bc,0x0,_0x137b18);let _0x390901=_0x17a5bc;return-0x1!==_0x21acd5&&(_0x390901=Math[_0x1ca41f(0x1f3)](_0x17a5bc,_0x21acd5)),this[_0x1ca41f(0x1fc)](_0x3708b7,_0x390901)&&(_0x4ddc1f=!0x0),_0x4ddc1f;}[_0x2c5c44(0x212)](_0x391c14,_0x5cb452){const _0x85240f=_0x2c5c44,_0x4219f3=this[_0x85240f(0x20a)][_0x85240f(0x249)](_0x1b7e88=>_0x1b7e88['id']===_0x5cb452);if(-0x1===_0x4219f3)return!0x1;let _0x145741=!0x1;const _0x357e8b=this[_0x85240f(0x20a)][_0x4219f3];return _0x85240f(0x1f5)!==_0x357e8b[_0x85240f(0x20e)][_0x85240f(0x1ff)][_0x85240f(0x23d)]&&(_0x391c14[_0x85240f(0x21b)](_0x357e8b[_0x85240f(0x20e)]),_0x145741=!0x0),this[_0x85240f(0x20a)][_0x85240f(0x222)](_0x4219f3,0x1),this[_0x85240f(0x1fc)](_0x391c14,_0x4219f3)&&(_0x145741=!0x0),_0x145741;}[_0x2c5c44(0x1fb)](_0x403130,_0x4e4d07){const _0x522171=_0x2c5c44,_0x1e240d=_0x4e4d07[_0x522171(0x1f6)](_0x522171(0x236)),_0x1fee47=this[_0x522171(0x20a)][_0x522171(0x249)](_0x4efdaf=>_0x4efdaf['id']===_0x1e240d),_0x4cb921=this[_0x522171(0x20a)][_0x1fee47];let _0x5d696e=!0x1;_0x4cb921[_0x522171(0x227)]=_0x4e4d07,this[_0x522171(0x20a)][_0x522171(0x222)](_0x1fee47,0x1);const _0x1c5aea=I(this[_0x522171(0x23f)][_0x522171(0x238)],this[_0x522171(0x20a)],_0x4e4d07);return this[_0x522171(0x20a)][_0x522171(0x222)](_0x1c5aea,0x0,_0x4cb921),this[_0x522171(0x1fc)](_0x403130,Math[_0x522171(0x1f3)](_0x1fee47,_0x1c5aea))&&(_0x5d696e=!0x0),_0x5d696e;}[_0x2c5c44(0x1fe)](_0x2d2cb5,_0x570c5d){const _0x271f57=_0x2c5c44;if(!this[_0x271f57(0x24f)])return!0x1;const _0xf254df=this[_0x271f57(0x20a)][_0x570c5d];let _0x2850fb;return _0x2850fb=this[_0x271f57(0x201)]?this[_0x271f57(0x201)]({'footnote':_0xf254df,'container':this[_0x271f57(0x24f)],'digits':String(this[_0x271f57(0x20a)][_0x271f57(0x217)])[_0x271f57(0x217)],'value':_0x570c5d+0x1}):String(_0x570c5d+0x1),_0xf254df[_0x271f57(0x227)][_0x271f57(0x1f6)](_0x271f57(0x219))!=_0x2850fb&&(_0x2d2cb5[_0x271f57(0x248)](_0x271f57(0x219),_0x2850fb,_0xf254df[_0x271f57(0x227)]),!0x0);}[_0x2c5c44(0x224)](_0xeab594){const _0x4a8e9e=_0x2c5c44;if(!this[_0x4a8e9e(0x24f)]||this[_0x4a8e9e(0x20a)][_0x4a8e9e(0x217)]<0x2)return!0x1;if(function(_0x1d828d,_0x5f1317){const _0x114743=_0x4a8e9e;if(_0x1d828d[_0x114743(0x217)]!==_0x5f1317[_0x114743(0x217)])return!0x1;for(let _0x172f7f=0x0;_0x172f7f<_0x1d828d[_0x114743(0x217)];_0x172f7f++)if(_0x1d828d[_0x172f7f]!==_0x5f1317[_0x172f7f])return!0x1;return!0x0;}(this[_0x4a8e9e(0x20a)][_0x4a8e9e(0x22f)](_0x48de35=>_0x48de35['id']),Array[_0x4a8e9e(0x21f)](this[_0x4a8e9e(0x24f)][_0x4a8e9e(0x225)]())[_0x4a8e9e(0x22f)](_0x463f1a=>_0x463f1a[_0x4a8e9e(0x1f6)](_0x4a8e9e(0x236)))))return!0x1;let _0x268ccb=!0x1;for(let _0x4326d7=0x0;_0x4326d7<this[_0x4a8e9e(0x20a)][_0x4a8e9e(0x217)];_0x4326d7++){const _0x10f154=this[_0x4a8e9e(0x20a)][_0x4326d7],_0x395abb=_0xeab594[_0x4a8e9e(0x24d)](_0x10f154[_0x4a8e9e(0x20e)]),_0x66156e=_0xeab594[_0x4a8e9e(0x23e)](this[_0x4a8e9e(0x24f)],_0x4326d7);_0x395abb[_0x4a8e9e(0x1f7)](_0x66156e)||(_0xeab594[_0x4a8e9e(0x232)](_0xeab594[_0x4a8e9e(0x20b)](_0x10f154[_0x4a8e9e(0x20e)]),_0x66156e),_0x268ccb=!0x0);}return _0x268ccb;}[_0x2c5c44(0x210)](_0x201180){const _0x27a7bb=_0x2c5c44;if(!this[_0x27a7bb(0x20a)][_0x27a7bb(0x217)])return!0x1;const {model:_0x3823de}=this[_0x27a7bb(0x23f)];let _0x527be1=!0x1;for(let _0x19558b=0x0;_0x19558b<this[_0x27a7bb(0x20a)][_0x27a7bb(0x217)]-0x1;_0x19558b++){const _0x291957=this[_0x27a7bb(0x20a)][_0x19558b],_0x284e31=this[_0x27a7bb(0x20a)][_0x19558b+0x1],_0x32b0bf=_0x3823de[_0x27a7bb(0x24d)](_0x291957[_0x27a7bb(0x227)]),_0x529517=_0x3823de[_0x27a7bb(0x24d)](_0x284e31[_0x27a7bb(0x227)]);_0x27a7bb(0x241)===_0x32b0bf[_0x27a7bb(0x215)](_0x529517)&&(this[_0x27a7bb(0x1fb)](_0x201180,_0x291957[_0x27a7bb(0x227)]),_0x19558b=-0x1,_0x527be1=!0x0);}return _0x527be1;}}function _0xe431(_0x50182a,_0x2328f4){const _0x2f07e1=_0x2f07();return _0xe431=function(_0xe43132,_0x310c59){_0xe43132=_0xe43132-0x1f0;let _0x13ea2e=_0x2f07e1[_0xe43132];return _0x13ea2e;},_0xe431(_0x50182a,_0x2328f4);}function _(_0x355ba6,_0x5d3d8f,_0x1f89bf){const _0x13b100=_0x2c5c44;if(_0x1f89bf[_0x13b100(0x207)])return!0x1;const _0x5efcfc=_0x5d3d8f?_0x13b100(0x23b):_0x13b100(0x208);return _0x355ba6[_0x13b100(0x1fd)](_0x355ba6[_0x13b100(0x21d)](_0x5efcfc),_0x1f89bf),!0x0;}function _0x2f07(){const _0xeb9dbf=['_footnoteRefsTracker','footnoteDefinition','add','change:data','map','get','_handleInsertedFootnoteReference','move','_footnoteDefsContainerTracker','_ensureFootnotesDefinitionsContainerExists','before','footnoteId','setFootnoteFormatter','model','_handleFootnoteDefinitionsChanges','120vNUqrf','paragraph','1657938OXQngP','rootName','createPositionAt','editor','footnoteRef','after','push','191vrJAUB','registerPostFixer','set','_handleFootnotesDefinitionsObjectChanges','1362yAlwWr','setAttribute','findIndex','low','differ','_footnoteDefsTracker','createPositionBefore','footnotes.multiBlock','_footnotesDefinitions','_handleFootnoteReferencesChanges','enqueueChange','getChanges','end','3fHcAst','some','parent','unshift','_handleFootnotesDefinitionsObjectSync','min','indexOf','$graveyard','getAttribute','isEqual','createRangeIn','getFootnote','listenTo','_handleMovedFootnoteReference','_updateFootnotesCounters','insert','_updateFootnoteRefCounter','root','footnotesDefinitions','_footnoteFormatter','find','isOfficialPlugin','config','getFootnotes','singleton','childCount','footnoteInlineContent','document','_footnotes','createRangeOn','getRootNames','_insertEmptyFootnotesDefinitionsContainer','definition','2365710LOlBey','_ensureFootnotesReferencesHaveProperOrder','isPremiumPlugin','_handleRemoveFootnoteReferenceById','high','append','compareWith','init','length','pluginName','footnoteCounter','getFootnotesFormatter','remove','reset','createElement','3064473LlgkXB','from','377904OlvGYb','getFootnotesDefinitionsObjectElement','splice','7XlrHrw','_sortFootnoteDefinitions','getChildren','FootnotesTracker','reference','has','3087236oDIDAT','462781dUYecC'];_0x2f07=function(){return _0xeb9dbf;};return _0x2f07();}function I(_0x201f74,_0x1099f3,_0x252bb1){const _0x3339e1=_0x2c5c44;if(0x0===_0x1099f3[_0x3339e1(0x217)])return 0x0;const _0x15a2a9=_0x201f74[_0x3339e1(0x24d)](_0x252bb1);for(let _0xa47f3a=0x0;_0xa47f3a<_0x1099f3[_0x3339e1(0x217)];_0xa47f3a++){const _0x5aad15=_0x1099f3[_0xa47f3a],_0x2452f3=_0x201f74[_0x3339e1(0x24d)](_0x5aad15[_0x3339e1(0x227)]);if(_0x3339e1(0x235)===_0x15a2a9[_0x3339e1(0x215)](_0x2452f3))return _0xa47f3a;}const _0x362621=_0x252bb1[_0x3339e1(0x1ff)];let _0x59ca83=-0x1;for(let _0x5d34d6=_0x1099f3[_0x3339e1(0x217)]-0x1;_0x5d34d6>=0x0;_0x5d34d6--)if(_0x1099f3[_0x5d34d6][_0x3339e1(0x227)][_0x3339e1(0x1ff)]===_0x362621){_0x59ca83=_0x5d34d6;break;}if(-0x1!==_0x59ca83)return _0x59ca83+0x1;const _0x3b8fd0=_0x201f74[_0x3339e1(0x209)][_0x3339e1(0x20c)](),_0x238a98=_0x3b8fd0[_0x3339e1(0x1f4)](_0x362621[_0x3339e1(0x23d)]),_0x32c9d3=_0x3b8fd0[_0x238a98+0x1];if(_0x32c9d3){for(let _0x495e34=0x0;_0x495e34<_0x1099f3[_0x3339e1(0x217)];_0x495e34++)if(_0x1099f3[_0x495e34][_0x3339e1(0x227)][_0x3339e1(0x1ff)][_0x3339e1(0x23d)]===_0x32c9d3)return _0x495e34;}return _0x1099f3[_0x3339e1(0x217)];}
|
|
23
|
+
const _0xcece8e=_0x1ec4;function _0x2112(){const _0x3451fe=['some','remove','_sortFootnoteDefinitions','_ensureFootnotesDefinitionsContainerExists','insert','15syfAHy','move','footnoteDefinition','listenTo','end','after','7QGxjFR','6843992EEIcdq','_footnotesDefinitions','find','_footnoteFormatter','_handleInsertedFootnoteReference','length','getFootnotesDefinitionsObjectElement','min','_ensureFootnotesReferencesHaveProperOrder','reset','footnoteId','differ','getChanges','get','getChildren','getAttribute','createRangeIn','init','FootnotesTracker','set','enqueueChange','unshift','setFootnoteFormatter','createPositionAt','root','_updateFootnotesCounters','isPremiumPlugin','map','childCount','setAttribute','_footnoteDefsContainerTracker','footnoteCounter','_footnoteRefsTracker','footnoteRef','findIndex','document','2lhwWGO','isEqual','3345216KpPmvB','singleton','high','add','createElement','413422cuXpqR','footnoteInlineContent','_handleFootnotesDefinitionsObjectSync','_footnotes','createRangeOn','footnotesDefinitions','editor','3353985BjbArA','1639884zFPcjM','compareWith','low','pluginName','change:data','_insertEmptyFootnotesDefinitionsContainer','12641994KdFmbs','_footnoteDefsTracker','indexOf','has','append','registerPostFixer','$graveyard','_handleRemoveFootnoteReferenceById','_handleFootnoteReferencesChanges','footnotes.multiBlock','paragraph','_handleMovedFootnoteReference','reference','createPositionBefore','877700COYHVc','getFootnote','before','splice','config','parent','definition','rootName','_handleFootnotesDefinitionsObjectChanges','getFootnotes','getRootNames','model','_updateFootnoteRefCounter','push','from','isOfficialPlugin','getFootnotesFormatter','_handleFootnoteDefinitionsChanges'];_0x2112=function(){return _0x3451fe;};return _0x2112();}(function(_0x1a6e0c,_0xaf57f5){const _0x16bfb8=_0x1ec4,_0x32ae17=_0x1a6e0c();while(!![]){try{const _0x2b9259=-parseInt(_0x16bfb8(0xa2))/0x1*(-parseInt(_0x16bfb8(0x9b))/0x2)+-parseInt(_0x16bfb8(0xa9))/0x3+parseInt(_0x16bfb8(0xaa))/0x4*(-parseInt(_0x16bfb8(0xd5))/0x5)+parseInt(_0x16bfb8(0x9d))/0x6+parseInt(_0x16bfb8(0xdb))/0x7*(parseInt(_0x16bfb8(0xdc))/0x8)+parseInt(_0x16bfb8(0xb0))/0x9+-parseInt(_0x16bfb8(0xbe))/0xa;if(_0x2b9259===_0xaf57f5)break;else _0x32ae17['push'](_0x32ae17['shift']());}catch(_0x3e1351){_0x32ae17['push'](_0x32ae17['shift']());}}}(_0x2112,0xc2335));import{Plugin as _0x1b038e}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x4a1c03}from'./modelelementtracker.js';function _0x1ec4(_0x214317,_0x488b46){const _0x21122c=_0x2112();return _0x1ec4=function(_0x1ec497,_0x413cc9){_0x1ec497=_0x1ec497-0x99;let _0x478af7=_0x21122c[_0x1ec497];return _0x478af7;},_0x1ec4(_0x214317,_0x488b46);}export class FootnotesTracker extends _0x1b038e{[_0xcece8e(0xa5)]=[];[_0xcece8e(0xdd)]=null;[_0xcece8e(0xdf)]=null;[_0xcece8e(0xfa)];[_0xcece8e(0xfc)];[_0xcece8e(0xb1)];static get[_0xcece8e(0xad)](){const _0x31dd16=_0xcece8e;return _0x31dd16(0xee);}static get[_0xcece8e(0xcd)](){return!0x0;}static get[_0xcece8e(0xf6)](){return!0x0;}constructor(_0x22fad1){const _0x1fb157=_0xcece8e;super(_0x22fad1),this[_0x1fb157(0xfa)]=new _0x4a1c03(this[_0x1fb157(0xa8)][_0x1fb157(0xc9)],{'elementName':_0x1fb157(0xa7),'getElementKey':()=>_0x1fb157(0x9e)}),this[_0x1fb157(0xfc)]=new _0x4a1c03(this[_0x1fb157(0xa8)][_0x1fb157(0xc9)],{'elementName':_0x1fb157(0xfd),'getElementKey':_0x1c6910=>_0x1c6910[_0x1fb157(0xeb)](_0x1fb157(0xe6))}),this[_0x1fb157(0xb1)]=new _0x4a1c03(this[_0x1fb157(0xa8)][_0x1fb157(0xc9)],{'elementName':_0x1fb157(0xd7),'getElementKey':_0x5c51aa=>_0x5c51aa[_0x1fb157(0xeb)](_0x1fb157(0xe6))});}[_0xcece8e(0xed)](){const _0xaf80f4=_0xcece8e,{editor:_0x516ad2}=this,{model:_0x2948ec,data:_0x100ff0}=_0x516ad2;_0x2948ec[_0xaf80f4(0x9a)][_0xaf80f4(0xb5)](_0xc00b3d=>{const _0x2f59d9=_0xaf80f4,_0x5750ae=_0x2948ec[_0x2f59d9(0x9a)][_0x2f59d9(0xe7)][_0x2f59d9(0xe8)]();let _0xe5b399=!0x1;return this[_0x2f59d9(0xc6)](_0xc00b3d,_0x5750ae)&&(_0xe5b399=!0x0),this[_0x2f59d9(0xcf)](_0xc00b3d,_0x5750ae)&&(_0xe5b399=!0x0),this[_0x2f59d9(0xb8)](_0xc00b3d,_0x5750ae)&&(_0xe5b399=!0x0),this[_0x2f59d9(0xe4)](_0xc00b3d)&&(_0xe5b399=!0x0),this[_0x2f59d9(0xa4)](_0xc00b3d)&&(_0xe5b399=!0x0),this[_0x2f59d9(0xd2)](_0xc00b3d)&&(_0xe5b399=!0x0),_0xe5b399;}),this[_0xaf80f4(0xd8)](_0x2948ec[_0xaf80f4(0x9a)],_0xaf80f4(0xae),()=>{const _0x325575=_0xaf80f4;_0x2948ec[_0x325575(0xf0)]({'isUndoable':!0x1},_0xc3fb89=>{const _0x1eb16b=_0x325575;this[_0x1eb16b(0xd3)](_0xc3fb89);});},{'priority':_0xaf80f4(0xac)}),this[_0xaf80f4(0xd8)](_0x100ff0,_0xaf80f4(0xef),()=>{const _0x3f2c5b=_0xaf80f4;this[_0x3f2c5b(0xa5)]=[],this[_0x3f2c5b(0xfa)][_0x3f2c5b(0xe5)](),this[_0x3f2c5b(0xfc)][_0x3f2c5b(0xe5)](),this[_0x3f2c5b(0xb1)][_0x3f2c5b(0xe5)]();},{'priority':_0xaf80f4(0x9f)});}[_0xcece8e(0xe2)](){const _0x23773b=_0xcece8e;return this[_0x23773b(0xdd)];}[_0xcece8e(0xbf)](_0x5b6db9){const _0x5b68ca=_0xcece8e;return this[_0x5b68ca(0xa5)][_0x5b68ca(0xde)](_0xb7ceff=>_0xb7ceff['id']===_0x5b6db9)||null;}[_0xcece8e(0xc7)](){const _0x17823b=_0xcece8e;return Array[_0x17823b(0xcc)](this[_0x17823b(0xa5)]);}[_0xcece8e(0xce)](){const _0x62f773=_0xcece8e;return this[_0x62f773(0xdf)];}[_0xcece8e(0xf2)](_0x24fcc7){const _0x36d603=_0xcece8e;this[_0x36d603(0xdf)]=_0x24fcc7;}[_0xcece8e(0xf5)](_0x5750b3,_0x5cb332=0x0){const _0xf95bb6=_0xcece8e;let _0x297b36=!0x1;for(let _0x3d94fc=_0x5cb332;_0x3d94fc<this[_0xf95bb6(0xa5)][_0xf95bb6(0xe1)];_0x3d94fc++)this[_0xf95bb6(0xca)](_0x5750b3,_0x3d94fc)&&(_0x297b36=!0x0);return _0x297b36;}[_0xcece8e(0xaf)](_0x541b65,_0x3abb14){const _0x50fcd0=_0xcece8e,_0x884462=_0x541b65[_0x50fcd0(0xa1)](_0x50fcd0(0xa7),{});return _0x541b65[_0x50fcd0(0xb4)](_0x884462,_0x3abb14),this[_0x50fcd0(0xdd)]=_0x884462,_0x884462;}[_0xcece8e(0xd3)](_0x20bfec){const _0x231e29=_0xcece8e;if(!this[_0x231e29(0xa5)][_0x231e29(0xe1)]||this[_0x231e29(0xdd)])return;const _0x4ec6fe=this[_0x231e29(0xa5)][0x0][_0x231e29(0xbc)][_0x231e29(0xf4)],_0x49b5c1=this[_0x231e29(0xaf)](_0x20bfec,_0x4ec6fe);for(const _0xa580f3 of this[_0x231e29(0xa5)])_0xa580f3[_0x231e29(0xc4)][_0x231e29(0xc3)]||_0x20bfec[_0x231e29(0xd4)](_0xa580f3[_0x231e29(0xc4)],_0x49b5c1,_0x231e29(0xd9));this[_0x231e29(0xf5)](_0x20bfec);}[_0xcece8e(0xc6)](_0x327668,_0x5d6368){const _0x258623=_0xcece8e;let _0x24bcb2=!0x1;const {inserted:_0x3c21be,removed:_0x18c8db,moved:_0x20bcbb}=this[_0x258623(0xfa)][_0x258623(0xe8)](_0x5d6368);if(_0x20bcbb[_0x258623(0xe1)]&&(this[_0x258623(0xdd)]=_0x20bcbb[0x0]),_0x3c21be[_0x258623(0xe1)]){if(_0x3c21be[_0x258623(0xe1)]>0x1||this[_0x258623(0xdd)]&&_0x3c21be[_0x258623(0xd0)](_0x4ec656=>_0x4ec656!==this[_0x258623(0xdd)])){const _0x3c7c7e=_0x327668[_0x258623(0xa1)](_0x258623(0xa7),{}),_0x3d74c1=[];this[_0x258623(0xdd)]&&_0x3d74c1[_0x258623(0xcb)](this[_0x258623(0xdd)]),_0x3d74c1[_0x258623(0xcb)](..._0x3c21be),_0x327668[_0x258623(0xd4)](_0x3c7c7e,_0x3d74c1[0x0],_0x258623(0xc0));for(const _0xa7cd1b of _0x3d74c1)_0x327668[_0x258623(0xd6)](_0x327668[_0x258623(0xec)](_0xa7cd1b),_0x327668[_0x258623(0xf3)](_0x3c7c7e,_0x258623(0xd9))),_0x327668[_0x258623(0xd1)](_0xa7cd1b);this[_0x258623(0xdd)]=_0x3c7c7e,this[_0x258623(0xf5)](_0x327668),_0x24bcb2=!0x0;}else this[_0x258623(0xdd)]=_0x3c21be[0x0];}if(_0x18c8db[_0x258623(0xe1)]&&_0x258623(0xb6)===this[_0x258623(0xdd)]?.[_0x258623(0xf4)][_0x258623(0xc5)]){for(const _0x47d2ed of this[_0x258623(0xa5)])_0x327668[_0x258623(0xd1)](_0x47d2ed[_0x258623(0xbc)]),_0x24bcb2=!0x0;this[_0x258623(0xa5)]=[],this[_0x258623(0xdd)]=null;}return _0x24bcb2;}[_0xcece8e(0xcf)](_0x52ce97,_0x58f762){const _0x3a7f89=_0xcece8e;let _0x207188=!0x1;const _0x2da765=this[_0x3a7f89(0xa8)][_0x3a7f89(0xc2)][_0x3a7f89(0xe9)](_0x3a7f89(0xb9)),{inserted:_0x28f3e2,moved:_0x15d7a6}=this[_0x3a7f89(0xb1)][_0x3a7f89(0xe8)](_0x58f762);for(const _0x425f14 of[..._0x15d7a6,..._0x28f3e2]){const _0x2810f8=_0x425f14[_0x3a7f89(0xeb)](_0x3a7f89(0xe6)),_0x339e17=this[_0x3a7f89(0xbf)](_0x2810f8);_0x339e17&&(_0x339e17[_0x3a7f89(0xc4)]=_0x425f14),_(_0x52ce97,_0x2da765,_0x425f14)&&(_0x207188=!0x0);}return _0x207188;}[_0xcece8e(0xb8)](_0x12327a,_0x3be17e){const _0x1f6f33=_0xcece8e;let _0x11ebf0=!0x1;const {removed:_0x4d5b0d,inserted:_0x5e98e6,moved:_0x25625}=this[_0x1f6f33(0xfc)][_0x1f6f33(0xe8)](_0x3be17e);for(const _0x1e9b43 of _0x4d5b0d)this[_0x1f6f33(0xb7)](_0x12327a,_0x1e9b43)&&(_0x11ebf0=!0x0);for(const _0x27e29f of _0x5e98e6)this[_0x1f6f33(0xe0)](_0x12327a,_0x27e29f)&&(_0x11ebf0=!0x0);for(const _0x2c96e7 of _0x25625)this[_0x1f6f33(0xbb)](_0x12327a,_0x2c96e7)&&(_0x11ebf0=!0x0);return _0x11ebf0;}[_0xcece8e(0xa4)](_0x44e736){const _0x1f72e3=_0xcece8e;if(!this[_0x1f72e3(0xdd)])return!0x1;let _0x4a8b1f=!0x1;if(this[_0x1f72e3(0xdd)][_0x1f72e3(0xf8)]!==this[_0x1f72e3(0xa5)][_0x1f72e3(0xe1)]){const _0x4cd53c=[];for(const _0x35cb3d of this[_0x1f72e3(0xdd)][_0x1f72e3(0xea)]()){const _0x134d71=_0x35cb3d[_0x1f72e3(0xeb)](_0x1f72e3(0xe6));this[_0x1f72e3(0xbf)](_0x134d71)||(_0x4cd53c[_0x1f72e3(0xf1)](_0x35cb3d),_0x4a8b1f=!0x0);}for(const _0x4932e0 of _0x4cd53c)_0x44e736[_0x1f72e3(0xd1)](_0x4932e0);}const _0x1f9511=new Set(),_0x336eb5=[];for(const _0x3aa795 of this[_0x1f72e3(0xdd)][_0x1f72e3(0xea)]()){const _0x20af45=_0x3aa795[_0x1f72e3(0xeb)](_0x1f72e3(0xe6));_0x1f9511[_0x1f72e3(0xb3)](_0x20af45)?(_0x336eb5[_0x1f72e3(0xf1)](_0x3aa795),_0x4a8b1f=!0x0):_0x1f9511[_0x1f72e3(0xa0)](_0x20af45);}for(const _0x4eb58e of _0x336eb5)_0x44e736[_0x1f72e3(0xd1)](_0x4eb58e);return this[_0x1f72e3(0xdd)][_0x1f72e3(0xf8)]||(_0x44e736[_0x1f72e3(0xd1)](this[_0x1f72e3(0xdd)]),this[_0x1f72e3(0xdd)]=null,_0x4a8b1f=!0x0),_0x4a8b1f;}[_0xcece8e(0xe0)](_0x48b4b6,_0x2dcee){const _0x2055cc=_0xcece8e;if(this[_0x2055cc(0xa5)][_0x2055cc(0xde)](_0xcd15ef=>_0xcd15ef[_0x2055cc(0xbc)]===_0x2dcee))return!0x1;let _0x11464b=!0x1;const _0x3c976a=_0x2dcee[_0x2055cc(0xeb)](_0x2055cc(0xe6)),_0xd018a4=this[_0x2055cc(0xa5)][_0x2055cc(0x99)](_0x4d58d8=>_0x4d58d8['id']===_0x3c976a);-0x1!==_0xd018a4&&(_0x48b4b6[_0x2055cc(0xd1)](this[_0x2055cc(0xa5)][_0xd018a4][_0x2055cc(0xbc)]),this[_0x2055cc(0xa5)][_0x2055cc(0xc1)](_0xd018a4,0x1),_0x11464b=!0x0);let _0x39c7d7=this[_0x2055cc(0xdd)]?function(_0x14d230,_0x1418b3){const _0x12a731=_0x2055cc;for(const _0x5f5b20 of _0x14d230[_0x12a731(0xea)]())if(_0x5f5b20[_0x12a731(0xeb)](_0x12a731(0xe6))===_0x1418b3)return _0x5f5b20;return null;}(this[_0x2055cc(0xdd)],_0x3c976a):null;_0x39c7d7||(_0x39c7d7=_0x48b4b6[_0x2055cc(0xa1)](_0x2055cc(0xd7),{'footnoteId':_0x3c976a}),this[_0x2055cc(0xdd)]&&(_0x48b4b6[_0x2055cc(0xd4)](_0x39c7d7,this[_0x2055cc(0xdd)],_0x2055cc(0xd9)),_0x11464b=!0x0));const _0x50bb37={'id':_0x3c976a,'reference':_0x2dcee,'definition':_0x39c7d7},_0x5b3130=I(this[_0x2055cc(0xa8)][_0x2055cc(0xc9)],this[_0x2055cc(0xa5)],_0x2dcee);this[_0x2055cc(0xa5)][_0x2055cc(0xc1)](_0x5b3130,0x0,_0x50bb37);let _0x2fc9a6=_0x5b3130;return-0x1!==_0xd018a4&&(_0x2fc9a6=Math[_0x2055cc(0xe3)](_0x5b3130,_0xd018a4)),this[_0x2055cc(0xf5)](_0x48b4b6,_0x2fc9a6)&&(_0x11464b=!0x0),_0x11464b;}[_0xcece8e(0xb7)](_0xaa57a1,_0x4e20ed){const _0x3cf70e=_0xcece8e,_0x579cf7=this[_0x3cf70e(0xa5)][_0x3cf70e(0x99)](_0x4e4640=>_0x4e4640['id']===_0x4e20ed);if(-0x1===_0x579cf7)return!0x1;let _0x2a432e=!0x1;const _0x4536be=this[_0x3cf70e(0xa5)][_0x579cf7];return _0x3cf70e(0xb6)!==_0x4536be[_0x3cf70e(0xc4)][_0x3cf70e(0xf4)][_0x3cf70e(0xc5)]&&(_0xaa57a1[_0x3cf70e(0xd1)](_0x4536be[_0x3cf70e(0xc4)]),_0x2a432e=!0x0),this[_0x3cf70e(0xa5)][_0x3cf70e(0xc1)](_0x579cf7,0x1),this[_0x3cf70e(0xf5)](_0xaa57a1,_0x579cf7)&&(_0x2a432e=!0x0),_0x2a432e;}[_0xcece8e(0xbb)](_0x470089,_0x9d6f5c){const _0x2e7187=_0xcece8e,_0x25b926=_0x9d6f5c[_0x2e7187(0xeb)](_0x2e7187(0xe6)),_0xf6e3d2=this[_0x2e7187(0xa5)][_0x2e7187(0x99)](_0x57017e=>_0x57017e['id']===_0x25b926),_0x2badad=this[_0x2e7187(0xa5)][_0xf6e3d2];let _0x181402=!0x1;_0x2badad[_0x2e7187(0xbc)]=_0x9d6f5c,this[_0x2e7187(0xa5)][_0x2e7187(0xc1)](_0xf6e3d2,0x1);const _0xb79a04=I(this[_0x2e7187(0xa8)][_0x2e7187(0xc9)],this[_0x2e7187(0xa5)],_0x9d6f5c);return this[_0x2e7187(0xa5)][_0x2e7187(0xc1)](_0xb79a04,0x0,_0x2badad),this[_0x2e7187(0xf5)](_0x470089,Math[_0x2e7187(0xe3)](_0xf6e3d2,_0xb79a04))&&(_0x181402=!0x0),_0x181402;}[_0xcece8e(0xca)](_0x44a5ad,_0x5e5e87){const _0x5c1862=_0xcece8e;if(!this[_0x5c1862(0xdd)])return!0x1;const _0x1674c1=this[_0x5c1862(0xa5)][_0x5e5e87];let _0x41fe8c;return _0x41fe8c=this[_0x5c1862(0xdf)]?this[_0x5c1862(0xdf)]({'footnote':_0x1674c1,'container':this[_0x5c1862(0xdd)],'digits':String(this[_0x5c1862(0xa5)][_0x5c1862(0xe1)])[_0x5c1862(0xe1)],'value':_0x5e5e87+0x1}):String(_0x5e5e87+0x1),_0x1674c1[_0x5c1862(0xbc)][_0x5c1862(0xeb)](_0x5c1862(0xfb))!=_0x41fe8c&&(_0x44a5ad[_0x5c1862(0xf9)](_0x5c1862(0xfb),_0x41fe8c,_0x1674c1[_0x5c1862(0xbc)]),!0x0);}[_0xcece8e(0xd2)](_0x45eff8){const _0x24189d=_0xcece8e;if(!this[_0x24189d(0xdd)]||this[_0x24189d(0xa5)][_0x24189d(0xe1)]<0x2)return!0x1;if(function(_0x5c9aac,_0x217897){const _0x841485=_0x24189d;if(_0x5c9aac[_0x841485(0xe1)]!==_0x217897[_0x841485(0xe1)])return!0x1;for(let _0x378cc7=0x0;_0x378cc7<_0x5c9aac[_0x841485(0xe1)];_0x378cc7++)if(_0x5c9aac[_0x378cc7]!==_0x217897[_0x378cc7])return!0x1;return!0x0;}(this[_0x24189d(0xa5)][_0x24189d(0xf7)](_0x25c239=>_0x25c239['id']),Array[_0x24189d(0xcc)](this[_0x24189d(0xdd)][_0x24189d(0xea)]())[_0x24189d(0xf7)](_0x1201a3=>_0x1201a3[_0x24189d(0xeb)](_0x24189d(0xe6)))))return!0x1;let _0x40994e=!0x1;for(let _0x570e67=0x0;_0x570e67<this[_0x24189d(0xa5)][_0x24189d(0xe1)];_0x570e67++){const _0x300eb7=this[_0x24189d(0xa5)][_0x570e67],_0x3f05e7=_0x45eff8[_0x24189d(0xbd)](_0x300eb7[_0x24189d(0xc4)]),_0x2a3497=_0x45eff8[_0x24189d(0xf3)](this[_0x24189d(0xdd)],_0x570e67);_0x3f05e7[_0x24189d(0x9c)](_0x2a3497)||(_0x45eff8[_0x24189d(0xd6)](_0x45eff8[_0x24189d(0xa6)](_0x300eb7[_0x24189d(0xc4)]),_0x2a3497),_0x40994e=!0x0);}return _0x40994e;}[_0xcece8e(0xe4)](_0x5b905d){const _0x554c19=_0xcece8e;if(!this[_0x554c19(0xa5)][_0x554c19(0xe1)])return!0x1;const {model:_0x101fa4}=this[_0x554c19(0xa8)];let _0x18c8af=!0x1;for(let _0xe71196=0x0;_0xe71196<this[_0x554c19(0xa5)][_0x554c19(0xe1)]-0x1;_0xe71196++){const _0x557baa=this[_0x554c19(0xa5)][_0xe71196],_0x27a3c6=this[_0x554c19(0xa5)][_0xe71196+0x1],_0x497a20=_0x101fa4[_0x554c19(0xbd)](_0x557baa[_0x554c19(0xbc)]),_0xcc0ba=_0x101fa4[_0x554c19(0xbd)](_0x27a3c6[_0x554c19(0xbc)]);_0x554c19(0xda)===_0x497a20[_0x554c19(0xab)](_0xcc0ba)&&(this[_0x554c19(0xbb)](_0x5b905d,_0x557baa[_0x554c19(0xbc)]),_0xe71196=-0x1,_0x18c8af=!0x0);}return _0x18c8af;}}function _(_0x356311,_0x4b16cd,_0x1b75f3){const _0x2ad60a=_0xcece8e;if(_0x1b75f3[_0x2ad60a(0xf8)])return!0x1;const _0x316350=_0x4b16cd?_0x2ad60a(0xba):_0x2ad60a(0xa3);return _0x356311[_0x2ad60a(0xd4)](_0x356311[_0x2ad60a(0xa1)](_0x316350),_0x1b75f3),!0x0;}function I(_0x3a5a91,_0x46fa7f,_0x88a888){const _0x4c78ea=_0xcece8e;if(0x0===_0x46fa7f[_0x4c78ea(0xe1)])return 0x0;const _0x56ba9d=_0x3a5a91[_0x4c78ea(0xbd)](_0x88a888);for(let _0xe1d80c=0x0;_0xe1d80c<_0x46fa7f[_0x4c78ea(0xe1)];_0xe1d80c++){const _0x18124d=_0x46fa7f[_0xe1d80c],_0x45bb91=_0x3a5a91[_0x4c78ea(0xbd)](_0x18124d[_0x4c78ea(0xbc)]);if(_0x4c78ea(0xc0)===_0x56ba9d[_0x4c78ea(0xab)](_0x45bb91))return _0xe1d80c;}const _0x506ae8=_0x88a888[_0x4c78ea(0xf4)];let _0x42e3d4=-0x1;for(let _0x48e7b8=_0x46fa7f[_0x4c78ea(0xe1)]-0x1;_0x48e7b8>=0x0;_0x48e7b8--)if(_0x46fa7f[_0x48e7b8][_0x4c78ea(0xbc)][_0x4c78ea(0xf4)]===_0x506ae8){_0x42e3d4=_0x48e7b8;break;}if(-0x1!==_0x42e3d4)return _0x42e3d4+0x1;const _0xbfa98b=_0x3a5a91[_0x4c78ea(0x9a)][_0x4c78ea(0xc8)](),_0x315387=_0xbfa98b[_0x4c78ea(0xb2)](_0x506ae8[_0x4c78ea(0xc5)]),_0x518d1a=_0xbfa98b[_0x315387+0x1];if(_0x518d1a){for(let _0x20a3cf=0x0;_0x20a3cf<_0x46fa7f[_0x4c78ea(0xe1)];_0x20a3cf++)if(_0x46fa7f[_0x20a3cf][_0x4c78ea(0xbc)][_0x4c78ea(0xf4)][_0x4c78ea(0xc5)]===_0x518d1a)return _0x20a3cf;}return _0x46fa7f[_0x4c78ea(0xe1)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x47398e,MenuBarMenuListItemButtonView as _0x393c9d}from'ckeditor5/src/ui.js';import{Plugin as _0x2fb940}from'ckeditor5/src/core.js';import{IconFootnote as _0x52e584}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x2fb940{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x47bf53}=this,{componentFactory:_0x85459}=_0x47bf53['ui'];_0x85459['add']('insertFootnote',x(_0x47bf53,_0x47398e)),_0x85459['add']('menuBar:insertFootnote',x(_0x47bf53,_0x393c9d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xb2f30e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1fadac;for(const _0x2ec975 in _0xb2f30e){const _0x3e0e50=_0x2ec975,_0x5eb0e4=_0xb2f30e[_0x3e0e50];if('footnotesLicenseKeyValid'==_0x5eb0e4||'footnotesLicenseKeyInvalid'==_0x5eb0e4||'footnotesLicenseKeyExpired'==_0x5eb0e4||'footnotesLicenseKeyDomainLimit'==_0x5eb0e4||'footnotesLicenseKeyNotAllowed'==_0x5eb0e4||'footnotesLicenseKeyEvaluationLimit'==_0x5eb0e4||'footnotesLicenseKeyTrialLimit'==_0x5eb0e4||'footnotesLicenseKeyUsageLimit'==_0x5eb0e4){delete _0xb2f30e[_0x3e0e50],_0x1fadac=_0x5eb0e4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1fadac&&_0xb2f30e['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1fadac&&_0xb2f30e['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1fadac&&_0xb2f30e['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1fadac&&_0xb2f30e['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1fadac&&_0xb2f30e['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x1fadac&&_0xb2f30e['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x1fadac&&_0xb2f30e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x52e2b5,_0x3eb3dd){const _0x14bd94=_0x52e2b5['commands']['get']('insertFootnote');return _0x3fd8d2=>{const {t:t}=_0x3fd8d2,_0x29bcd5=new _0x3eb3dd(_0x3fd8d2),_0xf633ce=_0x29bcd5 instanceof _0x393c9d;return _0x29bcd5['bind']('isEnabled')['to'](_0x14bd94,'isEnabled'),_0x29bcd5['set']({'label':t(_0xf633ce?'Footnote':'Insert\x20footnote'),'icon':_0x52e584,'tooltip':!0x0}),_0x29bcd5['on']('execute',()=>{_0x14bd94['execute'](),_0x52e2b5['editing']['view']['focus']();}),_0x29bcd5;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x329f74,_0xcececb){var _0x33e406=_0xd529,_0x2d2df8=_0x329f74();while(!![]){try{var _0x29374d=parseInt(_0x33e406(0xfd))/0x1*(parseInt(_0x33e406(0x101))/0x2)+-parseInt(_0x33e406(0xfe))/0x3*(-parseInt(_0x33e406(0xfa))/0x4)+-parseInt(_0x33e406(0x103))/0x5*(-parseInt(_0x33e406(0x100))/0x6)+-parseInt(_0x33e406(0xfb))/0x7+-parseInt(_0x33e406(0x102))/0x8+-parseInt(_0x33e406(0xff))/0x9+parseInt(_0x33e406(0xfc))/0xa;if(_0x29374d===_0xcececb)break;else _0x2d2df8['push'](_0x2d2df8['shift']());}catch(_0x2790f3){_0x2d2df8['push'](_0x2d2df8['shift']());}}}(_0x53cb,0xa47d9));function _0x53cb(){var _0x1110fc=['127926QOLZGS','2QDNSRx','7120104orQIUi','85WyiDbw','40AMDGTW','4665269QsabnG','6099620fOaomP','1191735gqSKRO','63069MnHPEX','1297359bZlapB'];_0x53cb=function(){return _0x1110fc;};return _0x53cb();}import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';function _0xd529(_0x4a9ea0,_0x31764d){var _0x53cba1=_0x53cb();return _0xd529=function(_0xd52945,_0x479494){_0xd52945=_0xd52945-0xfa;var _0x3865fa=_0x53cba1[_0xd52945];return _0x3865fa;},_0xd529(_0x4a9ea0,_0x31764d);}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';export{FootnotesProperties}from'./footnotesproperties.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1178(_0x14ee34,_0x232d1b){const _0x4c9531=_0x4c95();return _0x1178=function(_0x1178e2,_0x17445a){_0x1178e2=_0x1178e2-0x7b;let _0x5740e7=_0x4c9531[_0x1178e2];return _0x5740e7;},_0x1178(_0x14ee34,_0x232d1b);}function _0x4c95(){const _0x45a40f=['getChanges','element','reset','flat','root','621fMfhIw','17672BHGtLk','5809951dMUvJd','get','5266140BIgfOa','set','push','clear','getItems','attributes','remove','_model','rootName','_trackedElements','elementName','delete','has','values','from','_elementName','$graveyard','24rRqqTE','type','add','position','439896dADKSG','642836vyCZfL','name','_getElementKey','$text','nodeAfter','getElementKey','slice','length','insert','createRangeOn','217775lwPdEP','2141345HPKxqC'];_0x4c95=function(){return _0x45a40f;};return _0x4c95();}const _0x1fbfe1=_0x1178;(function(_0x5de05a,_0x49d882){const _0x485759=_0x1178,_0x473c28=_0x5de05a();while(!![]){try{const _0x4e009b=-parseInt(_0x485759(0x9a))/0x1+parseInt(_0x485759(0x90))/0x2+-parseInt(_0x485759(0x8b))/0x3*(-parseInt(_0x485759(0x8f))/0x4)+-parseInt(_0x485759(0x9b))/0x5+parseInt(_0x485759(0xa5))/0x6+-parseInt(_0x485759(0xa3))/0x7+-parseInt(_0x485759(0xa2))/0x8*(parseInt(_0x485759(0xa1))/0x9);if(_0x4e009b===_0x49d882)break;else _0x473c28['push'](_0x473c28['shift']());}catch(_0x230851){_0x473c28['push'](_0x473c28['shift']());}}}(_0x4c95,0x6df8a));export class ModelElementTracker{[_0x1fbfe1(0x81)];[_0x1fbfe1(0x89)];[_0x1fbfe1(0x92)];[_0x1fbfe1(0x83)]=new Map();constructor(_0x5a4c6c,_0x158634){const _0x1234b9=_0x1fbfe1;this[_0x1234b9(0x81)]=_0x5a4c6c,this[_0x1234b9(0x89)]=_0x158634[_0x1234b9(0x84)],this[_0x1234b9(0x92)]=_0x158634[_0x1234b9(0x95)];}[_0x1fbfe1(0x9e)](){const _0x531c32=_0x1fbfe1;this[_0x531c32(0x83)][_0x531c32(0x7d)]();}[_0x1fbfe1(0x9c)](_0x419917){const _0x36bf78=_0x1fbfe1,_0x2eaebc=new Set(),_0x298b7a=new Map();for(const _0x14cd7f of _0x419917){if(_0x36bf78(0x98)===_0x14cd7f[_0x36bf78(0x8c)]&&_0x36bf78(0x93)!==_0x14cd7f[_0x36bf78(0x91)]&&_0x14cd7f[_0x36bf78(0x8e)][_0x36bf78(0x94)]){const _0x1b0c71=this[_0x36bf78(0x81)][_0x36bf78(0x99)](_0x14cd7f[_0x36bf78(0x8e)][_0x36bf78(0x94)]);for(const _0x585775 of _0x1b0c71[_0x36bf78(0x7e)]()){if(!_0x585775['is'](_0x36bf78(0x9d),this[_0x36bf78(0x89)]))continue;const _0x387738=this[_0x36bf78(0x92)](_0x585775);_0x298b7a[_0x36bf78(0x86)](_0x387738)||_0x298b7a[_0x36bf78(0x7b)](_0x387738,[]),_0x298b7a[_0x36bf78(0xa4)](_0x387738)[_0x36bf78(0x7c)](_0x585775);}}if(_0x36bf78(0x80)===_0x14cd7f[_0x36bf78(0x8c)]&&_0x14cd7f[_0x36bf78(0x91)]===this[_0x36bf78(0x89)]){const _0x21a448=this[_0x36bf78(0x92)]({'getAttribute':_0x43533e=>_0x14cd7f[_0x36bf78(0x7f)][_0x36bf78(0xa4)](_0x43533e)});_0x2eaebc[_0x36bf78(0x8d)](_0x21a448);}}for(const [_0x2aaac6,_0x4b460c]of this[_0x36bf78(0x83)])_0x36bf78(0x8a)===_0x4b460c[_0x36bf78(0xa0)][_0x36bf78(0x82)]&&_0x2eaebc[_0x36bf78(0x8d)](_0x2aaac6);for(const _0x44707d of _0x2eaebc)this[_0x36bf78(0x83)][_0x36bf78(0x85)](_0x44707d);for(const [_0x1d4e53,_0x39eae6]of _0x298b7a)this[_0x36bf78(0x83)][_0x36bf78(0x7b)](_0x1d4e53,_0x39eae6[_0x39eae6[_0x36bf78(0x97)]-0x1]);const _0x293412=new Set();for(const [_0x579de1,_0x2d8687]of _0x298b7a)_0x2eaebc[_0x36bf78(0x86)](_0x579de1)&&(_0x293412[_0x36bf78(0x8d)](_0x2d8687[0x0]),_0x2d8687[_0x36bf78(0x97)]>0x1?_0x298b7a[_0x36bf78(0x7b)](_0x579de1,_0x2d8687[_0x36bf78(0x96)](0x1)):_0x298b7a[_0x36bf78(0x85)](_0x579de1),_0x2eaebc[_0x36bf78(0x85)](_0x579de1));return{'removed':Array[_0x36bf78(0x88)](_0x2eaebc),'inserted':Array[_0x36bf78(0x88)](_0x298b7a[_0x36bf78(0x87)]())[_0x36bf78(0x9f)](),'moved':Array[_0x36bf78(0x88)](_0x293412)};}}
|
package/theme/footnotes.css
CHANGED
|
@@ -70,6 +70,12 @@
|
|
|
70
70
|
margin-bottom: 0;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
/*
|
|
74
|
+
* Footnotes use an ordered list to represent footnote definitions.
|
|
75
|
+
* The problem is that if we insert a list inside a footnote definition, the numbering of the
|
|
76
|
+
* nested list should have the decimal style instead of the lower-latin style. It's lower-latin
|
|
77
|
+
* because we place an ordered list inside another ordered list. It does not affect unordered lists.
|
|
78
|
+
*/
|
|
73
79
|
& ol {
|
|
74
80
|
list-style-type: decimal;
|
|
75
81
|
}
|
|
@@ -89,22 +95,6 @@
|
|
|
89
95
|
& ol ol ol ol ol {
|
|
90
96
|
list-style-type: upper-roman;
|
|
91
97
|
}
|
|
92
|
-
|
|
93
|
-
& ul {
|
|
94
|
-
list-style-type: disc;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
& ul ul {
|
|
98
|
-
list-style-type: circle;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
& ul ul ul {
|
|
102
|
-
list-style-type: square;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
& ul ul ul ul {
|
|
106
|
-
list-style-type: square;
|
|
107
|
-
}
|
|
108
98
|
}
|
|
109
99
|
}
|
|
110
100
|
|