@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251124.0 → 0.0.0-nightly-20251125.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/footnotes.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/commands/insertfootnotecommand.js +1 -1
- package/src/footnotes.js +1 -1
- package/src/footnotesclipboard.js +1 -1
- package/src/footnotesediting.js +1 -1
- package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
- package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
- package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
- package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
- package/src/footnotesproperties/footnotespropertiesui.js +1 -1
- package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
- package/src/footnotesproperties.js +1 -1
- package/src/footnotestracker.js +1 -1
- package/src/footnotesui.js +1 -1
- package/src/index.js +1 -1
- package/src/modelelementtracker.js +1 -1
package/src/footnotesediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0xfb9555}from'ckeditor5/src/core.js';import{isWidget as _0x48abf2,toWidget as _0x19eb74,toWidgetEditable as _0x56fcc8}from'ckeditor5/src/widget.js';import{uid as _0x681214}from'ckeditor5/src/utils.js';import{PointerObserver as _0x477948,ClickObserver as _0x3f444f}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x1b1a7e}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x5d42e2}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0xfb9555{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x1b1a7e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xbc0313}=this;_0xbc0313['config']['define']('footnotes.multiBlock',!0x0),_0xbc0313['commands']['add']('insertFootnote',new _0x5d42e2(_0xbc0313)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x51cd3c){const _0x18c6da=_0x2aa80b([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]),_0x22e637=0x47a28506,_0xdf4ac5=0x47a5ff06^_0x22e637,_0x3d25f9=window[_0x2aa80b([0x44,0x61,0x74,0x65])][_0x2aa80b([0x6e,0x6f,0x77])](),_0x13526c=_0x51cd3c[_0x2aa80b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b8993=new window[(_0x2aa80b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdca942=>{_0x13526c[_0x2aa80b([0x6f,0x6e,0x63,0x65])](_0x2aa80b([0x72,0x65,0x61,0x64,0x79]),_0xdca942);}),_0x5030cd={[_0x2aa80b([0x6b,0x74,0x79])]:_0x2aa80b([0x45,0x43]),[_0x2aa80b([0x75,0x73,0x65])]:_0x2aa80b([0x73,0x69,0x67]),[_0x2aa80b([0x63,0x72,0x76])]:_0x2aa80b([0x50,0x2d,0x32,0x35,0x36]),[_0x2aa80b([0x78])]:_0x2aa80b([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]),[_0x2aa80b([0x79])]:_0x2aa80b([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]),[_0x2aa80b([0x61,0x6c,0x67])]:_0x2aa80b([0x45,0x53,0x32,0x35,0x36])},_0x1b79ff=_0x13526c[_0x2aa80b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2aa80b([0x67,0x65,0x74])](_0x2aa80b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x35bf7c(){let _0x11bf5f,_0x180141=null,_0x259078=null;try{if(_0x1b79ff==_0x2aa80b([0x47,0x50,0x4c]))return _0x2aa80b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x11bf5f=_0x49334e(),!_0x11bf5f)return _0x2aa80b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x11bf5f[_0x2aa80b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x259078=_0xb0f299(_0x11bf5f[_0x2aa80b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x11bf5f[_0x2aa80b([0x6a,0x74,0x69])])),await _0x35b4d8()?_0x35169f()?_0x342ff1()?_0x2aa80b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x12536b()?(_0x11bf5f[_0x2aa80b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2aa80b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x180141=_0x3cb738(_0x2aa80b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x11bf5f[_0x2aa80b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2aa80b([0x74,0x72,0x69,0x61,0x6c])&&(_0x180141=_0x3cb738(_0x2aa80b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x11be41()):_0x2aa80b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2aa80b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2aa80b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2aa80b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x342ff1(){const _0x4a7dbb=[_0x2aa80b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2aa80b([0x74,0x72,0x69,0x61,0x6c])][_0x2aa80b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11bf5f[_0x2aa80b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3d25f9/0x3e8:0xe10*_0xdf4ac5;return _0x11bf5f[_0x2aa80b([0x65,0x78,0x70])]<_0x4a7dbb;}function _0x35169f(){const _0x5eeccb=_0x11bf5f[_0x2aa80b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5eeccb&&(!!_0x5eeccb[_0x2aa80b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aa80b([0x2a]))||!!_0x5eeccb[_0x2aa80b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aa80b([0x46,0x4f,0x4f])));}function _0x12536b(){const _0xfec048=_0x11bf5f[_0x2aa80b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xfec048||0x0==_0xfec048[_0x2aa80b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x30c639}=new URL(window[_0x2aa80b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xfec048[_0x2aa80b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30c639))return!0x0;const _0xc40cbf=_0x30c639[_0x2aa80b([0x73,0x70,0x6c,0x69,0x74])](_0x2aa80b([0x2e]));return _0xfec048[_0x2aa80b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x207c94=>_0x207c94[_0x2aa80b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aa80b([0x2a])))[_0x2aa80b([0x6d,0x61,0x70])](_0xac8214=>_0xac8214[_0x2aa80b([0x73,0x70,0x6c,0x69,0x74])](_0x2aa80b([0x2e])))[_0x2aa80b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34a6da=>_0x34a6da[_0x2aa80b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xc40cbf[_0x2aa80b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2aa80b([0x6d,0x61,0x70])](_0x2a5829=>Array(_0xc40cbf[_0x2aa80b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2a5829[_0x2aa80b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2aa80b([0x66,0x69,0x6c,0x6c])](_0x2a5829[0x0]===_0x2aa80b([0x2a])?_0x2aa80b([0x2a]):'')[_0x2aa80b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2a5829))[_0x2aa80b([0x73,0x6f,0x6d,0x65])](_0x5f129e=>_0xc40cbf[_0x2aa80b([0x65,0x76,0x65,0x72,0x79])]((_0x3b2ce2,_0x47c62d)=>_0x5f129e[_0x47c62d]===_0x3b2ce2||_0x5f129e[_0x47c62d]===_0x2aa80b([0x2a])));}function _0x11be41(){return _0x180141&&_0x259078?new window[(_0x2aa80b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52c797,_0x2f2304)=>{_0x180141[_0x2aa80b([0x74,0x68,0x65,0x6e])](_0x52c797,_0x2f2304),_0x259078[_0x2aa80b([0x74,0x68,0x65,0x6e])](_0x502fe8=>{_0x502fe8!=_0x2aa80b([0x56,0x61,0x6c,0x69,0x64])&&_0x52c797(_0x502fe8);},_0x2f2304);}):_0x180141||_0x259078||_0x2aa80b([0x56,0x61,0x6c,0x69,0x64]);}}function _0xb0f299(_0x139ed2,_0x59c104){return new window[(_0x2aa80b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4696c2=>{if(_0x2e8bad())return _0x4696c2(_0x2aa80b([0x56,0x61,0x6c,0x69,0x64]));_0x28e77d(),_0x13526c[_0x2aa80b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2aa80b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xaae3b6=!0x1;const _0x19d8df=_0x681214();function _0x466219(_0xd6e0d8){return!!_0xd6e0d8&&(typeof _0xd6e0d8===_0x2aa80b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xd6e0d8===_0x2aa80b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xd6e0d8[_0x2aa80b([0x74,0x68,0x65,0x6e])]===_0x2aa80b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xd6e0d8[_0x2aa80b([0x63,0x61,0x74,0x63,0x68])]===_0x2aa80b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x353045(_0x43f758){_0x21ce47(_0x43f758)[_0x2aa80b([0x74,0x68,0x65,0x6e])](_0x5c819e=>{if(!_0x5c819e||_0x5c819e[_0x2aa80b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2aa80b([0x6f,0x6b]))return _0x2aa80b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xf2abd1(_0x207d2b(_0x19d8df+_0x59c104))!=_0x5c819e[_0x2aa80b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2aa80b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2aa80b([0x56,0x61,0x6c,0x69,0x64]);})[_0x2aa80b([0x74,0x68,0x65,0x6e])](_0x4ca0fb=>(_0x44cbab(),_0x4ca0fb),()=>{const _0x8cff32=_0x1f9633();return null==_0x8cff32?(_0x44cbab(),_0x2aa80b([0x56,0x61,0x6c,0x69,0x64])):_0x2aa80b(_0x3d25f9-_0x8cff32>(0x63ae0106^_0x22e637)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2aa80b([0x74,0x68,0x65,0x6e])](_0x4696c2)[_0x2aa80b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4696c2(_0x2aa80b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x20cbe3=0x47946b86^_0x22e637;function _0x44cbab(){const _0x4eb15e=_0x2aa80b([0x6c,0x6c,0x63,0x74,0x2d])+_0xf2abd1(_0x207d2b(_0x139ed2)),_0x225142=_0x46dd15(_0xf2abd1(window[_0x2aa80b([0x4d,0x61,0x74,0x68])][_0x2aa80b([0x63,0x65,0x69,0x6c])](_0x3d25f9/_0x20cbe3)));window[_0x2aa80b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2aa80b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4eb15e,_0x225142);}function _0x1f9633(){const _0x15724f=_0x2aa80b([0x6c,0x6c,0x63,0x74,0x2d])+_0xf2abd1(_0x207d2b(_0x139ed2)),_0x1c8187=window[_0x2aa80b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2aa80b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15724f);return _0x1c8187?window[_0x2aa80b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46dd15(_0x1c8187),0x10)*_0x20cbe3:null;}function _0x21ce47(_0x3f660a){return new window[(_0x2aa80b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cb133,_0x494f12)=>{_0x3f660a[_0x2aa80b([0x74,0x68,0x65,0x6e])](_0x2cb133,_0x494f12),window[_0x2aa80b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x494f12,0x47a351c6^_0x22e637);});}}_0x13526c[_0x2aa80b([0x6f,0x6e])](_0x2aa80b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4e28b9,_0x3ade6c)=>{if(_0x3ade6c[0x0]!=_0x139ed2)return _0x4696c2(_0x2aa80b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3ade6c[0x1]={..._0x3ade6c[0x1],[_0x2aa80b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x19d8df};},{[_0x2aa80b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2aa80b([0x68,0x69,0x67,0x68])}),_0x13526c[_0x2aa80b([0x6f,0x6e])](_0x2aa80b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x361ab3=>{_0x466219(_0x361ab3[_0x2aa80b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xaae3b6=!0x0,_0x353045(_0x361ab3[_0x2aa80b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2aa80b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2aa80b([0x6c,0x6f,0x77])}),_0x2b8993[_0x2aa80b([0x74,0x68,0x65,0x6e])](()=>{_0xaae3b6||_0x4696c2(_0x2aa80b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2e8bad(){return _0x13526c[_0x2aa80b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2aa80b([0x76,0x69,0x65,0x77])][_0x2aa80b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2aa80b([0x61,0x75,0x74,0x6f]);}function _0x28e77d(){_0x13526c[_0x2aa80b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2aa80b([0x76,0x69,0x65,0x77])][_0x2aa80b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2aa80b([0x61,0x75,0x74,0x6f]);}}function _0x3cb738(_0x3792f4){const _0x289f28=[new window[(_0x2aa80b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34524b=>setTimeout(_0x34524b,0x47abbbca^_0x22e637)),_0x2b8993[_0x2aa80b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2aa80b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cdd91=>{let _0x208929=0x0;_0x13526c[_0x2aa80b([0x6d,0x6f,0x64,0x65,0x6c])][_0x2aa80b([0x6f,0x6e])](_0x2aa80b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b368f,_0x274374)=>{_0x274374[0x0][_0x2aa80b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x208929++,_0x208929==(0x47a284fe^_0x22e637)&&(_0x3cdd91(),_0x5b368f[_0x2aa80b([0x6f,0x66,0x66])]());});}))];return window[_0x2aa80b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2aa80b([0x72,0x61,0x63,0x65])](_0x289f28)[_0x2aa80b([0x74,0x68,0x65,0x6e])](()=>_0x3792f4);}async function _0x531464(){await _0x2b8993,_0x13526c[_0x2aa80b([0x6d,0x6f,0x64,0x65,0x6c])][_0x2aa80b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x38795a,_0x13526c[_0x2aa80b([0x6d,0x6f,0x64,0x65,0x6c])][_0x2aa80b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x38795a,_0x13526c[_0x2aa80b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2aa80b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x8cb778(_0x4e3c35){const _0x4f7471=_0x2eb2a7();_0x13526c[_0x4f7471]=_0x2aa80b([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4e3c35,_0x4e3c35!=_0x2aa80b([0x56,0x61,0x6c,0x69,0x64])&&_0x531464();}function _0x2eb2a7(){const _0x5a5b43=window[_0x2aa80b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2aa80b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2aa80b([0x6e,0x6f,0x77])]())[_0x2aa80b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2aa80b([0x2e]),'');let _0x5600ef=_0x2aa80b([0x75]);for(let _0x4def0d=0x0;_0x4def0d<_0x5a5b43[_0x2aa80b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4def0d+=0x2){let _0x3be730=window[_0x2aa80b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a5b43[_0x2aa80b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4def0d,_0x4def0d+0x2));_0x3be730>=_0x18c6da[_0x2aa80b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3be730-=_0x18c6da[_0x2aa80b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5600ef+=_0x18c6da[_0x3be730];}return _0x5600ef;}function _0x49334e(){const _0x360070=_0x1b79ff[_0x2aa80b([0x73,0x70,0x6c,0x69,0x74])](_0x2aa80b([0x2e]));if(0x3!=_0x360070[_0x2aa80b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x56aeb4(_0x360070[0x1]);function _0x56aeb4(_0x5cfdf3){const _0x2a6d49=_0x25360a(_0x5cfdf3);return _0x2a6d49&&_0x516d41()?_0x2a6d49:null;function _0x516d41(){const _0x1332a4=_0x2a6d49[_0x2aa80b([0x6a,0x74,0x69])],_0x41a955=window[_0x2aa80b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1332a4[_0x2aa80b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1332a4[_0x2aa80b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3ece1b={..._0x2a6d49,[_0x2aa80b([0x6a,0x74,0x69])]:_0x1332a4[_0x2aa80b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1332a4[_0x2aa80b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3ece1b[_0x2aa80b([0x76,0x63])],_0x207d2b(_0x3ece1b)==_0x41a955;}}}async function _0x35b4d8(){let _0xed83cd=!0x0;try{const _0x451d31=_0x1b79ff[_0x2aa80b([0x73,0x70,0x6c,0x69,0x74])](_0x2aa80b([0x2e])),[_0x2f23d1,_0x3941be,_0x3395e8]=_0x451d31;return _0x131b07(_0x2f23d1),await _0x3595e9(_0x2f23d1,_0x3941be,_0x3395e8),_0xed83cd;}catch{return!0x1;}function _0x131b07(_0x25be2f){const _0x59acfa=_0x25360a(_0x25be2f);_0x59acfa&&_0x59acfa[_0x2aa80b([0x61,0x6c,0x67])]==_0x2aa80b([0x45,0x53,0x32,0x35,0x36])||(_0xed83cd=!0x1);}async function _0x3595e9(_0x5b603e,_0x45b647,_0x56aa2c){const _0x210892=window[_0x2aa80b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2aa80b([0x66,0x72,0x6f,0x6d])](_0x56bdf3(_0x56aa2c),_0x5097d5=>_0x5097d5[_0x2aa80b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x29f933=new window[(_0x2aa80b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2aa80b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5b603e+_0x2aa80b([0x2e])+_0x45b647),_0x5712d6=window[_0x2aa80b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2aa80b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5712d6)return;const _0xdf6dec=await _0x5712d6[_0x2aa80b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2aa80b([0x6a,0x77,0x6b]),_0x5030cd,{[_0x2aa80b([0x6e,0x61,0x6d,0x65])]:_0x2aa80b([0x45,0x43,0x44,0x53,0x41]),[_0x2aa80b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2aa80b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2aa80b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5712d6[_0x2aa80b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2aa80b([0x6e,0x61,0x6d,0x65])]:_0x2aa80b([0x45,0x43,0x44,0x53,0x41]),[_0x2aa80b([0x68,0x61,0x73,0x68])]:{[_0x2aa80b([0x6e,0x61,0x6d,0x65])]:_0x2aa80b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xdf6dec,_0x210892,_0x29f933)||(_0xed83cd=!0x1);}}function _0x25360a(_0x4a3ffb){return _0x4a3ffb[_0x2aa80b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2aa80b([0x65,0x79]))?JSON[_0x2aa80b([0x70,0x61,0x72,0x73,0x65])](_0x56bdf3(_0x4a3ffb)):null;}function _0x56bdf3(_0x3d10da){return window[_0x2aa80b([0x61,0x74,0x6f,0x62])](_0x3d10da[_0x2aa80b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2aa80b([0x2b]))[_0x2aa80b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2aa80b([0x2f])));}function _0x207d2b(_0x15bdd9){let _0x5d479e=0x1505;function _0x56a103(_0x461223){for(let _0x4b35f2=0x0;_0x4b35f2<_0x461223[_0x2aa80b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b35f2++){const _0x238a4d=_0x461223[_0x2aa80b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4b35f2);_0x5d479e=(_0x5d479e<<0x5)+_0x5d479e+_0x238a4d,_0x5d479e&=_0x5d479e;}}function _0x2a749a(_0x45d23c){Array[_0x2aa80b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x45d23c)?_0x45d23c[_0x2aa80b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a749a):_0x45d23c&&typeof _0x45d23c==_0x2aa80b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2aa80b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x45d23c)[_0x2aa80b([0x73,0x6f,0x72,0x74])]()[_0x2aa80b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x200ded,_0x399c34])=>{_0x56a103(_0x200ded),_0x2a749a(_0x399c34);}):_0x56a103(window[_0x2aa80b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x45d23c));}return _0x2a749a(_0x15bdd9),_0x5d479e>>>0x0;}function _0xf2abd1(_0x237121){return _0x237121[_0x2aa80b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2aa80b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2aa80b([0x30]));}function _0x46dd15(_0xdd82a4){return _0xdd82a4[_0x2aa80b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2aa80b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2aa80b([0x6a,0x6f,0x69,0x6e])]('');}function _0x38795a(){}function _0x2aa80b(_0x51aa71){return _0x51aa71['map'](_0x2ad9fa=>String['fromCharCode'](_0x2ad9fa))['join']('');}_0x8cb778(await _0x35bf7c());}(this);}['_moveSelectionToFootnoteDefinition'](_0x10eb84){const {plugins:_0x41dc40,editing:_0x24f0a7,model:_0x1ca817}=this['editor'],_0x5569c5=_0x41dc40['get'](_0x1b1a7e)['getFootnote'](_0x10eb84);return!!_0x5569c5&&(_0x1ca817['change'](_0x2cc91b=>{_0x2cc91b['setSelection'](_0x2cc91b['createPositionAt'](_0x5569c5['definition'],'end'));}),_0x24f0a7['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4c3cfc){const {plugins:_0x2a6edf,editing:_0x292d2c,model:_0x2e85fb}=this['editor'],_0xd82f29=_0x2a6edf['get'](_0x1b1a7e)['getFootnote'](_0x4c3cfc);return!!_0xd82f29&&(_0x2e85fb['change'](_0x2fd1a4=>{_0x2fd1a4['setSelection'](_0xd82f29['reference'],'on');}),_0x292d2c['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x16cef7}=this['editor']['model'],_0x4755e0=this['editor']['config']['get']('footnotes.multiBlock');_0x16cef7['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x16cef7['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x16cef7['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4755e0?_0x16cef7['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x16cef7['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x16cef7['addChildCheck'](_0x5898fb=>{for(const _0x2b0597 of _0x5898fb)if('footnoteDefinition'===_0x2b0597['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x348f85}=this,{conversion:_0x3bca80,editing:_0x2ebf2f}=_0x348f85,{t:t}=_0x348f85['locale'];_0x3bca80['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x158471,{writer:_0x14141d,consumable:_0x56df33})=>{const _0x52be90=_0x158471['getChild'](0x0);if(!_0x52be90||!_0x52be90['is']('element','a'))return null;const _0x2db752=_0x52be90['getAttribute']('href')||'';if(!_0x2db752['startsWith']('#'))return null;const _0x419a8d=_0x2db752['replace'](/^#/,'');if(!_0x419a8d)return null;_0x56df33['consume'](_0x52be90,{'name':!0x0,'attributes':['href']});for(const {item:_0x2ca29b}of _0x2ebf2f['view']['createRangeIn'](_0x52be90))_0x2ca29b['is']('$textProxy')?_0x56df33['consume'](_0x2ca29b['textNode'],{'name':!0x0}):_0x2ca29b['is']('element')&&_0x56df33['consume'](_0x2ca29b,{'name':!0x0});return _0x14141d['createElement']('footnoteRef',{'footnoteId':_0x419a8d});}}),_0x3bca80['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x36e0a0,{writer:_0xe5d516})=>D(_0x36e0a0,_0xe5d516)}),_0x3bca80['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x47b7de,{writer:_0x87585a})=>{const _0x39b7e7=_0x47b7de['getAttribute']('footnoteCounter');return _0x19eb74(D(_0x47b7de,_0x87585a),_0x87585a,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x39b7e7)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1ed7a1}=this,{t:t}=_0x1ed7a1['locale'],{conversion:_0x440eb7}=_0x1ed7a1;_0x440eb7['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x440eb7['for']('upcast')['add'](_0x4fd6ce=>{_0x4fd6ce['on']('element:ol',(_0x4bfea4,_0x39a19b,_0x258954)=>{const _0x27ca88=_0x39a19b['viewItem'];if(!_0x27ca88['hasClass']('footnotes-list')||!_0x39a19b['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x258954['consumable']['consume'](_0x27ca88,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x54c33c,modelCursor:_0x112758}=_0x258954['convertChildren'](_0x39a19b['viewItem'],_0x39a19b['modelCursor']);_0x39a19b['modelRange']=_0x54c33c,_0x39a19b['modelCursor']=_0x112758;}),_0x4fd6ce['on']('element:hr',(_0x5b86f5,_0x4774e9,_0x3e2216)=>{const _0x208b04=_0x4774e9['viewItem'];_0x208b04['hasClass']('footnotes-divider')&&_0x4774e9['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3e2216['consumable']['consume'](_0x208b04,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x440eb7['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4d6d65,{writer:_0x1210f4})=>v(_0x1210f4)}),_0x440eb7['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x323005,{writer:_0x3c8065})=>{const _0x15eade=v(_0x3c8065,{'data-footnotes-list-label':t('Footnotes')}),_0x299183=_0x19eb74(_0x15eade,_0x3c8065,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3c8065['setCustomProperty']('footnotesDefinitions',!0x0,_0x299183),_0x299183;}});}['_defineDefinitionConverters'](){const {editor:_0x133f15}=this,{conversion:_0x2375c5,locale:_0x217ba1}=_0x133f15,_0x40aee1=_0x133f15['config']['get']('footnotes.multiBlock');_0x2375c5['for']('upcast')['add'](_0xe2f541=>{_0xe2f541['on']('element:li',(_0x18aad5,_0x281027,_0x242ece)=>{const _0x397fa2=_0x281027['viewItem'];if(!_0x397fa2['hasClass']('footnote-definition')||!_0x397fa2['getAttribute']('id'))return;const _0x50ee7c=_0x397fa2['parent'];if(!_0x50ee7c['is']('element','ol')||!_0x50ee7c['hasClass']('footnotes-list'))return;if(!_0x242ece['consumable']['test'](_0x397fa2,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x46d5c5=_0x242ece['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x397fa2['getAttribute']('id')});if(!_0x242ece['safeInsert'](_0x46d5c5,_0x281027['modelCursor']))return;_0x242ece['consumable']['consume'](_0x397fa2,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x418f8f=Array['from'](_0x397fa2['getChildren']())['find'](_0x152226=>_0x152226['is']('element')&&_0x152226['hasClass']('footnote-content'));for(const _0x301439 of _0x397fa2['getChildren']())_0x301439['is']('element')&&(_0x242ece['consumable']['consume'](_0x301439,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x242ece['consumable']['consume'](_0x301439,{'name':!0x0,'classes':'footnote-content'}));if(_0x418f8f){if(_0x40aee1)_0x242ece['convertChildren'](_0x418f8f,_0x46d5c5);else{const _0x4d3b1d=_0x242ece['writer']['createElement']('footnoteInlineContent');_0x242ece['writer']['insert'](_0x4d3b1d,_0x46d5c5),_0x242ece['convertChildren'](_0x418f8f,_0x4d3b1d);}}_0x242ece['updateConversionResult'](_0x46d5c5,_0x281027);});}),_0x2375c5['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2fb3f5,{writer:_0x11dd22})=>b(_0x2fb3f5,_0x11dd22,_0x217ba1,{'dataPipeline':!0x0})}),_0x2375c5['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x56e869,{writer:_0x39f327})=>b(_0x56e869,_0x39f327,_0x217ba1)});}['_defineBogusParagraphConverters'](){const {editor:_0x587c3a}=this,{conversion:_0x57b420}=_0x587c3a;_0x587c3a['config']['get']('footnotes.multiBlock')?(_0x57b420['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x57b420['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x587c3a['model']['document'],'change:data',()=>{!function(_0x27980a,_0x21909e){const _0xd7ad88=_0x27980a['document']['differ'],_0x5bf7c1=new Set();for(const _0x393647 of _0xd7ad88['getChanges']()){const _0x3af9ae='attribute'==_0x393647['type']?_0x393647['range']['start']['parent']:_0x393647['position']['parent'];_0x3af9ae['is']('element','footnoteDefinition')&&_0x5bf7c1['add'](_0x3af9ae);}for(const _0x439a93 of _0x5bf7c1['values']()){const _0xcef6b5=Array['from'](_0x439a93['getChildren']())['filter'](_0x1f9a3a=>g(_0x1f9a3a,_0x21909e['mapper']));for(const _0x149436 of _0xcef6b5)_0x21909e['reconvertItem'](_0x149436);}}(_0x587c3a['model'],_0x587c3a['editing']);})):(_0x57b420['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x57b420['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3e04a7,{writer:_0x225af2})=>{const _0x16d267=_0x225af2['createContainerElement']('span');return _0x225af2['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x16d267),_0x16d267;}}));}['_defineKeyboardHandlers'](){const {editor:_0x12a8eb}=this,{editing:_0x5c001f,t:t}=_0x12a8eb,_0x3c2f0b=_0x12a8eb['model']['document']['selection'];_0x12a8eb['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x12a8eb['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5c001f['view']['document'],'enter',(_0x551059,_0x4404a0)=>{const _0x41b52e=function(_0x22e565){const _0x5abd63=_0x22e565['getSelectedElement']();if(_0x5abd63?.['is']('element','footnoteRef'))return _0x5abd63;return null;}(_0x3c2f0b);if(_0x41b52e){const _0x37832f=_0x41b52e['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x37832f),_0x4404a0['preventDefault'](),_0x551059['stop']();}},{'context':_0x48abf2});}['_defineClickHandlers'](){const {editor:_0x2a0a10}=this,{editing:_0x440cdd}=_0x2a0a10;_0x2a0a10['editing']['view']['addObserver'](_0x477948),_0x2a0a10['editing']['view']['addObserver'](_0x3f444f);let _0x3ed2de=!0x1;this['listenTo'](_0x440cdd['view']['document'],'pointerdown',(_0x519005,_0x538d16)=>{const {target:_0x20e533}=_0x538d16,_0x449dd3=_0x440cdd['view']['document']['selection'];_0x3ed2de=!!(_0x20e533?.['is']('element','a')&&_0x20e533['parent']?.['is']('element','sup')&&_0x20e533['parent']['hasClass']('footnote'))&&_0x449dd3['getSelectedElement']()===_0x20e533['parent'];},{'priority':'high'}),this['listenTo'](_0x440cdd['view']['document'],'click',(_0x51dcc7,_0x455e25)=>{const {target:_0x421264}=_0x455e25;if(!_0x421264?.['is']('element','a'))return;if(_0x421264['parent']?.['is']('element','sup')&&_0x421264['parent']['hasClass']('footnote')&&!_0x3ed2de)return void _0x455e25['preventDefault']();let _0x4f44f3=_0x421264['getAttribute']('href');if(!_0x4f44f3?.['startsWith']('#'))return;_0x4f44f3=_0x4f44f3['slice'](0x1);let _0x4a3f56=!0x1;(_0x4f44f3['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4f44f3['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4f44f3))&&(_0x4a3f56=!0x0),_0x4a3f56&&(_0x455e25['preventDefault'](),_0x51dcc7['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x547931}={}){return(_0x20b6fc,{writer:_0x380976})=>{if(!p(_0x20b6fc))return null;if(!_0x547931)return _0x380976['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2e015c=_0x380976['createContainerElement']('p');return _0x380976['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2e015c),_0x2e015c;};}function p(_0x56afb0){const {parent:_0x111d2f}=_0x56afb0;if(!_0x111d2f?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x111d2f['childCount'])return!0x1;for(const _0x4e8a18 of _0x56afb0['getAttributeKeys']())if(!_0x4e8a18['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4e8a18)return!0x1;return!0x0;}function g(_0x5dc7bd,_0x1d374a){if(!_0x5dc7bd['is']('element','paragraph'))return!0x1;const _0x1f9801=_0x1d374a['toViewElement'](_0x5dc7bd);return!!_0x1f9801&&p(_0x5dc7bd)!==_0x1f9801['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x3af951){return _0x48abf2(_0x3af951)&&_0x3af951['is']('containerElement')&&!!_0x3af951['getCustomProperty']('footnotesDefinitions');}function v(_0x389c8b,_0x511c8f={}){const _0x41bc35=_0x389c8b['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x415998=_0x389c8b['createContainerElement']('ol',{'class':'footnotes-list'},_0x389c8b['createSlot']());return _0x389c8b['createContainerElement']('div',{'class':'footnotes',..._0x511c8f},[_0x41bc35,_0x415998]);}function D(_0x12f03b,_0x13f792){const _0x352dcd=_0x12f03b['getAttribute']('footnoteId'),_0x98f75a=_0x12f03b['getAttribute']('footnoteCounter'),_0x541aca=_0x13f792['createUIElement']('a',{'href':'#'+_0x352dcd},function(_0x4cc4f0){const _0x247778=this['toDomElement'](_0x4cc4f0);return _0x247778['textContent']=_0x98f75a,_0x247778;}),_0x135027=_0x13f792['createContainerElement']('sup',{'id':'ref-'+_0x352dcd,'class':'footnote'},[_0x541aca]);return _0x135027['getFillerOffset']=()=>null,_0x135027;}function b(_0x28f62a,_0x4d4b29,_0x56086a,{dataPipeline:_0x38e448}={}){const {t:t}=_0x56086a,_0x1b0a95=_0x28f62a['getAttribute']('footnoteId'),_0x3c3400=_0x4d4b29['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1b0a95},function(_0x5cfc2f){const _0x120e65=this['toDomElement'](_0x5cfc2f);return _0x120e65['innerText']='^',_0x120e65;}),_0x213972=_0x38e448?_0x4d4b29['createContainerElement']('div',{'class':'footnote-content'}):_0x56fcc8(_0x4d4b29['createEditableElement']('div',{'class':'footnote-content'}),_0x4d4b29,{'label':t('Footnote\x20content.')});return _0x4d4b29['insert'](_0x4d4b29['createPositionAt'](_0x213972,0x0),_0x4d4b29['createSlot']()),_0x4d4b29['createContainerElement']('li',{'class':'footnote-definition','id':_0x1b0a95},[_0x3c3400,_0x213972]);}
|
|
23
|
+
import{Plugin as _0x484eb5}from'ckeditor5/src/core.js';import{isWidget as _0x20de30,toWidget as _0x4566f3,toWidgetEditable as _0x4cc01c}from'ckeditor5/src/widget.js';import{uid as _0x2647ed}from'ckeditor5/src/utils.js';import{PointerObserver as _0x218105,ClickObserver as _0x4dd6fb}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x19729b}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x3306be}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x484eb5{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x19729b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x36f7ab}=this;_0x36f7ab['config']['define']('footnotes.multiBlock',!0x0),_0x36f7ab['commands']['add']('insertFootnote',new _0x3306be(_0x36f7ab)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xd6d977){const _0xdb27f9=_0x3d9ee8([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]),_0x353741=0x47a28506,_0x47371f=0x47a5ff1e^_0x353741,_0x6cb575=window[_0x3d9ee8([0x44,0x61,0x74,0x65])][_0x3d9ee8([0x6e,0x6f,0x77])](),_0x3c761a=_0xd6d977[_0x3d9ee8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5617f3=new window[(_0x3d9ee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x515803=>{_0x3c761a[_0x3d9ee8([0x6f,0x6e,0x63,0x65])](_0x3d9ee8([0x72,0x65,0x61,0x64,0x79]),_0x515803);}),_0x324df8={[_0x3d9ee8([0x6b,0x74,0x79])]:_0x3d9ee8([0x45,0x43]),[_0x3d9ee8([0x75,0x73,0x65])]:_0x3d9ee8([0x73,0x69,0x67]),[_0x3d9ee8([0x63,0x72,0x76])]:_0x3d9ee8([0x50,0x2d,0x32,0x35,0x36]),[_0x3d9ee8([0x78])]:_0x3d9ee8([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]),[_0x3d9ee8([0x79])]:_0x3d9ee8([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]),[_0x3d9ee8([0x61,0x6c,0x67])]:_0x3d9ee8([0x45,0x53,0x32,0x35,0x36])},_0xe8c7a5=_0x3c761a[_0x3d9ee8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3d9ee8([0x67,0x65,0x74])](_0x3d9ee8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4e273e(){let _0x3a124c,_0x5b3d31=null,_0x1c4b0f=null;try{if(_0xe8c7a5==_0x3d9ee8([0x47,0x50,0x4c]))return _0x3d9ee8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3a124c=_0x22c26a(),!_0x3a124c)return _0x3d9ee8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3a124c[_0x3d9ee8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c4b0f=_0x226481(_0x3a124c[_0x3d9ee8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3a124c[_0x3d9ee8([0x6a,0x74,0x69])])),await _0x17cc2d()?_0x1f2a72()?_0x5c47d6()?_0x3d9ee8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2a975c()?(_0x3a124c[_0x3d9ee8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d9ee8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5b3d31=_0x459ecf(_0x3d9ee8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3a124c[_0x3d9ee8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d9ee8([0x74,0x72,0x69,0x61,0x6c])&&(_0x5b3d31=_0x459ecf(_0x3d9ee8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x18419f()):_0x3d9ee8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3d9ee8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3d9ee8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3d9ee8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c47d6(){const _0x39faba=[_0x3d9ee8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3d9ee8([0x74,0x72,0x69,0x61,0x6c])][_0x3d9ee8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a124c[_0x3d9ee8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x6cb575/0x3e8:0xe10*_0x47371f;return _0x3a124c[_0x3d9ee8([0x65,0x78,0x70])]<_0x39faba;}function _0x1f2a72(){const _0x2a8f1c=_0x3a124c[_0x3d9ee8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2a8f1c&&(!!_0x2a8f1c[_0x3d9ee8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d9ee8([0x2a]))||!!_0x2a8f1c[_0x3d9ee8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d9ee8([0x46,0x4f,0x4f])));}function _0x2a975c(){const _0x4ce533=_0x3a124c[_0x3d9ee8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4ce533||0x0==_0x4ce533[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x41e2da}=new URL(window[_0x3d9ee8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4ce533[_0x3d9ee8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41e2da))return!0x0;const _0xdae893=_0x41e2da[_0x3d9ee8([0x73,0x70,0x6c,0x69,0x74])](_0x3d9ee8([0x2e]));return _0x4ce533[_0x3d9ee8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b6917=>_0x4b6917[_0x3d9ee8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d9ee8([0x2a])))[_0x3d9ee8([0x6d,0x61,0x70])](_0x175f02=>_0x175f02[_0x3d9ee8([0x73,0x70,0x6c,0x69,0x74])](_0x3d9ee8([0x2e])))[_0x3d9ee8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xafaba7=>_0xafaba7[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xdae893[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d9ee8([0x6d,0x61,0x70])](_0x58e965=>Array(_0xdae893[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x58e965[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d9ee8([0x66,0x69,0x6c,0x6c])](_0x58e965[0x0]===_0x3d9ee8([0x2a])?_0x3d9ee8([0x2a]):'')[_0x3d9ee8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x58e965))[_0x3d9ee8([0x73,0x6f,0x6d,0x65])](_0x32085b=>_0xdae893[_0x3d9ee8([0x65,0x76,0x65,0x72,0x79])]((_0x1aa352,_0x59196f)=>_0x32085b[_0x59196f]===_0x1aa352||_0x32085b[_0x59196f]===_0x3d9ee8([0x2a])));}function _0x18419f(){return _0x5b3d31&&_0x1c4b0f?new window[(_0x3d9ee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x351a85,_0x164637)=>{_0x5b3d31[_0x3d9ee8([0x74,0x68,0x65,0x6e])](_0x351a85,_0x164637),_0x1c4b0f[_0x3d9ee8([0x74,0x68,0x65,0x6e])](_0x546942=>{_0x546942!=_0x3d9ee8([0x56,0x61,0x6c,0x69,0x64])&&_0x351a85(_0x546942);},_0x164637);}):_0x5b3d31||_0x1c4b0f||_0x3d9ee8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x226481(_0x5aa82e,_0xaa8117){return new window[(_0x3d9ee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x545ad9=>{if(_0x5f24a6())return _0x545ad9(_0x3d9ee8([0x56,0x61,0x6c,0x69,0x64]));_0x23b421(),_0x3c761a[_0x3d9ee8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3d9ee8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x35640d=!0x1;const _0x2d9f86=_0x2647ed();function _0x7c8633(_0x4599c0){return!!_0x4599c0&&(typeof _0x4599c0===_0x3d9ee8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4599c0===_0x3d9ee8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4599c0[_0x3d9ee8([0x74,0x68,0x65,0x6e])]===_0x3d9ee8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4599c0[_0x3d9ee8([0x63,0x61,0x74,0x63,0x68])]===_0x3d9ee8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1232c8(_0x34f686){_0x33ea9f(_0x34f686)[_0x3d9ee8([0x74,0x68,0x65,0x6e])](_0x3b66d0=>{if(!_0x3b66d0||_0x3b66d0[_0x3d9ee8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3d9ee8([0x6f,0x6b]))return _0x3d9ee8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x131bc3(_0x58b386(_0x2d9f86+_0xaa8117))!=_0x3b66d0[_0x3d9ee8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3d9ee8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3d9ee8([0x56,0x61,0x6c,0x69,0x64]);})[_0x3d9ee8([0x74,0x68,0x65,0x6e])](_0x25cc6e=>(_0x18a4c4(),_0x25cc6e),()=>{const _0xfa738=_0x2cdd7f();return null==_0xfa738?(_0x18a4c4(),_0x3d9ee8([0x56,0x61,0x6c,0x69,0x64])):_0x3d9ee8(_0x6cb575-_0xfa738>(0x63ae0106^_0x353741)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3d9ee8([0x74,0x68,0x65,0x6e])](_0x545ad9)[_0x3d9ee8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x545ad9(_0x3d9ee8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x367d56=0x47946b86^_0x353741;function _0x18a4c4(){const _0x46b390=_0x3d9ee8([0x6c,0x6c,0x63,0x74,0x2d])+_0x131bc3(_0x58b386(_0x5aa82e)),_0x1453da=_0x115611(_0x131bc3(window[_0x3d9ee8([0x4d,0x61,0x74,0x68])][_0x3d9ee8([0x63,0x65,0x69,0x6c])](_0x6cb575/_0x367d56)));window[_0x3d9ee8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d9ee8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46b390,_0x1453da);}function _0x2cdd7f(){const _0x43c0de=_0x3d9ee8([0x6c,0x6c,0x63,0x74,0x2d])+_0x131bc3(_0x58b386(_0x5aa82e)),_0x38226d=window[_0x3d9ee8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d9ee8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43c0de);return _0x38226d?window[_0x3d9ee8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x115611(_0x38226d),0x10)*_0x367d56:null;}function _0x33ea9f(_0x3ab17f){return new window[(_0x3d9ee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c1a35,_0x29218b)=>{_0x3ab17f[_0x3d9ee8([0x74,0x68,0x65,0x6e])](_0x3c1a35,_0x29218b),window[_0x3d9ee8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x29218b,0x47a351c6^_0x353741);});}}_0x3c761a[_0x3d9ee8([0x6f,0x6e])](_0x3d9ee8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x438b21,_0x14ede9)=>{if(_0x14ede9[0x0]!=_0x5aa82e)return _0x545ad9(_0x3d9ee8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x14ede9[0x1]={..._0x14ede9[0x1],[_0x3d9ee8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2d9f86};},{[_0x3d9ee8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d9ee8([0x68,0x69,0x67,0x68])}),_0x3c761a[_0x3d9ee8([0x6f,0x6e])](_0x3d9ee8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1eb631=>{_0x7c8633(_0x1eb631[_0x3d9ee8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x35640d=!0x0,_0x1232c8(_0x1eb631[_0x3d9ee8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3d9ee8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d9ee8([0x6c,0x6f,0x77])}),_0x5617f3[_0x3d9ee8([0x74,0x68,0x65,0x6e])](()=>{_0x35640d||_0x545ad9(_0x3d9ee8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5f24a6(){return _0x3c761a[_0x3d9ee8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d9ee8([0x76,0x69,0x65,0x77])][_0x3d9ee8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3d9ee8([0x61,0x75,0x74,0x6f]);}function _0x23b421(){_0x3c761a[_0x3d9ee8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d9ee8([0x76,0x69,0x65,0x77])][_0x3d9ee8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3d9ee8([0x61,0x75,0x74,0x6f]);}}function _0x459ecf(_0x4988be){const _0x186548=[new window[(_0x3d9ee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37e24e=>setTimeout(_0x37e24e,0x47abbbca^_0x353741)),_0x5617f3[_0x3d9ee8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3d9ee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x183796=>{let _0x10e478=0x0;_0x3c761a[_0x3d9ee8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d9ee8([0x6f,0x6e])](_0x3d9ee8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x107d67,_0x4715ad)=>{_0x4715ad[0x0][_0x3d9ee8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x10e478++,_0x10e478==(0x47a284fe^_0x353741)&&(_0x183796(),_0x107d67[_0x3d9ee8([0x6f,0x66,0x66])]());});}))];return window[_0x3d9ee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3d9ee8([0x72,0x61,0x63,0x65])](_0x186548)[_0x3d9ee8([0x74,0x68,0x65,0x6e])](()=>_0x4988be);}async function _0xb9bb87(){await _0x5617f3,_0x3c761a[_0x3d9ee8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d9ee8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3f39cf,_0x3c761a[_0x3d9ee8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d9ee8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3f39cf,_0x3c761a[_0x3d9ee8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3d9ee8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd98e20(_0x158913){const _0x4b4808=_0xc72abf();_0x3c761a[_0x4b4808]=_0x3d9ee8([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x158913,_0x158913!=_0x3d9ee8([0x56,0x61,0x6c,0x69,0x64])&&_0xb9bb87();}function _0xc72abf(){const _0x1556b3=window[_0x3d9ee8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3d9ee8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3d9ee8([0x6e,0x6f,0x77])]())[_0x3d9ee8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3d9ee8([0x2e]),'');let _0x4786b5=_0x3d9ee8([0x75]);for(let _0x54409b=0x0;_0x54409b<_0x1556b3[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54409b+=0x2){let _0x158b06=window[_0x3d9ee8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1556b3[_0x3d9ee8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54409b,_0x54409b+0x2));_0x158b06>=_0xdb27f9[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x158b06-=_0xdb27f9[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4786b5+=_0xdb27f9[_0x158b06];}return _0x4786b5;}function _0x22c26a(){const _0x13a2bc=_0xe8c7a5[_0x3d9ee8([0x73,0x70,0x6c,0x69,0x74])](_0x3d9ee8([0x2e]));if(0x3!=_0x13a2bc[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4275d6(_0x13a2bc[0x1]);function _0x4275d6(_0x43363c){const _0x3dbf68=_0x2b92f6(_0x43363c);return _0x3dbf68&&_0xa38b61()?_0x3dbf68:null;function _0xa38b61(){const _0x1ac7fd=_0x3dbf68[_0x3d9ee8([0x6a,0x74,0x69])],_0x11aba9=window[_0x3d9ee8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ac7fd[_0x3d9ee8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ac7fd[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1a6c0c={..._0x3dbf68,[_0x3d9ee8([0x6a,0x74,0x69])]:_0x1ac7fd[_0x3d9ee8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1ac7fd[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1a6c0c[_0x3d9ee8([0x76,0x63])],_0x58b386(_0x1a6c0c)==_0x11aba9;}}}async function _0x17cc2d(){let _0x5611c9=!0x0;try{const _0x29fa6d=_0xe8c7a5[_0x3d9ee8([0x73,0x70,0x6c,0x69,0x74])](_0x3d9ee8([0x2e])),[_0x486062,_0x139c06,_0x12faf2]=_0x29fa6d;return _0x39094c(_0x486062),await _0x3c7322(_0x486062,_0x139c06,_0x12faf2),_0x5611c9;}catch{return!0x1;}function _0x39094c(_0x3093bd){const _0x5a91ca=_0x2b92f6(_0x3093bd);_0x5a91ca&&_0x5a91ca[_0x3d9ee8([0x61,0x6c,0x67])]==_0x3d9ee8([0x45,0x53,0x32,0x35,0x36])||(_0x5611c9=!0x1);}async function _0x3c7322(_0x5d762c,_0x1371a7,_0x13e981){const _0x7d3303=window[_0x3d9ee8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3d9ee8([0x66,0x72,0x6f,0x6d])](_0x519115(_0x13e981),_0xeb87dd=>_0xeb87dd[_0x3d9ee8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5bd8c3=new window[(_0x3d9ee8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3d9ee8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5d762c+_0x3d9ee8([0x2e])+_0x1371a7),_0x47b61c=window[_0x3d9ee8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3d9ee8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x47b61c)return;const _0x5950fc=await _0x47b61c[_0x3d9ee8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3d9ee8([0x6a,0x77,0x6b]),_0x324df8,{[_0x3d9ee8([0x6e,0x61,0x6d,0x65])]:_0x3d9ee8([0x45,0x43,0x44,0x53,0x41]),[_0x3d9ee8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3d9ee8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3d9ee8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x47b61c[_0x3d9ee8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3d9ee8([0x6e,0x61,0x6d,0x65])]:_0x3d9ee8([0x45,0x43,0x44,0x53,0x41]),[_0x3d9ee8([0x68,0x61,0x73,0x68])]:{[_0x3d9ee8([0x6e,0x61,0x6d,0x65])]:_0x3d9ee8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5950fc,_0x7d3303,_0x5bd8c3)||(_0x5611c9=!0x1);}}function _0x2b92f6(_0x2070a3){return _0x2070a3[_0x3d9ee8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3d9ee8([0x65,0x79]))?JSON[_0x3d9ee8([0x70,0x61,0x72,0x73,0x65])](_0x519115(_0x2070a3)):null;}function _0x519115(_0x400cbb){return window[_0x3d9ee8([0x61,0x74,0x6f,0x62])](_0x400cbb[_0x3d9ee8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3d9ee8([0x2b]))[_0x3d9ee8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3d9ee8([0x2f])));}function _0x58b386(_0x42704b){let _0xccd9e1=0x1505;function _0x552200(_0x57a989){for(let _0x38c8da=0x0;_0x38c8da<_0x57a989[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38c8da++){const _0xa881aa=_0x57a989[_0x3d9ee8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x38c8da);_0xccd9e1=(_0xccd9e1<<0x5)+_0xccd9e1+_0xa881aa,_0xccd9e1&=_0xccd9e1;}}function _0x4ca5d6(_0x5c7d4b){Array[_0x3d9ee8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5c7d4b)?_0x5c7d4b[_0x3d9ee8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ca5d6):_0x5c7d4b&&typeof _0x5c7d4b==_0x3d9ee8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3d9ee8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5c7d4b)[_0x3d9ee8([0x73,0x6f,0x72,0x74])]()[_0x3d9ee8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x246c98,_0x38c564])=>{_0x552200(_0x246c98),_0x4ca5d6(_0x38c564);}):_0x552200(window[_0x3d9ee8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5c7d4b));}return _0x4ca5d6(_0x42704b),_0xccd9e1>>>0x0;}function _0x131bc3(_0xf5021d){return _0xf5021d[_0x3d9ee8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3d9ee8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3d9ee8([0x30]));}function _0x115611(_0x4706a3){return _0x4706a3[_0x3d9ee8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3d9ee8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3d9ee8([0x6a,0x6f,0x69,0x6e])]('');}function _0x3f39cf(){}function _0x3d9ee8(_0xedaf12){return _0xedaf12['map'](_0x2c9cd7=>String['fromCharCode'](_0x2c9cd7))['join']('');}_0xd98e20(await _0x4e273e());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3b87ad){const {plugins:_0x5308e8,editing:_0x1731d2,model:_0x3a9dc7}=this['editor'],_0xe5451e=_0x5308e8['get'](_0x19729b)['getFootnote'](_0x3b87ad);return!!_0xe5451e&&(_0x3a9dc7['change'](_0x5bcb5f=>{_0x5bcb5f['setSelection'](_0x5bcb5f['createPositionAt'](_0xe5451e['definition'],'end'));}),_0x1731d2['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4c9f12){const {plugins:_0xa4abb7,editing:_0x54cd0b,model:_0xcf7792}=this['editor'],_0x32fa9e=_0xa4abb7['get'](_0x19729b)['getFootnote'](_0x4c9f12);return!!_0x32fa9e&&(_0xcf7792['change'](_0x4d9d4a=>{_0x4d9d4a['setSelection'](_0x32fa9e['reference'],'on');}),_0x54cd0b['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0xd9a740}=this['editor']['model'],_0x65ffac=this['editor']['config']['get']('footnotes.multiBlock');_0xd9a740['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0xd9a740['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0xd9a740['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x65ffac?_0xd9a740['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0xd9a740['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0xd9a740['addChildCheck'](_0x14161d=>{for(const _0x33ceec of _0x14161d)if('footnoteDefinition'===_0x33ceec['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3c2ec3}=this,{conversion:_0x2c3aa9,editing:_0x169b69}=_0x3c2ec3,{t:t}=_0x3c2ec3['locale'];_0x2c3aa9['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0xbec4bb,{writer:_0x17c880,consumable:_0x56e882})=>{const _0x3217a1=_0xbec4bb['getChild'](0x0);if(!_0x3217a1||!_0x3217a1['is']('element','a'))return null;const _0x3b1dd2=_0x3217a1['getAttribute']('href')||'';if(!_0x3b1dd2['startsWith']('#'))return null;const _0x4d9c1a=_0x3b1dd2['replace'](/^#/,'');if(!_0x4d9c1a)return null;_0x56e882['consume'](_0x3217a1,{'name':!0x0,'attributes':['href']});for(const {item:_0x4350cc}of _0x169b69['view']['createRangeIn'](_0x3217a1))_0x4350cc['is']('$textProxy')?_0x56e882['consume'](_0x4350cc['textNode'],{'name':!0x0}):_0x4350cc['is']('element')&&_0x56e882['consume'](_0x4350cc,{'name':!0x0});return _0x17c880['createElement']('footnoteRef',{'footnoteId':_0x4d9c1a});}}),_0x2c3aa9['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x7eddd7,{writer:_0x306c1d})=>D(_0x7eddd7,_0x306c1d)}),_0x2c3aa9['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5c5e02,{writer:_0x92d1e0})=>{const _0x45a119=_0x5c5e02['getAttribute']('footnoteCounter');return _0x4566f3(D(_0x5c5e02,_0x92d1e0),_0x92d1e0,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x45a119)});}});}['_defineDefinitionsConverters'](){const {editor:_0x104186}=this,{t:t}=_0x104186['locale'],{conversion:_0x5cb3cb}=_0x104186;_0x5cb3cb['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x5cb3cb['for']('upcast')['add'](_0x4de910=>{_0x4de910['on']('element:ol',(_0x5739e7,_0x3e3f23,_0x1513e6)=>{const _0x2a02f0=_0x3e3f23['viewItem'];if(!_0x2a02f0['hasClass']('footnotes-list')||!_0x3e3f23['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1513e6['consumable']['consume'](_0x2a02f0,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0xefb3de,modelCursor:_0x5d6af4}=_0x1513e6['convertChildren'](_0x3e3f23['viewItem'],_0x3e3f23['modelCursor']);_0x3e3f23['modelRange']=_0xefb3de,_0x3e3f23['modelCursor']=_0x5d6af4;}),_0x4de910['on']('element:hr',(_0x41ca62,_0x4d788c,_0x86f515)=>{const _0x3c9d56=_0x4d788c['viewItem'];_0x3c9d56['hasClass']('footnotes-divider')&&_0x4d788c['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x86f515['consumable']['consume'](_0x3c9d56,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x5cb3cb['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x11902f,{writer:_0x46a332})=>v(_0x46a332)}),_0x5cb3cb['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x176a33,{writer:_0x11c35a})=>{const _0x1153d=v(_0x11c35a,{'data-footnotes-list-label':t('Footnotes')}),_0x36f001=_0x4566f3(_0x1153d,_0x11c35a,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x11c35a['setCustomProperty']('footnotesDefinitions',!0x0,_0x36f001),_0x36f001;}});}['_defineDefinitionConverters'](){const {editor:_0x42c2db}=this,{conversion:_0x18fe54,locale:_0x326285}=_0x42c2db,_0x31b4d2=_0x42c2db['config']['get']('footnotes.multiBlock');_0x18fe54['for']('upcast')['add'](_0x5d0007=>{_0x5d0007['on']('element:li',(_0x2e6f2a,_0x561b29,_0x2abef4)=>{const _0xa94f96=_0x561b29['viewItem'];if(!_0xa94f96['hasClass']('footnote-definition')||!_0xa94f96['getAttribute']('id'))return;const _0x4bdc90=_0xa94f96['parent'];if(!_0x4bdc90['is']('element','ol')||!_0x4bdc90['hasClass']('footnotes-list'))return;if(!_0x2abef4['consumable']['test'](_0xa94f96,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x65d437=_0x2abef4['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xa94f96['getAttribute']('id')});if(!_0x2abef4['safeInsert'](_0x65d437,_0x561b29['modelCursor']))return;_0x2abef4['consumable']['consume'](_0xa94f96,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x6c88bf=Array['from'](_0xa94f96['getChildren']())['find'](_0x301946=>_0x301946['is']('element')&&_0x301946['hasClass']('footnote-content'));for(const _0x4dbfc1 of _0xa94f96['getChildren']())_0x4dbfc1['is']('element')&&(_0x2abef4['consumable']['consume'](_0x4dbfc1,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2abef4['consumable']['consume'](_0x4dbfc1,{'name':!0x0,'classes':'footnote-content'}));if(_0x6c88bf){if(_0x31b4d2)_0x2abef4['convertChildren'](_0x6c88bf,_0x65d437);else{const _0x8169a3=_0x2abef4['writer']['createElement']('footnoteInlineContent');_0x2abef4['writer']['insert'](_0x8169a3,_0x65d437),_0x2abef4['convertChildren'](_0x6c88bf,_0x8169a3);}}_0x2abef4['updateConversionResult'](_0x65d437,_0x561b29);});}),_0x18fe54['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1c828e,{writer:_0x1ea9b7})=>b(_0x1c828e,_0x1ea9b7,_0x326285,{'dataPipeline':!0x0})}),_0x18fe54['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x383cef,{writer:_0x168ba4})=>b(_0x383cef,_0x168ba4,_0x326285)});}['_defineBogusParagraphConverters'](){const {editor:_0x19e210}=this,{conversion:_0x55d5b5}=_0x19e210;_0x19e210['config']['get']('footnotes.multiBlock')?(_0x55d5b5['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x55d5b5['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x19e210['model']['document'],'change:data',()=>{!function(_0x50c013,_0x23d4d5){const _0x2835c7=_0x50c013['document']['differ'],_0xe07176=new Set();for(const _0x5247fe of _0x2835c7['getChanges']()){const _0x4731cc='attribute'==_0x5247fe['type']?_0x5247fe['range']['start']['parent']:_0x5247fe['position']['parent'];_0x4731cc['is']('element','footnoteDefinition')&&_0xe07176['add'](_0x4731cc);}for(const _0x4cef89 of _0xe07176['values']()){const _0x2500ba=Array['from'](_0x4cef89['getChildren']())['filter'](_0x127fb9=>g(_0x127fb9,_0x23d4d5['mapper']));for(const _0x1aeb1d of _0x2500ba)_0x23d4d5['reconvertItem'](_0x1aeb1d);}}(_0x19e210['model'],_0x19e210['editing']);})):(_0x55d5b5['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x55d5b5['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5476e9,{writer:_0x138199})=>{const _0x44a606=_0x138199['createContainerElement']('span');return _0x138199['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x44a606),_0x44a606;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2b0d3c}=this,{editing:_0x9bbcf4,t:t}=_0x2b0d3c,_0x1a8117=_0x2b0d3c['model']['document']['selection'];_0x2b0d3c['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2b0d3c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x9bbcf4['view']['document'],'enter',(_0x1b86da,_0x304493)=>{const _0x59b74f=function(_0x184e0a){const _0xbb6c5b=_0x184e0a['getSelectedElement']();if(_0xbb6c5b?.['is']('element','footnoteRef'))return _0xbb6c5b;return null;}(_0x1a8117);if(_0x59b74f){const _0x470c8f=_0x59b74f['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x470c8f),_0x304493['preventDefault'](),_0x1b86da['stop']();}},{'context':_0x20de30});}['_defineClickHandlers'](){const {editor:_0xb404b5}=this,{editing:_0x260a2d}=_0xb404b5;_0xb404b5['editing']['view']['addObserver'](_0x218105),_0xb404b5['editing']['view']['addObserver'](_0x4dd6fb);let _0x5dfb6b=!0x1;this['listenTo'](_0x260a2d['view']['document'],'pointerdown',(_0x3b2f10,_0x47944f)=>{const {target:_0x58e18e}=_0x47944f,_0x174e89=_0x260a2d['view']['document']['selection'];_0x5dfb6b=!!(_0x58e18e?.['is']('element','a')&&_0x58e18e['parent']?.['is']('element','sup')&&_0x58e18e['parent']['hasClass']('footnote'))&&_0x174e89['getSelectedElement']()===_0x58e18e['parent'];},{'priority':'high'}),this['listenTo'](_0x260a2d['view']['document'],'click',(_0x1b5a8f,_0x1ef84e)=>{const {target:_0x50d48a}=_0x1ef84e;if(!_0x50d48a?.['is']('element','a'))return;if(_0x50d48a['parent']?.['is']('element','sup')&&_0x50d48a['parent']['hasClass']('footnote')&&!_0x5dfb6b)return void _0x1ef84e['preventDefault']();let _0x242998=_0x50d48a['getAttribute']('href');if(!_0x242998?.['startsWith']('#'))return;_0x242998=_0x242998['slice'](0x1);let _0x590fed=!0x1;(_0x242998['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x242998['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x242998))&&(_0x590fed=!0x0),_0x590fed&&(_0x1ef84e['preventDefault'](),_0x1b5a8f['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x4bda77}={}){return(_0x2c5a36,{writer:_0xb08112})=>{if(!p(_0x2c5a36))return null;if(!_0x4bda77)return _0xb08112['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x38b886=_0xb08112['createContainerElement']('p');return _0xb08112['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x38b886),_0x38b886;};}function p(_0x5c117d){const {parent:_0x22a302}=_0x5c117d;if(!_0x22a302?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x22a302['childCount'])return!0x1;for(const _0x3b2ea3 of _0x5c117d['getAttributeKeys']())if(!_0x3b2ea3['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3b2ea3)return!0x1;return!0x0;}function g(_0x502373,_0x9c1fe2){if(!_0x502373['is']('element','paragraph'))return!0x1;const _0x5f1b5c=_0x9c1fe2['toViewElement'](_0x502373);return!!_0x5f1b5c&&p(_0x502373)!==_0x5f1b5c['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x68aa19){return _0x20de30(_0x68aa19)&&_0x68aa19['is']('containerElement')&&!!_0x68aa19['getCustomProperty']('footnotesDefinitions');}function v(_0x2e8b09,_0x435a49={}){const _0x244f88=_0x2e8b09['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xbfde40=_0x2e8b09['createContainerElement']('ol',{'class':'footnotes-list'},_0x2e8b09['createSlot']());return _0x2e8b09['createContainerElement']('div',{'class':'footnotes',..._0x435a49},[_0x244f88,_0xbfde40]);}function D(_0x49f8c1,_0x36c020){const _0x178ba5=_0x49f8c1['getAttribute']('footnoteId'),_0x2533c3=_0x49f8c1['getAttribute']('footnoteCounter'),_0x553745=_0x36c020['createUIElement']('a',{'href':'#'+_0x178ba5},function(_0x5a346e){const _0x1b076b=this['toDomElement'](_0x5a346e);return _0x1b076b['textContent']=_0x2533c3,_0x1b076b;}),_0x30c2bd=_0x36c020['createContainerElement']('sup',{'id':'ref-'+_0x178ba5,'class':'footnote'},[_0x553745]);return _0x30c2bd['getFillerOffset']=()=>null,_0x30c2bd;}function b(_0x50fa77,_0x583e2f,_0x1e917a,{dataPipeline:_0xc060a7}={}){const {t:t}=_0x1e917a,_0x58ca74=_0x50fa77['getAttribute']('footnoteId'),_0x2b8eda=_0x583e2f['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x58ca74},function(_0x3b851f){const _0x4abf4c=this['toDomElement'](_0x3b851f);return _0x4abf4c['innerText']='^',_0x4abf4c;}),_0x411a9=_0xc060a7?_0x583e2f['createContainerElement']('div',{'class':'footnote-content'}):_0x4cc01c(_0x583e2f['createEditableElement']('div',{'class':'footnote-content'}),_0x583e2f,{'label':t('Footnote\x20content.')});return _0x583e2f['insert'](_0x583e2f['createPositionAt'](_0x411a9,0x0),_0x583e2f['createSlot']()),_0x583e2f['createContainerElement']('li',{'class':'footnote-definition','id':_0x58ca74},[_0x2b8eda,_0x411a9]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x476fa3=_0x17d5;(function(_0x4f1a96,_0x4fcb62){const _0x20043d=_0x17d5,_0x5b8275=_0x4f1a96();while(!![]){try{const _0x51a013=-parseInt(_0x20043d(0x122))/0x1*(parseInt(_0x20043d(0x135))/0x2)+-parseInt(_0x20043d(0x121))/0x3*(parseInt(_0x20043d(0x12b))/0x4)+-parseInt(_0x20043d(0x126))/0x5+parseInt(_0x20043d(0x137))/0x6*(parseInt(_0x20043d(0x12f))/0x7)+parseInt(_0x20043d(0x12e))/0x8*(parseInt(_0x20043d(0x12d))/0x9)+-parseInt(_0x20043d(0x123))/0xa+parseInt(_0x20043d(0x127))/0xb;if(_0x51a013===_0x4fcb62)break;else _0x5b8275['push'](_0x5b8275['shift']());}catch(_0x28a34d){_0x5b8275['push'](_0x5b8275['shift']());}}}(_0x4e35,0x79455));import{Command as _0x5be97c}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x29a7e3}from'../../footnotestracker.js';function _0x17d5(_0x3fe2bb,_0xd2ba49){const _0x4e351b=_0x4e35();return _0x17d5=function(_0x17d507,_0x18ee1d){_0x17d507=_0x17d507-0x11f;let _0x26f192=_0x4e351b[_0x17d507];return _0x26f192;},_0x17d5(_0x3fe2bb,_0xd2ba49);}function _0x4e35(){const _0x388cc5=['value','326691MTEGqp','40YMewEt','6173209JWDtyq','get','footnotesListStart','isEnabled','getFootnotesDefinitionsObjectElement','execute','8ZgUWnR','model','6TCqzeX','plugins','getAttribute','306843kGdHfC','106721FwhkFp','2263070gBfqzH','setAttribute','refresh','774350BDDKXz','6030717ytyAnE','isInteger','change','_updateFootnotesCounters','12SnsJTH'];_0x4e35=function(){return _0x388cc5;};return _0x4e35();}export class FootnotesStartCommand extends _0x5be97c{[_0x476fa3(0x125)](){const _0x39a0d5=_0x476fa3,{editor:_0x1bd36d}=this,_0x4b722=_0x1bd36d[_0x39a0d5(0x11f)][_0x39a0d5(0x130)](_0x29a7e3)[_0x39a0d5(0x133)]();this[_0x39a0d5(0x132)]=!!_0x4b722,this[_0x39a0d5(0x12c)]=_0x4b722?.[_0x39a0d5(0x120)](_0x39a0d5(0x131))??null;}[_0x476fa3(0x134)]({value:_0x50e312}){const _0x571a1e=_0x476fa3,{editor:_0x4724e8}=this,_0x109600=_0x4724e8[_0x571a1e(0x11f)][_0x571a1e(0x130)](_0x29a7e3),_0x35c7a8=_0x109600[_0x571a1e(0x133)]();_0x35c7a8&&Number[_0x571a1e(0x128)](_0x50e312)&&_0x4724e8[_0x571a1e(0x136)][_0x571a1e(0x129)](_0x20ff11=>{const _0x4863bd=_0x571a1e;_0x20ff11[_0x4863bd(0x124)](_0x4863bd(0x131),_0x50e312,_0x35c7a8),_0x109600[_0x4863bd(0x12a)](_0x20ff11);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x553b33=_0x11a6;(function(_0x2a8bb4,_0x4a1133){const _0x51e6f0=_0x11a6,_0x560588=_0x2a8bb4();while(!![]){try{const _0x5da761=parseInt(_0x51e6f0(0x155))/0x1+parseInt(_0x51e6f0(0x154))/0x2*(parseInt(_0x51e6f0(0x159))/0x3)+parseInt(_0x51e6f0(0x169))/0x4*(parseInt(_0x51e6f0(0x167))/0x5)+parseInt(_0x51e6f0(0x161))/0x6*(parseInt(_0x51e6f0(0x15e))/0x7)+-parseInt(_0x51e6f0(0x164))/0x8+-parseInt(_0x51e6f0(0x152))/0x9*(parseInt(_0x51e6f0(0x151))/0xa)+parseInt(_0x51e6f0(0x165))/0xb*(parseInt(_0x51e6f0(0x153))/0xc);if(_0x5da761===_0x4a1133)break;else _0x560588['push'](_0x560588['shift']());}catch(_0x11aaf2){_0x560588['push'](_0x560588['shift']());}}}(_0x4398,0x8523a));import{Command as _0x53dbdc}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x2d4de6}from'../footnotespropertiesconfig.js';function _0x4398(){const _0x154ae7=['21qzhnJu','plugins','_updateFootnotesCounters','962766rRwadq','getFootnotesDefinitionsObjectElement','value','4503888ZhxPfU','718267VkmRix','includes','55VlirsH','execute','274792ztMCOY','refresh','10OCByYv','7942059wBhZUc','12wzrfVc','559698hLOVRt','408568wFHYoy','model','setAttribute','getAttribute','3lglsuW','change','get','isEnabled','footnotesListStyle'];_0x4398=function(){return _0x154ae7;};return _0x4398();}import{FootnotesTracker as _0x473212}from'../../footnotestracker.js';function _0x11a6(_0x1e2db0,_0x469d78){const _0x439855=_0x4398();return _0x11a6=function(_0x11a61b,_0x2034b7){_0x11a61b=_0x11a61b-0x150;let _0x4230dd=_0x439855[_0x11a61b];return _0x4230dd;},_0x11a6(_0x1e2db0,_0x469d78);}export class FootnotesStyleCommand extends _0x53dbdc{[_0x553b33(0x150)](){const _0x2402e4=_0x553b33,{editor:_0x15f80e}=this,_0x1a0f30=_0x15f80e[_0x2402e4(0x15f)][_0x2402e4(0x15b)](_0x473212)[_0x2402e4(0x162)]();this[_0x2402e4(0x15c)]=!!_0x1a0f30,this[_0x2402e4(0x163)]=_0x1a0f30?.[_0x2402e4(0x158)](_0x2402e4(0x15d))??null;}[_0x553b33(0x168)]({value:_0x3de0eb}){const _0x1b2e77=_0x553b33,{editor:_0x69c17f}=this,_0x1966eb=_0x69c17f[_0x1b2e77(0x15f)][_0x1b2e77(0x15b)](_0x473212),_0x1752e8=_0x1966eb[_0x1b2e77(0x162)]();_0x1752e8&&_0x2d4de6[_0x1b2e77(0x166)](_0x3de0eb)&&_0x69c17f[_0x1b2e77(0x156)][_0x1b2e77(0x15a)](_0x27c2d9=>{const _0x24b028=_0x1b2e77;_0x27c2d9[_0x24b028(0x157)](_0x24b028(0x15d),_0x3de0eb,_0x1752e8),_0x1966eb[_0x24b028(0x160)](_0x27c2d9);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4cc5(_0x6b121d,_0xfd2e29){const _0x1326ad=_0x1326();return _0x4cc5=function(_0x4cc5ba,_0x27827a){_0x4cc5ba=_0x4cc5ba-0x12f;let _0x4a75dc=_0x1326ad[_0x4cc5ba];return _0x4a75dc;},_0x4cc5(_0x6b121d,_0xfd2e29);}const _0x30d04=_0x4cc5;function _0x1326(){const _0x22cd82=['4ivnSEW','18sCzCwE','upper-roman','674482OHHEZI','decimal-leading-zero','decimal','upper-alpha','9418241GciTcm','751554DXtVPd','64193HQtGyp','upper-latin','1610751BKvQFZ','4663792CSoHaA','lower-latin','lower-roman','310YLBHjx','lower-alpha','2542205ajYxDu'];_0x1326=function(){return _0x22cd82;};return _0x1326();}(function(_0x399078,_0x3a117d){const _0x5a4386=_0x4cc5,_0x34150d=_0x399078();while(!![]){try{const _0x1d2bdc=-parseInt(_0x5a4386(0x13c))/0x1+-parseInt(_0x5a4386(0x136))/0x2+parseInt(_0x5a4386(0x13e))/0x3*(-parseInt(_0x5a4386(0x133))/0x4)+parseInt(_0x5a4386(0x132))/0x5*(-parseInt(_0x5a4386(0x134))/0x6)+parseInt(_0x5a4386(0x13a))/0x7+-parseInt(_0x5a4386(0x13f))/0x8+-parseInt(_0x5a4386(0x13b))/0x9*(-parseInt(_0x5a4386(0x130))/0xa);if(_0x1d2bdc===_0x3a117d)break;else _0x34150d['push'](_0x34150d['shift']());}catch(_0x513843){_0x34150d['push'](_0x34150d['shift']());}}}(_0x1326,0xd8acd));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x30d04(0x138),_0x30d04(0x137),_0x30d04(0x140),_0x30d04(0x13d),_0x30d04(0x131),_0x30d04(0x139),_0x30d04(0x12f),_0x30d04(0x135)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x36d6(_0x26cd19,_0x42402f){const _0x185f88=_0x185f();return _0x36d6=function(_0x36d6b2,_0x490b59){_0x36d6b2=_0x36d6b2-0xfd;let _0x18df3b=_0x185f88[_0x36d6b2];return _0x18df3b;},_0x36d6(_0x26cd19,_0x42402f);}const _0x5570d0=_0x36d6;(function(_0x68d246,_0xcfe822){const _0x46e9f0=_0x36d6,_0x1ee853=_0x68d246();while(!![]){try{const _0x2f5d05=-parseInt(_0x46e9f0(0x14b))/0x1+-parseInt(_0x46e9f0(0x113))/0x2+parseInt(_0x46e9f0(0x10a))/0x3*(-parseInt(_0x46e9f0(0x150))/0x4)+-parseInt(_0x46e9f0(0x146))/0x5*(parseInt(_0x46e9f0(0x106))/0x6)+parseInt(_0x46e9f0(0x128))/0x7+-parseInt(_0x46e9f0(0x148))/0x8*(-parseInt(_0x46e9f0(0x152))/0x9)+-parseInt(_0x46e9f0(0x118))/0xa*(-parseInt(_0x46e9f0(0x132))/0xb);if(_0x2f5d05===_0xcfe822)break;else _0x1ee853['push'](_0x1ee853['shift']());}catch(_0x5369fa){_0x1ee853['push'](_0x1ee853['shift']());}}}(_0x185f,0x5487f));import{Plugin as _0x25a32f}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x44acb2}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x59d453}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x5254d1}from'../footnotestracker.js';import{FootnotesEditing as _0x22a92a}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x25a32f{static get[_0x5570d0(0x117)](){const _0x1f998b=_0x5570d0;return _0x1f998b(0x12b);}static get[_0x5570d0(0x140)](){return[_0x22a92a,_0x5254d1];}static get[_0x5570d0(0x15f)](){return!0x0;}static get[_0x5570d0(0x103)](){return!0x0;}[_0x5570d0(0x138)](){const _0x187bdf=_0x5570d0,{editor:_0x3af6e6}=this;_0x3af6e6[_0x187bdf(0x135)][_0x187bdf(0x120)](_0x187bdf(0x12e),_0x187bdf(0x15d)),_0x3af6e6[_0x187bdf(0x135)][_0x187bdf(0x120)](_0x187bdf(0x104),0x1),_0x3af6e6[_0x187bdf(0x14a)][_0x187bdf(0x154)](_0x187bdf(0x110),new _0x44acb2(_0x3af6e6)),_0x3af6e6[_0x187bdf(0x14a)][_0x187bdf(0x154)](_0x187bdf(0x153),new _0x59d453(_0x3af6e6)),this[_0x187bdf(0x108)](),this[_0x187bdf(0x111)](),this[_0x187bdf(0x124)](),this[_0x187bdf(0x13e)]();}[_0x5570d0(0x108)](){const _0x42f441=_0x5570d0,{editor:_0x469904}=this,{schema:_0x134ac8}=_0x469904[_0x42f441(0x119)];_0x134ac8[_0x42f441(0x10b)](_0x42f441(0x116),{'allowAttributes':[_0x42f441(0x134),_0x42f441(0x101)]});}[_0x5570d0(0x111)](){const _0x2474f5=_0x5570d0,{editor:_0x35b455}=this,{conversion:_0x4056e9,model:_0xeee6c3}=_0x35b455,{schema:_0x104d80}=_0xeee6c3;_0x4056e9[_0x2474f5(0x157)](_0x2474f5(0x15a))[_0x2474f5(0x154)](_0x3faac6=>{const _0x58db0c=_0x2474f5;_0x3faac6['on'](_0x58db0c(0x123),(_0x1632cb,_0x66bcb,_0x1561a0)=>{const _0xf915e3=_0x58db0c,_0x33a357=_0x66bcb[_0xf915e3(0x112)],_0xdae1f3=_0x66bcb[_0xf915e3(0x105)]?.[_0xf915e3(0x145)];_0x33a357[_0xf915e3(0x158)](_0xf915e3(0x155))&&_0xdae1f3?.['is'](_0xf915e3(0xff),_0xf915e3(0x116))&&(function(_0x17f990,_0xf1981f,_0x5d8a19,_0x35f654){const _0x13dc85=_0xf915e3;if(!_0x35f654[_0x13dc85(0x151)](_0xf1981f,_0x13dc85(0x101)))return;let _0x280bff=0x1;const _0x1983b6=_0x5d8a19[_0x13dc85(0x14e)][_0x13dc85(0x114)](_0x17f990,{'attributes':_0x13dc85(0x11b)});if(_0x1983b6){const _0x5b0c4b=Number[_0x13dc85(0x10c)](_0x17f990[_0x13dc85(0x107)](_0x13dc85(0x11b)),0xa);Number[_0x13dc85(0x14f)](_0x5b0c4b)||(_0x280bff=_0x5b0c4b);}!_0x1983b6&&_0xf1981f[_0x13dc85(0x161)](_0x13dc85(0x101))||_0x5d8a19[_0x13dc85(0x13d)][_0x13dc85(0x11f)](_0x13dc85(0x101),_0x280bff,_0xf1981f);}(_0x33a357,_0xdae1f3,_0x1561a0,_0x104d80),function(_0x1c5cb8,_0x27fb63,_0x2c826e,_0x2b37d6){const _0xa3c432=_0xf915e3;if(!_0x2b37d6[_0xa3c432(0x151)](_0x27fb63,_0xa3c432(0x134)))return;let _0x569bce=_0xa3c432(0x15d),_0x49462a=!0x1;if(_0x2c826e[_0xa3c432(0x14e)][_0xa3c432(0x114)](_0x1c5cb8,{'attributes':_0xa3c432(0x126)})){const _0x45696b={0x1:_0xa3c432(0x15d),'a':_0xa3c432(0x115),'A':_0xa3c432(0x144),'i':_0xa3c432(0x121),'I':_0xa3c432(0x13b)}[_0x1c5cb8[_0xa3c432(0x107)](_0xa3c432(0x126))];_0x45696b&&(_0x569bce=_0x45696b),_0x49462a=!0x0;}_0x2c826e[_0xa3c432(0x14e)][_0xa3c432(0x114)](_0x1c5cb8,{'styles':_0xa3c432(0x162)})&&(_0x569bce=_0x1c5cb8[_0xa3c432(0x160)](_0xa3c432(0x162)),_0x49462a=!0x0),!_0x49462a&&_0x27fb63[_0xa3c432(0x161)](_0xa3c432(0x134))||_0x2c826e[_0xa3c432(0x13d)][_0xa3c432(0x11f)](_0xa3c432(0x134),_0x569bce,_0x27fb63);}(_0x33a357,_0xdae1f3,_0x1561a0,_0x104d80));});}),_0x4056e9[_0x2474f5(0x157)](_0x2474f5(0x131))[_0x2474f5(0x154)](_0xee0fe6=>{const _0x264f29=_0x2474f5;_0xee0fe6['on'](_0x264f29(0x11d),(_0x5bb770,_0x3de727,_0x3242f3)=>{const _0x1ec369=_0x264f29;if(!_0x3242f3[_0x1ec369(0x14e)][_0x1ec369(0x114)](_0x3de727[_0x1ec369(0x125)],_0x5bb770[_0x1ec369(0x130)]))return;const _0x3b5db9=M(_0x3de727[_0x1ec369(0x125)],_0x3242f3[_0x1ec369(0x14c)]),{attributeNewValue:_0xcd64bc}=_0x3de727;null==_0xcd64bc||0x1===_0xcd64bc?_0x3242f3[_0x1ec369(0x13d)][_0x1ec369(0x11c)](_0x1ec369(0x11b),_0x3b5db9):_0x3242f3[_0x1ec369(0x13d)][_0x1ec369(0x11f)](_0x1ec369(0x11b),String(_0xcd64bc),_0x3b5db9);}),_0xee0fe6['on'](_0x264f29(0x12f),(_0x24b82a,_0x37d378,_0x2fc1c7)=>{const _0x17dc85=_0x264f29;if(!_0x2fc1c7[_0x17dc85(0x14e)][_0x17dc85(0x114)](_0x37d378[_0x17dc85(0x125)],_0x24b82a[_0x17dc85(0x130)]))return;const _0x5275c6=M(_0x37d378[_0x17dc85(0x125)],_0x2fc1c7[_0x17dc85(0x14c)]),{attributeNewValue:_0x43f5d8}=_0x37d378;_0x43f5d8&&_0x17dc85(0x15d)!==_0x43f5d8?_0x2fc1c7[_0x17dc85(0x13d)][_0x17dc85(0x133)](_0x17dc85(0x162),_0x43f5d8,_0x5275c6):_0x2fc1c7[_0x17dc85(0x13d)][_0x17dc85(0x12a)](_0x17dc85(0x162),_0x5275c6);});});}[_0x5570d0(0x13e)](){const _0x5b5945=_0x5570d0,{editor:_0x5eb0f3}=this,{model:_0x50f880}=_0x5eb0f3,_0x5c14be=_0x5eb0f3[_0x5b5945(0x127)][_0x5b5945(0x15b)](_0x5254d1),_0x554a6c=this[_0x5b5945(0x139)](),_0xc0e6b=this[_0x5b5945(0x13a)]();_0x50f880[_0x5b5945(0x10f)][_0x5b5945(0x100)](_0x5c7205=>{const _0x38606c=_0x5b5945,_0x52f7cc=_0x50f880[_0x38606c(0x10f)][_0x38606c(0x137)][_0x38606c(0x109)]();let _0x52e027=!0x1;for(const _0x37ddc8 of _0x52f7cc){if(_0x38606c(0x129)!==_0x37ddc8[_0x38606c(0x126)]||_0x38606c(0x147)===_0x37ddc8[_0x38606c(0x130)])continue;const _0x55954d=_0x50f880[_0x38606c(0x12c)](_0x37ddc8[_0x38606c(0x11e)][_0x38606c(0x15e)]);for(const _0x36132b of _0x55954d[_0x38606c(0x12d)]())_0x36132b['is'](_0x38606c(0xff),_0x38606c(0x116))&&(!_0x36132b[_0x38606c(0x161)](_0x38606c(0x101))&&_0x50f880[_0x38606c(0x159)][_0x38606c(0x151)](_0x36132b,_0x38606c(0x101))&&(_0x5c7205[_0x38606c(0x11f)](_0x38606c(0x101),_0xc0e6b,_0x36132b),_0x52e027=!0x0),!_0x36132b[_0x38606c(0x161)](_0x38606c(0x134))&&_0x50f880[_0x38606c(0x159)][_0x38606c(0x151)](_0x36132b,_0x38606c(0x134))&&(_0x5c7205[_0x38606c(0x11f)](_0x38606c(0x134),_0x554a6c,_0x36132b),_0x52e027=!0x0));}return _0x52e027&&_0x5c14be[_0x38606c(0x13c)](_0x5c7205),_0x52e027;});}[_0x5570d0(0x124)](){const _0x41d084=_0x5570d0,{editor:_0x5d5bf7}=this;_0x5d5bf7[_0x41d084(0x127)][_0x41d084(0x15b)](_0x5254d1)[_0x41d084(0xfd)](_0x3f00b8=>this[_0x41d084(0x11a)](_0x3f00b8));}[_0x5570d0(0x139)](){const _0x1f33ba=_0x5570d0;return this[_0x1f33ba(0x102)][_0x1f33ba(0x135)][_0x1f33ba(0x15b)](_0x1f33ba(0x12e));}[_0x5570d0(0x13a)](){const _0x338abc=_0x5570d0;return this[_0x338abc(0x102)][_0x338abc(0x135)][_0x338abc(0x15b)](_0x338abc(0x104));}[_0x5570d0(0x11a)]({container:_0x5d34b1,value:_0x5beb58,digits:_0x47039c}){const _0xcb161a=_0x5570d0,_0x1c69ba=_0x5d34b1[_0xcb161a(0x107)](_0xcb161a(0x134)),_0x25dd19=_0x5d34b1[_0xcb161a(0x107)](_0xcb161a(0x101)),_0x361d74=Math[_0xcb161a(0x14d)](_0x5beb58)+(_0x25dd19??0x1)-0x1;switch(_0x1c69ba){case _0xcb161a(0x10d):return function(_0x5ab0b1,_0x50d028){const _0x46f470=_0xcb161a;return String(_0x5ab0b1)[_0x46f470(0x143)](_0x50d028,'0');}(_0x361d74,Math[_0xcb161a(0x13f)](0x2,_0x47039c));case _0xcb161a(0x115):case _0xcb161a(0x156):return N(_0x361d74,!0x1);case _0xcb161a(0x144):case _0xcb161a(0xfe):return N(_0x361d74,!0x0);case _0xcb161a(0x121):return X(_0x361d74,!0x1);case _0xcb161a(0x13b):return X(_0x361d74,!0x0);default:return String(_0x361d74);}}}function M(_0x2b0be4,_0x436be3){const _0x5d0b98=_0x5570d0,_0x5a29b3=_0x436be3[_0x5d0b98(0x142)](_0x2b0be4);return Array[_0x5d0b98(0x10e)](_0x5a29b3[_0x5d0b98(0x149)]())[_0x5d0b98(0x141)](_0x5e8890=>_0x5e8890['is'](_0x5d0b98(0xff),'ol')&&_0x5e8890[_0x5d0b98(0x158)](_0x5d0b98(0x155)));}function N(_0x3b1100,_0x10741c){const _0x2b49b5=_0x5570d0;let _0x4c0843='',_0x5718e0=_0x3b1100;for(;_0x5718e0>0x0;){const _0x19a27e=(_0x5718e0-0x1)%0x1a;_0x4c0843=String[_0x2b49b5(0x122)](0x61+_0x19a27e)+_0x4c0843,_0x5718e0=Math[_0x2b49b5(0x14d)]((_0x5718e0-0x1)/0x1a);}return _0x10741c?_0x4c0843[_0x2b49b5(0x15c)]():_0x4c0843;}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 _0x185f(){const _0xcb79fa=['getAttribute','_defineSchema','getChanges','3aCeIeX','extend','parseInt','decimal-leading-zero','from','document','footnotesStyle','_defineConverters','viewItem','1038540TqNJcQ','consume','lower-alpha','footnotesDefinitions','pluginName','12105440aFEhCh','model','_formatFootnoteListValue','start','removeAttribute','attribute:footnotesListStart:footnotesDefinitions','position','setAttribute','define','lower-roman','fromCharCode','element:ol','_defineFormatter','item','type','plugins','393358tNaHsR','insert','removeStyle','FootnotesPropertiesEditing','createRangeOn','getItems','footnotes.footnotesProperties.defaultListStyle','attribute:footnotesListStyle:footnotesDefinitions','name','downcast','11vtJWmh','setStyle','footnotesListStyle','config','toLowerCase','differ','init','_getDefaultListStyle','_getDefaultStartIndex','upper-roman','_updateFootnotesCounters','writer','_definePostfixer','max','requires','find','toViewElement','padStart','upper-alpha','parent','10XhoRNq','$text','4936016SBGFkO','getChildren','commands','463990fkRtbg','mapper','floor','consumable','isNaN','566156RharKo','checkAttribute','9XMUFgJ','footnotesStart','add','footnotes-list','lower-latin','for','hasClass','schema','upcast','get','toUpperCase','decimal','nodeAfter','isOfficialPlugin','getStyle','hasAttribute','list-style-type','setFootnoteFormatter','upper-latin','element','registerPostFixer','footnotesListStart','editor','isPremiumPlugin','footnotes.footnotesProperties.defaultStartIndex','modelCursor','1238106yXgBWS'];_0x185f=function(){return _0xcb79fa;};return _0x185f();}function X(_0x44c6cd,_0x270ce6){const _0x98f8b4=_0x5570d0;let _0x2d8828='',_0x19b591=_0x44c6cd;for(const {value:_0x238ef5,numeral:_0x3374dc}of V)for(;_0x19b591>=_0x238ef5;)_0x2d8828+=_0x3374dc,_0x19b591-=_0x238ef5;return _0x270ce6?_0x2d8828:_0x2d8828[_0x98f8b4(0x136)]();}
|
|
23
|
+
function _0x5772(){const _0xf4f31=['plugins','config','createRangeOn','isPremiumPlugin','footnotes-list','fromCharCode','footnotesStart','viewItem','12IzVGsH','editor','isOfficialPlugin','footnotesStyle','FootnotesPropertiesEditing','find','decimal','define','setStyle','from','parseInt','getItems','padStart','hasClass','consume','consumable','upper-latin','removeAttribute','downcast','floor','270126gJHBqd','element:ol','pluginName','_definePostfixer','getStyle','writer','differ','upcast','max','registerPostFixer','insert','_formatFootnoteListValue','removeStyle','744666tbTBnG','860671LWzEtx','attribute:footnotesListStart:footnotesDefinitions','_getDefaultStartIndex','$text','8TDKSix','add','upper-alpha','setAttribute','toViewElement','decimal-leading-zero','extend','_defineSchema','_getDefaultListStyle','getChildren','get','name','item','setFootnoteFormatter','lower-latin','document','footnotesDefinitions','isNaN','_defineConverters','schema','130THuDpM','lower-roman','getAttribute','mapper','footnotesListStyle','requires','getChanges','toUpperCase','300424nCuMAf','nodeAfter','start','attribute:footnotesListStyle:footnotesDefinitions','type','checkAttribute','upper-roman','lower-alpha','footnotes.footnotesProperties.defaultStartIndex','1539138xIngDw','modelCursor','_defineFormatter','commands','footnotes.footnotesProperties.defaultListStyle','model','init','789020yLXbGP','position','hasAttribute','list-style-type','toLowerCase','footnotesListStart','_updateFootnotesCounters','for','parent','442473YYnwab','element'];_0x5772=function(){return _0xf4f31;};return _0x5772();}const _0x56f9e4=_0x7d5d;(function(_0x4833bf,_0x40db50){const _0x326422=_0x7d5d,_0x526ecb=_0x4833bf();while(!![]){try{const _0xcde9f0=-parseInt(_0x326422(0x93))/0x1+parseInt(_0x326422(0xbe))/0x2+parseInt(_0x326422(0x83))/0x3+-parseInt(_0x326422(0x7a))/0x4+-parseInt(_0x326422(0x8a))/0x5*(parseInt(_0x326422(0x9d))/0x6)+-parseInt(_0x326422(0xbf))/0x7*(parseInt(_0x326422(0xc3))/0x8)+parseInt(_0x326422(0xb1))/0x9*(parseInt(_0x326422(0x72))/0xa);if(_0xcde9f0===_0x40db50)break;else _0x526ecb['push'](_0x526ecb['shift']());}catch(_0x21343e){_0x526ecb['push'](_0x526ecb['shift']());}}}(_0x5772,0x4dfbd));function _0x7d5d(_0x566b4c,_0x3f5601){const _0x5772a2=_0x5772();return _0x7d5d=function(_0x7d5d7a,_0x1a455c){_0x7d5d7a=_0x7d5d7a-0x6d;let _0x5c89fa=_0x5772a2[_0x7d5d7a];return _0x5c89fa;},_0x7d5d(_0x566b4c,_0x3f5601);}import{Plugin as _0x1b4932}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x200d6e}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x59ab41}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x134d7e}from'../footnotestracker.js';import{FootnotesEditing as _0x279494}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x1b4932{static get[_0x56f9e4(0xb3)](){const _0x34e624=_0x56f9e4;return _0x34e624(0xa1);}static get[_0x56f9e4(0x77)](){return[_0x279494,_0x134d7e];}static get[_0x56f9e4(0x9f)](){return!0x0;}static get[_0x56f9e4(0x98)](){return!0x0;}[_0x56f9e4(0x89)](){const _0x42cbea=_0x56f9e4,{editor:_0x315177}=this;_0x315177[_0x42cbea(0x96)][_0x42cbea(0xa4)](_0x42cbea(0x87),_0x42cbea(0xa3)),_0x315177[_0x42cbea(0x96)][_0x42cbea(0xa4)](_0x42cbea(0x82),0x1),_0x315177[_0x42cbea(0x86)][_0x42cbea(0xc4)](_0x42cbea(0xa0),new _0x200d6e(_0x315177)),_0x315177[_0x42cbea(0x86)][_0x42cbea(0xc4)](_0x42cbea(0x9b),new _0x59ab41(_0x315177)),this[_0x42cbea(0xca)](),this[_0x42cbea(0x70)](),this[_0x42cbea(0x85)](),this[_0x42cbea(0xb4)]();}[_0x56f9e4(0xca)](){const _0x14887c=_0x56f9e4,{editor:_0x1eb08d}=this,{schema:_0x40ac1d}=_0x1eb08d[_0x14887c(0x88)];_0x40ac1d[_0x14887c(0xc9)](_0x14887c(0x6e),{'allowAttributes':[_0x14887c(0x76),_0x14887c(0x8f)]});}[_0x56f9e4(0x70)](){const _0xa2fbcc=_0x56f9e4,{editor:_0x36dfc8}=this,{conversion:_0xb1d7aa,model:_0x372a62}=_0x36dfc8,{schema:_0x303845}=_0x372a62;_0xb1d7aa[_0xa2fbcc(0x91)](_0xa2fbcc(0xb8))[_0xa2fbcc(0xc4)](_0x2953e9=>{const _0x565004=_0xa2fbcc;_0x2953e9['on'](_0x565004(0xb2),(_0x33f9ef,_0x8c163b,_0x26a7e5)=>{const _0xc0e334=_0x565004,_0x2b2e8f=_0x8c163b[_0xc0e334(0x9c)],_0x1b2525=_0x8c163b[_0xc0e334(0x84)]?.[_0xc0e334(0x92)];_0x2b2e8f[_0xc0e334(0xaa)](_0xc0e334(0x99))&&_0x1b2525?.['is'](_0xc0e334(0x94),_0xc0e334(0x6e))&&(function(_0x9a6dca,_0x1f2f8b,_0x408e62,_0x5641d2){const _0x1e7d9e=_0xc0e334;if(!_0x5641d2[_0x1e7d9e(0x7f)](_0x1f2f8b,_0x1e7d9e(0x8f)))return;let _0x2ec728=0x1;const _0x5e39ce=_0x408e62[_0x1e7d9e(0xac)][_0x1e7d9e(0xab)](_0x9a6dca,{'attributes':_0x1e7d9e(0x7c)});if(_0x5e39ce){const _0x4377c2=Number[_0x1e7d9e(0xa7)](_0x9a6dca[_0x1e7d9e(0x74)](_0x1e7d9e(0x7c)),0xa);Number[_0x1e7d9e(0x6f)](_0x4377c2)||(_0x2ec728=_0x4377c2);}!_0x5e39ce&&_0x1f2f8b[_0x1e7d9e(0x8c)](_0x1e7d9e(0x8f))||_0x408e62[_0x1e7d9e(0xb6)][_0x1e7d9e(0xc6)](_0x1e7d9e(0x8f),_0x2ec728,_0x1f2f8b);}(_0x2b2e8f,_0x1b2525,_0x26a7e5,_0x303845),function(_0x59cc66,_0x3ad76a,_0x5746d9,_0x3007f6){const _0x565ca0=_0xc0e334;if(!_0x3007f6[_0x565ca0(0x7f)](_0x3ad76a,_0x565ca0(0x76)))return;let _0x20f7db=_0x565ca0(0xa3),_0x222e30=!0x1;if(_0x5746d9[_0x565ca0(0xac)][_0x565ca0(0xab)](_0x59cc66,{'attributes':_0x565ca0(0x7e)})){const _0x2ea328={0x1:_0x565ca0(0xa3),'a':_0x565ca0(0x81),'A':_0x565ca0(0xc5),'i':_0x565ca0(0x73),'I':_0x565ca0(0x80)}[_0x59cc66[_0x565ca0(0x74)](_0x565ca0(0x7e))];_0x2ea328&&(_0x20f7db=_0x2ea328),_0x222e30=!0x0;}_0x5746d9[_0x565ca0(0xac)][_0x565ca0(0xab)](_0x59cc66,{'styles':_0x565ca0(0x8d)})&&(_0x20f7db=_0x59cc66[_0x565ca0(0xb5)](_0x565ca0(0x8d)),_0x222e30=!0x0),!_0x222e30&&_0x3ad76a[_0x565ca0(0x8c)](_0x565ca0(0x76))||_0x5746d9[_0x565ca0(0xb6)][_0x565ca0(0xc6)](_0x565ca0(0x76),_0x20f7db,_0x3ad76a);}(_0x2b2e8f,_0x1b2525,_0x26a7e5,_0x303845));});}),_0xb1d7aa[_0xa2fbcc(0x91)](_0xa2fbcc(0xaf))[_0xa2fbcc(0xc4)](_0x113aaf=>{const _0x3b0742=_0xa2fbcc;_0x113aaf['on'](_0x3b0742(0xc0),(_0x1e8fd9,_0x27b355,_0xcb7f3e)=>{const _0x548494=_0x3b0742;if(!_0xcb7f3e[_0x548494(0xac)][_0x548494(0xab)](_0x27b355[_0x548494(0xcf)],_0x1e8fd9[_0x548494(0xce)]))return;const _0x54a9b5=M(_0x27b355[_0x548494(0xcf)],_0xcb7f3e[_0x548494(0x75)]),{attributeNewValue:_0x27c757}=_0x27b355;null==_0x27c757||0x1===_0x27c757?_0xcb7f3e[_0x548494(0xb6)][_0x548494(0xae)](_0x548494(0x7c),_0x54a9b5):_0xcb7f3e[_0x548494(0xb6)][_0x548494(0xc6)](_0x548494(0x7c),String(_0x27c757),_0x54a9b5);}),_0x113aaf['on'](_0x3b0742(0x7d),(_0x2c23d0,_0x1eb83f,_0x50a1)=>{const _0x421f04=_0x3b0742;if(!_0x50a1[_0x421f04(0xac)][_0x421f04(0xab)](_0x1eb83f[_0x421f04(0xcf)],_0x2c23d0[_0x421f04(0xce)]))return;const _0x5e5525=M(_0x1eb83f[_0x421f04(0xcf)],_0x50a1[_0x421f04(0x75)]),{attributeNewValue:_0x238322}=_0x1eb83f;_0x238322&&_0x421f04(0xa3)!==_0x238322?_0x50a1[_0x421f04(0xb6)][_0x421f04(0xa5)](_0x421f04(0x8d),_0x238322,_0x5e5525):_0x50a1[_0x421f04(0xb6)][_0x421f04(0xbd)](_0x421f04(0x8d),_0x5e5525);});});}[_0x56f9e4(0xb4)](){const _0x461105=_0x56f9e4,{editor:_0x4af64a}=this,{model:_0x495afa}=_0x4af64a,_0x4285dc=_0x4af64a[_0x461105(0x95)][_0x461105(0xcd)](_0x134d7e),_0x2e4ae1=this[_0x461105(0xcb)](),_0x2e95c7=this[_0x461105(0xc1)]();_0x495afa[_0x461105(0x6d)][_0x461105(0xba)](_0x5c2a6f=>{const _0x1518a6=_0x461105,_0x41968b=_0x495afa[_0x1518a6(0x6d)][_0x1518a6(0xb7)][_0x1518a6(0x78)]();let _0x2df10b=!0x1;for(const _0x2b86ba of _0x41968b){if(_0x1518a6(0xbb)!==_0x2b86ba[_0x1518a6(0x7e)]||_0x1518a6(0xc2)===_0x2b86ba[_0x1518a6(0xce)])continue;const _0x5789a4=_0x495afa[_0x1518a6(0x97)](_0x2b86ba[_0x1518a6(0x8b)][_0x1518a6(0x7b)]);for(const _0x332e5e of _0x5789a4[_0x1518a6(0xa8)]())_0x332e5e['is'](_0x1518a6(0x94),_0x1518a6(0x6e))&&(!_0x332e5e[_0x1518a6(0x8c)](_0x1518a6(0x8f))&&_0x495afa[_0x1518a6(0x71)][_0x1518a6(0x7f)](_0x332e5e,_0x1518a6(0x8f))&&(_0x5c2a6f[_0x1518a6(0xc6)](_0x1518a6(0x8f),_0x2e95c7,_0x332e5e),_0x2df10b=!0x0),!_0x332e5e[_0x1518a6(0x8c)](_0x1518a6(0x76))&&_0x495afa[_0x1518a6(0x71)][_0x1518a6(0x7f)](_0x332e5e,_0x1518a6(0x76))&&(_0x5c2a6f[_0x1518a6(0xc6)](_0x1518a6(0x76),_0x2e4ae1,_0x332e5e),_0x2df10b=!0x0));}return _0x2df10b&&_0x4285dc[_0x1518a6(0x90)](_0x5c2a6f),_0x2df10b;});}[_0x56f9e4(0x85)](){const _0x3e6d7e=_0x56f9e4,{editor:_0xae8939}=this;_0xae8939[_0x3e6d7e(0x95)][_0x3e6d7e(0xcd)](_0x134d7e)[_0x3e6d7e(0xd0)](_0x34ea02=>this[_0x3e6d7e(0xbc)](_0x34ea02));}[_0x56f9e4(0xcb)](){const _0x4743ce=_0x56f9e4;return this[_0x4743ce(0x9e)][_0x4743ce(0x96)][_0x4743ce(0xcd)](_0x4743ce(0x87));}[_0x56f9e4(0xc1)](){const _0x2c80f0=_0x56f9e4;return this[_0x2c80f0(0x9e)][_0x2c80f0(0x96)][_0x2c80f0(0xcd)](_0x2c80f0(0x82));}[_0x56f9e4(0xbc)]({container:_0xb5e62a,value:_0x4c239c,digits:_0x208968}){const _0x2ead0b=_0x56f9e4,_0x2da82d=_0xb5e62a[_0x2ead0b(0x74)](_0x2ead0b(0x76)),_0x2d0979=_0xb5e62a[_0x2ead0b(0x74)](_0x2ead0b(0x8f)),_0x410dc4=Math[_0x2ead0b(0xb0)](_0x4c239c)+(_0x2d0979??0x1)-0x1;switch(_0x2da82d){case _0x2ead0b(0xc8):return function(_0x28529b,_0x183c5c){const _0xead71c=_0x2ead0b;return String(_0x28529b)[_0xead71c(0xa9)](_0x183c5c,'0');}(_0x410dc4,Math[_0x2ead0b(0xb9)](0x2,_0x208968));case _0x2ead0b(0x81):case _0x2ead0b(0xd1):return N(_0x410dc4,!0x1);case _0x2ead0b(0xc5):case _0x2ead0b(0xad):return N(_0x410dc4,!0x0);case _0x2ead0b(0x73):return X(_0x410dc4,!0x1);case _0x2ead0b(0x80):return X(_0x410dc4,!0x0);default:return String(_0x410dc4);}}}function M(_0x18a2ac,_0x28248f){const _0x1d000d=_0x56f9e4,_0x202712=_0x28248f[_0x1d000d(0xc7)](_0x18a2ac);return Array[_0x1d000d(0xa6)](_0x202712[_0x1d000d(0xcc)]())[_0x1d000d(0xa2)](_0x1edc07=>_0x1edc07['is'](_0x1d000d(0x94),'ol')&&_0x1edc07[_0x1d000d(0xaa)](_0x1d000d(0x99)));}function N(_0x4e64bd,_0x5e763f){const _0x559549=_0x56f9e4;let _0x4cd4d5='',_0x4d5448=_0x4e64bd;for(;_0x4d5448>0x0;){const _0x1a4f09=(_0x4d5448-0x1)%0x1a;_0x4cd4d5=String[_0x559549(0x9a)](0x61+_0x1a4f09)+_0x4cd4d5,_0x4d5448=Math[_0x559549(0xb0)]((_0x4d5448-0x1)/0x1a);}return _0x5e763f?_0x4cd4d5[_0x559549(0x79)]():_0x4cd4d5;}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(_0x2e0ac1,_0x2de9d2){const _0x445939=_0x56f9e4;let _0x153a70='',_0x4914b=_0x2e0ac1;for(const {value:_0x417a8e,numeral:_0x3c8846}of V)for(;_0x4914b>=_0x417a8e;)_0x153a70+=_0x3c8846,_0x4914b-=_0x417a8e;return _0x2de9d2?_0x153a70:_0x153a70[_0x445939(0x8e)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x38e497,ButtonView as _0x2db432,ContextualBalloon as _0x35c1ca,createDropdown as _0x7c216b}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x4298bf}from'ckeditor5/src/widget.js';import{Plugin as _0x221544}from'ckeditor5/src/core.js';import{IconFootnote as _0x1b309f,IconListStyleDecimal as _0x2fd836,IconListStyleDecimalLeadingZero as _0x374516,IconListStyleLowerLatin as _0xf4b304,IconListStyleLowerRoman as _0x5f08d6,IconListStyleUpperLatin as _0x38268b,IconListStyleUpperRoman as _0x39bbec}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x2da96f}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x4bda97}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x221544{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x35c1ca,_0x4298bf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x18cd68}=this,{componentFactory:_0x5218d0}=_0x18cd68['ui'];_0x18cd68['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x5218d0['add']('footnotesStyle',function(_0x25cee6){return _0x3e7484=>{const {t:t}=_0x3e7484,_0x586092=_0x25cee6['commands']['get']('footnotesStyle'),_0x7b6217=_0x7c216b(_0x3e7484),{buttonView:_0xcce846}=_0x7b6217;return _0x7b6217['class']='ck-footnotes-styles-dropdown',_0x7b6217['bind']('isEnabled')['to'](_0x586092,'isEnabled'),_0xcce846['set']({'label':t('Footnotes\x20style'),'icon':_0x1b309f,'tooltip':!0x0}),_0x7b6217['once']('change:isOpen',()=>{const _0x2a452c=function({editor:_0x3068d8,dropdownView:_0x3a1f47}){const {t:t}=_0x3068d8['locale'],_0x1bc790=t('Footnotes\x20definitions\x20styles'),_0x1352e9=function(_0x390adc){const t=_0x390adc['locale']['t'],_0xe11082=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2fd836},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x374516},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5f08d6},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x39bbec},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0xf4b304},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x38268b}];return _0xe11082['map'](function(_0x2effe9){const _0x257573=_0x2effe9['locale'];return({label:_0x104bb6,icon:_0x2662b8,tooltip:_0x5667a2,style:_0xf3037})=>{const _0x20fe83=_0x2effe9['commands']['get']('footnotesStyle'),_0x2e4bcd=new _0x2db432(_0x257573);return _0x2e4bcd['set']({'label':_0x104bb6,'icon':_0x2662b8,'tooltip':_0x5667a2}),_0x2e4bcd['bind']('isOn')['to'](_0x20fe83,'value',_0x567c56=>_0x567c56===_0xf3037),_0x2e4bcd['bind']('isEnabled')['to'](_0x20fe83,'isEnabled'),_0x2e4bcd['on']('execute',()=>{_0x2effe9['execute']('footnotesStyle',{'value':_0xf3037}),_0x2effe9['editing']['view']['focus']();}),_0x2e4bcd;};}(_0x390adc));}(_0x3068d8),_0x2329c3=new _0x2da96f(_0x3068d8['locale'],{'styleGridAriaLabel':_0x1bc790,'styleButtonViews':_0x1352e9});return _0x2329c3['delegate']('execute')['to'](_0x3a1f47),_0x2329c3['on']('footnotesListStart',(_0x31aa95,_0x22acb7)=>{_0x3068d8['execute']('footnotesStart',{'value':_0x22acb7['startIndex']});}),_0x2329c3;}({'editor':_0x25cee6,'dropdownView':_0x7b6217});_0x7b6217['panelView']['children']['add'](_0x2a452c);}),_0x7b6217;};}(_0x18cd68));}['afterInit'](){const {editor:_0x2187d5}=this,{t:t}=_0x2187d5['locale'],_0x35376d=_0x2187d5['plugins']['get'](_0x4298bf),{defaultPositions:_0x71f906}=_0x38e497;_0x35376d['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2187d5['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x109dad=>{let _0x2cb243=_0x109dad['getFirstPosition']()?.['parent'];return _0x2cb243?.['is']('$text')&&(_0x2cb243=_0x2cb243['parent']),_0x2cb243?.['is']('element')?_0x2cb243['findAncestor'](_0x4bda97):null;},'positions':[_0x71f906['southArrowNorth'],_0x71f906['southArrowNorthMiddleWest'],_0x71f906['southArrowNorthMiddleEast'],_0x71f906['southArrowNorthWest'],_0x71f906['southArrowNorthEast'],_0x71f906['northArrowSouth'],_0x71f906['northArrowSouthMiddleWest'],_0x71f906['northArrowSouthMiddleEast'],_0x71f906['northArrowSouthWest'],_0x71f906['northArrowSouthEast'],_0x71f906['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x2f7204,View as _0x135d41,ViewCollection as _0x5100c9,FocusCycler as _0x44410a,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 _0x135d41{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x5100c9();['focusCycler'];constructor(_0x22e624,{styleButtonViews:_0x5bf98e,styleGridAriaLabel:_0x1b1387}){super(_0x22e624),(this['focusCycler']=new _0x44410a({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x5bf98e,_0x1b1387),[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 _0x53f72b of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x53f72b['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 _0x4b4a5f=_0x3f4cdc=>_0x3f4cdc['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4b4a5f),this['keystrokes']['set']('arrowleft',_0x4b4a5f),this['keystrokes']['set']('arrowup',_0x4b4a5f),this['keystrokes']['set']('arrowdown',_0x4b4a5f);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x289120,_0x11ed78){const _0x4fd184=new _0x135d41(this['locale']);return _0x4fd184['children']=_0x4fd184['createCollection'](),_0x4fd184['children']['addMany'](_0x289120),_0x4fd184['setTemplate']({'tag':'div','attributes':{'aria-label':_0x11ed78,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4fd184['children']}),_0x4fd184['children']['delegate']('execute')['to'](this),_0x4fd184['focus']=function(){for(const _0xe25a44 of this['children'])if(_0xe25a44 instanceof _0x2f7204&&_0xe25a44['isOn'])return void _0xe25a44['focus']();this['children']['first']['focus']();},_0x4fd184['focusTracker']=new ot(),_0x4fd184['keystrokes']=new rt(),_0x4fd184['render'](),_0x4fd184['keystrokes']['listenTo'](_0x4fd184['element']),this['children']['add'](_0x4fd184),_0x4fd184;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5ca18f=this['_createStartIndexPropertyView'](),_0xc84602=[_0x5ca18f],_0x881a62=new st(this['locale'],_0xc84602);return _0x881a62['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x881a62['buttonView']['bind']('isEnabled')['toMany'](_0xc84602,'isEnabled',(..._0x192f16)=>_0x192f16['some'](_0x501319=>_0x501319)),_0x881a62['buttonView']['on']('change:isEnabled',(_0x53c5c0,_0x1b3327,_0x242994)=>{_0x242994||(_0x881a62['isCollapsed']=!0x0);}),this['children']['add'](_0x881a62),[_0x5ca18f,_0x881a62];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4e2fd8=new it(this['locale'],et);return _0x4e2fd8['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4e2fd8['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4e2fd8['fieldView']['on']('input',()=>{const _0x319d5c=_0x4e2fd8['fieldView']['element'],_0x453b8c=_0x319d5c['valueAsNumber'];Number['isNaN'](_0x453b8c)?_0x4e2fd8['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x319d5c['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x453b8c}):_0x4e2fd8['errorText']=t(_0x453b8c<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4e2fd8;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x50eede=_0x4ac6;(function(_0x522c63,_0x59dfbe){var _0x351314=_0x4ac6,_0x322c95=_0x522c63();while(!![]){try{var _0x377467=-parseInt(_0x351314(0xd3))/0x1+parseInt(_0x351314(0xd0))/0x2+-parseInt(_0x351314(0xd8))/0x3+parseInt(_0x351314(0xd6))/0x4+parseInt(_0x351314(0xda))/0x5*(-parseInt(_0x351314(0xd9))/0x6)+parseInt(_0x351314(0xcd))/0x7+parseInt(_0x351314(0xd1))/0x8*(parseInt(_0x351314(0xcf))/0x9);if(_0x377467===_0x59dfbe)break;else _0x322c95['push'](_0x322c95['shift']());}catch(_0x5be2ad){_0x322c95['push'](_0x322c95['shift']());}}}(_0x2a52,0xcf4eb));function _0x4ac6(_0x4d356e,_0x376951){var _0x2a52df=_0x2a52();return _0x4ac6=function(_0x4ac6c5,_0x100afb){_0x4ac6c5=_0x4ac6c5-0xcd;var _0x8b4659=_0x2a52df[_0x4ac6c5];return _0x8b4659;},_0x4ac6(_0x4d356e,_0x376951);}import{Plugin as _0x2f1022}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x11ffdf}from'./footnotesproperties/footnotespropertiesediting.js';function _0x2a52(){var _0x2edbe4=['5mUDuRO','2784082VthJFZ','pluginName','13194477vXcakU','650512ECbPYR','8chPpwL','requires','914368PTdBGm','FootnotesProperties','isOfficialPlugin','4746448ADHvgh','isPremiumPlugin','4454511tiyVgS','763866LsUQrb'];_0x2a52=function(){return _0x2edbe4;};return _0x2a52();}import{FootnotesPropertiesUI as _0x351ef3}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x2f1022{static get[_0x50eede(0xce)](){var _0xe39ec6=_0x50eede;return _0xe39ec6(0xd4);}static get[_0x50eede(0xd2)](){return[_0x11ffdf,_0x351ef3];}static get[_0x50eede(0xd5)](){return!0x0;}static get[_0x50eede(0xd7)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x584ec0=_0x292d;(function(_0x336349,_0x42739f){const _0x1a973a=_0x292d,_0x13996c=_0x336349();while(!![]){try{const _0x430a7d=parseInt(_0x1a973a(0x1b5))/0x1+parseInt(_0x1a973a(0x19d))/0x2*(parseInt(_0x1a973a(0x18f))/0x3)+parseInt(_0x1a973a(0x1aa))/0x4*(parseInt(_0x1a973a(0x19f))/0x5)+parseInt(_0x1a973a(0x17c))/0x6+-parseInt(_0x1a973a(0x1a5))/0x7+parseInt(_0x1a973a(0x1c3))/0x8+-parseInt(_0x1a973a(0x1bb))/0x9;if(_0x430a7d===_0x42739f)break;else _0x13996c['push'](_0x13996c['shift']());}catch(_0x199c81){_0x13996c['push'](_0x13996c['shift']());}}}(_0x30b4,0x1f068));import{Plugin as _0x54b784}from'ckeditor5/src/core.js';function _0x30b4(){const _0x409a19=['footnoteRef','setFootnoteFormatter','footnotesDefinitions','4pPhrCx','push','after','remove','footnotes.multiBlock','$graveyard','_handleFootnotesDefinitionsObjectChanges','isEqual','_ensureFootnotesDefinitionsContainerExists','footnoteDefinition','getChanges','138005WqBTGg','get','_footnotesDefinitions','_insertEmptyFootnotesDefinitionsContainer','footnoteInlineContent','editor','3722787PUPlCC','find','compareWith','childCount','high','model','document','getFootnotesDefinitionsObjectElement','31224zPvWTx','move','config','reference','set','min','getFootnote','differ','from','footnoteId','add','indexOf','init','change:data','map','pluginName','_footnoteRefsTracker','_handleRemoveFootnoteReferenceById','end','createRangeOn','some','_updateFootnotesCounters','singleton','paragraph','getFootnotes','_handleFootnoteReferencesChanges','_sortFootnoteDefinitions','enqueueChange','createPositionBefore','976620OMcTAX','_footnoteDefsTracker','parent','setAttribute','createRangeIn','registerPostFixer','footnoteCounter','insert','isPremiumPlugin','_handleInsertedFootnoteReference','_handleFootnoteDefinitionsChanges','isOfficialPlugin','definition','listenTo','rootName','root','has','FootnotesTracker','findIndex','3KYvsRb','unshift','_footnotes','low','_ensureFootnotesReferencesHaveProperOrder','getRootNames','getChildren','_footnoteDefsContainerTracker','append','getAttribute','createPositionAt','_handleMovedFootnoteReference','_handleFootnotesDefinitionsObjectSync','reset','81766hBaMZh','splice','1016035YMsNrD','length','getFootnotesFormatter','createElement','before','_footnoteFormatter','56315OctbiW','_updateFootnoteRefCounter'];_0x30b4=function(){return _0x409a19;};return _0x30b4();}import{ModelElementTracker as _0x4cc8bd}from'./modelelementtracker.js';export class FootnotesTracker extends _0x54b784{[_0x584ec0(0x191)]=[];[_0x584ec0(0x1b7)]=null;[_0x584ec0(0x1a4)]=null;[_0x584ec0(0x196)];[_0x584ec0(0x1d3)];[_0x584ec0(0x17d)];static get[_0x584ec0(0x1d2)](){const _0x47fd07=_0x584ec0;return _0x47fd07(0x18d);}static get[_0x584ec0(0x187)](){return!0x0;}static get[_0x584ec0(0x184)](){return!0x0;}constructor(_0x2dc42c){const _0x54861c=_0x584ec0;super(_0x2dc42c),this[_0x54861c(0x196)]=new _0x4cc8bd(this[_0x54861c(0x1ba)][_0x54861c(0x1c0)],{'elementName':_0x54861c(0x1a9),'getElementKey':()=>_0x54861c(0x1d9)}),this[_0x54861c(0x1d3)]=new _0x4cc8bd(this[_0x54861c(0x1ba)][_0x54861c(0x1c0)],{'elementName':_0x54861c(0x1a7),'getElementKey':_0x38f5b9=>_0x38f5b9[_0x54861c(0x198)](_0x54861c(0x1cc))}),this[_0x54861c(0x17d)]=new _0x4cc8bd(this[_0x54861c(0x1ba)][_0x54861c(0x1c0)],{'elementName':_0x54861c(0x1b3),'getElementKey':_0x428399=>_0x428399[_0x54861c(0x198)](_0x54861c(0x1cc))});}[_0x584ec0(0x1cf)](){const _0x245bfd=_0x584ec0,{editor:_0x44c886}=this,{model:_0x5d4c66,data:_0x4e3831}=_0x44c886;_0x5d4c66[_0x245bfd(0x1c1)][_0x245bfd(0x181)](_0x4d5d39=>{const _0x1c75d6=_0x245bfd,_0x4e408a=_0x5d4c66[_0x1c75d6(0x1c1)][_0x1c75d6(0x1ca)][_0x1c75d6(0x1b4)]();let _0xf3849=!0x1;return this[_0x1c75d6(0x1b0)](_0x4d5d39,_0x4e408a)&&(_0xf3849=!0x0),this[_0x1c75d6(0x186)](_0x4d5d39,_0x4e408a)&&(_0xf3849=!0x0),this[_0x1c75d6(0x1dc)](_0x4d5d39,_0x4e408a)&&(_0xf3849=!0x0),this[_0x1c75d6(0x193)](_0x4d5d39)&&(_0xf3849=!0x0),this[_0x1c75d6(0x19b)](_0x4d5d39)&&(_0xf3849=!0x0),this[_0x1c75d6(0x1dd)](_0x4d5d39)&&(_0xf3849=!0x0),_0xf3849;}),this[_0x245bfd(0x189)](_0x5d4c66[_0x245bfd(0x1c1)],_0x245bfd(0x1d0),()=>{const _0x44b892=_0x245bfd;_0x5d4c66[_0x44b892(0x17a)]({'isUndoable':!0x1},_0x470787=>{const _0x2898eb=_0x44b892;this[_0x2898eb(0x1b2)](_0x470787);});},{'priority':_0x245bfd(0x192)}),this[_0x245bfd(0x189)](_0x4e3831,_0x245bfd(0x1c7),()=>{const _0x5630bc=_0x245bfd;this[_0x5630bc(0x191)]=[],this[_0x5630bc(0x196)][_0x5630bc(0x19c)](),this[_0x5630bc(0x1d3)][_0x5630bc(0x19c)](),this[_0x5630bc(0x17d)][_0x5630bc(0x19c)]();},{'priority':_0x245bfd(0x1bf)});}[_0x584ec0(0x1c2)](){const _0xe3b9e=_0x584ec0;return this[_0xe3b9e(0x1b7)];}[_0x584ec0(0x1c9)](_0x32cacf){const _0x353f45=_0x584ec0;return this[_0x353f45(0x191)][_0x353f45(0x1bc)](_0x2383ad=>_0x2383ad['id']===_0x32cacf)||null;}[_0x584ec0(0x1db)](){const _0x42cf28=_0x584ec0;return Array[_0x42cf28(0x1cb)](this[_0x42cf28(0x191)]);}[_0x584ec0(0x1a1)](){const _0x3f79da=_0x584ec0;return this[_0x3f79da(0x1a4)];}[_0x584ec0(0x1a8)](_0x2881c1){const _0x50ba8e=_0x584ec0;this[_0x50ba8e(0x1a4)]=_0x2881c1;}[_0x584ec0(0x1d8)](_0x112948,_0x457cf9=0x0){const _0x54c606=_0x584ec0;let _0x21dcd9=!0x1;for(let _0x1e8982=_0x457cf9;_0x1e8982<this[_0x54c606(0x191)][_0x54c606(0x1a0)];_0x1e8982++)this[_0x54c606(0x1a6)](_0x112948,_0x1e8982)&&(_0x21dcd9=!0x0);return _0x21dcd9;}[_0x584ec0(0x1b8)](_0x2652ea,_0x50af7b){const _0x4c072a=_0x584ec0,_0x5169ff=_0x2652ea[_0x4c072a(0x1a2)](_0x4c072a(0x1a9),{});return _0x2652ea[_0x4c072a(0x197)](_0x5169ff,_0x50af7b),this[_0x4c072a(0x1b7)]=_0x5169ff,_0x5169ff;}[_0x584ec0(0x1b2)](_0xaaaf3f){const _0x150d2f=_0x584ec0;if(!this[_0x150d2f(0x191)][_0x150d2f(0x1a0)]||this[_0x150d2f(0x1b7)])return;const _0x1505c5=this[_0x150d2f(0x191)][0x0][_0x150d2f(0x1c6)][_0x150d2f(0x18b)],_0x681af5=this[_0x150d2f(0x1b8)](_0xaaaf3f,_0x1505c5);for(const _0x14b041 of this[_0x150d2f(0x191)])_0x14b041[_0x150d2f(0x188)][_0x150d2f(0x17e)]||_0xaaaf3f[_0x150d2f(0x183)](_0x14b041[_0x150d2f(0x188)],_0x681af5,_0x150d2f(0x1d5));this[_0x150d2f(0x1d8)](_0xaaaf3f);}[_0x584ec0(0x1b0)](_0x475fed,_0x418fb8){const _0x126b93=_0x584ec0;let _0x5a7227=!0x1;const {inserted:_0x289fce,removed:_0x418c13,moved:_0x194620}=this[_0x126b93(0x196)][_0x126b93(0x1b4)](_0x418fb8);if(_0x194620[_0x126b93(0x1a0)]&&(this[_0x126b93(0x1b7)]=_0x194620[0x0]),_0x289fce[_0x126b93(0x1a0)]){if(_0x289fce[_0x126b93(0x1a0)]>0x1||this[_0x126b93(0x1b7)]&&_0x289fce[_0x126b93(0x1d7)](_0xceb231=>_0xceb231!==this[_0x126b93(0x1b7)])){const _0x58fcfd=_0x475fed[_0x126b93(0x1a2)](_0x126b93(0x1a9),{}),_0x42d676=[];this[_0x126b93(0x1b7)]&&_0x42d676[_0x126b93(0x1ab)](this[_0x126b93(0x1b7)]),_0x42d676[_0x126b93(0x1ab)](..._0x289fce),_0x475fed[_0x126b93(0x183)](_0x58fcfd,_0x42d676[0x0],_0x126b93(0x1a3));for(const _0x582f3b of _0x42d676)_0x475fed[_0x126b93(0x1c4)](_0x475fed[_0x126b93(0x180)](_0x582f3b),_0x475fed[_0x126b93(0x199)](_0x58fcfd,_0x126b93(0x1d5))),_0x475fed[_0x126b93(0x1ad)](_0x582f3b);this[_0x126b93(0x1b7)]=_0x58fcfd,this[_0x126b93(0x1d8)](_0x475fed),_0x5a7227=!0x0;}else this[_0x126b93(0x1b7)]=_0x289fce[0x0];}if(_0x418c13[_0x126b93(0x1a0)]&&_0x126b93(0x1af)===this[_0x126b93(0x1b7)]?.[_0x126b93(0x18b)][_0x126b93(0x18a)]){for(const _0xb44259 of this[_0x126b93(0x191)])_0x475fed[_0x126b93(0x1ad)](_0xb44259[_0x126b93(0x1c6)]),_0x5a7227=!0x0;this[_0x126b93(0x191)]=[],this[_0x126b93(0x1b7)]=null;}return _0x5a7227;}[_0x584ec0(0x186)](_0x18257e,_0x5cb7d7){const _0x10524f=_0x584ec0;let _0x4b9b10=!0x1;const _0x346cd8=this[_0x10524f(0x1ba)][_0x10524f(0x1c5)][_0x10524f(0x1b6)](_0x10524f(0x1ae)),{inserted:_0x175508,moved:_0x51f065}=this[_0x10524f(0x17d)][_0x10524f(0x1b4)](_0x5cb7d7);for(const _0x5696cf of[..._0x51f065,..._0x175508]){const _0x573322=_0x5696cf[_0x10524f(0x198)](_0x10524f(0x1cc)),_0x59a7dc=this[_0x10524f(0x1c9)](_0x573322);_0x59a7dc&&(_0x59a7dc[_0x10524f(0x188)]=_0x5696cf),_(_0x18257e,_0x346cd8,_0x5696cf)&&(_0x4b9b10=!0x0);}return _0x4b9b10;}[_0x584ec0(0x1dc)](_0x299ad2,_0xf177e9){const _0xd0dabf=_0x584ec0;let _0x3b0344=!0x1;const {removed:_0x5b4437,inserted:_0x461857,moved:_0x25856f}=this[_0xd0dabf(0x1d3)][_0xd0dabf(0x1b4)](_0xf177e9);for(const _0x2cf3bb of _0x5b4437)this[_0xd0dabf(0x1d4)](_0x299ad2,_0x2cf3bb)&&(_0x3b0344=!0x0);for(const _0xe9030d of _0x461857)this[_0xd0dabf(0x185)](_0x299ad2,_0xe9030d)&&(_0x3b0344=!0x0);for(const _0x484833 of _0x25856f)this[_0xd0dabf(0x19a)](_0x299ad2,_0x484833)&&(_0x3b0344=!0x0);return _0x3b0344;}[_0x584ec0(0x19b)](_0x494c82){const _0x193392=_0x584ec0;if(!this[_0x193392(0x1b7)])return!0x1;let _0x2d779c=!0x1;if(this[_0x193392(0x1b7)][_0x193392(0x1be)]!==this[_0x193392(0x191)][_0x193392(0x1a0)]){const _0x4cb0ef=[];for(const _0x158840 of this[_0x193392(0x1b7)][_0x193392(0x195)]()){const _0xb2949e=_0x158840[_0x193392(0x198)](_0x193392(0x1cc));this[_0x193392(0x1c9)](_0xb2949e)||(_0x4cb0ef[_0x193392(0x190)](_0x158840),_0x2d779c=!0x0);}for(const _0x39954e of _0x4cb0ef)_0x494c82[_0x193392(0x1ad)](_0x39954e);}const _0x246352=new Set(),_0x479887=[];for(const _0x57fcca of this[_0x193392(0x1b7)][_0x193392(0x195)]()){const _0x47f904=_0x57fcca[_0x193392(0x198)](_0x193392(0x1cc));_0x246352[_0x193392(0x18c)](_0x47f904)?(_0x479887[_0x193392(0x190)](_0x57fcca),_0x2d779c=!0x0):_0x246352[_0x193392(0x1cd)](_0x47f904);}for(const _0x217682 of _0x479887)_0x494c82[_0x193392(0x1ad)](_0x217682);return this[_0x193392(0x1b7)][_0x193392(0x1be)]||(_0x494c82[_0x193392(0x1ad)](this[_0x193392(0x1b7)]),this[_0x193392(0x1b7)]=null,_0x2d779c=!0x0),_0x2d779c;}[_0x584ec0(0x185)](_0xf21eb2,_0x241866){const _0x4d92f2=_0x584ec0;if(this[_0x4d92f2(0x191)][_0x4d92f2(0x1bc)](_0xeeef50=>_0xeeef50[_0x4d92f2(0x1c6)]===_0x241866))return!0x1;let _0xa1ea72=!0x1;const _0x1bcc9a=_0x241866[_0x4d92f2(0x198)](_0x4d92f2(0x1cc)),_0x1747de=this[_0x4d92f2(0x191)][_0x4d92f2(0x18e)](_0x457872=>_0x457872['id']===_0x1bcc9a);-0x1!==_0x1747de&&(_0xf21eb2[_0x4d92f2(0x1ad)](this[_0x4d92f2(0x191)][_0x1747de][_0x4d92f2(0x1c6)]),this[_0x4d92f2(0x191)][_0x4d92f2(0x19e)](_0x1747de,0x1),_0xa1ea72=!0x0);let _0x13cef9=this[_0x4d92f2(0x1b7)]?function(_0x73b890,_0x138b4d){const _0x35ca69=_0x4d92f2;for(const _0x2a37e3 of _0x73b890[_0x35ca69(0x195)]())if(_0x2a37e3[_0x35ca69(0x198)](_0x35ca69(0x1cc))===_0x138b4d)return _0x2a37e3;return null;}(this[_0x4d92f2(0x1b7)],_0x1bcc9a):null;_0x13cef9||(_0x13cef9=_0xf21eb2[_0x4d92f2(0x1a2)](_0x4d92f2(0x1b3),{'footnoteId':_0x1bcc9a}),this[_0x4d92f2(0x1b7)]&&(_0xf21eb2[_0x4d92f2(0x183)](_0x13cef9,this[_0x4d92f2(0x1b7)],_0x4d92f2(0x1d5)),_0xa1ea72=!0x0));const _0x1ae71e={'id':_0x1bcc9a,'reference':_0x241866,'definition':_0x13cef9},_0x4e0fc5=I(this[_0x4d92f2(0x1ba)][_0x4d92f2(0x1c0)],this[_0x4d92f2(0x191)],_0x241866);this[_0x4d92f2(0x191)][_0x4d92f2(0x19e)](_0x4e0fc5,0x0,_0x1ae71e);let _0x5b750b=_0x4e0fc5;return-0x1!==_0x1747de&&(_0x5b750b=Math[_0x4d92f2(0x1c8)](_0x4e0fc5,_0x1747de)),this[_0x4d92f2(0x1d8)](_0xf21eb2,_0x5b750b)&&(_0xa1ea72=!0x0),_0xa1ea72;}[_0x584ec0(0x1d4)](_0x3b5d6a,_0x58beef){const _0xca4755=_0x584ec0,_0x11de26=this[_0xca4755(0x191)][_0xca4755(0x18e)](_0x40a7cc=>_0x40a7cc['id']===_0x58beef);if(-0x1===_0x11de26)return!0x1;let _0x4c20a7=!0x1;const _0x117952=this[_0xca4755(0x191)][_0x11de26];return _0xca4755(0x1af)!==_0x117952[_0xca4755(0x188)][_0xca4755(0x18b)][_0xca4755(0x18a)]&&(_0x3b5d6a[_0xca4755(0x1ad)](_0x117952[_0xca4755(0x188)]),_0x4c20a7=!0x0),this[_0xca4755(0x191)][_0xca4755(0x19e)](_0x11de26,0x1),this[_0xca4755(0x1d8)](_0x3b5d6a,_0x11de26)&&(_0x4c20a7=!0x0),_0x4c20a7;}[_0x584ec0(0x19a)](_0x23f318,_0x4ed9d9){const _0x246de0=_0x584ec0,_0x579d82=_0x4ed9d9[_0x246de0(0x198)](_0x246de0(0x1cc)),_0x526377=this[_0x246de0(0x191)][_0x246de0(0x18e)](_0x2a2df0=>_0x2a2df0['id']===_0x579d82),_0x326e15=this[_0x246de0(0x191)][_0x526377];let _0x17e44e=!0x1;_0x326e15[_0x246de0(0x1c6)]=_0x4ed9d9,this[_0x246de0(0x191)][_0x246de0(0x19e)](_0x526377,0x1);const _0x3a90ce=I(this[_0x246de0(0x1ba)][_0x246de0(0x1c0)],this[_0x246de0(0x191)],_0x4ed9d9);return this[_0x246de0(0x191)][_0x246de0(0x19e)](_0x3a90ce,0x0,_0x326e15),this[_0x246de0(0x1d8)](_0x23f318,Math[_0x246de0(0x1c8)](_0x526377,_0x3a90ce))&&(_0x17e44e=!0x0),_0x17e44e;}[_0x584ec0(0x1a6)](_0x5c80ab,_0x7bc70c){const _0x27edb9=_0x584ec0;if(!this[_0x27edb9(0x1b7)])return!0x1;const _0x1ad8fa=this[_0x27edb9(0x191)][_0x7bc70c];let _0x39222a;return _0x39222a=this[_0x27edb9(0x1a4)]?this[_0x27edb9(0x1a4)]({'footnote':_0x1ad8fa,'container':this[_0x27edb9(0x1b7)],'digits':String(this[_0x27edb9(0x191)][_0x27edb9(0x1a0)])[_0x27edb9(0x1a0)],'value':_0x7bc70c+0x1}):String(_0x7bc70c+0x1),_0x1ad8fa[_0x27edb9(0x1c6)][_0x27edb9(0x198)](_0x27edb9(0x182))!=_0x39222a&&(_0x5c80ab[_0x27edb9(0x17f)](_0x27edb9(0x182),_0x39222a,_0x1ad8fa[_0x27edb9(0x1c6)]),!0x0);}[_0x584ec0(0x1dd)](_0x117a26){const _0x437f34=_0x584ec0;if(!this[_0x437f34(0x1b7)]||this[_0x437f34(0x191)][_0x437f34(0x1a0)]<0x2)return!0x1;if(function(_0x46132d,_0x4112ad){const _0x500aa6=_0x437f34;if(_0x46132d[_0x500aa6(0x1a0)]!==_0x4112ad[_0x500aa6(0x1a0)])return!0x1;for(let _0x452bae=0x0;_0x452bae<_0x46132d[_0x500aa6(0x1a0)];_0x452bae++)if(_0x46132d[_0x452bae]!==_0x4112ad[_0x452bae])return!0x1;return!0x0;}(this[_0x437f34(0x191)][_0x437f34(0x1d1)](_0x36416d=>_0x36416d['id']),Array[_0x437f34(0x1cb)](this[_0x437f34(0x1b7)][_0x437f34(0x195)]())[_0x437f34(0x1d1)](_0x494ff9=>_0x494ff9[_0x437f34(0x198)](_0x437f34(0x1cc)))))return!0x1;let _0x4ee93c=!0x1;for(let _0x4ae516=0x0;_0x4ae516<this[_0x437f34(0x191)][_0x437f34(0x1a0)];_0x4ae516++){const _0x4087bd=this[_0x437f34(0x191)][_0x4ae516],_0x3dc096=_0x117a26[_0x437f34(0x17b)](_0x4087bd[_0x437f34(0x188)]),_0x3e8ff4=_0x117a26[_0x437f34(0x199)](this[_0x437f34(0x1b7)],_0x4ae516);_0x3dc096[_0x437f34(0x1b1)](_0x3e8ff4)||(_0x117a26[_0x437f34(0x1c4)](_0x117a26[_0x437f34(0x1d6)](_0x4087bd[_0x437f34(0x188)]),_0x3e8ff4),_0x4ee93c=!0x0);}return _0x4ee93c;}[_0x584ec0(0x193)](_0x4b7ec4){const _0x173919=_0x584ec0;if(!this[_0x173919(0x191)][_0x173919(0x1a0)])return!0x1;const {model:_0x5b8493}=this[_0x173919(0x1ba)];let _0x359a40=!0x1;for(let _0xf85d81=0x0;_0xf85d81<this[_0x173919(0x191)][_0x173919(0x1a0)]-0x1;_0xf85d81++){const _0x4910b3=this[_0x173919(0x191)][_0xf85d81],_0x25a1ad=this[_0x173919(0x191)][_0xf85d81+0x1],_0x1442c1=_0x5b8493[_0x173919(0x17b)](_0x4910b3[_0x173919(0x1c6)]),_0x432d32=_0x5b8493[_0x173919(0x17b)](_0x25a1ad[_0x173919(0x1c6)]);_0x173919(0x1ac)===_0x1442c1[_0x173919(0x1bd)](_0x432d32)&&(this[_0x173919(0x19a)](_0x4b7ec4,_0x4910b3[_0x173919(0x1c6)]),_0xf85d81=-0x1,_0x359a40=!0x0);}return _0x359a40;}}function _(_0x1dd544,_0x15eaaf,_0x1c1a2a){const _0xb8241a=_0x584ec0;if(_0x1c1a2a[_0xb8241a(0x1be)])return!0x1;const _0x1ccbce=_0x15eaaf?_0xb8241a(0x1da):_0xb8241a(0x1b9);return _0x1dd544[_0xb8241a(0x183)](_0x1dd544[_0xb8241a(0x1a2)](_0x1ccbce),_0x1c1a2a),!0x0;}function _0x292d(_0x2159a3,_0x3e6b76){const _0x30b45d=_0x30b4();return _0x292d=function(_0x292de9,_0x13558c){_0x292de9=_0x292de9-0x17a;let _0x7ec890=_0x30b45d[_0x292de9];return _0x7ec890;},_0x292d(_0x2159a3,_0x3e6b76);}function I(_0x100668,_0x124a6f,_0x4d3417){const _0x3f2997=_0x584ec0;if(0x0===_0x124a6f[_0x3f2997(0x1a0)])return 0x0;const _0x5c9fee=_0x100668[_0x3f2997(0x17b)](_0x4d3417);for(let _0x4e1e4c=0x0;_0x4e1e4c<_0x124a6f[_0x3f2997(0x1a0)];_0x4e1e4c++){const _0x2c3448=_0x124a6f[_0x4e1e4c],_0x226fca=_0x100668[_0x3f2997(0x17b)](_0x2c3448[_0x3f2997(0x1c6)]);if(_0x3f2997(0x1a3)===_0x5c9fee[_0x3f2997(0x1bd)](_0x226fca))return _0x4e1e4c;}const _0x2be977=_0x4d3417[_0x3f2997(0x18b)];let _0x53e11c=-0x1;for(let _0x360b2c=_0x124a6f[_0x3f2997(0x1a0)]-0x1;_0x360b2c>=0x0;_0x360b2c--)if(_0x124a6f[_0x360b2c][_0x3f2997(0x1c6)][_0x3f2997(0x18b)]===_0x2be977){_0x53e11c=_0x360b2c;break;}if(-0x1!==_0x53e11c)return _0x53e11c+0x1;const _0xa65d34=_0x100668[_0x3f2997(0x1c1)][_0x3f2997(0x194)](),_0x5390e9=_0xa65d34[_0x3f2997(0x1ce)](_0x2be977[_0x3f2997(0x18a)]),_0x643125=_0xa65d34[_0x5390e9+0x1];if(_0x643125){for(let _0x2ae4be=0x0;_0x2ae4be<_0x124a6f[_0x3f2997(0x1a0)];_0x2ae4be++)if(_0x124a6f[_0x2ae4be][_0x3f2997(0x1c6)][_0x3f2997(0x18b)][_0x3f2997(0x18a)]===_0x643125)return _0x2ae4be;}return _0x124a6f[_0x3f2997(0x1a0)];}
|
|
23
|
+
const _0x3d1882=_0x14de;(function(_0x3d2919,_0x125f8e){const _0x5abd9a=_0x14de,_0x47ab1c=_0x3d2919();while(!![]){try{const _0x522a80=parseInt(_0x5abd9a(0x191))/0x1*(parseInt(_0x5abd9a(0x183))/0x2)+-parseInt(_0x5abd9a(0x1c3))/0x3+parseInt(_0x5abd9a(0x19b))/0x4*(-parseInt(_0x5abd9a(0x182))/0x5)+parseInt(_0x5abd9a(0x1c4))/0x6*(-parseInt(_0x5abd9a(0x1b1))/0x7)+parseInt(_0x5abd9a(0x1bc))/0x8+-parseInt(_0x5abd9a(0x1d1))/0x9*(-parseInt(_0x5abd9a(0x1a5))/0xa)+-parseInt(_0x5abd9a(0x1a0))/0xb;if(_0x522a80===_0x125f8e)break;else _0x47ab1c['push'](_0x47ab1c['shift']());}catch(_0x3441c2){_0x47ab1c['push'](_0x47ab1c['shift']());}}}(_0x3867,0x6e867));function _0x14de(_0x157473,_0x43564c){const _0x3867fc=_0x3867();return _0x14de=function(_0x14de21,_0x5b4697){_0x14de21=_0x14de21-0x16f;let _0x19c831=_0x3867fc[_0x14de21];return _0x19c831;},_0x14de(_0x157473,_0x43564c);}import{Plugin as _0x4d0ddb}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x1d5a0b}from'./modelelementtracker.js';export class FootnotesTracker extends _0x4d0ddb{[_0x3d1882(0x195)]=[];[_0x3d1882(0x170)]=null;[_0x3d1882(0x180)]=null;[_0x3d1882(0x176)];[_0x3d1882(0x185)];[_0x3d1882(0x1a4)];static get[_0x3d1882(0x188)](){const _0x5474ef=_0x3d1882;return _0x5474ef(0x186);}static get[_0x3d1882(0x193)](){return!0x0;}static get[_0x3d1882(0x1cf)](){return!0x0;}constructor(_0x122781){const _0x2cb3ff=_0x3d1882;super(_0x122781),this[_0x2cb3ff(0x176)]=new _0x1d5a0b(this[_0x2cb3ff(0x1c8)][_0x2cb3ff(0x178)],{'elementName':_0x2cb3ff(0x1a7),'getElementKey':()=>_0x2cb3ff(0x179)}),this[_0x2cb3ff(0x185)]=new _0x1d5a0b(this[_0x2cb3ff(0x1c8)][_0x2cb3ff(0x178)],{'elementName':_0x2cb3ff(0x1c5),'getElementKey':_0x1af50d=>_0x1af50d[_0x2cb3ff(0x172)](_0x2cb3ff(0x1c9))}),this[_0x2cb3ff(0x1a4)]=new _0x1d5a0b(this[_0x2cb3ff(0x1c8)][_0x2cb3ff(0x178)],{'elementName':_0x2cb3ff(0x1bf),'getElementKey':_0x138845=>_0x138845[_0x2cb3ff(0x172)](_0x2cb3ff(0x1c9))});}[_0x3d1882(0x1b3)](){const _0x56f880=_0x3d1882,{editor:_0x13252a}=this,{model:_0xce54c2,data:_0x77bd8}=_0x13252a;_0xce54c2[_0x56f880(0x194)][_0x56f880(0x17e)](_0xbdb0ca=>{const _0x72c82e=_0x56f880,_0x5d1cbe=_0xce54c2[_0x72c82e(0x194)][_0x72c82e(0x181)][_0x72c82e(0x1a6)]();let _0x5800ad=!0x1;return this[_0x72c82e(0x1ad)](_0xbdb0ca,_0x5d1cbe)&&(_0x5800ad=!0x0),this[_0x72c82e(0x184)](_0xbdb0ca,_0x5d1cbe)&&(_0x5800ad=!0x0),this[_0x72c82e(0x18a)](_0xbdb0ca,_0x5d1cbe)&&(_0x5800ad=!0x0),this[_0x72c82e(0x1c6)](_0xbdb0ca)&&(_0x5800ad=!0x0),this[_0x72c82e(0x18d)](_0xbdb0ca)&&(_0x5800ad=!0x0),this[_0x72c82e(0x171)](_0xbdb0ca)&&(_0x5800ad=!0x0),_0x5800ad;}),this[_0x56f880(0x1aa)](_0xce54c2[_0x56f880(0x194)],_0x56f880(0x175),()=>{const _0x7adcca=_0x56f880;_0xce54c2[_0x7adcca(0x19f)]({'isUndoable':!0x1},_0xb06617=>{const _0x22dac0=_0x7adcca;this[_0x22dac0(0x1d4)](_0xb06617);});},{'priority':_0x56f880(0x19c)}),this[_0x56f880(0x1aa)](_0x77bd8,_0x56f880(0x197),()=>{const _0x53a3da=_0x56f880;this[_0x53a3da(0x195)]=[],this[_0x53a3da(0x176)][_0x53a3da(0x177)](),this[_0x53a3da(0x185)][_0x53a3da(0x177)](),this[_0x53a3da(0x1a4)][_0x53a3da(0x177)]();},{'priority':_0x56f880(0x1a9)});}[_0x3d1882(0x1a1)](){const _0xd3df8c=_0x3d1882;return this[_0xd3df8c(0x170)];}[_0x3d1882(0x199)](_0x337df0){const _0x52b150=_0x3d1882;return this[_0x52b150(0x195)][_0x52b150(0x1c7)](_0x597ff2=>_0x597ff2['id']===_0x337df0)||null;}[_0x3d1882(0x1ca)](){const _0x44aa20=_0x3d1882;return Array[_0x44aa20(0x1b0)](this[_0x44aa20(0x195)]);}[_0x3d1882(0x173)](){const _0xd6832d=_0x3d1882;return this[_0xd6832d(0x180)];}[_0x3d1882(0x198)](_0x54c6be){const _0x522f4a=_0x3d1882;this[_0x522f4a(0x180)]=_0x54c6be;}[_0x3d1882(0x196)](_0x3c207a,_0xe7a39e=0x0){const _0x3e65d1=_0x3d1882;let _0x58a086=!0x1;for(let _0x2c1c25=_0xe7a39e;_0x2c1c25<this[_0x3e65d1(0x195)][_0x3e65d1(0x1c0)];_0x2c1c25++)this[_0x3e65d1(0x17d)](_0x3c207a,_0x2c1c25)&&(_0x58a086=!0x0);return _0x58a086;}[_0x3d1882(0x1cc)](_0x37afa6,_0x27e559){const _0x358d30=_0x3d1882,_0x2ddd36=_0x37afa6[_0x358d30(0x189)](_0x358d30(0x1a7),{});return _0x37afa6[_0x358d30(0x18b)](_0x2ddd36,_0x27e559),this[_0x358d30(0x170)]=_0x2ddd36,_0x2ddd36;}[_0x3d1882(0x1d4)](_0x231412){const _0x28b2b8=_0x3d1882;if(!this[_0x28b2b8(0x195)][_0x28b2b8(0x1c0)]||this[_0x28b2b8(0x170)])return;const _0xe94eb9=this[_0x28b2b8(0x195)][0x0][_0x28b2b8(0x17b)][_0x28b2b8(0x17a)],_0x1279b9=this[_0x28b2b8(0x1cc)](_0x231412,_0xe94eb9);for(const _0x2f69a1 of this[_0x28b2b8(0x195)])_0x2f69a1[_0x28b2b8(0x1b9)][_0x28b2b8(0x18f)]||_0x231412[_0x28b2b8(0x1cb)](_0x2f69a1[_0x28b2b8(0x1b9)],_0x1279b9,_0x28b2b8(0x18c));this[_0x28b2b8(0x196)](_0x231412);}[_0x3d1882(0x1ad)](_0x39631a,_0x75e50f){const _0x549dfc=_0x3d1882;let _0x1d42d6=!0x1;const {inserted:_0x1c6209,removed:_0x5cc781,moved:_0x599c10}=this[_0x549dfc(0x176)][_0x549dfc(0x1a6)](_0x75e50f);if(_0x599c10[_0x549dfc(0x1c0)]&&(this[_0x549dfc(0x170)]=_0x599c10[0x0]),_0x1c6209[_0x549dfc(0x1c0)]){if(_0x1c6209[_0x549dfc(0x1c0)]>0x1||this[_0x549dfc(0x170)]&&_0x1c6209[_0x549dfc(0x1a2)](_0x174c31=>_0x174c31!==this[_0x549dfc(0x170)])){const _0x19beb5=_0x39631a[_0x549dfc(0x189)](_0x549dfc(0x1a7),{}),_0x505f1a=[];this[_0x549dfc(0x170)]&&_0x505f1a[_0x549dfc(0x1ab)](this[_0x549dfc(0x170)]),_0x505f1a[_0x549dfc(0x1ab)](..._0x1c6209),_0x39631a[_0x549dfc(0x1cb)](_0x19beb5,_0x505f1a[0x0],_0x549dfc(0x16f));for(const _0x2a50ee of _0x505f1a)_0x39631a[_0x549dfc(0x1b5)](_0x39631a[_0x549dfc(0x1af)](_0x2a50ee),_0x39631a[_0x549dfc(0x19e)](_0x19beb5,_0x549dfc(0x18c))),_0x39631a[_0x549dfc(0x1ae)](_0x2a50ee);this[_0x549dfc(0x170)]=_0x19beb5,this[_0x549dfc(0x196)](_0x39631a),_0x1d42d6=!0x0;}else this[_0x549dfc(0x170)]=_0x1c6209[0x0];}if(_0x5cc781[_0x549dfc(0x1c0)]&&_0x549dfc(0x1ac)===this[_0x549dfc(0x170)]?.[_0x549dfc(0x17a)][_0x549dfc(0x1b2)]){for(const _0x212955 of this[_0x549dfc(0x195)])_0x39631a[_0x549dfc(0x1ae)](_0x212955[_0x549dfc(0x17b)]),_0x1d42d6=!0x0;this[_0x549dfc(0x195)]=[],this[_0x549dfc(0x170)]=null;}return _0x1d42d6;}[_0x3d1882(0x184)](_0x3fd99d,_0xcc8148){const _0x408386=_0x3d1882;let _0x2b4042=!0x1;const _0xac5e09=this[_0x408386(0x1c8)][_0x408386(0x19a)][_0x408386(0x1c1)](_0x408386(0x1ce)),{inserted:_0x25d1a8,moved:_0x2f471e}=this[_0x408386(0x1a4)][_0x408386(0x1a6)](_0xcc8148);for(const _0x4afa01 of[..._0x2f471e,..._0x25d1a8]){const _0x392faa=_0x4afa01[_0x408386(0x172)](_0x408386(0x1c9)),_0x1fd172=this[_0x408386(0x199)](_0x392faa);_0x1fd172&&(_0x1fd172[_0x408386(0x1b9)]=_0x4afa01),_(_0x3fd99d,_0xac5e09,_0x4afa01)&&(_0x2b4042=!0x0);}return _0x2b4042;}[_0x3d1882(0x18a)](_0x14c8a1,_0x1602f6){const _0x36c2f9=_0x3d1882;let _0x25ef6a=!0x1;const {removed:_0x1f2f48,inserted:_0xbb15ca,moved:_0x51d16a}=this[_0x36c2f9(0x185)][_0x36c2f9(0x1a6)](_0x1602f6);for(const _0x3e9177 of _0x1f2f48)this[_0x36c2f9(0x1d2)](_0x14c8a1,_0x3e9177)&&(_0x25ef6a=!0x0);for(const _0x2feac1 of _0xbb15ca)this[_0x36c2f9(0x1a8)](_0x14c8a1,_0x2feac1)&&(_0x25ef6a=!0x0);for(const _0x51964f of _0x51d16a)this[_0x36c2f9(0x19d)](_0x14c8a1,_0x51964f)&&(_0x25ef6a=!0x0);return _0x25ef6a;}[_0x3d1882(0x18d)](_0x4cfbb5){const _0x196814=_0x3d1882;if(!this[_0x196814(0x170)])return!0x1;let _0x497948=!0x1;if(this[_0x196814(0x170)][_0x196814(0x192)]!==this[_0x196814(0x195)][_0x196814(0x1c0)]){const _0x2eacd7=[];for(const _0x1f3ac0 of this[_0x196814(0x170)][_0x196814(0x1d0)]()){const _0x41c8ca=_0x1f3ac0[_0x196814(0x172)](_0x196814(0x1c9));this[_0x196814(0x199)](_0x41c8ca)||(_0x2eacd7[_0x196814(0x1cd)](_0x1f3ac0),_0x497948=!0x0);}for(const _0x4bc675 of _0x2eacd7)_0x4cfbb5[_0x196814(0x1ae)](_0x4bc675);}const _0x17dcab=new Set(),_0x4e8b97=[];for(const _0x107826 of this[_0x196814(0x170)][_0x196814(0x1d0)]()){const _0x2b74b5=_0x107826[_0x196814(0x172)](_0x196814(0x1c9));_0x17dcab[_0x196814(0x1ba)](_0x2b74b5)?(_0x4e8b97[_0x196814(0x1cd)](_0x107826),_0x497948=!0x0):_0x17dcab[_0x196814(0x1b7)](_0x2b74b5);}for(const _0x4b0079 of _0x4e8b97)_0x4cfbb5[_0x196814(0x1ae)](_0x4b0079);return this[_0x196814(0x170)][_0x196814(0x192)]||(_0x4cfbb5[_0x196814(0x1ae)](this[_0x196814(0x170)]),this[_0x196814(0x170)]=null,_0x497948=!0x0),_0x497948;}[_0x3d1882(0x1a8)](_0x3f64f7,_0x1c2929){const _0x21bd92=_0x3d1882;if(this[_0x21bd92(0x195)][_0x21bd92(0x1c7)](_0x295650=>_0x295650[_0x21bd92(0x17b)]===_0x1c2929))return!0x1;let _0x4f71fc=!0x1;const _0x316a37=_0x1c2929[_0x21bd92(0x172)](_0x21bd92(0x1c9)),_0x489621=this[_0x21bd92(0x195)][_0x21bd92(0x1bb)](_0x4e94d5=>_0x4e94d5['id']===_0x316a37);-0x1!==_0x489621&&(_0x3f64f7[_0x21bd92(0x1ae)](this[_0x21bd92(0x195)][_0x489621][_0x21bd92(0x17b)]),this[_0x21bd92(0x195)][_0x21bd92(0x1a3)](_0x489621,0x1),_0x4f71fc=!0x0);let _0x33590e=this[_0x21bd92(0x170)]?function(_0x322677,_0x2ad13f){const _0x6b2ef4=_0x21bd92;for(const _0x27ee3a of _0x322677[_0x6b2ef4(0x1d0)]())if(_0x27ee3a[_0x6b2ef4(0x172)](_0x6b2ef4(0x1c9))===_0x2ad13f)return _0x27ee3a;return null;}(this[_0x21bd92(0x170)],_0x316a37):null;_0x33590e||(_0x33590e=_0x3f64f7[_0x21bd92(0x189)](_0x21bd92(0x1bf),{'footnoteId':_0x316a37}),this[_0x21bd92(0x170)]&&(_0x3f64f7[_0x21bd92(0x1cb)](_0x33590e,this[_0x21bd92(0x170)],_0x21bd92(0x18c)),_0x4f71fc=!0x0));const _0x41c2f5={'id':_0x316a37,'reference':_0x1c2929,'definition':_0x33590e},_0x27c173=I(this[_0x21bd92(0x1c8)][_0x21bd92(0x178)],this[_0x21bd92(0x195)],_0x1c2929);this[_0x21bd92(0x195)][_0x21bd92(0x1a3)](_0x27c173,0x0,_0x41c2f5);let _0x280b8a=_0x27c173;return-0x1!==_0x489621&&(_0x280b8a=Math[_0x21bd92(0x1b8)](_0x27c173,_0x489621)),this[_0x21bd92(0x196)](_0x3f64f7,_0x280b8a)&&(_0x4f71fc=!0x0),_0x4f71fc;}[_0x3d1882(0x1d2)](_0x49b2df,_0x44b5f6){const _0x1a0726=_0x3d1882,_0x17212d=this[_0x1a0726(0x195)][_0x1a0726(0x1bb)](_0x5e7956=>_0x5e7956['id']===_0x44b5f6);if(-0x1===_0x17212d)return!0x1;let _0x58546b=!0x1;const _0x1e240a=this[_0x1a0726(0x195)][_0x17212d];return _0x1a0726(0x1ac)!==_0x1e240a[_0x1a0726(0x1b9)][_0x1a0726(0x17a)][_0x1a0726(0x1b2)]&&(_0x49b2df[_0x1a0726(0x1ae)](_0x1e240a[_0x1a0726(0x1b9)]),_0x58546b=!0x0),this[_0x1a0726(0x195)][_0x1a0726(0x1a3)](_0x17212d,0x1),this[_0x1a0726(0x196)](_0x49b2df,_0x17212d)&&(_0x58546b=!0x0),_0x58546b;}[_0x3d1882(0x19d)](_0x11c2e7,_0x33a5ca){const _0x23f6d1=_0x3d1882,_0x3b8fa4=_0x33a5ca[_0x23f6d1(0x172)](_0x23f6d1(0x1c9)),_0x5809c5=this[_0x23f6d1(0x195)][_0x23f6d1(0x1bb)](_0x164b22=>_0x164b22['id']===_0x3b8fa4),_0x238486=this[_0x23f6d1(0x195)][_0x5809c5];let _0xa89a03=!0x1;_0x238486[_0x23f6d1(0x17b)]=_0x33a5ca,this[_0x23f6d1(0x195)][_0x23f6d1(0x1a3)](_0x5809c5,0x1);const _0x1516bc=I(this[_0x23f6d1(0x1c8)][_0x23f6d1(0x178)],this[_0x23f6d1(0x195)],_0x33a5ca);return this[_0x23f6d1(0x195)][_0x23f6d1(0x1a3)](_0x1516bc,0x0,_0x238486),this[_0x23f6d1(0x196)](_0x11c2e7,Math[_0x23f6d1(0x1b8)](_0x5809c5,_0x1516bc))&&(_0xa89a03=!0x0),_0xa89a03;}[_0x3d1882(0x17d)](_0x2c2d44,_0x448330){const _0x1b7278=_0x3d1882;if(!this[_0x1b7278(0x170)])return!0x1;const _0x15e2e7=this[_0x1b7278(0x195)][_0x448330];let _0x46afd4;return _0x46afd4=this[_0x1b7278(0x180)]?this[_0x1b7278(0x180)]({'footnote':_0x15e2e7,'container':this[_0x1b7278(0x170)],'digits':String(this[_0x1b7278(0x195)][_0x1b7278(0x1c0)])[_0x1b7278(0x1c0)],'value':_0x448330+0x1}):String(_0x448330+0x1),_0x15e2e7[_0x1b7278(0x17b)][_0x1b7278(0x172)](_0x1b7278(0x1b4))!=_0x46afd4&&(_0x2c2d44[_0x1b7278(0x17f)](_0x1b7278(0x1b4),_0x46afd4,_0x15e2e7[_0x1b7278(0x17b)]),!0x0);}[_0x3d1882(0x171)](_0x224161){const _0x292604=_0x3d1882;if(!this[_0x292604(0x170)]||this[_0x292604(0x195)][_0x292604(0x1c0)]<0x2)return!0x1;if(function(_0x9f73e7,_0x1f2260){const _0x24ab9b=_0x292604;if(_0x9f73e7[_0x24ab9b(0x1c0)]!==_0x1f2260[_0x24ab9b(0x1c0)])return!0x1;for(let _0x50021e=0x0;_0x50021e<_0x9f73e7[_0x24ab9b(0x1c0)];_0x50021e++)if(_0x9f73e7[_0x50021e]!==_0x1f2260[_0x50021e])return!0x1;return!0x0;}(this[_0x292604(0x195)][_0x292604(0x1bd)](_0x41411a=>_0x41411a['id']),Array[_0x292604(0x1b0)](this[_0x292604(0x170)][_0x292604(0x1d0)]())[_0x292604(0x1bd)](_0x1542d8=>_0x1542d8[_0x292604(0x172)](_0x292604(0x1c9)))))return!0x1;let _0x25889e=!0x1;for(let _0x43ed6d=0x0;_0x43ed6d<this[_0x292604(0x195)][_0x292604(0x1c0)];_0x43ed6d++){const _0x3db6a5=this[_0x292604(0x195)][_0x43ed6d],_0x1b9768=_0x224161[_0x292604(0x1b6)](_0x3db6a5[_0x292604(0x1b9)]),_0x20a42=_0x224161[_0x292604(0x19e)](this[_0x292604(0x170)],_0x43ed6d);_0x1b9768[_0x292604(0x18e)](_0x20a42)||(_0x224161[_0x292604(0x1b5)](_0x224161[_0x292604(0x187)](_0x3db6a5[_0x292604(0x1b9)]),_0x20a42),_0x25889e=!0x0);}return _0x25889e;}[_0x3d1882(0x1c6)](_0xc4c17e){const _0x477adf=_0x3d1882;if(!this[_0x477adf(0x195)][_0x477adf(0x1c0)])return!0x1;const {model:_0x23fdd0}=this[_0x477adf(0x1c8)];let _0x58aa43=!0x1;for(let _0x2e2d4a=0x0;_0x2e2d4a<this[_0x477adf(0x195)][_0x477adf(0x1c0)]-0x1;_0x2e2d4a++){const _0x2d9eea=this[_0x477adf(0x195)][_0x2e2d4a],_0x3d431b=this[_0x477adf(0x195)][_0x2e2d4a+0x1],_0x304aed=_0x23fdd0[_0x477adf(0x1b6)](_0x2d9eea[_0x477adf(0x17b)]),_0x2fe170=_0x23fdd0[_0x477adf(0x1b6)](_0x3d431b[_0x477adf(0x17b)]);_0x477adf(0x1c2)===_0x304aed[_0x477adf(0x174)](_0x2fe170)&&(this[_0x477adf(0x19d)](_0xc4c17e,_0x2d9eea[_0x477adf(0x17b)]),_0x2e2d4a=-0x1,_0x58aa43=!0x0);}return _0x58aa43;}}function _(_0x34e5ca,_0x37f76e,_0x193634){const _0x4339c9=_0x3d1882;if(_0x193634[_0x4339c9(0x192)])return!0x1;const _0x4ecea7=_0x37f76e?_0x4339c9(0x1d3):_0x4339c9(0x1be);return _0x34e5ca[_0x4339c9(0x1cb)](_0x34e5ca[_0x4339c9(0x189)](_0x4ecea7),_0x193634),!0x0;}function I(_0x5c417c,_0x15c7c1,_0x29513a){const _0xab981a=_0x3d1882;if(0x0===_0x15c7c1[_0xab981a(0x1c0)])return 0x0;const _0x1e5596=_0x5c417c[_0xab981a(0x1b6)](_0x29513a);for(let _0x26f47c=0x0;_0x26f47c<_0x15c7c1[_0xab981a(0x1c0)];_0x26f47c++){const _0x4e421c=_0x15c7c1[_0x26f47c],_0x3c10f8=_0x5c417c[_0xab981a(0x1b6)](_0x4e421c[_0xab981a(0x17b)]);if(_0xab981a(0x16f)===_0x1e5596[_0xab981a(0x174)](_0x3c10f8))return _0x26f47c;}const _0x42aac1=_0x29513a[_0xab981a(0x17a)];let _0x36b229=-0x1;for(let _0x269be7=_0x15c7c1[_0xab981a(0x1c0)]-0x1;_0x269be7>=0x0;_0x269be7--)if(_0x15c7c1[_0x269be7][_0xab981a(0x17b)][_0xab981a(0x17a)]===_0x42aac1){_0x36b229=_0x269be7;break;}if(-0x1!==_0x36b229)return _0x36b229+0x1;const _0x42bb8c=_0x5c417c[_0xab981a(0x194)][_0xab981a(0x17c)](),_0x1bcee3=_0x42bb8c[_0xab981a(0x190)](_0x42aac1[_0xab981a(0x1b2)]),_0x304e52=_0x42bb8c[_0x1bcee3+0x1];if(_0x304e52){for(let _0x1cb34e=0x0;_0x1cb34e<_0x15c7c1[_0xab981a(0x1c0)];_0x1cb34e++)if(_0x15c7c1[_0x1cb34e][_0xab981a(0x17b)][_0xab981a(0x17a)][_0xab981a(0x1b2)]===_0x304e52)return _0x1cb34e;}return _0x15c7c1[_0xab981a(0x1c0)];}function _0x3867(){const _0x4ca3cb=['childCount','isOfficialPlugin','document','_footnotes','_updateFootnotesCounters','set','setFootnoteFormatter','getFootnote','config','6224luknnR','low','_handleMovedFootnoteReference','createPositionAt','enqueueChange','362230ZAXlQE','getFootnotesDefinitionsObjectElement','some','splice','_footnoteDefsTracker','10YcWWqb','getChanges','footnotesDefinitions','_handleInsertedFootnoteReference','high','listenTo','push','$graveyard','_handleFootnotesDefinitionsObjectChanges','remove','createRangeIn','from','260575PkYLUh','rootName','init','footnoteCounter','move','createPositionBefore','add','min','definition','has','findIndex','4596768hAMoZE','map','footnoteInlineContent','footnoteDefinition','length','get','after','919758FLUtpt','36VSqXHt','footnoteRef','_ensureFootnotesReferencesHaveProperOrder','find','editor','footnoteId','getFootnotes','insert','_insertEmptyFootnotesDefinitionsContainer','unshift','footnotes.multiBlock','isPremiumPlugin','getChildren','6145020UpKWZc','_handleRemoveFootnoteReferenceById','paragraph','_ensureFootnotesDefinitionsContainerExists','before','_footnotesDefinitions','_sortFootnoteDefinitions','getAttribute','getFootnotesFormatter','compareWith','change:data','_footnoteDefsContainerTracker','reset','model','singleton','root','reference','getRootNames','_updateFootnoteRefCounter','registerPostFixer','setAttribute','_footnoteFormatter','differ','1200uYHJLr','263282fjWrQB','_handleFootnoteDefinitionsChanges','_footnoteRefsTracker','FootnotesTracker','createRangeOn','pluginName','createElement','_handleFootnoteReferencesChanges','append','end','_handleFootnotesDefinitionsObjectSync','isEqual','parent','indexOf','1kwnpFD'];_0x3867=function(){return _0x4ca3cb;};return _0x3867();}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x494d42,MenuBarMenuListItemButtonView as _0x17306e}from'ckeditor5/src/ui.js';import{Plugin as _0x3af3b7}from'ckeditor5/src/core.js';import{IconFootnote as _0x435af9}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x3af3b7{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4ee19d}=this,{componentFactory:_0x4f3d78}=_0x4ee19d['ui'];_0x4f3d78['add']('insertFootnote',x(_0x4ee19d,_0x494d42)),_0x4f3d78['add']('menuBar:insertFootnote',x(_0x4ee19d,_0x17306e)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x59d401=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x279dfd;for(const _0x11ffe3 in _0x59d401){const _0x253292=_0x11ffe3,_0x53cbb7=_0x59d401[_0x253292];if('footnotesLicenseKeyValid'==_0x53cbb7||'footnotesLicenseKeyInvalid'==_0x53cbb7||'footnotesLicenseKeyExpired'==_0x53cbb7||'footnotesLicenseKeyDomainLimit'==_0x53cbb7||'footnotesLicenseKeyNotAllowed'==_0x53cbb7||'footnotesLicenseKeyEvaluationLimit'==_0x53cbb7||'footnotesLicenseKeyTrialLimit'==_0x53cbb7||'footnotesLicenseKeyUsageLimit'==_0x53cbb7){delete _0x59d401[_0x253292],_0x279dfd=_0x53cbb7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x279dfd&&_0x59d401['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x279dfd&&_0x59d401['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x279dfd&&_0x59d401['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x279dfd&&_0x59d401['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x279dfd&&_0x59d401['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x279dfd&&_0x59d401['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x279dfd&&_0x59d401['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x5d61cc,_0x4cf002){const _0x851d13=_0x5d61cc['commands']['get']('insertFootnote');return _0x599cf8=>{const {t:t}=_0x599cf8,_0x39cde0=new _0x4cf002(_0x599cf8),_0x149912=_0x39cde0 instanceof _0x17306e;return _0x39cde0['bind']('isEnabled')['to'](_0x851d13,'isEnabled'),_0x39cde0['set']({'label':t(_0x149912?'Footnote':'Insert\x20footnote'),'icon':_0x435af9,'tooltip':!0x0}),_0x39cde0['on']('execute',()=>{_0x851d13['execute'](),_0x5d61cc['editing']['view']['focus']();}),_0x39cde0;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x96f1c6,_0x4bc45c){var _0xe33008=_0x4ad4,_0xc6ab4c=_0x96f1c6();while(!![]){try{var _0x3a761d=-parseInt(_0xe33008(0x1aa))/0x1+-parseInt(_0xe33008(0x1a5))/0x2+parseInt(_0xe33008(0x1ac))/0x3+-parseInt(_0xe33008(0x1a8))/0x4+parseInt(_0xe33008(0x1a9))/0x5+-parseInt(_0xe33008(0x1a6))/0x6*(-parseInt(_0xe33008(0x1a7))/0x7)+-parseInt(_0xe33008(0x1a4))/0x8*(parseInt(_0xe33008(0x1ab))/0x9);if(_0x3a761d===_0x4bc45c)break;else _0xc6ab4c['push'](_0xc6ab4c['shift']());}catch(_0x4db734){_0xc6ab4c['push'](_0xc6ab4c['shift']());}}}(_0x5609,0xf2aec));import'./augmentation.js';function _0x5609(){var _0x228c90=['8081896BInhVw','1869312mYmsMw','6pTSNLp','12176213UuTPHk','6714936FtBBSR','8624240VYNDoj','189509WwffNw','9efNoVq','4028571mWcZfl'];_0x5609=function(){return _0x228c90;};return _0x5609();}export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';function _0x4ad4(_0x40ccec,_0x26e18){var _0x560909=_0x5609();return _0x4ad4=function(_0x4ad46b,_0x2244e7){_0x4ad46b=_0x4ad46b-0x1a4;var _0x1ebf35=_0x560909[_0x4ad46b];return _0x1ebf35;},_0x4ad4(_0x40ccec,_0x26e18);}export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x201cba=_0x51a4;(function(_0x22ff52,_0x7578c8){const _0x4c85c4=_0x51a4,_0x28aa17=_0x22ff52();while(!![]){try{const _0x4fdee8=-parseInt(_0x4c85c4(0x1fb))/0x1*(-parseInt(_0x4c85c4(0x1ff))/0x2)+parseInt(_0x4c85c4(0x1ef))/0x3+-parseInt(_0x4c85c4(0x1d8))/0x4+-parseInt(_0x4c85c4(0x1f5))/0x5*(-parseInt(_0x4c85c4(0x1e8))/0x6)+-parseInt(_0x4c85c4(0x1f6))/0x7*(-parseInt(_0x4c85c4(0x1e1))/0x8)+parseInt(_0x4c85c4(0x1f9))/0x9*(-parseInt(_0x4c85c4(0x1f0))/0xa)+parseInt(_0x4c85c4(0x1df))/0xb*(-parseInt(_0x4c85c4(0x1f1))/0xc);if(_0x4fdee8===_0x7578c8)break;else _0x28aa17['push'](_0x28aa17['shift']());}catch(_0x5ccb16){_0x28aa17['push'](_0x28aa17['shift']());}}}(_0x5361,0x2a72a));export class ModelElementTracker{[_0x201cba(0x1db)];[_0x201cba(0x1fa)];[_0x201cba(0x1e0)];[_0x201cba(0x1e3)]=new Map();constructor(_0xa9566c,_0x23cb73){const _0x5a627c=_0x201cba;this[_0x5a627c(0x1db)]=_0xa9566c,this[_0x5a627c(0x1fa)]=_0x23cb73[_0x5a627c(0x1fc)],this[_0x5a627c(0x1e0)]=_0x23cb73[_0x5a627c(0x1eb)];}[_0x201cba(0x1ee)](){const _0x10a938=_0x201cba;this[_0x10a938(0x1e3)][_0x10a938(0x1fd)]();}[_0x201cba(0x1f3)](_0x39634d){const _0x33aa96=_0x201cba,_0x4a0fba=new Set(),_0x9dec4=new Map();for(const _0x38ae43 of _0x39634d){if(_0x33aa96(0x1d9)===_0x38ae43[_0x33aa96(0x1e9)]&&_0x33aa96(0x1d6)!==_0x38ae43[_0x33aa96(0x1fe)]&&_0x38ae43[_0x33aa96(0x1ec)][_0x33aa96(0x1e2)]){const _0x1b97a8=this[_0x33aa96(0x1db)][_0x33aa96(0x1da)](_0x38ae43[_0x33aa96(0x1ec)][_0x33aa96(0x1e2)]);for(const _0x30b37d of _0x1b97a8[_0x33aa96(0x1f2)]()){if(!_0x30b37d['is'](_0x33aa96(0x1f8),this[_0x33aa96(0x1fa)]))continue;const _0x41e0ea=this[_0x33aa96(0x1e0)](_0x30b37d);_0x9dec4[_0x33aa96(0x1f7)](_0x41e0ea)||_0x9dec4[_0x33aa96(0x1d4)](_0x41e0ea,[]),_0x9dec4[_0x33aa96(0x1e7)](_0x41e0ea)[_0x33aa96(0x1d2)](_0x30b37d);}}if(_0x33aa96(0x1dc)===_0x38ae43[_0x33aa96(0x1e9)]&&_0x38ae43[_0x33aa96(0x1fe)]===this[_0x33aa96(0x1fa)]){const _0x525445=this[_0x33aa96(0x1e0)]({'getAttribute':_0x47fc54=>_0x38ae43[_0x33aa96(0x1ea)][_0x33aa96(0x1e7)](_0x47fc54)});_0x4a0fba[_0x33aa96(0x1ed)](_0x525445);}}for(const [_0x1372ac,_0x19a0a2]of this[_0x33aa96(0x1e3)])_0x33aa96(0x1e5)===_0x19a0a2[_0x33aa96(0x1d3)][_0x33aa96(0x1d5)]&&_0x4a0fba[_0x33aa96(0x1ed)](_0x1372ac);for(const _0x491dda of _0x4a0fba)this[_0x33aa96(0x1e3)][_0x33aa96(0x1de)](_0x491dda);for(const [_0xbdf38b,_0x5cdbe8]of _0x9dec4)this[_0x33aa96(0x1e3)][_0x33aa96(0x1d4)](_0xbdf38b,_0x5cdbe8[_0x5cdbe8[_0x33aa96(0x1f4)]-0x1]);const _0x47ceee=new Set();for(const [_0xf8f02d,_0x291f68]of _0x9dec4)_0x4a0fba[_0x33aa96(0x1f7)](_0xf8f02d)&&(_0x47ceee[_0x33aa96(0x1ed)](_0x291f68[0x0]),_0x291f68[_0x33aa96(0x1f4)]>0x1?_0x9dec4[_0x33aa96(0x1d4)](_0xf8f02d,_0x291f68[_0x33aa96(0x1dd)](0x1)):_0x9dec4[_0x33aa96(0x1de)](_0xf8f02d),_0x4a0fba[_0x33aa96(0x1de)](_0xf8f02d));return{'removed':Array[_0x33aa96(0x1e4)](_0x4a0fba),'inserted':Array[_0x33aa96(0x1e4)](_0x9dec4[_0x33aa96(0x1e6)]())[_0x33aa96(0x1d7)](),'moved':Array[_0x33aa96(0x1e4)](_0x47ceee)};}}function _0x51a4(_0x1e15eb,_0x3f93dc){const _0x536130=_0x5361();return _0x51a4=function(_0x51a412,_0x348286){_0x51a412=_0x51a412-0x1d2;let _0x153c40=_0x536130[_0x51a412];return _0x153c40;},_0x51a4(_0x1e15eb,_0x3f93dc);}function _0x5361(){const _0x1aaefe=['nodeAfter','_trackedElements','from','$graveyard','values','get','42ftXvyU','type','attributes','getElementKey','position','add','reset','245118tYeiIg','22150hQXfME','12hxuvIY','getItems','getChanges','length','200095QyFqtq','7lGmIbL','has','element','729Ucyzoq','_elementName','2QqecYg','elementName','clear','name','44092pBUZiA','push','root','set','rootName','$text','flat','833288nrZDUc','insert','createRangeOn','_model','remove','slice','delete','1063161EUhKkB','_getElementKey','2018584SUJEVS'];_0x5361=function(){return _0x1aaefe;};return _0x5361();}
|