@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251217.0 → 0.0.0-nightly-20251218.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/footnotes.js +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 _0x45188e}from'ckeditor5/src/core.js';import{isWidget as _0x1584e5,toWidget as _0xbb7b,toWidgetEditable as _0x5b1148}from'ckeditor5/src/widget.js';import{uid as _0x432d86}from'ckeditor5/src/utils.js';import{PointerObserver as _0xdd4942,ClickObserver as _0x1b3d36}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x131dd8}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x8009e2}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x45188e{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x131dd8];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5eb9bd}=this;_0x5eb9bd['config']['define']('footnotes.multiBlock',!0x0),_0x5eb9bd['commands']['add']('insertFootnote',new _0x8009e2(_0x5eb9bd)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x141370){const _0x29384b=_0x45a558([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]),_0x404c18=0x47a28506,_0x15f63e=0x47a5f92e^_0x404c18,_0xc8230=window[_0x45a558([0x44,0x61,0x74,0x65])][_0x45a558([0x6e,0x6f,0x77])](),_0x4599d6=_0x141370[_0x45a558([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x28fb44=new window[(_0x45a558([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51e510=>{_0x4599d6[_0x45a558([0x6f,0x6e,0x63,0x65])](_0x45a558([0x72,0x65,0x61,0x64,0x79]),_0x51e510);}),_0x30f343={[_0x45a558([0x6b,0x74,0x79])]:_0x45a558([0x45,0x43]),[_0x45a558([0x75,0x73,0x65])]:_0x45a558([0x73,0x69,0x67]),[_0x45a558([0x63,0x72,0x76])]:_0x45a558([0x50,0x2d,0x32,0x35,0x36]),[_0x45a558([0x78])]:_0x45a558([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]),[_0x45a558([0x79])]:_0x45a558([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]),[_0x45a558([0x61,0x6c,0x67])]:_0x45a558([0x45,0x53,0x32,0x35,0x36])},_0x5b942b=_0x4599d6[_0x45a558([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x45a558([0x67,0x65,0x74])](_0x45a558([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4639ef(){let _0x127415,_0x11d5d6=null,_0x1d9de9=null;try{if(_0x5b942b==_0x45a558([0x47,0x50,0x4c]))return _0x45a558([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x127415=_0x7f63d1(),!_0x127415)return _0x45a558([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x127415[_0x45a558([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1d9de9=_0x2b4508(_0x127415[_0x45a558([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x127415[_0x45a558([0x6a,0x74,0x69])])),await _0x177735()?_0x146a45()?_0x393cf8()?_0x45a558([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1682e6()?(_0x127415[_0x45a558([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x45a558([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x11d5d6=_0x131821(_0x45a558([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x127415[_0x45a558([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x45a558([0x74,0x72,0x69,0x61,0x6c])&&(_0x11d5d6=_0x131821(_0x45a558([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2c9ece()):_0x45a558([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x45a558([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x45a558([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x45a558([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x393cf8(){const _0x57afc9=[_0x45a558([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x45a558([0x74,0x72,0x69,0x61,0x6c])][_0x45a558([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x127415[_0x45a558([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xc8230/0x3e8:0xe10*_0x15f63e;return _0x127415[_0x45a558([0x65,0x78,0x70])]<_0x57afc9;}function _0x146a45(){const _0x2b5c4f=_0x127415[_0x45a558([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2b5c4f&&(!!_0x2b5c4f[_0x45a558([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45a558([0x2a]))||!!_0x2b5c4f[_0x45a558([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45a558([0x46,0x4f,0x4f])));}function _0x1682e6(){const _0x52128b=_0x127415[_0x45a558([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x52128b||0x0==_0x52128b[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d840f}=new URL(window[_0x45a558([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x52128b[_0x45a558([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d840f))return!0x0;const _0x2b0932=_0x1d840f[_0x45a558([0x73,0x70,0x6c,0x69,0x74])](_0x45a558([0x2e]));return _0x52128b[_0x45a558([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2aded4=>_0x2aded4[_0x45a558([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45a558([0x2a])))[_0x45a558([0x6d,0x61,0x70])](_0x31e309=>_0x31e309[_0x45a558([0x73,0x70,0x6c,0x69,0x74])](_0x45a558([0x2e])))[_0x45a558([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x126223=>_0x126223[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2b0932[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45a558([0x6d,0x61,0x70])](_0x5979dc=>Array(_0x2b0932[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5979dc[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45a558([0x66,0x69,0x6c,0x6c])](_0x5979dc[0x0]===_0x45a558([0x2a])?_0x45a558([0x2a]):'')[_0x45a558([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5979dc))[_0x45a558([0x73,0x6f,0x6d,0x65])](_0x4a5677=>_0x2b0932[_0x45a558([0x65,0x76,0x65,0x72,0x79])]((_0x28e4fb,_0x5220dd)=>_0x4a5677[_0x5220dd]===_0x28e4fb||_0x4a5677[_0x5220dd]===_0x45a558([0x2a])));}function _0x2c9ece(){return _0x11d5d6&&_0x1d9de9?new window[(_0x45a558([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x25c929,_0x2c92e2)=>{_0x11d5d6[_0x45a558([0x74,0x68,0x65,0x6e])](_0x25c929,_0x2c92e2),_0x1d9de9[_0x45a558([0x74,0x68,0x65,0x6e])](_0x254122=>{_0x254122!=_0x45a558([0x56,0x61,0x6c,0x69,0x64])&&_0x25c929(_0x254122);},_0x2c92e2);}):_0x11d5d6||_0x1d9de9||_0x45a558([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2b4508(_0x3f6176,_0x275a95){return new window[(_0x45a558([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xffd810=>{if(_0x5062c1())return _0xffd810(_0x45a558([0x56,0x61,0x6c,0x69,0x64]));_0x41d5c9(),_0x4599d6[_0x45a558([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x45a558([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2073da=!0x1;const _0xcb3411=_0x432d86();function _0x36b00d(_0x1e71c9){return!!_0x1e71c9&&(typeof _0x1e71c9===_0x45a558([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1e71c9===_0x45a558([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1e71c9[_0x45a558([0x74,0x68,0x65,0x6e])]===_0x45a558([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1e71c9[_0x45a558([0x63,0x61,0x74,0x63,0x68])]===_0x45a558([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x36b95c(_0x32f7af){_0x541564(_0x32f7af)[_0x45a558([0x74,0x68,0x65,0x6e])](_0x1e8413=>{if(!_0x1e8413||_0x1e8413[_0x45a558([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x45a558([0x6f,0x6b]))return _0x45a558([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x392b61(_0x1208c6(_0xcb3411+_0x275a95))!=_0x1e8413[_0x45a558([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x45a558([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x45a558([0x56,0x61,0x6c,0x69,0x64]);})[_0x45a558([0x74,0x68,0x65,0x6e])](_0xd5756=>(_0x158344(),_0xd5756),()=>{const _0x367810=_0x495fe7();return null==_0x367810?(_0x158344(),_0x45a558([0x56,0x61,0x6c,0x69,0x64])):_0x45a558(_0xc8230-_0x367810>(0x63ae0106^_0x404c18)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x45a558([0x74,0x68,0x65,0x6e])](_0xffd810)[_0x45a558([0x63,0x61,0x74,0x63,0x68])](()=>{_0xffd810(_0x45a558([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x59eb6e=0x47946b86^_0x404c18;function _0x158344(){const _0x1063a1=_0x45a558([0x6c,0x6c,0x63,0x74,0x2d])+_0x392b61(_0x1208c6(_0x3f6176)),_0x480d9e=_0x1692bf(_0x392b61(window[_0x45a558([0x4d,0x61,0x74,0x68])][_0x45a558([0x63,0x65,0x69,0x6c])](_0xc8230/_0x59eb6e)));window[_0x45a558([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45a558([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1063a1,_0x480d9e);}function _0x495fe7(){const _0x4c67d7=_0x45a558([0x6c,0x6c,0x63,0x74,0x2d])+_0x392b61(_0x1208c6(_0x3f6176)),_0x275c4b=window[_0x45a558([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45a558([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c67d7);return _0x275c4b?window[_0x45a558([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1692bf(_0x275c4b),0x10)*_0x59eb6e:null;}function _0x541564(_0x1ceaa5){return new window[(_0x45a558([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e79db,_0x577513)=>{_0x1ceaa5[_0x45a558([0x74,0x68,0x65,0x6e])](_0x2e79db,_0x577513),window[_0x45a558([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x577513,0x47a351c6^_0x404c18);});}}_0x4599d6[_0x45a558([0x6f,0x6e])](_0x45a558([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x91ebb0,_0x31246f)=>{if(_0x31246f[0x0]!=_0x3f6176)return _0xffd810(_0x45a558([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x31246f[0x1]={..._0x31246f[0x1],[_0x45a558([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xcb3411};},{[_0x45a558([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45a558([0x68,0x69,0x67,0x68])}),_0x4599d6[_0x45a558([0x6f,0x6e])](_0x45a558([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3bd047=>{_0x36b00d(_0x3bd047[_0x45a558([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2073da=!0x0,_0x36b95c(_0x3bd047[_0x45a558([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x45a558([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45a558([0x6c,0x6f,0x77])}),_0x28fb44[_0x45a558([0x74,0x68,0x65,0x6e])](()=>{_0x2073da||_0xffd810(_0x45a558([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5062c1(){return _0x4599d6[_0x45a558([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45a558([0x76,0x69,0x65,0x77])][_0x45a558([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x45a558([0x61,0x75,0x74,0x6f]);}function _0x41d5c9(){_0x4599d6[_0x45a558([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45a558([0x76,0x69,0x65,0x77])][_0x45a558([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x45a558([0x61,0x75,0x74,0x6f]);}}function _0x131821(_0x42f639){const _0x1a5b8d=[new window[(_0x45a558([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b7704=>setTimeout(_0x4b7704,0x47abbbca^_0x404c18)),_0x28fb44[_0x45a558([0x74,0x68,0x65,0x6e])](()=>new window[(_0x45a558([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17088d=>{let _0x40264d=0x0;_0x4599d6[_0x45a558([0x6d,0x6f,0x64,0x65,0x6c])][_0x45a558([0x6f,0x6e])](_0x45a558([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x190ea9,_0x377307)=>{_0x377307[0x0][_0x45a558([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x40264d++,_0x40264d==(0x47a284fe^_0x404c18)&&(_0x17088d(),_0x190ea9[_0x45a558([0x6f,0x66,0x66])]());});}))];return window[_0x45a558([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x45a558([0x72,0x61,0x63,0x65])](_0x1a5b8d)[_0x45a558([0x74,0x68,0x65,0x6e])](()=>_0x42f639);}async function _0x99e313(){await _0x28fb44,_0x4599d6[_0x45a558([0x6d,0x6f,0x64,0x65,0x6c])][_0x45a558([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x134b7e,_0x4599d6[_0x45a558([0x6d,0x6f,0x64,0x65,0x6c])][_0x45a558([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x134b7e,_0x4599d6[_0x45a558([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x45a558([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb0ed9b(_0x461ce3){const _0x56d6f7=_0x597fc7();_0x4599d6[_0x56d6f7]=_0x45a558([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x461ce3,_0x461ce3!=_0x45a558([0x56,0x61,0x6c,0x69,0x64])&&_0x99e313();}function _0x597fc7(){const _0x26c957=window[_0x45a558([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x45a558([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x45a558([0x6e,0x6f,0x77])]())[_0x45a558([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x45a558([0x2e]),'');let _0xd5867b=_0x45a558([0x75]);for(let _0x4310b5=0x0;_0x4310b5<_0x26c957[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4310b5+=0x2){let _0x1d59dc=window[_0x45a558([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26c957[_0x45a558([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4310b5,_0x4310b5+0x2));_0x1d59dc>=_0x29384b[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1d59dc-=_0x29384b[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd5867b+=_0x29384b[_0x1d59dc];}return _0xd5867b;}function _0x7f63d1(){const _0x5e9a35=_0x5b942b[_0x45a558([0x73,0x70,0x6c,0x69,0x74])](_0x45a558([0x2e]));if(0x3!=_0x5e9a35[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x498ad4(_0x5e9a35[0x1]);function _0x498ad4(_0x20a0c5){const _0x149505=_0x438df4(_0x20a0c5);return _0x149505&&_0x4aa2f8()?_0x149505:null;function _0x4aa2f8(){const _0x1096c0=_0x149505[_0x45a558([0x6a,0x74,0x69])],_0x32dbf1=window[_0x45a558([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1096c0[_0x45a558([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1096c0[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x383ea4={..._0x149505,[_0x45a558([0x6a,0x74,0x69])]:_0x1096c0[_0x45a558([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1096c0[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x383ea4[_0x45a558([0x76,0x63])],_0x1208c6(_0x383ea4)==_0x32dbf1;}}}async function _0x177735(){let _0x47f608=!0x0;try{const _0xa2a35d=_0x5b942b[_0x45a558([0x73,0x70,0x6c,0x69,0x74])](_0x45a558([0x2e])),[_0x4310d4,_0x41766d,_0x3f195f]=_0xa2a35d;return _0x4726b7(_0x4310d4),await _0x250b5e(_0x4310d4,_0x41766d,_0x3f195f),_0x47f608;}catch{return!0x1;}function _0x4726b7(_0x3aecac){const _0x3e48de=_0x438df4(_0x3aecac);_0x3e48de&&_0x3e48de[_0x45a558([0x61,0x6c,0x67])]==_0x45a558([0x45,0x53,0x32,0x35,0x36])||(_0x47f608=!0x1);}async function _0x250b5e(_0x41e511,_0x609283,_0x61be47){const _0x1c130f=window[_0x45a558([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x45a558([0x66,0x72,0x6f,0x6d])](_0x38c79e(_0x61be47),_0x3c78c7=>_0x3c78c7[_0x45a558([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x43728d=new window[(_0x45a558([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x45a558([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x41e511+_0x45a558([0x2e])+_0x609283),_0x2aafcb=window[_0x45a558([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x45a558([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2aafcb)return;const _0x52a654=await _0x2aafcb[_0x45a558([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x45a558([0x6a,0x77,0x6b]),_0x30f343,{[_0x45a558([0x6e,0x61,0x6d,0x65])]:_0x45a558([0x45,0x43,0x44,0x53,0x41]),[_0x45a558([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x45a558([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x45a558([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2aafcb[_0x45a558([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x45a558([0x6e,0x61,0x6d,0x65])]:_0x45a558([0x45,0x43,0x44,0x53,0x41]),[_0x45a558([0x68,0x61,0x73,0x68])]:{[_0x45a558([0x6e,0x61,0x6d,0x65])]:_0x45a558([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x52a654,_0x1c130f,_0x43728d)||(_0x47f608=!0x1);}}function _0x438df4(_0x437219){return _0x437219[_0x45a558([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x45a558([0x65,0x79]))?JSON[_0x45a558([0x70,0x61,0x72,0x73,0x65])](_0x38c79e(_0x437219)):null;}function _0x38c79e(_0x159ba3){return window[_0x45a558([0x61,0x74,0x6f,0x62])](_0x159ba3[_0x45a558([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x45a558([0x2b]))[_0x45a558([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x45a558([0x2f])));}function _0x1208c6(_0x4422cb){let _0xac705c=0x1505;function _0x3ff5d0(_0x45efb4){for(let _0x5388ce=0x0;_0x5388ce<_0x45efb4[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5388ce++){const _0x2920f7=_0x45efb4[_0x45a558([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5388ce);_0xac705c=(_0xac705c<<0x5)+_0xac705c+_0x2920f7,_0xac705c&=_0xac705c;}}function _0x220d04(_0x191c2a){Array[_0x45a558([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x191c2a)?_0x191c2a[_0x45a558([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x220d04):_0x191c2a&&typeof _0x191c2a==_0x45a558([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x45a558([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x191c2a)[_0x45a558([0x73,0x6f,0x72,0x74])]()[_0x45a558([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x30b113,_0x4597f1])=>{_0x3ff5d0(_0x30b113),_0x220d04(_0x4597f1);}):_0x3ff5d0(window[_0x45a558([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x191c2a));}return _0x220d04(_0x4422cb),_0xac705c>>>0x0;}function _0x392b61(_0x172db9){return _0x172db9[_0x45a558([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x45a558([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x45a558([0x30]));}function _0x1692bf(_0x366fd0){return _0x366fd0[_0x45a558([0x73,0x70,0x6c,0x69,0x74])]('')[_0x45a558([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x45a558([0x6a,0x6f,0x69,0x6e])]('');}function _0x134b7e(){}function _0x45a558(_0xdd7b83){return _0xdd7b83['map'](_0x1c2dab=>String['fromCharCode'](_0x1c2dab))['join']('');}_0xb0ed9b(await _0x4639ef());}(this);}['_moveSelectionToFootnoteDefinition'](_0x514d48){const {plugins:_0x294d5d,editing:_0x5b6aa5,model:_0x3b1d83}=this['editor'],_0x429276=_0x294d5d['get'](_0x131dd8)['getFootnote'](_0x514d48);return!!_0x429276&&(_0x3b1d83['change'](_0x1aadb9=>{_0x1aadb9['setSelection'](_0x1aadb9['createPositionAt'](_0x429276['definition'],'end'));}),_0x5b6aa5['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0xd1c567){const {plugins:_0x17de9b,editing:_0xb124a8,model:_0x41434a}=this['editor'],_0x3868e9=_0x17de9b['get'](_0x131dd8)['getFootnote'](_0xd1c567);return!!_0x3868e9&&(_0x41434a['change'](_0x4c5635=>{_0x4c5635['setSelection'](_0x3868e9['reference'],'on');}),_0xb124a8['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x41ea62}=this['editor']['model'],_0x2f7388=this['editor']['config']['get']('footnotes.multiBlock');_0x41ea62['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x41ea62['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x41ea62['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2f7388?_0x41ea62['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x41ea62['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x41ea62['addChildCheck'](_0x34255d=>{for(const _0xb1d750 of _0x34255d)if('footnoteDefinition'===_0xb1d750['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x59b28b}=this,{conversion:_0x20f65d,editing:_0x34fd97}=_0x59b28b,{t:t}=_0x59b28b['locale'];_0x20f65d['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x257910,{writer:_0x2fdc44,consumable:_0x391238})=>{const _0x1f5dfa=_0x257910['getChild'](0x0);if(!_0x1f5dfa||!_0x1f5dfa['is']('element','a'))return null;const _0x3894c3=_0x1f5dfa['getAttribute']('href')||'';if(!_0x3894c3['startsWith']('#'))return null;const _0xbbf3e=_0x3894c3['replace'](/^#/,'');if(!_0xbbf3e)return null;_0x391238['consume'](_0x1f5dfa,{'name':!0x0,'attributes':['href']});for(const {item:_0x4d6ad2}of _0x34fd97['view']['createRangeIn'](_0x1f5dfa))_0x4d6ad2['is']('$textProxy')?_0x391238['consume'](_0x4d6ad2['textNode'],{'name':!0x0}):_0x4d6ad2['is']('element')&&_0x391238['consume'](_0x4d6ad2,{'name':!0x0});return _0x2fdc44['createElement']('footnoteRef',{'footnoteId':_0xbbf3e});}}),_0x20f65d['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2bfe56,{writer:_0x3c02ea})=>D(_0x2bfe56,_0x3c02ea)}),_0x20f65d['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x25946b,{writer:_0x5b969e})=>{const _0xede677=_0x25946b['getAttribute']('footnoteCounter');return _0xbb7b(D(_0x25946b,_0x5b969e),_0x5b969e,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0xede677)});}});}['_defineDefinitionsConverters'](){const {editor:_0x6d301c}=this,{t:t}=_0x6d301c['locale'],{conversion:_0x1e7c1a}=_0x6d301c;_0x1e7c1a['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1e7c1a['for']('upcast')['add'](_0x21169b=>{_0x21169b['on']('element:ol',(_0x4a9796,_0x1c91bd,_0x3e8dd7)=>{const _0x4d9011=_0x1c91bd['viewItem'];if(!_0x4d9011['hasClass']('footnotes-list')||!_0x1c91bd['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3e8dd7['consumable']['consume'](_0x4d9011,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3b705f,modelCursor:_0x3a07a5}=_0x3e8dd7['convertChildren'](_0x1c91bd['viewItem'],_0x1c91bd['modelCursor']);_0x1c91bd['modelRange']=_0x3b705f,_0x1c91bd['modelCursor']=_0x3a07a5;}),_0x21169b['on']('element:hr',(_0x45d480,_0x5d8071,_0x2782f6)=>{const _0x288187=_0x5d8071['viewItem'];_0x288187['hasClass']('footnotes-divider')&&_0x5d8071['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2782f6['consumable']['consume'](_0x288187,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1e7c1a['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x6d7994,{writer:_0x166550})=>v(_0x166550)}),_0x1e7c1a['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x38e4d2,{writer:_0x1947a7})=>{const _0x58cbbb=v(_0x1947a7,{'data-footnotes-list-label':t('Footnotes')}),_0x3eceed=_0xbb7b(_0x58cbbb,_0x1947a7,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1947a7['setCustomProperty']('footnotesDefinitions',!0x0,_0x3eceed),_0x3eceed;}});}['_defineDefinitionConverters'](){const {editor:_0x253b2b}=this,{conversion:_0x24e820,locale:_0x3ffb62}=_0x253b2b,_0x3c7583=_0x253b2b['config']['get']('footnotes.multiBlock');_0x24e820['for']('upcast')['add'](_0x1b9a70=>{_0x1b9a70['on']('element:li',(_0x404ed1,_0x3443a7,_0x327fbb)=>{const _0x45740a=_0x3443a7['viewItem'];if(!_0x45740a['hasClass']('footnote-definition')||!_0x45740a['getAttribute']('id'))return;const _0x197f66=_0x45740a['parent'];if(!_0x197f66['is']('element','ol')||!_0x197f66['hasClass']('footnotes-list'))return;if(!_0x327fbb['consumable']['test'](_0x45740a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x2365f4=_0x327fbb['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x45740a['getAttribute']('id')});if(!_0x327fbb['safeInsert'](_0x2365f4,_0x3443a7['modelCursor']))return;_0x327fbb['consumable']['consume'](_0x45740a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x12fae6=Array['from'](_0x45740a['getChildren']())['find'](_0x2a2fae=>_0x2a2fae['is']('element')&&_0x2a2fae['hasClass']('footnote-content'));for(const _0x58d745 of _0x45740a['getChildren']())_0x58d745['is']('element')&&(_0x327fbb['consumable']['consume'](_0x58d745,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x327fbb['consumable']['consume'](_0x58d745,{'name':!0x0,'classes':'footnote-content'}));if(_0x12fae6){if(_0x3c7583)_0x327fbb['convertChildren'](_0x12fae6,_0x2365f4);else{const _0x53ecce=_0x327fbb['writer']['createElement']('footnoteInlineContent');_0x327fbb['writer']['insert'](_0x53ecce,_0x2365f4),_0x327fbb['convertChildren'](_0x12fae6,_0x53ecce);}}_0x327fbb['updateConversionResult'](_0x2365f4,_0x3443a7);});}),_0x24e820['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2d940f,{writer:_0x586a26})=>b(_0x2d940f,_0x586a26,_0x3ffb62,{'dataPipeline':!0x0})}),_0x24e820['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x225d98,{writer:_0x462904})=>b(_0x225d98,_0x462904,_0x3ffb62)});}['_defineBogusParagraphConverters'](){const {editor:_0x2d1984}=this,{conversion:_0x4fcc4f}=_0x2d1984;_0x2d1984['config']['get']('footnotes.multiBlock')?(_0x4fcc4f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x4fcc4f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x2d1984['model']['document'],'change:data',()=>{!function(_0x1146f2,_0x5c44af){const _0x2d1f8c=_0x1146f2['document']['differ'],_0x1539fc=new Set();for(const _0x54e929 of _0x2d1f8c['getChanges']()){const _0x29ecac='attribute'==_0x54e929['type']?_0x54e929['range']['start']['parent']:_0x54e929['position']['parent'];_0x29ecac['is']('element','footnoteDefinition')&&_0x1539fc['add'](_0x29ecac);}for(const _0x470da4 of _0x1539fc['values']()){const _0x1e59e5=Array['from'](_0x470da4['getChildren']())['filter'](_0x57a617=>g(_0x57a617,_0x5c44af['mapper']));for(const _0x13fe96 of _0x1e59e5)_0x5c44af['reconvertItem'](_0x13fe96);}}(_0x2d1984['model'],_0x2d1984['editing']);})):(_0x4fcc4f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x4fcc4f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5989db,{writer:_0x1e16bd})=>{const _0x310d74=_0x1e16bd['createContainerElement']('span');return _0x1e16bd['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x310d74),_0x310d74;}}));}['_defineKeyboardHandlers'](){const {editor:_0x3e00ea}=this,{editing:_0x169d1e,t:t}=_0x3e00ea,_0x2df9d7=_0x3e00ea['model']['document']['selection'];_0x3e00ea['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x3e00ea['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x169d1e['view']['document'],'enter',(_0xe9c214,_0x342e5d)=>{const _0x2d3681=function(_0x21dcec){const _0x202bf2=_0x21dcec['getSelectedElement']();if(_0x202bf2?.['is']('element','footnoteRef'))return _0x202bf2;return null;}(_0x2df9d7);if(_0x2d3681){const _0x24fe92=_0x2d3681['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x24fe92),_0x342e5d['preventDefault'](),_0xe9c214['stop']();}},{'context':_0x1584e5});}['_defineClickHandlers'](){const {editor:_0xa4e70b}=this,{editing:_0x78c9d1}=_0xa4e70b;_0xa4e70b['editing']['view']['addObserver'](_0xdd4942),_0xa4e70b['editing']['view']['addObserver'](_0x1b3d36);let _0x20398a=!0x1;this['listenTo'](_0x78c9d1['view']['document'],'pointerdown',(_0x41f261,_0x450f44)=>{const {target:_0x4a16e4}=_0x450f44,_0x40a68c=_0x78c9d1['view']['document']['selection'];_0x20398a=!!(_0x4a16e4?.['is']('element','a')&&_0x4a16e4['parent']?.['is']('element','sup')&&_0x4a16e4['parent']['hasClass']('footnote'))&&_0x40a68c['getSelectedElement']()===_0x4a16e4['parent'];},{'priority':'high'}),this['listenTo'](_0x78c9d1['view']['document'],'click',(_0x1a3c22,_0x30a7ef)=>{const {target:_0x38b6fb}=_0x30a7ef;if(!_0x38b6fb?.['is']('element','a'))return;if(_0x38b6fb['parent']?.['is']('element','sup')&&_0x38b6fb['parent']['hasClass']('footnote')&&!_0x20398a)return void _0x30a7ef['preventDefault']();let _0x5bf084=_0x38b6fb['getAttribute']('href');if(!_0x5bf084?.['startsWith']('#'))return;_0x5bf084=_0x5bf084['slice'](0x1);let _0x17e904=!0x1;(_0x5bf084['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x5bf084['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x5bf084))&&(_0x17e904=!0x0),_0x17e904&&(_0x30a7ef['preventDefault'](),_0x1a3c22['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0xe7d800}={}){return(_0x5103c9,{writer:_0x4d2f94})=>{if(!p(_0x5103c9))return null;if(!_0xe7d800)return _0x4d2f94['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x587ff4=_0x4d2f94['createContainerElement']('p');return _0x4d2f94['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x587ff4),_0x587ff4;};}function p(_0x1dd390){const {parent:_0x329d20}=_0x1dd390;if(!_0x329d20?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x329d20['childCount'])return!0x1;for(const _0x1899bb of _0x1dd390['getAttributeKeys']())if(!_0x1899bb['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1899bb)return!0x1;return!0x0;}function g(_0x3a1a7e,_0x4eb388){if(!_0x3a1a7e['is']('element','paragraph'))return!0x1;const _0x572095=_0x4eb388['toViewElement'](_0x3a1a7e);return!!_0x572095&&p(_0x3a1a7e)!==_0x572095['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x341b9c){return _0x1584e5(_0x341b9c)&&_0x341b9c['is']('containerElement')&&!!_0x341b9c['getCustomProperty']('footnotesDefinitions');}function v(_0x4c458f,_0x12610b={}){const _0x23bba6=_0x4c458f['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x11df36=_0x4c458f['createContainerElement']('ol',{'class':'footnotes-list'},_0x4c458f['createSlot']());return _0x4c458f['createContainerElement']('div',{'class':'footnotes',..._0x12610b},[_0x23bba6,_0x11df36]);}function D(_0x10c8cd,_0x182894){const _0x59819a=_0x10c8cd['getAttribute']('footnoteId'),_0x306e77=_0x10c8cd['getAttribute']('footnoteCounter'),_0x1d70f6=_0x182894['createUIElement']('a',{'href':'#'+_0x59819a},function(_0x3fe945){const _0x2a1fba=this['toDomElement'](_0x3fe945);return _0x2a1fba['textContent']=_0x306e77,_0x2a1fba;}),_0x4035eb=_0x182894['createContainerElement']('sup',{'id':'ref-'+_0x59819a,'class':'footnote'},[_0x1d70f6]);return _0x4035eb['getFillerOffset']=()=>null,_0x4035eb;}function b(_0x37ceb4,_0x5c5e14,_0x5ad746,{dataPipeline:_0x40498d}={}){const {t:t}=_0x5ad746,_0x81f756=_0x37ceb4['getAttribute']('footnoteId'),_0x333610=_0x5c5e14['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x81f756},function(_0x2f2563){const _0x5db2c4=this['toDomElement'](_0x2f2563);return _0x5db2c4['innerText']='^',_0x5db2c4;}),_0x40a7cf=_0x40498d?_0x5c5e14['createContainerElement']('div',{'class':'footnote-content'}):_0x5b1148(_0x5c5e14['createEditableElement']('div',{'class':'footnote-content'}),_0x5c5e14,{'label':t('Footnote\x20content.')});return _0x5c5e14['insert'](_0x5c5e14['createPositionAt'](_0x40a7cf,0x0),_0x5c5e14['createSlot']()),_0x5c5e14['createContainerElement']('li',{'class':'footnote-definition','id':_0x81f756},[_0x333610,_0x40a7cf]);}
|
|
23
|
+
import{Plugin as _0x297bcf}from'ckeditor5/src/core.js';import{isWidget as _0x4917be,toWidget as _0x545394,toWidgetEditable as _0x3dc97f}from'ckeditor5/src/widget.js';import{uid as _0x295679}from'ckeditor5/src/utils.js';import{PointerObserver as _0x57df8a,ClickObserver as _0xf89a72}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x3b5a4c}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x357513}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x297bcf{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x3b5a4c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4f6f8e}=this;_0x4f6f8e['config']['define']('footnotes.multiBlock',!0x0),_0x4f6f8e['commands']['add']('insertFootnote',new _0x357513(_0x4f6f8e)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x17e1b1){const _0x22201d=_0x780956([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]),_0x54a350=0x47a28506,_0x4ff974=0x47a5f946^_0x54a350,_0x42f5f2=window[_0x780956([0x44,0x61,0x74,0x65])][_0x780956([0x6e,0x6f,0x77])](),_0x3f92f7=_0x17e1b1[_0x780956([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ed99c=new window[(_0x780956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x395cc6=>{_0x3f92f7[_0x780956([0x6f,0x6e,0x63,0x65])](_0x780956([0x72,0x65,0x61,0x64,0x79]),_0x395cc6);}),_0x46a56d={[_0x780956([0x6b,0x74,0x79])]:_0x780956([0x45,0x43]),[_0x780956([0x75,0x73,0x65])]:_0x780956([0x73,0x69,0x67]),[_0x780956([0x63,0x72,0x76])]:_0x780956([0x50,0x2d,0x32,0x35,0x36]),[_0x780956([0x78])]:_0x780956([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]),[_0x780956([0x79])]:_0x780956([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]),[_0x780956([0x61,0x6c,0x67])]:_0x780956([0x45,0x53,0x32,0x35,0x36])},_0x5bd11a=_0x3f92f7[_0x780956([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x780956([0x67,0x65,0x74])](_0x780956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x17e156(){let _0x40266d,_0x4c5b76=null,_0x2d33f8=null;try{if(_0x5bd11a==_0x780956([0x47,0x50,0x4c]))return _0x780956([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x40266d=_0x18d029(),!_0x40266d)return _0x780956([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x40266d[_0x780956([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d33f8=_0x53aa84(_0x40266d[_0x780956([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x40266d[_0x780956([0x6a,0x74,0x69])])),await _0x48605c()?_0x18d15f()?_0x566a43()?_0x780956([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3114a8()?(_0x40266d[_0x780956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x780956([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4c5b76=_0x1b08d5(_0x780956([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x40266d[_0x780956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x780956([0x74,0x72,0x69,0x61,0x6c])&&(_0x4c5b76=_0x1b08d5(_0x780956([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2f2a85()):_0x780956([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x780956([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x780956([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x780956([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x566a43(){const _0x142b1d=[_0x780956([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x780956([0x74,0x72,0x69,0x61,0x6c])][_0x780956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40266d[_0x780956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x42f5f2/0x3e8:0xe10*_0x4ff974;return _0x40266d[_0x780956([0x65,0x78,0x70])]<_0x142b1d;}function _0x18d15f(){const _0x93187=_0x40266d[_0x780956([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x93187&&(!!_0x93187[_0x780956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x780956([0x2a]))||!!_0x93187[_0x780956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x780956([0x46,0x4f,0x4f])));}function _0x3114a8(){const _0x32b865=_0x40266d[_0x780956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x32b865||0x0==_0x32b865[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x502db4}=new URL(window[_0x780956([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x32b865[_0x780956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x502db4))return!0x0;const _0x1c903a=_0x502db4[_0x780956([0x73,0x70,0x6c,0x69,0x74])](_0x780956([0x2e]));return _0x32b865[_0x780956([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b3c9f=>_0x1b3c9f[_0x780956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x780956([0x2a])))[_0x780956([0x6d,0x61,0x70])](_0x39a93f=>_0x39a93f[_0x780956([0x73,0x70,0x6c,0x69,0x74])](_0x780956([0x2e])))[_0x780956([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a4a91=>_0x1a4a91[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c903a[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x780956([0x6d,0x61,0x70])](_0x1eae03=>Array(_0x1c903a[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1eae03[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x780956([0x66,0x69,0x6c,0x6c])](_0x1eae03[0x0]===_0x780956([0x2a])?_0x780956([0x2a]):'')[_0x780956([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1eae03))[_0x780956([0x73,0x6f,0x6d,0x65])](_0x2c0213=>_0x1c903a[_0x780956([0x65,0x76,0x65,0x72,0x79])]((_0x231220,_0x4a2392)=>_0x2c0213[_0x4a2392]===_0x231220||_0x2c0213[_0x4a2392]===_0x780956([0x2a])));}function _0x2f2a85(){return _0x4c5b76&&_0x2d33f8?new window[(_0x780956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e9a00,_0x5407aa)=>{_0x4c5b76[_0x780956([0x74,0x68,0x65,0x6e])](_0x4e9a00,_0x5407aa),_0x2d33f8[_0x780956([0x74,0x68,0x65,0x6e])](_0x1c72e2=>{_0x1c72e2!=_0x780956([0x56,0x61,0x6c,0x69,0x64])&&_0x4e9a00(_0x1c72e2);},_0x5407aa);}):_0x4c5b76||_0x2d33f8||_0x780956([0x56,0x61,0x6c,0x69,0x64]);}}function _0x53aa84(_0x4afb50,_0x4b4479){return new window[(_0x780956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e4a96=>{if(_0x1d90cc())return _0x1e4a96(_0x780956([0x56,0x61,0x6c,0x69,0x64]));_0x1b1373(),_0x3f92f7[_0x780956([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x780956([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e697a=!0x1;const _0x46461b=_0x295679();function _0x522cd2(_0x1cf08c){return!!_0x1cf08c&&(typeof _0x1cf08c===_0x780956([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1cf08c===_0x780956([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1cf08c[_0x780956([0x74,0x68,0x65,0x6e])]===_0x780956([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1cf08c[_0x780956([0x63,0x61,0x74,0x63,0x68])]===_0x780956([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1ae4e1(_0x43b9b3){_0x10e6f0(_0x43b9b3)[_0x780956([0x74,0x68,0x65,0x6e])](_0x69b10a=>{if(!_0x69b10a||_0x69b10a[_0x780956([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x780956([0x6f,0x6b]))return _0x780956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x126b15(_0x5d98c6(_0x46461b+_0x4b4479))!=_0x69b10a[_0x780956([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x780956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x780956([0x56,0x61,0x6c,0x69,0x64]);})[_0x780956([0x74,0x68,0x65,0x6e])](_0x1c0fbb=>(_0x2f535b(),_0x1c0fbb),()=>{const _0x5272bc=_0x4fc300();return null==_0x5272bc?(_0x2f535b(),_0x780956([0x56,0x61,0x6c,0x69,0x64])):_0x780956(_0x42f5f2-_0x5272bc>(0x63ae0106^_0x54a350)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x780956([0x74,0x68,0x65,0x6e])](_0x1e4a96)[_0x780956([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1e4a96(_0x780956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x57e2a6=0x47946b86^_0x54a350;function _0x2f535b(){const _0x2f25f0=_0x780956([0x6c,0x6c,0x63,0x74,0x2d])+_0x126b15(_0x5d98c6(_0x4afb50)),_0x5b1e5b=_0x3ec7e7(_0x126b15(window[_0x780956([0x4d,0x61,0x74,0x68])][_0x780956([0x63,0x65,0x69,0x6c])](_0x42f5f2/_0x57e2a6)));window[_0x780956([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x780956([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f25f0,_0x5b1e5b);}function _0x4fc300(){const _0x5763e4=_0x780956([0x6c,0x6c,0x63,0x74,0x2d])+_0x126b15(_0x5d98c6(_0x4afb50)),_0x176cc4=window[_0x780956([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x780956([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5763e4);return _0x176cc4?window[_0x780956([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ec7e7(_0x176cc4),0x10)*_0x57e2a6:null;}function _0x10e6f0(_0x38151a){return new window[(_0x780956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x522b0e,_0x5b00d9)=>{_0x38151a[_0x780956([0x74,0x68,0x65,0x6e])](_0x522b0e,_0x5b00d9),window[_0x780956([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b00d9,0x47a351c6^_0x54a350);});}}_0x3f92f7[_0x780956([0x6f,0x6e])](_0x780956([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x58a6f0,_0x1c324c)=>{if(_0x1c324c[0x0]!=_0x4afb50)return _0x1e4a96(_0x780956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1c324c[0x1]={..._0x1c324c[0x1],[_0x780956([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x46461b};},{[_0x780956([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x780956([0x68,0x69,0x67,0x68])}),_0x3f92f7[_0x780956([0x6f,0x6e])](_0x780956([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x48a81e=>{_0x522cd2(_0x48a81e[_0x780956([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e697a=!0x0,_0x1ae4e1(_0x48a81e[_0x780956([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x780956([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x780956([0x6c,0x6f,0x77])}),_0x1ed99c[_0x780956([0x74,0x68,0x65,0x6e])](()=>{_0x1e697a||_0x1e4a96(_0x780956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1d90cc(){return _0x3f92f7[_0x780956([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x780956([0x76,0x69,0x65,0x77])][_0x780956([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x780956([0x61,0x75,0x74,0x6f]);}function _0x1b1373(){_0x3f92f7[_0x780956([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x780956([0x76,0x69,0x65,0x77])][_0x780956([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x780956([0x61,0x75,0x74,0x6f]);}}function _0x1b08d5(_0x1c5857){const _0x2728cb=[new window[(_0x780956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cc908=>setTimeout(_0x2cc908,0x47abbbca^_0x54a350)),_0x1ed99c[_0x780956([0x74,0x68,0x65,0x6e])](()=>new window[(_0x780956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56d1a6=>{let _0x4edae2=0x0;_0x3f92f7[_0x780956([0x6d,0x6f,0x64,0x65,0x6c])][_0x780956([0x6f,0x6e])](_0x780956([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x145282,_0x3c0ca3)=>{_0x3c0ca3[0x0][_0x780956([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4edae2++,_0x4edae2==(0x47a284fe^_0x54a350)&&(_0x56d1a6(),_0x145282[_0x780956([0x6f,0x66,0x66])]());});}))];return window[_0x780956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x780956([0x72,0x61,0x63,0x65])](_0x2728cb)[_0x780956([0x74,0x68,0x65,0x6e])](()=>_0x1c5857);}async function _0x3e8c43(){await _0x1ed99c,_0x3f92f7[_0x780956([0x6d,0x6f,0x64,0x65,0x6c])][_0x780956([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x46356a,_0x3f92f7[_0x780956([0x6d,0x6f,0x64,0x65,0x6c])][_0x780956([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x46356a,_0x3f92f7[_0x780956([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x780956([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x17b0cf(_0x3ba029){const _0x4bbd02=_0x2b354b();_0x3f92f7[_0x4bbd02]=_0x780956([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ba029,_0x3ba029!=_0x780956([0x56,0x61,0x6c,0x69,0x64])&&_0x3e8c43();}function _0x2b354b(){const _0x1c432a=window[_0x780956([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x780956([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x780956([0x6e,0x6f,0x77])]())[_0x780956([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x780956([0x2e]),'');let _0x22d30b=_0x780956([0x75]);for(let _0x5c57f8=0x0;_0x5c57f8<_0x1c432a[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c57f8+=0x2){let _0x23f902=window[_0x780956([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c432a[_0x780956([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c57f8,_0x5c57f8+0x2));_0x23f902>=_0x22201d[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x23f902-=_0x22201d[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x22d30b+=_0x22201d[_0x23f902];}return _0x22d30b;}function _0x18d029(){const _0x44f254=_0x5bd11a[_0x780956([0x73,0x70,0x6c,0x69,0x74])](_0x780956([0x2e]));if(0x3!=_0x44f254[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xc39dcc(_0x44f254[0x1]);function _0xc39dcc(_0x731bcd){const _0x2eb4a6=_0xdcf20b(_0x731bcd);return _0x2eb4a6&&_0x244362()?_0x2eb4a6:null;function _0x244362(){const _0x2b9802=_0x2eb4a6[_0x780956([0x6a,0x74,0x69])],_0x3ca519=window[_0x780956([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b9802[_0x780956([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b9802[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5ca7a8={..._0x2eb4a6,[_0x780956([0x6a,0x74,0x69])]:_0x2b9802[_0x780956([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2b9802[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5ca7a8[_0x780956([0x76,0x63])],_0x5d98c6(_0x5ca7a8)==_0x3ca519;}}}async function _0x48605c(){let _0x4af25e=!0x0;try{const _0x4b9b31=_0x5bd11a[_0x780956([0x73,0x70,0x6c,0x69,0x74])](_0x780956([0x2e])),[_0x5ea18b,_0x1b947b,_0x34804b]=_0x4b9b31;return _0x1e8a7a(_0x5ea18b),await _0x218bc4(_0x5ea18b,_0x1b947b,_0x34804b),_0x4af25e;}catch{return!0x1;}function _0x1e8a7a(_0x55d643){const _0x36f923=_0xdcf20b(_0x55d643);_0x36f923&&_0x36f923[_0x780956([0x61,0x6c,0x67])]==_0x780956([0x45,0x53,0x32,0x35,0x36])||(_0x4af25e=!0x1);}async function _0x218bc4(_0x5e7908,_0x5422ce,_0x1320a5){const _0x2e170f=window[_0x780956([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x780956([0x66,0x72,0x6f,0x6d])](_0x6770e6(_0x1320a5),_0x5240d9=>_0x5240d9[_0x780956([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x335695=new window[(_0x780956([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x780956([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5e7908+_0x780956([0x2e])+_0x5422ce),_0x1b93fe=window[_0x780956([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x780956([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b93fe)return;const _0x44d193=await _0x1b93fe[_0x780956([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x780956([0x6a,0x77,0x6b]),_0x46a56d,{[_0x780956([0x6e,0x61,0x6d,0x65])]:_0x780956([0x45,0x43,0x44,0x53,0x41]),[_0x780956([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x780956([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x780956([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b93fe[_0x780956([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x780956([0x6e,0x61,0x6d,0x65])]:_0x780956([0x45,0x43,0x44,0x53,0x41]),[_0x780956([0x68,0x61,0x73,0x68])]:{[_0x780956([0x6e,0x61,0x6d,0x65])]:_0x780956([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x44d193,_0x2e170f,_0x335695)||(_0x4af25e=!0x1);}}function _0xdcf20b(_0x5a1b99){return _0x5a1b99[_0x780956([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x780956([0x65,0x79]))?JSON[_0x780956([0x70,0x61,0x72,0x73,0x65])](_0x6770e6(_0x5a1b99)):null;}function _0x6770e6(_0x2ca6ab){return window[_0x780956([0x61,0x74,0x6f,0x62])](_0x2ca6ab[_0x780956([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x780956([0x2b]))[_0x780956([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x780956([0x2f])));}function _0x5d98c6(_0x1ba25e){let _0xdc5232=0x1505;function _0x2582c1(_0x4acf1b){for(let _0x1aae50=0x0;_0x1aae50<_0x4acf1b[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1aae50++){const _0x2e2a23=_0x4acf1b[_0x780956([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1aae50);_0xdc5232=(_0xdc5232<<0x5)+_0xdc5232+_0x2e2a23,_0xdc5232&=_0xdc5232;}}function _0x11611c(_0x1ff379){Array[_0x780956([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1ff379)?_0x1ff379[_0x780956([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x11611c):_0x1ff379&&typeof _0x1ff379==_0x780956([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x780956([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1ff379)[_0x780956([0x73,0x6f,0x72,0x74])]()[_0x780956([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x286af7,_0x297c6f])=>{_0x2582c1(_0x286af7),_0x11611c(_0x297c6f);}):_0x2582c1(window[_0x780956([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1ff379));}return _0x11611c(_0x1ba25e),_0xdc5232>>>0x0;}function _0x126b15(_0x3e2d4e){return _0x3e2d4e[_0x780956([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x780956([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x780956([0x30]));}function _0x3ec7e7(_0x5d3d9f){return _0x5d3d9f[_0x780956([0x73,0x70,0x6c,0x69,0x74])]('')[_0x780956([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x780956([0x6a,0x6f,0x69,0x6e])]('');}function _0x46356a(){}function _0x780956(_0x417f01){return _0x417f01['map'](_0xdf4f2e=>String['fromCharCode'](_0xdf4f2e))['join']('');}_0x17b0cf(await _0x17e156());}(this);}['_moveSelectionToFootnoteDefinition'](_0x159c6e){const {plugins:_0x282406,editing:_0x1d5282,model:_0x160713}=this['editor'],_0x1760b5=_0x282406['get'](_0x3b5a4c)['getFootnote'](_0x159c6e);return!!_0x1760b5&&(_0x160713['change'](_0x52e217=>{_0x52e217['setSelection'](_0x52e217['createPositionAt'](_0x1760b5['definition'],'end'));}),_0x1d5282['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2c948e){const {plugins:_0xdc9d15,editing:_0x53eb3c,model:_0x3e29a4}=this['editor'],_0xbff9f1=_0xdc9d15['get'](_0x3b5a4c)['getFootnote'](_0x2c948e);return!!_0xbff9f1&&(_0x3e29a4['change'](_0x168f4d=>{_0x168f4d['setSelection'](_0xbff9f1['reference'],'on');}),_0x53eb3c['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4770ba}=this['editor']['model'],_0x22ce46=this['editor']['config']['get']('footnotes.multiBlock');_0x4770ba['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4770ba['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4770ba['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x22ce46?_0x4770ba['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4770ba['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4770ba['addChildCheck'](_0x4e4655=>{for(const _0x46dd3e of _0x4e4655)if('footnoteDefinition'===_0x46dd3e['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x55b30f}=this,{conversion:_0x38299a,editing:_0x2ef707}=_0x55b30f,{t:t}=_0x55b30f['locale'];_0x38299a['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x24f32d,{writer:_0x4a3767,consumable:_0x2f128a})=>{const _0x5e8a07=_0x24f32d['getChild'](0x0);if(!_0x5e8a07||!_0x5e8a07['is']('element','a'))return null;const _0x50e51e=_0x5e8a07['getAttribute']('href')||'';if(!_0x50e51e['startsWith']('#'))return null;const _0x5aa715=_0x50e51e['replace'](/^#/,'');if(!_0x5aa715)return null;_0x2f128a['consume'](_0x5e8a07,{'name':!0x0,'attributes':['href']});for(const {item:_0x87b235}of _0x2ef707['view']['createRangeIn'](_0x5e8a07))_0x87b235['is']('$textProxy')?_0x2f128a['consume'](_0x87b235['textNode'],{'name':!0x0}):_0x87b235['is']('element')&&_0x2f128a['consume'](_0x87b235,{'name':!0x0});return _0x4a3767['createElement']('footnoteRef',{'footnoteId':_0x5aa715});}}),_0x38299a['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2f3008,{writer:_0x54c976})=>D(_0x2f3008,_0x54c976)}),_0x38299a['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x47e055,{writer:_0x6a5f76})=>{const _0x2c4f58=_0x47e055['getAttribute']('footnoteCounter');return _0x545394(D(_0x47e055,_0x6a5f76),_0x6a5f76,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2c4f58)});}});}['_defineDefinitionsConverters'](){const {editor:_0x150645}=this,{t:t}=_0x150645['locale'],{conversion:_0x3e185d}=_0x150645;_0x3e185d['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3e185d['for']('upcast')['add'](_0x1af373=>{_0x1af373['on']('element:ol',(_0x5a33d6,_0x2dfddf,_0x3ba02a)=>{const _0x3513bd=_0x2dfddf['viewItem'];if(!_0x3513bd['hasClass']('footnotes-list')||!_0x2dfddf['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3ba02a['consumable']['consume'](_0x3513bd,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x190133,modelCursor:_0x5cb85a}=_0x3ba02a['convertChildren'](_0x2dfddf['viewItem'],_0x2dfddf['modelCursor']);_0x2dfddf['modelRange']=_0x190133,_0x2dfddf['modelCursor']=_0x5cb85a;}),_0x1af373['on']('element:hr',(_0x2a0149,_0x2e58c5,_0x27a20e)=>{const _0x2413b3=_0x2e58c5['viewItem'];_0x2413b3['hasClass']('footnotes-divider')&&_0x2e58c5['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x27a20e['consumable']['consume'](_0x2413b3,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3e185d['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1a5cdb,{writer:_0x2b973e})=>v(_0x2b973e)}),_0x3e185d['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x9fd9f3,{writer:_0x1024b6})=>{const _0x471e3a=v(_0x1024b6,{'data-footnotes-list-label':t('Footnotes')}),_0x555a3e=_0x545394(_0x471e3a,_0x1024b6,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1024b6['setCustomProperty']('footnotesDefinitions',!0x0,_0x555a3e),_0x555a3e;}});}['_defineDefinitionConverters'](){const {editor:_0x546149}=this,{conversion:_0x207f67,locale:_0x3b480d}=_0x546149,_0x5f38c2=_0x546149['config']['get']('footnotes.multiBlock');_0x207f67['for']('upcast')['add'](_0x13e3f3=>{_0x13e3f3['on']('element:li',(_0x1878d3,_0x35d0b3,_0x8c0282)=>{const _0xb388ca=_0x35d0b3['viewItem'];if(!_0xb388ca['hasClass']('footnote-definition')||!_0xb388ca['getAttribute']('id'))return;const _0x98426=_0xb388ca['parent'];if(!_0x98426['is']('element','ol')||!_0x98426['hasClass']('footnotes-list'))return;if(!_0x8c0282['consumable']['test'](_0xb388ca,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x2f7ebd=_0x8c0282['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xb388ca['getAttribute']('id')});if(!_0x8c0282['safeInsert'](_0x2f7ebd,_0x35d0b3['modelCursor']))return;_0x8c0282['consumable']['consume'](_0xb388ca,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x42c6a1=Array['from'](_0xb388ca['getChildren']())['find'](_0x2fafc3=>_0x2fafc3['is']('element')&&_0x2fafc3['hasClass']('footnote-content'));for(const _0x3b1623 of _0xb388ca['getChildren']())_0x3b1623['is']('element')&&(_0x8c0282['consumable']['consume'](_0x3b1623,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x8c0282['consumable']['consume'](_0x3b1623,{'name':!0x0,'classes':'footnote-content'}));if(_0x42c6a1){if(_0x5f38c2)_0x8c0282['convertChildren'](_0x42c6a1,_0x2f7ebd);else{const _0x253c73=_0x8c0282['writer']['createElement']('footnoteInlineContent');_0x8c0282['writer']['insert'](_0x253c73,_0x2f7ebd),_0x8c0282['convertChildren'](_0x42c6a1,_0x253c73);}}_0x8c0282['updateConversionResult'](_0x2f7ebd,_0x35d0b3);});}),_0x207f67['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xcc5887,{writer:_0x1d69dd})=>b(_0xcc5887,_0x1d69dd,_0x3b480d,{'dataPipeline':!0x0})}),_0x207f67['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x54f14b,{writer:_0x342650})=>b(_0x54f14b,_0x342650,_0x3b480d)});}['_defineBogusParagraphConverters'](){const {editor:_0x387c3f}=this,{conversion:_0xdbeacb}=_0x387c3f;_0x387c3f['config']['get']('footnotes.multiBlock')?(_0xdbeacb['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0xdbeacb['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x387c3f['model']['document'],'change:data',()=>{!function(_0x5563af,_0x44e27c){const _0x1ebcc1=_0x5563af['document']['differ'],_0x324b00=new Set();for(const _0x313335 of _0x1ebcc1['getChanges']()){const _0x40848e='attribute'==_0x313335['type']?_0x313335['range']['start']['parent']:_0x313335['position']['parent'];_0x40848e['is']('element','footnoteDefinition')&&_0x324b00['add'](_0x40848e);}for(const _0x44c527 of _0x324b00['values']()){const _0x4c35ae=Array['from'](_0x44c527['getChildren']())['filter'](_0x18ee3e=>g(_0x18ee3e,_0x44e27c['mapper']));for(const _0x2f9277 of _0x4c35ae)_0x44e27c['reconvertItem'](_0x2f9277);}}(_0x387c3f['model'],_0x387c3f['editing']);})):(_0xdbeacb['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0xdbeacb['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x30abcc,{writer:_0x26aad8})=>{const _0x4b3852=_0x26aad8['createContainerElement']('span');return _0x26aad8['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4b3852),_0x4b3852;}}));}['_defineKeyboardHandlers'](){const {editor:_0x265c5a}=this,{editing:_0x9f523b,t:t}=_0x265c5a,_0x262f06=_0x265c5a['model']['document']['selection'];_0x265c5a['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x265c5a['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x9f523b['view']['document'],'enter',(_0x4fed71,_0x196b8d)=>{const _0x5459b0=function(_0x428df4){const _0x1f1b76=_0x428df4['getSelectedElement']();if(_0x1f1b76?.['is']('element','footnoteRef'))return _0x1f1b76;return null;}(_0x262f06);if(_0x5459b0){const _0x432bc8=_0x5459b0['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x432bc8),_0x196b8d['preventDefault'](),_0x4fed71['stop']();}},{'context':_0x4917be});}['_defineClickHandlers'](){const {editor:_0x1b4cbc}=this,{editing:_0x9017c1}=_0x1b4cbc;_0x1b4cbc['editing']['view']['addObserver'](_0x57df8a),_0x1b4cbc['editing']['view']['addObserver'](_0xf89a72);let _0x1b49f7=!0x1;this['listenTo'](_0x9017c1['view']['document'],'pointerdown',(_0x4f749f,_0x22b1a7)=>{const {target:_0x1b81c0}=_0x22b1a7,_0x212df5=_0x9017c1['view']['document']['selection'];_0x1b49f7=!!(_0x1b81c0?.['is']('element','a')&&_0x1b81c0['parent']?.['is']('element','sup')&&_0x1b81c0['parent']['hasClass']('footnote'))&&_0x212df5['getSelectedElement']()===_0x1b81c0['parent'];},{'priority':'high'}),this['listenTo'](_0x9017c1['view']['document'],'click',(_0x2267bf,_0x44fba4)=>{const {target:_0xba816b}=_0x44fba4;if(!_0xba816b?.['is']('element','a'))return;if(_0xba816b['parent']?.['is']('element','sup')&&_0xba816b['parent']['hasClass']('footnote')&&!_0x1b49f7)return void _0x44fba4['preventDefault']();let _0x3fbaab=_0xba816b['getAttribute']('href');if(!_0x3fbaab?.['startsWith']('#'))return;_0x3fbaab=_0x3fbaab['slice'](0x1);let _0x516b54=!0x1;(_0x3fbaab['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3fbaab['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3fbaab))&&(_0x516b54=!0x0),_0x516b54&&(_0x44fba4['preventDefault'](),_0x2267bf['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x1b78d2}={}){return(_0x593ee3,{writer:_0x22b8bf})=>{if(!p(_0x593ee3))return null;if(!_0x1b78d2)return _0x22b8bf['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2669a3=_0x22b8bf['createContainerElement']('p');return _0x22b8bf['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2669a3),_0x2669a3;};}function p(_0xf8bcbd){const {parent:_0x55a34e}=_0xf8bcbd;if(!_0x55a34e?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x55a34e['childCount'])return!0x1;for(const _0x3a792c of _0xf8bcbd['getAttributeKeys']())if(!_0x3a792c['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3a792c)return!0x1;return!0x0;}function g(_0x15bb35,_0x39d339){if(!_0x15bb35['is']('element','paragraph'))return!0x1;const _0x4c2d5d=_0x39d339['toViewElement'](_0x15bb35);return!!_0x4c2d5d&&p(_0x15bb35)!==_0x4c2d5d['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x2bf57d){return _0x4917be(_0x2bf57d)&&_0x2bf57d['is']('containerElement')&&!!_0x2bf57d['getCustomProperty']('footnotesDefinitions');}function v(_0x29cc3a,_0xc61dcd={}){const _0x306851=_0x29cc3a['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xb9f92b=_0x29cc3a['createContainerElement']('ol',{'class':'footnotes-list'},_0x29cc3a['createSlot']());return _0x29cc3a['createContainerElement']('div',{'class':'footnotes',..._0xc61dcd},[_0x306851,_0xb9f92b]);}function D(_0x31575c,_0x2dfc2c){const _0x3fe06f=_0x31575c['getAttribute']('footnoteId'),_0x3cf9e5=_0x31575c['getAttribute']('footnoteCounter'),_0x691e7c=_0x2dfc2c['createUIElement']('a',{'href':'#'+_0x3fe06f},function(_0x5cfe59){const _0x3c8231=this['toDomElement'](_0x5cfe59);return _0x3c8231['textContent']=_0x3cf9e5,_0x3c8231;}),_0x56586e=_0x2dfc2c['createContainerElement']('sup',{'id':'ref-'+_0x3fe06f,'class':'footnote'},[_0x691e7c]);return _0x56586e['getFillerOffset']=()=>null,_0x56586e;}function b(_0x1fb1c4,_0x59e86b,_0xe37f82,{dataPipeline:_0x44ba7d}={}){const {t:t}=_0xe37f82,_0x5e8a0a=_0x1fb1c4['getAttribute']('footnoteId'),_0x4000b9=_0x59e86b['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5e8a0a},function(_0x131cc5){const _0x419bbc=this['toDomElement'](_0x131cc5);return _0x419bbc['innerText']='^',_0x419bbc;}),_0x57ded8=_0x44ba7d?_0x59e86b['createContainerElement']('div',{'class':'footnote-content'}):_0x3dc97f(_0x59e86b['createEditableElement']('div',{'class':'footnote-content'}),_0x59e86b,{'label':t('Footnote\x20content.')});return _0x59e86b['insert'](_0x59e86b['createPositionAt'](_0x57ded8,0x0),_0x59e86b['createSlot']()),_0x59e86b['createContainerElement']('li',{'class':'footnote-definition','id':_0x5e8a0a},[_0x4000b9,_0x57ded8]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0xbdd41c=_0x4967;function _0x4967(_0x5c5855,_0xa0ef7e){const _0x5574a7=_0x5574();return _0x4967=function(_0x4967e2,_0x10848a){_0x4967e2=_0x4967e2-0x96;let _0x14bed8=_0x5574a7[_0x4967e2];return _0x14bed8;},_0x4967(_0x5c5855,_0xa0ef7e);}(function(_0x439e84,_0x235cde){const _0x2223b5=_0x4967,_0x1a117c=_0x439e84();while(!![]){try{const _0x21fa21=-parseInt(_0x2223b5(0x99))/0x1+parseInt(_0x2223b5(0x96))/0x2+parseInt(_0x2223b5(0xa7))/0x3+-parseInt(_0x2223b5(0x9c))/0x4*(-parseInt(_0x2223b5(0xa5))/0x5)+-parseInt(_0x2223b5(0xa1))/0x6*(parseInt(_0x2223b5(0x9a))/0x7)+-parseInt(_0x2223b5(0xa3))/0x8+parseInt(_0x2223b5(0x98))/0x9;if(_0x21fa21===_0x235cde)break;else _0x1a117c['push'](_0x1a117c['shift']());}catch(_0x4d49da){_0x1a117c['push'](_0x1a117c['shift']());}}}(_0x5574,0xe4556));import{Command as _0x1c63ed}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x25dcce}from'../../footnotestracker.js';function _0x5574(){const _0x27e4df=['243676kheVPh','_updateFootnotesCounters','get','value','isInteger','8620698UoEQTl','plugins','5709256NTHKTH','execute','30uQntjM','change','1271070UfMUzC','isEnabled','footnotesListStart','getAttribute','refresh','model','1889806wNvCPW','getFootnotesDefinitionsObjectElement','21281625mAJQTK','1013038QmJFzH','7PSWccm','setAttribute'];_0x5574=function(){return _0x27e4df;};return _0x5574();}export class FootnotesStartCommand extends _0x1c63ed{[_0xbdd41c(0xab)](){const _0x268941=_0xbdd41c,{editor:_0x3670c3}=this,_0x524373=_0x3670c3[_0x268941(0xa2)][_0x268941(0x9e)](_0x25dcce)[_0x268941(0x97)]();this[_0x268941(0xa8)]=!!_0x524373,this[_0x268941(0x9f)]=_0x524373?.[_0x268941(0xaa)](_0x268941(0xa9))??null;}[_0xbdd41c(0xa4)]({value:_0x3accef}){const _0x5dc15d=_0xbdd41c,{editor:_0x1c5824}=this,_0x23746b=_0x1c5824[_0x5dc15d(0xa2)][_0x5dc15d(0x9e)](_0x25dcce),_0x87cbe6=_0x23746b[_0x5dc15d(0x97)]();_0x87cbe6&&Number[_0x5dc15d(0xa0)](_0x3accef)&&_0x1c5824[_0x5dc15d(0xac)][_0x5dc15d(0xa6)](_0x2548c6=>{const _0x4f5e12=_0x5dc15d;_0x2548c6[_0x4f5e12(0x9b)](_0x4f5e12(0xa9),_0x3accef,_0x87cbe6),_0x23746b[_0x4f5e12(0x9d)](_0x2548c6);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32e024=_0x415d;(function(_0x5eee0e,_0x4afa55){const _0x99d7de=_0x415d,_0x5eddd4=_0x5eee0e();while(!![]){try{const _0x42b1f0=-parseInt(_0x99d7de(0x8a))/0x1*(-parseInt(_0x99d7de(0x93))/0x2)+parseInt(_0x99d7de(0x8b))/0x3*(parseInt(_0x99d7de(0xa1))/0x4)+-parseInt(_0x99d7de(0x92))/0x5*(-parseInt(_0x99d7de(0x8e))/0x6)+parseInt(_0x99d7de(0x94))/0x7*(parseInt(_0x99d7de(0x91))/0x8)+-parseInt(_0x99d7de(0x8f))/0x9+-parseInt(_0x99d7de(0x97))/0xa+parseInt(_0x99d7de(0x95))/0xb;if(_0x42b1f0===_0x4afa55)break;else _0x5eddd4['push'](_0x5eddd4['shift']());}catch(_0x4f30ce){_0x5eddd4['push'](_0x5eddd4['shift']());}}}(_0xa832,0x24eb3));import{Command as _0x33ddd3}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x5c974b}from'../footnotespropertiesconfig.js';function _0x415d(_0x155116,_0x48bfe8){const _0xa832a6=_0xa832();return _0x415d=function(_0x415d07,_0x52ec7a){_0x415d07=_0x415d07-0x8a;let _0x23a48d=_0xa832a6[_0x415d07];return _0x23a48d;},_0x415d(_0x155116,_0x48bfe8);}import{FootnotesTracker as _0x223577}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x33ddd3{[_0x32e024(0x9d)](){const _0xdf6ae4=_0x32e024,{editor:_0x849078}=this,_0x3cfc8f=_0x849078[_0xdf6ae4(0x9e)][_0xdf6ae4(0x98)](_0x223577)[_0xdf6ae4(0x96)]();this[_0xdf6ae4(0x9a)]=!!_0x3cfc8f,this[_0xdf6ae4(0x8d)]=_0x3cfc8f?.[_0xdf6ae4(0x9f)](_0xdf6ae4(0x9b))??null;}[_0x32e024(0x8c)]({value:_0x46601e}){const _0x535266=_0x32e024,{editor:_0x87e22c}=this,_0x192d92=_0x87e22c[_0x535266(0x9e)][_0x535266(0x98)](_0x223577),_0x4cdee8=_0x192d92[_0x535266(0x96)]();_0x4cdee8&&_0x5c974b[_0x535266(0xa0)](_0x46601e)&&_0x87e22c[_0x535266(0x99)][_0x535266(0x90)](_0x241854=>{const _0x51f676=_0x535266;_0x241854[_0x51f676(0x9c)](_0x51f676(0x9b),_0x46601e,_0x4cdee8),_0x192d92[_0x51f676(0xa2)](_0x241854);});}}function _0xa832(){const _0x13bbb2=['value','12iniTzZ','1180701HacHgT','change','16ojhTxC','84425eEIOMF','2AhSUJb','475139lLDmNr','2110625OzWVoN','getFootnotesDefinitionsObjectElement','2176370yjjDjA','get','model','isEnabled','footnotesListStyle','setAttribute','refresh','plugins','getAttribute','includes','5592WKhhNG','_updateFootnotesCounters','11428sSAssc','273SZvUfs','execute'];_0xa832=function(){return _0x13bbb2;};return _0xa832();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x462a(){const _0x18bea2=['upper-alpha','963aLkjqp','756792KTuHjj','lower-alpha','468600MByyIP','686889EmupKm','lower-latin','580810dkvSla','decimal-leading-zero','upper-latin','156120FdXwXM','upper-roman','378UnmZql','40emLZvb','decimal','16856xvjAXG','112CZfQUh','lower-roman'];_0x462a=function(){return _0x18bea2;};return _0x462a();}const _0x4bac7e=_0x4182;(function(_0x5297a2,_0x2a0c5e){const _0x4ec86a=_0x4182,_0x5b6f82=_0x5297a2();while(!![]){try{const _0x197c05=parseInt(_0x4ec86a(0xac))/0x1*(parseInt(_0x4ec86a(0xa5))/0x2)+parseInt(_0x4ec86a(0xaf))/0x3+-parseInt(_0x4ec86a(0xad))/0x4+parseInt(_0x4ec86a(0xa6))/0x5*(-parseInt(_0x4ec86a(0xa3))/0x6)+-parseInt(_0x4ec86a(0xa8))/0x7*(-parseInt(_0x4ec86a(0xa9))/0x8)+parseInt(_0x4ec86a(0xb0))/0x9+parseInt(_0x4ec86a(0xb2))/0xa;if(_0x197c05===_0x2a0c5e)break;else _0x5b6f82['push'](_0x5b6f82['shift']());}catch(_0x43e188){_0x5b6f82['push'](_0x5b6f82['shift']());}}}(_0x462a,0x1a9a3));function _0x4182(_0x175a31,_0x28c460){const _0x462a67=_0x462a();return _0x4182=function(_0x41823b,_0xb71251){_0x41823b=_0x41823b-0xa3;let _0x13b8f8=_0x462a67[_0x41823b];return _0x13b8f8;},_0x4182(_0x175a31,_0x28c460);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x4bac7e(0xa7),_0x4bac7e(0xb3),_0x4bac7e(0xb1),_0x4bac7e(0xb4),_0x4bac7e(0xae),_0x4bac7e(0xab),_0x4bac7e(0xaa),_0x4bac7e(0xa4)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4a0e94=_0x95cc;(function(_0x412b11,_0x44b65c){const _0x1cc6b4=_0x95cc,_0x5c90da=_0x412b11();while(!![]){try{const _0x3d4f78=parseInt(_0x1cc6b4(0x17f))/0x1*(-parseInt(_0x1cc6b4(0x157))/0x2)+-parseInt(_0x1cc6b4(0x169))/0x3+parseInt(_0x1cc6b4(0x16a))/0x4+parseInt(_0x1cc6b4(0x13a))/0x5*(-parseInt(_0x1cc6b4(0x142))/0x6)+parseInt(_0x1cc6b4(0x189))/0x7+parseInt(_0x1cc6b4(0x162))/0x8+-parseInt(_0x1cc6b4(0x15f))/0x9;if(_0x3d4f78===_0x44b65c)break;else _0x5c90da['push'](_0x5c90da['shift']());}catch(_0x240159){_0x5c90da['push'](_0x5c90da['shift']());}}}(_0x2ced,0xd241b));import{Plugin as _0xcb15cc}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x143d70}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x238e1a}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x5093c7}from'../footnotestracker.js';function _0x2ced(){const _0x52d002=['registerPostFixer','name','4020YldAlW','start','padStart','schema','footnotes-list','getItems','_getDefaultStartIndex','attribute:footnotesListStart:footnotesDefinitions','5286kalbHP','viewItem','upper-latin','for','decimal-leading-zero','element','removeAttribute','document','consumable','lower-alpha','hasAttribute','footnotesStyle','mapper','setFootnoteFormatter','footnotesListStyle','_defineConverters','floor','footnotesStart','setStyle','toViewElement','lower-roman','12398dAELkw','_defineFormatter','add','getStyle','getAttribute','setAttribute','pluginName','max','6498729XpDbdA','init','getChildren','12964584jhnYny','type','element:ol','toLowerCase','upper-roman','position','requires','831369bnLREn','2916640AiVVpJ','upcast','get','find','writer','createRangeOn','_formatFootnoteListValue','config','_defineSchema','differ','$text','commands','footnotes.footnotesProperties.defaultStartIndex','hasClass','footnotesListStart','isNaN','item','attribute:footnotesListStyle:footnotesDefinitions','toUpperCase','insert','parent','40hQVJWw','_updateFootnotesCounters','modelCursor','isPremiumPlugin','FootnotesPropertiesEditing','isOfficialPlugin','extend','fromCharCode','_definePostfixer','lower-latin','3268762RDKHem','define','plugins','nodeAfter','footnotesDefinitions','model','upper-alpha','_getDefaultListStyle','footnotes.footnotesProperties.defaultListStyle','list-style-type','decimal','editor','getChanges','removeStyle','parseInt','checkAttribute','consume','from','downcast'];_0x2ced=function(){return _0x52d002;};return _0x2ced();}import{FootnotesEditing as _0x234908}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0xcb15cc{static get[_0x4a0e94(0x15d)](){const _0x1d1799=_0x4a0e94;return _0x1d1799(0x183);}static get[_0x4a0e94(0x168)](){return[_0x234908,_0x5093c7];}static get[_0x4a0e94(0x184)](){return!0x0;}static get[_0x4a0e94(0x182)](){return!0x0;}[_0x4a0e94(0x160)](){const _0xe937b=_0x4a0e94,{editor:_0x16d269}=this;_0x16d269[_0xe937b(0x171)][_0xe937b(0x18a)](_0xe937b(0x12d),_0xe937b(0x12f)),_0x16d269[_0xe937b(0x171)][_0xe937b(0x18a)](_0xe937b(0x176),0x1),_0x16d269[_0xe937b(0x175)][_0xe937b(0x159)](_0xe937b(0x14d),new _0x143d70(_0x16d269)),_0x16d269[_0xe937b(0x175)][_0xe937b(0x159)](_0xe937b(0x153),new _0x238e1a(_0x16d269)),this[_0xe937b(0x172)](),this[_0xe937b(0x151)](),this[_0xe937b(0x158)](),this[_0xe937b(0x187)]();}[_0x4a0e94(0x172)](){const _0x5116e5=_0x4a0e94,{editor:_0xe30595}=this,{schema:_0x8bad88}=_0xe30595[_0x5116e5(0x18e)];_0x8bad88[_0x5116e5(0x185)](_0x5116e5(0x18d),{'allowAttributes':[_0x5116e5(0x150),_0x5116e5(0x178)]});}[_0x4a0e94(0x151)](){const _0xb803d4=_0x4a0e94,{editor:_0x425215}=this,{conversion:_0x4d7346,model:_0x2e4d1d}=_0x425215,{schema:_0x20341f}=_0x2e4d1d;_0x4d7346[_0xb803d4(0x145)](_0xb803d4(0x16b))[_0xb803d4(0x159)](_0x1cfe9f=>{const _0x36cc87=_0xb803d4;_0x1cfe9f['on'](_0x36cc87(0x164),(_0x5eb2d9,_0x22af7b,_0x5ec815)=>{const _0x24a4b2=_0x36cc87,_0x2f3e70=_0x22af7b[_0x24a4b2(0x143)],_0x276c3f=_0x22af7b[_0x24a4b2(0x181)]?.[_0x24a4b2(0x17e)];_0x2f3e70[_0x24a4b2(0x177)](_0x24a4b2(0x13e))&&_0x276c3f?.['is'](_0x24a4b2(0x147),_0x24a4b2(0x18d))&&(function(_0x29550b,_0x46b1b0,_0x4b6afc,_0x5805da){const _0x351e34=_0x24a4b2;if(!_0x5805da[_0x351e34(0x134)](_0x46b1b0,_0x351e34(0x178)))return;let _0x54c481=0x1;const _0x1f1d9b=_0x4b6afc[_0x351e34(0x14a)][_0x351e34(0x135)](_0x29550b,{'attributes':_0x351e34(0x13b)});if(_0x1f1d9b){const _0x197204=Number[_0x351e34(0x133)](_0x29550b[_0x351e34(0x15b)](_0x351e34(0x13b)),0xa);Number[_0x351e34(0x179)](_0x197204)||(_0x54c481=_0x197204);}!_0x1f1d9b&&_0x46b1b0[_0x351e34(0x14c)](_0x351e34(0x178))||_0x4b6afc[_0x351e34(0x16e)][_0x351e34(0x15c)](_0x351e34(0x178),_0x54c481,_0x46b1b0);}(_0x2f3e70,_0x276c3f,_0x5ec815,_0x20341f),function(_0x5da673,_0x3a7f32,_0x467477,_0x2cfb9e){const _0x118e59=_0x24a4b2;if(!_0x2cfb9e[_0x118e59(0x134)](_0x3a7f32,_0x118e59(0x150)))return;let _0x422cb2=_0x118e59(0x12f),_0x29de40=!0x1;if(_0x467477[_0x118e59(0x14a)][_0x118e59(0x135)](_0x5da673,{'attributes':_0x118e59(0x163)})){const _0x1e73fb={0x1:_0x118e59(0x12f),'a':_0x118e59(0x14b),'A':_0x118e59(0x18f),'i':_0x118e59(0x156),'I':_0x118e59(0x166)}[_0x5da673[_0x118e59(0x15b)](_0x118e59(0x163))];_0x1e73fb&&(_0x422cb2=_0x1e73fb),_0x29de40=!0x0;}_0x467477[_0x118e59(0x14a)][_0x118e59(0x135)](_0x5da673,{'styles':_0x118e59(0x12e)})&&(_0x422cb2=function(_0x414d0d){const _0x1e09a6=_0x118e59;switch(_0x414d0d){case _0x1e09a6(0x14b):return _0x1e09a6(0x188);case _0x1e09a6(0x18f):return _0x1e09a6(0x144);default:return _0x414d0d;}}(_0x5da673[_0x118e59(0x15a)](_0x118e59(0x12e))),_0x29de40=!0x0),!_0x29de40&&_0x3a7f32[_0x118e59(0x14c)](_0x118e59(0x150))||_0x467477[_0x118e59(0x16e)][_0x118e59(0x15c)](_0x118e59(0x150),_0x422cb2,_0x3a7f32);}(_0x2f3e70,_0x276c3f,_0x5ec815,_0x20341f));});}),_0x4d7346[_0xb803d4(0x145)](_0xb803d4(0x137))[_0xb803d4(0x159)](_0x4f1492=>{const _0x38c8c2=_0xb803d4;_0x4f1492['on'](_0x38c8c2(0x141),(_0x123ec9,_0x503cb9,_0xa4daec)=>{const _0x28b201=_0x38c8c2;if(!_0xa4daec[_0x28b201(0x14a)][_0x28b201(0x135)](_0x503cb9[_0x28b201(0x17a)],_0x123ec9[_0x28b201(0x139)]))return;const _0xf2b69e=M(_0x503cb9[_0x28b201(0x17a)],_0xa4daec[_0x28b201(0x14e)]),{attributeNewValue:_0x561aee}=_0x503cb9;null==_0x561aee||0x1===_0x561aee?_0xa4daec[_0x28b201(0x16e)][_0x28b201(0x148)](_0x28b201(0x13b),_0xf2b69e):_0xa4daec[_0x28b201(0x16e)][_0x28b201(0x15c)](_0x28b201(0x13b),String(_0x561aee),_0xf2b69e);}),_0x4f1492['on'](_0x38c8c2(0x17b),(_0x2fa00,_0x58ee84,_0x3b6aaa)=>{const _0x2ba95c=_0x38c8c2;if(!_0x3b6aaa[_0x2ba95c(0x14a)][_0x2ba95c(0x135)](_0x58ee84[_0x2ba95c(0x17a)],_0x2fa00[_0x2ba95c(0x139)]))return;const _0x1bbb90=M(_0x58ee84[_0x2ba95c(0x17a)],_0x3b6aaa[_0x2ba95c(0x14e)]),{attributeNewValue:_0x4b25cb}=_0x58ee84;_0x4b25cb&&_0x2ba95c(0x12f)!==_0x4b25cb?_0x3b6aaa[_0x2ba95c(0x16e)][_0x2ba95c(0x154)](_0x2ba95c(0x12e),_0x4b25cb,_0x1bbb90):_0x3b6aaa[_0x2ba95c(0x16e)][_0x2ba95c(0x132)](_0x2ba95c(0x12e),_0x1bbb90);});});}[_0x4a0e94(0x187)](){const _0x3f2abc=_0x4a0e94,{editor:_0x4d1fba}=this,{model:_0xdd415d}=_0x4d1fba,_0x187671=_0x4d1fba[_0x3f2abc(0x18b)][_0x3f2abc(0x16c)](_0x5093c7),_0x4747c4=this[_0x3f2abc(0x12c)](),_0x7cf0a1=this[_0x3f2abc(0x140)]();_0xdd415d[_0x3f2abc(0x149)][_0x3f2abc(0x138)](_0x5d7f3b=>{const _0x4517d9=_0x3f2abc,_0xd30187=_0xdd415d[_0x4517d9(0x149)][_0x4517d9(0x173)][_0x4517d9(0x131)]();let _0x59e545=!0x1;for(const _0x36d874 of _0xd30187){if(_0x4517d9(0x17d)!==_0x36d874[_0x4517d9(0x163)]||_0x4517d9(0x174)===_0x36d874[_0x4517d9(0x139)])continue;const _0x253f15=_0xdd415d[_0x4517d9(0x16f)](_0x36d874[_0x4517d9(0x167)][_0x4517d9(0x18c)]);for(const _0x1f0b39 of _0x253f15[_0x4517d9(0x13f)]())_0x1f0b39['is'](_0x4517d9(0x147),_0x4517d9(0x18d))&&(!_0x1f0b39[_0x4517d9(0x14c)](_0x4517d9(0x178))&&_0xdd415d[_0x4517d9(0x13d)][_0x4517d9(0x134)](_0x1f0b39,_0x4517d9(0x178))&&(_0x5d7f3b[_0x4517d9(0x15c)](_0x4517d9(0x178),_0x7cf0a1,_0x1f0b39),_0x59e545=!0x0),!_0x1f0b39[_0x4517d9(0x14c)](_0x4517d9(0x150))&&_0xdd415d[_0x4517d9(0x13d)][_0x4517d9(0x134)](_0x1f0b39,_0x4517d9(0x150))&&(_0x5d7f3b[_0x4517d9(0x15c)](_0x4517d9(0x150),_0x4747c4,_0x1f0b39),_0x59e545=!0x0));}return _0x59e545&&_0x187671[_0x4517d9(0x180)](_0x5d7f3b),_0x59e545;});}[_0x4a0e94(0x158)](){const _0x10445d=_0x4a0e94,{editor:_0xfa2045}=this;_0xfa2045[_0x10445d(0x18b)][_0x10445d(0x16c)](_0x5093c7)[_0x10445d(0x14f)](_0x1e4d8e=>this[_0x10445d(0x170)](_0x1e4d8e));}[_0x4a0e94(0x12c)](){const _0xc9db28=_0x4a0e94;return this[_0xc9db28(0x130)][_0xc9db28(0x171)][_0xc9db28(0x16c)](_0xc9db28(0x12d));}[_0x4a0e94(0x140)](){const _0x345817=_0x4a0e94;return this[_0x345817(0x130)][_0x345817(0x171)][_0x345817(0x16c)](_0x345817(0x176));}[_0x4a0e94(0x170)]({container:_0x5a0750,value:_0x4ae242,digits:_0x336d10}){const _0x2ce809=_0x4a0e94,_0x1e0658=_0x5a0750[_0x2ce809(0x15b)](_0x2ce809(0x150)),_0x3b74e9=_0x5a0750[_0x2ce809(0x15b)](_0x2ce809(0x178)),_0x49d0c7=Math[_0x2ce809(0x152)](_0x4ae242)+(_0x3b74e9??0x1)-0x1;switch(_0x1e0658){case _0x2ce809(0x146):return function(_0x4b49b7,_0x85c8a6){const _0x3fa476=_0x2ce809;return String(_0x4b49b7)[_0x3fa476(0x13c)](_0x85c8a6,'0');}(_0x49d0c7,Math[_0x2ce809(0x15e)](0x2,_0x336d10));case _0x2ce809(0x14b):case _0x2ce809(0x188):return N(_0x49d0c7,!0x1);case _0x2ce809(0x18f):case _0x2ce809(0x144):return N(_0x49d0c7,!0x0);case _0x2ce809(0x156):return X(_0x49d0c7,!0x1);case _0x2ce809(0x166):return X(_0x49d0c7,!0x0);default:return String(_0x49d0c7);}}}function M(_0x2985f4,_0x3928da){const _0xb74634=_0x4a0e94,_0x4663c3=_0x3928da[_0xb74634(0x155)](_0x2985f4);return Array[_0xb74634(0x136)](_0x4663c3[_0xb74634(0x161)]())[_0xb74634(0x16d)](_0x50e4a5=>_0x50e4a5['is'](_0xb74634(0x147),'ol')&&_0x50e4a5[_0xb74634(0x177)](_0xb74634(0x13e)));}function N(_0x2f1acf,_0x46b8fc){const _0x124e55=_0x4a0e94;let _0x54847d='',_0x181a39=_0x2f1acf;for(;_0x181a39>0x0;){const _0x3fdb74=(_0x181a39-0x1)%0x1a;_0x54847d=String[_0x124e55(0x186)](0x61+_0x3fdb74)+_0x54847d,_0x181a39=Math[_0x124e55(0x152)]((_0x181a39-0x1)/0x1a);}return _0x46b8fc?_0x54847d[_0x124e55(0x17c)]():_0x54847d;}function _0x95cc(_0x51853f,_0xe0105b){const _0x2ced09=_0x2ced();return _0x95cc=function(_0x95cc6c,_0xfe0af1){_0x95cc6c=_0x95cc6c-0x12c;let _0x130f44=_0x2ced09[_0x95cc6c];return _0x130f44;},_0x95cc(_0x51853f,_0xe0105b);}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(_0xaa2dd8,_0x5d9f8c){const _0x3f3800=_0x4a0e94;let _0xeab7cb='',_0x379ee5=_0xaa2dd8;for(const {value:_0x6aba76,numeral:_0x172298}of V)for(;_0x379ee5>=_0x6aba76;)_0xeab7cb+=_0x172298,_0x379ee5-=_0x6aba76;return _0x5d9f8c?_0xeab7cb:_0xeab7cb[_0x3f3800(0x165)]();}
|
|
23
|
+
const _0x311e0=_0x37a6;function _0x37a6(_0x35e436,_0x3b6353){const _0x502835=_0x5028();return _0x37a6=function(_0x37a678,_0x364aad){_0x37a678=_0x37a678-0x1e6;let _0x4835b4=_0x502835[_0x37a678];return _0x4835b4;},_0x37a6(_0x35e436,_0x3b6353);}(function(_0x27e79f,_0x595c29){const _0x598d64=_0x37a6,_0x5f192a=_0x27e79f();while(!![]){try{const _0x1e88b2=-parseInt(_0x598d64(0x1ed))/0x1+parseInt(_0x598d64(0x247))/0x2*(parseInt(_0x598d64(0x239))/0x3)+parseInt(_0x598d64(0x201))/0x4+parseInt(_0x598d64(0x222))/0x5+parseInt(_0x598d64(0x1fb))/0x6+parseInt(_0x598d64(0x203))/0x7*(-parseInt(_0x598d64(0x1ff))/0x8)+-parseInt(_0x598d64(0x241))/0x9*(-parseInt(_0x598d64(0x1f8))/0xa);if(_0x1e88b2===_0x595c29)break;else _0x5f192a['push'](_0x5f192a['shift']());}catch(_0x5599a3){_0x5f192a['push'](_0x5f192a['shift']());}}}(_0x5028,0x1db73));import{Plugin as _0x547aa8}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x2ddf6a}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0xc1b8a7}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x5afa7c}from'../footnotestracker.js';import{FootnotesEditing as _0x54f924}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x547aa8{static get[_0x311e0(0x210)](){const _0x1baa07=_0x311e0;return _0x1baa07(0x23a);}static get[_0x311e0(0x1f6)](){return[_0x54f924,_0x5afa7c];}static get[_0x311e0(0x208)](){return!0x0;}static get[_0x311e0(0x211)](){return!0x0;}[_0x311e0(0x226)](){const _0x34fae8=_0x311e0,{editor:_0x2640c5}=this;_0x2640c5[_0x34fae8(0x238)][_0x34fae8(0x21b)](_0x34fae8(0x223),_0x34fae8(0x240)),_0x2640c5[_0x34fae8(0x238)][_0x34fae8(0x21b)](_0x34fae8(0x1f9),0x1),_0x2640c5[_0x34fae8(0x230)][_0x34fae8(0x23e)](_0x34fae8(0x1e9),new _0x2ddf6a(_0x2640c5)),_0x2640c5[_0x34fae8(0x230)][_0x34fae8(0x23e)](_0x34fae8(0x1f0),new _0xc1b8a7(_0x2640c5)),this[_0x34fae8(0x204)](),this[_0x34fae8(0x236)](),this[_0x34fae8(0x229)](),this[_0x34fae8(0x217)]();}[_0x311e0(0x204)](){const _0x4f08e4=_0x311e0,{editor:_0x3e2248}=this,{schema:_0x1204a9}=_0x3e2248[_0x4f08e4(0x215)];_0x1204a9[_0x4f08e4(0x243)](_0x4f08e4(0x214),{'allowAttributes':[_0x4f08e4(0x213),_0x4f08e4(0x249)]});}[_0x311e0(0x236)](){const _0xaadaac=_0x311e0,{editor:_0x5b08db}=this,{conversion:_0x55c083,model:_0x567831}=_0x5b08db,{schema:_0x3dc320}=_0x567831;_0x55c083[_0xaadaac(0x1fe)](_0xaadaac(0x237))[_0xaadaac(0x23e)](_0x43d077=>{const _0x479c8d=_0xaadaac;_0x43d077['on'](_0x479c8d(0x22a),(_0x3e4f89,_0x3c78b7,_0x315dce)=>{const _0x135d62=_0x479c8d,_0x566e35=_0x3c78b7[_0x135d62(0x1e7)],_0x31553d=_0x3c78b7[_0x135d62(0x218)]?.[_0x135d62(0x20f)];_0x566e35[_0x135d62(0x202)](_0x135d62(0x231))&&_0x31553d?.['is'](_0x135d62(0x1fc),_0x135d62(0x214))&&(function(_0x4c6c1c,_0x460b90,_0x1793be,_0x3b08b7){const _0xc572cc=_0x135d62;if(!_0x3b08b7[_0xc572cc(0x1ec)](_0x460b90,_0xc572cc(0x249)))return;let _0x6e1813=0x1;const _0x2ed718=_0x1793be[_0xc572cc(0x1f5)][_0xc572cc(0x233)](_0x4c6c1c,{'attributes':_0xc572cc(0x224)});if(_0x2ed718){const _0x46dee9=Number[_0xc572cc(0x206)](_0x4c6c1c[_0xc572cc(0x1f4)](_0xc572cc(0x224)),0xa);Number[_0xc572cc(0x23b)](_0x46dee9)||(_0x6e1813=_0x46dee9);}!_0x2ed718&&_0x460b90[_0xc572cc(0x221)](_0xc572cc(0x249))||_0x1793be[_0xc572cc(0x23d)][_0xc572cc(0x207)](_0xc572cc(0x249),_0x6e1813,_0x460b90);}(_0x566e35,_0x31553d,_0x315dce,_0x3dc320),function(_0x271f86,_0x1850e1,_0x25df2f,_0x3f6ab2){const _0xbb5448=_0x135d62;if(!_0x3f6ab2[_0xbb5448(0x1ec)](_0x1850e1,_0xbb5448(0x213)))return;let _0x586aab=_0xbb5448(0x240),_0x529003=!0x1;if(_0x25df2f[_0xbb5448(0x1f5)][_0xbb5448(0x233)](_0x271f86,{'attributes':_0xbb5448(0x205)})){const _0x4c4b91={0x1:_0xbb5448(0x240),'a':_0xbb5448(0x23f),'A':_0xbb5448(0x22c),'i':_0xbb5448(0x220),'I':_0xbb5448(0x20d)}[_0x271f86[_0xbb5448(0x1f4)](_0xbb5448(0x205))];_0x4c4b91&&(_0x586aab=_0x4c4b91),_0x529003=!0x0;}_0x25df2f[_0xbb5448(0x1f5)][_0xbb5448(0x233)](_0x271f86,{'styles':_0xbb5448(0x1ef)})&&(_0x586aab=function(_0x3a98b1){const _0x35dbed=_0xbb5448;switch(_0x3a98b1){case _0x35dbed(0x23f):return _0x35dbed(0x232);case _0x35dbed(0x22c):return _0x35dbed(0x200);default:return _0x3a98b1;}}(_0x271f86[_0xbb5448(0x1f3)](_0xbb5448(0x1ef))),_0x529003=!0x0),!_0x529003&&_0x1850e1[_0xbb5448(0x221)](_0xbb5448(0x213))||_0x25df2f[_0xbb5448(0x23d)][_0xbb5448(0x207)](_0xbb5448(0x213),_0x586aab,_0x1850e1);}(_0x566e35,_0x31553d,_0x315dce,_0x3dc320));});}),_0x55c083[_0xaadaac(0x1fe)](_0xaadaac(0x1e8))[_0xaadaac(0x23e)](_0x449d61=>{const _0x26df3b=_0xaadaac;_0x449d61['on'](_0x26df3b(0x1ee),(_0x6d8315,_0x3ed637,_0x2bbde3)=>{const _0x1afa6a=_0x26df3b;if(!_0x2bbde3[_0x1afa6a(0x1f5)][_0x1afa6a(0x233)](_0x3ed637[_0x1afa6a(0x227)],_0x6d8315[_0x1afa6a(0x216)]))return;const _0x1cb544=M(_0x3ed637[_0x1afa6a(0x227)],_0x2bbde3[_0x1afa6a(0x1fa)]),{attributeNewValue:_0x3a6952}=_0x3ed637;null==_0x3a6952||0x1===_0x3a6952?_0x2bbde3[_0x1afa6a(0x23d)][_0x1afa6a(0x234)](_0x1afa6a(0x224),_0x1cb544):_0x2bbde3[_0x1afa6a(0x23d)][_0x1afa6a(0x207)](_0x1afa6a(0x224),String(_0x3a6952),_0x1cb544);}),_0x449d61['on'](_0x26df3b(0x248),(_0x2e82ed,_0x3efabb,_0x302029)=>{const _0x491144=_0x26df3b;if(!_0x302029[_0x491144(0x1f5)][_0x491144(0x233)](_0x3efabb[_0x491144(0x227)],_0x2e82ed[_0x491144(0x216)]))return;const _0x2c98f5=M(_0x3efabb[_0x491144(0x227)],_0x302029[_0x491144(0x1fa)]),{attributeNewValue:_0x4a3732}=_0x3efabb;_0x4a3732&&_0x491144(0x240)!==_0x4a3732?_0x302029[_0x491144(0x23d)][_0x491144(0x235)](_0x491144(0x1ef),_0x4a3732,_0x2c98f5):_0x302029[_0x491144(0x23d)][_0x491144(0x21f)](_0x491144(0x1ef),_0x2c98f5);});});}[_0x311e0(0x217)](){const _0x1b3b46=_0x311e0,{editor:_0x553d7a}=this,{model:_0x3fab49}=_0x553d7a,_0x569e2a=_0x553d7a[_0x1b3b46(0x20c)][_0x1b3b46(0x22b)](_0x5afa7c),_0x321bed=this[_0x1b3b46(0x1e6)](),_0x370c1e=this[_0x1b3b46(0x23c)]();_0x3fab49[_0x1b3b46(0x20b)][_0x1b3b46(0x1f1)](_0x55b3f8=>{const _0x3e2035=_0x1b3b46,_0x151ea0=_0x3fab49[_0x3e2035(0x20b)][_0x3e2035(0x22d)][_0x3e2035(0x20e)]();let _0x398aab=!0x1;for(const _0x45fad7 of _0x151ea0){if(_0x3e2035(0x245)!==_0x45fad7[_0x3e2035(0x205)]||_0x3e2035(0x228)===_0x45fad7[_0x3e2035(0x216)])continue;const _0x54e8d9=_0x3fab49[_0x3e2035(0x225)](_0x45fad7[_0x3e2035(0x242)][_0x3e2035(0x21c)]);for(const _0x4245ff of _0x54e8d9[_0x3e2035(0x21d)]())_0x4245ff['is'](_0x3e2035(0x1fc),_0x3e2035(0x214))&&(!_0x4245ff[_0x3e2035(0x221)](_0x3e2035(0x249))&&_0x3fab49[_0x3e2035(0x1f2)][_0x3e2035(0x1ec)](_0x4245ff,_0x3e2035(0x249))&&(_0x55b3f8[_0x3e2035(0x207)](_0x3e2035(0x249),_0x370c1e,_0x4245ff),_0x398aab=!0x0),!_0x4245ff[_0x3e2035(0x221)](_0x3e2035(0x213))&&_0x3fab49[_0x3e2035(0x1f2)][_0x3e2035(0x1ec)](_0x4245ff,_0x3e2035(0x213))&&(_0x55b3f8[_0x3e2035(0x207)](_0x3e2035(0x213),_0x321bed,_0x4245ff),_0x398aab=!0x0));}return _0x398aab&&_0x569e2a[_0x3e2035(0x21e)](_0x55b3f8),_0x398aab;});}[_0x311e0(0x229)](){const _0x30aa10=_0x311e0,{editor:_0xa5d82}=this;_0xa5d82[_0x30aa10(0x20c)][_0x30aa10(0x22b)](_0x5afa7c)[_0x30aa10(0x244)](_0x4a0286=>this[_0x30aa10(0x1ea)](_0x4a0286));}[_0x311e0(0x1e6)](){const _0x248c20=_0x311e0;return this[_0x248c20(0x1fd)][_0x248c20(0x238)][_0x248c20(0x22b)](_0x248c20(0x223));}[_0x311e0(0x23c)](){const _0x461d20=_0x311e0;return this[_0x461d20(0x1fd)][_0x461d20(0x238)][_0x461d20(0x22b)](_0x461d20(0x1f9));}[_0x311e0(0x1ea)]({container:_0xc163a1,value:_0x27dcb4,digits:_0x39b4e4}){const _0x138f9b=_0x311e0,_0x4aae04=_0xc163a1[_0x138f9b(0x1f4)](_0x138f9b(0x213)),_0x2f2cfd=_0xc163a1[_0x138f9b(0x1f4)](_0x138f9b(0x249)),_0x1ffd0a=Math[_0x138f9b(0x212)](_0x27dcb4)+(_0x2f2cfd??0x1)-0x1;switch(_0x4aae04){case _0x138f9b(0x246):return function(_0x571d86,_0x2b83ff){const _0x27d5f7=_0x138f9b;return String(_0x571d86)[_0x27d5f7(0x1f7)](_0x2b83ff,'0');}(_0x1ffd0a,Math[_0x138f9b(0x209)](0x2,_0x39b4e4));case _0x138f9b(0x23f):case _0x138f9b(0x232):return N(_0x1ffd0a,!0x1);case _0x138f9b(0x22c):case _0x138f9b(0x200):return N(_0x1ffd0a,!0x0);case _0x138f9b(0x220):return X(_0x1ffd0a,!0x1);case _0x138f9b(0x20d):return X(_0x1ffd0a,!0x0);default:return String(_0x1ffd0a);}}}function M(_0x332b45,_0x18ed15){const _0x4fbb02=_0x311e0,_0x205e8b=_0x18ed15[_0x4fbb02(0x20a)](_0x332b45);return Array[_0x4fbb02(0x1eb)](_0x205e8b[_0x4fbb02(0x22e)]())[_0x4fbb02(0x22f)](_0xf7e7fe=>_0xf7e7fe['is'](_0x4fbb02(0x1fc),'ol')&&_0xf7e7fe[_0x4fbb02(0x202)](_0x4fbb02(0x231)));}function N(_0x569d45,_0x49370f){const _0x1d88fb=_0x311e0;let _0x352edc='',_0x29fa1e=_0x569d45;for(;_0x29fa1e>0x0;){const _0x22a747=(_0x29fa1e-0x1)%0x1a;_0x352edc=String[_0x1d88fb(0x24a)](0x61+_0x22a747)+_0x352edc,_0x29fa1e=Math[_0x1d88fb(0x212)]((_0x29fa1e-0x1)/0x1a);}return _0x49370f?_0x352edc[_0x1d88fb(0x219)]():_0x352edc;}function _0x5028(){const _0x286fde=['getItems','_updateFootnotesCounters','removeStyle','lower-roman','hasAttribute','166220IoSYed','footnotes.footnotesProperties.defaultListStyle','start','createRangeOn','init','item','$text','_defineFormatter','element:ol','get','upper-alpha','differ','getChildren','find','commands','footnotes-list','lower-latin','consume','removeAttribute','setStyle','_defineConverters','upcast','config','8901iJmbQz','FootnotesPropertiesEditing','isNaN','_getDefaultStartIndex','writer','add','lower-alpha','decimal','121473rAUadE','position','extend','setFootnoteFormatter','insert','decimal-leading-zero','56oGtOES','attribute:footnotesListStyle:footnotesDefinitions','footnotesListStart','fromCharCode','_getDefaultListStyle','viewItem','downcast','footnotesStyle','_formatFootnoteListValue','from','checkAttribute','124171LoBFIJ','attribute:footnotesListStart:footnotesDefinitions','list-style-type','footnotesStart','registerPostFixer','schema','getStyle','getAttribute','consumable','requires','padStart','190bsZUGP','footnotes.footnotesProperties.defaultStartIndex','mapper','147630omoBmq','element','editor','for','64HXQZQq','upper-latin','60568RDMGfs','hasClass','145796HrUwJk','_defineSchema','type','parseInt','setAttribute','isOfficialPlugin','max','toViewElement','document','plugins','upper-roman','getChanges','parent','pluginName','isPremiumPlugin','floor','footnotesListStyle','footnotesDefinitions','model','name','_definePostfixer','modelCursor','toUpperCase','toLowerCase','define','nodeAfter'];_0x5028=function(){return _0x286fde;};return _0x5028();}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(_0x55a75f,_0x43ebec){const _0xe2752e=_0x311e0;let _0x27d69a='',_0x1a59a1=_0x55a75f;for(const {value:_0x5bc3c4,numeral:_0x15e713}of V)for(;_0x1a59a1>=_0x5bc3c4;)_0x27d69a+=_0x15e713,_0x1a59a1-=_0x5bc3c4;return _0x43ebec?_0x27d69a:_0x27d69a[_0xe2752e(0x21a)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x25060b,ButtonView as _0x55e65e,ContextualBalloon as _0x3a5696,createDropdown as _0x1dddd7}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x4fc63e}from'ckeditor5/src/widget.js';import{Plugin as _0x3beb02}from'ckeditor5/src/core.js';import{IconFootnote as _0x5b6049,IconListStyleDecimal as _0x2f6a96,IconListStyleDecimalLeadingZero as _0x3082cd,IconListStyleLowerLatin as _0x261966,IconListStyleLowerRoman as _0x419ec6,IconListStyleUpperLatin as _0x3246fb,IconListStyleUpperRoman as _0x59397}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x214564}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x57ff56}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x3beb02{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x3a5696,_0x4fc63e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x536229}=this,{componentFactory:_0x307b35}=_0x536229['ui'];_0x536229['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x307b35['add']('footnotesStyle',function(_0x33fa26){return _0x297574=>{const {t:t}=_0x297574,_0x4c1be9=_0x33fa26['commands']['get']('footnotesStyle'),_0x32ec2d=_0x1dddd7(_0x297574),{buttonView:_0x19b427}=_0x32ec2d;return _0x32ec2d['class']='ck-footnotes-styles-dropdown',_0x32ec2d['bind']('isEnabled')['to'](_0x4c1be9,'isEnabled'),_0x19b427['set']({'label':t('Footnotes\x20style'),'icon':_0x5b6049,'tooltip':!0x0}),_0x32ec2d['once']('change:isOpen',()=>{const _0x95eb5c=function({editor:_0x38212e,dropdownView:_0x58f696}){const {t:t}=_0x38212e['locale'],_0x199b24=t('Footnotes\x20definitions\x20styles'),_0xcd335f=function(_0x5494b7){const t=_0x5494b7['locale']['t'],_0x384ca8=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2f6a96},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3082cd},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x419ec6},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x59397},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x261966},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x3246fb}];return _0x384ca8['map'](function(_0x7bb38f){const _0x187686=_0x7bb38f['locale'];return({label:_0x3bba28,icon:_0x158512,tooltip:_0x25ed69,style:_0x2d0c90})=>{const _0x529264=_0x7bb38f['commands']['get']('footnotesStyle'),_0x5c60a4=new _0x55e65e(_0x187686);return _0x5c60a4['set']({'label':_0x3bba28,'icon':_0x158512,'tooltip':_0x25ed69}),_0x5c60a4['bind']('isOn')['to'](_0x529264,'value',_0x5da6f8=>_0x5da6f8===_0x2d0c90),_0x5c60a4['bind']('isEnabled')['to'](_0x529264,'isEnabled'),_0x5c60a4['on']('execute',()=>{_0x7bb38f['execute']('footnotesStyle',{'value':_0x2d0c90}),_0x7bb38f['editing']['view']['focus']();}),_0x5c60a4;};}(_0x5494b7));}(_0x38212e),_0x76e20f=new _0x214564(_0x38212e['locale'],{'styleGridAriaLabel':_0x199b24,'styleButtonViews':_0xcd335f}),_0x370e12=_0x38212e['commands']['get']('footnotesStart');return _0x76e20f['startIndexFieldView']['bind']('isEnabled')['to'](_0x370e12),_0x76e20f['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x370e12),_0x76e20f['on']('footnotesListStart',(_0x1cae19,_0x30a580)=>{_0x38212e['execute']('footnotesStart',{'value':_0x30a580['startIndex']});}),_0x76e20f['delegate']('execute')['to'](_0x58f696),_0x76e20f;}({'editor':_0x33fa26,'dropdownView':_0x32ec2d});_0x32ec2d['panelView']['children']['add'](_0x95eb5c);}),_0x32ec2d;};}(_0x536229));}['afterInit'](){const {editor:_0x2de3fa}=this,{t:t}=_0x2de3fa['locale'],_0x509a71=_0x2de3fa['plugins']['get'](_0x4fc63e),{defaultPositions:_0xcbdc0c}=_0x25060b;_0x509a71['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2de3fa['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x244a0f=>{let _0x2c5ff7=_0x244a0f['getFirstPosition']()?.['parent'];return _0x2c5ff7?.['is']('$text')&&(_0x2c5ff7=_0x2c5ff7['parent']),_0x2c5ff7?.['is']('element')?_0x2c5ff7['findAncestor'](_0x57ff56):null;},'positions':[_0xcbdc0c['southArrowNorth'],_0xcbdc0c['southArrowNorthMiddleWest'],_0xcbdc0c['southArrowNorthMiddleEast'],_0xcbdc0c['southArrowNorthWest'],_0xcbdc0c['southArrowNorthEast'],_0xcbdc0c['northArrowSouth'],_0xcbdc0c['northArrowSouthMiddleWest'],_0xcbdc0c['northArrowSouthMiddleEast'],_0xcbdc0c['northArrowSouthWest'],_0xcbdc0c['northArrowSouthEast'],_0xcbdc0c['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x137930,View as _0x2cb470,ViewCollection as _0x751b53,FocusCycler as _0x1b73f1,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et}from'ckeditor5/src/ui.js';import{FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x2cb470{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x751b53();['focusCycler'];constructor(_0x289d9f,{styleButtonViews:_0x1d3ac7,styleGridAriaLabel:_0x393690}){super(_0x289d9f),(this['focusCycler']=new _0x1b73f1({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1d3ac7,_0x393690),[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 _0x289dc5 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x289dc5['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x315d7f=_0x35a06f=>_0x35a06f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x315d7f),this['keystrokes']['set']('arrowleft',_0x315d7f),this['keystrokes']['set']('arrowup',_0x315d7f),this['keystrokes']['set']('arrowdown',_0x315d7f);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0xd94f9,_0xbc63dc){const _0x402866=new _0x2cb470(this['locale']);return _0x402866['children']=_0x402866['createCollection'](),_0x402866['children']['addMany'](_0xd94f9),_0x402866['setTemplate']({'tag':'div','attributes':{'aria-label':_0xbc63dc,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x402866['children']}),_0x402866['children']['delegate']('execute')['to'](this),_0x402866['focus']=function(){for(const _0x28f17e of this['children'])if(_0x28f17e instanceof _0x137930&&_0x28f17e['isOn'])return void _0x28f17e['focus']();this['children']['first']['focus']();},_0x402866['focusTracker']=new ot(),_0x402866['keystrokes']=new rt(),_0x402866['render'](),_0x402866['keystrokes']['listenTo'](_0x402866['element']),this['children']['add'](_0x402866),_0x402866;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0xc4f21e=this['_createStartIndexPropertyView'](),_0x2d8df9=[_0xc4f21e],_0x354251=new st(this['locale'],_0x2d8df9);return _0x354251['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x354251['buttonView']['bind']('isEnabled')['toMany'](_0x2d8df9,'isEnabled',(..._0x12d3a1)=>_0x12d3a1['some'](_0x30e694=>_0x30e694)),_0x354251['buttonView']['on']('change:isEnabled',(_0xf4fd70,_0x4ea000,_0x14713c)=>{_0x14713c||(_0x354251['isCollapsed']=!0x0);}),this['children']['add'](_0x354251),[_0xc4f21e,_0x354251];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5d867e=new it(this['locale'],et);return _0x5d867e['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5d867e['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5d867e['fieldView']['on']('input',()=>{const _0x4b80e3=_0x5d867e['fieldView']['element'],_0x50abb3=_0x4b80e3['valueAsNumber'];Number['isNaN'](_0x50abb3)?_0x5d867e['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4b80e3['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x50abb3}):_0x5d867e['errorText']=t(_0x50abb3<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5d867e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xd7d1dc=_0xfce2;function _0xfce2(_0x1e3d8e,_0x52a747){var _0x53007e=_0x5300();return _0xfce2=function(_0xfce265,_0x9e0c3d){_0xfce265=_0xfce265-0x1c9;var _0x5d27d2=_0x53007e[_0xfce265];return _0x5d27d2;},_0xfce2(_0x1e3d8e,_0x52a747);}(function(_0x469962,_0x3a353d){var _0x1b655b=_0xfce2,_0x31dc42=_0x469962();while(!![]){try{var _0x4e98a2=-parseInt(_0x1b655b(0x1d0))/0x1*(-parseInt(_0x1b655b(0x1cd))/0x2)+-parseInt(_0x1b655b(0x1d8))/0x3*(-parseInt(_0x1b655b(0x1cb))/0x4)+-parseInt(_0x1b655b(0x1ce))/0x5*(parseInt(_0x1b655b(0x1d5))/0x6)+-parseInt(_0x1b655b(0x1d2))/0x7+parseInt(_0x1b655b(0x1d6))/0x8*(parseInt(_0x1b655b(0x1ca))/0x9)+parseInt(_0x1b655b(0x1d7))/0xa+-parseInt(_0x1b655b(0x1d3))/0xb;if(_0x4e98a2===_0x3a353d)break;else _0x31dc42['push'](_0x31dc42['shift']());}catch(_0x5780a1){_0x31dc42['push'](_0x31dc42['shift']());}}}(_0x5300,0x2748f));import{Plugin as _0x1f4855}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x2f79c8}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x4c6e9c}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x1f4855{static get[_0xd7d1dc(0x1d4)](){var _0x52e3ef=_0xd7d1dc;return _0x52e3ef(0x1d1);}static get[_0xd7d1dc(0x1cc)](){return[_0x2f79c8,_0x4c6e9c];}static get[_0xd7d1dc(0x1c9)](){return!0x0;}static get[_0xd7d1dc(0x1cf)](){return!0x0;}}function _0x5300(){var _0x3d9d23=['787048qhPqyh','1239030KfjVEB','201TLbrqy','isOfficialPlugin','9ErYqQI','10928NOkNYL','requires','194466QFeDqC','791570knEXVT','isPremiumPlugin','3gnJMgO','FootnotesProperties','1507709cymwhO','1786565CAWDru','pluginName','6hZZYtZ'];_0x5300=function(){return _0x3d9d23;};return _0x5300();}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x127bfe=_0x29c6;(function(_0x2b7f43,_0x31fb61){const _0x570d06=_0x29c6,_0x47d99c=_0x2b7f43();while(!![]){try{const _0x5b5620=parseInt(_0x570d06(0xf1))/0x1+-parseInt(_0x570d06(0xef))/0x2*(-parseInt(_0x570d06(0x107))/0x3)+-parseInt(_0x570d06(0x128))/0x4+-parseInt(_0x570d06(0xdf))/0x5*(parseInt(_0x570d06(0xd1))/0x6)+-parseInt(_0x570d06(0x10a))/0x7*(parseInt(_0x570d06(0xe5))/0x8)+-parseInt(_0x570d06(0xfb))/0x9*(parseInt(_0x570d06(0xde))/0xa)+parseInt(_0x570d06(0x11c))/0xb;if(_0x5b5620===_0x31fb61)break;else _0x47d99c['push'](_0x47d99c['shift']());}catch(_0x2c937b){_0x47d99c['push'](_0x47d99c['shift']());}}}(_0x44a2,0x8e175));function _0x29c6(_0x34da9b,_0x36c346){const _0x44a294=_0x44a2();return _0x29c6=function(_0x29c66e,_0x539b5f){_0x29c66e=_0x29c66e-0xca;let _0x181c4c=_0x44a294[_0x29c66e];return _0x181c4c;},_0x29c6(_0x34da9b,_0x36c346);}function _0x44a2(){const _0x432a1e=['document','unshift','map','compareWith','set','move','createRangeOn','_footnoteRefsTracker','6565473kpJmdh','enqueueChange','remove','pluginName','after','_footnotesDefinitions','definition','_handleFootnotesDefinitionsObjectChanges','_footnotes','_handleRemoveFootnoteReferenceById','change:data','createPositionBefore','42IRbjFA','_handleFootnotesDefinitionsObjectSync','isPremiumPlugin','224zlWlwX','footnoteId','find','setFootnoteFormatter','getFootnote','paragraph','$graveyard','_insertEmptyFootnotesDefinitionsContainer','getFootnotesFormatter','listenTo','parent','isEqual','_handleFootnoteDefinitionsChanges','getAttribute','_footnoteDefsTracker','min','low','_ensureFootnotesDefinitionsContainerExists','9503703zvpQCA','insert','getRootNames','reset','_updateFootnotesCounters','createElement','registerPostFixer','some','_handleMovedFootnoteReference','footnoteRef','singleton','editor','1158112pKlheD','_footnoteFormatter','config','footnoteInlineContent','footnoteDefinition','splice','length','getChanges','getFootnotes','_footnoteDefsContainerTracker','isOfficialPlugin','_handleFootnoteReferencesChanges','createRangeIn','push','createPositionAt','12spXyUu','footnoteCounter','getChildren','from','before','differ','_handleInsertedFootnoteReference','indexOf','setAttribute','FootnotesTracker','init','get','_updateFootnoteRefCounter','10cQVUNT','497885PXtskZ','footnotes.multiBlock','high','has','end','footnotesDefinitions','136272VDhQMg','_sortFootnoteDefinitions','add','model','_ensureFootnotesReferencesHaveProperOrder','append','childCount','reference','rootName','getFootnotesDefinitionsObjectElement','140188zQDcMI','root','499983axEJwM','findIndex'];_0x44a2=function(){return _0x432a1e;};return _0x44a2();}import{Plugin as _0x193722}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x52a234}from'./modelelementtracker.js';export class FootnotesTracker extends _0x193722{[_0x127bfe(0x103)]=[];[_0x127bfe(0x100)]=null;[_0x127bfe(0x129)]=null;[_0x127bfe(0xcb)];[_0x127bfe(0xfa)];[_0x127bfe(0x118)];static get[_0x127bfe(0xfe)](){const _0x349c36=_0x127bfe;return _0x349c36(0xda);}static get[_0x127bfe(0xcc)](){return!0x0;}static get[_0x127bfe(0x109)](){return!0x0;}constructor(_0x2f53c6){const _0x55abd2=_0x127bfe;super(_0x2f53c6),this[_0x55abd2(0xcb)]=new _0x52a234(this[_0x55abd2(0x127)][_0x55abd2(0xe8)],{'elementName':_0x55abd2(0xe4),'getElementKey':()=>_0x55abd2(0x126)}),this[_0x55abd2(0xfa)]=new _0x52a234(this[_0x55abd2(0x127)][_0x55abd2(0xe8)],{'elementName':_0x55abd2(0x125),'getElementKey':_0x8cc3e9=>_0x8cc3e9[_0x55abd2(0x117)](_0x55abd2(0x10b))}),this[_0x55abd2(0x118)]=new _0x52a234(this[_0x55abd2(0x127)][_0x55abd2(0xe8)],{'elementName':_0x55abd2(0x12c),'getElementKey':_0x1d5025=>_0x1d5025[_0x55abd2(0x117)](_0x55abd2(0x10b))});}[_0x127bfe(0xdb)](){const _0x25440a=_0x127bfe,{editor:_0x443056}=this,{model:_0x46cf4f,data:_0x4c27a0}=_0x443056;_0x46cf4f[_0x25440a(0xf3)][_0x25440a(0x122)](_0x91d5cb=>{const _0xaa5b56=_0x25440a,_0x44c4b0=_0x46cf4f[_0xaa5b56(0xf3)][_0xaa5b56(0xd6)][_0xaa5b56(0x12f)]();let _0x488486=!0x1;return this[_0xaa5b56(0x102)](_0x91d5cb,_0x44c4b0)&&(_0x488486=!0x0),this[_0xaa5b56(0x116)](_0x91d5cb,_0x44c4b0)&&(_0x488486=!0x0),this[_0xaa5b56(0xcd)](_0x91d5cb,_0x44c4b0)&&(_0x488486=!0x0),this[_0xaa5b56(0xe9)](_0x91d5cb)&&(_0x488486=!0x0),this[_0xaa5b56(0x108)](_0x91d5cb)&&(_0x488486=!0x0),this[_0xaa5b56(0xe6)](_0x91d5cb)&&(_0x488486=!0x0),_0x488486;}),this[_0x25440a(0x113)](_0x46cf4f[_0x25440a(0xf3)],_0x25440a(0x105),()=>{const _0x2e4a4e=_0x25440a;_0x46cf4f[_0x2e4a4e(0xfc)]({'isUndoable':!0x1},_0xf790f2=>{const _0x330e9d=_0x2e4a4e;this[_0x330e9d(0x11b)](_0xf790f2);});},{'priority':_0x25440a(0x11a)}),this[_0x25440a(0x113)](_0x4c27a0,_0x25440a(0xf7),()=>{const _0x4eecf5=_0x25440a;this[_0x4eecf5(0x103)]=[],this[_0x4eecf5(0xcb)][_0x4eecf5(0x11f)](),this[_0x4eecf5(0xfa)][_0x4eecf5(0x11f)](),this[_0x4eecf5(0x118)][_0x4eecf5(0x11f)]();},{'priority':_0x25440a(0xe1)});}[_0x127bfe(0xee)](){const _0xdbed58=_0x127bfe;return this[_0xdbed58(0x100)];}[_0x127bfe(0x10e)](_0x25c391){const _0x46b571=_0x127bfe;return this[_0x46b571(0x103)][_0x46b571(0x10c)](_0x258161=>_0x258161['id']===_0x25c391)||null;}[_0x127bfe(0xca)](){const _0x1ae264=_0x127bfe;return Array[_0x1ae264(0xd4)](this[_0x1ae264(0x103)]);}[_0x127bfe(0x112)](){const _0x2a3867=_0x127bfe;return this[_0x2a3867(0x129)];}[_0x127bfe(0x10d)](_0xbdc89e){const _0x41d8b6=_0x127bfe;this[_0x41d8b6(0x129)]=_0xbdc89e;}[_0x127bfe(0x120)](_0x2e24c7,_0x31b857=0x0){const _0x24a16c=_0x127bfe;let _0x3e5457=!0x1;for(let _0x1a351c=_0x31b857;_0x1a351c<this[_0x24a16c(0x103)][_0x24a16c(0x12e)];_0x1a351c++)this[_0x24a16c(0xdd)](_0x2e24c7,_0x1a351c)&&(_0x3e5457=!0x0);return _0x3e5457;}[_0x127bfe(0x111)](_0x51814c,_0xeb58f){const _0x5d833a=_0x127bfe,_0x57155c=_0x51814c[_0x5d833a(0x121)](_0x5d833a(0xe4),{});return _0x51814c[_0x5d833a(0xea)](_0x57155c,_0xeb58f),this[_0x5d833a(0x100)]=_0x57155c,_0x57155c;}[_0x127bfe(0x11b)](_0x2805d6){const _0x32d858=_0x127bfe;if(!this[_0x32d858(0x103)][_0x32d858(0x12e)]||this[_0x32d858(0x100)])return;const _0x328a02=this[_0x32d858(0x103)][0x0][_0x32d858(0xec)][_0x32d858(0xf0)],_0x2486fd=this[_0x32d858(0x111)](_0x2805d6,_0x328a02);for(const _0xc40e48 of this[_0x32d858(0x103)])_0xc40e48[_0x32d858(0x101)][_0x32d858(0x114)]||_0x2805d6[_0x32d858(0x11d)](_0xc40e48[_0x32d858(0x101)],_0x2486fd,_0x32d858(0xe3));this[_0x32d858(0x120)](_0x2805d6);}[_0x127bfe(0x102)](_0x5e25f5,_0x125925){const _0x5ab2e0=_0x127bfe;let _0xc37130=!0x1;const {inserted:_0x108d1d,removed:_0x5a7b57,moved:_0x518beb}=this[_0x5ab2e0(0xcb)][_0x5ab2e0(0x12f)](_0x125925);if(_0x518beb[_0x5ab2e0(0x12e)]&&(this[_0x5ab2e0(0x100)]=_0x518beb[0x0]),_0x108d1d[_0x5ab2e0(0x12e)]){if(_0x108d1d[_0x5ab2e0(0x12e)]>0x1||this[_0x5ab2e0(0x100)]&&_0x108d1d[_0x5ab2e0(0x123)](_0xe1279b=>_0xe1279b!==this[_0x5ab2e0(0x100)])){const _0x40aedc=_0x5e25f5[_0x5ab2e0(0x121)](_0x5ab2e0(0xe4),{}),_0x5a1515=[];this[_0x5ab2e0(0x100)]&&_0x5a1515[_0x5ab2e0(0xcf)](this[_0x5ab2e0(0x100)]),_0x5a1515[_0x5ab2e0(0xcf)](..._0x108d1d),_0x5e25f5[_0x5ab2e0(0x11d)](_0x40aedc,_0x5a1515[0x0],_0x5ab2e0(0xd5));for(const _0x21702e of _0x5a1515)_0x5e25f5[_0x5ab2e0(0xf8)](_0x5e25f5[_0x5ab2e0(0xce)](_0x21702e),_0x5e25f5[_0x5ab2e0(0xd0)](_0x40aedc,_0x5ab2e0(0xe3))),_0x5e25f5[_0x5ab2e0(0xfd)](_0x21702e);this[_0x5ab2e0(0x100)]=_0x40aedc,this[_0x5ab2e0(0x120)](_0x5e25f5),_0xc37130=!0x0;}else this[_0x5ab2e0(0x100)]=_0x108d1d[0x0];}if(_0x5a7b57[_0x5ab2e0(0x12e)]&&_0x5ab2e0(0x110)===this[_0x5ab2e0(0x100)]?.[_0x5ab2e0(0xf0)][_0x5ab2e0(0xed)]){for(const _0x156f61 of this[_0x5ab2e0(0x103)])_0x5e25f5[_0x5ab2e0(0xfd)](_0x156f61[_0x5ab2e0(0xec)]),_0xc37130=!0x0;this[_0x5ab2e0(0x103)]=[],this[_0x5ab2e0(0x100)]=null;}return _0xc37130;}[_0x127bfe(0x116)](_0x768e50,_0x1a086a){const _0xfaa18f=_0x127bfe;let _0x3751e1=!0x1;const _0x51356a=this[_0xfaa18f(0x127)][_0xfaa18f(0x12a)][_0xfaa18f(0xdc)](_0xfaa18f(0xe0)),{inserted:_0x40fc51,moved:_0x40c111}=this[_0xfaa18f(0x118)][_0xfaa18f(0x12f)](_0x1a086a);for(const _0x3d406d of[..._0x40c111,..._0x40fc51]){const _0x52d383=_0x3d406d[_0xfaa18f(0x117)](_0xfaa18f(0x10b)),_0x1144f4=this[_0xfaa18f(0x10e)](_0x52d383);_0x1144f4&&(_0x1144f4[_0xfaa18f(0x101)]=_0x3d406d),_(_0x768e50,_0x51356a,_0x3d406d)&&(_0x3751e1=!0x0);}return _0x3751e1;}[_0x127bfe(0xcd)](_0x1968d8,_0x257f50){const _0x136f07=_0x127bfe;let _0x467f15=!0x1;const {removed:_0x3673f8,inserted:_0x4b0b46,moved:_0x46ebd0}=this[_0x136f07(0xfa)][_0x136f07(0x12f)](_0x257f50);for(const _0xae887a of _0x3673f8)this[_0x136f07(0x104)](_0x1968d8,_0xae887a)&&(_0x467f15=!0x0);for(const _0x28b20b of _0x4b0b46)this[_0x136f07(0xd7)](_0x1968d8,_0x28b20b)&&(_0x467f15=!0x0);for(const _0x21b622 of _0x46ebd0)this[_0x136f07(0x124)](_0x1968d8,_0x21b622)&&(_0x467f15=!0x0);return _0x467f15;}[_0x127bfe(0x108)](_0x2e0028){const _0x52a1d4=_0x127bfe;if(!this[_0x52a1d4(0x100)])return!0x1;let _0x38a04b=!0x1;if(this[_0x52a1d4(0x100)][_0x52a1d4(0xeb)]!==this[_0x52a1d4(0x103)][_0x52a1d4(0x12e)]){const _0x2fdd71=[];for(const _0x54e5d0 of this[_0x52a1d4(0x100)][_0x52a1d4(0xd3)]()){const _0x520fbc=_0x54e5d0[_0x52a1d4(0x117)](_0x52a1d4(0x10b));this[_0x52a1d4(0x10e)](_0x520fbc)||(_0x2fdd71[_0x52a1d4(0xf4)](_0x54e5d0),_0x38a04b=!0x0);}for(const _0x561e00 of _0x2fdd71)_0x2e0028[_0x52a1d4(0xfd)](_0x561e00);}const _0x349862=new Set(),_0x514e1e=[];for(const _0x45edcd of this[_0x52a1d4(0x100)][_0x52a1d4(0xd3)]()){const _0x566ff6=_0x45edcd[_0x52a1d4(0x117)](_0x52a1d4(0x10b));_0x349862[_0x52a1d4(0xe2)](_0x566ff6)?(_0x514e1e[_0x52a1d4(0xf4)](_0x45edcd),_0x38a04b=!0x0):_0x349862[_0x52a1d4(0xe7)](_0x566ff6);}for(const _0xe7ba80 of _0x514e1e)_0x2e0028[_0x52a1d4(0xfd)](_0xe7ba80);return this[_0x52a1d4(0x100)][_0x52a1d4(0xeb)]||(_0x2e0028[_0x52a1d4(0xfd)](this[_0x52a1d4(0x100)]),this[_0x52a1d4(0x100)]=null,_0x38a04b=!0x0),_0x38a04b;}[_0x127bfe(0xd7)](_0x1e860e,_0x4ea1df){const _0x150c0d=_0x127bfe;if(this[_0x150c0d(0x103)][_0x150c0d(0x10c)](_0x43c4b7=>_0x43c4b7[_0x150c0d(0xec)]===_0x4ea1df))return!0x1;let _0x3ef6c7=!0x1;const _0x44072d=_0x4ea1df[_0x150c0d(0x117)](_0x150c0d(0x10b)),_0x45a994=this[_0x150c0d(0x103)][_0x150c0d(0xf2)](_0x413fdf=>_0x413fdf['id']===_0x44072d);-0x1!==_0x45a994&&(_0x1e860e[_0x150c0d(0xfd)](this[_0x150c0d(0x103)][_0x45a994][_0x150c0d(0xec)]),this[_0x150c0d(0x103)][_0x150c0d(0x12d)](_0x45a994,0x1),_0x3ef6c7=!0x0);let _0x48a534=this[_0x150c0d(0x100)]?function(_0x19b81f,_0x3d0dff){const _0x5138c7=_0x150c0d;for(const _0x53269e of _0x19b81f[_0x5138c7(0xd3)]())if(_0x53269e[_0x5138c7(0x117)](_0x5138c7(0x10b))===_0x3d0dff)return _0x53269e;return null;}(this[_0x150c0d(0x100)],_0x44072d):null;_0x48a534||(_0x48a534=_0x1e860e[_0x150c0d(0x121)](_0x150c0d(0x12c),{'footnoteId':_0x44072d}),this[_0x150c0d(0x100)]&&(_0x1e860e[_0x150c0d(0x11d)](_0x48a534,this[_0x150c0d(0x100)],_0x150c0d(0xe3)),_0x3ef6c7=!0x0));const _0x3ba5ce={'id':_0x44072d,'reference':_0x4ea1df,'definition':_0x48a534},_0x53c4f9=I(this[_0x150c0d(0x127)][_0x150c0d(0xe8)],this[_0x150c0d(0x103)],_0x4ea1df);this[_0x150c0d(0x103)][_0x150c0d(0x12d)](_0x53c4f9,0x0,_0x3ba5ce);let _0x3bf466=_0x53c4f9;return-0x1!==_0x45a994&&(_0x3bf466=Math[_0x150c0d(0x119)](_0x53c4f9,_0x45a994)),this[_0x150c0d(0x120)](_0x1e860e,_0x3bf466)&&(_0x3ef6c7=!0x0),_0x3ef6c7;}[_0x127bfe(0x104)](_0x31594b,_0x374c75){const _0xe3be4f=_0x127bfe,_0x56a65a=this[_0xe3be4f(0x103)][_0xe3be4f(0xf2)](_0x2e1e4c=>_0x2e1e4c['id']===_0x374c75);if(-0x1===_0x56a65a)return!0x1;let _0x26a35a=!0x1;const _0x485d5d=this[_0xe3be4f(0x103)][_0x56a65a];return _0xe3be4f(0x110)!==_0x485d5d[_0xe3be4f(0x101)][_0xe3be4f(0xf0)][_0xe3be4f(0xed)]&&(_0x31594b[_0xe3be4f(0xfd)](_0x485d5d[_0xe3be4f(0x101)]),_0x26a35a=!0x0),this[_0xe3be4f(0x103)][_0xe3be4f(0x12d)](_0x56a65a,0x1),this[_0xe3be4f(0x120)](_0x31594b,_0x56a65a)&&(_0x26a35a=!0x0),_0x26a35a;}[_0x127bfe(0x124)](_0x3462aa,_0x5781db){const _0xfb600a=_0x127bfe,_0x3e179b=_0x5781db[_0xfb600a(0x117)](_0xfb600a(0x10b)),_0x3b8470=this[_0xfb600a(0x103)][_0xfb600a(0xf2)](_0x503295=>_0x503295['id']===_0x3e179b),_0x5ab071=this[_0xfb600a(0x103)][_0x3b8470];let _0x29d29a=!0x1;_0x5ab071[_0xfb600a(0xec)]=_0x5781db,this[_0xfb600a(0x103)][_0xfb600a(0x12d)](_0x3b8470,0x1);const _0x3f5bb8=I(this[_0xfb600a(0x127)][_0xfb600a(0xe8)],this[_0xfb600a(0x103)],_0x5781db);return this[_0xfb600a(0x103)][_0xfb600a(0x12d)](_0x3f5bb8,0x0,_0x5ab071),this[_0xfb600a(0x120)](_0x3462aa,Math[_0xfb600a(0x119)](_0x3b8470,_0x3f5bb8))&&(_0x29d29a=!0x0),_0x29d29a;}[_0x127bfe(0xdd)](_0x4337be,_0x11b1cd){const _0x4c895b=_0x127bfe;if(!this[_0x4c895b(0x100)])return!0x1;const _0x2b6f03=this[_0x4c895b(0x103)][_0x11b1cd];let _0x5da184;return _0x5da184=this[_0x4c895b(0x129)]?this[_0x4c895b(0x129)]({'footnote':_0x2b6f03,'container':this[_0x4c895b(0x100)],'digits':String(this[_0x4c895b(0x103)][_0x4c895b(0x12e)])[_0x4c895b(0x12e)],'value':_0x11b1cd+0x1}):String(_0x11b1cd+0x1),_0x2b6f03[_0x4c895b(0xec)][_0x4c895b(0x117)](_0x4c895b(0xd2))!=_0x5da184&&(_0x4337be[_0x4c895b(0xd9)](_0x4c895b(0xd2),_0x5da184,_0x2b6f03[_0x4c895b(0xec)]),!0x0);}[_0x127bfe(0xe6)](_0x5946fd){const _0x207d0f=_0x127bfe;if(!this[_0x207d0f(0x100)]||this[_0x207d0f(0x103)][_0x207d0f(0x12e)]<0x2)return!0x1;if(function(_0x1152ea,_0x43490a){const _0x5a7b45=_0x207d0f;if(_0x1152ea[_0x5a7b45(0x12e)]!==_0x43490a[_0x5a7b45(0x12e)])return!0x1;for(let _0x37a037=0x0;_0x37a037<_0x1152ea[_0x5a7b45(0x12e)];_0x37a037++)if(_0x1152ea[_0x37a037]!==_0x43490a[_0x37a037])return!0x1;return!0x0;}(this[_0x207d0f(0x103)][_0x207d0f(0xf5)](_0x206646=>_0x206646['id']),Array[_0x207d0f(0xd4)](this[_0x207d0f(0x100)][_0x207d0f(0xd3)]())[_0x207d0f(0xf5)](_0x2cb759=>_0x2cb759[_0x207d0f(0x117)](_0x207d0f(0x10b)))))return!0x1;let _0x5e8fb1=!0x1;for(let _0x1a9213=0x0;_0x1a9213<this[_0x207d0f(0x103)][_0x207d0f(0x12e)];_0x1a9213++){const _0x56c6ee=this[_0x207d0f(0x103)][_0x1a9213],_0x67b01a=_0x5946fd[_0x207d0f(0x106)](_0x56c6ee[_0x207d0f(0x101)]),_0xfac195=_0x5946fd[_0x207d0f(0xd0)](this[_0x207d0f(0x100)],_0x1a9213);_0x67b01a[_0x207d0f(0x115)](_0xfac195)||(_0x5946fd[_0x207d0f(0xf8)](_0x5946fd[_0x207d0f(0xf9)](_0x56c6ee[_0x207d0f(0x101)]),_0xfac195),_0x5e8fb1=!0x0);}return _0x5e8fb1;}[_0x127bfe(0xe9)](_0x52525){const _0x57c194=_0x127bfe;if(!this[_0x57c194(0x103)][_0x57c194(0x12e)])return!0x1;const {model:_0x4fc709}=this[_0x57c194(0x127)];let _0x7b3fef=!0x1;for(let _0x545460=0x0;_0x545460<this[_0x57c194(0x103)][_0x57c194(0x12e)]-0x1;_0x545460++){const _0x820092=this[_0x57c194(0x103)][_0x545460],_0x1e1e1e=this[_0x57c194(0x103)][_0x545460+0x1],_0x1e408c=_0x4fc709[_0x57c194(0x106)](_0x820092[_0x57c194(0xec)]),_0x1b5040=_0x4fc709[_0x57c194(0x106)](_0x1e1e1e[_0x57c194(0xec)]);_0x57c194(0xff)===_0x1e408c[_0x57c194(0xf6)](_0x1b5040)&&(this[_0x57c194(0x124)](_0x52525,_0x820092[_0x57c194(0xec)]),_0x545460=-0x1,_0x7b3fef=!0x0);}return _0x7b3fef;}}function _(_0x14db7e,_0x326bf5,_0x5c3698){const _0x388a61=_0x127bfe;if(_0x5c3698[_0x388a61(0xeb)])return!0x1;const _0x51c7ab=_0x326bf5?_0x388a61(0x10f):_0x388a61(0x12b);return _0x14db7e[_0x388a61(0x11d)](_0x14db7e[_0x388a61(0x121)](_0x51c7ab),_0x5c3698),!0x0;}function I(_0x5e7b92,_0x2c859a,_0x261fb6){const _0x1c9fb1=_0x127bfe;if(0x0===_0x2c859a[_0x1c9fb1(0x12e)])return 0x0;const _0x5bc849=_0x5e7b92[_0x1c9fb1(0x106)](_0x261fb6);for(let _0x308386=0x0;_0x308386<_0x2c859a[_0x1c9fb1(0x12e)];_0x308386++){const _0x15964b=_0x2c859a[_0x308386],_0x3dd3c4=_0x5e7b92[_0x1c9fb1(0x106)](_0x15964b[_0x1c9fb1(0xec)]);if(_0x1c9fb1(0xd5)===_0x5bc849[_0x1c9fb1(0xf6)](_0x3dd3c4))return _0x308386;}const _0x5a1dde=_0x261fb6[_0x1c9fb1(0xf0)];let _0x54266e=-0x1;for(let _0x1dc8d2=_0x2c859a[_0x1c9fb1(0x12e)]-0x1;_0x1dc8d2>=0x0;_0x1dc8d2--)if(_0x2c859a[_0x1dc8d2][_0x1c9fb1(0xec)][_0x1c9fb1(0xf0)]===_0x5a1dde){_0x54266e=_0x1dc8d2;break;}if(-0x1!==_0x54266e)return _0x54266e+0x1;const _0xa34560=_0x5e7b92[_0x1c9fb1(0xf3)][_0x1c9fb1(0x11e)](),_0x3590b4=_0xa34560[_0x1c9fb1(0xd8)](_0x5a1dde[_0x1c9fb1(0xed)]),_0x19bf3a=_0xa34560[_0x3590b4+0x1];if(_0x19bf3a){for(let _0x2de4b2=0x0;_0x2de4b2<_0x2c859a[_0x1c9fb1(0x12e)];_0x2de4b2++)if(_0x2c859a[_0x2de4b2][_0x1c9fb1(0xec)][_0x1c9fb1(0xf0)][_0x1c9fb1(0xed)]===_0x19bf3a)return _0x2de4b2;}return _0x2c859a[_0x1c9fb1(0x12e)];}
|
|
23
|
+
const _0x256d62=_0x14f1;(function(_0x443d4e,_0x184f4d){const _0x187165=_0x14f1,_0x12bcd0=_0x443d4e();while(!![]){try{const _0x5812ca=parseInt(_0x187165(0x10a))/0x1*(-parseInt(_0x187165(0xe1))/0x2)+parseInt(_0x187165(0xba))/0x3+-parseInt(_0x187165(0x114))/0x4+parseInt(_0x187165(0x10e))/0x5*(parseInt(_0x187165(0xc1))/0x6)+parseInt(_0x187165(0xc8))/0x7*(parseInt(_0x187165(0xf2))/0x8)+-parseInt(_0x187165(0xc9))/0x9*(-parseInt(_0x187165(0xb9))/0xa)+-parseInt(_0x187165(0xb5))/0xb;if(_0x5812ca===_0x184f4d)break;else _0x12bcd0['push'](_0x12bcd0['shift']());}catch(_0x2a6a71){_0x12bcd0['push'](_0x12bcd0['shift']());}}}(_0x4998,0x867d4));import{Plugin as _0x2ec6d7}from'ckeditor5/src/core.js';import{ModelElementTracker as _0xb7e1fc}from'./modelelementtracker.js';function _0x14f1(_0x2b2b83,_0x32b39f){const _0x499806=_0x4998();return _0x14f1=function(_0x14f132,_0x58f94b){_0x14f132=_0x14f132-0xb4;let _0x2d747f=_0x499806[_0x14f132];return _0x2d747f;},_0x14f1(_0x2b2b83,_0x32b39f);}function _0x4998(){const _0x40b59d=['_insertEmptyFootnotesDefinitionsContainer','has','1325fOdqYD','footnoteInlineContent','_handleMovedFootnoteReference','rootName','4183745rierSW','_footnoteRefsTracker','document','singleton','_footnoteDefsTracker','set','1361664MKpxUq','_footnoteFormatter','isPremiumPlugin','footnoteCounter','getFootnotes','getChildren','push','21597367NtIouA','_handleFootnotesDefinitionsObjectChanges','_footnoteDefsContainerTracker','_sortFootnoteDefinitions','10exeLof','3051879YLRcWg','_handleRemoveFootnoteReferenceById','listenTo','createElement','reset','getRootNames','getFootnotesDefinitionsObjectElement','6BNbhdH','footnotes.multiBlock','unshift','childCount','remove','from','enqueueChange','7TbhWVW','3973131lHdiqL','_ensureFootnotesReferencesHaveProperOrder','_footnotes','createRangeOn','pluginName','indexOf','get','end','_handleFootnoteDefinitionsChanges','definition','registerPostFixer','after','createRangeIn','_footnotesDefinitions','add','root','isEqual','length','footnoteDefinition','setFootnoteFormatter','getFootnote','append','model','$graveyard','766ibHlNP','splice','footnoteRef','paragraph','getChanges','insert','differ','high','compareWith','findIndex','find','footnotesDefinitions','isOfficialPlugin','low','move','_updateFootnoteRefCounter','getFootnotesFormatter','8533240lahqJQ','footnoteId','min','_updateFootnotesCounters','before','FootnotesTracker','reference','some','parent','_handleFootnotesDefinitionsObjectSync','map','config','createPositionAt','_ensureFootnotesDefinitionsContainerExists','createPositionBefore','_handleFootnoteReferencesChanges','init','change:data','editor','_handleInsertedFootnoteReference','setAttribute','getAttribute'];_0x4998=function(){return _0x40b59d;};return _0x4998();}export class FootnotesTracker extends _0x2ec6d7{[_0x256d62(0xcb)]=[];[_0x256d62(0xd6)]=null;[_0x256d62(0x115)]=null;[_0x256d62(0xb7)];[_0x256d62(0x10f)];[_0x256d62(0x112)];static get[_0x256d62(0xcd)](){const _0x250937=_0x256d62;return _0x250937(0xf7);}static get[_0x256d62(0xed)](){return!0x0;}static get[_0x256d62(0x116)](){return!0x0;}constructor(_0xdd5e1){const _0xdca27e=_0x256d62;super(_0xdd5e1),this[_0xdca27e(0xb7)]=new _0xb7e1fc(this[_0xdca27e(0x104)][_0xdca27e(0xdf)],{'elementName':_0xdca27e(0xec),'getElementKey':()=>_0xdca27e(0x111)}),this[_0xdca27e(0x10f)]=new _0xb7e1fc(this[_0xdca27e(0x104)][_0xdca27e(0xdf)],{'elementName':_0xdca27e(0xe3),'getElementKey':_0x948fb2=>_0x948fb2[_0xdca27e(0x107)](_0xdca27e(0xf3))}),this[_0xdca27e(0x112)]=new _0xb7e1fc(this[_0xdca27e(0x104)][_0xdca27e(0xdf)],{'elementName':_0xdca27e(0xdb),'getElementKey':_0x13b00a=>_0x13b00a[_0xdca27e(0x107)](_0xdca27e(0xf3))});}[_0x256d62(0x102)](){const _0x4b38cc=_0x256d62,{editor:_0x4782f0}=this,{model:_0x9887ba,data:_0x5a5aac}=_0x4782f0;_0x9887ba[_0x4b38cc(0x110)][_0x4b38cc(0xd3)](_0x264abe=>{const _0x308d4d=_0x4b38cc,_0x14e1d0=_0x9887ba[_0x308d4d(0x110)][_0x308d4d(0xe7)][_0x308d4d(0xe5)]();let _0x60777f=!0x1;return this[_0x308d4d(0xb6)](_0x264abe,_0x14e1d0)&&(_0x60777f=!0x0),this[_0x308d4d(0xd1)](_0x264abe,_0x14e1d0)&&(_0x60777f=!0x0),this[_0x308d4d(0x101)](_0x264abe,_0x14e1d0)&&(_0x60777f=!0x0),this[_0x308d4d(0xca)](_0x264abe)&&(_0x60777f=!0x0),this[_0x308d4d(0xfb)](_0x264abe)&&(_0x60777f=!0x0),this[_0x308d4d(0xb8)](_0x264abe)&&(_0x60777f=!0x0),_0x60777f;}),this[_0x4b38cc(0xbc)](_0x9887ba[_0x4b38cc(0x110)],_0x4b38cc(0x103),()=>{const _0x26abbd=_0x4b38cc;_0x9887ba[_0x26abbd(0xc7)]({'isUndoable':!0x1},_0x3a75b9=>{const _0x789d01=_0x26abbd;this[_0x789d01(0xff)](_0x3a75b9);});},{'priority':_0x4b38cc(0xee)}),this[_0x4b38cc(0xbc)](_0x5a5aac,_0x4b38cc(0x113),()=>{const _0x11d9db=_0x4b38cc;this[_0x11d9db(0xcb)]=[],this[_0x11d9db(0xb7)][_0x11d9db(0xbe)](),this[_0x11d9db(0x10f)][_0x11d9db(0xbe)](),this[_0x11d9db(0x112)][_0x11d9db(0xbe)]();},{'priority':_0x4b38cc(0xe8)});}[_0x256d62(0xc0)](){const _0x42abfe=_0x256d62;return this[_0x42abfe(0xd6)];}[_0x256d62(0xdd)](_0x34a250){const _0x36a705=_0x256d62;return this[_0x36a705(0xcb)][_0x36a705(0xeb)](_0x13b090=>_0x13b090['id']===_0x34a250)||null;}[_0x256d62(0x118)](){const _0x146de7=_0x256d62;return Array[_0x146de7(0xc6)](this[_0x146de7(0xcb)]);}[_0x256d62(0xf1)](){const _0x487f2a=_0x256d62;return this[_0x487f2a(0x115)];}[_0x256d62(0xdc)](_0x19f442){const _0x4040e8=_0x256d62;this[_0x4040e8(0x115)]=_0x19f442;}[_0x256d62(0xf5)](_0x227b0f,_0x347980=0x0){const _0x122d06=_0x256d62;let _0x222dcd=!0x1;for(let _0x2bd0a1=_0x347980;_0x2bd0a1<this[_0x122d06(0xcb)][_0x122d06(0xda)];_0x2bd0a1++)this[_0x122d06(0xf0)](_0x227b0f,_0x2bd0a1)&&(_0x222dcd=!0x0);return _0x222dcd;}[_0x256d62(0x108)](_0x735b14,_0xc5c6b){const _0x49096b=_0x256d62,_0x1f33ba=_0x735b14[_0x49096b(0xbd)](_0x49096b(0xec),{});return _0x735b14[_0x49096b(0xde)](_0x1f33ba,_0xc5c6b),this[_0x49096b(0xd6)]=_0x1f33ba,_0x1f33ba;}[_0x256d62(0xff)](_0x18f99b){const _0x3e05bf=_0x256d62;if(!this[_0x3e05bf(0xcb)][_0x3e05bf(0xda)]||this[_0x3e05bf(0xd6)])return;const _0x2588b3=this[_0x3e05bf(0xcb)][0x0][_0x3e05bf(0xf8)][_0x3e05bf(0xd8)],_0x46c103=this[_0x3e05bf(0x108)](_0x18f99b,_0x2588b3);for(const _0x5a0eea of this[_0x3e05bf(0xcb)])_0x5a0eea[_0x3e05bf(0xd2)][_0x3e05bf(0xfa)]||_0x18f99b[_0x3e05bf(0xe6)](_0x5a0eea[_0x3e05bf(0xd2)],_0x46c103,_0x3e05bf(0xd0));this[_0x3e05bf(0xf5)](_0x18f99b);}[_0x256d62(0xb6)](_0x58df81,_0x6ca0dc){const _0x356345=_0x256d62;let _0x3e5031=!0x1;const {inserted:_0x2a9c2f,removed:_0x1647c0,moved:_0x1e7a2d}=this[_0x356345(0xb7)][_0x356345(0xe5)](_0x6ca0dc);if(_0x1e7a2d[_0x356345(0xda)]&&(this[_0x356345(0xd6)]=_0x1e7a2d[0x0]),_0x2a9c2f[_0x356345(0xda)]){if(_0x2a9c2f[_0x356345(0xda)]>0x1||this[_0x356345(0xd6)]&&_0x2a9c2f[_0x356345(0xf9)](_0x181974=>_0x181974!==this[_0x356345(0xd6)])){const _0x806788=_0x58df81[_0x356345(0xbd)](_0x356345(0xec),{}),_0x8ad2=[];this[_0x356345(0xd6)]&&_0x8ad2[_0x356345(0xb4)](this[_0x356345(0xd6)]),_0x8ad2[_0x356345(0xb4)](..._0x2a9c2f),_0x58df81[_0x356345(0xe6)](_0x806788,_0x8ad2[0x0],_0x356345(0xf6));for(const _0x12e815 of _0x8ad2)_0x58df81[_0x356345(0xef)](_0x58df81[_0x356345(0xd5)](_0x12e815),_0x58df81[_0x356345(0xfe)](_0x806788,_0x356345(0xd0))),_0x58df81[_0x356345(0xc5)](_0x12e815);this[_0x356345(0xd6)]=_0x806788,this[_0x356345(0xf5)](_0x58df81),_0x3e5031=!0x0;}else this[_0x356345(0xd6)]=_0x2a9c2f[0x0];}if(_0x1647c0[_0x356345(0xda)]&&_0x356345(0xe0)===this[_0x356345(0xd6)]?.[_0x356345(0xd8)][_0x356345(0x10d)]){for(const _0x33b70b of this[_0x356345(0xcb)])_0x58df81[_0x356345(0xc5)](_0x33b70b[_0x356345(0xf8)]),_0x3e5031=!0x0;this[_0x356345(0xcb)]=[],this[_0x356345(0xd6)]=null;}return _0x3e5031;}[_0x256d62(0xd1)](_0xe61627,_0xa5f8dd){const _0x411d0a=_0x256d62;let _0x31dd9f=!0x1;const _0x3f50ad=this[_0x411d0a(0x104)][_0x411d0a(0xfd)][_0x411d0a(0xcf)](_0x411d0a(0xc2)),{inserted:_0x213c53,moved:_0x446a22}=this[_0x411d0a(0x112)][_0x411d0a(0xe5)](_0xa5f8dd);for(const _0x33a3c1 of[..._0x446a22,..._0x213c53]){const _0x265e2f=_0x33a3c1[_0x411d0a(0x107)](_0x411d0a(0xf3)),_0x2df96b=this[_0x411d0a(0xdd)](_0x265e2f);_0x2df96b&&(_0x2df96b[_0x411d0a(0xd2)]=_0x33a3c1),_(_0xe61627,_0x3f50ad,_0x33a3c1)&&(_0x31dd9f=!0x0);}return _0x31dd9f;}[_0x256d62(0x101)](_0x2da4c0,_0x4d4ec8){const _0x552e14=_0x256d62;let _0x1f223e=!0x1;const {removed:_0x1f5211,inserted:_0x26f54a,moved:_0x53384d}=this[_0x552e14(0x10f)][_0x552e14(0xe5)](_0x4d4ec8);for(const _0xe6083 of _0x1f5211)this[_0x552e14(0xbb)](_0x2da4c0,_0xe6083)&&(_0x1f223e=!0x0);for(const _0x254dcc of _0x26f54a)this[_0x552e14(0x105)](_0x2da4c0,_0x254dcc)&&(_0x1f223e=!0x0);for(const _0x3d279a of _0x53384d)this[_0x552e14(0x10c)](_0x2da4c0,_0x3d279a)&&(_0x1f223e=!0x0);return _0x1f223e;}[_0x256d62(0xfb)](_0x156e4a){const _0x2d7727=_0x256d62;if(!this[_0x2d7727(0xd6)])return!0x1;let _0x36d221=!0x1;if(this[_0x2d7727(0xd6)][_0x2d7727(0xc4)]!==this[_0x2d7727(0xcb)][_0x2d7727(0xda)]){const _0x5e2e54=[];for(const _0x5dcc95 of this[_0x2d7727(0xd6)][_0x2d7727(0x119)]()){const _0x159ffd=_0x5dcc95[_0x2d7727(0x107)](_0x2d7727(0xf3));this[_0x2d7727(0xdd)](_0x159ffd)||(_0x5e2e54[_0x2d7727(0xc3)](_0x5dcc95),_0x36d221=!0x0);}for(const _0x24a84a of _0x5e2e54)_0x156e4a[_0x2d7727(0xc5)](_0x24a84a);}const _0x470590=new Set(),_0x4e4afd=[];for(const _0x385c9c of this[_0x2d7727(0xd6)][_0x2d7727(0x119)]()){const _0x11f540=_0x385c9c[_0x2d7727(0x107)](_0x2d7727(0xf3));_0x470590[_0x2d7727(0x109)](_0x11f540)?(_0x4e4afd[_0x2d7727(0xc3)](_0x385c9c),_0x36d221=!0x0):_0x470590[_0x2d7727(0xd7)](_0x11f540);}for(const _0x3b6ec5 of _0x4e4afd)_0x156e4a[_0x2d7727(0xc5)](_0x3b6ec5);return this[_0x2d7727(0xd6)][_0x2d7727(0xc4)]||(_0x156e4a[_0x2d7727(0xc5)](this[_0x2d7727(0xd6)]),this[_0x2d7727(0xd6)]=null,_0x36d221=!0x0),_0x36d221;}[_0x256d62(0x105)](_0x108f80,_0x47f0e1){const _0x26478c=_0x256d62;if(this[_0x26478c(0xcb)][_0x26478c(0xeb)](_0x48135c=>_0x48135c[_0x26478c(0xf8)]===_0x47f0e1))return!0x1;let _0x282392=!0x1;const _0x33049f=_0x47f0e1[_0x26478c(0x107)](_0x26478c(0xf3)),_0x40f3c5=this[_0x26478c(0xcb)][_0x26478c(0xea)](_0x51b0ca=>_0x51b0ca['id']===_0x33049f);-0x1!==_0x40f3c5&&(_0x108f80[_0x26478c(0xc5)](this[_0x26478c(0xcb)][_0x40f3c5][_0x26478c(0xf8)]),this[_0x26478c(0xcb)][_0x26478c(0xe2)](_0x40f3c5,0x1),_0x282392=!0x0);let _0x349c47=this[_0x26478c(0xd6)]?function(_0x3e8d5a,_0x580806){const _0x4e373a=_0x26478c;for(const _0x10e93f of _0x3e8d5a[_0x4e373a(0x119)]())if(_0x10e93f[_0x4e373a(0x107)](_0x4e373a(0xf3))===_0x580806)return _0x10e93f;return null;}(this[_0x26478c(0xd6)],_0x33049f):null;_0x349c47||(_0x349c47=_0x108f80[_0x26478c(0xbd)](_0x26478c(0xdb),{'footnoteId':_0x33049f}),this[_0x26478c(0xd6)]&&(_0x108f80[_0x26478c(0xe6)](_0x349c47,this[_0x26478c(0xd6)],_0x26478c(0xd0)),_0x282392=!0x0));const _0x47f6b3={'id':_0x33049f,'reference':_0x47f0e1,'definition':_0x349c47},_0x140aac=I(this[_0x26478c(0x104)][_0x26478c(0xdf)],this[_0x26478c(0xcb)],_0x47f0e1);this[_0x26478c(0xcb)][_0x26478c(0xe2)](_0x140aac,0x0,_0x47f6b3);let _0xf47a4d=_0x140aac;return-0x1!==_0x40f3c5&&(_0xf47a4d=Math[_0x26478c(0xf4)](_0x140aac,_0x40f3c5)),this[_0x26478c(0xf5)](_0x108f80,_0xf47a4d)&&(_0x282392=!0x0),_0x282392;}[_0x256d62(0xbb)](_0x75307b,_0x2d1ed7){const _0x4921de=_0x256d62,_0x4911cf=this[_0x4921de(0xcb)][_0x4921de(0xea)](_0x10ab9=>_0x10ab9['id']===_0x2d1ed7);if(-0x1===_0x4911cf)return!0x1;let _0x3d9131=!0x1;const _0x3aa96e=this[_0x4921de(0xcb)][_0x4911cf];return _0x4921de(0xe0)!==_0x3aa96e[_0x4921de(0xd2)][_0x4921de(0xd8)][_0x4921de(0x10d)]&&(_0x75307b[_0x4921de(0xc5)](_0x3aa96e[_0x4921de(0xd2)]),_0x3d9131=!0x0),this[_0x4921de(0xcb)][_0x4921de(0xe2)](_0x4911cf,0x1),this[_0x4921de(0xf5)](_0x75307b,_0x4911cf)&&(_0x3d9131=!0x0),_0x3d9131;}[_0x256d62(0x10c)](_0x1fb8ea,_0x117431){const _0x3f9736=_0x256d62,_0x33e01c=_0x117431[_0x3f9736(0x107)](_0x3f9736(0xf3)),_0x138aa1=this[_0x3f9736(0xcb)][_0x3f9736(0xea)](_0x3cce5e=>_0x3cce5e['id']===_0x33e01c),_0x3cf7ea=this[_0x3f9736(0xcb)][_0x138aa1];let _0x1ece01=!0x1;_0x3cf7ea[_0x3f9736(0xf8)]=_0x117431,this[_0x3f9736(0xcb)][_0x3f9736(0xe2)](_0x138aa1,0x1);const _0x293959=I(this[_0x3f9736(0x104)][_0x3f9736(0xdf)],this[_0x3f9736(0xcb)],_0x117431);return this[_0x3f9736(0xcb)][_0x3f9736(0xe2)](_0x293959,0x0,_0x3cf7ea),this[_0x3f9736(0xf5)](_0x1fb8ea,Math[_0x3f9736(0xf4)](_0x138aa1,_0x293959))&&(_0x1ece01=!0x0),_0x1ece01;}[_0x256d62(0xf0)](_0x1f97df,_0x265afc){const _0x256d1e=_0x256d62;if(!this[_0x256d1e(0xd6)])return!0x1;const _0x3e31af=this[_0x256d1e(0xcb)][_0x265afc];let _0x142e9d;return _0x142e9d=this[_0x256d1e(0x115)]?this[_0x256d1e(0x115)]({'footnote':_0x3e31af,'container':this[_0x256d1e(0xd6)],'digits':String(this[_0x256d1e(0xcb)][_0x256d1e(0xda)])[_0x256d1e(0xda)],'value':_0x265afc+0x1}):String(_0x265afc+0x1),_0x3e31af[_0x256d1e(0xf8)][_0x256d1e(0x107)](_0x256d1e(0x117))!=_0x142e9d&&(_0x1f97df[_0x256d1e(0x106)](_0x256d1e(0x117),_0x142e9d,_0x3e31af[_0x256d1e(0xf8)]),!0x0);}[_0x256d62(0xb8)](_0x46d48d){const _0x42863e=_0x256d62;if(!this[_0x42863e(0xd6)]||this[_0x42863e(0xcb)][_0x42863e(0xda)]<0x2)return!0x1;if(function(_0x41581a,_0x16fab8){const _0x3b7e6a=_0x42863e;if(_0x41581a[_0x3b7e6a(0xda)]!==_0x16fab8[_0x3b7e6a(0xda)])return!0x1;for(let _0x4cbc33=0x0;_0x4cbc33<_0x41581a[_0x3b7e6a(0xda)];_0x4cbc33++)if(_0x41581a[_0x4cbc33]!==_0x16fab8[_0x4cbc33])return!0x1;return!0x0;}(this[_0x42863e(0xcb)][_0x42863e(0xfc)](_0x1b9f62=>_0x1b9f62['id']),Array[_0x42863e(0xc6)](this[_0x42863e(0xd6)][_0x42863e(0x119)]())[_0x42863e(0xfc)](_0x1f05d1=>_0x1f05d1[_0x42863e(0x107)](_0x42863e(0xf3)))))return!0x1;let _0x3d5bcd=!0x1;for(let _0x1f2f08=0x0;_0x1f2f08<this[_0x42863e(0xcb)][_0x42863e(0xda)];_0x1f2f08++){const _0x528607=this[_0x42863e(0xcb)][_0x1f2f08],_0xb9d134=_0x46d48d[_0x42863e(0x100)](_0x528607[_0x42863e(0xd2)]),_0x1b99e5=_0x46d48d[_0x42863e(0xfe)](this[_0x42863e(0xd6)],_0x1f2f08);_0xb9d134[_0x42863e(0xd9)](_0x1b99e5)||(_0x46d48d[_0x42863e(0xef)](_0x46d48d[_0x42863e(0xcc)](_0x528607[_0x42863e(0xd2)]),_0x1b99e5),_0x3d5bcd=!0x0);}return _0x3d5bcd;}[_0x256d62(0xca)](_0x4cbf98){const _0x4b6829=_0x256d62;if(!this[_0x4b6829(0xcb)][_0x4b6829(0xda)])return!0x1;const {model:_0x232e6e}=this[_0x4b6829(0x104)];let _0x1e6340=!0x1;for(let _0x232977=0x0;_0x232977<this[_0x4b6829(0xcb)][_0x4b6829(0xda)]-0x1;_0x232977++){const _0xe215b1=this[_0x4b6829(0xcb)][_0x232977],_0x445243=this[_0x4b6829(0xcb)][_0x232977+0x1],_0x5333f6=_0x232e6e[_0x4b6829(0x100)](_0xe215b1[_0x4b6829(0xf8)]),_0x1bbff5=_0x232e6e[_0x4b6829(0x100)](_0x445243[_0x4b6829(0xf8)]);_0x4b6829(0xd4)===_0x5333f6[_0x4b6829(0xe9)](_0x1bbff5)&&(this[_0x4b6829(0x10c)](_0x4cbf98,_0xe215b1[_0x4b6829(0xf8)]),_0x232977=-0x1,_0x1e6340=!0x0);}return _0x1e6340;}}function _(_0x495007,_0x1bb76f,_0x39e4c7){const _0x339cab=_0x256d62;if(_0x39e4c7[_0x339cab(0xc4)])return!0x1;const _0x4e6758=_0x1bb76f?_0x339cab(0xe4):_0x339cab(0x10b);return _0x495007[_0x339cab(0xe6)](_0x495007[_0x339cab(0xbd)](_0x4e6758),_0x39e4c7),!0x0;}function I(_0x185367,_0x1bea62,_0x512307){const _0x2f2aac=_0x256d62;if(0x0===_0x1bea62[_0x2f2aac(0xda)])return 0x0;const _0x5b17de=_0x185367[_0x2f2aac(0x100)](_0x512307);for(let _0x38630c=0x0;_0x38630c<_0x1bea62[_0x2f2aac(0xda)];_0x38630c++){const _0x2f1b65=_0x1bea62[_0x38630c],_0xfb70b7=_0x185367[_0x2f2aac(0x100)](_0x2f1b65[_0x2f2aac(0xf8)]);if(_0x2f2aac(0xf6)===_0x5b17de[_0x2f2aac(0xe9)](_0xfb70b7))return _0x38630c;}const _0x4ad057=_0x512307[_0x2f2aac(0xd8)];let _0x2c67aa=-0x1;for(let _0x23d29f=_0x1bea62[_0x2f2aac(0xda)]-0x1;_0x23d29f>=0x0;_0x23d29f--)if(_0x1bea62[_0x23d29f][_0x2f2aac(0xf8)][_0x2f2aac(0xd8)]===_0x4ad057){_0x2c67aa=_0x23d29f;break;}if(-0x1!==_0x2c67aa)return _0x2c67aa+0x1;const _0x74ec1d=_0x185367[_0x2f2aac(0x110)][_0x2f2aac(0xbf)](),_0x2c341f=_0x74ec1d[_0x2f2aac(0xce)](_0x4ad057[_0x2f2aac(0x10d)]),_0x5b519d=_0x74ec1d[_0x2c341f+0x1];if(_0x5b519d){for(let _0x1f8b7d=0x0;_0x1f8b7d<_0x1bea62[_0x2f2aac(0xda)];_0x1f8b7d++)if(_0x1bea62[_0x1f8b7d][_0x2f2aac(0xf8)][_0x2f2aac(0xd8)][_0x2f2aac(0x10d)]===_0x5b519d)return _0x1f8b7d;}return _0x1bea62[_0x2f2aac(0xda)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x380c38,MenuBarMenuListItemButtonView as _0x31087a}from'ckeditor5/src/ui.js';import{Plugin as _0x209c85}from'ckeditor5/src/core.js';import{IconFootnote as _0x46ebda}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x209c85{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1f91cf}=this,{componentFactory:_0x32b57d}=_0x1f91cf['ui'];_0x32b57d['add']('insertFootnote',x(_0x1f91cf,_0x380c38)),_0x32b57d['add']('menuBar:insertFootnote',x(_0x1f91cf,_0x31087a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x502179=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x29ab8b;for(const _0x522229 in _0x502179){const _0x32e9fb=_0x522229,_0x27e7ef=_0x502179[_0x32e9fb];if('footnotesLicenseKeyValid'==_0x27e7ef||'footnotesLicenseKeyInvalid'==_0x27e7ef||'footnotesLicenseKeyExpired'==_0x27e7ef||'footnotesLicenseKeyDomainLimit'==_0x27e7ef||'footnotesLicenseKeyNotAllowed'==_0x27e7ef||'footnotesLicenseKeyEvaluationLimit'==_0x27e7ef||'footnotesLicenseKeyTrialLimit'==_0x27e7ef||'footnotesLicenseKeyUsageLimit'==_0x27e7ef){delete _0x502179[_0x32e9fb],_0x29ab8b=_0x27e7ef,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x29ab8b&&_0x502179['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x29ab8b&&_0x502179['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x29ab8b&&_0x502179['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x29ab8b&&_0x502179['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x29ab8b&&_0x502179['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x29ab8b&&_0x502179['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x29ab8b&&_0x502179['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x31bf03,_0x5e2e33){const _0x25ba99=_0x31bf03['commands']['get']('insertFootnote');return _0x3b4e27=>{const {t:t}=_0x3b4e27,_0x4d8372=new _0x5e2e33(_0x3b4e27),_0x19c7e2=_0x4d8372 instanceof _0x31087a;return _0x4d8372['bind']('isEnabled')['to'](_0x25ba99,'isEnabled'),_0x4d8372['set']({'label':t(_0x19c7e2?'Footnote':'Insert\x20footnote'),'icon':_0x46ebda,'tooltip':!0x0}),_0x4d8372['on']('execute',()=>{_0x25ba99['execute'](),_0x31bf03['editing']['view']['focus']();}),_0x4d8372;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x31f705,_0x2d2fc4){var _0x14eb08=_0x20d7,_0x2d0102=_0x31f705();while(!![]){try{var _0x33b0eb=parseInt(_0x14eb08(0x1e9))/0x1*(parseInt(_0x14eb08(0x1ec))/0x2)+parseInt(_0x14eb08(0x1ee))/0x3+-parseInt(_0x14eb08(0x1f1))/0x4+parseInt(_0x14eb08(0x1ea))/0x5*(-parseInt(_0x14eb08(0x1f0))/0x6)+parseInt(_0x14eb08(0x1f2))/0x7+-parseInt(_0x14eb08(0x1ed))/0x8+parseInt(_0x14eb08(0x1ef))/0x9*(parseInt(_0x14eb08(0x1eb))/0xa);if(_0x33b0eb===_0x2d2fc4)break;else _0x2d0102['push'](_0x2d0102['shift']());}catch(_0x57b266){_0x2d0102['push'](_0x2d0102['shift']());}}}(_0x1237,0x9fe59));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';function _0x20d7(_0x17b3c8,_0x40a9c6){var _0x123795=_0x1237();return _0x20d7=function(_0x20d7b0,_0x3022f7){_0x20d7b0=_0x20d7b0-0x1e9;var _0x284bdd=_0x123795[_0x20d7b0];return _0x284bdd;},_0x20d7(_0x17b3c8,_0x40a9c6);}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 _0x1237(){var _0x2598bd=['70206UJPAvp','757728azMFNh','739410QCQIcr','41ZLxIDJ','105lxkizi','10QdRCoi','31214buEmQf','7941216qvQbvn','3264042iHEeYV','2242899rbgmaq'];_0x1237=function(){return _0x2598bd;};return _0x1237();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2f6b(){const _0x55cac0=['elementName','getItems','position','values','$graveyard','25958920tudcoU','slice','type','length','9GZUGng','from','has','_trackedElements','$text','_model','flat','element','2554004sOJUdB','5222008XIxRFO','7783909gWXlmq','createRangeOn','remove','add','clear','nodeAfter','3059508kfqYDe','390vaTLIF','_elementName','insert','push','root','_getElementKey','699186vybxAi','83010fnpmov','3oIlcDy','attributes','reset','set','getElementKey','getChanges','rootName','delete','get','name'];_0x2f6b=function(){return _0x55cac0;};return _0x2f6b();}function _0x3b7b(_0x3bb618,_0x15ccd2){const _0x2f6b34=_0x2f6b();return _0x3b7b=function(_0x3b7b07,_0x100d95){_0x3b7b07=_0x3b7b07-0x16a;let _0x456768=_0x2f6b34[_0x3b7b07];return _0x456768;},_0x3b7b(_0x3bb618,_0x15ccd2);}const _0x4a2b1d=_0x3b7b;(function(_0xabd445,_0x7abc8a){const _0x4774ed=_0x3b7b,_0x3a9be1=_0xabd445();while(!![]){try{const _0x1bcd20=parseInt(_0x4774ed(0x195))/0x1+-parseInt(_0x4774ed(0x18e))/0x2+parseInt(_0x4774ed(0x16b))/0x3*(parseInt(_0x4774ed(0x186))/0x4)+-parseInt(_0x4774ed(0x18f))/0x5*(parseInt(_0x4774ed(0x16a))/0x6)+-parseInt(_0x4774ed(0x188))/0x7+-parseInt(_0x4774ed(0x187))/0x8*(-parseInt(_0x4774ed(0x17e))/0x9)+parseInt(_0x4774ed(0x17a))/0xa;if(_0x1bcd20===_0x7abc8a)break;else _0x3a9be1['push'](_0x3a9be1['shift']());}catch(_0x431ec1){_0x3a9be1['push'](_0x3a9be1['shift']());}}}(_0x2f6b,0xd34b3));export class ModelElementTracker{[_0x4a2b1d(0x183)];[_0x4a2b1d(0x190)];[_0x4a2b1d(0x194)];[_0x4a2b1d(0x181)]=new Map();constructor(_0x1cad6a,_0x4263f3){const _0x11e37e=_0x4a2b1d;this[_0x11e37e(0x183)]=_0x1cad6a,this[_0x11e37e(0x190)]=_0x4263f3[_0x11e37e(0x175)],this[_0x11e37e(0x194)]=_0x4263f3[_0x11e37e(0x16f)];}[_0x4a2b1d(0x16d)](){const _0x5ea681=_0x4a2b1d;this[_0x5ea681(0x181)][_0x5ea681(0x18c)]();}[_0x4a2b1d(0x170)](_0x1dcc55){const _0x3e8b23=_0x4a2b1d,_0x5ea56a=new Set(),_0x31fefc=new Map();for(const _0x4739fc of _0x1dcc55){if(_0x3e8b23(0x191)===_0x4739fc[_0x3e8b23(0x17c)]&&_0x3e8b23(0x182)!==_0x4739fc[_0x3e8b23(0x174)]&&_0x4739fc[_0x3e8b23(0x177)][_0x3e8b23(0x18d)]){const _0x139977=this[_0x3e8b23(0x183)][_0x3e8b23(0x189)](_0x4739fc[_0x3e8b23(0x177)][_0x3e8b23(0x18d)]);for(const _0x135052 of _0x139977[_0x3e8b23(0x176)]()){if(!_0x135052['is'](_0x3e8b23(0x185),this[_0x3e8b23(0x190)]))continue;const _0x54e663=this[_0x3e8b23(0x194)](_0x135052);_0x31fefc[_0x3e8b23(0x180)](_0x54e663)||_0x31fefc[_0x3e8b23(0x16e)](_0x54e663,[]),_0x31fefc[_0x3e8b23(0x173)](_0x54e663)[_0x3e8b23(0x192)](_0x135052);}}if(_0x3e8b23(0x18a)===_0x4739fc[_0x3e8b23(0x17c)]&&_0x4739fc[_0x3e8b23(0x174)]===this[_0x3e8b23(0x190)]){const _0x3a24f3=this[_0x3e8b23(0x194)]({'getAttribute':_0x240829=>_0x4739fc[_0x3e8b23(0x16c)][_0x3e8b23(0x173)](_0x240829)});_0x5ea56a[_0x3e8b23(0x18b)](_0x3a24f3);}}for(const [_0x7b3817,_0x427421]of this[_0x3e8b23(0x181)])_0x3e8b23(0x179)===_0x427421[_0x3e8b23(0x193)][_0x3e8b23(0x171)]&&_0x5ea56a[_0x3e8b23(0x18b)](_0x7b3817);for(const _0x546cbd of _0x5ea56a)this[_0x3e8b23(0x181)][_0x3e8b23(0x172)](_0x546cbd);for(const [_0x46f905,_0x3d0c6d]of _0x31fefc)this[_0x3e8b23(0x181)][_0x3e8b23(0x16e)](_0x46f905,_0x3d0c6d[_0x3d0c6d[_0x3e8b23(0x17d)]-0x1]);const _0x5c252b=new Set();for(const [_0x335689,_0x8aa531]of _0x31fefc)_0x5ea56a[_0x3e8b23(0x180)](_0x335689)&&(_0x5c252b[_0x3e8b23(0x18b)](_0x8aa531[0x0]),_0x8aa531[_0x3e8b23(0x17d)]>0x1?_0x31fefc[_0x3e8b23(0x16e)](_0x335689,_0x8aa531[_0x3e8b23(0x17b)](0x1)):_0x31fefc[_0x3e8b23(0x172)](_0x335689),_0x5ea56a[_0x3e8b23(0x172)](_0x335689));return{'removed':Array[_0x3e8b23(0x17f)](_0x5ea56a),'inserted':Array[_0x3e8b23(0x17f)](_0x31fefc[_0x3e8b23(0x178)]())[_0x3e8b23(0x184)](),'moved':Array[_0x3e8b23(0x17f)](_0x5c252b)};}}
|