@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251207.0 → 0.0.0-nightly-20251209.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 _0x371732}from'ckeditor5/src/core.js';import{isWidget as _0x220f13,toWidget as _0x5d6684,toWidgetEditable as _0x26a5b4}from'ckeditor5/src/widget.js';import{uid as _0x17602e}from'ckeditor5/src/utils.js';import{PointerObserver as _0x3099e7,ClickObserver as _0x3e4685}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x1503c2}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x199eb4}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x371732{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x1503c2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x478be4}=this;_0x478be4['config']['define']('footnotes.multiBlock',!0x0),_0x478be4['commands']['add']('insertFootnote',new _0x199eb4(_0x478be4)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3f2a0){const _0x4a9e9f=_0xdeb77d([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]),_0x59e799=0x47a28506,_0x5d49ab=0x47a5fe3e^_0x59e799,_0x453303=window[_0xdeb77d([0x44,0x61,0x74,0x65])][_0xdeb77d([0x6e,0x6f,0x77])](),_0x2a9f11=_0x3f2a0[_0xdeb77d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5673a2=new window[(_0xdeb77d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50fdb2=>{_0x2a9f11[_0xdeb77d([0x6f,0x6e,0x63,0x65])](_0xdeb77d([0x72,0x65,0x61,0x64,0x79]),_0x50fdb2);}),_0x36d94e={[_0xdeb77d([0x6b,0x74,0x79])]:_0xdeb77d([0x45,0x43]),[_0xdeb77d([0x75,0x73,0x65])]:_0xdeb77d([0x73,0x69,0x67]),[_0xdeb77d([0x63,0x72,0x76])]:_0xdeb77d([0x50,0x2d,0x32,0x35,0x36]),[_0xdeb77d([0x78])]:_0xdeb77d([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]),[_0xdeb77d([0x79])]:_0xdeb77d([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]),[_0xdeb77d([0x61,0x6c,0x67])]:_0xdeb77d([0x45,0x53,0x32,0x35,0x36])},_0x2bb0c3=_0x2a9f11[_0xdeb77d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xdeb77d([0x67,0x65,0x74])](_0xdeb77d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4e27dc(){let _0x4e5fa4,_0x1a38ba=null,_0x5ebd18=null;try{if(_0x2bb0c3==_0xdeb77d([0x47,0x50,0x4c]))return _0xdeb77d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4e5fa4=_0x53ae47(),!_0x4e5fa4)return _0xdeb77d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4e5fa4[_0xdeb77d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5ebd18=_0x30bfd8(_0x4e5fa4[_0xdeb77d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4e5fa4[_0xdeb77d([0x6a,0x74,0x69])])),await _0x52faac()?_0x43b231()?_0x55020e()?_0xdeb77d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4ab054()?(_0x4e5fa4[_0xdeb77d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xdeb77d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1a38ba=_0x357cba(_0xdeb77d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4e5fa4[_0xdeb77d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xdeb77d([0x74,0x72,0x69,0x61,0x6c])&&(_0x1a38ba=_0x357cba(_0xdeb77d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x227f9b()):_0xdeb77d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xdeb77d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xdeb77d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xdeb77d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x55020e(){const _0x12fa99=[_0xdeb77d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xdeb77d([0x74,0x72,0x69,0x61,0x6c])][_0xdeb77d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e5fa4[_0xdeb77d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x453303/0x3e8:0xe10*_0x5d49ab;return _0x4e5fa4[_0xdeb77d([0x65,0x78,0x70])]<_0x12fa99;}function _0x43b231(){const _0x9ca2a=_0x4e5fa4[_0xdeb77d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x9ca2a&&(!!_0x9ca2a[_0xdeb77d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdeb77d([0x2a]))||!!_0x9ca2a[_0xdeb77d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdeb77d([0x46,0x4f,0x4f])));}function _0x4ab054(){const _0x32b74e=_0x4e5fa4[_0xdeb77d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x32b74e||0x0==_0x32b74e[_0xdeb77d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1ece97}=new URL(window[_0xdeb77d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x32b74e[_0xdeb77d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ece97))return!0x0;const _0xa665e7=_0x1ece97[_0xdeb77d([0x73,0x70,0x6c,0x69,0x74])](_0xdeb77d([0x2e]));return _0x32b74e[_0xdeb77d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x116ad1=>_0x116ad1[_0xdeb77d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdeb77d([0x2a])))[_0xdeb77d([0x6d,0x61,0x70])](_0x2ffd4a=>_0x2ffd4a[_0xdeb77d([0x73,0x70,0x6c,0x69,0x74])](_0xdeb77d([0x2e])))[_0xdeb77d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x350eba=>_0x350eba[_0xdeb77d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xa665e7[_0xdeb77d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xdeb77d([0x6d,0x61,0x70])](_0x13c7ea=>Array(_0xa665e7[_0xdeb77d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x13c7ea[_0xdeb77d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xdeb77d([0x66,0x69,0x6c,0x6c])](_0x13c7ea[0x0]===_0xdeb77d([0x2a])?_0xdeb77d([0x2a]):'')[_0xdeb77d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x13c7ea))[_0xdeb77d([0x73,0x6f,0x6d,0x65])](_0x2f7a74=>_0xa665e7[_0xdeb77d([0x65,0x76,0x65,0x72,0x79])]((_0x399a9b,_0x19e47a)=>_0x2f7a74[_0x19e47a]===_0x399a9b||_0x2f7a74[_0x19e47a]===_0xdeb77d([0x2a])));}function _0x227f9b(){return _0x1a38ba&&_0x5ebd18?new window[(_0xdeb77d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50dda1,_0xd70c39)=>{_0x1a38ba[_0xdeb77d([0x74,0x68,0x65,0x6e])](_0x50dda1,_0xd70c39),_0x5ebd18[_0xdeb77d([0x74,0x68,0x65,0x6e])](_0x1e579e=>{_0x1e579e!=_0xdeb77d([0x56,0x61,0x6c,0x69,0x64])&&_0x50dda1(_0x1e579e);},_0xd70c39);}):_0x1a38ba||_0x5ebd18||_0xdeb77d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x30bfd8(_0x3beea5,_0x3efeac){return new window[(_0xdeb77d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27b581=>{if(_0x1dc39f())return _0x27b581(_0xdeb77d([0x56,0x61,0x6c,0x69,0x64]));_0x33c9f0(),_0x2a9f11[_0xdeb77d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xdeb77d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5db929=!0x1;const _0x146633=_0x17602e();function _0x177d4a(_0x4b6f55){return!!_0x4b6f55&&(typeof _0x4b6f55===_0xdeb77d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4b6f55===_0xdeb77d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4b6f55[_0xdeb77d([0x74,0x68,0x65,0x6e])]===_0xdeb77d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4b6f55[_0xdeb77d([0x63,0x61,0x74,0x63,0x68])]===_0xdeb77d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3de440(_0x13831a){_0x37a49f(_0x13831a)[_0xdeb77d([0x74,0x68,0x65,0x6e])](_0x5b8c0e=>{if(!_0x5b8c0e||_0x5b8c0e[_0xdeb77d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xdeb77d([0x6f,0x6b]))return _0xdeb77d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x23a70a(_0x15a0e5(_0x146633+_0x3efeac))!=_0x5b8c0e[_0xdeb77d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xdeb77d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xdeb77d([0x56,0x61,0x6c,0x69,0x64]);})[_0xdeb77d([0x74,0x68,0x65,0x6e])](_0x267cc9=>(_0x61fde8(),_0x267cc9),()=>{const _0x4bfd47=_0x46b11a();return null==_0x4bfd47?(_0x61fde8(),_0xdeb77d([0x56,0x61,0x6c,0x69,0x64])):_0xdeb77d(_0x453303-_0x4bfd47>(0x63ae0106^_0x59e799)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xdeb77d([0x74,0x68,0x65,0x6e])](_0x27b581)[_0xdeb77d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x27b581(_0xdeb77d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x202762=0x47946b86^_0x59e799;function _0x61fde8(){const _0xa8809d=_0xdeb77d([0x6c,0x6c,0x63,0x74,0x2d])+_0x23a70a(_0x15a0e5(_0x3beea5)),_0x286181=_0xd82399(_0x23a70a(window[_0xdeb77d([0x4d,0x61,0x74,0x68])][_0xdeb77d([0x63,0x65,0x69,0x6c])](_0x453303/_0x202762)));window[_0xdeb77d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xdeb77d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa8809d,_0x286181);}function _0x46b11a(){const _0x4a29e6=_0xdeb77d([0x6c,0x6c,0x63,0x74,0x2d])+_0x23a70a(_0x15a0e5(_0x3beea5)),_0x22ab3c=window[_0xdeb77d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xdeb77d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a29e6);return _0x22ab3c?window[_0xdeb77d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd82399(_0x22ab3c),0x10)*_0x202762:null;}function _0x37a49f(_0x313c0e){return new window[(_0xdeb77d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2841f5,_0x158e5a)=>{_0x313c0e[_0xdeb77d([0x74,0x68,0x65,0x6e])](_0x2841f5,_0x158e5a),window[_0xdeb77d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x158e5a,0x47a351c6^_0x59e799);});}}_0x2a9f11[_0xdeb77d([0x6f,0x6e])](_0xdeb77d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x21437b,_0x1a6650)=>{if(_0x1a6650[0x0]!=_0x3beea5)return _0x27b581(_0xdeb77d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1a6650[0x1]={..._0x1a6650[0x1],[_0xdeb77d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x146633};},{[_0xdeb77d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xdeb77d([0x68,0x69,0x67,0x68])}),_0x2a9f11[_0xdeb77d([0x6f,0x6e])](_0xdeb77d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5ac48c=>{_0x177d4a(_0x5ac48c[_0xdeb77d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5db929=!0x0,_0x3de440(_0x5ac48c[_0xdeb77d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xdeb77d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xdeb77d([0x6c,0x6f,0x77])}),_0x5673a2[_0xdeb77d([0x74,0x68,0x65,0x6e])](()=>{_0x5db929||_0x27b581(_0xdeb77d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1dc39f(){return _0x2a9f11[_0xdeb77d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xdeb77d([0x76,0x69,0x65,0x77])][_0xdeb77d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xdeb77d([0x61,0x75,0x74,0x6f]);}function _0x33c9f0(){_0x2a9f11[_0xdeb77d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xdeb77d([0x76,0x69,0x65,0x77])][_0xdeb77d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xdeb77d([0x61,0x75,0x74,0x6f]);}}function _0x357cba(_0x263092){const _0x4eb6ba=[new window[(_0xdeb77d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x150c2b=>setTimeout(_0x150c2b,0x47abbbca^_0x59e799)),_0x5673a2[_0xdeb77d([0x74,0x68,0x65,0x6e])](()=>new window[(_0xdeb77d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cd506=>{let _0x1a829d=0x0;_0x2a9f11[_0xdeb77d([0x6d,0x6f,0x64,0x65,0x6c])][_0xdeb77d([0x6f,0x6e])](_0xdeb77d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3c9d4a,_0x101a30)=>{_0x101a30[0x0][_0xdeb77d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1a829d++,_0x1a829d==(0x47a284fe^_0x59e799)&&(_0x1cd506(),_0x3c9d4a[_0xdeb77d([0x6f,0x66,0x66])]());});}))];return window[_0xdeb77d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xdeb77d([0x72,0x61,0x63,0x65])](_0x4eb6ba)[_0xdeb77d([0x74,0x68,0x65,0x6e])](()=>_0x263092);}async function _0x575eff(){await _0x5673a2,_0x2a9f11[_0xdeb77d([0x6d,0x6f,0x64,0x65,0x6c])][_0xdeb77d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x23bd30,_0x2a9f11[_0xdeb77d([0x6d,0x6f,0x64,0x65,0x6c])][_0xdeb77d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x23bd30,_0x2a9f11[_0xdeb77d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xdeb77d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xe2b225(_0x427471){const _0xf1b225=_0x3a42fb();_0x2a9f11[_0xf1b225]=_0xdeb77d([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x427471,_0x427471!=_0xdeb77d([0x56,0x61,0x6c,0x69,0x64])&&_0x575eff();}function _0x3a42fb(){const _0x115392=window[_0xdeb77d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xdeb77d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xdeb77d([0x6e,0x6f,0x77])]())[_0xdeb77d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xdeb77d([0x2e]),'');let _0xf46e78=_0xdeb77d([0x75]);for(let _0x3235b4=0x0;_0x3235b4<_0x115392[_0xdeb77d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3235b4+=0x2){let _0x574d0b=window[_0xdeb77d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x115392[_0xdeb77d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3235b4,_0x3235b4+0x2));_0x574d0b>=_0x4a9e9f[_0xdeb77d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x574d0b-=_0x4a9e9f[_0xdeb77d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xf46e78+=_0x4a9e9f[_0x574d0b];}return _0xf46e78;}function _0x53ae47(){const _0x3147dd=_0x2bb0c3[_0xdeb77d([0x73,0x70,0x6c,0x69,0x74])](_0xdeb77d([0x2e]));if(0x3!=_0x3147dd[_0xdeb77d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x439442(_0x3147dd[0x1]);function _0x439442(_0xde3524){const _0x311186=_0x160148(_0xde3524);return _0x311186&&_0x401da4()?_0x311186:null;function _0x401da4(){const _0x164b44=_0x311186[_0xdeb77d([0x6a,0x74,0x69])],_0xe56424=window[_0xdeb77d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x164b44[_0xdeb77d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x164b44[_0xdeb77d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xcd0052={..._0x311186,[_0xdeb77d([0x6a,0x74,0x69])]:_0x164b44[_0xdeb77d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x164b44[_0xdeb77d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xcd0052[_0xdeb77d([0x76,0x63])],_0x15a0e5(_0xcd0052)==_0xe56424;}}}async function _0x52faac(){let _0x4d63c1=!0x0;try{const _0xea6b02=_0x2bb0c3[_0xdeb77d([0x73,0x70,0x6c,0x69,0x74])](_0xdeb77d([0x2e])),[_0x52ab6d,_0xce3270,_0x2a80a1]=_0xea6b02;return _0x3fa85b(_0x52ab6d),await _0x2f103b(_0x52ab6d,_0xce3270,_0x2a80a1),_0x4d63c1;}catch{return!0x1;}function _0x3fa85b(_0x19f473){const _0x4bf838=_0x160148(_0x19f473);_0x4bf838&&_0x4bf838[_0xdeb77d([0x61,0x6c,0x67])]==_0xdeb77d([0x45,0x53,0x32,0x35,0x36])||(_0x4d63c1=!0x1);}async function _0x2f103b(_0x276b57,_0x32b496,_0x489c74){const _0x3bf606=window[_0xdeb77d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xdeb77d([0x66,0x72,0x6f,0x6d])](_0x5a7f50(_0x489c74),_0x1027d6=>_0x1027d6[_0xdeb77d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x57942a=new window[(_0xdeb77d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xdeb77d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x276b57+_0xdeb77d([0x2e])+_0x32b496),_0x223770=window[_0xdeb77d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xdeb77d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x223770)return;const _0x186101=await _0x223770[_0xdeb77d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xdeb77d([0x6a,0x77,0x6b]),_0x36d94e,{[_0xdeb77d([0x6e,0x61,0x6d,0x65])]:_0xdeb77d([0x45,0x43,0x44,0x53,0x41]),[_0xdeb77d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xdeb77d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xdeb77d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x223770[_0xdeb77d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xdeb77d([0x6e,0x61,0x6d,0x65])]:_0xdeb77d([0x45,0x43,0x44,0x53,0x41]),[_0xdeb77d([0x68,0x61,0x73,0x68])]:{[_0xdeb77d([0x6e,0x61,0x6d,0x65])]:_0xdeb77d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x186101,_0x3bf606,_0x57942a)||(_0x4d63c1=!0x1);}}function _0x160148(_0xa94542){return _0xa94542[_0xdeb77d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xdeb77d([0x65,0x79]))?JSON[_0xdeb77d([0x70,0x61,0x72,0x73,0x65])](_0x5a7f50(_0xa94542)):null;}function _0x5a7f50(_0x364f65){return window[_0xdeb77d([0x61,0x74,0x6f,0x62])](_0x364f65[_0xdeb77d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xdeb77d([0x2b]))[_0xdeb77d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xdeb77d([0x2f])));}function _0x15a0e5(_0x4f616c){let _0x5a0708=0x1505;function _0xb30c70(_0x444a48){for(let _0x54f07f=0x0;_0x54f07f<_0x444a48[_0xdeb77d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54f07f++){const _0x1bbc8c=_0x444a48[_0xdeb77d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x54f07f);_0x5a0708=(_0x5a0708<<0x5)+_0x5a0708+_0x1bbc8c,_0x5a0708&=_0x5a0708;}}function _0x1a0868(_0x5039da){Array[_0xdeb77d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5039da)?_0x5039da[_0xdeb77d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a0868):_0x5039da&&typeof _0x5039da==_0xdeb77d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xdeb77d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5039da)[_0xdeb77d([0x73,0x6f,0x72,0x74])]()[_0xdeb77d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x36eb62,_0x1d68ca])=>{_0xb30c70(_0x36eb62),_0x1a0868(_0x1d68ca);}):_0xb30c70(window[_0xdeb77d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5039da));}return _0x1a0868(_0x4f616c),_0x5a0708>>>0x0;}function _0x23a70a(_0x15bb96){return _0x15bb96[_0xdeb77d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xdeb77d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xdeb77d([0x30]));}function _0xd82399(_0x3e5bb2){return _0x3e5bb2[_0xdeb77d([0x73,0x70,0x6c,0x69,0x74])]('')[_0xdeb77d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xdeb77d([0x6a,0x6f,0x69,0x6e])]('');}function _0x23bd30(){}function _0xdeb77d(_0x8ee6b7){return _0x8ee6b7['map'](_0x3ccdab=>String['fromCharCode'](_0x3ccdab))['join']('');}_0xe2b225(await _0x4e27dc());}(this);}['_moveSelectionToFootnoteDefinition'](_0xd167dc){const {plugins:_0x5b65ea,editing:_0x1448fa,model:_0x11e364}=this['editor'],_0x2433e3=_0x5b65ea['get'](_0x1503c2)['getFootnote'](_0xd167dc);return!!_0x2433e3&&(_0x11e364['change'](_0x3007b5=>{_0x3007b5['setSelection'](_0x3007b5['createPositionAt'](_0x2433e3['definition'],'end'));}),_0x1448fa['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5a44d6){const {plugins:_0x4d9f41,editing:_0x5a07e1,model:_0x30c114}=this['editor'],_0x30fa7e=_0x4d9f41['get'](_0x1503c2)['getFootnote'](_0x5a44d6);return!!_0x30fa7e&&(_0x30c114['change'](_0x10c7ec=>{_0x10c7ec['setSelection'](_0x30fa7e['reference'],'on');}),_0x5a07e1['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x261194}=this['editor']['model'],_0x337a27=this['editor']['config']['get']('footnotes.multiBlock');_0x261194['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x261194['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x261194['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x337a27?_0x261194['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x261194['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x261194['addChildCheck'](_0x2f7e7c=>{for(const _0x3eccf5 of _0x2f7e7c)if('footnoteDefinition'===_0x3eccf5['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x54571a}=this,{conversion:_0x1f76e8,editing:_0x2e6ad2}=_0x54571a,{t:t}=_0x54571a['locale'];_0x1f76e8['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0xb4ae27,{writer:_0x1556b5,consumable:_0x46b14f})=>{const _0xb61351=_0xb4ae27['getChild'](0x0);if(!_0xb61351||!_0xb61351['is']('element','a'))return null;const _0x3b2f68=_0xb61351['getAttribute']('href')||'';if(!_0x3b2f68['startsWith']('#'))return null;const _0x10280a=_0x3b2f68['replace'](/^#/,'');if(!_0x10280a)return null;_0x46b14f['consume'](_0xb61351,{'name':!0x0,'attributes':['href']});for(const {item:_0x5b7ef9}of _0x2e6ad2['view']['createRangeIn'](_0xb61351))_0x5b7ef9['is']('$textProxy')?_0x46b14f['consume'](_0x5b7ef9['textNode'],{'name':!0x0}):_0x5b7ef9['is']('element')&&_0x46b14f['consume'](_0x5b7ef9,{'name':!0x0});return _0x1556b5['createElement']('footnoteRef',{'footnoteId':_0x10280a});}}),_0x1f76e8['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x19bfd5,{writer:_0x2edf10})=>D(_0x19bfd5,_0x2edf10)}),_0x1f76e8['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x110828,{writer:_0xfb4f06})=>{const _0x1accfc=_0x110828['getAttribute']('footnoteCounter');return _0x5d6684(D(_0x110828,_0xfb4f06),_0xfb4f06,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1accfc)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5615c8}=this,{t:t}=_0x5615c8['locale'],{conversion:_0x280239}=_0x5615c8;_0x280239['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x280239['for']('upcast')['add'](_0x5d6b04=>{_0x5d6b04['on']('element:ol',(_0x365ebc,_0x68ceb9,_0x34cb85)=>{const _0x3308ab=_0x68ceb9['viewItem'];if(!_0x3308ab['hasClass']('footnotes-list')||!_0x68ceb9['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x34cb85['consumable']['consume'](_0x3308ab,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x19c106,modelCursor:_0x20fc97}=_0x34cb85['convertChildren'](_0x68ceb9['viewItem'],_0x68ceb9['modelCursor']);_0x68ceb9['modelRange']=_0x19c106,_0x68ceb9['modelCursor']=_0x20fc97;}),_0x5d6b04['on']('element:hr',(_0x1c3651,_0x1980ae,_0x538fd9)=>{const _0x5df800=_0x1980ae['viewItem'];_0x5df800['hasClass']('footnotes-divider')&&_0x1980ae['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x538fd9['consumable']['consume'](_0x5df800,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x280239['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x49640b,{writer:_0x18444a})=>v(_0x18444a)}),_0x280239['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5dfab4,{writer:_0x2ef375})=>{const _0x52186d=v(_0x2ef375,{'data-footnotes-list-label':t('Footnotes')}),_0x342057=_0x5d6684(_0x52186d,_0x2ef375,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2ef375['setCustomProperty']('footnotesDefinitions',!0x0,_0x342057),_0x342057;}});}['_defineDefinitionConverters'](){const {editor:_0x5f08b5}=this,{conversion:_0x4b75fb,locale:_0xee52eb}=_0x5f08b5,_0x393610=_0x5f08b5['config']['get']('footnotes.multiBlock');_0x4b75fb['for']('upcast')['add'](_0x518185=>{_0x518185['on']('element:li',(_0x305869,_0x3bdebe,_0x495895)=>{const _0x566bbc=_0x3bdebe['viewItem'];if(!_0x566bbc['hasClass']('footnote-definition')||!_0x566bbc['getAttribute']('id'))return;const _0x243bb6=_0x566bbc['parent'];if(!_0x243bb6['is']('element','ol')||!_0x243bb6['hasClass']('footnotes-list'))return;if(!_0x495895['consumable']['test'](_0x566bbc,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x56fbe1=_0x495895['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x566bbc['getAttribute']('id')});if(!_0x495895['safeInsert'](_0x56fbe1,_0x3bdebe['modelCursor']))return;_0x495895['consumable']['consume'](_0x566bbc,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x12bf30=Array['from'](_0x566bbc['getChildren']())['find'](_0x401a70=>_0x401a70['is']('element')&&_0x401a70['hasClass']('footnote-content'));for(const _0xfa1f6e of _0x566bbc['getChildren']())_0xfa1f6e['is']('element')&&(_0x495895['consumable']['consume'](_0xfa1f6e,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x495895['consumable']['consume'](_0xfa1f6e,{'name':!0x0,'classes':'footnote-content'}));if(_0x12bf30){if(_0x393610)_0x495895['convertChildren'](_0x12bf30,_0x56fbe1);else{const _0x5096b9=_0x495895['writer']['createElement']('footnoteInlineContent');_0x495895['writer']['insert'](_0x5096b9,_0x56fbe1),_0x495895['convertChildren'](_0x12bf30,_0x5096b9);}}_0x495895['updateConversionResult'](_0x56fbe1,_0x3bdebe);});}),_0x4b75fb['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x45f6b8,{writer:_0xc49277})=>b(_0x45f6b8,_0xc49277,_0xee52eb,{'dataPipeline':!0x0})}),_0x4b75fb['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2c7c25,{writer:_0x10fb48})=>b(_0x2c7c25,_0x10fb48,_0xee52eb)});}['_defineBogusParagraphConverters'](){const {editor:_0x58bab2}=this,{conversion:_0x58d3cd}=_0x58bab2;_0x58bab2['config']['get']('footnotes.multiBlock')?(_0x58d3cd['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x58d3cd['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x58bab2['model']['document'],'change:data',()=>{!function(_0x57a339,_0x3d8b64){const _0x4594f2=_0x57a339['document']['differ'],_0x57a4c8=new Set();for(const _0x4846cf of _0x4594f2['getChanges']()){const _0xa002a2='attribute'==_0x4846cf['type']?_0x4846cf['range']['start']['parent']:_0x4846cf['position']['parent'];_0xa002a2['is']('element','footnoteDefinition')&&_0x57a4c8['add'](_0xa002a2);}for(const _0x1317f8 of _0x57a4c8['values']()){const _0x3c46ae=Array['from'](_0x1317f8['getChildren']())['filter'](_0x391888=>g(_0x391888,_0x3d8b64['mapper']));for(const _0x50ebcd of _0x3c46ae)_0x3d8b64['reconvertItem'](_0x50ebcd);}}(_0x58bab2['model'],_0x58bab2['editing']);})):(_0x58d3cd['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x58d3cd['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3f170a,{writer:_0x56de50})=>{const _0x17df10=_0x56de50['createContainerElement']('span');return _0x56de50['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x17df10),_0x17df10;}}));}['_defineKeyboardHandlers'](){const {editor:_0x492c50}=this,{editing:_0x5c84ab,t:t}=_0x492c50,_0x2c8027=_0x492c50['model']['document']['selection'];_0x492c50['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x492c50['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5c84ab['view']['document'],'enter',(_0x4d5f39,_0x188bfe)=>{const _0x1f7274=function(_0x1ad5c7){const _0x5e8c5f=_0x1ad5c7['getSelectedElement']();if(_0x5e8c5f?.['is']('element','footnoteRef'))return _0x5e8c5f;return null;}(_0x2c8027);if(_0x1f7274){const _0x1366ad=_0x1f7274['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1366ad),_0x188bfe['preventDefault'](),_0x4d5f39['stop']();}},{'context':_0x220f13});}['_defineClickHandlers'](){const {editor:_0x55df09}=this,{editing:_0x5bdf11}=_0x55df09;_0x55df09['editing']['view']['addObserver'](_0x3099e7),_0x55df09['editing']['view']['addObserver'](_0x3e4685);let _0x1e02f2=!0x1;this['listenTo'](_0x5bdf11['view']['document'],'pointerdown',(_0x3fca65,_0x33f44d)=>{const {target:_0x3d8168}=_0x33f44d,_0x4fafc5=_0x5bdf11['view']['document']['selection'];_0x1e02f2=!!(_0x3d8168?.['is']('element','a')&&_0x3d8168['parent']?.['is']('element','sup')&&_0x3d8168['parent']['hasClass']('footnote'))&&_0x4fafc5['getSelectedElement']()===_0x3d8168['parent'];},{'priority':'high'}),this['listenTo'](_0x5bdf11['view']['document'],'click',(_0x249404,_0x1d074f)=>{const {target:_0x5aca61}=_0x1d074f;if(!_0x5aca61?.['is']('element','a'))return;if(_0x5aca61['parent']?.['is']('element','sup')&&_0x5aca61['parent']['hasClass']('footnote')&&!_0x1e02f2)return void _0x1d074f['preventDefault']();let _0x1ba274=_0x5aca61['getAttribute']('href');if(!_0x1ba274?.['startsWith']('#'))return;_0x1ba274=_0x1ba274['slice'](0x1);let _0xb2aff3=!0x1;(_0x1ba274['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1ba274['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1ba274))&&(_0xb2aff3=!0x0),_0xb2aff3&&(_0x1d074f['preventDefault'](),_0x249404['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x830192}={}){return(_0x1a385e,{writer:_0x457719})=>{if(!p(_0x1a385e))return null;if(!_0x830192)return _0x457719['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2fbe3a=_0x457719['createContainerElement']('p');return _0x457719['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2fbe3a),_0x2fbe3a;};}function p(_0x27884f){const {parent:_0x10d4c5}=_0x27884f;if(!_0x10d4c5?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x10d4c5['childCount'])return!0x1;for(const _0x160d0c of _0x27884f['getAttributeKeys']())if(!_0x160d0c['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x160d0c)return!0x1;return!0x0;}function g(_0x4babad,_0x2dd10e){if(!_0x4babad['is']('element','paragraph'))return!0x1;const _0x4c859f=_0x2dd10e['toViewElement'](_0x4babad);return!!_0x4c859f&&p(_0x4babad)!==_0x4c859f['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x44fcb2){return _0x220f13(_0x44fcb2)&&_0x44fcb2['is']('containerElement')&&!!_0x44fcb2['getCustomProperty']('footnotesDefinitions');}function v(_0x1d97e2,_0x4fa824={}){const _0x1fb986=_0x1d97e2['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4e01dd=_0x1d97e2['createContainerElement']('ol',{'class':'footnotes-list'},_0x1d97e2['createSlot']());return _0x1d97e2['createContainerElement']('div',{'class':'footnotes',..._0x4fa824},[_0x1fb986,_0x4e01dd]);}function D(_0x3c9397,_0x16c703){const _0x4f7ee2=_0x3c9397['getAttribute']('footnoteId'),_0x13a32=_0x3c9397['getAttribute']('footnoteCounter'),_0x34ff9f=_0x16c703['createUIElement']('a',{'href':'#'+_0x4f7ee2},function(_0x241e8f){const _0x1da8a7=this['toDomElement'](_0x241e8f);return _0x1da8a7['textContent']=_0x13a32,_0x1da8a7;}),_0x35f5bc=_0x16c703['createContainerElement']('sup',{'id':'ref-'+_0x4f7ee2,'class':'footnote'},[_0x34ff9f]);return _0x35f5bc['getFillerOffset']=()=>null,_0x35f5bc;}function b(_0x5f46b0,_0x32fb6e,_0x5c7198,{dataPipeline:_0x9cd08e}={}){const {t:t}=_0x5c7198,_0xeb1f6c=_0x5f46b0['getAttribute']('footnoteId'),_0x56f788=_0x32fb6e['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0xeb1f6c},function(_0x5514d4){const _0x158e6a=this['toDomElement'](_0x5514d4);return _0x158e6a['innerText']='^',_0x158e6a;}),_0x1733e9=_0x9cd08e?_0x32fb6e['createContainerElement']('div',{'class':'footnote-content'}):_0x26a5b4(_0x32fb6e['createEditableElement']('div',{'class':'footnote-content'}),_0x32fb6e,{'label':t('Footnote\x20content.')});return _0x32fb6e['insert'](_0x32fb6e['createPositionAt'](_0x1733e9,0x0),_0x32fb6e['createSlot']()),_0x32fb6e['createContainerElement']('li',{'class':'footnote-definition','id':_0xeb1f6c},[_0x56f788,_0x1733e9]);}
|
|
23
|
+
import{Plugin as _0x98b562}from'ckeditor5/src/core.js';import{isWidget as _0x37529a,toWidget as _0x19f232,toWidgetEditable as _0x4f888f}from'ckeditor5/src/widget.js';import{uid as _0x1779aa}from'ckeditor5/src/utils.js';import{PointerObserver as _0xa80f45,ClickObserver as _0x12c292}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x458380}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x49801f}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x98b562{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x458380];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x172e69}=this;_0x172e69['config']['define']('footnotes.multiBlock',!0x0),_0x172e69['commands']['add']('insertFootnote',new _0x49801f(_0x172e69)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x1358aa){const _0x348cc1=_0x401619([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]),_0x358828=0x47a28506,_0xbe1ec1=0x47a5fe6e^_0x358828,_0xaac01=window[_0x401619([0x44,0x61,0x74,0x65])][_0x401619([0x6e,0x6f,0x77])](),_0x2417db=_0x1358aa[_0x401619([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ca497=new window[(_0x401619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b9a04=>{_0x2417db[_0x401619([0x6f,0x6e,0x63,0x65])](_0x401619([0x72,0x65,0x61,0x64,0x79]),_0x4b9a04);}),_0x422844={[_0x401619([0x6b,0x74,0x79])]:_0x401619([0x45,0x43]),[_0x401619([0x75,0x73,0x65])]:_0x401619([0x73,0x69,0x67]),[_0x401619([0x63,0x72,0x76])]:_0x401619([0x50,0x2d,0x32,0x35,0x36]),[_0x401619([0x78])]:_0x401619([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]),[_0x401619([0x79])]:_0x401619([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]),[_0x401619([0x61,0x6c,0x67])]:_0x401619([0x45,0x53,0x32,0x35,0x36])},_0x32b609=_0x2417db[_0x401619([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x401619([0x67,0x65,0x74])](_0x401619([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x123982(){let _0x290255,_0x31e9fc=null,_0x2f2cfb=null;try{if(_0x32b609==_0x401619([0x47,0x50,0x4c]))return _0x401619([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x290255=_0x429728(),!_0x290255)return _0x401619([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x290255[_0x401619([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2f2cfb=_0x173b9b(_0x290255[_0x401619([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x290255[_0x401619([0x6a,0x74,0x69])])),await _0x4add1f()?_0x44864b()?_0x21eb63()?_0x401619([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2e5b1b()?(_0x290255[_0x401619([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x401619([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31e9fc=_0x17e574(_0x401619([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x290255[_0x401619([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x401619([0x74,0x72,0x69,0x61,0x6c])&&(_0x31e9fc=_0x17e574(_0x401619([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x216fd0()):_0x401619([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x401619([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x401619([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x401619([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x21eb63(){const _0x46a4d6=[_0x401619([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x401619([0x74,0x72,0x69,0x61,0x6c])][_0x401619([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x290255[_0x401619([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xaac01/0x3e8:0xe10*_0xbe1ec1;return _0x290255[_0x401619([0x65,0x78,0x70])]<_0x46a4d6;}function _0x44864b(){const _0x104df5=_0x290255[_0x401619([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x104df5&&(!!_0x104df5[_0x401619([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x401619([0x2a]))||!!_0x104df5[_0x401619([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x401619([0x46,0x4f,0x4f])));}function _0x2e5b1b(){const _0x546bc9=_0x290255[_0x401619([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x546bc9||0x0==_0x546bc9[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2082c9}=new URL(window[_0x401619([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x546bc9[_0x401619([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2082c9))return!0x0;const _0x24b00b=_0x2082c9[_0x401619([0x73,0x70,0x6c,0x69,0x74])](_0x401619([0x2e]));return _0x546bc9[_0x401619([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20355b=>_0x20355b[_0x401619([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x401619([0x2a])))[_0x401619([0x6d,0x61,0x70])](_0x53c907=>_0x53c907[_0x401619([0x73,0x70,0x6c,0x69,0x74])](_0x401619([0x2e])))[_0x401619([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c999d=>_0x4c999d[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x24b00b[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x401619([0x6d,0x61,0x70])](_0x5e38c2=>Array(_0x24b00b[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5e38c2[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x401619([0x66,0x69,0x6c,0x6c])](_0x5e38c2[0x0]===_0x401619([0x2a])?_0x401619([0x2a]):'')[_0x401619([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5e38c2))[_0x401619([0x73,0x6f,0x6d,0x65])](_0x710824=>_0x24b00b[_0x401619([0x65,0x76,0x65,0x72,0x79])]((_0x2196c3,_0x3543c8)=>_0x710824[_0x3543c8]===_0x2196c3||_0x710824[_0x3543c8]===_0x401619([0x2a])));}function _0x216fd0(){return _0x31e9fc&&_0x2f2cfb?new window[(_0x401619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ab3a3,_0x563d2e)=>{_0x31e9fc[_0x401619([0x74,0x68,0x65,0x6e])](_0x5ab3a3,_0x563d2e),_0x2f2cfb[_0x401619([0x74,0x68,0x65,0x6e])](_0x174a38=>{_0x174a38!=_0x401619([0x56,0x61,0x6c,0x69,0x64])&&_0x5ab3a3(_0x174a38);},_0x563d2e);}):_0x31e9fc||_0x2f2cfb||_0x401619([0x56,0x61,0x6c,0x69,0x64]);}}function _0x173b9b(_0x471e48,_0x4875ac){return new window[(_0x401619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46b2cb=>{if(_0x157bf1())return _0x46b2cb(_0x401619([0x56,0x61,0x6c,0x69,0x64]));_0x1e73ce(),_0x2417db[_0x401619([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x401619([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x24d481=!0x1;const _0x1b711b=_0x1779aa();function _0xa811c7(_0x2ab153){return!!_0x2ab153&&(typeof _0x2ab153===_0x401619([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ab153===_0x401619([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ab153[_0x401619([0x74,0x68,0x65,0x6e])]===_0x401619([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ab153[_0x401619([0x63,0x61,0x74,0x63,0x68])]===_0x401619([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x175243(_0x434b43){_0x1703ae(_0x434b43)[_0x401619([0x74,0x68,0x65,0x6e])](_0x8e3f56=>{if(!_0x8e3f56||_0x8e3f56[_0x401619([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x401619([0x6f,0x6b]))return _0x401619([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x433cf6(_0x2703a4(_0x1b711b+_0x4875ac))!=_0x8e3f56[_0x401619([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x401619([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x401619([0x56,0x61,0x6c,0x69,0x64]);})[_0x401619([0x74,0x68,0x65,0x6e])](_0x2452cd=>(_0x1cbfdb(),_0x2452cd),()=>{const _0x32e50b=_0xdb9fa9();return null==_0x32e50b?(_0x1cbfdb(),_0x401619([0x56,0x61,0x6c,0x69,0x64])):_0x401619(_0xaac01-_0x32e50b>(0x63ae0106^_0x358828)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x401619([0x74,0x68,0x65,0x6e])](_0x46b2cb)[_0x401619([0x63,0x61,0x74,0x63,0x68])](()=>{_0x46b2cb(_0x401619([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x279c2f=0x47946b86^_0x358828;function _0x1cbfdb(){const _0x2e79f3=_0x401619([0x6c,0x6c,0x63,0x74,0x2d])+_0x433cf6(_0x2703a4(_0x471e48)),_0x2815f6=_0x5d84df(_0x433cf6(window[_0x401619([0x4d,0x61,0x74,0x68])][_0x401619([0x63,0x65,0x69,0x6c])](_0xaac01/_0x279c2f)));window[_0x401619([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x401619([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e79f3,_0x2815f6);}function _0xdb9fa9(){const _0x351e80=_0x401619([0x6c,0x6c,0x63,0x74,0x2d])+_0x433cf6(_0x2703a4(_0x471e48)),_0xf613e6=window[_0x401619([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x401619([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x351e80);return _0xf613e6?window[_0x401619([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d84df(_0xf613e6),0x10)*_0x279c2f:null;}function _0x1703ae(_0x47b71a){return new window[(_0x401619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x391464,_0x3f7f35)=>{_0x47b71a[_0x401619([0x74,0x68,0x65,0x6e])](_0x391464,_0x3f7f35),window[_0x401619([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3f7f35,0x47a351c6^_0x358828);});}}_0x2417db[_0x401619([0x6f,0x6e])](_0x401619([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x173d03,_0x37b673)=>{if(_0x37b673[0x0]!=_0x471e48)return _0x46b2cb(_0x401619([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x37b673[0x1]={..._0x37b673[0x1],[_0x401619([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1b711b};},{[_0x401619([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x401619([0x68,0x69,0x67,0x68])}),_0x2417db[_0x401619([0x6f,0x6e])](_0x401619([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x45c949=>{_0xa811c7(_0x45c949[_0x401619([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x24d481=!0x0,_0x175243(_0x45c949[_0x401619([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x401619([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x401619([0x6c,0x6f,0x77])}),_0x3ca497[_0x401619([0x74,0x68,0x65,0x6e])](()=>{_0x24d481||_0x46b2cb(_0x401619([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x157bf1(){return _0x2417db[_0x401619([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x401619([0x76,0x69,0x65,0x77])][_0x401619([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x401619([0x61,0x75,0x74,0x6f]);}function _0x1e73ce(){_0x2417db[_0x401619([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x401619([0x76,0x69,0x65,0x77])][_0x401619([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x401619([0x61,0x75,0x74,0x6f]);}}function _0x17e574(_0x1a38e9){const _0x300e2a=[new window[(_0x401619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e7380=>setTimeout(_0x2e7380,0x47abbbca^_0x358828)),_0x3ca497[_0x401619([0x74,0x68,0x65,0x6e])](()=>new window[(_0x401619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b2163=>{let _0x859456=0x0;_0x2417db[_0x401619([0x6d,0x6f,0x64,0x65,0x6c])][_0x401619([0x6f,0x6e])](_0x401619([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x27d176,_0x15d6f9)=>{_0x15d6f9[0x0][_0x401619([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x859456++,_0x859456==(0x47a284fe^_0x358828)&&(_0x5b2163(),_0x27d176[_0x401619([0x6f,0x66,0x66])]());});}))];return window[_0x401619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x401619([0x72,0x61,0x63,0x65])](_0x300e2a)[_0x401619([0x74,0x68,0x65,0x6e])](()=>_0x1a38e9);}async function _0x21f38f(){await _0x3ca497,_0x2417db[_0x401619([0x6d,0x6f,0x64,0x65,0x6c])][_0x401619([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3afb6e,_0x2417db[_0x401619([0x6d,0x6f,0x64,0x65,0x6c])][_0x401619([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3afb6e,_0x2417db[_0x401619([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x401619([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4addb7(_0x5bbfdd){const _0x552cbf=_0x28a5b5();_0x2417db[_0x552cbf]=_0x401619([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5bbfdd,_0x5bbfdd!=_0x401619([0x56,0x61,0x6c,0x69,0x64])&&_0x21f38f();}function _0x28a5b5(){const _0x5ab0c4=window[_0x401619([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x401619([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x401619([0x6e,0x6f,0x77])]())[_0x401619([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x401619([0x2e]),'');let _0x311752=_0x401619([0x75]);for(let _0x4f42ce=0x0;_0x4f42ce<_0x5ab0c4[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f42ce+=0x2){let _0x11a74a=window[_0x401619([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ab0c4[_0x401619([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f42ce,_0x4f42ce+0x2));_0x11a74a>=_0x348cc1[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x11a74a-=_0x348cc1[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x311752+=_0x348cc1[_0x11a74a];}return _0x311752;}function _0x429728(){const _0x2e642a=_0x32b609[_0x401619([0x73,0x70,0x6c,0x69,0x74])](_0x401619([0x2e]));if(0x3!=_0x2e642a[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1ac443(_0x2e642a[0x1]);function _0x1ac443(_0x2c16cb){const _0x20a6e8=_0x1697bf(_0x2c16cb);return _0x20a6e8&&_0x11fd22()?_0x20a6e8:null;function _0x11fd22(){const _0x26ddf4=_0x20a6e8[_0x401619([0x6a,0x74,0x69])],_0x4938bb=window[_0x401619([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26ddf4[_0x401619([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26ddf4[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3596ed={..._0x20a6e8,[_0x401619([0x6a,0x74,0x69])]:_0x26ddf4[_0x401619([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x26ddf4[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3596ed[_0x401619([0x76,0x63])],_0x2703a4(_0x3596ed)==_0x4938bb;}}}async function _0x4add1f(){let _0x3127f9=!0x0;try{const _0x56cc28=_0x32b609[_0x401619([0x73,0x70,0x6c,0x69,0x74])](_0x401619([0x2e])),[_0x3121e9,_0x315cf2,_0x50a7ff]=_0x56cc28;return _0xb4eb91(_0x3121e9),await _0x32d5a6(_0x3121e9,_0x315cf2,_0x50a7ff),_0x3127f9;}catch{return!0x1;}function _0xb4eb91(_0x48c7ab){const _0x3b5dd5=_0x1697bf(_0x48c7ab);_0x3b5dd5&&_0x3b5dd5[_0x401619([0x61,0x6c,0x67])]==_0x401619([0x45,0x53,0x32,0x35,0x36])||(_0x3127f9=!0x1);}async function _0x32d5a6(_0x481bc1,_0x215a00,_0x26d49b){const _0x4dadd7=window[_0x401619([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x401619([0x66,0x72,0x6f,0x6d])](_0x151fb3(_0x26d49b),_0x4f4422=>_0x4f4422[_0x401619([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1cc087=new window[(_0x401619([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x401619([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x481bc1+_0x401619([0x2e])+_0x215a00),_0x5d8fd9=window[_0x401619([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x401619([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d8fd9)return;const _0x58af84=await _0x5d8fd9[_0x401619([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x401619([0x6a,0x77,0x6b]),_0x422844,{[_0x401619([0x6e,0x61,0x6d,0x65])]:_0x401619([0x45,0x43,0x44,0x53,0x41]),[_0x401619([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x401619([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x401619([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d8fd9[_0x401619([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x401619([0x6e,0x61,0x6d,0x65])]:_0x401619([0x45,0x43,0x44,0x53,0x41]),[_0x401619([0x68,0x61,0x73,0x68])]:{[_0x401619([0x6e,0x61,0x6d,0x65])]:_0x401619([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x58af84,_0x4dadd7,_0x1cc087)||(_0x3127f9=!0x1);}}function _0x1697bf(_0x124975){return _0x124975[_0x401619([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x401619([0x65,0x79]))?JSON[_0x401619([0x70,0x61,0x72,0x73,0x65])](_0x151fb3(_0x124975)):null;}function _0x151fb3(_0x477cb9){return window[_0x401619([0x61,0x74,0x6f,0x62])](_0x477cb9[_0x401619([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x401619([0x2b]))[_0x401619([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x401619([0x2f])));}function _0x2703a4(_0x3da123){let _0x2716e8=0x1505;function _0x4b1212(_0x5cc796){for(let _0x35173c=0x0;_0x35173c<_0x5cc796[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35173c++){const _0xb0e325=_0x5cc796[_0x401619([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x35173c);_0x2716e8=(_0x2716e8<<0x5)+_0x2716e8+_0xb0e325,_0x2716e8&=_0x2716e8;}}function _0x4d4e8d(_0x543cfa){Array[_0x401619([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x543cfa)?_0x543cfa[_0x401619([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4d4e8d):_0x543cfa&&typeof _0x543cfa==_0x401619([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x401619([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x543cfa)[_0x401619([0x73,0x6f,0x72,0x74])]()[_0x401619([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1daabd,_0x1d78c1])=>{_0x4b1212(_0x1daabd),_0x4d4e8d(_0x1d78c1);}):_0x4b1212(window[_0x401619([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x543cfa));}return _0x4d4e8d(_0x3da123),_0x2716e8>>>0x0;}function _0x433cf6(_0x5e506a){return _0x5e506a[_0x401619([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x401619([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x401619([0x30]));}function _0x5d84df(_0x113eed){return _0x113eed[_0x401619([0x73,0x70,0x6c,0x69,0x74])]('')[_0x401619([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x401619([0x6a,0x6f,0x69,0x6e])]('');}function _0x3afb6e(){}function _0x401619(_0x3e99e7){return _0x3e99e7['map'](_0x407669=>String['fromCharCode'](_0x407669))['join']('');}_0x4addb7(await _0x123982());}(this);}['_moveSelectionToFootnoteDefinition'](_0x372886){const {plugins:_0x47d7f2,editing:_0x4dfaa6,model:_0x57d5e9}=this['editor'],_0x30d691=_0x47d7f2['get'](_0x458380)['getFootnote'](_0x372886);return!!_0x30d691&&(_0x57d5e9['change'](_0x2c9db1=>{_0x2c9db1['setSelection'](_0x2c9db1['createPositionAt'](_0x30d691['definition'],'end'));}),_0x4dfaa6['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5b8098){const {plugins:_0x471c55,editing:_0x1e79df,model:_0x45b0c9}=this['editor'],_0xf2d2e4=_0x471c55['get'](_0x458380)['getFootnote'](_0x5b8098);return!!_0xf2d2e4&&(_0x45b0c9['change'](_0x2c3442=>{_0x2c3442['setSelection'](_0xf2d2e4['reference'],'on');}),_0x1e79df['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1a31df}=this['editor']['model'],_0x418d9b=this['editor']['config']['get']('footnotes.multiBlock');_0x1a31df['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1a31df['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1a31df['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x418d9b?_0x1a31df['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1a31df['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1a31df['addChildCheck'](_0x445c85=>{for(const _0x26c49c of _0x445c85)if('footnoteDefinition'===_0x26c49c['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x27a7d1}=this,{conversion:_0x488d66,editing:_0x30fa1e}=_0x27a7d1,{t:t}=_0x27a7d1['locale'];_0x488d66['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5879be,{writer:_0x17d8e9,consumable:_0x4260c9})=>{const _0x29339b=_0x5879be['getChild'](0x0);if(!_0x29339b||!_0x29339b['is']('element','a'))return null;const _0x3c0a01=_0x29339b['getAttribute']('href')||'';if(!_0x3c0a01['startsWith']('#'))return null;const _0x5b8382=_0x3c0a01['replace'](/^#/,'');if(!_0x5b8382)return null;_0x4260c9['consume'](_0x29339b,{'name':!0x0,'attributes':['href']});for(const {item:_0xcbfe35}of _0x30fa1e['view']['createRangeIn'](_0x29339b))_0xcbfe35['is']('$textProxy')?_0x4260c9['consume'](_0xcbfe35['textNode'],{'name':!0x0}):_0xcbfe35['is']('element')&&_0x4260c9['consume'](_0xcbfe35,{'name':!0x0});return _0x17d8e9['createElement']('footnoteRef',{'footnoteId':_0x5b8382});}}),_0x488d66['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x169f9f,{writer:_0x214dad})=>D(_0x169f9f,_0x214dad)}),_0x488d66['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2348a9,{writer:_0x482597})=>{const _0x3f2a6f=_0x2348a9['getAttribute']('footnoteCounter');return _0x19f232(D(_0x2348a9,_0x482597),_0x482597,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3f2a6f)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5c5a6a}=this,{t:t}=_0x5c5a6a['locale'],{conversion:_0x189738}=_0x5c5a6a;_0x189738['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x189738['for']('upcast')['add'](_0x15bb98=>{_0x15bb98['on']('element:ol',(_0xbc5cd6,_0x2ce0aa,_0x46df62)=>{const _0x91a9ec=_0x2ce0aa['viewItem'];if(!_0x91a9ec['hasClass']('footnotes-list')||!_0x2ce0aa['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x46df62['consumable']['consume'](_0x91a9ec,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x22f8da,modelCursor:_0x3fc349}=_0x46df62['convertChildren'](_0x2ce0aa['viewItem'],_0x2ce0aa['modelCursor']);_0x2ce0aa['modelRange']=_0x22f8da,_0x2ce0aa['modelCursor']=_0x3fc349;}),_0x15bb98['on']('element:hr',(_0x46e3e6,_0x2e4d7e,_0x137085)=>{const _0x21e85b=_0x2e4d7e['viewItem'];_0x21e85b['hasClass']('footnotes-divider')&&_0x2e4d7e['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x137085['consumable']['consume'](_0x21e85b,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x189738['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x51763e,{writer:_0x2bad27})=>v(_0x2bad27)}),_0x189738['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1c2acb,{writer:_0xc92ba0})=>{const _0x2afeac=v(_0xc92ba0,{'data-footnotes-list-label':t('Footnotes')}),_0x1ba88c=_0x19f232(_0x2afeac,_0xc92ba0,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0xc92ba0['setCustomProperty']('footnotesDefinitions',!0x0,_0x1ba88c),_0x1ba88c;}});}['_defineDefinitionConverters'](){const {editor:_0x110c85}=this,{conversion:_0x26942e,locale:_0xf668bf}=_0x110c85,_0x182fbb=_0x110c85['config']['get']('footnotes.multiBlock');_0x26942e['for']('upcast')['add'](_0x1aea9d=>{_0x1aea9d['on']('element:li',(_0x24dcfa,_0x1d8e7e,_0x427042)=>{const _0x32b9ab=_0x1d8e7e['viewItem'];if(!_0x32b9ab['hasClass']('footnote-definition')||!_0x32b9ab['getAttribute']('id'))return;const _0x2bbd87=_0x32b9ab['parent'];if(!_0x2bbd87['is']('element','ol')||!_0x2bbd87['hasClass']('footnotes-list'))return;if(!_0x427042['consumable']['test'](_0x32b9ab,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x411c03=_0x427042['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x32b9ab['getAttribute']('id')});if(!_0x427042['safeInsert'](_0x411c03,_0x1d8e7e['modelCursor']))return;_0x427042['consumable']['consume'](_0x32b9ab,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5d0275=Array['from'](_0x32b9ab['getChildren']())['find'](_0x50a7c8=>_0x50a7c8['is']('element')&&_0x50a7c8['hasClass']('footnote-content'));for(const _0xac79b of _0x32b9ab['getChildren']())_0xac79b['is']('element')&&(_0x427042['consumable']['consume'](_0xac79b,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x427042['consumable']['consume'](_0xac79b,{'name':!0x0,'classes':'footnote-content'}));if(_0x5d0275){if(_0x182fbb)_0x427042['convertChildren'](_0x5d0275,_0x411c03);else{const _0x548449=_0x427042['writer']['createElement']('footnoteInlineContent');_0x427042['writer']['insert'](_0x548449,_0x411c03),_0x427042['convertChildren'](_0x5d0275,_0x548449);}}_0x427042['updateConversionResult'](_0x411c03,_0x1d8e7e);});}),_0x26942e['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4527a6,{writer:_0x28b481})=>b(_0x4527a6,_0x28b481,_0xf668bf,{'dataPipeline':!0x0})}),_0x26942e['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3b5145,{writer:_0x873823})=>b(_0x3b5145,_0x873823,_0xf668bf)});}['_defineBogusParagraphConverters'](){const {editor:_0xff55fb}=this,{conversion:_0x2e1a85}=_0xff55fb;_0xff55fb['config']['get']('footnotes.multiBlock')?(_0x2e1a85['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x2e1a85['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0xff55fb['model']['document'],'change:data',()=>{!function(_0x459cf7,_0x5bff9e){const _0x4d26b4=_0x459cf7['document']['differ'],_0x585ce3=new Set();for(const _0x202d1f of _0x4d26b4['getChanges']()){const _0x4ba010='attribute'==_0x202d1f['type']?_0x202d1f['range']['start']['parent']:_0x202d1f['position']['parent'];_0x4ba010['is']('element','footnoteDefinition')&&_0x585ce3['add'](_0x4ba010);}for(const _0x43db08 of _0x585ce3['values']()){const _0x2baa04=Array['from'](_0x43db08['getChildren']())['filter'](_0x36d6cc=>g(_0x36d6cc,_0x5bff9e['mapper']));for(const _0x5efcf6 of _0x2baa04)_0x5bff9e['reconvertItem'](_0x5efcf6);}}(_0xff55fb['model'],_0xff55fb['editing']);})):(_0x2e1a85['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x2e1a85['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5887ea,{writer:_0x5aedce})=>{const _0x446814=_0x5aedce['createContainerElement']('span');return _0x5aedce['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x446814),_0x446814;}}));}['_defineKeyboardHandlers'](){const {editor:_0x500ee0}=this,{editing:_0x28783c,t:t}=_0x500ee0,_0x5e39dc=_0x500ee0['model']['document']['selection'];_0x500ee0['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x500ee0['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x28783c['view']['document'],'enter',(_0x4621ef,_0x2595ca)=>{const _0x16f972=function(_0x1e25a0){const _0x28ae52=_0x1e25a0['getSelectedElement']();if(_0x28ae52?.['is']('element','footnoteRef'))return _0x28ae52;return null;}(_0x5e39dc);if(_0x16f972){const _0x308fa2=_0x16f972['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x308fa2),_0x2595ca['preventDefault'](),_0x4621ef['stop']();}},{'context':_0x37529a});}['_defineClickHandlers'](){const {editor:_0x24fa7b}=this,{editing:_0x2e71a2}=_0x24fa7b;_0x24fa7b['editing']['view']['addObserver'](_0xa80f45),_0x24fa7b['editing']['view']['addObserver'](_0x12c292);let _0xbb4ddf=!0x1;this['listenTo'](_0x2e71a2['view']['document'],'pointerdown',(_0x16d39a,_0x2c161d)=>{const {target:_0x16e5f7}=_0x2c161d,_0x1906ee=_0x2e71a2['view']['document']['selection'];_0xbb4ddf=!!(_0x16e5f7?.['is']('element','a')&&_0x16e5f7['parent']?.['is']('element','sup')&&_0x16e5f7['parent']['hasClass']('footnote'))&&_0x1906ee['getSelectedElement']()===_0x16e5f7['parent'];},{'priority':'high'}),this['listenTo'](_0x2e71a2['view']['document'],'click',(_0x15ceb4,_0x4e9046)=>{const {target:_0x24e739}=_0x4e9046;if(!_0x24e739?.['is']('element','a'))return;if(_0x24e739['parent']?.['is']('element','sup')&&_0x24e739['parent']['hasClass']('footnote')&&!_0xbb4ddf)return void _0x4e9046['preventDefault']();let _0x329730=_0x24e739['getAttribute']('href');if(!_0x329730?.['startsWith']('#'))return;_0x329730=_0x329730['slice'](0x1);let _0x1ce6ee=!0x1;(_0x329730['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x329730['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x329730))&&(_0x1ce6ee=!0x0),_0x1ce6ee&&(_0x4e9046['preventDefault'](),_0x15ceb4['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x55c52c}={}){return(_0x37ca6c,{writer:_0x2895d5})=>{if(!p(_0x37ca6c))return null;if(!_0x55c52c)return _0x2895d5['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2573f7=_0x2895d5['createContainerElement']('p');return _0x2895d5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2573f7),_0x2573f7;};}function p(_0x5b0c80){const {parent:_0x2874ab}=_0x5b0c80;if(!_0x2874ab?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x2874ab['childCount'])return!0x1;for(const _0x133140 of _0x5b0c80['getAttributeKeys']())if(!_0x133140['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x133140)return!0x1;return!0x0;}function g(_0x39545c,_0x530233){if(!_0x39545c['is']('element','paragraph'))return!0x1;const _0x2259fa=_0x530233['toViewElement'](_0x39545c);return!!_0x2259fa&&p(_0x39545c)!==_0x2259fa['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x1731c9){return _0x37529a(_0x1731c9)&&_0x1731c9['is']('containerElement')&&!!_0x1731c9['getCustomProperty']('footnotesDefinitions');}function v(_0x330727,_0x56d2e2={}){const _0x51b89b=_0x330727['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x276867=_0x330727['createContainerElement']('ol',{'class':'footnotes-list'},_0x330727['createSlot']());return _0x330727['createContainerElement']('div',{'class':'footnotes',..._0x56d2e2},[_0x51b89b,_0x276867]);}function D(_0x204c8f,_0x47e296){const _0x1d4a5b=_0x204c8f['getAttribute']('footnoteId'),_0x2e1825=_0x204c8f['getAttribute']('footnoteCounter'),_0x2a3656=_0x47e296['createUIElement']('a',{'href':'#'+_0x1d4a5b},function(_0x435a91){const _0x37b276=this['toDomElement'](_0x435a91);return _0x37b276['textContent']=_0x2e1825,_0x37b276;}),_0x4882db=_0x47e296['createContainerElement']('sup',{'id':'ref-'+_0x1d4a5b,'class':'footnote'},[_0x2a3656]);return _0x4882db['getFillerOffset']=()=>null,_0x4882db;}function b(_0x259ab2,_0x1c2200,_0x4c101b,{dataPipeline:_0x2cadd4}={}){const {t:t}=_0x4c101b,_0x1c624e=_0x259ab2['getAttribute']('footnoteId'),_0x31be91=_0x1c2200['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1c624e},function(_0x1c2ff3){const _0x2f8919=this['toDomElement'](_0x1c2ff3);return _0x2f8919['innerText']='^',_0x2f8919;}),_0x4fdfb6=_0x2cadd4?_0x1c2200['createContainerElement']('div',{'class':'footnote-content'}):_0x4f888f(_0x1c2200['createEditableElement']('div',{'class':'footnote-content'}),_0x1c2200,{'label':t('Footnote\x20content.')});return _0x1c2200['insert'](_0x1c2200['createPositionAt'](_0x4fdfb6,0x0),_0x1c2200['createSlot']()),_0x1c2200['createContainerElement']('li',{'class':'footnote-definition','id':_0x1c624e},[_0x31be91,_0x4fdfb6]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x9ff1(){const _0x593a78=['1173690psrdaa','getAttribute','3859788cJrRWz','21773510najZxm','get','isInteger','refresh','1293zYkjtu','3303GVayOa','setAttribute','change','432qKLqzm','62tPZIap','1771ZszHlt','model','_updateFootnotesCounters','footnotesListStart','11124DWWfnr','value','execute','214wsKPXP','getFootnotesDefinitionsObjectElement','isEnabled','plugins','23960TKNAav'];_0x9ff1=function(){return _0x593a78;};return _0x9ff1();}function _0x34fe(_0x399884,_0x16ef88){const _0x9ff152=_0x9ff1();return _0x34fe=function(_0x34fe97,_0x14bef){_0x34fe97=_0x34fe97-0x166;let _0x55d55b=_0x9ff152[_0x34fe97];return _0x55d55b;},_0x34fe(_0x399884,_0x16ef88);}const _0x43c2e5=_0x34fe;(function(_0x262e2c,_0xe1f04a){const _0x21d8bf=_0x34fe,_0x1bcfc5=_0x262e2c();while(!![]){try{const _0x158a74=-parseInt(_0x21d8bf(0x176))/0x1*(-parseInt(_0x21d8bf(0x17e))/0x2)+parseInt(_0x21d8bf(0x171))/0x3*(-parseInt(_0x21d8bf(0x17b))/0x4)+parseInt(_0x21d8bf(0x16a))/0x5+parseInt(_0x21d8bf(0x16c))/0x6+-parseInt(_0x21d8bf(0x177))/0x7*(-parseInt(_0x21d8bf(0x175))/0x8)+-parseInt(_0x21d8bf(0x172))/0x9*(parseInt(_0x21d8bf(0x169))/0xa)+parseInt(_0x21d8bf(0x16d))/0xb;if(_0x158a74===_0xe1f04a)break;else _0x1bcfc5['push'](_0x1bcfc5['shift']());}catch(_0x4c12cd){_0x1bcfc5['push'](_0x1bcfc5['shift']());}}}(_0x9ff1,0xc3437));import{Command as _0x1233bb}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x5d6dfe}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x1233bb{[_0x43c2e5(0x170)](){const _0xc69e79=_0x43c2e5,{editor:_0x2f9811}=this,_0xae730e=_0x2f9811[_0xc69e79(0x168)][_0xc69e79(0x16e)](_0x5d6dfe)[_0xc69e79(0x166)]();this[_0xc69e79(0x167)]=!!_0xae730e,this[_0xc69e79(0x17c)]=_0xae730e?.[_0xc69e79(0x16b)](_0xc69e79(0x17a))??null;}[_0x43c2e5(0x17d)]({value:_0x1286ae}){const _0x1d86ab=_0x43c2e5,{editor:_0x2c83a9}=this,_0x1b5c6e=_0x2c83a9[_0x1d86ab(0x168)][_0x1d86ab(0x16e)](_0x5d6dfe),_0x4f4e27=_0x1b5c6e[_0x1d86ab(0x166)]();_0x4f4e27&&Number[_0x1d86ab(0x16f)](_0x1286ae)&&_0x2c83a9[_0x1d86ab(0x178)][_0x1d86ab(0x174)](_0x2ac967=>{const _0x3671e0=_0x1d86ab;_0x2ac967[_0x3671e0(0x173)](_0x3671e0(0x17a),_0x1286ae,_0x4f4e27),_0x1b5c6e[_0x3671e0(0x179)](_0x2ac967);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e5600=_0x5a3c;function _0x4f08(){const _0x8aebe0=['3978591tzqBGD','6lQneQO','56oxBlUC','isEnabled','includes','835394MCUuEX','getAttribute','44thnzwv','get','3902530nUUtrU','_updateFootnotesCounters','footnotesListStyle','getFootnotesDefinitionsObjectElement','change','execute','650964ncLYSq','plugins','6314024rTjOAY','9DXTzYv','144190QLMGfT','refresh','value','setAttribute','model','275naxooP','24446qUWFQj'];_0x4f08=function(){return _0x8aebe0;};return _0x4f08();}(function(_0x35c318,_0x5ab8c2){const _0x44e4d6=_0x5a3c,_0x16ffef=_0x35c318();while(!![]){try{const _0xa53e77=parseInt(_0x44e4d6(0x76))/0x1*(parseInt(_0x44e4d6(0x79))/0x2)+parseInt(_0x44e4d6(0x77))/0x3+parseInt(_0x44e4d6(0x7e))/0x4*(-parseInt(_0x44e4d6(0x8a))/0x5)+-parseInt(_0x44e4d6(0x78))/0x6*(-parseInt(_0x44e4d6(0x7c))/0x7)+-parseInt(_0x44e4d6(0x88))/0x8*(-parseInt(_0x44e4d6(0x89))/0x9)+-parseInt(_0x44e4d6(0x80))/0xa+-parseInt(_0x44e4d6(0x75))/0xb*(parseInt(_0x44e4d6(0x86))/0xc);if(_0xa53e77===_0x5ab8c2)break;else _0x16ffef['push'](_0x16ffef['shift']());}catch(_0x136bae){_0x16ffef['push'](_0x16ffef['shift']());}}}(_0x4f08,0xd0e52));import{Command as _0x5593d6}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x41a4e3}from'../footnotespropertiesconfig.js';function _0x5a3c(_0x240dea,_0x28173e){const _0x4f0887=_0x4f08();return _0x5a3c=function(_0x5a3caa,_0x4fdece){_0x5a3caa=_0x5a3caa-0x74;let _0x2ec725=_0x4f0887[_0x5a3caa];return _0x2ec725;},_0x5a3c(_0x240dea,_0x28173e);}import{FootnotesTracker as _0x12c9d6}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x5593d6{[_0x4e5600(0x8b)](){const _0xdbc0a1=_0x4e5600,{editor:_0x362003}=this,_0x138705=_0x362003[_0xdbc0a1(0x87)][_0xdbc0a1(0x7f)](_0x12c9d6)[_0xdbc0a1(0x83)]();this[_0xdbc0a1(0x7a)]=!!_0x138705,this[_0xdbc0a1(0x8c)]=_0x138705?.[_0xdbc0a1(0x7d)](_0xdbc0a1(0x82))??null;}[_0x4e5600(0x85)]({value:_0x57712d}){const _0x45eb37=_0x4e5600,{editor:_0x3df3c6}=this,_0x297bb9=_0x3df3c6[_0x45eb37(0x87)][_0x45eb37(0x7f)](_0x12c9d6),_0x374acf=_0x297bb9[_0x45eb37(0x83)]();_0x374acf&&_0x41a4e3[_0x45eb37(0x7b)](_0x57712d)&&_0x3df3c6[_0x45eb37(0x74)][_0x45eb37(0x84)](_0x149cff=>{const _0x389f3f=_0x45eb37;_0x149cff[_0x389f3f(0x8d)](_0x389f3f(0x82),_0x57712d,_0x374acf),_0x297bb9[_0x389f3f(0x81)](_0x149cff);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3df2e0=_0x3cdf;(function(_0x2389f3,_0x5d19c0){const _0x31f0b1=_0x3cdf,_0x28a05d=_0x2389f3();while(!![]){try{const _0x490f9d=-parseInt(_0x31f0b1(0x92))/0x1+parseInt(_0x31f0b1(0x89))/0x2+-parseInt(_0x31f0b1(0x8d))/0x3+-parseInt(_0x31f0b1(0x8c))/0x4*(parseInt(_0x31f0b1(0x91))/0x5)+-parseInt(_0x31f0b1(0x85))/0x6*(parseInt(_0x31f0b1(0x87))/0x7)+-parseInt(_0x31f0b1(0x84))/0x8+parseInt(_0x31f0b1(0x8f))/0x9;if(_0x490f9d===_0x5d19c0)break;else _0x28a05d['push'](_0x28a05d['shift']());}catch(_0x4b6655){_0x28a05d['push'](_0x28a05d['shift']());}}}(_0x5daa,0xcb476));function _0x3cdf(_0x5611d7,_0x29fefd){const _0x5daa9e=_0x5daa();return _0x3cdf=function(_0x3cdf8b,_0x351ef9){_0x3cdf8b=_0x3cdf8b-0x84;let _0x28a956=_0x5daa9e[_0x3cdf8b];return _0x28a956;},_0x3cdf(_0x5611d7,_0x29fefd);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x3df2e0(0x93),_0x3df2e0(0x86),_0x3df2e0(0x8b),_0x3df2e0(0x88),_0x3df2e0(0x94),_0x3df2e0(0x8a),_0x3df2e0(0x90),_0x3df2e0(0x8e)];function _0x5daa(){const _0x39632b=['upper-roman','23712525TtvfDW','lower-roman','70DrupUU','120529RqkEsO','decimal','lower-alpha','12093296ozgbKQ','6BmJTel','decimal-leading-zero','58989pSOgRJ','upper-latin','2936850LhUfNF','upper-alpha','lower-latin','227312yNKgBn','2502930mnwvxs'];_0x5daa=function(){return _0x39632b;};return _0x5daa();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4bdba3=_0x543a;(function(_0x318b10,_0x54c6e7){const _0x3fa779=_0x543a,_0x372da6=_0x318b10();while(!![]){try{const _0xa42a7c=-parseInt(_0x3fa779(0xbc))/0x1*(-parseInt(_0x3fa779(0xb7))/0x2)+parseInt(_0x3fa779(0xb9))/0x3*(-parseInt(_0x3fa779(0xca))/0x4)+parseInt(_0x3fa779(0x91))/0x5+parseInt(_0x3fa779(0xec))/0x6*(parseInt(_0x3fa779(0xd1))/0x7)+parseInt(_0x3fa779(0xdf))/0x8*(-parseInt(_0x3fa779(0xbb))/0x9)+-parseInt(_0x3fa779(0xd0))/0xa+-parseInt(_0x3fa779(0x98))/0xb*(-parseInt(_0x3fa779(0xb1))/0xc);if(_0xa42a7c===_0x54c6e7)break;else _0x372da6['push'](_0x372da6['shift']());}catch(_0x2261b6){_0x372da6['push'](_0x372da6['shift']());}}}(_0x4822,0xece87));function _0x543a(_0x1c3457,_0x24cf60){const _0x482266=_0x4822();return _0x543a=function(_0x543a12,_0xe7a04a){_0x543a12=_0x543a12-0x8a;let _0x48b847=_0x482266[_0x543a12];return _0x48b847;},_0x543a(_0x1c3457,_0x24cf60);}import{Plugin as _0x17dfe2}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x1690eb}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x20b3a0}from'./commands/footnotesstartcommand.js';function _0x4822(){const _0x432558=['downcast','toViewElement','element:ol','8544216MuLckH','getItems','upper-alpha','lower-latin','$text','isPremiumPlugin','init','add','start','isNaN','_definePostfixer','isOfficialPlugin','removeAttribute','564heScHV','_getDefaultListStyle','footnotes.footnotesProperties.defaultListStyle','decimal-leading-zero','getAttribute','hasAttribute','upper-latin','upcast','for','_updateFootnotesCounters','element','config','626095uALuTN','lower-roman','toUpperCase','attribute:footnotesListStart:footnotesDefinitions','modelCursor','footnotesDefinitions','footnotesListStyle','187vbvjVa','parseInt','name','getChanges','setAttribute','type','hasClass','setStyle','checkAttribute','_getDefaultStartIndex','padStart','FootnotesPropertiesEditing','footnotesStart','lower-alpha','insert','requires','document','define','from','model','get','upper-roman','getChildren','viewItem','find','427884BfPxXu','extend','list-style-type','decimal','registerPostFixer','editor','3148MEYZdI','parent','3QwTpaA','footnotesListStart','9LjlKZc','761BApDtQ','_defineConverters','consume','setFootnoteFormatter','commands','getStyle','floor','footnotesStyle','_defineFormatter','toLowerCase','writer','pluginName','consumable','createRangeOn','212484llZJzi','attribute:footnotesListStyle:footnotesDefinitions','item','max','footnotes.footnotesProperties.defaultStartIndex','removeStyle','10661650MiLpOi','91483CaWgML','differ','nodeAfter','fromCharCode','_formatFootnoteListValue','footnotes-list','position','mapper','schema','plugins','_defineSchema'];_0x4822=function(){return _0x432558;};return _0x4822();}import{FootnotesTracker as _0x2dc302}from'../footnotestracker.js';import{FootnotesEditing as _0x37e63e}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x17dfe2{static get[_0x4bdba3(0xc7)](){const _0x3ce773=_0x4bdba3;return _0x3ce773(0xa3);}static get[_0x4bdba3(0xa7)](){return[_0x37e63e,_0x2dc302];}static get[_0x4bdba3(0xea)](){return!0x0;}static get[_0x4bdba3(0xe4)](){return!0x0;}[_0x4bdba3(0xe5)](){const _0x399d9c=_0x4bdba3,{editor:_0x18a663}=this;_0x18a663[_0x399d9c(0x90)][_0x399d9c(0xa9)](_0x399d9c(0xee),_0x399d9c(0xb4)),_0x18a663[_0x399d9c(0x90)][_0x399d9c(0xa9)](_0x399d9c(0xce),0x1),_0x18a663[_0x399d9c(0xc0)][_0x399d9c(0xe6)](_0x399d9c(0xc3),new _0x1690eb(_0x18a663)),_0x18a663[_0x399d9c(0xc0)][_0x399d9c(0xe6)](_0x399d9c(0xa4),new _0x20b3a0(_0x18a663)),this[_0x399d9c(0xdb)](),this[_0x399d9c(0xbd)](),this[_0x399d9c(0xc4)](),this[_0x399d9c(0xe9)]();}[_0x4bdba3(0xdb)](){const _0x2ab2f0=_0x4bdba3,{editor:_0x312e7f}=this,{schema:_0x514a88}=_0x312e7f[_0x2ab2f0(0xab)];_0x514a88[_0x2ab2f0(0xb2)](_0x2ab2f0(0x96),{'allowAttributes':[_0x2ab2f0(0x97),_0x2ab2f0(0xba)]});}[_0x4bdba3(0xbd)](){const _0x3719e6=_0x4bdba3,{editor:_0x3ab4d0}=this,{conversion:_0x50b8f3,model:_0x5e1208}=_0x3ab4d0,{schema:_0x3cfe52}=_0x5e1208;_0x50b8f3[_0x3719e6(0x8d)](_0x3719e6(0x8c))[_0x3719e6(0xe6)](_0x27418b=>{const _0x4d8826=_0x3719e6;_0x27418b['on'](_0x4d8826(0xde),(_0x5a7143,_0x388ffe,_0x4151ca)=>{const _0x480220=_0x4d8826,_0x52581c=_0x388ffe[_0x480220(0xaf)],_0x3ed736=_0x388ffe[_0x480220(0x95)]?.[_0x480220(0xb8)];_0x52581c[_0x480220(0x9e)](_0x480220(0xd6))&&_0x3ed736?.['is'](_0x480220(0x8f),_0x480220(0x96))&&(function(_0x50ad89,_0xc9d29c,_0x1d280f,_0x1cf78a){const _0x27dff3=_0x480220;if(!_0x1cf78a[_0x27dff3(0xa0)](_0xc9d29c,_0x27dff3(0xba)))return;let _0x5a6a77=0x1;const _0x5cbc3f=_0x1d280f[_0x27dff3(0xc8)][_0x27dff3(0xbe)](_0x50ad89,{'attributes':_0x27dff3(0xe7)});if(_0x5cbc3f){const _0x5a24f0=Number[_0x27dff3(0x99)](_0x50ad89[_0x27dff3(0xf0)](_0x27dff3(0xe7)),0xa);Number[_0x27dff3(0xe8)](_0x5a24f0)||(_0x5a6a77=_0x5a24f0);}!_0x5cbc3f&&_0xc9d29c[_0x27dff3(0x8a)](_0x27dff3(0xba))||_0x1d280f[_0x27dff3(0xc6)][_0x27dff3(0x9c)](_0x27dff3(0xba),_0x5a6a77,_0xc9d29c);}(_0x52581c,_0x3ed736,_0x4151ca,_0x3cfe52),function(_0x18d7cf,_0x4b789f,_0x2d5062,_0x468864){const _0x2f2ad4=_0x480220;if(!_0x468864[_0x2f2ad4(0xa0)](_0x4b789f,_0x2f2ad4(0x97)))return;let _0x27dedd=_0x2f2ad4(0xb4),_0x203e17=!0x1;if(_0x2d5062[_0x2f2ad4(0xc8)][_0x2f2ad4(0xbe)](_0x18d7cf,{'attributes':_0x2f2ad4(0x9d)})){const _0x1fc2b8={0x1:_0x2f2ad4(0xb4),'a':_0x2f2ad4(0xa5),'A':_0x2f2ad4(0xe1),'i':_0x2f2ad4(0x92),'I':_0x2f2ad4(0xad)}[_0x18d7cf[_0x2f2ad4(0xf0)](_0x2f2ad4(0x9d))];_0x1fc2b8&&(_0x27dedd=_0x1fc2b8),_0x203e17=!0x0;}_0x2d5062[_0x2f2ad4(0xc8)][_0x2f2ad4(0xbe)](_0x18d7cf,{'styles':_0x2f2ad4(0xb3)})&&(_0x27dedd=function(_0x5a0597){const _0x50e3e0=_0x2f2ad4;switch(_0x5a0597){case _0x50e3e0(0xa5):return _0x50e3e0(0xe2);case _0x50e3e0(0xe1):return _0x50e3e0(0x8b);default:return _0x5a0597;}}(_0x18d7cf[_0x2f2ad4(0xc1)](_0x2f2ad4(0xb3))),_0x203e17=!0x0),!_0x203e17&&_0x4b789f[_0x2f2ad4(0x8a)](_0x2f2ad4(0x97))||_0x2d5062[_0x2f2ad4(0xc6)][_0x2f2ad4(0x9c)](_0x2f2ad4(0x97),_0x27dedd,_0x4b789f);}(_0x52581c,_0x3ed736,_0x4151ca,_0x3cfe52));});}),_0x50b8f3[_0x3719e6(0x8d)](_0x3719e6(0xdc))[_0x3719e6(0xe6)](_0x5e14bd=>{const _0xb6c1ff=_0x3719e6;_0x5e14bd['on'](_0xb6c1ff(0x94),(_0x234e44,_0x4d1d56,_0xd4fc5d)=>{const _0x14177d=_0xb6c1ff;if(!_0xd4fc5d[_0x14177d(0xc8)][_0x14177d(0xbe)](_0x4d1d56[_0x14177d(0xcc)],_0x234e44[_0x14177d(0x9a)]))return;const _0x3050a5=M(_0x4d1d56[_0x14177d(0xcc)],_0xd4fc5d[_0x14177d(0xd8)]),{attributeNewValue:_0x381fdc}=_0x4d1d56;null==_0x381fdc||0x1===_0x381fdc?_0xd4fc5d[_0x14177d(0xc6)][_0x14177d(0xeb)](_0x14177d(0xe7),_0x3050a5):_0xd4fc5d[_0x14177d(0xc6)][_0x14177d(0x9c)](_0x14177d(0xe7),String(_0x381fdc),_0x3050a5);}),_0x5e14bd['on'](_0xb6c1ff(0xcb),(_0x266f70,_0x34f672,_0x4a09a1)=>{const _0x29a5f8=_0xb6c1ff;if(!_0x4a09a1[_0x29a5f8(0xc8)][_0x29a5f8(0xbe)](_0x34f672[_0x29a5f8(0xcc)],_0x266f70[_0x29a5f8(0x9a)]))return;const _0x25ed0e=M(_0x34f672[_0x29a5f8(0xcc)],_0x4a09a1[_0x29a5f8(0xd8)]),{attributeNewValue:_0xc42e72}=_0x34f672;_0xc42e72&&_0x29a5f8(0xb4)!==_0xc42e72?_0x4a09a1[_0x29a5f8(0xc6)][_0x29a5f8(0x9f)](_0x29a5f8(0xb3),_0xc42e72,_0x25ed0e):_0x4a09a1[_0x29a5f8(0xc6)][_0x29a5f8(0xcf)](_0x29a5f8(0xb3),_0x25ed0e);});});}[_0x4bdba3(0xe9)](){const _0x480065=_0x4bdba3,{editor:_0x4c9ebb}=this,{model:_0xf98731}=_0x4c9ebb,_0x3a2d6d=_0x4c9ebb[_0x480065(0xda)][_0x480065(0xac)](_0x2dc302),_0x1760bc=this[_0x480065(0xed)](),_0x37f598=this[_0x480065(0xa1)]();_0xf98731[_0x480065(0xa8)][_0x480065(0xb5)](_0x506b02=>{const _0x132c7e=_0x480065,_0x11429a=_0xf98731[_0x132c7e(0xa8)][_0x132c7e(0xd2)][_0x132c7e(0x9b)]();let _0x2fc4af=!0x1;for(const _0x22a3aa of _0x11429a){if(_0x132c7e(0xa6)!==_0x22a3aa[_0x132c7e(0x9d)]||_0x132c7e(0xe3)===_0x22a3aa[_0x132c7e(0x9a)])continue;const _0x49ecb1=_0xf98731[_0x132c7e(0xc9)](_0x22a3aa[_0x132c7e(0xd7)][_0x132c7e(0xd3)]);for(const _0x3a9458 of _0x49ecb1[_0x132c7e(0xe0)]())_0x3a9458['is'](_0x132c7e(0x8f),_0x132c7e(0x96))&&(!_0x3a9458[_0x132c7e(0x8a)](_0x132c7e(0xba))&&_0xf98731[_0x132c7e(0xd9)][_0x132c7e(0xa0)](_0x3a9458,_0x132c7e(0xba))&&(_0x506b02[_0x132c7e(0x9c)](_0x132c7e(0xba),_0x37f598,_0x3a9458),_0x2fc4af=!0x0),!_0x3a9458[_0x132c7e(0x8a)](_0x132c7e(0x97))&&_0xf98731[_0x132c7e(0xd9)][_0x132c7e(0xa0)](_0x3a9458,_0x132c7e(0x97))&&(_0x506b02[_0x132c7e(0x9c)](_0x132c7e(0x97),_0x1760bc,_0x3a9458),_0x2fc4af=!0x0));}return _0x2fc4af&&_0x3a2d6d[_0x132c7e(0x8e)](_0x506b02),_0x2fc4af;});}[_0x4bdba3(0xc4)](){const _0x4b1a3e=_0x4bdba3,{editor:_0x183a81}=this;_0x183a81[_0x4b1a3e(0xda)][_0x4b1a3e(0xac)](_0x2dc302)[_0x4b1a3e(0xbf)](_0x119796=>this[_0x4b1a3e(0xd5)](_0x119796));}[_0x4bdba3(0xed)](){const _0x40bba9=_0x4bdba3;return this[_0x40bba9(0xb6)][_0x40bba9(0x90)][_0x40bba9(0xac)](_0x40bba9(0xee));}[_0x4bdba3(0xa1)](){const _0x82e151=_0x4bdba3;return this[_0x82e151(0xb6)][_0x82e151(0x90)][_0x82e151(0xac)](_0x82e151(0xce));}[_0x4bdba3(0xd5)]({container:_0x3c8b56,value:_0x2e6f62,digits:_0x1ae788}){const _0x36301d=_0x4bdba3,_0x33c9f7=_0x3c8b56[_0x36301d(0xf0)](_0x36301d(0x97)),_0x28d0e9=_0x3c8b56[_0x36301d(0xf0)](_0x36301d(0xba)),_0x650aee=Math[_0x36301d(0xc2)](_0x2e6f62)+(_0x28d0e9??0x1)-0x1;switch(_0x33c9f7){case _0x36301d(0xef):return function(_0x5224ab,_0x59caaf){const _0x52a0c0=_0x36301d;return String(_0x5224ab)[_0x52a0c0(0xa2)](_0x59caaf,'0');}(_0x650aee,Math[_0x36301d(0xcd)](0x2,_0x1ae788));case _0x36301d(0xa5):case _0x36301d(0xe2):return N(_0x650aee,!0x1);case _0x36301d(0xe1):case _0x36301d(0x8b):return N(_0x650aee,!0x0);case _0x36301d(0x92):return X(_0x650aee,!0x1);case _0x36301d(0xad):return X(_0x650aee,!0x0);default:return String(_0x650aee);}}}function M(_0x257e30,_0x3fdbde){const _0x3e6216=_0x4bdba3,_0x57de2b=_0x3fdbde[_0x3e6216(0xdd)](_0x257e30);return Array[_0x3e6216(0xaa)](_0x57de2b[_0x3e6216(0xae)]())[_0x3e6216(0xb0)](_0x17d887=>_0x17d887['is'](_0x3e6216(0x8f),'ol')&&_0x17d887[_0x3e6216(0x9e)](_0x3e6216(0xd6)));}function N(_0x540c26,_0x4681c6){const _0x5609d3=_0x4bdba3;let _0x26376a='',_0x188aa2=_0x540c26;for(;_0x188aa2>0x0;){const _0x371bfc=(_0x188aa2-0x1)%0x1a;_0x26376a=String[_0x5609d3(0xd4)](0x61+_0x371bfc)+_0x26376a,_0x188aa2=Math[_0x5609d3(0xc2)]((_0x188aa2-0x1)/0x1a);}return _0x4681c6?_0x26376a[_0x5609d3(0x93)]():_0x26376a;}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(_0x4fa62f,_0x233dfd){const _0x3ac17d=_0x4bdba3;let _0x33bf2a='',_0x5adfc8=_0x4fa62f;for(const {value:_0x2a94da,numeral:_0x729a3b}of V)for(;_0x5adfc8>=_0x2a94da;)_0x33bf2a+=_0x729a3b,_0x5adfc8-=_0x2a94da;return _0x233dfd?_0x33bf2a:_0x33bf2a[_0x3ac17d(0xc5)]();}
|
|
23
|
+
const _0x279099=_0x3416;(function(_0x733383,_0x4534d8){const _0x48795a=_0x3416,_0x3d9c5b=_0x733383();while(!![]){try{const _0x426267=-parseInt(_0x48795a(0x158))/0x1+parseInt(_0x48795a(0x15f))/0x2*(-parseInt(_0x48795a(0x152))/0x3)+-parseInt(_0x48795a(0x153))/0x4*(parseInt(_0x48795a(0x151))/0x5)+-parseInt(_0x48795a(0x128))/0x6*(-parseInt(_0x48795a(0x129))/0x7)+parseInt(_0x48795a(0x144))/0x8+parseInt(_0x48795a(0x17c))/0x9*(parseInt(_0x48795a(0x175))/0xa)+parseInt(_0x48795a(0x159))/0xb;if(_0x426267===_0x4534d8)break;else _0x3d9c5b['push'](_0x3d9c5b['shift']());}catch(_0x46410c){_0x3d9c5b['push'](_0x3d9c5b['shift']());}}}(_0x5109,0x213ed));import{Plugin as _0x5c1eeb}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x363f58}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x549ef1}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x483912}from'../footnotestracker.js';import{FootnotesEditing as _0x1db2db}from'../footnotesediting.js';function _0x5109(){const _0x3b3e41=['_formatFootnoteListValue','footnotesDefinitions','floor','_defineFormatter','footnotesListStart','get','977814xRFRdg','nodeAfter','_defineSchema','upper-roman','from','isOfficialPlugin','insert','toLowerCase','list-style-type','fromCharCode','footnotes-list','decimal-leading-zero','mapper','FootnotesPropertiesEditing','attribute:footnotesListStyle:footnotesDefinitions','differ','_defineConverters','setAttribute','6DnmpgX','1508360LyuKhC','footnotesListStyle','_getDefaultStartIndex','item','toUpperCase','type','add','getStyle','setStyle','define','position','getItems','_definePostfixer','_updateFootnotesCounters','pluginName','parseInt','$text','find','requires','writer','padStart','upper-alpha','footnotes.footnotesProperties.defaultListStyle','hasClass','document','parent','plugins','1083296yMHviP','footnotesStyle','consume','upper-latin','isNaN','isPremiumPlugin','lower-alpha','consumable','editor','schema','config','createRangeOn','lower-latin','25tXMbPy','669822pUqYCT','206084NbJxss','getAttribute','footnotesStart','_getDefaultListStyle','viewItem','14849NYjhYM','1895993rfDjLB','checkAttribute','getChildren','upcast','removeAttribute','element','2TpJnJY','max','init','hasAttribute','footnotes.footnotesProperties.defaultStartIndex','extend','setFootnoteFormatter','name','element:ol','registerPostFixer','commands','start','toViewElement','lower-roman','modelCursor','model','downcast','getChanges','for','attribute:footnotesListStart:footnotesDefinitions','decimal','removeStyle','10FUmXFS'];_0x5109=function(){return _0x3b3e41;};return _0x5109();}function _0x3416(_0x39c109,_0x4b2e6f){const _0x5109b3=_0x5109();return _0x3416=function(_0x3416d4,_0x31cf3b){_0x3416d4=_0x3416d4-0x119;let _0x39f665=_0x5109b3[_0x3416d4];return _0x39f665;},_0x3416(_0x39c109,_0x4b2e6f);}export class FootnotesPropertiesEditing extends _0x5c1eeb{static get[_0x279099(0x137)](){const _0xc4ce48=_0x279099;return _0xc4ce48(0x123);}static get[_0x279099(0x13b)](){return[_0x1db2db,_0x483912];}static get[_0x279099(0x11b)](){return!0x0;}static get[_0x279099(0x149)](){return!0x0;}[_0x279099(0x161)](){const _0x47b8d6=_0x279099,{editor:_0x12dcc3}=this;_0x12dcc3[_0x47b8d6(0x14e)][_0x47b8d6(0x132)](_0x47b8d6(0x13f),_0x47b8d6(0x173)),_0x12dcc3[_0x47b8d6(0x14e)][_0x47b8d6(0x132)](_0x47b8d6(0x163),0x1),_0x12dcc3[_0x47b8d6(0x169)][_0x47b8d6(0x12f)](_0x47b8d6(0x145),new _0x363f58(_0x12dcc3)),_0x12dcc3[_0x47b8d6(0x169)][_0x47b8d6(0x12f)](_0x47b8d6(0x155),new _0x549ef1(_0x12dcc3)),this[_0x47b8d6(0x17e)](),this[_0x47b8d6(0x126)](),this[_0x47b8d6(0x179)](),this[_0x47b8d6(0x135)]();}[_0x279099(0x17e)](){const _0x48ddd5=_0x279099,{editor:_0x5dafff}=this,{schema:_0x596d9d}=_0x5dafff[_0x48ddd5(0x16e)];_0x596d9d[_0x48ddd5(0x164)](_0x48ddd5(0x177),{'allowAttributes':[_0x48ddd5(0x12a),_0x48ddd5(0x17a)]});}[_0x279099(0x126)](){const _0x108b56=_0x279099,{editor:_0x13b6f1}=this,{conversion:_0x31c064,model:_0x95f544}=_0x13b6f1,{schema:_0x15beac}=_0x95f544;_0x31c064[_0x108b56(0x171)](_0x108b56(0x15c))[_0x108b56(0x12f)](_0x30985e=>{const _0x9a990=_0x108b56;_0x30985e['on'](_0x9a990(0x167),(_0x240f69,_0x64e728,_0x4bcf61)=>{const _0x5710a8=_0x9a990,_0x41f5a7=_0x64e728[_0x5710a8(0x157)],_0x135339=_0x64e728[_0x5710a8(0x16d)]?.[_0x5710a8(0x142)];_0x41f5a7[_0x5710a8(0x140)](_0x5710a8(0x120))&&_0x135339?.['is'](_0x5710a8(0x15e),_0x5710a8(0x177))&&(function(_0x25193f,_0x2c0d29,_0x506543,_0x58f54d){const _0x1ee2e7=_0x5710a8;if(!_0x58f54d[_0x1ee2e7(0x15a)](_0x2c0d29,_0x1ee2e7(0x17a)))return;let _0xb6cdac=0x1;const _0xc250d9=_0x506543[_0x1ee2e7(0x14b)][_0x1ee2e7(0x146)](_0x25193f,{'attributes':_0x1ee2e7(0x16a)});if(_0xc250d9){const _0x86416a=Number[_0x1ee2e7(0x138)](_0x25193f[_0x1ee2e7(0x154)](_0x1ee2e7(0x16a)),0xa);Number[_0x1ee2e7(0x148)](_0x86416a)||(_0xb6cdac=_0x86416a);}!_0xc250d9&&_0x2c0d29[_0x1ee2e7(0x162)](_0x1ee2e7(0x17a))||_0x506543[_0x1ee2e7(0x13c)][_0x1ee2e7(0x127)](_0x1ee2e7(0x17a),_0xb6cdac,_0x2c0d29);}(_0x41f5a7,_0x135339,_0x4bcf61,_0x15beac),function(_0x11ac90,_0x49dc75,_0x394734,_0x55969d){const _0x22f911=_0x5710a8;if(!_0x55969d[_0x22f911(0x15a)](_0x49dc75,_0x22f911(0x12a)))return;let _0x1b5991=_0x22f911(0x173),_0x49ae0e=!0x1;if(_0x394734[_0x22f911(0x14b)][_0x22f911(0x146)](_0x11ac90,{'attributes':_0x22f911(0x12e)})){const _0x41d988={0x1:_0x22f911(0x173),'a':_0x22f911(0x14a),'A':_0x22f911(0x13e),'i':_0x22f911(0x16c),'I':_0x22f911(0x119)}[_0x11ac90[_0x22f911(0x154)](_0x22f911(0x12e))];_0x41d988&&(_0x1b5991=_0x41d988),_0x49ae0e=!0x0;}_0x394734[_0x22f911(0x14b)][_0x22f911(0x146)](_0x11ac90,{'styles':_0x22f911(0x11e)})&&(_0x1b5991=function(_0x5a5419){const _0x17290a=_0x22f911;switch(_0x5a5419){case _0x17290a(0x14a):return _0x17290a(0x150);case _0x17290a(0x13e):return _0x17290a(0x147);default:return _0x5a5419;}}(_0x11ac90[_0x22f911(0x130)](_0x22f911(0x11e))),_0x49ae0e=!0x0),!_0x49ae0e&&_0x49dc75[_0x22f911(0x162)](_0x22f911(0x12a))||_0x394734[_0x22f911(0x13c)][_0x22f911(0x127)](_0x22f911(0x12a),_0x1b5991,_0x49dc75);}(_0x41f5a7,_0x135339,_0x4bcf61,_0x15beac));});}),_0x31c064[_0x108b56(0x171)](_0x108b56(0x16f))[_0x108b56(0x12f)](_0x485e04=>{const _0x46cb06=_0x108b56;_0x485e04['on'](_0x46cb06(0x172),(_0x16feed,_0x3d6055,_0x5be6e9)=>{const _0x3a3392=_0x46cb06;if(!_0x5be6e9[_0x3a3392(0x14b)][_0x3a3392(0x146)](_0x3d6055[_0x3a3392(0x12c)],_0x16feed[_0x3a3392(0x166)]))return;const _0x3d2803=M(_0x3d6055[_0x3a3392(0x12c)],_0x5be6e9[_0x3a3392(0x122)]),{attributeNewValue:_0xe9d6a2}=_0x3d6055;null==_0xe9d6a2||0x1===_0xe9d6a2?_0x5be6e9[_0x3a3392(0x13c)][_0x3a3392(0x15d)](_0x3a3392(0x16a),_0x3d2803):_0x5be6e9[_0x3a3392(0x13c)][_0x3a3392(0x127)](_0x3a3392(0x16a),String(_0xe9d6a2),_0x3d2803);}),_0x485e04['on'](_0x46cb06(0x124),(_0x8ffe03,_0x308205,_0x346638)=>{const _0x11253f=_0x46cb06;if(!_0x346638[_0x11253f(0x14b)][_0x11253f(0x146)](_0x308205[_0x11253f(0x12c)],_0x8ffe03[_0x11253f(0x166)]))return;const _0x148724=M(_0x308205[_0x11253f(0x12c)],_0x346638[_0x11253f(0x122)]),{attributeNewValue:_0x2258bb}=_0x308205;_0x2258bb&&_0x11253f(0x173)!==_0x2258bb?_0x346638[_0x11253f(0x13c)][_0x11253f(0x131)](_0x11253f(0x11e),_0x2258bb,_0x148724):_0x346638[_0x11253f(0x13c)][_0x11253f(0x174)](_0x11253f(0x11e),_0x148724);});});}[_0x279099(0x135)](){const _0x9fea9d=_0x279099,{editor:_0x3adda3}=this,{model:_0x2c3230}=_0x3adda3,_0x378e5d=_0x3adda3[_0x9fea9d(0x143)][_0x9fea9d(0x17b)](_0x483912),_0x2a297b=this[_0x9fea9d(0x156)](),_0x434e91=this[_0x9fea9d(0x12b)]();_0x2c3230[_0x9fea9d(0x141)][_0x9fea9d(0x168)](_0x1b66ff=>{const _0xf58e63=_0x9fea9d,_0x349451=_0x2c3230[_0xf58e63(0x141)][_0xf58e63(0x125)][_0xf58e63(0x170)]();let _0x437e19=!0x1;for(const _0xd6b5c5 of _0x349451){if(_0xf58e63(0x11c)!==_0xd6b5c5[_0xf58e63(0x12e)]||_0xf58e63(0x139)===_0xd6b5c5[_0xf58e63(0x166)])continue;const _0x53ffa6=_0x2c3230[_0xf58e63(0x14f)](_0xd6b5c5[_0xf58e63(0x133)][_0xf58e63(0x17d)]);for(const _0x31cf6a of _0x53ffa6[_0xf58e63(0x134)]())_0x31cf6a['is'](_0xf58e63(0x15e),_0xf58e63(0x177))&&(!_0x31cf6a[_0xf58e63(0x162)](_0xf58e63(0x17a))&&_0x2c3230[_0xf58e63(0x14d)][_0xf58e63(0x15a)](_0x31cf6a,_0xf58e63(0x17a))&&(_0x1b66ff[_0xf58e63(0x127)](_0xf58e63(0x17a),_0x434e91,_0x31cf6a),_0x437e19=!0x0),!_0x31cf6a[_0xf58e63(0x162)](_0xf58e63(0x12a))&&_0x2c3230[_0xf58e63(0x14d)][_0xf58e63(0x15a)](_0x31cf6a,_0xf58e63(0x12a))&&(_0x1b66ff[_0xf58e63(0x127)](_0xf58e63(0x12a),_0x2a297b,_0x31cf6a),_0x437e19=!0x0));}return _0x437e19&&_0x378e5d[_0xf58e63(0x136)](_0x1b66ff),_0x437e19;});}[_0x279099(0x179)](){const _0x29154e=_0x279099,{editor:_0x1a3c6f}=this;_0x1a3c6f[_0x29154e(0x143)][_0x29154e(0x17b)](_0x483912)[_0x29154e(0x165)](_0x4461ba=>this[_0x29154e(0x176)](_0x4461ba));}[_0x279099(0x156)](){const _0x49d8c7=_0x279099;return this[_0x49d8c7(0x14c)][_0x49d8c7(0x14e)][_0x49d8c7(0x17b)](_0x49d8c7(0x13f));}[_0x279099(0x12b)](){const _0x23c435=_0x279099;return this[_0x23c435(0x14c)][_0x23c435(0x14e)][_0x23c435(0x17b)](_0x23c435(0x163));}[_0x279099(0x176)]({container:_0x16e343,value:_0x255df4,digits:_0x14ff20}){const _0x4fe94c=_0x279099,_0x6bf5a4=_0x16e343[_0x4fe94c(0x154)](_0x4fe94c(0x12a)),_0x425a37=_0x16e343[_0x4fe94c(0x154)](_0x4fe94c(0x17a)),_0x32d62d=Math[_0x4fe94c(0x178)](_0x255df4)+(_0x425a37??0x1)-0x1;switch(_0x6bf5a4){case _0x4fe94c(0x121):return function(_0x3f7c83,_0x2887b0){const _0x16db20=_0x4fe94c;return String(_0x3f7c83)[_0x16db20(0x13d)](_0x2887b0,'0');}(_0x32d62d,Math[_0x4fe94c(0x160)](0x2,_0x14ff20));case _0x4fe94c(0x14a):case _0x4fe94c(0x150):return N(_0x32d62d,!0x1);case _0x4fe94c(0x13e):case _0x4fe94c(0x147):return N(_0x32d62d,!0x0);case _0x4fe94c(0x16c):return X(_0x32d62d,!0x1);case _0x4fe94c(0x119):return X(_0x32d62d,!0x0);default:return String(_0x32d62d);}}}function M(_0x30387c,_0xa62b11){const _0x419631=_0x279099,_0x34e146=_0xa62b11[_0x419631(0x16b)](_0x30387c);return Array[_0x419631(0x11a)](_0x34e146[_0x419631(0x15b)]())[_0x419631(0x13a)](_0x41f5eb=>_0x41f5eb['is'](_0x419631(0x15e),'ol')&&_0x41f5eb[_0x419631(0x140)](_0x419631(0x120)));}function N(_0xec727,_0xcd3043){const _0x27d12b=_0x279099;let _0xbb56='',_0x2d059f=_0xec727;for(;_0x2d059f>0x0;){const _0x997333=(_0x2d059f-0x1)%0x1a;_0xbb56=String[_0x27d12b(0x11f)](0x61+_0x997333)+_0xbb56,_0x2d059f=Math[_0x27d12b(0x178)]((_0x2d059f-0x1)/0x1a);}return _0xcd3043?_0xbb56[_0x27d12b(0x12d)]():_0xbb56;}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(_0x173631,_0x1a4fe0){const _0x30265c=_0x279099;let _0x5d3cba='',_0x80024a=_0x173631;for(const {value:_0x182f4f,numeral:_0x2f8e34}of V)for(;_0x80024a>=_0x182f4f;)_0x5d3cba+=_0x2f8e34,_0x80024a-=_0x182f4f;return _0x1a4fe0?_0x5d3cba:_0x5d3cba[_0x30265c(0x11d)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0xca4556,ButtonView as _0x3dad4c,ContextualBalloon as _0x111f28,createDropdown as _0x325ce5}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x52698f}from'ckeditor5/src/widget.js';import{Plugin as _0x39129c}from'ckeditor5/src/core.js';import{IconFootnote as _0x42a933,IconListStyleDecimal as _0xec2eea,IconListStyleDecimalLeadingZero as _0x36f9b0,IconListStyleLowerLatin as _0x252087,IconListStyleLowerRoman as _0x5e387b,IconListStyleUpperLatin as _0x213fcf,IconListStyleUpperRoman as _0x4dd86d}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x592287}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x158ce6}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x39129c{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x111f28,_0x52698f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x29f0d2}=this,{componentFactory:_0x422a8d}=_0x29f0d2['ui'];_0x29f0d2['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x422a8d['add']('footnotesStyle',function(_0x4430c6){return _0x231904=>{const {t:t}=_0x231904,_0x3fd1cc=_0x4430c6['commands']['get']('footnotesStyle'),_0x4166aa=_0x325ce5(_0x231904),{buttonView:_0x2cb7e9}=_0x4166aa;return _0x4166aa['class']='ck-footnotes-styles-dropdown',_0x4166aa['bind']('isEnabled')['to'](_0x3fd1cc,'isEnabled'),_0x2cb7e9['set']({'label':t('Footnotes\x20style'),'icon':_0x42a933,'tooltip':!0x0}),_0x4166aa['once']('change:isOpen',()=>{const _0x3db7b3=function({editor:_0x842057,dropdownView:_0xf59be7}){const {t:t}=_0x842057['locale'],_0x1e82ed=t('Footnotes\x20definitions\x20styles'),_0x1777ef=function(_0x51c120){const t=_0x51c120['locale']['t'],_0x4e2c00=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0xec2eea},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x36f9b0},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5e387b},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4dd86d},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x252087},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x213fcf}];return _0x4e2c00['map'](function(_0x3c1f73){const _0x67f65f=_0x3c1f73['locale'];return({label:_0xe8c01c,icon:_0x167ca2,tooltip:_0x22054c,style:_0x31effc})=>{const _0x2096d9=_0x3c1f73['commands']['get']('footnotesStyle'),_0x338b26=new _0x3dad4c(_0x67f65f);return _0x338b26['set']({'label':_0xe8c01c,'icon':_0x167ca2,'tooltip':_0x22054c}),_0x338b26['bind']('isOn')['to'](_0x2096d9,'value',_0x1da64e=>_0x1da64e===_0x31effc),_0x338b26['bind']('isEnabled')['to'](_0x2096d9,'isEnabled'),_0x338b26['on']('execute',()=>{_0x3c1f73['execute']('footnotesStyle',{'value':_0x31effc}),_0x3c1f73['editing']['view']['focus']();}),_0x338b26;};}(_0x51c120));}(_0x842057),_0x5e71ca=new _0x592287(_0x842057['locale'],{'styleGridAriaLabel':_0x1e82ed,'styleButtonViews':_0x1777ef}),_0x3419c6=_0x842057['commands']['get']('footnotesStart');return _0x5e71ca['startIndexFieldView']['bind']('isEnabled')['to'](_0x3419c6),_0x5e71ca['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3419c6),_0x5e71ca['on']('footnotesListStart',(_0x167675,_0x248e2d)=>{_0x842057['execute']('footnotesStart',{'value':_0x248e2d['startIndex']});}),_0x5e71ca['delegate']('execute')['to'](_0xf59be7),_0x5e71ca;}({'editor':_0x4430c6,'dropdownView':_0x4166aa});_0x4166aa['panelView']['children']['add'](_0x3db7b3);}),_0x4166aa;};}(_0x29f0d2));}['afterInit'](){const {editor:_0x29eba7}=this,{t:t}=_0x29eba7['locale'],_0x533eec=_0x29eba7['plugins']['get'](_0x52698f),{defaultPositions:_0x236cb3}=_0xca4556;_0x533eec['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x29eba7['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xa269a1=>{let _0x40a05e=_0xa269a1['getFirstPosition']()?.['parent'];return _0x40a05e?.['is']('$text')&&(_0x40a05e=_0x40a05e['parent']),_0x40a05e?.['is']('element')?_0x40a05e['findAncestor'](_0x158ce6):null;},'positions':[_0x236cb3['southArrowNorth'],_0x236cb3['southArrowNorthMiddleWest'],_0x236cb3['southArrowNorthMiddleEast'],_0x236cb3['southArrowNorthWest'],_0x236cb3['southArrowNorthEast'],_0x236cb3['northArrowSouth'],_0x236cb3['northArrowSouthMiddleWest'],_0x236cb3['northArrowSouthMiddleEast'],_0x236cb3['northArrowSouthWest'],_0x236cb3['northArrowSouthEast'],_0x236cb3['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x421605,View as _0x1dd1ed,ViewCollection as _0x1bdcb3,FocusCycler as _0x2556fe,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et}from'ckeditor5/src/ui.js';import{FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x1dd1ed{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x1bdcb3();['focusCycler'];constructor(_0x2a672d,{styleButtonViews:_0x3135e5,styleGridAriaLabel:_0x43c5f4}){super(_0x2a672d),(this['focusCycler']=new _0x2556fe({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x3135e5,_0x43c5f4),[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 _0x3bc562 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3bc562['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x511eb7=_0x476e0a=>_0x476e0a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x511eb7),this['keystrokes']['set']('arrowleft',_0x511eb7),this['keystrokes']['set']('arrowup',_0x511eb7),this['keystrokes']['set']('arrowdown',_0x511eb7);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x269f1f,_0x116dfc){const _0x242eea=new _0x1dd1ed(this['locale']);return _0x242eea['children']=_0x242eea['createCollection'](),_0x242eea['children']['addMany'](_0x269f1f),_0x242eea['setTemplate']({'tag':'div','attributes':{'aria-label':_0x116dfc,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x242eea['children']}),_0x242eea['children']['delegate']('execute')['to'](this),_0x242eea['focus']=function(){for(const _0x2a5c18 of this['children'])if(_0x2a5c18 instanceof _0x421605&&_0x2a5c18['isOn'])return void _0x2a5c18['focus']();this['children']['first']['focus']();},_0x242eea['focusTracker']=new ot(),_0x242eea['keystrokes']=new rt(),_0x242eea['render'](),_0x242eea['keystrokes']['listenTo'](_0x242eea['element']),this['children']['add'](_0x242eea),_0x242eea;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x7b47e2=this['_createStartIndexPropertyView'](),_0x32eb24=[_0x7b47e2],_0x3c3c5b=new st(this['locale'],_0x32eb24);return _0x3c3c5b['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3c3c5b['buttonView']['bind']('isEnabled')['toMany'](_0x32eb24,'isEnabled',(..._0x9f8e4c)=>_0x9f8e4c['some'](_0x1c2dc5=>_0x1c2dc5)),_0x3c3c5b['buttonView']['on']('change:isEnabled',(_0x584da5,_0x5430f9,_0x4f42e8)=>{_0x4f42e8||(_0x3c3c5b['isCollapsed']=!0x0);}),this['children']['add'](_0x3c3c5b),[_0x7b47e2,_0x3c3c5b];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x408d59=new it(this['locale'],et);return _0x408d59['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x408d59['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x408d59['fieldView']['on']('input',()=>{const _0x4dd712=_0x408d59['fieldView']['element'],_0x43c3ad=_0x4dd712['valueAsNumber'];Number['isNaN'](_0x43c3ad)?_0x408d59['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4dd712['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x43c3ad}):_0x408d59['errorText']=t(_0x43c3ad<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x408d59;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x3062c8=_0xaae8;(function(_0x5a95ed,_0x4e2a3a){var _0x532993=_0xaae8,_0x53d628=_0x5a95ed();while(!![]){try{var _0x5a4c7c=-parseInt(_0x532993(0x160))/0x1*(-parseInt(_0x532993(0x163))/0x2)+-parseInt(_0x532993(0x166))/0x3*(-parseInt(_0x532993(0x161))/0x4)+parseInt(_0x532993(0x16f))/0x5+-parseInt(_0x532993(0x164))/0x6*(parseInt(_0x532993(0x167))/0x7)+parseInt(_0x532993(0x16c))/0x8*(-parseInt(_0x532993(0x15f))/0x9)+parseInt(_0x532993(0x168))/0xa*(parseInt(_0x532993(0x162))/0xb)+-parseInt(_0x532993(0x169))/0xc*(parseInt(_0x532993(0x16b))/0xd);if(_0x5a4c7c===_0x4e2a3a)break;else _0x53d628['push'](_0x53d628['shift']());}catch(_0x2daaa4){_0x53d628['push'](_0x53d628['shift']());}}}(_0x1635,0x591f6));import{Plugin as _0x2a1865}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x164ad9}from'./footnotesproperties/footnotespropertiesediting.js';function _0xaae8(_0x3e93b8,_0x34add4){var _0x1635c3=_0x1635();return _0xaae8=function(_0xaae85a,_0x45eb59){_0xaae85a=_0xaae85a-0x15f;var _0xcaace3=_0x1635c3[_0xaae85a];return _0xcaace3;},_0xaae8(_0x3e93b8,_0x34add4);}import{FootnotesPropertiesUI as _0x46d635}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x2a1865{static get[_0x3062c8(0x16a)](){var _0x57e06a=_0x3062c8;return _0x57e06a(0x16d);}static get[_0x3062c8(0x170)](){return[_0x164ad9,_0x46d635];}static get[_0x3062c8(0x165)](){return!0x0;}static get[_0x3062c8(0x16e)](){return!0x0;}}function _0x1635(){var _0x4562eb=['804282Leecun','isOfficialPlugin','3vlqqVM','7rYlytn','2980060ErQTMD','12cstLaK','pluginName','7152197TaOvXD','2265096XayFRQ','FootnotesProperties','isPremiumPlugin','1132155rJEOLh','requires','9UuqJuY','112cjAbtn','519208JZXDNG','11UJmZVe','12110AkImJR'];_0x1635=function(){return _0x4562eb;};return _0x1635();}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5947ba=_0x5e4a;function _0x5e4a(_0x10112d,_0x190db4){const _0x1c5e8c=_0x1c5e();return _0x5e4a=function(_0x5e4a7f,_0x97ed98){_0x5e4a7f=_0x5e4a7f-0xd4;let _0x33d75e=_0x1c5e8c[_0x5e4a7f];return _0x33d75e;},_0x5e4a(_0x10112d,_0x190db4);}(function(_0x5bd69e,_0x5873c8){const _0x4d1fa7=_0x5e4a,_0x3b18ee=_0x5bd69e();while(!![]){try{const _0x4a50b6=-parseInt(_0x4d1fa7(0x117))/0x1*(parseInt(_0x4d1fa7(0x10f))/0x2)+parseInt(_0x4d1fa7(0x106))/0x3+parseInt(_0x4d1fa7(0x110))/0x4*(-parseInt(_0x4d1fa7(0xf6))/0x5)+-parseInt(_0x4d1fa7(0xe8))/0x6+-parseInt(_0x4d1fa7(0xfa))/0x7*(-parseInt(_0x4d1fa7(0xfe))/0x8)+-parseInt(_0x4d1fa7(0xdf))/0x9*(-parseInt(_0x4d1fa7(0x111))/0xa)+parseInt(_0x4d1fa7(0x118))/0xb;if(_0x4a50b6===_0x5873c8)break;else _0x3b18ee['push'](_0x3b18ee['shift']());}catch(_0x3a555f){_0x3b18ee['push'](_0x3b18ee['shift']());}}}(_0x1c5e,0xa013e));import{Plugin as _0x1e007f}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x25f97e}from'./modelelementtracker.js';export class FootnotesTracker extends _0x1e007f{[_0x5947ba(0x131)]=[];[_0x5947ba(0xec)]=null;[_0x5947ba(0x12e)]=null;[_0x5947ba(0x123)];[_0x5947ba(0xda)];[_0x5947ba(0x108)];static get[_0x5947ba(0xe9)](){const _0x48e117=_0x5947ba;return _0x48e117(0x139);}static get[_0x5947ba(0x129)](){return!0x0;}static get[_0x5947ba(0xd5)](){return!0x0;}constructor(_0x5af880){const _0x478e27=_0x5947ba;super(_0x5af880),this[_0x478e27(0x123)]=new _0x25f97e(this[_0x478e27(0x134)][_0x478e27(0xe7)],{'elementName':_0x478e27(0xeb),'getElementKey':()=>_0x478e27(0x115)}),this[_0x478e27(0xda)]=new _0x25f97e(this[_0x478e27(0x134)][_0x478e27(0xe7)],{'elementName':_0x478e27(0x133),'getElementKey':_0x4b260d=>_0x4b260d[_0x478e27(0xed)](_0x478e27(0xe5))}),this[_0x478e27(0x108)]=new _0x25f97e(this[_0x478e27(0x134)][_0x478e27(0xe7)],{'elementName':_0x478e27(0x112),'getElementKey':_0x26a020=>_0x26a020[_0x478e27(0xed)](_0x478e27(0xe5))});}[_0x5947ba(0x109)](){const _0x54dd27=_0x5947ba,{editor:_0x17706e}=this,{model:_0xc0b8d2,data:_0x3976fa}=_0x17706e;_0xc0b8d2[_0x54dd27(0xf3)][_0x54dd27(0xe4)](_0x56c045=>{const _0x41f788=_0x54dd27,_0x7be664=_0xc0b8d2[_0x41f788(0xf3)][_0x41f788(0x126)][_0x41f788(0x132)]();let _0x2d8c52=!0x1;return this[_0x41f788(0xd4)](_0x56c045,_0x7be664)&&(_0x2d8c52=!0x0),this[_0x41f788(0xe1)](_0x56c045,_0x7be664)&&(_0x2d8c52=!0x0),this[_0x41f788(0x107)](_0x56c045,_0x7be664)&&(_0x2d8c52=!0x0),this[_0x41f788(0x12b)](_0x56c045)&&(_0x2d8c52=!0x0),this[_0x41f788(0x116)](_0x56c045)&&(_0x2d8c52=!0x0),this[_0x41f788(0x102)](_0x56c045)&&(_0x2d8c52=!0x0),_0x2d8c52;}),this[_0x54dd27(0x10e)](_0xc0b8d2[_0x54dd27(0xf3)],_0x54dd27(0x12c),()=>{const _0x3af84d=_0x54dd27;_0xc0b8d2[_0x3af84d(0x130)]({'isUndoable':!0x1},_0x429702=>{const _0x20761f=_0x3af84d;this[_0x20761f(0x124)](_0x429702);});},{'priority':_0x54dd27(0x12f)}),this[_0x54dd27(0x10e)](_0x3976fa,_0x54dd27(0xd8),()=>{const _0x968504=_0x54dd27;this[_0x968504(0x131)]=[],this[_0x968504(0x123)][_0x968504(0x113)](),this[_0x968504(0xda)][_0x968504(0x113)](),this[_0x968504(0x108)][_0x968504(0x113)]();},{'priority':_0x54dd27(0xfc)});}[_0x5947ba(0xe6)](){const _0x827071=_0x5947ba;return this[_0x827071(0xec)];}[_0x5947ba(0x101)](_0x454f10){const _0x59f3ae=_0x5947ba;return this[_0x59f3ae(0x131)][_0x59f3ae(0xf7)](_0xe3eb52=>_0xe3eb52['id']===_0x454f10)||null;}[_0x5947ba(0x11f)](){const _0xbb9edf=_0x5947ba;return Array[_0xbb9edf(0x11c)](this[_0xbb9edf(0x131)]);}[_0x5947ba(0x12a)](){const _0x51ee47=_0x5947ba;return this[_0x51ee47(0x12e)];}[_0x5947ba(0xdd)](_0x2cb920){const _0x574a1d=_0x5947ba;this[_0x574a1d(0x12e)]=_0x2cb920;}[_0x5947ba(0xdc)](_0x1808c4,_0x3b5947=0x0){const _0x4269c8=_0x5947ba;let _0xf72f8c=!0x1;for(let _0x1b36ad=_0x3b5947;_0x1b36ad<this[_0x4269c8(0x131)][_0x4269c8(0xd6)];_0x1b36ad++)this[_0x4269c8(0xe0)](_0x1808c4,_0x1b36ad)&&(_0xf72f8c=!0x0);return _0xf72f8c;}[_0x5947ba(0x128)](_0x338b45,_0x5a874c){const _0x42042f=_0x5947ba,_0x57b1e0=_0x338b45[_0x42042f(0x103)](_0x42042f(0xeb),{});return _0x338b45[_0x42042f(0x11b)](_0x57b1e0,_0x5a874c),this[_0x42042f(0xec)]=_0x57b1e0,_0x57b1e0;}[_0x5947ba(0x124)](_0xe3416e){const _0x2a0828=_0x5947ba;if(!this[_0x2a0828(0x131)][_0x2a0828(0xd6)]||this[_0x2a0828(0xec)])return;const _0x39e091=this[_0x2a0828(0x131)][0x0][_0x2a0828(0xf8)][_0x2a0828(0x10b)],_0x4c54c3=this[_0x2a0828(0x128)](_0xe3416e,_0x39e091);for(const _0x483d9e of this[_0x2a0828(0x131)])_0x483d9e[_0x2a0828(0xd9)][_0x2a0828(0x114)]||_0xe3416e[_0x2a0828(0x11e)](_0x483d9e[_0x2a0828(0xd9)],_0x4c54c3,_0x2a0828(0xde));this[_0x2a0828(0xdc)](_0xe3416e);}[_0x5947ba(0xd4)](_0x205291,_0x3b4dea){const _0x4c38c2=_0x5947ba;let _0x5e4956=!0x1;const {inserted:_0x43119f,removed:_0x2f36e9,moved:_0xac4a55}=this[_0x4c38c2(0x123)][_0x4c38c2(0x132)](_0x3b4dea);if(_0xac4a55[_0x4c38c2(0xd6)]&&(this[_0x4c38c2(0xec)]=_0xac4a55[0x0]),_0x43119f[_0x4c38c2(0xd6)]){if(_0x43119f[_0x4c38c2(0xd6)]>0x1||this[_0x4c38c2(0xec)]&&_0x43119f[_0x4c38c2(0x137)](_0x45dd9f=>_0x45dd9f!==this[_0x4c38c2(0xec)])){const _0xc284eb=_0x205291[_0x4c38c2(0x103)](_0x4c38c2(0xeb),{}),_0x112b6f=[];this[_0x4c38c2(0xec)]&&_0x112b6f[_0x4c38c2(0x125)](this[_0x4c38c2(0xec)]),_0x112b6f[_0x4c38c2(0x125)](..._0x43119f),_0x205291[_0x4c38c2(0x11e)](_0xc284eb,_0x112b6f[0x0],_0x4c38c2(0xf0));for(const _0x4fcfce of _0x112b6f)_0x205291[_0x4c38c2(0x135)](_0x205291[_0x4c38c2(0x11d)](_0x4fcfce),_0x205291[_0x4c38c2(0x105)](_0xc284eb,_0x4c38c2(0xde))),_0x205291[_0x4c38c2(0x136)](_0x4fcfce);this[_0x4c38c2(0xec)]=_0xc284eb,this[_0x4c38c2(0xdc)](_0x205291),_0x5e4956=!0x0;}else this[_0x4c38c2(0xec)]=_0x43119f[0x0];}if(_0x2f36e9[_0x4c38c2(0xd6)]&&_0x4c38c2(0x122)===this[_0x4c38c2(0xec)]?.[_0x4c38c2(0x10b)][_0x4c38c2(0xea)]){for(const _0x420742 of this[_0x4c38c2(0x131)])_0x205291[_0x4c38c2(0x136)](_0x420742[_0x4c38c2(0xf8)]),_0x5e4956=!0x0;this[_0x4c38c2(0x131)]=[],this[_0x4c38c2(0xec)]=null;}return _0x5e4956;}[_0x5947ba(0xe1)](_0x2dc189,_0x383001){const _0x297ae5=_0x5947ba;let _0x58b2af=!0x1;const _0x4a0554=this[_0x297ae5(0x134)][_0x297ae5(0xe2)][_0x297ae5(0xf2)](_0x297ae5(0x10a)),{inserted:_0x58dd28,moved:_0x893055}=this[_0x297ae5(0x108)][_0x297ae5(0x132)](_0x383001);for(const _0x2f10fb of[..._0x893055,..._0x58dd28]){const _0x1891a9=_0x2f10fb[_0x297ae5(0xed)](_0x297ae5(0xe5)),_0x582c33=this[_0x297ae5(0x101)](_0x1891a9);_0x582c33&&(_0x582c33[_0x297ae5(0xd9)]=_0x2f10fb),_(_0x2dc189,_0x4a0554,_0x2f10fb)&&(_0x58b2af=!0x0);}return _0x58b2af;}[_0x5947ba(0x107)](_0x590931,_0x578808){const _0x13ab4c=_0x5947ba;let _0x11e481=!0x1;const {removed:_0x2d94c6,inserted:_0x388278,moved:_0xd46f9d}=this[_0x13ab4c(0xda)][_0x13ab4c(0x132)](_0x578808);for(const _0x3de0d0 of _0x2d94c6)this[_0x13ab4c(0xff)](_0x590931,_0x3de0d0)&&(_0x11e481=!0x0);for(const _0x2f2cd0 of _0x388278)this[_0x13ab4c(0x10d)](_0x590931,_0x2f2cd0)&&(_0x11e481=!0x0);for(const _0x29f546 of _0xd46f9d)this[_0x13ab4c(0x120)](_0x590931,_0x29f546)&&(_0x11e481=!0x0);return _0x11e481;}[_0x5947ba(0x116)](_0x377481){const _0x28ea9e=_0x5947ba;if(!this[_0x28ea9e(0xec)])return!0x1;let _0x136dc5=!0x1;if(this[_0x28ea9e(0xec)][_0x28ea9e(0xe3)]!==this[_0x28ea9e(0x131)][_0x28ea9e(0xd6)]){const _0x13989a=[];for(const _0x28a465 of this[_0x28ea9e(0xec)][_0x28ea9e(0x121)]()){const _0x59fd30=_0x28a465[_0x28ea9e(0xed)](_0x28ea9e(0xe5));this[_0x28ea9e(0x101)](_0x59fd30)||(_0x13989a[_0x28ea9e(0xf1)](_0x28a465),_0x136dc5=!0x0);}for(const _0x38b1ac of _0x13989a)_0x377481[_0x28ea9e(0x136)](_0x38b1ac);}const _0xb7db6=new Set(),_0x42440a=[];for(const _0x42dd29 of this[_0x28ea9e(0xec)][_0x28ea9e(0x121)]()){const _0x58be64=_0x42dd29[_0x28ea9e(0xed)](_0x28ea9e(0xe5));_0xb7db6[_0x28ea9e(0xf4)](_0x58be64)?(_0x42440a[_0x28ea9e(0xf1)](_0x42dd29),_0x136dc5=!0x0):_0xb7db6[_0x28ea9e(0x11a)](_0x58be64);}for(const _0x422964 of _0x42440a)_0x377481[_0x28ea9e(0x136)](_0x422964);return this[_0x28ea9e(0xec)][_0x28ea9e(0xe3)]||(_0x377481[_0x28ea9e(0x136)](this[_0x28ea9e(0xec)]),this[_0x28ea9e(0xec)]=null,_0x136dc5=!0x0),_0x136dc5;}[_0x5947ba(0x10d)](_0x2a750f,_0x1e1843){const _0x585066=_0x5947ba;if(this[_0x585066(0x131)][_0x585066(0xf7)](_0x172827=>_0x172827[_0x585066(0xf8)]===_0x1e1843))return!0x1;let _0x36def7=!0x1;const _0x46d3b2=_0x1e1843[_0x585066(0xed)](_0x585066(0xe5)),_0x1ccebb=this[_0x585066(0x131)][_0x585066(0xd7)](_0x2db1ff=>_0x2db1ff['id']===_0x46d3b2);-0x1!==_0x1ccebb&&(_0x2a750f[_0x585066(0x136)](this[_0x585066(0x131)][_0x1ccebb][_0x585066(0xf8)]),this[_0x585066(0x131)][_0x585066(0xee)](_0x1ccebb,0x1),_0x36def7=!0x0);let _0x1aa8e9=this[_0x585066(0xec)]?function(_0x3a993c,_0x518df6){const _0x46a2be=_0x585066;for(const _0x4d7e92 of _0x3a993c[_0x46a2be(0x121)]())if(_0x4d7e92[_0x46a2be(0xed)](_0x46a2be(0xe5))===_0x518df6)return _0x4d7e92;return null;}(this[_0x585066(0xec)],_0x46d3b2):null;_0x1aa8e9||(_0x1aa8e9=_0x2a750f[_0x585066(0x103)](_0x585066(0x112),{'footnoteId':_0x46d3b2}),this[_0x585066(0xec)]&&(_0x2a750f[_0x585066(0x11e)](_0x1aa8e9,this[_0x585066(0xec)],_0x585066(0xde)),_0x36def7=!0x0));const _0x56354c={'id':_0x46d3b2,'reference':_0x1e1843,'definition':_0x1aa8e9},_0x3163b0=I(this[_0x585066(0x134)][_0x585066(0xe7)],this[_0x585066(0x131)],_0x1e1843);this[_0x585066(0x131)][_0x585066(0xee)](_0x3163b0,0x0,_0x56354c);let _0x2989a3=_0x3163b0;return-0x1!==_0x1ccebb&&(_0x2989a3=Math[_0x585066(0x12d)](_0x3163b0,_0x1ccebb)),this[_0x585066(0xdc)](_0x2a750f,_0x2989a3)&&(_0x36def7=!0x0),_0x36def7;}[_0x5947ba(0xff)](_0x1344ef,_0x4f9f48){const _0x13f758=_0x5947ba,_0x5333be=this[_0x13f758(0x131)][_0x13f758(0xd7)](_0x42832e=>_0x42832e['id']===_0x4f9f48);if(-0x1===_0x5333be)return!0x1;let _0x4e91aa=!0x1;const _0x3de3a4=this[_0x13f758(0x131)][_0x5333be];return _0x13f758(0x122)!==_0x3de3a4[_0x13f758(0xd9)][_0x13f758(0x10b)][_0x13f758(0xea)]&&(_0x1344ef[_0x13f758(0x136)](_0x3de3a4[_0x13f758(0xd9)]),_0x4e91aa=!0x0),this[_0x13f758(0x131)][_0x13f758(0xee)](_0x5333be,0x1),this[_0x13f758(0xdc)](_0x1344ef,_0x5333be)&&(_0x4e91aa=!0x0),_0x4e91aa;}[_0x5947ba(0x120)](_0x16f0de,_0x23e1c5){const _0xc86070=_0x5947ba,_0x5d6459=_0x23e1c5[_0xc86070(0xed)](_0xc86070(0xe5)),_0x4ed17e=this[_0xc86070(0x131)][_0xc86070(0xd7)](_0xea8f5f=>_0xea8f5f['id']===_0x5d6459),_0x26ed61=this[_0xc86070(0x131)][_0x4ed17e];let _0x4f23b1=!0x1;_0x26ed61[_0xc86070(0xf8)]=_0x23e1c5,this[_0xc86070(0x131)][_0xc86070(0xee)](_0x4ed17e,0x1);const _0x284e6f=I(this[_0xc86070(0x134)][_0xc86070(0xe7)],this[_0xc86070(0x131)],_0x23e1c5);return this[_0xc86070(0x131)][_0xc86070(0xee)](_0x284e6f,0x0,_0x26ed61),this[_0xc86070(0xdc)](_0x16f0de,Math[_0xc86070(0x12d)](_0x4ed17e,_0x284e6f))&&(_0x4f23b1=!0x0),_0x4f23b1;}[_0x5947ba(0xe0)](_0x13ca55,_0x54a7c6){const _0x4d22b2=_0x5947ba;if(!this[_0x4d22b2(0xec)])return!0x1;const _0x19a2aa=this[_0x4d22b2(0x131)][_0x54a7c6];let _0x5a2adb;return _0x5a2adb=this[_0x4d22b2(0x12e)]?this[_0x4d22b2(0x12e)]({'footnote':_0x19a2aa,'container':this[_0x4d22b2(0xec)],'digits':String(this[_0x4d22b2(0x131)][_0x4d22b2(0xd6)])[_0x4d22b2(0xd6)],'value':_0x54a7c6+0x1}):String(_0x54a7c6+0x1),_0x19a2aa[_0x4d22b2(0xf8)][_0x4d22b2(0xed)](_0x4d22b2(0xef))!=_0x5a2adb&&(_0x13ca55[_0x4d22b2(0xfd)](_0x4d22b2(0xef),_0x5a2adb,_0x19a2aa[_0x4d22b2(0xf8)]),!0x0);}[_0x5947ba(0x102)](_0x4ef13b){const _0x97fb07=_0x5947ba;if(!this[_0x97fb07(0xec)]||this[_0x97fb07(0x131)][_0x97fb07(0xd6)]<0x2)return!0x1;if(function(_0x3400c4,_0x3152da){const _0xd7b166=_0x97fb07;if(_0x3400c4[_0xd7b166(0xd6)]!==_0x3152da[_0xd7b166(0xd6)])return!0x1;for(let _0x43d7ce=0x0;_0x43d7ce<_0x3400c4[_0xd7b166(0xd6)];_0x43d7ce++)if(_0x3400c4[_0x43d7ce]!==_0x3152da[_0x43d7ce])return!0x1;return!0x0;}(this[_0x97fb07(0x131)][_0x97fb07(0xfb)](_0x34b84d=>_0x34b84d['id']),Array[_0x97fb07(0x11c)](this[_0x97fb07(0xec)][_0x97fb07(0x121)]())[_0x97fb07(0xfb)](_0x240e5f=>_0x240e5f[_0x97fb07(0xed)](_0x97fb07(0xe5)))))return!0x1;let _0x2b7ff8=!0x1;for(let _0x4dbdcb=0x0;_0x4dbdcb<this[_0x97fb07(0x131)][_0x97fb07(0xd6)];_0x4dbdcb++){const _0x1b4b0b=this[_0x97fb07(0x131)][_0x4dbdcb],_0x2fd7fa=_0x4ef13b[_0x97fb07(0x138)](_0x1b4b0b[_0x97fb07(0xd9)]),_0x494a11=_0x4ef13b[_0x97fb07(0x105)](this[_0x97fb07(0xec)],_0x4dbdcb);_0x2fd7fa[_0x97fb07(0xdb)](_0x494a11)||(_0x4ef13b[_0x97fb07(0x135)](_0x4ef13b[_0x97fb07(0x100)](_0x1b4b0b[_0x97fb07(0xd9)]),_0x494a11),_0x2b7ff8=!0x0);}return _0x2b7ff8;}[_0x5947ba(0x12b)](_0x3867e5){const _0x41b1db=_0x5947ba;if(!this[_0x41b1db(0x131)][_0x41b1db(0xd6)])return!0x1;const {model:_0x7d8609}=this[_0x41b1db(0x134)];let _0x3d5e0b=!0x1;for(let _0x15274a=0x0;_0x15274a<this[_0x41b1db(0x131)][_0x41b1db(0xd6)]-0x1;_0x15274a++){const _0x1956d0=this[_0x41b1db(0x131)][_0x15274a],_0x32adef=this[_0x41b1db(0x131)][_0x15274a+0x1],_0x378746=_0x7d8609[_0x41b1db(0x138)](_0x1956d0[_0x41b1db(0xf8)]),_0x57a3b7=_0x7d8609[_0x41b1db(0x138)](_0x32adef[_0x41b1db(0xf8)]);_0x41b1db(0x119)===_0x378746[_0x41b1db(0xf5)](_0x57a3b7)&&(this[_0x41b1db(0x120)](_0x3867e5,_0x1956d0[_0x41b1db(0xf8)]),_0x15274a=-0x1,_0x3d5e0b=!0x0);}return _0x3d5e0b;}}function _(_0x220ba8,_0x3b730b,_0x530e39){const _0x30ffb5=_0x5947ba;if(_0x530e39[_0x30ffb5(0xe3)])return!0x1;const _0x2b41bc=_0x3b730b?_0x30ffb5(0xf9):_0x30ffb5(0x10c);return _0x220ba8[_0x30ffb5(0x11e)](_0x220ba8[_0x30ffb5(0x103)](_0x2b41bc),_0x530e39),!0x0;}function I(_0x1bab15,_0x287c80,_0x14c3ac){const _0xe2353f=_0x5947ba;if(0x0===_0x287c80[_0xe2353f(0xd6)])return 0x0;const _0x11606d=_0x1bab15[_0xe2353f(0x138)](_0x14c3ac);for(let _0x41e4f0=0x0;_0x41e4f0<_0x287c80[_0xe2353f(0xd6)];_0x41e4f0++){const _0x590aa7=_0x287c80[_0x41e4f0],_0x578690=_0x1bab15[_0xe2353f(0x138)](_0x590aa7[_0xe2353f(0xf8)]);if(_0xe2353f(0xf0)===_0x11606d[_0xe2353f(0xf5)](_0x578690))return _0x41e4f0;}const _0x437234=_0x14c3ac[_0xe2353f(0x10b)];let _0x5455fe=-0x1;for(let _0x2b4905=_0x287c80[_0xe2353f(0xd6)]-0x1;_0x2b4905>=0x0;_0x2b4905--)if(_0x287c80[_0x2b4905][_0xe2353f(0xf8)][_0xe2353f(0x10b)]===_0x437234){_0x5455fe=_0x2b4905;break;}if(-0x1!==_0x5455fe)return _0x5455fe+0x1;const _0x594f6c=_0x1bab15[_0xe2353f(0xf3)][_0xe2353f(0x127)](),_0x132d00=_0x594f6c[_0xe2353f(0x104)](_0x437234[_0xe2353f(0xea)]),_0x28c431=_0x594f6c[_0x132d00+0x1];if(_0x28c431){for(let _0x40d8b3=0x0;_0x40d8b3<_0x287c80[_0xe2353f(0xd6)];_0x40d8b3++)if(_0x287c80[_0x40d8b3][_0xe2353f(0xf8)][_0xe2353f(0x10b)][_0xe2353f(0xea)]===_0x28c431)return _0x40d8b3;}return _0x287c80[_0xe2353f(0xd6)];}function _0x1c5e(){const _0x4b4f2b=['10838784dFrDcm','after','add','append','from','createRangeIn','insert','getFootnotes','_handleMovedFootnoteReference','getChildren','$graveyard','_footnoteDefsContainerTracker','_ensureFootnotesDefinitionsContainerExists','push','differ','getRootNames','_insertEmptyFootnotesDefinitionsContainer','isOfficialPlugin','getFootnotesFormatter','_ensureFootnotesReferencesHaveProperOrder','change:data','min','_footnoteFormatter','low','enqueueChange','_footnotes','getChanges','footnoteRef','editor','move','remove','some','createPositionBefore','FootnotesTracker','_handleFootnotesDefinitionsObjectChanges','isPremiumPlugin','length','findIndex','set','definition','_footnoteRefsTracker','isEqual','_updateFootnotesCounters','setFootnoteFormatter','end','2237328MrDUrA','_updateFootnoteRefCounter','_handleFootnoteDefinitionsChanges','config','childCount','registerPostFixer','footnoteId','getFootnotesDefinitionsObjectElement','model','5107854NclYTz','pluginName','rootName','footnotesDefinitions','_footnotesDefinitions','getAttribute','splice','footnoteCounter','before','unshift','get','document','has','compareWith','5wxQOTT','find','reference','paragraph','91YNHZdR','map','high','setAttribute','657128iUlZNt','_handleRemoveFootnoteReferenceById','createRangeOn','getFootnote','_sortFootnoteDefinitions','createElement','indexOf','createPositionAt','1958943cDDkgz','_handleFootnoteReferencesChanges','_footnoteDefsTracker','init','footnotes.multiBlock','root','footnoteInlineContent','_handleInsertedFootnoteReference','listenTo','12DmiLhQ','5156108LyBWcX','50fzwDJi','footnoteDefinition','reset','parent','singleton','_handleFootnotesDefinitionsObjectSync','192184OckteC'];_0x1c5e=function(){return _0x4b4f2b;};return _0x1c5e();}
|
|
23
|
+
const _0x4d7ea6=_0x21fb;(function(_0xad9df7,_0x554cbe){const _0xdfa09d=_0x21fb,_0x25d725=_0xad9df7();while(!![]){try{const _0x6c55f0=parseInt(_0xdfa09d(0x193))/0x1*(parseInt(_0xdfa09d(0x1d8))/0x2)+parseInt(_0xdfa09d(0x1b5))/0x3+-parseInt(_0xdfa09d(0x18f))/0x4*(parseInt(_0xdfa09d(0x1c5))/0x5)+-parseInt(_0xdfa09d(0x1a7))/0x6+-parseInt(_0xdfa09d(0x196))/0x7+parseInt(_0xdfa09d(0x198))/0x8*(-parseInt(_0xdfa09d(0x1d3))/0x9)+parseInt(_0xdfa09d(0x1da))/0xa;if(_0x6c55f0===_0x554cbe)break;else _0x25d725['push'](_0x25d725['shift']());}catch(_0x56f641){_0x25d725['push'](_0x25d725['shift']());}}}(_0x1e14,0xe5f23));import{Plugin as _0x356b2b}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x4c881f}from'./modelelementtracker.js';function _0x1e14(){const _0xe25c8=['_handleFootnotesDefinitionsObjectChanges','move','model','setFootnoteFormatter','find','_footnoteDefsContainerTracker','footnotes.multiBlock','getRootNames','_footnoteFormatter','some','94568opLusA','change:data','createPositionBefore','reset','62770wqXYDu','has','_footnoteDefsTracker','2785902vuENhY','high','49464USikYH','findIndex','isPremiumPlugin','_updateFootnoteRefCounter','$graveyard','root','from','compareWith','_footnotesDefinitions','listenTo','_footnotes','_handleFootnoteReferencesChanges','_sortFootnoteDefinitions','_ensureFootnotesReferencesHaveProperOrder','_handleInsertedFootnoteReference','6958470rksSZH','getFootnote','singleton','min','createRangeOn','splice','insert','footnoteInlineContent','push','_ensureFootnotesDefinitionsContainerExists','setAttribute','set','length','parent','3202284BmPHRt','FootnotesTracker','end','reference','_handleRemoveFootnoteReferenceById','enqueueChange','getFootnotes','footnoteRef','createRangeIn','getChanges','indexOf','getFootnotesFormatter','footnoteDefinition','add','_handleFootnotesDefinitionsObjectSync','append','195MioaFB','config','before','_updateFootnotesCounters','get','unshift','getChildren','getAttribute','_handleMovedFootnoteReference','_footnoteRefsTracker','differ','init','remove','createElement','1926aEEaXj','footnoteId','map','paragraph','editor','54BwOvVo','definition','19825720GiNBvW','createPositionAt','after','_handleFootnoteDefinitionsChanges','pluginName','registerPostFixer','footnotesDefinitions','rootName','document','getFootnotesDefinitionsObjectElement','childCount','isEqual','footnoteCounter','isOfficialPlugin','_insertEmptyFootnotesDefinitionsContainer','low'];_0x1e14=function(){return _0xe25c8;};return _0x1e14();}export class FootnotesTracker extends _0x356b2b{[_0x4d7ea6(0x1a2)]=[];[_0x4d7ea6(0x1a0)]=null;[_0x4d7ea6(0x18d)]=null;[_0x4d7ea6(0x18a)];[_0x4d7ea6(0x1ce)];[_0x4d7ea6(0x195)];static get[_0x4d7ea6(0x1de)](){const _0x51af83=_0x4d7ea6;return _0x51af83(0x1b6);}static get[_0x4d7ea6(0x1e7)](){return!0x0;}static get[_0x4d7ea6(0x19a)](){return!0x0;}constructor(_0x1656ab){const _0x123ee1=_0x4d7ea6;super(_0x1656ab),this[_0x123ee1(0x18a)]=new _0x4c881f(this[_0x123ee1(0x1d7)][_0x123ee1(0x1ec)],{'elementName':_0x123ee1(0x1e0),'getElementKey':()=>_0x123ee1(0x1a9)}),this[_0x123ee1(0x1ce)]=new _0x4c881f(this[_0x123ee1(0x1d7)][_0x123ee1(0x1ec)],{'elementName':_0x123ee1(0x1bc),'getElementKey':_0x179da5=>_0x179da5[_0x123ee1(0x1cc)](_0x123ee1(0x1d4))}),this[_0x123ee1(0x195)]=new _0x4c881f(this[_0x123ee1(0x1d7)][_0x123ee1(0x1ec)],{'elementName':_0x123ee1(0x1c1),'getElementKey':_0xdf8faa=>_0xdf8faa[_0x123ee1(0x1cc)](_0x123ee1(0x1d4))});}[_0x4d7ea6(0x1d0)](){const _0x249355=_0x4d7ea6,{editor:_0x4eab13}=this,{model:_0x4b525a,data:_0x4d6ab3}=_0x4eab13;_0x4b525a[_0x249355(0x1e2)][_0x249355(0x1df)](_0x406b59=>{const _0x54a40d=_0x249355,_0x2e6820=_0x4b525a[_0x54a40d(0x1e2)][_0x54a40d(0x1cf)][_0x54a40d(0x1be)]();let _0xd26672=!0x1;return this[_0x54a40d(0x1ea)](_0x406b59,_0x2e6820)&&(_0xd26672=!0x0),this[_0x54a40d(0x1dd)](_0x406b59,_0x2e6820)&&(_0xd26672=!0x0),this[_0x54a40d(0x1a3)](_0x406b59,_0x2e6820)&&(_0xd26672=!0x0),this[_0x54a40d(0x1a5)](_0x406b59)&&(_0xd26672=!0x0),this[_0x54a40d(0x1c3)](_0x406b59)&&(_0xd26672=!0x0),this[_0x54a40d(0x1a4)](_0x406b59)&&(_0xd26672=!0x0),_0xd26672;}),this[_0x249355(0x1a1)](_0x4b525a[_0x249355(0x1e2)],_0x249355(0x190),()=>{const _0x529364=_0x249355;_0x4b525a[_0x529364(0x1ba)]({'isUndoable':!0x1},_0x4e9659=>{const _0x45f87c=_0x529364;this[_0x45f87c(0x1b0)](_0x4e9659);});},{'priority':_0x249355(0x1e9)}),this[_0x249355(0x1a1)](_0x4d6ab3,_0x249355(0x1b2),()=>{const _0x2f42e5=_0x249355;this[_0x2f42e5(0x1a2)]=[],this[_0x2f42e5(0x18a)][_0x2f42e5(0x192)](),this[_0x2f42e5(0x1ce)][_0x2f42e5(0x192)](),this[_0x2f42e5(0x195)][_0x2f42e5(0x192)]();},{'priority':_0x249355(0x197)});}[_0x4d7ea6(0x1e3)](){const _0x2a0e00=_0x4d7ea6;return this[_0x2a0e00(0x1a0)];}[_0x4d7ea6(0x1a8)](_0x41162c){const _0x189a13=_0x4d7ea6;return this[_0x189a13(0x1a2)][_0x189a13(0x1ee)](_0x450e57=>_0x450e57['id']===_0x41162c)||null;}[_0x4d7ea6(0x1bb)](){const _0x408adb=_0x4d7ea6;return Array[_0x408adb(0x19e)](this[_0x408adb(0x1a2)]);}[_0x4d7ea6(0x1c0)](){const _0x2feff4=_0x4d7ea6;return this[_0x2feff4(0x18d)];}[_0x4d7ea6(0x1ed)](_0x3f5fc7){const _0x22192c=_0x4d7ea6;this[_0x22192c(0x18d)]=_0x3f5fc7;}[_0x4d7ea6(0x1c8)](_0x7e0a4f,_0xa97343=0x0){const _0x15b772=_0x4d7ea6;let _0x1888a9=!0x1;for(let _0x18deed=_0xa97343;_0x18deed<this[_0x15b772(0x1a2)][_0x15b772(0x1b3)];_0x18deed++)this[_0x15b772(0x19b)](_0x7e0a4f,_0x18deed)&&(_0x1888a9=!0x0);return _0x1888a9;}[_0x4d7ea6(0x1e8)](_0x565512,_0x2950f9){const _0x351bb5=_0x4d7ea6,_0x20374b=_0x565512[_0x351bb5(0x1d2)](_0x351bb5(0x1e0),{});return _0x565512[_0x351bb5(0x1c4)](_0x20374b,_0x2950f9),this[_0x351bb5(0x1a0)]=_0x20374b,_0x20374b;}[_0x4d7ea6(0x1b0)](_0xe67ce1){const _0xcac977=_0x4d7ea6;if(!this[_0xcac977(0x1a2)][_0xcac977(0x1b3)]||this[_0xcac977(0x1a0)])return;const _0xe36883=this[_0xcac977(0x1a2)][0x0][_0xcac977(0x1b8)][_0xcac977(0x19d)],_0x4ad70c=this[_0xcac977(0x1e8)](_0xe67ce1,_0xe36883);for(const _0x180ba5 of this[_0xcac977(0x1a2)])_0x180ba5[_0xcac977(0x1d9)][_0xcac977(0x1b4)]||_0xe67ce1[_0xcac977(0x1ad)](_0x180ba5[_0xcac977(0x1d9)],_0x4ad70c,_0xcac977(0x1b7));this[_0xcac977(0x1c8)](_0xe67ce1);}[_0x4d7ea6(0x1ea)](_0x59ae6f,_0x3f9f13){const _0xd74faf=_0x4d7ea6;let _0xa3acce=!0x1;const {inserted:_0x37eb38,removed:_0x4aaca7,moved:_0x2ff8d1}=this[_0xd74faf(0x18a)][_0xd74faf(0x1be)](_0x3f9f13);if(_0x2ff8d1[_0xd74faf(0x1b3)]&&(this[_0xd74faf(0x1a0)]=_0x2ff8d1[0x0]),_0x37eb38[_0xd74faf(0x1b3)]){if(_0x37eb38[_0xd74faf(0x1b3)]>0x1||this[_0xd74faf(0x1a0)]&&_0x37eb38[_0xd74faf(0x18e)](_0x1cf38c=>_0x1cf38c!==this[_0xd74faf(0x1a0)])){const _0x393677=_0x59ae6f[_0xd74faf(0x1d2)](_0xd74faf(0x1e0),{}),_0x1f6252=[];this[_0xd74faf(0x1a0)]&&_0x1f6252[_0xd74faf(0x1af)](this[_0xd74faf(0x1a0)]),_0x1f6252[_0xd74faf(0x1af)](..._0x37eb38),_0x59ae6f[_0xd74faf(0x1ad)](_0x393677,_0x1f6252[0x0],_0xd74faf(0x1c7));for(const _0x1f20b8 of _0x1f6252)_0x59ae6f[_0xd74faf(0x1eb)](_0x59ae6f[_0xd74faf(0x1bd)](_0x1f20b8),_0x59ae6f[_0xd74faf(0x1db)](_0x393677,_0xd74faf(0x1b7))),_0x59ae6f[_0xd74faf(0x1d1)](_0x1f20b8);this[_0xd74faf(0x1a0)]=_0x393677,this[_0xd74faf(0x1c8)](_0x59ae6f),_0xa3acce=!0x0;}else this[_0xd74faf(0x1a0)]=_0x37eb38[0x0];}if(_0x4aaca7[_0xd74faf(0x1b3)]&&_0xd74faf(0x19c)===this[_0xd74faf(0x1a0)]?.[_0xd74faf(0x19d)][_0xd74faf(0x1e1)]){for(const _0x285a72 of this[_0xd74faf(0x1a2)])_0x59ae6f[_0xd74faf(0x1d1)](_0x285a72[_0xd74faf(0x1b8)]),_0xa3acce=!0x0;this[_0xd74faf(0x1a2)]=[],this[_0xd74faf(0x1a0)]=null;}return _0xa3acce;}[_0x4d7ea6(0x1dd)](_0x2988ba,_0xc22fff){const _0x401db8=_0x4d7ea6;let _0xbd5d9e=!0x1;const _0x4e13f1=this[_0x401db8(0x1d7)][_0x401db8(0x1c6)][_0x401db8(0x1c9)](_0x401db8(0x18b)),{inserted:_0x3b77cd,moved:_0x16bf0d}=this[_0x401db8(0x195)][_0x401db8(0x1be)](_0xc22fff);for(const _0x1e43bb of[..._0x16bf0d,..._0x3b77cd]){const _0x525901=_0x1e43bb[_0x401db8(0x1cc)](_0x401db8(0x1d4)),_0xb0e341=this[_0x401db8(0x1a8)](_0x525901);_0xb0e341&&(_0xb0e341[_0x401db8(0x1d9)]=_0x1e43bb),_(_0x2988ba,_0x4e13f1,_0x1e43bb)&&(_0xbd5d9e=!0x0);}return _0xbd5d9e;}[_0x4d7ea6(0x1a3)](_0x17b5f3,_0x1daaca){const _0x4abe33=_0x4d7ea6;let _0x5e79bd=!0x1;const {removed:_0x43f54f,inserted:_0x14d8fb,moved:_0x9fde46}=this[_0x4abe33(0x1ce)][_0x4abe33(0x1be)](_0x1daaca);for(const _0x464ce9 of _0x43f54f)this[_0x4abe33(0x1b9)](_0x17b5f3,_0x464ce9)&&(_0x5e79bd=!0x0);for(const _0x13147c of _0x14d8fb)this[_0x4abe33(0x1a6)](_0x17b5f3,_0x13147c)&&(_0x5e79bd=!0x0);for(const _0x25e8c8 of _0x9fde46)this[_0x4abe33(0x1cd)](_0x17b5f3,_0x25e8c8)&&(_0x5e79bd=!0x0);return _0x5e79bd;}[_0x4d7ea6(0x1c3)](_0x3cd964){const _0x15736a=_0x4d7ea6;if(!this[_0x15736a(0x1a0)])return!0x1;let _0x4fa169=!0x1;if(this[_0x15736a(0x1a0)][_0x15736a(0x1e4)]!==this[_0x15736a(0x1a2)][_0x15736a(0x1b3)]){const _0x9e71ef=[];for(const _0x238b7d of this[_0x15736a(0x1a0)][_0x15736a(0x1cb)]()){const _0x321dd9=_0x238b7d[_0x15736a(0x1cc)](_0x15736a(0x1d4));this[_0x15736a(0x1a8)](_0x321dd9)||(_0x9e71ef[_0x15736a(0x1ca)](_0x238b7d),_0x4fa169=!0x0);}for(const _0x3fbc6a of _0x9e71ef)_0x3cd964[_0x15736a(0x1d1)](_0x3fbc6a);}const _0x2c872f=new Set(),_0x3f9bb7=[];for(const _0x17cead of this[_0x15736a(0x1a0)][_0x15736a(0x1cb)]()){const _0x4c338b=_0x17cead[_0x15736a(0x1cc)](_0x15736a(0x1d4));_0x2c872f[_0x15736a(0x194)](_0x4c338b)?(_0x3f9bb7[_0x15736a(0x1ca)](_0x17cead),_0x4fa169=!0x0):_0x2c872f[_0x15736a(0x1c2)](_0x4c338b);}for(const _0x281237 of _0x3f9bb7)_0x3cd964[_0x15736a(0x1d1)](_0x281237);return this[_0x15736a(0x1a0)][_0x15736a(0x1e4)]||(_0x3cd964[_0x15736a(0x1d1)](this[_0x15736a(0x1a0)]),this[_0x15736a(0x1a0)]=null,_0x4fa169=!0x0),_0x4fa169;}[_0x4d7ea6(0x1a6)](_0x767729,_0x3babac){const _0x465201=_0x4d7ea6;if(this[_0x465201(0x1a2)][_0x465201(0x1ee)](_0x38753b=>_0x38753b[_0x465201(0x1b8)]===_0x3babac))return!0x1;let _0x5776f8=!0x1;const _0x34fe61=_0x3babac[_0x465201(0x1cc)](_0x465201(0x1d4)),_0x3a6638=this[_0x465201(0x1a2)][_0x465201(0x199)](_0x52c1cb=>_0x52c1cb['id']===_0x34fe61);-0x1!==_0x3a6638&&(_0x767729[_0x465201(0x1d1)](this[_0x465201(0x1a2)][_0x3a6638][_0x465201(0x1b8)]),this[_0x465201(0x1a2)][_0x465201(0x1ac)](_0x3a6638,0x1),_0x5776f8=!0x0);let _0x1a8440=this[_0x465201(0x1a0)]?function(_0x3fdf88,_0x370c5e){const _0x40a6dc=_0x465201;for(const _0x2c265f of _0x3fdf88[_0x40a6dc(0x1cb)]())if(_0x2c265f[_0x40a6dc(0x1cc)](_0x40a6dc(0x1d4))===_0x370c5e)return _0x2c265f;return null;}(this[_0x465201(0x1a0)],_0x34fe61):null;_0x1a8440||(_0x1a8440=_0x767729[_0x465201(0x1d2)](_0x465201(0x1c1),{'footnoteId':_0x34fe61}),this[_0x465201(0x1a0)]&&(_0x767729[_0x465201(0x1ad)](_0x1a8440,this[_0x465201(0x1a0)],_0x465201(0x1b7)),_0x5776f8=!0x0));const _0x420dab={'id':_0x34fe61,'reference':_0x3babac,'definition':_0x1a8440},_0x1dddab=I(this[_0x465201(0x1d7)][_0x465201(0x1ec)],this[_0x465201(0x1a2)],_0x3babac);this[_0x465201(0x1a2)][_0x465201(0x1ac)](_0x1dddab,0x0,_0x420dab);let _0x4a85c1=_0x1dddab;return-0x1!==_0x3a6638&&(_0x4a85c1=Math[_0x465201(0x1aa)](_0x1dddab,_0x3a6638)),this[_0x465201(0x1c8)](_0x767729,_0x4a85c1)&&(_0x5776f8=!0x0),_0x5776f8;}[_0x4d7ea6(0x1b9)](_0x149288,_0x38c9b1){const _0x1c2102=_0x4d7ea6,_0x5738ae=this[_0x1c2102(0x1a2)][_0x1c2102(0x199)](_0x4e2d62=>_0x4e2d62['id']===_0x38c9b1);if(-0x1===_0x5738ae)return!0x1;let _0x4aebfe=!0x1;const _0x259fdb=this[_0x1c2102(0x1a2)][_0x5738ae];return _0x1c2102(0x19c)!==_0x259fdb[_0x1c2102(0x1d9)][_0x1c2102(0x19d)][_0x1c2102(0x1e1)]&&(_0x149288[_0x1c2102(0x1d1)](_0x259fdb[_0x1c2102(0x1d9)]),_0x4aebfe=!0x0),this[_0x1c2102(0x1a2)][_0x1c2102(0x1ac)](_0x5738ae,0x1),this[_0x1c2102(0x1c8)](_0x149288,_0x5738ae)&&(_0x4aebfe=!0x0),_0x4aebfe;}[_0x4d7ea6(0x1cd)](_0xee92c9,_0x527ec4){const _0x10b28c=_0x4d7ea6,_0x192b4e=_0x527ec4[_0x10b28c(0x1cc)](_0x10b28c(0x1d4)),_0x53180b=this[_0x10b28c(0x1a2)][_0x10b28c(0x199)](_0x3fb016=>_0x3fb016['id']===_0x192b4e),_0x50c68e=this[_0x10b28c(0x1a2)][_0x53180b];let _0x3d6a58=!0x1;_0x50c68e[_0x10b28c(0x1b8)]=_0x527ec4,this[_0x10b28c(0x1a2)][_0x10b28c(0x1ac)](_0x53180b,0x1);const _0x561eb1=I(this[_0x10b28c(0x1d7)][_0x10b28c(0x1ec)],this[_0x10b28c(0x1a2)],_0x527ec4);return this[_0x10b28c(0x1a2)][_0x10b28c(0x1ac)](_0x561eb1,0x0,_0x50c68e),this[_0x10b28c(0x1c8)](_0xee92c9,Math[_0x10b28c(0x1aa)](_0x53180b,_0x561eb1))&&(_0x3d6a58=!0x0),_0x3d6a58;}[_0x4d7ea6(0x19b)](_0x5ccbb7,_0x2269ea){const _0xfc086b=_0x4d7ea6;if(!this[_0xfc086b(0x1a0)])return!0x1;const _0x56ee86=this[_0xfc086b(0x1a2)][_0x2269ea];let _0x426215;return _0x426215=this[_0xfc086b(0x18d)]?this[_0xfc086b(0x18d)]({'footnote':_0x56ee86,'container':this[_0xfc086b(0x1a0)],'digits':String(this[_0xfc086b(0x1a2)][_0xfc086b(0x1b3)])[_0xfc086b(0x1b3)],'value':_0x2269ea+0x1}):String(_0x2269ea+0x1),_0x56ee86[_0xfc086b(0x1b8)][_0xfc086b(0x1cc)](_0xfc086b(0x1e6))!=_0x426215&&(_0x5ccbb7[_0xfc086b(0x1b1)](_0xfc086b(0x1e6),_0x426215,_0x56ee86[_0xfc086b(0x1b8)]),!0x0);}[_0x4d7ea6(0x1a4)](_0x34d586){const _0x20aebd=_0x4d7ea6;if(!this[_0x20aebd(0x1a0)]||this[_0x20aebd(0x1a2)][_0x20aebd(0x1b3)]<0x2)return!0x1;if(function(_0xa912,_0x6d3c0){const _0x513825=_0x20aebd;if(_0xa912[_0x513825(0x1b3)]!==_0x6d3c0[_0x513825(0x1b3)])return!0x1;for(let _0x47dd89=0x0;_0x47dd89<_0xa912[_0x513825(0x1b3)];_0x47dd89++)if(_0xa912[_0x47dd89]!==_0x6d3c0[_0x47dd89])return!0x1;return!0x0;}(this[_0x20aebd(0x1a2)][_0x20aebd(0x1d5)](_0x5bd5fc=>_0x5bd5fc['id']),Array[_0x20aebd(0x19e)](this[_0x20aebd(0x1a0)][_0x20aebd(0x1cb)]())[_0x20aebd(0x1d5)](_0x29743f=>_0x29743f[_0x20aebd(0x1cc)](_0x20aebd(0x1d4)))))return!0x1;let _0x1bcc26=!0x1;for(let _0x27c06e=0x0;_0x27c06e<this[_0x20aebd(0x1a2)][_0x20aebd(0x1b3)];_0x27c06e++){const _0x285b31=this[_0x20aebd(0x1a2)][_0x27c06e],_0x389e46=_0x34d586[_0x20aebd(0x191)](_0x285b31[_0x20aebd(0x1d9)]),_0x5e000c=_0x34d586[_0x20aebd(0x1db)](this[_0x20aebd(0x1a0)],_0x27c06e);_0x389e46[_0x20aebd(0x1e5)](_0x5e000c)||(_0x34d586[_0x20aebd(0x1eb)](_0x34d586[_0x20aebd(0x1ab)](_0x285b31[_0x20aebd(0x1d9)]),_0x5e000c),_0x1bcc26=!0x0);}return _0x1bcc26;}[_0x4d7ea6(0x1a5)](_0x15863e){const _0x1b30e6=_0x4d7ea6;if(!this[_0x1b30e6(0x1a2)][_0x1b30e6(0x1b3)])return!0x1;const {model:_0x59b5be}=this[_0x1b30e6(0x1d7)];let _0x1adf1c=!0x1;for(let _0x117d0b=0x0;_0x117d0b<this[_0x1b30e6(0x1a2)][_0x1b30e6(0x1b3)]-0x1;_0x117d0b++){const _0x3fa63c=this[_0x1b30e6(0x1a2)][_0x117d0b],_0x45b969=this[_0x1b30e6(0x1a2)][_0x117d0b+0x1],_0x1decb7=_0x59b5be[_0x1b30e6(0x191)](_0x3fa63c[_0x1b30e6(0x1b8)]),_0x53c858=_0x59b5be[_0x1b30e6(0x191)](_0x45b969[_0x1b30e6(0x1b8)]);_0x1b30e6(0x1dc)===_0x1decb7[_0x1b30e6(0x19f)](_0x53c858)&&(this[_0x1b30e6(0x1cd)](_0x15863e,_0x3fa63c[_0x1b30e6(0x1b8)]),_0x117d0b=-0x1,_0x1adf1c=!0x0);}return _0x1adf1c;}}function _(_0x160b2b,_0x17d425,_0x4572a4){const _0x3d51a2=_0x4d7ea6;if(_0x4572a4[_0x3d51a2(0x1e4)])return!0x1;const _0x1e099f=_0x17d425?_0x3d51a2(0x1d6):_0x3d51a2(0x1ae);return _0x160b2b[_0x3d51a2(0x1ad)](_0x160b2b[_0x3d51a2(0x1d2)](_0x1e099f),_0x4572a4),!0x0;}function _0x21fb(_0x917178,_0x6964c6){const _0x1e1451=_0x1e14();return _0x21fb=function(_0x21fb6d,_0x65d08c){_0x21fb6d=_0x21fb6d-0x18a;let _0x4e544e=_0x1e1451[_0x21fb6d];return _0x4e544e;},_0x21fb(_0x917178,_0x6964c6);}function I(_0x1b844d,_0x3a7815,_0x46576c){const _0x52fce8=_0x4d7ea6;if(0x0===_0x3a7815[_0x52fce8(0x1b3)])return 0x0;const _0x3b6fcf=_0x1b844d[_0x52fce8(0x191)](_0x46576c);for(let _0x232c3f=0x0;_0x232c3f<_0x3a7815[_0x52fce8(0x1b3)];_0x232c3f++){const _0x4c7bae=_0x3a7815[_0x232c3f],_0x8e487a=_0x1b844d[_0x52fce8(0x191)](_0x4c7bae[_0x52fce8(0x1b8)]);if(_0x52fce8(0x1c7)===_0x3b6fcf[_0x52fce8(0x19f)](_0x8e487a))return _0x232c3f;}const _0x1f5ebd=_0x46576c[_0x52fce8(0x19d)];let _0x391803=-0x1;for(let _0x5e3267=_0x3a7815[_0x52fce8(0x1b3)]-0x1;_0x5e3267>=0x0;_0x5e3267--)if(_0x3a7815[_0x5e3267][_0x52fce8(0x1b8)][_0x52fce8(0x19d)]===_0x1f5ebd){_0x391803=_0x5e3267;break;}if(-0x1!==_0x391803)return _0x391803+0x1;const _0x4e9612=_0x1b844d[_0x52fce8(0x1e2)][_0x52fce8(0x18c)](),_0x3ab6b4=_0x4e9612[_0x52fce8(0x1bf)](_0x1f5ebd[_0x52fce8(0x1e1)]),_0x46dd3d=_0x4e9612[_0x3ab6b4+0x1];if(_0x46dd3d){for(let _0x4e2edb=0x0;_0x4e2edb<_0x3a7815[_0x52fce8(0x1b3)];_0x4e2edb++)if(_0x3a7815[_0x4e2edb][_0x52fce8(0x1b8)][_0x52fce8(0x19d)][_0x52fce8(0x1e1)]===_0x46dd3d)return _0x4e2edb;}return _0x3a7815[_0x52fce8(0x1b3)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x2100a9,MenuBarMenuListItemButtonView as _0x56d510}from'ckeditor5/src/ui.js';import{Plugin as _0x4eb494}from'ckeditor5/src/core.js';import{IconFootnote as _0x4bb6d6}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x4eb494{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2b9a46}=this,{componentFactory:_0xc9e3f5}=_0x2b9a46['ui'];_0xc9e3f5['add']('insertFootnote',x(_0x2b9a46,_0x2100a9)),_0xc9e3f5['add']('menuBar:insertFootnote',x(_0x2b9a46,_0x56d510)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5e1244=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x28772d;for(const _0x3a191c in _0x5e1244){const _0x2fb633=_0x3a191c,_0x5d976d=_0x5e1244[_0x2fb633];if('footnotesLicenseKeyValid'==_0x5d976d||'footnotesLicenseKeyInvalid'==_0x5d976d||'footnotesLicenseKeyExpired'==_0x5d976d||'footnotesLicenseKeyDomainLimit'==_0x5d976d||'footnotesLicenseKeyNotAllowed'==_0x5d976d||'footnotesLicenseKeyEvaluationLimit'==_0x5d976d||'footnotesLicenseKeyTrialLimit'==_0x5d976d||'footnotesLicenseKeyUsageLimit'==_0x5d976d){delete _0x5e1244[_0x2fb633],_0x28772d=_0x5d976d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x28772d&&_0x5e1244['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x28772d&&_0x5e1244['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x28772d&&_0x5e1244['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x28772d&&_0x5e1244['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x28772d&&_0x5e1244['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x28772d&&_0x5e1244['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x28772d&&_0x5e1244['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x5b3392,_0x505622){const _0x50b9ef=_0x5b3392['commands']['get']('insertFootnote');return _0x34f70c=>{const {t:t}=_0x34f70c,_0x3fa39d=new _0x505622(_0x34f70c),_0x443efa=_0x3fa39d instanceof _0x56d510;return _0x3fa39d['bind']('isEnabled')['to'](_0x50b9ef,'isEnabled'),_0x3fa39d['set']({'label':t(_0x443efa?'Footnote':'Insert\x20footnote'),'icon':_0x4bb6d6,'tooltip':!0x0}),_0x3fa39d['on']('execute',()=>{_0x50b9ef['execute'](),_0x5b3392['editing']['view']['focus']();}),_0x3fa39d;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xdc6dcc,_0x34650a){var _0x5c6a6a=_0x46de,_0x47e2c2=_0xdc6dcc();while(!![]){try{var _0x47a4dd=-parseInt(_0x5c6a6a(0x7c))/0x1*(-parseInt(_0x5c6a6a(0x7f))/0x2)+parseInt(_0x5c6a6a(0x78))/0x3+parseInt(_0x5c6a6a(0x79))/0x4+-parseInt(_0x5c6a6a(0x80))/0x5+parseInt(_0x5c6a6a(0x7d))/0x6*(-parseInt(_0x5c6a6a(0x7b))/0x7)+parseInt(_0x5c6a6a(0x7a))/0x8*(parseInt(_0x5c6a6a(0x77))/0x9)+parseInt(_0x5c6a6a(0x7e))/0xa;if(_0x47a4dd===_0x34650a)break;else _0x47e2c2['push'](_0x47e2c2['shift']());}catch(_0x12fef4){_0x47e2c2['push'](_0x47e2c2['shift']());}}}(_0x34f9,0xc3a5b));import'./augmentation.js';function _0x46de(_0x2e5169,_0x6f97e4){var _0x34f976=_0x34f9();return _0x46de=function(_0x46de67,_0x5ace1e){_0x46de67=_0x46de67-0x77;var _0x12fd56=_0x34f976[_0x46de67];return _0x12fd56;},_0x46de(_0x2e5169,_0x6f97e4);}export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';function _0x34f9(){var _0x5be3d6=['876492CISUiS','3877492AyLTIl','2324264nJacGr','32515aiqNYR','3373pXIeuY','1878meWbFb','6915360kMQnNL','478QWEsmK','3972485sTZsGV','9Riursl'];_0x34f9=function(){return _0x5be3d6;};return _0x34f9();}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
|
-
function
|
|
23
|
+
const _0x260e17=_0x2ab5;function _0x2ab5(_0x39c79e,_0x12eba5){const _0x29b143=_0x29b1();return _0x2ab5=function(_0x2ab5b5,_0x31e5ea){_0x2ab5b5=_0x2ab5b5-0x1c3;let _0x32372c=_0x29b143[_0x2ab5b5];return _0x32372c;},_0x2ab5(_0x39c79e,_0x12eba5);}function _0x29b1(){const _0xde05f9=['getChanges','nodeAfter','2362265IIPIcT','8607762RKZPxJ','_trackedElements','getItems','length','reset','slice','insert','797406jKpnGW','_getElementKey','name','rootName','element','root','remove','elementName','1874416VoEUFW','34WUWJtH','from','attributes','getElementKey','add','clear','type','3237018uLHiUq','values','position','$text','delete','createRangeOn','_elementName','push','5165811pXIpfG','flat','_model','$graveyard','has','set','26603spTfyJ','12zPWGYG','get'];_0x29b1=function(){return _0xde05f9;};return _0x29b1();}(function(_0x17354d,_0x38da25){const _0x2f69cd=_0x2ab5,_0x15d8d1=_0x17354d();while(!![]){try{const _0x405c4c=-parseInt(_0x2f69cd(0x1ec))/0x1*(parseInt(_0x2f69cd(0x1d7))/0x2)+-parseInt(_0x2f69cd(0x1ce))/0x3*(-parseInt(_0x2f69cd(0x1ed))/0x4)+-parseInt(_0x2f69cd(0x1c6))/0x5+parseInt(_0x2f69cd(0x1de))/0x6+parseInt(_0x2f69cd(0x1e6))/0x7+parseInt(_0x2f69cd(0x1d6))/0x8+-parseInt(_0x2f69cd(0x1c7))/0x9;if(_0x405c4c===_0x38da25)break;else _0x15d8d1['push'](_0x15d8d1['shift']());}catch(_0x228663){_0x15d8d1['push'](_0x15d8d1['shift']());}}}(_0x29b1,0x6881e));export class ModelElementTracker{[_0x260e17(0x1e8)];[_0x260e17(0x1e4)];[_0x260e17(0x1cf)];[_0x260e17(0x1c8)]=new Map();constructor(_0x147fae,_0x1d6b46){const _0xe5dc14=_0x260e17;this[_0xe5dc14(0x1e8)]=_0x147fae,this[_0xe5dc14(0x1e4)]=_0x1d6b46[_0xe5dc14(0x1d5)],this[_0xe5dc14(0x1cf)]=_0x1d6b46[_0xe5dc14(0x1da)];}[_0x260e17(0x1cb)](){const _0x3c6224=_0x260e17;this[_0x3c6224(0x1c8)][_0x3c6224(0x1dc)]();}[_0x260e17(0x1c4)](_0x1f4a6c){const _0x3ac20f=_0x260e17,_0x5052d8=new Set(),_0x20ae66=new Map();for(const _0x2937de of _0x1f4a6c){if(_0x3ac20f(0x1cd)===_0x2937de[_0x3ac20f(0x1dd)]&&_0x3ac20f(0x1e1)!==_0x2937de[_0x3ac20f(0x1d0)]&&_0x2937de[_0x3ac20f(0x1e0)][_0x3ac20f(0x1c5)]){const _0x591493=this[_0x3ac20f(0x1e8)][_0x3ac20f(0x1e3)](_0x2937de[_0x3ac20f(0x1e0)][_0x3ac20f(0x1c5)]);for(const _0x3a4e95 of _0x591493[_0x3ac20f(0x1c9)]()){if(!_0x3a4e95['is'](_0x3ac20f(0x1d2),this[_0x3ac20f(0x1e4)]))continue;const _0x5ce13a=this[_0x3ac20f(0x1cf)](_0x3a4e95);_0x20ae66[_0x3ac20f(0x1ea)](_0x5ce13a)||_0x20ae66[_0x3ac20f(0x1eb)](_0x5ce13a,[]),_0x20ae66[_0x3ac20f(0x1c3)](_0x5ce13a)[_0x3ac20f(0x1e5)](_0x3a4e95);}}if(_0x3ac20f(0x1d4)===_0x2937de[_0x3ac20f(0x1dd)]&&_0x2937de[_0x3ac20f(0x1d0)]===this[_0x3ac20f(0x1e4)]){const _0x44d94d=this[_0x3ac20f(0x1cf)]({'getAttribute':_0x271c30=>_0x2937de[_0x3ac20f(0x1d9)][_0x3ac20f(0x1c3)](_0x271c30)});_0x5052d8[_0x3ac20f(0x1db)](_0x44d94d);}}for(const [_0x4f931a,_0x20147a]of this[_0x3ac20f(0x1c8)])_0x3ac20f(0x1e9)===_0x20147a[_0x3ac20f(0x1d3)][_0x3ac20f(0x1d1)]&&_0x5052d8[_0x3ac20f(0x1db)](_0x4f931a);for(const _0x28b213 of _0x5052d8)this[_0x3ac20f(0x1c8)][_0x3ac20f(0x1e2)](_0x28b213);for(const [_0x3efbbb,_0x1f83c4]of _0x20ae66)this[_0x3ac20f(0x1c8)][_0x3ac20f(0x1eb)](_0x3efbbb,_0x1f83c4[_0x1f83c4[_0x3ac20f(0x1ca)]-0x1]);const _0x5683f6=new Set();for(const [_0x4efabe,_0x191345]of _0x20ae66)_0x5052d8[_0x3ac20f(0x1ea)](_0x4efabe)&&(_0x5683f6[_0x3ac20f(0x1db)](_0x191345[0x0]),_0x191345[_0x3ac20f(0x1ca)]>0x1?_0x20ae66[_0x3ac20f(0x1eb)](_0x4efabe,_0x191345[_0x3ac20f(0x1cc)](0x1)):_0x20ae66[_0x3ac20f(0x1e2)](_0x4efabe),_0x5052d8[_0x3ac20f(0x1e2)](_0x4efabe));return{'removed':Array[_0x3ac20f(0x1d8)](_0x5052d8),'inserted':Array[_0x3ac20f(0x1d8)](_0x20ae66[_0x3ac20f(0x1df)]())[_0x3ac20f(0x1e7)](),'moved':Array[_0x3ac20f(0x1d8)](_0x5683f6)};}}
|