@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251104.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 _0x5db7df=_0x25cc;(function(_0x4d2ead,_0x3605d7){const _0x5773d0=_0x25cc,_0x5c08f2=_0x4d2ead();while(!![]){try{const _0xc955b2=parseInt(_0x5773d0(0x9e))/0x1+-parseInt(_0x5773d0(0xbc))/0x2+-parseInt(_0x5773d0(0x95))/0x3+-parseInt(_0x5773d0(0xa0))/0x4+parseInt(_0x5773d0(0xb9))/0x5+parseInt(_0x5773d0(0x72))/0x6+-parseInt(_0x5773d0(0xb6))/0x7;if(_0xc955b2===_0x3605d7)break;else _0x5c08f2['push'](_0x5c08f2['shift']());}catch(_0x25a0e0){_0x5c08f2['push'](_0x5c08f2['shift']());}}}(_0x4d7a,0x70d19));import{Plugin as _0x2e3cc5}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x47072e}from'./modelelementtracker.js';export class FootnotesTracker extends _0x2e3cc5{[_0x5db7df(0xa3)]=[];[_0x5db7df(0x71)]=null;[_0x5db7df(0xb2)]=null;[_0x5db7df(0x74)];[_0x5db7df(0x6b)];[_0x5db7df(0xc0)];static get[_0x5db7df(0xa9)](){const _0x59d032=_0x5db7df;return _0x59d032(0x82);}static get[_0x5db7df(0xc3)](){return!0x0;}static get[_0x5db7df(0xb1)](){return!0x0;}constructor(_0x3515d5){const _0xd9f8e1=_0x5db7df;super(_0x3515d5),this[_0xd9f8e1(0x74)]=new _0x47072e(this[_0xd9f8e1(0x7e)][_0xd9f8e1(0xc4)],{'elementName':_0xd9f8e1(0xbf),'getElementKey':()=>_0xd9f8e1(0x6a)}),this[_0xd9f8e1(0x6b)]=new _0x47072e(this[_0xd9f8e1(0x7e)][_0xd9f8e1(0xc4)],{'elementName':_0xd9f8e1(0x77),'getElementKey':_0x240660=>_0x240660[_0xd9f8e1(0x6f)](_0xd9f8e1(0xc6))}),this[_0xd9f8e1(0xc0)]=new _0x47072e(this[_0xd9f8e1(0x7e)][_0xd9f8e1(0xc4)],{'elementName':_0xd9f8e1(0xa6),'getElementKey':_0x1fb072=>_0x1fb072[_0xd9f8e1(0x6f)](_0xd9f8e1(0xc6))});}[_0x5db7df(0x9a)](){const _0x3d8f65=_0x5db7df,{editor:_0x1990a1}=this,{model:_0x419e86,data:_0x3e7a60}=_0x1990a1;_0x419e86[_0x3d8f65(0x6e)][_0x3d8f65(0xbe)](_0x56652b=>{const _0x5e0d42=_0x3d8f65,_0x30bc2b=_0x419e86[_0x5e0d42(0x6e)][_0x5e0d42(0x87)][_0x5e0d42(0xc8)]();let _0x369826=!0x1;return this[_0x5e0d42(0xa4)](_0x56652b,_0x30bc2b)&&(_0x369826=!0x0),this[_0x5e0d42(0xcb)](_0x56652b,_0x30bc2b)&&(_0x369826=!0x0),this[_0x5e0d42(0x76)](_0x56652b,_0x30bc2b)&&(_0x369826=!0x0),this[_0x5e0d42(0x96)](_0x56652b)&&(_0x369826=!0x0),this[_0x5e0d42(0x73)](_0x56652b)&&(_0x369826=!0x0),this[_0x5e0d42(0xae)](_0x56652b)&&(_0x369826=!0x0),_0x369826;}),this[_0x3d8f65(0x79)](_0x419e86[_0x3d8f65(0x6e)],_0x3d8f65(0x70),()=>{const _0x3e0540=_0x3d8f65;_0x419e86[_0x3e0540(0xbd)]({'isUndoable':!0x1},_0x3e171f=>{const _0x22add1=_0x3e0540;this[_0x22add1(0x9d)](_0x3e171f);});},{'priority':_0x3d8f65(0xb7)}),this[_0x3d8f65(0x79)](_0x3e7a60,_0x3d8f65(0xb3),()=>{const _0x113d15=_0x3d8f65;this[_0x113d15(0xa3)]=[],this[_0x113d15(0x74)][_0x113d15(0xaf)](),this[_0x113d15(0x6b)][_0x113d15(0xaf)](),this[_0x113d15(0xc0)][_0x113d15(0xaf)]();},{'priority':_0x3d8f65(0x7a)});}[_0x5db7df(0x8f)](){const _0x26105d=_0x5db7df;return this[_0x26105d(0x71)];}[_0x5db7df(0xc2)](_0x434c72){const _0x4987b9=_0x5db7df;return this[_0x4987b9(0xa3)][_0x4987b9(0xc9)](_0x590464=>_0x590464['id']===_0x434c72)||null;}[_0x5db7df(0xa1)](){const _0x514818=_0x5db7df;return Array[_0x514818(0xca)](this[_0x514818(0xa3)]);}[_0x5db7df(0xc7)](){const _0x3230d3=_0x5db7df;return this[_0x3230d3(0xb2)];}[_0x5db7df(0x75)](_0x47280f){const _0x3872db=_0x5db7df;this[_0x3872db(0xb2)]=_0x47280f;}[_0x5db7df(0xc5)](_0x5f2e18,_0x14464e=0x0){const _0x470c18=_0x5db7df;let _0x3100eb=!0x1;for(let _0x10f9b2=_0x14464e;_0x10f9b2<this[_0x470c18(0xa3)][_0x470c18(0xb5)];_0x10f9b2++)this[_0x470c18(0x99)](_0x5f2e18,_0x10f9b2)&&(_0x3100eb=!0x0);return _0x3100eb;}[_0x5db7df(0x6c)](_0x57c15f,_0x196683){const _0x11e068=_0x5db7df,_0x4aa928=_0x57c15f[_0x11e068(0x91)](_0x11e068(0xbf),{});return _0x57c15f[_0x11e068(0x94)](_0x4aa928,_0x196683),this[_0x11e068(0x71)]=_0x4aa928,_0x4aa928;}[_0x5db7df(0x9d)](_0x5aa735){const _0x4f471d=_0x5db7df;if(!this[_0x4f471d(0xa3)][_0x4f471d(0xb5)]||this[_0x4f471d(0x71)])return;const _0x48665c=this[_0x4f471d(0xa3)][0x0][_0x4f471d(0x97)][_0x4f471d(0x9c)],_0x183115=this[_0x4f471d(0x6c)](_0x5aa735,_0x48665c);for(const _0x2c669f of this[_0x4f471d(0xa3)])_0x2c669f[_0x4f471d(0xa2)][_0x4f471d(0x9b)]||_0x5aa735[_0x4f471d(0xaa)](_0x2c669f[_0x4f471d(0xa2)],_0x183115,_0x4f471d(0xac));this[_0x4f471d(0xc5)](_0x5aa735);}[_0x5db7df(0xa4)](_0x150e21,_0x6678ac){const _0x4ce29b=_0x5db7df;let _0x5d7585=!0x1;const {inserted:_0x4d70e3,removed:_0x5a2aaa,moved:_0x398397}=this[_0x4ce29b(0x74)][_0x4ce29b(0xc8)](_0x6678ac);if(_0x398397[_0x4ce29b(0xb5)]&&(this[_0x4ce29b(0x71)]=_0x398397[0x0]),_0x4d70e3[_0x4ce29b(0xb5)]){if(_0x4d70e3[_0x4ce29b(0xb5)]>0x1||this[_0x4ce29b(0x71)]&&_0x4d70e3[_0x4ce29b(0x81)](_0x52f214=>_0x52f214!==this[_0x4ce29b(0x71)])){const _0x9ad3e4=_0x150e21[_0x4ce29b(0x91)](_0x4ce29b(0xbf),{}),_0x276426=[];this[_0x4ce29b(0x71)]&&_0x276426[_0x4ce29b(0xb0)](this[_0x4ce29b(0x71)]),_0x276426[_0x4ce29b(0xb0)](..._0x4d70e3),_0x150e21[_0x4ce29b(0xaa)](_0x9ad3e4,_0x276426[0x0],_0x4ce29b(0x7f));for(const _0x4daf2a of _0x276426)_0x150e21[_0x4ce29b(0x86)](_0x150e21[_0x4ce29b(0x8e)](_0x4daf2a),_0x150e21[_0x4ce29b(0x8d)](_0x9ad3e4,_0x4ce29b(0xac))),_0x150e21[_0x4ce29b(0x90)](_0x4daf2a);this[_0x4ce29b(0x71)]=_0x9ad3e4,this[_0x4ce29b(0xc5)](_0x150e21),_0x5d7585=!0x0;}else this[_0x4ce29b(0x71)]=_0x4d70e3[0x0];}if(_0x5a2aaa[_0x4ce29b(0xb5)]&&_0x4ce29b(0xb8)===this[_0x4ce29b(0x71)]?.[_0x4ce29b(0x9c)][_0x4ce29b(0xba)]){for(const _0x4c4a47 of this[_0x4ce29b(0xa3)])_0x150e21[_0x4ce29b(0x90)](_0x4c4a47[_0x4ce29b(0x97)]),_0x5d7585=!0x0;this[_0x4ce29b(0xa3)]=[],this[_0x4ce29b(0x71)]=null;}return _0x5d7585;}[_0x5db7df(0xcb)](_0x55731e,_0x5d75c2){const _0x13309f=_0x5db7df;let _0x46327a=!0x1;const _0x5b6d44=this[_0x13309f(0x7e)][_0x13309f(0x7d)][_0x13309f(0xb4)](_0x13309f(0x8a)),{inserted:_0x372c75,moved:_0x296d76}=this[_0x13309f(0xc0)][_0x13309f(0xc8)](_0x5d75c2);for(const _0x4de5b7 of[..._0x296d76,..._0x372c75]){const _0x3a30e8=_0x4de5b7[_0x13309f(0x6f)](_0x13309f(0xc6)),_0x15badd=this[_0x13309f(0xc2)](_0x3a30e8);_0x15badd&&(_0x15badd[_0x13309f(0xa2)]=_0x4de5b7),_(_0x55731e,_0x5b6d44,_0x4de5b7)&&(_0x46327a=!0x0);}return _0x46327a;}[_0x5db7df(0x76)](_0x200f55,_0x4f6505){const _0x250f2f=_0x5db7df;let _0x3c9096=!0x1;const {removed:_0x5ba280,inserted:_0x972541,moved:_0x48b2d3}=this[_0x250f2f(0x6b)][_0x250f2f(0xc8)](_0x4f6505);for(const _0x1bcd41 of _0x5ba280)this[_0x250f2f(0xa8)](_0x200f55,_0x1bcd41)&&(_0x3c9096=!0x0);for(const _0x2368e7 of _0x972541)this[_0x250f2f(0x7b)](_0x200f55,_0x2368e7)&&(_0x3c9096=!0x0);for(const _0x2af8e7 of _0x48b2d3)this[_0x250f2f(0x6d)](_0x200f55,_0x2af8e7)&&(_0x3c9096=!0x0);return _0x3c9096;}[_0x5db7df(0x73)](_0x1b461e){const _0x262b19=_0x5db7df;if(!this[_0x262b19(0x71)])return!0x1;let _0x3e33c1=!0x1;if(this[_0x262b19(0x71)][_0x262b19(0xad)]!==this[_0x262b19(0xa3)][_0x262b19(0xb5)]){const _0x23babe=[];for(const _0x45a4f1 of this[_0x262b19(0x71)][_0x262b19(0x85)]()){const _0x2cf04e=_0x45a4f1[_0x262b19(0x6f)](_0x262b19(0xc6));this[_0x262b19(0xc2)](_0x2cf04e)||(_0x23babe[_0x262b19(0x8c)](_0x45a4f1),_0x3e33c1=!0x0);}for(const _0x517637 of _0x23babe)_0x1b461e[_0x262b19(0x90)](_0x517637);}const _0x159b65=new Set(),_0x135d5f=[];for(const _0xc208fa of this[_0x262b19(0x71)][_0x262b19(0x85)]()){const _0x261ead=_0xc208fa[_0x262b19(0x6f)](_0x262b19(0xc6));_0x159b65[_0x262b19(0x88)](_0x261ead)?(_0x135d5f[_0x262b19(0x8c)](_0xc208fa),_0x3e33c1=!0x0):_0x159b65[_0x262b19(0x92)](_0x261ead);}for(const _0x89f1ec of _0x135d5f)_0x1b461e[_0x262b19(0x90)](_0x89f1ec);return this[_0x262b19(0x71)][_0x262b19(0xad)]||(_0x1b461e[_0x262b19(0x90)](this[_0x262b19(0x71)]),this[_0x262b19(0x71)]=null,_0x3e33c1=!0x0),_0x3e33c1;}[_0x5db7df(0x7b)](_0x362181,_0x386f7d){const _0x511ffb=_0x5db7df;if(this[_0x511ffb(0xa3)][_0x511ffb(0xc9)](_0x167313=>_0x167313[_0x511ffb(0x97)]===_0x386f7d))return!0x1;let _0x518439=!0x1;const _0x1095a5=_0x386f7d[_0x511ffb(0x6f)](_0x511ffb(0xc6)),_0x4de705=this[_0x511ffb(0xa3)][_0x511ffb(0x80)](_0x3a0555=>_0x3a0555['id']===_0x1095a5);-0x1!==_0x4de705&&(_0x362181[_0x511ffb(0x90)](this[_0x511ffb(0xa3)][_0x4de705][_0x511ffb(0x97)]),this[_0x511ffb(0xa3)][_0x511ffb(0xc1)](_0x4de705,0x1),_0x518439=!0x0);let _0x742b55=this[_0x511ffb(0x71)]?function(_0x51d78a,_0x490029){const _0x2848bb=_0x511ffb;for(const _0x1276cb of _0x51d78a[_0x2848bb(0x85)]())if(_0x1276cb[_0x2848bb(0x6f)](_0x2848bb(0xc6))===_0x490029)return _0x1276cb;return null;}(this[_0x511ffb(0x71)],_0x1095a5):null;_0x742b55||(_0x742b55=_0x362181[_0x511ffb(0x91)](_0x511ffb(0xa6),{'footnoteId':_0x1095a5}),this[_0x511ffb(0x71)]&&(_0x362181[_0x511ffb(0xaa)](_0x742b55,this[_0x511ffb(0x71)],_0x511ffb(0xac)),_0x518439=!0x0));const _0x456249={'id':_0x1095a5,'reference':_0x386f7d,'definition':_0x742b55},_0x3d9121=I(this[_0x511ffb(0x7e)][_0x511ffb(0xc4)],this[_0x511ffb(0xa3)],_0x386f7d);this[_0x511ffb(0xa3)][_0x511ffb(0xc1)](_0x3d9121,0x0,_0x456249);let _0x584999=_0x3d9121;return-0x1!==_0x4de705&&(_0x584999=Math[_0x511ffb(0x89)](_0x3d9121,_0x4de705)),this[_0x511ffb(0xc5)](_0x362181,_0x584999)&&(_0x518439=!0x0),_0x518439;}[_0x5db7df(0xa8)](_0x364ba6,_0x297d1e){const _0x4f7600=_0x5db7df,_0x12a18f=this[_0x4f7600(0xa3)][_0x4f7600(0x80)](_0x30f252=>_0x30f252['id']===_0x297d1e);if(-0x1===_0x12a18f)return!0x1;let _0x53a221=!0x1;const _0x6d7042=this[_0x4f7600(0xa3)][_0x12a18f];return _0x4f7600(0xb8)!==_0x6d7042[_0x4f7600(0xa2)][_0x4f7600(0x9c)][_0x4f7600(0xba)]&&(_0x364ba6[_0x4f7600(0x90)](_0x6d7042[_0x4f7600(0xa2)]),_0x53a221=!0x0),this[_0x4f7600(0xa3)][_0x4f7600(0xc1)](_0x12a18f,0x1),this[_0x4f7600(0xc5)](_0x364ba6,_0x12a18f)&&(_0x53a221=!0x0),_0x53a221;}[_0x5db7df(0x6d)](_0x177ad3,_0x1b059d){const _0x567244=_0x5db7df,_0x36b608=_0x1b059d[_0x567244(0x6f)](_0x567244(0xc6)),_0x4917d1=this[_0x567244(0xa3)][_0x567244(0x80)](_0xbecd17=>_0xbecd17['id']===_0x36b608),_0x411236=this[_0x567244(0xa3)][_0x4917d1];let _0x3202a5=!0x1;_0x411236[_0x567244(0x97)]=_0x1b059d,this[_0x567244(0xa3)][_0x567244(0xc1)](_0x4917d1,0x1);const _0x43b435=I(this[_0x567244(0x7e)][_0x567244(0xc4)],this[_0x567244(0xa3)],_0x1b059d);return this[_0x567244(0xa3)][_0x567244(0xc1)](_0x43b435,0x0,_0x411236),this[_0x567244(0xc5)](_0x177ad3,Math[_0x567244(0x89)](_0x4917d1,_0x43b435))&&(_0x3202a5=!0x0),_0x3202a5;}[_0x5db7df(0x99)](_0x35d1d2,_0x4e0b89){const _0x5a71fb=_0x5db7df;if(!this[_0x5a71fb(0x71)])return!0x1;const _0x58e2ac=this[_0x5a71fb(0xa3)][_0x4e0b89];let _0x4201c3;return _0x4201c3=this[_0x5a71fb(0xb2)]?this[_0x5a71fb(0xb2)]({'footnote':_0x58e2ac,'container':this[_0x5a71fb(0x71)],'digits':String(this[_0x5a71fb(0xa3)][_0x5a71fb(0xb5)])[_0x5a71fb(0xb5)],'value':_0x4e0b89+0x1}):String(_0x4e0b89+0x1),_0x58e2ac[_0x5a71fb(0x97)][_0x5a71fb(0x6f)](_0x5a71fb(0x8b))!=_0x4201c3&&(_0x35d1d2[_0x5a71fb(0xbb)](_0x5a71fb(0x8b),_0x4201c3,_0x58e2ac[_0x5a71fb(0x97)]),!0x0);}[_0x5db7df(0xae)](_0x166ffc){const _0x4f7f3a=_0x5db7df;if(!this[_0x4f7f3a(0x71)]||this[_0x4f7f3a(0xa3)][_0x4f7f3a(0xb5)]<0x2)return!0x1;if(function(_0x42db99,_0x3dfd7b){const _0x405105=_0x4f7f3a;if(_0x42db99[_0x405105(0xb5)]!==_0x3dfd7b[_0x405105(0xb5)])return!0x1;for(let _0x4ef21a=0x0;_0x4ef21a<_0x42db99[_0x405105(0xb5)];_0x4ef21a++)if(_0x42db99[_0x4ef21a]!==_0x3dfd7b[_0x4ef21a])return!0x1;return!0x0;}(this[_0x4f7f3a(0xa3)][_0x4f7f3a(0xa5)](_0x12db7b=>_0x12db7b['id']),Array[_0x4f7f3a(0xca)](this[_0x4f7f3a(0x71)][_0x4f7f3a(0x85)]())[_0x4f7f3a(0xa5)](_0x28c7c4=>_0x28c7c4[_0x4f7f3a(0x6f)](_0x4f7f3a(0xc6)))))return!0x1;let _0x2f1ba0=!0x1;for(let _0x4d8be1=0x0;_0x4d8be1<this[_0x4f7f3a(0xa3)][_0x4f7f3a(0xb5)];_0x4d8be1++){const _0x1ba26a=this[_0x4f7f3a(0xa3)][_0x4d8be1],_0x52dec8=_0x166ffc[_0x4f7f3a(0x7c)](_0x1ba26a[_0x4f7f3a(0xa2)]),_0x5c0fd4=_0x166ffc[_0x4f7f3a(0x8d)](this[_0x4f7f3a(0x71)],_0x4d8be1);_0x52dec8[_0x4f7f3a(0x83)](_0x5c0fd4)||(_0x166ffc[_0x4f7f3a(0x86)](_0x166ffc[_0x4f7f3a(0xab)](_0x1ba26a[_0x4f7f3a(0xa2)]),_0x5c0fd4),_0x2f1ba0=!0x0);}return _0x2f1ba0;}[_0x5db7df(0x96)](_0x3f1dcc){const _0x23d095=_0x5db7df;if(!this[_0x23d095(0xa3)][_0x23d095(0xb5)])return!0x1;const {model:_0x115add}=this[_0x23d095(0x7e)];let _0x3e6efa=!0x1;for(let _0x54ceb4=0x0;_0x54ceb4<this[_0x23d095(0xa3)][_0x23d095(0xb5)]-0x1;_0x54ceb4++){const _0x2ede01=this[_0x23d095(0xa3)][_0x54ceb4],_0x1c339b=this[_0x23d095(0xa3)][_0x54ceb4+0x1],_0x516388=_0x115add[_0x23d095(0x7c)](_0x2ede01[_0x23d095(0x97)]),_0x85ef77=_0x115add[_0x23d095(0x7c)](_0x1c339b[_0x23d095(0x97)]);_0x23d095(0x93)===_0x516388[_0x23d095(0x98)](_0x85ef77)&&(this[_0x23d095(0x6d)](_0x3f1dcc,_0x2ede01[_0x23d095(0x97)]),_0x54ceb4=-0x1,_0x3e6efa=!0x0);}return _0x3e6efa;}}function _(_0x5ad4e2,_0x33ace2,_0x4495bb){const _0x23e46a=_0x5db7df;if(_0x4495bb[_0x23e46a(0xad)])return!0x1;const _0x17836b=_0x33ace2?_0x23e46a(0x78):_0x23e46a(0x9f);return _0x5ad4e2[_0x23e46a(0xaa)](_0x5ad4e2[_0x23e46a(0x91)](_0x17836b),_0x4495bb),!0x0;}function _0x4d7a(){const _0x56d83f=['unshift','createPositionAt','createRangeIn','getFootnotesDefinitionsObjectElement','remove','createElement','add','after','append','1174626LQONlI','_ensureFootnotesReferencesHaveProperOrder','reference','compareWith','_updateFootnoteRefCounter','init','parent','root','_ensureFootnotesDefinitionsContainerExists','719512LIWKSP','footnoteInlineContent','1006680FyuhoJ','getFootnotes','definition','_footnotes','_handleFootnotesDefinitionsObjectChanges','map','footnoteDefinition','indexOf','_handleRemoveFootnoteReferenceById','pluginName','insert','createRangeOn','end','childCount','_sortFootnoteDefinitions','reset','push','isPremiumPlugin','_footnoteFormatter','set','get','length','2421027lTSRYG','low','$graveyard','1178995QGGrNj','rootName','setAttribute','725790vwOoum','enqueueChange','registerPostFixer','footnotesDefinitions','_footnoteDefsTracker','splice','getFootnote','isOfficialPlugin','model','_updateFootnotesCounters','footnoteId','getFootnotesFormatter','getChanges','find','from','_handleFootnoteDefinitionsChanges','singleton','_footnoteRefsTracker','_insertEmptyFootnotesDefinitionsContainer','_handleMovedFootnoteReference','document','getAttribute','change:data','_footnotesDefinitions','5152572RcJadk','_handleFootnotesDefinitionsObjectSync','_footnoteDefsContainerTracker','setFootnoteFormatter','_handleFootnoteReferencesChanges','footnoteRef','paragraph','listenTo','high','_handleInsertedFootnoteReference','createPositionBefore','config','editor','before','findIndex','some','FootnotesTracker','isEqual','getRootNames','getChildren','move','differ','has','min','footnotes.multiBlock','footnoteCounter'];_0x4d7a=function(){return _0x56d83f;};return _0x4d7a();}function _0x25cc(_0x2aff1a,_0x1fb0f0){const _0x4d7a9b=_0x4d7a();return _0x25cc=function(_0x25cc25,_0x1ba94e){_0x25cc25=_0x25cc25-0x6a;let _0x22bd7e=_0x4d7a9b[_0x25cc25];return _0x22bd7e;},_0x25cc(_0x2aff1a,_0x1fb0f0);}function I(_0xf01f10,_0x3f1eab,_0x63af74){const _0x573d14=_0x5db7df;if(0x0===_0x3f1eab[_0x573d14(0xb5)])return 0x0;const _0x3f9712=_0xf01f10[_0x573d14(0x7c)](_0x63af74);for(let _0x1c025f=0x0;_0x1c025f<_0x3f1eab[_0x573d14(0xb5)];_0x1c025f++){const _0x51513a=_0x3f1eab[_0x1c025f],_0x1da0ef=_0xf01f10[_0x573d14(0x7c)](_0x51513a[_0x573d14(0x97)]);if(_0x573d14(0x7f)===_0x3f9712[_0x573d14(0x98)](_0x1da0ef))return _0x1c025f;}const _0x2ce4ec=_0x63af74[_0x573d14(0x9c)];let _0x285ae1=-0x1;for(let _0x46d058=_0x3f1eab[_0x573d14(0xb5)]-0x1;_0x46d058>=0x0;_0x46d058--)if(_0x3f1eab[_0x46d058][_0x573d14(0x97)][_0x573d14(0x9c)]===_0x2ce4ec){_0x285ae1=_0x46d058;break;}if(-0x1!==_0x285ae1)return _0x285ae1+0x1;const _0xcecd3=_0xf01f10[_0x573d14(0x6e)][_0x573d14(0x84)](),_0x1389b3=_0xcecd3[_0x573d14(0xa7)](_0x2ce4ec[_0x573d14(0xba)]),_0x516dcb=_0xcecd3[_0x1389b3+0x1];if(_0x516dcb){for(let _0x2712b1=0x0;_0x2712b1<_0x3f1eab[_0x573d14(0xb5)];_0x2712b1++)if(_0x3f1eab[_0x2712b1][_0x573d14(0x97)][_0x573d14(0x9c)][_0x573d14(0xba)]===_0x516dcb)return _0x2712b1;}return _0x3f1eab[_0x573d14(0xb5)];}
|
|
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
|
-
const
|
|
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
|
|