@ckeditor/ckeditor5-footnotes 47.7.2 → 47.7.3
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 +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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/src/footnotesediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x9305a2}from'ckeditor5/src/core.js';import{isWidget as _0x19820f,toWidget as _0x32c383,toWidgetEditable as _0x19cd7c}from'ckeditor5/src/widget.js';import{uid as _0x13f973}from'ckeditor5/src/utils.js';import{PointerObserver as _0x26ea48,ClickObserver as _0x5c3b29}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x5e2be2}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x5a7e25}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x9305a2{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x5e2be2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x114086}=this;_0x114086['config']['define']('footnotes.multiBlock',!0x0),_0x114086['commands']['add']('insertFootnote',new _0x5a7e25(_0x114086)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x311f66){const _0x59d034=_0xe9c830([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x35dc0f=0x47a28506,_0x4aaa12=0x47a50f6e^_0x35dc0f,_0x1fb4dd=window[_0xe9c830([0x44,0x61,0x74,0x65])][_0xe9c830([0x6e,0x6f,0x77])](),_0x3ad186=_0x311f66[_0xe9c830([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1b4e59=new window[(_0xe9c830([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11fdb9=>{_0x3ad186[_0xe9c830([0x6f,0x6e,0x63,0x65])](_0xe9c830([0x72,0x65,0x61,0x64,0x79]),_0x11fdb9);}),_0x486a5f={[_0xe9c830([0x6b,0x74,0x79])]:_0xe9c830([0x45,0x43]),[_0xe9c830([0x75,0x73,0x65])]:_0xe9c830([0x73,0x69,0x67]),[_0xe9c830([0x63,0x72,0x76])]:_0xe9c830([0x50,0x2d,0x32,0x35,0x36]),[_0xe9c830([0x78])]:_0xe9c830([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xe9c830([0x79])]:_0xe9c830([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xe9c830([0x61,0x6c,0x67])]:_0xe9c830([0x45,0x53,0x32,0x35,0x36])},_0x4fb9f3=_0x3ad186[_0xe9c830([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe9c830([0x67,0x65,0x74])](_0xe9c830([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3bf74d(){let _0xb92064,_0x370781=null,_0x2feb24=null;try{if(_0x4fb9f3==_0xe9c830([0x47,0x50,0x4c]))return _0xe9c830([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xb92064=_0x1e2e4a(),!_0xb92064)return _0xe9c830([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xb92064[_0xe9c830([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2feb24=_0x2a6ade(_0xb92064[_0xe9c830([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xb92064[_0xe9c830([0x6a,0x74,0x69])])),await _0x4c75a8()?_0x135ef5()?_0x201d45()?_0xe9c830([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x29658f()?(_0xb92064[_0xe9c830([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe9c830([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x370781=_0x23632a(_0xe9c830([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1369f8()):_0xe9c830([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe9c830([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe9c830([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xe9c830([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x201d45(){const _0x4e4aa5=[_0xe9c830([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe9c830([0x74,0x72,0x69,0x61,0x6c])][_0xe9c830([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb92064[_0xe9c830([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1fb4dd/0x3e8:0xe10*_0x4aaa12;return _0xb92064[_0xe9c830([0x65,0x78,0x70])]<_0x4e4aa5;}function _0x135ef5(){const _0x58c0dd=_0xb92064[_0xe9c830([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x58c0dd&&(!!_0x58c0dd[_0xe9c830([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe9c830([0x2a]))||!!_0x58c0dd[_0xe9c830([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe9c830([0x46,0x4f,0x4f])));}function _0x29658f(){const _0x1c0e92=_0xb92064[_0xe9c830([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1c0e92||0x0==_0x1c0e92[_0xe9c830([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x589938}=new URL(window[_0xe9c830([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1c0e92[_0xe9c830([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x589938))return!0x0;const _0x3311bc=_0x589938[_0xe9c830([0x73,0x70,0x6c,0x69,0x74])](_0xe9c830([0x2e]));return _0x1c0e92[_0xe9c830([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc958e0=>_0xc958e0[_0xe9c830([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe9c830([0x2a])))[_0xe9c830([0x6d,0x61,0x70])](_0x4b7e4d=>_0x4b7e4d[_0xe9c830([0x73,0x70,0x6c,0x69,0x74])](_0xe9c830([0x2e])))[_0xe9c830([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d47bd=>_0x5d47bd[_0xe9c830([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3311bc[_0xe9c830([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe9c830([0x6d,0x61,0x70])](_0x1f090e=>Array(_0x3311bc[_0xe9c830([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1f090e[_0xe9c830([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe9c830([0x66,0x69,0x6c,0x6c])](_0x1f090e[0x0]===_0xe9c830([0x2a])?_0xe9c830([0x2a]):'')[_0xe9c830([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1f090e))[_0xe9c830([0x73,0x6f,0x6d,0x65])](_0x1f4727=>_0x3311bc[_0xe9c830([0x65,0x76,0x65,0x72,0x79])]((_0x164b54,_0x462f3a)=>_0x1f4727[_0x462f3a]===_0x164b54||_0x1f4727[_0x462f3a]===_0xe9c830([0x2a])));}function _0x1369f8(){return _0x370781&&_0x2feb24?new window[(_0xe9c830([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5904e9,_0x760a7c)=>{_0x370781[_0xe9c830([0x74,0x68,0x65,0x6e])](_0x5904e9,_0x760a7c),_0x2feb24[_0xe9c830([0x74,0x68,0x65,0x6e])](_0x3cafaa=>{_0x3cafaa!=_0xe9c830([0x56,0x61,0x6c,0x69,0x64])&&_0x5904e9(_0x3cafaa);},_0x760a7c);}):_0x370781||_0x2feb24||_0xe9c830([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2a6ade(_0x3d8b18,_0x591e68){return new window[(_0xe9c830([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5be0c6=>{if(_0x3de2c6())return _0x5be0c6(_0xe9c830([0x56,0x61,0x6c,0x69,0x64]));_0x253b92(),_0x3ad186[_0xe9c830([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe9c830([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x497bb5=!0x1;const _0x31aae0=_0x13f973();function _0x486132(_0xbe706b){return!!_0xbe706b&&(typeof _0xbe706b===_0xe9c830([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xbe706b===_0xe9c830([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xbe706b[_0xe9c830([0x74,0x68,0x65,0x6e])]===_0xe9c830([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xbe706b[_0xe9c830([0x63,0x61,0x74,0x63,0x68])]===_0xe9c830([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x566394(_0x422639){_0xdfc509(_0x422639)[_0xe9c830([0x74,0x68,0x65,0x6e])](_0x3463aa=>{if(!_0x3463aa||_0x3463aa[_0xe9c830([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe9c830([0x6f,0x6b]))return _0xe9c830([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2dccc3(_0x497e37(_0x31aae0+_0x591e68))!=_0x3463aa[_0xe9c830([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe9c830([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe9c830([0x56,0x61,0x6c,0x69,0x64]);})[_0xe9c830([0x74,0x68,0x65,0x6e])](_0x55c835=>(_0x4afb4f(),_0x55c835),()=>{const _0x1b4090=_0x1deec2();return null==_0x1b4090?(_0x4afb4f(),_0xe9c830([0x56,0x61,0x6c,0x69,0x64])):_0xe9c830(_0x1fb4dd-_0x1b4090>(0x63ae0106^_0x35dc0f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe9c830([0x74,0x68,0x65,0x6e])](_0x5be0c6)[_0xe9c830([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5be0c6(_0xe9c830([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3b3996=0x47946b86^_0x35dc0f;function _0x4afb4f(){const _0x13a368=_0xe9c830([0x6c,0x6c,0x63,0x74,0x2d])+_0x2dccc3(_0x497e37(_0x3d8b18)),_0x516705=_0x29b77f(_0x2dccc3(window[_0xe9c830([0x4d,0x61,0x74,0x68])][_0xe9c830([0x63,0x65,0x69,0x6c])](_0x1fb4dd/_0x3b3996)));window[_0xe9c830([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe9c830([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13a368,_0x516705);}function _0x1deec2(){const _0x4cc9e2=_0xe9c830([0x6c,0x6c,0x63,0x74,0x2d])+_0x2dccc3(_0x497e37(_0x3d8b18)),_0x4eae46=window[_0xe9c830([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe9c830([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4cc9e2);return _0x4eae46?window[_0xe9c830([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29b77f(_0x4eae46),0x10)*_0x3b3996:null;}function _0xdfc509(_0x21789b){return new window[(_0xe9c830([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46236c,_0xb4e1b0)=>{_0x21789b[_0xe9c830([0x74,0x68,0x65,0x6e])](_0x46236c,_0xb4e1b0),window[_0xe9c830([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xb4e1b0,0x47a351c6^_0x35dc0f);});}}_0x3ad186[_0xe9c830([0x6f,0x6e])](_0xe9c830([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x528d01,_0x723b1d)=>{if(_0x723b1d[0x0]!=_0x3d8b18)return _0x5be0c6(_0xe9c830([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x723b1d[0x1]={..._0x723b1d[0x1],[_0xe9c830([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x31aae0};},{[_0xe9c830([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe9c830([0x68,0x69,0x67,0x68])}),_0x3ad186[_0xe9c830([0x6f,0x6e])](_0xe9c830([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x294fb3=>{_0x486132(_0x294fb3[_0xe9c830([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x497bb5=!0x0,_0x566394(_0x294fb3[_0xe9c830([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe9c830([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe9c830([0x6c,0x6f,0x77])}),_0x1b4e59[_0xe9c830([0x74,0x68,0x65,0x6e])](()=>{_0x497bb5||_0x5be0c6(_0xe9c830([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3de2c6(){return _0x3ad186[_0xe9c830([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe9c830([0x76,0x69,0x65,0x77])][_0xe9c830([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe9c830([0x61,0x75,0x74,0x6f]);}function _0x253b92(){_0x3ad186[_0xe9c830([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe9c830([0x76,0x69,0x65,0x77])][_0xe9c830([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe9c830([0x61,0x75,0x74,0x6f]);}}function _0x23632a(_0x15f29e){const _0x114a72=[new window[(_0xe9c830([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d2585=>setTimeout(_0x2d2585,0x47abbbca^_0x35dc0f)),_0x1b4e59[_0xe9c830([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe9c830([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a1ad3=>{let _0x30e679=0x0;_0x3ad186[_0xe9c830([0x6d,0x6f,0x64,0x65,0x6c])][_0xe9c830([0x6f,0x6e])](_0xe9c830([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1ef8ba,_0xbfb1f8)=>{_0xbfb1f8[0x0][_0xe9c830([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x30e679++,_0x30e679==(0x47a280ee^_0x35dc0f)&&(_0x2a1ad3(),_0x1ef8ba[_0xe9c830([0x6f,0x66,0x66])]());});}))];return window[_0xe9c830([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe9c830([0x72,0x61,0x63,0x65])](_0x114a72)[_0xe9c830([0x74,0x68,0x65,0x6e])](()=>_0x15f29e);}async function _0x9a918a(){await _0x1b4e59,_0x3ad186[_0xe9c830([0x6d,0x6f,0x64,0x65,0x6c])][_0xe9c830([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x22a5e8,_0x3ad186[_0xe9c830([0x6d,0x6f,0x64,0x65,0x6c])][_0xe9c830([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x22a5e8,_0x3ad186[_0xe9c830([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe9c830([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c4391(_0x5079d2){const _0x2fa5db=_0x52e5ab();_0x3ad186[_0x2fa5db]=_0xe9c830([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5079d2,_0x5079d2!=_0xe9c830([0x56,0x61,0x6c,0x69,0x64])&&_0x9a918a();}function _0x52e5ab(){const _0x321b60=window[_0xe9c830([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe9c830([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe9c830([0x6e,0x6f,0x77])]())[_0xe9c830([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe9c830([0x2e]),'');let _0x2227f6=_0xe9c830([0x75]);for(let _0x447f1f=0x0;_0x447f1f<_0x321b60[_0xe9c830([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x447f1f+=0x2){let _0x1df374=window[_0xe9c830([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x321b60[_0xe9c830([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x447f1f,_0x447f1f+0x2));_0x1df374>=_0x59d034[_0xe9c830([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1df374-=_0x59d034[_0xe9c830([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2227f6+=_0x59d034[_0x1df374];}return _0x2227f6;}function _0x1e2e4a(){const _0x25671a=_0x4fb9f3[_0xe9c830([0x73,0x70,0x6c,0x69,0x74])](_0xe9c830([0x2e]));if(0x3!=_0x25671a[_0xe9c830([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4a7581(_0x25671a[0x1]);function _0x4a7581(_0x255972){const _0x5994d1=_0x3246ba(_0x255972);return _0x5994d1&&_0x519c6c()?_0x5994d1:null;function _0x519c6c(){const _0x464ea6=_0x5994d1[_0xe9c830([0x6a,0x74,0x69])],_0xb75170=window[_0xe9c830([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x464ea6[_0xe9c830([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x464ea6[_0xe9c830([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x212b47={..._0x5994d1,[_0xe9c830([0x6a,0x74,0x69])]:_0x464ea6[_0xe9c830([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x464ea6[_0xe9c830([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x212b47[_0xe9c830([0x76,0x63])],_0x497e37(_0x212b47)==_0xb75170;}}}async function _0x4c75a8(){let _0x1c04c3=!0x0;try{const _0x6c995=_0x4fb9f3[_0xe9c830([0x73,0x70,0x6c,0x69,0x74])](_0xe9c830([0x2e])),[_0x3ce65e,_0x44ab41,_0x5ea4c0]=_0x6c995;return _0x289361(_0x3ce65e),await _0x19fbb8(_0x3ce65e,_0x44ab41,_0x5ea4c0),_0x1c04c3;}catch{return!0x1;}function _0x289361(_0x1d394d){const _0x3ac36b=_0x3246ba(_0x1d394d);_0x3ac36b&&_0x3ac36b[_0xe9c830([0x61,0x6c,0x67])]==_0xe9c830([0x45,0x53,0x32,0x35,0x36])||(_0x1c04c3=!0x1);}async function _0x19fbb8(_0x5c1e5c,_0x353de3,_0x416f08){const _0x208883=window[_0xe9c830([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe9c830([0x66,0x72,0x6f,0x6d])](_0x12b0e8(_0x416f08),_0x1fb95e=>_0x1fb95e[_0xe9c830([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2120f3=new window[(_0xe9c830([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe9c830([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5c1e5c+_0xe9c830([0x2e])+_0x353de3),_0x1b65f4=window[_0xe9c830([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe9c830([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b65f4)return;const _0x2d9a85=await _0x1b65f4[_0xe9c830([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe9c830([0x6a,0x77,0x6b]),_0x486a5f,{[_0xe9c830([0x6e,0x61,0x6d,0x65])]:_0xe9c830([0x45,0x43,0x44,0x53,0x41]),[_0xe9c830([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe9c830([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe9c830([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b65f4[_0xe9c830([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe9c830([0x6e,0x61,0x6d,0x65])]:_0xe9c830([0x45,0x43,0x44,0x53,0x41]),[_0xe9c830([0x68,0x61,0x73,0x68])]:{[_0xe9c830([0x6e,0x61,0x6d,0x65])]:_0xe9c830([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2d9a85,_0x208883,_0x2120f3)||(_0x1c04c3=!0x1);}}function _0x3246ba(_0x464d52){return _0x464d52[_0xe9c830([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe9c830([0x65,0x79]))?JSON[_0xe9c830([0x70,0x61,0x72,0x73,0x65])](_0x12b0e8(_0x464d52)):null;}function _0x12b0e8(_0x289223){return window[_0xe9c830([0x61,0x74,0x6f,0x62])](_0x289223[_0xe9c830([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe9c830([0x2b]))[_0xe9c830([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe9c830([0x2f])));}function _0x497e37(_0xab0fa3){let _0x11751d=0x1505;function _0x46e732(_0x52f97d){for(let _0x4bc785=0x0;_0x4bc785<_0x52f97d[_0xe9c830([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bc785++){const _0x465f48=_0x52f97d[_0xe9c830([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4bc785);_0x11751d=(_0x11751d<<0x5)+_0x11751d+_0x465f48,_0x11751d&=_0x11751d;}}function _0x4381e2(_0x313409){Array[_0xe9c830([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x313409)?_0x313409[_0xe9c830([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4381e2):_0x313409&&typeof _0x313409==_0xe9c830([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe9c830([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x313409)[_0xe9c830([0x73,0x6f,0x72,0x74])]()[_0xe9c830([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x409d97,_0x278ddd])=>{_0x46e732(_0x409d97),_0x4381e2(_0x278ddd);}):_0x46e732(window[_0xe9c830([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x313409));}return _0x4381e2(_0xab0fa3),_0x11751d>>>0x0;}function _0x2dccc3(_0x5de124){return _0x5de124[_0xe9c830([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe9c830([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe9c830([0x30]));}function _0x29b77f(_0x5500c5){return _0x5500c5[_0xe9c830([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe9c830([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe9c830([0x6a,0x6f,0x69,0x6e])]('');}function _0x22a5e8(){}function _0xe9c830(_0x108b88){return _0x108b88['map'](_0x576a02=>String['fromCharCode'](_0x576a02))['join']('');}_0x3c4391(await _0x3bf74d());}(this);}['_moveSelectionToFootnoteDefinition'](_0x53e8f3){const {plugins:_0x5ea8fa,editing:_0x21cdc5,model:_0x2d558e}=this['editor'],_0x247dba=_0x5ea8fa['get'](_0x5e2be2)['getFootnote'](_0x53e8f3);return!!_0x247dba&&(_0x2d558e['change'](_0x1d371a=>{_0x1d371a['setSelection'](_0x1d371a['createPositionAt'](_0x247dba['definition'],'end'));}),_0x21cdc5['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0xef1fdf){const {plugins:_0x5f5045,editing:_0x2dcdd3,model:_0xa3f54d}=this['editor'],_0x1a482c=_0x5f5045['get'](_0x5e2be2)['getFootnote'](_0xef1fdf);return!!_0x1a482c&&(_0xa3f54d['change'](_0x54c8ab=>{_0x54c8ab['setSelection'](_0x1a482c['reference'],'on');}),_0x2dcdd3['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x108858}=this['editor']['model'],_0x130b76=this['editor']['config']['get']('footnotes.multiBlock');_0x108858['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x108858['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x108858['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x130b76?_0x108858['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x108858['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x108858['addChildCheck'](_0x5997de=>{for(const _0x3c4dbc of _0x5997de)if('footnoteDefinition'===_0x3c4dbc['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x32b6d5}=this,{conversion:_0x4d1305,editing:_0x2c1b95}=_0x32b6d5,{t:t}=_0x32b6d5['locale'];_0x4d1305['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x47b3ad,{writer:_0x1b5f15,consumable:_0x2c450d})=>{const _0x36ba69=_0x47b3ad['getChild'](0x0);if(!_0x36ba69||!_0x36ba69['is']('element','a'))return null;const _0x5dd16d=_0x36ba69['getAttribute']('href')||'';if(!_0x5dd16d['startsWith']('#'))return null;const _0x4b7f8b=_0x5dd16d['replace'](/^#/,'');if(!_0x4b7f8b)return null;_0x2c450d['consume'](_0x36ba69,{'name':!0x0,'attributes':['href']});for(const {item:_0x342c41}of _0x2c1b95['view']['createRangeIn'](_0x36ba69))_0x342c41['is']('$textProxy')?_0x2c450d['consume'](_0x342c41['textNode'],{'name':!0x0}):_0x342c41['is']('element')&&_0x2c450d['consume'](_0x342c41,{'name':!0x0});return _0x1b5f15['createElement']('footnoteRef',{'footnoteId':_0x4b7f8b});}}),_0x4d1305['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x36ba72,{writer:_0x57b874})=>b(_0x36ba72,_0x57b874)}),_0x4d1305['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x34a702,{writer:_0x5c9056})=>{const _0x37632f=_0x34a702['getAttribute']('footnoteCounter');return _0x32c383(b(_0x34a702,_0x5c9056),_0x5c9056,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x37632f)});}});}['_defineDefinitionsConverters'](){const {editor:_0x493e6c}=this,{t:t}=_0x493e6c['locale'],{conversion:_0x237ee8}=_0x493e6c;_0x237ee8['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x237ee8['for']('upcast')['add'](_0x3df3a1=>{_0x3df3a1['on']('element:ol',(_0x1bc5b0,_0x5150a0,_0x2e2a30)=>{const _0x25a93a=_0x5150a0['viewItem'];if(!_0x25a93a['hasClass']('footnotes-list')||!_0x5150a0['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2e2a30['consumable']['consume'](_0x25a93a,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x28e84a,modelCursor:_0x1a8350}=_0x2e2a30['convertChildren'](_0x5150a0['viewItem'],_0x5150a0['modelCursor']);_0x5150a0['modelRange']=_0x28e84a,_0x5150a0['modelCursor']=_0x1a8350;}),_0x3df3a1['on']('element:hr',(_0x44ddb9,_0x2b7a7d,_0x5ced97)=>{const _0x2a7e51=_0x2b7a7d['viewItem'];_0x2a7e51['hasClass']('footnotes-divider')&&_0x2b7a7d['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5ced97['consumable']['consume'](_0x2a7e51,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x237ee8['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3414da,{writer:_0x4f85dc})=>D(_0x4f85dc)}),_0x237ee8['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1b74ee,{writer:_0x5865bb})=>{const _0x3c4dfa=D(_0x5865bb,{'data-footnotes-list-label':t('Footnotes')}),_0x2fe891=_0x32c383(_0x3c4dfa,_0x5865bb,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5865bb['setCustomProperty']('footnotesDefinitions',!0x0,_0x2fe891),_0x2fe891;}});}['_defineDefinitionConverters'](){const {editor:_0x49917e}=this,{conversion:_0x579dbf,locale:_0x1dd94f}=_0x49917e,_0x8a0d5f=_0x49917e['config']['get']('footnotes.multiBlock');_0x579dbf['for']('upcast')['add'](_0x118a77=>{_0x118a77['on']('element:li',(_0x11a474,_0x1d681d,_0x41d96f)=>{const _0x32816e=_0x1d681d['viewItem'];if(!_0x32816e['hasClass']('footnote-definition')||!_0x32816e['getAttribute']('id'))return;const _0x3fffe0=_0x32816e['parent'];if(!_0x3fffe0['is']('element','ol')||!_0x3fffe0['hasClass']('footnotes-list'))return;if(!_0x41d96f['consumable']['test'](_0x32816e,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5b363e=_0x41d96f['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x32816e['getAttribute']('id')});if(!_0x41d96f['safeInsert'](_0x5b363e,_0x1d681d['modelCursor']))return;_0x41d96f['consumable']['consume'](_0x32816e,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1ea946=Array['from'](_0x32816e['getChildren']())['find'](_0x1b6b8e=>_0x1b6b8e['is']('element')&&_0x1b6b8e['hasClass']('footnote-content'));for(const _0x1fad50 of _0x32816e['getChildren']())_0x1fad50['is']('element')&&(_0x41d96f['consumable']['consume'](_0x1fad50,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x41d96f['consumable']['consume'](_0x1fad50,{'name':!0x0,'classes':'footnote-content'}));if(_0x1ea946){if(_0x8a0d5f)_0x41d96f['convertChildren'](_0x1ea946,_0x5b363e);else{const _0x4b24b5=_0x41d96f['writer']['createElement']('footnoteInlineContent');_0x41d96f['writer']['insert'](_0x4b24b5,_0x5b363e),_0x41d96f['convertChildren'](_0x1ea946,_0x4b24b5);}}_0x41d96f['updateConversionResult'](_0x5b363e,_0x1d681d);});}),_0x579dbf['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2be743,{writer:_0x4e4968})=>y(_0x2be743,_0x4e4968,_0x1dd94f,{'dataPipeline':!0x0})}),_0x579dbf['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x7e9fc0,{writer:_0x17b02e})=>y(_0x7e9fc0,_0x17b02e,_0x1dd94f)});}['_defineBogusParagraphConverters'](){const {editor:_0x54808a}=this,{conversion:_0x3d0245}=_0x54808a;_0x54808a['config']['get']('footnotes.multiBlock')?(_0x3d0245['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x3d0245['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x54808a['model']['document'],'change:data',()=>{!function(_0x302c0c,_0x13bc27){const _0x391535=_0x302c0c['document']['differ'],_0x14767d=new Set();for(const _0xdc1549 of _0x391535['getChanges']()){const _0x88a479='attribute'==_0xdc1549['type']?_0xdc1549['range']['start']['parent']:_0xdc1549['position']['parent'];_0x88a479['is']('element','footnoteDefinition')&&_0x14767d['add'](_0x88a479);}for(const _0x58c447 of _0x14767d['values']()){const _0x5193b7=Array['from'](_0x58c447['getChildren']())['filter'](_0x136034=>v(_0x136034,_0x13bc27['mapper']));for(const _0x21d92a of _0x5193b7)_0x13bc27['reconvertItem'](_0x21d92a);}}(_0x54808a['model'],_0x54808a['editing']);})):(_0x3d0245['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x3d0245['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5997d4,{writer:_0x3dc2cd})=>{const _0x5d9dc3=_0x3dc2cd['createContainerElement']('span');return _0x3dc2cd['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5d9dc3),_0x5d9dc3;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2b5a71}=this,{editing:_0x350967,t:t}=_0x2b5a71,_0x2950b0=_0x2b5a71['model']['document']['selection'];_0x2b5a71['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2b5a71['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x350967['view']['document'],'enter',(_0x488696,_0x45b936)=>{const _0x5d865b=function(_0xacadc7){const _0x3c2330=_0xacadc7['getSelectedElement']();if(_0x3c2330?.['is']('element','footnoteRef'))return _0x3c2330;return null;}(_0x2950b0);if(_0x5d865b){const _0x14f216=_0x5d865b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x14f216),_0x45b936['preventDefault'](),_0x488696['stop']();}},{'context':_0x19820f});}['_defineClickHandlers'](){const {editor:_0x18b1b2}=this,{editing:_0x138e77}=_0x18b1b2;_0x18b1b2['editing']['view']['addObserver'](_0x26ea48),_0x18b1b2['editing']['view']['addObserver'](_0x5c3b29);let _0x4b2090=!0x1;this['listenTo'](_0x138e77['view']['document'],'pointerdown',(_0xbc23c8,_0x1dada2)=>{const {target:_0x29b811}=_0x1dada2,_0x3f8ae0=_0x138e77['view']['document']['selection'];_0x4b2090=!!(_0x29b811?.['is']('element','a')&&_0x29b811['parent']?.['is']('element','sup')&&_0x29b811['parent']['hasClass']('footnote'))&&_0x3f8ae0['getSelectedElement']()===_0x29b811['parent'];},{'priority':'high'}),this['listenTo'](_0x138e77['view']['document'],'click',(_0x17f0e8,_0x32fb09)=>{const {target:_0xf8b807}=_0x32fb09;if(!_0xf8b807?.['is']('element','a'))return;if(_0xf8b807['parent']?.['is']('element','sup')&&_0xf8b807['parent']['hasClass']('footnote')&&!_0x4b2090)return void _0x32fb09['preventDefault']();let _0xa58015=_0xf8b807['getAttribute']('href');if(!_0xa58015?.['startsWith']('#'))return;_0xa58015=_0xa58015['slice'](0x1);let _0x5121e0=!0x1;(_0xa58015['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0xa58015['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0xa58015))&&(_0x5121e0=!0x0),_0x5121e0&&(_0x32fb09['preventDefault'](),_0x17f0e8['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x49d540}={}){return(_0x11de9a,{writer:_0x1a2e87})=>{if(!g(_0x11de9a))return null;if(!_0x49d540)return _0x1a2e87['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x14c02b=_0x1a2e87['createContainerElement']('p');return _0x1a2e87['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x14c02b),_0x14c02b;};}function g(_0x2effd1){const {parent:_0x1a0317}=_0x2effd1;if(!_0x1a0317?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1a0317['childCount'])return!0x1;for(const _0x3bc679 of _0x2effd1['getAttributeKeys']())if(!_0x3bc679['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3bc679)return!0x1;return!0x0;}function v(_0xd4d41a,_0x567d10){if(!_0xd4d41a['is']('element','paragraph'))return!0x1;const _0x246713=_0x567d10['toViewElement'](_0xd4d41a);return!!_0x246713&&g(_0xd4d41a)!==_0x246713['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x340224){return _0x19820f(_0x340224)&&_0x340224['is']('containerElement')&&!!_0x340224['getCustomProperty']('footnotesDefinitions');}function D(_0x1de98f,_0x3d2676={}){const _0x45a2a7=_0x1de98f['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x592798=_0x1de98f['createContainerElement']('ol',{'class':'footnotes-list'},_0x1de98f['createSlot']());return _0x1de98f['createContainerElement']('div',{'class':'footnotes',..._0x3d2676},[_0x45a2a7,_0x592798]);}function b(_0x55346e,_0x5a3222){const _0xccc017=_0x55346e['getAttribute']('footnoteId'),_0x58af01=_0x55346e['getAttribute']('footnoteCounter'),_0x429587=_0x5a3222['createUIElement']('a',{'href':'#'+_0xccc017},function(_0x1baf50){const _0x5c742e=this['toDomElement'](_0x1baf50);return _0x5c742e['textContent']=_0x58af01,_0x5c742e;}),_0x1f7816=_0x5a3222['createContainerElement']('sup',{'id':'ref-'+_0xccc017,'class':'footnote'},[_0x429587]);return _0x1f7816['getFillerOffset']=()=>null,_0x1f7816;}function y(_0x37c9b5,_0x3383fb,_0x13d439,{dataPipeline:_0x165c69}={}){const {t:t}=_0x13d439,_0x3fd256=_0x37c9b5['getAttribute']('footnoteId'),_0x5bc845=_0x3383fb['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x3fd256},function(_0x40965e){const _0x2e1a3=this['toDomElement'](_0x40965e);return _0x2e1a3['innerText']='^',_0x2e1a3;}),_0x50da69=_0x165c69?_0x3383fb['createContainerElement']('div',{'class':'footnote-content'}):_0x19cd7c(_0x3383fb['createEditableElement']('div',{'class':'footnote-content'}),_0x3383fb,{'label':t('Footnote\x20content.')});return _0x3383fb['insert'](_0x3383fb['createPositionAt'](_0x50da69,0x0),_0x3383fb['createSlot']()),_0x3383fb['createContainerElement']('li',{'class':'footnote-definition','id':_0x3fd256},[_0x5bc845,_0x50da69]);}
|
|
23
|
+
import{Plugin as _0x4cb44a}from'ckeditor5/src/core.js';import{isWidget as _0xfec933,toWidget as _0x32e44a,toWidgetEditable as _0x5cf112}from'ckeditor5/src/widget.js';import{uid as _0x19fbf2}from'ckeditor5/src/utils.js';import{PointerObserver as _0x5a6642,ClickObserver as _0x3968ba}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x2e36dd}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x384e99}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x4cb44a{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x2e36dd];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x63ffb7}=this;_0x63ffb7['config']['define']('footnotes.multiBlock',!0x0),_0x63ffb7['commands']['add']('insertFootnote',new _0x384e99(_0x63ffb7)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x1c898d){const _0xb6e8e0=_0x38a787([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x1949f0=0x47a28506,_0x1b8939=0x47a50ac6^_0x1949f0,_0x125c77=window[_0x38a787([0x44,0x61,0x74,0x65])][_0x38a787([0x6e,0x6f,0x77])](),_0x1144ba=_0x1c898d[_0x38a787([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1bdbed=new window[(_0x38a787([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fbb9d=>{_0x1144ba[_0x38a787([0x6f,0x6e,0x63,0x65])](_0x38a787([0x72,0x65,0x61,0x64,0x79]),_0x3fbb9d);}),_0x2e516d={[_0x38a787([0x6b,0x74,0x79])]:_0x38a787([0x45,0x43]),[_0x38a787([0x75,0x73,0x65])]:_0x38a787([0x73,0x69,0x67]),[_0x38a787([0x63,0x72,0x76])]:_0x38a787([0x50,0x2d,0x32,0x35,0x36]),[_0x38a787([0x78])]:_0x38a787([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x38a787([0x79])]:_0x38a787([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x38a787([0x61,0x6c,0x67])]:_0x38a787([0x45,0x53,0x32,0x35,0x36])},_0xe3120f=_0x1144ba[_0x38a787([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x38a787([0x67,0x65,0x74])](_0x38a787([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x540568(){let _0x376dfd,_0x3bc9fa=null,_0x217f49=null;try{if(_0xe3120f==_0x38a787([0x47,0x50,0x4c]))return _0x38a787([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x376dfd=_0x206432(),!_0x376dfd)return _0x38a787([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x376dfd[_0x38a787([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x217f49=_0x5d80cd(_0x376dfd[_0x38a787([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x376dfd[_0x38a787([0x6a,0x74,0x69])])),await _0x1067e9()?_0x1420a8()?_0x4dc459()?_0x38a787([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2cd40e()?(_0x376dfd[_0x38a787([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38a787([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3bc9fa=_0x54004a(_0x38a787([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd60780()):_0x38a787([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x38a787([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x38a787([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x38a787([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4dc459(){const _0x2e5673=[_0x38a787([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x38a787([0x74,0x72,0x69,0x61,0x6c])][_0x38a787([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x376dfd[_0x38a787([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x125c77/0x3e8:0xe10*_0x1b8939;return _0x376dfd[_0x38a787([0x65,0x78,0x70])]<_0x2e5673;}function _0x1420a8(){const _0x19a2c7=_0x376dfd[_0x38a787([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x19a2c7&&(!!_0x19a2c7[_0x38a787([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38a787([0x2a]))||!!_0x19a2c7[_0x38a787([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38a787([0x46,0x4f,0x4f])));}function _0x2cd40e(){const _0x539cdf=_0x376dfd[_0x38a787([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x539cdf||0x0==_0x539cdf[_0x38a787([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x498d9c}=new URL(window[_0x38a787([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x539cdf[_0x38a787([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x498d9c))return!0x0;const _0x55c2f3=_0x498d9c[_0x38a787([0x73,0x70,0x6c,0x69,0x74])](_0x38a787([0x2e]));return _0x539cdf[_0x38a787([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x373314=>_0x373314[_0x38a787([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38a787([0x2a])))[_0x38a787([0x6d,0x61,0x70])](_0x4a1083=>_0x4a1083[_0x38a787([0x73,0x70,0x6c,0x69,0x74])](_0x38a787([0x2e])))[_0x38a787([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a6736=>_0x5a6736[_0x38a787([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x55c2f3[_0x38a787([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38a787([0x6d,0x61,0x70])](_0x1d5e33=>Array(_0x55c2f3[_0x38a787([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1d5e33[_0x38a787([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38a787([0x66,0x69,0x6c,0x6c])](_0x1d5e33[0x0]===_0x38a787([0x2a])?_0x38a787([0x2a]):'')[_0x38a787([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1d5e33))[_0x38a787([0x73,0x6f,0x6d,0x65])](_0x2cc07c=>_0x55c2f3[_0x38a787([0x65,0x76,0x65,0x72,0x79])]((_0x4c74db,_0x1941b4)=>_0x2cc07c[_0x1941b4]===_0x4c74db||_0x2cc07c[_0x1941b4]===_0x38a787([0x2a])));}function _0xd60780(){return _0x3bc9fa&&_0x217f49?new window[(_0x38a787([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35415e,_0x440cbb)=>{_0x3bc9fa[_0x38a787([0x74,0x68,0x65,0x6e])](_0x35415e,_0x440cbb),_0x217f49[_0x38a787([0x74,0x68,0x65,0x6e])](_0x20a218=>{_0x20a218!=_0x38a787([0x56,0x61,0x6c,0x69,0x64])&&_0x35415e(_0x20a218);},_0x440cbb);}):_0x3bc9fa||_0x217f49||_0x38a787([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d80cd(_0x18a3fd,_0xf166b9){return new window[(_0x38a787([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b1669=>{if(_0x11e7ea())return _0x1b1669(_0x38a787([0x56,0x61,0x6c,0x69,0x64]));_0x26e6a5(),_0x1144ba[_0x38a787([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x38a787([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x352772=!0x1;const _0x53af1e=_0x19fbf2();function _0xb23b6d(_0x5a2f00){return!!_0x5a2f00&&(typeof _0x5a2f00===_0x38a787([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5a2f00===_0x38a787([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5a2f00[_0x38a787([0x74,0x68,0x65,0x6e])]===_0x38a787([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5a2f00[_0x38a787([0x63,0x61,0x74,0x63,0x68])]===_0x38a787([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x50d7e1(_0x371bad){_0x1149ed(_0x371bad)[_0x38a787([0x74,0x68,0x65,0x6e])](_0x6693c3=>{if(!_0x6693c3||_0x6693c3[_0x38a787([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x38a787([0x6f,0x6b]))return _0x38a787([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x44afae(_0x52fd08(_0x53af1e+_0xf166b9))!=_0x6693c3[_0x38a787([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x38a787([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x38a787([0x56,0x61,0x6c,0x69,0x64]);})[_0x38a787([0x74,0x68,0x65,0x6e])](_0x14dda4=>(_0x1b14e5(),_0x14dda4),()=>{const _0x50d2c2=_0xce612a();return null==_0x50d2c2?(_0x1b14e5(),_0x38a787([0x56,0x61,0x6c,0x69,0x64])):_0x38a787(_0x125c77-_0x50d2c2>(0x63ae0106^_0x1949f0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x38a787([0x74,0x68,0x65,0x6e])](_0x1b1669)[_0x38a787([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1b1669(_0x38a787([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xb423f1=0x47946b86^_0x1949f0;function _0x1b14e5(){const _0x29e9ef=_0x38a787([0x6c,0x6c,0x63,0x74,0x2d])+_0x44afae(_0x52fd08(_0x18a3fd)),_0x36953e=_0x2cd5bb(_0x44afae(window[_0x38a787([0x4d,0x61,0x74,0x68])][_0x38a787([0x63,0x65,0x69,0x6c])](_0x125c77/_0xb423f1)));window[_0x38a787([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38a787([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29e9ef,_0x36953e);}function _0xce612a(){const _0x1dd845=_0x38a787([0x6c,0x6c,0x63,0x74,0x2d])+_0x44afae(_0x52fd08(_0x18a3fd)),_0x37117c=window[_0x38a787([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38a787([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1dd845);return _0x37117c?window[_0x38a787([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cd5bb(_0x37117c),0x10)*_0xb423f1:null;}function _0x1149ed(_0x5d659a){return new window[(_0x38a787([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5eb6bb,_0x53bf77)=>{_0x5d659a[_0x38a787([0x74,0x68,0x65,0x6e])](_0x5eb6bb,_0x53bf77),window[_0x38a787([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x53bf77,0x47a351c6^_0x1949f0);});}}_0x1144ba[_0x38a787([0x6f,0x6e])](_0x38a787([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xef32ac,_0x1fe476)=>{if(_0x1fe476[0x0]!=_0x18a3fd)return _0x1b1669(_0x38a787([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1fe476[0x1]={..._0x1fe476[0x1],[_0x38a787([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x53af1e};},{[_0x38a787([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38a787([0x68,0x69,0x67,0x68])}),_0x1144ba[_0x38a787([0x6f,0x6e])](_0x38a787([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b697c=>{_0xb23b6d(_0x1b697c[_0x38a787([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x352772=!0x0,_0x50d7e1(_0x1b697c[_0x38a787([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x38a787([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38a787([0x6c,0x6f,0x77])}),_0x1bdbed[_0x38a787([0x74,0x68,0x65,0x6e])](()=>{_0x352772||_0x1b1669(_0x38a787([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x11e7ea(){return _0x1144ba[_0x38a787([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38a787([0x76,0x69,0x65,0x77])][_0x38a787([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x38a787([0x61,0x75,0x74,0x6f]);}function _0x26e6a5(){_0x1144ba[_0x38a787([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38a787([0x76,0x69,0x65,0x77])][_0x38a787([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x38a787([0x61,0x75,0x74,0x6f]);}}function _0x54004a(_0x546eb3){const _0x228fe6=[new window[(_0x38a787([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15a73e=>setTimeout(_0x15a73e,0x47abbbca^_0x1949f0)),_0x1bdbed[_0x38a787([0x74,0x68,0x65,0x6e])](()=>new window[(_0x38a787([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x512edd=>{let _0x270e75=0x0;_0x1144ba[_0x38a787([0x6d,0x6f,0x64,0x65,0x6c])][_0x38a787([0x6f,0x6e])](_0x38a787([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5c483a,_0xf69fda)=>{_0xf69fda[0x0][_0x38a787([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x270e75++,_0x270e75==(0x47a280ee^_0x1949f0)&&(_0x512edd(),_0x5c483a[_0x38a787([0x6f,0x66,0x66])]());});}))];return window[_0x38a787([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x38a787([0x72,0x61,0x63,0x65])](_0x228fe6)[_0x38a787([0x74,0x68,0x65,0x6e])](()=>_0x546eb3);}async function _0x3db86a(){await _0x1bdbed,_0x1144ba[_0x38a787([0x6d,0x6f,0x64,0x65,0x6c])][_0x38a787([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x59b1f4,_0x1144ba[_0x38a787([0x6d,0x6f,0x64,0x65,0x6c])][_0x38a787([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x59b1f4,_0x1144ba[_0x38a787([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x38a787([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x225022(_0x5acecf){const _0x33fc63=_0x323e7c();_0x1144ba[_0x33fc63]=_0x38a787([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5acecf,_0x5acecf!=_0x38a787([0x56,0x61,0x6c,0x69,0x64])&&_0x3db86a();}function _0x323e7c(){const _0x53bc0f=window[_0x38a787([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x38a787([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x38a787([0x6e,0x6f,0x77])]())[_0x38a787([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x38a787([0x2e]),'');let _0x35aa42=_0x38a787([0x75]);for(let _0x5478a6=0x0;_0x5478a6<_0x53bc0f[_0x38a787([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5478a6+=0x2){let _0x462591=window[_0x38a787([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53bc0f[_0x38a787([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5478a6,_0x5478a6+0x2));_0x462591>=_0xb6e8e0[_0x38a787([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x462591-=_0xb6e8e0[_0x38a787([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x35aa42+=_0xb6e8e0[_0x462591];}return _0x35aa42;}function _0x206432(){const _0x1f8a4a=_0xe3120f[_0x38a787([0x73,0x70,0x6c,0x69,0x74])](_0x38a787([0x2e]));if(0x3!=_0x1f8a4a[_0x38a787([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1e7b76(_0x1f8a4a[0x1]);function _0x1e7b76(_0x25b208){const _0x199a63=_0x4212a6(_0x25b208);return _0x199a63&&_0x2d9318()?_0x199a63:null;function _0x2d9318(){const _0x444c0c=_0x199a63[_0x38a787([0x6a,0x74,0x69])],_0x3568ac=window[_0x38a787([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x444c0c[_0x38a787([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x444c0c[_0x38a787([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x287dff={..._0x199a63,[_0x38a787([0x6a,0x74,0x69])]:_0x444c0c[_0x38a787([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x444c0c[_0x38a787([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x287dff[_0x38a787([0x76,0x63])],_0x52fd08(_0x287dff)==_0x3568ac;}}}async function _0x1067e9(){let _0x3cb164=!0x0;try{const _0x21cce2=_0xe3120f[_0x38a787([0x73,0x70,0x6c,0x69,0x74])](_0x38a787([0x2e])),[_0x39833a,_0x107085,_0xc72c19]=_0x21cce2;return _0x3f6c67(_0x39833a),await _0x5aece2(_0x39833a,_0x107085,_0xc72c19),_0x3cb164;}catch{return!0x1;}function _0x3f6c67(_0x1740f9){const _0x40173e=_0x4212a6(_0x1740f9);_0x40173e&&_0x40173e[_0x38a787([0x61,0x6c,0x67])]==_0x38a787([0x45,0x53,0x32,0x35,0x36])||(_0x3cb164=!0x1);}async function _0x5aece2(_0x458305,_0x102421,_0x17db0f){const _0x204440=window[_0x38a787([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x38a787([0x66,0x72,0x6f,0x6d])](_0x322652(_0x17db0f),_0x5e7b74=>_0x5e7b74[_0x38a787([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x294647=new window[(_0x38a787([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x38a787([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x458305+_0x38a787([0x2e])+_0x102421),_0x460d8c=window[_0x38a787([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x38a787([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x460d8c)return;const _0x1b2de6=await _0x460d8c[_0x38a787([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x38a787([0x6a,0x77,0x6b]),_0x2e516d,{[_0x38a787([0x6e,0x61,0x6d,0x65])]:_0x38a787([0x45,0x43,0x44,0x53,0x41]),[_0x38a787([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x38a787([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x38a787([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x460d8c[_0x38a787([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x38a787([0x6e,0x61,0x6d,0x65])]:_0x38a787([0x45,0x43,0x44,0x53,0x41]),[_0x38a787([0x68,0x61,0x73,0x68])]:{[_0x38a787([0x6e,0x61,0x6d,0x65])]:_0x38a787([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b2de6,_0x204440,_0x294647)||(_0x3cb164=!0x1);}}function _0x4212a6(_0x476547){return _0x476547[_0x38a787([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x38a787([0x65,0x79]))?JSON[_0x38a787([0x70,0x61,0x72,0x73,0x65])](_0x322652(_0x476547)):null;}function _0x322652(_0x16e8bf){return window[_0x38a787([0x61,0x74,0x6f,0x62])](_0x16e8bf[_0x38a787([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x38a787([0x2b]))[_0x38a787([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x38a787([0x2f])));}function _0x52fd08(_0x588d84){let _0x63ca4f=0x1505;function _0x532fe0(_0x593465){for(let _0x221d0f=0x0;_0x221d0f<_0x593465[_0x38a787([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x221d0f++){const _0x359b45=_0x593465[_0x38a787([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x221d0f);_0x63ca4f=(_0x63ca4f<<0x5)+_0x63ca4f+_0x359b45,_0x63ca4f&=_0x63ca4f;}}function _0x24fb39(_0x4870c6){Array[_0x38a787([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4870c6)?_0x4870c6[_0x38a787([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x24fb39):_0x4870c6&&typeof _0x4870c6==_0x38a787([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x38a787([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4870c6)[_0x38a787([0x73,0x6f,0x72,0x74])]()[_0x38a787([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x69b39f,_0x4b740e])=>{_0x532fe0(_0x69b39f),_0x24fb39(_0x4b740e);}):_0x532fe0(window[_0x38a787([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4870c6));}return _0x24fb39(_0x588d84),_0x63ca4f>>>0x0;}function _0x44afae(_0x27d2e0){return _0x27d2e0[_0x38a787([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x38a787([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x38a787([0x30]));}function _0x2cd5bb(_0x4cf516){return _0x4cf516[_0x38a787([0x73,0x70,0x6c,0x69,0x74])]('')[_0x38a787([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x38a787([0x6a,0x6f,0x69,0x6e])]('');}function _0x59b1f4(){}function _0x38a787(_0x575a92){return _0x575a92['map'](_0x291fce=>String['fromCharCode'](_0x291fce))['join']('');}_0x225022(await _0x540568());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1e4aab){const {plugins:_0x4c7d11,editing:_0xe218c1,model:_0x1a2dff}=this['editor'],_0x6fe074=_0x4c7d11['get'](_0x2e36dd)['getFootnote'](_0x1e4aab);return!!_0x6fe074&&(_0x1a2dff['change'](_0x355e3c=>{_0x355e3c['setSelection'](_0x355e3c['createPositionAt'](_0x6fe074['definition'],'end'));}),_0xe218c1['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x40336c){const {plugins:_0x3db3dd,editing:_0x261642,model:_0x476b80}=this['editor'],_0x4e406e=_0x3db3dd['get'](_0x2e36dd)['getFootnote'](_0x40336c);return!!_0x4e406e&&(_0x476b80['change'](_0x23b2d4=>{_0x23b2d4['setSelection'](_0x4e406e['reference'],'on');}),_0x261642['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x26a0f8}=this['editor']['model'],_0x3acf6d=this['editor']['config']['get']('footnotes.multiBlock');_0x26a0f8['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x26a0f8['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x26a0f8['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3acf6d?_0x26a0f8['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x26a0f8['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x26a0f8['addChildCheck'](_0x509a82=>{for(const _0x655ecb of _0x509a82)if('footnoteDefinition'===_0x655ecb['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2e13aa}=this,{conversion:_0x2b4e4c,editing:_0x1c0d52}=_0x2e13aa,{t:t}=_0x2e13aa['locale'];_0x2b4e4c['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2558aa,{writer:_0x4b6654,consumable:_0x30392c})=>{const _0x27790a=_0x2558aa['getChild'](0x0);if(!_0x27790a||!_0x27790a['is']('element','a'))return null;const _0x23b1ce=_0x27790a['getAttribute']('href')||'';if(!_0x23b1ce['startsWith']('#'))return null;const _0x29764a=_0x23b1ce['replace'](/^#/,'');if(!_0x29764a)return null;_0x30392c['consume'](_0x27790a,{'name':!0x0,'attributes':['href']});for(const {item:_0x20427f}of _0x1c0d52['view']['createRangeIn'](_0x27790a))_0x20427f['is']('$textProxy')?_0x30392c['consume'](_0x20427f['textNode'],{'name':!0x0}):_0x20427f['is']('element')&&_0x30392c['consume'](_0x20427f,{'name':!0x0});return _0x4b6654['createElement']('footnoteRef',{'footnoteId':_0x29764a});}}),_0x2b4e4c['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5da7be,{writer:_0x561cd7})=>b(_0x5da7be,_0x561cd7)}),_0x2b4e4c['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x37eec9,{writer:_0x5be35d})=>{const _0x5e656d=_0x37eec9['getAttribute']('footnoteCounter');return _0x32e44a(b(_0x37eec9,_0x5be35d),_0x5be35d,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5e656d)});}});}['_defineDefinitionsConverters'](){const {editor:_0x15b4ae}=this,{t:t}=_0x15b4ae['locale'],{conversion:_0xdf4d72}=_0x15b4ae;_0xdf4d72['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xdf4d72['for']('upcast')['add'](_0x2cc80e=>{_0x2cc80e['on']('element:ol',(_0x3ab754,_0x5bd4c6,_0x1dd544)=>{const _0x216d44=_0x5bd4c6['viewItem'];if(!_0x216d44['hasClass']('footnotes-list')||!_0x5bd4c6['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1dd544['consumable']['consume'](_0x216d44,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0xfcf7ca,modelCursor:_0x5d3cc3}=_0x1dd544['convertChildren'](_0x5bd4c6['viewItem'],_0x5bd4c6['modelCursor']);_0x5bd4c6['modelRange']=_0xfcf7ca,_0x5bd4c6['modelCursor']=_0x5d3cc3;}),_0x2cc80e['on']('element:hr',(_0x2ac0d0,_0x13ac14,_0x22c5ce)=>{const _0x3f3c4b=_0x13ac14['viewItem'];_0x3f3c4b['hasClass']('footnotes-divider')&&_0x13ac14['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x22c5ce['consumable']['consume'](_0x3f3c4b,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xdf4d72['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xe6d27a,{writer:_0x991049})=>D(_0x991049)}),_0xdf4d72['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x209f6a,{writer:_0x3fd176})=>{const _0x122921=D(_0x3fd176,{'data-footnotes-list-label':t('Footnotes')}),_0x1566e8=_0x32e44a(_0x122921,_0x3fd176,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3fd176['setCustomProperty']('footnotesDefinitions',!0x0,_0x1566e8),_0x1566e8;}});}['_defineDefinitionConverters'](){const {editor:_0x5c09a8}=this,{conversion:_0x39a1d9,locale:_0x46a94e}=_0x5c09a8,_0x2e61cd=_0x5c09a8['config']['get']('footnotes.multiBlock');_0x39a1d9['for']('upcast')['add'](_0x40be6c=>{_0x40be6c['on']('element:li',(_0x29279d,_0x44bc35,_0xbd634f)=>{const _0x2fc6af=_0x44bc35['viewItem'];if(!_0x2fc6af['hasClass']('footnote-definition')||!_0x2fc6af['getAttribute']('id'))return;const _0x2ade02=_0x2fc6af['parent'];if(!_0x2ade02['is']('element','ol')||!_0x2ade02['hasClass']('footnotes-list'))return;if(!_0xbd634f['consumable']['test'](_0x2fc6af,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4a0674=_0xbd634f['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2fc6af['getAttribute']('id')});if(!_0xbd634f['safeInsert'](_0x4a0674,_0x44bc35['modelCursor']))return;_0xbd634f['consumable']['consume'](_0x2fc6af,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5b54cf=Array['from'](_0x2fc6af['getChildren']())['find'](_0xf696e2=>_0xf696e2['is']('element')&&_0xf696e2['hasClass']('footnote-content'));for(const _0x36d411 of _0x2fc6af['getChildren']())_0x36d411['is']('element')&&(_0xbd634f['consumable']['consume'](_0x36d411,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0xbd634f['consumable']['consume'](_0x36d411,{'name':!0x0,'classes':'footnote-content'}));if(_0x5b54cf){if(_0x2e61cd)_0xbd634f['convertChildren'](_0x5b54cf,_0x4a0674);else{const _0x3fc69c=_0xbd634f['writer']['createElement']('footnoteInlineContent');_0xbd634f['writer']['insert'](_0x3fc69c,_0x4a0674),_0xbd634f['convertChildren'](_0x5b54cf,_0x3fc69c);}}_0xbd634f['updateConversionResult'](_0x4a0674,_0x44bc35);});}),_0x39a1d9['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x42bc97,{writer:_0x51c6a5})=>y(_0x42bc97,_0x51c6a5,_0x46a94e,{'dataPipeline':!0x0})}),_0x39a1d9['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3814f8,{writer:_0x5b67c6})=>y(_0x3814f8,_0x5b67c6,_0x46a94e)});}['_defineBogusParagraphConverters'](){const {editor:_0x2ac964}=this,{conversion:_0x5578b7}=_0x2ac964;_0x2ac964['config']['get']('footnotes.multiBlock')?(_0x5578b7['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x5578b7['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x2ac964['model']['document'],'change:data',()=>{!function(_0xa402be,_0x26ab67){const _0xfcbba5=_0xa402be['document']['differ'],_0x54e774=new Set();for(const _0x3c190b of _0xfcbba5['getChanges']()){const _0x2e7c14='attribute'==_0x3c190b['type']?_0x3c190b['range']['start']['parent']:_0x3c190b['position']['parent'];_0x2e7c14['is']('element','footnoteDefinition')&&_0x54e774['add'](_0x2e7c14);}for(const _0x3bd5fc of _0x54e774['values']()){const _0x358c99=Array['from'](_0x3bd5fc['getChildren']())['filter'](_0x349d0a=>v(_0x349d0a,_0x26ab67['mapper']));for(const _0x7e3b93 of _0x358c99)_0x26ab67['reconvertItem'](_0x7e3b93);}}(_0x2ac964['model'],_0x2ac964['editing']);})):(_0x5578b7['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x5578b7['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1daa9b,{writer:_0x366631})=>{const _0x244e87=_0x366631['createContainerElement']('span');return _0x366631['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x244e87),_0x244e87;}}));}['_defineKeyboardHandlers'](){const {editor:_0x312436}=this,{editing:_0x32ca06,t:t}=_0x312436,_0x474eb9=_0x312436['model']['document']['selection'];_0x312436['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x312436['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x32ca06['view']['document'],'enter',(_0x15d81d,_0x6f619c)=>{const _0x7a577b=function(_0x400331){const _0x54d35e=_0x400331['getSelectedElement']();if(_0x54d35e?.['is']('element','footnoteRef'))return _0x54d35e;return null;}(_0x474eb9);if(_0x7a577b){const _0x1c7ea9=_0x7a577b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1c7ea9),_0x6f619c['preventDefault'](),_0x15d81d['stop']();}},{'context':_0xfec933});}['_defineClickHandlers'](){const {editor:_0x5c4ae4}=this,{editing:_0x4d856d}=_0x5c4ae4;_0x5c4ae4['editing']['view']['addObserver'](_0x5a6642),_0x5c4ae4['editing']['view']['addObserver'](_0x3968ba);let _0x47d051=!0x1;this['listenTo'](_0x4d856d['view']['document'],'pointerdown',(_0x2259fd,_0x6dd8d4)=>{const {target:_0x1f300e}=_0x6dd8d4,_0x359c52=_0x4d856d['view']['document']['selection'];_0x47d051=!!(_0x1f300e?.['is']('element','a')&&_0x1f300e['parent']?.['is']('element','sup')&&_0x1f300e['parent']['hasClass']('footnote'))&&_0x359c52['getSelectedElement']()===_0x1f300e['parent'];},{'priority':'high'}),this['listenTo'](_0x4d856d['view']['document'],'click',(_0x20277f,_0x4ca9e8)=>{const {target:_0x4f9a78}=_0x4ca9e8;if(!_0x4f9a78?.['is']('element','a'))return;if(_0x4f9a78['parent']?.['is']('element','sup')&&_0x4f9a78['parent']['hasClass']('footnote')&&!_0x47d051)return void _0x4ca9e8['preventDefault']();let _0x269ff2=_0x4f9a78['getAttribute']('href');if(!_0x269ff2?.['startsWith']('#'))return;_0x269ff2=_0x269ff2['slice'](0x1);let _0x337d96=!0x1;(_0x269ff2['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x269ff2['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x269ff2))&&(_0x337d96=!0x0),_0x337d96&&(_0x4ca9e8['preventDefault'](),_0x20277f['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0xa4ae3f}={}){return(_0xd512a,{writer:_0x152654})=>{if(!g(_0xd512a))return null;if(!_0xa4ae3f)return _0x152654['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x39a619=_0x152654['createContainerElement']('p');return _0x152654['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x39a619),_0x39a619;};}function g(_0x32f20a){const {parent:_0x57bf72}=_0x32f20a;if(!_0x57bf72?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x57bf72['childCount'])return!0x1;for(const _0x27c719 of _0x32f20a['getAttributeKeys']())if(!_0x27c719['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x27c719)return!0x1;return!0x0;}function v(_0x2d399e,_0x33f1c2){if(!_0x2d399e['is']('element','paragraph'))return!0x1;const _0x4bc8d9=_0x33f1c2['toViewElement'](_0x2d399e);return!!_0x4bc8d9&&g(_0x2d399e)!==_0x4bc8d9['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x23f328){return _0xfec933(_0x23f328)&&_0x23f328['is']('containerElement')&&!!_0x23f328['getCustomProperty']('footnotesDefinitions');}function D(_0x244a54,_0x1ac7ff={}){const _0x380710=_0x244a54['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x8b6e94=_0x244a54['createContainerElement']('ol',{'class':'footnotes-list'},_0x244a54['createSlot']());return _0x244a54['createContainerElement']('div',{'class':'footnotes',..._0x1ac7ff},[_0x380710,_0x8b6e94]);}function b(_0x330405,_0x2ba986){const _0x3314b5=_0x330405['getAttribute']('footnoteId'),_0x5e8ea6=_0x330405['getAttribute']('footnoteCounter'),_0x5f30e7=_0x2ba986['createUIElement']('a',{'href':'#'+_0x3314b5},function(_0x28765a){const _0x1ff351=this['toDomElement'](_0x28765a);return _0x1ff351['textContent']=_0x5e8ea6,_0x1ff351;}),_0x1d8b05=_0x2ba986['createContainerElement']('sup',{'id':'ref-'+_0x3314b5,'class':'footnote'},[_0x5f30e7]);return _0x1d8b05['getFillerOffset']=()=>null,_0x1d8b05;}function y(_0x3068ea,_0x5ed47d,_0x1ae9f3,{dataPipeline:_0x1b77c9}={}){const {t:t}=_0x1ae9f3,_0x508062=_0x3068ea['getAttribute']('footnoteId'),_0x145ebf=_0x5ed47d['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x508062},function(_0x54cbc3){const _0x262b74=this['toDomElement'](_0x54cbc3);return _0x262b74['innerText']='^',_0x262b74;}),_0x23c590=_0x1b77c9?_0x5ed47d['createContainerElement']('div',{'class':'footnote-content'}):_0x5cf112(_0x5ed47d['createEditableElement']('div',{'class':'footnote-content'}),_0x5ed47d,{'label':t('Footnote\x20content.')});return _0x5ed47d['insert'](_0x5ed47d['createPositionAt'](_0x23c590,0x0),_0x5ed47d['createSlot']()),_0x5ed47d['createContainerElement']('li',{'class':'footnote-definition','id':_0x508062},[_0x145ebf,_0x23c590]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f148b=_0x4ea5;(function(_0xd43a14,_0x15b35a){const _0x362e33=_0x4ea5,_0x23298b=_0xd43a14();while(!![]){try{const _0x8df8b3=-parseInt(_0x362e33(0x1c2))/0x1*(-parseInt(_0x362e33(0x1b9))/0x2)+parseInt(_0x362e33(0x1bd))/0x3+-parseInt(_0x362e33(0x1b7))/0x4*(-parseInt(_0x362e33(0x1b2))/0x5)+-parseInt(_0x362e33(0x1b4))/0x6+parseInt(_0x362e33(0x1b3))/0x7+-parseInt(_0x362e33(0x1c5))/0x8*(parseInt(_0x362e33(0x1c1))/0x9)+parseInt(_0x362e33(0x1c3))/0xa*(-parseInt(_0x362e33(0x1c6))/0xb);if(_0x8df8b3===_0x15b35a)break;else _0x23298b['push'](_0x23298b['shift']());}catch(_0x15fbd8){_0x23298b['push'](_0x23298b['shift']());}}}(_0x13e0,0xe31d1));import{Command as _0x53e051}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x175c41}from'../../footnotestracker.js';function _0x4ea5(_0x4985ab,_0x55b27f){const _0x13e0a3=_0x13e0();return _0x4ea5=function(_0x4ea5b1,_0x41b1a1){_0x4ea5b1=_0x4ea5b1-0x1b2;let _0x4f60c1=_0x13e0a3[_0x4ea5b1];return _0x4f60c1;},_0x4ea5(_0x4985ab,_0x55b27f);}export class FootnotesStartCommand extends _0x53e051{[_0x3f148b(0x1b8)](){const _0x5ec9e3=_0x3f148b,{editor:_0x14986b}=this,_0x4ff1bd=_0x14986b[_0x5ec9e3(0x1c8)][_0x5ec9e3(0x1bb)](_0x175c41)[_0x5ec9e3(0x1b6)]();this[_0x5ec9e3(0x1c0)]=!!_0x4ff1bd,this[_0x5ec9e3(0x1ca)]=_0x4ff1bd?.[_0x5ec9e3(0x1be)](_0x5ec9e3(0x1c9))??null;}[_0x3f148b(0x1ba)]({value:_0x533e83}){const _0x2b96ba=_0x3f148b,{editor:_0x5051f1}=this,_0x2bfe79=_0x5051f1[_0x2b96ba(0x1c8)][_0x2b96ba(0x1bb)](_0x175c41),_0x149c3e=_0x2bfe79[_0x2b96ba(0x1b6)]();_0x149c3e&&Number[_0x2b96ba(0x1bc)](_0x533e83)&&_0x5051f1[_0x2b96ba(0x1bf)][_0x2b96ba(0x1b5)](_0x551aa4=>{const _0x1893e1=_0x2b96ba;_0x551aa4[_0x1893e1(0x1c4)](_0x1893e1(0x1c9),_0x533e83,_0x149c3e),_0x2bfe79[_0x1893e1(0x1c7)](_0x551aa4);});}}function _0x13e0(){const _0x50fa32=['1727012aNYGIp','3164472CGZxVK','change','getFootnotesDefinitionsObjectElement','460dzpTQV','refresh','102182iiZlxd','execute','get','isInteger','1508886KkPVXA','getAttribute','model','isEnabled','9LTzWtd','21JgUJsk','2550140WXTQtR','setAttribute','10137656mRSmNT','22vRvdbf','_updateFootnotesCounters','plugins','footnotesListStart','value','61405RGbyKe'];_0x13e0=function(){return _0x50fa32;};return _0x13e0();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1aaa(){const _0x36b2f6=['value','isEnabled','footnotesListStyle','8502153wcXyJh','setAttribute','_updateFootnotesCounters','62GlnllE','plugins','getFootnotesDefinitionsObjectElement','change','1557yAsOWG','execute','40pMzqKY','getAttribute','refresh','732621heEOhE','1039720wHTmTk','628572exukhe','includes','350xYSQLR','2878086nUlIHu','model','get','8JiIeWJ','47907TDvUmK'];_0x1aaa=function(){return _0x36b2f6;};return _0x1aaa();}const _0x1396d2=_0x39a9;function _0x39a9(_0x2bee90,_0x452ae8){const _0x1aaa7d=_0x1aaa();return _0x39a9=function(_0x39a970,_0x114aa5){_0x39a970=_0x39a970-0xb5;let _0x121de6=_0x1aaa7d[_0x39a970];return _0x121de6;},_0x39a9(_0x2bee90,_0x452ae8);}(function(_0x2983e5,_0x7bb8d9){const _0x56d548=_0x39a9,_0x356dd5=_0x2983e5();while(!![]){try{const _0x3fc0a7=parseInt(_0x56d548(0xc0))/0x1*(-parseInt(_0x56d548(0xbc))/0x2)+parseInt(_0x56d548(0xc5))/0x3*(-parseInt(_0x56d548(0xcd))/0x4)+parseInt(_0x56d548(0xc6))/0x5+parseInt(_0x56d548(0xca))/0x6+-parseInt(_0x56d548(0xc7))/0x7*(parseInt(_0x56d548(0xc2))/0x8)+parseInt(_0x56d548(0xb5))/0x9*(-parseInt(_0x56d548(0xc9))/0xa)+parseInt(_0x56d548(0xb9))/0xb;if(_0x3fc0a7===_0x7bb8d9)break;else _0x356dd5['push'](_0x356dd5['shift']());}catch(_0x5b8a40){_0x356dd5['push'](_0x356dd5['shift']());}}}(_0x1aaa,0x46746));import{Command as _0xd5baf7}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x8d7359}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x553d59}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0xd5baf7{[_0x1396d2(0xc4)](){const _0x1d4240=_0x1396d2,{editor:_0x5a4555}=this,_0x143217=_0x5a4555[_0x1d4240(0xbd)][_0x1d4240(0xcc)](_0x553d59)[_0x1d4240(0xbe)]();this[_0x1d4240(0xb7)]=!!_0x143217,this[_0x1d4240(0xb6)]=_0x143217?.[_0x1d4240(0xc3)](_0x1d4240(0xb8))??null;}[_0x1396d2(0xc1)]({value:_0x1c6b22}){const _0x7b3be9=_0x1396d2,{editor:_0x3056da}=this,_0x622e88=_0x3056da[_0x7b3be9(0xbd)][_0x7b3be9(0xcc)](_0x553d59),_0x431d1c=_0x622e88[_0x7b3be9(0xbe)]();_0x431d1c&&_0x8d7359[_0x7b3be9(0xc8)](_0x1c6b22)&&_0x3056da[_0x7b3be9(0xcb)][_0x7b3be9(0xbf)](_0x2eea48=>{const _0x20ee63=_0x7b3be9;_0x2eea48[_0x20ee63(0xba)](_0x20ee63(0xb8),_0x1c6b22,_0x431d1c),_0x622e88[_0x20ee63(0xbb)](_0x2eea48);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4a06(){const _0x16fd18=['19266oqYzWR','upper-alpha','1071145zPWddy','691130gfqxyG','lower-alpha','3211016NvrGRQ','5315324MqSaXJ','upper-latin','decimal-leading-zero','lower-latin','upper-roman','decimal','483006GrNzTv','1228zdECtt','2073HGBDTB','lower-roman'];_0x4a06=function(){return _0x16fd18;};return _0x4a06();}const _0x47a03c=_0x2d30;function _0x2d30(_0x337d17,_0x335da3){const _0x4a0614=_0x4a06();return _0x2d30=function(_0x2d3096,_0x123fa5){_0x2d3096=_0x2d3096-0xd3;let _0x2469dd=_0x4a0614[_0x2d3096];return _0x2469dd;},_0x2d30(_0x337d17,_0x335da3);}(function(_0x27b8ca,_0x185aa0){const _0x5f2f29=_0x2d30,_0x2c9436=_0x27b8ca();while(!![]){try{const _0x6af948=-parseInt(_0x5f2f29(0xe2))/0x1+parseInt(_0x5f2f29(0xd5))/0x2+parseInt(_0x5f2f29(0xe0))/0x3*(parseInt(_0x5f2f29(0xdf))/0x4)+parseInt(_0x5f2f29(0xd4))/0x5+parseInt(_0x5f2f29(0xde))/0x6+-parseInt(_0x5f2f29(0xd8))/0x7+parseInt(_0x5f2f29(0xd7))/0x8;if(_0x6af948===_0x185aa0)break;else _0x2c9436['push'](_0x2c9436['shift']());}catch(_0x4722bb){_0x2c9436['push'](_0x2c9436['shift']());}}}(_0x4a06,0x7404b));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x47a03c(0xdd),_0x47a03c(0xda),_0x47a03c(0xdb),_0x47a03c(0xd9),_0x47a03c(0xd6),_0x47a03c(0xd3),_0x47a03c(0xe1),_0x47a03c(0xdc)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xc05839=_0x2e27;(function(_0x32d17c,_0x2f1f66){const _0x301f8c=_0x2e27,_0x5458bf=_0x32d17c();while(!![]){try{const _0x44be76=parseInt(_0x301f8c(0x1ef))/0x1*(parseInt(_0x301f8c(0x231))/0x2)+-parseInt(_0x301f8c(0x204))/0x3+parseInt(_0x301f8c(0x22f))/0x4+parseInt(_0x301f8c(0x21c))/0x5*(-parseInt(_0x301f8c(0x234))/0x6)+parseInt(_0x301f8c(0x1f6))/0x7*(-parseInt(_0x301f8c(0x206))/0x8)+parseInt(_0x301f8c(0x232))/0x9+parseInt(_0x301f8c(0x1e2))/0xa*(parseInt(_0x301f8c(0x22b))/0xb);if(_0x44be76===_0x2f1f66)break;else _0x5458bf['push'](_0x5458bf['shift']());}catch(_0x2c0b4c){_0x5458bf['push'](_0x5458bf['shift']());}}}(_0x81e8,0x80b71));import{Plugin as _0x347325}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x433b0b}from'./commands/footnotesstylecommand.js';function _0x2e27(_0x1f42a0,_0x4d03b3){const _0x81e82b=_0x81e8();return _0x2e27=function(_0x2e27b9,_0x14a5f3){_0x2e27b9=_0x2e27b9-0x1d2;let _0x232584=_0x81e82b[_0x2e27b9];return _0x232584;},_0x2e27(_0x1f42a0,_0x4d03b3);}function _0x81e8(){const _0x315abb=['1214fXWoCp','decimal','setFootnoteFormatter','mapper','removeAttribute','from','lower-roman','2590917qgNtkE','getStyle','footnotesDefinitions','start','_defineConverters','_formatFootnoteListValue','isOfficialPlugin','parent','type','toLowerCase','padStart','checkAttribute','element','setAttribute','1702356gQsZqy','footnotes.footnotesProperties.defaultStartIndex','8QKGzOm','requires','upper-alpha','consumable','commands','footnotesListStyle','attribute:footnotesListStart:footnotesDefinitions','getChildren','footnotes-list','get','pluginName','_updateFootnotesCounters','name','setStyle','differ','schema','registerPostFixer','hasClass','toUpperCase','_definePostfixer','getChanges','FootnotesPropertiesEditing','1395600OCuHWd','floor','define','position','init','document','lower-alpha','extend','footnotesStyle','add','upcast','item','lower-latin','footnotesListStart','toViewElement','54857KHQAEb','element:ol','model','_getDefaultStartIndex','4117580fhlFjD','decimal-leading-zero','778EHGqUf','250542gnnqvP','parseInt','6kVRrfq','modelCursor','removeStyle','find','config','nodeAfter','getAttribute','downcast','upper-latin','fromCharCode','isPremiumPlugin','plugins','_getDefaultListStyle','getItems','viewItem','upper-roman','consume','footnotes.footnotesProperties.defaultListStyle','$text','createRangeOn','430fCUwlL','_defineFormatter','insert','hasAttribute','max','writer','list-style-type','footnotesStart','attribute:footnotesListStyle:footnotesDefinitions','_defineSchema','for','isNaN','editor'];_0x81e8=function(){return _0x315abb;};return _0x81e8();}import{FootnotesStartCommand as _0x12e287}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x2533bf}from'../footnotestracker.js';import{FootnotesEditing as _0x30bc74}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x347325{static get[_0xc05839(0x210)](){const _0x1c2225=_0xc05839;return _0x1c2225(0x21b);}static get[_0xc05839(0x207)](){return[_0x30bc74,_0x2533bf];}static get[_0xc05839(0x1fc)](){return!0x0;}static get[_0xc05839(0x1d8)](){return!0x0;}[_0xc05839(0x220)](){const _0x3eb630=_0xc05839,{editor:_0x557f1f}=this;_0x557f1f[_0x3eb630(0x1d2)][_0x3eb630(0x21e)](_0x3eb630(0x1df),_0x3eb630(0x1f0)),_0x557f1f[_0x3eb630(0x1d2)][_0x3eb630(0x21e)](_0x3eb630(0x205),0x1),_0x557f1f[_0x3eb630(0x20a)][_0x3eb630(0x225)](_0x3eb630(0x224),new _0x433b0b(_0x557f1f)),_0x557f1f[_0x3eb630(0x20a)][_0x3eb630(0x225)](_0x3eb630(0x1e9),new _0x12e287(_0x557f1f)),this[_0x3eb630(0x1eb)](),this[_0x3eb630(0x1fa)](),this[_0x3eb630(0x1e3)](),this[_0x3eb630(0x219)]();}[_0xc05839(0x1eb)](){const _0x4f11ef=_0xc05839,{editor:_0x5ea8e1}=this,{schema:_0x1c62e2}=_0x5ea8e1[_0x4f11ef(0x22d)];_0x1c62e2[_0x4f11ef(0x223)](_0x4f11ef(0x1f8),{'allowAttributes':[_0x4f11ef(0x20b),_0x4f11ef(0x229)]});}[_0xc05839(0x1fa)](){const _0x328c63=_0xc05839,{editor:_0x5e896a}=this,{conversion:_0x546dc1,model:_0x516074}=_0x5e896a,{schema:_0x53f070}=_0x516074;_0x546dc1[_0x328c63(0x1ec)](_0x328c63(0x226))[_0x328c63(0x225)](_0x1392a6=>{const _0x59e165=_0x328c63;_0x1392a6['on'](_0x59e165(0x22c),(_0x172116,_0x369cde,_0xb1ec1c)=>{const _0x419167=_0x59e165,_0x599a27=_0x369cde[_0x419167(0x1dc)],_0x45eb01=_0x369cde[_0x419167(0x235)]?.[_0x419167(0x1fd)];_0x599a27[_0x419167(0x217)](_0x419167(0x20e))&&_0x45eb01?.['is'](_0x419167(0x202),_0x419167(0x1f8))&&(function(_0x509ccd,_0x1d94d6,_0x5a38b3,_0x504c40){const _0x4c84d6=_0x419167;if(!_0x504c40[_0x4c84d6(0x201)](_0x1d94d6,_0x4c84d6(0x229)))return;let _0x24a52a=0x1;const _0x38b610=_0x5a38b3[_0x4c84d6(0x209)][_0x4c84d6(0x1de)](_0x509ccd,{'attributes':_0x4c84d6(0x1f9)});if(_0x38b610){const _0x2d384b=Number[_0x4c84d6(0x233)](_0x509ccd[_0x4c84d6(0x1d4)](_0x4c84d6(0x1f9)),0xa);Number[_0x4c84d6(0x1ed)](_0x2d384b)||(_0x24a52a=_0x2d384b);}!_0x38b610&&_0x1d94d6[_0x4c84d6(0x1e5)](_0x4c84d6(0x229))||_0x5a38b3[_0x4c84d6(0x1e7)][_0x4c84d6(0x203)](_0x4c84d6(0x229),_0x24a52a,_0x1d94d6);}(_0x599a27,_0x45eb01,_0xb1ec1c,_0x53f070),function(_0x9fa5eb,_0x493857,_0x2bfcd9,_0x267c14){const _0x541f88=_0x419167;if(!_0x267c14[_0x541f88(0x201)](_0x493857,_0x541f88(0x20b)))return;let _0x4d7c39=_0x541f88(0x1f0),_0x1629e1=!0x1;if(_0x2bfcd9[_0x541f88(0x209)][_0x541f88(0x1de)](_0x9fa5eb,{'attributes':_0x541f88(0x1fe)})){const _0x27e2df={0x1:_0x541f88(0x1f0),'a':_0x541f88(0x222),'A':_0x541f88(0x208),'i':_0x541f88(0x1f5),'I':_0x541f88(0x1dd)}[_0x9fa5eb[_0x541f88(0x1d4)](_0x541f88(0x1fe))];_0x27e2df&&(_0x4d7c39=_0x27e2df),_0x1629e1=!0x0;}_0x2bfcd9[_0x541f88(0x209)][_0x541f88(0x1de)](_0x9fa5eb,{'styles':_0x541f88(0x1e8)})&&(_0x4d7c39=function(_0x40ed2f){const _0x3f7cf2=_0x541f88;switch(_0x40ed2f){case _0x3f7cf2(0x222):return _0x3f7cf2(0x228);case _0x3f7cf2(0x208):return _0x3f7cf2(0x1d6);default:return _0x40ed2f;}}(_0x9fa5eb[_0x541f88(0x1f7)](_0x541f88(0x1e8))),_0x1629e1=!0x0),!_0x1629e1&&_0x493857[_0x541f88(0x1e5)](_0x541f88(0x20b))||_0x2bfcd9[_0x541f88(0x1e7)][_0x541f88(0x203)](_0x541f88(0x20b),_0x4d7c39,_0x493857);}(_0x599a27,_0x45eb01,_0xb1ec1c,_0x53f070));});}),_0x546dc1[_0x328c63(0x1ec)](_0x328c63(0x1d5))[_0x328c63(0x225)](_0x32627d=>{const _0x173051=_0x328c63;_0x32627d['on'](_0x173051(0x20c),(_0x50300a,_0x10393e,_0xb431b0)=>{const _0x58e030=_0x173051;if(!_0xb431b0[_0x58e030(0x209)][_0x58e030(0x1de)](_0x10393e[_0x58e030(0x227)],_0x50300a[_0x58e030(0x212)]))return;const _0xfebf13=M(_0x10393e[_0x58e030(0x227)],_0xb431b0[_0x58e030(0x1f2)]),{attributeNewValue:_0x28819a}=_0x10393e;null==_0x28819a||0x1===_0x28819a?_0xb431b0[_0x58e030(0x1e7)][_0x58e030(0x1f3)](_0x58e030(0x1f9),_0xfebf13):_0xb431b0[_0x58e030(0x1e7)][_0x58e030(0x203)](_0x58e030(0x1f9),String(_0x28819a),_0xfebf13);}),_0x32627d['on'](_0x173051(0x1ea),(_0x144657,_0x395fcd,_0x4f68e2)=>{const _0x18c285=_0x173051;if(!_0x4f68e2[_0x18c285(0x209)][_0x18c285(0x1de)](_0x395fcd[_0x18c285(0x227)],_0x144657[_0x18c285(0x212)]))return;const _0x33a7b7=M(_0x395fcd[_0x18c285(0x227)],_0x4f68e2[_0x18c285(0x1f2)]),{attributeNewValue:_0x58f939}=_0x395fcd;_0x58f939&&_0x18c285(0x1f0)!==_0x58f939?_0x4f68e2[_0x18c285(0x1e7)][_0x18c285(0x213)](_0x18c285(0x1e8),_0x58f939,_0x33a7b7):_0x4f68e2[_0x18c285(0x1e7)][_0x18c285(0x236)](_0x18c285(0x1e8),_0x33a7b7);});});}[_0xc05839(0x219)](){const _0xc3f9d8=_0xc05839,{editor:_0x34f580}=this,{model:_0x1924cd}=_0x34f580,_0xfd0b1=_0x34f580[_0xc3f9d8(0x1d9)][_0xc3f9d8(0x20f)](_0x2533bf),_0x52110e=this[_0xc3f9d8(0x1da)](),_0xc43bc3=this[_0xc3f9d8(0x22e)]();_0x1924cd[_0xc3f9d8(0x221)][_0xc3f9d8(0x216)](_0x5dc7ee=>{const _0x6baa09=_0xc3f9d8,_0x147225=_0x1924cd[_0x6baa09(0x221)][_0x6baa09(0x214)][_0x6baa09(0x21a)]();let _0x532081=!0x1;for(const _0x371efa of _0x147225){if(_0x6baa09(0x1e4)!==_0x371efa[_0x6baa09(0x1fe)]||_0x6baa09(0x1e0)===_0x371efa[_0x6baa09(0x212)])continue;const _0x15852e=_0x1924cd[_0x6baa09(0x1e1)](_0x371efa[_0x6baa09(0x21f)][_0x6baa09(0x1d3)]);for(const _0x5ac8c9 of _0x15852e[_0x6baa09(0x1db)]())_0x5ac8c9['is'](_0x6baa09(0x202),_0x6baa09(0x1f8))&&(!_0x5ac8c9[_0x6baa09(0x1e5)](_0x6baa09(0x229))&&_0x1924cd[_0x6baa09(0x215)][_0x6baa09(0x201)](_0x5ac8c9,_0x6baa09(0x229))&&(_0x5dc7ee[_0x6baa09(0x203)](_0x6baa09(0x229),_0xc43bc3,_0x5ac8c9),_0x532081=!0x0),!_0x5ac8c9[_0x6baa09(0x1e5)](_0x6baa09(0x20b))&&_0x1924cd[_0x6baa09(0x215)][_0x6baa09(0x201)](_0x5ac8c9,_0x6baa09(0x20b))&&(_0x5dc7ee[_0x6baa09(0x203)](_0x6baa09(0x20b),_0x52110e,_0x5ac8c9),_0x532081=!0x0));}return _0x532081&&_0xfd0b1[_0x6baa09(0x211)](_0x5dc7ee),_0x532081;});}[_0xc05839(0x1e3)](){const _0x1650c4=_0xc05839,{editor:_0x3aa59c}=this;_0x3aa59c[_0x1650c4(0x1d9)][_0x1650c4(0x20f)](_0x2533bf)[_0x1650c4(0x1f1)](_0x12a591=>this[_0x1650c4(0x1fb)](_0x12a591));}[_0xc05839(0x1da)](){const _0x4f9e03=_0xc05839;return this[_0x4f9e03(0x1ee)][_0x4f9e03(0x1d2)][_0x4f9e03(0x20f)](_0x4f9e03(0x1df));}[_0xc05839(0x22e)](){const _0x4e1191=_0xc05839;return this[_0x4e1191(0x1ee)][_0x4e1191(0x1d2)][_0x4e1191(0x20f)](_0x4e1191(0x205));}[_0xc05839(0x1fb)]({container:_0x4ead5a,value:_0x3912a2,digits:_0x2b412f}){const _0x3f56b1=_0xc05839,_0x186f95=_0x4ead5a[_0x3f56b1(0x1d4)](_0x3f56b1(0x20b)),_0x5e30d6=_0x4ead5a[_0x3f56b1(0x1d4)](_0x3f56b1(0x229)),_0x1bc86a=Math[_0x3f56b1(0x21d)](_0x3912a2)+(_0x5e30d6??0x1)-0x1;switch(_0x186f95){case _0x3f56b1(0x230):return function(_0x4a5280,_0x2a789a){const _0x14bf74=_0x3f56b1;return String(_0x4a5280)[_0x14bf74(0x200)](_0x2a789a,'0');}(_0x1bc86a,Math[_0x3f56b1(0x1e6)](0x2,_0x2b412f));case _0x3f56b1(0x222):case _0x3f56b1(0x228):return N(_0x1bc86a,!0x1);case _0x3f56b1(0x208):case _0x3f56b1(0x1d6):return N(_0x1bc86a,!0x0);case _0x3f56b1(0x1f5):return X(_0x1bc86a,!0x1);case _0x3f56b1(0x1dd):return X(_0x1bc86a,!0x0);default:return String(_0x1bc86a);}}}function M(_0x2eb160,_0x5c74a2){const _0x133d78=_0xc05839,_0x2ae031=_0x5c74a2[_0x133d78(0x22a)](_0x2eb160);return Array[_0x133d78(0x1f4)](_0x2ae031[_0x133d78(0x20d)]())[_0x133d78(0x237)](_0x3db39c=>_0x3db39c['is'](_0x133d78(0x202),'ol')&&_0x3db39c[_0x133d78(0x217)](_0x133d78(0x20e)));}function N(_0x37dd20,_0x3dae71){const _0x55e9eb=_0xc05839;let _0x1968a8='',_0x11bdd8=_0x37dd20;for(;_0x11bdd8>0x0;){const _0x357e4d=(_0x11bdd8-0x1)%0x1a;_0x1968a8=String[_0x55e9eb(0x1d7)](0x61+_0x357e4d)+_0x1968a8,_0x11bdd8=Math[_0x55e9eb(0x21d)]((_0x11bdd8-0x1)/0x1a);}return _0x3dae71?_0x1968a8[_0x55e9eb(0x218)]():_0x1968a8;}const V=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function X(_0x36c3e3,_0x44d68f){const _0x16bb63=_0xc05839;let _0x1d177b='',_0x71226d=_0x36c3e3;for(const {value:_0x5c40b9,numeral:_0x690f2b}of V)for(;_0x71226d>=_0x5c40b9;)_0x1d177b+=_0x690f2b,_0x71226d-=_0x5c40b9;return _0x44d68f?_0x1d177b:_0x1d177b[_0x16bb63(0x1ff)]();}
|
|
23
|
+
const _0xd71611=_0x4edb;(function(_0x163b47,_0x8c9519){const _0x2957b7=_0x4edb,_0x46c38c=_0x163b47();while(!![]){try{const _0x33d7c3=parseInt(_0x2957b7(0x1da))/0x1+-parseInt(_0x2957b7(0x1cd))/0x2*(parseInt(_0x2957b7(0x1d5))/0x3)+-parseInt(_0x2957b7(0x1b7))/0x4*(-parseInt(_0x2957b7(0x1f0))/0x5)+-parseInt(_0x2957b7(0x193))/0x6*(parseInt(_0x2957b7(0x1a8))/0x7)+parseInt(_0x2957b7(0x18c))/0x8+parseInt(_0x2957b7(0x1c0))/0x9*(-parseInt(_0x2957b7(0x1ad))/0xa)+-parseInt(_0x2957b7(0x1c6))/0xb*(parseInt(_0x2957b7(0x1bd))/0xc);if(_0x33d7c3===_0x8c9519)break;else _0x46c38c['push'](_0x46c38c['shift']());}catch(_0x1e0766){_0x46c38c['push'](_0x46c38c['shift']());}}}(_0x1e90,0x94f5e));function _0x4edb(_0x11132b,_0x1a7fb9){const _0x1e90c2=_0x1e90();return _0x4edb=function(_0x4edbbb,_0x2b4544){_0x4edbbb=_0x4edbbb-0x18b;let _0x1bd7ff=_0x1e90c2[_0x4edbbb];return _0x1bd7ff;},_0x4edb(_0x11132b,_0x1a7fb9);}import{Plugin as _0x5535ef}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x29a3e8}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0xfef9c3}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x600ed7}from'../footnotestracker.js';import{FootnotesEditing as _0x359654}from'../footnotesediting.js';function _0x1e90(){const _0x4cc9b9=['getStyle','consume','downcast','265XQTzqd','footnotesStyle','toLowerCase','8173808RtlhnP','decimal-leading-zero','for','setFootnoteFormatter','plugins','isNaN','pluginName','26550MBqnGA','element:ol','list-style-type','define','config','lower-alpha','max','removeStyle','writer','insert','createRangeOn','find','_formatFootnoteListValue','lower-roman','from','name','extend','parseInt','schema','modelCursor','footnotes-list','413cUaMXY','document','floor','checkAttribute','getItems','3264610lNFPyx','upper-latin','nodeAfter','differ','consumable','parent','start','hasClass','mapper','toViewElement','77724zBxaQt','upcast','setStyle','upper-roman','footnotes.footnotesProperties.defaultStartIndex','viewItem','18967140PcPhYy','getChanges','footnotesListStart','9dSFPVL','getAttribute','upper-alpha','toUpperCase','_getDefaultListStyle','hasAttribute','11NLFazE','decimal','FootnotesPropertiesEditing','commands','removeAttribute','footnotesDefinitions','isOfficialPlugin','58Fwkizi','requires','get','_defineSchema','_defineConverters','position','attribute:footnotesListStart:footnotesDefinitions','footnotes.footnotesProperties.defaultListStyle','7041cmCScI','type','_definePostfixer','attribute:footnotesListStyle:footnotesDefinitions','padStart','794767LrLySu','editor','model','fromCharCode','_getDefaultStartIndex','_defineFormatter','setAttribute','getChildren','add','footnotesListStyle','element','isPremiumPlugin','footnotesStart','item','init','_updateFootnotesCounters','registerPostFixer','$text','lower-latin'];_0x1e90=function(){return _0x4cc9b9;};return _0x1e90();}export class FootnotesPropertiesEditing extends _0x5535ef{static get[_0xd71611(0x192)](){const _0xd6fa26=_0xd71611;return _0xd6fa26(0x1c8);}static get[_0xd71611(0x1ce)](){return[_0x359654,_0x600ed7];}static get[_0xd71611(0x1cc)](){return!0x0;}static get[_0xd71611(0x1e5)](){return!0x0;}[_0xd71611(0x1e8)](){const _0xce212a=_0xd71611,{editor:_0x40fd80}=this;_0x40fd80[_0xce212a(0x197)][_0xce212a(0x196)](_0xce212a(0x1d4),_0xce212a(0x1c7)),_0x40fd80[_0xce212a(0x197)][_0xce212a(0x196)](_0xce212a(0x1bb),0x1),_0x40fd80[_0xce212a(0x1c9)][_0xce212a(0x1e2)](_0xce212a(0x1f1),new _0x29a3e8(_0x40fd80)),_0x40fd80[_0xce212a(0x1c9)][_0xce212a(0x1e2)](_0xce212a(0x1e6),new _0xfef9c3(_0x40fd80)),this[_0xce212a(0x1d0)](),this[_0xce212a(0x1d1)](),this[_0xce212a(0x1df)](),this[_0xce212a(0x1d7)]();}[_0xd71611(0x1d0)](){const _0x2a3bb5=_0xd71611,{editor:_0x181090}=this,{schema:_0x5a5008}=_0x181090[_0x2a3bb5(0x1dc)];_0x5a5008[_0x2a3bb5(0x1a3)](_0x2a3bb5(0x1cb),{'allowAttributes':[_0x2a3bb5(0x1e3),_0x2a3bb5(0x1bf)]});}[_0xd71611(0x1d1)](){const _0x2f9c66=_0xd71611,{editor:_0x524c7d}=this,{conversion:_0xd444f5,model:_0x58a0bf}=_0x524c7d,{schema:_0xa24237}=_0x58a0bf;_0xd444f5[_0x2f9c66(0x18e)](_0x2f9c66(0x1b8))[_0x2f9c66(0x1e2)](_0x5905c1=>{const _0x14b3d7=_0x2f9c66;_0x5905c1['on'](_0x14b3d7(0x194),(_0x64f3fe,_0x28155c,_0x5e22bd)=>{const _0x26ade1=_0x14b3d7,_0x335171=_0x28155c[_0x26ade1(0x1bc)],_0x2957bb=_0x28155c[_0x26ade1(0x1a6)]?.[_0x26ade1(0x1b2)];_0x335171[_0x26ade1(0x1b4)](_0x26ade1(0x1a7))&&_0x2957bb?.['is'](_0x26ade1(0x1e4),_0x26ade1(0x1cb))&&(function(_0x28f4ad,_0x558808,_0x4e0438,_0x2685e8){const _0x44ba66=_0x26ade1;if(!_0x2685e8[_0x44ba66(0x1ab)](_0x558808,_0x44ba66(0x1bf)))return;let _0x288dd1=0x1;const _0x5e5f00=_0x4e0438[_0x44ba66(0x1b1)][_0x44ba66(0x1ee)](_0x28f4ad,{'attributes':_0x44ba66(0x1b3)});if(_0x5e5f00){const _0xa293d0=Number[_0x44ba66(0x1a4)](_0x28f4ad[_0x44ba66(0x1c1)](_0x44ba66(0x1b3)),0xa);Number[_0x44ba66(0x191)](_0xa293d0)||(_0x288dd1=_0xa293d0);}!_0x5e5f00&&_0x558808[_0x44ba66(0x1c5)](_0x44ba66(0x1bf))||_0x4e0438[_0x44ba66(0x19b)][_0x44ba66(0x1e0)](_0x44ba66(0x1bf),_0x288dd1,_0x558808);}(_0x335171,_0x2957bb,_0x5e22bd,_0xa24237),function(_0x5c4418,_0x134101,_0x305da6,_0x9d26a3){const _0x33acfb=_0x26ade1;if(!_0x9d26a3[_0x33acfb(0x1ab)](_0x134101,_0x33acfb(0x1e3)))return;let _0x58bebf=_0x33acfb(0x1c7),_0x46a5c7=!0x1;if(_0x305da6[_0x33acfb(0x1b1)][_0x33acfb(0x1ee)](_0x5c4418,{'attributes':_0x33acfb(0x1d6)})){const _0x4ce5f0={0x1:_0x33acfb(0x1c7),'a':_0x33acfb(0x198),'A':_0x33acfb(0x1c2),'i':_0x33acfb(0x1a0),'I':_0x33acfb(0x1ba)}[_0x5c4418[_0x33acfb(0x1c1)](_0x33acfb(0x1d6))];_0x4ce5f0&&(_0x58bebf=_0x4ce5f0),_0x46a5c7=!0x0;}_0x305da6[_0x33acfb(0x1b1)][_0x33acfb(0x1ee)](_0x5c4418,{'styles':_0x33acfb(0x195)})&&(_0x58bebf=function(_0x3189ac){const _0x4d84e8=_0x33acfb;switch(_0x3189ac){case _0x4d84e8(0x198):return _0x4d84e8(0x1ec);case _0x4d84e8(0x1c2):return _0x4d84e8(0x1ae);default:return _0x3189ac;}}(_0x5c4418[_0x33acfb(0x1ed)](_0x33acfb(0x195))),_0x46a5c7=!0x0),!_0x46a5c7&&_0x134101[_0x33acfb(0x1c5)](_0x33acfb(0x1e3))||_0x305da6[_0x33acfb(0x19b)][_0x33acfb(0x1e0)](_0x33acfb(0x1e3),_0x58bebf,_0x134101);}(_0x335171,_0x2957bb,_0x5e22bd,_0xa24237));});}),_0xd444f5[_0x2f9c66(0x18e)](_0x2f9c66(0x1ef))[_0x2f9c66(0x1e2)](_0x33f595=>{const _0x2fff72=_0x2f9c66;_0x33f595['on'](_0x2fff72(0x1d3),(_0xe78d7a,_0x78312d,_0x253466)=>{const _0x1e70d9=_0x2fff72;if(!_0x253466[_0x1e70d9(0x1b1)][_0x1e70d9(0x1ee)](_0x78312d[_0x1e70d9(0x1e7)],_0xe78d7a[_0x1e70d9(0x1a2)]))return;const _0x4b1f32=M(_0x78312d[_0x1e70d9(0x1e7)],_0x253466[_0x1e70d9(0x1b5)]),{attributeNewValue:_0x4dd48b}=_0x78312d;null==_0x4dd48b||0x1===_0x4dd48b?_0x253466[_0x1e70d9(0x19b)][_0x1e70d9(0x1ca)](_0x1e70d9(0x1b3),_0x4b1f32):_0x253466[_0x1e70d9(0x19b)][_0x1e70d9(0x1e0)](_0x1e70d9(0x1b3),String(_0x4dd48b),_0x4b1f32);}),_0x33f595['on'](_0x2fff72(0x1d8),(_0x2b42d7,_0x2b349e,_0x307a6a)=>{const _0xecb0c0=_0x2fff72;if(!_0x307a6a[_0xecb0c0(0x1b1)][_0xecb0c0(0x1ee)](_0x2b349e[_0xecb0c0(0x1e7)],_0x2b42d7[_0xecb0c0(0x1a2)]))return;const _0x39712e=M(_0x2b349e[_0xecb0c0(0x1e7)],_0x307a6a[_0xecb0c0(0x1b5)]),{attributeNewValue:_0x49ad16}=_0x2b349e;_0x49ad16&&_0xecb0c0(0x1c7)!==_0x49ad16?_0x307a6a[_0xecb0c0(0x19b)][_0xecb0c0(0x1b9)](_0xecb0c0(0x195),_0x49ad16,_0x39712e):_0x307a6a[_0xecb0c0(0x19b)][_0xecb0c0(0x19a)](_0xecb0c0(0x195),_0x39712e);});});}[_0xd71611(0x1d7)](){const _0x2c04d7=_0xd71611,{editor:_0x267267}=this,{model:_0x3f3d36}=_0x267267,_0x361f5c=_0x267267[_0x2c04d7(0x190)][_0x2c04d7(0x1cf)](_0x600ed7),_0xfd86da=this[_0x2c04d7(0x1c4)](),_0x3218d7=this[_0x2c04d7(0x1de)]();_0x3f3d36[_0x2c04d7(0x1a9)][_0x2c04d7(0x1ea)](_0x327d8c=>{const _0x312e18=_0x2c04d7,_0x5ed373=_0x3f3d36[_0x312e18(0x1a9)][_0x312e18(0x1b0)][_0x312e18(0x1be)]();let _0x144abb=!0x1;for(const _0x26fac8 of _0x5ed373){if(_0x312e18(0x19c)!==_0x26fac8[_0x312e18(0x1d6)]||_0x312e18(0x1eb)===_0x26fac8[_0x312e18(0x1a2)])continue;const _0x2d835e=_0x3f3d36[_0x312e18(0x19d)](_0x26fac8[_0x312e18(0x1d2)][_0x312e18(0x1af)]);for(const _0x1c68b6 of _0x2d835e[_0x312e18(0x1ac)]())_0x1c68b6['is'](_0x312e18(0x1e4),_0x312e18(0x1cb))&&(!_0x1c68b6[_0x312e18(0x1c5)](_0x312e18(0x1bf))&&_0x3f3d36[_0x312e18(0x1a5)][_0x312e18(0x1ab)](_0x1c68b6,_0x312e18(0x1bf))&&(_0x327d8c[_0x312e18(0x1e0)](_0x312e18(0x1bf),_0x3218d7,_0x1c68b6),_0x144abb=!0x0),!_0x1c68b6[_0x312e18(0x1c5)](_0x312e18(0x1e3))&&_0x3f3d36[_0x312e18(0x1a5)][_0x312e18(0x1ab)](_0x1c68b6,_0x312e18(0x1e3))&&(_0x327d8c[_0x312e18(0x1e0)](_0x312e18(0x1e3),_0xfd86da,_0x1c68b6),_0x144abb=!0x0));}return _0x144abb&&_0x361f5c[_0x312e18(0x1e9)](_0x327d8c),_0x144abb;});}[_0xd71611(0x1df)](){const _0x315888=_0xd71611,{editor:_0x59604f}=this;_0x59604f[_0x315888(0x190)][_0x315888(0x1cf)](_0x600ed7)[_0x315888(0x18f)](_0x4769ee=>this[_0x315888(0x19f)](_0x4769ee));}[_0xd71611(0x1c4)](){const _0x2c30dc=_0xd71611;return this[_0x2c30dc(0x1db)][_0x2c30dc(0x197)][_0x2c30dc(0x1cf)](_0x2c30dc(0x1d4));}[_0xd71611(0x1de)](){const _0x216df1=_0xd71611;return this[_0x216df1(0x1db)][_0x216df1(0x197)][_0x216df1(0x1cf)](_0x216df1(0x1bb));}[_0xd71611(0x19f)]({container:_0x1a8342,value:_0x1fa856,digits:_0x408ecc}){const _0x1e9b2a=_0xd71611,_0x31536b=_0x1a8342[_0x1e9b2a(0x1c1)](_0x1e9b2a(0x1e3)),_0x46581d=_0x1a8342[_0x1e9b2a(0x1c1)](_0x1e9b2a(0x1bf)),_0x29a58a=Math[_0x1e9b2a(0x1aa)](_0x1fa856)+(_0x46581d??0x1)-0x1;switch(_0x31536b){case _0x1e9b2a(0x18d):return function(_0x4ef238,_0x58895f){const _0x47ea0c=_0x1e9b2a;return String(_0x4ef238)[_0x47ea0c(0x1d9)](_0x58895f,'0');}(_0x29a58a,Math[_0x1e9b2a(0x199)](0x2,_0x408ecc));case _0x1e9b2a(0x198):case _0x1e9b2a(0x1ec):return N(_0x29a58a,!0x1);case _0x1e9b2a(0x1c2):case _0x1e9b2a(0x1ae):return N(_0x29a58a,!0x0);case _0x1e9b2a(0x1a0):return X(_0x29a58a,!0x1);case _0x1e9b2a(0x1ba):return X(_0x29a58a,!0x0);default:return String(_0x29a58a);}}}function M(_0x353dcd,_0x7290af){const _0x19be6f=_0xd71611,_0x4cb94c=_0x7290af[_0x19be6f(0x1b6)](_0x353dcd);return Array[_0x19be6f(0x1a1)](_0x4cb94c[_0x19be6f(0x1e1)]())[_0x19be6f(0x19e)](_0x5000ba=>_0x5000ba['is'](_0x19be6f(0x1e4),'ol')&&_0x5000ba[_0x19be6f(0x1b4)](_0x19be6f(0x1a7)));}function N(_0x37619a,_0x2ecdcc){const _0x344ad7=_0xd71611;let _0xd3cfd='',_0x4c4dc3=_0x37619a;for(;_0x4c4dc3>0x0;){const _0x2543b4=(_0x4c4dc3-0x1)%0x1a;_0xd3cfd=String[_0x344ad7(0x1dd)](0x61+_0x2543b4)+_0xd3cfd,_0x4c4dc3=Math[_0x344ad7(0x1aa)]((_0x4c4dc3-0x1)/0x1a);}return _0x2ecdcc?_0xd3cfd[_0x344ad7(0x1c3)]():_0xd3cfd;}const V=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function X(_0x11d96d,_0x58dfa2){const _0x5caf91=_0xd71611;let _0x1ed6fd='',_0x15dc80=_0x11d96d;for(const {value:_0xd53991,numeral:_0x41959e}of V)for(;_0x15dc80>=_0xd53991;)_0x1ed6fd+=_0x41959e,_0x15dc80-=_0xd53991;return _0x58dfa2?_0x1ed6fd:_0x1ed6fd[_0x5caf91(0x18b)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0xc5cc83,ButtonView as _0xf63448,ContextualBalloon as _0x31ba96,createDropdown as _0x4d008e}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x301083}from'ckeditor5/src/widget.js';import{Plugin as _0x28430a}from'ckeditor5/src/core.js';import{IconFootnote as _0x510179,IconListStyleDecimal as _0x284db5,IconListStyleDecimalLeadingZero as _0x1c19bd,IconListStyleLowerLatin as _0x5807eb,IconListStyleLowerRoman as _0x2a4bea,IconListStyleUpperLatin as _0x46a1d5,IconListStyleUpperRoman as _0x3a5b42}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x5040d5}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x22ebdd}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x28430a{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x31ba96,_0x301083];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4414a4}=this,{componentFactory:_0x308600}=_0x4414a4['ui'];_0x4414a4['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x308600['add']('footnotesStyle',function(_0x1fb0cf){return _0x1bdfa8=>{const {t:t}=_0x1bdfa8,_0x479c71=_0x1fb0cf['commands']['get']('footnotesStyle'),_0x5e0d32=_0x4d008e(_0x1bdfa8),{buttonView:_0x4b6a3b}=_0x5e0d32;return _0x5e0d32['class']='ck-footnotes-styles-dropdown',_0x5e0d32['bind']('isEnabled')['to'](_0x479c71,'isEnabled'),_0x4b6a3b['set']({'label':t('Footnotes\x20style'),'icon':_0x510179,'tooltip':!0x0}),_0x5e0d32['once']('change:isOpen',()=>{const _0x2cb16c=function({editor:_0x366102,dropdownView:_0x176f16}){const {t:t}=_0x366102['locale'],_0x4121e2=t('Footnotes\x20definitions\x20styles'),_0x1ba3bc=function(_0x130aab){const t=_0x130aab['locale']['t'],_0x2ebf99=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x284db5},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x1c19bd},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2a4bea},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x3a5b42},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5807eb},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x46a1d5}];return _0x2ebf99['map'](function(_0x445761){const _0x349591=_0x445761['locale'];return({label:_0x39d347,icon:_0x4917c5,tooltip:_0x137ed1,style:_0x41f542})=>{const _0x108e2f=_0x445761['commands']['get']('footnotesStyle'),_0x196e20=new _0xf63448(_0x349591);return _0x196e20['set']({'label':_0x39d347,'icon':_0x4917c5,'tooltip':_0x137ed1}),_0x196e20['bind']('isOn')['to'](_0x108e2f,'value',_0x3898c9=>_0x3898c9===_0x41f542),_0x196e20['bind']('isEnabled')['to'](_0x108e2f,'isEnabled'),_0x196e20['on']('execute',()=>{_0x445761['execute']('footnotesStyle',{'value':_0x41f542}),_0x445761['editing']['view']['focus']();}),_0x196e20;};}(_0x130aab));}(_0x366102),_0x576edb=new _0x5040d5(_0x366102['locale'],{'styleGridAriaLabel':_0x4121e2,'styleButtonViews':_0x1ba3bc}),_0x5e7fad=_0x366102['commands']['get']('footnotesStart');return _0x576edb['startIndexFieldView']['bind']('isEnabled')['to'](_0x5e7fad),_0x576edb['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x5e7fad),_0x576edb['on']('footnotesListStart',(_0x1eeab0,_0x58f7ef)=>{_0x366102['execute']('footnotesStart',{'value':_0x58f7ef['startIndex']});}),_0x576edb['delegate']('execute')['to'](_0x176f16),_0x576edb;}({'editor':_0x1fb0cf,'dropdownView':_0x5e0d32});_0x5e0d32['panelView']['children']['add'](_0x2cb16c);}),_0x5e0d32;};}(_0x4414a4));}['afterInit'](){const {editor:_0x48cab9}=this,{t:t}=_0x48cab9['locale'],_0x532c79=_0x48cab9['plugins']['get'](_0x301083),{defaultPositions:_0x54b748}=_0xc5cc83;_0x532c79['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x48cab9['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x54fe73=>{let _0x455c28=_0x54fe73['getFirstPosition']()?.['parent'];return _0x455c28?.['is']('$text')&&(_0x455c28=_0x455c28['parent']),_0x455c28?.['is']('element')?_0x455c28['findAncestor'](_0x22ebdd):null;},'positions':[_0x54b748['southArrowNorth'],_0x54b748['southArrowNorthMiddleWest'],_0x54b748['southArrowNorthMiddleEast'],_0x54b748['southArrowNorthWest'],_0x54b748['southArrowNorthEast'],_0x54b748['northArrowSouth'],_0x54b748['northArrowSouthMiddleWest'],_0x54b748['northArrowSouthMiddleEast'],_0x54b748['northArrowSouthWest'],_0x54b748['northArrowSouthEast'],_0x54b748['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x250d06,View as _0xc7c6de,ViewCollection as _0x58fa07,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot}from'ckeditor5/src/ui.js';import{FocusTracker as rt,KeystrokeHandler as nt,global as at}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0xc7c6de{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x58fa07();['focusCycler'];constructor(_0x42d317,{styleButtonViews:_0x3910e5,styleGridAriaLabel:_0x3be4c5}){super(_0x42d317),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x3910e5,_0x3be4c5),[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 _0x5c40b5 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5c40b5['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['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 _0x971032=_0x5e19a5=>_0x5e19a5['stopPropagation']();this['keystrokes']['set']('arrowright',_0x971032),this['keystrokes']['set']('arrowleft',_0x971032),this['keystrokes']['set']('arrowup',_0x971032),this['keystrokes']['set']('arrowdown',_0x971032);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x22b521,_0x1bd5c0){const _0x3ef76f=new _0xc7c6de(this['locale']);return _0x3ef76f['children']=_0x3ef76f['createCollection'](),_0x3ef76f['children']['addMany'](_0x22b521),_0x3ef76f['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1bd5c0,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3ef76f['children']}),_0x3ef76f['children']['delegate']('execute')['to'](this),_0x3ef76f['focus']=function(){for(const _0x1f2fda of this['children'])if(_0x1f2fda instanceof _0x250d06&&_0x1f2fda['isOn'])return void _0x1f2fda['focus']();this['children']['first']['focus']();},_0x3ef76f['focusTracker']=new rt(),_0x3ef76f['keystrokes']=new nt(),_0x3ef76f['render'](),_0x3ef76f['keystrokes']['listenTo'](_0x3ef76f['element']),this['children']['add'](_0x3ef76f),_0x3ef76f;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5bf957=this['_createStartIndexPropertyView'](),_0x2cde62=[_0x5bf957],_0x28bb26=new it(this['locale'],_0x2cde62);return _0x28bb26['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x28bb26['buttonView']['bind']('isEnabled')['toMany'](_0x2cde62,'isEnabled',(..._0x47dd5d)=>_0x47dd5d['some'](_0x10ac0f=>_0x10ac0f)),_0x28bb26['buttonView']['on']('change:isEnabled',(_0xba4d8d,_0x372e1c,_0x539407)=>{_0x539407||(_0x28bb26['isCollapsed']=!0x0);}),this['children']['add'](_0x28bb26),[_0x5bf957,_0x28bb26];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1f0952=new et(this['locale'],ot);return _0x1f0952['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1f0952['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1f0952['fieldView']['on']('input',()=>{const _0x2f10f2=_0x1f0952['fieldView']['element'],_0x1f0415=_0x2f10f2['valueAsNumber'];Number['isNaN'](_0x1f0415)?_0x1f0952['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x2f10f2['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1f0415}):_0x1f0952['errorText']=t(_0x1f0415<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1f0952;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2970f2=_0x3334;function _0x5a43(){var _0x116a42=['891879XQxxki','5220272jjuFqM','isOfficialPlugin','626186ENOSar','883104KyzzHB','pluginName','1684895oQzRwp','isPremiumPlugin','28VhIcOc','550NsUOXg','530183lKrmcQ','4RqMVXZ','1539NfPyCh','requires','FootnotesProperties'];_0x5a43=function(){return _0x116a42;};return _0x5a43();}(function(_0x119763,_0x344b88){var _0x108662=_0x3334,_0x5919ec=_0x119763();while(!![]){try{var _0x1162e0=-parseInt(_0x108662(0xbc))/0x1+parseInt(_0x108662(0xc4))/0x2+-parseInt(_0x108662(0xc1))/0x3*(parseInt(_0x108662(0xbd))/0x4)+-parseInt(_0x108662(0xb8))/0x5+parseInt(_0x108662(0xc5))/0x6*(parseInt(_0x108662(0xba))/0x7)+parseInt(_0x108662(0xc2))/0x8+parseInt(_0x108662(0xbe))/0x9*(-parseInt(_0x108662(0xbb))/0xa);if(_0x1162e0===_0x344b88)break;else _0x5919ec['push'](_0x5919ec['shift']());}catch(_0x5494dc){_0x5919ec['push'](_0x5919ec['shift']());}}}(_0x5a43,0x5ce57));import{Plugin as _0x79c50b}from'ckeditor5/src/core.js';function _0x3334(_0x4af2e8,_0x54ccaf){var _0x5a431e=_0x5a43();return _0x3334=function(_0x3334b8,_0x6f3396){_0x3334b8=_0x3334b8-0xb8;var _0x4fced1=_0x5a431e[_0x3334b8];return _0x4fced1;},_0x3334(_0x4af2e8,_0x54ccaf);}import{FootnotesPropertiesEditing as _0x2244df}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x157bbb}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x79c50b{static get[_0x2970f2(0xc6)](){var _0x187f90=_0x2970f2;return _0x187f90(0xc0);}static get[_0x2970f2(0xbf)](){return[_0x2244df,_0x157bbb];}static get[_0x2970f2(0xc3)](){return!0x0;}static get[_0x2970f2(0xb9)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x58f5(){const _0x756ee5=['listenTo','isPremiumPlugin','pluginName','createPositionAt','append','getFootnotesFormatter','_updateFootnotesCounters','7299CYCnSk','getFootnotes','_footnoteFormatter','10292440ACVwTd','editor','_handleFootnotesDefinitionsObjectChanges','move','min','_footnotes','_insertEmptyFootnotesDefinitionsContainer','138zWDYyW','_handleFootnotesDefinitionsObjectSync','footnoteDefinition','setFootnoteFormatter','enqueueChange','_handleFootnoteReferencesChanges','find','indexOf','paragraph','footnoteRef','add','getRootNames','_footnoteDefsTracker','_footnoteDefsContainerTracker','low','387506fChEUB','findIndex','FootnotesTracker','footnoteId','reset','root','footnotes.multiBlock','registerPostFixer','length','singleton','23668623HRDUVQ','reference','set','6820450XCDnom','rootName','_handleInsertedFootnoteReference','definition','insert','unshift','push','27884mrdVDO','_sortFootnoteDefinitions','_handleFootnoteDefinitionsChanges','from','getChanges','document','_handleMovedFootnoteReference','createElement','_updateFootnoteRefCounter','footnoteInlineContent','splice','model','getFootnotesDefinitionsObjectElement','some','parent','$graveyard','compareWith','createRangeIn','high','footnotesDefinitions','config','createPositionBefore','map','footnoteCounter','_ensureFootnotesReferencesHaveProperOrder','differ','959006WCRMit','init','has','end','get','_footnotesDefinitions','childCount','isOfficialPlugin','12360mBdxRh','getChildren','_ensureFootnotesDefinitionsContainerExists','_handleRemoveFootnoteReferenceById','setAttribute','getFootnote','getAttribute','change:data','before','_footnoteRefsTracker','after','remove','2bcVEjx','363CFvkFx','createRangeOn','isEqual'];_0x58f5=function(){return _0x756ee5;};return _0x58f5();}const _0x57af21=_0x3607;(function(_0x3c63b6,_0x3835dc){const _0x99e346=_0x3607,_0x4132e7=_0x3c63b6();while(!![]){try{const _0x181950=-parseInt(_0x99e346(0xdc))/0x1*(-parseInt(_0x99e346(0x12e))/0x2)+-parseInt(_0x99e346(0xdd))/0x3*(parseInt(_0x99e346(0x114))/0x4)+parseInt(_0x99e346(0x10d))/0x5+parseInt(_0x99e346(0xf1))/0x6*(parseInt(_0x99e346(0x100))/0x7)+parseInt(_0x99e346(0x136))/0x8*(parseInt(_0x99e346(0xe7))/0x9)+-parseInt(_0x99e346(0xea))/0xa+-parseInt(_0x99e346(0x10a))/0xb;if(_0x181950===_0x3835dc)break;else _0x4132e7['push'](_0x4132e7['shift']());}catch(_0x21afcf){_0x4132e7['push'](_0x4132e7['shift']());}}}(_0x58f5,0xc9641));import{Plugin as _0x21ed78}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x18b645}from'./modelelementtracker.js';export class FootnotesTracker extends _0x21ed78{[_0x57af21(0xef)]=[];[_0x57af21(0x133)]=null;[_0x57af21(0xe9)]=null;[_0x57af21(0xfe)];[_0x57af21(0xd9)];[_0x57af21(0xfd)];static get[_0x57af21(0xe2)](){const _0xb22695=_0x57af21;return _0xb22695(0x102);}static get[_0x57af21(0x135)](){return!0x0;}static get[_0x57af21(0xe1)](){return!0x0;}constructor(_0x547ad6){const _0x104496=_0x57af21;super(_0x547ad6),this[_0x104496(0xfe)]=new _0x18b645(this[_0x104496(0xeb)][_0x104496(0x11f)],{'elementName':_0x104496(0x127),'getElementKey':()=>_0x104496(0x109)}),this[_0x104496(0xd9)]=new _0x18b645(this[_0x104496(0xeb)][_0x104496(0x11f)],{'elementName':_0x104496(0xfa),'getElementKey':_0x445343=>_0x445343[_0x104496(0x13c)](_0x104496(0x103))}),this[_0x104496(0xfd)]=new _0x18b645(this[_0x104496(0xeb)][_0x104496(0x11f)],{'elementName':_0x104496(0xf3),'getElementKey':_0x598272=>_0x598272[_0x104496(0x13c)](_0x104496(0x103))});}[_0x57af21(0x12f)](){const _0x4127cd=_0x57af21,{editor:_0x1bfce2}=this,{model:_0x98f51a,data:_0x38baec}=_0x1bfce2;_0x98f51a[_0x4127cd(0x119)][_0x4127cd(0x107)](_0x1b82d2=>{const _0x2084e2=_0x4127cd,_0x44f2a8=_0x98f51a[_0x2084e2(0x119)][_0x2084e2(0x12d)][_0x2084e2(0x118)]();let _0x37857=!0x1;return this[_0x2084e2(0xec)](_0x1b82d2,_0x44f2a8)&&(_0x37857=!0x0),this[_0x2084e2(0x116)](_0x1b82d2,_0x44f2a8)&&(_0x37857=!0x0),this[_0x2084e2(0xf6)](_0x1b82d2,_0x44f2a8)&&(_0x37857=!0x0),this[_0x2084e2(0x12c)](_0x1b82d2)&&(_0x37857=!0x0),this[_0x2084e2(0xf2)](_0x1b82d2)&&(_0x37857=!0x0),this[_0x2084e2(0x115)](_0x1b82d2)&&(_0x37857=!0x0),_0x37857;}),this[_0x4127cd(0xe0)](_0x98f51a[_0x4127cd(0x119)],_0x4127cd(0x13d),()=>{const _0x1578f0=_0x4127cd;_0x98f51a[_0x1578f0(0xf5)]({'isUndoable':!0x1},_0x8bd810=>{const _0x20a075=_0x1578f0;this[_0x20a075(0x138)](_0x8bd810);});},{'priority':_0x4127cd(0xff)}),this[_0x4127cd(0xe0)](_0x38baec,_0x4127cd(0x10c),()=>{const _0x5e7427=_0x4127cd;this[_0x5e7427(0xef)]=[],this[_0x5e7427(0xfe)][_0x5e7427(0x104)](),this[_0x5e7427(0xd9)][_0x5e7427(0x104)](),this[_0x5e7427(0xfd)][_0x5e7427(0x104)]();},{'priority':_0x4127cd(0x126)});}[_0x57af21(0x120)](){const _0x346e51=_0x57af21;return this[_0x346e51(0x133)];}[_0x57af21(0x13b)](_0x4ae7c6){const _0x3d6190=_0x57af21;return this[_0x3d6190(0xef)][_0x3d6190(0xf7)](_0x1fcc05=>_0x1fcc05['id']===_0x4ae7c6)||null;}[_0x57af21(0xe8)](){const _0xcb1399=_0x57af21;return Array[_0xcb1399(0x117)](this[_0xcb1399(0xef)]);}[_0x57af21(0xe5)](){const _0x4edc82=_0x57af21;return this[_0x4edc82(0xe9)];}[_0x57af21(0xf4)](_0x1119b6){const _0x131266=_0x57af21;this[_0x131266(0xe9)]=_0x1119b6;}[_0x57af21(0xe6)](_0x1596ab,_0x56d833=0x0){const _0x33a6ad=_0x57af21;let _0x2b5f89=!0x1;for(let _0x43e6d6=_0x56d833;_0x43e6d6<this[_0x33a6ad(0xef)][_0x33a6ad(0x108)];_0x43e6d6++)this[_0x33a6ad(0x11c)](_0x1596ab,_0x43e6d6)&&(_0x2b5f89=!0x0);return _0x2b5f89;}[_0x57af21(0xf0)](_0x46ebf2,_0x966a33){const _0x57ae7e=_0x57af21,_0x238dd6=_0x46ebf2[_0x57ae7e(0x11b)](_0x57ae7e(0x127),{});return _0x46ebf2[_0x57ae7e(0xe4)](_0x238dd6,_0x966a33),this[_0x57ae7e(0x133)]=_0x238dd6,_0x238dd6;}[_0x57af21(0x138)](_0x59ab16){const _0x18cb59=_0x57af21;if(!this[_0x18cb59(0xef)][_0x18cb59(0x108)]||this[_0x18cb59(0x133)])return;const _0x19a5e1=this[_0x18cb59(0xef)][0x0][_0x18cb59(0x10b)][_0x18cb59(0x105)],_0x57a9c6=this[_0x18cb59(0xf0)](_0x59ab16,_0x19a5e1);for(const _0x253c25 of this[_0x18cb59(0xef)])_0x253c25[_0x18cb59(0x110)][_0x18cb59(0x122)]||_0x59ab16[_0x18cb59(0x111)](_0x253c25[_0x18cb59(0x110)],_0x57a9c6,_0x18cb59(0x131));this[_0x18cb59(0xe6)](_0x59ab16);}[_0x57af21(0xec)](_0x2db4ae,_0x15b670){const _0x63a134=_0x57af21;let _0x262103=!0x1;const {inserted:_0x197ee9,removed:_0x226c6a,moved:_0x4ba1fd}=this[_0x63a134(0xfe)][_0x63a134(0x118)](_0x15b670);if(_0x4ba1fd[_0x63a134(0x108)]&&(this[_0x63a134(0x133)]=_0x4ba1fd[0x0]),_0x197ee9[_0x63a134(0x108)]){if(_0x197ee9[_0x63a134(0x108)]>0x1||this[_0x63a134(0x133)]&&_0x197ee9[_0x63a134(0x121)](_0x407781=>_0x407781!==this[_0x63a134(0x133)])){const _0x5a223a=_0x2db4ae[_0x63a134(0x11b)](_0x63a134(0x127),{}),_0x1a31fa=[];this[_0x63a134(0x133)]&&_0x1a31fa[_0x63a134(0x113)](this[_0x63a134(0x133)]),_0x1a31fa[_0x63a134(0x113)](..._0x197ee9),_0x2db4ae[_0x63a134(0x111)](_0x5a223a,_0x1a31fa[0x0],_0x63a134(0xd8));for(const _0x41ef61 of _0x1a31fa)_0x2db4ae[_0x63a134(0xed)](_0x2db4ae[_0x63a134(0x125)](_0x41ef61),_0x2db4ae[_0x63a134(0xe3)](_0x5a223a,_0x63a134(0x131))),_0x2db4ae[_0x63a134(0xdb)](_0x41ef61);this[_0x63a134(0x133)]=_0x5a223a,this[_0x63a134(0xe6)](_0x2db4ae),_0x262103=!0x0;}else this[_0x63a134(0x133)]=_0x197ee9[0x0];}if(_0x226c6a[_0x63a134(0x108)]&&_0x63a134(0x123)===this[_0x63a134(0x133)]?.[_0x63a134(0x105)][_0x63a134(0x10e)]){for(const _0x4fefd7 of this[_0x63a134(0xef)])_0x2db4ae[_0x63a134(0xdb)](_0x4fefd7[_0x63a134(0x10b)]),_0x262103=!0x0;this[_0x63a134(0xef)]=[],this[_0x63a134(0x133)]=null;}return _0x262103;}[_0x57af21(0x116)](_0x4788f0,_0x1912d4){const _0x1b9a44=_0x57af21;let _0x8df203=!0x1;const _0x12e3fa=this[_0x1b9a44(0xeb)][_0x1b9a44(0x128)][_0x1b9a44(0x132)](_0x1b9a44(0x106)),{inserted:_0x5d8188,moved:_0x499587}=this[_0x1b9a44(0xfd)][_0x1b9a44(0x118)](_0x1912d4);for(const _0x1e2915 of[..._0x499587,..._0x5d8188]){const _0x46f8a4=_0x1e2915[_0x1b9a44(0x13c)](_0x1b9a44(0x103)),_0x40ec99=this[_0x1b9a44(0x13b)](_0x46f8a4);_0x40ec99&&(_0x40ec99[_0x1b9a44(0x110)]=_0x1e2915),_(_0x4788f0,_0x12e3fa,_0x1e2915)&&(_0x8df203=!0x0);}return _0x8df203;}[_0x57af21(0xf6)](_0x1b20f7,_0xb8ef48){const _0x2f6db9=_0x57af21;let _0x275831=!0x1;const {removed:_0x2e508f,inserted:_0x499199,moved:_0x5cf17d}=this[_0x2f6db9(0xd9)][_0x2f6db9(0x118)](_0xb8ef48);for(const _0x39fac0 of _0x2e508f)this[_0x2f6db9(0x139)](_0x1b20f7,_0x39fac0)&&(_0x275831=!0x0);for(const _0x2eedfe of _0x499199)this[_0x2f6db9(0x10f)](_0x1b20f7,_0x2eedfe)&&(_0x275831=!0x0);for(const _0x5e0cd3 of _0x5cf17d)this[_0x2f6db9(0x11a)](_0x1b20f7,_0x5e0cd3)&&(_0x275831=!0x0);return _0x275831;}[_0x57af21(0xf2)](_0x4cbaac){const _0x356641=_0x57af21;if(!this[_0x356641(0x133)])return!0x1;let _0x15f1bb=!0x1;if(this[_0x356641(0x133)][_0x356641(0x134)]!==this[_0x356641(0xef)][_0x356641(0x108)]){const _0x4d5f19=[];for(const _0x221487 of this[_0x356641(0x133)][_0x356641(0x137)]()){const _0x3eba9f=_0x221487[_0x356641(0x13c)](_0x356641(0x103));this[_0x356641(0x13b)](_0x3eba9f)||(_0x4d5f19[_0x356641(0x112)](_0x221487),_0x15f1bb=!0x0);}for(const _0x541dc6 of _0x4d5f19)_0x4cbaac[_0x356641(0xdb)](_0x541dc6);}const _0x4e4151=new Set(),_0x59c7b7=[];for(const _0x159136 of this[_0x356641(0x133)][_0x356641(0x137)]()){const _0x164efa=_0x159136[_0x356641(0x13c)](_0x356641(0x103));_0x4e4151[_0x356641(0x130)](_0x164efa)?(_0x59c7b7[_0x356641(0x112)](_0x159136),_0x15f1bb=!0x0):_0x4e4151[_0x356641(0xfb)](_0x164efa);}for(const _0x397e76 of _0x59c7b7)_0x4cbaac[_0x356641(0xdb)](_0x397e76);return this[_0x356641(0x133)][_0x356641(0x134)]||(_0x4cbaac[_0x356641(0xdb)](this[_0x356641(0x133)]),this[_0x356641(0x133)]=null,_0x15f1bb=!0x0),_0x15f1bb;}[_0x57af21(0x10f)](_0x23cd84,_0x3cfed8){const _0x4f4fc1=_0x57af21;if(this[_0x4f4fc1(0xef)][_0x4f4fc1(0xf7)](_0x2150c3=>_0x2150c3[_0x4f4fc1(0x10b)]===_0x3cfed8))return!0x1;let _0x39c145=!0x1;const _0x5c54b8=_0x3cfed8[_0x4f4fc1(0x13c)](_0x4f4fc1(0x103)),_0x36c227=this[_0x4f4fc1(0xef)][_0x4f4fc1(0x101)](_0xa9ce51=>_0xa9ce51['id']===_0x5c54b8);-0x1!==_0x36c227&&(_0x23cd84[_0x4f4fc1(0xdb)](this[_0x4f4fc1(0xef)][_0x36c227][_0x4f4fc1(0x10b)]),this[_0x4f4fc1(0xef)][_0x4f4fc1(0x11e)](_0x36c227,0x1),_0x39c145=!0x0);let _0x9b6fe5=this[_0x4f4fc1(0x133)]?function(_0x1b8a1e,_0x1132ec){const _0x3cbc81=_0x4f4fc1;for(const _0x5d7899 of _0x1b8a1e[_0x3cbc81(0x137)]())if(_0x5d7899[_0x3cbc81(0x13c)](_0x3cbc81(0x103))===_0x1132ec)return _0x5d7899;return null;}(this[_0x4f4fc1(0x133)],_0x5c54b8):null;_0x9b6fe5||(_0x9b6fe5=_0x23cd84[_0x4f4fc1(0x11b)](_0x4f4fc1(0xf3),{'footnoteId':_0x5c54b8}),this[_0x4f4fc1(0x133)]&&(_0x23cd84[_0x4f4fc1(0x111)](_0x9b6fe5,this[_0x4f4fc1(0x133)],_0x4f4fc1(0x131)),_0x39c145=!0x0));const _0x30ae91={'id':_0x5c54b8,'reference':_0x3cfed8,'definition':_0x9b6fe5},_0x3faff7=I(this[_0x4f4fc1(0xeb)][_0x4f4fc1(0x11f)],this[_0x4f4fc1(0xef)],_0x3cfed8);this[_0x4f4fc1(0xef)][_0x4f4fc1(0x11e)](_0x3faff7,0x0,_0x30ae91);let _0x14848b=_0x3faff7;return-0x1!==_0x36c227&&(_0x14848b=Math[_0x4f4fc1(0xee)](_0x3faff7,_0x36c227)),this[_0x4f4fc1(0xe6)](_0x23cd84,_0x14848b)&&(_0x39c145=!0x0),_0x39c145;}[_0x57af21(0x139)](_0x17eefc,_0x1730d7){const _0x163b47=_0x57af21,_0x4a0b0b=this[_0x163b47(0xef)][_0x163b47(0x101)](_0x15c0d5=>_0x15c0d5['id']===_0x1730d7);if(-0x1===_0x4a0b0b)return!0x1;let _0x1b9b96=!0x1;const _0x1d1694=this[_0x163b47(0xef)][_0x4a0b0b];return _0x163b47(0x123)!==_0x1d1694[_0x163b47(0x110)][_0x163b47(0x105)][_0x163b47(0x10e)]&&(_0x17eefc[_0x163b47(0xdb)](_0x1d1694[_0x163b47(0x110)]),_0x1b9b96=!0x0),this[_0x163b47(0xef)][_0x163b47(0x11e)](_0x4a0b0b,0x1),this[_0x163b47(0xe6)](_0x17eefc,_0x4a0b0b)&&(_0x1b9b96=!0x0),_0x1b9b96;}[_0x57af21(0x11a)](_0x6396b4,_0x5cac0d){const _0x2959e7=_0x57af21,_0x5cb19a=_0x5cac0d[_0x2959e7(0x13c)](_0x2959e7(0x103)),_0x3baa67=this[_0x2959e7(0xef)][_0x2959e7(0x101)](_0x2cc1ed=>_0x2cc1ed['id']===_0x5cb19a),_0xe61797=this[_0x2959e7(0xef)][_0x3baa67];let _0x4904a8=!0x1;_0xe61797[_0x2959e7(0x10b)]=_0x5cac0d,this[_0x2959e7(0xef)][_0x2959e7(0x11e)](_0x3baa67,0x1);const _0x5c7214=I(this[_0x2959e7(0xeb)][_0x2959e7(0x11f)],this[_0x2959e7(0xef)],_0x5cac0d);return this[_0x2959e7(0xef)][_0x2959e7(0x11e)](_0x5c7214,0x0,_0xe61797),this[_0x2959e7(0xe6)](_0x6396b4,Math[_0x2959e7(0xee)](_0x3baa67,_0x5c7214))&&(_0x4904a8=!0x0),_0x4904a8;}[_0x57af21(0x11c)](_0x84e5c6,_0x5e76b1){const _0x33afa0=_0x57af21;if(!this[_0x33afa0(0x133)])return!0x1;const _0x1480ff=this[_0x33afa0(0xef)][_0x5e76b1];let _0x4bfeae;return _0x4bfeae=this[_0x33afa0(0xe9)]?this[_0x33afa0(0xe9)]({'footnote':_0x1480ff,'container':this[_0x33afa0(0x133)],'digits':String(this[_0x33afa0(0xef)][_0x33afa0(0x108)])[_0x33afa0(0x108)],'value':_0x5e76b1+0x1}):String(_0x5e76b1+0x1),_0x1480ff[_0x33afa0(0x10b)][_0x33afa0(0x13c)](_0x33afa0(0x12b))!=_0x4bfeae&&(_0x84e5c6[_0x33afa0(0x13a)](_0x33afa0(0x12b),_0x4bfeae,_0x1480ff[_0x33afa0(0x10b)]),!0x0);}[_0x57af21(0x115)](_0x5061a6){const _0x453ce2=_0x57af21;if(!this[_0x453ce2(0x133)]||this[_0x453ce2(0xef)][_0x453ce2(0x108)]<0x2)return!0x1;if(function(_0x4ccec4,_0x50176e){const _0x9d81ab=_0x453ce2;if(_0x4ccec4[_0x9d81ab(0x108)]!==_0x50176e[_0x9d81ab(0x108)])return!0x1;for(let _0xd6e52f=0x0;_0xd6e52f<_0x4ccec4[_0x9d81ab(0x108)];_0xd6e52f++)if(_0x4ccec4[_0xd6e52f]!==_0x50176e[_0xd6e52f])return!0x1;return!0x0;}(this[_0x453ce2(0xef)][_0x453ce2(0x12a)](_0x3667d1=>_0x3667d1['id']),Array[_0x453ce2(0x117)](this[_0x453ce2(0x133)][_0x453ce2(0x137)]())[_0x453ce2(0x12a)](_0x3728cd=>_0x3728cd[_0x453ce2(0x13c)](_0x453ce2(0x103)))))return!0x1;let _0x28b95c=!0x1;for(let _0x330cfe=0x0;_0x330cfe<this[_0x453ce2(0xef)][_0x453ce2(0x108)];_0x330cfe++){const _0x607713=this[_0x453ce2(0xef)][_0x330cfe],_0x2fbfe6=_0x5061a6[_0x453ce2(0x129)](_0x607713[_0x453ce2(0x110)]),_0x55b2c0=_0x5061a6[_0x453ce2(0xe3)](this[_0x453ce2(0x133)],_0x330cfe);_0x2fbfe6[_0x453ce2(0xdf)](_0x55b2c0)||(_0x5061a6[_0x453ce2(0xed)](_0x5061a6[_0x453ce2(0xde)](_0x607713[_0x453ce2(0x110)]),_0x55b2c0),_0x28b95c=!0x0);}return _0x28b95c;}[_0x57af21(0x12c)](_0x593709){const _0x14effe=_0x57af21;if(!this[_0x14effe(0xef)][_0x14effe(0x108)])return!0x1;const {model:_0x231c5b}=this[_0x14effe(0xeb)];let _0x2cc0c5=!0x1;for(let _0x3d59ec=0x0;_0x3d59ec<this[_0x14effe(0xef)][_0x14effe(0x108)]-0x1;_0x3d59ec++){const _0x3c5f85=this[_0x14effe(0xef)][_0x3d59ec],_0x258796=this[_0x14effe(0xef)][_0x3d59ec+0x1],_0x4faff1=_0x231c5b[_0x14effe(0x129)](_0x3c5f85[_0x14effe(0x10b)]),_0x4f8b13=_0x231c5b[_0x14effe(0x129)](_0x258796[_0x14effe(0x10b)]);_0x14effe(0xda)===_0x4faff1[_0x14effe(0x124)](_0x4f8b13)&&(this[_0x14effe(0x11a)](_0x593709,_0x3c5f85[_0x14effe(0x10b)]),_0x3d59ec=-0x1,_0x2cc0c5=!0x0);}return _0x2cc0c5;}}function _0x3607(_0x218b6f,_0x297b46){const _0x58f581=_0x58f5();return _0x3607=function(_0x360760,_0xea4499){_0x360760=_0x360760-0xd8;let _0x5be70c=_0x58f581[_0x360760];return _0x5be70c;},_0x3607(_0x218b6f,_0x297b46);}function _(_0x2c5121,_0x5f0af4,_0x445538){const _0x452f33=_0x57af21;if(_0x445538[_0x452f33(0x134)])return!0x1;const _0x3ffb21=_0x5f0af4?_0x452f33(0xf9):_0x452f33(0x11d);return _0x2c5121[_0x452f33(0x111)](_0x2c5121[_0x452f33(0x11b)](_0x3ffb21),_0x445538),!0x0;}function I(_0x4f9516,_0x13b943,_0x11b3e2){const _0x1c5209=_0x57af21;if(0x0===_0x13b943[_0x1c5209(0x108)])return 0x0;const _0x4973e9=_0x4f9516[_0x1c5209(0x129)](_0x11b3e2);for(let _0x19d6ce=0x0;_0x19d6ce<_0x13b943[_0x1c5209(0x108)];_0x19d6ce++){const _0x225c58=_0x13b943[_0x19d6ce],_0x16cb74=_0x4f9516[_0x1c5209(0x129)](_0x225c58[_0x1c5209(0x10b)]);if(_0x1c5209(0xd8)===_0x4973e9[_0x1c5209(0x124)](_0x16cb74))return _0x19d6ce;}const _0x4e0751=_0x11b3e2[_0x1c5209(0x105)];let _0x58823d=-0x1;for(let _0x246d35=_0x13b943[_0x1c5209(0x108)]-0x1;_0x246d35>=0x0;_0x246d35--)if(_0x13b943[_0x246d35][_0x1c5209(0x10b)][_0x1c5209(0x105)]===_0x4e0751){_0x58823d=_0x246d35;break;}if(-0x1!==_0x58823d)return _0x58823d+0x1;const _0x38a641=_0x4f9516[_0x1c5209(0x119)][_0x1c5209(0xfc)](),_0x59f13f=_0x38a641[_0x1c5209(0xf8)](_0x4e0751[_0x1c5209(0x10e)]),_0x63bd13=_0x38a641[_0x59f13f+0x1];if(_0x63bd13){for(let _0x210500=0x0;_0x210500<_0x13b943[_0x1c5209(0x108)];_0x210500++)if(_0x13b943[_0x210500][_0x1c5209(0x10b)][_0x1c5209(0x105)][_0x1c5209(0x10e)]===_0x63bd13)return _0x210500;}return _0x13b943[_0x1c5209(0x108)];}
|
|
23
|
+
const _0x3bb5fe=_0x1a88;(function(_0x55a437,_0x2bf132){const _0x37475b=_0x1a88,_0x27c8d1=_0x55a437();while(!![]){try{const _0x382aba=parseInt(_0x37475b(0xa9))/0x1+-parseInt(_0x37475b(0xb9))/0x2+-parseInt(_0x37475b(0xd1))/0x3*(parseInt(_0x37475b(0x97))/0x4)+parseInt(_0x37475b(0x91))/0x5*(-parseInt(_0x37475b(0x9c))/0x6)+-parseInt(_0x37475b(0xc1))/0x7*(parseInt(_0x37475b(0xce))/0x8)+parseInt(_0x37475b(0x7b))/0x9*(parseInt(_0x37475b(0xb5))/0xa)+parseInt(_0x37475b(0xa1))/0xb;if(_0x382aba===_0x2bf132)break;else _0x27c8d1['push'](_0x27c8d1['shift']());}catch(_0x48cf8d){_0x27c8d1['push'](_0x27c8d1['shift']());}}}(_0x130e,0x4ea79));import{Plugin as _0x2c3315}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x84432e}from'./modelelementtracker.js';function _0x130e(){const _0x196acd=['isEqual','_footnoteDefsTracker','min','297ZKnmyZ','getFootnote','footnotes.multiBlock','set','createPositionAt','getFootnotesFormatter','low','createRangeIn','_ensureFootnotesDefinitionsContainerExists','getChildren','setFootnoteFormatter','_footnoteDefsContainerTracker','_insertEmptyFootnotesDefinitionsContainer','length','differ','_footnotesDefinitions','_updateFootnoteRefCounter','editor','find','has','footnoteInlineContent','FootnotesTracker','5bqPACx','setAttribute','_handleFootnotesDefinitionsObjectChanges','before','createPositionBefore','_footnotes','8MvgHdC','init','footnotesDefinitions','_ensureFootnotesReferencesHaveProperOrder','_handleFootnoteDefinitionsChanges','1710552gLvxmm','change:data','reset','footnoteDefinition','_handleMovedFootnoteReference','16827019rSCqyf','childCount','compareWith','parent','listenTo','rootName','getFootnotesDefinitionsObjectElement','_handleInsertedFootnoteReference','105677aUDrcw','_sortFootnoteDefinitions','splice','getFootnotes','paragraph','indexOf','move','map','reference','definition','some','footnoteRef','3370tgkuYL','add','_handleRemoveFootnoteReferenceById','_updateFootnotesCounters','475632bfToOq','getChanges','get','findIndex','remove','isOfficialPlugin','createRangeOn','isPremiumPlugin','620284GAcIlm','high','config','footnoteId','$graveyard','registerPostFixer','after','from','getAttribute','singleton','createElement','enqueueChange','insert','16MkgxcQ','push','_handleFootnotesDefinitionsObjectSync','936339kojvUZ','pluginName','document','root','append','_handleFootnoteReferencesChanges','end','model','_footnoteFormatter','footnoteCounter','_footnoteRefsTracker','getRootNames','unshift'];_0x130e=function(){return _0x196acd;};return _0x130e();}function _0x1a88(_0x833b1f,_0x1353d7){const _0x130e91=_0x130e();return _0x1a88=function(_0x1a88ab,_0x53b0f0){_0x1a88ab=_0x1a88ab-0x70;let _0x3a2493=_0x130e91[_0x1a88ab];return _0x3a2493;},_0x1a88(_0x833b1f,_0x1353d7);}export class FootnotesTracker extends _0x2c3315{[_0x3bb5fe(0x96)]=[];[_0x3bb5fe(0x8a)]=null;[_0x3bb5fe(0x73)]=null;[_0x3bb5fe(0x86)];[_0x3bb5fe(0x75)];[_0x3bb5fe(0x79)];static get[_0x3bb5fe(0xd2)](){const _0x491a7b=_0x3bb5fe;return _0x491a7b(0x90);}static get[_0x3bb5fe(0xbe)](){return!0x0;}static get[_0x3bb5fe(0xc0)](){return!0x0;}constructor(_0x2e5b4d){const _0x415abd=_0x3bb5fe;super(_0x2e5b4d),this[_0x415abd(0x86)]=new _0x84432e(this[_0x415abd(0x8c)][_0x415abd(0x72)],{'elementName':_0x415abd(0x99),'getElementKey':()=>_0x415abd(0xca)}),this[_0x415abd(0x75)]=new _0x84432e(this[_0x415abd(0x8c)][_0x415abd(0x72)],{'elementName':_0x415abd(0xb4),'getElementKey':_0x299877=>_0x299877[_0x415abd(0xc9)](_0x415abd(0xc4))}),this[_0x415abd(0x79)]=new _0x84432e(this[_0x415abd(0x8c)][_0x415abd(0x72)],{'elementName':_0x415abd(0x9f),'getElementKey':_0x20651a=>_0x20651a[_0x415abd(0xc9)](_0x415abd(0xc4))});}[_0x3bb5fe(0x98)](){const _0x1cca1d=_0x3bb5fe,{editor:_0x1782b7}=this,{model:_0x52ade9,data:_0xd44908}=_0x1782b7;_0x52ade9[_0x1cca1d(0xd3)][_0x1cca1d(0xc6)](_0x5ef670=>{const _0x284d7f=_0x1cca1d,_0x408b2b=_0x52ade9[_0x284d7f(0xd3)][_0x284d7f(0x89)][_0x284d7f(0xba)]();let _0x4c2c86=!0x1;return this[_0x284d7f(0x93)](_0x5ef670,_0x408b2b)&&(_0x4c2c86=!0x0),this[_0x284d7f(0x9b)](_0x5ef670,_0x408b2b)&&(_0x4c2c86=!0x0),this[_0x284d7f(0x70)](_0x5ef670,_0x408b2b)&&(_0x4c2c86=!0x0),this[_0x284d7f(0x9a)](_0x5ef670)&&(_0x4c2c86=!0x0),this[_0x284d7f(0xd0)](_0x5ef670)&&(_0x4c2c86=!0x0),this[_0x284d7f(0xaa)](_0x5ef670)&&(_0x4c2c86=!0x0),_0x4c2c86;}),this[_0x1cca1d(0xa5)](_0x52ade9[_0x1cca1d(0xd3)],_0x1cca1d(0x9d),()=>{const _0x2f31df=_0x1cca1d;_0x52ade9[_0x2f31df(0xcc)]({'isUndoable':!0x1},_0x4ca7ae=>{const _0x454f35=_0x2f31df;this[_0x454f35(0x83)](_0x4ca7ae);});},{'priority':_0x1cca1d(0x81)}),this[_0x1cca1d(0xa5)](_0xd44908,_0x1cca1d(0x7e),()=>{const _0x5b5345=_0x1cca1d;this[_0x5b5345(0x96)]=[],this[_0x5b5345(0x86)][_0x5b5345(0x9e)](),this[_0x5b5345(0x75)][_0x5b5345(0x9e)](),this[_0x5b5345(0x79)][_0x5b5345(0x9e)]();},{'priority':_0x1cca1d(0xc2)});}[_0x3bb5fe(0xa7)](){const _0x219b36=_0x3bb5fe;return this[_0x219b36(0x8a)];}[_0x3bb5fe(0x7c)](_0x932b7b){const _0x1d1146=_0x3bb5fe;return this[_0x1d1146(0x96)][_0x1d1146(0x8d)](_0x22017c=>_0x22017c['id']===_0x932b7b)||null;}[_0x3bb5fe(0xac)](){const _0x2fc062=_0x3bb5fe;return Array[_0x2fc062(0xc8)](this[_0x2fc062(0x96)]);}[_0x3bb5fe(0x80)](){const _0xb671eb=_0x3bb5fe;return this[_0xb671eb(0x73)];}[_0x3bb5fe(0x85)](_0x2ae4fd){const _0x28243d=_0x3bb5fe;this[_0x28243d(0x73)]=_0x2ae4fd;}[_0x3bb5fe(0xb8)](_0x45d6a5,_0x365e6c=0x0){const _0x48ed58=_0x3bb5fe;let _0x58805a=!0x1;for(let _0x1c96ad=_0x365e6c;_0x1c96ad<this[_0x48ed58(0x96)][_0x48ed58(0x88)];_0x1c96ad++)this[_0x48ed58(0x8b)](_0x45d6a5,_0x1c96ad)&&(_0x58805a=!0x0);return _0x58805a;}[_0x3bb5fe(0x87)](_0x5b03e,_0x2a71e3){const _0x595ebb=_0x3bb5fe,_0x33365f=_0x5b03e[_0x595ebb(0xcb)](_0x595ebb(0x99),{});return _0x5b03e[_0x595ebb(0xd5)](_0x33365f,_0x2a71e3),this[_0x595ebb(0x8a)]=_0x33365f,_0x33365f;}[_0x3bb5fe(0x83)](_0x13175e){const _0x50d2b0=_0x3bb5fe;if(!this[_0x50d2b0(0x96)][_0x50d2b0(0x88)]||this[_0x50d2b0(0x8a)])return;const _0x104988=this[_0x50d2b0(0x96)][0x0][_0x50d2b0(0xb1)][_0x50d2b0(0xd4)],_0x2231de=this[_0x50d2b0(0x87)](_0x13175e,_0x104988);for(const _0xe6f5e of this[_0x50d2b0(0x96)])_0xe6f5e[_0x50d2b0(0xb2)][_0x50d2b0(0xa4)]||_0x13175e[_0x50d2b0(0xcd)](_0xe6f5e[_0x50d2b0(0xb2)],_0x2231de,_0x50d2b0(0x71));this[_0x50d2b0(0xb8)](_0x13175e);}[_0x3bb5fe(0x93)](_0x31288e,_0x2c2103){const _0x342b30=_0x3bb5fe;let _0x17bfe9=!0x1;const {inserted:_0x487933,removed:_0x2e638e,moved:_0x203aff}=this[_0x342b30(0x86)][_0x342b30(0xba)](_0x2c2103);if(_0x203aff[_0x342b30(0x88)]&&(this[_0x342b30(0x8a)]=_0x203aff[0x0]),_0x487933[_0x342b30(0x88)]){if(_0x487933[_0x342b30(0x88)]>0x1||this[_0x342b30(0x8a)]&&_0x487933[_0x342b30(0xb3)](_0x306ad2=>_0x306ad2!==this[_0x342b30(0x8a)])){const _0x3a3b45=_0x31288e[_0x342b30(0xcb)](_0x342b30(0x99),{}),_0x599c8=[];this[_0x342b30(0x8a)]&&_0x599c8[_0x342b30(0xcf)](this[_0x342b30(0x8a)]),_0x599c8[_0x342b30(0xcf)](..._0x487933),_0x31288e[_0x342b30(0xcd)](_0x3a3b45,_0x599c8[0x0],_0x342b30(0x94));for(const _0x334aa7 of _0x599c8)_0x31288e[_0x342b30(0xaf)](_0x31288e[_0x342b30(0x82)](_0x334aa7),_0x31288e[_0x342b30(0x7f)](_0x3a3b45,_0x342b30(0x71))),_0x31288e[_0x342b30(0xbd)](_0x334aa7);this[_0x342b30(0x8a)]=_0x3a3b45,this[_0x342b30(0xb8)](_0x31288e),_0x17bfe9=!0x0;}else this[_0x342b30(0x8a)]=_0x487933[0x0];}if(_0x2e638e[_0x342b30(0x88)]&&_0x342b30(0xc5)===this[_0x342b30(0x8a)]?.[_0x342b30(0xd4)][_0x342b30(0xa6)]){for(const _0x49eeb7 of this[_0x342b30(0x96)])_0x31288e[_0x342b30(0xbd)](_0x49eeb7[_0x342b30(0xb1)]),_0x17bfe9=!0x0;this[_0x342b30(0x96)]=[],this[_0x342b30(0x8a)]=null;}return _0x17bfe9;}[_0x3bb5fe(0x9b)](_0x57b7dc,_0x5967e1){const _0x2334b6=_0x3bb5fe;let _0x14c57e=!0x1;const _0x161ee4=this[_0x2334b6(0x8c)][_0x2334b6(0xc3)][_0x2334b6(0xbb)](_0x2334b6(0x7d)),{inserted:_0x1d71f5,moved:_0xd55d2a}=this[_0x2334b6(0x79)][_0x2334b6(0xba)](_0x5967e1);for(const _0x4a6402 of[..._0xd55d2a,..._0x1d71f5]){const _0x44a48f=_0x4a6402[_0x2334b6(0xc9)](_0x2334b6(0xc4)),_0x2dc110=this[_0x2334b6(0x7c)](_0x44a48f);_0x2dc110&&(_0x2dc110[_0x2334b6(0xb2)]=_0x4a6402),_(_0x57b7dc,_0x161ee4,_0x4a6402)&&(_0x14c57e=!0x0);}return _0x14c57e;}[_0x3bb5fe(0x70)](_0x2d2cd,_0x8d5af7){const _0x3137cc=_0x3bb5fe;let _0x5bfa5e=!0x1;const {removed:_0x561af9,inserted:_0x276e4f,moved:_0xb95d11}=this[_0x3137cc(0x75)][_0x3137cc(0xba)](_0x8d5af7);for(const _0x13edc1 of _0x561af9)this[_0x3137cc(0xb7)](_0x2d2cd,_0x13edc1)&&(_0x5bfa5e=!0x0);for(const _0x2cd471 of _0x276e4f)this[_0x3137cc(0xa8)](_0x2d2cd,_0x2cd471)&&(_0x5bfa5e=!0x0);for(const _0x58af51 of _0xb95d11)this[_0x3137cc(0xa0)](_0x2d2cd,_0x58af51)&&(_0x5bfa5e=!0x0);return _0x5bfa5e;}[_0x3bb5fe(0xd0)](_0x4b9e29){const _0xa2a01c=_0x3bb5fe;if(!this[_0xa2a01c(0x8a)])return!0x1;let _0x1c8d47=!0x1;if(this[_0xa2a01c(0x8a)][_0xa2a01c(0xa2)]!==this[_0xa2a01c(0x96)][_0xa2a01c(0x88)]){const _0x4b0a37=[];for(const _0x3258a4 of this[_0xa2a01c(0x8a)][_0xa2a01c(0x84)]()){const _0x554b42=_0x3258a4[_0xa2a01c(0xc9)](_0xa2a01c(0xc4));this[_0xa2a01c(0x7c)](_0x554b42)||(_0x4b0a37[_0xa2a01c(0x77)](_0x3258a4),_0x1c8d47=!0x0);}for(const _0x505479 of _0x4b0a37)_0x4b9e29[_0xa2a01c(0xbd)](_0x505479);}const _0xe02a84=new Set(),_0x27cbfe=[];for(const _0x3789bd of this[_0xa2a01c(0x8a)][_0xa2a01c(0x84)]()){const _0x301915=_0x3789bd[_0xa2a01c(0xc9)](_0xa2a01c(0xc4));_0xe02a84[_0xa2a01c(0x8e)](_0x301915)?(_0x27cbfe[_0xa2a01c(0x77)](_0x3789bd),_0x1c8d47=!0x0):_0xe02a84[_0xa2a01c(0xb6)](_0x301915);}for(const _0x4ddce6 of _0x27cbfe)_0x4b9e29[_0xa2a01c(0xbd)](_0x4ddce6);return this[_0xa2a01c(0x8a)][_0xa2a01c(0xa2)]||(_0x4b9e29[_0xa2a01c(0xbd)](this[_0xa2a01c(0x8a)]),this[_0xa2a01c(0x8a)]=null,_0x1c8d47=!0x0),_0x1c8d47;}[_0x3bb5fe(0xa8)](_0x476640,_0x46f0fd){const _0x73ab60=_0x3bb5fe;if(this[_0x73ab60(0x96)][_0x73ab60(0x8d)](_0x107c65=>_0x107c65[_0x73ab60(0xb1)]===_0x46f0fd))return!0x1;let _0x1ef1e1=!0x1;const _0x592d71=_0x46f0fd[_0x73ab60(0xc9)](_0x73ab60(0xc4)),_0x1d4782=this[_0x73ab60(0x96)][_0x73ab60(0xbc)](_0x23d3bd=>_0x23d3bd['id']===_0x592d71);-0x1!==_0x1d4782&&(_0x476640[_0x73ab60(0xbd)](this[_0x73ab60(0x96)][_0x1d4782][_0x73ab60(0xb1)]),this[_0x73ab60(0x96)][_0x73ab60(0xab)](_0x1d4782,0x1),_0x1ef1e1=!0x0);let _0xe05add=this[_0x73ab60(0x8a)]?function(_0x2ec5df,_0x5d1c96){const _0x4a50a3=_0x73ab60;for(const _0xa2cd07 of _0x2ec5df[_0x4a50a3(0x84)]())if(_0xa2cd07[_0x4a50a3(0xc9)](_0x4a50a3(0xc4))===_0x5d1c96)return _0xa2cd07;return null;}(this[_0x73ab60(0x8a)],_0x592d71):null;_0xe05add||(_0xe05add=_0x476640[_0x73ab60(0xcb)](_0x73ab60(0x9f),{'footnoteId':_0x592d71}),this[_0x73ab60(0x8a)]&&(_0x476640[_0x73ab60(0xcd)](_0xe05add,this[_0x73ab60(0x8a)],_0x73ab60(0x71)),_0x1ef1e1=!0x0));const _0x4d0396={'id':_0x592d71,'reference':_0x46f0fd,'definition':_0xe05add},_0x3a720c=I(this[_0x73ab60(0x8c)][_0x73ab60(0x72)],this[_0x73ab60(0x96)],_0x46f0fd);this[_0x73ab60(0x96)][_0x73ab60(0xab)](_0x3a720c,0x0,_0x4d0396);let _0x17b08f=_0x3a720c;return-0x1!==_0x1d4782&&(_0x17b08f=Math[_0x73ab60(0x7a)](_0x3a720c,_0x1d4782)),this[_0x73ab60(0xb8)](_0x476640,_0x17b08f)&&(_0x1ef1e1=!0x0),_0x1ef1e1;}[_0x3bb5fe(0xb7)](_0x49ba8f,_0x17ab0b){const _0x5962da=_0x3bb5fe,_0xa8a392=this[_0x5962da(0x96)][_0x5962da(0xbc)](_0x348e6e=>_0x348e6e['id']===_0x17ab0b);if(-0x1===_0xa8a392)return!0x1;let _0x1bcb1d=!0x1;const _0x3ee40f=this[_0x5962da(0x96)][_0xa8a392];return _0x5962da(0xc5)!==_0x3ee40f[_0x5962da(0xb2)][_0x5962da(0xd4)][_0x5962da(0xa6)]&&(_0x49ba8f[_0x5962da(0xbd)](_0x3ee40f[_0x5962da(0xb2)]),_0x1bcb1d=!0x0),this[_0x5962da(0x96)][_0x5962da(0xab)](_0xa8a392,0x1),this[_0x5962da(0xb8)](_0x49ba8f,_0xa8a392)&&(_0x1bcb1d=!0x0),_0x1bcb1d;}[_0x3bb5fe(0xa0)](_0xcf581c,_0x3c622b){const _0x8f6b5c=_0x3bb5fe,_0x3ee7ff=_0x3c622b[_0x8f6b5c(0xc9)](_0x8f6b5c(0xc4)),_0x4977b4=this[_0x8f6b5c(0x96)][_0x8f6b5c(0xbc)](_0x563c2a=>_0x563c2a['id']===_0x3ee7ff),_0x662e1=this[_0x8f6b5c(0x96)][_0x4977b4];let _0xdcc3f6=!0x1;_0x662e1[_0x8f6b5c(0xb1)]=_0x3c622b,this[_0x8f6b5c(0x96)][_0x8f6b5c(0xab)](_0x4977b4,0x1);const _0x37f546=I(this[_0x8f6b5c(0x8c)][_0x8f6b5c(0x72)],this[_0x8f6b5c(0x96)],_0x3c622b);return this[_0x8f6b5c(0x96)][_0x8f6b5c(0xab)](_0x37f546,0x0,_0x662e1),this[_0x8f6b5c(0xb8)](_0xcf581c,Math[_0x8f6b5c(0x7a)](_0x4977b4,_0x37f546))&&(_0xdcc3f6=!0x0),_0xdcc3f6;}[_0x3bb5fe(0x8b)](_0x59a473,_0x2ea99e){const _0x527fcc=_0x3bb5fe;if(!this[_0x527fcc(0x8a)])return!0x1;const _0x39661a=this[_0x527fcc(0x96)][_0x2ea99e];let _0x472e80;return _0x472e80=this[_0x527fcc(0x73)]?this[_0x527fcc(0x73)]({'footnote':_0x39661a,'container':this[_0x527fcc(0x8a)],'digits':String(this[_0x527fcc(0x96)][_0x527fcc(0x88)])[_0x527fcc(0x88)],'value':_0x2ea99e+0x1}):String(_0x2ea99e+0x1),_0x39661a[_0x527fcc(0xb1)][_0x527fcc(0xc9)](_0x527fcc(0x74))!=_0x472e80&&(_0x59a473[_0x527fcc(0x92)](_0x527fcc(0x74),_0x472e80,_0x39661a[_0x527fcc(0xb1)]),!0x0);}[_0x3bb5fe(0xaa)](_0x317827){const _0xcab842=_0x3bb5fe;if(!this[_0xcab842(0x8a)]||this[_0xcab842(0x96)][_0xcab842(0x88)]<0x2)return!0x1;if(function(_0x39613d,_0x244870){const _0x3eabba=_0xcab842;if(_0x39613d[_0x3eabba(0x88)]!==_0x244870[_0x3eabba(0x88)])return!0x1;for(let _0x33b3eb=0x0;_0x33b3eb<_0x39613d[_0x3eabba(0x88)];_0x33b3eb++)if(_0x39613d[_0x33b3eb]!==_0x244870[_0x33b3eb])return!0x1;return!0x0;}(this[_0xcab842(0x96)][_0xcab842(0xb0)](_0x86cf54=>_0x86cf54['id']),Array[_0xcab842(0xc8)](this[_0xcab842(0x8a)][_0xcab842(0x84)]())[_0xcab842(0xb0)](_0x51a007=>_0x51a007[_0xcab842(0xc9)](_0xcab842(0xc4)))))return!0x1;let _0x447555=!0x1;for(let _0x40d617=0x0;_0x40d617<this[_0xcab842(0x96)][_0xcab842(0x88)];_0x40d617++){const _0x478d4c=this[_0xcab842(0x96)][_0x40d617],_0x2d2189=_0x317827[_0xcab842(0x95)](_0x478d4c[_0xcab842(0xb2)]),_0x41cde6=_0x317827[_0xcab842(0x7f)](this[_0xcab842(0x8a)],_0x40d617);_0x2d2189[_0xcab842(0x78)](_0x41cde6)||(_0x317827[_0xcab842(0xaf)](_0x317827[_0xcab842(0xbf)](_0x478d4c[_0xcab842(0xb2)]),_0x41cde6),_0x447555=!0x0);}return _0x447555;}[_0x3bb5fe(0x9a)](_0x1aa4d6){const _0x5eb5cb=_0x3bb5fe;if(!this[_0x5eb5cb(0x96)][_0x5eb5cb(0x88)])return!0x1;const {model:_0x379941}=this[_0x5eb5cb(0x8c)];let _0x5f1520=!0x1;for(let _0x33f675=0x0;_0x33f675<this[_0x5eb5cb(0x96)][_0x5eb5cb(0x88)]-0x1;_0x33f675++){const _0x7ff04d=this[_0x5eb5cb(0x96)][_0x33f675],_0x42b501=this[_0x5eb5cb(0x96)][_0x33f675+0x1],_0x54dd95=_0x379941[_0x5eb5cb(0x95)](_0x7ff04d[_0x5eb5cb(0xb1)]),_0x555ec4=_0x379941[_0x5eb5cb(0x95)](_0x42b501[_0x5eb5cb(0xb1)]);_0x5eb5cb(0xc7)===_0x54dd95[_0x5eb5cb(0xa3)](_0x555ec4)&&(this[_0x5eb5cb(0xa0)](_0x1aa4d6,_0x7ff04d[_0x5eb5cb(0xb1)]),_0x33f675=-0x1,_0x5f1520=!0x0);}return _0x5f1520;}}function _(_0x57afb8,_0x598ae1,_0x366143){const _0x43e051=_0x3bb5fe;if(_0x366143[_0x43e051(0xa2)])return!0x1;const _0x1f8be2=_0x598ae1?_0x43e051(0xad):_0x43e051(0x8f);return _0x57afb8[_0x43e051(0xcd)](_0x57afb8[_0x43e051(0xcb)](_0x1f8be2),_0x366143),!0x0;}function I(_0x200e2f,_0x4f47cb,_0x21f112){const _0x2110b6=_0x3bb5fe;if(0x0===_0x4f47cb[_0x2110b6(0x88)])return 0x0;const _0xa98516=_0x200e2f[_0x2110b6(0x95)](_0x21f112);for(let _0x876b6a=0x0;_0x876b6a<_0x4f47cb[_0x2110b6(0x88)];_0x876b6a++){const _0x461d36=_0x4f47cb[_0x876b6a],_0x5d01b8=_0x200e2f[_0x2110b6(0x95)](_0x461d36[_0x2110b6(0xb1)]);if(_0x2110b6(0x94)===_0xa98516[_0x2110b6(0xa3)](_0x5d01b8))return _0x876b6a;}const _0xfbde21=_0x21f112[_0x2110b6(0xd4)];let _0x4c76b2=-0x1;for(let _0x27dd71=_0x4f47cb[_0x2110b6(0x88)]-0x1;_0x27dd71>=0x0;_0x27dd71--)if(_0x4f47cb[_0x27dd71][_0x2110b6(0xb1)][_0x2110b6(0xd4)]===_0xfbde21){_0x4c76b2=_0x27dd71;break;}if(-0x1!==_0x4c76b2)return _0x4c76b2+0x1;const _0xc23646=_0x200e2f[_0x2110b6(0xd3)][_0x2110b6(0x76)](),_0x56720f=_0xc23646[_0x2110b6(0xae)](_0xfbde21[_0x2110b6(0xa6)]),_0x538a77=_0xc23646[_0x56720f+0x1];if(_0x538a77){for(let _0x1bcf32=0x0;_0x1bcf32<_0x4f47cb[_0x2110b6(0x88)];_0x1bcf32++)if(_0x4f47cb[_0x1bcf32][_0x2110b6(0xb1)][_0x2110b6(0xd4)][_0x2110b6(0xa6)]===_0x538a77)return _0x1bcf32;}return _0x4f47cb[_0x2110b6(0x88)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x11082a,MenuBarMenuListItemButtonView as _0x59794b}from'ckeditor5/src/ui.js';import{Plugin as _0x135b87}from'ckeditor5/src/core.js';import{IconFootnote as _0x10479b}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x135b87{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x494852}=this,{componentFactory:_0x620dbb}=_0x494852['ui'];_0x620dbb['add']('insertFootnote',E(_0x494852,_0x11082a)),_0x620dbb['add']('menuBar:insertFootnote',E(_0x494852,_0x59794b)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x451dac=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4d91eb;for(const _0x31ed3d in _0x451dac){const _0xde9d1b=_0x31ed3d,_0x2b8f58=_0x451dac[_0xde9d1b];if('footnotesLicenseKeyValid'==_0x2b8f58||'footnotesLicenseKeyInvalid'==_0x2b8f58||'footnotesLicenseKeyExpired'==_0x2b8f58||'footnotesLicenseKeyDomainLimit'==_0x2b8f58||'footnotesLicenseKeyNotAllowed'==_0x2b8f58||'footnotesLicenseKeyEvaluationLimit'==_0x2b8f58||'footnotesLicenseKeyUsageLimit'==_0x2b8f58){delete _0x451dac[_0xde9d1b],_0x4d91eb=_0x2b8f58,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4d91eb&&_0x451dac['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4d91eb&&_0x451dac['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4d91eb&&_0x451dac['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4d91eb&&_0x451dac['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4d91eb&&_0x451dac['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x4d91eb&&_0x451dac['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x6eaf2c,_0x49795a){const _0x50a97a=_0x6eaf2c['commands']['get']('insertFootnote');return _0x3aa6a1=>{const {t:t}=_0x3aa6a1,_0x10ebb9=new _0x49795a(_0x3aa6a1),_0x2b9cb7=_0x10ebb9 instanceof _0x59794b;return _0x10ebb9['bind']('isEnabled')['to'](_0x50a97a,'isEnabled'),_0x10ebb9['set']({'label':t(_0x2b9cb7?'Footnote':'Insert\x20footnote'),'icon':_0x10479b,'tooltip':!0x0}),_0x10ebb9['on']('execute',()=>{_0x50a97a['execute'](),_0x6eaf2c['editing']['view']['focus']();}),_0x10ebb9;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x594dfa,_0x5b8c2c){var _0x2a20e4=_0x5450,_0x24ca6d=_0x594dfa();while(!![]){try{var _0x1f0650=-parseInt(_0x2a20e4(0x1e0))/0x1+parseInt(_0x2a20e4(0x1e2))/0x2+-parseInt(_0x2a20e4(0x1e4))/0x3*(parseInt(_0x2a20e4(0x1df))/0x4)+parseInt(_0x2a20e4(0x1e5))/0x5+-parseInt(_0x2a20e4(0x1dd))/0x6+-parseInt(_0x2a20e4(0x1de))/0x7*(parseInt(_0x2a20e4(0x1e3))/0x8)+parseInt(_0x2a20e4(0x1e1))/0x9;if(_0x1f0650===_0x5b8c2c)break;else _0x24ca6d['push'](_0x24ca6d['shift']());}catch(_0x56d8b5){_0x24ca6d['push'](_0x24ca6d['shift']());}}}(_0x4f2b,0x3b50c));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';function _0x5450(_0x337ed1,_0x269739){var _0x4f2b9b=_0x4f2b();return _0x5450=function(_0x5450fc,_0x10636e){_0x5450fc=_0x5450fc-0x1dd;var _0x520d9=_0x4f2b9b[_0x5450fc];return _0x520d9;},_0x5450(_0x337ed1,_0x269739);}function _0x4f2b(){var _0x490691=['1879875IQagkk','2639988TPXkXV','14NOPEQL','220JzmRfv','133700eyyJwh','9777825kpXqwp','358042LXaKMG','1810768atfOpy','20295OIIyIz'];_0x4f2b=function(){return _0x490691;};return _0x4f2b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf3662c=_0x1196;(function(_0x372e27,_0x187f88){const _0x21a8e5=_0x1196,_0x4a5ca4=_0x372e27();while(!![]){try{const _0x2e7af2=parseInt(_0x21a8e5(0x192))/0x1*(parseInt(_0x21a8e5(0x17d))/0x2)+parseInt(_0x21a8e5(0x172))/0x3+parseInt(_0x21a8e5(0x189))/0x4+-parseInt(_0x21a8e5(0x198))/0x5+-parseInt(_0x21a8e5(0x171))/0x6*(-parseInt(_0x21a8e5(0x18f))/0x7)+parseInt(_0x21a8e5(0x17f))/0x8+-parseInt(_0x21a8e5(0x173))/0x9*(parseInt(_0x21a8e5(0x185))/0xa);if(_0x2e7af2===_0x187f88)break;else _0x4a5ca4['push'](_0x4a5ca4['shift']());}catch(_0x3d33dc){_0x4a5ca4['push'](_0x4a5ca4['shift']());}}}(_0x32cd,0x60e9c));function _0x1196(_0x61b541,_0x40d7a0){const _0x32cd4c=_0x32cd();return _0x1196=function(_0x1196d1,_0x1a09cb){_0x1196d1=_0x1196d1-0x170;let _0x29a9b3=_0x32cd4c[_0x1196d1];return _0x29a9b3;},_0x1196(_0x61b541,_0x40d7a0);}export class ModelElementTracker{[_0xf3662c(0x183)];[_0xf3662c(0x196)];[_0xf3662c(0x17c)];[_0xf3662c(0x191)]=new Map();constructor(_0x31621d,_0x172786){const _0x20fb4c=_0xf3662c;this[_0x20fb4c(0x183)]=_0x31621d,this[_0x20fb4c(0x196)]=_0x172786[_0x20fb4c(0x187)],this[_0x20fb4c(0x17c)]=_0x172786[_0x20fb4c(0x170)];}[_0xf3662c(0x18c)](){const _0x2134a2=_0xf3662c;this[_0x2134a2(0x191)][_0x2134a2(0x180)]();}[_0xf3662c(0x175)](_0x72321d){const _0x4f7921=_0xf3662c,_0x3ebe50=new Set(),_0x3dfe61=new Map();for(const _0x336c3c of _0x72321d){if(_0x4f7921(0x18d)===_0x336c3c[_0x4f7921(0x188)]&&_0x4f7921(0x17e)!==_0x336c3c[_0x4f7921(0x178)]&&_0x336c3c[_0x4f7921(0x184)][_0x4f7921(0x19b)]){const _0x1e96f4=this[_0x4f7921(0x183)][_0x4f7921(0x17a)](_0x336c3c[_0x4f7921(0x184)][_0x4f7921(0x19b)]);for(const _0x334c40 of _0x1e96f4[_0x4f7921(0x186)]()){if(!_0x334c40['is'](_0x4f7921(0x176),this[_0x4f7921(0x196)]))continue;const _0x2628ac=this[_0x4f7921(0x17c)](_0x334c40);_0x3dfe61[_0x4f7921(0x197)](_0x2628ac)||_0x3dfe61[_0x4f7921(0x199)](_0x2628ac,[]),_0x3dfe61[_0x4f7921(0x18b)](_0x2628ac)[_0x4f7921(0x193)](_0x334c40);}}if(_0x4f7921(0x194)===_0x336c3c[_0x4f7921(0x188)]&&_0x336c3c[_0x4f7921(0x178)]===this[_0x4f7921(0x196)]){const _0x1ea2c0=this[_0x4f7921(0x17c)]({'getAttribute':_0x2307fc=>_0x336c3c[_0x4f7921(0x179)][_0x4f7921(0x18b)](_0x2307fc)});_0x3ebe50[_0x4f7921(0x19a)](_0x1ea2c0);}}for(const [_0x24518d,_0xbb5d44]of this[_0x4f7921(0x191)])_0x4f7921(0x190)===_0xbb5d44[_0x4f7921(0x177)][_0x4f7921(0x18e)]&&_0x3ebe50[_0x4f7921(0x19a)](_0x24518d);for(const _0x2e2c14 of _0x3ebe50)this[_0x4f7921(0x191)][_0x4f7921(0x17b)](_0x2e2c14);for(const [_0x2bdbee,_0x19c626]of _0x3dfe61)this[_0x4f7921(0x191)][_0x4f7921(0x199)](_0x2bdbee,_0x19c626[_0x19c626[_0x4f7921(0x195)]-0x1]);const _0x3a02c5=new Set();for(const [_0x5689a1,_0x385723]of _0x3dfe61)_0x3ebe50[_0x4f7921(0x197)](_0x5689a1)&&(_0x3a02c5[_0x4f7921(0x19a)](_0x385723[0x0]),_0x385723[_0x4f7921(0x195)]>0x1?_0x3dfe61[_0x4f7921(0x199)](_0x5689a1,_0x385723[_0x4f7921(0x181)](0x1)):_0x3dfe61[_0x4f7921(0x17b)](_0x5689a1),_0x3ebe50[_0x4f7921(0x17b)](_0x5689a1));return{'removed':Array[_0x4f7921(0x18a)](_0x3ebe50),'inserted':Array[_0x4f7921(0x18a)](_0x3dfe61[_0x4f7921(0x174)]())[_0x4f7921(0x182)](),'moved':Array[_0x4f7921(0x18a)](_0x3a02c5)};}}function _0x32cd(){const _0x5c32c0=['11597490kuiivK','getItems','elementName','type','2765100uPkLCE','from','get','reset','insert','rootName','6412kdxLUc','$graveyard','_trackedElements','354302pgliCx','push','remove','length','_elementName','has','3609125JLqVvp','set','add','nodeAfter','getElementKey','816zAGhPA','1788366veTdVa','9KSmjIi','values','getChanges','element','root','name','attributes','createRangeOn','delete','_getElementKey','4pYHTur','$text','1263624rrJqgr','clear','slice','flat','_model','position'];_0x32cd=function(){return _0x5c32c0;};return _0x32cd();}
|