@ckeditor/ckeditor5-footnotes 47.2.0-alpha.5 → 47.2.0-alpha.6
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 _0x287e8c}from'ckeditor5/src/core.js';import{isWidget as _0x3c1671,toWidget as _0x26edb4,toWidgetEditable as _0xde846a}from'ckeditor5/src/widget.js';import{uid as _0x3e8ec7}from'ckeditor5/src/utils.js';import{PointerObserver as _0x351974,ClickObserver as _0x3ee15a}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x307ff1}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x25964d}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x287e8c{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x307ff1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xc805e5}=this;_0xc805e5['config']['define']('footnotes.multiBlock',!0x0),_0xc805e5['commands']['add']('insertFootnote',new _0x25964d(_0xc805e5)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5b692f){const _0x21f8e5=_0x118843([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]),_0x637abb=0x47a28506,_0x1f7da0=0x47a5fd0e^_0x637abb,_0x2d6094=window[_0x118843([0x44,0x61,0x74,0x65])][_0x118843([0x6e,0x6f,0x77])](),_0x18f541=_0x5b692f[_0x118843([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x12cb13=new window[(_0x118843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d85aa=>{_0x18f541[_0x118843([0x6f,0x6e,0x63,0x65])](_0x118843([0x72,0x65,0x61,0x64,0x79]),_0x4d85aa);}),_0x565685={[_0x118843([0x6b,0x74,0x79])]:_0x118843([0x45,0x43]),[_0x118843([0x75,0x73,0x65])]:_0x118843([0x73,0x69,0x67]),[_0x118843([0x63,0x72,0x76])]:_0x118843([0x50,0x2d,0x32,0x35,0x36]),[_0x118843([0x78])]:_0x118843([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]),[_0x118843([0x79])]:_0x118843([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]),[_0x118843([0x61,0x6c,0x67])]:_0x118843([0x45,0x53,0x32,0x35,0x36])},_0xae39e7=_0x18f541[_0x118843([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x118843([0x67,0x65,0x74])](_0x118843([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1c5edd(){let _0x45e44c,_0x2e87fb=null,_0x2927cb=null;try{if(_0xae39e7==_0x118843([0x47,0x50,0x4c]))return _0x118843([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x45e44c=_0x51d9b8(),!_0x45e44c)return _0x118843([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x45e44c[_0x118843([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2927cb=_0x4502c7(_0x45e44c[_0x118843([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x45e44c[_0x118843([0x6a,0x74,0x69])])),await _0x3a764d()?_0xe9314e()?_0x436c72()?_0x118843([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x878525()?(_0x45e44c[_0x118843([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x118843([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e87fb=_0x4edf01(_0x118843([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x45e44c[_0x118843([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x118843([0x74,0x72,0x69,0x61,0x6c])&&(_0x2e87fb=_0x4edf01(_0x118843([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x8acd33()):_0x118843([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x118843([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x118843([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x118843([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x436c72(){const _0x2571e2=[_0x118843([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x118843([0x74,0x72,0x69,0x61,0x6c])][_0x118843([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45e44c[_0x118843([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2d6094/0x3e8:0xe10*_0x1f7da0;return _0x45e44c[_0x118843([0x65,0x78,0x70])]<_0x2571e2;}function _0xe9314e(){const _0x2b6bb6=_0x45e44c[_0x118843([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2b6bb6&&(!!_0x2b6bb6[_0x118843([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x118843([0x2a]))||!!_0x2b6bb6[_0x118843([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x118843([0x46,0x4f,0x4f])));}function _0x878525(){const _0x2ac09d=_0x45e44c[_0x118843([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2ac09d||0x0==_0x2ac09d[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2592c2}=new URL(window[_0x118843([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2ac09d[_0x118843([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2592c2))return!0x0;const _0x41b4b4=_0x2592c2[_0x118843([0x73,0x70,0x6c,0x69,0x74])](_0x118843([0x2e]));return _0x2ac09d[_0x118843([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49dc35=>_0x49dc35[_0x118843([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x118843([0x2a])))[_0x118843([0x6d,0x61,0x70])](_0x4c8868=>_0x4c8868[_0x118843([0x73,0x70,0x6c,0x69,0x74])](_0x118843([0x2e])))[_0x118843([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1aefb3=>_0x1aefb3[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x41b4b4[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x118843([0x6d,0x61,0x70])](_0x489cdf=>Array(_0x41b4b4[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x489cdf[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x118843([0x66,0x69,0x6c,0x6c])](_0x489cdf[0x0]===_0x118843([0x2a])?_0x118843([0x2a]):'')[_0x118843([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x489cdf))[_0x118843([0x73,0x6f,0x6d,0x65])](_0x5ef863=>_0x41b4b4[_0x118843([0x65,0x76,0x65,0x72,0x79])]((_0x58150e,_0x4a2e5c)=>_0x5ef863[_0x4a2e5c]===_0x58150e||_0x5ef863[_0x4a2e5c]===_0x118843([0x2a])));}function _0x8acd33(){return _0x2e87fb&&_0x2927cb?new window[(_0x118843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20b1e1,_0x33f542)=>{_0x2e87fb[_0x118843([0x74,0x68,0x65,0x6e])](_0x20b1e1,_0x33f542),_0x2927cb[_0x118843([0x74,0x68,0x65,0x6e])](_0x433090=>{_0x433090!=_0x118843([0x56,0x61,0x6c,0x69,0x64])&&_0x20b1e1(_0x433090);},_0x33f542);}):_0x2e87fb||_0x2927cb||_0x118843([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4502c7(_0x42bb6f,_0x5f3ce2){return new window[(_0x118843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x238999=>{if(_0x437757())return _0x238999(_0x118843([0x56,0x61,0x6c,0x69,0x64]));_0x523e7d(),_0x18f541[_0x118843([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x118843([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x26e447=!0x1;const _0x3c577a=_0x3e8ec7();function _0x5687f8(_0x3973de){return!!_0x3973de&&(typeof _0x3973de===_0x118843([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3973de===_0x118843([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3973de[_0x118843([0x74,0x68,0x65,0x6e])]===_0x118843([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3973de[_0x118843([0x63,0x61,0x74,0x63,0x68])]===_0x118843([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x6cee0a(_0x1dc2f8){_0xd513a(_0x1dc2f8)[_0x118843([0x74,0x68,0x65,0x6e])](_0xa6a657=>{if(!_0xa6a657||_0xa6a657[_0x118843([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x118843([0x6f,0x6b]))return _0x118843([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x54c31d(_0x56956d(_0x3c577a+_0x5f3ce2))!=_0xa6a657[_0x118843([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x118843([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x118843([0x56,0x61,0x6c,0x69,0x64]);})[_0x118843([0x74,0x68,0x65,0x6e])](_0x526ece=>(_0x5218fe(),_0x526ece),()=>{const _0x568c1e=_0x21fa9f();return null==_0x568c1e?(_0x5218fe(),_0x118843([0x56,0x61,0x6c,0x69,0x64])):_0x118843(_0x2d6094-_0x568c1e>(0x63ae0106^_0x637abb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x118843([0x74,0x68,0x65,0x6e])](_0x238999)[_0x118843([0x63,0x61,0x74,0x63,0x68])](()=>{_0x238999(_0x118843([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x25e601=0x47946b86^_0x637abb;function _0x5218fe(){const _0x1b88cd=_0x118843([0x6c,0x6c,0x63,0x74,0x2d])+_0x54c31d(_0x56956d(_0x42bb6f)),_0x427070=_0x52b1fb(_0x54c31d(window[_0x118843([0x4d,0x61,0x74,0x68])][_0x118843([0x63,0x65,0x69,0x6c])](_0x2d6094/_0x25e601)));window[_0x118843([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x118843([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b88cd,_0x427070);}function _0x21fa9f(){const _0xf42cba=_0x118843([0x6c,0x6c,0x63,0x74,0x2d])+_0x54c31d(_0x56956d(_0x42bb6f)),_0x5178d7=window[_0x118843([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x118843([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf42cba);return _0x5178d7?window[_0x118843([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52b1fb(_0x5178d7),0x10)*_0x25e601:null;}function _0xd513a(_0x3a965d){return new window[(_0x118843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x425d92,_0x53c425)=>{_0x3a965d[_0x118843([0x74,0x68,0x65,0x6e])](_0x425d92,_0x53c425),window[_0x118843([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x53c425,0x47a351c6^_0x637abb);});}}_0x18f541[_0x118843([0x6f,0x6e])](_0x118843([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x581c92,_0x4226ce)=>{if(_0x4226ce[0x0]!=_0x42bb6f)return _0x238999(_0x118843([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4226ce[0x1]={..._0x4226ce[0x1],[_0x118843([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3c577a};},{[_0x118843([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x118843([0x68,0x69,0x67,0x68])}),_0x18f541[_0x118843([0x6f,0x6e])](_0x118843([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3eab4d=>{_0x5687f8(_0x3eab4d[_0x118843([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x26e447=!0x0,_0x6cee0a(_0x3eab4d[_0x118843([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x118843([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x118843([0x6c,0x6f,0x77])}),_0x12cb13[_0x118843([0x74,0x68,0x65,0x6e])](()=>{_0x26e447||_0x238999(_0x118843([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x437757(){return _0x18f541[_0x118843([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x118843([0x76,0x69,0x65,0x77])][_0x118843([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x118843([0x61,0x75,0x74,0x6f]);}function _0x523e7d(){_0x18f541[_0x118843([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x118843([0x76,0x69,0x65,0x77])][_0x118843([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x118843([0x61,0x75,0x74,0x6f]);}}function _0x4edf01(_0x519bb5){const _0x5a31a4=[new window[(_0x118843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a494e=>setTimeout(_0x5a494e,0x47abbbca^_0x637abb)),_0x12cb13[_0x118843([0x74,0x68,0x65,0x6e])](()=>new window[(_0x118843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x532497=>{let _0x416e0=0x0;_0x18f541[_0x118843([0x6d,0x6f,0x64,0x65,0x6c])][_0x118843([0x6f,0x6e])](_0x118843([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x770eb5,_0x2b8a00)=>{_0x2b8a00[0x0][_0x118843([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x416e0++,_0x416e0==(0x47a284fe^_0x637abb)&&(_0x532497(),_0x770eb5[_0x118843([0x6f,0x66,0x66])]());});}))];return window[_0x118843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x118843([0x72,0x61,0x63,0x65])](_0x5a31a4)[_0x118843([0x74,0x68,0x65,0x6e])](()=>_0x519bb5);}async function _0x42995c(){await _0x12cb13,_0x18f541[_0x118843([0x6d,0x6f,0x64,0x65,0x6c])][_0x118843([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x251936,_0x18f541[_0x118843([0x6d,0x6f,0x64,0x65,0x6c])][_0x118843([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x251936,_0x18f541[_0x118843([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x118843([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5c7771(_0x3ac86c){const _0x5827f3=_0x47526b();_0x18f541[_0x5827f3]=_0x118843([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ac86c,_0x3ac86c!=_0x118843([0x56,0x61,0x6c,0x69,0x64])&&_0x42995c();}function _0x47526b(){const _0x25748d=window[_0x118843([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x118843([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x118843([0x6e,0x6f,0x77])]())[_0x118843([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x118843([0x2e]),'');let _0x3e69b2=_0x118843([0x75]);for(let _0x4b678a=0x0;_0x4b678a<_0x25748d[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b678a+=0x2){let _0x584b72=window[_0x118843([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25748d[_0x118843([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b678a,_0x4b678a+0x2));_0x584b72>=_0x21f8e5[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x584b72-=_0x21f8e5[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e69b2+=_0x21f8e5[_0x584b72];}return _0x3e69b2;}function _0x51d9b8(){const _0x151fa6=_0xae39e7[_0x118843([0x73,0x70,0x6c,0x69,0x74])](_0x118843([0x2e]));if(0x3!=_0x151fa6[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x38fc63(_0x151fa6[0x1]);function _0x38fc63(_0x425f48){const _0x58d8f8=_0x43dbf4(_0x425f48);return _0x58d8f8&&_0xae220()?_0x58d8f8:null;function _0xae220(){const _0x38f2a0=_0x58d8f8[_0x118843([0x6a,0x74,0x69])],_0xbe56da=window[_0x118843([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38f2a0[_0x118843([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38f2a0[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4283d6={..._0x58d8f8,[_0x118843([0x6a,0x74,0x69])]:_0x38f2a0[_0x118843([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x38f2a0[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4283d6[_0x118843([0x76,0x63])],_0x56956d(_0x4283d6)==_0xbe56da;}}}async function _0x3a764d(){let _0x1b6488=!0x0;try{const _0x15d68e=_0xae39e7[_0x118843([0x73,0x70,0x6c,0x69,0x74])](_0x118843([0x2e])),[_0xaa5d29,_0x3cef27,_0x27a890]=_0x15d68e;return _0x1d50f1(_0xaa5d29),await _0x308782(_0xaa5d29,_0x3cef27,_0x27a890),_0x1b6488;}catch{return!0x1;}function _0x1d50f1(_0x496c9c){const _0x27405f=_0x43dbf4(_0x496c9c);_0x27405f&&_0x27405f[_0x118843([0x61,0x6c,0x67])]==_0x118843([0x45,0x53,0x32,0x35,0x36])||(_0x1b6488=!0x1);}async function _0x308782(_0x37f3d7,_0x4a3117,_0xe92c9e){const _0x90d834=window[_0x118843([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x118843([0x66,0x72,0x6f,0x6d])](_0x1a724c(_0xe92c9e),_0x3eca32=>_0x3eca32[_0x118843([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3c008f=new window[(_0x118843([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x118843([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x37f3d7+_0x118843([0x2e])+_0x4a3117),_0x1d9552=window[_0x118843([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x118843([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d9552)return;const _0x4cb60a=await _0x1d9552[_0x118843([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x118843([0x6a,0x77,0x6b]),_0x565685,{[_0x118843([0x6e,0x61,0x6d,0x65])]:_0x118843([0x45,0x43,0x44,0x53,0x41]),[_0x118843([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x118843([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x118843([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d9552[_0x118843([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x118843([0x6e,0x61,0x6d,0x65])]:_0x118843([0x45,0x43,0x44,0x53,0x41]),[_0x118843([0x68,0x61,0x73,0x68])]:{[_0x118843([0x6e,0x61,0x6d,0x65])]:_0x118843([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4cb60a,_0x90d834,_0x3c008f)||(_0x1b6488=!0x1);}}function _0x43dbf4(_0x4d2aef){return _0x4d2aef[_0x118843([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x118843([0x65,0x79]))?JSON[_0x118843([0x70,0x61,0x72,0x73,0x65])](_0x1a724c(_0x4d2aef)):null;}function _0x1a724c(_0x482ad2){return window[_0x118843([0x61,0x74,0x6f,0x62])](_0x482ad2[_0x118843([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x118843([0x2b]))[_0x118843([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x118843([0x2f])));}function _0x56956d(_0x25c971){let _0x413c3e=0x1505;function _0x192fe6(_0x134e21){for(let _0x1a92bf=0x0;_0x1a92bf<_0x134e21[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a92bf++){const _0x3f4633=_0x134e21[_0x118843([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1a92bf);_0x413c3e=(_0x413c3e<<0x5)+_0x413c3e+_0x3f4633,_0x413c3e&=_0x413c3e;}}function _0x5c3861(_0x888d18){Array[_0x118843([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x888d18)?_0x888d18[_0x118843([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5c3861):_0x888d18&&typeof _0x888d18==_0x118843([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x118843([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x888d18)[_0x118843([0x73,0x6f,0x72,0x74])]()[_0x118843([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2f7021,_0x5b052a])=>{_0x192fe6(_0x2f7021),_0x5c3861(_0x5b052a);}):_0x192fe6(window[_0x118843([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x888d18));}return _0x5c3861(_0x25c971),_0x413c3e>>>0x0;}function _0x54c31d(_0x20567a){return _0x20567a[_0x118843([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x118843([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x118843([0x30]));}function _0x52b1fb(_0x353d25){return _0x353d25[_0x118843([0x73,0x70,0x6c,0x69,0x74])]('')[_0x118843([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x118843([0x6a,0x6f,0x69,0x6e])]('');}function _0x251936(){}function _0x118843(_0x4b0847){return _0x4b0847['map'](_0xa58481=>String['fromCharCode'](_0xa58481))['join']('');}_0x5c7771(await _0x1c5edd());}(this);}['_moveSelectionToFootnoteDefinition'](_0x36125c){const {plugins:_0x1b01f3,editing:_0x319ebe,model:_0x4e8b8a}=this['editor'],_0x3b2685=_0x1b01f3['get'](_0x307ff1)['getFootnote'](_0x36125c);return!!_0x3b2685&&(_0x4e8b8a['change'](_0x16b8b4=>{_0x16b8b4['setSelection'](_0x16b8b4['createPositionAt'](_0x3b2685['definition'],'end'));}),_0x319ebe['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x540bdd){const {plugins:_0x163eb5,editing:_0x4c4b93,model:_0x462daa}=this['editor'],_0x537425=_0x163eb5['get'](_0x307ff1)['getFootnote'](_0x540bdd);return!!_0x537425&&(_0x462daa['change'](_0x5963f4=>{_0x5963f4['setSelection'](_0x537425['reference'],'on');}),_0x4c4b93['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3a2abe}=this['editor']['model'],_0x327435=this['editor']['config']['get']('footnotes.multiBlock');_0x3a2abe['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3a2abe['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3a2abe['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x327435?_0x3a2abe['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3a2abe['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3a2abe['addChildCheck'](_0x1a1614=>{for(const _0x469cac of _0x1a1614)if('footnoteDefinition'===_0x469cac['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x461dad}=this,{conversion:_0x411f6,editing:_0x3af771}=_0x461dad,{t:t}=_0x461dad['locale'];_0x411f6['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x148ea0,{writer:_0x1f0467,consumable:_0x3f7212})=>{const _0x4cb601=_0x148ea0['getChild'](0x0);if(!_0x4cb601||!_0x4cb601['is']('element','a'))return null;const _0x5892bb=_0x4cb601['getAttribute']('href')||'';if(!_0x5892bb['startsWith']('#'))return null;const _0x5b0e8a=_0x5892bb['replace'](/^#/,'');if(!_0x5b0e8a)return null;_0x3f7212['consume'](_0x4cb601,{'name':!0x0,'attributes':['href']});for(const {item:_0x2d5f48}of _0x3af771['view']['createRangeIn'](_0x4cb601))_0x2d5f48['is']('$textProxy')?_0x3f7212['consume'](_0x2d5f48['textNode'],{'name':!0x0}):_0x2d5f48['is']('element')&&_0x3f7212['consume'](_0x2d5f48,{'name':!0x0});return _0x1f0467['createElement']('footnoteRef',{'footnoteId':_0x5b0e8a});}}),_0x411f6['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x397331,{writer:_0x3ce3e1})=>D(_0x397331,_0x3ce3e1)}),_0x411f6['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x267479,{writer:_0x28aa42})=>{const _0x169c36=_0x267479['getAttribute']('footnoteCounter');return _0x26edb4(D(_0x267479,_0x28aa42),_0x28aa42,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x169c36)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1fc079}=this,{t:t}=_0x1fc079['locale'],{conversion:_0x6fbebf}=_0x1fc079;_0x6fbebf['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x6fbebf['for']('upcast')['add'](_0x18538c=>{_0x18538c['on']('element:ol',(_0x37120b,_0x5913c4,_0xd91da7)=>{const _0x16742c=_0x5913c4['viewItem'];if(!_0x16742c['hasClass']('footnotes-list')||!_0x5913c4['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0xd91da7['consumable']['consume'](_0x16742c,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x410abe,modelCursor:_0xa963b4}=_0xd91da7['convertChildren'](_0x5913c4['viewItem'],_0x5913c4['modelCursor']);_0x5913c4['modelRange']=_0x410abe,_0x5913c4['modelCursor']=_0xa963b4;}),_0x18538c['on']('element:hr',(_0x177f15,_0x222b09,_0x4645a4)=>{const _0x12ab73=_0x222b09['viewItem'];_0x12ab73['hasClass']('footnotes-divider')&&_0x222b09['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4645a4['consumable']['consume'](_0x12ab73,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x6fbebf['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2c342d,{writer:_0x72dacc})=>v(_0x72dacc)}),_0x6fbebf['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2e44d9,{writer:_0x547d55})=>{const _0x5ddc80=v(_0x547d55,{'data-footnotes-list-label':t('Footnotes')}),_0x43f8d9=_0x26edb4(_0x5ddc80,_0x547d55,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x547d55['setCustomProperty']('footnotesDefinitions',!0x0,_0x43f8d9),_0x43f8d9;}});}['_defineDefinitionConverters'](){const {editor:_0x805b85}=this,{conversion:_0x1fab12,locale:_0x4a4cfc}=_0x805b85,_0x500f1c=_0x805b85['config']['get']('footnotes.multiBlock');_0x1fab12['for']('upcast')['add'](_0xd360e=>{_0xd360e['on']('element:li',(_0x33c55f,_0x576a73,_0x30bdf5)=>{const _0x2510bc=_0x576a73['viewItem'];if(!_0x2510bc['hasClass']('footnote-definition')||!_0x2510bc['getAttribute']('id'))return;const _0x33a2e3=_0x2510bc['parent'];if(!_0x33a2e3['is']('element','ol')||!_0x33a2e3['hasClass']('footnotes-list'))return;if(!_0x30bdf5['consumable']['test'](_0x2510bc,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3a0cbf=_0x30bdf5['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2510bc['getAttribute']('id')});if(!_0x30bdf5['safeInsert'](_0x3a0cbf,_0x576a73['modelCursor']))return;_0x30bdf5['consumable']['consume'](_0x2510bc,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1e103d=Array['from'](_0x2510bc['getChildren']())['find'](_0x4a27e9=>_0x4a27e9['is']('element')&&_0x4a27e9['hasClass']('footnote-content'));for(const _0x153d53 of _0x2510bc['getChildren']())_0x153d53['is']('element')&&(_0x30bdf5['consumable']['consume'](_0x153d53,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x30bdf5['consumable']['consume'](_0x153d53,{'name':!0x0,'classes':'footnote-content'}));if(_0x1e103d){if(_0x500f1c)_0x30bdf5['convertChildren'](_0x1e103d,_0x3a0cbf);else{const _0x1bfc08=_0x30bdf5['writer']['createElement']('footnoteInlineContent');_0x30bdf5['writer']['insert'](_0x1bfc08,_0x3a0cbf),_0x30bdf5['convertChildren'](_0x1e103d,_0x1bfc08);}}_0x30bdf5['updateConversionResult'](_0x3a0cbf,_0x576a73);});}),_0x1fab12['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x32d501,{writer:_0x2499f8})=>b(_0x32d501,_0x2499f8,_0x4a4cfc,{'dataPipeline':!0x0})}),_0x1fab12['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4e026e,{writer:_0xa1ad72})=>b(_0x4e026e,_0xa1ad72,_0x4a4cfc)});}['_defineBogusParagraphConverters'](){const {editor:_0x553cc6}=this,{conversion:_0x267b5d}=_0x553cc6;_0x553cc6['config']['get']('footnotes.multiBlock')?(_0x267b5d['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x267b5d['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x553cc6['model']['document'],'change:data',()=>{!function(_0x21bdf7,_0x5b8e72){const _0x3fa5a9=_0x21bdf7['document']['differ'],_0x145177=new Set();for(const _0x48ceb3 of _0x3fa5a9['getChanges']()){const _0x1e9d7e='attribute'==_0x48ceb3['type']?_0x48ceb3['range']['start']['parent']:_0x48ceb3['position']['parent'];_0x1e9d7e['is']('element','footnoteDefinition')&&_0x145177['add'](_0x1e9d7e);}for(const _0x458996 of _0x145177['values']()){const _0x313255=Array['from'](_0x458996['getChildren']())['filter'](_0x285407=>g(_0x285407,_0x5b8e72['mapper']));for(const _0x46b3f8 of _0x313255)_0x5b8e72['reconvertItem'](_0x46b3f8);}}(_0x553cc6['model'],_0x553cc6['editing']);})):(_0x267b5d['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x267b5d['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x412e98,{writer:_0x456181})=>{const _0x27fb8b=_0x456181['createContainerElement']('span');return _0x456181['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x27fb8b),_0x27fb8b;}}));}['_defineKeyboardHandlers'](){const {editor:_0xa160fd}=this,{editing:_0x2ce21c,t:t}=_0xa160fd,_0x18250c=_0xa160fd['model']['document']['selection'];_0xa160fd['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0xa160fd['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2ce21c['view']['document'],'enter',(_0x2cf33f,_0x3b5fec)=>{const _0x36c1e6=function(_0x5ddd61){const _0x21f83e=_0x5ddd61['getSelectedElement']();if(_0x21f83e?.['is']('element','footnoteRef'))return _0x21f83e;return null;}(_0x18250c);if(_0x36c1e6){const _0x3ce939=_0x36c1e6['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3ce939),_0x3b5fec['preventDefault'](),_0x2cf33f['stop']();}},{'context':_0x3c1671});}['_defineClickHandlers'](){const {editor:_0x32c05f}=this,{editing:_0x18d06f}=_0x32c05f;_0x32c05f['editing']['view']['addObserver'](_0x351974),_0x32c05f['editing']['view']['addObserver'](_0x3ee15a);let _0x302e64=!0x1;this['listenTo'](_0x18d06f['view']['document'],'pointerdown',(_0xfe077,_0x1a56fc)=>{const {target:_0x3829bf}=_0x1a56fc,_0x39b964=_0x18d06f['view']['document']['selection'];_0x302e64=!!(_0x3829bf?.['is']('element','a')&&_0x3829bf['parent']?.['is']('element','sup')&&_0x3829bf['parent']['hasClass']('footnote'))&&_0x39b964['getSelectedElement']()===_0x3829bf['parent'];},{'priority':'high'}),this['listenTo'](_0x18d06f['view']['document'],'click',(_0x529d5f,_0x261629)=>{const {target:_0x313651}=_0x261629;if(!_0x313651?.['is']('element','a'))return;if(_0x313651['parent']?.['is']('element','sup')&&_0x313651['parent']['hasClass']('footnote')&&!_0x302e64)return void _0x261629['preventDefault']();let _0x456083=_0x313651['getAttribute']('href');if(!_0x456083?.['startsWith']('#'))return;_0x456083=_0x456083['slice'](0x1);let _0x117c0b=!0x1;(_0x456083['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x456083['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x456083))&&(_0x117c0b=!0x0),_0x117c0b&&(_0x261629['preventDefault'](),_0x529d5f['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x98b63b}={}){return(_0x27f962,{writer:_0x23262c})=>{if(!p(_0x27f962))return null;if(!_0x98b63b)return _0x23262c['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x396437=_0x23262c['createContainerElement']('p');return _0x23262c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x396437),_0x396437;};}function p(_0x2c94c8){const {parent:_0x479225}=_0x2c94c8;if(!_0x479225?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x479225['childCount'])return!0x1;for(const _0x589dd9 of _0x2c94c8['getAttributeKeys']())if(!_0x589dd9['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x589dd9)return!0x1;return!0x0;}function g(_0x594f5a,_0x238258){if(!_0x594f5a['is']('element','paragraph'))return!0x1;const _0xbe7699=_0x238258['toViewElement'](_0x594f5a);return!!_0xbe7699&&p(_0x594f5a)!==_0xbe7699['is']('element','span');}export function isFootnotesDefinitionsWidget(_0xba09f5){return _0x3c1671(_0xba09f5)&&_0xba09f5['is']('containerElement')&&!!_0xba09f5['getCustomProperty']('footnotesDefinitions');}function v(_0x5f5b25,_0xef6986={}){const _0x9b5733=_0x5f5b25['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x58dbf9=_0x5f5b25['createContainerElement']('ol',{'class':'footnotes-list'},_0x5f5b25['createSlot']());return _0x5f5b25['createContainerElement']('div',{'class':'footnotes',..._0xef6986},[_0x9b5733,_0x58dbf9]);}function D(_0x3e99ef,_0x1a1112){const _0x587b0e=_0x3e99ef['getAttribute']('footnoteId'),_0x19d4b1=_0x3e99ef['getAttribute']('footnoteCounter'),_0x23c547=_0x1a1112['createUIElement']('a',{'href':'#'+_0x587b0e},function(_0x15684a){const _0x30f96e=this['toDomElement'](_0x15684a);return _0x30f96e['textContent']=_0x19d4b1,_0x30f96e;}),_0x308474=_0x1a1112['createContainerElement']('sup',{'id':'ref-'+_0x587b0e,'class':'footnote'},[_0x23c547]);return _0x308474['getFillerOffset']=()=>null,_0x308474;}function b(_0x44a902,_0x79fb0d,_0x2f24d1,{dataPipeline:_0x4ad34c}={}){const {t:t}=_0x2f24d1,_0x7f1d1e=_0x44a902['getAttribute']('footnoteId'),_0x447130=_0x79fb0d['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x7f1d1e},function(_0x1ed698){const _0x2c9f74=this['toDomElement'](_0x1ed698);return _0x2c9f74['innerText']='^',_0x2c9f74;}),_0xdc0067=_0x4ad34c?_0x79fb0d['createContainerElement']('div',{'class':'footnote-content'}):_0xde846a(_0x79fb0d['createEditableElement']('div',{'class':'footnote-content'}),_0x79fb0d,{'label':t('Footnote\x20content.')});return _0x79fb0d['insert'](_0x79fb0d['createPositionAt'](_0xdc0067,0x0),_0x79fb0d['createSlot']()),_0x79fb0d['createContainerElement']('li',{'class':'footnote-definition','id':_0x7f1d1e},[_0x447130,_0xdc0067]);}
|
|
23
|
+
import{Plugin as _0x36502f}from'ckeditor5/src/core.js';import{isWidget as _0x128445,toWidget as _0x533e17,toWidgetEditable as _0xcc3664}from'ckeditor5/src/widget.js';import{uid as _0x26d446}from'ckeditor5/src/utils.js';import{PointerObserver as _0x4571b5,ClickObserver as _0x2722f0}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x488683}from'./footnotestracker.js';import{InsertFootnoteCommand as _0xa39933}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x36502f{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x488683];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x46b62d}=this;_0x46b62d['config']['define']('footnotes.multiBlock',!0x0),_0x46b62d['commands']['add']('insertFootnote',new _0xa39933(_0x46b62d)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x54b2d8){const _0x310cbe=_0x104e72([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]),_0x23b0ea=0x47a28506,_0x36a758=0x47a5fd26^_0x23b0ea,_0x29adb8=window[_0x104e72([0x44,0x61,0x74,0x65])][_0x104e72([0x6e,0x6f,0x77])](),_0x30ee02=_0x54b2d8[_0x104e72([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x448f2a=new window[(_0x104e72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x487046=>{_0x30ee02[_0x104e72([0x6f,0x6e,0x63,0x65])](_0x104e72([0x72,0x65,0x61,0x64,0x79]),_0x487046);}),_0x294145={[_0x104e72([0x6b,0x74,0x79])]:_0x104e72([0x45,0x43]),[_0x104e72([0x75,0x73,0x65])]:_0x104e72([0x73,0x69,0x67]),[_0x104e72([0x63,0x72,0x76])]:_0x104e72([0x50,0x2d,0x32,0x35,0x36]),[_0x104e72([0x78])]:_0x104e72([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]),[_0x104e72([0x79])]:_0x104e72([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]),[_0x104e72([0x61,0x6c,0x67])]:_0x104e72([0x45,0x53,0x32,0x35,0x36])},_0x14efe7=_0x30ee02[_0x104e72([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x104e72([0x67,0x65,0x74])](_0x104e72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x547a42(){let _0x3d86ee,_0x196cea=null,_0x18a7a2=null;try{if(_0x14efe7==_0x104e72([0x47,0x50,0x4c]))return _0x104e72([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3d86ee=_0x2d8b14(),!_0x3d86ee)return _0x104e72([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3d86ee[_0x104e72([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x18a7a2=_0x83a43(_0x3d86ee[_0x104e72([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3d86ee[_0x104e72([0x6a,0x74,0x69])])),await _0x37d061()?_0x43faf4()?_0x7c86b1()?_0x104e72([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x269858()?(_0x3d86ee[_0x104e72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x104e72([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x196cea=_0x3116fc(_0x104e72([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3d86ee[_0x104e72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x104e72([0x74,0x72,0x69,0x61,0x6c])&&(_0x196cea=_0x3116fc(_0x104e72([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x13ed7()):_0x104e72([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x104e72([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x104e72([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x104e72([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7c86b1(){const _0x1fbe5e=[_0x104e72([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x104e72([0x74,0x72,0x69,0x61,0x6c])][_0x104e72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d86ee[_0x104e72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x29adb8/0x3e8:0xe10*_0x36a758;return _0x3d86ee[_0x104e72([0x65,0x78,0x70])]<_0x1fbe5e;}function _0x43faf4(){const _0x268a42=_0x3d86ee[_0x104e72([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x268a42&&(!!_0x268a42[_0x104e72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x104e72([0x2a]))||!!_0x268a42[_0x104e72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x104e72([0x46,0x4f,0x4f])));}function _0x269858(){const _0x57d093=_0x3d86ee[_0x104e72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x57d093||0x0==_0x57d093[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2ca7c5}=new URL(window[_0x104e72([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x57d093[_0x104e72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ca7c5))return!0x0;const _0x25162c=_0x2ca7c5[_0x104e72([0x73,0x70,0x6c,0x69,0x74])](_0x104e72([0x2e]));return _0x57d093[_0x104e72([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5700d2=>_0x5700d2[_0x104e72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x104e72([0x2a])))[_0x104e72([0x6d,0x61,0x70])](_0x4f9eb1=>_0x4f9eb1[_0x104e72([0x73,0x70,0x6c,0x69,0x74])](_0x104e72([0x2e])))[_0x104e72([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4650fc=>_0x4650fc[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x25162c[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x104e72([0x6d,0x61,0x70])](_0x35a5b1=>Array(_0x25162c[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x35a5b1[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x104e72([0x66,0x69,0x6c,0x6c])](_0x35a5b1[0x0]===_0x104e72([0x2a])?_0x104e72([0x2a]):'')[_0x104e72([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x35a5b1))[_0x104e72([0x73,0x6f,0x6d,0x65])](_0x54995c=>_0x25162c[_0x104e72([0x65,0x76,0x65,0x72,0x79])]((_0x4c9ac9,_0x537325)=>_0x54995c[_0x537325]===_0x4c9ac9||_0x54995c[_0x537325]===_0x104e72([0x2a])));}function _0x13ed7(){return _0x196cea&&_0x18a7a2?new window[(_0x104e72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x490fbb,_0x42d6c1)=>{_0x196cea[_0x104e72([0x74,0x68,0x65,0x6e])](_0x490fbb,_0x42d6c1),_0x18a7a2[_0x104e72([0x74,0x68,0x65,0x6e])](_0x4ea8d1=>{_0x4ea8d1!=_0x104e72([0x56,0x61,0x6c,0x69,0x64])&&_0x490fbb(_0x4ea8d1);},_0x42d6c1);}):_0x196cea||_0x18a7a2||_0x104e72([0x56,0x61,0x6c,0x69,0x64]);}}function _0x83a43(_0x1b2a58,_0x54c628){return new window[(_0x104e72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x183fc7=>{if(_0x263dd6())return _0x183fc7(_0x104e72([0x56,0x61,0x6c,0x69,0x64]));_0x3e5165(),_0x30ee02[_0x104e72([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x104e72([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c0e51=!0x1;const _0x5e8d25=_0x26d446();function _0x5152ec(_0x5e5a60){return!!_0x5e5a60&&(typeof _0x5e5a60===_0x104e72([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5e5a60===_0x104e72([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5e5a60[_0x104e72([0x74,0x68,0x65,0x6e])]===_0x104e72([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5e5a60[_0x104e72([0x63,0x61,0x74,0x63,0x68])]===_0x104e72([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x7d54f4(_0x4fa690){_0x2f0a94(_0x4fa690)[_0x104e72([0x74,0x68,0x65,0x6e])](_0x440f87=>{if(!_0x440f87||_0x440f87[_0x104e72([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x104e72([0x6f,0x6b]))return _0x104e72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4ce211(_0x324c16(_0x5e8d25+_0x54c628))!=_0x440f87[_0x104e72([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x104e72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x104e72([0x56,0x61,0x6c,0x69,0x64]);})[_0x104e72([0x74,0x68,0x65,0x6e])](_0x179bdd=>(_0x193624(),_0x179bdd),()=>{const _0x4fa4a2=_0x3edd72();return null==_0x4fa4a2?(_0x193624(),_0x104e72([0x56,0x61,0x6c,0x69,0x64])):_0x104e72(_0x29adb8-_0x4fa4a2>(0x63ae0106^_0x23b0ea)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x104e72([0x74,0x68,0x65,0x6e])](_0x183fc7)[_0x104e72([0x63,0x61,0x74,0x63,0x68])](()=>{_0x183fc7(_0x104e72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ae67e=0x47946b86^_0x23b0ea;function _0x193624(){const _0x57bce6=_0x104e72([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ce211(_0x324c16(_0x1b2a58)),_0x19257b=_0x3c744c(_0x4ce211(window[_0x104e72([0x4d,0x61,0x74,0x68])][_0x104e72([0x63,0x65,0x69,0x6c])](_0x29adb8/_0x2ae67e)));window[_0x104e72([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x104e72([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57bce6,_0x19257b);}function _0x3edd72(){const _0x3881c1=_0x104e72([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ce211(_0x324c16(_0x1b2a58)),_0x1d8fce=window[_0x104e72([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x104e72([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3881c1);return _0x1d8fce?window[_0x104e72([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c744c(_0x1d8fce),0x10)*_0x2ae67e:null;}function _0x2f0a94(_0x6fd17e){return new window[(_0x104e72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x257908,_0x315432)=>{_0x6fd17e[_0x104e72([0x74,0x68,0x65,0x6e])](_0x257908,_0x315432),window[_0x104e72([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x315432,0x47a351c6^_0x23b0ea);});}}_0x30ee02[_0x104e72([0x6f,0x6e])](_0x104e72([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xda7ae1,_0x20ace2)=>{if(_0x20ace2[0x0]!=_0x1b2a58)return _0x183fc7(_0x104e72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x20ace2[0x1]={..._0x20ace2[0x1],[_0x104e72([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5e8d25};},{[_0x104e72([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x104e72([0x68,0x69,0x67,0x68])}),_0x30ee02[_0x104e72([0x6f,0x6e])](_0x104e72([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x53507f=>{_0x5152ec(_0x53507f[_0x104e72([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c0e51=!0x0,_0x7d54f4(_0x53507f[_0x104e72([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x104e72([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x104e72([0x6c,0x6f,0x77])}),_0x448f2a[_0x104e72([0x74,0x68,0x65,0x6e])](()=>{_0x4c0e51||_0x183fc7(_0x104e72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x263dd6(){return _0x30ee02[_0x104e72([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x104e72([0x76,0x69,0x65,0x77])][_0x104e72([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x104e72([0x61,0x75,0x74,0x6f]);}function _0x3e5165(){_0x30ee02[_0x104e72([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x104e72([0x76,0x69,0x65,0x77])][_0x104e72([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x104e72([0x61,0x75,0x74,0x6f]);}}function _0x3116fc(_0x2b0345){const _0x4e511c=[new window[(_0x104e72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x87abcd=>setTimeout(_0x87abcd,0x47abbbca^_0x23b0ea)),_0x448f2a[_0x104e72([0x74,0x68,0x65,0x6e])](()=>new window[(_0x104e72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fd613=>{let _0x385c57=0x0;_0x30ee02[_0x104e72([0x6d,0x6f,0x64,0x65,0x6c])][_0x104e72([0x6f,0x6e])](_0x104e72([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2bb862,_0x209455)=>{_0x209455[0x0][_0x104e72([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x385c57++,_0x385c57==(0x47a284fe^_0x23b0ea)&&(_0x1fd613(),_0x2bb862[_0x104e72([0x6f,0x66,0x66])]());});}))];return window[_0x104e72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x104e72([0x72,0x61,0x63,0x65])](_0x4e511c)[_0x104e72([0x74,0x68,0x65,0x6e])](()=>_0x2b0345);}async function _0x43d0d9(){await _0x448f2a,_0x30ee02[_0x104e72([0x6d,0x6f,0x64,0x65,0x6c])][_0x104e72([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3246b4,_0x30ee02[_0x104e72([0x6d,0x6f,0x64,0x65,0x6c])][_0x104e72([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3246b4,_0x30ee02[_0x104e72([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x104e72([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x458323(_0x11d7cc){const _0x32d38f=_0x27faf0();_0x30ee02[_0x32d38f]=_0x104e72([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x11d7cc,_0x11d7cc!=_0x104e72([0x56,0x61,0x6c,0x69,0x64])&&_0x43d0d9();}function _0x27faf0(){const _0x75921e=window[_0x104e72([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x104e72([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x104e72([0x6e,0x6f,0x77])]())[_0x104e72([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x104e72([0x2e]),'');let _0x3dcfd5=_0x104e72([0x75]);for(let _0x183dd9=0x0;_0x183dd9<_0x75921e[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x183dd9+=0x2){let _0x5b64d4=window[_0x104e72([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x75921e[_0x104e72([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x183dd9,_0x183dd9+0x2));_0x5b64d4>=_0x310cbe[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5b64d4-=_0x310cbe[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3dcfd5+=_0x310cbe[_0x5b64d4];}return _0x3dcfd5;}function _0x2d8b14(){const _0x29437a=_0x14efe7[_0x104e72([0x73,0x70,0x6c,0x69,0x74])](_0x104e72([0x2e]));if(0x3!=_0x29437a[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1b827c(_0x29437a[0x1]);function _0x1b827c(_0x5247fe){const _0x3e4ce1=_0x456d5f(_0x5247fe);return _0x3e4ce1&&_0x8f2aad()?_0x3e4ce1:null;function _0x8f2aad(){const _0xf8c70c=_0x3e4ce1[_0x104e72([0x6a,0x74,0x69])],_0x5b04e3=window[_0x104e72([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf8c70c[_0x104e72([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf8c70c[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x6dd0b2={..._0x3e4ce1,[_0x104e72([0x6a,0x74,0x69])]:_0xf8c70c[_0x104e72([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf8c70c[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x6dd0b2[_0x104e72([0x76,0x63])],_0x324c16(_0x6dd0b2)==_0x5b04e3;}}}async function _0x37d061(){let _0x54000a=!0x0;try{const _0x27dae0=_0x14efe7[_0x104e72([0x73,0x70,0x6c,0x69,0x74])](_0x104e72([0x2e])),[_0x38f191,_0x119a5c,_0x14119b]=_0x27dae0;return _0x529e13(_0x38f191),await _0xaaf817(_0x38f191,_0x119a5c,_0x14119b),_0x54000a;}catch{return!0x1;}function _0x529e13(_0x455054){const _0x51b704=_0x456d5f(_0x455054);_0x51b704&&_0x51b704[_0x104e72([0x61,0x6c,0x67])]==_0x104e72([0x45,0x53,0x32,0x35,0x36])||(_0x54000a=!0x1);}async function _0xaaf817(_0x5da90d,_0x373a1b,_0x2a8774){const _0x5bd6b3=window[_0x104e72([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x104e72([0x66,0x72,0x6f,0x6d])](_0x331079(_0x2a8774),_0x14800e=>_0x14800e[_0x104e72([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x80439f=new window[(_0x104e72([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x104e72([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5da90d+_0x104e72([0x2e])+_0x373a1b),_0x173dc6=window[_0x104e72([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x104e72([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x173dc6)return;const _0x217a7a=await _0x173dc6[_0x104e72([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x104e72([0x6a,0x77,0x6b]),_0x294145,{[_0x104e72([0x6e,0x61,0x6d,0x65])]:_0x104e72([0x45,0x43,0x44,0x53,0x41]),[_0x104e72([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x104e72([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x104e72([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x173dc6[_0x104e72([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x104e72([0x6e,0x61,0x6d,0x65])]:_0x104e72([0x45,0x43,0x44,0x53,0x41]),[_0x104e72([0x68,0x61,0x73,0x68])]:{[_0x104e72([0x6e,0x61,0x6d,0x65])]:_0x104e72([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x217a7a,_0x5bd6b3,_0x80439f)||(_0x54000a=!0x1);}}function _0x456d5f(_0x2cb338){return _0x2cb338[_0x104e72([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x104e72([0x65,0x79]))?JSON[_0x104e72([0x70,0x61,0x72,0x73,0x65])](_0x331079(_0x2cb338)):null;}function _0x331079(_0x51bf68){return window[_0x104e72([0x61,0x74,0x6f,0x62])](_0x51bf68[_0x104e72([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x104e72([0x2b]))[_0x104e72([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x104e72([0x2f])));}function _0x324c16(_0xefa5a3){let _0x571d8f=0x1505;function _0x47870f(_0x3ad06c){for(let _0x6f78f9=0x0;_0x6f78f9<_0x3ad06c[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6f78f9++){const _0x15a393=_0x3ad06c[_0x104e72([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x6f78f9);_0x571d8f=(_0x571d8f<<0x5)+_0x571d8f+_0x15a393,_0x571d8f&=_0x571d8f;}}function _0x48a66e(_0x34791f){Array[_0x104e72([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x34791f)?_0x34791f[_0x104e72([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x48a66e):_0x34791f&&typeof _0x34791f==_0x104e72([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x104e72([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x34791f)[_0x104e72([0x73,0x6f,0x72,0x74])]()[_0x104e72([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x755039,_0x33f50b])=>{_0x47870f(_0x755039),_0x48a66e(_0x33f50b);}):_0x47870f(window[_0x104e72([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x34791f));}return _0x48a66e(_0xefa5a3),_0x571d8f>>>0x0;}function _0x4ce211(_0x55cb03){return _0x55cb03[_0x104e72([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x104e72([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x104e72([0x30]));}function _0x3c744c(_0x2250f0){return _0x2250f0[_0x104e72([0x73,0x70,0x6c,0x69,0x74])]('')[_0x104e72([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x104e72([0x6a,0x6f,0x69,0x6e])]('');}function _0x3246b4(){}function _0x104e72(_0x402f6b){return _0x402f6b['map'](_0x537f12=>String['fromCharCode'](_0x537f12))['join']('');}_0x458323(await _0x547a42());}(this);}['_moveSelectionToFootnoteDefinition'](_0xec46a1){const {plugins:_0x2d2b8a,editing:_0x5e6763,model:_0x5122f6}=this['editor'],_0x2e5917=_0x2d2b8a['get'](_0x488683)['getFootnote'](_0xec46a1);return!!_0x2e5917&&(_0x5122f6['change'](_0x357d7b=>{_0x357d7b['setSelection'](_0x357d7b['createPositionAt'](_0x2e5917['definition'],'end'));}),_0x5e6763['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x1b1dd6){const {plugins:_0xe77851,editing:_0x59fbcc,model:_0x255cf5}=this['editor'],_0x585a2b=_0xe77851['get'](_0x488683)['getFootnote'](_0x1b1dd6);return!!_0x585a2b&&(_0x255cf5['change'](_0x1371ab=>{_0x1371ab['setSelection'](_0x585a2b['reference'],'on');}),_0x59fbcc['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x11989e}=this['editor']['model'],_0x151139=this['editor']['config']['get']('footnotes.multiBlock');_0x11989e['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x11989e['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x11989e['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x151139?_0x11989e['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x11989e['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x11989e['addChildCheck'](_0x156c71=>{for(const _0x55c9e7 of _0x156c71)if('footnoteDefinition'===_0x55c9e7['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x35b62b}=this,{conversion:_0x43521e,editing:_0x1a6872}=_0x35b62b,{t:t}=_0x35b62b['locale'];_0x43521e['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x10edfa,{writer:_0x4798c5,consumable:_0x235180})=>{const _0x19cce5=_0x10edfa['getChild'](0x0);if(!_0x19cce5||!_0x19cce5['is']('element','a'))return null;const _0x19bac4=_0x19cce5['getAttribute']('href')||'';if(!_0x19bac4['startsWith']('#'))return null;const _0x5b9ec6=_0x19bac4['replace'](/^#/,'');if(!_0x5b9ec6)return null;_0x235180['consume'](_0x19cce5,{'name':!0x0,'attributes':['href']});for(const {item:_0x544585}of _0x1a6872['view']['createRangeIn'](_0x19cce5))_0x544585['is']('$textProxy')?_0x235180['consume'](_0x544585['textNode'],{'name':!0x0}):_0x544585['is']('element')&&_0x235180['consume'](_0x544585,{'name':!0x0});return _0x4798c5['createElement']('footnoteRef',{'footnoteId':_0x5b9ec6});}}),_0x43521e['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1637bc,{writer:_0x188d0f})=>D(_0x1637bc,_0x188d0f)}),_0x43521e['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x196edf,{writer:_0x443430})=>{const _0x22289c=_0x196edf['getAttribute']('footnoteCounter');return _0x533e17(D(_0x196edf,_0x443430),_0x443430,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x22289c)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2d09ac}=this,{t:t}=_0x2d09ac['locale'],{conversion:_0x4d8a81}=_0x2d09ac;_0x4d8a81['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4d8a81['for']('upcast')['add'](_0x5b2dc1=>{_0x5b2dc1['on']('element:ol',(_0x17e265,_0x2f1005,_0x4cc574)=>{const _0x3f342f=_0x2f1005['viewItem'];if(!_0x3f342f['hasClass']('footnotes-list')||!_0x2f1005['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4cc574['consumable']['consume'](_0x3f342f,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3c2657,modelCursor:_0x5f2a90}=_0x4cc574['convertChildren'](_0x2f1005['viewItem'],_0x2f1005['modelCursor']);_0x2f1005['modelRange']=_0x3c2657,_0x2f1005['modelCursor']=_0x5f2a90;}),_0x5b2dc1['on']('element:hr',(_0xa7abf4,_0x390456,_0xba33ae)=>{const _0x33d023=_0x390456['viewItem'];_0x33d023['hasClass']('footnotes-divider')&&_0x390456['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xba33ae['consumable']['consume'](_0x33d023,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4d8a81['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2d5885,{writer:_0x5da7df})=>v(_0x5da7df)}),_0x4d8a81['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x46bd1b,{writer:_0x4acdb2})=>{const _0x42d4ef=v(_0x4acdb2,{'data-footnotes-list-label':t('Footnotes')}),_0x31209e=_0x533e17(_0x42d4ef,_0x4acdb2,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4acdb2['setCustomProperty']('footnotesDefinitions',!0x0,_0x31209e),_0x31209e;}});}['_defineDefinitionConverters'](){const {editor:_0x3c65d7}=this,{conversion:_0x43f276,locale:_0x2f5bde}=_0x3c65d7,_0x2cbc22=_0x3c65d7['config']['get']('footnotes.multiBlock');_0x43f276['for']('upcast')['add'](_0x118600=>{_0x118600['on']('element:li',(_0x1fcfa5,_0x39492b,_0xfa0915)=>{const _0x4dc467=_0x39492b['viewItem'];if(!_0x4dc467['hasClass']('footnote-definition')||!_0x4dc467['getAttribute']('id'))return;const _0x375b1c=_0x4dc467['parent'];if(!_0x375b1c['is']('element','ol')||!_0x375b1c['hasClass']('footnotes-list'))return;if(!_0xfa0915['consumable']['test'](_0x4dc467,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3d8371=_0xfa0915['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4dc467['getAttribute']('id')});if(!_0xfa0915['safeInsert'](_0x3d8371,_0x39492b['modelCursor']))return;_0xfa0915['consumable']['consume'](_0x4dc467,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4ddb80=Array['from'](_0x4dc467['getChildren']())['find'](_0x2eb10d=>_0x2eb10d['is']('element')&&_0x2eb10d['hasClass']('footnote-content'));for(const _0x116cc5 of _0x4dc467['getChildren']())_0x116cc5['is']('element')&&(_0xfa0915['consumable']['consume'](_0x116cc5,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0xfa0915['consumable']['consume'](_0x116cc5,{'name':!0x0,'classes':'footnote-content'}));if(_0x4ddb80){if(_0x2cbc22)_0xfa0915['convertChildren'](_0x4ddb80,_0x3d8371);else{const _0x1f658a=_0xfa0915['writer']['createElement']('footnoteInlineContent');_0xfa0915['writer']['insert'](_0x1f658a,_0x3d8371),_0xfa0915['convertChildren'](_0x4ddb80,_0x1f658a);}}_0xfa0915['updateConversionResult'](_0x3d8371,_0x39492b);});}),_0x43f276['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x483d5c,{writer:_0x4c1c92})=>b(_0x483d5c,_0x4c1c92,_0x2f5bde,{'dataPipeline':!0x0})}),_0x43f276['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x248003,{writer:_0x46526c})=>b(_0x248003,_0x46526c,_0x2f5bde)});}['_defineBogusParagraphConverters'](){const {editor:_0x21f636}=this,{conversion:_0x5adb8a}=_0x21f636;_0x21f636['config']['get']('footnotes.multiBlock')?(_0x5adb8a['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x5adb8a['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x21f636['model']['document'],'change:data',()=>{!function(_0x16810a,_0x28b4f8){const _0x15eccb=_0x16810a['document']['differ'],_0x5dea4e=new Set();for(const _0x24ebce of _0x15eccb['getChanges']()){const _0x5c9053='attribute'==_0x24ebce['type']?_0x24ebce['range']['start']['parent']:_0x24ebce['position']['parent'];_0x5c9053['is']('element','footnoteDefinition')&&_0x5dea4e['add'](_0x5c9053);}for(const _0x21f38e of _0x5dea4e['values']()){const _0x1d8190=Array['from'](_0x21f38e['getChildren']())['filter'](_0x475f1e=>g(_0x475f1e,_0x28b4f8['mapper']));for(const _0x5d826f of _0x1d8190)_0x28b4f8['reconvertItem'](_0x5d826f);}}(_0x21f636['model'],_0x21f636['editing']);})):(_0x5adb8a['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x5adb8a['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0xc19182,{writer:_0x317d65})=>{const _0x5cef9a=_0x317d65['createContainerElement']('span');return _0x317d65['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5cef9a),_0x5cef9a;}}));}['_defineKeyboardHandlers'](){const {editor:_0x180e53}=this,{editing:_0x331bad,t:t}=_0x180e53,_0x3b6a47=_0x180e53['model']['document']['selection'];_0x180e53['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x180e53['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x331bad['view']['document'],'enter',(_0x3dd827,_0x5dbc92)=>{const _0x4d7e9a=function(_0x588902){const _0x382e39=_0x588902['getSelectedElement']();if(_0x382e39?.['is']('element','footnoteRef'))return _0x382e39;return null;}(_0x3b6a47);if(_0x4d7e9a){const _0x20573f=_0x4d7e9a['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x20573f),_0x5dbc92['preventDefault'](),_0x3dd827['stop']();}},{'context':_0x128445});}['_defineClickHandlers'](){const {editor:_0x444b78}=this,{editing:_0x113f3a}=_0x444b78;_0x444b78['editing']['view']['addObserver'](_0x4571b5),_0x444b78['editing']['view']['addObserver'](_0x2722f0);let _0x3f9bed=!0x1;this['listenTo'](_0x113f3a['view']['document'],'pointerdown',(_0x22e6b0,_0x365057)=>{const {target:_0x3b92b0}=_0x365057,_0x46498d=_0x113f3a['view']['document']['selection'];_0x3f9bed=!!(_0x3b92b0?.['is']('element','a')&&_0x3b92b0['parent']?.['is']('element','sup')&&_0x3b92b0['parent']['hasClass']('footnote'))&&_0x46498d['getSelectedElement']()===_0x3b92b0['parent'];},{'priority':'high'}),this['listenTo'](_0x113f3a['view']['document'],'click',(_0x4fc287,_0x34ecd0)=>{const {target:_0x5e770}=_0x34ecd0;if(!_0x5e770?.['is']('element','a'))return;if(_0x5e770['parent']?.['is']('element','sup')&&_0x5e770['parent']['hasClass']('footnote')&&!_0x3f9bed)return void _0x34ecd0['preventDefault']();let _0x42fe8c=_0x5e770['getAttribute']('href');if(!_0x42fe8c?.['startsWith']('#'))return;_0x42fe8c=_0x42fe8c['slice'](0x1);let _0x1aef4e=!0x1;(_0x42fe8c['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x42fe8c['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x42fe8c))&&(_0x1aef4e=!0x0),_0x1aef4e&&(_0x34ecd0['preventDefault'](),_0x4fc287['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x10635b}={}){return(_0x519aa3,{writer:_0x9efa46})=>{if(!p(_0x519aa3))return null;if(!_0x10635b)return _0x9efa46['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4dfdd1=_0x9efa46['createContainerElement']('p');return _0x9efa46['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4dfdd1),_0x4dfdd1;};}function p(_0x346a5b){const {parent:_0x184917}=_0x346a5b;if(!_0x184917?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x184917['childCount'])return!0x1;for(const _0x3a76ec of _0x346a5b['getAttributeKeys']())if(!_0x3a76ec['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3a76ec)return!0x1;return!0x0;}function g(_0x28124b,_0x56fcf1){if(!_0x28124b['is']('element','paragraph'))return!0x1;const _0x17c7dd=_0x56fcf1['toViewElement'](_0x28124b);return!!_0x17c7dd&&p(_0x28124b)!==_0x17c7dd['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x9113aa){return _0x128445(_0x9113aa)&&_0x9113aa['is']('containerElement')&&!!_0x9113aa['getCustomProperty']('footnotesDefinitions');}function v(_0x1ae90d,_0x530dcb={}){const _0x3ae962=_0x1ae90d['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x2c3f7d=_0x1ae90d['createContainerElement']('ol',{'class':'footnotes-list'},_0x1ae90d['createSlot']());return _0x1ae90d['createContainerElement']('div',{'class':'footnotes',..._0x530dcb},[_0x3ae962,_0x2c3f7d]);}function D(_0x23efe0,_0x466065){const _0x30db04=_0x23efe0['getAttribute']('footnoteId'),_0x213646=_0x23efe0['getAttribute']('footnoteCounter'),_0x4adaee=_0x466065['createUIElement']('a',{'href':'#'+_0x30db04},function(_0x49a377){const _0x1a560e=this['toDomElement'](_0x49a377);return _0x1a560e['textContent']=_0x213646,_0x1a560e;}),_0x726f0c=_0x466065['createContainerElement']('sup',{'id':'ref-'+_0x30db04,'class':'footnote'},[_0x4adaee]);return _0x726f0c['getFillerOffset']=()=>null,_0x726f0c;}function b(_0x328718,_0x5e170a,_0x1b8aa3,{dataPipeline:_0x3f4c61}={}){const {t:t}=_0x1b8aa3,_0x5a8808=_0x328718['getAttribute']('footnoteId'),_0x325bd3=_0x5e170a['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5a8808},function(_0x5b7f52){const _0x2af2c9=this['toDomElement'](_0x5b7f52);return _0x2af2c9['innerText']='^',_0x2af2c9;}),_0x597c51=_0x3f4c61?_0x5e170a['createContainerElement']('div',{'class':'footnote-content'}):_0xcc3664(_0x5e170a['createEditableElement']('div',{'class':'footnote-content'}),_0x5e170a,{'label':t('Footnote\x20content.')});return _0x5e170a['insert'](_0x5e170a['createPositionAt'](_0x597c51,0x0),_0x5e170a['createSlot']()),_0x5e170a['createContainerElement']('li',{'class':'footnote-definition','id':_0x5a8808},[_0x325bd3,_0x597c51]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4c34c3=_0x2e55;(function(_0x1cc3da,_0x1109a8){const _0x5ce6a3=_0x2e55,_0x2cd24e=_0x1cc3da();while(!![]){try{const _0x256ef2=-parseInt(_0x5ce6a3(0x1e3))/0x1*(-parseInt(_0x5ce6a3(0x1f2))/0x2)+parseInt(_0x5ce6a3(0x1ec))/0x3+parseInt(_0x5ce6a3(0x1f3))/0x4*(-parseInt(_0x5ce6a3(0x1eb))/0x5)+parseInt(_0x5ce6a3(0x1dd))/0x6+-parseInt(_0x5ce6a3(0x1f1))/0x7+parseInt(_0x5ce6a3(0x1de))/0x8*(-parseInt(_0x5ce6a3(0x1e9))/0x9)+parseInt(_0x5ce6a3(0x1e4))/0xa*(parseInt(_0x5ce6a3(0x1f4))/0xb);if(_0x256ef2===_0x1109a8)break;else _0x2cd24e['push'](_0x2cd24e['shift']());}catch(_0x3af9b3){_0x2cd24e['push'](_0x2cd24e['shift']());}}}(_0x5889,0xecfd9));import{Command as _0x4d56bd}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x1149e8}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x4d56bd{[_0x4c34c3(0x1e1)](){const _0x141f6c=_0x4c34c3,{editor:_0x1e69ed}=this,_0x2f4e1e=_0x1e69ed[_0x141f6c(0x1e7)][_0x141f6c(0x1e2)](_0x1149e8)[_0x141f6c(0x1ee)]();this[_0x141f6c(0x1e0)]=!!_0x2f4e1e,this[_0x141f6c(0x1df)]=_0x2f4e1e?.[_0x141f6c(0x1ef)](_0x141f6c(0x1dc))??null;}[_0x4c34c3(0x1ea)]({value:_0x10190d}){const _0x38a58f=_0x4c34c3,{editor:_0xfdb346}=this,_0x454a85=_0xfdb346[_0x38a58f(0x1e7)][_0x38a58f(0x1e2)](_0x1149e8),_0x236ae6=_0x454a85[_0x38a58f(0x1ee)]();_0x236ae6&&Number[_0x38a58f(0x1e8)](_0x10190d)&&_0xfdb346[_0x38a58f(0x1e6)][_0x38a58f(0x1ed)](_0x11eea6=>{const _0x1e81ff=_0x38a58f;_0x11eea6[_0x1e81ff(0x1f0)](_0x1e81ff(0x1dc),_0x10190d,_0x236ae6),_0x454a85[_0x1e81ff(0x1e5)](_0x11eea6);});}}function _0x2e55(_0x58d81d,_0x40289a){const _0x58892f=_0x5889();return _0x2e55=function(_0x2e5589,_0x56bf6f){_0x2e5589=_0x2e5589-0x1dc;let _0x1cfbb0=_0x58892f[_0x2e5589];return _0x1cfbb0;},_0x2e55(_0x58d81d,_0x40289a);}function _0x5889(){const _0x1db284=['change','getFootnotesDefinitionsObjectElement','getAttribute','setAttribute','4541453aSHaqY','110792NbNjZW','1892668NobdeK','19659706AUAyJW','footnotesListStart','226806DaVTuP','143680SUaCMh','value','isEnabled','refresh','get','8GxkHxc','20KEfvdF','_updateFootnotesCounters','model','plugins','isInteger','765JYXIRU','execute','20RcqnKU','2949897BbfvlI'];_0x5889=function(){return _0x1db284;};return _0x5889();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x528893=_0x3b71;(function(_0x44c2e7,_0x20e75a){const _0x1c0bec=_0x3b71,_0x496e53=_0x44c2e7();while(!![]){try{const _0x114410=parseInt(_0x1c0bec(0x168))/0x1+-parseInt(_0x1c0bec(0x164))/0x2*(parseInt(_0x1c0bec(0x166))/0x3)+parseInt(_0x1c0bec(0x15a))/0x4*(parseInt(_0x1c0bec(0x15d))/0x5)+-parseInt(_0x1c0bec(0x165))/0x6*(parseInt(_0x1c0bec(0x153))/0x7)+-parseInt(_0x1c0bec(0x158))/0x8*(parseInt(_0x1c0bec(0x162))/0x9)+parseInt(_0x1c0bec(0x156))/0xa*(parseInt(_0x1c0bec(0x154))/0xb)+parseInt(_0x1c0bec(0x152))/0xc;if(_0x114410===_0x20e75a)break;else _0x496e53['push'](_0x496e53['shift']());}catch(_0x46ea27){_0x496e53['push'](_0x496e53['shift']());}}}(_0x125b,0xbfafc));function _0x125b(){const _0x547a3f=['_updateFootnotesCounters','footnotesListStyle','1931005sadzuB','get','getFootnotesDefinitionsObjectElement','isEnabled','refresh','36SgbcoP','value','168OcaoIF','1260nxIxXN','47631tAAfUh','execute','37576FnYJsZ','model','setAttribute','plugins','23235660arfPjz','18655ACSVel','44sAZHzI','change','3645190coVGFw','getAttribute','2279384UViLox','includes','4huuQXp'];_0x125b=function(){return _0x547a3f;};return _0x125b();}import{Command as _0x5bf13f}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x818cf1}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x15cc3e}from'../../footnotestracker.js';function _0x3b71(_0x5a2ffe,_0x561a67){const _0x125b1a=_0x125b();return _0x3b71=function(_0x3b7167,_0x49f61a){_0x3b7167=_0x3b7167-0x151;let _0x43d85b=_0x125b1a[_0x3b7167];return _0x43d85b;},_0x3b71(_0x5a2ffe,_0x561a67);}export class FootnotesStyleCommand extends _0x5bf13f{[_0x528893(0x161)](){const _0xdbc417=_0x528893,{editor:_0x1c46d6}=this,_0xf41391=_0x1c46d6[_0xdbc417(0x151)][_0xdbc417(0x15e)](_0x15cc3e)[_0xdbc417(0x15f)]();this[_0xdbc417(0x160)]=!!_0xf41391,this[_0xdbc417(0x163)]=_0xf41391?.[_0xdbc417(0x157)](_0xdbc417(0x15c))??null;}[_0x528893(0x167)]({value:_0x5ed732}){const _0x3b049b=_0x528893,{editor:_0x2d9835}=this,_0xe5c97f=_0x2d9835[_0x3b049b(0x151)][_0x3b049b(0x15e)](_0x15cc3e),_0x5dfa5b=_0xe5c97f[_0x3b049b(0x15f)]();_0x5dfa5b&&_0x818cf1[_0x3b049b(0x159)](_0x5ed732)&&_0x2d9835[_0x3b049b(0x169)][_0x3b049b(0x155)](_0x4815f6=>{const _0x5c8443=_0x3b049b;_0x4815f6[_0x5c8443(0x16a)](_0x5c8443(0x15c),_0x5ed732,_0x5dfa5b),_0xe5c97f[_0x5c8443(0x15b)](_0x4815f6);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x43ad(){const _0x350340=['4242582zwNofR','21518775pMgQXb','5383hTpKgp','lower-alpha','1816896yJBgBq','10BnPHnX','11636UxFrDo','decimal-leading-zero','decimal','545354fikcgH','lower-roman','88JXjeLG','lower-latin','upper-alpha','upper-roman','51YLLwZv','2849875rBpAhk','upper-latin'];_0x43ad=function(){return _0x350340;};return _0x43ad();}function _0x30d7(_0x9a243e,_0x432973){const _0x43ad09=_0x43ad();return _0x30d7=function(_0x30d742,_0x5e3f7d){_0x30d742=_0x30d742-0x193;let _0x34f566=_0x43ad09[_0x30d742];return _0x34f566;},_0x30d7(_0x9a243e,_0x432973);}const _0x258864=_0x30d7;(function(_0x17fcd8,_0x515420){const _0x3bee83=_0x30d7,_0x34885a=_0x17fcd8();while(!![]){try{const _0x5a8e35=parseInt(_0x3bee83(0x19d))/0x1+-parseInt(_0x3bee83(0x198))/0x2+-parseInt(_0x3bee83(0x1a3))/0x3*(parseInt(_0x3bee83(0x19a))/0x4)+-parseInt(_0x3bee83(0x1a4))/0x5+-parseInt(_0x3bee83(0x194))/0x6+-parseInt(_0x3bee83(0x196))/0x7*(-parseInt(_0x3bee83(0x19f))/0x8)+parseInt(_0x3bee83(0x195))/0x9*(parseInt(_0x3bee83(0x199))/0xa);if(_0x5a8e35===_0x515420)break;else _0x34885a['push'](_0x34885a['shift']());}catch(_0xe85adc){_0x34885a['push'](_0x34885a['shift']());}}}(_0x43ad,0xad4b7));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x258864(0x19c),_0x258864(0x19b),_0x258864(0x1a0),_0x258864(0x193),_0x258864(0x197),_0x258864(0x1a1),_0x258864(0x19e),_0x258864(0x1a2)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5b2ce0=_0x477d;(function(_0x535551,_0x14d2e6){const _0x49b404=_0x477d,_0x522c0e=_0x535551();while(!![]){try{const _0xa5492=parseInt(_0x49b404(0xf9))/0x1+parseInt(_0x49b404(0xca))/0x2+-parseInt(_0x49b404(0x10b))/0x3+parseInt(_0x49b404(0xf5))/0x4+-parseInt(_0x49b404(0xe3))/0x5+-parseInt(_0x49b404(0x107))/0x6*(-parseInt(_0x49b404(0xc2))/0x7)+parseInt(_0x49b404(0x111))/0x8;if(_0xa5492===_0x14d2e6)break;else _0x522c0e['push'](_0x522c0e['shift']());}catch(_0x24c717){_0x522c0e['push'](_0x522c0e['shift']());}}}(_0x479c,0x40fda));function _0x479c(){const _0x578897=['document','padStart','plugins','964028YBIUEh','_defineFormatter','modelCursor','getItems','139982GMaAhz','decimal','floor','model','consumable','element','list-style-type','config','mapper','footnotes-list','_defineSchema','footnotesListStyle','_getDefaultListStyle','isNaN','8904CVtPUB','item','setAttribute','getChanges','972333jeMmlJ','attribute:footnotesListStyle:footnotesDefinitions','isOfficialPlugin','max','decimal-leading-zero','_getDefaultStartIndex','503208nPPPKx','hasClass','upper-latin','attribute:footnotesListStart:footnotesDefinitions','_definePostfixer','checkAttribute','init','writer','setStyle','getAttribute','isPremiumPlugin','upper-alpha','lower-alpha','hasAttribute','$text','_updateFootnotesCounters','lower-latin','for','name','requires','1246KNKWtK','_formatFootnoteListValue','differ','upper-roman','element:ol','downcast','footnotesDefinitions','pluginName','738180URPCyb','createRangeOn','removeStyle','define','registerPostFixer','toUpperCase','extend','toLowerCase','parseInt','setFootnoteFormatter','lower-roman','consume','add','footnotesStart','schema','commands','footnotesStyle','fromCharCode','start','toViewElement','editor','footnotes.footnotesProperties.defaultStartIndex','footnotesListStart','nodeAfter','from','2434095kuvFsm','type','_defineConverters','getStyle','get','find','upcast','removeAttribute','viewItem','parent','footnotes.footnotesProperties.defaultListStyle','position','insert','getChildren','FootnotesPropertiesEditing'];_0x479c=function(){return _0x578897;};return _0x479c();}import{Plugin as _0x5589e5}from'ckeditor5/src/core.js';function _0x477d(_0xb34dc0,_0x18b9ac){const _0x479c98=_0x479c();return _0x477d=function(_0x477ddb,_0x2eff1d){_0x477ddb=_0x477ddb-0xc0;let _0x29dec4=_0x479c98[_0x477ddb];return _0x29dec4;},_0x477d(_0xb34dc0,_0x18b9ac);}import{FootnotesStyleCommand as _0xcfb3bb}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x375ec0}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x401a6c}from'../footnotestracker.js';import{FootnotesEditing as _0x5669b1}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x5589e5{static get[_0x5b2ce0(0xc9)](){const _0x5e7ba6=_0x5b2ce0;return _0x5e7ba6(0xf1);}static get[_0x5b2ce0(0xc1)](){return[_0x5669b1,_0x401a6c];}static get[_0x5b2ce0(0x10d)](){return!0x0;}static get[_0x5b2ce0(0x11b)](){return!0x0;}[_0x5b2ce0(0x117)](){const _0x264fca=_0x5b2ce0,{editor:_0x1d7fac}=this;_0x1d7fac[_0x264fca(0x100)][_0x264fca(0xcd)](_0x264fca(0xed),_0x264fca(0xfa)),_0x1d7fac[_0x264fca(0x100)][_0x264fca(0xcd)](_0x264fca(0xdf),0x1),_0x1d7fac[_0x264fca(0xd9)][_0x264fca(0xd6)](_0x264fca(0xda),new _0xcfb3bb(_0x1d7fac)),_0x1d7fac[_0x264fca(0xd9)][_0x264fca(0xd6)](_0x264fca(0xd7),new _0x375ec0(_0x1d7fac)),this[_0x264fca(0x103)](),this[_0x264fca(0xe5)](),this[_0x264fca(0xf6)](),this[_0x264fca(0x115)]();}[_0x5b2ce0(0x103)](){const _0x3674c8=_0x5b2ce0,{editor:_0x55903c}=this,{schema:_0x387546}=_0x55903c[_0x3674c8(0xfc)];_0x387546[_0x3674c8(0xd0)](_0x3674c8(0xc8),{'allowAttributes':[_0x3674c8(0x104),_0x3674c8(0xe0)]});}[_0x5b2ce0(0xe5)](){const _0x8fc7e4=_0x5b2ce0,{editor:_0x3c6802}=this,{conversion:_0x1abd19,model:_0x2e3c9d}=_0x3c6802,{schema:_0xb1baa1}=_0x2e3c9d;_0x1abd19[_0x8fc7e4(0x122)](_0x8fc7e4(0xe9))[_0x8fc7e4(0xd6)](_0x4788bb=>{const _0x60fe00=_0x8fc7e4;_0x4788bb['on'](_0x60fe00(0xc6),(_0x1bd20d,_0x34c4ad,_0x57c61a)=>{const _0x43c863=_0x60fe00,_0x399093=_0x34c4ad[_0x43c863(0xeb)],_0x140af0=_0x34c4ad[_0x43c863(0xf7)]?.[_0x43c863(0xec)];_0x399093[_0x43c863(0x112)](_0x43c863(0x102))&&_0x140af0?.['is'](_0x43c863(0xfe),_0x43c863(0xc8))&&(function(_0x541002,_0x329800,_0x4d269a,_0x11ab14){const _0x17bfa6=_0x43c863;if(!_0x11ab14[_0x17bfa6(0x116)](_0x329800,_0x17bfa6(0xe0)))return;let _0x4626e0=0x1;const _0x519703=_0x4d269a[_0x17bfa6(0xfd)][_0x17bfa6(0xd5)](_0x541002,{'attributes':_0x17bfa6(0xdc)});if(_0x519703){const _0x3d717a=Number[_0x17bfa6(0xd2)](_0x541002[_0x17bfa6(0x11a)](_0x17bfa6(0xdc)),0xa);Number[_0x17bfa6(0x106)](_0x3d717a)||(_0x4626e0=_0x3d717a);}!_0x519703&&_0x329800[_0x17bfa6(0x11e)](_0x17bfa6(0xe0))||_0x4d269a[_0x17bfa6(0x118)][_0x17bfa6(0x109)](_0x17bfa6(0xe0),_0x4626e0,_0x329800);}(_0x399093,_0x140af0,_0x57c61a,_0xb1baa1),function(_0x3bdfec,_0x224805,_0x9b9c83,_0x20041e){const _0x184eb6=_0x43c863;if(!_0x20041e[_0x184eb6(0x116)](_0x224805,_0x184eb6(0x104)))return;let _0x416887=_0x184eb6(0xfa),_0x51a03e=!0x1;if(_0x9b9c83[_0x184eb6(0xfd)][_0x184eb6(0xd5)](_0x3bdfec,{'attributes':_0x184eb6(0xe4)})){const _0x2713c1={0x1:_0x184eb6(0xfa),'a':_0x184eb6(0x11d),'A':_0x184eb6(0x11c),'i':_0x184eb6(0xd4),'I':_0x184eb6(0xc5)}[_0x3bdfec[_0x184eb6(0x11a)](_0x184eb6(0xe4))];_0x2713c1&&(_0x416887=_0x2713c1),_0x51a03e=!0x0;}_0x9b9c83[_0x184eb6(0xfd)][_0x184eb6(0xd5)](_0x3bdfec,{'styles':_0x184eb6(0xff)})&&(_0x416887=_0x3bdfec[_0x184eb6(0xe6)](_0x184eb6(0xff)),_0x51a03e=!0x0),!_0x51a03e&&_0x224805[_0x184eb6(0x11e)](_0x184eb6(0x104))||_0x9b9c83[_0x184eb6(0x118)][_0x184eb6(0x109)](_0x184eb6(0x104),_0x416887,_0x224805);}(_0x399093,_0x140af0,_0x57c61a,_0xb1baa1));});}),_0x1abd19[_0x8fc7e4(0x122)](_0x8fc7e4(0xc7))[_0x8fc7e4(0xd6)](_0x5d3f53=>{const _0x1d404f=_0x8fc7e4;_0x5d3f53['on'](_0x1d404f(0x114),(_0x378586,_0x5a03f3,_0x575411)=>{const _0x358bc6=_0x1d404f;if(!_0x575411[_0x358bc6(0xfd)][_0x358bc6(0xd5)](_0x5a03f3[_0x358bc6(0x108)],_0x378586[_0x358bc6(0xc0)]))return;const _0x5b84b7=M(_0x5a03f3[_0x358bc6(0x108)],_0x575411[_0x358bc6(0x101)]),{attributeNewValue:_0x10d48c}=_0x5a03f3;null==_0x10d48c||0x1===_0x10d48c?_0x575411[_0x358bc6(0x118)][_0x358bc6(0xea)](_0x358bc6(0xdc),_0x5b84b7):_0x575411[_0x358bc6(0x118)][_0x358bc6(0x109)](_0x358bc6(0xdc),String(_0x10d48c),_0x5b84b7);}),_0x5d3f53['on'](_0x1d404f(0x10c),(_0x210960,_0x1df619,_0x40a386)=>{const _0x4dc8a6=_0x1d404f;if(!_0x40a386[_0x4dc8a6(0xfd)][_0x4dc8a6(0xd5)](_0x1df619[_0x4dc8a6(0x108)],_0x210960[_0x4dc8a6(0xc0)]))return;const _0x487a75=M(_0x1df619[_0x4dc8a6(0x108)],_0x40a386[_0x4dc8a6(0x101)]),{attributeNewValue:_0x3b772a}=_0x1df619;_0x3b772a&&_0x4dc8a6(0xfa)!==_0x3b772a?_0x40a386[_0x4dc8a6(0x118)][_0x4dc8a6(0x119)](_0x4dc8a6(0xff),_0x3b772a,_0x487a75):_0x40a386[_0x4dc8a6(0x118)][_0x4dc8a6(0xcc)](_0x4dc8a6(0xff),_0x487a75);});});}[_0x5b2ce0(0x115)](){const _0x112c00=_0x5b2ce0,{editor:_0x15122a}=this,{model:_0x33e956}=_0x15122a,_0x2acca7=_0x15122a[_0x112c00(0xf4)][_0x112c00(0xe7)](_0x401a6c),_0x2e79f3=this[_0x112c00(0x105)](),_0x56fefb=this[_0x112c00(0x110)]();_0x33e956[_0x112c00(0xf2)][_0x112c00(0xce)](_0x5dc922=>{const _0x302f66=_0x112c00,_0x6344f9=_0x33e956[_0x302f66(0xf2)][_0x302f66(0xc4)][_0x302f66(0x10a)]();let _0x2e1090=!0x1;for(const _0x51f5a6 of _0x6344f9){if(_0x302f66(0xef)!==_0x51f5a6[_0x302f66(0xe4)]||_0x302f66(0x11f)===_0x51f5a6[_0x302f66(0xc0)])continue;const _0x3faca1=_0x33e956[_0x302f66(0xcb)](_0x51f5a6[_0x302f66(0xee)][_0x302f66(0xe1)]);for(const _0x16f9d5 of _0x3faca1[_0x302f66(0xf8)]())_0x16f9d5['is'](_0x302f66(0xfe),_0x302f66(0xc8))&&(!_0x16f9d5[_0x302f66(0x11e)](_0x302f66(0xe0))&&_0x33e956[_0x302f66(0xd8)][_0x302f66(0x116)](_0x16f9d5,_0x302f66(0xe0))&&(_0x5dc922[_0x302f66(0x109)](_0x302f66(0xe0),_0x56fefb,_0x16f9d5),_0x2e1090=!0x0),!_0x16f9d5[_0x302f66(0x11e)](_0x302f66(0x104))&&_0x33e956[_0x302f66(0xd8)][_0x302f66(0x116)](_0x16f9d5,_0x302f66(0x104))&&(_0x5dc922[_0x302f66(0x109)](_0x302f66(0x104),_0x2e79f3,_0x16f9d5),_0x2e1090=!0x0));}return _0x2e1090&&_0x2acca7[_0x302f66(0x120)](_0x5dc922),_0x2e1090;});}[_0x5b2ce0(0xf6)](){const _0x25d0d1=_0x5b2ce0,{editor:_0x3ecb1d}=this;_0x3ecb1d[_0x25d0d1(0xf4)][_0x25d0d1(0xe7)](_0x401a6c)[_0x25d0d1(0xd3)](_0x474183=>this[_0x25d0d1(0xc3)](_0x474183));}[_0x5b2ce0(0x105)](){const _0x55912d=_0x5b2ce0;return this[_0x55912d(0xde)][_0x55912d(0x100)][_0x55912d(0xe7)](_0x55912d(0xed));}[_0x5b2ce0(0x110)](){const _0x44e652=_0x5b2ce0;return this[_0x44e652(0xde)][_0x44e652(0x100)][_0x44e652(0xe7)](_0x44e652(0xdf));}[_0x5b2ce0(0xc3)]({container:_0x4b7ff7,value:_0x32fa27,digits:_0x1ef084}){const _0x44d193=_0x5b2ce0,_0x465fd4=_0x4b7ff7[_0x44d193(0x11a)](_0x44d193(0x104)),_0x6e9821=_0x4b7ff7[_0x44d193(0x11a)](_0x44d193(0xe0)),_0x259bde=Math[_0x44d193(0xfb)](_0x32fa27)+(_0x6e9821??0x1)-0x1;switch(_0x465fd4){case _0x44d193(0x10f):return function(_0x2e26cc,_0x31ae42){const _0x1db776=_0x44d193;return String(_0x2e26cc)[_0x1db776(0xf3)](_0x31ae42,'0');}(_0x259bde,Math[_0x44d193(0x10e)](0x2,_0x1ef084));case _0x44d193(0x11d):case _0x44d193(0x121):return N(_0x259bde,!0x1);case _0x44d193(0x11c):case _0x44d193(0x113):return N(_0x259bde,!0x0);case _0x44d193(0xd4):return X(_0x259bde,!0x1);case _0x44d193(0xc5):return X(_0x259bde,!0x0);default:return String(_0x259bde);}}}function M(_0xf49174,_0x11729f){const _0x206f2e=_0x5b2ce0,_0x3ec6dd=_0x11729f[_0x206f2e(0xdd)](_0xf49174);return Array[_0x206f2e(0xe2)](_0x3ec6dd[_0x206f2e(0xf0)]())[_0x206f2e(0xe8)](_0x2b7ebb=>_0x2b7ebb['is'](_0x206f2e(0xfe),'ol')&&_0x2b7ebb[_0x206f2e(0x112)](_0x206f2e(0x102)));}function N(_0x552067,_0x40b6e9){const _0x33a6e6=_0x5b2ce0;let _0x2052c5='',_0x1a0521=_0x552067;for(;_0x1a0521>0x0;){const _0x48a3f6=(_0x1a0521-0x1)%0x1a;_0x2052c5=String[_0x33a6e6(0xdb)](0x61+_0x48a3f6)+_0x2052c5,_0x1a0521=Math[_0x33a6e6(0xfb)]((_0x1a0521-0x1)/0x1a);}return _0x40b6e9?_0x2052c5[_0x33a6e6(0xcf)]():_0x2052c5;}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(_0x55e430,_0x11f09b){const _0x53e8ce=_0x5b2ce0;let _0x427bd6='',_0x396b7b=_0x55e430;for(const {value:_0x148784,numeral:_0x551dca}of V)for(;_0x396b7b>=_0x148784;)_0x427bd6+=_0x551dca,_0x396b7b-=_0x148784;return _0x11f09b?_0x427bd6:_0x427bd6[_0x53e8ce(0xd1)]();}
|
|
23
|
+
const _0x374fea=_0x2ed8;function _0x2ed8(_0x5cb63f,_0x365cbe){const _0x38b03c=_0x38b0();return _0x2ed8=function(_0x2ed8f3,_0x21eb51){_0x2ed8f3=_0x2ed8f3-0xc0;let _0x1baa7d=_0x38b03c[_0x2ed8f3];return _0x1baa7d;},_0x2ed8(_0x5cb63f,_0x365cbe);}(function(_0x8bcfe5,_0x1b261a){const _0x2d5a5e=_0x2ed8,_0x591c78=_0x8bcfe5();while(!![]){try{const _0x4899fd=-parseInt(_0x2d5a5e(0xe2))/0x1*(parseInt(_0x2d5a5e(0xf2))/0x2)+parseInt(_0x2d5a5e(0xc7))/0x3*(-parseInt(_0x2d5a5e(0x10a))/0x4)+parseInt(_0x2d5a5e(0x101))/0x5+-parseInt(_0x2d5a5e(0xfe))/0x6+parseInt(_0x2d5a5e(0x124))/0x7*(-parseInt(_0x2d5a5e(0x11d))/0x8)+parseInt(_0x2d5a5e(0x10b))/0x9*(parseInt(_0x2d5a5e(0xc3))/0xa)+-parseInt(_0x2d5a5e(0x116))/0xb*(-parseInt(_0x2d5a5e(0xe9))/0xc);if(_0x4899fd===_0x1b261a)break;else _0x591c78['push'](_0x591c78['shift']());}catch(_0x445525){_0x591c78['push'](_0x591c78['shift']());}}}(_0x38b0,0xe801e));import{Plugin as _0x46db32}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x15e649}from'./commands/footnotesstylecommand.js';function _0x38b0(){const _0x1e3a22=['schema','consume','_defineFormatter','13629rtwSvE','lower-alpha','document','parent','upper-alpha','requires','writer','toUpperCase','hasAttribute','consumable','attribute:footnotesListStart:footnotesDefinitions','isPremiumPlugin','setStyle','position','removeAttribute','fromCharCode','extend','decimal-leading-zero','parseInt','upper-latin','setFootnoteFormatter','padStart','differ','_formatFootnoteListValue','toViewElement','footnotesDefinitions','upcast','4gwRbKH','config','element:ol','_definePostfixer','footnotesStart','getChanges','registerPostFixer','1163352bVXOgh','upper-roman','type','insert','_updateFootnotesCounters','find','get','max','name','55922WJpyNx','define','isNaN','mapper','model','viewItem','FootnotesPropertiesEditing','list-style-type','plugins','checkAttribute','lower-roman','commands','11298384OAPZch','getStyle','item','5016605TATdVQ','footnotesListStart','pluginName','setAttribute','modelCursor','start','$text','lower-latin','footnotes.footnotesProperties.defaultListStyle','1012oVcuyH','11748195pEojJV','from','getAttribute','getItems','for','hasClass','_getDefaultListStyle','element','attribute:footnotesListStyle:footnotesDefinitions','toLowerCase','_defineSchema','242jMMGDm','isOfficialPlugin','footnotes.footnotesProperties.defaultStartIndex','footnotesListStyle','footnotes-list','getChildren','_defineConverters','24ddwShs','nodeAfter','editor','decimal','createRangeOn','_getDefaultStartIndex','downcast','809431hklEUk','removeStyle','footnotesStyle','floor','add','init','10SFuUnV'];_0x38b0=function(){return _0x1e3a22;};return _0x38b0();}import{FootnotesStartCommand as _0x410052}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x18c45f}from'../footnotestracker.js';import{FootnotesEditing as _0x5857a8}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x46db32{static get[_0x374fea(0x103)](){const _0x2e7f81=_0x374fea;return _0x2e7f81(0xf8);}static get[_0x374fea(0xcc)](){return[_0x5857a8,_0x18c45f];}static get[_0x374fea(0x117)](){return!0x0;}static get[_0x374fea(0xd2)](){return!0x0;}[_0x374fea(0xc2)](){const _0x1958a4=_0x374fea,{editor:_0xcc9847}=this;_0xcc9847[_0x1958a4(0xe3)][_0x1958a4(0xf3)](_0x1958a4(0x109),_0x1958a4(0x120)),_0xcc9847[_0x1958a4(0xe3)][_0x1958a4(0xf3)](_0x1958a4(0x118),0x1),_0xcc9847[_0x1958a4(0xfd)][_0x1958a4(0xc1)](_0x1958a4(0x126),new _0x15e649(_0xcc9847)),_0xcc9847[_0x1958a4(0xfd)][_0x1958a4(0xc1)](_0x1958a4(0xe6),new _0x410052(_0xcc9847)),this[_0x1958a4(0x115)](),this[_0x1958a4(0x11c)](),this[_0x1958a4(0xc6)](),this[_0x1958a4(0xe5)]();}[_0x374fea(0x115)](){const _0x2ee66c=_0x374fea,{editor:_0x2b73c5}=this,{schema:_0x721825}=_0x2b73c5[_0x2ee66c(0xf6)];_0x721825[_0x2ee66c(0xd7)](_0x2ee66c(0xe0),{'allowAttributes':[_0x2ee66c(0x119),_0x2ee66c(0x102)]});}[_0x374fea(0x11c)](){const _0x56f868=_0x374fea,{editor:_0x562f7f}=this,{conversion:_0x290038,model:_0x44a307}=_0x562f7f,{schema:_0x5040b1}=_0x44a307;_0x290038[_0x56f868(0x10f)](_0x56f868(0xe1))[_0x56f868(0xc1)](_0x27a022=>{const _0x5ce486=_0x56f868;_0x27a022['on'](_0x5ce486(0xe4),(_0x1636ee,_0x5935b8,_0xeed0c9)=>{const _0x3c4595=_0x5ce486,_0x38b245=_0x5935b8[_0x3c4595(0xf7)],_0x24b4fa=_0x5935b8[_0x3c4595(0x105)]?.[_0x3c4595(0xca)];_0x38b245[_0x3c4595(0x110)](_0x3c4595(0x11a))&&_0x24b4fa?.['is'](_0x3c4595(0x112),_0x3c4595(0xe0))&&(function(_0x28465d,_0x51c7c5,_0x36f179,_0x4cc3cb){const _0x182faf=_0x3c4595;if(!_0x4cc3cb[_0x182faf(0xfb)](_0x51c7c5,_0x182faf(0x102)))return;let _0x227c0a=0x1;const _0x5f4c87=_0x36f179[_0x182faf(0xd0)][_0x182faf(0xc5)](_0x28465d,{'attributes':_0x182faf(0x106)});if(_0x5f4c87){const _0x6aa57e=Number[_0x182faf(0xd9)](_0x28465d[_0x182faf(0x10d)](_0x182faf(0x106)),0xa);Number[_0x182faf(0xf4)](_0x6aa57e)||(_0x227c0a=_0x6aa57e);}!_0x5f4c87&&_0x51c7c5[_0x182faf(0xcf)](_0x182faf(0x102))||_0x36f179[_0x182faf(0xcd)][_0x182faf(0x104)](_0x182faf(0x102),_0x227c0a,_0x51c7c5);}(_0x38b245,_0x24b4fa,_0xeed0c9,_0x5040b1),function(_0x39da88,_0xbee1f3,_0x2cc44b,_0x16fe73){const _0x523e7b=_0x3c4595;if(!_0x16fe73[_0x523e7b(0xfb)](_0xbee1f3,_0x523e7b(0x119)))return;let _0x3dddf2=_0x523e7b(0x120),_0x16f1df=!0x1;if(_0x2cc44b[_0x523e7b(0xd0)][_0x523e7b(0xc5)](_0x39da88,{'attributes':_0x523e7b(0xeb)})){const _0x5506ad={0x1:_0x523e7b(0x120),'a':_0x523e7b(0xc8),'A':_0x523e7b(0xcb),'i':_0x523e7b(0xfc),'I':_0x523e7b(0xea)}[_0x39da88[_0x523e7b(0x10d)](_0x523e7b(0xeb))];_0x5506ad&&(_0x3dddf2=_0x5506ad),_0x16f1df=!0x0;}_0x2cc44b[_0x523e7b(0xd0)][_0x523e7b(0xc5)](_0x39da88,{'styles':_0x523e7b(0xf9)})&&(_0x3dddf2=_0x39da88[_0x523e7b(0xff)](_0x523e7b(0xf9)),_0x16f1df=!0x0),!_0x16f1df&&_0xbee1f3[_0x523e7b(0xcf)](_0x523e7b(0x119))||_0x2cc44b[_0x523e7b(0xcd)][_0x523e7b(0x104)](_0x523e7b(0x119),_0x3dddf2,_0xbee1f3);}(_0x38b245,_0x24b4fa,_0xeed0c9,_0x5040b1));});}),_0x290038[_0x56f868(0x10f)](_0x56f868(0x123))[_0x56f868(0xc1)](_0x10de53=>{const _0x28cbc8=_0x56f868;_0x10de53['on'](_0x28cbc8(0xd1),(_0x4a6000,_0x4247b8,_0x2a8e37)=>{const _0x14237f=_0x28cbc8;if(!_0x2a8e37[_0x14237f(0xd0)][_0x14237f(0xc5)](_0x4247b8[_0x14237f(0x100)],_0x4a6000[_0x14237f(0xf1)]))return;const _0xfc0230=M(_0x4247b8[_0x14237f(0x100)],_0x2a8e37[_0x14237f(0xf5)]),{attributeNewValue:_0x2fdc8e}=_0x4247b8;null==_0x2fdc8e||0x1===_0x2fdc8e?_0x2a8e37[_0x14237f(0xcd)][_0x14237f(0xd5)](_0x14237f(0x106),_0xfc0230):_0x2a8e37[_0x14237f(0xcd)][_0x14237f(0x104)](_0x14237f(0x106),String(_0x2fdc8e),_0xfc0230);}),_0x10de53['on'](_0x28cbc8(0x113),(_0x3d02e9,_0x4c92b1,_0x9e1d19)=>{const _0x563c6d=_0x28cbc8;if(!_0x9e1d19[_0x563c6d(0xd0)][_0x563c6d(0xc5)](_0x4c92b1[_0x563c6d(0x100)],_0x3d02e9[_0x563c6d(0xf1)]))return;const _0x3e512b=M(_0x4c92b1[_0x563c6d(0x100)],_0x9e1d19[_0x563c6d(0xf5)]),{attributeNewValue:_0x36a045}=_0x4c92b1;_0x36a045&&_0x563c6d(0x120)!==_0x36a045?_0x9e1d19[_0x563c6d(0xcd)][_0x563c6d(0xd3)](_0x563c6d(0xf9),_0x36a045,_0x3e512b):_0x9e1d19[_0x563c6d(0xcd)][_0x563c6d(0x125)](_0x563c6d(0xf9),_0x3e512b);});});}[_0x374fea(0xe5)](){const _0x569229=_0x374fea,{editor:_0x16d0bc}=this,{model:_0x327232}=_0x16d0bc,_0x5cc5a8=_0x16d0bc[_0x569229(0xfa)][_0x569229(0xef)](_0x18c45f),_0x397441=this[_0x569229(0x111)](),_0x41634f=this[_0x569229(0x122)]();_0x327232[_0x569229(0xc9)][_0x569229(0xe8)](_0x5ecae2=>{const _0x2d1f7a=_0x569229,_0x5cbce4=_0x327232[_0x2d1f7a(0xc9)][_0x2d1f7a(0xdd)][_0x2d1f7a(0xe7)]();let _0x6d154c=!0x1;for(const _0x5c7450 of _0x5cbce4){if(_0x2d1f7a(0xec)!==_0x5c7450[_0x2d1f7a(0xeb)]||_0x2d1f7a(0x107)===_0x5c7450[_0x2d1f7a(0xf1)])continue;const _0x29cc89=_0x327232[_0x2d1f7a(0x121)](_0x5c7450[_0x2d1f7a(0xd4)][_0x2d1f7a(0x11e)]);for(const _0x53ce1e of _0x29cc89[_0x2d1f7a(0x10e)]())_0x53ce1e['is'](_0x2d1f7a(0x112),_0x2d1f7a(0xe0))&&(!_0x53ce1e[_0x2d1f7a(0xcf)](_0x2d1f7a(0x102))&&_0x327232[_0x2d1f7a(0xc4)][_0x2d1f7a(0xfb)](_0x53ce1e,_0x2d1f7a(0x102))&&(_0x5ecae2[_0x2d1f7a(0x104)](_0x2d1f7a(0x102),_0x41634f,_0x53ce1e),_0x6d154c=!0x0),!_0x53ce1e[_0x2d1f7a(0xcf)](_0x2d1f7a(0x119))&&_0x327232[_0x2d1f7a(0xc4)][_0x2d1f7a(0xfb)](_0x53ce1e,_0x2d1f7a(0x119))&&(_0x5ecae2[_0x2d1f7a(0x104)](_0x2d1f7a(0x119),_0x397441,_0x53ce1e),_0x6d154c=!0x0));}return _0x6d154c&&_0x5cc5a8[_0x2d1f7a(0xed)](_0x5ecae2),_0x6d154c;});}[_0x374fea(0xc6)](){const _0x471b11=_0x374fea,{editor:_0x2da2de}=this;_0x2da2de[_0x471b11(0xfa)][_0x471b11(0xef)](_0x18c45f)[_0x471b11(0xdb)](_0x28b42e=>this[_0x471b11(0xde)](_0x28b42e));}[_0x374fea(0x111)](){const _0x27199e=_0x374fea;return this[_0x27199e(0x11f)][_0x27199e(0xe3)][_0x27199e(0xef)](_0x27199e(0x109));}[_0x374fea(0x122)](){const _0x404f31=_0x374fea;return this[_0x404f31(0x11f)][_0x404f31(0xe3)][_0x404f31(0xef)](_0x404f31(0x118));}[_0x374fea(0xde)]({container:_0x6e6157,value:_0x54fc6e,digits:_0x4f964a}){const _0x345263=_0x374fea,_0x2421a3=_0x6e6157[_0x345263(0x10d)](_0x345263(0x119)),_0x47a3f9=_0x6e6157[_0x345263(0x10d)](_0x345263(0x102)),_0x4ba8f2=Math[_0x345263(0xc0)](_0x54fc6e)+(_0x47a3f9??0x1)-0x1;switch(_0x2421a3){case _0x345263(0xd8):return function(_0x32950c,_0x2785b2){const _0x199d52=_0x345263;return String(_0x32950c)[_0x199d52(0xdc)](_0x2785b2,'0');}(_0x4ba8f2,Math[_0x345263(0xf0)](0x2,_0x4f964a));case _0x345263(0xc8):case _0x345263(0x108):return N(_0x4ba8f2,!0x1);case _0x345263(0xcb):case _0x345263(0xda):return N(_0x4ba8f2,!0x0);case _0x345263(0xfc):return X(_0x4ba8f2,!0x1);case _0x345263(0xea):return X(_0x4ba8f2,!0x0);default:return String(_0x4ba8f2);}}}function M(_0x16a750,_0x2edcd9){const _0x26f67c=_0x374fea,_0x577d11=_0x2edcd9[_0x26f67c(0xdf)](_0x16a750);return Array[_0x26f67c(0x10c)](_0x577d11[_0x26f67c(0x11b)]())[_0x26f67c(0xee)](_0x16ad4b=>_0x16ad4b['is'](_0x26f67c(0x112),'ol')&&_0x16ad4b[_0x26f67c(0x110)](_0x26f67c(0x11a)));}function N(_0x3bdb9b,_0x2fa192){const _0x5b1776=_0x374fea;let _0x25a061='',_0x44103d=_0x3bdb9b;for(;_0x44103d>0x0;){const _0x2b8f8a=(_0x44103d-0x1)%0x1a;_0x25a061=String[_0x5b1776(0xd6)](0x61+_0x2b8f8a)+_0x25a061,_0x44103d=Math[_0x5b1776(0xc0)]((_0x44103d-0x1)/0x1a);}return _0x2fa192?_0x25a061[_0x5b1776(0xce)]():_0x25a061;}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(_0x3f5b85,_0x2752f1){const _0x3af1cb=_0x374fea;let _0x362813='',_0x50284b=_0x3f5b85;for(const {value:_0xc39ab0,numeral:_0x3cca24}of V)for(;_0x50284b>=_0xc39ab0;)_0x362813+=_0x3cca24,_0x50284b-=_0xc39ab0;return _0x2752f1?_0x362813:_0x362813[_0x3af1cb(0x114)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x3998b1,ButtonView as _0x4914d8,ContextualBalloon as _0x19f162,createDropdown as _0x3a1ce1}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x2bec7c}from'ckeditor5/src/widget.js';import{Plugin as _0x13209b}from'ckeditor5/src/core.js';import{IconFootnote as _0x325a19,IconListStyleDecimal as _0x24d9ec,IconListStyleDecimalLeadingZero as _0x528a80,IconListStyleLowerLatin as _0x17127f,IconListStyleLowerRoman as _0x1d72d3,IconListStyleUpperLatin as _0x25737a,IconListStyleUpperRoman as _0x1ddd39}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0xaa41f4}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x1e5b83}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x13209b{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x19f162,_0x2bec7c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x510b5d}=this,{componentFactory:_0x47d8c3}=_0x510b5d['ui'];_0x510b5d['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x47d8c3['add']('footnotesStyle',function(_0x43eeac){return _0x523e7e=>{const {t:t}=_0x523e7e,_0x8d4761=_0x43eeac['commands']['get']('footnotesStyle'),_0xc13df5=_0x3a1ce1(_0x523e7e),{buttonView:_0x4f4b17}=_0xc13df5;return _0xc13df5['class']='ck-footnotes-styles-dropdown',_0xc13df5['bind']('isEnabled')['to'](_0x8d4761,'isEnabled'),_0x4f4b17['set']({'label':t('Footnotes\x20style'),'icon':_0x325a19,'tooltip':!0x0}),_0xc13df5['once']('change:isOpen',()=>{const _0x5a636f=function({editor:_0x475ab2,dropdownView:_0x3e0b11}){const {t:t}=_0x475ab2['locale'],_0x4804df=t('Footnotes\x20definitions\x20styles'),_0x1bb50d=function(_0x1bd398){const t=_0x1bd398['locale']['t'],_0x2482a2=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x24d9ec},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x528a80},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x1d72d3},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1ddd39},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x17127f},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x25737a}];return _0x2482a2['map'](function(_0x4ab73e){const _0x335c41=_0x4ab73e['locale'];return({label:_0x25a479,icon:_0x5189e2,tooltip:_0x59ab5c,style:_0x58cdf6})=>{const _0x1c5a4c=_0x4ab73e['commands']['get']('footnotesStyle'),_0x4888c3=new _0x4914d8(_0x335c41);return _0x4888c3['set']({'label':_0x25a479,'icon':_0x5189e2,'tooltip':_0x59ab5c}),_0x4888c3['bind']('isOn')['to'](_0x1c5a4c,'value',_0x490038=>_0x490038===_0x58cdf6),_0x4888c3['bind']('isEnabled')['to'](_0x1c5a4c,'isEnabled'),_0x4888c3['on']('execute',()=>{_0x4ab73e['execute']('footnotesStyle',{'value':_0x58cdf6}),_0x4ab73e['editing']['view']['focus']();}),_0x4888c3;};}(_0x1bd398));}(_0x475ab2),_0x2165ca=new _0xaa41f4(_0x475ab2['locale'],{'styleGridAriaLabel':_0x4804df,'styleButtonViews':_0x1bb50d});return _0x2165ca['delegate']('execute')['to'](_0x3e0b11),_0x2165ca['on']('footnotesListStart',(_0x4e0a44,_0x4fe6a5)=>{_0x475ab2['execute']('footnotesStart',{'value':_0x4fe6a5['startIndex']});}),_0x2165ca;}({'editor':_0x43eeac,'dropdownView':_0xc13df5});_0xc13df5['panelView']['children']['add'](_0x5a636f);}),_0xc13df5;};}(_0x510b5d));}['afterInit'](){const {editor:_0x1ca09c}=this,{t:t}=_0x1ca09c['locale'],_0x16c90f=_0x1ca09c['plugins']['get'](_0x2bec7c),{defaultPositions:_0x1afbe0}=_0x3998b1;_0x16c90f['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1ca09c['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x38a371=>{let _0x5b7f6e=_0x38a371['getFirstPosition']()?.['parent'];return _0x5b7f6e?.['is']('$text')&&(_0x5b7f6e=_0x5b7f6e['parent']),_0x5b7f6e?.['is']('element')?_0x5b7f6e['findAncestor'](_0x1e5b83):null;},'positions':[_0x1afbe0['southArrowNorth'],_0x1afbe0['southArrowNorthMiddleWest'],_0x1afbe0['southArrowNorthMiddleEast'],_0x1afbe0['southArrowNorthWest'],_0x1afbe0['southArrowNorthEast'],_0x1afbe0['northArrowSouth'],_0x1afbe0['northArrowSouthMiddleWest'],_0x1afbe0['northArrowSouthMiddleEast'],_0x1afbe0['northArrowSouthWest'],_0x1afbe0['northArrowSouthEast'],_0x1afbe0['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x5e434d,View as _0x471fea,ViewCollection as _0x3e95d2,FocusCycler as _0x11beb9,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 _0x471fea{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x3e95d2();['focusCycler'];constructor(_0x3df2ec,{styleButtonViews:_0x3464be,styleGridAriaLabel:_0x3f3d35}){super(_0x3df2ec),(this['focusCycler']=new _0x11beb9({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x3464be,_0x3f3d35),[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 _0x529023 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x529023['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 _0x22f64e=_0x47e975=>_0x47e975['stopPropagation']();this['keystrokes']['set']('arrowright',_0x22f64e),this['keystrokes']['set']('arrowleft',_0x22f64e),this['keystrokes']['set']('arrowup',_0x22f64e),this['keystrokes']['set']('arrowdown',_0x22f64e);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x38b247,_0x2700a8){const _0x520fbc=new _0x471fea(this['locale']);return _0x520fbc['children']=_0x520fbc['createCollection'](),_0x520fbc['children']['addMany'](_0x38b247),_0x520fbc['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2700a8,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x520fbc['children']}),_0x520fbc['children']['delegate']('execute')['to'](this),_0x520fbc['focus']=function(){for(const _0x4bd97d of this['children'])if(_0x4bd97d instanceof _0x5e434d&&_0x4bd97d['isOn'])return void _0x4bd97d['focus']();this['children']['first']['focus']();},_0x520fbc['focusTracker']=new ot(),_0x520fbc['keystrokes']=new rt(),_0x520fbc['render'](),_0x520fbc['keystrokes']['listenTo'](_0x520fbc['element']),this['children']['add'](_0x520fbc),_0x520fbc;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x196409=this['_createStartIndexPropertyView'](),_0x37f06e=[_0x196409],_0x4700a7=new st(this['locale'],_0x37f06e);return _0x4700a7['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x4700a7['buttonView']['bind']('isEnabled')['toMany'](_0x37f06e,'isEnabled',(..._0x344475)=>_0x344475['some'](_0x194eed=>_0x194eed)),_0x4700a7['buttonView']['on']('change:isEnabled',(_0x35b72f,_0x31d012,_0x374df3)=>{_0x374df3||(_0x4700a7['isCollapsed']=!0x0);}),this['children']['add'](_0x4700a7),[_0x196409,_0x4700a7];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x56041d=new it(this['locale'],et);return _0x56041d['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x56041d['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x56041d['fieldView']['on']('input',()=>{const _0xbdbfe0=_0x56041d['fieldView']['element'],_0x16b267=_0xbdbfe0['valueAsNumber'];Number['isNaN'](_0x16b267)?_0x56041d['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0xbdbfe0['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x16b267}):_0x56041d['errorText']=t(_0x16b267<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x56041d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x589204=_0x26fd;function _0x26fd(_0x4d06fd,_0x16c523){var _0x24ce02=_0x24ce();return _0x26fd=function(_0x26fd05,_0x347404){_0x26fd05=_0x26fd05-0xaf;var _0x558fae=_0x24ce02[_0x26fd05];return _0x558fae;},_0x26fd(_0x4d06fd,_0x16c523);}function _0x24ce(){var _0x5a7696=['isPremiumPlugin','pluginName','FootnotesProperties','requires','291449lfgnLC','899991JUSqqc','71350TsvWeC','1850415daJjoc','713676zxzRCi','928198AuWFKy','16540888cMmgQE','isOfficialPlugin','104ZEErcc'];_0x24ce=function(){return _0x5a7696;};return _0x24ce();}(function(_0x19c467,_0x1b6cc0){var _0x320a5f=_0x26fd,_0x22c267=_0x19c467();while(!![]){try{var _0x599785=-parseInt(_0x320a5f(0xba))/0x1+-parseInt(_0x320a5f(0xb2))/0x2+-parseInt(_0x320a5f(0xbb))/0x3+-parseInt(_0x320a5f(0xb5))/0x4*(parseInt(_0x320a5f(0xaf))/0x5)+-parseInt(_0x320a5f(0xb1))/0x6+-parseInt(_0x320a5f(0xb0))/0x7+parseInt(_0x320a5f(0xb3))/0x8;if(_0x599785===_0x1b6cc0)break;else _0x22c267['push'](_0x22c267['shift']());}catch(_0x10f336){_0x22c267['push'](_0x22c267['shift']());}}}(_0x24ce,0x3eedb));import{Plugin as _0x5b5ab8}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0xc0f7c6}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x2e3089}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x5b5ab8{static get[_0x589204(0xb7)](){var _0x490fb6=_0x589204;return _0x490fb6(0xb8);}static get[_0x589204(0xb9)](){return[_0xc0f7c6,_0x2e3089];}static get[_0x589204(0xb4)](){return!0x0;}static get[_0x589204(0xb6)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x324bc3=_0x2067;(function(_0x17e7be,_0x1e3ee6){const _0x4a26a=_0x2067,_0x4f75c5=_0x17e7be();while(!![]){try{const _0x86d996=-parseInt(_0x4a26a(0x183))/0x1+-parseInt(_0x4a26a(0x187))/0x2*(-parseInt(_0x4a26a(0x15f))/0x3)+parseInt(_0x4a26a(0x16a))/0x4*(-parseInt(_0x4a26a(0x177))/0x5)+-parseInt(_0x4a26a(0x16f))/0x6*(parseInt(_0x4a26a(0x195))/0x7)+-parseInt(_0x4a26a(0x198))/0x8+-parseInt(_0x4a26a(0x15b))/0x9*(-parseInt(_0x4a26a(0x175))/0xa)+parseInt(_0x4a26a(0x179))/0xb;if(_0x86d996===_0x1e3ee6)break;else _0x4f75c5['push'](_0x4f75c5['shift']());}catch(_0x1d9788){_0x4f75c5['push'](_0x4f75c5['shift']());}}}(_0x1064,0x79346));function _0x1064(){const _0x5e8fcd=['init','setFootnoteFormatter','remove','22YhaBOF','getFootnotesDefinitionsObjectElement','createElement','_ensureFootnotesReferencesHaveProperOrder','_updateFootnoteRefCounter','_sortFootnoteDefinitions','min','createRangeOn','_footnoteDefsContainerTracker','add','getChildren','indexOf','registerPostFixer','_handleFootnoteDefinitionsChanges','77xMDuhs','compareWith','enqueueChange','6502528HNVEFl','differ','rootName','from','_updateFootnotesCounters','move','footnoteCounter','footnoteId','_handleFootnotesDefinitionsObjectSync','high','$graveyard','low','footnotesDefinitions','pluginName','isOfficialPlugin','has','append','map','_handleFootnotesDefinitionsObjectChanges','childCount','_ensureFootnotesDefinitionsContainerExists','editor','footnoteRef','find','getAttribute','footnoteInlineContent','splice','definition','paragraph','parent','_handleMovedFootnoteReference','getChanges','unshift','listenTo','isPremiumPlugin','getFootnotesFormatter','length','singleton','setAttribute','model','_footnoteRefsTracker','99icGCil','_footnotes','FootnotesTracker','change:data','168495DMtoXo','_footnotesDefinitions','reset','_footnoteDefsTracker','isEqual','config','some','reference','document','push','_handleRemoveFootnoteReferenceById','4CtxCza','insert','getRootNames','createRangeIn','footnotes.multiBlock','197148VPUSYD','end','root','_footnoteFormatter','after','_handleFootnoteReferencesChanges','671170anbjdx','footnoteDefinition','1496265uvPwyt','findIndex','12221979VFBuNQ','createPositionAt','_handleInsertedFootnoteReference','before','set','getFootnote','get','_insertEmptyFootnotesDefinitionsContainer','createPositionBefore','getFootnotes','497230DeiNMB'];_0x1064=function(){return _0x5e8fcd;};return _0x1064();}function _0x2067(_0x2ad522,_0x5b9652){const _0x1064a3=_0x1064();return _0x2067=function(_0x206715,_0x284df0){_0x206715=_0x206715-0x159;let _0x674bdc=_0x1064a3[_0x206715];return _0x674bdc;},_0x2067(_0x2ad522,_0x5b9652);}import{Plugin as _0x1886f1}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x4603e5}from'./modelelementtracker.js';export class FootnotesTracker extends _0x1886f1{[_0x324bc3(0x15c)]=[];[_0x324bc3(0x160)]=null;[_0x324bc3(0x172)]=null;[_0x324bc3(0x18f)];[_0x324bc3(0x15a)];[_0x324bc3(0x162)];static get[_0x324bc3(0x1a5)](){const _0x5555be=_0x324bc3;return _0x5555be(0x15d);}static get[_0x324bc3(0x1a6)](){return!0x0;}static get[_0x324bc3(0x1ba)](){return!0x0;}constructor(_0x7b9d){const _0x4316eb=_0x324bc3;super(_0x7b9d),this[_0x4316eb(0x18f)]=new _0x4603e5(this[_0x4316eb(0x1ad)][_0x4316eb(0x159)],{'elementName':_0x4316eb(0x1a4),'getElementKey':()=>_0x4316eb(0x1bd)}),this[_0x4316eb(0x15a)]=new _0x4603e5(this[_0x4316eb(0x1ad)][_0x4316eb(0x159)],{'elementName':_0x4316eb(0x1ae),'getElementKey':_0x23f568=>_0x23f568[_0x4316eb(0x1b0)](_0x4316eb(0x19f))}),this[_0x4316eb(0x162)]=new _0x4603e5(this[_0x4316eb(0x1ad)][_0x4316eb(0x159)],{'elementName':_0x4316eb(0x176),'getElementKey':_0x3e5952=>_0x3e5952[_0x4316eb(0x1b0)](_0x4316eb(0x19f))});}[_0x324bc3(0x184)](){const _0x44db05=_0x324bc3,{editor:_0x2de031}=this,{model:_0x38317d,data:_0x1520ad}=_0x2de031;_0x38317d[_0x44db05(0x167)][_0x44db05(0x193)](_0x2f63f4=>{const _0x3d7217=_0x44db05,_0x1043f1=_0x38317d[_0x3d7217(0x167)][_0x3d7217(0x199)][_0x3d7217(0x1b7)]();let _0x1f1e64=!0x1;return this[_0x3d7217(0x1aa)](_0x2f63f4,_0x1043f1)&&(_0x1f1e64=!0x0),this[_0x3d7217(0x194)](_0x2f63f4,_0x1043f1)&&(_0x1f1e64=!0x0),this[_0x3d7217(0x174)](_0x2f63f4,_0x1043f1)&&(_0x1f1e64=!0x0),this[_0x3d7217(0x18a)](_0x2f63f4)&&(_0x1f1e64=!0x0),this[_0x3d7217(0x1a0)](_0x2f63f4)&&(_0x1f1e64=!0x0),this[_0x3d7217(0x18c)](_0x2f63f4)&&(_0x1f1e64=!0x0),_0x1f1e64;}),this[_0x44db05(0x1b9)](_0x38317d[_0x44db05(0x167)],_0x44db05(0x15e),()=>{const _0x38f2b7=_0x44db05;_0x38317d[_0x38f2b7(0x197)]({'isUndoable':!0x1},_0x420b9d=>{const _0x406e41=_0x38f2b7;this[_0x406e41(0x1ac)](_0x420b9d);});},{'priority':_0x44db05(0x1a3)}),this[_0x44db05(0x1b9)](_0x1520ad,_0x44db05(0x17d),()=>{const _0x3c969b=_0x44db05;this[_0x3c969b(0x15c)]=[],this[_0x3c969b(0x18f)][_0x3c969b(0x161)](),this[_0x3c969b(0x15a)][_0x3c969b(0x161)](),this[_0x3c969b(0x162)][_0x3c969b(0x161)]();},{'priority':_0x44db05(0x1a1)});}[_0x324bc3(0x188)](){const _0xc8c502=_0x324bc3;return this[_0xc8c502(0x160)];}[_0x324bc3(0x17e)](_0x595b44){const _0x4027ee=_0x324bc3;return this[_0x4027ee(0x15c)][_0x4027ee(0x1af)](_0x530a7e=>_0x530a7e['id']===_0x595b44)||null;}[_0x324bc3(0x182)](){const _0x62085f=_0x324bc3;return Array[_0x62085f(0x19b)](this[_0x62085f(0x15c)]);}[_0x324bc3(0x1bb)](){const _0x98a4f5=_0x324bc3;return this[_0x98a4f5(0x172)];}[_0x324bc3(0x185)](_0x1f21ea){const _0x18d474=_0x324bc3;this[_0x18d474(0x172)]=_0x1f21ea;}[_0x324bc3(0x19c)](_0x457091,_0x14e97b=0x0){const _0xae473f=_0x324bc3;let _0x442433=!0x1;for(let _0x11a6a6=_0x14e97b;_0x11a6a6<this[_0xae473f(0x15c)][_0xae473f(0x1bc)];_0x11a6a6++)this[_0xae473f(0x18b)](_0x457091,_0x11a6a6)&&(_0x442433=!0x0);return _0x442433;}[_0x324bc3(0x180)](_0x55fb13,_0x16cf48){const _0x309264=_0x324bc3,_0x162e18=_0x55fb13[_0x309264(0x189)](_0x309264(0x1a4),{});return _0x55fb13[_0x309264(0x1a8)](_0x162e18,_0x16cf48),this[_0x309264(0x160)]=_0x162e18,_0x162e18;}[_0x324bc3(0x1ac)](_0x52a06c){const _0x508118=_0x324bc3;if(!this[_0x508118(0x15c)][_0x508118(0x1bc)]||this[_0x508118(0x160)])return;const _0x393f0e=this[_0x508118(0x15c)][0x0][_0x508118(0x166)][_0x508118(0x171)],_0x185004=this[_0x508118(0x180)](_0x52a06c,_0x393f0e);for(const _0x1d79d3 of this[_0x508118(0x15c)])_0x1d79d3[_0x508118(0x1b3)][_0x508118(0x1b5)]||_0x52a06c[_0x508118(0x16b)](_0x1d79d3[_0x508118(0x1b3)],_0x185004,_0x508118(0x170));this[_0x508118(0x19c)](_0x52a06c);}[_0x324bc3(0x1aa)](_0x2e132e,_0x392775){const _0x3c3e1a=_0x324bc3;let _0x456c4a=!0x1;const {inserted:_0x58d992,removed:_0x512778,moved:_0x368610}=this[_0x3c3e1a(0x18f)][_0x3c3e1a(0x1b7)](_0x392775);if(_0x368610[_0x3c3e1a(0x1bc)]&&(this[_0x3c3e1a(0x160)]=_0x368610[0x0]),_0x58d992[_0x3c3e1a(0x1bc)]){if(_0x58d992[_0x3c3e1a(0x1bc)]>0x1||this[_0x3c3e1a(0x160)]&&_0x58d992[_0x3c3e1a(0x165)](_0x29ae73=>_0x29ae73!==this[_0x3c3e1a(0x160)])){const _0x263cc0=_0x2e132e[_0x3c3e1a(0x189)](_0x3c3e1a(0x1a4),{}),_0x50814e=[];this[_0x3c3e1a(0x160)]&&_0x50814e[_0x3c3e1a(0x168)](this[_0x3c3e1a(0x160)]),_0x50814e[_0x3c3e1a(0x168)](..._0x58d992),_0x2e132e[_0x3c3e1a(0x16b)](_0x263cc0,_0x50814e[0x0],_0x3c3e1a(0x17c));for(const _0x4f923d of _0x50814e)_0x2e132e[_0x3c3e1a(0x19d)](_0x2e132e[_0x3c3e1a(0x16d)](_0x4f923d),_0x2e132e[_0x3c3e1a(0x17a)](_0x263cc0,_0x3c3e1a(0x170))),_0x2e132e[_0x3c3e1a(0x186)](_0x4f923d);this[_0x3c3e1a(0x160)]=_0x263cc0,this[_0x3c3e1a(0x19c)](_0x2e132e),_0x456c4a=!0x0;}else this[_0x3c3e1a(0x160)]=_0x58d992[0x0];}if(_0x512778[_0x3c3e1a(0x1bc)]&&_0x3c3e1a(0x1a2)===this[_0x3c3e1a(0x160)]?.[_0x3c3e1a(0x171)][_0x3c3e1a(0x19a)]){for(const _0x5857c5 of this[_0x3c3e1a(0x15c)])_0x2e132e[_0x3c3e1a(0x186)](_0x5857c5[_0x3c3e1a(0x166)]),_0x456c4a=!0x0;this[_0x3c3e1a(0x15c)]=[],this[_0x3c3e1a(0x160)]=null;}return _0x456c4a;}[_0x324bc3(0x194)](_0xba83e1,_0x3bf294){const _0x150133=_0x324bc3;let _0xdc5817=!0x1;const _0x1db92d=this[_0x150133(0x1ad)][_0x150133(0x164)][_0x150133(0x17f)](_0x150133(0x16e)),{inserted:_0x18b35,moved:_0x203170}=this[_0x150133(0x162)][_0x150133(0x1b7)](_0x3bf294);for(const _0x33d3c8 of[..._0x203170,..._0x18b35]){const _0x47a359=_0x33d3c8[_0x150133(0x1b0)](_0x150133(0x19f)),_0xde7324=this[_0x150133(0x17e)](_0x47a359);_0xde7324&&(_0xde7324[_0x150133(0x1b3)]=_0x33d3c8),_(_0xba83e1,_0x1db92d,_0x33d3c8)&&(_0xdc5817=!0x0);}return _0xdc5817;}[_0x324bc3(0x174)](_0x429ea6,_0x3f8ded){const _0x4a1e91=_0x324bc3;let _0x3db971=!0x1;const {removed:_0x352b01,inserted:_0x3fc5df,moved:_0x14b54b}=this[_0x4a1e91(0x15a)][_0x4a1e91(0x1b7)](_0x3f8ded);for(const _0x2922bd of _0x352b01)this[_0x4a1e91(0x169)](_0x429ea6,_0x2922bd)&&(_0x3db971=!0x0);for(const _0x56d51c of _0x3fc5df)this[_0x4a1e91(0x17b)](_0x429ea6,_0x56d51c)&&(_0x3db971=!0x0);for(const _0x85bf75 of _0x14b54b)this[_0x4a1e91(0x1b6)](_0x429ea6,_0x85bf75)&&(_0x3db971=!0x0);return _0x3db971;}[_0x324bc3(0x1a0)](_0xa32d78){const _0x23de73=_0x324bc3;if(!this[_0x23de73(0x160)])return!0x1;let _0x26e413=!0x1;if(this[_0x23de73(0x160)][_0x23de73(0x1ab)]!==this[_0x23de73(0x15c)][_0x23de73(0x1bc)]){const _0x38ae26=[];for(const _0x3ccad3 of this[_0x23de73(0x160)][_0x23de73(0x191)]()){const _0x4bb14d=_0x3ccad3[_0x23de73(0x1b0)](_0x23de73(0x19f));this[_0x23de73(0x17e)](_0x4bb14d)||(_0x38ae26[_0x23de73(0x1b8)](_0x3ccad3),_0x26e413=!0x0);}for(const _0x3e07d6 of _0x38ae26)_0xa32d78[_0x23de73(0x186)](_0x3e07d6);}const _0x44eb95=new Set(),_0x4412d4=[];for(const _0x56c6be of this[_0x23de73(0x160)][_0x23de73(0x191)]()){const _0xaf1eb7=_0x56c6be[_0x23de73(0x1b0)](_0x23de73(0x19f));_0x44eb95[_0x23de73(0x1a7)](_0xaf1eb7)?(_0x4412d4[_0x23de73(0x1b8)](_0x56c6be),_0x26e413=!0x0):_0x44eb95[_0x23de73(0x190)](_0xaf1eb7);}for(const _0x3af4c6 of _0x4412d4)_0xa32d78[_0x23de73(0x186)](_0x3af4c6);return this[_0x23de73(0x160)][_0x23de73(0x1ab)]||(_0xa32d78[_0x23de73(0x186)](this[_0x23de73(0x160)]),this[_0x23de73(0x160)]=null,_0x26e413=!0x0),_0x26e413;}[_0x324bc3(0x17b)](_0x2c6e76,_0x1bf569){const _0xf48baa=_0x324bc3;if(this[_0xf48baa(0x15c)][_0xf48baa(0x1af)](_0x1676bf=>_0x1676bf[_0xf48baa(0x166)]===_0x1bf569))return!0x1;let _0x342231=!0x1;const _0x23f2d4=_0x1bf569[_0xf48baa(0x1b0)](_0xf48baa(0x19f)),_0x3ea465=this[_0xf48baa(0x15c)][_0xf48baa(0x178)](_0x3a9675=>_0x3a9675['id']===_0x23f2d4);-0x1!==_0x3ea465&&(_0x2c6e76[_0xf48baa(0x186)](this[_0xf48baa(0x15c)][_0x3ea465][_0xf48baa(0x166)]),this[_0xf48baa(0x15c)][_0xf48baa(0x1b2)](_0x3ea465,0x1),_0x342231=!0x0);let _0x14e8f6=this[_0xf48baa(0x160)]?function(_0x294233,_0x19b951){const _0x4138f1=_0xf48baa;for(const _0x17b4b5 of _0x294233[_0x4138f1(0x191)]())if(_0x17b4b5[_0x4138f1(0x1b0)](_0x4138f1(0x19f))===_0x19b951)return _0x17b4b5;return null;}(this[_0xf48baa(0x160)],_0x23f2d4):null;_0x14e8f6||(_0x14e8f6=_0x2c6e76[_0xf48baa(0x189)](_0xf48baa(0x176),{'footnoteId':_0x23f2d4}),this[_0xf48baa(0x160)]&&(_0x2c6e76[_0xf48baa(0x16b)](_0x14e8f6,this[_0xf48baa(0x160)],_0xf48baa(0x170)),_0x342231=!0x0));const _0x174634={'id':_0x23f2d4,'reference':_0x1bf569,'definition':_0x14e8f6},_0x5cad4a=I(this[_0xf48baa(0x1ad)][_0xf48baa(0x159)],this[_0xf48baa(0x15c)],_0x1bf569);this[_0xf48baa(0x15c)][_0xf48baa(0x1b2)](_0x5cad4a,0x0,_0x174634);let _0x1c248c=_0x5cad4a;return-0x1!==_0x3ea465&&(_0x1c248c=Math[_0xf48baa(0x18d)](_0x5cad4a,_0x3ea465)),this[_0xf48baa(0x19c)](_0x2c6e76,_0x1c248c)&&(_0x342231=!0x0),_0x342231;}[_0x324bc3(0x169)](_0x545c6c,_0x419c8c){const _0xefc9ff=_0x324bc3,_0x2bf1ed=this[_0xefc9ff(0x15c)][_0xefc9ff(0x178)](_0x3474e0=>_0x3474e0['id']===_0x419c8c);if(-0x1===_0x2bf1ed)return!0x1;let _0x32fd96=!0x1;const _0xc089f8=this[_0xefc9ff(0x15c)][_0x2bf1ed];return _0xefc9ff(0x1a2)!==_0xc089f8[_0xefc9ff(0x1b3)][_0xefc9ff(0x171)][_0xefc9ff(0x19a)]&&(_0x545c6c[_0xefc9ff(0x186)](_0xc089f8[_0xefc9ff(0x1b3)]),_0x32fd96=!0x0),this[_0xefc9ff(0x15c)][_0xefc9ff(0x1b2)](_0x2bf1ed,0x1),this[_0xefc9ff(0x19c)](_0x545c6c,_0x2bf1ed)&&(_0x32fd96=!0x0),_0x32fd96;}[_0x324bc3(0x1b6)](_0x306126,_0x30b2cd){const _0x2c1cd8=_0x324bc3,_0x339882=_0x30b2cd[_0x2c1cd8(0x1b0)](_0x2c1cd8(0x19f)),_0x36d7f9=this[_0x2c1cd8(0x15c)][_0x2c1cd8(0x178)](_0x23fbe5=>_0x23fbe5['id']===_0x339882),_0x3764d4=this[_0x2c1cd8(0x15c)][_0x36d7f9];let _0x1cc749=!0x1;_0x3764d4[_0x2c1cd8(0x166)]=_0x30b2cd,this[_0x2c1cd8(0x15c)][_0x2c1cd8(0x1b2)](_0x36d7f9,0x1);const _0x30f031=I(this[_0x2c1cd8(0x1ad)][_0x2c1cd8(0x159)],this[_0x2c1cd8(0x15c)],_0x30b2cd);return this[_0x2c1cd8(0x15c)][_0x2c1cd8(0x1b2)](_0x30f031,0x0,_0x3764d4),this[_0x2c1cd8(0x19c)](_0x306126,Math[_0x2c1cd8(0x18d)](_0x36d7f9,_0x30f031))&&(_0x1cc749=!0x0),_0x1cc749;}[_0x324bc3(0x18b)](_0x51d191,_0x11652b){const _0x1b4537=_0x324bc3;if(!this[_0x1b4537(0x160)])return!0x1;const _0x5182c7=this[_0x1b4537(0x15c)][_0x11652b];let _0x3f84d2;return _0x3f84d2=this[_0x1b4537(0x172)]?this[_0x1b4537(0x172)]({'footnote':_0x5182c7,'container':this[_0x1b4537(0x160)],'digits':String(this[_0x1b4537(0x15c)][_0x1b4537(0x1bc)])[_0x1b4537(0x1bc)],'value':_0x11652b+0x1}):String(_0x11652b+0x1),_0x5182c7[_0x1b4537(0x166)][_0x1b4537(0x1b0)](_0x1b4537(0x19e))!=_0x3f84d2&&(_0x51d191[_0x1b4537(0x1be)](_0x1b4537(0x19e),_0x3f84d2,_0x5182c7[_0x1b4537(0x166)]),!0x0);}[_0x324bc3(0x18c)](_0x39bc73){const _0x331581=_0x324bc3;if(!this[_0x331581(0x160)]||this[_0x331581(0x15c)][_0x331581(0x1bc)]<0x2)return!0x1;if(function(_0x13aaab,_0xa32739){const _0x2ea33d=_0x331581;if(_0x13aaab[_0x2ea33d(0x1bc)]!==_0xa32739[_0x2ea33d(0x1bc)])return!0x1;for(let _0x555031=0x0;_0x555031<_0x13aaab[_0x2ea33d(0x1bc)];_0x555031++)if(_0x13aaab[_0x555031]!==_0xa32739[_0x555031])return!0x1;return!0x0;}(this[_0x331581(0x15c)][_0x331581(0x1a9)](_0x16c45=>_0x16c45['id']),Array[_0x331581(0x19b)](this[_0x331581(0x160)][_0x331581(0x191)]())[_0x331581(0x1a9)](_0x34f6d5=>_0x34f6d5[_0x331581(0x1b0)](_0x331581(0x19f)))))return!0x1;let _0x3b77ad=!0x1;for(let _0x378861=0x0;_0x378861<this[_0x331581(0x15c)][_0x331581(0x1bc)];_0x378861++){const _0xc05000=this[_0x331581(0x15c)][_0x378861],_0x27dd00=_0x39bc73[_0x331581(0x181)](_0xc05000[_0x331581(0x1b3)]),_0x55946f=_0x39bc73[_0x331581(0x17a)](this[_0x331581(0x160)],_0x378861);_0x27dd00[_0x331581(0x163)](_0x55946f)||(_0x39bc73[_0x331581(0x19d)](_0x39bc73[_0x331581(0x18e)](_0xc05000[_0x331581(0x1b3)]),_0x55946f),_0x3b77ad=!0x0);}return _0x3b77ad;}[_0x324bc3(0x18a)](_0x3f293f){const _0x1a7778=_0x324bc3;if(!this[_0x1a7778(0x15c)][_0x1a7778(0x1bc)])return!0x1;const {model:_0x19ccc2}=this[_0x1a7778(0x1ad)];let _0x1903de=!0x1;for(let _0x27b79f=0x0;_0x27b79f<this[_0x1a7778(0x15c)][_0x1a7778(0x1bc)]-0x1;_0x27b79f++){const _0x278dc6=this[_0x1a7778(0x15c)][_0x27b79f],_0x5f4d62=this[_0x1a7778(0x15c)][_0x27b79f+0x1],_0x340b43=_0x19ccc2[_0x1a7778(0x181)](_0x278dc6[_0x1a7778(0x166)]),_0x1322ba=_0x19ccc2[_0x1a7778(0x181)](_0x5f4d62[_0x1a7778(0x166)]);_0x1a7778(0x173)===_0x340b43[_0x1a7778(0x196)](_0x1322ba)&&(this[_0x1a7778(0x1b6)](_0x3f293f,_0x278dc6[_0x1a7778(0x166)]),_0x27b79f=-0x1,_0x1903de=!0x0);}return _0x1903de;}}function _(_0x2f53ab,_0x465c30,_0x5a5a37){const _0xde6dcf=_0x324bc3;if(_0x5a5a37[_0xde6dcf(0x1ab)])return!0x1;const _0x42b9b9=_0x465c30?_0xde6dcf(0x1b4):_0xde6dcf(0x1b1);return _0x2f53ab[_0xde6dcf(0x16b)](_0x2f53ab[_0xde6dcf(0x189)](_0x42b9b9),_0x5a5a37),!0x0;}function I(_0x4ecee2,_0x332214,_0x58d096){const _0x423176=_0x324bc3;if(0x0===_0x332214[_0x423176(0x1bc)])return 0x0;const _0x2b7e7b=_0x4ecee2[_0x423176(0x181)](_0x58d096);for(let _0x2b4bad=0x0;_0x2b4bad<_0x332214[_0x423176(0x1bc)];_0x2b4bad++){const _0x27a5af=_0x332214[_0x2b4bad],_0x40202a=_0x4ecee2[_0x423176(0x181)](_0x27a5af[_0x423176(0x166)]);if(_0x423176(0x17c)===_0x2b7e7b[_0x423176(0x196)](_0x40202a))return _0x2b4bad;}const _0xb9f673=_0x58d096[_0x423176(0x171)];let _0x2e38be=-0x1;for(let _0x117a58=_0x332214[_0x423176(0x1bc)]-0x1;_0x117a58>=0x0;_0x117a58--)if(_0x332214[_0x117a58][_0x423176(0x166)][_0x423176(0x171)]===_0xb9f673){_0x2e38be=_0x117a58;break;}if(-0x1!==_0x2e38be)return _0x2e38be+0x1;const _0x3ee90f=_0x4ecee2[_0x423176(0x167)][_0x423176(0x16c)](),_0xe6756c=_0x3ee90f[_0x423176(0x192)](_0xb9f673[_0x423176(0x19a)]),_0x74bf57=_0x3ee90f[_0xe6756c+0x1];if(_0x74bf57){for(let _0x1f7904=0x0;_0x1f7904<_0x332214[_0x423176(0x1bc)];_0x1f7904++)if(_0x332214[_0x1f7904][_0x423176(0x166)][_0x423176(0x171)][_0x423176(0x19a)]===_0x74bf57)return _0x1f7904;}return _0x332214[_0x423176(0x1bc)];}
|
|
23
|
+
const _0xdfde80=_0x3565;(function(_0x36f6e1,_0x5437a8){const _0x54dc2a=_0x3565,_0x29f65a=_0x36f6e1();while(!![]){try{const _0xe23c7b=-parseInt(_0x54dc2a(0x155))/0x1+parseInt(_0x54dc2a(0x167))/0x2+parseInt(_0x54dc2a(0x13d))/0x3+-parseInt(_0x54dc2a(0x16f))/0x4*(parseInt(_0x54dc2a(0x15c))/0x5)+-parseInt(_0x54dc2a(0x16e))/0x6*(-parseInt(_0x54dc2a(0x180))/0x7)+-parseInt(_0x54dc2a(0x132))/0x8*(parseInt(_0x54dc2a(0x152))/0x9)+-parseInt(_0x54dc2a(0x142))/0xa*(-parseInt(_0x54dc2a(0x16a))/0xb);if(_0xe23c7b===_0x5437a8)break;else _0x29f65a['push'](_0x29f65a['shift']());}catch(_0x4b16d3){_0x29f65a['push'](_0x29f65a['shift']());}}}(_0x4f84,0xb892d));import{Plugin as _0x53e9f6}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x31d531}from'./modelelementtracker.js';function _0x4f84(){const _0x2b125a=['enqueueChange','_handleMovedFootnoteReference','30dVkhZJ','508VgubSo','_insertEmptyFootnotesDefinitionsContainer','push','before','change:data','isEqual','document','_handleFootnoteDefinitionsChanges','_ensureFootnotesDefinitionsContainerExists','footnoteId','some','paragraph','get','getFootnotesFormatter','_footnoteDefsTracker','isOfficialPlugin','compareWith','2037966SkmtHY','reference','footnotesDefinitions','_footnoteFormatter','findIndex','min','_updateFootnoteRefCounter','isPremiumPlugin','getFootnotes','getChildren','_handleInsertedFootnoteReference','_handleRemoveFootnoteReferenceById','append','end','parent','_ensureFootnotesReferencesHaveProperOrder','footnoteInlineContent','getFootnotesDefinitionsObjectElement','low','_handleFootnoteReferencesChanges','createRangeIn','move','getFootnote','footnotes.multiBlock','320wdTJKd','splice','singleton','createElement','pluginName','model','$graveyard','init','_handleFootnotesDefinitionsObjectChanges','_footnotes','footnoteDefinition','395010UcFidh','reset','length','FootnotesTracker','rootName','4090LZkzRv','createPositionBefore','config','has','set','getChanges','definition','listenTo','getRootNames','insert','high','from','footnoteRef','after','_footnotesDefinitions','editor','122967WZvFIr','differ','setFootnoteFormatter','904548GjnpnI','createPositionAt','footnoteCounter','setAttribute','map','createRangeOn','_handleFootnotesDefinitionsObjectSync','54295GRmMhz','_updateFootnotesCounters','registerPostFixer','unshift','find','root','_sortFootnoteDefinitions','indexOf','add','remove','_footnoteDefsContainerTracker','585750OwShSJ','getAttribute','_footnoteRefsTracker','45881hBZpjo','childCount'];_0x4f84=function(){return _0x2b125a;};return _0x4f84();}export class FootnotesTracker extends _0x53e9f6{[_0xdfde80(0x13b)]=[];[_0xdfde80(0x150)]=null;[_0xdfde80(0x183)]=null;[_0xdfde80(0x166)];[_0xdfde80(0x169)];[_0xdfde80(0x17d)];static get[_0xdfde80(0x136)](){const _0x5151e7=_0xdfde80;return _0x5151e7(0x140);}static get[_0xdfde80(0x17e)](){return!0x0;}static get[_0xdfde80(0x187)](){return!0x0;}constructor(_0x2f5c49){const _0x209b31=_0xdfde80;super(_0x2f5c49),this[_0x209b31(0x166)]=new _0x31d531(this[_0x209b31(0x151)][_0x209b31(0x137)],{'elementName':_0x209b31(0x182),'getElementKey':()=>_0x209b31(0x134)}),this[_0x209b31(0x169)]=new _0x31d531(this[_0x209b31(0x151)][_0x209b31(0x137)],{'elementName':_0x209b31(0x14e),'getElementKey':_0x4da2b1=>_0x4da2b1[_0x209b31(0x168)](_0x209b31(0x178))}),this[_0x209b31(0x17d)]=new _0x31d531(this[_0x209b31(0x151)][_0x209b31(0x137)],{'elementName':_0x209b31(0x13c),'getElementKey':_0x3da212=>_0x3da212[_0x209b31(0x168)](_0x209b31(0x178))});}[_0xdfde80(0x139)](){const _0x5562cb=_0xdfde80,{editor:_0x5a5395}=this,{model:_0x21d8fb,data:_0x5cdf23}=_0x5a5395;_0x21d8fb[_0x5562cb(0x175)][_0x5562cb(0x15e)](_0x2e75d0=>{const _0x303f53=_0x5562cb,_0x189ab0=_0x21d8fb[_0x303f53(0x175)][_0x303f53(0x153)][_0x303f53(0x147)]();let _0x57629f=!0x1;return this[_0x303f53(0x13a)](_0x2e75d0,_0x189ab0)&&(_0x57629f=!0x0),this[_0x303f53(0x176)](_0x2e75d0,_0x189ab0)&&(_0x57629f=!0x0),this[_0x303f53(0x193)](_0x2e75d0,_0x189ab0)&&(_0x57629f=!0x0),this[_0x303f53(0x18f)](_0x2e75d0)&&(_0x57629f=!0x0),this[_0x303f53(0x15b)](_0x2e75d0)&&(_0x57629f=!0x0),this[_0x303f53(0x162)](_0x2e75d0)&&(_0x57629f=!0x0),_0x57629f;}),this[_0x5562cb(0x149)](_0x21d8fb[_0x5562cb(0x175)],_0x5562cb(0x173),()=>{const _0xab289d=_0x5562cb;_0x21d8fb[_0xab289d(0x16c)]({'isUndoable':!0x1},_0x5e8f04=>{const _0xbced16=_0xab289d;this[_0xbced16(0x177)](_0x5e8f04);});},{'priority':_0x5562cb(0x192)}),this[_0x5562cb(0x149)](_0x5cdf23,_0x5562cb(0x146),()=>{const _0x3219c6=_0x5562cb;this[_0x3219c6(0x13b)]=[],this[_0x3219c6(0x166)][_0x3219c6(0x13e)](),this[_0x3219c6(0x169)][_0x3219c6(0x13e)](),this[_0x3219c6(0x17d)][_0x3219c6(0x13e)]();},{'priority':_0x5562cb(0x14c)});}[_0xdfde80(0x191)](){const _0x2fcab8=_0xdfde80;return this[_0x2fcab8(0x150)];}[_0xdfde80(0x130)](_0x45b1c2){const _0x2447e5=_0xdfde80;return this[_0x2447e5(0x13b)][_0x2447e5(0x160)](_0x21af85=>_0x21af85['id']===_0x45b1c2)||null;}[_0xdfde80(0x188)](){const _0x445114=_0xdfde80;return Array[_0x445114(0x14d)](this[_0x445114(0x13b)]);}[_0xdfde80(0x17c)](){const _0x185b40=_0xdfde80;return this[_0x185b40(0x183)];}[_0xdfde80(0x154)](_0xb82a12){const _0x1f2d1e=_0xdfde80;this[_0x1f2d1e(0x183)]=_0xb82a12;}[_0xdfde80(0x15d)](_0x226f32,_0x194426=0x0){const _0x5e1925=_0xdfde80;let _0x3d0f88=!0x1;for(let _0x521411=_0x194426;_0x521411<this[_0x5e1925(0x13b)][_0x5e1925(0x13f)];_0x521411++)this[_0x5e1925(0x186)](_0x226f32,_0x521411)&&(_0x3d0f88=!0x0);return _0x3d0f88;}[_0xdfde80(0x170)](_0x547955,_0x2ccdda){const _0x29fa6b=_0xdfde80,_0x3842a0=_0x547955[_0x29fa6b(0x135)](_0x29fa6b(0x182),{});return _0x547955[_0x29fa6b(0x18c)](_0x3842a0,_0x2ccdda),this[_0x29fa6b(0x150)]=_0x3842a0,_0x3842a0;}[_0xdfde80(0x177)](_0x4406d0){const _0xeefd12=_0xdfde80;if(!this[_0xeefd12(0x13b)][_0xeefd12(0x13f)]||this[_0xeefd12(0x150)])return;const _0x56c43b=this[_0xeefd12(0x13b)][0x0][_0xeefd12(0x181)][_0xeefd12(0x161)],_0x2884e5=this[_0xeefd12(0x170)](_0x4406d0,_0x56c43b);for(const _0x2e5e6a of this[_0xeefd12(0x13b)])_0x2e5e6a[_0xeefd12(0x148)][_0xeefd12(0x18e)]||_0x4406d0[_0xeefd12(0x14b)](_0x2e5e6a[_0xeefd12(0x148)],_0x2884e5,_0xeefd12(0x18d));this[_0xeefd12(0x15d)](_0x4406d0);}[_0xdfde80(0x13a)](_0x5cf100,_0x1c61d1){const _0x292a5d=_0xdfde80;let _0x467e87=!0x1;const {inserted:_0x3049bd,removed:_0xbd1cc9,moved:_0x506179}=this[_0x292a5d(0x166)][_0x292a5d(0x147)](_0x1c61d1);if(_0x506179[_0x292a5d(0x13f)]&&(this[_0x292a5d(0x150)]=_0x506179[0x0]),_0x3049bd[_0x292a5d(0x13f)]){if(_0x3049bd[_0x292a5d(0x13f)]>0x1||this[_0x292a5d(0x150)]&&_0x3049bd[_0x292a5d(0x179)](_0x3e41a7=>_0x3e41a7!==this[_0x292a5d(0x150)])){const _0x5c8a80=_0x5cf100[_0x292a5d(0x135)](_0x292a5d(0x182),{}),_0xe4497b=[];this[_0x292a5d(0x150)]&&_0xe4497b[_0x292a5d(0x171)](this[_0x292a5d(0x150)]),_0xe4497b[_0x292a5d(0x171)](..._0x3049bd),_0x5cf100[_0x292a5d(0x14b)](_0x5c8a80,_0xe4497b[0x0],_0x292a5d(0x172));for(const _0x481090 of _0xe4497b)_0x5cf100[_0x292a5d(0x12f)](_0x5cf100[_0x292a5d(0x12e)](_0x481090),_0x5cf100[_0x292a5d(0x156)](_0x5c8a80,_0x292a5d(0x18d))),_0x5cf100[_0x292a5d(0x165)](_0x481090);this[_0x292a5d(0x150)]=_0x5c8a80,this[_0x292a5d(0x15d)](_0x5cf100),_0x467e87=!0x0;}else this[_0x292a5d(0x150)]=_0x3049bd[0x0];}if(_0xbd1cc9[_0x292a5d(0x13f)]&&_0x292a5d(0x138)===this[_0x292a5d(0x150)]?.[_0x292a5d(0x161)][_0x292a5d(0x141)]){for(const _0x321ce2 of this[_0x292a5d(0x13b)])_0x5cf100[_0x292a5d(0x165)](_0x321ce2[_0x292a5d(0x181)]),_0x467e87=!0x0;this[_0x292a5d(0x13b)]=[],this[_0x292a5d(0x150)]=null;}return _0x467e87;}[_0xdfde80(0x176)](_0x4d1042,_0x4f71a6){const _0x263891=_0xdfde80;let _0xa66d5f=!0x1;const _0x465ef2=this[_0x263891(0x151)][_0x263891(0x144)][_0x263891(0x17b)](_0x263891(0x131)),{inserted:_0xf2fd7,moved:_0x2608b5}=this[_0x263891(0x17d)][_0x263891(0x147)](_0x4f71a6);for(const _0x19bec1 of[..._0x2608b5,..._0xf2fd7]){const _0x2b37f8=_0x19bec1[_0x263891(0x168)](_0x263891(0x178)),_0x2528c9=this[_0x263891(0x130)](_0x2b37f8);_0x2528c9&&(_0x2528c9[_0x263891(0x148)]=_0x19bec1),_(_0x4d1042,_0x465ef2,_0x19bec1)&&(_0xa66d5f=!0x0);}return _0xa66d5f;}[_0xdfde80(0x193)](_0x143076,_0x2103ef){const _0x1d6a15=_0xdfde80;let _0x5106c7=!0x1;const {removed:_0x2b1676,inserted:_0x84a429,moved:_0x46d394}=this[_0x1d6a15(0x169)][_0x1d6a15(0x147)](_0x2103ef);for(const _0x2edae6 of _0x2b1676)this[_0x1d6a15(0x18b)](_0x143076,_0x2edae6)&&(_0x5106c7=!0x0);for(const _0x3874ee of _0x84a429)this[_0x1d6a15(0x18a)](_0x143076,_0x3874ee)&&(_0x5106c7=!0x0);for(const _0x1dbd5e of _0x46d394)this[_0x1d6a15(0x16d)](_0x143076,_0x1dbd5e)&&(_0x5106c7=!0x0);return _0x5106c7;}[_0xdfde80(0x15b)](_0x2e6744){const _0x23d704=_0xdfde80;if(!this[_0x23d704(0x150)])return!0x1;let _0x5cb92a=!0x1;if(this[_0x23d704(0x150)][_0x23d704(0x16b)]!==this[_0x23d704(0x13b)][_0x23d704(0x13f)]){const _0x546a7c=[];for(const _0xf95305 of this[_0x23d704(0x150)][_0x23d704(0x189)]()){const _0x5c4dec=_0xf95305[_0x23d704(0x168)](_0x23d704(0x178));this[_0x23d704(0x130)](_0x5c4dec)||(_0x546a7c[_0x23d704(0x15f)](_0xf95305),_0x5cb92a=!0x0);}for(const _0x2d006d of _0x546a7c)_0x2e6744[_0x23d704(0x165)](_0x2d006d);}const _0x5fd6b7=new Set(),_0x28f496=[];for(const _0x4e3c1a of this[_0x23d704(0x150)][_0x23d704(0x189)]()){const _0x8bf343=_0x4e3c1a[_0x23d704(0x168)](_0x23d704(0x178));_0x5fd6b7[_0x23d704(0x145)](_0x8bf343)?(_0x28f496[_0x23d704(0x15f)](_0x4e3c1a),_0x5cb92a=!0x0):_0x5fd6b7[_0x23d704(0x164)](_0x8bf343);}for(const _0x40c168 of _0x28f496)_0x2e6744[_0x23d704(0x165)](_0x40c168);return this[_0x23d704(0x150)][_0x23d704(0x16b)]||(_0x2e6744[_0x23d704(0x165)](this[_0x23d704(0x150)]),this[_0x23d704(0x150)]=null,_0x5cb92a=!0x0),_0x5cb92a;}[_0xdfde80(0x18a)](_0x4ed6b3,_0x15d13e){const _0x1af8f7=_0xdfde80;if(this[_0x1af8f7(0x13b)][_0x1af8f7(0x160)](_0x4babc9=>_0x4babc9[_0x1af8f7(0x181)]===_0x15d13e))return!0x1;let _0x3ea63b=!0x1;const _0x2c58c1=_0x15d13e[_0x1af8f7(0x168)](_0x1af8f7(0x178)),_0x5e715b=this[_0x1af8f7(0x13b)][_0x1af8f7(0x184)](_0x125973=>_0x125973['id']===_0x2c58c1);-0x1!==_0x5e715b&&(_0x4ed6b3[_0x1af8f7(0x165)](this[_0x1af8f7(0x13b)][_0x5e715b][_0x1af8f7(0x181)]),this[_0x1af8f7(0x13b)][_0x1af8f7(0x133)](_0x5e715b,0x1),_0x3ea63b=!0x0);let _0x371350=this[_0x1af8f7(0x150)]?function(_0x629035,_0x2aae7b){const _0x1a5a7f=_0x1af8f7;for(const _0x2e1af4 of _0x629035[_0x1a5a7f(0x189)]())if(_0x2e1af4[_0x1a5a7f(0x168)](_0x1a5a7f(0x178))===_0x2aae7b)return _0x2e1af4;return null;}(this[_0x1af8f7(0x150)],_0x2c58c1):null;_0x371350||(_0x371350=_0x4ed6b3[_0x1af8f7(0x135)](_0x1af8f7(0x13c),{'footnoteId':_0x2c58c1}),this[_0x1af8f7(0x150)]&&(_0x4ed6b3[_0x1af8f7(0x14b)](_0x371350,this[_0x1af8f7(0x150)],_0x1af8f7(0x18d)),_0x3ea63b=!0x0));const _0xe678ec={'id':_0x2c58c1,'reference':_0x15d13e,'definition':_0x371350},_0x46c4b0=I(this[_0x1af8f7(0x151)][_0x1af8f7(0x137)],this[_0x1af8f7(0x13b)],_0x15d13e);this[_0x1af8f7(0x13b)][_0x1af8f7(0x133)](_0x46c4b0,0x0,_0xe678ec);let _0x4b4b39=_0x46c4b0;return-0x1!==_0x5e715b&&(_0x4b4b39=Math[_0x1af8f7(0x185)](_0x46c4b0,_0x5e715b)),this[_0x1af8f7(0x15d)](_0x4ed6b3,_0x4b4b39)&&(_0x3ea63b=!0x0),_0x3ea63b;}[_0xdfde80(0x18b)](_0x474409,_0x10512b){const _0x190269=_0xdfde80,_0x3926b2=this[_0x190269(0x13b)][_0x190269(0x184)](_0x1adcae=>_0x1adcae['id']===_0x10512b);if(-0x1===_0x3926b2)return!0x1;let _0x10ddfb=!0x1;const _0x5ef3dc=this[_0x190269(0x13b)][_0x3926b2];return _0x190269(0x138)!==_0x5ef3dc[_0x190269(0x148)][_0x190269(0x161)][_0x190269(0x141)]&&(_0x474409[_0x190269(0x165)](_0x5ef3dc[_0x190269(0x148)]),_0x10ddfb=!0x0),this[_0x190269(0x13b)][_0x190269(0x133)](_0x3926b2,0x1),this[_0x190269(0x15d)](_0x474409,_0x3926b2)&&(_0x10ddfb=!0x0),_0x10ddfb;}[_0xdfde80(0x16d)](_0x5a7b2c,_0x417187){const _0x1f1804=_0xdfde80,_0x314d37=_0x417187[_0x1f1804(0x168)](_0x1f1804(0x178)),_0x33b1b8=this[_0x1f1804(0x13b)][_0x1f1804(0x184)](_0x47058e=>_0x47058e['id']===_0x314d37),_0x5ec0e7=this[_0x1f1804(0x13b)][_0x33b1b8];let _0x3bdae4=!0x1;_0x5ec0e7[_0x1f1804(0x181)]=_0x417187,this[_0x1f1804(0x13b)][_0x1f1804(0x133)](_0x33b1b8,0x1);const _0x449f4c=I(this[_0x1f1804(0x151)][_0x1f1804(0x137)],this[_0x1f1804(0x13b)],_0x417187);return this[_0x1f1804(0x13b)][_0x1f1804(0x133)](_0x449f4c,0x0,_0x5ec0e7),this[_0x1f1804(0x15d)](_0x5a7b2c,Math[_0x1f1804(0x185)](_0x33b1b8,_0x449f4c))&&(_0x3bdae4=!0x0),_0x3bdae4;}[_0xdfde80(0x186)](_0x3e496e,_0xef5a95){const _0x2c802e=_0xdfde80;if(!this[_0x2c802e(0x150)])return!0x1;const _0x291454=this[_0x2c802e(0x13b)][_0xef5a95];let _0x232f3a;return _0x232f3a=this[_0x2c802e(0x183)]?this[_0x2c802e(0x183)]({'footnote':_0x291454,'container':this[_0x2c802e(0x150)],'digits':String(this[_0x2c802e(0x13b)][_0x2c802e(0x13f)])[_0x2c802e(0x13f)],'value':_0xef5a95+0x1}):String(_0xef5a95+0x1),_0x291454[_0x2c802e(0x181)][_0x2c802e(0x168)](_0x2c802e(0x157))!=_0x232f3a&&(_0x3e496e[_0x2c802e(0x158)](_0x2c802e(0x157),_0x232f3a,_0x291454[_0x2c802e(0x181)]),!0x0);}[_0xdfde80(0x162)](_0x2f33bc){const _0x96743e=_0xdfde80;if(!this[_0x96743e(0x150)]||this[_0x96743e(0x13b)][_0x96743e(0x13f)]<0x2)return!0x1;if(function(_0x4b9f4f,_0x3bc403){const _0x483264=_0x96743e;if(_0x4b9f4f[_0x483264(0x13f)]!==_0x3bc403[_0x483264(0x13f)])return!0x1;for(let _0x56e5bd=0x0;_0x56e5bd<_0x4b9f4f[_0x483264(0x13f)];_0x56e5bd++)if(_0x4b9f4f[_0x56e5bd]!==_0x3bc403[_0x56e5bd])return!0x1;return!0x0;}(this[_0x96743e(0x13b)][_0x96743e(0x159)](_0xbc22ef=>_0xbc22ef['id']),Array[_0x96743e(0x14d)](this[_0x96743e(0x150)][_0x96743e(0x189)]())[_0x96743e(0x159)](_0x293db9=>_0x293db9[_0x96743e(0x168)](_0x96743e(0x178)))))return!0x1;let _0x48b6ca=!0x1;for(let _0x971615=0x0;_0x971615<this[_0x96743e(0x13b)][_0x96743e(0x13f)];_0x971615++){const _0x597681=this[_0x96743e(0x13b)][_0x971615],_0x220d35=_0x2f33bc[_0x96743e(0x143)](_0x597681[_0x96743e(0x148)]),_0x4cbfb4=_0x2f33bc[_0x96743e(0x156)](this[_0x96743e(0x150)],_0x971615);_0x220d35[_0x96743e(0x174)](_0x4cbfb4)||(_0x2f33bc[_0x96743e(0x12f)](_0x2f33bc[_0x96743e(0x15a)](_0x597681[_0x96743e(0x148)]),_0x4cbfb4),_0x48b6ca=!0x0);}return _0x48b6ca;}[_0xdfde80(0x18f)](_0x1a36e1){const _0x248683=_0xdfde80;if(!this[_0x248683(0x13b)][_0x248683(0x13f)])return!0x1;const {model:_0xe37307}=this[_0x248683(0x151)];let _0x5b05c1=!0x1;for(let _0x5ba016=0x0;_0x5ba016<this[_0x248683(0x13b)][_0x248683(0x13f)]-0x1;_0x5ba016++){const _0xe4bfc4=this[_0x248683(0x13b)][_0x5ba016],_0x5a0449=this[_0x248683(0x13b)][_0x5ba016+0x1],_0x44a35f=_0xe37307[_0x248683(0x143)](_0xe4bfc4[_0x248683(0x181)]),_0x301ee7=_0xe37307[_0x248683(0x143)](_0x5a0449[_0x248683(0x181)]);_0x248683(0x14f)===_0x44a35f[_0x248683(0x17f)](_0x301ee7)&&(this[_0x248683(0x16d)](_0x1a36e1,_0xe4bfc4[_0x248683(0x181)]),_0x5ba016=-0x1,_0x5b05c1=!0x0);}return _0x5b05c1;}}function _0x3565(_0x13bf21,_0xb2f1bd){const _0x4f84b7=_0x4f84();return _0x3565=function(_0x3565b2,_0x894932){_0x3565b2=_0x3565b2-0x12e;let _0x23a667=_0x4f84b7[_0x3565b2];return _0x23a667;},_0x3565(_0x13bf21,_0xb2f1bd);}function _(_0x1cb5b0,_0x16c733,_0x2dcfd8){const _0x931511=_0xdfde80;if(_0x2dcfd8[_0x931511(0x16b)])return!0x1;const _0x2a8b75=_0x16c733?_0x931511(0x17a):_0x931511(0x190);return _0x1cb5b0[_0x931511(0x14b)](_0x1cb5b0[_0x931511(0x135)](_0x2a8b75),_0x2dcfd8),!0x0;}function I(_0x3ab30,_0x2d5d70,_0x5efcef){const _0x5f59a4=_0xdfde80;if(0x0===_0x2d5d70[_0x5f59a4(0x13f)])return 0x0;const _0x8c9cf=_0x3ab30[_0x5f59a4(0x143)](_0x5efcef);for(let _0x4c84e5=0x0;_0x4c84e5<_0x2d5d70[_0x5f59a4(0x13f)];_0x4c84e5++){const _0x62d75=_0x2d5d70[_0x4c84e5],_0x295b32=_0x3ab30[_0x5f59a4(0x143)](_0x62d75[_0x5f59a4(0x181)]);if(_0x5f59a4(0x172)===_0x8c9cf[_0x5f59a4(0x17f)](_0x295b32))return _0x4c84e5;}const _0x13b26f=_0x5efcef[_0x5f59a4(0x161)];let _0x6a95ed=-0x1;for(let _0x4d4ab3=_0x2d5d70[_0x5f59a4(0x13f)]-0x1;_0x4d4ab3>=0x0;_0x4d4ab3--)if(_0x2d5d70[_0x4d4ab3][_0x5f59a4(0x181)][_0x5f59a4(0x161)]===_0x13b26f){_0x6a95ed=_0x4d4ab3;break;}if(-0x1!==_0x6a95ed)return _0x6a95ed+0x1;const _0x509d83=_0x3ab30[_0x5f59a4(0x175)][_0x5f59a4(0x14a)](),_0x9a64c=_0x509d83[_0x5f59a4(0x163)](_0x13b26f[_0x5f59a4(0x141)]),_0x42de3f=_0x509d83[_0x9a64c+0x1];if(_0x42de3f){for(let _0x55c9e9=0x0;_0x55c9e9<_0x2d5d70[_0x5f59a4(0x13f)];_0x55c9e9++)if(_0x2d5d70[_0x55c9e9][_0x5f59a4(0x181)][_0x5f59a4(0x161)][_0x5f59a4(0x141)]===_0x42de3f)return _0x55c9e9;}return _0x2d5d70[_0x5f59a4(0x13f)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x2d71af,MenuBarMenuListItemButtonView as _0x18bb10}from'ckeditor5/src/ui.js';import{Plugin as _0x4ca257}from'ckeditor5/src/core.js';import{IconFootnote as _0x512a31}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x4ca257{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5e6123}=this,{componentFactory:_0xe7ab32}=_0x5e6123['ui'];_0xe7ab32['add']('insertFootnote',x(_0x5e6123,_0x2d71af)),_0xe7ab32['add']('menuBar:insertFootnote',x(_0x5e6123,_0x18bb10)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1e273c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x19c283;for(const _0x426bfc in _0x1e273c){const _0x1dc554=_0x426bfc,_0x6dcb08=_0x1e273c[_0x1dc554];if('footnotesLicenseKeyValid'==_0x6dcb08||'footnotesLicenseKeyInvalid'==_0x6dcb08||'footnotesLicenseKeyExpired'==_0x6dcb08||'footnotesLicenseKeyDomainLimit'==_0x6dcb08||'footnotesLicenseKeyNotAllowed'==_0x6dcb08||'footnotesLicenseKeyEvaluationLimit'==_0x6dcb08||'footnotesLicenseKeyTrialLimit'==_0x6dcb08||'footnotesLicenseKeyUsageLimit'==_0x6dcb08){delete _0x1e273c[_0x1dc554],_0x19c283=_0x6dcb08,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x19c283&&_0x1e273c['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x19c283&&_0x1e273c['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x19c283&&_0x1e273c['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x19c283&&_0x1e273c['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x19c283&&_0x1e273c['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x19c283&&_0x1e273c['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x19c283&&_0x1e273c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x5487c2,_0x405391){const _0x1f6dde=_0x5487c2['commands']['get']('insertFootnote');return _0x3f48a8=>{const {t:t}=_0x3f48a8,_0x1198df=new _0x405391(_0x3f48a8),_0x46379c=_0x1198df instanceof _0x18bb10;return _0x1198df['bind']('isEnabled')['to'](_0x1f6dde,'isEnabled'),_0x1198df['set']({'label':t(_0x46379c?'Footnote':'Insert\x20footnote'),'icon':_0x512a31,'tooltip':!0x0}),_0x1198df['on']('execute',()=>{_0x1f6dde['execute'](),_0x5487c2['editing']['view']['focus']();}),_0x1198df;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x12c15f,_0x59d09d){var _0x4ae256=_0x4489,_0x5594f9=_0x12c15f();while(!![]){try{var _0x31f18c=-parseInt(_0x4ae256(0xe2))/0x1+-parseInt(_0x4ae256(0xe0))/0x2*(parseInt(_0x4ae256(0xe1))/0x3)+-parseInt(_0x4ae256(0xe6))/0x4+parseInt(_0x4ae256(0xdf))/0x5*(-parseInt(_0x4ae256(0xe5))/0x6)+parseInt(_0x4ae256(0xe7))/0x7+-parseInt(_0x4ae256(0xe4))/0x8+-parseInt(_0x4ae256(0xe3))/0x9*(-parseInt(_0x4ae256(0xe8))/0xa);if(_0x31f18c===_0x59d09d)break;else _0x5594f9['push'](_0x5594f9['shift']());}catch(_0x184710){_0x5594f9['push'](_0x5594f9['shift']());}}}(_0x4ffe,0xa275e));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';function _0x4ffe(){var _0x36055d=['33840KODsMc','865310bRsXor','258kWZupJ','4593YCwvzb','305291SoYQCG','3987dkmGXf','1139512jfNCVm','36WZGZvm','313676SqZhkx','6498422etevIT'];_0x4ffe=function(){return _0x36055d;};return _0x4ffe();}export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';function _0x4489(_0x15a5d2,_0x52e7a7){var _0x4ffe09=_0x4ffe();return _0x4489=function(_0x4489bb,_0x3c8cbf){_0x4489bb=_0x4489bb-0xdf;var _0x197e8e=_0x4ffe09[_0x4489bb];return _0x197e8e;},_0x4489(_0x15a5d2,_0x52e7a7);}export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4611fc=_0x4be8;(function(_0x196573,_0x4ae320){const _0x42c3d5=_0x4be8,_0x543b70=_0x196573();while(!![]){try{const _0x1252e6=parseInt(_0x42c3d5(0x1e7))/0x1*(parseInt(_0x42c3d5(0x1e6))/0x2)+-parseInt(_0x42c3d5(0x1f2))/0x3+-parseInt(_0x42c3d5(0x1e4))/0x4+-parseInt(_0x42c3d5(0x1d4))/0x5+-parseInt(_0x42c3d5(0x1ec))/0x6+parseInt(_0x42c3d5(0x1f3))/0x7*(parseInt(_0x42c3d5(0x1cd))/0x8)+parseInt(_0x42c3d5(0x1dc))/0x9;if(_0x1252e6===_0x4ae320)break;else _0x543b70['push'](_0x543b70['shift']());}catch(_0x247448){_0x543b70['push'](_0x543b70['shift']());}}}(_0x5d1f,0x4671e));function _0x4be8(_0x3524b4,_0x4f8b47){const _0x5d1ff5=_0x5d1f();return _0x4be8=function(_0x4be8ef,_0x102db4){_0x4be8ef=_0x4be8ef-0x1cb;let _0x1d92c5=_0x5d1ff5[_0x4be8ef];return _0x1d92c5;},_0x4be8(_0x3524b4,_0x4f8b47);}export class ModelElementTracker{[_0x4611fc(0x1ef)];[_0x4611fc(0x1e8)];[_0x4611fc(0x1d2)];[_0x4611fc(0x1e0)]=new Map();constructor(_0x17cc06,_0x4dd152){const _0x4d4156=_0x4611fc;this[_0x4d4156(0x1ef)]=_0x17cc06,this[_0x4d4156(0x1e8)]=_0x4dd152[_0x4d4156(0x1e3)],this[_0x4d4156(0x1d2)]=_0x4dd152[_0x4d4156(0x1d5)];}[_0x4611fc(0x1da)](){const _0x1f8fea=_0x4611fc;this[_0x1f8fea(0x1e0)][_0x1f8fea(0x1ea)]();}[_0x4611fc(0x1f1)](_0x436964){const _0x466d8a=_0x4611fc,_0x50ef63=new Set(),_0x33bb36=new Map();for(const _0x26c3ab of _0x436964){if(_0x466d8a(0x1dd)===_0x26c3ab[_0x466d8a(0x1f0)]&&_0x466d8a(0x1e9)!==_0x26c3ab[_0x466d8a(0x1d6)]&&_0x26c3ab[_0x466d8a(0x1ee)][_0x466d8a(0x1d8)]){const _0x127cfb=this[_0x466d8a(0x1ef)][_0x466d8a(0x1d3)](_0x26c3ab[_0x466d8a(0x1ee)][_0x466d8a(0x1d8)]);for(const _0x7b034e of _0x127cfb[_0x466d8a(0x1f4)]()){if(!_0x7b034e['is'](_0x466d8a(0x1ed),this[_0x466d8a(0x1e8)]))continue;const _0x470139=this[_0x466d8a(0x1d2)](_0x7b034e);_0x33bb36[_0x466d8a(0x1d7)](_0x470139)||_0x33bb36[_0x466d8a(0x1e5)](_0x470139,[]),_0x33bb36[_0x466d8a(0x1de)](_0x470139)[_0x466d8a(0x1d1)](_0x7b034e);}}if(_0x466d8a(0x1df)===_0x26c3ab[_0x466d8a(0x1f0)]&&_0x26c3ab[_0x466d8a(0x1d6)]===this[_0x466d8a(0x1e8)]){const _0x29ec70=this[_0x466d8a(0x1d2)]({'getAttribute':_0x14f826=>_0x26c3ab[_0x466d8a(0x1ce)][_0x466d8a(0x1de)](_0x14f826)});_0x50ef63[_0x466d8a(0x1cc)](_0x29ec70);}}for(const [_0xda1df1,_0x33296f]of this[_0x466d8a(0x1e0)])_0x466d8a(0x1e2)===_0x33296f[_0x466d8a(0x1eb)][_0x466d8a(0x1f5)]&&_0x50ef63[_0x466d8a(0x1cc)](_0xda1df1);for(const _0x3d0f92 of _0x50ef63)this[_0x466d8a(0x1e0)][_0x466d8a(0x1d0)](_0x3d0f92);for(const [_0x12253f,_0x138d0b]of _0x33bb36)this[_0x466d8a(0x1e0)][_0x466d8a(0x1e5)](_0x12253f,_0x138d0b[_0x138d0b[_0x466d8a(0x1db)]-0x1]);const _0x98e144=new Set();for(const [_0x323b48,_0x1755e6]of _0x33bb36)_0x50ef63[_0x466d8a(0x1d7)](_0x323b48)&&(_0x98e144[_0x466d8a(0x1cc)](_0x1755e6[0x0]),_0x1755e6[_0x466d8a(0x1db)]>0x1?_0x33bb36[_0x466d8a(0x1e5)](_0x323b48,_0x1755e6[_0x466d8a(0x1d9)](0x1)):_0x33bb36[_0x466d8a(0x1d0)](_0x323b48),_0x50ef63[_0x466d8a(0x1d0)](_0x323b48));return{'removed':Array[_0x466d8a(0x1cf)](_0x50ef63),'inserted':Array[_0x466d8a(0x1cf)](_0x33bb36[_0x466d8a(0x1e1)]())[_0x466d8a(0x1cb)](),'moved':Array[_0x466d8a(0x1cf)](_0x98e144)};}}function _0x5d1f(){const _0xbf6303=['type','getChanges','1598928PKKeZG','749VhMBGy','getItems','rootName','flat','add','25744DKsHYw','attributes','from','delete','push','_getElementKey','createRangeOn','949325nOddIc','getElementKey','name','has','nodeAfter','slice','reset','length','9244584njBLAq','insert','get','remove','_trackedElements','values','$graveyard','elementName','1228932PZEfeS','set','9722ZEJxhB','45ImGSAL','_elementName','$text','clear','root','1629786GQhmnW','element','position','_model'];_0x5d1f=function(){return _0xbf6303;};return _0x5d1f();}
|