@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251223.0 → 0.0.0-nightly-20251224.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 _0x1cc457}from'ckeditor5/src/core.js';import{isWidget as _0x34da2f,toWidget as _0x20c4df,toWidgetEditable as _0x302188}from'ckeditor5/src/widget.js';import{uid as _0x649174}from'ckeditor5/src/utils.js';import{PointerObserver as _0x4e59df,ClickObserver as _0x13e003}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x1481aa}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x22de63}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x1cc457{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x1481aa];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x53783f}=this;_0x53783f['config']['define']('footnotes.multiBlock',!0x0),_0x53783f['commands']['add']('insertFootnote',new _0x22de63(_0x53783f)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2c9da6){const _0x91448e=_0x431a3a([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]),_0x220b35=0x47a28506,_0x537a68=0x47a5f9be^_0x220b35,_0x135058=window[_0x431a3a([0x44,0x61,0x74,0x65])][_0x431a3a([0x6e,0x6f,0x77])](),_0x1e7496=_0x2c9da6[_0x431a3a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2dc65c=new window[(_0x431a3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x497942=>{_0x1e7496[_0x431a3a([0x6f,0x6e,0x63,0x65])](_0x431a3a([0x72,0x65,0x61,0x64,0x79]),_0x497942);}),_0x58f8a3={[_0x431a3a([0x6b,0x74,0x79])]:_0x431a3a([0x45,0x43]),[_0x431a3a([0x75,0x73,0x65])]:_0x431a3a([0x73,0x69,0x67]),[_0x431a3a([0x63,0x72,0x76])]:_0x431a3a([0x50,0x2d,0x32,0x35,0x36]),[_0x431a3a([0x78])]:_0x431a3a([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]),[_0x431a3a([0x79])]:_0x431a3a([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]),[_0x431a3a([0x61,0x6c,0x67])]:_0x431a3a([0x45,0x53,0x32,0x35,0x36])},_0x122b7a=_0x1e7496[_0x431a3a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x431a3a([0x67,0x65,0x74])](_0x431a3a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4ea5b6(){let _0x462af2,_0x20c77c=null,_0x46c9a1=null;try{if(_0x122b7a==_0x431a3a([0x47,0x50,0x4c]))return _0x431a3a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x462af2=_0x1527d2(),!_0x462af2)return _0x431a3a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x462af2[_0x431a3a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x46c9a1=_0x5258f2(_0x462af2[_0x431a3a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x462af2[_0x431a3a([0x6a,0x74,0x69])])),await _0xdb664f()?_0xdac7c9()?_0x370a28()?_0x431a3a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3569a3()?(_0x462af2[_0x431a3a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x431a3a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x20c77c=_0x17ff3d(_0x431a3a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x462af2[_0x431a3a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x431a3a([0x74,0x72,0x69,0x61,0x6c])&&(_0x20c77c=_0x17ff3d(_0x431a3a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xa93e61()):_0x431a3a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x431a3a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x431a3a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x431a3a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x370a28(){const _0x55bfae=[_0x431a3a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x431a3a([0x74,0x72,0x69,0x61,0x6c])][_0x431a3a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x462af2[_0x431a3a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x135058/0x3e8:0xe10*_0x537a68;return _0x462af2[_0x431a3a([0x65,0x78,0x70])]<_0x55bfae;}function _0xdac7c9(){const _0x131bd4=_0x462af2[_0x431a3a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x131bd4&&(!!_0x131bd4[_0x431a3a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x431a3a([0x2a]))||!!_0x131bd4[_0x431a3a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x431a3a([0x46,0x4f,0x4f])));}function _0x3569a3(){const _0x58d7d4=_0x462af2[_0x431a3a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x58d7d4||0x0==_0x58d7d4[_0x431a3a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2000fd}=new URL(window[_0x431a3a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x58d7d4[_0x431a3a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2000fd))return!0x0;const _0x18a34b=_0x2000fd[_0x431a3a([0x73,0x70,0x6c,0x69,0x74])](_0x431a3a([0x2e]));return _0x58d7d4[_0x431a3a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47d342=>_0x47d342[_0x431a3a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x431a3a([0x2a])))[_0x431a3a([0x6d,0x61,0x70])](_0x4a2e6f=>_0x4a2e6f[_0x431a3a([0x73,0x70,0x6c,0x69,0x74])](_0x431a3a([0x2e])))[_0x431a3a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x282930=>_0x282930[_0x431a3a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x18a34b[_0x431a3a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x431a3a([0x6d,0x61,0x70])](_0x55c822=>Array(_0x18a34b[_0x431a3a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x55c822[_0x431a3a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x431a3a([0x66,0x69,0x6c,0x6c])](_0x55c822[0x0]===_0x431a3a([0x2a])?_0x431a3a([0x2a]):'')[_0x431a3a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x55c822))[_0x431a3a([0x73,0x6f,0x6d,0x65])](_0x17b267=>_0x18a34b[_0x431a3a([0x65,0x76,0x65,0x72,0x79])]((_0x3a4486,_0x26e409)=>_0x17b267[_0x26e409]===_0x3a4486||_0x17b267[_0x26e409]===_0x431a3a([0x2a])));}function _0xa93e61(){return _0x20c77c&&_0x46c9a1?new window[(_0x431a3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e515d,_0x2b9f3d)=>{_0x20c77c[_0x431a3a([0x74,0x68,0x65,0x6e])](_0x1e515d,_0x2b9f3d),_0x46c9a1[_0x431a3a([0x74,0x68,0x65,0x6e])](_0x2c0b6e=>{_0x2c0b6e!=_0x431a3a([0x56,0x61,0x6c,0x69,0x64])&&_0x1e515d(_0x2c0b6e);},_0x2b9f3d);}):_0x20c77c||_0x46c9a1||_0x431a3a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5258f2(_0x33dafd,_0x384f9e){return new window[(_0x431a3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5637d1=>{if(_0x347573())return _0x5637d1(_0x431a3a([0x56,0x61,0x6c,0x69,0x64]));_0x13431b(),_0x1e7496[_0x431a3a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x431a3a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x553c05=!0x1;const _0x3d2669=_0x649174();function _0xa51a8a(_0x401766){return!!_0x401766&&(typeof _0x401766===_0x431a3a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x401766===_0x431a3a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x401766[_0x431a3a([0x74,0x68,0x65,0x6e])]===_0x431a3a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x401766[_0x431a3a([0x63,0x61,0x74,0x63,0x68])]===_0x431a3a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x445358(_0x3286dc){_0x4c86c1(_0x3286dc)[_0x431a3a([0x74,0x68,0x65,0x6e])](_0xcf434f=>{if(!_0xcf434f||_0xcf434f[_0x431a3a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x431a3a([0x6f,0x6b]))return _0x431a3a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x55ec49(_0x10a0a4(_0x3d2669+_0x384f9e))!=_0xcf434f[_0x431a3a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x431a3a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x431a3a([0x56,0x61,0x6c,0x69,0x64]);})[_0x431a3a([0x74,0x68,0x65,0x6e])](_0x330513=>(_0x216274(),_0x330513),()=>{const _0x2589f6=_0xec5033();return null==_0x2589f6?(_0x216274(),_0x431a3a([0x56,0x61,0x6c,0x69,0x64])):_0x431a3a(_0x135058-_0x2589f6>(0x63ae0106^_0x220b35)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x431a3a([0x74,0x68,0x65,0x6e])](_0x5637d1)[_0x431a3a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5637d1(_0x431a3a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x220c55=0x47946b86^_0x220b35;function _0x216274(){const _0x1f0928=_0x431a3a([0x6c,0x6c,0x63,0x74,0x2d])+_0x55ec49(_0x10a0a4(_0x33dafd)),_0xba5d9c=_0x908834(_0x55ec49(window[_0x431a3a([0x4d,0x61,0x74,0x68])][_0x431a3a([0x63,0x65,0x69,0x6c])](_0x135058/_0x220c55)));window[_0x431a3a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x431a3a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f0928,_0xba5d9c);}function _0xec5033(){const _0x58e0f9=_0x431a3a([0x6c,0x6c,0x63,0x74,0x2d])+_0x55ec49(_0x10a0a4(_0x33dafd)),_0xa8f7de=window[_0x431a3a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x431a3a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x58e0f9);return _0xa8f7de?window[_0x431a3a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x908834(_0xa8f7de),0x10)*_0x220c55:null;}function _0x4c86c1(_0x58bde9){return new window[(_0x431a3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36881f,_0x279422)=>{_0x58bde9[_0x431a3a([0x74,0x68,0x65,0x6e])](_0x36881f,_0x279422),window[_0x431a3a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x279422,0x47a351c6^_0x220b35);});}}_0x1e7496[_0x431a3a([0x6f,0x6e])](_0x431a3a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x43a079,_0x29e1d2)=>{if(_0x29e1d2[0x0]!=_0x33dafd)return _0x5637d1(_0x431a3a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x29e1d2[0x1]={..._0x29e1d2[0x1],[_0x431a3a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d2669};},{[_0x431a3a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x431a3a([0x68,0x69,0x67,0x68])}),_0x1e7496[_0x431a3a([0x6f,0x6e])](_0x431a3a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1668cb=>{_0xa51a8a(_0x1668cb[_0x431a3a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x553c05=!0x0,_0x445358(_0x1668cb[_0x431a3a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x431a3a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x431a3a([0x6c,0x6f,0x77])}),_0x2dc65c[_0x431a3a([0x74,0x68,0x65,0x6e])](()=>{_0x553c05||_0x5637d1(_0x431a3a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x347573(){return _0x1e7496[_0x431a3a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x431a3a([0x76,0x69,0x65,0x77])][_0x431a3a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x431a3a([0x61,0x75,0x74,0x6f]);}function _0x13431b(){_0x1e7496[_0x431a3a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x431a3a([0x76,0x69,0x65,0x77])][_0x431a3a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x431a3a([0x61,0x75,0x74,0x6f]);}}function _0x17ff3d(_0x41ae44){const _0x317d94=[new window[(_0x431a3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c67d2=>setTimeout(_0x3c67d2,0x47abbbca^_0x220b35)),_0x2dc65c[_0x431a3a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x431a3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50335b=>{let _0x440ff2=0x0;_0x1e7496[_0x431a3a([0x6d,0x6f,0x64,0x65,0x6c])][_0x431a3a([0x6f,0x6e])](_0x431a3a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3ffbd8,_0x39804c)=>{_0x39804c[0x0][_0x431a3a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x440ff2++,_0x440ff2==(0x47a280ee^_0x220b35)&&(_0x50335b(),_0x3ffbd8[_0x431a3a([0x6f,0x66,0x66])]());});}))];return window[_0x431a3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x431a3a([0x72,0x61,0x63,0x65])](_0x317d94)[_0x431a3a([0x74,0x68,0x65,0x6e])](()=>_0x41ae44);}async function _0x1b5d1e(){await _0x2dc65c,_0x1e7496[_0x431a3a([0x6d,0x6f,0x64,0x65,0x6c])][_0x431a3a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x488252,_0x1e7496[_0x431a3a([0x6d,0x6f,0x64,0x65,0x6c])][_0x431a3a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x488252,_0x1e7496[_0x431a3a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x431a3a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x59c25a(_0x3e493a){const _0xabb60b=_0x13504b();_0x1e7496[_0xabb60b]=_0x431a3a([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e493a,_0x3e493a!=_0x431a3a([0x56,0x61,0x6c,0x69,0x64])&&_0x1b5d1e();}function _0x13504b(){const _0x8bab31=window[_0x431a3a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x431a3a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x431a3a([0x6e,0x6f,0x77])]())[_0x431a3a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x431a3a([0x2e]),'');let _0x539e07=_0x431a3a([0x75]);for(let _0x1216d8=0x0;_0x1216d8<_0x8bab31[_0x431a3a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1216d8+=0x2){let _0x188ef6=window[_0x431a3a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8bab31[_0x431a3a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1216d8,_0x1216d8+0x2));_0x188ef6>=_0x91448e[_0x431a3a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x188ef6-=_0x91448e[_0x431a3a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x539e07+=_0x91448e[_0x188ef6];}return _0x539e07;}function _0x1527d2(){const _0x2aefe6=_0x122b7a[_0x431a3a([0x73,0x70,0x6c,0x69,0x74])](_0x431a3a([0x2e]));if(0x3!=_0x2aefe6[_0x431a3a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x43aa54(_0x2aefe6[0x1]);function _0x43aa54(_0x305a31){const _0x1cc750=_0x717952(_0x305a31);return _0x1cc750&&_0x9856e4()?_0x1cc750:null;function _0x9856e4(){const _0x26597d=_0x1cc750[_0x431a3a([0x6a,0x74,0x69])],_0x598934=window[_0x431a3a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26597d[_0x431a3a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26597d[_0x431a3a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xb76f92={..._0x1cc750,[_0x431a3a([0x6a,0x74,0x69])]:_0x26597d[_0x431a3a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x26597d[_0x431a3a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xb76f92[_0x431a3a([0x76,0x63])],_0x10a0a4(_0xb76f92)==_0x598934;}}}async function _0xdb664f(){let _0x54eec9=!0x0;try{const _0x2569e9=_0x122b7a[_0x431a3a([0x73,0x70,0x6c,0x69,0x74])](_0x431a3a([0x2e])),[_0x168ef8,_0x4b25a6,_0x2d6291]=_0x2569e9;return _0x56a6cf(_0x168ef8),await _0x5cf93a(_0x168ef8,_0x4b25a6,_0x2d6291),_0x54eec9;}catch{return!0x1;}function _0x56a6cf(_0x3ad1f4){const _0x55150c=_0x717952(_0x3ad1f4);_0x55150c&&_0x55150c[_0x431a3a([0x61,0x6c,0x67])]==_0x431a3a([0x45,0x53,0x32,0x35,0x36])||(_0x54eec9=!0x1);}async function _0x5cf93a(_0x57e270,_0xffb818,_0x16d977){const _0x7babcf=window[_0x431a3a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x431a3a([0x66,0x72,0x6f,0x6d])](_0x596d88(_0x16d977),_0x2128c5=>_0x2128c5[_0x431a3a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3e79d2=new window[(_0x431a3a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x431a3a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x57e270+_0x431a3a([0x2e])+_0xffb818),_0xd362cf=window[_0x431a3a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x431a3a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd362cf)return;const _0x317efb=await _0xd362cf[_0x431a3a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x431a3a([0x6a,0x77,0x6b]),_0x58f8a3,{[_0x431a3a([0x6e,0x61,0x6d,0x65])]:_0x431a3a([0x45,0x43,0x44,0x53,0x41]),[_0x431a3a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x431a3a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x431a3a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd362cf[_0x431a3a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x431a3a([0x6e,0x61,0x6d,0x65])]:_0x431a3a([0x45,0x43,0x44,0x53,0x41]),[_0x431a3a([0x68,0x61,0x73,0x68])]:{[_0x431a3a([0x6e,0x61,0x6d,0x65])]:_0x431a3a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x317efb,_0x7babcf,_0x3e79d2)||(_0x54eec9=!0x1);}}function _0x717952(_0x1d91b1){return _0x1d91b1[_0x431a3a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x431a3a([0x65,0x79]))?JSON[_0x431a3a([0x70,0x61,0x72,0x73,0x65])](_0x596d88(_0x1d91b1)):null;}function _0x596d88(_0x6c9501){return window[_0x431a3a([0x61,0x74,0x6f,0x62])](_0x6c9501[_0x431a3a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x431a3a([0x2b]))[_0x431a3a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x431a3a([0x2f])));}function _0x10a0a4(_0x1d549c){let _0x4ea61c=0x1505;function _0x460d66(_0x2b84c9){for(let _0x318311=0x0;_0x318311<_0x2b84c9[_0x431a3a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x318311++){const _0x35c9c9=_0x2b84c9[_0x431a3a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x318311);_0x4ea61c=(_0x4ea61c<<0x5)+_0x4ea61c+_0x35c9c9,_0x4ea61c&=_0x4ea61c;}}function _0x4aa611(_0x445844){Array[_0x431a3a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x445844)?_0x445844[_0x431a3a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4aa611):_0x445844&&typeof _0x445844==_0x431a3a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x431a3a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x445844)[_0x431a3a([0x73,0x6f,0x72,0x74])]()[_0x431a3a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x584a69,_0x43faa5])=>{_0x460d66(_0x584a69),_0x4aa611(_0x43faa5);}):_0x460d66(window[_0x431a3a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x445844));}return _0x4aa611(_0x1d549c),_0x4ea61c>>>0x0;}function _0x55ec49(_0x1ee0bb){return _0x1ee0bb[_0x431a3a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x431a3a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x431a3a([0x30]));}function _0x908834(_0x2045fe){return _0x2045fe[_0x431a3a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x431a3a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x431a3a([0x6a,0x6f,0x69,0x6e])]('');}function _0x488252(){}function _0x431a3a(_0x5a5ea6){return _0x5a5ea6['map'](_0x48795d=>String['fromCharCode'](_0x48795d))['join']('');}_0x59c25a(await _0x4ea5b6());}(this);}['_moveSelectionToFootnoteDefinition'](_0x13de9c){const {plugins:_0x373662,editing:_0x4ed708,model:_0x95c804}=this['editor'],_0x5ef7e6=_0x373662['get'](_0x1481aa)['getFootnote'](_0x13de9c);return!!_0x5ef7e6&&(_0x95c804['change'](_0x3fedad=>{_0x3fedad['setSelection'](_0x3fedad['createPositionAt'](_0x5ef7e6['definition'],'end'));}),_0x4ed708['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x524cb2){const {plugins:_0x44cfd6,editing:_0x812445,model:_0x51f2a9}=this['editor'],_0x2edd0e=_0x44cfd6['get'](_0x1481aa)['getFootnote'](_0x524cb2);return!!_0x2edd0e&&(_0x51f2a9['change'](_0x439f08=>{_0x439f08['setSelection'](_0x2edd0e['reference'],'on');}),_0x812445['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5e2361}=this['editor']['model'],_0x150345=this['editor']['config']['get']('footnotes.multiBlock');_0x5e2361['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5e2361['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5e2361['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x150345?_0x5e2361['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5e2361['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5e2361['addChildCheck'](_0x5ca298=>{for(const _0x3b4779 of _0x5ca298)if('footnoteDefinition'===_0x3b4779['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x48312b}=this,{conversion:_0x3bf271,editing:_0x36e760}=_0x48312b,{t:t}=_0x48312b['locale'];_0x3bf271['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x17ccb3,{writer:_0x412b9b,consumable:_0x3c6b28})=>{const _0x15f099=_0x17ccb3['getChild'](0x0);if(!_0x15f099||!_0x15f099['is']('element','a'))return null;const _0x434b18=_0x15f099['getAttribute']('href')||'';if(!_0x434b18['startsWith']('#'))return null;const _0x1d9839=_0x434b18['replace'](/^#/,'');if(!_0x1d9839)return null;_0x3c6b28['consume'](_0x15f099,{'name':!0x0,'attributes':['href']});for(const {item:_0x173438}of _0x36e760['view']['createRangeIn'](_0x15f099))_0x173438['is']('$textProxy')?_0x3c6b28['consume'](_0x173438['textNode'],{'name':!0x0}):_0x173438['is']('element')&&_0x3c6b28['consume'](_0x173438,{'name':!0x0});return _0x412b9b['createElement']('footnoteRef',{'footnoteId':_0x1d9839});}}),_0x3bf271['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x192829,{writer:_0x18895c})=>b(_0x192829,_0x18895c)}),_0x3bf271['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1a3ecf,{writer:_0x568e3f})=>{const _0x3e25aa=_0x1a3ecf['getAttribute']('footnoteCounter');return _0x20c4df(b(_0x1a3ecf,_0x568e3f),_0x568e3f,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3e25aa)});}});}['_defineDefinitionsConverters'](){const {editor:_0xbc31a2}=this,{t:t}=_0xbc31a2['locale'],{conversion:_0x3a9680}=_0xbc31a2;_0x3a9680['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3a9680['for']('upcast')['add'](_0x180bc7=>{_0x180bc7['on']('element:ol',(_0x25d99e,_0x191164,_0x4694e6)=>{const _0x2a91dc=_0x191164['viewItem'];if(!_0x2a91dc['hasClass']('footnotes-list')||!_0x191164['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4694e6['consumable']['consume'](_0x2a91dc,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3f234f,modelCursor:_0x2ebd39}=_0x4694e6['convertChildren'](_0x191164['viewItem'],_0x191164['modelCursor']);_0x191164['modelRange']=_0x3f234f,_0x191164['modelCursor']=_0x2ebd39;}),_0x180bc7['on']('element:hr',(_0x108da2,_0x39cbac,_0x2e5812)=>{const _0x251dd4=_0x39cbac['viewItem'];_0x251dd4['hasClass']('footnotes-divider')&&_0x39cbac['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2e5812['consumable']['consume'](_0x251dd4,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3a9680['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4672f6,{writer:_0x319411})=>D(_0x319411)}),_0x3a9680['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xa5a892,{writer:_0x1065b5})=>{const _0x38b651=D(_0x1065b5,{'data-footnotes-list-label':t('Footnotes')}),_0x1c9d15=_0x20c4df(_0x38b651,_0x1065b5,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1065b5['setCustomProperty']('footnotesDefinitions',!0x0,_0x1c9d15),_0x1c9d15;}});}['_defineDefinitionConverters'](){const {editor:_0x28ad1b}=this,{conversion:_0x31472b,locale:_0x3afe13}=_0x28ad1b,_0x26a795=_0x28ad1b['config']['get']('footnotes.multiBlock');_0x31472b['for']('upcast')['add'](_0x4fb382=>{_0x4fb382['on']('element:li',(_0x4b9a35,_0xaf4488,_0x12e912)=>{const _0x453d18=_0xaf4488['viewItem'];if(!_0x453d18['hasClass']('footnote-definition')||!_0x453d18['getAttribute']('id'))return;const _0x3abdf6=_0x453d18['parent'];if(!_0x3abdf6['is']('element','ol')||!_0x3abdf6['hasClass']('footnotes-list'))return;if(!_0x12e912['consumable']['test'](_0x453d18,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0xf779a6=_0x12e912['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x453d18['getAttribute']('id')});if(!_0x12e912['safeInsert'](_0xf779a6,_0xaf4488['modelCursor']))return;_0x12e912['consumable']['consume'](_0x453d18,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5bdd90=Array['from'](_0x453d18['getChildren']())['find'](_0x65a1ed=>_0x65a1ed['is']('element')&&_0x65a1ed['hasClass']('footnote-content'));for(const _0x10da25 of _0x453d18['getChildren']())_0x10da25['is']('element')&&(_0x12e912['consumable']['consume'](_0x10da25,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x12e912['consumable']['consume'](_0x10da25,{'name':!0x0,'classes':'footnote-content'}));if(_0x5bdd90){if(_0x26a795)_0x12e912['convertChildren'](_0x5bdd90,_0xf779a6);else{const _0x3969f2=_0x12e912['writer']['createElement']('footnoteInlineContent');_0x12e912['writer']['insert'](_0x3969f2,_0xf779a6),_0x12e912['convertChildren'](_0x5bdd90,_0x3969f2);}}_0x12e912['updateConversionResult'](_0xf779a6,_0xaf4488);});}),_0x31472b['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3ae85d,{writer:_0x165653})=>y(_0x3ae85d,_0x165653,_0x3afe13,{'dataPipeline':!0x0})}),_0x31472b['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x457f90,{writer:_0x28d161})=>y(_0x457f90,_0x28d161,_0x3afe13)});}['_defineBogusParagraphConverters'](){const {editor:_0x2cc922}=this,{conversion:_0x4e1a4f}=_0x2cc922;_0x2cc922['config']['get']('footnotes.multiBlock')?(_0x4e1a4f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x4e1a4f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x2cc922['model']['document'],'change:data',()=>{!function(_0x1a553e,_0x11544f){const _0x486dbe=_0x1a553e['document']['differ'],_0x4ac999=new Set();for(const _0x40f575 of _0x486dbe['getChanges']()){const _0x1b9d09='attribute'==_0x40f575['type']?_0x40f575['range']['start']['parent']:_0x40f575['position']['parent'];_0x1b9d09['is']('element','footnoteDefinition')&&_0x4ac999['add'](_0x1b9d09);}for(const _0x394334 of _0x4ac999['values']()){const _0x404904=Array['from'](_0x394334['getChildren']())['filter'](_0x47cd3b=>v(_0x47cd3b,_0x11544f['mapper']));for(const _0x5171ee of _0x404904)_0x11544f['reconvertItem'](_0x5171ee);}}(_0x2cc922['model'],_0x2cc922['editing']);})):(_0x4e1a4f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x4e1a4f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x18182f,{writer:_0xac64f0})=>{const _0x1a3cbb=_0xac64f0['createContainerElement']('span');return _0xac64f0['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1a3cbb),_0x1a3cbb;}}));}['_defineKeyboardHandlers'](){const {editor:_0xa3731e}=this,{editing:_0x33da1c,t:t}=_0xa3731e,_0x14f7e1=_0xa3731e['model']['document']['selection'];_0xa3731e['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0xa3731e['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x33da1c['view']['document'],'enter',(_0x690a8,_0x307e4c)=>{const _0x1e016a=function(_0xf918bb){const _0x3781e6=_0xf918bb['getSelectedElement']();if(_0x3781e6?.['is']('element','footnoteRef'))return _0x3781e6;return null;}(_0x14f7e1);if(_0x1e016a){const _0x214c39=_0x1e016a['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x214c39),_0x307e4c['preventDefault'](),_0x690a8['stop']();}},{'context':_0x34da2f});}['_defineClickHandlers'](){const {editor:_0x2b208e}=this,{editing:_0x5ca95e}=_0x2b208e;_0x2b208e['editing']['view']['addObserver'](_0x4e59df),_0x2b208e['editing']['view']['addObserver'](_0x13e003);let _0xd33abc=!0x1;this['listenTo'](_0x5ca95e['view']['document'],'pointerdown',(_0x3a7466,_0xa134f7)=>{const {target:_0x34df61}=_0xa134f7,_0x5946cc=_0x5ca95e['view']['document']['selection'];_0xd33abc=!!(_0x34df61?.['is']('element','a')&&_0x34df61['parent']?.['is']('element','sup')&&_0x34df61['parent']['hasClass']('footnote'))&&_0x5946cc['getSelectedElement']()===_0x34df61['parent'];},{'priority':'high'}),this['listenTo'](_0x5ca95e['view']['document'],'click',(_0x4436f6,_0xfd67a9)=>{const {target:_0x400dfa}=_0xfd67a9;if(!_0x400dfa?.['is']('element','a'))return;if(_0x400dfa['parent']?.['is']('element','sup')&&_0x400dfa['parent']['hasClass']('footnote')&&!_0xd33abc)return void _0xfd67a9['preventDefault']();let _0x9bdd97=_0x400dfa['getAttribute']('href');if(!_0x9bdd97?.['startsWith']('#'))return;_0x9bdd97=_0x9bdd97['slice'](0x1);let _0x1a4be9=!0x1;(_0x9bdd97['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x9bdd97['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x9bdd97))&&(_0x1a4be9=!0x0),_0x1a4be9&&(_0xfd67a9['preventDefault'](),_0x4436f6['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x1a9aaa}={}){return(_0x378c67,{writer:_0x3bd827})=>{if(!g(_0x378c67))return null;if(!_0x1a9aaa)return _0x3bd827['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x17c472=_0x3bd827['createContainerElement']('p');return _0x3bd827['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x17c472),_0x17c472;};}function g(_0xb357e8){const {parent:_0x8b31bf}=_0xb357e8;if(!_0x8b31bf?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x8b31bf['childCount'])return!0x1;for(const _0x4829ea of _0xb357e8['getAttributeKeys']())if(!_0x4829ea['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4829ea)return!0x1;return!0x0;}function v(_0x56a5f2,_0xcb261f){if(!_0x56a5f2['is']('element','paragraph'))return!0x1;const _0xc7dc05=_0xcb261f['toViewElement'](_0x56a5f2);return!!_0xc7dc05&&g(_0x56a5f2)!==_0xc7dc05['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x241395){return _0x34da2f(_0x241395)&&_0x241395['is']('containerElement')&&!!_0x241395['getCustomProperty']('footnotesDefinitions');}function D(_0x351b9e,_0x405996={}){const _0xec6d3b=_0x351b9e['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x49925a=_0x351b9e['createContainerElement']('ol',{'class':'footnotes-list'},_0x351b9e['createSlot']());return _0x351b9e['createContainerElement']('div',{'class':'footnotes',..._0x405996},[_0xec6d3b,_0x49925a]);}function b(_0x193524,_0x6e582e){const _0x39b13b=_0x193524['getAttribute']('footnoteId'),_0x38ac0f=_0x193524['getAttribute']('footnoteCounter'),_0x11693d=_0x6e582e['createUIElement']('a',{'href':'#'+_0x39b13b},function(_0x203114){const _0x140f19=this['toDomElement'](_0x203114);return _0x140f19['textContent']=_0x38ac0f,_0x140f19;}),_0x53e7c0=_0x6e582e['createContainerElement']('sup',{'id':'ref-'+_0x39b13b,'class':'footnote'},[_0x11693d]);return _0x53e7c0['getFillerOffset']=()=>null,_0x53e7c0;}function y(_0x16a710,_0x56deda,_0x336dcd,{dataPipeline:_0x306e1f}={}){const {t:t}=_0x336dcd,_0x33196a=_0x16a710['getAttribute']('footnoteId'),_0x23f92a=_0x56deda['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x33196a},function(_0x2c25ce){const _0x29ff64=this['toDomElement'](_0x2c25ce);return _0x29ff64['innerText']='^',_0x29ff64;}),_0x149079=_0x306e1f?_0x56deda['createContainerElement']('div',{'class':'footnote-content'}):_0x302188(_0x56deda['createEditableElement']('div',{'class':'footnote-content'}),_0x56deda,{'label':t('Footnote\x20content.')});return _0x56deda['insert'](_0x56deda['createPositionAt'](_0x149079,0x0),_0x56deda['createSlot']()),_0x56deda['createContainerElement']('li',{'class':'footnote-definition','id':_0x33196a},[_0x23f92a,_0x149079]);}
|
|
23
|
+
import{Plugin as _0x1681b0}from'ckeditor5/src/core.js';import{isWidget as _0x2a5cf1,toWidget as _0x1de6b4,toWidgetEditable as _0x38a538}from'ckeditor5/src/widget.js';import{uid as _0xe0c0c3}from'ckeditor5/src/utils.js';import{PointerObserver as _0x8c2af8,ClickObserver as _0x37008d}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x4740fe}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x25c9af}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x1681b0{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x4740fe];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x16aea3}=this;_0x16aea3['config']['define']('footnotes.multiBlock',!0x0),_0x16aea3['commands']['add']('insertFootnote',new _0x25c9af(_0x16aea3)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x16f598){const _0x256c72=_0x21bd22([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]),_0x3f1412=0x47a28506,_0x55c83d=0x47a5f9d6^_0x3f1412,_0x78f75b=window[_0x21bd22([0x44,0x61,0x74,0x65])][_0x21bd22([0x6e,0x6f,0x77])](),_0x20d76b=_0x16f598[_0x21bd22([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x294fda=new window[(_0x21bd22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x469206=>{_0x20d76b[_0x21bd22([0x6f,0x6e,0x63,0x65])](_0x21bd22([0x72,0x65,0x61,0x64,0x79]),_0x469206);}),_0x3bac71={[_0x21bd22([0x6b,0x74,0x79])]:_0x21bd22([0x45,0x43]),[_0x21bd22([0x75,0x73,0x65])]:_0x21bd22([0x73,0x69,0x67]),[_0x21bd22([0x63,0x72,0x76])]:_0x21bd22([0x50,0x2d,0x32,0x35,0x36]),[_0x21bd22([0x78])]:_0x21bd22([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]),[_0x21bd22([0x79])]:_0x21bd22([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]),[_0x21bd22([0x61,0x6c,0x67])]:_0x21bd22([0x45,0x53,0x32,0x35,0x36])},_0x3ed658=_0x20d76b[_0x21bd22([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x21bd22([0x67,0x65,0x74])](_0x21bd22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x18fda6(){let _0x5ce4f1,_0x152dc8=null,_0x4ce1b7=null;try{if(_0x3ed658==_0x21bd22([0x47,0x50,0x4c]))return _0x21bd22([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5ce4f1=_0x85c66(),!_0x5ce4f1)return _0x21bd22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5ce4f1[_0x21bd22([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4ce1b7=_0x33b722(_0x5ce4f1[_0x21bd22([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5ce4f1[_0x21bd22([0x6a,0x74,0x69])])),await _0x2047d4()?_0x403994()?_0x464ad7()?_0x21bd22([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x111a92()?(_0x5ce4f1[_0x21bd22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x21bd22([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x152dc8=_0x427c19(_0x21bd22([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5ce4f1[_0x21bd22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x21bd22([0x74,0x72,0x69,0x61,0x6c])&&(_0x152dc8=_0x427c19(_0x21bd22([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x17143c()):_0x21bd22([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x21bd22([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x21bd22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x21bd22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x464ad7(){const _0x19d314=[_0x21bd22([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x21bd22([0x74,0x72,0x69,0x61,0x6c])][_0x21bd22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ce4f1[_0x21bd22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x78f75b/0x3e8:0xe10*_0x55c83d;return _0x5ce4f1[_0x21bd22([0x65,0x78,0x70])]<_0x19d314;}function _0x403994(){const _0x3a671e=_0x5ce4f1[_0x21bd22([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a671e&&(!!_0x3a671e[_0x21bd22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21bd22([0x2a]))||!!_0x3a671e[_0x21bd22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21bd22([0x46,0x4f,0x4f])));}function _0x111a92(){const _0x2d78ef=_0x5ce4f1[_0x21bd22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2d78ef||0x0==_0x2d78ef[_0x21bd22([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xa30509}=new URL(window[_0x21bd22([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2d78ef[_0x21bd22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa30509))return!0x0;const _0x5c262e=_0xa30509[_0x21bd22([0x73,0x70,0x6c,0x69,0x74])](_0x21bd22([0x2e]));return _0x2d78ef[_0x21bd22([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d19d8=>_0x2d19d8[_0x21bd22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21bd22([0x2a])))[_0x21bd22([0x6d,0x61,0x70])](_0x3bd018=>_0x3bd018[_0x21bd22([0x73,0x70,0x6c,0x69,0x74])](_0x21bd22([0x2e])))[_0x21bd22([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43a589=>_0x43a589[_0x21bd22([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5c262e[_0x21bd22([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x21bd22([0x6d,0x61,0x70])](_0x551881=>Array(_0x5c262e[_0x21bd22([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x551881[_0x21bd22([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x21bd22([0x66,0x69,0x6c,0x6c])](_0x551881[0x0]===_0x21bd22([0x2a])?_0x21bd22([0x2a]):'')[_0x21bd22([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x551881))[_0x21bd22([0x73,0x6f,0x6d,0x65])](_0x4e9676=>_0x5c262e[_0x21bd22([0x65,0x76,0x65,0x72,0x79])]((_0x158186,_0x429a74)=>_0x4e9676[_0x429a74]===_0x158186||_0x4e9676[_0x429a74]===_0x21bd22([0x2a])));}function _0x17143c(){return _0x152dc8&&_0x4ce1b7?new window[(_0x21bd22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2109b5,_0xa6a277)=>{_0x152dc8[_0x21bd22([0x74,0x68,0x65,0x6e])](_0x2109b5,_0xa6a277),_0x4ce1b7[_0x21bd22([0x74,0x68,0x65,0x6e])](_0x29476f=>{_0x29476f!=_0x21bd22([0x56,0x61,0x6c,0x69,0x64])&&_0x2109b5(_0x29476f);},_0xa6a277);}):_0x152dc8||_0x4ce1b7||_0x21bd22([0x56,0x61,0x6c,0x69,0x64]);}}function _0x33b722(_0x3560ff,_0x2a7a25){return new window[(_0x21bd22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e16c3=>{if(_0x3b14f5())return _0x3e16c3(_0x21bd22([0x56,0x61,0x6c,0x69,0x64]));_0xa48b1a(),_0x20d76b[_0x21bd22([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x21bd22([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xb0ef33=!0x1;const _0x22bf4a=_0xe0c0c3();function _0x5d376d(_0x57e248){return!!_0x57e248&&(typeof _0x57e248===_0x21bd22([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x57e248===_0x21bd22([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x57e248[_0x21bd22([0x74,0x68,0x65,0x6e])]===_0x21bd22([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x57e248[_0x21bd22([0x63,0x61,0x74,0x63,0x68])]===_0x21bd22([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4251c3(_0x18ba6b){_0x217c8c(_0x18ba6b)[_0x21bd22([0x74,0x68,0x65,0x6e])](_0x1c2a15=>{if(!_0x1c2a15||_0x1c2a15[_0x21bd22([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x21bd22([0x6f,0x6b]))return _0x21bd22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x48104f(_0x4139f7(_0x22bf4a+_0x2a7a25))!=_0x1c2a15[_0x21bd22([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x21bd22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x21bd22([0x56,0x61,0x6c,0x69,0x64]);})[_0x21bd22([0x74,0x68,0x65,0x6e])](_0x29c2f4=>(_0x12b859(),_0x29c2f4),()=>{const _0x5eb068=_0x453062();return null==_0x5eb068?(_0x12b859(),_0x21bd22([0x56,0x61,0x6c,0x69,0x64])):_0x21bd22(_0x78f75b-_0x5eb068>(0x63ae0106^_0x3f1412)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x21bd22([0x74,0x68,0x65,0x6e])](_0x3e16c3)[_0x21bd22([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3e16c3(_0x21bd22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x54efe7=0x47946b86^_0x3f1412;function _0x12b859(){const _0x19607e=_0x21bd22([0x6c,0x6c,0x63,0x74,0x2d])+_0x48104f(_0x4139f7(_0x3560ff)),_0x35f1f9=_0x5dbbaf(_0x48104f(window[_0x21bd22([0x4d,0x61,0x74,0x68])][_0x21bd22([0x63,0x65,0x69,0x6c])](_0x78f75b/_0x54efe7)));window[_0x21bd22([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x21bd22([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19607e,_0x35f1f9);}function _0x453062(){const _0x55fe68=_0x21bd22([0x6c,0x6c,0x63,0x74,0x2d])+_0x48104f(_0x4139f7(_0x3560ff)),_0x40df1d=window[_0x21bd22([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x21bd22([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55fe68);return _0x40df1d?window[_0x21bd22([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5dbbaf(_0x40df1d),0x10)*_0x54efe7:null;}function _0x217c8c(_0x237b4f){return new window[(_0x21bd22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x358bab,_0x247533)=>{_0x237b4f[_0x21bd22([0x74,0x68,0x65,0x6e])](_0x358bab,_0x247533),window[_0x21bd22([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x247533,0x47a351c6^_0x3f1412);});}}_0x20d76b[_0x21bd22([0x6f,0x6e])](_0x21bd22([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1c67a3,_0x45b524)=>{if(_0x45b524[0x0]!=_0x3560ff)return _0x3e16c3(_0x21bd22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x45b524[0x1]={..._0x45b524[0x1],[_0x21bd22([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x22bf4a};},{[_0x21bd22([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x21bd22([0x68,0x69,0x67,0x68])}),_0x20d76b[_0x21bd22([0x6f,0x6e])](_0x21bd22([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x476361=>{_0x5d376d(_0x476361[_0x21bd22([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xb0ef33=!0x0,_0x4251c3(_0x476361[_0x21bd22([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x21bd22([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x21bd22([0x6c,0x6f,0x77])}),_0x294fda[_0x21bd22([0x74,0x68,0x65,0x6e])](()=>{_0xb0ef33||_0x3e16c3(_0x21bd22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b14f5(){return _0x20d76b[_0x21bd22([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x21bd22([0x76,0x69,0x65,0x77])][_0x21bd22([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x21bd22([0x61,0x75,0x74,0x6f]);}function _0xa48b1a(){_0x20d76b[_0x21bd22([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x21bd22([0x76,0x69,0x65,0x77])][_0x21bd22([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x21bd22([0x61,0x75,0x74,0x6f]);}}function _0x427c19(_0x4bbd77){const _0xdc7611=[new window[(_0x21bd22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f94bd=>setTimeout(_0x3f94bd,0x47abbbca^_0x3f1412)),_0x294fda[_0x21bd22([0x74,0x68,0x65,0x6e])](()=>new window[(_0x21bd22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19cca8=>{let _0x37a045=0x0;_0x20d76b[_0x21bd22([0x6d,0x6f,0x64,0x65,0x6c])][_0x21bd22([0x6f,0x6e])](_0x21bd22([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x296d9f,_0xed8e41)=>{_0xed8e41[0x0][_0x21bd22([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x37a045++,_0x37a045==(0x47a280ee^_0x3f1412)&&(_0x19cca8(),_0x296d9f[_0x21bd22([0x6f,0x66,0x66])]());});}))];return window[_0x21bd22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x21bd22([0x72,0x61,0x63,0x65])](_0xdc7611)[_0x21bd22([0x74,0x68,0x65,0x6e])](()=>_0x4bbd77);}async function _0x4e58fd(){await _0x294fda,_0x20d76b[_0x21bd22([0x6d,0x6f,0x64,0x65,0x6c])][_0x21bd22([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x36523d,_0x20d76b[_0x21bd22([0x6d,0x6f,0x64,0x65,0x6c])][_0x21bd22([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x36523d,_0x20d76b[_0x21bd22([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x21bd22([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4b42ee(_0x102c68){const _0x284d7f=_0x3d4c02();_0x20d76b[_0x284d7f]=_0x21bd22([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x102c68,_0x102c68!=_0x21bd22([0x56,0x61,0x6c,0x69,0x64])&&_0x4e58fd();}function _0x3d4c02(){const _0x2c0356=window[_0x21bd22([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x21bd22([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x21bd22([0x6e,0x6f,0x77])]())[_0x21bd22([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x21bd22([0x2e]),'');let _0x43a722=_0x21bd22([0x75]);for(let _0x2f60ac=0x0;_0x2f60ac<_0x2c0356[_0x21bd22([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f60ac+=0x2){let _0x33f202=window[_0x21bd22([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c0356[_0x21bd22([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f60ac,_0x2f60ac+0x2));_0x33f202>=_0x256c72[_0x21bd22([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x33f202-=_0x256c72[_0x21bd22([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x43a722+=_0x256c72[_0x33f202];}return _0x43a722;}function _0x85c66(){const _0x4ab32d=_0x3ed658[_0x21bd22([0x73,0x70,0x6c,0x69,0x74])](_0x21bd22([0x2e]));if(0x3!=_0x4ab32d[_0x21bd22([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5ab6f3(_0x4ab32d[0x1]);function _0x5ab6f3(_0x22dda4){const _0x11c9c8=_0x31563a(_0x22dda4);return _0x11c9c8&&_0x4bf8a7()?_0x11c9c8:null;function _0x4bf8a7(){const _0x32132d=_0x11c9c8[_0x21bd22([0x6a,0x74,0x69])],_0x2e8de1=window[_0x21bd22([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32132d[_0x21bd22([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32132d[_0x21bd22([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2878ae={..._0x11c9c8,[_0x21bd22([0x6a,0x74,0x69])]:_0x32132d[_0x21bd22([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x32132d[_0x21bd22([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2878ae[_0x21bd22([0x76,0x63])],_0x4139f7(_0x2878ae)==_0x2e8de1;}}}async function _0x2047d4(){let _0x41d101=!0x0;try{const _0x1b974a=_0x3ed658[_0x21bd22([0x73,0x70,0x6c,0x69,0x74])](_0x21bd22([0x2e])),[_0x1c993b,_0xfc5ee1,_0x170046]=_0x1b974a;return _0x55db6a(_0x1c993b),await _0x523358(_0x1c993b,_0xfc5ee1,_0x170046),_0x41d101;}catch{return!0x1;}function _0x55db6a(_0x4a2c66){const _0x36eb2f=_0x31563a(_0x4a2c66);_0x36eb2f&&_0x36eb2f[_0x21bd22([0x61,0x6c,0x67])]==_0x21bd22([0x45,0x53,0x32,0x35,0x36])||(_0x41d101=!0x1);}async function _0x523358(_0x1f0d79,_0x370540,_0x3793b6){const _0x55456e=window[_0x21bd22([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x21bd22([0x66,0x72,0x6f,0x6d])](_0x473906(_0x3793b6),_0x10762a=>_0x10762a[_0x21bd22([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x55f6b8=new window[(_0x21bd22([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x21bd22([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1f0d79+_0x21bd22([0x2e])+_0x370540),_0x1ecd9b=window[_0x21bd22([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x21bd22([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1ecd9b)return;const _0x100d4b=await _0x1ecd9b[_0x21bd22([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x21bd22([0x6a,0x77,0x6b]),_0x3bac71,{[_0x21bd22([0x6e,0x61,0x6d,0x65])]:_0x21bd22([0x45,0x43,0x44,0x53,0x41]),[_0x21bd22([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x21bd22([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x21bd22([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1ecd9b[_0x21bd22([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x21bd22([0x6e,0x61,0x6d,0x65])]:_0x21bd22([0x45,0x43,0x44,0x53,0x41]),[_0x21bd22([0x68,0x61,0x73,0x68])]:{[_0x21bd22([0x6e,0x61,0x6d,0x65])]:_0x21bd22([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x100d4b,_0x55456e,_0x55f6b8)||(_0x41d101=!0x1);}}function _0x31563a(_0x5ebc33){return _0x5ebc33[_0x21bd22([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x21bd22([0x65,0x79]))?JSON[_0x21bd22([0x70,0x61,0x72,0x73,0x65])](_0x473906(_0x5ebc33)):null;}function _0x473906(_0x60a999){return window[_0x21bd22([0x61,0x74,0x6f,0x62])](_0x60a999[_0x21bd22([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x21bd22([0x2b]))[_0x21bd22([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x21bd22([0x2f])));}function _0x4139f7(_0x5444f7){let _0x104cd8=0x1505;function _0x57e4a2(_0x23c31c){for(let _0x24992e=0x0;_0x24992e<_0x23c31c[_0x21bd22([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24992e++){const _0x14c495=_0x23c31c[_0x21bd22([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x24992e);_0x104cd8=(_0x104cd8<<0x5)+_0x104cd8+_0x14c495,_0x104cd8&=_0x104cd8;}}function _0x29a290(_0x124bce){Array[_0x21bd22([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x124bce)?_0x124bce[_0x21bd22([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x29a290):_0x124bce&&typeof _0x124bce==_0x21bd22([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x21bd22([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x124bce)[_0x21bd22([0x73,0x6f,0x72,0x74])]()[_0x21bd22([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x46e15d,_0x3d680a])=>{_0x57e4a2(_0x46e15d),_0x29a290(_0x3d680a);}):_0x57e4a2(window[_0x21bd22([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x124bce));}return _0x29a290(_0x5444f7),_0x104cd8>>>0x0;}function _0x48104f(_0x1793ab){return _0x1793ab[_0x21bd22([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x21bd22([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x21bd22([0x30]));}function _0x5dbbaf(_0x538d41){return _0x538d41[_0x21bd22([0x73,0x70,0x6c,0x69,0x74])]('')[_0x21bd22([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x21bd22([0x6a,0x6f,0x69,0x6e])]('');}function _0x36523d(){}function _0x21bd22(_0x4e5227){return _0x4e5227['map'](_0xe0d5b4=>String['fromCharCode'](_0xe0d5b4))['join']('');}_0x4b42ee(await _0x18fda6());}(this);}['_moveSelectionToFootnoteDefinition'](_0x59bb6a){const {plugins:_0x2c1649,editing:_0xadea82,model:_0x571650}=this['editor'],_0x36ade2=_0x2c1649['get'](_0x4740fe)['getFootnote'](_0x59bb6a);return!!_0x36ade2&&(_0x571650['change'](_0x3d9d10=>{_0x3d9d10['setSelection'](_0x3d9d10['createPositionAt'](_0x36ade2['definition'],'end'));}),_0xadea82['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2e0717){const {plugins:_0x13168c,editing:_0x10cd0d,model:_0xfa77dd}=this['editor'],_0x3b1cba=_0x13168c['get'](_0x4740fe)['getFootnote'](_0x2e0717);return!!_0x3b1cba&&(_0xfa77dd['change'](_0x1c1354=>{_0x1c1354['setSelection'](_0x3b1cba['reference'],'on');}),_0x10cd0d['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3629e6}=this['editor']['model'],_0x15f278=this['editor']['config']['get']('footnotes.multiBlock');_0x3629e6['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3629e6['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3629e6['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x15f278?_0x3629e6['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3629e6['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3629e6['addChildCheck'](_0x1da6c2=>{for(const _0xda3d7f of _0x1da6c2)if('footnoteDefinition'===_0xda3d7f['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x56270e}=this,{conversion:_0x3e5d86,editing:_0x4eebdd}=_0x56270e,{t:t}=_0x56270e['locale'];_0x3e5d86['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x91c7d5,{writer:_0x3b632c,consumable:_0xeeb690})=>{const _0x43fba0=_0x91c7d5['getChild'](0x0);if(!_0x43fba0||!_0x43fba0['is']('element','a'))return null;const _0x307cb6=_0x43fba0['getAttribute']('href')||'';if(!_0x307cb6['startsWith']('#'))return null;const _0x2918f8=_0x307cb6['replace'](/^#/,'');if(!_0x2918f8)return null;_0xeeb690['consume'](_0x43fba0,{'name':!0x0,'attributes':['href']});for(const {item:_0x3422b1}of _0x4eebdd['view']['createRangeIn'](_0x43fba0))_0x3422b1['is']('$textProxy')?_0xeeb690['consume'](_0x3422b1['textNode'],{'name':!0x0}):_0x3422b1['is']('element')&&_0xeeb690['consume'](_0x3422b1,{'name':!0x0});return _0x3b632c['createElement']('footnoteRef',{'footnoteId':_0x2918f8});}}),_0x3e5d86['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xd662ba,{writer:_0x2993fc})=>b(_0xd662ba,_0x2993fc)}),_0x3e5d86['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1d8953,{writer:_0x4aecb7})=>{const _0x1c3680=_0x1d8953['getAttribute']('footnoteCounter');return _0x1de6b4(b(_0x1d8953,_0x4aecb7),_0x4aecb7,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1c3680)});}});}['_defineDefinitionsConverters'](){const {editor:_0x6d936a}=this,{t:t}=_0x6d936a['locale'],{conversion:_0x267b0e}=_0x6d936a;_0x267b0e['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x267b0e['for']('upcast')['add'](_0x48f05d=>{_0x48f05d['on']('element:ol',(_0x411be7,_0x4f1620,_0x2bde60)=>{const _0x13f786=_0x4f1620['viewItem'];if(!_0x13f786['hasClass']('footnotes-list')||!_0x4f1620['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2bde60['consumable']['consume'](_0x13f786,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x4772f7,modelCursor:_0x278c23}=_0x2bde60['convertChildren'](_0x4f1620['viewItem'],_0x4f1620['modelCursor']);_0x4f1620['modelRange']=_0x4772f7,_0x4f1620['modelCursor']=_0x278c23;}),_0x48f05d['on']('element:hr',(_0x30529,_0x5c0634,_0x5db3c8)=>{const _0x3b43c1=_0x5c0634['viewItem'];_0x3b43c1['hasClass']('footnotes-divider')&&_0x5c0634['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5db3c8['consumable']['consume'](_0x3b43c1,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x267b0e['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x371ce3,{writer:_0x364e58})=>D(_0x364e58)}),_0x267b0e['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x88c89b,{writer:_0x55ad71})=>{const _0x4d9d7c=D(_0x55ad71,{'data-footnotes-list-label':t('Footnotes')}),_0x5cfb2b=_0x1de6b4(_0x4d9d7c,_0x55ad71,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x55ad71['setCustomProperty']('footnotesDefinitions',!0x0,_0x5cfb2b),_0x5cfb2b;}});}['_defineDefinitionConverters'](){const {editor:_0x4f2578}=this,{conversion:_0x376864,locale:_0x4d93d6}=_0x4f2578,_0x2b9726=_0x4f2578['config']['get']('footnotes.multiBlock');_0x376864['for']('upcast')['add'](_0x2ef361=>{_0x2ef361['on']('element:li',(_0x3d8468,_0x3cd307,_0xe7c8e8)=>{const _0x1de138=_0x3cd307['viewItem'];if(!_0x1de138['hasClass']('footnote-definition')||!_0x1de138['getAttribute']('id'))return;const _0x553dae=_0x1de138['parent'];if(!_0x553dae['is']('element','ol')||!_0x553dae['hasClass']('footnotes-list'))return;if(!_0xe7c8e8['consumable']['test'](_0x1de138,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x32c4fc=_0xe7c8e8['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x1de138['getAttribute']('id')});if(!_0xe7c8e8['safeInsert'](_0x32c4fc,_0x3cd307['modelCursor']))return;_0xe7c8e8['consumable']['consume'](_0x1de138,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4b59f2=Array['from'](_0x1de138['getChildren']())['find'](_0x1d9142=>_0x1d9142['is']('element')&&_0x1d9142['hasClass']('footnote-content'));for(const _0x3b95e6 of _0x1de138['getChildren']())_0x3b95e6['is']('element')&&(_0xe7c8e8['consumable']['consume'](_0x3b95e6,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0xe7c8e8['consumable']['consume'](_0x3b95e6,{'name':!0x0,'classes':'footnote-content'}));if(_0x4b59f2){if(_0x2b9726)_0xe7c8e8['convertChildren'](_0x4b59f2,_0x32c4fc);else{const _0x52a915=_0xe7c8e8['writer']['createElement']('footnoteInlineContent');_0xe7c8e8['writer']['insert'](_0x52a915,_0x32c4fc),_0xe7c8e8['convertChildren'](_0x4b59f2,_0x52a915);}}_0xe7c8e8['updateConversionResult'](_0x32c4fc,_0x3cd307);});}),_0x376864['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x26d7d9,{writer:_0x4c7b9e})=>y(_0x26d7d9,_0x4c7b9e,_0x4d93d6,{'dataPipeline':!0x0})}),_0x376864['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1c7086,{writer:_0x4b446a})=>y(_0x1c7086,_0x4b446a,_0x4d93d6)});}['_defineBogusParagraphConverters'](){const {editor:_0x16c43b}=this,{conversion:_0x39b454}=_0x16c43b;_0x16c43b['config']['get']('footnotes.multiBlock')?(_0x39b454['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x39b454['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x16c43b['model']['document'],'change:data',()=>{!function(_0x4980b1,_0x26aa0a){const _0x19d666=_0x4980b1['document']['differ'],_0x1f5f74=new Set();for(const _0x330074 of _0x19d666['getChanges']()){const _0x1e10f7='attribute'==_0x330074['type']?_0x330074['range']['start']['parent']:_0x330074['position']['parent'];_0x1e10f7['is']('element','footnoteDefinition')&&_0x1f5f74['add'](_0x1e10f7);}for(const _0x19ccd1 of _0x1f5f74['values']()){const _0x18ee5e=Array['from'](_0x19ccd1['getChildren']())['filter'](_0x4e5a0c=>v(_0x4e5a0c,_0x26aa0a['mapper']));for(const _0x299326 of _0x18ee5e)_0x26aa0a['reconvertItem'](_0x299326);}}(_0x16c43b['model'],_0x16c43b['editing']);})):(_0x39b454['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x39b454['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x23ce04,{writer:_0x586520})=>{const _0x461b6b=_0x586520['createContainerElement']('span');return _0x586520['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x461b6b),_0x461b6b;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4cc87b}=this,{editing:_0x19e719,t:t}=_0x4cc87b,_0xe7f719=_0x4cc87b['model']['document']['selection'];_0x4cc87b['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4cc87b['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x19e719['view']['document'],'enter',(_0x1338bd,_0x45920e)=>{const _0x26c298=function(_0x1ba4d8){const _0x1446fa=_0x1ba4d8['getSelectedElement']();if(_0x1446fa?.['is']('element','footnoteRef'))return _0x1446fa;return null;}(_0xe7f719);if(_0x26c298){const _0x423b8e=_0x26c298['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x423b8e),_0x45920e['preventDefault'](),_0x1338bd['stop']();}},{'context':_0x2a5cf1});}['_defineClickHandlers'](){const {editor:_0x226c83}=this,{editing:_0x80387e}=_0x226c83;_0x226c83['editing']['view']['addObserver'](_0x8c2af8),_0x226c83['editing']['view']['addObserver'](_0x37008d);let _0x320690=!0x1;this['listenTo'](_0x80387e['view']['document'],'pointerdown',(_0x4cb066,_0x654008)=>{const {target:_0x3d3fe3}=_0x654008,_0x35eeeb=_0x80387e['view']['document']['selection'];_0x320690=!!(_0x3d3fe3?.['is']('element','a')&&_0x3d3fe3['parent']?.['is']('element','sup')&&_0x3d3fe3['parent']['hasClass']('footnote'))&&_0x35eeeb['getSelectedElement']()===_0x3d3fe3['parent'];},{'priority':'high'}),this['listenTo'](_0x80387e['view']['document'],'click',(_0x37f1a6,_0x4ef2d5)=>{const {target:_0x1d5535}=_0x4ef2d5;if(!_0x1d5535?.['is']('element','a'))return;if(_0x1d5535['parent']?.['is']('element','sup')&&_0x1d5535['parent']['hasClass']('footnote')&&!_0x320690)return void _0x4ef2d5['preventDefault']();let _0x136f1f=_0x1d5535['getAttribute']('href');if(!_0x136f1f?.['startsWith']('#'))return;_0x136f1f=_0x136f1f['slice'](0x1);let _0x366190=!0x1;(_0x136f1f['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x136f1f['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x136f1f))&&(_0x366190=!0x0),_0x366190&&(_0x4ef2d5['preventDefault'](),_0x37f1a6['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x3fa43e}={}){return(_0x15d4cf,{writer:_0x250a2a})=>{if(!g(_0x15d4cf))return null;if(!_0x3fa43e)return _0x250a2a['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x49652e=_0x250a2a['createContainerElement']('p');return _0x250a2a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x49652e),_0x49652e;};}function g(_0x4a5973){const {parent:_0xe2b899}=_0x4a5973;if(!_0xe2b899?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0xe2b899['childCount'])return!0x1;for(const _0x22eef9 of _0x4a5973['getAttributeKeys']())if(!_0x22eef9['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x22eef9)return!0x1;return!0x0;}function v(_0x5c578d,_0x334271){if(!_0x5c578d['is']('element','paragraph'))return!0x1;const _0x5e13ab=_0x334271['toViewElement'](_0x5c578d);return!!_0x5e13ab&&g(_0x5c578d)!==_0x5e13ab['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x1eb523){return _0x2a5cf1(_0x1eb523)&&_0x1eb523['is']('containerElement')&&!!_0x1eb523['getCustomProperty']('footnotesDefinitions');}function D(_0x228d1c,_0x4e00bb={}){const _0x517986=_0x228d1c['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x425342=_0x228d1c['createContainerElement']('ol',{'class':'footnotes-list'},_0x228d1c['createSlot']());return _0x228d1c['createContainerElement']('div',{'class':'footnotes',..._0x4e00bb},[_0x517986,_0x425342]);}function b(_0x2788f2,_0x58962d){const _0x370afa=_0x2788f2['getAttribute']('footnoteId'),_0x5ea9c1=_0x2788f2['getAttribute']('footnoteCounter'),_0x1daa65=_0x58962d['createUIElement']('a',{'href':'#'+_0x370afa},function(_0x54597a){const _0x464246=this['toDomElement'](_0x54597a);return _0x464246['textContent']=_0x5ea9c1,_0x464246;}),_0x38c0f7=_0x58962d['createContainerElement']('sup',{'id':'ref-'+_0x370afa,'class':'footnote'},[_0x1daa65]);return _0x38c0f7['getFillerOffset']=()=>null,_0x38c0f7;}function y(_0x5f36fd,_0x4ca425,_0x2b7160,{dataPipeline:_0x4096e5}={}){const {t:t}=_0x2b7160,_0x5893c2=_0x5f36fd['getAttribute']('footnoteId'),_0x4abe6c=_0x4ca425['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5893c2},function(_0x46b344){const _0x4fcb76=this['toDomElement'](_0x46b344);return _0x4fcb76['innerText']='^',_0x4fcb76;}),_0x145722=_0x4096e5?_0x4ca425['createContainerElement']('div',{'class':'footnote-content'}):_0x38a538(_0x4ca425['createEditableElement']('div',{'class':'footnote-content'}),_0x4ca425,{'label':t('Footnote\x20content.')});return _0x4ca425['insert'](_0x4ca425['createPositionAt'](_0x145722,0x0),_0x4ca425['createSlot']()),_0x4ca425['createContainerElement']('li',{'class':'footnote-definition','id':_0x5893c2},[_0x4abe6c,_0x145722]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f0a7b=_0x548a;(function(_0x55c355,_0x37adcb){const _0x1359a1=_0x548a,_0x5dfe8e=_0x55c355();while(!![]){try{const _0xe6cbaf=parseInt(_0x1359a1(0x1c2))/0x1+parseInt(_0x1359a1(0x1bd))/0x2+-parseInt(_0x1359a1(0x1c3))/0x3*(parseInt(_0x1359a1(0x1b4))/0x4)+parseInt(_0x1359a1(0x1b7))/0x5*(parseInt(_0x1359a1(0x1c0))/0x6)+-parseInt(_0x1359a1(0x1b3))/0x7*(parseInt(_0x1359a1(0x1c6))/0x8)+parseInt(_0x1359a1(0x1c5))/0x9+parseInt(_0x1359a1(0x1bc))/0xa*(-parseInt(_0x1359a1(0x1b8))/0xb);if(_0xe6cbaf===_0x37adcb)break;else _0x5dfe8e['push'](_0x5dfe8e['shift']());}catch(_0xd31d2){_0x5dfe8e['push'](_0x5dfe8e['shift']());}}}(_0x42f5,0xee5da));import{Command as _0x29cf16}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x499fef}from'../../footnotestracker.js';function _0x548a(_0x459b54,_0x5bb69d){const _0x42f587=_0x42f5();return _0x548a=function(_0x548a0a,_0x44d536){_0x548a0a=_0x548a0a-0x1ae;let _0x30daa0=_0x42f587[_0x548a0a];return _0x30daa0;},_0x548a(_0x459b54,_0x5bb69d);}export class FootnotesStartCommand extends _0x29cf16{[_0x2f0a7b(0x1b5)](){const _0x50903f=_0x2f0a7b,{editor:_0x4b1043}=this,_0x2199a6=_0x4b1043[_0x50903f(0x1b0)][_0x50903f(0x1c4)](_0x499fef)[_0x50903f(0x1b2)]();this[_0x50903f(0x1c1)]=!!_0x2199a6,this[_0x50903f(0x1ae)]=_0x2199a6?.[_0x50903f(0x1b1)](_0x50903f(0x1b9))??null;}[_0x2f0a7b(0x1ba)]({value:_0x4624cf}){const _0x4eba8c=_0x2f0a7b,{editor:_0x5c1ef9}=this,_0x47af9a=_0x5c1ef9[_0x4eba8c(0x1b0)][_0x4eba8c(0x1c4)](_0x499fef),_0x4d4815=_0x47af9a[_0x4eba8c(0x1b2)]();_0x4d4815&&Number[_0x4eba8c(0x1b6)](_0x4624cf)&&_0x5c1ef9[_0x4eba8c(0x1be)][_0x4eba8c(0x1bb)](_0x4a9e34=>{const _0x1b2da0=_0x4eba8c;_0x4a9e34[_0x1b2da0(0x1af)](_0x1b2da0(0x1b9),_0x4624cf,_0x4d4815),_0x47af9a[_0x1b2da0(0x1bf)](_0x4a9e34);});}}function _0x42f5(){const _0x3afac2=['execute','change','20XWXPAw','1841312gFufcf','model','_updateFootnotesCounters','18rBmqwx','isEnabled','1590855gWqxdM','6873hoAzWv','get','15103026ZoiLDU','448IJbsTV','value','setAttribute','plugins','getAttribute','getFootnotesDefinitionsObjectElement','7924MIMxPF','1264YChGEP','refresh','isInteger','1015785vCWjhP','16694711VbGeJg','footnotesListStart'];_0x42f5=function(){return _0x3afac2;};return _0x42f5();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4c95(_0x1eca92,_0x183f14){const _0xea3e6d=_0xea3e();return _0x4c95=function(_0x4c95e8,_0x2ba1c4){_0x4c95e8=_0x4c95e8-0xc3;let _0x482cef=_0xea3e6d[_0x4c95e8];return _0x482cef;},_0x4c95(_0x1eca92,_0x183f14);}const _0x5b5323=_0x4c95;(function(_0x298a38,_0x2eb9de){const _0x17c38c=_0x4c95,_0x3a5841=_0x298a38();while(!![]){try{const _0x1753e0=-parseInt(_0x17c38c(0xcb))/0x1*(-parseInt(_0x17c38c(0xd7))/0x2)+-parseInt(_0x17c38c(0xd0))/0x3*(parseInt(_0x17c38c(0xc6))/0x4)+-parseInt(_0x17c38c(0xcf))/0x5+parseInt(_0x17c38c(0xd6))/0x6*(-parseInt(_0x17c38c(0xd3))/0x7)+-parseInt(_0x17c38c(0xce))/0x8+-parseInt(_0x17c38c(0xcd))/0x9+-parseInt(_0x17c38c(0xd4))/0xa*(-parseInt(_0x17c38c(0xd1))/0xb);if(_0x1753e0===_0x2eb9de)break;else _0x3a5841['push'](_0x3a5841['shift']());}catch(_0x12f432){_0x3a5841['push'](_0x3a5841['shift']());}}}(_0xea3e,0x7003d));import{Command as _0x5f0406}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x51d2fb}from'../footnotespropertiesconfig.js';function _0xea3e(){const _0x1719d7=['_updateFootnotesCounters','1275364xLReon','value','get','change','setAttribute','7538AsEZee','getAttribute','6000048UFHIOY','2785288yfFXZx','72560HepsiQ','3tPHsCb','199397kxaUZB','getFootnotesDefinitionsObjectElement','4270tIGiEV','1370nvZslv','execute','8136UXHJir','40kUuvom','isEnabled','plugins','footnotesListStyle','includes','model','refresh'];_0xea3e=function(){return _0x1719d7;};return _0xea3e();}import{FootnotesTracker as _0x4429eb}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x5f0406{[_0x5b5323(0xc4)](){const _0x41279c=_0x5b5323,{editor:_0x16664c}=this,_0x482a4f=_0x16664c[_0x41279c(0xd9)][_0x41279c(0xc8)](_0x4429eb)[_0x41279c(0xd2)]();this[_0x41279c(0xd8)]=!!_0x482a4f,this[_0x41279c(0xc7)]=_0x482a4f?.[_0x41279c(0xcc)](_0x41279c(0xda))??null;}[_0x5b5323(0xd5)]({value:_0x58d71e}){const _0x5a3374=_0x5b5323,{editor:_0x14d156}=this,_0x34758f=_0x14d156[_0x5a3374(0xd9)][_0x5a3374(0xc8)](_0x4429eb),_0x5398c2=_0x34758f[_0x5a3374(0xd2)]();_0x5398c2&&_0x51d2fb[_0x5a3374(0xdb)](_0x58d71e)&&_0x14d156[_0x5a3374(0xc3)][_0x5a3374(0xc9)](_0x51482b=>{const _0x48d530=_0x5a3374;_0x51482b[_0x48d530(0xca)](_0x48d530(0xda),_0x58d71e,_0x5398c2),_0x34758f[_0x48d530(0xc5)](_0x51482b);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1347(_0x162722,_0x5758f4){const _0xe1c204=_0xe1c2();return _0x1347=function(_0x1347ef,_0x246673){_0x1347ef=_0x1347ef-0x15d;let _0x273f57=_0xe1c204[_0x1347ef];return _0x273f57;},_0x1347(_0x162722,_0x5758f4);}function _0xe1c2(){const _0x4aa507=['4722LnTESz','198pasZNY','upper-latin','lower-roman','28VPyxQu','decimal','4036IGufpB','3oaQmFd','lower-alpha','decimal-leading-zero','561wJJxLz','5287491QmMQDk','upper-alpha','477528EFiWVB','9867370JcWTAD','lower-latin','1680944mtmRFK','4255oVBwii','418426mTxjOA','upper-roman'];_0xe1c2=function(){return _0x4aa507;};return _0xe1c2();}const _0x19a7ce=_0x1347;(function(_0x18c080,_0x51075b){const _0x549f50=_0x1347,_0x3cab59=_0x18c080();while(!![]){try{const _0x1c5223=parseInt(_0x549f50(0x166))/0x1*(-parseInt(_0x549f50(0x15d))/0x2)+-parseInt(_0x549f50(0x169))/0x3*(-parseInt(_0x549f50(0x165))/0x4)+-parseInt(_0x549f50(0x170))/0x5*(-parseInt(_0x549f50(0x15f))/0x6)+parseInt(_0x549f50(0x163))/0x7*(-parseInt(_0x549f50(0x16f))/0x8)+-parseInt(_0x549f50(0x16a))/0x9+parseInt(_0x549f50(0x16d))/0xa+parseInt(_0x549f50(0x160))/0xb*(parseInt(_0x549f50(0x16c))/0xc);if(_0x1c5223===_0x51075b)break;else _0x3cab59['push'](_0x3cab59['shift']());}catch(_0x128917){_0x3cab59['push'](_0x3cab59['shift']());}}}(_0xe1c2,0x7b7ef));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x19a7ce(0x164),_0x19a7ce(0x168),_0x19a7ce(0x16e),_0x19a7ce(0x161),_0x19a7ce(0x167),_0x19a7ce(0x16b),_0x19a7ce(0x162),_0x19a7ce(0x15e)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4e31d1=_0x4a4c;(function(_0x45fdb4,_0x3232d2){const _0x23fdb3=_0x4a4c,_0x5b1181=_0x45fdb4();while(!![]){try{const _0x15204d=-parseInt(_0x23fdb3(0xe9))/0x1+-parseInt(_0x23fdb3(0xb6))/0x2*(parseInt(_0x23fdb3(0xcb))/0x3)+-parseInt(_0x23fdb3(0xdb))/0x4+-parseInt(_0x23fdb3(0x92))/0x5*(parseInt(_0x23fdb3(0xa8))/0x6)+parseInt(_0x23fdb3(0xda))/0x7+-parseInt(_0x23fdb3(0xd0))/0x8+-parseInt(_0x23fdb3(0xee))/0x9*(-parseInt(_0x23fdb3(0xe8))/0xa);if(_0x15204d===_0x3232d2)break;else _0x5b1181['push'](_0x5b1181['shift']());}catch(_0x12ecb1){_0x5b1181['push'](_0x5b1181['shift']());}}}(_0x1f3f,0xd077a));import{Plugin as _0x189432}from'ckeditor5/src/core.js';function _0x1f3f(){const _0x3c7646=['_getDefaultListStyle','21gXIAOS','footnotesListStart','getStyle','init','_getDefaultStartIndex','3729376yfiIur','floor','removeStyle','footnotes-list','downcast','isPremiumPlugin','define','extend','pluginName','_defineFormatter','7292936pADTTc','1094328CastFF','attribute:footnotesListStart:footnotesDefinitions','hasClass','editor','setAttribute','parseInt','footnotesStart','upper-alpha','consume','name','model','find','writer','270970AeWdQf','397781zNIYgz','requires','footnotesListStyle','_definePostfixer','padStart','1179xJLskY','getItems','footnotes.footnotesProperties.defaultListStyle','element','registerPostFixer','start','commands','toViewElement','plugins','5USRkWG','$text','toUpperCase','get','createRangeOn','fromCharCode','consumable','parent','upcast','isNaN','schema','list-style-type','attribute:footnotesListStyle:footnotesDefinitions','getAttribute','decimal-leading-zero','position','from','footnotesStyle','item','_formatFootnoteListValue','toLowerCase','max','7702350MsTNFv','hasAttribute','lower-alpha','isOfficialPlugin','_updateFootnotesCounters','upper-latin','for','add','footnotes.footnotesProperties.defaultStartIndex','_defineSchema','FootnotesPropertiesEditing','insert','getChanges','removeAttribute','376118roXmOk','viewItem','upper-roman','lower-roman','setFootnoteFormatter','lower-latin','modelCursor','element:ol','mapper','type','setStyle','footnotesDefinitions','getChildren','decimal','nodeAfter','_defineConverters','config','differ','checkAttribute','document'];_0x1f3f=function(){return _0x3c7646;};return _0x1f3f();}import{FootnotesStyleCommand as _0x45f28}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x5d3ae4}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x1f6e79}from'../footnotestracker.js';import{FootnotesEditing as _0xe15aa9}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x189432{static get[_0x4e31d1(0xd8)](){const _0x1d8c68=_0x4e31d1;return _0x1d8c68(0xb2);}static get[_0x4e31d1(0xea)](){return[_0xe15aa9,_0x1f6e79];}static get[_0x4e31d1(0xab)](){return!0x0;}static get[_0x4e31d1(0xd5)](){return!0x0;}[_0x4e31d1(0xce)](){const _0x1b1fbb=_0x4e31d1,{editor:_0x57dd40}=this;_0x57dd40[_0x1b1fbb(0xc6)][_0x1b1fbb(0xd6)](_0x1b1fbb(0xf0),_0x1b1fbb(0xc3)),_0x57dd40[_0x1b1fbb(0xc6)][_0x1b1fbb(0xd6)](_0x1b1fbb(0xb0),0x1),_0x57dd40[_0x1b1fbb(0xf4)][_0x1b1fbb(0xaf)](_0x1b1fbb(0xa3),new _0x45f28(_0x57dd40)),_0x57dd40[_0x1b1fbb(0xf4)][_0x1b1fbb(0xaf)](_0x1b1fbb(0xe1),new _0x5d3ae4(_0x57dd40)),this[_0x1b1fbb(0xb1)](),this[_0x1b1fbb(0xc5)](),this[_0x1b1fbb(0xd9)](),this[_0x1b1fbb(0xec)]();}[_0x4e31d1(0xb1)](){const _0x3c1395=_0x4e31d1,{editor:_0x3df02b}=this,{schema:_0x22704e}=_0x3df02b[_0x3c1395(0xe5)];_0x22704e[_0x3c1395(0xd7)](_0x3c1395(0xc1),{'allowAttributes':[_0x3c1395(0xeb),_0x3c1395(0xcc)]});}[_0x4e31d1(0xc5)](){const _0x4aabe6=_0x4e31d1,{editor:_0x271872}=this,{conversion:_0x21be6b,model:_0x57b043}=_0x271872,{schema:_0x291a1b}=_0x57b043;_0x21be6b[_0x4aabe6(0xae)](_0x4aabe6(0x9a))[_0x4aabe6(0xaf)](_0x4ecd62=>{const _0x53a720=_0x4aabe6;_0x4ecd62['on'](_0x53a720(0xbd),(_0x290a95,_0x10651a,_0x129936)=>{const _0x4e145a=_0x53a720,_0x488608=_0x10651a[_0x4e145a(0xb7)],_0x523e71=_0x10651a[_0x4e145a(0xbc)]?.[_0x4e145a(0x99)];_0x488608[_0x4e145a(0xdd)](_0x4e145a(0xd3))&&_0x523e71?.['is'](_0x4e145a(0xf1),_0x4e145a(0xc1))&&(function(_0x22779e,_0x1a45d5,_0xe62213,_0xfaf198){const _0x25e27e=_0x4e145a;if(!_0xfaf198[_0x25e27e(0xc8)](_0x1a45d5,_0x25e27e(0xcc)))return;let _0x359933=0x1;const _0x57a149=_0xe62213[_0x25e27e(0x98)][_0x25e27e(0xe3)](_0x22779e,{'attributes':_0x25e27e(0xf3)});if(_0x57a149){const _0x384b51=Number[_0x25e27e(0xe0)](_0x22779e[_0x25e27e(0x9f)](_0x25e27e(0xf3)),0xa);Number[_0x25e27e(0x9b)](_0x384b51)||(_0x359933=_0x384b51);}!_0x57a149&&_0x1a45d5[_0x25e27e(0xa9)](_0x25e27e(0xcc))||_0xe62213[_0x25e27e(0xe7)][_0x25e27e(0xdf)](_0x25e27e(0xcc),_0x359933,_0x1a45d5);}(_0x488608,_0x523e71,_0x129936,_0x291a1b),function(_0x1fd175,_0x5d726f,_0x5f4ada,_0x318a2a){const _0x14c906=_0x4e145a;if(!_0x318a2a[_0x14c906(0xc8)](_0x5d726f,_0x14c906(0xeb)))return;let _0x368d33=_0x14c906(0xc3),_0x2fe65e=!0x1;if(_0x5f4ada[_0x14c906(0x98)][_0x14c906(0xe3)](_0x1fd175,{'attributes':_0x14c906(0xbf)})){const _0x3790e8={0x1:_0x14c906(0xc3),'a':_0x14c906(0xaa),'A':_0x14c906(0xe2),'i':_0x14c906(0xb9),'I':_0x14c906(0xb8)}[_0x1fd175[_0x14c906(0x9f)](_0x14c906(0xbf))];_0x3790e8&&(_0x368d33=_0x3790e8),_0x2fe65e=!0x0;}_0x5f4ada[_0x14c906(0x98)][_0x14c906(0xe3)](_0x1fd175,{'styles':_0x14c906(0x9d)})&&(_0x368d33=function(_0xde642e){const _0xc9480c=_0x14c906;switch(_0xde642e){case _0xc9480c(0xaa):return _0xc9480c(0xbb);case _0xc9480c(0xe2):return _0xc9480c(0xad);default:return _0xde642e;}}(_0x1fd175[_0x14c906(0xcd)](_0x14c906(0x9d))),_0x2fe65e=!0x0),!_0x2fe65e&&_0x5d726f[_0x14c906(0xa9)](_0x14c906(0xeb))||_0x5f4ada[_0x14c906(0xe7)][_0x14c906(0xdf)](_0x14c906(0xeb),_0x368d33,_0x5d726f);}(_0x488608,_0x523e71,_0x129936,_0x291a1b));});}),_0x21be6b[_0x4aabe6(0xae)](_0x4aabe6(0xd4))[_0x4aabe6(0xaf)](_0x5351d7=>{const _0x4cf09c=_0x4aabe6;_0x5351d7['on'](_0x4cf09c(0xdc),(_0x48eed7,_0x52d61b,_0x4339ab)=>{const _0x2f7852=_0x4cf09c;if(!_0x4339ab[_0x2f7852(0x98)][_0x2f7852(0xe3)](_0x52d61b[_0x2f7852(0xa4)],_0x48eed7[_0x2f7852(0xe4)]))return;const _0x4adee7=M(_0x52d61b[_0x2f7852(0xa4)],_0x4339ab[_0x2f7852(0xbe)]),{attributeNewValue:_0x585810}=_0x52d61b;null==_0x585810||0x1===_0x585810?_0x4339ab[_0x2f7852(0xe7)][_0x2f7852(0xb5)](_0x2f7852(0xf3),_0x4adee7):_0x4339ab[_0x2f7852(0xe7)][_0x2f7852(0xdf)](_0x2f7852(0xf3),String(_0x585810),_0x4adee7);}),_0x5351d7['on'](_0x4cf09c(0x9e),(_0x2a61f3,_0x37cc97,_0x268d84)=>{const _0x2fffb6=_0x4cf09c;if(!_0x268d84[_0x2fffb6(0x98)][_0x2fffb6(0xe3)](_0x37cc97[_0x2fffb6(0xa4)],_0x2a61f3[_0x2fffb6(0xe4)]))return;const _0x5b43e8=M(_0x37cc97[_0x2fffb6(0xa4)],_0x268d84[_0x2fffb6(0xbe)]),{attributeNewValue:_0x34129b}=_0x37cc97;_0x34129b&&_0x2fffb6(0xc3)!==_0x34129b?_0x268d84[_0x2fffb6(0xe7)][_0x2fffb6(0xc0)](_0x2fffb6(0x9d),_0x34129b,_0x5b43e8):_0x268d84[_0x2fffb6(0xe7)][_0x2fffb6(0xd2)](_0x2fffb6(0x9d),_0x5b43e8);});});}[_0x4e31d1(0xec)](){const _0x78d64f=_0x4e31d1,{editor:_0x5d2585}=this,{model:_0x1c6f8a}=_0x5d2585,_0x624246=_0x5d2585[_0x78d64f(0x91)][_0x78d64f(0x95)](_0x1f6e79),_0x47ea6b=this[_0x78d64f(0xca)](),_0xd8a188=this[_0x78d64f(0xcf)]();_0x1c6f8a[_0x78d64f(0xc9)][_0x78d64f(0xf2)](_0x469385=>{const _0x172f68=_0x78d64f,_0x325b4d=_0x1c6f8a[_0x172f68(0xc9)][_0x172f68(0xc7)][_0x172f68(0xb4)]();let _0x2cad29=!0x1;for(const _0x333b32 of _0x325b4d){if(_0x172f68(0xb3)!==_0x333b32[_0x172f68(0xbf)]||_0x172f68(0x93)===_0x333b32[_0x172f68(0xe4)])continue;const _0x37cf5d=_0x1c6f8a[_0x172f68(0x96)](_0x333b32[_0x172f68(0xa1)][_0x172f68(0xc4)]);for(const _0x5bb6e0 of _0x37cf5d[_0x172f68(0xef)]())_0x5bb6e0['is'](_0x172f68(0xf1),_0x172f68(0xc1))&&(!_0x5bb6e0[_0x172f68(0xa9)](_0x172f68(0xcc))&&_0x1c6f8a[_0x172f68(0x9c)][_0x172f68(0xc8)](_0x5bb6e0,_0x172f68(0xcc))&&(_0x469385[_0x172f68(0xdf)](_0x172f68(0xcc),_0xd8a188,_0x5bb6e0),_0x2cad29=!0x0),!_0x5bb6e0[_0x172f68(0xa9)](_0x172f68(0xeb))&&_0x1c6f8a[_0x172f68(0x9c)][_0x172f68(0xc8)](_0x5bb6e0,_0x172f68(0xeb))&&(_0x469385[_0x172f68(0xdf)](_0x172f68(0xeb),_0x47ea6b,_0x5bb6e0),_0x2cad29=!0x0));}return _0x2cad29&&_0x624246[_0x172f68(0xac)](_0x469385),_0x2cad29;});}[_0x4e31d1(0xd9)](){const _0x500dd3=_0x4e31d1,{editor:_0x3c35d5}=this;_0x3c35d5[_0x500dd3(0x91)][_0x500dd3(0x95)](_0x1f6e79)[_0x500dd3(0xba)](_0x20c722=>this[_0x500dd3(0xa5)](_0x20c722));}[_0x4e31d1(0xca)](){const _0x48adad=_0x4e31d1;return this[_0x48adad(0xde)][_0x48adad(0xc6)][_0x48adad(0x95)](_0x48adad(0xf0));}[_0x4e31d1(0xcf)](){const _0x4d40f1=_0x4e31d1;return this[_0x4d40f1(0xde)][_0x4d40f1(0xc6)][_0x4d40f1(0x95)](_0x4d40f1(0xb0));}[_0x4e31d1(0xa5)]({container:_0x2dda2a,value:_0x52a0a3,digits:_0xcd1d3c}){const _0x116e45=_0x4e31d1,_0x44ac63=_0x2dda2a[_0x116e45(0x9f)](_0x116e45(0xeb)),_0x5dfe9c=_0x2dda2a[_0x116e45(0x9f)](_0x116e45(0xcc)),_0x297a8f=Math[_0x116e45(0xd1)](_0x52a0a3)+(_0x5dfe9c??0x1)-0x1;switch(_0x44ac63){case _0x116e45(0xa0):return function(_0x33fc77,_0x1ac74c){const _0x25d6f6=_0x116e45;return String(_0x33fc77)[_0x25d6f6(0xed)](_0x1ac74c,'0');}(_0x297a8f,Math[_0x116e45(0xa7)](0x2,_0xcd1d3c));case _0x116e45(0xaa):case _0x116e45(0xbb):return N(_0x297a8f,!0x1);case _0x116e45(0xe2):case _0x116e45(0xad):return N(_0x297a8f,!0x0);case _0x116e45(0xb9):return X(_0x297a8f,!0x1);case _0x116e45(0xb8):return X(_0x297a8f,!0x0);default:return String(_0x297a8f);}}}function M(_0x2771fb,_0x1cba27){const _0x3f6dc5=_0x4e31d1,_0x1d919b=_0x1cba27[_0x3f6dc5(0xf5)](_0x2771fb);return Array[_0x3f6dc5(0xa2)](_0x1d919b[_0x3f6dc5(0xc2)]())[_0x3f6dc5(0xe6)](_0xd7134e=>_0xd7134e['is'](_0x3f6dc5(0xf1),'ol')&&_0xd7134e[_0x3f6dc5(0xdd)](_0x3f6dc5(0xd3)));}function N(_0x1aa910,_0x325f07){const _0xa3e8b6=_0x4e31d1;let _0x47f89f='',_0x1ae1cc=_0x1aa910;for(;_0x1ae1cc>0x0;){const _0x2deee7=(_0x1ae1cc-0x1)%0x1a;_0x47f89f=String[_0xa3e8b6(0x97)](0x61+_0x2deee7)+_0x47f89f,_0x1ae1cc=Math[_0xa3e8b6(0xd1)]((_0x1ae1cc-0x1)/0x1a);}return _0x325f07?_0x47f89f[_0xa3e8b6(0x94)]():_0x47f89f;}function _0x4a4c(_0x54d566,_0x4ee569){const _0x1f3f01=_0x1f3f();return _0x4a4c=function(_0x4a4caa,_0x23cb7f){_0x4a4caa=_0x4a4caa-0x91;let _0x363155=_0x1f3f01[_0x4a4caa];return _0x363155;},_0x4a4c(_0x54d566,_0x4ee569);}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(_0x551227,_0x2dce1f){const _0x1ba282=_0x4e31d1;let _0x5617e9='',_0x640ee3=_0x551227;for(const {value:_0x2b0f0b,numeral:_0x344946}of V)for(;_0x640ee3>=_0x2b0f0b;)_0x5617e9+=_0x344946,_0x640ee3-=_0x2b0f0b;return _0x2dce1f?_0x5617e9:_0x5617e9[_0x1ba282(0xa6)]();}
|
|
23
|
+
const _0x3e4397=_0x5856;function _0x5856(_0x4f18d1,_0x40facb){const _0x4297aa=_0x4297();return _0x5856=function(_0x5856a8,_0x47284a){_0x5856a8=_0x5856a8-0x6d;let _0x4618c4=_0x4297aa[_0x5856a8];return _0x4618c4;},_0x5856(_0x4f18d1,_0x40facb);}(function(_0x36a95c,_0x2512e8){const _0x2ea1c0=_0x5856,_0x126728=_0x36a95c();while(!![]){try{const _0x3428eb=parseInt(_0x2ea1c0(0xc0))/0x1*(parseInt(_0x2ea1c0(0x80))/0x2)+-parseInt(_0x2ea1c0(0xba))/0x3*(parseInt(_0x2ea1c0(0x7d))/0x4)+parseInt(_0x2ea1c0(0xa6))/0x5*(-parseInt(_0x2ea1c0(0x89))/0x6)+parseInt(_0x2ea1c0(0xb1))/0x7*(-parseInt(_0x2ea1c0(0x93))/0x8)+-parseInt(_0x2ea1c0(0xab))/0x9+parseInt(_0x2ea1c0(0x72))/0xa+-parseInt(_0x2ea1c0(0xca))/0xb*(-parseInt(_0x2ea1c0(0xd0))/0xc);if(_0x3428eb===_0x2512e8)break;else _0x126728['push'](_0x126728['shift']());}catch(_0x1ae55b){_0x126728['push'](_0x126728['shift']());}}}(_0x4297,0x3be0e));import{Plugin as _0x4929ca}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x3aaa94}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x3d3a1e}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x1e73c7}from'../footnotestracker.js';import{FootnotesEditing as _0xe5db58}from'../footnotesediting.js';function _0x4297(){const _0xf4dc88=['attribute:footnotesListStart:footnotesDefinitions','max','mapper','footnotes.footnotesProperties.defaultListStyle','start','toViewElement','hasAttribute','position','isOfficialPlugin','modelCursor','_updateFootnotesCounters','1150755oDukGe','from','footnotes-list','item','get','1921878coxGEZ','toLowerCase','setFootnoteFormatter','decimal-leading-zero','_defineFormatter','footnotesStyle','21GexRer','attribute:footnotesListStyle:footnotesDefinitions','schema','consumable','$text','getStyle','init','find','upper-roman','6ufUEIx','type','upper-latin','upcast','model','lower-alpha','34721HvPSvY','getItems','footnotesDefinitions','plugins','toUpperCase','decimal','viewItem','floor','writer','editor','526933HioxsV','isNaN','parseInt','nodeAfter','for','_definePostfixer','192uxmpyy','parent','name','footnotes.footnotesProperties.defaultStartIndex','differ','removeAttribute','createRangeOn','document','setAttribute','2764100RvRxKv','lower-latin','element:ol','add','commands','_formatFootnoteListValue','element','getChanges','extend','footnotesListStart','setStyle','400388OPNgIJ','lower-roman','pluginName','8CQYpFX','downcast','registerPostFixer','getChildren','fromCharCode','footnotesStart','_defineSchema','define','requires','12OXMLHK','footnotesListStyle','_getDefaultStartIndex','checkAttribute','removeStyle','list-style-type','insert','FootnotesPropertiesEditing','padStart','isPremiumPlugin','166512hZOWIk','consume','config','_getDefaultListStyle','hasClass','upper-alpha','_defineConverters','getAttribute'];_0x4297=function(){return _0xf4dc88;};return _0x4297();}export class FootnotesPropertiesEditing extends _0x4929ca{static get[_0x3e4397(0x7f)](){const _0x2975cf=_0x3e4397;return _0x2975cf(0x90);}static get[_0x3e4397(0x88)](){return[_0xe5db58,_0x1e73c7];}static get[_0x3e4397(0xa3)](){return!0x0;}static get[_0x3e4397(0x92)](){return!0x0;}[_0x3e4397(0xb7)](){const _0x397861=_0x3e4397,{editor:_0x5abc45}=this;_0x5abc45[_0x397861(0x95)][_0x397861(0x87)](_0x397861(0x9e),_0x397861(0xc5)),_0x5abc45[_0x397861(0x95)][_0x397861(0x87)](_0x397861(0xd3),0x1),_0x5abc45[_0x397861(0x76)][_0x397861(0x75)](_0x397861(0xb0),new _0x3aaa94(_0x5abc45)),_0x5abc45[_0x397861(0x76)][_0x397861(0x75)](_0x397861(0x85),new _0x3d3a1e(_0x5abc45)),this[_0x397861(0x86)](),this[_0x397861(0x99)](),this[_0x397861(0xaf)](),this[_0x397861(0xcf)]();}[_0x3e4397(0x86)](){const _0x215096=_0x3e4397,{editor:_0x2f7979}=this,{schema:_0x41a985}=_0x2f7979[_0x215096(0xbe)];_0x41a985[_0x215096(0x7a)](_0x215096(0xc2),{'allowAttributes':[_0x215096(0x8a),_0x215096(0x7b)]});}[_0x3e4397(0x99)](){const _0x137c8d=_0x3e4397,{editor:_0x165dae}=this,{conversion:_0x2ed3ed,model:_0x1901cd}=_0x165dae,{schema:_0xe8cd9e}=_0x1901cd;_0x2ed3ed[_0x137c8d(0xce)](_0x137c8d(0xbd))[_0x137c8d(0x75)](_0x4abdab=>{const _0x15dc6b=_0x137c8d;_0x4abdab['on'](_0x15dc6b(0x74),(_0x4d6017,_0x537d7c,_0x5851c6)=>{const _0x587b27=_0x15dc6b,_0x14c988=_0x537d7c[_0x587b27(0xc6)],_0x5ec179=_0x537d7c[_0x587b27(0xa4)]?.[_0x587b27(0xd1)];_0x14c988[_0x587b27(0x97)](_0x587b27(0xa8))&&_0x5ec179?.['is'](_0x587b27(0x78),_0x587b27(0xc2))&&(function(_0x454252,_0x200c55,_0x53f5a9,_0x208c58){const _0x5e1c21=_0x587b27;if(!_0x208c58[_0x5e1c21(0x8c)](_0x200c55,_0x5e1c21(0x7b)))return;let _0x228f1b=0x1;const _0x3b0beb=_0x53f5a9[_0x5e1c21(0xb4)][_0x5e1c21(0x94)](_0x454252,{'attributes':_0x5e1c21(0x9f)});if(_0x3b0beb){const _0x196414=Number[_0x5e1c21(0xcc)](_0x454252[_0x5e1c21(0x9a)](_0x5e1c21(0x9f)),0xa);Number[_0x5e1c21(0xcb)](_0x196414)||(_0x228f1b=_0x196414);}!_0x3b0beb&&_0x200c55[_0x5e1c21(0xa1)](_0x5e1c21(0x7b))||_0x53f5a9[_0x5e1c21(0xc8)][_0x5e1c21(0x71)](_0x5e1c21(0x7b),_0x228f1b,_0x200c55);}(_0x14c988,_0x5ec179,_0x5851c6,_0xe8cd9e),function(_0x5d338d,_0x1d6a60,_0x52ff3d,_0x2794f7){const _0xc9711e=_0x587b27;if(!_0x2794f7[_0xc9711e(0x8c)](_0x1d6a60,_0xc9711e(0x8a)))return;let _0x54a183=_0xc9711e(0xc5),_0x1ef68d=!0x1;if(_0x52ff3d[_0xc9711e(0xb4)][_0xc9711e(0x94)](_0x5d338d,{'attributes':_0xc9711e(0xbb)})){const _0x3e3fac={0x1:_0xc9711e(0xc5),'a':_0xc9711e(0xbf),'A':_0xc9711e(0x98),'i':_0xc9711e(0x7e),'I':_0xc9711e(0xb9)}[_0x5d338d[_0xc9711e(0x9a)](_0xc9711e(0xbb))];_0x3e3fac&&(_0x54a183=_0x3e3fac),_0x1ef68d=!0x0;}_0x52ff3d[_0xc9711e(0xb4)][_0xc9711e(0x94)](_0x5d338d,{'styles':_0xc9711e(0x8e)})&&(_0x54a183=function(_0x44837b){const _0x2e5672=_0xc9711e;switch(_0x44837b){case _0x2e5672(0xbf):return _0x2e5672(0x73);case _0x2e5672(0x98):return _0x2e5672(0xbc);default:return _0x44837b;}}(_0x5d338d[_0xc9711e(0xb6)](_0xc9711e(0x8e))),_0x1ef68d=!0x0),!_0x1ef68d&&_0x1d6a60[_0xc9711e(0xa1)](_0xc9711e(0x8a))||_0x52ff3d[_0xc9711e(0xc8)][_0xc9711e(0x71)](_0xc9711e(0x8a),_0x54a183,_0x1d6a60);}(_0x14c988,_0x5ec179,_0x5851c6,_0xe8cd9e));});}),_0x2ed3ed[_0x137c8d(0xce)](_0x137c8d(0x81))[_0x137c8d(0x75)](_0x1b62d0=>{const _0x1e8e6d=_0x137c8d;_0x1b62d0['on'](_0x1e8e6d(0x9b),(_0x14b8bd,_0x304fd7,_0x3d1306)=>{const _0x156731=_0x1e8e6d;if(!_0x3d1306[_0x156731(0xb4)][_0x156731(0x94)](_0x304fd7[_0x156731(0xa9)],_0x14b8bd[_0x156731(0xd2)]))return;const _0x592d19=M(_0x304fd7[_0x156731(0xa9)],_0x3d1306[_0x156731(0x9d)]),{attributeNewValue:_0x39a2f9}=_0x304fd7;null==_0x39a2f9||0x1===_0x39a2f9?_0x3d1306[_0x156731(0xc8)][_0x156731(0x6e)](_0x156731(0x9f),_0x592d19):_0x3d1306[_0x156731(0xc8)][_0x156731(0x71)](_0x156731(0x9f),String(_0x39a2f9),_0x592d19);}),_0x1b62d0['on'](_0x1e8e6d(0xb2),(_0x379563,_0x54238d,_0x2c4b25)=>{const _0x4c1a20=_0x1e8e6d;if(!_0x2c4b25[_0x4c1a20(0xb4)][_0x4c1a20(0x94)](_0x54238d[_0x4c1a20(0xa9)],_0x379563[_0x4c1a20(0xd2)]))return;const _0x437a98=M(_0x54238d[_0x4c1a20(0xa9)],_0x2c4b25[_0x4c1a20(0x9d)]),{attributeNewValue:_0x57007d}=_0x54238d;_0x57007d&&_0x4c1a20(0xc5)!==_0x57007d?_0x2c4b25[_0x4c1a20(0xc8)][_0x4c1a20(0x7c)](_0x4c1a20(0x8e),_0x57007d,_0x437a98):_0x2c4b25[_0x4c1a20(0xc8)][_0x4c1a20(0x8d)](_0x4c1a20(0x8e),_0x437a98);});});}[_0x3e4397(0xcf)](){const _0x5df6f2=_0x3e4397,{editor:_0x38dba1}=this,{model:_0xd62ff5}=_0x38dba1,_0xf0f446=_0x38dba1[_0x5df6f2(0xc3)][_0x5df6f2(0xaa)](_0x1e73c7),_0x48061c=this[_0x5df6f2(0x96)](),_0x133116=this[_0x5df6f2(0x8b)]();_0xd62ff5[_0x5df6f2(0x70)][_0x5df6f2(0x82)](_0x119db9=>{const _0x32f69f=_0x5df6f2,_0x5e1bb3=_0xd62ff5[_0x32f69f(0x70)][_0x32f69f(0x6d)][_0x32f69f(0x79)]();let _0x1727c4=!0x1;for(const _0x34739c of _0x5e1bb3){if(_0x32f69f(0x8f)!==_0x34739c[_0x32f69f(0xbb)]||_0x32f69f(0xb5)===_0x34739c[_0x32f69f(0xd2)])continue;const _0x305785=_0xd62ff5[_0x32f69f(0x6f)](_0x34739c[_0x32f69f(0xa2)][_0x32f69f(0xcd)]);for(const _0x58ede6 of _0x305785[_0x32f69f(0xc1)]())_0x58ede6['is'](_0x32f69f(0x78),_0x32f69f(0xc2))&&(!_0x58ede6[_0x32f69f(0xa1)](_0x32f69f(0x7b))&&_0xd62ff5[_0x32f69f(0xb3)][_0x32f69f(0x8c)](_0x58ede6,_0x32f69f(0x7b))&&(_0x119db9[_0x32f69f(0x71)](_0x32f69f(0x7b),_0x133116,_0x58ede6),_0x1727c4=!0x0),!_0x58ede6[_0x32f69f(0xa1)](_0x32f69f(0x8a))&&_0xd62ff5[_0x32f69f(0xb3)][_0x32f69f(0x8c)](_0x58ede6,_0x32f69f(0x8a))&&(_0x119db9[_0x32f69f(0x71)](_0x32f69f(0x8a),_0x48061c,_0x58ede6),_0x1727c4=!0x0));}return _0x1727c4&&_0xf0f446[_0x32f69f(0xa5)](_0x119db9),_0x1727c4;});}[_0x3e4397(0xaf)](){const _0x99d851=_0x3e4397,{editor:_0x2e5614}=this;_0x2e5614[_0x99d851(0xc3)][_0x99d851(0xaa)](_0x1e73c7)[_0x99d851(0xad)](_0x4ce04a=>this[_0x99d851(0x77)](_0x4ce04a));}[_0x3e4397(0x96)](){const _0x4bbdc0=_0x3e4397;return this[_0x4bbdc0(0xc9)][_0x4bbdc0(0x95)][_0x4bbdc0(0xaa)](_0x4bbdc0(0x9e));}[_0x3e4397(0x8b)](){const _0x4e4f13=_0x3e4397;return this[_0x4e4f13(0xc9)][_0x4e4f13(0x95)][_0x4e4f13(0xaa)](_0x4e4f13(0xd3));}[_0x3e4397(0x77)]({container:_0x16e5d3,value:_0x1d50d2,digits:_0x4c6f0d}){const _0x24a204=_0x3e4397,_0x5c021c=_0x16e5d3[_0x24a204(0x9a)](_0x24a204(0x8a)),_0x5ac992=_0x16e5d3[_0x24a204(0x9a)](_0x24a204(0x7b)),_0x51392e=Math[_0x24a204(0xc7)](_0x1d50d2)+(_0x5ac992??0x1)-0x1;switch(_0x5c021c){case _0x24a204(0xae):return function(_0x214b45,_0x17637c){const _0x1507a8=_0x24a204;return String(_0x214b45)[_0x1507a8(0x91)](_0x17637c,'0');}(_0x51392e,Math[_0x24a204(0x9c)](0x2,_0x4c6f0d));case _0x24a204(0xbf):case _0x24a204(0x73):return N(_0x51392e,!0x1);case _0x24a204(0x98):case _0x24a204(0xbc):return N(_0x51392e,!0x0);case _0x24a204(0x7e):return X(_0x51392e,!0x1);case _0x24a204(0xb9):return X(_0x51392e,!0x0);default:return String(_0x51392e);}}}function M(_0x1e66ba,_0x5c1690){const _0x204af9=_0x3e4397,_0x1daed8=_0x5c1690[_0x204af9(0xa0)](_0x1e66ba);return Array[_0x204af9(0xa7)](_0x1daed8[_0x204af9(0x83)]())[_0x204af9(0xb8)](_0x4e4f9b=>_0x4e4f9b['is'](_0x204af9(0x78),'ol')&&_0x4e4f9b[_0x204af9(0x97)](_0x204af9(0xa8)));}function N(_0x57e9e9,_0x41c70b){const _0x23926e=_0x3e4397;let _0x5d2e4f='',_0x2f4659=_0x57e9e9;for(;_0x2f4659>0x0;){const _0x2749d7=(_0x2f4659-0x1)%0x1a;_0x5d2e4f=String[_0x23926e(0x84)](0x61+_0x2749d7)+_0x5d2e4f,_0x2f4659=Math[_0x23926e(0xc7)]((_0x2f4659-0x1)/0x1a);}return _0x41c70b?_0x5d2e4f[_0x23926e(0xc4)]():_0x5d2e4f;}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(_0x124fd9,_0x270018){const _0x518c80=_0x3e4397;let _0x3536eb='',_0x5839d0=_0x124fd9;for(const {value:_0x4ec9a6,numeral:_0x37e7ae}of V)for(;_0x5839d0>=_0x4ec9a6;)_0x3536eb+=_0x37e7ae,_0x5839d0-=_0x4ec9a6;return _0x270018?_0x3536eb:_0x3536eb[_0x518c80(0xac)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x130334,ButtonView as _0x4156e4,ContextualBalloon as _0x253762,createDropdown as _0x209205}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x1e8cd5}from'ckeditor5/src/widget.js';import{Plugin as _0x5e1325}from'ckeditor5/src/core.js';import{IconFootnote as _0x163b99,IconListStyleDecimal as _0x4df10b,IconListStyleDecimalLeadingZero as _0x343271,IconListStyleLowerLatin as _0xfd91da,IconListStyleLowerRoman as _0x1d1ae2,IconListStyleUpperLatin as _0x186e25,IconListStyleUpperRoman as _0x441c4e}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x38b08d}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x4312ca}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x5e1325{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x253762,_0x1e8cd5];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x273f40}=this,{componentFactory:_0x30a425}=_0x273f40['ui'];_0x273f40['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x30a425['add']('footnotesStyle',function(_0x417e59){return _0x48b9ee=>{const {t:t}=_0x48b9ee,_0x5329da=_0x417e59['commands']['get']('footnotesStyle'),_0x44bb54=_0x209205(_0x48b9ee),{buttonView:_0x3b4225}=_0x44bb54;return _0x44bb54['class']='ck-footnotes-styles-dropdown',_0x44bb54['bind']('isEnabled')['to'](_0x5329da,'isEnabled'),_0x3b4225['set']({'label':t('Footnotes\x20style'),'icon':_0x163b99,'tooltip':!0x0}),_0x44bb54['once']('change:isOpen',()=>{const _0x2c7612=function({editor:_0x1e4336,dropdownView:_0x68142d}){const {t:t}=_0x1e4336['locale'],_0x3a274b=t('Footnotes\x20definitions\x20styles'),_0x2d7676=function(_0x1fb991){const t=_0x1fb991['locale']['t'],_0x4bd367=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x4df10b},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x343271},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x1d1ae2},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x441c4e},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0xfd91da},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x186e25}];return _0x4bd367['map'](function(_0x12bacf){const _0x4d5dc2=_0x12bacf['locale'];return({label:_0x5cca1b,icon:_0x239b7b,tooltip:_0x145527,style:_0x5d1f0e})=>{const _0xd1694=_0x12bacf['commands']['get']('footnotesStyle'),_0x459731=new _0x4156e4(_0x4d5dc2);return _0x459731['set']({'label':_0x5cca1b,'icon':_0x239b7b,'tooltip':_0x145527}),_0x459731['bind']('isOn')['to'](_0xd1694,'value',_0x1a1c22=>_0x1a1c22===_0x5d1f0e),_0x459731['bind']('isEnabled')['to'](_0xd1694,'isEnabled'),_0x459731['on']('execute',()=>{_0x12bacf['execute']('footnotesStyle',{'value':_0x5d1f0e}),_0x12bacf['editing']['view']['focus']();}),_0x459731;};}(_0x1fb991));}(_0x1e4336),_0x5e3220=new _0x38b08d(_0x1e4336['locale'],{'styleGridAriaLabel':_0x3a274b,'styleButtonViews':_0x2d7676}),_0x4f6608=_0x1e4336['commands']['get']('footnotesStart');return _0x5e3220['startIndexFieldView']['bind']('isEnabled')['to'](_0x4f6608),_0x5e3220['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x4f6608),_0x5e3220['on']('footnotesListStart',(_0x263522,_0x240528)=>{_0x1e4336['execute']('footnotesStart',{'value':_0x240528['startIndex']});}),_0x5e3220['delegate']('execute')['to'](_0x68142d),_0x5e3220;}({'editor':_0x417e59,'dropdownView':_0x44bb54});_0x44bb54['panelView']['children']['add'](_0x2c7612);}),_0x44bb54;};}(_0x273f40));}['afterInit'](){const {editor:_0x534034}=this,{t:t}=_0x534034['locale'],_0x377017=_0x534034['plugins']['get'](_0x1e8cd5),{defaultPositions:_0x551cf6}=_0x130334;_0x377017['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x534034['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x10ed03=>{let _0x13f468=_0x10ed03['getFirstPosition']()?.['parent'];return _0x13f468?.['is']('$text')&&(_0x13f468=_0x13f468['parent']),_0x13f468?.['is']('element')?_0x13f468['findAncestor'](_0x4312ca):null;},'positions':[_0x551cf6['southArrowNorth'],_0x551cf6['southArrowNorthMiddleWest'],_0x551cf6['southArrowNorthMiddleEast'],_0x551cf6['southArrowNorthWest'],_0x551cf6['southArrowNorthEast'],_0x551cf6['northArrowSouth'],_0x551cf6['northArrowSouthMiddleWest'],_0x551cf6['northArrowSouthMiddleEast'],_0x551cf6['northArrowSouthWest'],_0x551cf6['northArrowSouthEast'],_0x551cf6['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x573e5b,View as _0x40cf16,ViewCollection as _0x3e1da2,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot}from'ckeditor5/src/ui.js';import{FocusTracker as rt,KeystrokeHandler as nt,global as at}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x40cf16{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x3e1da2();['focusCycler'];constructor(_0x30a4fd,{styleButtonViews:_0x16aafa,styleGridAriaLabel:_0x3e472d}){super(_0x30a4fd),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x16aafa,_0x3e472d),[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 _0x4bd662 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4bd662['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x44bce5=_0x51716b=>_0x51716b['stopPropagation']();this['keystrokes']['set']('arrowright',_0x44bce5),this['keystrokes']['set']('arrowleft',_0x44bce5),this['keystrokes']['set']('arrowup',_0x44bce5),this['keystrokes']['set']('arrowdown',_0x44bce5);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x424139,_0x3e8264){const _0x281506=new _0x40cf16(this['locale']);return _0x281506['children']=_0x281506['createCollection'](),_0x281506['children']['addMany'](_0x424139),_0x281506['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3e8264,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x281506['children']}),_0x281506['children']['delegate']('execute')['to'](this),_0x281506['focus']=function(){for(const _0x42e284 of this['children'])if(_0x42e284 instanceof _0x573e5b&&_0x42e284['isOn'])return void _0x42e284['focus']();this['children']['first']['focus']();},_0x281506['focusTracker']=new rt(),_0x281506['keystrokes']=new nt(),_0x281506['render'](),_0x281506['keystrokes']['listenTo'](_0x281506['element']),this['children']['add'](_0x281506),_0x281506;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x813cc8=this['_createStartIndexPropertyView'](),_0x277c50=[_0x813cc8],_0x36e37f=new it(this['locale'],_0x277c50);return _0x36e37f['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x36e37f['buttonView']['bind']('isEnabled')['toMany'](_0x277c50,'isEnabled',(..._0x2904bb)=>_0x2904bb['some'](_0x3164b5=>_0x3164b5)),_0x36e37f['buttonView']['on']('change:isEnabled',(_0x204c6e,_0x30cea1,_0x3ab0dd)=>{_0x3ab0dd||(_0x36e37f['isCollapsed']=!0x0);}),this['children']['add'](_0x36e37f),[_0x813cc8,_0x36e37f];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0xf33478=new et(this['locale'],ot);return _0xf33478['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0xf33478['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xf33478['fieldView']['on']('input',()=>{const _0x26f106=_0xf33478['fieldView']['element'],_0x145253=_0x26f106['valueAsNumber'];Number['isNaN'](_0x145253)?_0xf33478['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x26f106['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x145253}):_0xf33478['errorText']=t(_0x145253<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0xf33478;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x1e56(_0x405bb8,_0x4390b8){var _0x126fd4=_0x126f();return _0x1e56=function(_0x1e56e2,_0x12a5ac){_0x1e56e2=_0x1e56e2-0x1b5;var _0x119209=_0x126fd4[_0x1e56e2];return _0x119209;},_0x1e56(_0x405bb8,_0x4390b8);}var _0x140fb1=_0x1e56;(function(_0x3b856f,_0x917dc8){var _0xcffb7a=_0x1e56,_0x49061d=_0x3b856f();while(!![]){try{var _0x3c1153=-parseInt(_0xcffb7a(0x1bc))/0x1*(parseInt(_0xcffb7a(0x1ba))/0x2)+parseInt(_0xcffb7a(0x1c1))/0x3+-parseInt(_0xcffb7a(0x1b7))/0x4+-parseInt(_0xcffb7a(0x1b9))/0x5+-parseInt(_0xcffb7a(0x1bb))/0x6+-parseInt(_0xcffb7a(0x1c0))/0x7*(-parseInt(_0xcffb7a(0x1b6))/0x8)+parseInt(_0xcffb7a(0x1c2))/0x9;if(_0x3c1153===_0x917dc8)break;else _0x49061d['push'](_0x49061d['shift']());}catch(_0x1afbb2){_0x49061d['push'](_0x49061d['shift']());}}}(_0x126f,0x30bfe));import{Plugin as _0x2b4e3d}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x47c75e}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x2ba321}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x2b4e3d{static get[_0x140fb1(0x1be)](){var _0x4d3be2=_0x140fb1;return _0x4d3be2(0x1bf);}static get[_0x140fb1(0x1b5)](){return[_0x47c75e,_0x2ba321];}static get[_0x140fb1(0x1b8)](){return!0x0;}static get[_0x140fb1(0x1bd)](){return!0x0;}}function _0x126f(){var _0x303c01=['1601832FWVWui','4JanYWO','isPremiumPlugin','pluginName','FootnotesProperties','2569973lToDGu','481374EMpPMt','3911859jfFPHH','requires','8bhRWLm','889704VYtnOE','isOfficialPlugin','263840TcbpUq','110202OCXgox'];_0x126f=function(){return _0x303c01;};return _0x126f();}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x24ef53=_0x1a8e;(function(_0x5d82eb,_0x360221){const _0x3cf09b=_0x1a8e,_0x1ec9b6=_0x5d82eb();while(!![]){try{const _0x4515b2=-parseInt(_0x3cf09b(0x97))/0x1+parseInt(_0x3cf09b(0xe0))/0x2+-parseInt(_0x3cf09b(0xeb))/0x3+parseInt(_0x3cf09b(0xa0))/0x4+parseInt(_0x3cf09b(0xdb))/0x5*(parseInt(_0x3cf09b(0xd3))/0x6)+parseInt(_0x3cf09b(0xe7))/0x7*(parseInt(_0x3cf09b(0xe3))/0x8)+parseInt(_0x3cf09b(0xc0))/0x9*(-parseInt(_0x3cf09b(0xf6))/0xa);if(_0x4515b2===_0x360221)break;else _0x1ec9b6['push'](_0x1ec9b6['shift']());}catch(_0x3f0b5e){_0x1ec9b6['push'](_0x1ec9b6['shift']());}}}(_0x2864,0x85d5c));function _0x1a8e(_0x2e9fbb,_0x4a2a72){const _0x286416=_0x2864();return _0x1a8e=function(_0x1a8efb,_0x57e43f){_0x1a8efb=_0x1a8efb-0x97;let _0x4f02f7=_0x286416[_0x1a8efb];return _0x4f02f7;},_0x1a8e(_0x2e9fbb,_0x4a2a72);}import{Plugin as _0x4f47d7}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x4bc2d0}from'./modelelementtracker.js';export class FootnotesTracker extends _0x4f47d7{[_0x24ef53(0xe4)]=[];[_0x24ef53(0xcf)]=null;[_0x24ef53(0xbb)]=null;[_0x24ef53(0xd0)];[_0x24ef53(0xa1)];[_0x24ef53(0xee)];static get[_0x24ef53(0xf0)](){const _0x5f322c=_0x24ef53;return _0x5f322c(0xf5);}static get[_0x24ef53(0xd8)](){return!0x0;}static get[_0x24ef53(0xf2)](){return!0x0;}constructor(_0x566412){const _0x3b7207=_0x24ef53;super(_0x566412),this[_0x3b7207(0xd0)]=new _0x4bc2d0(this[_0x3b7207(0xf8)][_0x3b7207(0xa5)],{'elementName':_0x3b7207(0xa4),'getElementKey':()=>_0x3b7207(0xe2)}),this[_0x3b7207(0xa1)]=new _0x4bc2d0(this[_0x3b7207(0xf8)][_0x3b7207(0xa5)],{'elementName':_0x3b7207(0xae),'getElementKey':_0x5f3bb6=>_0x5f3bb6[_0x3b7207(0xd1)](_0x3b7207(0xb7))}),this[_0x3b7207(0xee)]=new _0x4bc2d0(this[_0x3b7207(0xf8)][_0x3b7207(0xa5)],{'elementName':_0x3b7207(0xf9),'getElementKey':_0x57eec3=>_0x57eec3[_0x3b7207(0xd1)](_0x3b7207(0xb7))});}[_0x24ef53(0xb0)](){const _0x21ad38=_0x24ef53,{editor:_0x1e2a60}=this,{model:_0x15b30e,data:_0x952426}=_0x1e2a60;_0x15b30e[_0x21ad38(0xb3)][_0x21ad38(0x9d)](_0x3574f3=>{const _0xafcbf6=_0x21ad38,_0x51c207=_0x15b30e[_0xafcbf6(0xb3)][_0xafcbf6(0xfa)][_0xafcbf6(0xe1)]();let _0xbd4941=!0x1;return this[_0xafcbf6(0xc7)](_0x3574f3,_0x51c207)&&(_0xbd4941=!0x0),this[_0xafcbf6(0xaa)](_0x3574f3,_0x51c207)&&(_0xbd4941=!0x0),this[_0xafcbf6(0xbe)](_0x3574f3,_0x51c207)&&(_0xbd4941=!0x0),this[_0xafcbf6(0xfb)](_0x3574f3)&&(_0xbd4941=!0x0),this[_0xafcbf6(0xa7)](_0x3574f3)&&(_0xbd4941=!0x0),this[_0xafcbf6(0xf4)](_0x3574f3)&&(_0xbd4941=!0x0),_0xbd4941;}),this[_0x21ad38(0xb1)](_0x15b30e[_0x21ad38(0xb3)],_0x21ad38(0xb9),()=>{const _0xa321=_0x21ad38;_0x15b30e[_0xa321(0xc5)]({'isUndoable':!0x1},_0x3827c1=>{const _0x30ce11=_0xa321;this[_0x30ce11(0xdf)](_0x3827c1);});},{'priority':_0x21ad38(0xea)}),this[_0x21ad38(0xb1)](_0x952426,_0x21ad38(0xc2),()=>{const _0x5692ef=_0x21ad38;this[_0x5692ef(0xe4)]=[],this[_0x5692ef(0xd0)][_0x5692ef(0xe5)](),this[_0x5692ef(0xa1)][_0x5692ef(0xe5)](),this[_0x5692ef(0xee)][_0x5692ef(0xe5)]();},{'priority':_0x21ad38(0xb8)});}[_0x24ef53(0xc6)](){const _0x12f314=_0x24ef53;return this[_0x12f314(0xcf)];}[_0x24ef53(0xde)](_0x17584a){const _0x4b8ab8=_0x24ef53;return this[_0x4b8ab8(0xe4)][_0x4b8ab8(0x9b)](_0x53570b=>_0x53570b['id']===_0x17584a)||null;}[_0x24ef53(0xdc)](){const _0x44da50=_0x24ef53;return Array[_0x44da50(0xda)](this[_0x44da50(0xe4)]);}[_0x24ef53(0xcc)](){const _0x1525d3=_0x24ef53;return this[_0x1525d3(0xbb)];}[_0x24ef53(0xca)](_0x55fc7c){const _0xf6f8ad=_0x24ef53;this[_0xf6f8ad(0xbb)]=_0x55fc7c;}[_0x24ef53(0x99)](_0x2ad20e,_0x288f6d=0x0){const _0x3d96f9=_0x24ef53;let _0x5e1a0b=!0x1;for(let _0x5ca2de=_0x288f6d;_0x5ca2de<this[_0x3d96f9(0xe4)][_0x3d96f9(0xdd)];_0x5ca2de++)this[_0x3d96f9(0xd6)](_0x2ad20e,_0x5ca2de)&&(_0x5e1a0b=!0x0);return _0x5e1a0b;}[_0x24ef53(0xa9)](_0x29dbc6,_0xb8ad46){const _0x531855=_0x24ef53,_0x124759=_0x29dbc6[_0x531855(0xe6)](_0x531855(0xa4),{});return _0x29dbc6[_0x531855(0xf1)](_0x124759,_0xb8ad46),this[_0x531855(0xcf)]=_0x124759,_0x124759;}[_0x24ef53(0xdf)](_0x9d0674){const _0x2d7108=_0x24ef53;if(!this[_0x2d7108(0xe4)][_0x2d7108(0xdd)]||this[_0x2d7108(0xcf)])return;const _0x4d2fbe=this[_0x2d7108(0xe4)][0x0][_0x2d7108(0xab)][_0x2d7108(0xc9)],_0x3ca424=this[_0x2d7108(0xa9)](_0x9d0674,_0x4d2fbe);for(const _0x782a0 of this[_0x2d7108(0xe4)])_0x782a0[_0x2d7108(0xbd)][_0x2d7108(0xec)]||_0x9d0674[_0x2d7108(0xd7)](_0x782a0[_0x2d7108(0xbd)],_0x3ca424,_0x2d7108(0xba));this[_0x2d7108(0x99)](_0x9d0674);}[_0x24ef53(0xc7)](_0x53d897,_0x45df60){const _0x2757d5=_0x24ef53;let _0x533f64=!0x1;const {inserted:_0x219761,removed:_0x161386,moved:_0x2e7376}=this[_0x2757d5(0xd0)][_0x2757d5(0xe1)](_0x45df60);if(_0x2e7376[_0x2757d5(0xdd)]&&(this[_0x2757d5(0xcf)]=_0x2e7376[0x0]),_0x219761[_0x2757d5(0xdd)]){if(_0x219761[_0x2757d5(0xdd)]>0x1||this[_0x2757d5(0xcf)]&&_0x219761[_0x2757d5(0xa2)](_0x49295f=>_0x49295f!==this[_0x2757d5(0xcf)])){const _0x5caf59=_0x53d897[_0x2757d5(0xe6)](_0x2757d5(0xa4),{}),_0x59c12e=[];this[_0x2757d5(0xcf)]&&_0x59c12e[_0x2757d5(0x9a)](this[_0x2757d5(0xcf)]),_0x59c12e[_0x2757d5(0x9a)](..._0x219761),_0x53d897[_0x2757d5(0xd7)](_0x5caf59,_0x59c12e[0x0],_0x2757d5(0xe8));for(const _0x116a24 of _0x59c12e)_0x53d897[_0x2757d5(0x9e)](_0x53d897[_0x2757d5(0xef)](_0x116a24),_0x53d897[_0x2757d5(0xd2)](_0x5caf59,_0x2757d5(0xba))),_0x53d897[_0x2757d5(0xcb)](_0x116a24);this[_0x2757d5(0xcf)]=_0x5caf59,this[_0x2757d5(0x99)](_0x53d897),_0x533f64=!0x0;}else this[_0x2757d5(0xcf)]=_0x219761[0x0];}if(_0x161386[_0x2757d5(0xdd)]&&_0x2757d5(0xed)===this[_0x2757d5(0xcf)]?.[_0x2757d5(0xc9)][_0x2757d5(0xc3)]){for(const _0x4cbe35 of this[_0x2757d5(0xe4)])_0x53d897[_0x2757d5(0xcb)](_0x4cbe35[_0x2757d5(0xab)]),_0x533f64=!0x0;this[_0x2757d5(0xe4)]=[],this[_0x2757d5(0xcf)]=null;}return _0x533f64;}[_0x24ef53(0xaa)](_0x5bee00,_0xa3b0ef){const _0x1586ac=_0x24ef53;let _0x562182=!0x1;const _0x196218=this[_0x1586ac(0xf8)][_0x1586ac(0xbc)][_0x1586ac(0xe9)](_0x1586ac(0xc4)),{inserted:_0x51bd76,moved:_0x373e87}=this[_0x1586ac(0xee)][_0x1586ac(0xe1)](_0xa3b0ef);for(const _0x3336c of[..._0x373e87,..._0x51bd76]){const _0x794b7f=_0x3336c[_0x1586ac(0xd1)](_0x1586ac(0xb7)),_0x1ecb4b=this[_0x1586ac(0xde)](_0x794b7f);_0x1ecb4b&&(_0x1ecb4b[_0x1586ac(0xbd)]=_0x3336c),_(_0x5bee00,_0x196218,_0x3336c)&&(_0x562182=!0x0);}return _0x562182;}[_0x24ef53(0xbe)](_0x90a9c9,_0x3b8923){const _0x4759da=_0x24ef53;let _0x360186=!0x1;const {removed:_0x20379c,inserted:_0x430a88,moved:_0x54b733}=this[_0x4759da(0xa1)][_0x4759da(0xe1)](_0x3b8923);for(const _0x2d905f of _0x20379c)this[_0x4759da(0xd5)](_0x90a9c9,_0x2d905f)&&(_0x360186=!0x0);for(const _0x41065e of _0x430a88)this[_0x4759da(0xa3)](_0x90a9c9,_0x41065e)&&(_0x360186=!0x0);for(const _0x723ee8 of _0x54b733)this[_0x4759da(0xad)](_0x90a9c9,_0x723ee8)&&(_0x360186=!0x0);return _0x360186;}[_0x24ef53(0xa7)](_0x2d4f93){const _0x5d957d=_0x24ef53;if(!this[_0x5d957d(0xcf)])return!0x1;let _0x576fdb=!0x1;if(this[_0x5d957d(0xcf)][_0x5d957d(0xa6)]!==this[_0x5d957d(0xe4)][_0x5d957d(0xdd)]){const _0x4f640b=[];for(const _0x395eb9 of this[_0x5d957d(0xcf)][_0x5d957d(0xc1)]()){const _0x29ff58=_0x395eb9[_0x5d957d(0xd1)](_0x5d957d(0xb7));this[_0x5d957d(0xde)](_0x29ff58)||(_0x4f640b[_0x5d957d(0xf3)](_0x395eb9),_0x576fdb=!0x0);}for(const _0x5ded21 of _0x4f640b)_0x2d4f93[_0x5d957d(0xcb)](_0x5ded21);}const _0x48b5ba=new Set(),_0x1e3a6a=[];for(const _0x4545d5 of this[_0x5d957d(0xcf)][_0x5d957d(0xc1)]()){const _0x2bfb27=_0x4545d5[_0x5d957d(0xd1)](_0x5d957d(0xb7));_0x48b5ba[_0x5d957d(0x9f)](_0x2bfb27)?(_0x1e3a6a[_0x5d957d(0xf3)](_0x4545d5),_0x576fdb=!0x0):_0x48b5ba[_0x5d957d(0x9c)](_0x2bfb27);}for(const _0x3e60e9 of _0x1e3a6a)_0x2d4f93[_0x5d957d(0xcb)](_0x3e60e9);return this[_0x5d957d(0xcf)][_0x5d957d(0xa6)]||(_0x2d4f93[_0x5d957d(0xcb)](this[_0x5d957d(0xcf)]),this[_0x5d957d(0xcf)]=null,_0x576fdb=!0x0),_0x576fdb;}[_0x24ef53(0xa3)](_0x17844a,_0x21c6ba){const _0x58daa0=_0x24ef53;if(this[_0x58daa0(0xe4)][_0x58daa0(0x9b)](_0x13e5be=>_0x13e5be[_0x58daa0(0xab)]===_0x21c6ba))return!0x1;let _0x4998e7=!0x1;const _0x35e5ec=_0x21c6ba[_0x58daa0(0xd1)](_0x58daa0(0xb7)),_0x12e6ac=this[_0x58daa0(0xe4)][_0x58daa0(0x98)](_0xada389=>_0xada389['id']===_0x35e5ec);-0x1!==_0x12e6ac&&(_0x17844a[_0x58daa0(0xcb)](this[_0x58daa0(0xe4)][_0x12e6ac][_0x58daa0(0xab)]),this[_0x58daa0(0xe4)][_0x58daa0(0xd9)](_0x12e6ac,0x1),_0x4998e7=!0x0);let _0x35d5e2=this[_0x58daa0(0xcf)]?function(_0x3c2ed2,_0xd2201f){const _0x332e0c=_0x58daa0;for(const _0x4fbae8 of _0x3c2ed2[_0x332e0c(0xc1)]())if(_0x4fbae8[_0x332e0c(0xd1)](_0x332e0c(0xb7))===_0xd2201f)return _0x4fbae8;return null;}(this[_0x58daa0(0xcf)],_0x35e5ec):null;_0x35d5e2||(_0x35d5e2=_0x17844a[_0x58daa0(0xe6)](_0x58daa0(0xf9),{'footnoteId':_0x35e5ec}),this[_0x58daa0(0xcf)]&&(_0x17844a[_0x58daa0(0xd7)](_0x35d5e2,this[_0x58daa0(0xcf)],_0x58daa0(0xba)),_0x4998e7=!0x0));const _0x32ceff={'id':_0x35e5ec,'reference':_0x21c6ba,'definition':_0x35d5e2},_0x43f1d9=I(this[_0x58daa0(0xf8)][_0x58daa0(0xa5)],this[_0x58daa0(0xe4)],_0x21c6ba);this[_0x58daa0(0xe4)][_0x58daa0(0xd9)](_0x43f1d9,0x0,_0x32ceff);let _0x5760ca=_0x43f1d9;return-0x1!==_0x12e6ac&&(_0x5760ca=Math[_0x58daa0(0xd4)](_0x43f1d9,_0x12e6ac)),this[_0x58daa0(0x99)](_0x17844a,_0x5760ca)&&(_0x4998e7=!0x0),_0x4998e7;}[_0x24ef53(0xd5)](_0xe11559,_0x1538f1){const _0x563db6=_0x24ef53,_0x5a37c6=this[_0x563db6(0xe4)][_0x563db6(0x98)](_0x46393f=>_0x46393f['id']===_0x1538f1);if(-0x1===_0x5a37c6)return!0x1;let _0x230191=!0x1;const _0x5d357a=this[_0x563db6(0xe4)][_0x5a37c6];return _0x563db6(0xed)!==_0x5d357a[_0x563db6(0xbd)][_0x563db6(0xc9)][_0x563db6(0xc3)]&&(_0xe11559[_0x563db6(0xcb)](_0x5d357a[_0x563db6(0xbd)]),_0x230191=!0x0),this[_0x563db6(0xe4)][_0x563db6(0xd9)](_0x5a37c6,0x1),this[_0x563db6(0x99)](_0xe11559,_0x5a37c6)&&(_0x230191=!0x0),_0x230191;}[_0x24ef53(0xad)](_0x54fc03,_0x380ad2){const _0x272456=_0x24ef53,_0x3ac373=_0x380ad2[_0x272456(0xd1)](_0x272456(0xb7)),_0x270574=this[_0x272456(0xe4)][_0x272456(0x98)](_0x1f7c4c=>_0x1f7c4c['id']===_0x3ac373),_0x19f5d8=this[_0x272456(0xe4)][_0x270574];let _0x51ae30=!0x1;_0x19f5d8[_0x272456(0xab)]=_0x380ad2,this[_0x272456(0xe4)][_0x272456(0xd9)](_0x270574,0x1);const _0x40c04f=I(this[_0x272456(0xf8)][_0x272456(0xa5)],this[_0x272456(0xe4)],_0x380ad2);return this[_0x272456(0xe4)][_0x272456(0xd9)](_0x40c04f,0x0,_0x19f5d8),this[_0x272456(0x99)](_0x54fc03,Math[_0x272456(0xd4)](_0x270574,_0x40c04f))&&(_0x51ae30=!0x0),_0x51ae30;}[_0x24ef53(0xd6)](_0x6392be,_0x25e3eb){const _0x11c098=_0x24ef53;if(!this[_0x11c098(0xcf)])return!0x1;const _0x496861=this[_0x11c098(0xe4)][_0x25e3eb];let _0x252e98;return _0x252e98=this[_0x11c098(0xbb)]?this[_0x11c098(0xbb)]({'footnote':_0x496861,'container':this[_0x11c098(0xcf)],'digits':String(this[_0x11c098(0xe4)][_0x11c098(0xdd)])[_0x11c098(0xdd)],'value':_0x25e3eb+0x1}):String(_0x25e3eb+0x1),_0x496861[_0x11c098(0xab)][_0x11c098(0xd1)](_0x11c098(0xb4))!=_0x252e98&&(_0x6392be[_0x11c098(0xce)](_0x11c098(0xb4),_0x252e98,_0x496861[_0x11c098(0xab)]),!0x0);}[_0x24ef53(0xf4)](_0xba530b){const _0x34de0b=_0x24ef53;if(!this[_0x34de0b(0xcf)]||this[_0x34de0b(0xe4)][_0x34de0b(0xdd)]<0x2)return!0x1;if(function(_0x51b211,_0x44c3bc){const _0x7f95d4=_0x34de0b;if(_0x51b211[_0x7f95d4(0xdd)]!==_0x44c3bc[_0x7f95d4(0xdd)])return!0x1;for(let _0x5f5805=0x0;_0x5f5805<_0x51b211[_0x7f95d4(0xdd)];_0x5f5805++)if(_0x51b211[_0x5f5805]!==_0x44c3bc[_0x5f5805])return!0x1;return!0x0;}(this[_0x34de0b(0xe4)][_0x34de0b(0xa8)](_0x5886dd=>_0x5886dd['id']),Array[_0x34de0b(0xda)](this[_0x34de0b(0xcf)][_0x34de0b(0xc1)]())[_0x34de0b(0xa8)](_0xad9eb0=>_0xad9eb0[_0x34de0b(0xd1)](_0x34de0b(0xb7)))))return!0x1;let _0x36dfe7=!0x1;for(let _0x2c5d3f=0x0;_0x2c5d3f<this[_0x34de0b(0xe4)][_0x34de0b(0xdd)];_0x2c5d3f++){const _0x3cc9eb=this[_0x34de0b(0xe4)][_0x2c5d3f],_0x1c709e=_0xba530b[_0x34de0b(0xc8)](_0x3cc9eb[_0x34de0b(0xbd)]),_0x1ae8b7=_0xba530b[_0x34de0b(0xd2)](this[_0x34de0b(0xcf)],_0x2c5d3f);_0x1c709e[_0x34de0b(0xb6)](_0x1ae8b7)||(_0xba530b[_0x34de0b(0x9e)](_0xba530b[_0x34de0b(0xb5)](_0x3cc9eb[_0x34de0b(0xbd)]),_0x1ae8b7),_0x36dfe7=!0x0);}return _0x36dfe7;}[_0x24ef53(0xfb)](_0x2d6f29){const _0x61e835=_0x24ef53;if(!this[_0x61e835(0xe4)][_0x61e835(0xdd)])return!0x1;const {model:_0x1c820b}=this[_0x61e835(0xf8)];let _0x3a7ee1=!0x1;for(let _0x11f71e=0x0;_0x11f71e<this[_0x61e835(0xe4)][_0x61e835(0xdd)]-0x1;_0x11f71e++){const _0x57fc7d=this[_0x61e835(0xe4)][_0x11f71e],_0x43ac58=this[_0x61e835(0xe4)][_0x11f71e+0x1],_0x33e76b=_0x1c820b[_0x61e835(0xc8)](_0x57fc7d[_0x61e835(0xab)]),_0x1815eb=_0x1c820b[_0x61e835(0xc8)](_0x43ac58[_0x61e835(0xab)]);_0x61e835(0xcd)===_0x33e76b[_0x61e835(0xaf)](_0x1815eb)&&(this[_0x61e835(0xad)](_0x2d6f29,_0x57fc7d[_0x61e835(0xab)]),_0x11f71e=-0x1,_0x3a7ee1=!0x0);}return _0x3a7ee1;}}function _0x2864(){const _0x1c07d8=['parent','$graveyard','_footnoteDefsTracker','createRangeIn','pluginName','append','isPremiumPlugin','unshift','_sortFootnoteDefinitions','FootnotesTracker','120wFwEin','indexOf','editor','footnoteDefinition','differ','_ensureFootnotesReferencesHaveProperOrder','178396OMZjbv','findIndex','_updateFootnotesCounters','push','find','add','registerPostFixer','move','has','1074292xZQhAt','_footnoteRefsTracker','some','_handleInsertedFootnoteReference','footnotesDefinitions','model','childCount','_handleFootnotesDefinitionsObjectSync','map','_insertEmptyFootnotesDefinitionsContainer','_handleFootnoteDefinitionsChanges','reference','getRootNames','_handleMovedFootnoteReference','footnoteRef','compareWith','init','listenTo','paragraph','document','footnoteCounter','createRangeOn','isEqual','footnoteId','high','change:data','end','_footnoteFormatter','config','definition','_handleFootnoteReferencesChanges','footnoteInlineContent','885483ZtrHMi','getChildren','set','rootName','footnotes.multiBlock','enqueueChange','getFootnotesDefinitionsObjectElement','_handleFootnotesDefinitionsObjectChanges','createPositionBefore','root','setFootnoteFormatter','remove','getFootnotesFormatter','after','setAttribute','_footnotesDefinitions','_footnoteDefsContainerTracker','getAttribute','createPositionAt','6120924DtJCuP','min','_handleRemoveFootnoteReferenceById','_updateFootnoteRefCounter','insert','isOfficialPlugin','splice','from','5QiAMuN','getFootnotes','length','getFootnote','_ensureFootnotesDefinitionsContainerExists','121600Vcfkkw','getChanges','singleton','2456LGVUAf','_footnotes','reset','createElement','16170PmKloX','before','get','low','454407TViKvN'];_0x2864=function(){return _0x1c07d8;};return _0x2864();}function _(_0x256657,_0x2f9bf5,_0x11ac80){const _0x59ce6b=_0x24ef53;if(_0x11ac80[_0x59ce6b(0xa6)])return!0x1;const _0x448a6e=_0x2f9bf5?_0x59ce6b(0xb2):_0x59ce6b(0xbf);return _0x256657[_0x59ce6b(0xd7)](_0x256657[_0x59ce6b(0xe6)](_0x448a6e),_0x11ac80),!0x0;}function I(_0x20b213,_0x44a9f9,_0x2a6a5e){const _0x3842b8=_0x24ef53;if(0x0===_0x44a9f9[_0x3842b8(0xdd)])return 0x0;const _0x10f872=_0x20b213[_0x3842b8(0xc8)](_0x2a6a5e);for(let _0x29edbd=0x0;_0x29edbd<_0x44a9f9[_0x3842b8(0xdd)];_0x29edbd++){const _0x21a16c=_0x44a9f9[_0x29edbd],_0x4b87c9=_0x20b213[_0x3842b8(0xc8)](_0x21a16c[_0x3842b8(0xab)]);if(_0x3842b8(0xe8)===_0x10f872[_0x3842b8(0xaf)](_0x4b87c9))return _0x29edbd;}const _0x5d1b26=_0x2a6a5e[_0x3842b8(0xc9)];let _0x135283=-0x1;for(let _0x1829e6=_0x44a9f9[_0x3842b8(0xdd)]-0x1;_0x1829e6>=0x0;_0x1829e6--)if(_0x44a9f9[_0x1829e6][_0x3842b8(0xab)][_0x3842b8(0xc9)]===_0x5d1b26){_0x135283=_0x1829e6;break;}if(-0x1!==_0x135283)return _0x135283+0x1;const _0x396fd2=_0x20b213[_0x3842b8(0xb3)][_0x3842b8(0xac)](),_0x1d365f=_0x396fd2[_0x3842b8(0xf7)](_0x5d1b26[_0x3842b8(0xc3)]),_0x3fce67=_0x396fd2[_0x1d365f+0x1];if(_0x3fce67){for(let _0x417bce=0x0;_0x417bce<_0x44a9f9[_0x3842b8(0xdd)];_0x417bce++)if(_0x44a9f9[_0x417bce][_0x3842b8(0xab)][_0x3842b8(0xc9)][_0x3842b8(0xc3)]===_0x3fce67)return _0x417bce;}return _0x44a9f9[_0x3842b8(0xdd)];}
|
|
23
|
+
const _0x8a3e1f=_0x19fb;(function(_0x2f1802,_0x24d45a){const _0x20a960=_0x19fb,_0x1b1d3d=_0x2f1802();while(!![]){try{const _0x5261b9=-parseInt(_0x20a960(0x1eb))/0x1+parseInt(_0x20a960(0x207))/0x2*(parseInt(_0x20a960(0x1d1))/0x3)+parseInt(_0x20a960(0x1f1))/0x4+-parseInt(_0x20a960(0x1cf))/0x5*(-parseInt(_0x20a960(0x1e9))/0x6)+parseInt(_0x20a960(0x206))/0x7*(parseInt(_0x20a960(0x1cd))/0x8)+parseInt(_0x20a960(0x210))/0x9+parseInt(_0x20a960(0x1dd))/0xa;if(_0x5261b9===_0x24d45a)break;else _0x1b1d3d['push'](_0x1b1d3d['shift']());}catch(_0x52ebf5){_0x1b1d3d['push'](_0x1b1d3d['shift']());}}}(_0x4873,0x87ab9));function _0x19fb(_0x20db66,_0x3ac95c){const _0x4873b5=_0x4873();return _0x19fb=function(_0x19fba6,_0x5568f1){_0x19fba6=_0x19fba6-0x1ca;let _0x51a328=_0x4873b5[_0x19fba6];return _0x51a328;},_0x19fb(_0x20db66,_0x3ac95c);}import{Plugin as _0x1b1356}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x12db27}from'./modelelementtracker.js';export class FootnotesTracker extends _0x1b1356{[_0x8a3e1f(0x1fe)]=[];[_0x8a3e1f(0x1e8)]=null;[_0x8a3e1f(0x219)]=null;[_0x8a3e1f(0x214)];[_0x8a3e1f(0x1ef)];[_0x8a3e1f(0x203)];static get[_0x8a3e1f(0x227)](){const _0xb05215=_0x8a3e1f;return _0xb05215(0x1ce);}static get[_0x8a3e1f(0x1fc)](){return!0x0;}static get[_0x8a3e1f(0x20d)](){return!0x0;}constructor(_0x41565f){const _0x1eba8b=_0x8a3e1f;super(_0x41565f),this[_0x1eba8b(0x214)]=new _0x12db27(this[_0x1eba8b(0x22e)][_0x1eba8b(0x224)],{'elementName':_0x1eba8b(0x220),'getElementKey':()=>_0x1eba8b(0x1e3)}),this[_0x1eba8b(0x1ef)]=new _0x12db27(this[_0x1eba8b(0x22e)][_0x1eba8b(0x224)],{'elementName':_0x1eba8b(0x1d4),'getElementKey':_0x558b52=>_0x558b52[_0x1eba8b(0x221)](_0x1eba8b(0x1f9))}),this[_0x1eba8b(0x203)]=new _0x12db27(this[_0x1eba8b(0x22e)][_0x1eba8b(0x224)],{'elementName':_0x1eba8b(0x1f8),'getElementKey':_0x383374=>_0x383374[_0x1eba8b(0x221)](_0x1eba8b(0x1f9))});}[_0x8a3e1f(0x22c)](){const _0x12c1c5=_0x8a3e1f,{editor:_0x3c8bcb}=this,{model:_0x48ad42,data:_0xc4532d}=_0x3c8bcb;_0x48ad42[_0x12c1c5(0x218)][_0x12c1c5(0x1fd)](_0x168052=>{const _0x4f89f0=_0x12c1c5,_0x412d31=_0x48ad42[_0x4f89f0(0x218)][_0x4f89f0(0x21e)][_0x4f89f0(0x1d5)]();let _0x3b39a4=!0x1;return this[_0x4f89f0(0x1f0)](_0x168052,_0x412d31)&&(_0x3b39a4=!0x0),this[_0x4f89f0(0x22b)](_0x168052,_0x412d31)&&(_0x3b39a4=!0x0),this[_0x4f89f0(0x21f)](_0x168052,_0x412d31)&&(_0x3b39a4=!0x0),this[_0x4f89f0(0x205)](_0x168052)&&(_0x3b39a4=!0x0),this[_0x4f89f0(0x20f)](_0x168052)&&(_0x3b39a4=!0x0),this[_0x4f89f0(0x1e1)](_0x168052)&&(_0x3b39a4=!0x0),_0x3b39a4;}),this[_0x12c1c5(0x21a)](_0x48ad42[_0x12c1c5(0x218)],_0x12c1c5(0x20c),()=>{const _0x826970=_0x12c1c5;_0x48ad42[_0x826970(0x1e2)]({'isUndoable':!0x1},_0x271644=>{const _0x337c8a=_0x826970;this[_0x337c8a(0x1d7)](_0x271644);});},{'priority':_0x12c1c5(0x1ca)}),this[_0x12c1c5(0x21a)](_0xc4532d,_0x12c1c5(0x1f7),()=>{const _0x2fb3aa=_0x12c1c5;this[_0x2fb3aa(0x1fe)]=[],this[_0x2fb3aa(0x214)][_0x2fb3aa(0x208)](),this[_0x2fb3aa(0x1ef)][_0x2fb3aa(0x208)](),this[_0x2fb3aa(0x203)][_0x2fb3aa(0x208)]();},{'priority':_0x12c1c5(0x21b)});}[_0x8a3e1f(0x1de)](){const _0x4f5c18=_0x8a3e1f;return this[_0x4f5c18(0x1e8)];}[_0x8a3e1f(0x1df)](_0x3d9759){const _0x5d9770=_0x8a3e1f;return this[_0x5d9770(0x1fe)][_0x5d9770(0x212)](_0x368a7f=>_0x368a7f['id']===_0x3d9759)||null;}[_0x8a3e1f(0x21d)](){const _0x336922=_0x8a3e1f;return Array[_0x336922(0x1cc)](this[_0x336922(0x1fe)]);}[_0x8a3e1f(0x1e5)](){const _0x5b3d3b=_0x8a3e1f;return this[_0x5b3d3b(0x219)];}[_0x8a3e1f(0x216)](_0x3ac7b3){const _0x1ee82=_0x8a3e1f;this[_0x1ee82(0x219)]=_0x3ac7b3;}[_0x8a3e1f(0x204)](_0x4e057a,_0xf5ec97=0x0){const _0xfdd6fd=_0x8a3e1f;let _0x405dba=!0x1;for(let _0x24af1b=_0xf5ec97;_0x24af1b<this[_0xfdd6fd(0x1fe)][_0xfdd6fd(0x20b)];_0x24af1b++)this[_0xfdd6fd(0x1d0)](_0x4e057a,_0x24af1b)&&(_0x405dba=!0x0);return _0x405dba;}[_0x8a3e1f(0x1ed)](_0x1857a5,_0x4b4be7){const _0x57b642=_0x8a3e1f,_0x2739db=_0x1857a5[_0x57b642(0x201)](_0x57b642(0x220),{});return _0x1857a5[_0x57b642(0x211)](_0x2739db,_0x4b4be7),this[_0x57b642(0x1e8)]=_0x2739db,_0x2739db;}[_0x8a3e1f(0x1d7)](_0x57b2eb){const _0x2df1ad=_0x8a3e1f;if(!this[_0x2df1ad(0x1fe)][_0x2df1ad(0x20b)]||this[_0x2df1ad(0x1e8)])return;const _0x1b5e68=this[_0x2df1ad(0x1fe)][0x0][_0x2df1ad(0x1ee)][_0x2df1ad(0x1e4)],_0xa8fa3d=this[_0x2df1ad(0x1ed)](_0x57b2eb,_0x1b5e68);for(const _0xcf151d of this[_0x2df1ad(0x1fe)])_0xcf151d[_0x2df1ad(0x1d9)][_0x2df1ad(0x213)]||_0x57b2eb[_0x2df1ad(0x1cb)](_0xcf151d[_0x2df1ad(0x1d9)],_0xa8fa3d,_0x2df1ad(0x20a));this[_0x2df1ad(0x204)](_0x57b2eb);}[_0x8a3e1f(0x1f0)](_0x2660a8,_0x5f539a){const _0x3f0712=_0x8a3e1f;let _0x4a4c98=!0x1;const {inserted:_0x217f06,removed:_0x139481,moved:_0x44c967}=this[_0x3f0712(0x214)][_0x3f0712(0x1d5)](_0x5f539a);if(_0x44c967[_0x3f0712(0x20b)]&&(this[_0x3f0712(0x1e8)]=_0x44c967[0x0]),_0x217f06[_0x3f0712(0x20b)]){if(_0x217f06[_0x3f0712(0x20b)]>0x1||this[_0x3f0712(0x1e8)]&&_0x217f06[_0x3f0712(0x228)](_0x40d628=>_0x40d628!==this[_0x3f0712(0x1e8)])){const _0xd856ce=_0x2660a8[_0x3f0712(0x201)](_0x3f0712(0x220),{}),_0x24a7a3=[];this[_0x3f0712(0x1e8)]&&_0x24a7a3[_0x3f0712(0x1fa)](this[_0x3f0712(0x1e8)]),_0x24a7a3[_0x3f0712(0x1fa)](..._0x217f06),_0x2660a8[_0x3f0712(0x1cb)](_0xd856ce,_0x24a7a3[0x0],_0x3f0712(0x1fb));for(const _0x2f7efc of _0x24a7a3)_0x2660a8[_0x3f0712(0x223)](_0x2660a8[_0x3f0712(0x1e6)](_0x2f7efc),_0x2660a8[_0x3f0712(0x20e)](_0xd856ce,_0x3f0712(0x20a))),_0x2660a8[_0x3f0712(0x1f6)](_0x2f7efc);this[_0x3f0712(0x1e8)]=_0xd856ce,this[_0x3f0712(0x204)](_0x2660a8),_0x4a4c98=!0x0;}else this[_0x3f0712(0x1e8)]=_0x217f06[0x0];}if(_0x139481[_0x3f0712(0x20b)]&&_0x3f0712(0x1ff)===this[_0x3f0712(0x1e8)]?.[_0x3f0712(0x1e4)][_0x3f0712(0x1d3)]){for(const _0x339cac of this[_0x3f0712(0x1fe)])_0x2660a8[_0x3f0712(0x1f6)](_0x339cac[_0x3f0712(0x1ee)]),_0x4a4c98=!0x0;this[_0x3f0712(0x1fe)]=[],this[_0x3f0712(0x1e8)]=null;}return _0x4a4c98;}[_0x8a3e1f(0x22b)](_0x22a834,_0x2414ed){const _0x4049e3=_0x8a3e1f;let _0x327190=!0x1;const _0x3a5202=this[_0x4049e3(0x22e)][_0x4049e3(0x217)][_0x4049e3(0x1ea)](_0x4049e3(0x1e7)),{inserted:_0x1d077e,moved:_0x1f9c0d}=this[_0x4049e3(0x203)][_0x4049e3(0x1d5)](_0x2414ed);for(const _0x273076 of[..._0x1f9c0d,..._0x1d077e]){const _0x101a26=_0x273076[_0x4049e3(0x221)](_0x4049e3(0x1f9)),_0x3e9a49=this[_0x4049e3(0x1df)](_0x101a26);_0x3e9a49&&(_0x3e9a49[_0x4049e3(0x1d9)]=_0x273076),_(_0x22a834,_0x3a5202,_0x273076)&&(_0x327190=!0x0);}return _0x327190;}[_0x8a3e1f(0x21f)](_0x2fdb38,_0x3571a8){const _0x44182c=_0x8a3e1f;let _0x5872fe=!0x1;const {removed:_0xe1c811,inserted:_0x3a959f,moved:_0x4c2f16}=this[_0x44182c(0x1ef)][_0x44182c(0x1d5)](_0x3571a8);for(const _0x14c598 of _0xe1c811)this[_0x44182c(0x1d8)](_0x2fdb38,_0x14c598)&&(_0x5872fe=!0x0);for(const _0x1d3d47 of _0x3a959f)this[_0x44182c(0x1db)](_0x2fdb38,_0x1d3d47)&&(_0x5872fe=!0x0);for(const _0x5f4790 of _0x4c2f16)this[_0x44182c(0x22d)](_0x2fdb38,_0x5f4790)&&(_0x5872fe=!0x0);return _0x5872fe;}[_0x8a3e1f(0x20f)](_0x54f53c){const _0x1c9665=_0x8a3e1f;if(!this[_0x1c9665(0x1e8)])return!0x1;let _0xc574e8=!0x1;if(this[_0x1c9665(0x1e8)][_0x1c9665(0x209)]!==this[_0x1c9665(0x1fe)][_0x1c9665(0x20b)]){const _0x53056d=[];for(const _0x1052c3 of this[_0x1c9665(0x1e8)][_0x1c9665(0x1dc)]()){const _0x4ac590=_0x1052c3[_0x1c9665(0x221)](_0x1c9665(0x1f9));this[_0x1c9665(0x1df)](_0x4ac590)||(_0x53056d[_0x1c9665(0x225)](_0x1052c3),_0xc574e8=!0x0);}for(const _0x5d5819 of _0x53056d)_0x54f53c[_0x1c9665(0x1f6)](_0x5d5819);}const _0x126710=new Set(),_0x41ce09=[];for(const _0x39e1fd of this[_0x1c9665(0x1e8)][_0x1c9665(0x1dc)]()){const _0x192102=_0x39e1fd[_0x1c9665(0x221)](_0x1c9665(0x1f9));_0x126710[_0x1c9665(0x1d6)](_0x192102)?(_0x41ce09[_0x1c9665(0x225)](_0x39e1fd),_0xc574e8=!0x0):_0x126710[_0x1c9665(0x22a)](_0x192102);}for(const _0x3e0ef0 of _0x41ce09)_0x54f53c[_0x1c9665(0x1f6)](_0x3e0ef0);return this[_0x1c9665(0x1e8)][_0x1c9665(0x209)]||(_0x54f53c[_0x1c9665(0x1f6)](this[_0x1c9665(0x1e8)]),this[_0x1c9665(0x1e8)]=null,_0xc574e8=!0x0),_0xc574e8;}[_0x8a3e1f(0x1db)](_0x5057e2,_0x46d08d){const _0x1d463f=_0x8a3e1f;if(this[_0x1d463f(0x1fe)][_0x1d463f(0x212)](_0x4fabae=>_0x4fabae[_0x1d463f(0x1ee)]===_0x46d08d))return!0x1;let _0x3184ec=!0x1;const _0x4047ac=_0x46d08d[_0x1d463f(0x221)](_0x1d463f(0x1f9)),_0x15cc47=this[_0x1d463f(0x1fe)][_0x1d463f(0x222)](_0x8da227=>_0x8da227['id']===_0x4047ac);-0x1!==_0x15cc47&&(_0x5057e2[_0x1d463f(0x1f6)](this[_0x1d463f(0x1fe)][_0x15cc47][_0x1d463f(0x1ee)]),this[_0x1d463f(0x1fe)][_0x1d463f(0x1f4)](_0x15cc47,0x1),_0x3184ec=!0x0);let _0x23beb7=this[_0x1d463f(0x1e8)]?function(_0x97207a,_0x50d2e8){const _0x175592=_0x1d463f;for(const _0x3b2df0 of _0x97207a[_0x175592(0x1dc)]())if(_0x3b2df0[_0x175592(0x221)](_0x175592(0x1f9))===_0x50d2e8)return _0x3b2df0;return null;}(this[_0x1d463f(0x1e8)],_0x4047ac):null;_0x23beb7||(_0x23beb7=_0x5057e2[_0x1d463f(0x201)](_0x1d463f(0x1f8),{'footnoteId':_0x4047ac}),this[_0x1d463f(0x1e8)]&&(_0x5057e2[_0x1d463f(0x1cb)](_0x23beb7,this[_0x1d463f(0x1e8)],_0x1d463f(0x20a)),_0x3184ec=!0x0));const _0x247a0b={'id':_0x4047ac,'reference':_0x46d08d,'definition':_0x23beb7},_0x2b8c48=I(this[_0x1d463f(0x22e)][_0x1d463f(0x224)],this[_0x1d463f(0x1fe)],_0x46d08d);this[_0x1d463f(0x1fe)][_0x1d463f(0x1f4)](_0x2b8c48,0x0,_0x247a0b);let _0x57c054=_0x2b8c48;return-0x1!==_0x15cc47&&(_0x57c054=Math[_0x1d463f(0x1ec)](_0x2b8c48,_0x15cc47)),this[_0x1d463f(0x204)](_0x5057e2,_0x57c054)&&(_0x3184ec=!0x0),_0x3184ec;}[_0x8a3e1f(0x1d8)](_0x199b98,_0x3ebf7b){const _0x10f5f9=_0x8a3e1f,_0xac355a=this[_0x10f5f9(0x1fe)][_0x10f5f9(0x222)](_0x845397=>_0x845397['id']===_0x3ebf7b);if(-0x1===_0xac355a)return!0x1;let _0x41b6c2=!0x1;const _0x13c751=this[_0x10f5f9(0x1fe)][_0xac355a];return _0x10f5f9(0x1ff)!==_0x13c751[_0x10f5f9(0x1d9)][_0x10f5f9(0x1e4)][_0x10f5f9(0x1d3)]&&(_0x199b98[_0x10f5f9(0x1f6)](_0x13c751[_0x10f5f9(0x1d9)]),_0x41b6c2=!0x0),this[_0x10f5f9(0x1fe)][_0x10f5f9(0x1f4)](_0xac355a,0x1),this[_0x10f5f9(0x204)](_0x199b98,_0xac355a)&&(_0x41b6c2=!0x0),_0x41b6c2;}[_0x8a3e1f(0x22d)](_0x5548f9,_0x3149a4){const _0x1f4c76=_0x8a3e1f,_0x4e7da9=_0x3149a4[_0x1f4c76(0x221)](_0x1f4c76(0x1f9)),_0x124a90=this[_0x1f4c76(0x1fe)][_0x1f4c76(0x222)](_0x309d6f=>_0x309d6f['id']===_0x4e7da9),_0x361f31=this[_0x1f4c76(0x1fe)][_0x124a90];let _0x314496=!0x1;_0x361f31[_0x1f4c76(0x1ee)]=_0x3149a4,this[_0x1f4c76(0x1fe)][_0x1f4c76(0x1f4)](_0x124a90,0x1);const _0x36013b=I(this[_0x1f4c76(0x22e)][_0x1f4c76(0x224)],this[_0x1f4c76(0x1fe)],_0x3149a4);return this[_0x1f4c76(0x1fe)][_0x1f4c76(0x1f4)](_0x36013b,0x0,_0x361f31),this[_0x1f4c76(0x204)](_0x5548f9,Math[_0x1f4c76(0x1ec)](_0x124a90,_0x36013b))&&(_0x314496=!0x0),_0x314496;}[_0x8a3e1f(0x1d0)](_0x4b57d2,_0x3dbc40){const _0x2ab992=_0x8a3e1f;if(!this[_0x2ab992(0x1e8)])return!0x1;const _0x46af8c=this[_0x2ab992(0x1fe)][_0x3dbc40];let _0x22eb9a;return _0x22eb9a=this[_0x2ab992(0x219)]?this[_0x2ab992(0x219)]({'footnote':_0x46af8c,'container':this[_0x2ab992(0x1e8)],'digits':String(this[_0x2ab992(0x1fe)][_0x2ab992(0x20b)])[_0x2ab992(0x20b)],'value':_0x3dbc40+0x1}):String(_0x3dbc40+0x1),_0x46af8c[_0x2ab992(0x1ee)][_0x2ab992(0x221)](_0x2ab992(0x1f3))!=_0x22eb9a&&(_0x4b57d2[_0x2ab992(0x1f2)](_0x2ab992(0x1f3),_0x22eb9a,_0x46af8c[_0x2ab992(0x1ee)]),!0x0);}[_0x8a3e1f(0x1e1)](_0x24abda){const _0xd7a52e=_0x8a3e1f;if(!this[_0xd7a52e(0x1e8)]||this[_0xd7a52e(0x1fe)][_0xd7a52e(0x20b)]<0x2)return!0x1;if(function(_0x2aad90,_0x16f58f){const _0x3d34af=_0xd7a52e;if(_0x2aad90[_0x3d34af(0x20b)]!==_0x16f58f[_0x3d34af(0x20b)])return!0x1;for(let _0x1b5c23=0x0;_0x1b5c23<_0x2aad90[_0x3d34af(0x20b)];_0x1b5c23++)if(_0x2aad90[_0x1b5c23]!==_0x16f58f[_0x1b5c23])return!0x1;return!0x0;}(this[_0xd7a52e(0x1fe)][_0xd7a52e(0x1e0)](_0x21e043=>_0x21e043['id']),Array[_0xd7a52e(0x1cc)](this[_0xd7a52e(0x1e8)][_0xd7a52e(0x1dc)]())[_0xd7a52e(0x1e0)](_0x52d8ee=>_0x52d8ee[_0xd7a52e(0x221)](_0xd7a52e(0x1f9)))))return!0x1;let _0x5e90bd=!0x1;for(let _0x2ebc36=0x0;_0x2ebc36<this[_0xd7a52e(0x1fe)][_0xd7a52e(0x20b)];_0x2ebc36++){const _0x5d11d1=this[_0xd7a52e(0x1fe)][_0x2ebc36],_0x2fffbb=_0x24abda[_0xd7a52e(0x1d2)](_0x5d11d1[_0xd7a52e(0x1d9)]),_0x523b3b=_0x24abda[_0xd7a52e(0x20e)](this[_0xd7a52e(0x1e8)],_0x2ebc36);_0x2fffbb[_0xd7a52e(0x1f5)](_0x523b3b)||(_0x24abda[_0xd7a52e(0x223)](_0x24abda[_0xd7a52e(0x229)](_0x5d11d1[_0xd7a52e(0x1d9)]),_0x523b3b),_0x5e90bd=!0x0);}return _0x5e90bd;}[_0x8a3e1f(0x205)](_0xc6f21f){const _0x2eb9d0=_0x8a3e1f;if(!this[_0x2eb9d0(0x1fe)][_0x2eb9d0(0x20b)])return!0x1;const {model:_0xfb2489}=this[_0x2eb9d0(0x22e)];let _0x15869b=!0x1;for(let _0x347c9d=0x0;_0x347c9d<this[_0x2eb9d0(0x1fe)][_0x2eb9d0(0x20b)]-0x1;_0x347c9d++){const _0x9d36ce=this[_0x2eb9d0(0x1fe)][_0x347c9d],_0x2ef2da=this[_0x2eb9d0(0x1fe)][_0x347c9d+0x1],_0x2fffd2=_0xfb2489[_0x2eb9d0(0x1d2)](_0x9d36ce[_0x2eb9d0(0x1ee)]),_0x51bf8f=_0xfb2489[_0x2eb9d0(0x1d2)](_0x2ef2da[_0x2eb9d0(0x1ee)]);_0x2eb9d0(0x200)===_0x2fffd2[_0x2eb9d0(0x21c)](_0x51bf8f)&&(this[_0x2eb9d0(0x22d)](_0xc6f21f,_0x9d36ce[_0x2eb9d0(0x1ee)]),_0x347c9d=-0x1,_0x15869b=!0x0);}return _0x15869b;}}function _(_0x25e41e,_0x463daa,_0x56b81c){const _0x270a19=_0x8a3e1f;if(_0x56b81c[_0x270a19(0x209)])return!0x1;const _0xf1af9b=_0x463daa?_0x270a19(0x215):_0x270a19(0x202);return _0x25e41e[_0x270a19(0x1cb)](_0x25e41e[_0x270a19(0x201)](_0xf1af9b),_0x56b81c),!0x0;}function I(_0x33be9a,_0x35bf7c,_0x27e8ae){const _0x17fbfe=_0x8a3e1f;if(0x0===_0x35bf7c[_0x17fbfe(0x20b)])return 0x0;const _0x44c8c1=_0x33be9a[_0x17fbfe(0x1d2)](_0x27e8ae);for(let _0x2a27ea=0x0;_0x2a27ea<_0x35bf7c[_0x17fbfe(0x20b)];_0x2a27ea++){const _0x18bafe=_0x35bf7c[_0x2a27ea],_0x2f2500=_0x33be9a[_0x17fbfe(0x1d2)](_0x18bafe[_0x17fbfe(0x1ee)]);if(_0x17fbfe(0x1fb)===_0x44c8c1[_0x17fbfe(0x21c)](_0x2f2500))return _0x2a27ea;}const _0x2f41d4=_0x27e8ae[_0x17fbfe(0x1e4)];let _0x3dd36c=-0x1;for(let _0x317b8b=_0x35bf7c[_0x17fbfe(0x20b)]-0x1;_0x317b8b>=0x0;_0x317b8b--)if(_0x35bf7c[_0x317b8b][_0x17fbfe(0x1ee)][_0x17fbfe(0x1e4)]===_0x2f41d4){_0x3dd36c=_0x317b8b;break;}if(-0x1!==_0x3dd36c)return _0x3dd36c+0x1;const _0x195e8e=_0x33be9a[_0x17fbfe(0x218)][_0x17fbfe(0x226)](),_0x21284b=_0x195e8e[_0x17fbfe(0x1da)](_0x2f41d4[_0x17fbfe(0x1d3)]),_0xebbb6d=_0x195e8e[_0x21284b+0x1];if(_0xebbb6d){for(let _0x2dbf51=0x0;_0x2dbf51<_0x35bf7c[_0x17fbfe(0x20b)];_0x2dbf51++)if(_0x35bf7c[_0x2dbf51][_0x17fbfe(0x1ee)][_0x17fbfe(0x1e4)][_0x17fbfe(0x1d3)]===_0xebbb6d)return _0x2dbf51;}return _0x35bf7c[_0x17fbfe(0x20b)];}function _0x4873(){const _0x429dca=['after','createElement','footnoteInlineContent','_footnoteDefsTracker','_updateFootnotesCounters','_ensureFootnotesReferencesHaveProperOrder','654409csUJJQ','168EcOUne','reset','childCount','end','length','change:data','isPremiumPlugin','createPositionAt','_handleFootnotesDefinitionsObjectSync','825651nuFugk','append','find','parent','_footnoteDefsContainerTracker','paragraph','setFootnoteFormatter','config','document','_footnoteFormatter','listenTo','high','compareWith','getFootnotes','differ','_handleFootnoteReferencesChanges','footnotesDefinitions','getAttribute','findIndex','move','model','unshift','getRootNames','pluginName','some','createRangeOn','add','_handleFootnoteDefinitionsChanges','init','_handleMovedFootnoteReference','editor','low','insert','from','8PmrAWK','FootnotesTracker','125wXeuOO','_updateFootnoteRefCounter','4056VhyzQT','createPositionBefore','rootName','footnoteRef','getChanges','has','_ensureFootnotesDefinitionsContainerExists','_handleRemoveFootnoteReferenceById','definition','indexOf','_handleInsertedFootnoteReference','getChildren','2878440JbrllV','getFootnotesDefinitionsObjectElement','getFootnote','map','_sortFootnoteDefinitions','enqueueChange','singleton','root','getFootnotesFormatter','createRangeIn','footnotes.multiBlock','_footnotesDefinitions','148188TIAWIc','get','975524FAOOeG','min','_insertEmptyFootnotesDefinitionsContainer','reference','_footnoteRefsTracker','_handleFootnotesDefinitionsObjectChanges','1308564YdaQdu','setAttribute','footnoteCounter','splice','isEqual','remove','set','footnoteDefinition','footnoteId','push','before','isOfficialPlugin','registerPostFixer','_footnotes','$graveyard'];_0x4873=function(){return _0x429dca;};return _0x4873();}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x545d25,MenuBarMenuListItemButtonView as _0x48915a}from'ckeditor5/src/ui.js';import{Plugin as _0x9a4ffd}from'ckeditor5/src/core.js';import{IconFootnote as _0x11ca82}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x9a4ffd{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4f5451}=this,{componentFactory:_0x320930}=_0x4f5451['ui'];_0x320930['add']('insertFootnote',E(_0x4f5451,_0x545d25)),_0x320930['add']('menuBar:insertFootnote',E(_0x4f5451,_0x48915a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x124b48=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5d49c5;for(const _0x67302b in _0x124b48){const _0x5578ea=_0x67302b,_0x10c24b=_0x124b48[_0x5578ea];if('footnotesLicenseKeyValid'==_0x10c24b||'footnotesLicenseKeyInvalid'==_0x10c24b||'footnotesLicenseKeyExpired'==_0x10c24b||'footnotesLicenseKeyDomainLimit'==_0x10c24b||'footnotesLicenseKeyNotAllowed'==_0x10c24b||'footnotesLicenseKeyEvaluationLimit'==_0x10c24b||'footnotesLicenseKeyTrialLimit'==_0x10c24b||'footnotesLicenseKeyUsageLimit'==_0x10c24b){delete _0x124b48[_0x5578ea],_0x5d49c5=_0x10c24b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x5d49c5&&_0x124b48['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x5d49c5&&_0x124b48['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x5d49c5&&_0x124b48['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x5d49c5&&_0x124b48['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x5d49c5&&_0x124b48['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x5d49c5&&_0x124b48['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x5d49c5&&_0x124b48['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x42bca5,_0x133e38){const _0x44140f=_0x42bca5['commands']['get']('insertFootnote');return _0x5cc36c=>{const {t:t}=_0x5cc36c,_0x589aa5=new _0x133e38(_0x5cc36c),_0x156fea=_0x589aa5 instanceof _0x48915a;return _0x589aa5['bind']('isEnabled')['to'](_0x44140f,'isEnabled'),_0x589aa5['set']({'label':t(_0x156fea?'Footnote':'Insert\x20footnote'),'icon':_0x11ca82,'tooltip':!0x0}),_0x589aa5['on']('execute',()=>{_0x44140f['execute'](),_0x42bca5['editing']['view']['focus']();}),_0x589aa5;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x23c62a,_0x395ee7){var _0x24873f=_0x24d7,_0x12b5d0=_0x23c62a();while(!![]){try{var _0x24bb4b=-parseInt(_0x24873f(0xdd))/0x1+parseInt(_0x24873f(0xde))/0x2*(-parseInt(_0x24873f(0xd9))/0x3)+-parseInt(_0x24873f(0xdb))/0x4*(-parseInt(_0x24873f(0xe0))/0x5)+parseInt(_0x24873f(0xdf))/0x6*(-parseInt(_0x24873f(0xda))/0x7)+parseInt(_0x24873f(0xe1))/0x8+parseInt(_0x24873f(0xe2))/0x9+parseInt(_0x24873f(0xdc))/0xa;if(_0x24bb4b===_0x395ee7)break;else _0x12b5d0['push'](_0x12b5d0['shift']());}catch(_0x56227a){_0x12b5d0['push'](_0x12b5d0['shift']());}}}(_0x1a44,0x82a71));import'./augmentation.js';export{Footnotes}from'./footnotes.js';function _0x24d7(_0x32128f,_0x539df6){var _0x1a444b=_0x1a44();return _0x24d7=function(_0x24d758,_0x4928f8){_0x24d758=_0x24d758-0xd9;var _0xfeb97c=_0x1a444b[_0x24d758];return _0xfeb97c;},_0x24d7(_0x32128f,_0x539df6);}export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';function _0x1a44(){var _0x507619=['84oqRQse','11348eQOYET','10614260GcXgsj','653612cIVkTV','2ZJLvMU','53502QgKsvM','770SvxEFB','1592376lAebHh','4471434XXwBjB','2695284XjJDUS'];_0x1a44=function(){return _0x507619;};return _0x1a44();}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';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xaaa838=_0x44cf;(function(_0x3f4fb9,_0x385e42){const _0x405da=_0x44cf,_0x1c8a7c=_0x3f4fb9();while(!![]){try{const _0x5f5401=-parseInt(_0x405da(0x120))/0x1+parseInt(_0x405da(0xfe))/0x2*(-parseInt(_0x405da(0x10a))/0x3)+-parseInt(_0x405da(0xfb))/0x4+parseInt(_0x405da(0xff))/0x5+-parseInt(_0x405da(0x107))/0x6*(parseInt(_0x405da(0x113))/0x7)+parseInt(_0x405da(0x111))/0x8*(parseInt(_0x405da(0xfd))/0x9)+parseInt(_0x405da(0x11d))/0xa;if(_0x5f5401===_0x385e42)break;else _0x1c8a7c['push'](_0x1c8a7c['shift']());}catch(_0x15539e){_0x1c8a7c['push'](_0x1c8a7c['shift']());}}}(_0x155d,0x71bdb));function _0x44cf(_0x3a7f74,_0x31a655){const _0x155d3e=_0x155d();return _0x44cf=function(_0x44cfe,_0x2f9c91){_0x44cfe=_0x44cfe-0xf8;let _0x5a2d2a=_0x155d3e[_0x44cfe];return _0x5a2d2a;},_0x44cf(_0x3a7f74,_0x31a655);}export class ModelElementTracker{[_0xaaa838(0x10c)];[_0xaaa838(0x105)];[_0xaaa838(0x11b)];[_0xaaa838(0x117)]=new Map();constructor(_0x11df3c,_0x4645c6){const _0x2e86c2=_0xaaa838;this[_0x2e86c2(0x10c)]=_0x11df3c,this[_0x2e86c2(0x105)]=_0x4645c6[_0x2e86c2(0x11a)],this[_0x2e86c2(0x11b)]=_0x4645c6[_0x2e86c2(0x11e)];}[_0xaaa838(0x114)](){const _0xa19f84=_0xaaa838;this[_0xa19f84(0x117)][_0xa19f84(0xfa)]();}[_0xaaa838(0x102)](_0x4bd53b){const _0x3b64e3=_0xaaa838,_0x228b78=new Set(),_0x475b4a=new Map();for(const _0x263a18 of _0x4bd53b){if(_0x3b64e3(0x104)===_0x263a18[_0x3b64e3(0x115)]&&_0x3b64e3(0xfc)!==_0x263a18[_0x3b64e3(0x10b)]&&_0x263a18[_0x3b64e3(0x112)][_0x3b64e3(0x103)]){const _0x3ce094=this[_0x3b64e3(0x10c)][_0x3b64e3(0x11c)](_0x263a18[_0x3b64e3(0x112)][_0x3b64e3(0x103)]);for(const _0x3b50fc of _0x3ce094[_0x3b64e3(0x100)]()){if(!_0x3b50fc['is'](_0x3b64e3(0x10e),this[_0x3b64e3(0x105)]))continue;const _0x5df8ae=this[_0x3b64e3(0x11b)](_0x3b50fc);_0x475b4a[_0x3b64e3(0x116)](_0x5df8ae)||_0x475b4a[_0x3b64e3(0x109)](_0x5df8ae,[]),_0x475b4a[_0x3b64e3(0x123)](_0x5df8ae)[_0x3b64e3(0x11f)](_0x3b50fc);}}if(_0x3b64e3(0x108)===_0x263a18[_0x3b64e3(0x115)]&&_0x263a18[_0x3b64e3(0x10b)]===this[_0x3b64e3(0x105)]){const _0xca970e=this[_0x3b64e3(0x11b)]({'getAttribute':_0xf586d1=>_0x263a18[_0x3b64e3(0x10f)][_0x3b64e3(0x123)](_0xf586d1)});_0x228b78[_0x3b64e3(0x110)](_0xca970e);}}for(const [_0x2b8ce9,_0x580f8e]of this[_0x3b64e3(0x117)])_0x3b64e3(0x101)===_0x580f8e[_0x3b64e3(0xf9)][_0x3b64e3(0x119)]&&_0x228b78[_0x3b64e3(0x110)](_0x2b8ce9);for(const _0xfeac3b of _0x228b78)this[_0x3b64e3(0x117)][_0x3b64e3(0x118)](_0xfeac3b);for(const [_0x3eded3,_0x204df4]of _0x475b4a)this[_0x3b64e3(0x117)][_0x3b64e3(0x109)](_0x3eded3,_0x204df4[_0x204df4[_0x3b64e3(0x10d)]-0x1]);const _0x4cce6e=new Set();for(const [_0x10300b,_0x4b2bf5]of _0x475b4a)_0x228b78[_0x3b64e3(0x116)](_0x10300b)&&(_0x4cce6e[_0x3b64e3(0x110)](_0x4b2bf5[0x0]),_0x4b2bf5[_0x3b64e3(0x10d)]>0x1?_0x475b4a[_0x3b64e3(0x109)](_0x10300b,_0x4b2bf5[_0x3b64e3(0x122)](0x1)):_0x475b4a[_0x3b64e3(0x118)](_0x10300b),_0x228b78[_0x3b64e3(0x118)](_0x10300b));return{'removed':Array[_0x3b64e3(0x121)](_0x228b78),'inserted':Array[_0x3b64e3(0x121)](_0x475b4a[_0x3b64e3(0xf8)]())[_0x3b64e3(0x106)](),'moved':Array[_0x3b64e3(0x121)](_0x4cce6e)};}}function _0x155d(){const _0x243e55=['3211648xLSuML','$text','585063dFoVYM','4PlcGCq','1262905FGnXbF','getItems','$graveyard','getChanges','nodeAfter','insert','_elementName','flat','54WibpqR','remove','set','766227byjaYS','name','_model','length','element','attributes','add','56POtLRu','position','222355manGNz','reset','type','has','_trackedElements','delete','rootName','elementName','_getElementKey','createRangeOn','14046110VNmGVT','getElementKey','push','46743bYCUmv','from','slice','get','values','root','clear'];_0x155d=function(){return _0x243e55;};return _0x155d();}
|